mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add interfaces and update the pass execution logic to allow function passes to create new functions, or ask for functions to be optimized prior to continuing. Doing so results in the pass pipeline halting execution on the current function, and continuing with newly added functions, returning to the previous function after the newly added functions are fully optimized.