/external/llvm/include/llvm/IR/ |
D | Module.h | 38 template<> struct ilist_traits<NamedMDNode> 39 : public ilist_default_traits<NamedMDNode> { 42 NamedMDNode *createSentinel() const { 43 return static_cast<NamedMDNode*>(&Sentinel); 45 static void destroySentinel(NamedMDNode*) {} 47 NamedMDNode *provideInitialHead() const { return createSentinel(); } 48 NamedMDNode *ensureHead(NamedMDNode*) const { return createSentinel(); } 49 static void noteHead(NamedMDNode*, NamedMDNode*) {} 50 void addNodeToList(NamedMDNode *) {} 51 void removeNodeFromList(NamedMDNode *) {} [all …]
|
D | Metadata.h | 1133 class NamedMDNode : public ilist_node<NamedMDNode> { 1134 friend struct ilist_traits<NamedMDNode>; 1137 NamedMDNode(const NamedMDNode &) = delete; 1145 explicit NamedMDNode(const Twine &N); 1150 const NamedMDNode *Node; 1152 op_iterator_impl(const NamedMDNode *N, unsigned i) : Node(N), Idx(i) { } 1154 friend class NamedMDNode; 1190 ~NamedMDNode();
|
D | ValueSymbolTable.h | 26 class NamedMDNode; variable
|
D | DebugInfo.h | 48 DITypeIdentifierMap generateDITypeIdentifierMap(const NamedMDNode *CU_Nodes);
|
/external/llvm/lib/IR/ |
D | Module.cpp | 52 NamedMDSymTab = new StringMap<NamedMDNode *>(); in Module() 64 delete static_cast<StringMap<NamedMDNode *> *>(NamedMDSymTab); in ~Module() 256 NamedMDNode *Module::getNamedMetadata(const Twine &Name) const { in getNamedMetadata() 259 return static_cast<StringMap<NamedMDNode*> *>(NamedMDSymTab)->lookup(NameRef); in getNamedMetadata() 265 NamedMDNode *Module::getOrInsertNamedMetadata(StringRef Name) { in getOrInsertNamedMetadata() 266 NamedMDNode *&NMD = in getOrInsertNamedMetadata() 267 (*static_cast<StringMap<NamedMDNode *> *>(NamedMDSymTab))[Name]; in getOrInsertNamedMetadata() 269 NMD = new NamedMDNode(Name); in getOrInsertNamedMetadata() 278 void Module::eraseNamedMetadata(NamedMDNode *NMD) { in eraseNamedMetadata() 279 static_cast<StringMap<NamedMDNode *> *>(NamedMDSymTab)->erase(NMD->getName()); in eraseNamedMetadata() [all …]
|
D | DebugInfo.cpp | 60 llvm::generateDITypeIdentifierMap(const NamedMDNode *CU_Nodes) { in generateDITypeIdentifierMap() 101 if (NamedMDNode *CU_Nodes = M.getNamedMetadata("llvm.dbg.cu")) { in InitializeTypeMap() 109 if (NamedMDNode *CU_Nodes = M.getNamedMetadata("llvm.dbg.cu")) { in processModule() 343 NamedMDNode *NMD = &*NMI; in StripDebugInfo()
|
D | Metadata.cpp | 977 NamedMDNode::NamedMDNode(const Twine &N) in NamedMDNode() function in NamedMDNode 981 NamedMDNode::~NamedMDNode() { in ~NamedMDNode() 986 unsigned NamedMDNode::getNumOperands() const { in getNumOperands() 990 MDNode *NamedMDNode::getOperand(unsigned i) const { in getOperand() 996 void NamedMDNode::addOperand(MDNode *M) { getNMDOps(Operands).emplace_back(M); } in addOperand() 998 void NamedMDNode::setOperand(unsigned I, MDNode *New) { in setOperand() 1003 void NamedMDNode::eraseFromParent() { in eraseFromParent() 1007 void NamedMDNode::dropAllReferences() { in dropAllReferences() 1011 StringRef NamedMDNode::getName() const { in getName()
|
D | TypeFinder.cpp | 82 const NamedMDNode *NMD = &*I; in run()
|
/external/llvm/tools/opt/ |
D | BreakpointPrinter.cpp | 48 NamedMDNode *CU_Nodes = M.getNamedMetadata("llvm.dbg.cu"); in runOnModule() 53 if (NamedMDNode *NMD = M.getNamedMetadata("llvm.dbg.sp")) in runOnModule()
|
/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/test/Feature/ |
D | NamedMDNode.ll | 3 ;; Simple NamedMDNode
|
/external/llvm/lib/Bitcode/Writer/ |
D | ValueEnumerator.h | 36 class NamedMDNode; variable 197 void EnumerateNamedMDNode(const NamedMDNode *NMD);
|
/external/llvm/lib/Transforms/Utils/ |
D | CloneModule.cpp | 161 const NamedMDNode &NMD = *I; in CloneModule() 162 NamedMDNode *NewNMD = New->getOrInsertNamedMetadata(NMD.getName()); in CloneModule()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXGenericToNVVM.cpp | 58 void remapNamedMDNode(ValueToValueMapTy &VM, NamedMDNode *N); 135 for (NamedMDNode &I : M.named_metadata()) { in runOnModule() 368 void GenericToNVVM::remapNamedMDNode(ValueToValueMapTy &VM, NamedMDNode *N) { in remapNamedMDNode()
|
/external/llvm/tools/bugpoint-passes/ |
D | TestPasses.cpp | 113 NamedMDNode *CU_Nodes = M.getNamedMetadata("llvm.dbg.cu"); in runOnModule()
|
/external/llvm/lib/Linker/ |
D | IRMover.cpp | 1190 NamedMDNode *CompileUnits = SrcM.getNamedMetadata("llvm.dbg.cu"); in findNeededSubprograms() 1226 NamedMDNode *CompileUnits = DstM.getNamedMetadata("llvm.dbg.cu"); in stripNullSubprograms() 1251 const NamedMDNode *SrcModFlags = SrcM.getModuleFlagsMetadata(); in linkNamedMDNodes() 1252 for (const NamedMDNode &NMD : SrcM.named_metadata()) { in linkNamedMDNodes() 1256 NamedMDNode *DestNMD = DstM.getOrInsertNamedMetadata(NMD.getName()); in linkNamedMDNodes() 1269 const NamedMDNode *SrcModFlags = SrcM.getModuleFlagsMetadata(); in linkModuleFlagsMetadata() 1275 NamedMDNode *DstModFlags = DstM.getOrInsertModuleFlagsMetadata(); in linkModuleFlagsMetadata()
|
/external/clang/lib/CodeGen/ |
D | SanitizerMetadata.cpp | 53 llvm::NamedMDNode *AsanGlobals = in reportGlobalToASan()
|
D | CodeGenModule.cpp | 977 llvm::NamedMDNode *BitsetsMD = in CreateFunctionBitSetEntry() 3732 llvm::NamedMDNode *&GlobalMetadata, in EmitGlobalDeclMetadata() 3777 llvm::NamedMDNode *GlobalMetadata = nullptr; in EmitDeclMetadata() 3798 llvm::NamedMDNode *GlobalMetadata = nullptr; in EmitDeclMetadata() 3816 llvm::NamedMDNode *IdentMetadata = in EmitVersionIdentMetadata() 3842 if (llvm::NamedMDNode *CUNode = TheModule.getNamedMetadata("llvm.dbg.cu")) { in EmitCoverageFile() 3843 llvm::NamedMDNode *GCov = TheModule.getOrInsertNamedMetadata("llvm.gcov"); in EmitCoverageFile() 3932 void CodeGenModule::CreateVTableBitSetEntry(llvm::NamedMDNode *BitsetsMD, in CreateVTableBitSetEntry()
|
/external/llvm/bindings/go/llvm/ |
D | IRBindings.cpp | 75 NamedMDNode *N = unwrap(M)->getOrInsertNamedMetadata(name); in LLVMAddNamedMetadataOperand2()
|
/external/llvm/lib/Transforms/IPO/ |
D | CrossDSOCFI.cpp | 104 NamedMDNode *BitSetNM = M->getNamedMetadata("llvm.bitsets"); in buildCFICheck()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | GCOVProfiling.cpp | 425 if (NamedMDNode *GCov = M->getNamedMetadata("llvm.gcov")) { in mangleName() 488 NamedMDNode *CU_Nodes = M->getNamedMetadata("llvm.dbg.cu"); in emitProfileNotes() 573 NamedMDNode *CU_Nodes = M->getNamedMetadata("llvm.dbg.cu"); in emitProfileArcs() 852 NamedMDNode *CU_Nodes = M->getNamedMetadata("llvm.dbg.cu"); in insertCounterWriteout()
|
/external/mesa3d/src/gallium/state_trackers/clover/llvm/ |
D | invocation.cpp | 139 const llvm::NamedMDNode *kernel_node = in find_kernels()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUOpenCLImageTypeLoweringPass.cpp | 317 NamedMDNode *KernelsMDNode = M.getNamedMetadata(KernelsMDNodeName); in transformKernels()
|
/external/llvm/test/CodeGen/PowerPC/ |
D | pr15031.ll | 69 %"class.llvm::iplist.39" = type { %"struct.llvm::ilist_traits.40", %"class.llvm::NamedMDNode"* } 71 %"class.llvm::ilist_node.45" = type { %"class.llvm::ilist_half_node.46", %"class.llvm::NamedMDNode"… 72 %"class.llvm::ilist_half_node.46" = type { %"class.llvm::NamedMDNode"* } 73 %"class.llvm::NamedMDNode" = type { %"class.llvm::ilist_node.45", %"class.std::basic_string", %"cla…
|
/external/llvm/tools/bugpoint/ |
D | CrashDebugger.cpp | 552 std::vector<NamedMDNode *> ToDelete; in TestNamedMDs() 622 NamedMDNode *NewNamedMDNode = in TestNamedMDOps()
|