Home
last modified time | relevance | path

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

/external/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/include/llvm/
DConstants.h186 bool isMaxValue(bool isSigned) const { in isMaxValue() function
190 return Val.isMaxValue(); in isMaxValue()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp131 return RHS->isMaxValue(true); in isSignBitCheck()
1088 if (!ICI.isEquality() && XorCST->isMaxValue(true)) { in visitICmpInstWithInstAndIntCst()
1932 assert(!CI->isMaxValue(false)); // A <=u MAX -> TRUE in visitICmpInst()
1936 assert(!CI->isMaxValue(true)); // A <=s MAX -> TRUE in visitICmpInst()
2107 if (CI->isMaxValue(true)) in visitICmpInst()
2441 if (CI->isMaxValue(true)) { in visitICmpInst()
DInstCombineSelect.cpp365 && CI->isMaxValue(Pred == ICmpInst::ICMP_SGT)) in visitSelectInstWithICmp()
DInstCombineAndOrXor.cpp1560 if (RHSCst->isMaxValue(false)) in FoldOrOfICmps()
1580 if (RHSCst->isMaxValue(true)) in FoldOrOfICmps()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp2415 } else if (cast<SCEVConstant>(Ops[0])->getValue()->isMaxValue(true)) { in getSMaxExpr()
2519 } else if (cast<SCEVConstant>(Ops[0])->getValue()->isMaxValue(false)) { in getUMaxExpr()
3391 if (Min.isMinValue() && Max.isMaxValue()) in getUnsignedRange()
5653 if (RA.isMaxValue()) { in SimplifyICmpOperands()
5665 if ((RA + 1).isMaxValue()) { in SimplifyICmpOperands()
5676 if (RA.isMaxValue()) goto trivially_true; in SimplifyICmpOperands()
5724 if ((RA + 1).isMaxValue()) { in SimplifyICmpOperands()
5730 if (RA.isMaxValue()) goto trivially_false; in SimplifyICmpOperands()
5733 if (RA.isMaxValue()) { in SimplifyICmpOperands()
5815 if (!getUnsignedRange(RHS).getUnsignedMax().isMaxValue()) { in SimplifyICmpOperands()
[all …]
/external/llvm/include/llvm/ADT/
DAPInt.h323 bool isMaxValue() const { in isMaxValue() function