pub struct LirModule {
pub mir: MirModule,
pub buffers: LirBufferPlan,
}Expand description
Low-level module — backend compile input after optimization.
Fields§
§mir: MirModule§buffers: LirBufferPlanImplementations§
Source§impl LirModule
impl LirModule
Sourcepub fn inspect(&self) -> String
pub fn inspect(&self) -> String
Text dump for inspection. Alias for inspect_lir.
Source§impl LirModule
impl LirModule
pub fn new(mir: MirModule, buffers: LirBufferPlan) -> Self
pub fn name(&self) -> &str
pub fn arena_size(&self) -> usize
pub fn fingerprint(&self) -> LirFingerprint
pub fn plan(&self) -> &LirBufferPlan
Sourcepub fn into_graph(self) -> Graph
pub fn into_graph(self) -> Graph
Extract the optimized MIR graph for legacy backend entry points.
pub fn as_graph(&self) -> &Graph
pub fn has_dynamic_dims(&self) -> bool
pub fn is_fully_static(&self) -> bool
pub fn dynamic_symbols(&self) -> &[u32]
Trait Implementations§
impl StructuralPartialEq for LirModule
Auto Trait Implementations§
impl Freeze for LirModule
impl RefUnwindSafe for LirModule
impl Send for LirModule
impl Sync for LirModule
impl Unpin for LirModule
impl UnsafeUnpin for LirModule
impl UnwindSafe for LirModule
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