Lines Matching refs:NamedMDNode
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()
297 const NamedMDNode *ModFlags = getModuleFlagsMetadata(); in getModuleFlagsMetadata()
329 NamedMDNode *Module::getModuleFlagsMetadata() const { in getModuleFlagsMetadata()
336 NamedMDNode *Module::getOrInsertModuleFlagsMetadata() { in getOrInsertModuleFlagsMetadata()