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);
73 while (!WorkList.empty()) {
74 Instruction *I = *WorkList.begin();
75 WorkList.erase(WorkList.begin()); // Get an element from the worklist...
79 // Add all of the users of this instruction to the worklist, they might
83 WorkList.insert(cast<Instruction>(*UI));
89 WorkList.erase(I);