Struct llvm_rs::BasicBlock

source ·
pub struct BasicBlock(_);
Expand description

A container of instructions that execute sequentially.

Implementations§

Return the enclosing method, or None if it is not attached to a method.

Get the Insert Block

Return the terminator instruction for this basic block.

Return the first instruction for this basic block.

Return the last instruction for this basic block.

Move this basic block after the other basic block in its function.

Move this basic block before the other basic block in its function.

Unlink from the containing function, but do not delete it.

Delete this basic block.

This is unsafe because there should be no other reference to this, but this can’t be guranteed using Rust semantics.

Methods from Deref<Target = Value>§

Returns the name of this value, or None if it lacks a name

Sets the name of this value

Returns the type of this value

Trait Implementations§

The resulting type after dereferencing.
Dereferences the value.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Check if the given super value is an instance of this type.
Attempt to cast the given super value into an instance of this type.
Cast this value to a super value.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.