Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineCost.cpp1533 unsigned IntPtrWidth = DL.getIndexTypeSizeInBits(GEP.getType()); in accumulateGEPOffset() local
1534 assert(IntPtrWidth == Offset.getBitWidth()); in accumulateGEPOffset()
1549 Offset += APInt(IntPtrWidth, SL->getElementOffset(ElementIdx)); in accumulateGEPOffset()
1553 APInt TypeSize(IntPtrWidth, GTI.getSequentialElementStride(DL)); in accumulateGEPOffset()
1554 Offset += OpC->getValue().sextOrTrunc(IntPtrWidth) * TypeSize; in accumulateGEPOffset()
2829 unsigned IntPtrWidth = DL.getIndexSizeInBits(AS); in stripAndComputeInBoundsConstantOffsets() local
2830 APInt Offset = APInt::getZero(IntPtrWidth); in stripAndComputeInBoundsConstantOffsets()