Lines Matching defs:SimpleLoopReduction
200 struct SimpleLoopReduction { struct in __anond4f303190111::LoopReroll
201 SimpleLoopReduction(Instruction *P, Loop *L) : Instructions(1, P) { in SimpleLoopReduction() function
206 bool valid() const { in valid()
210 Instruction *getPHI() const { in getPHI()
215 Instruction *getReducedValue() const { in getReducedValue()
220 Instruction *get(size_t i) const { in get()
225 Instruction *operator [] (size_t i) const { return get(i); } in operator []()
228 size_t size() const { in size()
233 using iterator = SmallInstructionVector::iterator;
234 using const_iterator = SmallInstructionVector::const_iterator;
236 iterator begin() { in begin()
241 const_iterator begin() const { in begin()
246 iterator end() { return Instructions.end(); } in end()
247 const_iterator end() const { return Instructions.end(); } in end()
250 bool Valid = false;
251 SmallInstructionVector Instructions;