Lines Matching defs:WorkList
63 create(Level Lvl, WorkListTy &WorkList, MachineRegisterInfo &MRI);
85 WorkListTy &WorkList;
95 WorkListMaintainerImpl(WorkListTy &WorkList, MachineRegisterInfo &MRI)
96 : WorkList(WorkList), MRI(MRI) {}
108 WorkList.remove(&MI);
118 WorkList.insert(&MI);
121 // operands yet. We also insert them into the WorkList in reverse
139 WorkList.insert(&MI);
153 // DCE deferred instructions and add them to the WorkList bottom up.
162 WorkList.insert(&MI);
181 WorkList.insert(&*MRI.use_instr_nodbg_begin(Use));
183 WorkList.insert(UseMI);
202 WorkList.insert(&UseMI);
209 Combiner::WorkListMaintainer::create(Level Lvl, WorkListTy &WorkList,
213 return std::make_unique<WorkListMaintainerImpl<Level::Basic>>(WorkList,
216 return std::make_unique<WorkListMaintainerImpl<Level::DCE>>(WorkList, MRI);
218 return std::make_unique<WorkListMaintainerImpl<Level::SinglePass>>(WorkList,
229 WLObserver(WorkListMaintainer::create(CInfo.ObserverLvl, WorkList,
282 WorkList.clear();
304 WorkList.deferred_insert(&CurMI);
307 WorkList.finalize();
312 while (!WorkList.empty()) {
313 MachineInstr &CurrInst = *WorkList.pop_back_val();