|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/CodeGen/BasicTTIImpl.h 375 .getLimitedValue(std::numeric_limits<uint64_t>::max() - 1) + 1;
include/llvm/CodeGen/TargetLowering.h 1026 uint64_t Range = (High - Low).getLimitedValue(UINT64_MAX - 1) + 1;
include/llvm/IR/Constants.h 251 return Val.getLimitedValue(Limit);
lib/Analysis/BasicAliasAnalysis.cpp 350 if (Offset.getBitWidth() < RHS.getLimitedValue() ||
351 Scale.getBitWidth() < RHS.getLimitedValue()) {
357 Offset <<= RHS.getLimitedValue();
358 Scale <<= RHS.getLimitedValue();
lib/Analysis/BlockFrequencyInfo.cpp 248 BFI->setBlockFreq(BB, BBFreq.getLimitedValue());
lib/Analysis/BlockFrequencyInfoImpl.cpp 581 return BlockCount.getLimitedValue();
lib/Analysis/DemandedBits.cpp 186 uint64_t ShiftAmt = ShiftAmtC->getLimitedValue(BitWidth - 1);
203 uint64_t ShiftAmt = ShiftAmtC->getLimitedValue(BitWidth - 1);
217 uint64_t ShiftAmt = ShiftAmtC->getLimitedValue(BitWidth - 1);
363 << Twine::utohexstr(AOut.getLimitedValue()));
466 OS << "DemandedBits: 0x" << Twine::utohexstr(KV.second.getLimitedValue())
lib/Analysis/InstructionSimplify.cpp 1178 if (CI->getValue().getLimitedValue() >=
1231 if (Known.One.getLimitedValue() >= Known.getBitWidth())
2032 const unsigned ShftCnt = ShAmt->getLimitedValue(Width);
lib/Analysis/ValueTracking.cpp 2722 uint64_t BitToSet = Op1Int.getLimitedValue(Op1Int.getBitWidth() - 1);
lib/AsmParser/LLParser.cpp 1506 uint64_t Val64 = Lex.getAPSIntVal().getLimitedValue(0xFFFFFFFFULL+1);
1519 Val = Lex.getAPSIntVal().getLimitedValue();
lib/Bitcode/Writer/BitcodeWriter.cpp 2420 CDS->getElementAsAPFloat(i).bitcastToAPInt().getLimitedValue());
lib/CodeGen/CodeGenPrepare.cpp 1809 uint64_t Offset2 = Offset.getLimitedValue();
lib/CodeGen/MIRParser/MIParser.cpp 1634 uint64_t Val64 = Token.integerValue().getLimitedValue(Limit);
lib/CodeGen/SwitchLoweringUtils.cpp 30 return (HighCase - LowCase).getLimitedValue((UINT64_MAX - 1) / 100) + 1;
72 TotalCases[i] = (Hi - Lo).getLimitedValue() + 1;
211 uint64_t Gap = (Low - PreviousHigh).getLimitedValue() - 1;
215 uint64_t ClusterSize = (High - Low).getLimitedValue() + 1;
lib/DebugInfo/CodeView/RecordSerialization.cpp 122 Num = N.getLimitedValue();
lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp 487 (size_t)(Args[2].IntVal.getLimitedValue()));
lib/IR/Constants.cpp 960 Elts.push_back(CFP->getValueAPF().bitcastToAPInt().getLimitedValue());
2674 NumElts, CFP->getValueAPF().bitcastToAPInt().getLimitedValue());
2679 NumElts, CFP->getValueAPF().bitcastToAPInt().getLimitedValue());
2684 NumElts, CFP->getValueAPF().bitcastToAPInt().getLimitedValue());
lib/IR/Instructions.cpp 497 Type::getInt64Ty(getContext()), Val.udiv(APT).getLimitedValue())));
510 Val.udiv(APT).getLimitedValue())));
lib/MC/MCParser/AsmParser.cpp 3163 getStreamer().EmitIntValue(AsInt.getLimitedValue(),
4801 getStreamer().EmitIntValue(AsInt.getLimitedValue(),
lib/Support/APInt.cpp 961 ashrInPlace((unsigned)shiftAmt.getLimitedValue(BitWidth));
1010 lshrInPlace((unsigned)shiftAmt.getLimitedValue(BitWidth));
1023 *this <<= (unsigned)shiftAmt.getLimitedValue(BitWidth);
1042 return rot.getLimitedValue(BitWidth);
lib/Target/ARM/ARMISelLowering.cpp 7214 unsigned index = constIndex->getAPIntValue().getLimitedValue() %
12452 assert(Shift.getLimitedValue() < 32 && "Shift too large!");
12453 FromMask <<= Shift.getLimitedValue(31);
13960 auto CC = CCNode->getAPIntValue().getLimitedValue();
lib/Target/ARM/ARMTargetTransformInfo.cpp 101 if (Imm.isNonNegative() && Imm.getLimitedValue() < 256)
lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp 589 .bitcastToAPInt().getHiBits(32).getLimitedValue());
lib/Target/AVR/MCTargetDesc/AVRMCCodeEmitter.cpp 260 .getLimitedValue());
lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp 756 .bitcastToAPInt().getHiBits(32).getLimitedValue());
lib/Target/Mips/MipsInstructionSelector.cpp 135 .addImm(Imm.getLoBits(16).getLimitedValue());
141 .addImm(Imm.getHiBits(16).getLimitedValue());
147 .addImm(Imm.getLoBits(16).getLimitedValue());
153 .addImm(Imm.getHiBits(16).getLimitedValue());
155 .addImm(Imm.getLoBits(16).getLimitedValue());
lib/Transforms/InstCombine/InstCombineCasts.cpp 381 if (Amt->getLimitedValue(BitWidth) < BitWidth)
394 if (Amt->getLimitedValue(BitWidth) < BitWidth &&
412 if (Amt->getLimitedValue(BitWidth) < BitWidth &&
lib/Transforms/InstCombine/InstCombineCompares.cpp 2148 unsigned Amt = ShiftAmt->getLimitedValue(TypeBits - 1);
2185 unsigned ShAmtVal = ShiftAmt->getLimitedValue(TypeBits);
3049 unsigned Num = C.getLimitedValue(BitWidth);
3121 unsigned Num = C.getLimitedValue();
3130 unsigned Num = C.getLimitedValue();
3144 APInt Mask = APInt::getLowBitsSet(BitWidth, C.getLimitedValue() + 1);
3153 APInt Mask = APInt::getLowBitsSet(BitWidth, C.getLimitedValue());
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp 738 C1->getBitWidth(), static_cast<unsigned>(C1->getLimitedValue()));
lib/Transforms/InstCombine/InstCombineShifts.cpp 699 unsigned Op1Val = Op1C->getLimitedValue(TypeBits);
734 unsigned Op1Val = Op1C->getLimitedValue(TypeBits);
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp 475 uint64_t ShiftAmt = SA->getLimitedValue(BitWidth-1);
499 uint64_t ShiftAmt = SA->getLimitedValue(BitWidth-1);
538 uint32_t ShiftAmt = SA->getLimitedValue(BitWidth-1);
lib/Transforms/Instrumentation/AddressSanitizer.cpp 1056 const uint64_t SizeValue = Size->getValue().getLimitedValue();
lib/Transforms/Scalar/ConstantHoisting.cpp 426 ConstantInt::get(Type::getInt32Ty(*Ctx), Offset.getLimitedValue()),
515 uint64_t LimVal1 = V1.getLimitedValue();
516 uint64_t LimVal2 = V2.getLimitedValue();
lib/Transforms/Scalar/SROA.cpp 845 : AllocSize - Offset.getLimitedValue(),
883 uint64_t RawOffset = Offset.getLimitedValue();
935 uint64_t Size = std::min(AllocSize - Offset.getLimitedValue(),
lib/Transforms/Utils/Evaluator.cpp 532 Size->getValue().getLimitedValue() >=
lib/Transforms/Utils/SimplifyCFG.cpp 4994 uint64_t Idx = (CaseVal->getValue() - Offset->getValue()).getLimitedValue();
5362 uint64_t TableSize = RangeSpread.getLimitedValue() + 1;
5451 .getLimitedValue();
tools/clang/lib/AST/ExprConstant.cpp 2533 unsigned SA = (unsigned) RHS.getLimitedValue(LHS.getBitWidth()-1);
2566 unsigned SA = (unsigned) RHS.getLimitedValue(LHS.getBitWidth()-1);
6460 size_t Size = Ty->getSize().getLimitedValue();
tools/clang/lib/AST/MicrosoftMangle.cpp 2555 mangleNumber(Dimension.getLimitedValue());
tools/clang/lib/CodeGen/CGDecl.cpp 1181 Value = AP.getLimitedValue();
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp 2418 HasChunkSizeOne = (EvaluatedChunk.getLimitedValue() == 1);
tools/clang/lib/Lex/PPExpressions.cpp 695 unsigned ShAmt = static_cast<unsigned>(RHS.Val.getLimitedValue());
tools/clang/lib/Lex/Preprocessor.cpp 1357 Value = APVal.getLimitedValue();
tools/clang/lib/Sema/SemaChecking.cpp 1672 TV = Result.getLimitedValue(64);
13338 << (unsigned)size.getLimitedValue(~0U)
tools/clang/lib/Sema/SemaDeclAttr.cpp 345 unsigned IdxSource = IdxInt.getLimitedValue(UINT_MAX);
5496 unsigned Num = NumParams.getLimitedValue(255);
tools/clang/lib/Sema/SemaExpr.cpp 9850 llvm::APSInt Result = Left.extend(ResultBits.getLimitedValue());
tools/clang/lib/Sema/SemaExprCXX.cpp 5320 Dim = Value.getLimitedValue();
5336 return CAT->getSize().getLimitedValue();
tools/clang/lib/Sema/SemaInit.cpp 8533 const uint64_t SamplerValue = Result.getLimitedValue();
tools/clang/lib/Sema/SemaOpenMP.cpp 6908 NestedLoopCount = Result.Val.getInt().getLimitedValue();
6922 if (Result.getLimitedValue() < NestedLoopCount) {
6930 OrderedLoopCount = Result.getLimitedValue();
tools/clang/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp 452 uint64_t NumberKind = V->getValue().getLimitedValue();
tools/clang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp 364 std::to_string(S->getRHS().getLimitedValue()) +
tools/clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp 490 RangeIntTy IntMax = BVF.getMaxValue(IntTy).getLimitedValue();
491 RangeIntTy LongMax = BVF.getMaxValue(LongTy).getLimitedValue();
492 RangeIntTy LongLongMax = BVF.getMaxValue(LongLongTy).getLimitedValue();
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp 885 Length = ExtentInt.getLimitedValue() * SVB.getContext().getCharWidth();
tools/clang/tools/extra/clang-tidy/abseil/DurationFactoryScaleCheck.cpp 46 return IntLit->getValue().getLimitedValue();
tools/clang/tools/extra/clang-tidy/bugprone/StringIntegerAssignmentCheck.cpp 159 IsOneDigit = Literal->getValue().getLimitedValue() < 10;
tools/clang/tools/extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp 141 Value = Literal->getValue().getLimitedValue();
148 .getLimitedValue();
tools/lldb/source/Expression/IRInterpreter.cpp 174 return AssignToMatchType(scalar, value_apint.getLimitedValue(),
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxBitset.cpp 69 size = arg->value.getLimitedValue(capping_size);
tools/lldb/source/Symbol/ClangASTContext.cpp 1719 bitfield_bit_size = bit_width_apsint.getLimitedValue(UINT32_MAX);
2844 .getLimitedValue(ULLONG_MAX);
3002 .getLimitedValue();
5631 .getLimitedValue();
5944 *bitfield_bit_size_ptr = bitfield_apsint.getLimitedValue();
6005 *bitfield_bit_size_ptr = bitfield_apsint.getLimitedValue();
9202 const uint64_t element_count = array->getSize().getLimitedValue();
tools/polly/lib/CodeGen/IslNodeBuilder.cpp 1461 .getLimitedValue();
unittests/Analysis/ScalarEvolutionTest.cpp 864 EXPECT_EQ(cast<SCEVConstant>(EC)->getAPInt().getLimitedValue(), 999u);
874 EXPECT_EQ(cast<SCEVConstant>(ARAtLoopExit)->getAPInt().getLimitedValue(),
888 EXPECT_EQ(cast<SCEVConstant>(NewEC)->getAPInt().getLimitedValue(), 1999u);
892 EXPECT_EQ(cast<SCEVConstant>(NewARAtLoopExit)->getAPInt().getLimitedValue(),
977 EXPECT_EQ(cast<SCEVConstant>(NewEC)->getAPInt().getLimitedValue(), 1999u);
unittests/Analysis/ValueLatticeTest.cpp 54 EXPECT_EQ(LV1.asConstantInteger().getValue().getLimitedValue(), 1U);
60 EXPECT_EQ(LV1.getConstantRange().getLower().getLimitedValue(), 1U);
61 EXPECT_EQ(LV1.getConstantRange().getUpper().getLimitedValue(), 100U);
66 EXPECT_EQ(LV1.getConstantRange().getLower().getLimitedValue(), 1U);
67 EXPECT_EQ(LV1.getConstantRange().getUpper().getLimitedValue(), 100U);
73 EXPECT_EQ(LV1.getConstantRange().getLower().getLimitedValue(), 1U);
74 EXPECT_EQ(LV1.getConstantRange().getUpper().getLimitedValue(), 100U);
76 EXPECT_EQ(LV2.getConstantRange().getLower().getLimitedValue(), 1U);
77 EXPECT_EQ(LV2.getConstantRange().getUpper().getLimitedValue(), 100U);
unittests/CodeGen/GlobalISel/ConstantFoldingTest.cpp 87 EXPECT_EQ(25ULL, FoldGAddInt.getValue().getLimitedValue());
92 EXPECT_EQ(1073741840ULL, FoldGAddMix.getValue().getLimitedValue());
99 EXPECT_EQ(0ULL, FoldGAndInt.getValue().getLimitedValue());
104 EXPECT_EQ(1ULL, FoldGAndMix.getValue().getLimitedValue());
111 EXPECT_EQ(0ULL, FoldGAShrInt.getValue().getLimitedValue());
116 EXPECT_EQ(2097152ULL, FoldGAShrMix.getValue().getLimitedValue());
123 EXPECT_EQ(0ULL, FoldGLShrInt.getValue().getLimitedValue());
128 EXPECT_EQ(2080768ULL, FoldGLShrMix.getValue().getLimitedValue());
135 EXPECT_EQ(144ULL, FoldGMulInt.getValue().getLimitedValue());
140 EXPECT_EQ(0ULL, FoldGMulMix.getValue().getLimitedValue());
147 EXPECT_EQ(25ULL, FoldGOrInt.getValue().getLimitedValue());
152 EXPECT_EQ(1073741840ULL, FoldGOrMix.getValue().getLimitedValue());
159 EXPECT_EQ(8192ULL, FoldGShlInt.getValue().getLimitedValue());
164 EXPECT_EQ(0ULL, FoldGShlMix.getValue().getLimitedValue());
171 EXPECT_EQ(7ULL, FoldGSubInt.getValue().getLimitedValue());
176 EXPECT_EQ(3221225488ULL, FoldGSubMix.getValue().getLimitedValue());
183 EXPECT_EQ(25ULL, FoldGXorInt.getValue().getLimitedValue());
188 EXPECT_EQ(1073741840ULL, FoldGXorMix.getValue().getLimitedValue());
195 EXPECT_EQ(1ULL, FoldGUdivInt.getValue().getLimitedValue());
200 EXPECT_EQ(0ULL, FoldGUdivMix.getValue().getLimitedValue());
207 EXPECT_EQ(1ULL, FoldGSdivInt.getValue().getLimitedValue());
212 EXPECT_EQ(0ULL, FoldGSdivMix.getValue().getLimitedValue());
219 EXPECT_EQ(1ULL, FoldGUremInt.getValue().getLimitedValue());
224 EXPECT_EQ(0ULL, FoldGUremMix.getValue().getLimitedValue());
231 EXPECT_EQ(7ULL, FoldGSremInt.getValue().getLimitedValue());
236 EXPECT_EQ(16ULL, FoldGSremMix.getValue().getLimitedValue());
unittests/tools/llvm-exegesis/X86/SnippetFileTest.cpp 62 arg.Value.getLimitedValue() == static_cast<uint64_t>(Val))
66 << arg.Value.getLimitedValue() << "}";