pub struct MlirRegion {
pub blocks: Vec<MlirBlock>,
}Expand description
An MLIR region (contains a list of basic blocks).
Fields§
§blocks: Vec<MlirBlock>Blocks in this region
Implementations§
Source§impl MlirRegion
impl MlirRegion
Sourcepub fn single_block(block: MlirBlock) -> Self
pub fn single_block(block: MlirBlock) -> Self
Create a region with a single entry block.
Trait Implementations§
Source§impl Clone for MlirRegion
impl Clone for MlirRegion
Source§fn clone(&self) -> MlirRegion
fn clone(&self) -> MlirRegion
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 MlirRegion
impl Debug for MlirRegion
Auto Trait Implementations§
impl Freeze for MlirRegion
impl RefUnwindSafe for MlirRegion
impl Send for MlirRegion
impl Sync for MlirRegion
impl Unpin for MlirRegion
impl UnsafeUnpin for MlirRegion
impl UnwindSafe for MlirRegion
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