Struct llvm_ir::basicblock::BasicBlock [−][src]
pub struct BasicBlock {
pub name: Name,
pub instrs: Vec<Instruction>,
pub term: Terminator,
}
Expand description
A BasicBlock
is a sequence of zero or more non-terminator instructions
followed by a single terminator instruction which ends the block.
Basic blocks are discussed in the LLVM 12 docs on Functions
Fields
name: Name
instrs: Vec<Instruction>
term: Terminator
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for BasicBlock
impl Send for BasicBlock
impl Sync for BasicBlock
impl Unpin for BasicBlock
impl UnwindSafe for BasicBlock
Blanket Implementations
Mutably borrows from an owned value. Read more