oa::SemanticOpDesc

One mathematical or domain operation before executable lowering.

StRust public API

Declaration

pub struct SemanticOpDesc { /* private fields */ }
Public Rust declaration.

Public Methods

pub const fn id(&self) -> SemanticOpId
pub const fn name(&self) -> &'static str
pub const fn contract_hash(&self) -> u64
pub const fn differentiation(&self) -> OpDifferentiation
pub const fn lowering(&self) -> OpLowering
pub const fn control_flow(&self) -> OpControlFlow
pub fn inputs(&self) -> &[Option<SemanticValueId>]
pub fn outputs(&self) -> &[SemanticValueId]
pub fn attributes(&self) -> &[OpAttribute]
pub fn accesses(&self) -> &[SemanticValueAccess]
pub fn mutated_inputs(&self) -> &[SemanticValueId]
pub fn aliases(&self) -> &[SemanticAliasDesc]
pub fn control_dependencies(&self) -> &[SemanticOpId]
pub const fn optional_input_mask(&self) -> u8
pub const fn backward_of(&self) -> Option<SemanticOpId>
pub const fn backward_sequence(&self) -> u64
fn clone(&self) -> SemanticOpDesc
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn eq(&self, other: &SemanticOpDesc) -> bool

Public Method Documentation

pub const fn id( &self ) -> SemanticOpId
No public source comment is attached to this declaration.
pub const fn name( &self ) -> &'static str
No public source comment is attached to this declaration.
pub const fn contract_hash( &self ) -> u64
No public source comment is attached to this declaration.
pub const fn differentiation( &self ) -> OpDifferentiation
No public source comment is attached to this declaration.
pub const fn lowering( &self ) -> OpLowering
No public source comment is attached to this declaration.
pub const fn control_flow( &self ) -> OpControlFlow
No public source comment is attached to this declaration.
pub fn inputs( &self ) -> &[Option<SemanticValueId>]
No public source comment is attached to this declaration.
pub fn outputs( &self ) -> &[SemanticValueId]
No public source comment is attached to this declaration.
pub fn attributes( &self ) -> &[OpAttribute]
No public source comment is attached to this declaration.
pub fn accesses( &self ) -> &[SemanticValueAccess]
No public source comment is attached to this declaration.
pub fn mutated_inputs( &self ) -> &[SemanticValueId]
No public source comment is attached to this declaration.
pub fn aliases( &self ) -> &[SemanticAliasDesc]
No public source comment is attached to this declaration.
pub fn control_dependencies( &self ) -> &[SemanticOpId]
No public source comment is attached to this declaration.
pub const fn optional_input_mask( &self ) -> u8
No public source comment is attached to this declaration.
pub const fn backward_of( &self ) -> Option<SemanticOpId>
No public source comment is attached to this declaration.
pub const fn backward_sequence( &self ) -> u64
No public source comment is attached to this declaration.
fn clone( &self ) -> SemanticOpDesc
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn eq( &self, other: &SemanticOpDesc ) -> bool
No public source comment is attached to this declaration.