pub enum BranchInfo<'a> {
NotBranch,
Jump(BasicBlockId),
Branch(ValueId, BasicBlockId, BasicBlockId),
Switch(ValueId, &'a SwitchTable, Option<BasicBlockId>),
}
Variants§
NotBranch
Jump(BasicBlockId)
Branch(ValueId, BasicBlockId, BasicBlockId)
Switch(ValueId, &'a SwitchTable, Option<BasicBlockId>)
Implementations§
Source§impl<'a> BranchInfo<'a>
impl<'a> BranchInfo<'a>
pub fn is_not_a_branch(&self) -> bool
pub fn block_iter(&self) -> BlockIter<'_>
Auto Trait Implementations§
impl<'a> Freeze for BranchInfo<'a>
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§
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