Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/Utils/
DLocal.h40 unsigned IntPtrWidth = IntIdxTy->getScalarType()->getIntegerBitWidth(); variable
42 std::numeric_limits<uint64_t>::max() >> (64 - IntPtrWidth);
/external/llvm-project/llvm/include/llvm/Analysis/Utils/
DLocal.h40 unsigned IntPtrWidth = IntIdxTy->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-10.0/llvm/lib/Analysis/
DInlineCost.cpp675 unsigned IntPtrWidth = DL.getIndexTypeSizeInBits(GEP.getType()); in accumulateGEPOffset() local
676 assert(IntPtrWidth == Offset.getBitWidth()); in accumulateGEPOffset()
693 Offset += APInt(IntPtrWidth, SL->getElementOffset(ElementIdx)); in accumulateGEPOffset()
697 APInt TypeSize(IntPtrWidth, DL.getTypeAllocSize(GTI.getIndexedType())); in accumulateGEPOffset()
698 Offset += OpC->getValue().sextOrTrunc(IntPtrWidth) * TypeSize; in accumulateGEPOffset()
1830 unsigned IntPtrWidth = DL.getIndexSizeInBits(AS); in stripAndComputeInBoundsConstantOffsets() local
1831 APInt Offset = APInt::getNullValue(IntPtrWidth); in stripAndComputeInBoundsConstantOffsets()
/external/llvm-project/llvm/lib/Analysis/
DInlineCost.cpp810 unsigned IntPtrWidth = DL.getIndexTypeSizeInBits(GEP.getType()); in accumulateGEPOffset() local
811 assert(IntPtrWidth == Offset.getBitWidth()); in accumulateGEPOffset()
828 Offset += APInt(IntPtrWidth, SL->getElementOffset(ElementIdx)); in accumulateGEPOffset()
832 APInt TypeSize(IntPtrWidth, DL.getTypeAllocSize(GTI.getIndexedType())); in accumulateGEPOffset()
833 Offset += OpC->getValue().sextOrTrunc(IntPtrWidth) * TypeSize; in accumulateGEPOffset()
2003 unsigned IntPtrWidth = DL.getIndexSizeInBits(AS); in stripAndComputeInBoundsConstantOffsets() local
2004 APInt Offset = APInt::getNullValue(IntPtrWidth); in stripAndComputeInBoundsConstantOffsets()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp484 unsigned IntPtrWidth = IntPtrTy->getIntegerBitWidth(); in evaluateGEPOffsetExpression() local
489 if (VariableIdx->getType()->getPrimitiveSizeInBits() > IntPtrWidth) { in evaluateGEPOffsetExpression()
497 Offset = SignExtend64(Offset, IntPtrWidth); in evaluateGEPOffsetExpression()
498 VariableScale = SignExtend64(VariableScale, IntPtrWidth); in evaluateGEPOffsetExpression()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp485 unsigned IntPtrWidth = IntPtrTy->getIntegerBitWidth(); in evaluateGEPOffsetExpression() local
491 IntPtrWidth) { in evaluateGEPOffsetExpression()
499 Offset = SignExtend64(Offset, IntPtrWidth); in evaluateGEPOffsetExpression()
500 VariableScale = SignExtend64(VariableScale, 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/llvm/lib/Transforms/Scalar/
DSROA.cpp2781 unsigned IntPtrWidth = DL.getPointerSizeInBits(OtherAS); in visitMemTransferInst() local
2782 APInt OtherOffset(IntPtrWidth, NewBeginOffset - BeginOffset); in visitMemTransferInst()