Method Load
Load(Value)
Creates a Load instruction
Declaration
[Obsolete("Use overload accepting a type and opaque pointer instead")]
public Load Load(Value sourcePtr)
Parameters
[Obsolete("Use overload accepting a type and opaque pointer instead")]
public Load Load(Value sourcePtr)
Value | sourcePtr | Pointer to the value to load |
Returns
Load | Load |
Remarks
The sourcePtr
must not be an opaque pointer type
Load(ITypeRef, Value)
Creates a load instruction
Declaration
public Load Load(ITypeRef type, Value sourcePtr)
Parameters
public Load Load(ITypeRef type, Value sourcePtr)
ITypeRef | type | Type of the value to load |
Value | sourcePtr | pointer to load the value from |
Returns
Load | Load instruction |
Remarks
The type
of the value must be a sized type (e.g. not Opaque with a non-zero size ).
if sourcePtr
is a non-opaque pointer then its ElementType must be the same as type