Lines Matching refs:Insts
115 SmallVector<Instruction *, 4> Insts; member in __anon48a1c1290111::LockstepReverseIterator
128 Insts.clear(); in reset()
135 Insts.push_back(BB->getTerminator()->getPrevNode()); in reset()
137 if (Insts.empty()) in reset()
142 ArrayRef<Instruction *> operator*() const { return Insts; } in operator *()
153 for (auto II = Insts.begin(); II != Insts.end();) { in restrictToBlocks()
156 II = Insts.erase(II); in restrictToBlocks()
167 for (auto *Inst : Insts) { in operator --()
177 Insts = NewInsts; in operator --()
259 ModelledPHI(ArrayRef<Instruction *> Insts, unsigned OpNum, const BArray &B) { in ModelledPHI() argument
261 for (auto *I : Insts) in ModelledPHI()
644 auto Insts = *LRI; in analyzeInstructionForSinking() local
646 : Insts) { in analyzeInstructionForSinking()
651 for (auto *I : Insts) { in analyzeInstructionForSinking()
670 for (auto *I : Insts) { in analyzeInstructionForSinking()
835 SmallVector<Instruction *, 4> Insts; in sinkLastInstruction() local
837 Insts.push_back(BB->getTerminator()->getPrevNode()); in sinkLastInstruction()
838 Instruction *I0 = Insts.front(); in sinkLastInstruction()
842 bool NeedPHI = llvm::any_of(Insts, [&I0, O](const Instruction *I) { in sinkLastInstruction()
854 PHINode::Create(Op->getType(), Insts.size(), Op->getName() + ".sink"); in sinkLastInstruction()
856 for (auto *I : Insts) in sinkLastInstruction()
868 for (auto *I : Insts) in sinkLastInstruction()
874 for (auto *I : Insts) in sinkLastInstruction()
880 for (auto *I : Insts) in sinkLastInstruction()
884 NumRemoved += Insts.size() - 1; in sinkLastInstruction()