IRGen: Optionally use value witness instead of outlined value functions

... if type layout based value witness emission is enabled.

rdar://51988441
This commit is contained in:
Arnold Schwaighofer
2019-07-09 11:54:07 -07:00
parent dec2ad0f93
commit b7a58c0f96
4 changed files with 192 additions and 43 deletions

View File

@@ -675,6 +675,10 @@ public:
/// the given module?
bool isTypeMetadataAccessible(CanType type);
/// Can type metadata necessary for value operations for the given sil type be
/// fetched in the given module?
bool isTypeMetadataForLayoutAccessible(SILType type);
/// Run the SIL verifier to make sure that all Functions follow
/// invariants.
void verify() const;