Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.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()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/
DPrettyClassLayoutGraphicalDumper.cpp45 const BitVector &UseMap = Layout.usedBytes(); in start() local
46 int NextPaddingByte = UseMap.find_first_unset(); in start()
55 if (RelativeOffset < UseMap.size() && (Item->getSize() > 0)) { in start()
63 NextPaddingByte = UseMap.find_next_unset(RelativeOffset); in start()
80 if (Prev < UseMap.size()) in start()
81 NextPaddingByte = UseMap.find_next_unset(Prev); in start()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DMetadata.cpp200 UseMap.insert(std::make_pair(Ref, std::make_pair(Owner, NextIndex))) in addRef()
210 bool WasErased = UseMap.erase(Ref); in dropRef()
217 auto I = UseMap.find(Ref); in moveRef()
218 assert(I != UseMap.end() && "Expected to move a reference"); in moveRef()
220 UseMap.erase(I); in moveRef()
221 bool WasInserted = UseMap.insert(std::make_pair(New, OwnerAndIndex)).second; in moveRef()
234 if (UseMap.empty()) in replaceAllUsesWith()
239 SmallVector<UseTy, 8> Uses(UseMap.begin(), UseMap.end()); in replaceAllUsesWith()
246 if (!UseMap.count(Pair.first)) in replaceAllUsesWith()
256 UseMap.erase(Pair.first); in replaceAllUsesWith()
[all …]
/external/llvm/lib/IR/
DMetadata.cpp167 UseMap.insert(std::make_pair(Ref, std::make_pair(Owner, NextIndex))) in addRef()
177 bool WasErased = UseMap.erase(Ref); in dropRef()
184 auto I = UseMap.find(Ref); in moveRef()
185 assert(I != UseMap.end() && "Expected to move a reference"); in moveRef()
187 UseMap.erase(I); in moveRef()
188 bool WasInserted = UseMap.insert(std::make_pair(New, OwnerAndIndex)).second; in moveRef()
201 if (UseMap.empty()) in replaceAllUsesWith()
206 SmallVector<UseTy, 8> Uses(UseMap.begin(), UseMap.end()); in replaceAllUsesWith()
213 if (!UseMap.count(Pair.first)) in replaceAllUsesWith()
223 UseMap.erase(Pair.first); in replaceAllUsesWith()
[all …]
/external/llvm/include/llvm/Transforms/IPO/
DDeadArgumentElimination.h79 typedef std::multimap<RetOrArg, RetOrArg> UseMap; typedef
94 UseMap Uses;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/IPO/
DDeadArgumentElimination.h92 using UseMap = std::multimap<RetOrArg, RetOrArg>; variable
108 UseMap Uses;
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DDeadArgumentElimination.cpp97 typedef std::multimap<RetOrArg, RetOrArg> UseMap; typedef in __anoncee85ffd0111::DAE
112 UseMap Uses;
627 UseMap::iterator Begin = Uses.lower_bound(RA); in PropagateLiveness()
628 UseMap::iterator E = Uses.end(); in PropagateLiveness()
629 UseMap::iterator I; in PropagateLiveness()
/external/llvm/lib/Transforms/IPO/
DDeadArgumentElimination.cpp655 UseMap::iterator Begin = Uses.lower_bound(RA); in PropagateLiveness()
656 UseMap::iterator E = Uses.end(); in PropagateLiveness()
657 UseMap::iterator I; in PropagateLiveness()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DDeadArgumentElimination.cpp711 UseMap::iterator Begin = Uses.lower_bound(RA); in PropagateLiveness()
712 UseMap::iterator E = Uses.end(); in PropagateLiveness()
713 UseMap::iterator I; in PropagateLiveness()
/external/llvm/include/llvm/IR/
DMetadata.h261 SmallDenseMap<void *, std::pair<OwnerTy, uint64_t>, 4> UseMap; variable
267 assert(UseMap.empty() && "Cannot destroy in-use replaceable metadata"); in ~ReplaceableMetadataImpl()
/external/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()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DMetadata.h286 SmallDenseMap<void *, std::pair<OwnerTy, uint64_t>, 4> UseMap; variable
292 assert(UseMap.empty() && "Cannot destroy in-use replaceable metadata"); in ~ReplaceableMetadataImpl()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp1379 UseMapTy UseMap; member in __anon16dcb0420711::LSRInstance
1952 UseMap.insert(std::make_pair(std::make_pair(Expr, Kind), 0)); in getUse()
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp1688 UseMapTy UseMap; member in __anonb19727160811::LSRInstance
2266 UseMap.insert(std::make_pair(LSRUse::SCEVUseKindPair(Expr, Kind), 0)); in getUse()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp1941 UseMapTy UseMap; member in __anon94ba394e0811::LSRInstance
2546 UseMap.insert(std::make_pair(LSRUse::SCEVUseKindPair(Expr, Kind), 0)); in getUse()