Home
last modified time | relevance | path

Searched refs:isMaxValue (Results 1 – 25 of 31) sorted by relevance

12

/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineAtomicRMW.cpp49 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()
DInstCombineAndOrXor.cpp1315 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()
DInstCombineCompares.cpp2350 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/
DInstCombineAtomicRMW.cpp47 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()
DInstCombineAndOrXor.cpp1328 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()
DInstCombineCompares.cpp2307 assert(!C.isMaxValue() && in foldICmpUDivConstant()
5202 return WillIncrement ? !C->isMaxValue(IsSigned) : !C->isMinValue(IsSigned); in getFlippedStrictnessPredicateAndConstant()
/external/llvm/lib/IR/
DConstantRange.cpp50 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/
DConstants.h207 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/
DConstants.h217 bool isMaxValue(bool isSigned) const { in isMaxValue() function
221 return Val.isMaxValue(); in isMaxValue()
/external/llvm-project/llvm/include/llvm/IR/
DConstants.h225 bool isMaxValue(bool isSigned) const { in isMaxValue() function
229 return Val.isMaxValue(); in isMaxValue()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantRange.cpp53 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/
DConstantRange.cpp54 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/
DInstCombineCompares.cpp144 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()
DInstCombineAndOrXor.cpp1944 if (RHSCst->isMaxValue(false)) in FoldOrOfICmps()
1964 if (RHSCst->isMaxValue(true)) in FoldOrOfICmps()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp3062 } 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 …]
DInstructionSimplify.cpp3467 if (Pred == ICmpInst::ICMP_UGT && C->isMaxValue()) in SimplifySelectInst()
/external/llvm/include/llvm/ADT/
DAPInt.h348 bool isMaxValue() const { return isAllOnesValue(); } in isMaxValue() function
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h352 bool isMaxValue() const { return isAllOnesValue(); } in isMaxValue() function
/external/llvm-project/llvm/unittests/IR/
DConstantRangeTest.cpp566 assert(Lower1.isNullValue() && Upper3.isMaxValue()); in testBinarySetOperationExhaustive()
1572 NSWForAllValues.getSingleElement()->isMaxValue()); in TEST()
1584 NUWForAllValues.getSingleElement()->isMaxValue()); in TEST()
DPatternMatch.cpp1426 bool isValue(const APInt &C) { return C.isMaxValue(); } in isValue()
/external/llvm-project/llvm/include/llvm/ADT/
DAPInt.h426 bool isMaxValue() const { return isAllOnesValue(); }
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPInt.h425 bool isMaxValue() const { return isAllOnesValue(); } in isMaxValue() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolution.cpp3606 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/
DScalarEvolution.cpp3543 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()
DInstructionSimplify.cpp1739 if (MinMaxC.isMaxValue()) in simplifyAndOrOfICmpsWithLimitConst()

12