Lines Matching refs:Instructions
188 SimpleLoopReduction(Instruction *P, Loop *L) : Instructions(1, P) { in SimpleLoopReduction()
199 return Instructions.front(); in getPHI()
204 return Instructions.back(); in getReducedValue()
209 return Instructions[i+1]; in get()
217 return Instructions.size()-1; in size()
225 return std::next(Instructions.begin()); in begin()
230 return std::next(Instructions.begin()); in begin()
233 iterator end() { return Instructions.end(); } in end()
234 const_iterator end() const { return Instructions.end(); } in end()
238 SmallInstructionVector Instructions; member
587 Instruction *C = Instructions.front(); in add()
597 if (!(isa<PHINode>(Instructions.back()) || in add()
598 C->isSameOperationAs(Instructions.back()))) in add()
601 Instructions.push_back(C); in add()
605 if (Instructions.size() < 2 || in add()
606 !C->isSameOperationAs(Instructions.back()) || in add()
614 if (cast<Instruction>(U) != Instructions.front()) in add()
618 Instructions.push_back(C); in add()