/external/llvm/include/llvm/ |
D | Module.h | 83 template<> struct ilist_traits<NamedMDNode> 84 : public ilist_default_traits<NamedMDNode> { 87 NamedMDNode *createSentinel() const { 88 return static_cast<NamedMDNode*>(&Sentinel); 90 static void destroySentinel(NamedMDNode*) {} 92 NamedMDNode *provideInitialHead() const { return createSentinel(); } 93 NamedMDNode *ensureHead(NamedMDNode*) const { return createSentinel(); } 94 static void noteHead(NamedMDNode*, NamedMDNode*) {} 95 void addNodeToList(NamedMDNode *) {} 96 void removeNodeFromList(NamedMDNode *) {} [all …]
|
D | Metadata.h | 193 class NamedMDNode : public ilist_node<NamedMDNode> { 194 friend class SymbolTableListTraits<NamedMDNode, Module>; 195 friend struct ilist_traits<NamedMDNode>; 198 NamedMDNode(const NamedMDNode &); // DO NOT IMPLEMENT 206 explicit NamedMDNode(const Twine &N); 217 ~NamedMDNode();
|
D | ValueSymbolTable.h | 26 class NamedMDNode; variable
|
D | DebugInfo.h | 36 class NamedMDNode; variable 809 NamedMDNode *getOrInsertFnSpecificMDNode(Module &M, DISubprogram SP); 813 NamedMDNode *getFnSpecificMDNode(const Module &M, DISubprogram SP);
|
/external/llvm/lib/VMCore/ |
D | Module.cpp | 48 NamedMDSymTab = new StringMap<NamedMDNode *>(); in Module() 61 delete static_cast<StringMap<NamedMDNode *> *>(NamedMDSymTab); in ~Module() 303 NamedMDNode *Module::getNamedMetadata(const Twine &Name) const { in getNamedMetadata() 306 return static_cast<StringMap<NamedMDNode*> *>(NamedMDSymTab)->lookup(NameRef); in getNamedMetadata() 312 NamedMDNode *Module::getOrInsertNamedMetadata(StringRef Name) { in getOrInsertNamedMetadata() 313 NamedMDNode *&NMD = in getOrInsertNamedMetadata() 314 (*static_cast<StringMap<NamedMDNode *> *>(NamedMDSymTab))[Name]; in getOrInsertNamedMetadata() 316 NMD = new NamedMDNode(Name); in getOrInsertNamedMetadata() 325 void Module::eraseNamedMetadata(NamedMDNode *NMD) { in eraseNamedMetadata() 326 static_cast<StringMap<NamedMDNode *> *>(NamedMDSymTab)->erase(NMD->getName()); in eraseNamedMetadata() [all …]
|
D | Metadata.cpp | 562 NamedMDNode::NamedMDNode(const Twine &N) in NamedMDNode() function in NamedMDNode 567 NamedMDNode::~NamedMDNode() { in ~NamedMDNode() 573 unsigned NamedMDNode::getNumOperands() const { in getNumOperands() 578 MDNode *NamedMDNode::getOperand(unsigned i) const { in getOperand() 584 void NamedMDNode::addOperand(MDNode *M) { in addOperand() 592 void NamedMDNode::eraseFromParent() { in eraseFromParent() 597 void NamedMDNode::dropAllReferences() { in dropAllReferences() 602 StringRef NamedMDNode::getName() const { in getName()
|
D | DebugInfo.cpp | 686 NamedMDNode *llvm::getFnSpecificMDNode(const Module &M, DISubprogram Fn) { in getFnSpecificMDNode() 702 NamedMDNode *llvm::getOrInsertFnSpecificMDNode(Module &M, DISubprogram Fn) { in getOrInsertFnSpecificMDNode() 787 if (NamedMDNode *CU_Nodes = M.getNamedMetadata("llvm.dbg.cu")) { in processModule() 841 if (NamedMDNode *NMD = M.getNamedMetadata("llvm.dbg.gv")) { in processModule() 852 if (NamedMDNode *NMD = M.getNamedMetadata("llvm.dbg.sp")) in processModule()
|
D | TypeFinder.cpp | 79 const NamedMDNode *NMD = I; in run()
|
D | AsmWriter.cpp | 466 const NamedMDNode *NMD = I; in processModule() 1160 void printNamedMDNode(const NamedMDNode *NMD); 1318 void AssemblyWriter::printNamedMDNode(const NamedMDNode *NMD) { in printNamedMDNode() 2092 void NamedMDNode::print(raw_ostream &ROS, AssemblyAnnotationWriter *AAW) const { in print() 2174 void NamedMDNode::dump() const { print(dbgs(), 0); } in dump()
|
D | DIBuilder.cpp | 51 if (NamedMDNode *NMD = getFnSpecificMDNode(M, SP)) { in finalize() 122 NamedMDNode *NMD = M.getOrInsertNamedMetadata("llvm.dbg.cu"); in createCompileUnit() 798 NamedMDNode *FnLocals = getOrInsertFnSpecificMDNode(M, Fn); in createLocalVariable()
|
D | Core.cpp | 573 if (NamedMDNode *N = unwrap(M)->getNamedMetadata(name)) { in LLVMGetNamedMetadataNumOperands() 581 NamedMDNode *N = unwrap(M)->getNamedMetadata(name); in LLVMGetNamedMetadataOperands() 591 NamedMDNode *N = unwrap(M)->getOrInsertNamedMetadata(name); in LLVMAddNamedMetadataOperand()
|
/external/llvm/test/Transforms/DeadStoreElimination/ |
D | 2011-09-06-MemCpy.ll | 45 %struct.iplist.8 = type { %struct.ilist_traits.7, %struct.NamedMDNode* } 47 %struct.ilist_node.6 = type { %struct.ilist_half_node.5, %struct.NamedMDNode* } 48 %struct.ilist_half_node.5 = type { %struct.NamedMDNode* } 49 %struct.NamedMDNode = type { %struct.ilist_node.6, %struct.basic_string, %struct.Module*, i8* }
|
/external/llvm/lib/Bitcode/Writer/ |
D | ValueEnumerator.h | 31 class NamedMDNode; variable 145 void EnumerateNamedMDNode(const NamedMDNode *NMD);
|
D | ValueEnumerator.cpp | 222 void ValueEnumerator::EnumerateNamedMDNode(const NamedMDNode *MD) { in EnumerateNamedMDNode()
|
/external/llvm/lib/Transforms/IPO/ |
D | StripSymbols.cpp | 264 NamedMDNode *NMD = NMI; in StripDebugInfo() 355 if (NamedMDNode *NMD = M.getNamedMetadata("llvm.dbg.gv")) { in runOnModule() 379 if (NamedMDNode *NMD = M.getNamedMetadata("llvm.dbg.sp")) { in runOnModule() 405 if (NamedMDNode *LVNMD = in runOnModule()
|
/external/llvm/test/Feature/ |
D | NamedMDNode.ll | 3 ;; Simple NamedMDNode
|
/external/llvm/lib/Transforms/Utils/ |
D | CloneModule.cpp | 119 const NamedMDNode &NMD = *I; in CloneModule() 120 NamedMDNode *NewNMD = New->getOrInsertNamedMetadata(NMD.getName()); in CloneModule()
|
/external/llvm/lib/Analysis/ |
D | DbgInfoPrinter.cpp | 64 NamedMDNode *NMD = M->getNamedMetadata("llvm.dbg.gv"); in findDbgGlobalDeclare() 81 NamedMDNode *NMD = M->getNamedMetadata("llvm.dbg.sp"); in findDbgSubprogramDeclare()
|
/external/llvm/lib/Linker/ |
D | LinkModules.cpp | 424 bool categorizeModuleFlagNodes(const NamedMDNode *ModFlags, 977 const NamedMDNode *SrcModFlags = SrcM->getModuleFlagsMetadata(); in linkNamedMDNodes() 982 NamedMDNode *DestNMD = DstM->getOrInsertNamedMetadata(I->getName()); in linkNamedMDNodes() 993 categorizeModuleFlagNodes(const NamedMDNode *ModFlags, in categorizeModuleFlagNodes() 1053 const NamedMDNode *SrcModFlags = SrcM->getModuleFlagsMetadata(); in linkModuleFlagsMetadata() 1056 NamedMDNode *DstModFlags = DstM->getOrInsertModuleFlagsMetadata(); in linkModuleFlagsMetadata()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | GCOVProfiling.cpp | 332 if (NamedMDNode *GCov = M->getNamedMetadata("llvm.gcov")) { in mangleName() 362 NamedMDNode *CU_Nodes = M->getNamedMetadata("llvm.dbg.cu"); in emitGCNO() 420 NamedMDNode *CU_Nodes = M->getNamedMetadata("llvm.dbg.cu"); in emitProfileArcs() 647 NamedMDNode *CU_Nodes = M->getNamedMetadata("llvm.dbg.cu"); in insertCounterWriteout()
|
/external/llvm/unittests/VMCore/ |
D | MetadataTest.cpp | 142 NamedMDNode *NMD = M.getOrInsertNamedMetadata(Name); in TEST()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfDebug.cpp | 657 if (NamedMDNode *NMD = M->getNamedMetadata("llvm.dbg.sp")) in collectInfoFromNamedMDNodes() 664 if (NamedMDNode *NMD = M->getNamedMetadata("llvm.dbg.gv")) in collectInfoFromNamedMDNodes() 671 if (NamedMDNode *NMD = M->getNamedMetadata("llvm.dbg.enum")) in collectInfoFromNamedMDNodes() 678 if (NamedMDNode *NMD = M->getNamedMetadata("llvm.dbg.ty")) in collectInfoFromNamedMDNodes() 737 NamedMDNode *CU_Nodes = M->getNamedMetadata("llvm.dbg.cu"); in beginModule() 778 if (NamedMDNode *CU_Nodes = M->getNamedMetadata("llvm.dbg.cu")) { in endModule()
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 1686 llvm::NamedMDNode *DynamicInitializers = in EmitGlobalVarDefinition() 2671 llvm::NamedMDNode *&GlobalMetadata, in EmitGlobalDeclMetadata() 2694 llvm::NamedMDNode *GlobalMetadata = 0; in EmitDeclMetadata() 2715 llvm::NamedMDNode *GlobalMetadata = 0; in EmitDeclMetadata() 2734 if (llvm::NamedMDNode *CUNode = TheModule.getNamedMetadata("llvm.dbg.cu")) { in EmitCoverageFile() 2735 llvm::NamedMDNode *GCov = TheModule.getOrInsertNamedMetadata("llvm.gcov"); in EmitCoverageFile()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXUtilities.cpp | 64 NamedMDNode *NMD = m->getNamedMetadata(llvm::NamedMDForAnnotations); in cacheAnnotationFromMD()
|
/external/llvm/tools/opt/ |
D | opt.cpp | 383 if (NamedMDNode *NMD = M.getNamedMetadata("llvm.dbg.sp")) in runOnModule()
|