Lines Matching defs:SimpleLoopReduction
205 struct SimpleLoopReduction { struct in __anon25f666240111::LoopReroll
206 SimpleLoopReduction(Instruction *P, Loop *L) : Instructions(1, P) { in SimpleLoopReduction() argument
211 bool valid() const { in valid()
215 Instruction *getPHI() const { in getPHI()
220 Instruction *getReducedValue() const { in getReducedValue()
225 Instruction *get(size_t i) const { in get()
230 Instruction *operator [] (size_t i) const { return get(i); } in operator []()
233 size_t size() const { in size()
238 using iterator = SmallInstructionVector::iterator;
239 using const_iterator = SmallInstructionVector::const_iterator;
241 iterator begin() { in begin()
246 const_iterator begin() const { in begin()
251 iterator end() { return Instructions.end(); } in end()
252 const_iterator end() const { return Instructions.end(); } in end()
255 bool Valid = false;
256 SmallInstructionVector Instructions;