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

/freebsd-12-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-12-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp509 bool MaxVal = cast<ConstantInt>(ObjectSize->getArgOperand(1))->isZero(); local
515 MaxVal ? ObjectSizeOpts::Mode::Max : ObjectSizeOpts::Mode::Min;
556 return ConstantInt::get(ResultType, MaxVal ? -1ULL : 0);
H A DScalarEvolutionExpander.cpp2321 auto MaxVal = APInt::getMaxValue(DstBits).zext(SrcBits); local
2324 ConstantInt::get(Loc->getContext(), MaxVal));
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZFrameLowering.cpp405 int64_t MaxVal = (int64_t(1) << 31) - 8; local
408 else if (ThisVal > MaxVal)
409 ThisVal = MaxVal;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp431 int64_t MaxVal, bool AllowTLS);
1299 int64_t MaxVal, bool AllowTLS) {
1310 if ((Value & 1) || Value < MinVal || Value > MaxVal)
1298 parsePCRel(OperandVector &Operands, int64_t MinVal, int64_t MaxVal, bool AllowTLS) argument
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp4665 APInt MaxVal = APInt::getMaxValue(MulWidth); local
4666 MaxVal = MaxVal.zext(CI->getBitWidth());
4667 if (MaxVal.eq(CI->getValue()))
4677 APInt MaxVal = APInt::getOneBitSet(CI->getBitWidth(), MulWidth); local
4678 if (MaxVal.eq(CI->getValue()))
4688 APInt MaxVal = APInt::getMaxValue(MulWidth); local
4689 MaxVal = MaxVal.zext(CI->getBitWidth());
4690 if (MaxVal
4700 APInt MaxVal = APInt::getOneBitSet(CI->getBitWidth(), MulWidth); local
[all...]
H A DInstCombineSelect.cpp1783 APInt MaxVal = APInt::getSignedMaxValue(Ty->getScalarSizeInBits());
1785 match(Max, m_SpecificInt(MaxVal));
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp3560 APInt MinVal, MaxVal; local
3564 MaxVal = APInt::getSignedMaxValue(OperandBitSize);
3567 MaxVal = APInt::getMaxValue(OperandBitSize);
3593 if (C1 == MaxVal)
3618 if (C1 == MaxVal)
3630 if (C1 == MaxVal)
3640 if (C1 == MaxVal-1)
3642 DAG.getConstant(MaxVal, dl, N0.getValueType()),
7167 APInt MaxVal = APInt::getSignedMaxValue(BitWidth);
7169 SDValue SatMax = DAG.getConstant(MaxVal, d
[all...]
H A DLegalizeIntegerTypes.cpp738 APInt MaxVal = APInt::getAllOnesValue(OldBits).zext(NewBits); local
739 SDValue SatMax = DAG.getConstant(MaxVal, dl, PromotedType);
747 APInt MaxVal = APInt::getSignedMaxValue(OldBits).sext(NewBits); local
749 SDValue SatMax = DAG.getConstant(MaxVal, dl, PromotedType);
3058 APInt MaxVal = APInt::getSignedMaxValue(VTSize); local
3060 SDValue SatMax = DAG.getConstant(MaxVal, dl, VT);
3068 APInt MaxVal = APInt::getMaxValue(VTSize); local
3069 SDValue SatMax = DAG.getConstant(MaxVal, dl, VT);
/freebsd-12-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-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp660 int64_t MinVal, MaxVal;
664 MaxVal = ((int64_t(1) << Shift) - 1) * Scale;
667 MaxVal = ((int64_t(1) << Bits) - 1) * Scale;
671 if (Val >= MinVal && Val <= MaxVal && (Val % Scale) == 0)
2368 unsigned MaxVal = IsSVEPrefetch ? 15 : 31; local
2384 if (prfop > MaxVal) {
2385 TokError("prefetch operand out of range, [0," + utostr(MaxVal) +
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h2607 static const uint64_t MaxVal = std::numeric_limits<uint64_t>::max();
2609 static inline FragInfo getEmptyKey() { return {MaxVal, MaxVal}; }
2611 static inline FragInfo getTombstoneKey() { return {MaxVal - 1, MaxVal - 1}; }
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp1368 const unsigned MaxVal,
5472 const unsigned MaxVal,
5482 if (Op[i] < MinVal || Op[i] > MaxVal) {
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp3664 auto MaxVal = Context.getFixedPointMax(Ty).getValue(); local
3665 if (Literal.isFract && Val == MaxVal + 1 && !ValIsZero)
3671 else if (Val.ugt(MaxVal) || Overflowed)

Completed in 530 milliseconds