Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DLazyValueInfo.cpp1127 ConstantRange RHSRange = ConstantRange(RHS->getValue()); in solveBlockValueBinaryOp() local
1135 Result.markConstantRange(LHSRange.add(RHSRange)); in solveBlockValueBinaryOp()
1138 Result.markConstantRange(LHSRange.sub(RHSRange)); in solveBlockValueBinaryOp()
1141 Result.markConstantRange(LHSRange.multiply(RHSRange)); in solveBlockValueBinaryOp()
1144 Result.markConstantRange(LHSRange.udiv(RHSRange)); in solveBlockValueBinaryOp()
1147 Result.markConstantRange(LHSRange.shl(RHSRange)); in solveBlockValueBinaryOp()
1150 Result.markConstantRange(LHSRange.lshr(RHSRange)); in solveBlockValueBinaryOp()
1153 Result.markConstantRange(LHSRange.binaryAnd(RHSRange)); in solveBlockValueBinaryOp()
1156 Result.markConstantRange(LHSRange.binaryOr(RHSRange)); in solveBlockValueBinaryOp()
/external/llvm-project/llvm/lib/Analysis/
DLazyValueInfo.cpp997 const ConstantRange &RHSRange = RHSRes.getValue(); in solveBlockValueBinaryOpImpl() local
998 return ValueLatticeElement::getRange(OpFn(LHSRange, RHSRange)); in solveBlockValueBinaryOpImpl()
1105 ConstantRange RHSRange(RHS->getType()->getIntegerBitWidth(), in getValueFromSimpleICmpCondition() local
1108 RHSRange = ConstantRange(CI->getValue()); in getValueFromSimpleICmpCondition()
1111 RHSRange = getConstantRangeFromMetadata(*Ranges); in getValueFromSimpleICmpCondition()
1114 ConstantRange::makeAllowedICmpRegion(Pred, RHSRange); in getValueFromSimpleICmpCondition()
DValueTracking.cpp622 ConstantRange RHSRange(CI->getValue()); in isKnownNonZeroFromAssume() local
624 ConstantRange::makeAllowedICmpRegion(Pred, RHSRange); in isKnownNonZeroFromAssume()
4493 ConstantRange RHSRange = ConstantRange::fromKnownBits(RHSKnown, false); in computeOverflowForUnsignedMul() local
4494 return mapOverflowResult(LHSRange.unsignedMulMayOverflow(RHSRange)); in computeOverflowForUnsignedMul()
4547 ConstantRange RHSRange = computeConstantRangeIncludingKnownBits( in computeOverflowForUnsignedAdd() local
4550 return mapOverflowResult(LHSRange.unsignedAddMayOverflow(RHSRange)); in computeOverflowForUnsignedAdd()
4584 ConstantRange RHSRange = computeConstantRangeIncludingKnownBits( in computeOverflowForSignedAdd() local
4587 mapOverflowResult(LHSRange.signedAddMayOverflow(RHSRange)); in computeOverflowForSignedAdd()
4601 (LHSRange.isAllNonNegative() || RHSRange.isAllNonNegative()); in computeOverflowForSignedAdd()
4603 (LHSRange.isAllNegative() || RHSRange.isAllNegative()); in computeOverflowForSignedAdd()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLazyValueInfo.cpp1080 ConstantRange RHSRange = RHSRes.getValue(); in solveBlockValueBinaryOpImpl() local
1081 BBLV = ValueLatticeElement::getRange(OpFn(LHSRange, RHSRange)); in solveBlockValueBinaryOpImpl()
1234 ConstantRange RHSRange(RHS->getType()->getIntegerBitWidth(), in getValueFromICmpCondition() local
1237 RHSRange = ConstantRange(CI->getValue()); in getValueFromICmpCondition()
1240 RHSRange = getConstantRangeFromMetadata(*Ranges); in getValueFromICmpCondition()
1246 ConstantRange::makeAllowedICmpRegion(Pred, RHSRange); in getValueFromICmpCondition()
DValueTracking.cpp612 ConstantRange RHSRange(CI->getValue()); in isKnownNonZeroFromAssume() local
614 ConstantRange::makeAllowedICmpRegion(Pred, RHSRange); in isKnownNonZeroFromAssume()
4183 ConstantRange RHSRange = ConstantRange::fromKnownBits(RHSKnown, false); in computeOverflowForUnsignedMul() local
4184 return mapOverflowResult(LHSRange.unsignedMulMayOverflow(RHSRange)); in computeOverflowForUnsignedMul()
4237 ConstantRange RHSRange = computeConstantRangeIncludingKnownBits( in computeOverflowForUnsignedAdd() local
4240 return mapOverflowResult(LHSRange.unsignedAddMayOverflow(RHSRange)); in computeOverflowForUnsignedAdd()
4274 ConstantRange RHSRange = computeConstantRangeIncludingKnownBits( in computeOverflowForSignedAdd() local
4277 mapOverflowResult(LHSRange.signedAddMayOverflow(RHSRange)); in computeOverflowForSignedAdd()
4291 (LHSRange.isAllNonNegative() || RHSRange.isAllNonNegative()); in computeOverflowForSignedAdd()
4293 (LHSRange.isAllNegative() || RHSRange.isAllNegative()); in computeOverflowForSignedAdd()
[all …]
/external/llvm-project/llvm/tools/llvm-jitlink/
Dllvm-jitlink.cpp271 SectionRange RHSRange(*RHS); in dumpSectionContents() local
272 return LHSRange.getStart() < RHSRange.getStart(); in dumpSectionContents()