Table of Contents

Class Instruction

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

Exposes an LLVM Instruction

public class Instruction : User, IEquatable<Value>
Inheritance
Instruction
Implements
Derived
Inherited Members
Extension Methods

Properties

Alignment

Gets or sets the alignment for the instruction

ContainingBlock

Gets the BasicBlock that contains this instruction

DebugRecords

Gets an enumeration of all the debug records associated with this instruction

HasDebugRecords

Gets a value indicating whether this instruction has debug records attached.

HasMetadata

Gets a value indicating whether this instruction has metadata

IsMemoryAccess

Gets a value indicating whether the opcode is for a memory access (Alloca, Load, Store)

this[MetadataKind]

Gets or sets IrMetadata (as a value) for this instruction

Location

Gets or sets the DILocation for this instruction

NonDebugLocMetadata

Gets a snap-shot collection of the metadata for this instruction, filtering out all the debug location nodes

Opcode

Gets the LLVM opcode for the instruction

Successors

Gets a, potentially empty, collection of successor blocks for this instruction