swift
3551c43d - [sil] Add SILBuilder helpers for updating passes to handle both ossa and non-ossa code.

Commit
6 years ago
[sil] Add SILBuilder helpers for updating passes to handle both ossa and non-ossa code. Specifically we add a groups of APIs for destructure operations. The destructure helpers are a family of functions built around emitDestructureValueOperation. These in ossa produce destructures and pass the results off to the caller in some manner that hides the internal destructure instruction. In non-ossa, the appropriate projections are created and passed off to the caller.
Author
Committer
Parents
Loading