Lines Matching defs:Worklist
66 // Note: This function destroys the original Worklist.
83 // The process iterates until we have only one element in the Worklist (OR4).
85 VPValue *VPlanPredicator::genPredicateTree(std::list<VPValue *> &Worklist) {
86 if (Worklist.empty())
91 while (Worklist.size() >= 2) {
93 VPValue *LHS = Worklist.front();
94 Worklist.pop_front();
95 VPValue *RHS = Worklist.front();
96 Worklist.pop_front();
102 Worklist.push_back(Or);
105 assert(Worklist.size() == 1 && "Expected 1 item in worklist");
108 VPValue *Root = Worklist.front();