Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h194 return RHS.isMaxSignedValue(); in isSignBitCheck()
206 return RHS.isMaxSignedValue(); in isSignBitCheck()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h218 return Val.isMaxSignedValue(); in isMaxValue()
H A DPatternMatch.h466 bool isValue(const APInt &C) { return C.isMaxSignedValue(); } in isValue()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h383 bool isMaxSignedValue() const { in isMaxSignedValue() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DLazyValueInfo.cpp1139 if (RHS.isMaxSignedValue()) in getRangeViaSLT()
H A DScalarEvolution.cpp10685 assert(!RA.isMaxSignedValue() && "Should have been caught earlier!"); in SimplifyICmpOperands()
10706 if (!getSignedRangeMax(RHS).isMaxSignedValue()) { in SimplifyICmpOperands()
10724 } else if (!getSignedRangeMax(LHS).isMaxSignedValue()) { in SimplifyICmpOperands()
H A DInstructionSimplify.cpp816 if (Known.Zero.isMaxSignedValue()) { in simplifySubInst()
H A DValueTracking.cpp7611 if (Pred == CmpInst::ICMP_SLT && C1->isZero() && C2->isMaxSignedValue()) in matchMinMax()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp136 if (SMin.isMaxSignedValue()) in makeAllowedICmpRegion()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1579 if (!Cmp.isEquality() && XorC->isMaxSignedValue()) { in foldICmpXorConstant()
2445 if (!C.isMaxSignedValue() && !(C + 1).shl(ShAmtVal).isMinSignedValue() && in foldICmpShrConstant()
4947 if (BO0->getOpcode() == Instruction::Xor && C->isMaxSignedValue()) { in foldICmpBinOp()
7027 if (Pred == ICmpInst::ICMP_UGT && C->isMaxSignedValue()) { in visitICmpInst()
H A DInstCombineSelect.cpp1652 if (CmpC->isMaxSignedValue() && match(TVal, m_SpecificInt(*CmpC - 1))) in foldSelectInstWithICmpConst()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1639 bool isMaxSignedValue() const { return Value->isMaxValue(true); }
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp5008 if ((Cond == ISD::SETUGT && C1.isMaxSignedValue()) || in SimplifySetCC()
5017 (Cond == ISD::SETULE && C1.isMaxSignedValue())) in SimplifySetCC()
H A DSelectionDAG.cpp11566 return Const->isMaxSignedValue(); in isNeutralConstant()
H A DDAGCombiner.cpp17882 (Cond == ISD::SETGT && C->isMaxSignedValue()); in visitBRCOND()
17884 (Cond == ISD::SETLE && C->isMaxSignedValue()) || in visitBRCOND()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp22996 if (NSW && ((IsInc && EltC.isMaxSignedValue()) || in incDecVectorConstant()
23316 else if (ConstValue.isMaxSignedValue()) in LowerVSETCC()
23679 if ((CC == ISD::CondCode::SETGT && !Op1Val.isMaxSignedValue()) || in LowerSETCC()
45404 } else if (CC == X86::COND_LE && !Comparison.isMaxSignedValue()) { in combineSetCCAtomicArith()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp15289 if (!IntegerValue.isMaxSignedValue() && in DiagnoseFloatingImpCast()