Click or drag to resize
Llvm.NET LogoBasicBlock Class

[This is preliminary documentation and is subject to change.]

Provides access to an LLVM Basic block
Inheritance Hierarchy

Namespace:  Llvm.NET.Values
Assembly:  Llvm.NET (in Llvm.NET.dll) Version: 3.8.6158
Syntax
C#
public class BasicBlock : Value

The BasicBlock type exposes the following members.

Properties
  NameDescription
Public propertyContainingFunction
Function containing the block
Public propertyContext (Inherited from Value.)
Public propertyFirstInstruction
First instruction in the block
Public propertyInstructions
Enumerable collection of all instructions in the block
Public propertyIsNull
Determines if the Value represents the NULL value for the values type
(Inherited from Value.)
Public propertyIsUndefined
Indicates if this value is Undefined
(Inherited from Value.)
Public propertyLastInstruction
Last instruction in the block
Public propertyName
Name of the value (if any)
(Inherited from Value.)
Public propertyNativeType
Type of the value
(Inherited from Value.)
Public propertyTerminator
Terminator instruction for the block
Top
Methods
  NameDescription
Public methodAddExtendedPropertyValue
Adds a value to the container
(Inherited from Value.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetNextInstruction
Gets the instruction that follows a given instruction in a block
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReplaceAllUsesWith
Replace all uses of a Value with another one
(Inherited from Value.)
Public methodToString
Generates a string representing the LLVM syntax of the value
(Inherited from Value.)
Public methodTryGetExtendedPropertyValueT
Try to get a value from the container
(Inherited from Value.)
Top
Remarks
A basic block is a sequence of instructions with a single entry and a single exit. The exit point must be a Terminator instruction or the block is not (yet) well-formed.
See Also