Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DValue.cpp498 APInt GEPOffset(Offset); in stripAndAccumulateInBoundsConstantOffsets() local
499 if (!GEP->accumulateConstantOffset(DL, GEPOffset)) in stripAndAccumulateInBoundsConstantOffsets()
501 Offset = GEPOffset; in stripAndAccumulateInBoundsConstantOffsets()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp531 uint64_t GEPOffset = DL.getIndexedOffset(PtrTy, in CanConvertToScalar() local
534 if (!CanConvertToScalar(GEP, Offset+GEPOffset, GEPNonConstantIdx)) in CanConvertToScalar()
626 uint64_t GEPOffset = DL.getIndexedOffset(GEP->getPointerOperandType(), in ConvertUsesToScalar() local
628 ConvertUsesToScalar(GEP, NewAI, Offset+GEPOffset*8, GEPNonConstantIdx); in ConvertUsesToScalar()
1619 uint64_t GEPOffset = Offset; in isSafeForScalarRepl() local
1620 isSafeGEP(GEPI, GEPOffset, Info); in isSafeForScalarRepl()
1622 isSafeForScalarRepl(GEPI, GEPOffset, Info); in isSafeForScalarRepl()
DSROA.cpp699 APInt GEPOffset = Offset; in visitGetElementPtrInst() local
712 GEPOffset += in visitGetElementPtrInst()
718 GEPOffset += Index * APInt(Offset.getBitWidth(), in visitGetElementPtrInst()
725 if (GEPOffset.ugt(AllocSize)) in visitGetElementPtrInst()
1535 APInt GEPOffset(Offset.getBitWidth(), 0); in getAdjustedPtr() local
1536 if (!GEP->accumulateConstantOffset(DL, GEPOffset)) in getAdjustedPtr()
1538 Offset += GEPOffset; in getAdjustedPtr()
DIndVarSimplify.cpp1829 Value *GEPOffset = Rewriter.expandCodeFor(IVOffset, OfsTy, BI); in genLoopLimit() local
1840 return Builder.CreateGEP(nullptr, GEPBase, GEPOffset, "lftr.limit"); in genLoopLimit()
/external/llvm/lib/Analysis/
DValueTracking.cpp2837 APInt GEPOffset(BitWidth, 0); in GetPointerBaseWithConstantOffset() local
2838 if (!GEP->accumulateConstantOffset(DL, GEPOffset)) in GetPointerBaseWithConstantOffset()
2841 ByteOffset += GEPOffset; in GetPointerBaseWithConstantOffset()