Home
last modified time | relevance | path

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

123456

/external/swiftshader/third_party/LLVM/include/llvm/
DModule.h84 template<> struct ilist_traits<NamedMDNode>
85 : public ilist_default_traits<NamedMDNode> {
88 NamedMDNode *createSentinel() const {
89 return static_cast<NamedMDNode*>(&Sentinel);
91 static void destroySentinel(NamedMDNode*) {}
93 NamedMDNode *provideInitialHead() const { return createSentinel(); }
94 NamedMDNode *ensureHead(NamedMDNode*) const { return createSentinel(); }
95 static void noteHead(NamedMDNode*, NamedMDNode*) {}
96 void addNodeToList(NamedMDNode *) {}
97 void removeNodeFromList(NamedMDNode *) {}
[all …]
DMetadata.h184 class NamedMDNode : public ilist_node<NamedMDNode> {
185 friend class SymbolTableListTraits<NamedMDNode, Module>;
186 friend struct ilist_traits<NamedMDNode>;
189 NamedMDNode(const NamedMDNode &); // DO NOT IMPLEMENT
197 explicit NamedMDNode(const Twine &N);
208 ~NamedMDNode();
/external/llvm/include/llvm/IR/
DModule.h40 template<> struct ilist_traits<NamedMDNode>
41 : public ilist_default_traits<NamedMDNode> {
44 NamedMDNode *createSentinel() const {
45 return static_cast<NamedMDNode*>(&Sentinel);
47 static void destroySentinel(NamedMDNode*) {}
49 NamedMDNode *provideInitialHead() const { return createSentinel(); }
50 NamedMDNode *ensureHead(NamedMDNode*) const { return createSentinel(); }
51 static void noteHead(NamedMDNode*, NamedMDNode*) {}
52 void addNodeToList(NamedMDNode *) {}
53 void removeNodeFromList(NamedMDNode *) {}
[all …]
DMetadata.h1249 class NamedMDNode : public ilist_node<NamedMDNode> {
1250 friend struct ilist_traits<NamedMDNode>;
1253 NamedMDNode(const NamedMDNode &) = delete;
1261 explicit NamedMDNode(const Twine &N);
1266 const NamedMDNode *Node;
1268 op_iterator_impl(const NamedMDNode *N, unsigned i) : Node(N), Idx(i) { }
1270 friend class NamedMDNode;
1306 ~NamedMDNode();
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DModule.cpp75 NamedMDSymTab = new StringMap<NamedMDNode *>(); in Module()
88 delete static_cast<StringMap<NamedMDNode *> *>(NamedMDSymTab); in ~Module()
242 NamedMDNode *Module::getNamedMetadata(const Twine &Name) const { in getNamedMetadata()
245 return static_cast<StringMap<NamedMDNode*> *>(NamedMDSymTab)->lookup(NameRef); in getNamedMetadata()
251 NamedMDNode *Module::getOrInsertNamedMetadata(StringRef Name) { in getOrInsertNamedMetadata()
252 NamedMDNode *&NMD = in getOrInsertNamedMetadata()
253 (*static_cast<StringMap<NamedMDNode *> *>(NamedMDSymTab))[Name]; in getOrInsertNamedMetadata()
255 NMD = new NamedMDNode(Name); in getOrInsertNamedMetadata()
264 void Module::eraseNamedMetadata(NamedMDNode *NMD) { in eraseNamedMetadata()
265 static_cast<StringMap<NamedMDNode *> *>(NamedMDSymTab)->erase(NMD->getName()); in eraseNamedMetadata()
[all …]
DMetadata.cpp1069 NamedMDNode::NamedMDNode(const Twine &N) in NamedMDNode() function in NamedMDNode
1072 NamedMDNode::~NamedMDNode() { in ~NamedMDNode()
1077 unsigned NamedMDNode::getNumOperands() const { in getNumOperands()
1081 MDNode *NamedMDNode::getOperand(unsigned i) const { in getOperand()
1087 void NamedMDNode::addOperand(MDNode *M) { getNMDOps(Operands).emplace_back(M); } in addOperand()
1089 void NamedMDNode::setOperand(unsigned I, MDNode *New) { in setOperand()
1094 void NamedMDNode::eraseFromParent() { getParent()->eraseNamedMetadata(this); } in eraseFromParent()
1096 void NamedMDNode::clearOperands() { getNMDOps(Operands).clear(); } in clearOperands()
1098 StringRef NamedMDNode::getName() const { return StringRef(Name); } in getName()
/external/llvm/lib/IR/
DModule.cpp54 NamedMDSymTab = new StringMap<NamedMDNode *>(); in Module()
67 delete static_cast<StringMap<NamedMDNode *> *>(NamedMDSymTab); in ~Module()
263 NamedMDNode *Module::getNamedMetadata(const Twine &Name) const { in getNamedMetadata()
266 return static_cast<StringMap<NamedMDNode*> *>(NamedMDSymTab)->lookup(NameRef); in getNamedMetadata()
272 NamedMDNode *Module::getOrInsertNamedMetadata(StringRef Name) { in getOrInsertNamedMetadata()
273 NamedMDNode *&NMD = in getOrInsertNamedMetadata()
274 (*static_cast<StringMap<NamedMDNode *> *>(NamedMDSymTab))[Name]; in getOrInsertNamedMetadata()
276 NMD = new NamedMDNode(Name); in getOrInsertNamedMetadata()
285 void Module::eraseNamedMetadata(NamedMDNode *NMD) { in eraseNamedMetadata()
286 static_cast<StringMap<NamedMDNode *> *>(NamedMDSymTab)->erase(NMD->getName()); in eraseNamedMetadata()
[all …]
DMetadata.cpp1042 NamedMDNode::NamedMDNode(const Twine &N) in NamedMDNode() function in NamedMDNode
1046 NamedMDNode::~NamedMDNode() { in ~NamedMDNode()
1051 unsigned NamedMDNode::getNumOperands() const { in getNumOperands()
1055 MDNode *NamedMDNode::getOperand(unsigned i) const { in getOperand()
1061 void NamedMDNode::addOperand(MDNode *M) { getNMDOps(Operands).emplace_back(M); } in addOperand()
1063 void NamedMDNode::setOperand(unsigned I, MDNode *New) { in setOperand()
1068 void NamedMDNode::eraseFromParent() { in eraseFromParent()
1072 void NamedMDNode::dropAllReferences() { in dropAllReferences()
1076 StringRef NamedMDNode::getName() const { in getName()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DModule.cpp48 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()
324 void Module::eraseNamedMetadata(NamedMDNode *NMD) { in eraseNamedMetadata()
325 static_cast<StringMap<NamedMDNode *> *>(NamedMDSymTab)->erase(NMD->getName()); in eraseNamedMetadata()
[all …]
DMetadata.cpp380 NamedMDNode::NamedMDNode(const Twine &N) in NamedMDNode() function in NamedMDNode
385 NamedMDNode::~NamedMDNode() { in ~NamedMDNode()
391 unsigned NamedMDNode::getNumOperands() const { in getNumOperands()
396 MDNode *NamedMDNode::getOperand(unsigned i) const { in getOperand()
402 void NamedMDNode::addOperand(MDNode *M) { in addOperand()
410 void NamedMDNode::eraseFromParent() { in eraseFromParent()
415 void NamedMDNode::dropAllReferences() { in dropAllReferences()
420 StringRef NamedMDNode::getName() const { in getName()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DModule.h76 using NamedMDListType = ilist<NamedMDNode>;
435 NamedMDNode *getNamedMetadata(const Twine &Name) const;
440 NamedMDNode *getOrInsertNamedMetadata(StringRef Name);
443 void eraseNamedMetadata(NamedMDNode *NMD);
466 NamedMDNode *getModuleFlagsMetadata() const;
471 NamedMDNode *getOrInsertModuleFlagsMetadata();
549 static NamedMDListType Module::*getSublistAccess(NamedMDNode*) { in getSublistAccess() argument
719 NamedMDNode *CUs;
725 explicit debug_compile_units_iterator(NamedMDNode *CUs, unsigned Idx) in debug_compile_units_iterator()
DMetadata.h1323 class NamedMDNode : public ilist_node<NamedMDNode> {
1333 explicit NamedMDNode(const Twine &N);
1338 friend class NamedMDNode;
1340 const NamedMDNode *Node = nullptr;
1343 op_iterator_impl(const NamedMDNode *N, unsigned i) : Node(N), Idx(i) {}
1377 NamedMDNode(const NamedMDNode &) = delete;
1378 ~NamedMDNode();
/external/swiftshader/third_party/llvm-7.0/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/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/swiftshader/third_party/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/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DStripSymbols.cpp263 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/swiftshader/third_party/LLVM/lib/Bitcode/Writer/
DValueEnumerator.h31 class NamedMDNode; variable
141 void EnumerateNamedMDNode(const NamedMDNode *NMD);
/external/spirv-llvm/lib/SPIRV/
DSPIRVMDBuilder.h55 NamedMDWrapper(NamedMDNode &Named, SPIRVMDBuilder& BB) in NamedMDWrapper()
64 NamedMDNode &NMD;
DSPIRVMDWalker.h56 NamedMDWrapper(NamedMDNode *Named, SPIRVMDWalker& WW) in NamedMDWrapper()
77 NamedMDNode *NMD;
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DMetadata.h1282 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();
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DCloneModule.cpp119 const NamedMDNode &NMD = *I; in CloneModule()
120 NamedMDNode *NewNMD = New->getOrInsertNamedMetadata(NMD.getName()); in CloneModule()
/external/llvm/test/Feature/
DNamedMDNode.ll3 ;; Simple NamedMDNode
/external/swiftshader/third_party/llvm-7.0/llvm/test/Feature/
DNamedMDNode.ll3 ;; Simple NamedMDNode
/external/swiftshader/third_party/LLVM/test/Feature/
DNamedMDNode.ll3 ;; Simple NamedMDNode
/external/llvm/lib/Transforms/Utils/
DCloneModule.cpp167 const NamedMDNode &NMD = *I; in CloneModule()
168 NamedMDNode *NewNMD = New->getOrInsertNamedMetadata(NMD.getName()); in CloneModule()

123456