pub struct MachineBlock {
pub label: String,
pub instrs: Vec<MInstr>,
}Expand description
A sequence of machine instructions corresponding to one IR basic block.
Fields§
§label: StringLabel derived from the IR block name (or function name for entry).
instrs: Vec<MInstr>Instructions in emission order.
Trait Implementations§
Source§impl Clone for MachineBlock
impl Clone for MachineBlock
Source§fn clone(&self) -> MachineBlock
fn clone(&self) -> MachineBlock
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MachineBlock
impl Debug for MachineBlock
Source§impl Default for MachineBlock
impl Default for MachineBlock
Source§fn default() -> MachineBlock
fn default() -> MachineBlock
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MachineBlock
impl RefUnwindSafe for MachineBlock
impl Send for MachineBlock
impl Sync for MachineBlock
impl Unpin for MachineBlock
impl UnsafeUnpin for MachineBlock
impl UnwindSafe for MachineBlock
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