Lines Matching refs:Incs
1598 SmallVector<IVInc,1> Incs; member
1604 : Incs(1, Head), ExprBase(Base) {} in IVChain()
1610 assert(!Incs.empty()); in begin()
1611 return std::next(Incs.begin()); in begin()
1614 return Incs.end(); in end()
1618 bool hasIncs() const { return Incs.size() >= 2; } in hasIncs()
1621 void add(const IVInc &X) { Incs.push_back(X); } in add()
1624 Instruction *tailUserInst() const { return Incs.back().UserInst; } in tailUserInst()
2517 const SCEV *HeadExpr = SE.getSCEV(getWideOperand(Incs[0].IVOperand)); in isProfitableIncrement()
2546 DEBUG(dbgs() << "Chain: " << *Chain.Incs[0].UserInst << " users:\n"; in isProfitableChain()
2552 assert(!Chain.Incs.empty() && "empty IV chains are not allowed"); in isProfitableChain()
2561 && SE.getSCEV(Chain.tailUserInst()) == Chain.Incs[0].IncExpr) { in isProfitableChain()
2602 DEBUG(dbgs() << "Chain: " << *Chain.Incs[0].UserInst << " Cost: " << cost in isProfitableChain()
2631 Value *PrevIV = getWideOperand(Chain.Incs.back().IVOperand); in ChainInstruction()
2698 IVChain::const_iterator IncIter = Chain.Incs.begin(); in ChainInstruction()
2699 IVChain::const_iterator IncEnd = Chain.Incs.end(); in ChainInstruction()
2815 assert(!Chain.Incs.empty() && "empty IV chains are not allowed"); in FinalizeChain()
2816 DEBUG(dbgs() << "Final Chain: " << *Chain.Incs[0].UserInst << "\n"); in FinalizeChain()
2852 const IVInc &Head = Chain.Incs[0]; in GenerateIVChain()