pub struct SemanticLoweringAnalysis { /* private fields */ }Expand description
Deterministic many-to-many provenance summary for semantic lowering.
Implementations§
Source§impl SemanticLoweringAnalysis
impl SemanticLoweringAnalysis
Sourcepub fn executable_node_count(&self, operation: SemanticOpId) -> u32
pub fn executable_node_count(&self, operation: SemanticOpId) -> u32
Return how many executable nodes lower one semantic operation.
Sourcepub const fn schema_owned_node_count(&self) -> u32
pub const fn schema_owned_node_count(&self) -> u32
Return the number of executable nodes with semantic ownership.
Sourcepub const fn compatibility_node_count(&self) -> u32
pub const fn compatibility_node_count(&self) -> u32
Return executable nodes still using the compatibility route.
Sourcepub const fn direct_op_count(&self) -> u32
pub const fn direct_op_count(&self) -> u32
Return semantic operations lowered directly to one unfused node.
Sourcepub const fn decomposed_op_count(&self) -> u32
pub const fn decomposed_op_count(&self) -> u32
Return semantic operations decomposed into multiple nodes.
Sourcepub const fn fused_op_count(&self) -> u32
pub const fn fused_op_count(&self) -> u32
Return semantic operations participating in fused nodes.
Sourcepub const fn fused_node_count(&self) -> u32
pub const fn fused_node_count(&self) -> u32
Return executable nodes owning multiple semantic operations.
Sourcepub const fn maximum_nodes_per_op(&self) -> u32
pub const fn maximum_nodes_per_op(&self) -> u32
Return the widest decomposition of one semantic operation.
Sourcepub const fn maximum_ops_per_node(&self) -> u32
pub const fn maximum_ops_per_node(&self) -> u32
Return the widest semantic fusion represented by one executable node.
Trait Implementations§
Source§impl Clone for SemanticLoweringAnalysis
impl Clone for SemanticLoweringAnalysis
Source§impl Debug for SemanticLoweringAnalysis
impl Debug for SemanticLoweringAnalysis
impl Eq for SemanticLoweringAnalysis
Source§impl PartialEq for SemanticLoweringAnalysis
impl PartialEq for SemanticLoweringAnalysis
impl StructuralPartialEq for SemanticLoweringAnalysis
Auto Trait Implementations§
impl Forget for SemanticLoweringAnalysis
impl Freeze for SemanticLoweringAnalysis
impl Move for SemanticLoweringAnalysis
impl RefUnwindSafe for SemanticLoweringAnalysis
impl Send for SemanticLoweringAnalysis
impl Sync for SemanticLoweringAnalysis
impl Unpin for SemanticLoweringAnalysis
impl UnsafeUnpin for SemanticLoweringAnalysis
impl UnwindSafe for SemanticLoweringAnalysis
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