Lines Matching refs:Insts
122 SmallVector<Instruction *, 4> Insts; member in __anon0e48740a0111::LockstepReverseIterator
135 Insts.clear(); in reset()
142 Insts.push_back(BB->getTerminator()->getPrevNode()); in reset()
144 if (Insts.empty()) in reset()
149 ArrayRef<Instruction *> operator*() const { return Insts; } in operator *()
160 for (auto II = Insts.begin(); II != Insts.end();) { in restrictToBlocks()
163 II = Insts.erase(II); in restrictToBlocks()
174 for (auto *Inst : Insts) { in operator --()
184 Insts = NewInsts; in operator --()
266 ModelledPHI(ArrayRef<Instruction *> Insts, unsigned OpNum, const BArray &B) { in ModelledPHI() argument
268 for (auto *I : Insts) in ModelledPHI()
636 auto Insts = *LRI; in analyzeInstructionForSinking() local
638 : Insts) { in analyzeInstructionForSinking()
643 for (auto *I : Insts) { in analyzeInstructionForSinking()
667 for (auto *I : Insts) { in analyzeInstructionForSinking()
838 SmallVector<Instruction *, 4> Insts; in sinkLastInstruction() local
840 Insts.push_back(BB->getTerminator()->getPrevNode()); in sinkLastInstruction()
841 Instruction *I0 = Insts.front(); in sinkLastInstruction()
845 bool NeedPHI = llvm::any_of(Insts, [&I0, O](const Instruction *I) { in sinkLastInstruction()
856 auto *PN = PHINode::Create(Op->getType(), Insts.size(), in sinkLastInstruction()
858 for (auto *I : Insts) in sinkLastInstruction()
870 for (auto *I : Insts) in sinkLastInstruction()
876 for (auto *I : Insts) in sinkLastInstruction()
882 for (auto *I : Insts) in sinkLastInstruction()
886 NumRemoved += Insts.size() - 1; in sinkLastInstruction()