Lines Matching refs:WorkList
88 std::vector<Value*> &WorkList) const;
421 SmallVector<Instruction *> WorkList; in tryPromoteAllocaToVector() local
452 WorkList.push_back(Inst); in tryPromoteAllocaToVector()
495 for (Instruction *Inst : WorkList) { in tryPromoteAllocaToVector()
587 Value *BaseAlloca, Value *Val, std::vector<Value *> &WorkList) const { in collectUsesWithPtrTypes()
590 if (is_contained(WorkList, User)) in collectUsesWithPtrTypes()
597 WorkList.push_back(User); in collectUsesWithPtrTypes()
634 WorkList.push_back(ICmp); in collectUsesWithPtrTypes()
642 WorkList.push_back(User); in collectUsesWithPtrTypes()
684 WorkList.push_back(User); in collectUsesWithPtrTypes()
685 if (!collectUsesWithPtrTypes(BaseAlloca, User, WorkList)) in collectUsesWithPtrTypes()
901 std::vector<Value*> WorkList; in handleAlloca() local
903 if (!collectUsesWithPtrTypes(&I, &I, WorkList)) { in handleAlloca()
948 for (Value *V : WorkList) { in handleAlloca()