Home
last modified time | relevance | path

Searched refs:NamedMDNode (Results 1 – 25 of 51) sorted by relevance

123

/external/llvm/include/llvm/IR/
DModule.h38 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 …]
DMetadata.h1133 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();
DValueSymbolTable.h26 class NamedMDNode; variable
DDebugInfo.h48 DITypeIdentifierMap generateDITypeIdentifierMap(const NamedMDNode *CU_Nodes);
/external/llvm/lib/IR/
DModule.cpp52 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 …]
DDebugInfo.cpp60 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()
DMetadata.cpp977 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()
DTypeFinder.cpp82 const NamedMDNode *NMD = &*I; in run()
/external/llvm/tools/opt/
DBreakpointPrinter.cpp48 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/
D2011-09-06-MemCpy.ll45 %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/
DNamedMDNode.ll3 ;; Simple NamedMDNode
/external/llvm/lib/Bitcode/Writer/
DValueEnumerator.h36 class NamedMDNode; variable
197 void EnumerateNamedMDNode(const NamedMDNode *NMD);
/external/llvm/lib/Transforms/Utils/
DCloneModule.cpp161 const NamedMDNode &NMD = *I; in CloneModule()
162 NamedMDNode *NewNMD = New->getOrInsertNamedMetadata(NMD.getName()); in CloneModule()
/external/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp58 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/
DTestPasses.cpp113 NamedMDNode *CU_Nodes = M.getNamedMetadata("llvm.dbg.cu"); in runOnModule()
/external/llvm/lib/Linker/
DIRMover.cpp1190 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/
DSanitizerMetadata.cpp53 llvm::NamedMDNode *AsanGlobals = in reportGlobalToASan()
DCodeGenModule.cpp977 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/
DIRBindings.cpp75 NamedMDNode *N = unwrap(M)->getOrInsertNamedMetadata(name); in LLVMAddNamedMetadataOperand2()
/external/llvm/lib/Transforms/IPO/
DCrossDSOCFI.cpp104 NamedMDNode *BitSetNM = M->getNamedMetadata("llvm.bitsets"); in buildCFICheck()
/external/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp425 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/
Dinvocation.cpp139 const llvm::NamedMDNode *kernel_node = in find_kernels()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUOpenCLImageTypeLoweringPass.cpp317 NamedMDNode *KernelsMDNode = M.getNamedMetadata(KernelsMDNodeName); in transformKernels()
/external/llvm/test/CodeGen/PowerPC/
Dpr15031.ll69 %"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/
DCrashDebugger.cpp552 std::vector<NamedMDNode *> ToDelete; in TestNamedMDs()
622 NamedMDNode *NewNamedMDNode = in TestNamedMDOps()

123