Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/Analysis/Utils/
H A DLocal.h40 unsigned IntPtrWidth = IntIdxTy->getScalarType()->getIntegerBitWidth(); variable
42 std::numeric_limits<uint64_t>::max() >> (64 - IntPtrWidth);
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DInlineCost.cpp1303 unsigned IntPtrWidth = DL.getIndexTypeSizeInBits(GEP.getType()); in accumulateGEPOffset() local
1304 assert(IntPtrWidth == Offset.getBitWidth()); in accumulateGEPOffset()
1321 Offset += APInt(IntPtrWidth, SL->getElementOffset(ElementIdx)); in accumulateGEPOffset()
1325 APInt TypeSize(IntPtrWidth, DL.getTypeAllocSize(GTI.getIndexedType())); in accumulateGEPOffset()
1326 Offset += OpC->getValue().sextOrTrunc(IntPtrWidth) * TypeSize; in accumulateGEPOffset()
2486 unsigned IntPtrWidth = DL.getIndexSizeInBits(AS); in stripAndComputeInBoundsConstantOffsets() local
2487 APInt Offset = APInt::getZero(IntPtrWidth); in stripAndComputeInBoundsConstantOffsets()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp475 unsigned IntPtrWidth = IntPtrTy->getIntegerBitWidth(); in evaluateGEPOffsetExpression() local
481 IntPtrWidth) { in evaluateGEPOffsetExpression()
489 Offset = SignExtend64(Offset, IntPtrWidth); in evaluateGEPOffsetExpression()
490 VariableScale = SignExtend64(VariableScale, IntPtrWidth); in evaluateGEPOffsetExpression()