Home | History | Annotate | Download | only in Scalar

Lines Matching refs:Head

1565 /// For the head of a chain, IncExpr holds the absolute SCEV expression for the
1566 /// original IVOperand. The head of the chain's IVOperand is only valid during
1579 // The list of IV increments in program order. We typically add the head of a
1587 IVChain(const IVInc &Head, const SCEV *Base)
1588 : Incs(1, Head), ExprBase(Base) {}
2498 // Do not replace a constant offset from IV head with a nonconstant IV
2592 /// Add this IV user to an existing chain or make it the head of a new chain.
2653 DEBUG(dbgs() << "IV Chain#" << ChainIdx << " Head: (" << *UserInst
2681 // Include the head of the chain in this iteration (not Chain.begin()).
2831 // Find the new IVOperand for the head of the chain. It may have been replaced
2833 const IVInc &Head = Chain.Incs[0];
2834 User::op_iterator IVOpEnd = Head.UserInst->op_end();
2836 User::op_iterator IVOpIter = findIVOperand(Head.UserInst->op_begin(),
2845 // Note that if Head.IncExpr is wider than IVSrc, then this phi is too
2850 if (SE.getSCEV(*IVOpIter) == Head.IncExpr
2851 || SE.getSCEV(IVSrc) == Head.IncExpr) {
2858 DEBUG(dbgs() << "Concealed chain head: " << *Head.UserInst << "\n");
2907 // do this if we also found a wide value for the head of the chain.