Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/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);
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()