Home
last modified time | relevance | path

Searched refs:computeConstantDifference (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DScalarEvolutionTest.cpp61 static Optional<APInt> computeConstantDifference(ScalarEvolution &SE, in computeConstantDifference() function in llvm::ScalarEvolutionsTest
64 return SE.computeConstantDifference(LHS, RHS); in computeConstantDifference()
1152 auto ConstantDiffOrNone = computeConstantDifference(SE, LHS, RHS); in TEST_F()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DScalarEvolution.h1187 Optional<APInt> computeConstantDifference(const SCEV *LHS, const SCEV *RHS);
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DScalarEvolution.cpp11555 Optional<APInt> ScalarEvolution::computeConstantDifference(const SCEV *More, in computeConstantDifference() function in ScalarEvolution
11713 Optional<APInt> LDiff = computeConstantDifference(LHS, FoundLHS); in isImpliedCondOperandsViaNoOverflow()
11714 Optional<APInt> RDiff = computeConstantDifference(RHS, FoundRHS); in isImpliedCondOperandsViaNoOverflow()
12256 Optional<APInt> Addend = computeConstantDifference(LHS, FoundLHS); in isImpliedCondOperandsViaRanges()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp6398 SE.computeConstantDifference(DVIRec.SCEVs[i], SCEVInductionVar)) { in SalvageDVI()