Home
last modified time | relevance | path

Searched refs:GEPOffset (Results 1 – 11 of 11) sorted by relevance

/external/llvm/lib/Analysis/
DTypeMetadataUtils.cpp55 int64_t GEPOffset = M->getDataLayout().getIndexedOffsetInType( in findLoadCallsAtConstantOffset() local
57 findLoadCallsAtConstantOffset(M, DevirtCalls, User, Offset + GEPOffset); in findLoadCallsAtConstantOffset()
DValueTracking.cpp2771 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/
DTypeMetadataUtils.cpp64 int64_t GEPOffset = M->getDataLayout().getIndexedOffsetInType( in findLoadCallsAtConstantOffset() local
66 findLoadCallsAtConstantOffset(M, DevirtCalls, User, Offset + GEPOffset, in findLoadCallsAtConstantOffset()
/external/llvm-project/llvm/lib/Analysis/
DTypeMetadataUtils.cpp65 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/
DValue.cpp577 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/
DValue.cpp665 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/
DValue.cpp512 APInt GEPOffset(Offset); in stripAndAccumulateInBoundsConstantOffsets() local
513 if (!GEP->accumulateConstantOffset(DL, GEPOffset)) in stripAndAccumulateInBoundsConstantOffsets()
515 Offset = GEPOffset; in stripAndAccumulateInBoundsConstantOffsets()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp686 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()
DIndVarSimplify.cpp1850 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/
DSROA.cpp736 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/
DSROA.cpp734 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()