Table of Contents

Method SetIsVolatile

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

SetIsVolatile<T>(T, bool)

Fluent style extension method to set the Volatile property of a Load or Store instruction

public static T SetIsVolatile<T>(this T self, bool value) where T : Instruction

Parameters

self T

Instruction to set the Volatile property for

value bool

Flag to indicate if the instruction's operation is volatile

Returns

T

To allow fluent style coding this returns the self parameter

Type Parameters

T

Type of the instruction (usually implicitly inferred from usage)