pub struct CompiledGraph {
pub graph_name: String,
pub instructions: Vec<Instruction>,
pub memory_plan: MemoryPlan,
pub output_slots: HashMap<String, usize>,
pub num_slots: usize,
pub stats: CompileStats,
}Expand description
The compiled execution plan for a single IR graph.
Contains a flat instruction tape, memory plan, and metadata for efficient repeated execution.
Fields§
§graph_name: StringName of the source graph.
instructions: Vec<Instruction>Flat instruction tape — executed sequentially.
memory_plan: MemoryPlanMemory plan — buffer slot assignments.
output_slots: HashMap<String, usize>Output slot mappings: name → buffer slot.
num_slots: usizeTotal number of buffer slots.
stats: CompileStatsCompilation statistics.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CompiledGraph
impl RefUnwindSafe for CompiledGraph
impl Send for CompiledGraph
impl Sync for CompiledGraph
impl Unpin for CompiledGraph
impl UnwindSafe for CompiledGraph
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more