pub fn split_module(
module: AirModule,
strategy: SplitStrategy,
) -> Vec<AirModule>Expand description
Split a monolithic module into per-source-file modules.
Groups functions by their Span.file_id field (which maps to a SourceFile
entry). Functions without span information go into an “unknown” module.
If no functions have span info, returns the original module unchanged
in a single-element Vec.