Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Support/
DConstantRange.cpp47 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/
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/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantRange.cpp53 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/
DConstants.h182 bool isMaxValue(bool isSigned) const { in isMaxValue() function
186 return Val.isMaxValue(); in isMaxValue()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCompares.cpp131 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()
DInstCombineSelect.cpp363 && CI->isMaxValue(Pred == ICmpInst::ICMP_SGT)) in visitSelectInstWithICmp()
DInstCombineAndOrXor.cpp1598 if (RHSCst->isMaxValue(false)) in FoldOrOfICmps()
1618 if (RHSCst->isMaxValue(true)) in FoldOrOfICmps()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DConstants.h218 bool isMaxValue(bool isSigned) const { in isMaxValue() function
222 return Val.isMaxValue(); in isMaxValue()
/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-7.0/llvm/unittests/IR/
DConstantRangeTest.cpp800 NSWForAllValues.getSingleElement()->isMaxValue()); in TEST()
812 NUWForAllValues.getSingleElement()->isMaxValue()); in TEST()
824 NUWAndNSWForAllValues.getSingleElement()->isMaxValue()); in TEST()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DScalarEvolution.cpp2396 } 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/
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/include/llvm/ADT/
DAPInt.h322 bool isMaxValue() const { in isMaxValue() function
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h352 bool isMaxValue() const { return isAllOnesValue(); } in isMaxValue() function
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPInt.h420 bool isMaxValue() const { return isAllOnesValue(); } in isMaxValue() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp1978 assert(!RHSC->isMaxValue(false) && "Missed icmp simplification"); in foldOrOfICmps()
1990 assert(!RHSC->isMaxValue(true) && "Missed icmp simplification"); in foldOrOfICmps()
DInstCombineCompares.cpp2091 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/
DScalarEvolution.cpp3530 } 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/
DSemaChecking.cpp7893 if (!IntegerValue.isMaxValue()) { in DiagnoseFloatingImpCast()