/external/llvm/lib/Analysis/ |
D | TypeMetadataUtils.cpp | 55 int64_t GEPOffset = M->getDataLayout().getIndexedOffsetInType( in findLoadCallsAtConstantOffset() local 57 findLoadCallsAtConstantOffset(M, DevirtCalls, User, Offset + GEPOffset); in findLoadCallsAtConstantOffset()
|
D | ValueTracking.cpp | 2771 APInt GEPOffset(BitWidth, 0); in GetPointerBaseWithConstantOffset() local 2772 if (!GEP->accumulateConstantOffset(DL, GEPOffset)) in GetPointerBaseWithConstantOffset() 2775 ByteOffset += GEPOffset; in GetPointerBaseWithConstantOffset()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | TypeMetadataUtils.cpp | 64 int64_t GEPOffset = M->getDataLayout().getIndexedOffsetInType( in findLoadCallsAtConstantOffset() local 66 findLoadCallsAtConstantOffset(M, DevirtCalls, User, Offset + GEPOffset, in findLoadCallsAtConstantOffset()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | TypeMetadataUtils.cpp | 65 int64_t GEPOffset = M->getDataLayout().getIndexedOffsetInType( in findLoadCallsAtConstantOffset() local 67 findLoadCallsAtConstantOffset(M, DevirtCalls, User, Offset + GEPOffset, in findLoadCallsAtConstantOffset()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Value.cpp | 577 APInt GEPOffset(DL.getIndexTypeSizeInBits(V->getType()), 0); in stripAndAccumulateConstantOffsets() local 578 if (!GEP->accumulateConstantOffset(DL, GEPOffset)) in stripAndAccumulateConstantOffsets() 584 if (GEPOffset.getMinSignedBits() > BitWidth) in stripAndAccumulateConstantOffsets() 587 Offset += GEPOffset.sextOrTrunc(BitWidth); in stripAndAccumulateConstantOffsets()
|
/external/llvm-project/llvm/lib/IR/ |
D | Value.cpp | 665 APInt GEPOffset(DL.getIndexTypeSizeInBits(V->getType()), 0); in stripAndAccumulateConstantOffsets() local 666 if (!GEP->accumulateConstantOffset(DL, GEPOffset, ExternalAnalysis)) in stripAndAccumulateConstantOffsets() 672 if (GEPOffset.getMinSignedBits() > BitWidth) in stripAndAccumulateConstantOffsets() 677 APInt GEPOffsetST = GEPOffset.sextOrTrunc(BitWidth); in stripAndAccumulateConstantOffsets()
|
/external/llvm/lib/IR/ |
D | Value.cpp | 512 APInt GEPOffset(Offset); in stripAndAccumulateInBoundsConstantOffsets() local 513 if (!GEP->accumulateConstantOffset(DL, GEPOffset)) in stripAndAccumulateInBoundsConstantOffsets() 515 Offset = GEPOffset; in stripAndAccumulateInBoundsConstantOffsets()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 686 APInt GEPOffset = Offset; in visitGetElementPtrInst() local 699 GEPOffset += in visitGetElementPtrInst() 705 GEPOffset += Index * APInt(Offset.getBitWidth(), in visitGetElementPtrInst() 712 if (GEPOffset.ugt(AllocSize)) in visitGetElementPtrInst() 1517 APInt GEPOffset(Offset.getBitWidth(), 0); in getAdjustedPtr() local 1518 if (!GEP->accumulateConstantOffset(DL, GEPOffset)) in getAdjustedPtr() 1520 Offset += GEPOffset; in getAdjustedPtr()
|
D | IndVarSimplify.cpp | 1850 Value *GEPOffset = Rewriter.expandCodeFor(IVOffset, OfsTy, BI); in genLoopLimit() local 1862 return Builder.CreateGEP(nullptr, GEPBase, GEPOffset, "lftr.limit"); in genLoopLimit()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 736 APInt GEPOffset = Offset; in visitGetElementPtrInst() local 749 GEPOffset += in visitGetElementPtrInst() 755 GEPOffset += Index * APInt(Offset.getBitWidth(), in visitGetElementPtrInst() 762 if (GEPOffset.ugt(AllocSize)) in visitGetElementPtrInst() 1610 APInt GEPOffset(Offset.getBitWidth(), 0); in getAdjustedPtr() local 1611 if (!GEP->accumulateConstantOffset(DL, GEPOffset)) in getAdjustedPtr() 1613 Offset += GEPOffset; in getAdjustedPtr()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 734 APInt GEPOffset = Offset; in visitGetElementPtrInst() local 747 GEPOffset += in visitGetElementPtrInst() 753 GEPOffset += in visitGetElementPtrInst() 762 if (GEPOffset.ugt(AllocSize)) in visitGetElementPtrInst() 1619 APInt GEPOffset(Offset.getBitWidth(), 0); in getAdjustedPtr() local 1620 if (!GEP->accumulateConstantOffset(DL, GEPOffset)) in getAdjustedPtr() 1622 Offset += GEPOffset; in getAdjustedPtr()
|