Table of Contents

Method Load

Namespace
Ubiquity.NET.Llvm.Instructions
Assembly
Ubiquity.NET.Llvm.dll

Load(ITypeRef, Value)

Creates a load instruction

public Load Load(ITypeRef type, Value sourcePtr)

Parameters

type ITypeRef

Type of the value to load

sourcePtr Value

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