pub fn plan_memory(module: &Module) -> MemoryPlanExpand description
Analyze an IR module and produce a memory plan.
For each entry point (and helper function), determines tensor lifetimes and assigns buffer offsets using a greedy first-fit algorithm.