mirror of
https://github.com/apple/swift.git
synced 2026-10-24 20:15:56 +02:00
`function.postOrderBlocks(context)` yields the blocks reachable from the entry block in post-order. The depth-first walk is performed incrementally while iterating through the sequence. We're going with this approach instead of having a cached post-order block vector, modelled as an Analysis, as it's still space efficient to maintain enough space to compute the next block on the fly.