Home
last modified time | relevance | path

Searched refs:RHSRange (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/Analysis/
DLazyValueInfo.cpp831 ConstantRange RHSRange(1); in solveBlockValueConstantRange() local
835 RHSRange = ConstantRange(RHS->getValue()); in solveBlockValueConstantRange()
848 Result.markConstantRange(LHSRange.add(RHSRange)); in solveBlockValueConstantRange()
851 Result.markConstantRange(LHSRange.sub(RHSRange)); in solveBlockValueConstantRange()
854 Result.markConstantRange(LHSRange.multiply(RHSRange)); in solveBlockValueConstantRange()
857 Result.markConstantRange(LHSRange.udiv(RHSRange)); in solveBlockValueConstantRange()
860 Result.markConstantRange(LHSRange.shl(RHSRange)); in solveBlockValueConstantRange()
863 Result.markConstantRange(LHSRange.lshr(RHSRange)); in solveBlockValueConstantRange()
878 Result.markConstantRange(LHSRange.binaryAnd(RHSRange)); in solveBlockValueConstantRange()
881 Result.markConstantRange(LHSRange.binaryOr(RHSRange)); in solveBlockValueConstantRange()
DScalarEvolution.cpp7274 ConstantRange RHSRange = getSignedRange(RHS); in isKnownPredicateWithRanges() local
7275 if (LHSRange.getSignedMax().slt(RHSRange.getSignedMin())) in isKnownPredicateWithRanges()
7277 if (LHSRange.getSignedMin().sge(RHSRange.getSignedMax())) in isKnownPredicateWithRanges()
7285 ConstantRange RHSRange = getSignedRange(RHS); in isKnownPredicateWithRanges() local
7286 if (LHSRange.getSignedMax().sle(RHSRange.getSignedMin())) in isKnownPredicateWithRanges()
7288 if (LHSRange.getSignedMin().sgt(RHSRange.getSignedMax())) in isKnownPredicateWithRanges()
7296 ConstantRange RHSRange = getUnsignedRange(RHS); in isKnownPredicateWithRanges() local
7297 if (LHSRange.getUnsignedMax().ult(RHSRange.getUnsignedMin())) in isKnownPredicateWithRanges()
7299 if (LHSRange.getUnsignedMin().uge(RHSRange.getUnsignedMax())) in isKnownPredicateWithRanges()
7307 ConstantRange RHSRange = getUnsignedRange(RHS); in isKnownPredicateWithRanges() local
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp981 ConstantRange RHSRange = in FoldAndOfICmps() local
984 if (LHSRange.intersectWith(RHSRange).isEmptySet()) in FoldAndOfICmps()