Home
last modified time | relevance | path

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

/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/llvm-project/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp2286 const SCEV *MaxRHS = Max->getOperand(1); in OptimizeMax() local
2313 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()
2317 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()
2321 } else if (SE.getSCEV(Sel->getOperand(1)) == MaxRHS) in OptimizeMax()
2323 else if (SE.getSCEV(Sel->getOperand(2)) == MaxRHS) in OptimizeMax()
2325 else if (const SCEVUnknown *SU = dyn_cast<SCEVUnknown>(MaxRHS)) in OptimizeMax()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp2291 const SCEV *MaxRHS = Max->getOperand(1); in OptimizeMax() local
2318 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()
2322 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()
2326 } else if (SE.getSCEV(Sel->getOperand(1)) == MaxRHS) in OptimizeMax()
2328 else if (SE.getSCEV(Sel->getOperand(2)) == MaxRHS) in OptimizeMax()
2330 else if (const SCEVUnknown *SU = dyn_cast<SCEVUnknown>(MaxRHS)) in OptimizeMax()
/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-10.0/llvm/lib/Analysis/
DScalarEvolution.cpp10552 APInt MaxRHS = getSignedRangeMax(RHS); in doesIVOverflowOnLT() local
10557 return (std::move(MaxValue) - MaxStrideMinusOne).slt(MaxRHS); in doesIVOverflowOnLT()
10560 APInt MaxRHS = getUnsignedRangeMax(RHS); in doesIVOverflowOnLT() local
10565 return (std::move(MaxValue) - MaxStrideMinusOne).ult(MaxRHS); in doesIVOverflowOnLT()
/external/llvm-project/llvm/lib/Analysis/
DScalarEvolution.cpp11010 APInt MaxRHS = getSignedRangeMax(RHS); in doesIVOverflowOnLT() local
11015 return (std::move(MaxValue) - MaxStrideMinusOne).slt(MaxRHS); in doesIVOverflowOnLT()
11018 APInt MaxRHS = getUnsignedRangeMax(RHS); in doesIVOverflowOnLT() local
11023 return (std::move(MaxValue) - MaxStrideMinusOne).ult(MaxRHS); in doesIVOverflowOnLT()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp45222 SDValue MaxRHS = Op0.getOperand(1); in combineSubToSubus() local
45224 SubusLHS = MaxRHS; in combineSubToSubus()
45225 else if (MaxRHS == Op1) in combineSubToSubus()
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.cpp48536 SDValue MaxRHS = Op0.getOperand(1); in combineSubToSubus() local
48538 SubusLHS = MaxRHS; in combineSubToSubus()
48539 else if (MaxRHS == Op1) in combineSubToSubus()