/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | LiveRangeShrink.cpp | 121 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/llvm-project/llvm/lib/CodeGen/ |
D | LiveRangeShrink.cpp | 121 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/llvm-project/llvm/tools/llvm-pdbutil/ |
D | PrettyClassLayoutGraphicalDumper.cpp | 44 const BitVector &UseMap = Layout.usedBytes(); in start() local 45 int NextPaddingByte = UseMap.find_first_unset(); in start() 54 if (RelativeOffset < UseMap.size() && (Item->getSize() > 0)) { in start() 62 NextPaddingByte = UseMap.find_next_unset(RelativeOffset); in start() 79 if (Prev < UseMap.size()) in start() 80 NextPaddingByte = UseMap.find_next_unset(Prev); in start()
|
/external/llvm/lib/IR/ |
D | Metadata.cpp | 167 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/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Metadata.cpp | 199 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 …]
|
/external/llvm-project/llvm/lib/IR/ |
D | Metadata.cpp | 200 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/include/llvm/Transforms/IPO/ |
D | DeadArgumentElimination.h | 79 typedef std::multimap<RetOrArg, RetOrArg> UseMap; typedef 94 UseMap Uses;
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/ |
D | DeadArgumentElimination.h | 91 using UseMap = std::multimap<RetOrArg, RetOrArg>; variable 107 UseMap Uses;
|
/external/llvm-project/llvm/include/llvm/Transforms/IPO/ |
D | DeadArgumentElimination.h | 91 using UseMap = std::multimap<RetOrArg, RetOrArg>; variable 107 UseMap Uses;
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 717 UseMap::iterator Begin = Uses.lower_bound(RA); in PropagateLiveness() 718 UseMap::iterator E = Uses.end(); in PropagateLiveness() 719 UseMap::iterator I; in PropagateLiveness()
|
/external/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 655 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-10.0/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 715 UseMap::iterator Begin = Uses.lower_bound(RA); in PropagateLiveness() 716 UseMap::iterator E = Uses.end(); in PropagateLiveness() 717 UseMap::iterator I; in PropagateLiveness()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Metadata.h | 273 SmallDenseMap<void *, std::pair<OwnerTy, uint64_t>, 4> UseMap; variable 280 assert(UseMap.empty() && "Cannot destroy in-use replaceable metadata"); in ~ReplaceableMetadataImpl()
|
/external/llvm/include/llvm/IR/ |
D | Metadata.h | 261 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-10.0/llvm/include/llvm/IR/ |
D | Metadata.h | 288 SmallDenseMap<void *, std::pair<OwnerTy, uint64_t>, 4> UseMap; variable 294 assert(UseMap.empty() && "Cannot destroy in-use replaceable metadata"); in ~ReplaceableMetadataImpl()
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | Metadata.h | 288 SmallDenseMap<void *, std::pair<OwnerTy, uint64_t>, 4> UseMap; variable 294 assert(UseMap.empty() && "Cannot destroy in-use replaceable metadata"); in ~ReplaceableMetadataImpl()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopStrengthReduce.cpp | 1688 UseMapTy UseMap; member in __anonb19727160811::LSRInstance 2266 UseMap.insert(std::make_pair(LSRUse::SCEVUseKindPair(Expr, Kind), 0)); in getUse()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | LoopStrengthReduce.cpp | 1967 UseMapTy UseMap; member in __anon89e916240911::LSRInstance 2574 UseMap.insert(std::make_pair(LSRUse::SCEVUseKindPair(Expr, Kind), 0)); in getUse()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LoopStrengthReduce.cpp | 1973 UseMapTy UseMap; member in __anonf896c9380911::LSRInstance 2579 UseMap.insert(std::make_pair(LSRUse::SCEVUseKindPair(Expr, Kind), 0)); in getUse()
|