mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This pass is only used for functions with performance annotations (@_noLocks, @_noAllocation). It runs in the mandatory pipeline and specializes all function calls in performance-annotated functions and functions which are called from such functions. In addition, the pass also does some other related optimizations: devirtualization, constant-folding Builtin.canBeClass, inlining of transparent functions and memory access optimizations.
14 KiB
14 KiB