[Swift Export] initial infrastructure for Swift IR

New modules 'sir', 'sir-passes', and 'sir-analysis-api' were added under
'native:swift' for creating and manipulating Swift IR elements.

* `sir` contains the implementation of Swift IR.
* `sir-analysis-api` contains translation from Analysis API to SIR.
* `sir-passses` contains transformation passes.

This groundwork will allow to progress with the Swift IR.
This commit is contained in:
Sergey Bogolepov
2023-11-08 15:43:43 +02:00
committed by Space Team
parent d15ee71b6c
commit cc14f11e2a
10 changed files with 193 additions and 0 deletions
+5
View File
@@ -397,6 +397,11 @@ include ":plugins:compose-compiler-plugin:compiler",
":plugins:compose-compiler-plugin:compiler-daemon",
":plugins:compose-compiler-plugin:compiler-daemon:integration-tests"
// Swift Export modules
include ":native:swift:sir",
":native:swift:sir-passes",
":native:swift:sir-analysis-api"
void intellij(String imlPath) {
File imlFile = new File("${rootDir}/intellij/community/plugins/kotlin/${imlPath}")
imlFile = imlFile.exists() ? imlFile : new File("${rootDir}/intellij/plugins/kotlin/${imlPath}")