Erik Eckstein
4824d6d940
Swift SIL: improve BasicBlockRange and InstructionRange and add tests
...
* add `BasicBlockRange.inclusiveRange`
* add `insert(contentsOf:)`
* add the RangeDumper pass to dump ranges for testing
* and add a test file
2022-03-30 14:45:58 +02:00
Erik Eckstein
887b5ca891
add a Swift pass which can run unit tests.
...
The `run-unit-tests` is a "pseudo" pass which is invoked from sil-opt and runs all the unit tests, implemented in Swift.
This is done from the `swift-unit-tests.sil` lit test.
2022-01-25 11:29:25 +01:00
Max Desiatov
b964dba177
libswift: implement ReleaseDevirtualizer in Swift
2022-01-19 18:51:19 +00:00
Max Desiatov
42e6fac1ea
libswift: reimplement AssumeSingleThreaded pass
2022-01-10 08:47:43 +00:00
Erik Eckstein
3540c01125
rename initializeLibSwift -> InitializeSwiftModules
...
and some updates in comments.
2021-12-22 11:31:52 +01:00
Erik Eckstein
4beb94c2f9
Rename the libswift directory to SwiftCompilerSources
2021-12-22 09:46:25 +01:00