/external/swiftshader/third_party/LLVM/lib/Support/ |
D | ConstantRange.cpp | 47 assert((L != U || (L.isMaxValue() || L.isMinValue())) && in ConstantRange() 79 if (UMax.isMaxValue()) in makeICmpRegion() 91 if (UMin.isMaxValue()) in makeICmpRegion() 119 return Lower == Upper && Lower.isMaxValue(); in isFullSet()
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | ConstantRange.cpp | 53 assert((Lower != Upper || (Lower.isMaxValue() || Lower.isMinValue())) && in ConstantRange() 86 if (UMax.isMaxValue()) in makeAllowedICmpRegion() 98 if (UMin.isMaxValue()) in makeAllowedICmpRegion() 320 return Lower == Upper && Lower.isMaxValue(); in isFullSet()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Constants.h | 182 bool isMaxValue(bool isSigned) const { in isMaxValue() function 186 return Val.isMaxValue(); in isMaxValue()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 131 return RHS->isMaxValue(true); in isSignBitCheck() 1062 if (!ICI.isEquality() && XorCST->isMaxValue(true)) { in visitICmpInstWithInstAndIntCst() 1880 assert(!CI->isMaxValue(false)); // A <=u MAX -> TRUE in visitICmpInst() 1884 assert(!CI->isMaxValue(true)); // A <=s MAX -> TRUE in visitICmpInst() 2055 if (CI->isMaxValue(true)) in visitICmpInst() 2389 if (CI->isMaxValue(true)) { in visitICmpInst()
|
D | InstCombineSelect.cpp | 363 && CI->isMaxValue(Pred == ICmpInst::ICMP_SGT)) in visitSelectInstWithICmp()
|
D | InstCombineAndOrXor.cpp | 1598 if (RHSCst->isMaxValue(false)) in FoldOrOfICmps() 1618 if (RHSCst->isMaxValue(true)) in FoldOrOfICmps()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | Constants.h | 218 bool isMaxValue(bool isSigned) const { in isMaxValue() function 222 return Val.isMaxValue(); in isMaxValue()
|
/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-7.0/llvm/unittests/IR/ |
D | ConstantRangeTest.cpp | 800 NSWForAllValues.getSingleElement()->isMaxValue()); in TEST() 812 NUWForAllValues.getSingleElement()->isMaxValue()); in TEST() 824 NUWAndNSWForAllValues.getSingleElement()->isMaxValue()); in TEST()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ScalarEvolution.cpp | 2396 } else if (cast<SCEVConstant>(Ops[0])->getValue()->isMaxValue(true)) { in getSMaxExpr() 2500 } else if (cast<SCEVConstant>(Ops[0])->getValue()->isMaxValue(false)) { in getUMaxExpr() 3373 if (Min.isMinValue() && Max.isMaxValue()) in getUnsignedRange() 5484 if (RA.isMaxValue()) { in SimplifyICmpOperands() 5496 if ((RA + 1).isMaxValue()) { in SimplifyICmpOperands() 5507 if (RA.isMaxValue()) goto trivially_true; in SimplifyICmpOperands() 5555 if ((RA + 1).isMaxValue()) { in SimplifyICmpOperands() 5561 if (RA.isMaxValue()) goto trivially_false; in SimplifyICmpOperands() 5564 if (RA.isMaxValue()) { in SimplifyICmpOperands() 5646 if (!getUnsignedRange(RHS).getUnsignedMax().isMaxValue()) { in SimplifyICmpOperands() [all …]
|
/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/include/llvm/ADT/ |
D | APInt.h | 322 bool isMaxValue() const { 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | APInt.h | 420 bool isMaxValue() const { return isAllOnesValue(); } in isMaxValue() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 1978 assert(!RHSC->isMaxValue(false) && "Missed icmp simplification"); in foldOrOfICmps() 1990 assert(!RHSC->isMaxValue(true) && "Missed icmp simplification"); in foldOrOfICmps()
|
D | InstCombineCompares.cpp | 2091 assert(!C.isMaxValue() && in foldICmpUDivConstant() 4502 assert(IsLE ? !CI->isMaxValue(IsSigned) : !CI->isMinValue(IsSigned)); in canonicalizeCmpWithConstant() 4519 if (!CI || (IsLE ? CI->isMaxValue(IsSigned) : CI->isMinValue(IsSigned))) in canonicalizeCmpWithConstant()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 3530 } else if (cast<SCEVConstant>(Ops[0])->getValue()->isMaxValue(true)) { in getSMaxExpr() 3632 } else if (cast<SCEVConstant>(Ops[0])->getValue()->isMaxValue(false)) { in getUMaxExpr() 8711 assert(!RA.isMaxValue() && "Should have been caught earlier!"); in SimplifyICmpOperands() 8770 if (!getUnsignedRangeMax(RHS).isMaxValue()) { in SimplifyICmpOperands() 8786 } else if (!getUnsignedRangeMax(LHS).isMaxValue()) { in SimplifyICmpOperands()
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 7893 if (!IntegerValue.isMaxValue()) { in DiagnoseFloatingImpCast()
|