pub struct SynthIR {
pub functions: Vec<IRFunction>,
pub globals: Vec<IRGlobal>,
pub memories: Vec<IRMemory>,
}Expand description
Synthesis Intermediate Representation
This is a simplified IR for the PoC. In production, this would be much more sophisticated, potentially using e-graphs for optimization.
Fields§
§functions: Vec<IRFunction>Functions in IR form
globals: Vec<IRGlobal>Global data
memories: Vec<IRMemory>Memory regions
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SynthIR
impl<'de> Deserialize<'de> for SynthIR
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SynthIR
impl RefUnwindSafe for SynthIR
impl Send for SynthIR
impl Sync for SynthIR
impl Unpin for SynthIR
impl UnsafeUnpin for SynthIR
impl UnwindSafe for SynthIR
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