Home
last modified time | relevance | path

Searched refs:isMaxSignedValue (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DCmpInstAnalysis.cpp95 if (ICmpInst::isSigned(Pred) ? C.isMaxSignedValue() : C.isMaxValue()) in decomposeBitTestICmp()
H A DLazyValueInfo.cpp1164 if (RHS.isMaxSignedValue()) in getRangeViaSLT()
H A DScalarEvolution.cpp3857 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()
H A DValueTracking.cpp4544 return RHS.isMaxSignedValue(); in isSignBitCheck()
4556 return RHS.isMaxSignedValue(); in isSignBitCheck()
8436 if (Pred == CmpInst::ICMP_SLT && C1->isZero() && C2->isMaxSignedValue()) in matchMinMax()
H A DInstructionSimplify.cpp774 if (Known.Zero.isMaxSignedValue()) { in simplifySubInst()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DIntegralAP.h173 return getValue().isMaxSignedValue(); in isMax()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h235 return Val.isMaxSignedValue(); in isMaxValue()
H A DPatternMatch.h533 bool isValue(const APInt &C) const { return C.isMaxSignedValue(); } in isValue()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h405 bool isMaxSignedValue() const { in isMaxSignedValue() function
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp148 if (SMin.isMaxSignedValue()) in makeAllowedICmpRegion()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1632 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()
H A DInstCombineSelect.cpp1780 if (CmpC->isMaxSignedValue() && match(TVal, m_SpecificInt(*CmpC - 1))) in foldSelectInstWithICmpConst()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1768 bool isMaxSignedValue() const { return Value->isMaxValue(true); }
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp5299 if ((Cond == ISD::SETUGT && C1.isMaxSignedValue()) || in SimplifySetCC()
5308 (Cond == ISD::SETULE && C1.isMaxSignedValue())) in SimplifySetCC()
H A DSelectionDAG.cpp12488 return Const.isMaxSignedValue(); in isNeutralConstant()
H A DDAGCombiner.cpp19217 (Cond == ISD::SETGT && C->isMaxSignedValue()); in visitBRCOND()
19219 (Cond == ISD::SETLE && C->isMaxSignedValue()) || in visitBRCOND()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp3889 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()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp11768 if (!IntegerValue.isMaxSignedValue() && in DiagnoseFloatingImpCast()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp23917 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()