Searched refs:MaxVal (Results 1 - 15 of 15) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DConversionChecker.cpp175 unsigned long long MaxVal = 1ULL << RepresentsUntilExp; local
177 // If this is a floating point type, it can also represent MaxVal exactly.
178 MaxVal++;
180 return C.isGreaterOrEqual(Cast->getSubExpr(), MaxVal);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp530 bool MaxVal = cast<ConstantInt>(ObjectSize->getArgOperand(1))->isZero(); local
536 MaxVal ? ObjectSizeOpts::Mode::Max : ObjectSizeOpts::Mode::Min;
577 return ConstantInt::get(ResultType, MaxVal ? -1ULL : 0);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZFrameLowering.cpp363 int64_t MaxVal = (int64_t(1) << 31) - 8; local
366 else if (ThisVal > MaxVal)
367 ThisVal = MaxVal;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp4669 APInt MaxVal = APInt::getMaxValue(MulWidth); local
4670 MaxVal = MaxVal.zext(CI->getBitWidth());
4671 if (MaxVal.eq(CI->getValue()))
4681 APInt MaxVal = APInt::getOneBitSet(CI->getBitWidth(), MulWidth); local
4682 if (MaxVal.eq(CI->getValue()))
4692 APInt MaxVal = APInt::getMaxValue(MulWidth); local
4693 MaxVal = MaxVal.zext(CI->getBitWidth());
4694 if (MaxVal
4704 APInt MaxVal = APInt::getOneBitSet(CI->getBitWidth(), MulWidth); local
[all...]
H A DInstCombineSelect.cpp1826 APInt MaxVal = APInt::getSignedMaxValue(Ty->getScalarSizeInBits());
1828 match(Max, m_SpecificInt(MaxVal));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp427 int64_t MaxVal, bool AllowTLS);
1451 int64_t MaxVal, bool AllowTLS) {
1462 if ((Value & 1) || Value < MinVal || Value > MaxVal)
1450 parsePCRel(OperandVector &Operands, int64_t MinVal, int64_t MaxVal, bool AllowTLS) argument
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp3794 APInt MinVal, MaxVal; local
3798 MaxVal = APInt::getSignedMaxValue(OperandBitSize);
3801 MaxVal = APInt::getMaxValue(OperandBitSize);
3827 if (C1 == MaxVal)
3852 if (C1 == MaxVal)
3864 if (C1 == MaxVal)
3874 if (C1 == MaxVal-1)
3876 DAG.getConstant(MaxVal, dl, N0.getValueType()),
7380 APInt MaxVal = APInt::getSignedMaxValue(BitWidth);
7382 SDValue SatMax = DAG.getConstant(MaxVal, d
[all...]
H A DLegalizeIntegerTypes.cpp764 APInt MaxVal = APInt::getAllOnesValue(OldBits).zext(NewBits); local
765 SDValue SatMax = DAG.getConstant(MaxVal, dl, PromotedType);
773 APInt MaxVal = APInt::getSignedMaxValue(OldBits).sext(NewBits); local
775 SDValue SatMax = DAG.getConstant(MaxVal, dl, PromotedType);
3181 APInt MaxVal = APInt::getSignedMaxValue(VTSize); local
3183 SDValue SatMax = DAG.getConstant(MaxVal, dl, VT);
3191 APInt MaxVal = APInt::getMaxValue(VTSize); local
3192 SDValue SatMax = DAG.getConstant(MaxVal, dl, VT);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/
H A DInitPreprocessor.cpp169 llvm::APInt MaxVal = isSigned ? llvm::APInt::getSignedMaxValue(TypeWidth) local
171 Builder.defineMacro(MacroName, MaxVal.toString(10, isSigned) + ValSuffix);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp664 int64_t MinVal, MaxVal;
668 MaxVal = ((int64_t(1) << Shift) - 1) * Scale;
671 MaxVal = ((int64_t(1) << Bits) - 1) * Scale;
675 if (Val >= MinVal && Val <= MaxVal && (Val % Scale) == 0)
2387 unsigned MaxVal = IsSVEPrefetch ? 15 : 31; local
2403 if (prfop > MaxVal) {
2404 TokError("prefetch operand out of range, [0," + utostr(MaxVal) +
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h2676 static const uint64_t MaxVal = std::numeric_limits<uint64_t>::max();
2678 static inline FragInfo getEmptyKey() { return {MaxVal, MaxVal}; }
2680 static inline FragInfo getTombstoneKey() { return {MaxVal - 1, MaxVal - 1}; }
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DELFYAML.cpp1045 const uint64_t MaxVal = Is64 ? UINT64_MAX : UINT32_MAX; local
1047 if (getAsUnsignedInteger(Scalar, /*Radix=*/0, UInt) || (UInt > MaxVal))
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp2438 auto MaxVal = APInt::getMaxValue(DstBits).zext(SrcBits); local
2441 ConstantInt::get(Loc->getContext(), MaxVal));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp1390 const unsigned MaxVal,
5628 const unsigned MaxVal,
5638 if (Op[i] < MinVal || Op[i] > MaxVal) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp3771 auto MaxVal = Context.getFixedPointMax(Ty).getValue(); local
3772 if (Literal.isFract && Val == MaxVal + 1 && !ValIsZero)
3778 else if (Val.ugt(MaxVal) || Overflowed)

Completed in 508 milliseconds