Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Transforms/Utils/
DLocal.h204 unsigned IntPtrWidth = IntPtrTy->getScalarType()->getIntegerBitWidth(); variable
205 uint64_t PtrSizeMask = ~0ULL >> (64 - IntPtrWidth);
/external/llvm/lib/Analysis/
DInlineCost.cpp264 unsigned IntPtrWidth = DL.getPointerSizeInBits(); in accumulateGEPOffset() local
265 assert(IntPtrWidth == Offset.getBitWidth()); in accumulateGEPOffset()
281 Offset += APInt(IntPtrWidth, SL->getElementOffset(ElementIdx)); in accumulateGEPOffset()
285 APInt TypeSize(IntPtrWidth, DL.getTypeAllocSize(GTI.getIndexedType())); in accumulateGEPOffset()
286 Offset += OpC->getValue().sextOrTrunc(IntPtrWidth) * TypeSize; in accumulateGEPOffset()
1032 unsigned IntPtrWidth = DL.getPointerSizeInBits(); in stripAndComputeInBoundsConstantOffsets() local
1033 APInt Offset = APInt::getNullValue(IntPtrWidth); in stripAndComputeInBoundsConstantOffsets()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp564 unsigned IntPtrWidth = IntPtrTy->getIntegerBitWidth(); in EvaluateGEPOffsetExpression() local
569 if (VariableIdx->getType()->getPrimitiveSizeInBits() > IntPtrWidth) { in EvaluateGEPOffsetExpression()
577 uint64_t PtrSizeMask = ~0ULL >> (64-IntPtrWidth); in EvaluateGEPOffsetExpression()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp2797 unsigned IntPtrWidth = DL.getPointerSizeInBits(OtherAS); in visitMemTransferInst() local
2798 APInt OtherOffset(IntPtrWidth, NewBeginOffset - BeginOffset); in visitMemTransferInst()