/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | TypeSize.h | 301 constexpr ElementCount(ScalarTy MinVal, bool Scalable) in ElementCount() argument 302 : FixedOrScalableQuantity(MinVal, Scalable) {} in ElementCount() 311 static constexpr ElementCount getFixed(ScalarTy MinVal) { in getFixed() argument 312 return ElementCount(MinVal, false); in getFixed() 314 static constexpr ElementCount getScalable(ScalarTy MinVal) { in getScalable() argument 315 return ElementCount(MinVal, true); in getScalable() 317 static constexpr ElementCount get(ScalarTy MinVal, bool Scalable) { in get() argument 318 return ElementCount(MinVal, Scalable); in get()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | KnownBits.cpp | 79 APInt MinVal = LHS.getMinValue().uadd_sat(RHS.getMinValue()); in computeForAddSub() local 83 unsigned NumBits = MinVal.trunc(BitWidth - 1).countl_one(); in computeForAddSub() 88 KnownOut.One.setHighBits(MinVal.countl_one()); in computeForAddSub() 105 APInt MinVal; in computeForAddSub() local 109 MinVal = LHS.getSignedMinValue().sadd_sat(RHS.getSignedMinValue()); in computeForAddSub() 113 MinVal = LHS.getSignedMinValue().ssub_sat(RHS.getSignedMaxValue()); in computeForAddSub() 116 if (MinVal.isNonNegative()) { in computeForAddSub() 119 unsigned NumBits = MinVal.trunc(BitWidth - 1).countl_one(); in computeForAddSub()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZFrameLowering.cpp | 488 int64_t MinVal = -uint64_t(1) << 31; in emitIncrement() local 490 if (ThisVal < MinVal) in emitIncrement() 491 ThisVal = MinVal; in emitIncrement()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/AsmParser/ |
H A D | SystemZAsmParser.cpp | 439 ParseStatus parsePCRel(OperandVector &Operands, int64_t MinVal, 1578 int64_t MinVal, int64_t MaxVal, in parsePCRel() argument 1592 if ((Value & 1) || Value < MinVal || Value > MaxVal) in parsePCRel()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopStrengthReduce.cpp | 261 constexpr Immediate(ScalarTy MinVal, bool Scalable) in Immediate() argument 262 : FixedOrScalableQuantity(MinVal, Scalable) {} in Immediate() 270 static constexpr Immediate getFixed(ScalarTy MinVal) { in getFixed() argument 271 return {MinVal, false}; in getFixed() 273 static constexpr Immediate getScalable(ScalarTy MinVal) { in getScalable() argument 274 return {MinVal, true}; in getScalable() 276 static constexpr Immediate get(ScalarTy MinVal, bool Scalable) { in get() argument 277 return {MinVal, Scalable}; in get()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SIISelLowering.h | 201 SDValue Src, SDValue MinVal, SDValue MaxVal,
|
H A D | SIISelLowering.cpp | 13048 SDValue MinVal, in performIntMed3ImmCombine() argument 13058 ConstantSDNode *MinK = dyn_cast<ConstantSDNode>(MinVal); in performIntMed3ImmCombine() 13075 return DAG.getNode(Med3Opc, SL, VT, Src, MaxVal, MinVal); in performIntMed3ImmCombine()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 4921 APInt MinVal, MaxVal; in SimplifySetCC() local 4924 MinVal = APInt::getSignedMinValue(OperandBitSize); in SimplifySetCC() 4927 MinVal = APInt::getMinValue(OperandBitSize); in SimplifySetCC() 4934 if (C1 == MinVal) in SimplifySetCC() 4973 if (C1 == MinVal) in SimplifySetCC() 4983 if (C1 == MinVal+1) in SimplifySetCC() 4985 DAG.getConstant(MinVal, dl, N0.getValueType()), in SimplifySetCC() 4997 if (C1 == MinVal) in SimplifySetCC() 10402 APInt MinVal = APInt::getSignedMinValue(BitWidth); in expandAddSubSat() local 10427 SDValue SatMin = DAG.getConstant(MinVal, dl, VT); in expandAddSubSat() [all …]
|
H A D | LegalizeIntegerTypes.cpp | 1112 APInt MinVal = APInt::getSignedMinValue(OldBits).sext(NewBits); in PromoteIntRes_ADDSUBSHLSAT() local 1114 SDValue SatMin = DAG.getConstant(MinVal, dl, PromotedType); in PromoteIntRes_ADDSUBSHLSAT() 4268 APInt MinVal = APInt::getSignedMinValue(VTSize); in ExpandIntRes_MULFIX() local 4270 SDValue SatMin = DAG.getConstant(MinVal, dl, VT); in ExpandIntRes_MULFIX()
|
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | ELFYAML.cpp | 1316 const int64_t MinVal = Is64 ? INT64_MIN : INT32_MIN; in input() local 1318 if (getAsSignedInteger(Scalar, /*Radix=*/0, Int) || (Int < MinVal)) in input()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/ |
H A D | AMDGPUAsmParser.cpp | 1820 const unsigned MinVal, 1825 const unsigned MinVal, 7931 const unsigned MinVal, in parseSwizzleOperand() argument 7942 if (Op < MinVal || Op > MaxVal) { in parseSwizzleOperand() 7952 const unsigned MinVal, in parseSwizzleOperands() argument 7957 if (!parseSwizzleOperand(Op[i], MinVal, MaxVal, ErrMsg, Loc)) in parseSwizzleOperands()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineMulDivRem.cpp | 1714 APInt MinVal = APInt::getSignedMinValue(Ty->getScalarSizeInBits()); in visitSDiv() local 1715 Value *Cond = Builder.CreateICmpEQ(Op0, ConstantInt::get(Ty, MinVal)); in visitSDiv()
|
H A D | InstCombineSelect.cpp | 2124 APInt MinVal = APInt::getSignedMinValue(Ty->getScalarSizeInBits()); in foldOverflowingAddSubSelect() local 2126 return match(Min, m_SpecificInt(MinVal)) && in foldOverflowingAddSubSelect()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/AsmParser/ |
H A D | AArch64AsmParser.cpp | 824 int64_t MinVal, MaxVal; in isImmScaled() local 827 MinVal = (int64_t(1) << Shift) * -Scale; in isImmScaled() 830 MinVal = 0; in isImmScaled() 834 if (Val >= MinVal && Val <= MaxVal && (Val % Scale) == 0) in isImmScaled()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | LegalizerHelper.cpp | 8021 auto MinVal = in lowerAddSubSatToMinMax() local 8027 Lo = MIRBuilder.buildSub(Ty, MinVal, MIRBuilder.buildSMin(Ty, LHS, Zero)); in lowerAddSubSatToMinMax() 8033 MinVal); in lowerAddSubSatToMinMax() 8098 auto MinVal = in lowerAddSubSatToAddoSubo() local 8100 Clamp = MIRBuilder.buildAdd(Ty, Sign, MinVal); in lowerAddSubSatToAddoSubo()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ScalarEvolution.cpp | 6907 APInt MinVal = APInt::getZero(BitWidth); in getRangeRef() local 6909 MinVal = Align; in getRangeRef() 6911 ConstantRange::getNonEmpty(MinVal, MaxVal + 1), RangeType); in getRangeRef()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaChecking.cpp | 10960 llvm::APFixedPoint MinVal = Context.getFixedPointMin(T); in CheckImplicitConversion() local 10961 if (Value > MaxVal || Value < MinVal) { in CheckImplicitConversion()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVISelLowering.cpp | 5697 APInt MinVal = APInt::getSignedMinValue(32).sext(64); in lowerSADDSAT_SSUBSAT() local 5699 SDValue SatMin = DAG.getConstant(MinVal, DL, MVT::i64); in lowerSADDSAT_SSUBSAT()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 28185 APInt MinVal = APInt::getSignedMinValue(BitWidth); in LowerADDSAT_SUBSAT() local 28193 SDValue SatMin = DAG.getConstant(MinVal, DL, VT); in LowerADDSAT_SUBSAT()
|