-
Notifications
You must be signed in to change notification settings - Fork 10.6k
[SILGen] Remove and replace ad-hoc assign_by_wrapper
instruction
#83886
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
988a3dc
[SIL] Introduce new SILDeclRef
janbaig 0dbbc8e
[SIL] SILDeclRef Mangling Added
janbaig b2fad4b
[TypeLowering] Implement the interface type for the `SILDeclRef`
janbaig 2b648ea
[SIL] Mark `Self` operand as optional for `AssignOrInitInst`
janbaig c84cc34
[SIL] Emit `CanSILFunctionType` for the new `SILDeclRef`
janbaig 544aa3b
[SILGen] SILGen body emission for the new `SILDeclRef` works for nomi…
janbaig 2b8e635
[SILGen] Use DI-tracked backing storage for indirect results
janbaig 51dca5a
[SILGen] Emit `assign_or_init` for ambiguous assignments to property-…
janbaig ff894c4
[Format] Apply clang-format to recent changes
janbaig 3d11234
[SIL] Refactor to allow `Self` operand to hold local projections
janbaig b939bdc
[SIL] Initial Implemention of thunk support for local contexts
janbaig b793db7
[SILGen] Inline `InitializationPtr` setup for init accessor @out buffer
janbaig 836e20a
[SILGen] Refactor `InitializationPtr` usage
janbaig 8ca5c83
[Test] Extract closure test to support init accessor thunk without op…
janbaig 54cc1be
[Test] Refactor property wrapper tests to work with new init accesso…
janbaig 2499116
[Test] Refactor function manglings to reflect file name change
janbaig 30d6780
[TBD] Add init accessor thunk to TBD gen
janbaig c2850c3
[SIL] Remove `AssignByWrapper` definition and registration
janbaig 8469740
[SIL] Remove `AssignByWrapper` cloning and builder support
janbaig 4c61096
[SIL] Remove `AssignByWrapper` handling from analysis and utils
janbaig 6f1ee54
[SIL] Remove `AssignByWrapper` suport from SIL parsing and serialization
janbaig 52895fe
[SIL] Remove `AssignByWrapper` references from SIL passes
janbaig ba1fd9f
Minor Comment Cleanup
janbaig 95cf42b
[Docs] Add `assign_or_init` documentation and remove `assign_by_wrapper`
janbaig d3c40c0
[Docs] Document mangling for the init accessor thunk
janbaig 288c6d9
Update `SWIFTMODULE_VERSION_MINOR`
janbaig 798c0f5
Merge branch 'main' into temp-branch
janbaig 63888e3
Update `SWIFTMODULE_VERSION_MINOR` comment
janbaig 66b38a6
Refactor `lowerAssignOrInitInstruction`
janbaig afe83fe
Simple refactors to `getSILFunctionTypeForInitAccessor`
janbaig f4d9c7b
Add `getDeclContextOrNull` to `AssignOrInitInst`
janbaig be6e6e5
Use callback to avoid repeated allocation when collecting initialized…
janbaig 78fc5cd
Add local context test for demangling
janbaig 4a3938b
Fix: avoid `getInnermostDeclContext()`
janbaig 3a60402
Rename `opaque_values_closures2` test file
janbaig a1f0b8b
Refactor `declContext` extraction
janbaig 4effb83
Refactor SILOptimizer test to use `assign_or_init`
janbaig d71cde9
Update mangling due to file name change
janbaig ac8d630
Remove newline
janbaig f21eb53
Merge branch 'main' into temp-branch
janbaig 48cedb5
Fix `RawSILInstLowering` test
janbaig File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.