Enum cranelift_codegen::ir::instructions::BranchInfo
source · [−]pub enum BranchInfo<'a> {
NotABranch,
SingleDest(Block, &'a [Value]),
Table(JumpTable, Option<Block>),
}
Expand description
Information about branch and jump instructions.
Variants
NotABranch
This is not a branch or jump instruction. This instruction will not transfer control to another block in the function, but it may still affect control flow by returning or trapping.
SingleDest(Block, &'a [Value])
This is a branch or jump to a single destination block, possibly taking value arguments.
Table(JumpTable, Option<Block>)
This is a jump table branch which can have many destination blocks and maybe one default block.
Auto Trait Implementations
impl<'a> RefUnwindSafe for BranchInfo<'a>
impl<'a> Send for BranchInfo<'a>
impl<'a> Sync for BranchInfo<'a>
impl<'a> Unpin for BranchInfo<'a>
impl<'a> UnwindSafe for BranchInfo<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more