pub struct MlirBlock {
pub label: Option<String>,
pub arguments: Vec<MlirValue>,
pub body: Vec<MlirOp>,
pub terminator: Option<MlirOp>,
}Expand description
An MLIR basic block.
Fields§
§label: Option<String>Block label (None for entry block)
arguments: Vec<MlirValue>Block arguments: (value, type) pairs
body: Vec<MlirOp>Operations in this block
terminator: Option<MlirOp>Terminator operation (explicit for clarity, also included in body)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MlirBlock
impl RefUnwindSafe for MlirBlock
impl Send for MlirBlock
impl Sync for MlirBlock
impl Unpin for MlirBlock
impl UnsafeUnpin for MlirBlock
impl UnwindSafe for MlirBlock
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