Searched refs:WorklistMap (Results 1 – 6 of 6) sorted by relevance
/external/llvm/include/llvm/Transforms/InstCombine/ |
D | InstCombineWorklist.h | 29 DenseMap<Instruction*, unsigned> WorklistMap; variable 38 WorklistMap(std::move(Arg.WorklistMap)) {} in InstCombineWorklist() 41 WorklistMap = std::move(RHS.WorklistMap); 50 if (WorklistMap.insert(std::make_pair(I, Worklist.size())).second) { in Add() 67 WorklistMap.reserve(List.size()); in AddInitialGroup() 71 WorklistMap.insert(std::make_pair(I, Idx++)); in AddInitialGroup() 78 DenseMap<Instruction*, unsigned>::iterator It = WorklistMap.find(I); in Remove() 79 if (It == WorklistMap.end()) return; // Not in worklist. in Remove() 84 WorklistMap.erase(It); in Remove() 89 WorklistMap.erase(I); in RemoveOne() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/InstCombine/ |
D | InstCombineWorklist.h | 29 DenseMap<Instruction*, unsigned> WorklistMap; variable 42 if (WorklistMap.insert(std::make_pair(I, Worklist.size())).second) { in Add() 59 WorklistMap.reserve(List.size()); in AddInitialGroup() 64 WorklistMap.insert(std::make_pair(I, Idx++)); in AddInitialGroup() 71 DenseMap<Instruction*, unsigned>::iterator It = WorklistMap.find(I); in Remove() 72 if (It == WorklistMap.end()) return; // Not in worklist. in Remove() 77 WorklistMap.erase(It); in Remove() 82 WorklistMap.erase(I); in RemoveOne() 99 assert(WorklistMap.empty() && "Worklist empty, but map not?"); in Zap() 102 WorklistMap.clear(); in Zap()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineWorklist.h | 27 DenseMap<Instruction*, unsigned> WorklistMap; variable 39 if (WorklistMap.insert(std::make_pair(I, Worklist.size())).second) { in Add() 56 WorklistMap.resize(NumEntries); in AddInitialGroup() 60 WorklistMap.insert(std::make_pair(I, Worklist.size())); in AddInitialGroup() 67 DenseMap<Instruction*, unsigned>::iterator It = WorklistMap.find(I); in Remove() 68 if (It == WorklistMap.end()) return; // Not in worklist. in Remove() 73 WorklistMap.erase(It); in Remove() 79 WorklistMap.erase(I); in RemoveOne() 97 assert(WorklistMap.empty() && "Worklist empty, but map not?"); in Zap() 100 WorklistMap.clear(); in Zap()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | GISelWorkList.h | 28 DenseMap<MachineInstr*, unsigned> WorklistMap; variable 33 bool empty() const { return WorklistMap.empty(); } in empty() 35 unsigned size() const { return WorklistMap.size(); } in size() 40 if (WorklistMap.try_emplace(I, Worklist.size()).second) { in insert() 47 auto It = WorklistMap.find(I); in remove() 48 if (It == WorklistMap.end()) return; // Not in worklist. in remove() 53 WorklistMap.erase(It); in remove() 62 WorklistMap.erase(I); in pop_back_val()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 110 DenseMap<SDNode *, unsigned> WorklistMap; member in __anonbfbf49f20111::DAGCombiner 140 if (WorklistMap.insert(std::make_pair(N, Worklist.size())).second) in AddToWorklist() 148 auto It = WorklistMap.find(N); in removeFromWorklist() 149 if (It == WorklistMap.end()) in removeFromWorklist() 154 WorklistMap.erase(It); in removeFromWorklist() 1259 while (!WorklistMap.empty()) { in Run() 1266 bool GoodWorklistEntry = WorklistMap.erase(N); in Run()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 138 DenseMap<SDNode *, unsigned> WorklistMap; member in __anon3082002a0111::DAGCombiner 184 if (WorklistMap.insert(std::make_pair(N, Worklist.size())).second) in AddToWorklist() 192 auto It = WorklistMap.find(N); in removeFromWorklist() 193 if (It == WorklistMap.end()) in removeFromWorklist() 198 WorklistMap.erase(It); in removeFromWorklist() 1409 while (!WorklistMap.empty()) { in Run() 1416 bool GoodWorklistEntry = WorklistMap.erase(N); in Run()
|