Home
last modified time | relevance | path

Searched refs:UseMap (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLiveRangeShrink.cpp121 DenseMap<unsigned, std::pair<unsigned, MachineInstr *>> UseMap; in runOnMachineFunction() local
128 UseMap.clear(); in runOnMachineFunction()
145 UseMap[MO.getReg()] = std::make_pair(CurrentOrder, &MI); in runOnMachineFunction()
146 else if (MO.isDead() && UseMap.count(MO.getReg())) in runOnMachineFunction()
149 if (Barrier < UseMap[MO.getReg()].first) { in runOnMachineFunction()
150 Barrier = UseMap[MO.getReg()].first; in runOnMachineFunction()
151 BarrierMI = UseMap[MO.getReg()].second; in runOnMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DMetadata.cpp199 UseMap.insert(std::make_pair(Ref, std::make_pair(Owner, NextIndex))) in addRef()
209 bool WasErased = UseMap.erase(Ref); in dropRef()
216 auto I = UseMap.find(Ref); in moveRef()
217 assert(I != UseMap.end() && "Expected to move a reference"); in moveRef()
219 UseMap.erase(I); in moveRef()
220 bool WasInserted = UseMap.insert(std::make_pair(New, OwnerAndIndex)).second; in moveRef()
233 if (UseMap.empty()) in replaceAllUsesWith()
238 SmallVector<UseTy, 8> Uses(UseMap.begin(), UseMap.end()); in replaceAllUsesWith()
245 if (!UseMap.count(Pair.first)) in replaceAllUsesWith()
255 UseMap.erase(Pair.first); in replaceAllUsesWith()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/
DDeadArgumentElimination.h91 using UseMap = std::multimap<RetOrArg, RetOrArg>; variable
107 UseMap Uses;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DDeadArgumentElimination.cpp715 UseMap::iterator Begin = Uses.lower_bound(RA); in PropagateLiveness()
716 UseMap::iterator E = Uses.end(); in PropagateLiveness()
717 UseMap::iterator I; in PropagateLiveness()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DMetadata.h273 SmallDenseMap<void *, std::pair<OwnerTy, uint64_t>, 4> UseMap; variable
280 assert(UseMap.empty() && "Cannot destroy in-use replaceable metadata"); in ~ReplaceableMetadataImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DMetadata.h288 SmallDenseMap<void *, std::pair<OwnerTy, uint64_t>, 4> UseMap; variable
294 assert(UseMap.empty() && "Cannot destroy in-use replaceable metadata"); in ~ReplaceableMetadataImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp1973 UseMapTy UseMap; member in __anonaa40223f0911::LSRInstance
2579 UseMap.insert(std::make_pair(LSRUse::SCEVUseKindPair(Expr, Kind), 0)); in getUse()