Home
last modified time | relevance | path

Searched refs:MaxRHS (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp2016 const SCEV *MaxRHS = Max->getOperand(1); in OptimizeMax() local
2043 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()
2047 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()
2051 } else if (SE.getSCEV(Sel->getOperand(1)) == MaxRHS) in OptimizeMax()
2053 else if (SE.getSCEV(Sel->getOperand(2)) == MaxRHS) in OptimizeMax()
2055 else if (const SCEVUnknown *SU = dyn_cast<SCEVUnknown>(MaxRHS)) in OptimizeMax()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp8135 APInt MaxRHS = getSignedRange(RHS).getSignedMax(); in doesIVOverflowOnLT() local
8141 return (MaxValue - MaxStrideMinusOne).slt(MaxRHS); in doesIVOverflowOnLT()
8144 APInt MaxRHS = getUnsignedRange(RHS).getUnsignedMax(); in doesIVOverflowOnLT() local
8150 return (MaxValue - MaxStrideMinusOne).ult(MaxRHS); in doesIVOverflowOnLT()