Home
last modified time | relevance | path

Searched refs:IndexWidth (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalSplit.cpp52 unsigned IndexWidth = DL.getIndexTypeSizeInBits(GV.getType()); in splitGlobal() local
75 APInt Offset(IndexWidth, 0); in splitGlobal()
80 ConstantRange SrcInRange = InRange->sextOrTrunc(IndexWidth).add(Offset); in splitGlobal()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DDAGISelMatcherEmitter.cpp32 IndexWidth = 6, enumerator
33 FullIndexWidth = IndexWidth + 4,
440 OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/"; in EmitMatcher()
465 OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/"; in EmitMatcher()
613 OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/"; in EmitMatcher()
643 OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/"; in EmitMatcher()
1101 OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/"; in EmitMatcherList()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp1474 unsigned IndexWidth = Q.DL.getIndexTypeSizeInBits(I->getType()); in computeKnownBitsFromOperator() local
1475 APInt AccConstIndices(IndexWidth, 0); in computeKnownBitsFromOperator()
1478 if (IndexWidth == BitWidth) { in computeKnownBitsFromOperator()
1485 assert(IndexWidth < BitWidth && in computeKnownBitsFromOperator()
1487 Known.insertBits(KnownBits::add(Known.trunc(IndexWidth), IndexBits), 0); in computeKnownBitsFromOperator()
1533 CI->getValue().sextOrTrunc(IndexWidth) * StrideInBytes; in computeKnownBitsFromOperator()
1539 computeKnownBits(Index, Q, Depth + 1).sextOrTrunc(IndexWidth); in computeKnownBitsFromOperator()
1540 KnownBits ScalingFactor(IndexWidth); in computeKnownBitsFromOperator()
1549 KnownBits::makeConstant(APInt(IndexWidth, StrideInBytes)); in computeKnownBitsFromOperator()
3807 unsigned IndexWidth = Q.DL.getIndexTypeSizeInBits(Start->getType()); in isNonEqualPointersWithRecursiveGEP() local
[all …]
H A DConstantFolding.cpp1272 unsigned IndexWidth = DL.getIndexTypeSizeInBits(Ops0->getType()); in ConstantFoldCompareInstOperands() local
1273 APInt Offset0(IndexWidth, 0); in ConstantFoldCompareInstOperands()
1279 APInt Offset1(IndexWidth, 0); in ConstantFoldCompareInstOperands()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp4471 unsigned IndexWidth = in parseValID() local
4473 InRangeStart = InRangeStart.extOrTrunc(IndexWidth); in parseValID()
4474 InRangeEnd = InRangeEnd.extOrTrunc(IndexWidth); in parseValID()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DVerifier.cpp4252 ElementCount IndexWidth = IndexVTy->getElementCount(); in visitGetElementPtrInst() local
4253 Check(IndexWidth == GEPWidth, "Invalid GEP index vector width", &GEP); in visitGetElementPtrInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp56720 unsigned IndexWidth = Index.getScalarValueSizeInBits(); in combineGatherScatter() local
56732 unsigned MaskBits = IndexWidth - Log2ScaleAmt; in combineGatherScatter()
56733 APInt DemandedBits = APInt::getLowBitsSet(IndexWidth, MaskBits); in combineGatherScatter()
56759 if (IndexWidth > 32 && DAG.ComputeNumSignBits(Index) > (IndexWidth - 32)) { in combineGatherScatter()
56836 if (IndexWidth != 32 && IndexWidth != 64) { in combineGatherScatter()
56837 MVT EltVT = IndexWidth > 32 ? MVT::i64 : MVT::i32; in combineGatherScatter()