Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/Utils/
DLocal.h40 unsigned IntPtrWidth = IntPtrTy->getScalarType()->getIntegerBitWidth(); variable
42 std::numeric_limits<uint64_t>::max() >> (64 - IntPtrWidth);
/external/llvm/include/llvm/Transforms/Utils/
DLocal.h199 unsigned IntPtrWidth = IntPtrTy->getScalarType()->getIntegerBitWidth(); variable
200 uint64_t PtrSizeMask = ~0ULL >> (64 - IntPtrWidth);
/external/llvm/lib/Analysis/
DInlineCost.cpp308 unsigned IntPtrWidth = DL.getPointerSizeInBits(); in accumulateGEPOffset() local
309 assert(IntPtrWidth == Offset.getBitWidth()); in accumulateGEPOffset()
326 Offset += APInt(IntPtrWidth, SL->getElementOffset(ElementIdx)); in accumulateGEPOffset()
330 APInt TypeSize(IntPtrWidth, DL.getTypeAllocSize(GTI.getIndexedType())); in accumulateGEPOffset()
331 Offset += OpC->getValue().sextOrTrunc(IntPtrWidth) * TypeSize; in accumulateGEPOffset()
1158 unsigned IntPtrWidth = DL.getPointerSizeInBits(); in stripAndComputeInBoundsConstantOffsets() local
1159 APInt Offset = APInt::getNullValue(IntPtrWidth); in stripAndComputeInBoundsConstantOffsets()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DInlineCost.cpp377 unsigned IntPtrWidth = DL.getIndexTypeSizeInBits(GEP.getType()); in accumulateGEPOffset() local
378 assert(IntPtrWidth == Offset.getBitWidth()); in accumulateGEPOffset()
395 Offset += APInt(IntPtrWidth, SL->getElementOffset(ElementIdx)); in accumulateGEPOffset()
399 APInt TypeSize(IntPtrWidth, DL.getTypeAllocSize(GTI.getIndexedType())); in accumulateGEPOffset()
400 Offset += OpC->getValue().sextOrTrunc(IntPtrWidth) * TypeSize; in accumulateGEPOffset()
1626 unsigned IntPtrWidth = DL.getIndexSizeInBits(AS); in stripAndComputeInBoundsConstantOffsets() local
1627 APInt Offset = APInt::getNullValue(IntPtrWidth); in stripAndComputeInBoundsConstantOffsets()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp412 unsigned IntPtrWidth = TD.getPointerSizeInBits(); in EmitGEPOffset() local
413 uint64_t PtrSizeMask = ~0ULL >> (64-IntPtrWidth); in EmitGEPOffset()
DInstCombineCompares.cpp528 unsigned IntPtrWidth = TD.getPointerSizeInBits(); in EvaluateGEPOffsetExpression() local
533 if (VariableIdx->getType()->getPrimitiveSizeInBits() > IntPtrWidth) { in EvaluateGEPOffsetExpression()
542 uint64_t PtrSizeMask = ~0ULL >> (64-IntPtrWidth); in EvaluateGEPOffsetExpression()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp571 unsigned IntPtrWidth = IntPtrTy->getIntegerBitWidth(); in EvaluateGEPOffsetExpression() local
576 if (VariableIdx->getType()->getPrimitiveSizeInBits() > IntPtrWidth) { in EvaluateGEPOffsetExpression()
584 uint64_t PtrSizeMask = ~0ULL >> (64-IntPtrWidth); in EvaluateGEPOffsetExpression()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp513 unsigned IntPtrWidth = IntPtrTy->getIntegerBitWidth(); in evaluateGEPOffsetExpression() local
518 if (VariableIdx->getType()->getPrimitiveSizeInBits() > IntPtrWidth) { in evaluateGEPOffsetExpression()
526 uint64_t PtrSizeMask = ~0ULL >> (64-IntPtrWidth); in evaluateGEPOffsetExpression()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSROA.cpp2902 unsigned IntPtrWidth = DL.getPointerSizeInBits(OtherAS); in visitMemTransferInst() local
2903 APInt OtherOffset(IntPtrWidth, NewBeginOffset - BeginOffset); in visitMemTransferInst()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp2781 unsigned IntPtrWidth = DL.getPointerSizeInBits(OtherAS); in visitMemTransferInst() local
2782 APInt OtherOffset(IntPtrWidth, NewBeginOffset - BeginOffset); in visitMemTransferInst()