Searched refs:IntPtrWidth (Results 1 – 2 of 2) sorted by relevance
33 unsigned IntPtrWidth = IntIdxTy->getScalarType()->getIntegerBitWidth(); in emitGEPOffset() local35 std::numeric_limits<uint64_t>::max() >> (64 - IntPtrWidth); in emitGEPOffset()
1336 unsigned IntPtrWidth = DL.getIndexTypeSizeInBits(GEP.getType()); in accumulateGEPOffset() local1337 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() local2539 APInt Offset = APInt::getZero(IntPtrWidth); in stripAndComputeInBoundsConstantOffsets()