Home
last modified time | relevance | path

Searched refs:WorklistMap (Results 1 – 2 of 2) sorted by relevance

/external/llvm/include/llvm/Transforms/InstCombine/
DInstCombineWorklist.h28 DenseMap<Instruction*, unsigned> WorklistMap; variable
37 WorklistMap(std::move(Arg.WorklistMap)) {} in InstCombineWorklist()
40 WorklistMap = std::move(RHS.WorklistMap);
49 if (WorklistMap.insert(std::make_pair(I, Worklist.size())).second) { in Add()
66 WorklistMap.resize(List.size()); in AddInitialGroup()
70 WorklistMap.insert(std::make_pair(I, Idx++)); in AddInitialGroup()
77 DenseMap<Instruction*, unsigned>::iterator It = WorklistMap.find(I); in Remove()
78 if (It == WorklistMap.end()) return; // Not in worklist. in Remove()
83 WorklistMap.erase(It); in Remove()
88 WorklistMap.erase(I); in RemoveOne()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp109 DenseMap<SDNode *, unsigned> WorklistMap; member in __anon894433be0111::DAGCombiner
139 if (WorklistMap.insert(std::make_pair(N, Worklist.size())).second) in AddToWorklist()
147 auto It = WorklistMap.find(N); in removeFromWorklist()
148 if (It == WorklistMap.end()) in removeFromWorklist()
153 WorklistMap.erase(It); in removeFromWorklist()
1264 while (!WorklistMap.empty()) { in Run()
1271 bool GoodWorklistEntry = WorklistMap.erase(N); in Run()