Lines Matching defs:Worklist
77 SmallVector<Value *, 8> Worklist;
82 Worklist.push_back(CurrentTruncInst->getOperand(0));
84 while (!Worklist.empty()) {
85 Value *Curr = Worklist.back();
88 Worklist.pop_back();
98 // Worklist and the Stack, and add it to the instruction info map.
99 Worklist.pop_back();
107 Worklist.pop_back();
134 Worklist.push_back(Operand);
151 SmallVector<Value *, 8> Worklist;
163 Worklist.push_back(Src);
166 while (!Worklist.empty()) {
167 Value *Curr = Worklist.back();
170 Worklist.pop_back();
184 // Worklist and the Stack, and update MinBitWidth.
185 Worklist.pop_back();
211 Worklist.push_back(IOp);
342 // Update Worklist entries with new value if needed.
343 // There are three possible changes to the Worklist:
347 auto Entry = find(Worklist, I);
348 if (Entry != Worklist.end()) {
352 Worklist.erase(Entry);
354 Worklist.push_back(NewCI);
411 // Collect all TruncInst in the function into the Worklist for evaluating.
418 Worklist.push_back(CI);
421 // Process all TruncInst in the Worklist, for each instruction:
424 while (!Worklist.empty()) {
425 CurrentTruncInst = Worklist.pop_back_val();