Searched refs:isMaxSignedValue (Results 1 – 19 of 19) sorted by relevance
95 if (ICmpInst::isSigned(Pred) ? C.isMaxSignedValue() : C.isMaxValue()) in decomposeBitTestICmp()
1164 if (RHS.isMaxSignedValue()) in getRangeViaSLT()
3857 return IsSigned ? C.isMaxSignedValue() : C.isMaxValue(); in getMinMaxExpr()3862 return IsSigned ? C.isMaxSignedValue() : C.isMaxValue(); in getMinMaxExpr()10837 assert(!RA.isMaxSignedValue() && "Should have been caught earlier!"); in SimplifyICmpOperands()10858 if (!getSignedRangeMax(RHS).isMaxSignedValue()) { in SimplifyICmpOperands()10876 } else if (!getSignedRangeMax(LHS).isMaxSignedValue()) { in SimplifyICmpOperands()
4544 return RHS.isMaxSignedValue(); in isSignBitCheck()4556 return RHS.isMaxSignedValue(); in isSignBitCheck()8436 if (Pred == CmpInst::ICMP_SLT && C1->isZero() && C2->isMaxSignedValue()) in matchMinMax()
774 if (Known.Zero.isMaxSignedValue()) { in simplifySubInst()
173 return getValue().isMaxSignedValue(); in isMax()
235 return Val.isMaxSignedValue(); in isMaxValue()
533 bool isValue(const APInt &C) const { return C.isMaxSignedValue(); } in isValue()
405 bool isMaxSignedValue() const { in isMaxSignedValue() function
148 if (SMin.isMaxSignedValue()) in makeAllowedICmpRegion()
1632 if (!Cmp.isEquality() && XorC->isMaxSignedValue()) { in foldICmpXorConstant()2586 if (!C.isMaxSignedValue() && !(C + 1).shl(ShAmtVal).isMinSignedValue() && in foldICmpShrConstant()5555 if (BO0->getOpcode() == Instruction::Xor && C->isMaxSignedValue()) { in foldICmpBinOp()7673 if (Pred == ICmpInst::ICMP_UGT && C->isMaxSignedValue()) { in visitICmpInst()
1780 if (CmpC->isMaxSignedValue() && match(TVal, m_SpecificInt(*CmpC - 1))) in foldSelectInstWithICmpConst()
1768 bool isMaxSignedValue() const { return Value->isMaxValue(true); }
5299 if ((Cond == ISD::SETUGT && C1.isMaxSignedValue()) || in SimplifySetCC()5308 (Cond == ISD::SETULE && C1.isMaxSignedValue())) in SimplifySetCC()
12488 return Const.isMaxSignedValue(); in isNeutralConstant()
19217 (Cond == ISD::SETGT && C->isMaxSignedValue()); in visitBRCOND()19219 (Cond == ISD::SETLE && C->isMaxSignedValue()) || in visitBRCOND()
3889 if (!C.isMaxSignedValue()) { in getAArch64Cmp()5531 if (IsSigned ? Y.isMaxSignedValue() : Y.isMaxValue()) in optimizeIncrementingWhile()25091 return CheckedFold(!CmpOpConst->getAPIntValue().isMaxSignedValue(), in reassociateCSELOperandsForCSE()25094 return CheckedFold(!CmpOpConst->getAPIntValue().isMaxSignedValue(), in reassociateCSELOperandsForCSE()
11768 if (!IntegerValue.isMaxSignedValue() && in DiagnoseFloatingImpCast()
23917 if (NSW && ((IsInc && EltC.isMaxSignedValue()) || in incDecVectorConstant()24262 else if (ConstValue.isMaxSignedValue()) in LowerVSETCC()24655 if ((CC == ISD::CondCode::SETGT && !Op1Val.isMaxSignedValue()) || in LowerSETCC()48224 } else if (CC == X86::COND_LE && !Comparison.isMaxSignedValue()) { in combineSetCCAtomicArith()