Get GEP indices to access Offset inside ElemTy.
Declared in <llvm/IR/DataLayout.h>
SmallVector<APInt>
getGEPIndicesForOffset(
Type*& ElemTy,
APInt& Offset) const;
ElemTy is updated to be the result element type and Offset to be the residual offset.
GEP indices to access Offset inside ElemTy.
| Name | Description |
|---|---|
| ElemTy | Element type being indexed into; updated to the result type. |
| Offset | Byte offset into ElemTy; updated to any residual offset. |