Home
last modified time | relevance | path

Searched refs:GEPOffset (Results 1 – 6 of 6) 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/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/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DScalarReplAggregates.cpp456 uint64_t GEPOffset = TD.getIndexedOffset(GEP->getPointerOperandType(), in CanConvertToScalar() local
459 if (!CanConvertToScalar(GEP, Offset+GEPOffset)) in CanConvertToScalar()
537 uint64_t GEPOffset = TD.getIndexedOffset(GEP->getPointerOperandType(), in ConvertUsesToScalar() local
539 ConvertUsesToScalar(GEP, NewAI, Offset+GEPOffset*8); in ConvertUsesToScalar()
1513 uint64_t GEPOffset = Offset; in isSafeForScalarRepl() local
1514 isSafeGEP(GEPI, GEPOffset, Info); in isSafeForScalarRepl()
1516 isSafeForScalarRepl(GEPI, GEPOffset, Info); in isSafeForScalarRepl()
/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()