split_inputs_and_output
I think it's a little clearer and nicer that way.
For more information about how rustc works, see the rustc dev guide.