/external/llvm/include/llvm/IR/ |
D | Module.h | 40 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 …]
|
D | Metadata.h | 1249 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/llvm/lib/IR/ |
D | Module.cpp | 54 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 …]
|
D | Metadata.cpp | 1042 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-10.0/llvm/lib/IR/ |
D | Module.cpp | 76 NamedMDSymTab = new StringMap<NamedMDNode *>(); in Module() 89 delete static_cast<StringMap<NamedMDNode *> *>(NamedMDSymTab); in ~Module() 250 NamedMDNode *Module::getNamedMetadata(const Twine &Name) const { in getNamedMetadata() 253 return static_cast<StringMap<NamedMDNode*> *>(NamedMDSymTab)->lookup(NameRef); in getNamedMetadata() 259 NamedMDNode *Module::getOrInsertNamedMetadata(StringRef Name) { in getOrInsertNamedMetadata() 260 NamedMDNode *&NMD = in getOrInsertNamedMetadata() 261 (*static_cast<StringMap<NamedMDNode *> *>(NamedMDSymTab))[Name]; in getOrInsertNamedMetadata() 263 NMD = new NamedMDNode(Name); in getOrInsertNamedMetadata() 272 void Module::eraseNamedMetadata(NamedMDNode *NMD) { in eraseNamedMetadata() 273 static_cast<StringMap<NamedMDNode *> *>(NamedMDSymTab)->erase(NMD->getName()); in eraseNamedMetadata() [all …]
|
D | Metadata.cpp | 1070 NamedMDNode::NamedMDNode(const Twine &N) in NamedMDNode() function in NamedMDNode 1073 NamedMDNode::~NamedMDNode() { in ~NamedMDNode() 1078 unsigned NamedMDNode::getNumOperands() const { in getNumOperands() 1082 MDNode *NamedMDNode::getOperand(unsigned i) const { in getOperand() 1088 void NamedMDNode::addOperand(MDNode *M) { getNMDOps(Operands).emplace_back(M); } in addOperand() 1090 void NamedMDNode::setOperand(unsigned I, MDNode *New) { in setOperand() 1095 void NamedMDNode::eraseFromParent() { getParent()->eraseNamedMetadata(this); } in eraseFromParent() 1097 void NamedMDNode::clearOperands() { getNMDOps(Operands).clear(); } in clearOperands() 1099 StringRef NamedMDNode::getName() const { return StringRef(Name); } in getName()
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | Module.h | 80 using NamedMDListType = ilist<NamedMDNode>; 84 using NamedMDSymTabType = StringMap<NamedMDNode *>; 454 NamedMDNode *getNamedMetadata(const Twine &Name) const; 459 NamedMDNode *getOrInsertNamedMetadata(StringRef Name); 462 void eraseNamedMetadata(NamedMDNode *NMD); 485 NamedMDNode *getModuleFlagsMetadata() const; 490 NamedMDNode *getOrInsertModuleFlagsMetadata(); 570 static NamedMDListType Module::*getSublistAccess(NamedMDNode*) { in getSublistAccess() argument 710 NamedMDNode *CUs; 716 explicit debug_compile_units_iterator(NamedMDNode *CUs, unsigned Idx) in debug_compile_units_iterator()
|
D | Metadata.h | 1351 class NamedMDNode : public ilist_node<NamedMDNode> { 1361 explicit NamedMDNode(const Twine &N); 1366 friend class NamedMDNode; 1368 const NamedMDNode *Node = nullptr; 1371 op_iterator_impl(const NamedMDNode *N, unsigned i) : Node(N), Idx(i) {} 1405 NamedMDNode(const NamedMDNode &) = delete; 1406 ~NamedMDNode(); 1452 DEFINE_ISA_CONVERSION_FUNCTIONS(NamedMDNode, LLVMNamedMDNodeRef)
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Module.h | 79 using NamedMDListType = ilist<NamedMDNode>; 450 NamedMDNode *getNamedMetadata(const Twine &Name) const; 455 NamedMDNode *getOrInsertNamedMetadata(StringRef Name); 458 void eraseNamedMetadata(NamedMDNode *NMD); 481 NamedMDNode *getModuleFlagsMetadata() const; 486 NamedMDNode *getOrInsertModuleFlagsMetadata(); 564 static NamedMDListType Module::*getSublistAccess(NamedMDNode*) { in getSublistAccess() argument 703 NamedMDNode *CUs; 709 explicit debug_compile_units_iterator(NamedMDNode *CUs, unsigned Idx) in debug_compile_units_iterator()
|
D | Metadata.h | 1334 class NamedMDNode : public ilist_node<NamedMDNode> { 1344 explicit NamedMDNode(const Twine &N); 1349 friend class NamedMDNode; 1351 const NamedMDNode *Node = nullptr; 1354 op_iterator_impl(const NamedMDNode *N, unsigned i) : Node(N), Idx(i) {} 1388 NamedMDNode(const NamedMDNode &) = delete; 1389 ~NamedMDNode(); 1435 DEFINE_ISA_CONVERSION_FUNCTIONS(NamedMDNode, LLVMNamedMDNodeRef)
|
/external/llvm-project/llvm/lib/IR/ |
D | Module.cpp | 250 NamedMDNode *Module::getNamedMetadata(const Twine &Name) const { in getNamedMetadata() 259 NamedMDNode *Module::getOrInsertNamedMetadata(StringRef Name) { in getOrInsertNamedMetadata() 260 NamedMDNode *&NMD = NamedMDSymTab[Name]; in getOrInsertNamedMetadata() 262 NMD = new NamedMDNode(Name); in getOrInsertNamedMetadata() 271 void Module::eraseNamedMetadata(NamedMDNode *NMD) { in eraseNamedMetadata() 304 const NamedMDNode *ModFlags = getModuleFlagsMetadata(); in getModuleFlagsMetadata() 334 NamedMDNode *Module::getModuleFlagsMetadata() const { in getModuleFlagsMetadata() 341 NamedMDNode *Module::getOrInsertModuleFlagsMetadata() { in getOrInsertModuleFlagsMetadata() 376 NamedMDNode *ModFlags = getOrInsertModuleFlagsMetadata(); in setModuleFlag()
|
D | Metadata.cpp | 1093 NamedMDNode::NamedMDNode(const Twine &N) in NamedMDNode() function in NamedMDNode 1096 NamedMDNode::~NamedMDNode() { in ~NamedMDNode() 1101 unsigned NamedMDNode::getNumOperands() const { in getNumOperands() 1105 MDNode *NamedMDNode::getOperand(unsigned i) const { in getOperand() 1111 void NamedMDNode::addOperand(MDNode *M) { getNMDOps(Operands).emplace_back(M); } in addOperand() 1113 void NamedMDNode::setOperand(unsigned I, MDNode *New) { in setOperand() 1118 void NamedMDNode::eraseFromParent() { getParent()->eraseNamedMetadata(this); } in eraseFromParent() 1120 void NamedMDNode::clearOperands() { getNMDOps(Operands).clear(); } in clearOperands() 1122 StringRef NamedMDNode::getName() const { return StringRef(Name); } in getName()
|
/external/llvm-project/llvm/test/Transforms/DeadStoreElimination/MemDepAnalysis/ |
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-project/llvm/test/Transforms/DeadStoreElimination/MSSA/ |
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/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/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/ |
D | builder.h | 135 llvm::NamedMDNode* metaData = mpJitMgr->mpCurrentModule->getOrInsertNamedMetadata(s); in SetMetadata() 150 NamedMDNode* metaData = mpJitMgr->mpCurrentModule->getNamedMetadata(s); in GetMetadata()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Metadata.h | 1282 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/llvm/test/Feature/ |
D | NamedMDNode.ll | 3 ;; Simple NamedMDNode
|
/external/llvm-project/llvm/test/Feature/ |
D | NamedMDNode.ll | 3 ;; Simple NamedMDNode
|
/external/llvm/lib/Transforms/Utils/ |
D | CloneModule.cpp | 167 const NamedMDNode &NMD = *I; in CloneModule() 168 NamedMDNode *NewNMD = New->getOrInsertNamedMetadata(NMD.getName()); in CloneModule()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | Debugify.cpp | 184 NamedMDNode *NMD = M.getOrInsertNamedMetadata("llvm.debugify"); in applyDebugifyMetadata() 218 NamedMDNode *DebugifyMD = M.getNamedMetadata("llvm.debugify"); in stripDebugifyMetadata() 239 NamedMDNode *NMD = M.getModuleFlagsMetadata(); in stripDebugifyMetadata() 307 NamedMDNode *NMD = M.getNamedMetadata("llvm.debugify"); in checkDebugifyMetadata()
|
/external/llvm/lib/Bitcode/Writer/ |
D | ValueEnumerator.h | 38 class NamedMDNode; variable 282 void EnumerateNamedMDNode(const NamedMDNode *NMD);
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Writer/ |
D | ValueEnumerator.h | 38 class NamedMDNode; variable 291 void EnumerateNamedMDNode(const NamedMDNode *NMD);
|
/external/llvm-project/llvm/lib/Bitcode/Writer/ |
D | ValueEnumerator.h | 36 class NamedMDNode; variable 289 void EnumerateNamedMDNode(const NamedMDNode *NMD);
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | CloneModule.cpp | 188 const NamedMDNode &NMD = *I; in CloneModule() 189 NamedMDNode *NewNMD = New->getOrInsertNamedMetadata(NMD.getName()); in CloneModule()
|