Lines Matching defs:SimpleLoopReduction
187 struct SimpleLoopReduction { struct in __anond0c6c5aa0111::LoopReroll
188 SimpleLoopReduction(Instruction *P, Loop *L) : Instructions(1, P) { in SimpleLoopReduction() argument
193 bool valid() const { in valid()
197 Instruction *getPHI() const { in getPHI()
202 Instruction *getReducedValue() const { in getReducedValue()
207 Instruction *get(size_t i) const { in get()
212 Instruction *operator [] (size_t i) const { return get(i); } in operator []()
215 size_t size() const { in size()
220 using iterator = SmallInstructionVector::iterator;
221 using const_iterator = SmallInstructionVector::const_iterator;
223 iterator begin() { in begin()
228 const_iterator begin() const { in begin()
233 iterator end() { return Instructions.end(); } in end()
234 const_iterator end() const { return Instructions.end(); } in end()
237 bool Valid = false;
238 SmallInstructionVector Instructions;