Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h227 return Val.isMaxSignedValue(); in isMaxValue()
H A DPatternMatch.h533 bool isValue(const APInt &C) { return C.isMaxSignedValue(); } in isValue()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h385 bool isMaxSignedValue() const { in isMaxSignedValue() function
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLazyValueInfo.cpp1150 if (RHS.isMaxSignedValue()) in getRangeViaSLT()
H A DValueTracking.cpp4332 return RHS.isMaxSignedValue(); in isSignBitCheck()
4344 return RHS.isMaxSignedValue(); in isSignBitCheck()
8334 if (Pred == CmpInst::ICMP_SLT && C1->isZero() && C2->isMaxSignedValue()) in matchMinMax()
H A DScalarEvolution.cpp10764 assert(!RA.isMaxSignedValue() && "Should have been caught earlier!"); in SimplifyICmpOperands()
10785 if (!getSignedRangeMax(RHS).isMaxSignedValue()) { in SimplifyICmpOperands()
10803 } else if (!getSignedRangeMax(LHS).isMaxSignedValue()) { in SimplifyICmpOperands()
H A DInstructionSimplify.cpp817 if (Known.Zero.isMaxSignedValue()) { in simplifySubInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1596 if (!Cmp.isEquality() && XorC->isMaxSignedValue()) { in foldICmpXorConstant()
2536 if (!C.isMaxSignedValue() && !(C + 1).shl(ShAmtVal).isMinSignedValue() && in foldICmpShrConstant()
5278 if (BO0->getOpcode() == Instruction::Xor && C->isMaxSignedValue()) { in foldICmpBinOp()
7390 if (Pred == ICmpInst::ICMP_UGT && C->isMaxSignedValue()) { in visitICmpInst()
H A DInstCombineSelect.cpp1690 if (CmpC->isMaxSignedValue() && match(TVal, m_SpecificInt(*CmpC - 1))) in foldSelectInstWithICmpConst()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp136 if (SMin.isMaxSignedValue()) in makeAllowedICmpRegion()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1680 bool isMaxSignedValue() const { return Value->isMaxValue(true); }
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp5083 if ((Cond == ISD::SETUGT && C1.isMaxSignedValue()) || in SimplifySetCC()
5092 (Cond == ISD::SETULE && C1.isMaxSignedValue())) in SimplifySetCC()
H A DSelectionDAG.cpp11909 return Const.isMaxSignedValue(); in isNeutralConstant()
H A DDAGCombiner.cpp18220 (Cond == ISD::SETGT && C->isMaxSignedValue()); in visitBRCOND()
18222 (Cond == ISD::SETLE && C->isMaxSignedValue()) || in visitBRCOND()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp10494 if (!IntegerValue.isMaxSignedValue() && in DiagnoseFloatingImpCast()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp23177 if (NSW && ((IsInc && EltC.isMaxSignedValue()) || in incDecVectorConstant()
23498 else if (ConstValue.isMaxSignedValue()) in LowerVSETCC()
23891 if ((CC == ISD::CondCode::SETGT && !Op1Val.isMaxSignedValue()) || in LowerSETCC()
46472 } else if (CC == X86::COND_LE && !Comparison.isMaxSignedValue()) { in combineSetCCAtomicArith()