| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAtomicRMW.cpp | 50 return C->isMinValue(true); in isIdempotentRMW() 54 return C->isMinValue(false); in isIdempotentRMW() 92 return C->isMinValue(true); in isSaturating() 96 return C->isMinValue(false); in isSaturating()
|
| H A D | InstCombineMulDivRem.cpp | 773 return Remainder.isMinValue(); in isMultiple() 1476 if (match(Op1, m_APInt(Op1Int)) && !Op1Int->isMinValue() && in commonIRemTransforms()
|
| H A D | InstructionCombining.cpp | 1436 if (Scale.isMinValue()) in Descale() 1477 if (!Remainder.isMinValue()) in Descale()
|
| H A D | InstCombineCompares.cpp | 2806 if (Lower.isMinValue()) in foldICmpAddConstant() 2808 if (Upper.isMinValue()) in foldICmpAddConstant() 5763 return WillIncrement ? !C->isMaxValue(IsSigned) : !C->isMinValue(IsSigned); in getFlippedStrictnessPredicateAndConstant()
|
| H A D | InstCombineAndOrXor.cpp | 101 if (isSigned ? Lo.isMinSignedValue() : Lo.isMinValue()) { in insertRangeTest()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | ConstantRange.cpp | 54 assert((Lower != Upper || (Lower.isMaxValue() || Lower.isMinValue())) && in ConstantRange() 113 if (UMax.isMinValue()) in makeAllowedICmpRegion() 216 } else if (getLower().isMinSignedValue() || getLower().isMinValue()) { in getEquivalentICmp() 220 } else if (getUpper().isMinSignedValue() || getUpper().isMinValue()) { in getEquivalentICmp() 371 return Lower == Upper && Lower.isMinValue(); in isEmptySet()
|
| H A D | Constants.cpp | 158 return CI->isMinValue(/*isSigned=*/true); in isMinSignedValue() 175 return !CI->isMinValue(/*isSigned=*/true); in isNotMinSignedValue()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | Reassociate.cpp | 321 if (RHS.isMinValue()) in IncorporateWeight() 324 if (LHS.isMinValue()) { in IncorporateWeight() 631 if (Weight.isMinValue()) in LinearizeExprTree() 1674 if (CI->isNegative() && !CI->isMinValue(true)) { in OptimizeAdd()
|
| H A D | GuardWidening.cpp | 699 if (MaxDiff.isMinValue() || !all_of(drop_begin(CurrentChecks), OffsetOK)) in combineRangeChecks()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Constants.h | 225 bool isMinValue(bool IsSigned) const { in isMinValue() function 229 return Val.isMinValue(); in isMinValue()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | Loads.cpp | 123 .isMinValue()) in isDereferenceableAndAlignedPointer()
|
| H A D | ScalarEvolution.cpp | 3812 bool IsMinV = LHSC->getValue()->isMinValue(IsSigned); in getMinMaxExpr() 10413 assert(!RA.isMinValue() && "Should have been caught earlier!"); in SimplifyICmpOperands() 10488 } else if (!getUnsignedRangeMin(LHS).isMinValue()) { in SimplifyICmpOperands() 10495 if (ControllingFiniteLoop || !getUnsignedRangeMin(RHS).isMinValue()) { in SimplifyICmpOperands() 11718 if (LDiff->isMinValue()) in isImpliedCondOperandsViaNoOverflow()
|
| H A D | InstructionSimplify.cpp | 1801 if (MinMaxC.isMinValue()) in simplifyAndOrOfICmpsWithLimitConst()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/IR/ |
| H A D | ArithmeticOps.cpp | 650 if (matchPattern(getRhs(), m_ConstantInt(&intValue)) && intValue.isMinValue()) in fold() 720 if (matchPattern(getRhs(), m_ConstantInt(&intValue)) && intValue.isMinValue()) in fold()
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | APInt.h | 402 bool isMinValue() const { return isZero(); } in isMinValue() function
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | ConstantRangeTest.cpp | 1566 NSWForAllValues.getSingleElement()->isMinValue()); in TEST() 1578 NUWForAllValues.getSingleElement()->isMinValue()); in TEST()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAGNodes.h | 1600 bool isMinSignedValue() const { return Value->isMinValue(true); }
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | IRTranslator.cpp | 862 if (cast<ConstantInt>(CB.CmpLHS)->isMinValue(true)) { in emitSwitchCase()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.cpp | 2508 if (cast<ConstantInt>(CB.CmpLHS)->isMinValue(true)) { in visitSwitchCase() 9225 if (!Lo.isMinValue()) in lowerRangeToAssertZExt()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 12571 if (Value.isMinValue()) return Min; in compare()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 45106 if (CC == X86::COND_AE && !Comparison.isMinValue()) { in combineSetCCAtomicArith()
|