Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()