[FIR] Add CFG nodes, add multiple subGraphs for CFGOwner

This commit is contained in:
Oleg Ivanov
2020-07-30 17:06:30 +03:00
parent 128075e780
commit cc9c5b9e3c
52 changed files with 2359 additions and 1940 deletions
@@ -23,17 +23,12 @@ digraph annotatedLocalClass_kt {
color=red
5 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
23 [label="Enter class Local" style="filled" fillcolor=red];
24 [label="Exit class Local" style="filled" fillcolor=red];
}
subgraph cluster_4 {
color=blue
6 [label="Enter block"];
subgraph cluster_5 {
subgraph cluster_4 {
color=blue
7 [label="Enter when"];
subgraph cluster_6 {
subgraph cluster_5 {
color=blue
8 [label="Enter when branch condition "];
9 [label="Access variable R|<local>/b|"];
@@ -41,7 +36,7 @@ digraph annotatedLocalClass_kt {
}
11 [label="Synthetic else branch"];
12 [label="Enter when branch result"];
subgraph cluster_7 {
subgraph cluster_6 {
color=blue
13 [label="Enter block"];
14 [label="Jump: ^foo Unit"];
@@ -55,6 +50,11 @@ digraph annotatedLocalClass_kt {
20 [label="Function call: R|/bar|()"];
21 [label="Exit block"];
}
subgraph cluster_7 {
color=blue
23 [label="Enter class Local" style="filled" fillcolor=red];
24 [label="Exit class Local" style="filled" fillcolor=red];
}
22 [label="Exit function foo" style="filled" fillcolor=red];
}
5 -> {6};
@@ -74,6 +74,8 @@ digraph annotatedLocalClass_kt {
18 -> {19};
18 -> {25} [color=red];
19 -> {20};
19 -> {25 23} [color=green];
19 -> {25 23} [style=dashed];
20 -> {21};
21 -> {22};
23 -> {24} [color=green];