| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ConversionChecker.cpp | 176 unsigned long long MaxVal = 1ULL << RepresentsUntilExp; in isLossOfPrecision() local 179 MaxVal++; in isLossOfPrecision() 181 return C.isGreaterOrEqual(Cast->getSubExpr(), MaxVal); in isLossOfPrecision()
|
| /freebsd-12.1/contrib/llvm/lib/Target/SystemZ/ |
| H A D | SystemZFrameLowering.cpp | 328 int64_t MaxVal = (int64_t(1) << 31) - 8; in emitIncrement() local 331 else if (ThisVal > MaxVal) in emitIncrement() 332 ThisVal = MaxVal; in emitIncrement()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/ |
| H A D | LiteralSupport.cpp | 1161 auto MaxVal = llvm::APInt::getMaxValue(StoreVal.getBitWidth()); in GetFixedPointValue() local 1163 IntOverflowOccurred |= Val.ugt(MaxVal.zext(Val.getBitWidth())); in GetFixedPointValue() 1166 IntOverflowOccurred |= Val.zext(MaxVal.getBitWidth()).ugt(MaxVal); in GetFixedPointValue()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | MemoryBuiltins.cpp | 452 bool MaxVal = cast<ConstantInt>(ObjectSize->getArgOperand(1))->isZero(); in lowerObjectSizeCall() local 458 MaxVal ? ObjectSizeOpts::Mode::Max : ObjectSizeOpts::Mode::Min; in lowerObjectSizeCall() 476 return ConstantInt::get(ResultType, MaxVal ? -1ULL : 0); in lowerObjectSizeCall()
|
| H A D | ScalarEvolutionExpander.cpp | 2231 auto MaxVal = APInt::getMaxValue(DstBits).zext(SrcBits); in generateOverflowCheck() local 2234 ConstantInt::get(Loc->getContext(), MaxVal)); in generateOverflowCheck()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 4033 APInt MaxVal = APInt::getMaxValue(MulWidth); in processUMulZExtIdiom() local 4034 MaxVal = MaxVal.zext(CI->getBitWidth()); in processUMulZExtIdiom() 4035 if (MaxVal.eq(CI->getValue())) in processUMulZExtIdiom() 4045 APInt MaxVal = APInt::getOneBitSet(CI->getBitWidth(), MulWidth); in processUMulZExtIdiom() local 4046 if (MaxVal.eq(CI->getValue())) in processUMulZExtIdiom() 4056 APInt MaxVal = APInt::getMaxValue(MulWidth); in processUMulZExtIdiom() local 4057 MaxVal = MaxVal.zext(CI->getBitWidth()); in processUMulZExtIdiom() 4058 if (MaxVal.eq(CI->getValue())) in processUMulZExtIdiom() 4068 APInt MaxVal = APInt::getOneBitSet(CI->getBitWidth(), MulWidth); in processUMulZExtIdiom() local 4069 if (MaxVal.eq(CI->getValue())) in processUMulZExtIdiom()
|
| /freebsd-12.1/contrib/llvm/lib/Target/SystemZ/AsmParser/ |
| H A D | SystemZAsmParser.cpp | 431 int64_t MaxVal, bool AllowTLS); 1298 int64_t MaxVal, bool AllowTLS) { in parsePCRel() argument 1310 if ((Value & 1) || Value < MinVal || Value > MaxVal) { in parsePCRel()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 2611 APInt MinVal, MaxVal; in SimplifySetCC() local 2615 MaxVal = APInt::getSignedMaxValue(OperandBitSize); in SimplifySetCC() 2618 MaxVal = APInt::getMaxValue(OperandBitSize); in SimplifySetCC() 2644 if (C1 == MaxVal) in SimplifySetCC() 2669 if (C1 == MaxVal) in SimplifySetCC() 2681 if (C1 == MaxVal) in SimplifySetCC() 2691 if (C1 == MaxVal-1) in SimplifySetCC() 5336 APInt MaxVal = APInt::getMaxValue(BitWidth); in expandAddSubSat() local 5337 SDValue SatMax = DAG.getConstant(MaxVal, dl, ResultType); in expandAddSubSat() 5348 APInt MaxVal = APInt::getSignedMaxValue(BitWidth); in expandAddSubSat() local [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 169 llvm::APInt MaxVal = isSigned ? llvm::APInt::getSignedMaxValue(TypeWidth) in DefineTypeSize() local 171 Builder.defineMacro(MacroName, MaxVal.toString(10, isSigned) + ValSuffix); in DefineTypeSize()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AArch64/AsmParser/ |
| H A D | AArch64AsmParser.cpp | 658 int64_t MinVal, MaxVal; in isImmScaled() local 662 MaxVal = ((int64_t(1) << Shift) - 1) * Scale; in isImmScaled() 665 MaxVal = ((int64_t(1) << Bits) - 1) * Scale; in isImmScaled() 669 if (Val >= MinVal && Val <= MaxVal && (Val % Scale) == 0) in isImmScaled() 2379 unsigned MaxVal = IsSVEPrefetch ? 15 : 31; in tryParsePrefetch() local 2395 if (prfop > MaxVal) { in tryParsePrefetch() 2396 TokError("prefetch operand out of range, [0," + utostr(MaxVal) + in tryParsePrefetch()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/AsmParser/ |
| H A D | AMDGPUAsmParser.cpp | 1116 const unsigned MaxVal, 4298 const unsigned MaxVal, in parseSwizzleOperands() argument 4308 if (Op[i] < MinVal || Op[i] > MaxVal) { in parseSwizzleOperands()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaExpr.cpp | 3416 auto MaxVal = Context.getFixedPointMax(Ty).getValue(); in ActOnNumericConstant() local 3417 if (Literal.isFract && Val == MaxVal + 1 && !ValIsZero) in ActOnNumericConstant() 3423 else if (Val.ugt(MaxVal) || Overflowed) in ActOnNumericConstant()
|