Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp1686 const SCEV *MaxRHS = Max->getOperand(1); in OptimizeMax() local
1714 SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()
1719 SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()
1723 } else if (SE.getSCEV(Sel->getOperand(1)) == MaxRHS) in OptimizeMax()
1725 else if (SE.getSCEV(Sel->getOperand(2)) == MaxRHS) in OptimizeMax()
1727 else if (const SCEVUnknown *SU = dyn_cast<SCEVUnknown>(MaxRHS)) in OptimizeMax()
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp2000 const SCEV *MaxRHS = Max->getOperand(1); in OptimizeMax() local
2027 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()
2031 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()
2035 } else if (SE.getSCEV(Sel->getOperand(1)) == MaxRHS) in OptimizeMax()
2037 else if (SE.getSCEV(Sel->getOperand(2)) == MaxRHS) in OptimizeMax()
2039 else if (const SCEVUnknown *SU = dyn_cast<SCEVUnknown>(MaxRHS)) in OptimizeMax()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp2258 const SCEV *MaxRHS = Max->getOperand(1); in OptimizeMax() local
2285 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()
2289 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()
2293 } else if (SE.getSCEV(Sel->getOperand(1)) == MaxRHS) in OptimizeMax()
2295 else if (SE.getSCEV(Sel->getOperand(2)) == MaxRHS) in OptimizeMax()
2297 else if (const SCEVUnknown *SU = dyn_cast<SCEVUnknown>(MaxRHS)) in OptimizeMax()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DValueTracking.cpp3840 APInt MaxRHS = ~RHSKnown.Zero; in checkRippleForSignedAdd() local
3841 MaxRHS.clearSignBit(); in checkRippleForSignedAdd()
3842 APInt Result = std::move(MaxLHS) + std::move(MaxRHS); in checkRippleForSignedAdd()
DScalarEvolution.cpp10198 APInt MaxRHS = getSignedRangeMax(RHS); in doesIVOverflowOnLT() local
10203 return (std::move(MaxValue) - MaxStrideMinusOne).slt(MaxRHS); in doesIVOverflowOnLT()
10206 APInt MaxRHS = getUnsignedRangeMax(RHS); in doesIVOverflowOnLT() local
10211 return (std::move(MaxValue) - MaxStrideMinusOne).ult(MaxRHS); in doesIVOverflowOnLT()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp8585 APInt MaxRHS = getSignedRange(RHS).getSignedMax(); in doesIVOverflowOnLT() local
8591 return (MaxValue - MaxStrideMinusOne).slt(MaxRHS); in doesIVOverflowOnLT()
8594 APInt MaxRHS = getUnsignedRange(RHS).getUnsignedMax(); in doesIVOverflowOnLT() local
8600 return (MaxValue - MaxStrideMinusOne).ult(MaxRHS); in doesIVOverflowOnLT()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp39145 SDValue MaxRHS = Op0.getOperand(1); in combineSubToSubus() local
39147 SubusLHS = MaxRHS; in combineSubToSubus()
39148 else if (MaxRHS == Op1) in combineSubToSubus()