Enum cranelift_codegen::ir::instructions::BranchInfo
source · pub enum BranchInfo {
NotABranch,
SingleDest(BlockCall),
Conditional(BlockCall, BlockCall),
Table(JumpTable, 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(BlockCall)
This is a branch or jump to a single destination block, possibly taking value arguments.
Conditional(BlockCall, BlockCall)
This is a conditional branch
Table(JumpTable, Block)
This is a jump table branch which can have many destination blocks and one default block.
Auto Trait Implementations§
impl RefUnwindSafe for BranchInfo
impl Send for BranchInfo
impl Sync for BranchInfo
impl Unpin for BranchInfo
impl UnwindSafe for BranchInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more