Table of Contents

Method Store

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

Store(Value, Value)

Builds an LLVM Store instruction

public Store Store(Value value, Value destination)

Parameters

value Value

Value to store in destination

destination Value

value for the destination

Returns

Store

Store instruction

Remarks

Since store targets memory the type of destination must be an IPointerType. Furthermore, the element type of the pointer must match the type of value. Otherwise, an ArgumentException is thrown.