pub enum BasicBlockKind {
TERMINATED,
UNCONDITIONAL(BasicBlockId),
}
Expand description
a basic block may have one or more successors. BasicBlock が持つ後続節の定義
Variants§
TERMINATED
後続節が存在しない場合 TERMINATED can be used at end of the function.
UNCONDITIONAL(BasicBlockId)
UNCONDITIONAL can be used at start of while-statement, goto, etc.
Trait Implementations§
Source§impl Hash for BasicBlockKind
impl Hash for BasicBlockKind
Source§impl Ord for BasicBlockKind
impl Ord for BasicBlockKind
Source§fn cmp(&self, other: &BasicBlockKind) -> Ordering
fn cmp(&self, other: &BasicBlockKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BasicBlockKind
impl PartialEq for BasicBlockKind
Source§impl PartialOrd for BasicBlockKind
impl PartialOrd for BasicBlockKind
impl Eq for BasicBlockKind
impl StructuralPartialEq for BasicBlockKind
Auto Trait Implementations§
impl Freeze for BasicBlockKind
impl RefUnwindSafe for BasicBlockKind
impl Send for BasicBlockKind
impl Sync for BasicBlockKind
impl Unpin for BasicBlockKind
impl UnwindSafe for BasicBlockKind
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