This trait is needed only for calling back to the inlining processor from the individual inliners, and mocking it out in the tests/
| 8 | // This trait is needed only for calling back to the inlining processor from the |
| 9 | // individual inliners, and mocking it out in the tests/ |
| 10 | pub(super) trait InlineState { |
| 11 | fn assign_input_nodes(&mut self, graph: Graph, nodes: Vec<Node>) -> Result<()>; |
| 12 | fn unassign_nodes(&mut self, graph: Graph) -> Result<()>; |
| 13 | fn recursively_inline_graph(&mut self, graph: Graph) -> Result<Node>; |
| 14 | fn output_graph(&self) -> Graph; |
| 15 | } |
| 16 | |
| 17 | #[derive(Clone, Debug, Serialize, Deserialize, PartialEq, Eq)] |
| 18 | pub enum DepthOptimizationLevel { |
nothing calls this directly
no outgoing calls
no test coverage detected