/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 | 188 class NamedMDNode : public ilist_node<NamedMDNode> { 189 friend class SymbolTableListTraits<NamedMDNode, Module>; 190 friend struct ilist_traits<NamedMDNode>; 193 NamedMDNode(const NamedMDNode &); // DO NOT IMPLEMENT 201 explicit NamedMDNode(const Twine &N); 212 ~NamedMDNode();
|
D | ValueSymbolTable.h | 26 class NamedMDNode; variable
|
/external/llvm/lib/VMCore/ |
D | Module.cpp | 48 NamedMDSymTab = new StringMap<NamedMDNode *>(); in Module() 61 delete static_cast<StringMap<NamedMDNode *> *>(NamedMDSymTab); in ~Module() 304 NamedMDNode *Module::getNamedMetadata(const Twine &Name) const { in getNamedMetadata() 307 return static_cast<StringMap<NamedMDNode*> *>(NamedMDSymTab)->lookup(NameRef); in getNamedMetadata() 313 NamedMDNode *Module::getOrInsertNamedMetadata(StringRef Name) { in getOrInsertNamedMetadata() 314 NamedMDNode *&NMD = in getOrInsertNamedMetadata() 315 (*static_cast<StringMap<NamedMDNode *> *>(NamedMDSymTab))[Name]; in getOrInsertNamedMetadata() 317 NMD = new NamedMDNode(Name); in getOrInsertNamedMetadata() 326 void Module::eraseNamedMetadata(NamedMDNode *NMD) { in eraseNamedMetadata() 327 static_cast<StringMap<NamedMDNode *> *>(NamedMDSymTab)->erase(NMD->getName()); in eraseNamedMetadata() [all …]
|
D | Metadata.cpp | 409 NamedMDNode::NamedMDNode(const Twine &N) in NamedMDNode() function in NamedMDNode 414 NamedMDNode::~NamedMDNode() { in ~NamedMDNode() 420 unsigned NamedMDNode::getNumOperands() const { in getNumOperands() 425 MDNode *NamedMDNode::getOperand(unsigned i) const { in getOperand() 431 void NamedMDNode::addOperand(MDNode *M) { in addOperand() 439 void NamedMDNode::eraseFromParent() { in eraseFromParent() 444 void NamedMDNode::dropAllReferences() { in dropAllReferences() 449 StringRef NamedMDNode::getName() const { in getName()
|
D | AsmWriter.cpp | 460 const NamedMDNode *NMD = I; in processModule() 1144 void printNamedMDNode(const NamedMDNode *NMD); 1302 void AssemblyWriter::printNamedMDNode(const NamedMDNode *NMD) { in printNamedMDNode() 2053 void NamedMDNode::print(raw_ostream &ROS, AssemblyAnnotationWriter *AAW) const { in print() 2135 void NamedMDNode::dump() const { print(dbgs(), 0); } in dump()
|
D | Core.cpp | 554 if (NamedMDNode *N = unwrap(M)->getNamedMetadata(name)) { in LLVMGetNamedMetadataNumOperands() 562 NamedMDNode *N = unwrap(M)->getNamedMetadata(name); in LLVMGetNamedMetadataOperands() 572 NamedMDNode *N = unwrap(M)->getOrInsertNamedMetadata(name); in LLVMAddNamedMetadataOperand()
|
D | Verifier.cpp | 241 void visitNamedMDNode(NamedMDNode &NMD); 475 void Verifier::visitNamedMDNode(NamedMDNode &NMD) { in visitNamedMDNode()
|
/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 | 263 NamedMDNode *NMD = NMI; in StripDebugInfo() 354 if (NamedMDNode *NMD = M.getNamedMetadata("llvm.dbg.gv")) { in runOnModule() 378 if (NamedMDNode *NMD = M.getNamedMetadata("llvm.dbg.sp")) { in runOnModule() 404 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()
|
D | DebugInfo.cpp | 933 NamedMDNode *llvm::getFnSpecificMDNode(const Module &M, DISubprogram Fn) { in getFnSpecificMDNode() 949 NamedMDNode *llvm::getOrInsertFnSpecificMDNode(Module &M, DISubprogram Fn) { in getOrInsertFnSpecificMDNode() 995 if (NamedMDNode *CU_Nodes = M.getNamedMetadata("llvm.dbg.cu")) { in processModule() 1049 if (NamedMDNode *NMD = M.getNamedMetadata("llvm.dbg.gv")) { in processModule() 1060 if (NamedMDNode *NMD = M.getNamedMetadata("llvm.dbg.sp")) in processModule()
|
D | DIBuilder.cpp | 50 if (NamedMDNode *NMD = getFnSpecificMDNode(M, SP)) { in finalize() 122 NamedMDNode *NMD = M.getOrInsertNamedMetadata("llvm.dbg.cu"); in createCompileUnit() 794 NamedMDNode *FnLocals = getOrInsertFnSpecificMDNode(M, Fn); in createLocalVariable()
|
/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() 640 NamedMDNode *CU_Nodes = M->getNamedMetadata("llvm.dbg.cu"); in insertCounterWriteout()
|
/external/llvm/lib/Linker/ |
D | LinkModules.cpp | 422 bool categorizeModuleFlagNodes(const NamedMDNode *ModFlags, 975 const NamedMDNode *SrcModFlags = SrcM->getModuleFlagsMetadata(); in linkNamedMDNodes() 980 NamedMDNode *DestNMD = DstM->getOrInsertNamedMetadata(I->getName()); in linkNamedMDNodes() 991 categorizeModuleFlagNodes(const NamedMDNode *ModFlags, in categorizeModuleFlagNodes() 1051 const NamedMDNode *SrcModFlags = SrcM->getModuleFlagsMetadata(); in linkModuleFlagsMetadata() 1054 NamedMDNode *DstModFlags = DstM->getOrInsertModuleFlagsMetadata(); in linkModuleFlagsMetadata()
|
/external/llvm/include/llvm/Analysis/ |
D | DebugInfo.h | 36 class NamedMDNode; variable 853 NamedMDNode *getOrInsertFnSpecificMDNode(Module &M, DISubprogram SP); 857 NamedMDNode *getFnSpecificMDNode(const Module &M, DISubprogram SP);
|
/external/llvm/unittests/VMCore/ |
D | MetadataTest.cpp | 142 NamedMDNode *NMD = M.getOrInsertNamedMetadata(Name); in TEST()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfDebug.cpp | 622 if (NamedMDNode *NMD = M->getNamedMetadata("llvm.dbg.sp")) in collectInfoFromNamedMDNodes() 629 if (NamedMDNode *NMD = M->getNamedMetadata("llvm.dbg.gv")) in collectInfoFromNamedMDNodes() 636 if (NamedMDNode *NMD = M->getNamedMetadata("llvm.dbg.enum")) in collectInfoFromNamedMDNodes() 643 if (NamedMDNode *NMD = M->getNamedMetadata("llvm.dbg.ty")) in collectInfoFromNamedMDNodes() 702 NamedMDNode *CU_Nodes = M->getNamedMetadata("llvm.dbg.cu"); in beginModule() 743 if (NamedMDNode *CU_Nodes = M->getNamedMetadata("llvm.dbg.cu")) { in endModule()
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 2591 llvm::NamedMDNode *&GlobalMetadata, in EmitGlobalDeclMetadata() 2614 llvm::NamedMDNode *GlobalMetadata = 0; in EmitDeclMetadata() 2635 llvm::NamedMDNode *GlobalMetadata = 0; in EmitDeclMetadata() 2654 if (llvm::NamedMDNode *CUNode = TheModule.getNamedMetadata("llvm.dbg.cu")) { in EmitCoverageFile() 2655 llvm::NamedMDNode *GCov = TheModule.getOrInsertNamedMetadata("llvm.gcov"); in EmitCoverageFile()
|
D | CodeGenFunction.cpp | 284 llvm::NamedMDNode *OpenCLMetadata = in StartFunction()
|
/external/llvm/tools/opt/ |
D | opt.cpp | 375 if (NamedMDNode *NMD = M.getNamedMetadata("llvm.dbg.sp")) in runOnModule()
|