Home
last modified time | relevance | path

Searched refs:MinVal (Results 1 – 25 of 27) sorted by relevance

12

/external/llvm-project/llvm/include/llvm/Support/
DTypeSize.h272 LinearPolySize(ScalarTy MinVal, Dims D)
273 : UnivariateLinearPolyBase<LeafTy>(MinVal, D) {}
280 static LeafTy getFixed(ScalarTy MinVal) {
281 return static_cast<LeafTy>(LinearPolySize(MinVal, FixedDim));
283 static LeafTy getScalable(ScalarTy MinVal) {
284 return static_cast<LeafTy>(LinearPolySize(MinVal, ScalableDim));
286 static LeafTy get(ScalarTy MinVal, bool Scalable) {
288 LinearPolySize(MinVal, Scalable ? ScalableDim : FixedDim));
415 TypeSize(ScalarTy MinVal, bool IsScalable)
416 : LinearPolySize(LinearPolySize::get(MinVal, IsScalable)) {}
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DSuspiciousEnumUsageCheck.cpp37 llvm::APSInt MinVal; member
47 MinVal = MinMaxVal.first->getInitVal(); in ValueRange()
60 return llvm::APSInt::compareValues(Range1.MaxVal, Range2.MinVal) < 0 || in hasDisjointValueRange()
61 llvm::APSInt::compareValues(Range2.MaxVal, Range1.MinVal) < 0; in hasDisjointValueRange()
106 (VR.MaxVal - VR.MinVal != EnumLen - 1) && in isPossiblyBitMask()
/external/llvm-project/polly/lib/Transform/
DFlattenAlgo.cpp279 auto MinVal = getConstant(Min, false, true); in tryFlattenLoop() local
284 if (!MinVal || !MaxVal || MinVal.is_nan() || MaxVal.is_nan()) { in tryFlattenLoop()
292 auto LenVal = MaxVal.sub(MinVal).add_ui(1); in tryFlattenLoop()
293 auto FirstSubScheduleNormalized = subtract(FirstSubScheduleAff, MinVal); in tryFlattenLoop()
/external/ImageMagick/coders/
Dmat.c187 static void InsertComplexDoubleRow(Image *image,double *p,int y,double MinVal, in InsertComplexDoubleRow() argument
194 if (MinVal >= 0) in InsertComplexDoubleRow()
195 MinVal = -1; in InsertComplexDoubleRow()
225 f=(*p/MinVal)*(Quantum) (QuantumRange-GetPixelBlue(image,q)); in InsertComplexDoubleRow()
250 static void InsertComplexFloatRow(Image *image,float *p,int y,double MinVal, in InsertComplexFloatRow() argument
257 if (MinVal >= 0) in InsertComplexFloatRow()
258 MinVal = -1; in InsertComplexFloatRow()
888 double MinVal, MaxVal; in ReadMATImage() local
1261 MinVal = 0; in ReadMATImage()
1339 …age_info->endian, MATLAB_HDR.SizeX, MATLAB_HDR.SizeY, CellType, ldblk, BImgBuff, &MinVal, &MaxVal); in ReadMATImage()
[all …]
/external/llvm-project/llvm/utils/PerfectShuffle/
DPerfectShuffle.cpp273 unsigned MinVal = i; in main() local
281 MinVal = NewElt; in main()
286 if (i != MinVal) { in main()
288 ShufTab[i] = ShufTab[MinVal]; in main()
/external/llvm/utils/PerfectShuffle/
DPerfectShuffle.cpp274 unsigned MinVal = i; in main() local
282 MinVal = NewElt; in main()
287 if (i != MinVal) { in main()
289 ShufTab[i] = ShufTab[MinVal]; in main()
/external/llvm/lib/Target/SystemZ/
DSystemZFrameLowering.cpp306 int64_t MinVal = -uint64_t(1) << 31; in emitIncrement() local
308 if (ThisVal < MinVal) in emitIncrement()
309 ThisVal = MinVal; in emitIncrement()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZFrameLowering.cpp404 int64_t MinVal = -uint64_t(1) << 31; in emitIncrement() local
406 if (ThisVal < MinVal) in emitIncrement()
407 ThisVal = MinVal; in emitIncrement()
/external/llvm-project/llvm/lib/Target/SystemZ/
DSystemZFrameLowering.cpp372 int64_t MinVal = -uint64_t(1) << 31; in emitIncrement() local
374 if (ThisVal < MinVal) in emitIncrement()
375 ThisVal = MinVal; in emitIncrement()
/external/llvm/lib/Target/SystemZ/AsmParser/
DSystemZAsmParser.cpp382 OperandMatchResultTy parsePCRel(OperandVector &Operands, int64_t MinVal,
853 SystemZAsmParser::parsePCRel(OperandVector &Operands, int64_t MinVal, in parsePCRel() argument
866 if ((Value & 1) || Value < MinVal || Value > MaxVal) { in parsePCRel()
/external/deqp/modules/egl/
DteglChooseConfigTests.cpp368 template <int MinVal, int MaxVal> static EGLint getInt (de::Random& rnd) in getInt()
370 return rnd.getInt(MinVal, MaxVal); in getInt()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/AsmParser/
DSystemZAsmParser.cpp430 OperandMatchResultTy parsePCRel(OperandVector &Operands, int64_t MinVal,
1298 SystemZAsmParser::parsePCRel(OperandVector &Operands, int64_t MinVal, in parsePCRel() argument
1310 if ((Value & 1) || Value < MinVal || Value > MaxVal) in parsePCRel()
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1737 APInt MinVal, MaxVal; in SimplifySetCC() local
1740 MinVal = APInt::getSignedMinValue(OperandBitSize); in SimplifySetCC()
1743 MinVal = APInt::getMinValue(OperandBitSize); in SimplifySetCC()
1749 if (C1 == MinVal) return DAG.getConstant(1, dl, VT); // X >= MIN --> true in SimplifySetCC()
1778 if ((Cond == ISD::SETLT || Cond == ISD::SETULT) && C1 == MinVal) in SimplifySetCC()
1780 if ((Cond == ISD::SETGE || Cond == ISD::SETUGE) && C1 == MinVal) in SimplifySetCC()
1788 if ((Cond == ISD::SETGT || Cond == ISD::SETUGT) && C1 == MinVal) in SimplifySetCC()
1795 if ((Cond == ISD::SETLT || Cond == ISD::SETULT) && C1 == MinVal+1) in SimplifySetCC()
1797 DAG.getConstant(MinVal, dl, N0.getValueType()), in SimplifySetCC()
/external/llvm-project/llvm/lib/Target/SystemZ/AsmParser/
DSystemZAsmParser.cpp426 OperandMatchResultTy parsePCRel(OperandVector &Operands, int64_t MinVal,
1480 SystemZAsmParser::parsePCRel(OperandVector &Operands, int64_t MinVal, in parsePCRel() argument
1492 if ((Value & 1) || Value < MinVal || Value > MaxVal) in parsePCRel()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp3865 APInt MinVal, MaxVal; in SimplifySetCC() local
3868 MinVal = APInt::getSignedMinValue(OperandBitSize); in SimplifySetCC()
3871 MinVal = APInt::getMinValue(OperandBitSize); in SimplifySetCC()
3878 if (C1 == MinVal) in SimplifySetCC()
3917 if (C1 == MinVal) in SimplifySetCC()
3927 if (C1 == MinVal+1) in SimplifySetCC()
3929 DAG.getConstant(MinVal, dl, N0.getValueType()), in SimplifySetCC()
3941 if (C1 == MinVal) in SimplifySetCC()
7612 APInt MinVal = APInt::getSignedMinValue(BitWidth); in expandAddSubSat() local
7614 SDValue SatMin = DAG.getConstant(MinVal, dl, VT); in expandAddSubSat()
[all …]
DLegalizeIntegerTypes.cpp802 APInt MinVal = APInt::getSignedMinValue(OldBits).sext(NewBits); in PromoteIntRes_ADDSUBSHLSAT() local
804 SDValue SatMin = DAG.getConstant(MinVal, dl, PromotedType); in PromoteIntRes_ADDSUBSHLSAT()
3377 APInt MinVal = APInt::getSignedMinValue(VTSize); in ExpandIntRes_MULFIX() local
3379 SDValue SatMin = DAG.getConstant(MinVal, dl, VT); in ExpandIntRes_MULFIX()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp3560 APInt MinVal, MaxVal; in SimplifySetCC() local
3563 MinVal = APInt::getSignedMinValue(OperandBitSize); in SimplifySetCC()
3566 MinVal = APInt::getMinValue(OperandBitSize); in SimplifySetCC()
3573 if (C1 == MinVal) in SimplifySetCC()
3612 if (C1 == MinVal) in SimplifySetCC()
3622 if (C1 == MinVal+1) in SimplifySetCC()
3624 DAG.getConstant(MinVal, dl, N0.getValueType()), in SimplifySetCC()
3636 if (C1 == MinVal) in SimplifySetCC()
7162 APInt MinVal = APInt::getSignedMinValue(BitWidth); in expandAddSubSat() local
7164 SDValue SatMin = DAG.getConstant(MinVal, dl, VT); in expandAddSubSat()
[all …]
DLegalizeIntegerTypes.cpp734 APInt MinVal = APInt::getSignedMinValue(OldBits).sext(NewBits); in PromoteIntRes_ADDSUBSAT() local
736 SDValue SatMin = DAG.getConstant(MinVal, dl, PromotedType); in PromoteIntRes_ADDSUBSAT()
3045 APInt MinVal = APInt::getSignedMinValue(VTSize); in ExpandIntRes_MULFIX() local
3047 SDValue SatMin = DAG.getConstant(MinVal, dl, VT); in ExpandIntRes_MULFIX()
/external/llvm-project/llvm/lib/ObjectYAML/
DELFYAML.cpp1069 const int64_t MinVal = Is64 ? INT64_MIN : INT32_MIN; in input() local
1071 if (getAsSignedInteger(Scalar, /*Radix=*/0, Int) || (Int < MinVal)) in input()
/external/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp1461 const unsigned MinVal,
1466 const unsigned MinVal,
6245 const unsigned MinVal, in parseSwizzleOperand() argument
6256 if (Op < MinVal || Op > MaxVal) { in parseSwizzleOperand()
6266 const unsigned MinVal, in parseSwizzleOperands() argument
6271 if (!parseSwizzleOperand(Op[i], MinVal, MaxVal, ErrMsg, Loc)) in parseSwizzleOperands()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp660 int64_t MinVal, MaxVal; in isImmScaled() local
663 MinVal = (int64_t(1) << Shift) * -Scale; in isImmScaled()
666 MinVal = 0; in isImmScaled()
671 if (Val >= MinVal && Val <= MaxVal && (Val % Scale) == 0) in isImmScaled()
/external/llvm-project/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp694 int64_t MinVal, MaxVal; in isImmScaled() local
697 MinVal = (int64_t(1) << Shift) * -Scale; in isImmScaled()
700 MinVal = 0; in isImmScaled()
705 if (Val >= MinVal && Val <= MaxVal && (Val % Scale) == 0) in isImmScaled()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp5952 auto MinVal = in lowerAddSubSatToMinMax() local
5958 Lo = MIRBuilder.buildSub(Ty, MinVal, MIRBuilder.buildSMin(Ty, LHS, Zero)); in lowerAddSubSatToMinMax()
5964 MinVal); in lowerAddSubSatToMinMax()
6031 auto MinVal = in lowerAddSubSatToAddoSubo() local
6033 Clamp = MIRBuilder.buildAdd(Ty, Sign, MinVal); in lowerAddSubSatToAddoSubo()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp1782 APInt MinVal = APInt::getSignedMinValue(Ty->getScalarSizeInBits()); in foldOverflowingAddSubSelect() local
1784 return match(Min, m_SpecificInt(MinVal)) && in foldOverflowingAddSubSelect()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp1834 APInt MinVal = APInt::getSignedMinValue(Ty->getScalarSizeInBits()); in foldOverflowingAddSubSelect() local
1836 return match(Min, m_SpecificInt(MinVal)) && in foldOverflowingAddSubSelect()

12