Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DValue.cpp457 APInt GEPOffset(Offset); in stripAndAccumulateInBoundsConstantOffsets() local
458 if (!GEP->accumulateConstantOffset(DL, GEPOffset)) in stripAndAccumulateInBoundsConstantOffsets()
460 Offset = GEPOffset; in stripAndAccumulateInBoundsConstantOffsets()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp530 uint64_t GEPOffset = DL.getIndexedOffset(PtrTy, in CanConvertToScalar() local
533 if (!CanConvertToScalar(GEP, Offset+GEPOffset, GEPNonConstantIdx)) in CanConvertToScalar()
625 uint64_t GEPOffset = DL.getIndexedOffset(GEP->getPointerOperandType(), in ConvertUsesToScalar() local
627 ConvertUsesToScalar(GEP, NewAI, Offset+GEPOffset*8, GEPNonConstantIdx); in ConvertUsesToScalar()
1618 uint64_t GEPOffset = Offset; in isSafeForScalarRepl() local
1619 isSafeGEP(GEPI, GEPOffset, Info); in isSafeForScalarRepl()
1621 isSafeForScalarRepl(GEPI, GEPOffset, Info); in isSafeForScalarRepl()
DSROA.cpp703 APInt GEPOffset = Offset; in visitGetElementPtrInst() local
716 GEPOffset += in visitGetElementPtrInst()
722 GEPOffset += Index * APInt(Offset.getBitWidth(), in visitGetElementPtrInst()
729 if (GEPOffset.ugt(AllocSize)) in visitGetElementPtrInst()
1749 APInt GEPOffset(Offset.getBitWidth(), 0); in getAdjustedPtr() local
1750 if (!GEP->accumulateConstantOffset(DL, GEPOffset)) in getAdjustedPtr()
1752 Offset += GEPOffset; in getAdjustedPtr()
DIndVarSimplify.cpp1579 Value *GEPOffset = Rewriter.expandCodeFor(IVOffset, OfsTy, BI); in genLoopLimit() local
1590 return Builder.CreateGEP(nullptr, GEPBase, GEPOffset, "lftr.limit"); in genLoopLimit()
/external/llvm/lib/Analysis/
DValueTracking.cpp2568 APInt GEPOffset(BitWidth, 0); in GetPointerBaseWithConstantOffset() local
2569 if (!GEP->accumulateConstantOffset(DL, GEPOffset)) in GetPointerBaseWithConstantOffset()
2572 ByteOffset += GEPOffset; in GetPointerBaseWithConstantOffset()