Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineCost.cpp1410 unsigned IntPtrWidth = DL.getIndexTypeSizeInBits(GEP.getType()); in accumulateGEPOffset() local
1411 assert(IntPtrWidth == Offset.getBitWidth()); in accumulateGEPOffset()
1428 Offset += APInt(IntPtrWidth, SL->getElementOffset(ElementIdx)); in accumulateGEPOffset()
1432 APInt TypeSize(IntPtrWidth, GTI.getSequentialElementStride(DL)); in accumulateGEPOffset()
1433 Offset += OpC->getValue().sextOrTrunc(IntPtrWidth) * TypeSize; in accumulateGEPOffset()
2627 unsigned IntPtrWidth = DL.getIndexSizeInBits(AS); in stripAndComputeInBoundsConstantOffsets() local
2628 APInt Offset = APInt::getZero(IntPtrWidth); in stripAndComputeInBoundsConstantOffsets()