Home
last modified time | relevance | path

Searched refs:IntMax (Results 1 – 8 of 8) sorted by relevance

/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DStdLibraryFunctionsChecker.cpp1289 const RangeInt IntMax = BVF.getMaxValue(IntTy).getLimitedValue(); in initFunctionSummaries() local
1302 std::min(BVF.getMaxValue(ACtx.UnsignedCharTy).getLimitedValue(), IntMax); in initFunctionSummaries()
1745 ConstraintSet{ReturnValueCondition(WithinRange, Range(0, IntMax))}; in initFunctionSummaries()
1749 ConstraintSet{ReturnValueCondition(WithinRange, Range(-1, IntMax))}; in initFunctionSummaries()
1912 ArgumentCondition(0, WithinRange, Range(0, IntMax)))); in initFunctionSummaries()
1920 .ArgConstraint(ArgumentCondition(0, WithinRange, Range(0, IntMax))) in initFunctionSummaries()
1922 ArgumentCondition(1, WithinRange, Range(0, IntMax)))); in initFunctionSummaries()
1931 0, WithinRange, Range(0, IntMax)))); in initFunctionSummaries()
1948 0, WithinRange, Range(0, IntMax)))); in initFunctionSummaries()
1980 .ArgConstraint(ArgumentCondition(1, WithinRange, Range(0, IntMax))) in initFunctionSummaries()
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_flags_test.cpp117 s64 IntMax = INT64_MAX; in TEST() local
123 TestFlag(InitValue, "flag_name=9223372036854775807", IntMax); in TEST()
126 TestFlag(InitValue, "flag_name=92233720368547758070000", IntMax); in TEST()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfExpression.cpp351 uint64_t IntMax = static_cast<uint64_t>(std::numeric_limits<int>::max()); in addMachineRegExpression() local
352 if (Offset <= IntMax) { in addMachineRegExpression()
363 uint64_t IntMax = static_cast<uint64_t>(std::numeric_limits<int>::max()); in addMachineRegExpression() local
365 if (N && N->getOp() == dwarf::DW_OP_plus && Offset <= IntMax) { in addMachineRegExpression()
369 !SubRegisterSizeInBits && Offset <= IntMax + 1) { in addMachineRegExpression()
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonAsmBackend.cpp398 const APInt IntMax = APInt::getSignedMaxValue(bits+align_bits); in HandleFixupError() local
405 IntMax.getSExtValue() << in HandleFixupError()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp3058 uint64_t IntMax = maxIntN(IntBits); in emitSnPrintfMemCpy() local
3059 if (Str.size() > IntMax) in emitSnPrintfMemCpy()
3109 uint64_t IntMax = maxIntN(TLI->getIntSize()); in optimizeSnPrintFString() local
3110 if (N > IntMax) in optimizeSnPrintFString()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DValueTracking.cpp7174 APInt IntMax = APInt::getSignedMaxValue(Width); in setLimitsForBinOp() local
7179 Upper = IntMax + 1; in setLimitsForBinOp()
7184 Upper = IntMax.sdiv(*C); in setLimitsForBinOp()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGBuiltin.cpp1948 auto IntMax = llvm::APInt::getSignedMaxValue(ResultInfo.Width); in EmitCheckedUnsignedMultiplySignedResult() local
1949 llvm::Value *IntMaxValue = llvm::ConstantInt::get(Result->getType(), IntMax); in EmitCheckedUnsignedMultiplySignedResult()
2020 auto IntMax = in EmitCheckedMixedSignMultiply() local
2023 CGF.Builder.CreateAdd(llvm::ConstantInt::get(OpTy, IntMax), in EmitCheckedMixedSignMultiply()
2040 auto IntMax = in EmitCheckedMixedSignMultiply() local
2043 UnsignedResult, llvm::ConstantInt::get(OpTy, IntMax)); in EmitCheckedMixedSignMultiply()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp6706 SDValue IntMax = DAG.getConstant( in prepareSREMEqFold() local
6716 SDValue Masked = DAG.getNode(ISD::AND, DL, VT, N, IntMax); in prepareSREMEqFold()