/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAtomicRMW.cpp | 49 return C->isMaxValue(true); in isIdempotentRMW() 53 return C->isMaxValue(false); in isIdempotentRMW() 89 return C->isMaxValue(true); in isSaturating() 93 return C->isMaxValue(false); in isSaturating()
|
D | InstCombineAndOrXor.cpp | 1315 if (RHSC->isMaxValue(false)) in foldAndOfICmps() 1333 if (RHSC->isMaxValue(true)) in foldAndOfICmps() 2504 if (RHSC->isMaxValue(false)) in foldOrOfICmps() 2509 assert(!RHSC->isMaxValue(false) && "Missed icmp simplification"); in foldOrOfICmps() 2520 if (RHSC->isMaxValue(true)) in foldOrOfICmps() 2526 assert(!RHSC->isMaxValue(true) && "Missed icmp simplification"); in foldOrOfICmps()
|
D | InstCombineCompares.cpp | 2350 assert(!C.isMaxValue() && in foldICmpUDivConstant() 5267 return WillIncrement ? !C->isMaxValue(IsSigned) : !C->isMinValue(IsSigned); in getFlippedStrictnessPredicateAndConstant()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAtomicRMW.cpp | 47 return C->isMaxValue(true); in isIdempotentRMW() 51 return C->isMaxValue(false); in isIdempotentRMW() 87 return C->isMaxValue(true); in isSaturating() 91 return C->isMaxValue(false); in isSaturating()
|
D | InstCombineAndOrXor.cpp | 1328 if (RHSC->isMaxValue(false)) in foldAndOfICmps() 1346 if (RHSC->isMaxValue(true)) in foldAndOfICmps() 2414 if (RHSC->isMaxValue(false)) in foldOrOfICmps() 2419 assert(!RHSC->isMaxValue(false) && "Missed icmp simplification"); in foldOrOfICmps() 2430 if (RHSC->isMaxValue(true)) in foldOrOfICmps() 2436 assert(!RHSC->isMaxValue(true) && "Missed icmp simplification"); in foldOrOfICmps()
|
D | InstCombineCompares.cpp | 2307 assert(!C.isMaxValue() && in foldICmpUDivConstant() 5202 return WillIncrement ? !C->isMaxValue(IsSigned) : !C->isMinValue(IsSigned); in getFlippedStrictnessPredicateAndConstant()
|
/external/llvm/lib/IR/ |
D | ConstantRange.cpp | 50 assert((Lower != Upper || (Lower.isMaxValue() || Lower.isMinValue())) && in ConstantRange() 83 if (UMax.isMaxValue()) in makeAllowedICmpRegion() 95 if (UMin.isMaxValue()) in makeAllowedICmpRegion() 230 return Lower == Upper && Lower.isMaxValue(); in isFullSet()
|
/external/llvm/include/llvm/IR/ |
D | Constants.h | 207 bool isMaxValue(bool isSigned) const { in isMaxValue() function 211 return Val.isMaxValue(); in isMaxValue()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Constants.h | 217 bool isMaxValue(bool isSigned) const { in isMaxValue() function 221 return Val.isMaxValue(); in isMaxValue()
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | Constants.h | 225 bool isMaxValue(bool isSigned) const { in isMaxValue() function 229 return Val.isMaxValue(); in isMaxValue()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | ConstantRange.cpp | 53 assert((Lower != Upper || (Lower.isMaxValue() || Lower.isMinValue())) && in ConstantRange() 110 if (UMin.isMaxValue()) in makeAllowedICmpRegion() 305 return Lower == Upper && Lower.isMaxValue(); in isFullSet()
|
/external/llvm-project/llvm/lib/IR/ |
D | ConstantRange.cpp | 54 assert((Lower != Upper || (Lower.isMaxValue() || Lower.isMinValue())) && in ConstantRange() 111 if (UMin.isMaxValue()) in makeAllowedICmpRegion() 306 return Lower == Upper && Lower.isMaxValue(); in isFullSet()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 144 return RHS->isMaxValue(true); in isSignBitCheck() 1614 if (!ICI.isEquality() && XorCst->isMaxValue(true)) { in visitICmpInstWithInstAndIntCst() 2100 assert(!C1.isMaxValue() && in visitICmpInstWithInstAndIntCst() 3121 assert(IsLE ? !CI->isMaxValue(IsSigned) : !CI->isMinValue(IsSigned)); in canonicalizeCmpWithConstant() 3137 if (!CI || (IsLE ? CI->isMaxValue(IsSigned) : CI->isMinValue(IsSigned))) in canonicalizeCmpWithConstant() 3534 if (CI->isMaxValue(true)) in visitICmpInst() 4022 if (BO0->getOpcode() == Instruction::Xor && CI->isMaxValue(true)) { in visitICmpInst()
|
D | InstCombineAndOrXor.cpp | 1944 if (RHSCst->isMaxValue(false)) in FoldOrOfICmps() 1964 if (RHSCst->isMaxValue(true)) in FoldOrOfICmps()
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 3062 } else if (cast<SCEVConstant>(Ops[0])->getValue()->isMaxValue(true)) { in getSMaxExpr() 3163 } else if (cast<SCEVConstant>(Ops[0])->getValue()->isMaxValue(false)) { in getUMaxExpr() 4634 bool IsFullRange = Min.isMinValue() && Max.isMaxValue(); in getRangeForAffineAR() 7344 if (RA.isMaxValue()) { in SimplifyICmpOperands() 7356 if ((RA + 1).isMaxValue()) { in SimplifyICmpOperands() 7367 if (RA.isMaxValue()) goto trivially_true; in SimplifyICmpOperands() 7415 if ((RA + 1).isMaxValue()) { in SimplifyICmpOperands() 7421 if (RA.isMaxValue()) goto trivially_false; in SimplifyICmpOperands() 7424 if (RA.isMaxValue()) { in SimplifyICmpOperands() 7506 if (!getUnsignedRange(RHS).getUnsignedMax().isMaxValue()) { in SimplifyICmpOperands() [all …]
|
D | InstructionSimplify.cpp | 3467 if (Pred == ICmpInst::ICMP_UGT && C->isMaxValue()) in SimplifySelectInst()
|
/external/llvm/include/llvm/ADT/ |
D | APInt.h | 348 bool isMaxValue() const { return isAllOnesValue(); } in isMaxValue() function
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | APInt.h | 352 bool isMaxValue() const { return isAllOnesValue(); } in isMaxValue() function
|
/external/llvm-project/llvm/unittests/IR/ |
D | ConstantRangeTest.cpp | 566 assert(Lower1.isNullValue() && Upper3.isMaxValue()); in testBinarySetOperationExhaustive() 1572 NSWForAllValues.getSingleElement()->isMaxValue()); in TEST() 1584 NUWForAllValues.getSingleElement()->isMaxValue()); in TEST()
|
D | PatternMatch.cpp | 1426 bool isValue(const APInt &C) { return C.isMaxValue(); } in isValue()
|
/external/llvm-project/llvm/include/llvm/ADT/ |
D | APInt.h | 426 bool isMaxValue() const { return isAllOnesValue(); }
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | APInt.h | 425 bool isMaxValue() const { return isAllOnesValue(); } in isMaxValue() function
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 3606 bool IsMaxV = LHSC->getValue()->isMaxValue(IsSigned); in getMinMaxExpr() 9057 assert(!RA.isMaxValue() && "Should have been caught earlier!"); in SimplifyICmpOperands() 9116 if (!getUnsignedRangeMax(RHS).isMaxValue()) { in SimplifyICmpOperands() 9132 } else if (!getUnsignedRangeMax(LHS).isMaxValue()) { in SimplifyICmpOperands()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 3543 bool IsMaxV = LHSC->getValue()->isMaxValue(IsSigned); in getMinMaxExpr() 9309 assert(!RA.isMaxValue() && "Should have been caught earlier!"); in SimplifyICmpOperands() 9368 if (!getUnsignedRangeMax(RHS).isMaxValue()) { in SimplifyICmpOperands() 9384 } else if (!getUnsignedRangeMax(LHS).isMaxValue()) { in SimplifyICmpOperands()
|
D | InstructionSimplify.cpp | 1739 if (MinMaxC.isMaxValue()) in simplifyAndOrOfICmpsWithLimitConst()
|