Searched refs:MDMap (Results 1 – 8 of 8) sorted by relevance
88 Optional<MDMapT> MDMap; variable106 bool hasMD() const { return bool(MDMap); } in hasMD()108 if (!MDMap) in MD()109 MDMap.emplace(); in MD()110 return *MDMap; in MD()112 Optional<MDMapT> &getMDMap() { return MDMap; } in getMDMap()120 if (!MDMap) in getMappedMD()122 auto Where = MDMap->find(MD); in getMappedMD()123 if (Where == MDMap->end()) in getMappedMD()143 MDMap.reset(); in clear()
94 Optional<MDMapT> MDMap; variable114 bool hasMD() const { return bool(MDMap); } in hasMD()116 if (!MDMap) in MD()117 MDMap.emplace(); in MD()118 return *MDMap; in MD()120 Optional<MDMapT> &getMDMap() { return MDMap; } in getMDMap()124 if (!MDMap) in getMappedMD()126 auto Where = MDMap->find(MD); in getMappedMD()127 if (Where == MDMap->end()) in getMappedMD()148 MDMap.reset(); in clear()
78 typedef std::unordered_map<const void*, MemDesc> MDMap; typedef114 MDMap mem_desc_map_;121 RecordingAllocator(ProcessState::MDMap* mm, Allocator* a, in RecordingAllocator()149 ProcessState::MDMap* mm_; // not owned
133 ProcessState::MDMap* mem_desc_map() { in mem_desc_map()
760 DenseMap<const MDNode *, TrackingMDNodeRef> MDMap; in CloneAliasScopeMetadata() local763 MDMap[I].reset(DummyNodes.back().get()); in CloneAliasScopeMetadata()774 NewOps.push_back(MDMap[M]); in CloneAliasScopeMetadata()780 MDTuple *TempM = cast<MDTuple>(MDMap[I]); in CloneAliasScopeMetadata()798 MDNode *NewMD = MDMap[M]; in CloneAliasScopeMetadata()813 MDNode *NewMD = MDMap[M]; in CloneAliasScopeMetadata()
847 DenseMap<const MDNode *, TrackingMDNodeRef> MDMap; in CloneAliasScopeMetadata() local850 MDMap[I].reset(DummyNodes.back().get()); in CloneAliasScopeMetadata()861 NewOps.push_back(MDMap[M]); in CloneAliasScopeMetadata()867 MDTuple *TempM = cast<MDTuple>(MDMap[I]); in CloneAliasScopeMetadata()885 MDNode *NewMD = MDMap[M]; in CloneAliasScopeMetadata()900 MDNode *NewMD = MDMap[M]; in CloneAliasScopeMetadata()
865 DenseMap<const MDNode *, TrackingMDNodeRef> MDMap; in CloneAliasScopeMetadata() local868 MDMap[I].reset(DummyNodes.back().get()); in CloneAliasScopeMetadata()879 NewOps.push_back(MDMap[M]); in CloneAliasScopeMetadata()885 MDTuple *TempM = cast<MDTuple>(MDMap[I]); in CloneAliasScopeMetadata()905 NI->setMetadata(LLVMContext::MD_alias_scope, MDMap[M]); in CloneAliasScopeMetadata()908 NI->setMetadata(LLVMContext::MD_noalias, MDMap[M]); in CloneAliasScopeMetadata()