Searched refs:GEPOffset (Results 1 – 5 of 5) sorted by relevance
/external/llvm/lib/IR/ |
D | Value.cpp | 498 APInt GEPOffset(Offset); in stripAndAccumulateInBoundsConstantOffsets() local 499 if (!GEP->accumulateConstantOffset(DL, GEPOffset)) in stripAndAccumulateInBoundsConstantOffsets() 501 Offset = GEPOffset; in stripAndAccumulateInBoundsConstantOffsets()
|
/external/llvm/lib/Transforms/Scalar/ |
D | ScalarReplAggregates.cpp | 531 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()
|
D | SROA.cpp | 699 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()
|
D | IndVarSimplify.cpp | 1829 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/ |
D | ValueTracking.cpp | 2837 APInt GEPOffset(BitWidth, 0); in GetPointerBaseWithConstantOffset() local 2838 if (!GEP->accumulateConstantOffset(DL, GEPOffset)) in GetPointerBaseWithConstantOffset() 2841 ByteOffset += GEPOffset; in GetPointerBaseWithConstantOffset()
|