Home
last modified time | relevance | path

Searched refs:MaxInt (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp158 APSInt MaxInt = APFixedPoint::getMax(*this).getValue(); in fitsInFloatSemantics() local
160 APFloat::opStatus Status = F.convertFromAPInt(MaxInt, MaxInt.isSigned(), in fitsInFloatSemantics()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp7903 APInt MinInt, MaxInt; in lowerFPTOINT_SAT() local
7906 MaxInt = APInt::getSignedMaxValue(SatWidth); in lowerFPTOINT_SAT()
7909 MaxInt = APInt::getMaxValue(SatWidth); in lowerFPTOINT_SAT()
7919 MaxFloat.convertFromAPInt(MaxInt, IsSigned, APFloat::rmTowardZero); in lowerFPTOINT_SAT()
7978 MIRBuilder.buildSelect(Dst, OGT, MIRBuilder.buildConstant(DstTy, MaxInt), in lowerFPTOINT_SAT()
7986 DstTy, OGT, MIRBuilder.buildConstant(DstTy, MaxInt), Max); in lowerFPTOINT_SAT()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp11653 APInt MinInt, MaxInt; in expandFP_TO_INT_SAT() local
11656 MaxInt = APInt::getSignedMaxValue(SatWidth).sext(DstWidth); in expandFP_TO_INT_SAT()
11659 MaxInt = APInt::getMaxValue(SatWidth).zext(DstWidth); in expandFP_TO_INT_SAT()
11676 MaxFloat.convertFromAPInt(MaxInt, IsSigned, APFloat::rmTowardZero); in expandFP_TO_INT_SAT()
11713 SDValue MaxIntNode = DAG.getConstant(MaxInt, dl, DstVT); in expandFP_TO_INT_SAT()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp10627 APInt MaxInt = getUnsignedRangeMax(applyLoopGuards(Exact, Guards)); in howFarToZero() local
10629 getConstant(APIntOps::umin(MaxInt, getUnsignedRangeMax(Exact))); in howFarToZero()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp22059 APInt MinInt, MaxInt; in LowerFP_TO_INT_SAT() local
22062 MaxInt = APInt::getSignedMaxValue(SatWidth).sext(DstWidth); in LowerFP_TO_INT_SAT()
22065 MaxInt = APInt::getMaxValue(SatWidth).zext(DstWidth); in LowerFP_TO_INT_SAT()
22075 MaxInt, IsSigned, APFloat::rmTowardZero); in LowerFP_TO_INT_SAT()
22122 SDValue MaxIntNode = DAG.getConstant(MaxInt, dl, DstVT); in LowerFP_TO_INT_SAT()