Lines Matching defs:WorkList
97 std::vector<Value *> &WorkList) const;
254 SmallVector<Instruction *, 4> WorkList({&Alloca});
255 while (!WorkList.empty()) {
256 auto *Cur = WorkList.pop_back_val();
261 WorkList.push_back(cast<Instruction>(U.getUser()));
690 static void forEachWorkListItem(const InstContainer &WorkList,
696 for (Instruction *User : WorkList)
699 for (Instruction *User : WorkList) {
761 SmallVector<Instruction *> WorkList;
804 WorkList.push_back(Inst);
811 WorkList.push_back(Inst);
829 WorkList.push_back(Inst);
844 WorkList.push_back(Inst);
877 WorkList.push_back(Inst);
923 forEachWorkListItem(WorkList, [&](Instruction *I) {
950 DenseSet<Instruction *> InstsToDelete(WorkList.begin(), WorkList.end());
1142 Value *BaseAlloca, Value *Val, std::vector<Value *> &WorkList) const {
1145 if (is_contained(WorkList, User))
1152 WorkList.push_back(User);
1195 WorkList.push_back(ICmp);
1235 WorkList.push_back(User);
1236 if (!collectUsesWithPtrTypes(BaseAlloca, User, WorkList))
1444 std::vector<Value *> WorkList;
1446 if (!collectUsesWithPtrTypes(&I, &I, WorkList)) {
1488 for (Value *V : WorkList) {