Home | History | Annotate | Download | only in Scalar

Lines Matching defs:WorkList

64   // Initialize the worklist to all of the instructions ready to process...
65 std::set<Instruction*> WorkList;
67 WorkList.insert(&*i);
74 while (!WorkList.empty()) {
75 Instruction *I = *WorkList.begin();
76 WorkList.erase(WorkList.begin()); // Get an element from the worklist...
80 // Add all of the users of this instruction to the worklist, they might
83 WorkList.insert(cast<Instruction>(U));
89 WorkList.erase(I);