Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DValueMap.h95 Optional<MDMapT> MDMap; variable
116 bool hasMD() const { return bool(MDMap); } in hasMD()
118 if (!MDMap) in MD()
119 MDMap.emplace(); in MD()
120 return *MDMap; in MD()
122 Optional<MDMapT> &getMDMap() { return MDMap; } in getMDMap()
130 if (!MDMap) in getMappedMD()
132 auto Where = MDMap->find(MD); in getMappedMD()
133 if (Where == MDMap->end()) in getMappedMD()
154 MDMap.reset(); in clear()
/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/tensorflow/tensorflow/core/common_runtime/
Dprocess_state.h78 typedef std::unordered_map<const void*, MemDesc> MDMap; typedef
106 MDMap mem_desc_map_;
113 RecordingAllocator(ProcessState::MDMap* mm, Allocator* a, in RecordingAllocator()
135 ProcessState::MDMap* mm_; // not owned
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_process_state.h126 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-7.0/llvm/lib/Transforms/Utils/
DInlineFunction.cpp840 DenseMap<const MDNode *, TrackingMDNodeRef> MDMap; in CloneAliasScopeMetadata() local
843 MDMap[I].reset(DummyNodes.back().get()); in CloneAliasScopeMetadata()
854 NewOps.push_back(MDMap[M]); in CloneAliasScopeMetadata()
860 MDTuple *TempM = cast<MDTuple>(MDMap[I]); in CloneAliasScopeMetadata()
878 MDNode *NewMD = MDMap[M]; in CloneAliasScopeMetadata()
893 MDNode *NewMD = MDMap[M]; in CloneAliasScopeMetadata()