Lines Matching defs:RootInsts
198 /// Add non-removable virtual instructions in @p Stmt to @p RootInsts.
201 SmallVectorImpl<VirtualInstruction> &RootInsts) {
206 RootInsts.emplace_back(Stmt,
211 RootInsts.emplace_back(Stmt, &Inst);
217 RootInsts.emplace_back(Stmt, Inst);
220 /// Add non-removable memory accesses in @p Stmt to @p RootInsts.
258 SmallVectorImpl<VirtualInstruction> &RootInsts,
260 addInstructionRoots(Stmt, RootInsts);
269 /// @param RootInsts List of root instructions.
277 ArrayRef<VirtualInstruction> RootInsts,
288 WorklistInsts.append(RootInsts.begin(), RootInsts.end());
409 SmallVector<VirtualInstruction, 32> RootInsts;
413 addRoots(OnlyLocal, RootInsts, RootAccs, true);
416 addRoots(&Stmt, RootInsts, RootAccs, false);
419 walkReachable(S, LI, RootInsts, RootAccs, UsedInsts, UsedAccs, OnlyLocal);