Lines Matching refs:Worklist
89 SmallVector<Value *, 8> Worklist; in buildTruncExpressionGraph() local
94 Worklist.push_back(CurrentTruncInst->getOperand(0)); in buildTruncExpressionGraph()
96 while (!Worklist.empty()) { in buildTruncExpressionGraph()
97 Value *Curr = Worklist.back(); in buildTruncExpressionGraph()
100 Worklist.pop_back(); in buildTruncExpressionGraph()
111 Worklist.pop_back(); in buildTruncExpressionGraph()
119 Worklist.pop_back(); in buildTruncExpressionGraph()
152 append_range(Worklist, Operands); in buildTruncExpressionGraph()
161 Worklist.push_back(Op); in buildTruncExpressionGraph()
176 SmallVector<Value *, 8> Worklist; in getMinBitWidth() local
188 Worklist.push_back(Src); in getMinBitWidth()
191 while (!Worklist.empty()) { in getMinBitWidth()
192 Value *Curr = Worklist.back(); in getMinBitWidth()
195 Worklist.pop_back(); in getMinBitWidth()
210 Worklist.pop_back(); in getMinBitWidth()
236 Worklist.push_back(IOp); in getMinBitWidth()
416 auto *Entry = find(Worklist, I); in ReduceExpressionGraph()
417 if (Entry != Worklist.end()) { in ReduceExpressionGraph()
421 Worklist.erase(Entry); in ReduceExpressionGraph()
423 Worklist.push_back(NewCI); in ReduceExpressionGraph()
535 Worklist.push_back(CI); in run()
541 while (!Worklist.empty()) { in run()
542 CurrentTruncInst = Worklist.pop_back_val(); in run()