Home
last modified time | relevance | path

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

/external/llvm/include/llvm/IR/
DValueMap.h88 Optional<MDMapT> MDMap; variable
106 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()
/external/llvm-project/llvm/include/llvm/IR/
DValueMap.h94 Optional<MDMapT> MDMap; variable
114 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()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DValueMap.h94 Optional<MDMapT> MDMap; variable
114 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()
/external/tensorflow/tensorflow/core/common_runtime/
Dprocess_state.h78 typedef std::unordered_map<const void*, MemDesc> MDMap; typedef
114 MDMap mem_desc_map_;
121 RecordingAllocator(ProcessState::MDMap* mm, Allocator* a, in RecordingAllocator()
149 ProcessState::MDMap* mm_; // not owned
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_process_state.h133 ProcessState::MDMap* mem_desc_map() { in mem_desc_map()
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp760 DenseMap<const MDNode *, TrackingMDNodeRef> MDMap; in CloneAliasScopeMetadata() local
763 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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DInlineFunction.cpp847 DenseMap<const MDNode *, TrackingMDNodeRef> MDMap; in CloneAliasScopeMetadata() local
850 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()
/external/llvm-project/llvm/lib/Transforms/Utils/
DInlineFunction.cpp865 DenseMap<const MDNode *, TrackingMDNodeRef> MDMap; in CloneAliasScopeMetadata() local
868 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()