Method GetStructElementPointer
GetStructElementPointer(Value, UInt32)
Creates a Value that accesses an element (field) of a structure
Declaration
[Obsolete("Use the overload that takes a type and opaque pointer")]
public Value GetStructElementPointer(Value pointer, uint index)
Parameters
[Obsolete("Use the overload that takes a type and opaque pointer")]
public Value GetStructElementPointer(Value pointer, uint index)
Value | pointer | pointer to the structure to get an element from |
UInt32 | index | element index |
Returns
Value | Value for the member access. This is a Value as LLVM may optimize the expression to a ConstantExpression if it can so the actual type of the result may be ConstantExpression or GetElementPtr. Note that |
GetStructElementPointer(ITypeRef, Value, UInt32)
Creates a Value that accesses an element (field) of a structure
Declaration
public Value GetStructElementPointer(ITypeRef type, Value pointer, uint index)
Parameters
public Value GetStructElementPointer(ITypeRef type, Value pointer, uint index)
ITypeRef | type | Type of the pointer |
Value | pointer | OPaque pointer to the structure to get an element from |
UInt32 | index | element index |
Returns
Value | Value for the member access. This is a Value as LLVM may optimize the expression to a ConstantExpression if it can so the actual type of the result may be ConstantExpression or GetElementPtr. Note that |