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.cpp1420 unsigned IntPtrWidth = DL.getIndexTypeSizeInBits(GEP.getType()); in accumulateGEPOffset() local
1421 assert(IntPtrWidth == Offset.getBitWidth()); in accumulateGEPOffset()
1438 Offset += APInt(IntPtrWidth, SL->getElementOffset(ElementIdx)); in accumulateGEPOffset()
1442 APInt TypeSize(IntPtrWidth, GTI.getSequentialElementStride(DL)); in accumulateGEPOffset()
1443 Offset += OpC->getValue().sextOrTrunc(IntPtrWidth) * TypeSize; in accumulateGEPOffset()
2635 unsigned IntPtrWidth = DL.getIndexSizeInBits(AS); in stripAndComputeInBoundsConstantOffsets() local
2636 APInt Offset = APInt::getZero(IntPtrWidth); in stripAndComputeInBoundsConstantOffsets()