Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DLocal.cpp33 unsigned IntPtrWidth = IntIdxTy->getScalarType()->getIntegerBitWidth(); in emitGEPOffset() local
35 std::numeric_limits<uint64_t>::max() >> (64 - IntPtrWidth); in emitGEPOffset()
H A DInlineCost.cpp1336 unsigned IntPtrWidth = DL.getIndexTypeSizeInBits(GEP.getType()); in accumulateGEPOffset() local
1337 assert(IntPtrWidth == Offset.getBitWidth()); in accumulateGEPOffset()
1354 Offset += APInt(IntPtrWidth, SL->getElementOffset(ElementIdx)); in accumulateGEPOffset()
1358 APInt TypeSize(IntPtrWidth, DL.getTypeAllocSize(GTI.getIndexedType())); in accumulateGEPOffset()
1359 Offset += OpC->getValue().sextOrTrunc(IntPtrWidth) * TypeSize; in accumulateGEPOffset()
2538 unsigned IntPtrWidth = DL.getIndexSizeInBits(AS); in stripAndComputeInBoundsConstantOffsets() local
2539 APInt Offset = APInt::getZero(IntPtrWidth); in stripAndComputeInBoundsConstantOffsets()