Home
last modified time | relevance | path

Searched refs:MDMap (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DValueMap.h93 std::optional<MDMapT> MDMap; variable
113 bool hasMD() const { return bool(MDMap); } in hasMD()
115 if (!MDMap) in MD()
116 MDMap.emplace(); in MD()
117 return *MDMap; in MD()
119 std::optional<MDMapT> &getMDMap() { return MDMap; } in getMDMap()
123 if (!MDMap) in getMappedMD()
125 auto Where = MDMap->find(MD); in getMappedMD()
126 if (Where == MDMap->end()) in getMappedMD()
147 MDMap.reset(); in clear()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp993 MetadataMap MDMap; member in __anonf5c37c130311::ScopedAliasMetadataDeepCloner
1038 assert(MDMap.empty() && "clone() already called ?"); in clone()
1043 MDMap[I].reset(DummyNodes.back().get()); in clone()
1053 NewOps.push_back(MDMap[M]); in clone()
1059 MDTuple *TempM = cast<MDTuple>(MDMap[I]); in clone()
1069 if (MDMap.empty()) in remap()
1077 if (MDNode *MNew = MDMap.lookup(M)) in remap()
1081 if (MDNode *MNew = MDMap.lookup(M)) in remap()
1085 if (MDNode *MNew = MDMap.lookup(Decl->getScopeList())) in remap()