pub struct BasicBlock {
pub uuid: UUID,
pub mnemonics: Range<MnemonicIndex>,
pub node: NodeIndex,
pub area: Area,
pub statements: Range<usize>,
}Expand description
An uninterrupted sequence of machine code. Basic blocks cover a continuous address range.
Fields§
§uuid: UUIDFixed UUID of this basic block. Never changes.
mnemonics: Range<MnemonicIndex>Range of indices into the functions mnmonic list.
node: NodeIndexNode this basic block occupies in the functions control flow graph.
area: AreaBytes covered byte the basic block.
statements: Range<usize>Range of indices into the functions IL statement list.
Implementations§
Trait Implementations§
Source§impl Clone for BasicBlock
impl Clone for BasicBlock
Source§fn clone(&self) -> BasicBlock
fn clone(&self) -> BasicBlock
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BasicBlock
impl Debug for BasicBlock
Source§impl<'a> IntoStatementRange for &'a BasicBlock
impl<'a> IntoStatementRange for &'a BasicBlock
Source§impl PartialEq for BasicBlock
impl PartialEq for BasicBlock
impl Eq for BasicBlock
impl StructuralPartialEq for BasicBlock
Auto Trait Implementations§
impl Freeze for BasicBlock
impl RefUnwindSafe for BasicBlock
impl Send for BasicBlock
impl Sync for BasicBlock
impl Unpin for BasicBlock
impl UnwindSafe for BasicBlock
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.