Lines Matching refs:Incs
1607 SmallVector<IVInc,1> Incs; member
1613 : Incs(1, Head), ExprBase(Base) {} in IVChain()
1619 assert(!Incs.empty()); in begin()
1620 return std::next(Incs.begin()); in begin()
1623 return Incs.end(); in end()
1627 bool hasIncs() const { return Incs.size() >= 2; } in hasIncs()
1630 void add(const IVInc &X) { Incs.push_back(X); } in add()
1633 Instruction *tailUserInst() const { return Incs.back().UserInst; } in tailUserInst()
2535 const SCEV *HeadExpr = SE.getSCEV(getWideOperand(Incs[0].IVOperand)); in isProfitableIncrement()
2564 DEBUG(dbgs() << "Chain: " << *Chain.Incs[0].UserInst << " users:\n"; in isProfitableChain()
2570 assert(!Chain.Incs.empty() && "empty IV chains are not allowed"); in isProfitableChain()
2579 && SE.getSCEV(Chain.tailUserInst()) == Chain.Incs[0].IncExpr) { in isProfitableChain()
2622 DEBUG(dbgs() << "Chain: " << *Chain.Incs[0].UserInst << " Cost: " << cost in isProfitableChain()
2652 Value *PrevIV = getWideOperand(Chain.Incs.back().IVOperand); in ChainInstruction()
2719 IVChain::const_iterator IncIter = Chain.Incs.begin(); in ChainInstruction()
2720 IVChain::const_iterator IncEnd = Chain.Incs.end(); in ChainInstruction()
2836 assert(!Chain.Incs.empty() && "empty IV chains are not allowed"); in FinalizeChain()
2837 DEBUG(dbgs() << "Final Chain: " << *Chain.Incs[0].UserInst << "\n"); in FinalizeChain()
2874 const IVInc &Head = Chain.Incs[0]; in GenerateIVChain()