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