/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Module.cpp | 76 NamedMDSymTab = new StringMap<NamedMDNode *>(); in Module() 89 delete static_cast<StringMap<NamedMDNode *> *>(NamedMDSymTab); in ~Module() 250 NamedMDNode *Module::getNamedMetadata(const Twine &Name) const { in getNamedMetadata() 253 return static_cast<StringMap<NamedMDNode*> *>(NamedMDSymTab)->lookup(NameRef); in getNamedMetadata() 259 NamedMDNode *Module::getOrInsertNamedMetadata(StringRef Name) { in getOrInsertNamedMetadata() 260 NamedMDNode *&NMD = in getOrInsertNamedMetadata() 261 (*static_cast<StringMap<NamedMDNode *> *>(NamedMDSymTab))[Name]; in getOrInsertNamedMetadata() 263 NMD = new NamedMDNode(Name); in getOrInsertNamedMetadata() 272 void Module::eraseNamedMetadata(NamedMDNode *NMD) { in eraseNamedMetadata() 273 static_cast<StringMap<NamedMDNode *> *>(NamedMDSymTab)->erase(NMD->getName()); in eraseNamedMetadata() [all …]
|
D | Metadata.cpp | 1070 NamedMDNode::NamedMDNode(const Twine &N) in NamedMDNode() function in NamedMDNode 1073 NamedMDNode::~NamedMDNode() { in ~NamedMDNode() 1078 unsigned NamedMDNode::getNumOperands() const { in getNumOperands() 1082 MDNode *NamedMDNode::getOperand(unsigned i) const { in getOperand() 1088 void NamedMDNode::addOperand(MDNode *M) { getNMDOps(Operands).emplace_back(M); } in addOperand() 1090 void NamedMDNode::setOperand(unsigned I, MDNode *New) { in setOperand() 1095 void NamedMDNode::eraseFromParent() { getParent()->eraseNamedMetadata(this); } in eraseFromParent() 1097 void NamedMDNode::clearOperands() { getNMDOps(Operands).clear(); } in clearOperands() 1099 StringRef NamedMDNode::getName() const { return StringRef(Name); } in getName()
|
D | Core.cpp | 1147 NamedMDNode *NamedNode = unwrap<NamedMDNode>(NMD); in LLVMGetNextNamedMetadata() 1155 NamedMDNode *NamedNode = unwrap<NamedMDNode>(NMD); in LLVMGetPreviousNamedMetadata() 1173 NamedMDNode *NamedNode = unwrap<NamedMDNode>(NMD); in LLVMGetNamedMetadataName() 1192 if (NamedMDNode *N = unwrap(M)->getNamedMetadata(Name)) { in LLVMGetNamedMetadataNumOperands() 1200 NamedMDNode *N = unwrap(M)->getNamedMetadata(Name); in LLVMGetNamedMetadataOperands() 1210 NamedMDNode *N = unwrap(M)->getOrInsertNamedMetadata(Name); in LLVMAddNamedMetadataOperand()
|
D | AsmWriter.cpp | 956 for (const NamedMDNode &NMD : TheModule->named_metadata()) { in processModule() 2383 void printNamedMDNode(const NamedMDNode *NMD); 2669 for (const NamedMDNode &Node : M->named_metadata()) in printModule() 3169 void AssemblyWriter::printNamedMDNode(const NamedMDNode *NMD) { in printNamedMDNode() 4242 void NamedMDNode::print(raw_ostream &ROS, bool IsForDebug) const { in print() 4249 void NamedMDNode::print(raw_ostream &ROS, ModuleSlotTracker &MST, in print() 4485 void NamedMDNode::dump() const { print(dbgs(), /*IsForDebug=*/true); } in dump()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Module.h | 79 using NamedMDListType = ilist<NamedMDNode>; 450 NamedMDNode *getNamedMetadata(const Twine &Name) const; 455 NamedMDNode *getOrInsertNamedMetadata(StringRef Name); 458 void eraseNamedMetadata(NamedMDNode *NMD); 481 NamedMDNode *getModuleFlagsMetadata() const; 486 NamedMDNode *getOrInsertModuleFlagsMetadata(); 564 static NamedMDListType Module::*getSublistAccess(NamedMDNode*) { in getSublistAccess() argument 703 NamedMDNode *CUs; 709 explicit debug_compile_units_iterator(NamedMDNode *CUs, unsigned Idx) in debug_compile_units_iterator()
|
D | Metadata.h | 1334 class NamedMDNode : public ilist_node<NamedMDNode> { 1344 explicit NamedMDNode(const Twine &N); 1349 friend class NamedMDNode; 1351 const NamedMDNode *Node = nullptr; 1354 op_iterator_impl(const NamedMDNode *N, unsigned i) : Node(N), Idx(i) {} 1388 NamedMDNode(const NamedMDNode &) = delete; 1389 ~NamedMDNode(); 1435 DEFINE_ISA_CONVERSION_FUNCTIONS(NamedMDNode, LLVMNamedMDNodeRef)
|
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/ |
D | builder.h | 135 llvm::NamedMDNode* metaData = mpJitMgr->mpCurrentModule->getOrInsertNamedMetadata(s); in SetMetadata() 150 NamedMDNode* metaData = mpJitMgr->mpCurrentModule->getNamedMetadata(s); in GetMetadata()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Metadata.h | 1282 class NamedMDNode : public ilist_node<NamedMDNode> { 1292 explicit NamedMDNode(const Twine &N); 1297 const NamedMDNode *Node = nullptr; 1300 op_iterator_impl(const NamedMDNode *N, unsigned i) : Node(N), Idx(i) { } 1302 friend class NamedMDNode; 1336 NamedMDNode(const NamedMDNode &) = delete; 1337 ~NamedMDNode();
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Writer/ |
D | ValueEnumerator.h | 38 class NamedMDNode; variable 291 void EnumerateNamedMDNode(const NamedMDNode *NMD);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | CloneModule.cpp | 188 const NamedMDNode &NMD = *I; in CloneModule() 189 NamedMDNode *NewNMD = New->getOrInsertNamedMetadata(NMD.getName()); in CloneModule()
|
D | Debugify.cpp | 143 NamedMDNode *NMD = M.getOrInsertNamedMetadata("llvm.debugify"); in applyDebugifyMetadata() 207 NamedMDNode *NMD = M.getNamedMetadata("llvm.debugify"); in checkDebugifyMetadata()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyAsmPrinter.cpp | 155 if (const NamedMDNode *Named = M.getNamedMetadata("wasm.custom_sections")) { in EmitEndOfAsmFile() 181 if (const NamedMDNode *Debug = M.getNamedMetadata("llvm.dbg.cu")) { in EmitProducerInfo() 193 if (const NamedMDNode *Ident = M.getNamedMetadata("llvm.ident")) { in EmitProducerInfo()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | ThinLTOBitcodeWriter.cpp | 342 NamedMDNode *NMD = MergedM->getOrInsertNamedMetadata("cfi.functions"); in splitAndWriteThinLTOBitcode() 367 NamedMDNode *NMD = MergedM->getOrInsertNamedMetadata("aliases"); in splitAndWriteThinLTOBitcode() 383 NamedMDNode *NMD = MergedM->getOrInsertNamedMetadata("symvers"); in splitAndWriteThinLTOBitcode()
|
D | CrossDSOCFI.cpp | 93 NamedMDNode *CfiFunctionsMD = M.getNamedMetadata("cfi.functions"); in buildCFICheck()
|
D | StripSymbols.cpp | 370 NamedMDNode *NMD = M.getOrInsertNamedMetadata("llvm.dbg.cu"); in runOnModule()
|
D | LowerTypeTests.cpp | 1851 NamedMDNode *CfiFunctionsMD = M.getNamedMetadata("cfi.functions"); in lower() 2136 if (NamedMDNode *AliasesMD = M.getNamedMetadata("aliases")) { in lower() 2178 if (NamedMDNode *SymversMD = M.getNamedMetadata("symvers")) { in lower()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/ |
D | IRMover.cpp | 1114 NamedMDNode *SrcCompileUnits = SrcM->getNamedMetadata("llvm.dbg.cu"); in prepareCompileUnitsForImport() 1180 const NamedMDNode *SrcModFlags = SrcM->getModuleFlagsMetadata(); in linkNamedMDNodes() 1181 for (const NamedMDNode &NMD : SrcM->named_metadata()) { in linkNamedMDNodes() 1185 NamedMDNode *DestNMD = DstM.getOrInsertNamedMetadata(NMD.getName()); in linkNamedMDNodes() 1195 const NamedMDNode *SrcModFlags = SrcM->getModuleFlagsMetadata(); in linkModuleFlagsMetadata() 1201 NamedMDNode *DstModFlags = DstM.getOrInsertModuleFlagsMetadata(); in linkModuleFlagsMetadata()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | IRSymtab.cpp | 137 if (NamedMDNode *LinkerOptions = in addModule() 148 if (NamedMDNode *N = M->getNamedMetadata("llvm.dependent-libraries")) { in addModule()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | GCOVProfiling.cpp | 524 if (NamedMDNode *GCov = M->getNamedMetadata("llvm.gcov")) { in mangleName() 666 NamedMDNode *CU_Nodes = M->getNamedMetadata("llvm.dbg.cu"); in emitProfileNotes() 775 NamedMDNode *CU_Nodes = M->getNamedMetadata("llvm.dbg.cu"); in emitProfileArcs() 967 NamedMDNode *CUNodes = M->getNamedMetadata("llvm.dbg.cu"); in insertCounterWriteout()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXUtilities.cpp | 74 NamedMDNode *NMD = m->getNamedMetadata("nvvm.annotations"); in cacheAnnotationFromMD()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | R600OpenCLImageTypeLoweringPass.cpp | 332 NamedMDNode *KernelsMDNode = M.getNamedMetadata(KernelsMDNodeName); in transformKernels()
|
D | AMDGPUPrintfRuntimeBinding.cpp | 346 NamedMDNode *metaD = M.getOrInsertNamedMetadata(amd); in lowerPrintfForGpu()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | TargetLoweringObjectFileImpl.cpp | 270 if (NamedMDNode *LinkerOptions = M.getNamedMetadata("llvm.linker.options")) { in emitModuleMetadata() 286 if (NamedMDNode *DependentLibraries = M.getNamedMetadata("llvm.dependent-libraries")) { in emitModuleMetadata() 1446 if (NamedMDNode *LinkerOptions = M.getNamedMetadata("llvm.linker.options")) { in emitModuleMetadata()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/ |
D | MetadataLoader.cpp | 499 if (NamedMDNode *CUNodes = TheModule.getNamedMetadata("llvm.dbg.cu")) in upgradeCUVariables() 810 NamedMDNode *NMD = TheModule.getOrInsertNamedMetadata(Name); in lazyLoadModuleMetadataBlock() 1125 NamedMDNode *NMD = TheModule.getOrInsertNamedMetadata(Name); in parseOneMetadata()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/ |
D | LTOModule.cpp | 629 if (NamedMDNode *LinkerOptions = in parseMetadata()
|