From 1d719709a14bf2b0712fe851fb00eadfb8ef9849 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=B6tz=20Lindenmaier?= Date: Thu, 22 Jan 2004 10:34:47 +0000 Subject: [PATCH] added output of arity, backedges Unknown no more generated by new_ir_graph: node numbers have changed. [r2339] --- testprograms/irr_loop_example.c | 34 +- .../ARRAY-HEAP_EXAMPLE_main-type.vcg | 43 +- .../ref-results/ARRAY-HEAP_EXAMPLE_main.vcg | 14 + .../ARRAY-STACK_EXAMPLE_main-wtypes.vcg | 63 ++- testprograms/ref-results/All_graphs.vcg | 278 ++++++----- testprograms/ref-results/All_types.vcg | 25 +- .../ref-results/CALL_STR_EXAMPLE_main.vcg | 9 + .../ref-results/COND_EXAMPLE_main.vcg | 147 +++--- .../ref-results/CONST_EVAL_EXAMPLE_main.vcg | 42 +- .../ref-results/DEAD_BLOCK_main-cfg.vcg | 15 +- testprograms/ref-results/DEAD_BLOCK_main.vcg | 40 +- testprograms/ref-results/EMPTY_main.vcg | 35 +- .../ref-results/ENDLESS_LOOP_EXAMPLE_main.vcg | 104 ++-- .../ref-results/FLOAT_EXAMPLE_main.vcg | 40 +- .../ref-results/GLOBAL_CSE_EXAMPLE_main.vcg | 124 +++-- .../GLOBAL_VAR_main-pure-wtypes.vcg | 114 +++-- testprograms/ref-results/GLOBAL_VAR_main.vcg | 64 +-- .../GlobalType_OO_PROGRAM_EXAMPLE_main-ip.vcg | 278 ++++++----- ...alType_OO_PROGRAM_EXAMPLE_main-pure-ip.vcg | 361 ++++++++------ ...OO_PROGRAM_EXAMPLE_main-pure-wtypes-ip.vcg | 450 ++++++++++-------- ...lobalType_OO_PROGRAM_EXAMPLE_main-type.vcg | 81 ++-- ...Type_OO_PROGRAM_EXAMPLE_main-wtypes-ip.vcg | 367 +++++++------- ...balType_OO_PROGRAM_EXAMPLE_main-wtypes.vcg | 212 +++++---- .../ref-results/IF_ELSE_EXAMPLE_main.vcg | 45 +- testprograms/ref-results/IF_EXAMPLE_main.vcg | 107 +++-- .../IF_WHILE_EXAMPLE_main-pure.vcg | 222 +++++---- .../ref-results/IRREGULAR_CF_main-cfg.vcg | 21 +- .../ref-results/IRREGULAR_CF_main.vcg | 131 ++--- .../ref-results/IRR_LOOP_main-cfg.vcg | 23 +- testprograms/ref-results/IRR_LOOP_main.vcg | 164 ++++--- .../ref-results/MEMORY_EXAMPLE_main.vcg | 216 +++++---- .../OO_INLINE_EXAMPLE_main-wtypes.vcg | 216 +++++---- .../ref-results/OO_INLINE_EXAMPLE_main.vcg | 127 ++--- .../OO_PROGRAM_EXAMPLE_main-pure-wtypes.vcg | 245 +++++----- .../OO_PROGRAM_EXAMPLE_main-pure.vcg | 152 +++--- .../ref-results/OO_PROGRAM_EXAMPLE_main.vcg | 119 +++-- .../ref-results/PRIMA_INLINE_c-wtypes.vcg | 159 ++++--- testprograms/ref-results/PRIMA_INLINE_c.vcg | 95 ++-- .../ref-results/PRIMA_INLINE_set_a-wtypes.vcg | 135 +++--- .../ref-results/PRIMA_INLINE_set_a.vcg | 71 +-- .../ref-results/PRIMA_c-pure-wtypes.vcg | 174 ++++--- testprograms/ref-results/PRIMA_c-pure.vcg | 110 +++-- testprograms/ref-results/PRIMA_c-type.vcg | 62 +-- testprograms/ref-results/PRIMA_c-wtypes.vcg | 147 +++--- testprograms/ref-results/PRIMA_c.vcg | 83 ++-- .../ref-results/PRIMA_set_a-pure-wtypes.vcg | 158 +++--- testprograms/ref-results/PRIMA_set_a-pure.vcg | 94 ++-- testprograms/ref-results/PRIMA_set_a-type.vcg | 62 +-- .../ref-results/PRIMA_set_a-wtypes.vcg | 135 +++--- testprograms/ref-results/PRIMA_set_a.vcg | 71 +-- .../THREE_CFPRED_EXAMPLE_main-cfg.vcg | 21 +- .../ref-results/THREE_CFPRED_EXAMPLE_main.vcg | 155 +++--- .../ref-results/WHILE_EXAMPLE_main.vcg | 121 +++-- testprograms/ref-results/class_hierarchy.vcg | 24 +- testprograms/ref-results/main-type.vcg | 49 +- testprograms/ref-results/main.vcg | 12 + 56 files changed, 3784 insertions(+), 2882 deletions(-) diff --git a/testprograms/irr_loop_example.c b/testprograms/irr_loop_example.c index 132c2e435..23a9adaa3 100644 --- a/testprograms/irr_loop_example.c +++ b/testprograms/irr_loop_example.c @@ -18,23 +18,23 @@ # include "firm.h" /** -* This file constructs a control flow of following shape: -* -* -* firstBlock -* / \ -* / \ -* |/_ _\| -* ----> -* LoopBlock1 LoopBlock2 -* <---- -* \ / -* \ / -* _\| |/_ -* nextBlock -* -* -**/ + * This file constructs a control flow of following shape: + * + * + * firstBlock + * / \ + * / \ + * |/_ _\| + * ----> + * LoopBlock1 LoopBlock2 + * <---- + * \ / + * \ / + * _\| |/_ + * nextBlock + * + * + **/ int main(int argc, char **argv) { diff --git a/testprograms/ref-results/ARRAY-HEAP_EXAMPLE_main-type.vcg b/testprograms/ref-results/ARRAY-HEAP_EXAMPLE_main-type.vcg index a98d66a2d..0165f28ec 100644 --- a/testprograms/ref-results/ARRAY-HEAP_EXAMPLE_main-type.vcg +++ b/testprograms/ref-results/ARRAY-HEAP_EXAMPLE_main-type.vcg @@ -17,9 +17,9 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -node: {title: "e17" label: "ent a_elem_ent" color: yellow +node: {title: "e18" label: "ent a_elem_ent" color: yellow info1: " -id: e17 +id: e18 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized @@ -29,27 +29,29 @@ name: a_elem_ent ld_name: no yet set offset: -1" } -edge: { sourcename: "e17" targetname: "t12"class: 3 label: "type" color: red} -node: {title: "t16" label: "array a" info1: "state: layout_undefined +edge: { sourcename: "e18" targetname: "t11"class: 3 label: "type" color: red} +node: {title: "t15" label: "array a" info1: "state: layout_undefined size: -1B, "} -edge: { sourcename: "t16" targetname: "t12"class: 10 label: "arr elt tp" color:green} -edge: { sourcename: "t16" targetname: "e17"class: 10 label: "arr ent" color: green} -edge: { sourcename: "n18" targetname: "t16"label: "upper 0"} -edge: { sourcename: "n19" targetname: "t16"label: "lower 0"} -node: {title: "n18" label: "0x9Iu 18" color: yellow info1: "visited: 1 +edge: { sourcename: "t15" targetname: "t11"class: 10 label: "arr elt tp" color:green} +edge: { sourcename: "t15" targetname: "e18"class: 10 label: "arr ent" color: green} +edge: { sourcename: "n19" targetname: "t15"label: "upper 0"} +edge: { sourcename: "n20" targetname: "t15"label: "lower 0"} +node: {title: "n19" label: "0x9Iu 19" color: yellow info1: "visited: 1 +arity: 0 Const of type type_unknown "} -node: {title: "n19" label: "0x0Iu 19" color: yellow info1: "visited: 1 +node: {title: "n20" label: "0x0Iu 20" color: yellow info1: "visited: 1 +arity: 0 Const of type type_unknown "} -node: {title: "t12" label: "primitive int" info1: "state: layout_fixed, +node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, mode: Is, size: 4B, "} -node: {title: "e15" label: "ent ARRAY-HEAP_EXAMPLE_main" color: yellow +node: {title: "e14" label: "ent ARRAY-HEAP_EXAMPLE_main" color: yellow info1: " -id: e15 +id: e14 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -60,22 +62,23 @@ ld_name: no yet set offset: -1 irg = g32" } -edge: { sourcename: "e15" targetname: "t13"class: 3 label: "type" color: red} -edge: { sourcename: "e15" targetname: "n14"label: "value 0"} -node: {title: "n14" label: "&(GlobalType_ARRAY-HEAP_EXAMPLE_main)P 14" color: yellow info1: "visited: 1 +edge: { sourcename: "e14" targetname: "t12"class: 3 label: "type" color: red} +edge: { sourcename: "e14" targetname: "n13"label: "value 0"} +node: {title: "n13" label: "&(GlobalType_ARRAY-HEAP_EXAMPLE_main)P 13" color: yellow info1: "visited: 1 +arity: 0 Const of type type_unknown "} node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "t0" targetname: "e15"class: 12 label: "member" color:blue} -node: {title: "t13" label: "method ARRAY-HEAP_EXAMPLE_main" info1: "state: layout_fixed, +edge: { sourcename: "t0" targetname: "e14"class: 12 label: "member" color:blue} +node: {title: "t12" label: "method ARRAY-HEAP_EXAMPLE_main" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t13" targetname: "t12"class: 6 label: "res 0" color: green} -node: {title: "t20" label: "class ARRAY-HEAP_EXAMPLE_mainframe_tp" info1: "state: layout_undefined +edge: { sourcename: "t12" targetname: "t11"class: 6 label: "res 0" color: green} +node: {title: "t21" label: "class ARRAY-HEAP_EXAMPLE_mainframe_tp" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} diff --git a/testprograms/ref-results/ARRAY-HEAP_EXAMPLE_main.vcg b/testprograms/ref-results/ARRAY-HEAP_EXAMPLE_main.vcg index 6860b9f52..6ea32861d 100644 --- a/testprograms/ref-results/ARRAY-HEAP_EXAMPLE_main.vcg +++ b/testprograms/ref-results/ARRAY-HEAP_EXAMPLE_main.vcg @@ -22,6 +22,7 @@ graph: { title: "n49" label: "Block 49" status:clustered color:yellow edge: {sourcename: "n49" targetname: "n50" label: "0" color: red} node: {title: "n48" label: "End 48" color: blue info1: "visited: 8 irg: ARRAY-HEAP_EXAMPLE_main +arity: 0 "} } @@ -29,6 +30,7 @@ graph: { title: "n51" label: "Block 51" status:clustered color:yellow edge: {sourcename: "n51" targetname: "n52" label: "0" color: red} node: {title: "n50" label: "Return 50" info1: "visited: 8 irg: ARRAY-HEAP_EXAMPLE_main +arity: 2 return in method of type ARRAY-HEAP_EXAMPLE_main res 0 type: int "} @@ -36,19 +38,23 @@ edge: {sourcename: "n50" targetname: "n64" label: "0" color: blue} edge: {sourcename: "n50" targetname: "n55" label: "1" } node: {title: "n64" label: "ProjM 0 64" color: yellow info1: "visited: 8 irg: ARRAY-HEAP_EXAMPLE_main +arity: 1 "} edge: {sourcename: "n64" targetname: "n56" label: "0" color: blue} node: {title: "n55" label: "ProjIs 2 55" color: yellow info1: "visited: 8 irg: ARRAY-HEAP_EXAMPLE_main +arity: 1 "} edge: {sourcename: "n55" targetname: "n56" label: "0" } node: {title: "n56" label: "Load 56" info1: "visited: 8 irg: ARRAY-HEAP_EXAMPLE_main +arity: 2 "} edge: {sourcename: "n56" targetname: "n63" label: "0" color: blue} edge: {sourcename: "n56" targetname: "n57" label: "1" } node: {title: "n57" label: "Sel a_elem_ent 57" info1: "visited: 8 irg: ARRAY-HEAP_EXAMPLE_main +arity: 3 Selecting entity of type int from entity of type a "} @@ -57,14 +63,17 @@ edge: {sourcename: "n57" targetname: "n59" label: "1" } edge: {sourcename: "n57" targetname: "n58" label: "2" } node: {title: "n63" label: "ProjM 0 63" color: yellow info1: "visited: 8 irg: ARRAY-HEAP_EXAMPLE_main +arity: 1 "} edge: {sourcename: "n63" targetname: "n60" label: "0" color: blue} node: {title: "n59" label: "ProjP 2 59" color: yellow info1: "visited: 8 irg: ARRAY-HEAP_EXAMPLE_main +arity: 1 "} edge: {sourcename: "n59" targetname: "n60" label: "0" } node: {title: "n60" label: "Alloc 60" info1: "visited: 8 irg: ARRAY-HEAP_EXAMPLE_main +arity: 2 allocating entity of type a "} edge: {sourcename: "n60" targetname: "n62" label: "0" color: blue} @@ -75,22 +84,27 @@ graph: { title: "n53" label: "Block 53" status:clustered color:yellow edge: {sourcename: "n53" targetname: "n52" label: "0" color: red} node: {title: "n62" label: "ProjM 1 62" color: yellow info1: "visited: 8 irg: ARRAY-HEAP_EXAMPLE_main +arity: 1 "} edge: {sourcename: "n62" targetname: "n54" label: "0" color: blue} node: {title: "n61" label: "0x28Iu 61" color: yellow info1: "visited: 8 irg: ARRAY-HEAP_EXAMPLE_main +arity: 0 Const of type type_unknown "} node: {title: "n58" label: "0x3Iu 58" color: yellow info1: "visited: 8 irg: ARRAY-HEAP_EXAMPLE_main +arity: 0 Const of type type_unknown "} node: {title: "n52" label: "ProjX 0 52" color: yellow info1: "visited: 8 irg: ARRAY-HEAP_EXAMPLE_main +arity: 1 "} edge: {sourcename: "n52" targetname: "n54" label: "0" color: red} node: {title: "n54" label: "Start 54" color: blue info1: "visited: 8 irg: ARRAY-HEAP_EXAMPLE_main +arity: 0 start of method of type ARRAY-HEAP_EXAMPLE_main "} } diff --git a/testprograms/ref-results/ARRAY-STACK_EXAMPLE_main-wtypes.vcg b/testprograms/ref-results/ARRAY-STACK_EXAMPLE_main-wtypes.vcg index 468402a92..6816898ae 100644 --- a/testprograms/ref-results/ARRAY-STACK_EXAMPLE_main-wtypes.vcg +++ b/testprograms/ref-results/ARRAY-STACK_EXAMPLE_main-wtypes.vcg @@ -22,6 +22,7 @@ graph: { title: "n47" label: "Block 47" status:clustered color:yellow edge: {sourcename: "n47" targetname: "n48" label: "0" color: red} node: {title: "n46" label: "End 46" color: blue info1: "visited: 10 irg: ARRAY-STACK_EXAMPLE_main +arity: 0 "} } @@ -29,6 +30,7 @@ graph: { title: "n49" label: "Block 49" status:clustered color:yellow edge: {sourcename: "n49" targetname: "n50" label: "0" color: red} node: {title: "n48" label: "Return 48" info1: "visited: 10 irg: ARRAY-STACK_EXAMPLE_main +arity: 2 return in method of type main res 0 type: int "} @@ -36,19 +38,23 @@ edge: {sourcename: "n48" targetname: "n60" label: "0" color: blue} edge: {sourcename: "n48" targetname: "n53" label: "1" } node: {title: "n60" label: "ProjM 0 60" color: yellow info1: "visited: 10 irg: ARRAY-STACK_EXAMPLE_main +arity: 1 "} edge: {sourcename: "n60" targetname: "n54" label: "0" color: blue} node: {title: "n53" label: "ProjIs 2 53" color: yellow info1: "visited: 10 irg: ARRAY-STACK_EXAMPLE_main +arity: 1 "} edge: {sourcename: "n53" targetname: "n54" label: "0" } node: {title: "n54" label: "Load 54" info1: "visited: 10 irg: ARRAY-STACK_EXAMPLE_main +arity: 2 "} edge: {sourcename: "n54" targetname: "n59" label: "0" color: blue} edge: {sourcename: "n54" targetname: "n55" label: "1" } node: {title: "n55" label: "Sel a_tp_elem_ent 55" info1: "visited: 10 irg: ARRAY-STACK_EXAMPLE_main +arity: 3 Selecting entity of type int from entity of type a_tp "} @@ -57,6 +63,7 @@ edge: {sourcename: "n55" targetname: "n57" label: "1" } edge: {sourcename: "n55" targetname: "n56" label: "2" } node: {title: "n57" label: "Sel a 57" info1: "visited: 10 irg: ARRAY-STACK_EXAMPLE_main +arity: 2 Selecting entity of type a_tp from entity of type mainframe_tp "} @@ -68,31 +75,36 @@ graph: { title: "n51" label: "Block 51" status:clustered color:yellow edge: {sourcename: "n51" targetname: "n50" label: "0" color: red} node: {title: "n59" label: "ProjM 1 59" color: yellow info1: "visited: 10 irg: ARRAY-STACK_EXAMPLE_main +arity: 1 "} edge: {sourcename: "n59" targetname: "n52" label: "0" color: blue} node: {title: "n58" label: "ProjP 2 58" color: yellow info1: "visited: 10 irg: ARRAY-STACK_EXAMPLE_main +arity: 1 "} edge: {sourcename: "n58" targetname: "n52" label: "0" } node: {title: "n56" label: "0x3Iu 56" color: yellow info1: "visited: 10 irg: ARRAY-STACK_EXAMPLE_main +arity: 0 Const of type type_unknown "} node: {title: "n50" label: "ProjX 0 50" color: yellow info1: "visited: 10 irg: ARRAY-STACK_EXAMPLE_main +arity: 1 "} edge: {sourcename: "n50" targetname: "n52" label: "0" color: red} node: {title: "n52" label: "Start 52" color: blue info1: "visited: 10 irg: ARRAY-STACK_EXAMPLE_main +arity: 0 start of method of type main "} } } -node: {title: "e18" label: "ent a_tp_elem_ent" color: yellow +node: {title: "e19" label: "ent a_tp_elem_ent" color: yellow info1: " -id: e18 +id: e19 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized @@ -102,21 +114,23 @@ name: a_tp_elem_ent ld_name: no yet set offset: -1" } -edge: { sourcename: "e18" targetname: "t12"class: 3 label: "type" color: red} -node: {title: "t17" label: "array a_tp" info1: "state: layout_undefined +edge: { sourcename: "e19" targetname: "t11"class: 3 label: "type" color: red} +node: {title: "t16" label: "array a_tp" info1: "state: layout_undefined size: -1B, "} -edge: { sourcename: "t17" targetname: "t12"class: 10 label: "arr elt tp" color:green} -edge: { sourcename: "t17" targetname: "e18"class: 10 label: "arr ent" color: green} -edge: { sourcename: "n19" targetname: "t17"label: "upper 0"} -edge: { sourcename: "n20" targetname: "t17"label: "lower 0"} -node: {title: "n19" label: "0x9Iu 19" color: yellow info1: "visited: 2 +edge: { sourcename: "t16" targetname: "t11"class: 10 label: "arr elt tp" color:green} +edge: { sourcename: "t16" targetname: "e19"class: 10 label: "arr ent" color: green} +edge: { sourcename: "n20" targetname: "t16"label: "upper 0"} +edge: { sourcename: "n21" targetname: "t16"label: "lower 0"} +node: {title: "n20" label: "0x9Iu 20" color: yellow info1: "visited: 2 +arity: 0 Const of type type_unknown "} -node: {title: "n20" label: "0x0Iu 20" color: yellow info1: "visited: 2 +node: {title: "n21" label: "0x0Iu 21" color: yellow info1: "visited: 2 +arity: 0 Const of type type_unknown "} -node: {title: "t12" label: "primitive int" info1: "state: layout_fixed, +node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, mode: Is, size: 4B, "} @@ -132,15 +146,15 @@ name: a ld_name: no yet set offset: -1" } -edge: { sourcename: "e35" targetname: "t17"class: 3 label: "type" color: red} -node: {title: "t21" label: "class mainframe_tp" info1: "state: layout_undefined +edge: { sourcename: "e35" targetname: "t16"class: 3 label: "type" color: red} +node: {title: "t22" label: "class mainframe_tp" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "t21" targetname: "e35"class: 12 label: "member" color:blue} -node: {title: "e16" label: "ent ARRAY-STACK_EXAMPLE_main" color: yellow +edge: { sourcename: "t22" targetname: "e35"class: 12 label: "member" color:blue} +node: {title: "e15" label: "ent ARRAY-STACK_EXAMPLE_main" color: yellow info1: " -id: e16 +id: e15 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -151,21 +165,22 @@ ld_name: ARRAY-STACK_EXAMPLE_main offset: -1 irg = g33" } -edge: { sourcename: "e16" targetname: "t14"class: 3 label: "type" color: red} -edge: { sourcename: "e16" targetname: "n15"label: "value 0"} -node: {title: "n15" label: "&(ARRAY-STACK_EXAMPLE_main)P 15" color: yellow info1: "visited: 2 +edge: { sourcename: "e15" targetname: "t13"class: 3 label: "type" color: red} +edge: { sourcename: "e15" targetname: "n14"label: "value 0"} +node: {title: "n14" label: "&(ARRAY-STACK_EXAMPLE_main)P 14" color: yellow info1: "visited: 2 +arity: 0 Const of type type_unknown "} -node: {title: "t13" label: "class ARRAY-STACK_EXAMPLE" info1: "state: layout_undefined +node: {title: "t12" label: "class ARRAY-STACK_EXAMPLE" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "t13" targetname: "e16"class: 12 label: "member" color:blue} -node: {title: "t14" label: "method main" info1: "state: layout_fixed, +edge: { sourcename: "t12" targetname: "e15"class: 12 label: "member" color:blue} +node: {title: "t13" label: "method main" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t14" targetname: "t12"class: 6 label: "res 0" color: green} -edge: { sourcename: "n55" targetname: "e18"class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "t13" targetname: "t11"class: 6 label: "res 0" color: green} +edge: { sourcename: "n55" targetname: "e19"class: 2 priority: 2 linestyle: dotted} edge: { sourcename: "n57" targetname: "e35"class: 2 priority: 2 linestyle: dotted} } diff --git a/testprograms/ref-results/All_graphs.vcg b/testprograms/ref-results/All_graphs.vcg index 343e4ff9c..902d5ea00 100644 --- a/testprograms/ref-results/All_graphs.vcg +++ b/testprograms/ref-results/All_graphs.vcg @@ -17,178 +17,208 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -graph: { title: "g37" label: "GlobalType_OO_PROGRAM_EXAMPLE_main" status:clustered color:white -graph: { title: "n108" label: "Block 108" status:clustered color:yellow -edge: {sourcename: "n108" targetname: "n109" label: "0" color: red} -node: {title: "n107" label: "End 107" color: blue info1: "visited: 48 +graph: { title: "g35" label: "GlobalType_OO_PROGRAM_EXAMPLE_main" status:clustered color:white +graph: { title: "n104" label: "Block 104" status:clustered color:yellow +edge: {sourcename: "n104" targetname: "n105" label: "0" color: red} +node: {title: "n103" label: "End 103" color: blue info1: "visited: 48 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 "} } -graph: { title: "n110" label: "Block 110" status:clustered color:yellow -edge: {sourcename: "n110" targetname: "n198" label: "0" color: red} -node: {title: "n109" label: "Return 109" info1: "visited: 48 +graph: { title: "n106" label: "Block 106" status:clustered color:yellow +edge: {sourcename: "n106" targetname: "n191" label: "0" color: red} +node: {title: "n105" label: "Return 105" info1: "visited: 48 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 2 "} -edge: {sourcename: "n109" targetname: "n200" label: "0" color: blue} -edge: {sourcename: "n109" targetname: "n201" label: "1" } -node: {title: "n200" label: "FilterM 0 200" color: yellow info1: "visited: 48 +edge: {sourcename: "n105" targetname: "n193" label: "0" color: blue} +edge: {sourcename: "n105" targetname: "n194" label: "1" } +node: {title: "n193" label: "FilterM 0 193" color: yellow info1: "visited: 48 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: intra predecessor nodes: - CallT 116 + CallT 112 "} -edge: {sourcename: "n200" targetname: "n167" label: "0" color: blue} -node: {title: "n201" label: "FilterIs 0 201" color: yellow info1: "visited: 48 +edge: {sourcename: "n193" targetname: "n161" label: "0" color: blue} +node: {title: "n194" label: "FilterIs 0 194" color: yellow info1: "visited: 48 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: intra predecessor nodes: - ProjT 115 + ProjT 111 "} -edge: {sourcename: "n201" targetname: "n159" label: "0" } +edge: {sourcename: "n194" targetname: "n153" label: "0" } } -graph: { title: "n195" label: "Block 195" status:clustered color:yellow -edge: {sourcename: "n195" targetname: "n192" label: "0" color: red} -node: {title: "n194" label: "FilterM 0 194" color: yellow info1: "visited: 48 +graph: { title: "n188" label: "Block 188" status:clustered color:yellow +edge: {sourcename: "n188" targetname: "n185" label: "0" color: red} +node: {title: "n187" label: "FilterM 0 187" color: yellow info1: "visited: 48 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: intra predecessor nodes: - CallT 124 + CallT 120 "} -edge: {sourcename: "n194" targetname: "n141" label: "0" color: blue} -node: {title: "n199" label: "ProjX 0 199" color: yellow info1: "visited: 48 +edge: {sourcename: "n187" targetname: "n136" label: "0" color: blue} +node: {title: "n192" label: "ProjX 0 192" color: yellow info1: "visited: 48 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n199" targetname: "n197" label: "0" color: red} -node: {title: "n197" label: "CallBegin 197" info1: "visited: 48 +edge: {sourcename: "n192" targetname: "n190" label: "0" color: red} +node: {title: "n190" label: "CallBegin 190" info1: "visited: 48 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 possible callees: 0: PRIMA_c "} -node: {title: "n197n172" label: "&(PRIMA_c)P 172" color: yellow info1: "visited: 48 +node: {title: "n190n165" label: "&(PRIMA_c)P 165" color: yellow info1: "visited: 48 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 Const of type type_unknown "} -edge: {sourcename: "n197" targetname: "n197n172" label: "0" } +edge: {sourcename: "n190" targetname: "n190n165" label: "0" } } -graph: { title: "n189" label: "Block 189" status:clustered color:yellow -edge: {sourcename: "n189" targetname: "n111" label: "0" color: red} -node: {title: "n127" label: "ProjM 0 127" color: yellow info1: "visited: 48 +graph: { title: "n182" label: "Block 182" status:clustered color:yellow +edge: {sourcename: "n182" targetname: "n107" label: "0" color: red} +node: {title: "n123" label: "ProjM 0 123" color: yellow info1: "visited: 48 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n127" targetname: "n119" label: "0" color: blue} -node: {title: "n118" label: "ProjP 2 118" color: yellow info1: "visited: 48 +edge: {sourcename: "n123" targetname: "n115" label: "0" color: blue} +node: {title: "n114" label: "ProjP 2 114" color: yellow info1: "visited: 48 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n118" targetname: "n119" label: "0" } -node: {title: "n119" label: "Alloc 119" info1: "visited: 48 +edge: {sourcename: "n114" targetname: "n115" label: "0" } +node: {title: "n115" label: "Alloc 115" info1: "visited: 48 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 2 allocating entity of type PRIMA "} -node: {title: "n119n120" label: "SymC PRIMA size 120" info1: "visited: 48 +node: {title: "n115n116" label: "SymC PRIMA size 116" info1: "visited: 48 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 "} -edge: {sourcename: "n119" targetname: "n121" label: "0" color: blue} -edge: {sourcename: "n119" targetname: "n119n120" label: "1" } -node: {title: "n193" label: "ProjX 0 193" color: yellow info1: "visited: 48 +edge: {sourcename: "n115" targetname: "n117" label: "0" color: blue} +edge: {sourcename: "n115" targetname: "n115n116" label: "1" } +node: {title: "n186" label: "ProjX 0 186" color: yellow info1: "visited: 48 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n193" targetname: "n191" label: "0" color: red} -node: {title: "n191" label: "CallBegin 191" info1: "visited: 48 +edge: {sourcename: "n186" targetname: "n184" label: "0" color: red} +node: {title: "n184" label: "CallBegin 184" info1: "visited: 48 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 possible callees: 0: PRIMA_set_a "} -node: {title: "n191n173" label: "&(PRIMA_set_a)P 173" color: yellow info1: "visited: 48 +node: {title: "n184n166" label: "&(PRIMA_set_a)P 166" color: yellow info1: "visited: 48 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 Const of type type_unknown "} -edge: {sourcename: "n191" targetname: "n191n173" label: "0" } +edge: {sourcename: "n184" targetname: "n184n166" label: "0" } } -graph: { title: "n112" label: "Block 112" status:clustered color:yellow -edge: {sourcename: "n112" targetname: "n111" label: "0" color: red} -node: {title: "n121" label: "ProjM 1 121" color: yellow info1: "visited: 48 +graph: { title: "n108" label: "Block 108" status:clustered color:yellow +edge: {sourcename: "n108" targetname: "n107" label: "0" color: red} +node: {title: "n117" label: "ProjM 1 117" color: yellow info1: "visited: 48 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n121" targetname: "n113" label: "0" color: blue} -node: {title: "n111" label: "ProjX 0 111" color: yellow info1: "visited: 48 +edge: {sourcename: "n117" targetname: "n109" label: "0" color: blue} +node: {title: "n107" label: "ProjX 0 107" color: yellow info1: "visited: 48 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n111" targetname: "n113" label: "0" color: red} -node: {title: "n113" label: "Start GlobalType_OO_PROGRAM_EXAMPLE_main 113" color: blue info1: "visited: 48 +edge: {sourcename: "n107" targetname: "n109" label: "0" color: red} +node: {title: "n109" label: "Start GlobalType_OO_PROGRAM_EXAMPLE_main 109" color: blue info1: "visited: 48 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 start of method of type OO_PROGRAM_EXAMPLE_main "} } } -graph: { title: "g71" label: "PRIMA_set_a" status:clustered color:white -graph: { title: "n186" label: "Block 186" status:clustered color:yellow -edge: {sourcename: "n186" targetname: "n185" label: "0" color: red} -node: {title: "n192" label: "ProjX 0 192" color: yellow info1: "visited: 48 +graph: { title: "g68" label: "PRIMA_set_a" status:clustered color:white +graph: { title: "n179" label: "Block 179" status:clustered color:yellow +edge: {sourcename: "n179" targetname: "n178" label: "0" color: red} +node: {title: "n185" label: "ProjX 0 185" color: yellow info1: "visited: 48 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n192" targetname: "n187" label: "0" color: red} -node: {title: "n187" label: "EndReg 187" color: blue info1: "visited: 48 +edge: {sourcename: "n185" targetname: "n180" label: "0" color: red} +node: {title: "n180" label: "EndReg 180" color: blue info1: "visited: 48 irg: PRIMA_set_a +arity: 0 "} } -graph: { title: "n137" label: "Block 137" status:clustered color:yellow -edge: {sourcename: "n137" targetname: "n138" label: "0" color: red} -node: {title: "n141" label: "ProjM 0 141" color: yellow info1: "visited: 48 +graph: { title: "n132" label: "Block 132" status:clustered color:yellow +edge: {sourcename: "n132" targetname: "n133" label: "0" color: red} +node: {title: "n136" label: "ProjM 0 136" color: yellow info1: "visited: 48 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n141" targetname: "n142" label: "0" color: blue} -node: {title: "n142" label: "Store 142" info1: "visited: 48 +edge: {sourcename: "n136" targetname: "n137" label: "0" color: blue} +node: {title: "n137" label: "Store 137" info1: "visited: 48 irg: PRIMA_set_a +arity: 3 "} -edge: {sourcename: "n142" targetname: "n182" label: "0" color: blue} -edge: {sourcename: "n142" targetname: "n145" label: "1" } -edge: {sourcename: "n142" targetname: "n184" label: "2" } -node: {title: "n145" label: "Sel a 145" info1: "visited: 48 +edge: {sourcename: "n137" targetname: "n175" label: "0" color: blue} +edge: {sourcename: "n137" targetname: "n140" label: "1" } +edge: {sourcename: "n137" targetname: "n177" label: "2" } +node: {title: "n140" label: "Sel a 140" info1: "visited: 48 irg: PRIMA_set_a +arity: 2 Selecting entity of type int from entity of type PRIMA "} -edge: {sourcename: "n145" targetname: "n182" label: "0" color: blue} -edge: {sourcename: "n145" targetname: "n183" label: "1" } -node: {title: "n185" label: "Jmp 185" info1: "visited: 48 +edge: {sourcename: "n140" targetname: "n175" label: "0" color: blue} +edge: {sourcename: "n140" targetname: "n176" label: "1" } +node: {title: "n178" label: "Jmp 178" info1: "visited: 48 irg: PRIMA_set_a +arity: 0 "} } -graph: { title: "n139" label: "Block 139" status:clustered color:yellow -edge: {sourcename: "n139" targetname: "n193" label: "0" color: red} -node: {title: "n182" label: "FilterM 1 182" color: yellow info1: "visited: 48 +graph: { title: "n134" label: "Block 134" status:clustered color:yellow +edge: {sourcename: "n134" targetname: "n186" label: "0" color: red} +node: {title: "n175" label: "FilterM 1 175" color: yellow info1: "visited: 48 irg: PRIMA_set_a +arity: 1 backedges: intra predecessor nodes: - StartT 140 + StartT 135 "} -edge: {sourcename: "n182" targetname: "n127" label: "0" color: blue} -node: {title: "n183" label: "FilterP 0 183" color: yellow info1: "visited: 48 +edge: {sourcename: "n175" targetname: "n123" label: "0" color: blue} +node: {title: "n176" label: "FilterP 0 176" color: yellow info1: "visited: 48 irg: PRIMA_set_a +arity: 1 backedges: intra predecessor nodes: - ProjT 144 + ProjT 139 "} -edge: {sourcename: "n183" targetname: "n118" label: "0" } -node: {title: "n184" label: "FilterIs 1 184" color: yellow info1: "visited: 48 +edge: {sourcename: "n176" targetname: "n114" label: "0" } +node: {title: "n177" label: "FilterIs 1 177" color: yellow info1: "visited: 48 irg: PRIMA_set_a +arity: 1 backedges: intra predecessor nodes: - ProjT 144 + ProjT 139 "} -node: {title: "n184n125" label: "0x2Is 125" color: yellow info1: "visited: 48 +node: {title: "n177n121" label: "0x2Is 121" color: yellow info1: "visited: 48 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 Const of type type_unknown "} -edge: {sourcename: "n184" targetname: "n184n125" label: "0" } -node: {title: "n138" label: "ProjX 0 138" color: yellow info1: "visited: 48 +edge: {sourcename: "n177" targetname: "n177n121" label: "0" } +node: {title: "n133" label: "ProjX 0 133" color: yellow info1: "visited: 48 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n138" targetname: "n140" label: "0" color: red} -node: {title: "n140" label: "Start PRIMA_set_a 140" color: blue info1: "visited: 48 +edge: {sourcename: "n133" targetname: "n135" label: "0" color: red} +node: {title: "n135" label: "Start PRIMA_set_a 135" color: blue info1: "visited: 48 irg: PRIMA_set_a +arity: 0 start of method of type set_a param 0 type: class_prima_ptr param 1 type: int @@ -197,80 +227,94 @@ start of method of type set_a } -graph: { title: "g94" label: "PRIMA_c" status:clustered color:white -graph: { title: "n178" label: "Block 178" status:clustered color:yellow -edge: {sourcename: "n178" targetname: "n177" label: "0" color: red} -node: {title: "n198" label: "ProjX 0 198" color: yellow info1: "visited: 48 +graph: { title: "g90" label: "PRIMA_c" status:clustered color:white +graph: { title: "n171" label: "Block 171" status:clustered color:yellow +edge: {sourcename: "n171" targetname: "n170" label: "0" color: red} +node: {title: "n191" label: "ProjX 0 191" color: yellow info1: "visited: 48 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n198" targetname: "n179" label: "0" color: red} -node: {title: "n179" label: "EndReg 179" color: blue info1: "visited: 48 +edge: {sourcename: "n191" targetname: "n172" label: "0" color: red} +node: {title: "n172" label: "EndReg 172" color: blue info1: "visited: 48 irg: PRIMA_c +arity: 0 "} } -graph: { title: "n155" label: "Block 155" status:clustered color:yellow -edge: {sourcename: "n155" targetname: "n156" label: "0" color: red} -node: {title: "n167" label: "ProjM 0 167" color: yellow info1: "visited: 48 +graph: { title: "n149" label: "Block 149" status:clustered color:yellow +edge: {sourcename: "n149" targetname: "n150" label: "0" color: red} +node: {title: "n161" label: "ProjM 0 161" color: yellow info1: "visited: 48 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n167" targetname: "n161" label: "0" color: blue} -node: {title: "n159" label: "AddIs 159" info1: "visited: 48 +edge: {sourcename: "n161" targetname: "n155" label: "0" color: blue} +node: {title: "n153" label: "AddIs 153" info1: "visited: 48 irg: PRIMA_c +arity: 2 "} -edge: {sourcename: "n159" targetname: "n160" label: "0" } -edge: {sourcename: "n159" targetname: "n174" label: "1" } -node: {title: "n160" label: "ProjIs 2 160" color: yellow info1: "visited: 48 +edge: {sourcename: "n153" targetname: "n154" label: "0" } +edge: {sourcename: "n153" targetname: "n167" label: "1" } +node: {title: "n154" label: "ProjIs 2 154" color: yellow info1: "visited: 48 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n160" targetname: "n161" label: "0" } -node: {title: "n161" label: "Load 161" info1: "visited: 48 +edge: {sourcename: "n154" targetname: "n155" label: "0" } +node: {title: "n155" label: "Load 155" info1: "visited: 48 irg: PRIMA_c +arity: 2 "} -edge: {sourcename: "n161" targetname: "n175" label: "0" color: blue} -edge: {sourcename: "n161" targetname: "n162" label: "1" } -node: {title: "n162" label: "Sel a 162" info1: "visited: 48 +edge: {sourcename: "n155" targetname: "n168" label: "0" color: blue} +edge: {sourcename: "n155" targetname: "n156" label: "1" } +node: {title: "n156" label: "Sel a 156" info1: "visited: 48 irg: PRIMA_c +arity: 2 Selecting entity of type int from entity of type PRIMA "} -edge: {sourcename: "n162" targetname: "n175" label: "0" color: blue} -edge: {sourcename: "n162" targetname: "n176" label: "1" } -node: {title: "n177" label: "Jmp 177" info1: "visited: 48 +edge: {sourcename: "n156" targetname: "n168" label: "0" color: blue} +edge: {sourcename: "n156" targetname: "n169" label: "1" } +node: {title: "n170" label: "Jmp 170" info1: "visited: 48 irg: PRIMA_c +arity: 0 "} } -graph: { title: "n157" label: "Block 157" status:clustered color:yellow -edge: {sourcename: "n157" targetname: "n199" label: "0" color: red} -node: {title: "n175" label: "FilterM 1 175" color: yellow info1: "visited: 48 +graph: { title: "n151" label: "Block 151" status:clustered color:yellow +edge: {sourcename: "n151" targetname: "n192" label: "0" color: red} +node: {title: "n168" label: "FilterM 1 168" color: yellow info1: "visited: 48 irg: PRIMA_c +arity: 1 backedges: intra predecessor nodes: - StartT 158 + StartT 152 "} -edge: {sourcename: "n175" targetname: "n194" label: "0" color: blue} -node: {title: "n176" label: "FilterP 0 176" color: yellow info1: "visited: 48 +edge: {sourcename: "n168" targetname: "n187" label: "0" color: blue} +node: {title: "n169" label: "FilterP 0 169" color: yellow info1: "visited: 48 irg: PRIMA_c +arity: 1 backedges: intra predecessor nodes: - ProjT 164 + ProjT 158 "} -edge: {sourcename: "n176" targetname: "n118" label: "0" } -node: {title: "n174" label: "FilterIs 1 174" color: yellow info1: "visited: 48 +edge: {sourcename: "n169" targetname: "n114" label: "0" } +node: {title: "n167" label: "FilterIs 1 167" color: yellow info1: "visited: 48 irg: PRIMA_c +arity: 1 backedges: intra predecessor nodes: - ProjT 164 + ProjT 158 "} -node: {title: "n174n117" label: "0x5Is 117" color: yellow info1: "visited: 48 +node: {title: "n167n113" label: "0x5Is 113" color: yellow info1: "visited: 48 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 Const of type type_unknown "} -edge: {sourcename: "n174" targetname: "n174n117" label: "0" } -node: {title: "n156" label: "ProjX 0 156" color: yellow info1: "visited: 48 +edge: {sourcename: "n167" targetname: "n167n113" label: "0" } +node: {title: "n150" label: "ProjX 0 150" color: yellow info1: "visited: 48 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n156" targetname: "n158" label: "0" color: red} -node: {title: "n158" label: "Start PRIMA_c 158" color: blue info1: "visited: 48 +edge: {sourcename: "n150" targetname: "n152" label: "0" color: red} +node: {title: "n152" label: "Start PRIMA_c 152" color: blue info1: "visited: 48 irg: PRIMA_c +arity: 0 start of method of type c param 0 type: class_prima_ptr param 1 type: int diff --git a/testprograms/ref-results/All_types.vcg b/testprograms/ref-results/All_types.vcg index 7dac8a341..9f42b9317 100644 --- a/testprograms/ref-results/All_types.vcg +++ b/testprograms/ref-results/All_types.vcg @@ -17,24 +17,24 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -node: {title: "t12" label: "primitive int" info1: "state: layout_fixed, +node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, mode: Is, size: 4B, "} -node: {title: "t13" label: "method main_tp" info1: "state: layout_fixed, +node: {title: "t12" label: "method main_tp" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t13" targetname: "t12"class: 5 label: "param 0" color: green} -edge: { sourcename: "t13" targetname: "t12"class: 6 label: "res 0" color: green} -node: {title: "t14" label: "class WHILE_EXAMPLE" info1: "state: layout_undefined +edge: { sourcename: "t12" targetname: "t11"class: 5 label: "param 0" color: green} +edge: { sourcename: "t12" targetname: "t11"class: 6 label: "res 0" color: green} +node: {title: "t13" label: "class WHILE_EXAMPLE" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "t14" targetname: "e16"class: 12 label: "member" color:blue} -node: {title: "e16" label: "ent main" color: yellow +edge: { sourcename: "t13" targetname: "e15"class: 12 label: "member" color:blue} +node: {title: "e15" label: "ent main" color: yellow info1: " -id: e16 +id: e15 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -43,11 +43,12 @@ peculiarity: peculiarity_existent name: main ld_name: no yet set offset: -1 -irg = g29" +irg = g27" } -edge: { sourcename: "e16" targetname: "t13"class: 3 label: "type" color: red} -edge: { sourcename: "e16" targetname: "n15"label: "value 0"} -node: {title: "n15" label: "&(WHILE_EXAMPLE_main)P 15" color: yellow info1: "visited: 1 +edge: { sourcename: "e15" targetname: "t12"class: 3 label: "type" color: red} +edge: { sourcename: "e15" targetname: "n14"label: "value 0"} +node: {title: "n14" label: "&(WHILE_EXAMPLE_main)P 14" color: yellow info1: "visited: 1 +arity: 0 Const of type type_unknown "} node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined diff --git a/testprograms/ref-results/CALL_STR_EXAMPLE_main.vcg b/testprograms/ref-results/CALL_STR_EXAMPLE_main.vcg index 65365872d..6ca397353 100644 --- a/testprograms/ref-results/CALL_STR_EXAMPLE_main.vcg +++ b/testprograms/ref-results/CALL_STR_EXAMPLE_main.vcg @@ -22,6 +22,7 @@ graph: { title: "n56" label: "Block 56" status:clustered color:yellow edge: {sourcename: "n56" targetname: "n57" label: "0" color: red} node: {title: "n55" label: "End 55" color: blue info1: "visited: 6 irg: CALL_STR_EXAMPLE_main +arity: 0 "} } @@ -29,15 +30,18 @@ graph: { title: "n58" label: "Block 58" status:clustered color:yellow edge: {sourcename: "n58" targetname: "n59" label: "0" color: red} node: {title: "n57" label: "Return 57" info1: "visited: 6 irg: CALL_STR_EXAMPLE_main +arity: 1 return in method of type CALL_STR_EXAMPLE_main "} edge: {sourcename: "n57" targetname: "n62" label: "0" color: blue} node: {title: "n62" label: "ProjM 0 62" color: yellow info1: "visited: 6 irg: CALL_STR_EXAMPLE_main +arity: 1 "} edge: {sourcename: "n62" targetname: "n63" label: "0" color: blue} node: {title: "n63" label: "Call 63" info1: "visited: 6 irg: CALL_STR_EXAMPLE_main +arity: 3 calling method of type f param 0 type: ptr_to_string "} @@ -50,21 +54,26 @@ graph: { title: "n60" label: "Block 60" status:clustered color:yellow edge: {sourcename: "n60" targetname: "n59" label: "0" color: red} node: {title: "n66" label: "ProjM 1 66" color: yellow info1: "visited: 6 irg: CALL_STR_EXAMPLE_main +arity: 1 "} edge: {sourcename: "n66" targetname: "n61" label: "0" color: blue} node: {title: "n65" label: "SymC f 65" info1: "visited: 6 irg: CALL_STR_EXAMPLE_main +arity: 0 "} node: {title: "n64" label: "&(GlobalType_constStr)P 64" color: yellow info1: "visited: 6 irg: CALL_STR_EXAMPLE_main +arity: 0 Const of type ptr_to_string "} node: {title: "n59" label: "ProjX 0 59" color: yellow info1: "visited: 6 irg: CALL_STR_EXAMPLE_main +arity: 1 "} edge: {sourcename: "n59" targetname: "n61" label: "0" color: red} node: {title: "n61" label: "Start 61" color: blue info1: "visited: 6 irg: CALL_STR_EXAMPLE_main +arity: 0 start of method of type CALL_STR_EXAMPLE_main "} } diff --git a/testprograms/ref-results/COND_EXAMPLE_main.vcg b/testprograms/ref-results/COND_EXAMPLE_main.vcg index 62096cc97..b039ecaaa 100644 --- a/testprograms/ref-results/COND_EXAMPLE_main.vcg +++ b/testprograms/ref-results/COND_EXAMPLE_main.vcg @@ -17,130 +17,155 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -graph: { title: "g29" label: "COND_EXAMPLE_main" status:clustered color:white -graph: { title: "n61" label: "Block 61" status:clustered color:yellow -edge: {sourcename: "n61" targetname: "n62" label: "0" color: red} -node: {title: "n60" label: "End 60" color: blue info1: "visited: 9 +graph: { title: "g27" label: "COND_EXAMPLE_main" status:clustered color:white +graph: { title: "n59" label: "Block 59" status:clustered color:yellow +edge: {sourcename: "n59" targetname: "n60" label: "0" color: red} +node: {title: "n58" label: "End 58" color: blue info1: "visited: 9 irg: COND_EXAMPLE_main +arity: 0 "} } -graph: { title: "n63" label: "Block 63" status:clustered color:yellow -edge: {sourcename: "n63" targetname: "n84" label: "0" color: red} -edge: {sourcename: "n63" targetname: "n64" label: "1" color: red} -node: {title: "n62" label: "Return 62" info1: "visited: 9 +graph: { title: "n61" label: "Block 61" status:clustered color:yellow +edge: {sourcename: "n61" targetname: "n82" label: "0" color: red} +edge: {sourcename: "n61" targetname: "n62" label: "1" color: red} +node: {title: "n60" label: "Return 60" info1: "visited: 9 irg: COND_EXAMPLE_main +arity: 2 return in method of type main res 0 type: int "} -edge: {sourcename: "n62" targetname: "n89" label: "0" color: blue} -edge: {sourcename: "n62" targetname: "n87" label: "1" } -node: {title: "n87" label: "PhiIs 87" color: green info1: "visited: 9 +edge: {sourcename: "n60" targetname: "n87" label: "0" color: blue} +edge: {sourcename: "n60" targetname: "n85" label: "1" } +node: {title: "n85" label: "PhiIs 85" color: green info1: "visited: 9 irg: COND_EXAMPLE_main +arity: 2 backedges: "} -edge: {sourcename: "n87" targetname: "n88" label: "0" } -edge: {sourcename: "n87" targetname: "n78" label: "1" } +edge: {sourcename: "n85" targetname: "n86" label: "0" } +edge: {sourcename: "n85" targetname: "n76" label: "1" } } -graph: { title: "n85" label: "Block 85" status:clustered color:yellow -edge: {sourcename: "n85" targetname: "n86" label: "0" color: red} -node: {title: "n84" label: "Jmp 84" info1: "visited: 9 +graph: { title: "n83" label: "Block 83" status:clustered color:yellow +edge: {sourcename: "n83" targetname: "n84" label: "0" color: red} +node: {title: "n82" label: "Jmp 82" info1: "visited: 9 irg: COND_EXAMPLE_main +arity: 0 "} } -graph: { title: "n65" label: "Block 65" status:clustered color:yellow -edge: {sourcename: "n65" targetname: "n66" label: "0" color: red} -node: {title: "n86" label: "ProjX 1 86" color: yellow info1: "visited: 9 +graph: { title: "n63" label: "Block 63" status:clustered color:yellow +edge: {sourcename: "n63" targetname: "n64" label: "0" color: red} +node: {title: "n84" label: "ProjX 1 84" color: yellow info1: "visited: 9 irg: COND_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n86" targetname: "n69" label: "0" color: red} -node: {title: "n64" label: "ProjX 0 64" color: yellow info1: "visited: 9 +edge: {sourcename: "n84" targetname: "n67" label: "0" color: red} +node: {title: "n62" label: "ProjX 0 62" color: yellow info1: "visited: 9 irg: COND_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n64" targetname: "n69" label: "0" color: red} -node: {title: "n69" label: "Cond 69" info1: "visited: 9 +edge: {sourcename: "n62" targetname: "n67" label: "0" color: red} +node: {title: "n67" label: "Cond 67" info1: "visited: 9 irg: COND_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n69" targetname: "n70" label: "0" } -node: {title: "n70" label: "Projb Ne 70" color: yellow info1: "visited: 9 +edge: {sourcename: "n67" targetname: "n68" label: "0" } +node: {title: "n68" label: "Projb Ne 68" color: yellow info1: "visited: 9 irg: COND_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n70" targetname: "n71" label: "0" } -node: {title: "n71" label: "CmpT 71" info1: "visited: 9 +edge: {sourcename: "n68" targetname: "n69" label: "0" } +node: {title: "n69" label: "CmpT 69" info1: "visited: 9 irg: COND_EXAMPLE_main +arity: 2 "} -edge: {sourcename: "n71" targetname: "n73" label: "0" } -edge: {sourcename: "n71" targetname: "n72" label: "1" } -node: {title: "n73" label: "AndIs 73" info1: "visited: 9 +edge: {sourcename: "n69" targetname: "n71" label: "0" } +edge: {sourcename: "n69" targetname: "n70" label: "1" } +node: {title: "n71" label: "AndIs 71" info1: "visited: 9 irg: COND_EXAMPLE_main +arity: 2 "} -edge: {sourcename: "n73" targetname: "n80" label: "0" } -edge: {sourcename: "n73" targetname: "n74" label: "1" } -node: {title: "n80" label: "ConvIs 80" info1: "visited: 9 +edge: {sourcename: "n71" targetname: "n78" label: "0" } +edge: {sourcename: "n71" targetname: "n72" label: "1" } +node: {title: "n78" label: "ConvIs 78" info1: "visited: 9 irg: COND_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n80" targetname: "n81" label: "0" } -node: {title: "n81" label: "Projb Gt 81" color: yellow info1: "visited: 9 +edge: {sourcename: "n78" targetname: "n79" label: "0" } +node: {title: "n79" label: "Projb Gt 79" color: yellow info1: "visited: 9 irg: COND_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n81" targetname: "n82" label: "0" } -node: {title: "n82" label: "CmpT 82" info1: "visited: 9 +edge: {sourcename: "n79" targetname: "n80" label: "0" } +node: {title: "n80" label: "CmpT 80" info1: "visited: 9 irg: COND_EXAMPLE_main +arity: 2 "} -edge: {sourcename: "n82" targetname: "n78" label: "0" } -edge: {sourcename: "n82" targetname: "n83" label: "1" } -node: {title: "n74" label: "ConvIs 74" info1: "visited: 9 +edge: {sourcename: "n80" targetname: "n76" label: "0" } +edge: {sourcename: "n80" targetname: "n81" label: "1" } +node: {title: "n72" label: "ConvIs 72" info1: "visited: 9 irg: COND_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n74" targetname: "n75" label: "0" } -node: {title: "n75" label: "Projb Lt 75" color: yellow info1: "visited: 9 +edge: {sourcename: "n72" targetname: "n73" label: "0" } +node: {title: "n73" label: "Projb Lt 73" color: yellow info1: "visited: 9 irg: COND_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n75" targetname: "n76" label: "0" } -node: {title: "n76" label: "CmpT 76" info1: "visited: 9 +edge: {sourcename: "n73" targetname: "n74" label: "0" } +node: {title: "n74" label: "CmpT 74" info1: "visited: 9 irg: COND_EXAMPLE_main +arity: 2 "} -edge: {sourcename: "n76" targetname: "n78" label: "0" } -edge: {sourcename: "n76" targetname: "n77" label: "1" } -node: {title: "n78" label: "ProjIs 0 78" color: yellow info1: "visited: 9 +edge: {sourcename: "n74" targetname: "n76" label: "0" } +edge: {sourcename: "n74" targetname: "n75" label: "1" } +node: {title: "n76" label: "ProjIs 0 76" color: yellow info1: "visited: 9 irg: COND_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n78" targetname: "n79" label: "0" } +edge: {sourcename: "n76" targetname: "n77" label: "0" } } -graph: { title: "n67" label: "Block 67" status:clustered color:yellow -edge: {sourcename: "n67" targetname: "n66" label: "0" color: red} -node: {title: "n89" label: "ProjM 1 89" color: yellow info1: "visited: 9 +graph: { title: "n65" label: "Block 65" status:clustered color:yellow +edge: {sourcename: "n65" targetname: "n64" label: "0" color: red} +node: {title: "n87" label: "ProjM 1 87" color: yellow info1: "visited: 9 irg: COND_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n89" targetname: "n68" label: "0" color: blue} -node: {title: "n88" label: "0x1Is 88" color: yellow info1: "visited: 9 +edge: {sourcename: "n87" targetname: "n66" label: "0" color: blue} +node: {title: "n86" label: "0x1Is 86" color: yellow info1: "visited: 9 irg: COND_EXAMPLE_main +arity: 0 Const of type type_unknown "} -node: {title: "n83" label: "0x2Is 83" color: yellow info1: "visited: 9 +node: {title: "n81" label: "0x2Is 81" color: yellow info1: "visited: 9 irg: COND_EXAMPLE_main +arity: 0 Const of type type_unknown "} -node: {title: "n79" label: "ProjT 4 79" color: yellow info1: "visited: 9 +node: {title: "n77" label: "ProjT 4 77" color: yellow info1: "visited: 9 irg: COND_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n79" targetname: "n68" label: "0" } -node: {title: "n77" label: "0xAIs 77" color: yellow info1: "visited: 9 +edge: {sourcename: "n77" targetname: "n66" label: "0" } +node: {title: "n75" label: "0xAIs 75" color: yellow info1: "visited: 9 irg: COND_EXAMPLE_main +arity: 0 Const of type type_unknown "} -node: {title: "n72" label: "0x0Is 72" color: yellow info1: "visited: 9 +node: {title: "n70" label: "0x0Is 70" color: yellow info1: "visited: 9 irg: COND_EXAMPLE_main +arity: 0 Const of type type_unknown "} -node: {title: "n66" label: "ProjX 0 66" color: yellow info1: "visited: 9 +node: {title: "n64" label: "ProjX 0 64" color: yellow info1: "visited: 9 irg: COND_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n66" targetname: "n68" label: "0" color: red} -node: {title: "n68" label: "Start 68" color: blue info1: "visited: 9 +edge: {sourcename: "n64" targetname: "n66" label: "0" color: red} +node: {title: "n66" label: "Start 66" color: blue info1: "visited: 9 irg: COND_EXAMPLE_main +arity: 0 start of method of type main param 0 type: int "} diff --git a/testprograms/ref-results/CONST_EVAL_EXAMPLE_main.vcg b/testprograms/ref-results/CONST_EVAL_EXAMPLE_main.vcg index 65b77319d..aec640571 100644 --- a/testprograms/ref-results/CONST_EVAL_EXAMPLE_main.vcg +++ b/testprograms/ref-results/CONST_EVAL_EXAMPLE_main.vcg @@ -17,43 +17,49 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -graph: { title: "g29" label: "CONST_EVAL_EXAMPLE_main" status:clustered color:white -graph: { title: "n46" label: "Block 46" status:clustered color:yellow -edge: {sourcename: "n46" targetname: "n47" label: "0" color: red} -node: {title: "n45" label: "End 45" color: blue info1: "visited: 4 +graph: { title: "g27" label: "CONST_EVAL_EXAMPLE_main" status:clustered color:white +graph: { title: "n44" label: "Block 44" status:clustered color:yellow +edge: {sourcename: "n44" targetname: "n45" label: "0" color: red} +node: {title: "n43" label: "End 43" color: blue info1: "visited: 4 irg: CONST_EVAL_EXAMPLE_main +arity: 0 "} } -graph: { title: "n48" label: "Block 48" status:clustered color:yellow -edge: {sourcename: "n48" targetname: "n49" label: "0" color: red} -node: {title: "n47" label: "Return 47" info1: "visited: 4 +graph: { title: "n46" label: "Block 46" status:clustered color:yellow +edge: {sourcename: "n46" targetname: "n47" label: "0" color: red} +node: {title: "n45" label: "Return 45" info1: "visited: 4 irg: CONST_EVAL_EXAMPLE_main +arity: 3 return in method of type main res 0 type: int res 1 type: int "} -edge: {sourcename: "n47" targetname: "n53" label: "0" color: blue} -edge: {sourcename: "n47" targetname: "n52" label: "1" } -edge: {sourcename: "n47" targetname: "n52" label: "2" } +edge: {sourcename: "n45" targetname: "n51" label: "0" color: blue} +edge: {sourcename: "n45" targetname: "n50" label: "1" } +edge: {sourcename: "n45" targetname: "n50" label: "2" } } -graph: { title: "n50" label: "Block 50" status:clustered color:yellow -edge: {sourcename: "n50" targetname: "n49" label: "0" color: red} -node: {title: "n53" label: "ProjM 1 53" color: yellow info1: "visited: 4 +graph: { title: "n48" label: "Block 48" status:clustered color:yellow +edge: {sourcename: "n48" targetname: "n47" label: "0" color: red} +node: {title: "n51" label: "ProjM 1 51" color: yellow info1: "visited: 4 irg: CONST_EVAL_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n53" targetname: "n51" label: "0" color: blue} -node: {title: "n52" label: "0xCIs 52" color: yellow info1: "visited: 4 +edge: {sourcename: "n51" targetname: "n49" label: "0" color: blue} +node: {title: "n50" label: "0xCIs 50" color: yellow info1: "visited: 4 irg: CONST_EVAL_EXAMPLE_main +arity: 0 Const of type type_unknown "} -node: {title: "n49" label: "ProjX 0 49" color: yellow info1: "visited: 4 +node: {title: "n47" label: "ProjX 0 47" color: yellow info1: "visited: 4 irg: CONST_EVAL_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n49" targetname: "n51" label: "0" color: red} -node: {title: "n51" label: "Start 51" color: blue info1: "visited: 4 +edge: {sourcename: "n47" targetname: "n49" label: "0" color: red} +node: {title: "n49" label: "Start 49" color: blue info1: "visited: 4 irg: CONST_EVAL_EXAMPLE_main +arity: 0 start of method of type main "} } diff --git a/testprograms/ref-results/DEAD_BLOCK_main-cfg.vcg b/testprograms/ref-results/DEAD_BLOCK_main-cfg.vcg index db679b4b6..32b15eb77 100644 --- a/testprograms/ref-results/DEAD_BLOCK_main-cfg.vcg +++ b/testprograms/ref-results/DEAD_BLOCK_main-cfg.vcg @@ -17,13 +17,14 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -node: {title: "n59" label: "Block n59" } -edge: { sourcename: "n59" targetname: "n67"} -node: {title: "n67" label: "Block n67" } -edge: { sourcename: "n67" targetname: "n63"} -node: {title: "n63" label: "Block n63" } -edge: { sourcename: "n63" targetname: "n63"} -node: {title: "n62" label: "Bad 62" info1: "visited: 0 +node: {title: "n57" label: "Block n57" } +edge: { sourcename: "n57" targetname: "n65"} +node: {title: "n65" label: "Block n65" } +edge: { sourcename: "n65" targetname: "n61"} +node: {title: "n61" label: "Block n61" } +edge: { sourcename: "n61" targetname: "n61"} +node: {title: "n60" label: "Bad 60" info1: "visited: 0 irg: DEAD_BLOCK_main +arity: 0 "} } diff --git a/testprograms/ref-results/DEAD_BLOCK_main.vcg b/testprograms/ref-results/DEAD_BLOCK_main.vcg index 16580e595..b45f73ecd 100644 --- a/testprograms/ref-results/DEAD_BLOCK_main.vcg +++ b/testprograms/ref-results/DEAD_BLOCK_main.vcg @@ -17,41 +17,47 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -graph: { title: "g29" label: "DEAD_BLOCK_main" status:clustered color:white -graph: { title: "n59" label: "Block 59" status:clustered color:yellow -edge: {sourcename: "n59" targetname: "n60" label: "0" color: red} -node: {title: "n58" label: "End 58" color: blue info1: "visited: 9 +graph: { title: "g27" label: "DEAD_BLOCK_main" status:clustered color:white +graph: { title: "n57" label: "Block 57" status:clustered color:yellow +edge: {sourcename: "n57" targetname: "n58" label: "0" color: red} +node: {title: "n56" label: "End 56" color: blue info1: "visited: 9 irg: DEAD_BLOCK_main +arity: 0 "} } -graph: { title: "n67" label: "Block 67" status:clustered color:yellow -edge: {sourcename: "n67" targetname: "n64" label: "0" color: red} -node: {title: "n60" label: "Return 60" info1: "visited: 9 +graph: { title: "n65" label: "Block 65" status:clustered color:yellow +edge: {sourcename: "n65" targetname: "n62" label: "0" color: red} +node: {title: "n58" label: "Return 58" info1: "visited: 9 irg: DEAD_BLOCK_main +arity: 2 return in method of type main res 0 type: int "} -edge: {sourcename: "n60" targetname: "n69" label: "0" color: blue} -edge: {sourcename: "n60" targetname: "n68" label: "1" } +edge: {sourcename: "n58" targetname: "n67" label: "0" color: blue} +edge: {sourcename: "n58" targetname: "n66" label: "1" } } -graph: { title: "n63" label: "Block 63" status:clustered color:yellow -edge: {sourcename: "n63" targetname: "n64" label: "0" color: red} -node: {title: "n69" label: "ProjM 1 69" color: yellow info1: "visited: 9 +graph: { title: "n61" label: "Block 61" status:clustered color:yellow +edge: {sourcename: "n61" targetname: "n62" label: "0" color: red} +node: {title: "n67" label: "ProjM 1 67" color: yellow info1: "visited: 9 irg: DEAD_BLOCK_main +arity: 1 "} -edge: {sourcename: "n69" targetname: "n65" label: "0" color: blue} -node: {title: "n68" label: "0x2Is 68" color: yellow info1: "visited: 9 +edge: {sourcename: "n67" targetname: "n63" label: "0" color: blue} +node: {title: "n66" label: "0x2Is 66" color: yellow info1: "visited: 9 irg: DEAD_BLOCK_main +arity: 0 Const of type type_unknown "} -node: {title: "n64" label: "ProjX 0 64" color: yellow info1: "visited: 9 +node: {title: "n62" label: "ProjX 0 62" color: yellow info1: "visited: 9 irg: DEAD_BLOCK_main +arity: 1 "} -edge: {sourcename: "n64" targetname: "n65" label: "0" color: red} -node: {title: "n65" label: "Start 65" color: blue info1: "visited: 9 +edge: {sourcename: "n62" targetname: "n63" label: "0" color: red} +node: {title: "n63" label: "Start 63" color: blue info1: "visited: 9 irg: DEAD_BLOCK_main +arity: 0 start of method of type main "} } diff --git a/testprograms/ref-results/EMPTY_main.vcg b/testprograms/ref-results/EMPTY_main.vcg index b9ed76b98..3549fc976 100644 --- a/testprograms/ref-results/EMPTY_main.vcg +++ b/testprograms/ref-results/EMPTY_main.vcg @@ -17,35 +17,40 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -graph: { title: "g27" label: "EMPTY_main" status:clustered color:white -graph: { title: "n16" label: "Block 16" status:clustered color:yellow -edge: {sourcename: "n16" targetname: "n30" label: "0" color: red} -node: {title: "n17" label: "End 17" color: blue info1: "visited: 4 +graph: { title: "g25" label: "EMPTY_main" status:clustered color:white +graph: { title: "n15" label: "Block 15" status:clustered color:yellow +edge: {sourcename: "n15" targetname: "n28" label: "0" color: red} +node: {title: "n16" label: "End 16" color: blue info1: "visited: 4 irg: EMPTY_main +arity: 0 "} } -graph: { title: "n28" label: "Block 28" status:clustered color:yellow -edge: {sourcename: "n28" targetname: "n22" label: "0" color: red} -node: {title: "n30" label: "Return 30" info1: "visited: 4 +graph: { title: "n26" label: "Block 26" status:clustered color:yellow +edge: {sourcename: "n26" targetname: "n20" label: "0" color: red} +node: {title: "n28" label: "Return 28" info1: "visited: 4 irg: EMPTY_main +arity: 1 return in method of type EMPTY_main "} -edge: {sourcename: "n30" targetname: "n23" label: "0" color: blue} +edge: {sourcename: "n28" targetname: "n21" label: "0" color: blue} } -graph: { title: "n18" label: "Block 18" status:clustered color:yellow -edge: {sourcename: "n18" targetname: "n22" label: "0" color: red} -node: {title: "n23" label: "ProjM 1 23" color: yellow info1: "visited: 4 +graph: { title: "n17" label: "Block 17" status:clustered color:yellow +edge: {sourcename: "n17" targetname: "n20" label: "0" color: red} +node: {title: "n21" label: "ProjM 1 21" color: yellow info1: "visited: 4 irg: EMPTY_main +arity: 1 "} -edge: {sourcename: "n23" targetname: "n19" label: "0" color: blue} -node: {title: "n22" label: "ProjX 0 22" color: yellow info1: "visited: 4 +edge: {sourcename: "n21" targetname: "n18" label: "0" color: blue} +node: {title: "n20" label: "ProjX 0 20" color: yellow info1: "visited: 4 irg: EMPTY_main +arity: 1 "} -edge: {sourcename: "n22" targetname: "n19" label: "0" color: red} -node: {title: "n19" label: "Start 19" color: blue info1: "visited: 4 +edge: {sourcename: "n20" targetname: "n18" label: "0" color: red} +node: {title: "n18" label: "Start 18" color: blue info1: "visited: 4 irg: EMPTY_main +arity: 0 start of method of type EMPTY_main "} } diff --git a/testprograms/ref-results/ENDLESS_LOOP_EXAMPLE_main.vcg b/testprograms/ref-results/ENDLESS_LOOP_EXAMPLE_main.vcg index 943f9d61a..b31c449e9 100644 --- a/testprograms/ref-results/ENDLESS_LOOP_EXAMPLE_main.vcg +++ b/testprograms/ref-results/ENDLESS_LOOP_EXAMPLE_main.vcg @@ -17,93 +17,109 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -graph: { title: "g29" label: "ENDLESS_LOOP_EXAMPLE_main" status:clustered color:white -graph: { title: "n80" label: "Block 80" status:clustered color:yellow -edge: {sourcename: "n80" targetname: "n84" label: "0" color: red} -edge: {sourcename: "n80" targetname: "n81" label: "1" color: red} -node: {title: "n86" label: "PhiM 86" color: green info1: "visited: 19 +graph: { title: "g27" label: "ENDLESS_LOOP_EXAMPLE_main" status:clustered color:white +graph: { title: "n78" label: "Block 78" status:clustered color:yellow +edge: {sourcename: "n78" targetname: "n82" label: "0" color: red} +edge: {sourcename: "n78" targetname: "n79" label: "1" color: red} +node: {title: "n84" label: "PhiM 84" color: green info1: "visited: 19 irg: ENDLESS_LOOP_EXAMPLE_main +arity: 2 backedges: "} -edge: {sourcename: "n86" targetname: "n96" label: "0" color: blue} -edge: {sourcename: "n86" targetname: "n87" label: "1" color: blue} -node: {title: "n87" label: "ProjM 0 87" color: yellow info1: "visited: 19 +edge: {sourcename: "n84" targetname: "n94" label: "0" color: blue} +edge: {sourcename: "n84" targetname: "n85" label: "1" color: blue} +node: {title: "n85" label: "ProjM 0 85" color: yellow info1: "visited: 19 irg: ENDLESS_LOOP_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n87" targetname: "n88" label: "0" color: blue} -node: {title: "n88" label: "Store 88" info1: "visited: 19 +edge: {sourcename: "n85" targetname: "n86" label: "0" color: blue} +node: {title: "n86" label: "Store 86" info1: "visited: 19 irg: ENDLESS_LOOP_EXAMPLE_main +arity: 3 "} -edge: {sourcename: "n88" targetname: "n86" label: "0" color: blue} -edge: {sourcename: "n88" targetname: "n94" label: "1" } -edge: {sourcename: "n88" targetname: "n89" label: "2" } -node: {title: "n94" label: "Sel VAR_A 94" info1: "visited: 19 +edge: {sourcename: "n86" targetname: "n84" label: "0" color: blue} +edge: {sourcename: "n86" targetname: "n92" label: "1" } +edge: {sourcename: "n86" targetname: "n87" label: "2" } +node: {title: "n92" label: "Sel VAR_A 92" info1: "visited: 19 irg: ENDLESS_LOOP_EXAMPLE_main +arity: 2 Selecting entity of type int from entity of type GlobalType "} -edge: {sourcename: "n94" targetname: "n86" label: "0" color: blue} -edge: {sourcename: "n94" targetname: "n95" label: "1" } -node: {title: "n89" label: "PhiIs 89" color: green info1: "visited: 19 +edge: {sourcename: "n92" targetname: "n84" label: "0" color: blue} +edge: {sourcename: "n92" targetname: "n93" label: "1" } +node: {title: "n87" label: "PhiIs 87" color: green info1: "visited: 19 irg: ENDLESS_LOOP_EXAMPLE_main +arity: 2 backedges: "} -edge: {sourcename: "n89" targetname: "n92" label: "0" } -edge: {sourcename: "n89" targetname: "n90" label: "1" } -node: {title: "n90" label: "PhiIs 90" color: green info1: "visited: 19 +edge: {sourcename: "n87" targetname: "n90" label: "0" } +edge: {sourcename: "n87" targetname: "n88" label: "1" } +node: {title: "n88" label: "PhiIs 88" color: green info1: "visited: 19 irg: ENDLESS_LOOP_EXAMPLE_main +arity: 2 backedges: "} -edge: {sourcename: "n90" targetname: "n91" label: "0" } -edge: {sourcename: "n90" targetname: "n89" label: "1" } -node: {title: "n81" label: "Jmp 81" info1: "visited: 19 +edge: {sourcename: "n88" targetname: "n89" label: "0" } +edge: {sourcename: "n88" targetname: "n87" label: "1" } +node: {title: "n79" label: "Jmp 79" info1: "visited: 19 irg: ENDLESS_LOOP_EXAMPLE_main +arity: 0 "} } -graph: { title: "n85" label: "Block 85" status:clustered color:yellow -edge: {sourcename: "n85" targetname: "n78" label: "0" color: red} -node: {title: "n92" label: "ProjIs 0 92" color: yellow info1: "visited: 19 +graph: { title: "n83" label: "Block 83" status:clustered color:yellow +edge: {sourcename: "n83" targetname: "n76" label: "0" color: red} +node: {title: "n90" label: "ProjIs 0 90" color: yellow info1: "visited: 19 irg: ENDLESS_LOOP_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n92" targetname: "n93" label: "0" } -node: {title: "n84" label: "Jmp 84" info1: "visited: 19 +edge: {sourcename: "n90" targetname: "n91" label: "0" } +node: {title: "n82" label: "Jmp 82" info1: "visited: 19 irg: ENDLESS_LOOP_EXAMPLE_main +arity: 0 "} } -graph: { title: "n77" label: "Block 77" status:clustered color:yellow -edge: {sourcename: "n77" targetname: "n78" label: "0" color: red} -node: {title: "n96" label: "ProjM 1 96" color: yellow info1: "visited: 19 +graph: { title: "n75" label: "Block 75" status:clustered color:yellow +edge: {sourcename: "n75" targetname: "n76" label: "0" color: red} +node: {title: "n94" label: "ProjM 1 94" color: yellow info1: "visited: 19 irg: ENDLESS_LOOP_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n96" targetname: "n79" label: "0" color: blue} -node: {title: "n95" label: "ProjP 3 95" color: yellow info1: "visited: 19 +edge: {sourcename: "n94" targetname: "n77" label: "0" color: blue} +node: {title: "n93" label: "ProjP 3 93" color: yellow info1: "visited: 19 irg: ENDLESS_LOOP_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n95" targetname: "n79" label: "0" } -node: {title: "n93" label: "ProjT 4 93" color: yellow info1: "visited: 19 +edge: {sourcename: "n93" targetname: "n77" label: "0" } +node: {title: "n91" label: "ProjT 4 91" color: yellow info1: "visited: 19 irg: ENDLESS_LOOP_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n93" targetname: "n79" label: "0" } -node: {title: "n91" label: "0x1Is 91" color: yellow info1: "visited: 19 +edge: {sourcename: "n91" targetname: "n77" label: "0" } +node: {title: "n89" label: "0x1Is 89" color: yellow info1: "visited: 19 irg: ENDLESS_LOOP_EXAMPLE_main +arity: 0 Const of type type_unknown "} -node: {title: "n78" label: "ProjX 0 78" color: yellow info1: "visited: 19 +node: {title: "n76" label: "ProjX 0 76" color: yellow info1: "visited: 19 irg: ENDLESS_LOOP_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n78" targetname: "n79" label: "0" color: red} -node: {title: "n79" label: "Start 79" color: blue info1: "visited: 19 +edge: {sourcename: "n76" targetname: "n77" label: "0" color: red} +node: {title: "n77" label: "Start 77" color: blue info1: "visited: 19 irg: ENDLESS_LOOP_EXAMPLE_main +arity: 0 start of method of type main_tp param 0 type: int "} } -graph: { title: "n75" label: "Block 75" status:clustered color:yellow -node: {title: "n74" label: "End 74" color: blue info1: "visited: 19 +graph: { title: "n73" label: "Block 73" status:clustered color:yellow +node: {title: "n72" label: "End 72" color: blue info1: "visited: 19 irg: ENDLESS_LOOP_EXAMPLE_main +arity: 2 "} -edge: {sourcename: "n74" targetname: "n80" label: "0" color: red} -edge: {sourcename: "n74" targetname: "n86" label: "1" } +edge: {sourcename: "n72" targetname: "n78" label: "0" color: red} +edge: {sourcename: "n72" targetname: "n84" label: "1" } } } diff --git a/testprograms/ref-results/FLOAT_EXAMPLE_main.vcg b/testprograms/ref-results/FLOAT_EXAMPLE_main.vcg index f380b049f..504e7b44d 100644 --- a/testprograms/ref-results/FLOAT_EXAMPLE_main.vcg +++ b/testprograms/ref-results/FLOAT_EXAMPLE_main.vcg @@ -17,41 +17,47 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -graph: { title: "g28" label: "FLOAT_EXAMPLE_main" status:clustered color:white -graph: { title: "n17" label: "Block 17" status:clustered color:yellow -edge: {sourcename: "n17" targetname: "n32" label: "0" color: red} -node: {title: "n18" label: "End 18" color: blue info1: "visited: 4 +graph: { title: "g26" label: "FLOAT_EXAMPLE_main" status:clustered color:white +graph: { title: "n16" label: "Block 16" status:clustered color:yellow +edge: {sourcename: "n16" targetname: "n30" label: "0" color: red} +node: {title: "n17" label: "End 17" color: blue info1: "visited: 4 irg: FLOAT_EXAMPLE_main +arity: 0 "} } -graph: { title: "n29" label: "Block 29" status:clustered color:yellow -edge: {sourcename: "n29" targetname: "n23" label: "0" color: red} -node: {title: "n32" label: "Return 32" info1: "visited: 4 +graph: { title: "n27" label: "Block 27" status:clustered color:yellow +edge: {sourcename: "n27" targetname: "n21" label: "0" color: red} +node: {title: "n30" label: "Return 30" info1: "visited: 4 irg: FLOAT_EXAMPLE_main +arity: 2 return in method of type FLOAT_EXAMPLE_main res 0 type: dbl "} -edge: {sourcename: "n32" targetname: "n24" label: "0" color: blue} -edge: {sourcename: "n32" targetname: "n30" label: "1" } +edge: {sourcename: "n30" targetname: "n22" label: "0" color: blue} +edge: {sourcename: "n30" targetname: "n28" label: "1" } } -graph: { title: "n19" label: "Block 19" status:clustered color:yellow -edge: {sourcename: "n19" targetname: "n23" label: "0" color: red} -node: {title: "n24" label: "ProjM 1 24" color: yellow info1: "visited: 4 +graph: { title: "n18" label: "Block 18" status:clustered color:yellow +edge: {sourcename: "n18" targetname: "n21" label: "0" color: red} +node: {title: "n22" label: "ProjM 1 22" color: yellow info1: "visited: 4 irg: FLOAT_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n24" targetname: "n20" label: "0" color: blue} -node: {title: "n30" label: "1.234567890123456716800000000000E+19D 30" color: yellow info1: "visited: 4 +edge: {sourcename: "n22" targetname: "n19" label: "0" color: blue} +node: {title: "n28" label: "1.234567890123456716800000000000E+19D 28" color: yellow info1: "visited: 4 irg: FLOAT_EXAMPLE_main +arity: 0 Const of type type_unknown "} -node: {title: "n23" label: "ProjX 0 23" color: yellow info1: "visited: 4 +node: {title: "n21" label: "ProjX 0 21" color: yellow info1: "visited: 4 irg: FLOAT_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n23" targetname: "n20" label: "0" color: red} -node: {title: "n20" label: "Start 20" color: blue info1: "visited: 4 +edge: {sourcename: "n21" targetname: "n19" label: "0" color: red} +node: {title: "n19" label: "Start 19" color: blue info1: "visited: 4 irg: FLOAT_EXAMPLE_main +arity: 0 start of method of type FLOAT_EXAMPLE_main "} } diff --git a/testprograms/ref-results/GLOBAL_CSE_EXAMPLE_main.vcg b/testprograms/ref-results/GLOBAL_CSE_EXAMPLE_main.vcg index 3273f5553..2643ec69a 100644 --- a/testprograms/ref-results/GLOBAL_CSE_EXAMPLE_main.vcg +++ b/testprograms/ref-results/GLOBAL_CSE_EXAMPLE_main.vcg @@ -17,112 +17,132 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -graph: { title: "g28" label: "GLOBAL_CSE_EXAMPLE_main" status:clustered color:white -graph: { title: "n64" label: "Block 64" status:clustered color:yellow -edge: {sourcename: "n64" targetname: "n65" label: "0" color: red} -node: {title: "n63" label: "End 63" color: blue info1: "visited: 12 +graph: { title: "g26" label: "GLOBAL_CSE_EXAMPLE_main" status:clustered color:white +graph: { title: "n62" label: "Block 62" status:clustered color:yellow +edge: {sourcename: "n62" targetname: "n63" label: "0" color: red} +node: {title: "n61" label: "End 61" color: blue info1: "visited: 12 irg: GLOBAL_CSE_EXAMPLE_main +arity: 0 "} } -node: {title: "n88" label: "ProjM 1 88" color: yellow info1: "visited: 12 +node: {title: "n86" label: "ProjM 1 86" color: yellow info1: "visited: 12 irg: GLOBAL_CSE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n88" targetname: "n73" label: "0" color: blue} -node: {title: "n86" label: "AddIs 86" info1: "visited: 12 +edge: {sourcename: "n86" targetname: "n71" label: "0" color: blue} +node: {title: "n84" label: "AddIs 84" info1: "visited: 12 irg: GLOBAL_CSE_EXAMPLE_main +arity: 2 "} -edge: {sourcename: "n86" targetname: "n84" label: "0" } -edge: {sourcename: "n86" targetname: "n87" label: "1" } -node: {title: "n87" label: "0x5Is 87" color: yellow info1: "visited: 12 +edge: {sourcename: "n84" targetname: "n82" label: "0" } +edge: {sourcename: "n84" targetname: "n85" label: "1" } +node: {title: "n85" label: "0x5Is 85" color: yellow info1: "visited: 12 irg: GLOBAL_CSE_EXAMPLE_main +arity: 0 Const of type type_unknown "} -node: {title: "n84" label: "SubIs 84" info1: "visited: 12 +node: {title: "n82" label: "SubIs 82" info1: "visited: 12 irg: GLOBAL_CSE_EXAMPLE_main +arity: 2 "} -edge: {sourcename: "n84" targetname: "n78" label: "0" } -edge: {sourcename: "n84" targetname: "n85" label: "1" } -node: {title: "n85" label: "0x3Is 85" color: yellow info1: "visited: 12 +edge: {sourcename: "n82" targetname: "n76" label: "0" } +edge: {sourcename: "n82" targetname: "n83" label: "1" } +node: {title: "n83" label: "0x3Is 83" color: yellow info1: "visited: 12 irg: GLOBAL_CSE_EXAMPLE_main +arity: 0 Const of type type_unknown "} -graph: { title: "n66" label: "Block 66" status:clustered color:yellow -edge: {sourcename: "n66" targetname: "n80" label: "0" color: red} -edge: {sourcename: "n66" targetname: "n67" label: "1" color: red} -node: {title: "n65" label: "Return 65" info1: "visited: 12 +graph: { title: "n64" label: "Block 64" status:clustered color:yellow +edge: {sourcename: "n64" targetname: "n78" label: "0" color: red} +edge: {sourcename: "n64" targetname: "n65" label: "1" color: red} +node: {title: "n63" label: "Return 63" info1: "visited: 12 irg: GLOBAL_CSE_EXAMPLE_main +arity: 2 return in method of type GLOBAL_CSE_EXAMPLE_main res 0 type: int "} -edge: {sourcename: "n65" targetname: "n88" label: "0" color: blue} -edge: {sourcename: "n65" targetname: "n83" label: "1" } -node: {title: "n83" label: "PhiIs 83" color: green info1: "visited: 12 +edge: {sourcename: "n63" targetname: "n86" label: "0" color: blue} +edge: {sourcename: "n63" targetname: "n81" label: "1" } +node: {title: "n81" label: "PhiIs 81" color: green info1: "visited: 12 irg: GLOBAL_CSE_EXAMPLE_main +arity: 2 backedges: "} -edge: {sourcename: "n83" targetname: "n86" label: "0" } -edge: {sourcename: "n83" targetname: "n84" label: "1" } +edge: {sourcename: "n81" targetname: "n84" label: "0" } +edge: {sourcename: "n81" targetname: "n82" label: "1" } } -graph: { title: "n81" label: "Block 81" status:clustered color:yellow -edge: {sourcename: "n81" targetname: "n82" label: "0" color: red} -node: {title: "n80" label: "Jmp 80" info1: "visited: 12 +graph: { title: "n79" label: "Block 79" status:clustered color:yellow +edge: {sourcename: "n79" targetname: "n80" label: "0" color: red} +node: {title: "n78" label: "Jmp 78" info1: "visited: 12 irg: GLOBAL_CSE_EXAMPLE_main +arity: 0 "} } -node: {title: "n82" label: "ProjX 0 82" color: yellow info1: "visited: 12 +node: {title: "n80" label: "ProjX 0 80" color: yellow info1: "visited: 12 irg: GLOBAL_CSE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n82" targetname: "n74" label: "0" color: red} -graph: { title: "n68" label: "Block 68" status:clustered color:yellow -edge: {sourcename: "n68" targetname: "n69" label: "0" color: red} -node: {title: "n67" label: "Jmp 67" info1: "visited: 12 +edge: {sourcename: "n80" targetname: "n72" label: "0" color: red} +graph: { title: "n66" label: "Block 66" status:clustered color:yellow +edge: {sourcename: "n66" targetname: "n67" label: "0" color: red} +node: {title: "n65" label: "Jmp 65" info1: "visited: 12 irg: GLOBAL_CSE_EXAMPLE_main +arity: 0 "} } -node: {title: "n69" label: "ProjX 1 69" color: yellow info1: "visited: 12 +node: {title: "n67" label: "ProjX 1 67" color: yellow info1: "visited: 12 irg: GLOBAL_CSE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n69" targetname: "n74" label: "0" color: red} -node: {title: "n75" label: "Projb Eq 75" color: yellow info1: "visited: 12 +edge: {sourcename: "n67" targetname: "n72" label: "0" color: red} +node: {title: "n73" label: "Projb Eq 73" color: yellow info1: "visited: 12 irg: GLOBAL_CSE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n75" targetname: "n76" label: "0" } -node: {title: "n76" label: "CmpT 76" info1: "visited: 12 +edge: {sourcename: "n73" targetname: "n74" label: "0" } +node: {title: "n74" label: "CmpT 74" info1: "visited: 12 irg: GLOBAL_CSE_EXAMPLE_main +arity: 2 "} -edge: {sourcename: "n76" targetname: "n78" label: "0" } -edge: {sourcename: "n76" targetname: "n77" label: "1" } -node: {title: "n78" label: "ProjIs 0 78" color: yellow info1: "visited: 12 +edge: {sourcename: "n74" targetname: "n76" label: "0" } +edge: {sourcename: "n74" targetname: "n75" label: "1" } +node: {title: "n76" label: "ProjIs 0 76" color: yellow info1: "visited: 12 irg: GLOBAL_CSE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n78" targetname: "n79" label: "0" } -node: {title: "n79" label: "ProjT 4 79" color: yellow info1: "visited: 12 +edge: {sourcename: "n76" targetname: "n77" label: "0" } +node: {title: "n77" label: "ProjT 4 77" color: yellow info1: "visited: 12 irg: GLOBAL_CSE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n79" targetname: "n73" label: "0" } -node: {title: "n77" label: "0x2Is 77" color: yellow info1: "visited: 12 +edge: {sourcename: "n77" targetname: "n71" label: "0" } +node: {title: "n75" label: "0x2Is 75" color: yellow info1: "visited: 12 irg: GLOBAL_CSE_EXAMPLE_main +arity: 0 Const of type type_unknown "} -graph: { title: "n70" label: "Block 70" status:clustered color:yellow -edge: {sourcename: "n70" targetname: "n71" label: "0" color: red} -node: {title: "n74" label: "Cond 74" info1: "visited: 12 +graph: { title: "n68" label: "Block 68" status:clustered color:yellow +edge: {sourcename: "n68" targetname: "n69" label: "0" color: red} +node: {title: "n72" label: "Cond 72" info1: "visited: 12 irg: GLOBAL_CSE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n74" targetname: "n75" label: "0" } +edge: {sourcename: "n72" targetname: "n73" label: "0" } } -node: {title: "n71" label: "ProjX 0 71" color: yellow info1: "visited: 12 +node: {title: "n69" label: "ProjX 0 69" color: yellow info1: "visited: 12 irg: GLOBAL_CSE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n71" targetname: "n73" label: "0" color: red} -graph: { title: "n72" label: "Block 72" status:clustered color:yellow -edge: {sourcename: "n72" targetname: "n71" label: "0" color: red} -node: {title: "n73" label: "Start 73" color: blue info1: "visited: 12 +edge: {sourcename: "n69" targetname: "n71" label: "0" color: red} +graph: { title: "n70" label: "Block 70" status:clustered color:yellow +edge: {sourcename: "n70" targetname: "n69" label: "0" color: red} +node: {title: "n71" label: "Start 71" color: blue info1: "visited: 12 irg: GLOBAL_CSE_EXAMPLE_main +arity: 0 start of method of type GLOBAL_CSE_EXAMPLE_main param 0 type: int "} diff --git a/testprograms/ref-results/GLOBAL_VAR_main-pure-wtypes.vcg b/testprograms/ref-results/GLOBAL_VAR_main-pure-wtypes.vcg index 0a86e6449..4eb3c614b 100644 --- a/testprograms/ref-results/GLOBAL_VAR_main-pure-wtypes.vcg +++ b/testprograms/ref-results/GLOBAL_VAR_main-pure-wtypes.vcg @@ -17,76 +17,89 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -node: {title: "n44" label: "Block 44" color: lightyellow info1: "visited: 8 +node: {title: "n42" label: "Block 42" color: lightyellow info1: "visited: 8 irg: GLOBAL_VAR_main +arity: 1 backedges: "} -edge: {sourcename: "n44" targetname: "n43" label: "0" color: red} -node: {title: "n45" label: "Start 45" color: blue info1: "visited: 8 +edge: {sourcename: "n42" targetname: "n41" label: "0" color: red} +node: {title: "n43" label: "Start 43" color: blue info1: "visited: 8 irg: GLOBAL_VAR_main +arity: 0 start of method of type GLOBAL_VAR_main "} -edge: { sourcename: "n45" targetname: "n44" class: 2 priority: 2 linestyle: dotted} -node: {title: "n43" label: "ProjX 0 43" color: yellow info1: "visited: 8 +edge: { sourcename: "n43" targetname: "n42" class: 2 priority: 2 linestyle: dotted} +node: {title: "n41" label: "ProjX 0 41" color: yellow info1: "visited: 8 irg: GLOBAL_VAR_main +arity: 1 "} -edge: {sourcename: "n43" targetname: "n45" label: "0" color: red} -edge: { sourcename: "n43" targetname: "n44" class: 2 priority: 2 linestyle: dotted} -node: {title: "n42" label: "Block 42" color: lightyellow info1: "visited: 8 +edge: {sourcename: "n41" targetname: "n43" label: "0" color: red} +edge: { sourcename: "n41" targetname: "n42" class: 2 priority: 2 linestyle: dotted} +node: {title: "n40" label: "Block 40" color: lightyellow info1: "visited: 8 irg: GLOBAL_VAR_main +arity: 1 backedges: "} -edge: {sourcename: "n42" targetname: "n43" label: "0" color: red} -node: {title: "n48" label: "0x2Is 48" color: yellow info1: "visited: 8 +edge: {sourcename: "n40" targetname: "n41" label: "0" color: red} +node: {title: "n46" label: "0x2Is 46" color: yellow info1: "visited: 8 irg: GLOBAL_VAR_main +arity: 0 Const of type type_unknown "} -edge: { sourcename: "n48" targetname: "n44" class: 2 priority: 2 linestyle: dotted} -node: {title: "n50" label: "ProjP 3 50" color: yellow info1: "visited: 8 +edge: { sourcename: "n46" targetname: "n42" class: 2 priority: 2 linestyle: dotted} +node: {title: "n48" label: "ProjP 3 48" color: yellow info1: "visited: 8 irg: GLOBAL_VAR_main +arity: 1 "} -edge: {sourcename: "n50" targetname: "n45" label: "0" } -edge: { sourcename: "n50" targetname: "n44" class: 2 priority: 2 linestyle: dotted} -node: {title: "n51" label: "ProjM 1 51" color: yellow info1: "visited: 8 +edge: {sourcename: "n48" targetname: "n43" label: "0" } +edge: { sourcename: "n48" targetname: "n42" class: 2 priority: 2 linestyle: dotted} +node: {title: "n49" label: "ProjM 1 49" color: yellow info1: "visited: 8 irg: GLOBAL_VAR_main +arity: 1 "} -edge: {sourcename: "n51" targetname: "n45" label: "0" color: blue} -edge: { sourcename: "n51" targetname: "n44" class: 2 priority: 2 linestyle: dotted} -node: {title: "n49" label: "Sel i 49" info1: "visited: 8 +edge: {sourcename: "n49" targetname: "n43" label: "0" color: blue} +edge: { sourcename: "n49" targetname: "n42" class: 2 priority: 2 linestyle: dotted} +node: {title: "n47" label: "Sel i 47" info1: "visited: 8 irg: GLOBAL_VAR_main +arity: 2 Selecting entity of type int from entity of type GlobalType "} -edge: {sourcename: "n49" targetname: "n51" label: "0" color: blue} -edge: {sourcename: "n49" targetname: "n50" label: "1" } -edge: { sourcename: "n49" targetname: "n42" class: 2 priority: 2 linestyle: dotted} -node: {title: "n47" label: "Store 47" info1: "visited: 8 +edge: {sourcename: "n47" targetname: "n49" label: "0" color: blue} +edge: {sourcename: "n47" targetname: "n48" label: "1" } +edge: { sourcename: "n47" targetname: "n40" class: 2 priority: 2 linestyle: dotted} +node: {title: "n45" label: "Store 45" info1: "visited: 8 irg: GLOBAL_VAR_main +arity: 3 "} -edge: {sourcename: "n47" targetname: "n51" label: "0" color: blue} -edge: {sourcename: "n47" targetname: "n49" label: "1" } -edge: {sourcename: "n47" targetname: "n48" label: "2" } -edge: { sourcename: "n47" targetname: "n42" class: 2 priority: 2 linestyle: dotted} -node: {title: "n46" label: "ProjM 0 46" color: yellow info1: "visited: 8 +edge: {sourcename: "n45" targetname: "n49" label: "0" color: blue} +edge: {sourcename: "n45" targetname: "n47" label: "1" } +edge: {sourcename: "n45" targetname: "n46" label: "2" } +edge: { sourcename: "n45" targetname: "n40" class: 2 priority: 2 linestyle: dotted} +node: {title: "n44" label: "ProjM 0 44" color: yellow info1: "visited: 8 irg: GLOBAL_VAR_main +arity: 1 "} -edge: {sourcename: "n46" targetname: "n47" label: "0" color: blue} -edge: { sourcename: "n46" targetname: "n42" class: 2 priority: 2 linestyle: dotted} -node: {title: "n41" label: "Return 41" info1: "visited: 8 +edge: {sourcename: "n44" targetname: "n45" label: "0" color: blue} +edge: { sourcename: "n44" targetname: "n40" class: 2 priority: 2 linestyle: dotted} +node: {title: "n39" label: "Return 39" info1: "visited: 8 irg: GLOBAL_VAR_main +arity: 1 return in method of type GLOBAL_VAR_main "} -edge: {sourcename: "n41" targetname: "n46" label: "0" color: blue} -edge: { sourcename: "n41" targetname: "n42" class: 2 priority: 2 linestyle: dotted} -node: {title: "n40" label: "Block 40" color: lightyellow info1: "visited: 8 +edge: {sourcename: "n39" targetname: "n44" label: "0" color: blue} +edge: { sourcename: "n39" targetname: "n40" class: 2 priority: 2 linestyle: dotted} +node: {title: "n38" label: "Block 38" color: lightyellow info1: "visited: 8 irg: GLOBAL_VAR_main +arity: 1 backedges: "} -edge: {sourcename: "n40" targetname: "n41" label: "0" color: red} -node: {title: "n39" label: "End 39" color: blue info1: "visited: 8 +edge: {sourcename: "n38" targetname: "n39" label: "0" color: red} +node: {title: "n37" label: "End 37" color: blue info1: "visited: 8 irg: GLOBAL_VAR_main +arity: 0 "} -edge: { sourcename: "n39" targetname: "n40" class: 2 priority: 2 linestyle: dotted} -node: {title: "e16" label: "ent i" color: yellow +edge: { sourcename: "n37" targetname: "n38" class: 2 priority: 2 linestyle: dotted} +node: {title: "e15" label: "ent i" color: yellow info1: " -id: e16 +id: e15 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized @@ -96,16 +109,16 @@ name: i ld_name: no yet set offset: -1" } -edge: { sourcename: "e16" targetname: "t12"class: 3 label: "type" color: red} +edge: { sourcename: "e15" targetname: "t11"class: 3 label: "type" color: red} node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} +edge: { sourcename: "t0" targetname: "e14"class: 12 label: "member" color:blue} edge: { sourcename: "t0" targetname: "e15"class: 12 label: "member" color:blue} -edge: { sourcename: "t0" targetname: "e16"class: 12 label: "member" color:blue} -node: {title: "e15" label: "ent GLOBAL_VAR_main" color: yellow +node: {title: "e14" label: "ent GLOBAL_VAR_main" color: yellow info1: " -id: e15 +id: e14 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -114,24 +127,25 @@ peculiarity: peculiarity_existent name: GLOBAL_VAR_main ld_name: no yet set offset: -1 -irg = g29" +irg = g27" } -edge: { sourcename: "e15" targetname: "t13"class: 3 label: "type" color: red} -edge: { sourcename: "e15" targetname: "n14"label: "value 0"} -node: {title: "n14" label: "&(GlobalType_GLOBAL_VAR_main)P 14" color: yellow info1: "visited: 1 +edge: { sourcename: "e14" targetname: "t12"class: 3 label: "type" color: red} +edge: { sourcename: "e14" targetname: "n13"label: "value 0"} +node: {title: "n13" label: "&(GlobalType_GLOBAL_VAR_main)P 13" color: yellow info1: "visited: 1 +arity: 0 Const of type type_unknown "} -node: {title: "t13" label: "method GLOBAL_VAR_main" info1: "state: layout_fixed, +node: {title: "t12" label: "method GLOBAL_VAR_main" info1: "state: layout_fixed, mode: P, size: 4B, "} -node: {title: "t12" label: "primitive int" info1: "state: layout_fixed, +node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, mode: Is, size: 4B, "} -node: {title: "t17" label: "class GLOBAL_VAR_mainframe_tp" info1: "state: layout_undefined +node: {title: "t16" label: "class GLOBAL_VAR_mainframe_tp" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "n49" targetname: "e16"class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n47" targetname: "e15"class: 2 priority: 2 linestyle: dotted} } diff --git a/testprograms/ref-results/GLOBAL_VAR_main.vcg b/testprograms/ref-results/GLOBAL_VAR_main.vcg index 48e97a8bf..67826e47c 100644 --- a/testprograms/ref-results/GLOBAL_VAR_main.vcg +++ b/testprograms/ref-results/GLOBAL_VAR_main.vcg @@ -17,60 +17,70 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -graph: { title: "g29" label: "GLOBAL_VAR_main" status:clustered color:white -graph: { title: "n40" label: "Block 40" status:clustered color:yellow -edge: {sourcename: "n40" targetname: "n41" label: "0" color: red} -node: {title: "n39" label: "End 39" color: blue info1: "visited: 7 +graph: { title: "g27" label: "GLOBAL_VAR_main" status:clustered color:white +graph: { title: "n38" label: "Block 38" status:clustered color:yellow +edge: {sourcename: "n38" targetname: "n39" label: "0" color: red} +node: {title: "n37" label: "End 37" color: blue info1: "visited: 7 irg: GLOBAL_VAR_main +arity: 0 "} } -graph: { title: "n42" label: "Block 42" status:clustered color:yellow -edge: {sourcename: "n42" targetname: "n43" label: "0" color: red} -node: {title: "n41" label: "Return 41" info1: "visited: 7 +graph: { title: "n40" label: "Block 40" status:clustered color:yellow +edge: {sourcename: "n40" targetname: "n41" label: "0" color: red} +node: {title: "n39" label: "Return 39" info1: "visited: 7 irg: GLOBAL_VAR_main +arity: 1 return in method of type GLOBAL_VAR_main "} -edge: {sourcename: "n41" targetname: "n46" label: "0" color: blue} -node: {title: "n46" label: "ProjM 0 46" color: yellow info1: "visited: 7 +edge: {sourcename: "n39" targetname: "n44" label: "0" color: blue} +node: {title: "n44" label: "ProjM 0 44" color: yellow info1: "visited: 7 irg: GLOBAL_VAR_main +arity: 1 "} -edge: {sourcename: "n46" targetname: "n47" label: "0" color: blue} -node: {title: "n47" label: "Store 47" info1: "visited: 7 +edge: {sourcename: "n44" targetname: "n45" label: "0" color: blue} +node: {title: "n45" label: "Store 45" info1: "visited: 7 irg: GLOBAL_VAR_main +arity: 3 "} -edge: {sourcename: "n47" targetname: "n51" label: "0" color: blue} -edge: {sourcename: "n47" targetname: "n49" label: "1" } -edge: {sourcename: "n47" targetname: "n48" label: "2" } -node: {title: "n49" label: "Sel i 49" info1: "visited: 7 +edge: {sourcename: "n45" targetname: "n49" label: "0" color: blue} +edge: {sourcename: "n45" targetname: "n47" label: "1" } +edge: {sourcename: "n45" targetname: "n46" label: "2" } +node: {title: "n47" label: "Sel i 47" info1: "visited: 7 irg: GLOBAL_VAR_main +arity: 2 Selecting entity of type int from entity of type GlobalType "} -edge: {sourcename: "n49" targetname: "n51" label: "0" color: blue} -edge: {sourcename: "n49" targetname: "n50" label: "1" } +edge: {sourcename: "n47" targetname: "n49" label: "0" color: blue} +edge: {sourcename: "n47" targetname: "n48" label: "1" } } -graph: { title: "n44" label: "Block 44" status:clustered color:yellow -edge: {sourcename: "n44" targetname: "n43" label: "0" color: red} -node: {title: "n51" label: "ProjM 1 51" color: yellow info1: "visited: 7 +graph: { title: "n42" label: "Block 42" status:clustered color:yellow +edge: {sourcename: "n42" targetname: "n41" label: "0" color: red} +node: {title: "n49" label: "ProjM 1 49" color: yellow info1: "visited: 7 irg: GLOBAL_VAR_main +arity: 1 "} -edge: {sourcename: "n51" targetname: "n45" label: "0" color: blue} -node: {title: "n50" label: "ProjP 3 50" color: yellow info1: "visited: 7 +edge: {sourcename: "n49" targetname: "n43" label: "0" color: blue} +node: {title: "n48" label: "ProjP 3 48" color: yellow info1: "visited: 7 irg: GLOBAL_VAR_main +arity: 1 "} -edge: {sourcename: "n50" targetname: "n45" label: "0" } -node: {title: "n48" label: "0x2Is 48" color: yellow info1: "visited: 7 +edge: {sourcename: "n48" targetname: "n43" label: "0" } +node: {title: "n46" label: "0x2Is 46" color: yellow info1: "visited: 7 irg: GLOBAL_VAR_main +arity: 0 Const of type type_unknown "} -node: {title: "n43" label: "ProjX 0 43" color: yellow info1: "visited: 7 +node: {title: "n41" label: "ProjX 0 41" color: yellow info1: "visited: 7 irg: GLOBAL_VAR_main +arity: 1 "} -edge: {sourcename: "n43" targetname: "n45" label: "0" color: red} -node: {title: "n45" label: "Start 45" color: blue info1: "visited: 7 +edge: {sourcename: "n41" targetname: "n43" label: "0" color: red} +node: {title: "n43" label: "Start 43" color: blue info1: "visited: 7 irg: GLOBAL_VAR_main +arity: 0 start of method of type GLOBAL_VAR_main "} } diff --git a/testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-ip.vcg b/testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-ip.vcg index 0a7b093c9..c694abb35 100644 --- a/testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-ip.vcg +++ b/testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-ip.vcg @@ -17,178 +17,208 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -graph: { title: "g37" label: "GlobalType_OO_PROGRAM_EXAMPLE_main" status:clustered color:white -graph: { title: "n108" label: "Block 108" status:clustered color:yellow -edge: {sourcename: "n108" targetname: "n109" label: "0" color: red} -node: {title: "n107" label: "End 107" color: blue info1: "visited: 31 +graph: { title: "g35" label: "GlobalType_OO_PROGRAM_EXAMPLE_main" status:clustered color:white +graph: { title: "n104" label: "Block 104" status:clustered color:yellow +edge: {sourcename: "n104" targetname: "n105" label: "0" color: red} +node: {title: "n103" label: "End 103" color: blue info1: "visited: 31 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 "} } -graph: { title: "n110" label: "Block 110" status:clustered color:yellow -edge: {sourcename: "n110" targetname: "n198" label: "0" color: red} -node: {title: "n109" label: "Return 109" info1: "visited: 31 +graph: { title: "n106" label: "Block 106" status:clustered color:yellow +edge: {sourcename: "n106" targetname: "n191" label: "0" color: red} +node: {title: "n105" label: "Return 105" info1: "visited: 31 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 2 "} -edge: {sourcename: "n109" targetname: "n200" label: "0" color: blue} -edge: {sourcename: "n109" targetname: "n201" label: "1" } -node: {title: "n200" label: "FilterM 0 200" color: yellow info1: "visited: 31 +edge: {sourcename: "n105" targetname: "n193" label: "0" color: blue} +edge: {sourcename: "n105" targetname: "n194" label: "1" } +node: {title: "n193" label: "FilterM 0 193" color: yellow info1: "visited: 31 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: intra predecessor nodes: - CallT 116 + CallT 112 "} -edge: {sourcename: "n200" targetname: "n167" label: "0" color: blue} -node: {title: "n201" label: "FilterIs 0 201" color: yellow info1: "visited: 31 +edge: {sourcename: "n193" targetname: "n161" label: "0" color: blue} +node: {title: "n194" label: "FilterIs 0 194" color: yellow info1: "visited: 31 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: intra predecessor nodes: - ProjT 115 + ProjT 111 "} -edge: {sourcename: "n201" targetname: "n159" label: "0" } +edge: {sourcename: "n194" targetname: "n153" label: "0" } } -graph: { title: "n195" label: "Block 195" status:clustered color:yellow -edge: {sourcename: "n195" targetname: "n192" label: "0" color: red} -node: {title: "n194" label: "FilterM 0 194" color: yellow info1: "visited: 31 +graph: { title: "n188" label: "Block 188" status:clustered color:yellow +edge: {sourcename: "n188" targetname: "n185" label: "0" color: red} +node: {title: "n187" label: "FilterM 0 187" color: yellow info1: "visited: 31 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: intra predecessor nodes: - CallT 124 + CallT 120 "} -edge: {sourcename: "n194" targetname: "n141" label: "0" color: blue} -node: {title: "n199" label: "ProjX 0 199" color: yellow info1: "visited: 31 +edge: {sourcename: "n187" targetname: "n136" label: "0" color: blue} +node: {title: "n192" label: "ProjX 0 192" color: yellow info1: "visited: 31 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n199" targetname: "n197" label: "0" color: red} -node: {title: "n197" label: "CallBegin 197" info1: "visited: 31 +edge: {sourcename: "n192" targetname: "n190" label: "0" color: red} +node: {title: "n190" label: "CallBegin 190" info1: "visited: 31 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 possible callees: 0: PRIMA_c "} -node: {title: "n197n172" label: "&(PRIMA_c)P 172" color: yellow info1: "visited: 31 +node: {title: "n190n165" label: "&(PRIMA_c)P 165" color: yellow info1: "visited: 31 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 Const of type type_unknown "} -edge: {sourcename: "n197" targetname: "n197n172" label: "0" } +edge: {sourcename: "n190" targetname: "n190n165" label: "0" } } -graph: { title: "n189" label: "Block 189" status:clustered color:yellow -edge: {sourcename: "n189" targetname: "n111" label: "0" color: red} -node: {title: "n127" label: "ProjM 0 127" color: yellow info1: "visited: 31 +graph: { title: "n182" label: "Block 182" status:clustered color:yellow +edge: {sourcename: "n182" targetname: "n107" label: "0" color: red} +node: {title: "n123" label: "ProjM 0 123" color: yellow info1: "visited: 31 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n127" targetname: "n119" label: "0" color: blue} -node: {title: "n118" label: "ProjP 2 118" color: yellow info1: "visited: 31 +edge: {sourcename: "n123" targetname: "n115" label: "0" color: blue} +node: {title: "n114" label: "ProjP 2 114" color: yellow info1: "visited: 31 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n118" targetname: "n119" label: "0" } -node: {title: "n119" label: "Alloc 119" info1: "visited: 31 +edge: {sourcename: "n114" targetname: "n115" label: "0" } +node: {title: "n115" label: "Alloc 115" info1: "visited: 31 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 2 allocating entity of type PRIMA "} -node: {title: "n119n120" label: "SymC PRIMA size 120" info1: "visited: 31 +node: {title: "n115n116" label: "SymC PRIMA size 116" info1: "visited: 31 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 "} -edge: {sourcename: "n119" targetname: "n121" label: "0" color: blue} -edge: {sourcename: "n119" targetname: "n119n120" label: "1" } -node: {title: "n193" label: "ProjX 0 193" color: yellow info1: "visited: 31 +edge: {sourcename: "n115" targetname: "n117" label: "0" color: blue} +edge: {sourcename: "n115" targetname: "n115n116" label: "1" } +node: {title: "n186" label: "ProjX 0 186" color: yellow info1: "visited: 31 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n193" targetname: "n191" label: "0" color: red} -node: {title: "n191" label: "CallBegin 191" info1: "visited: 31 +edge: {sourcename: "n186" targetname: "n184" label: "0" color: red} +node: {title: "n184" label: "CallBegin 184" info1: "visited: 31 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 possible callees: 0: PRIMA_set_a "} -node: {title: "n191n173" label: "&(PRIMA_set_a)P 173" color: yellow info1: "visited: 31 +node: {title: "n184n166" label: "&(PRIMA_set_a)P 166" color: yellow info1: "visited: 31 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 Const of type type_unknown "} -edge: {sourcename: "n191" targetname: "n191n173" label: "0" } +edge: {sourcename: "n184" targetname: "n184n166" label: "0" } } -graph: { title: "n112" label: "Block 112" status:clustered color:yellow -edge: {sourcename: "n112" targetname: "n111" label: "0" color: red} -node: {title: "n121" label: "ProjM 1 121" color: yellow info1: "visited: 31 +graph: { title: "n108" label: "Block 108" status:clustered color:yellow +edge: {sourcename: "n108" targetname: "n107" label: "0" color: red} +node: {title: "n117" label: "ProjM 1 117" color: yellow info1: "visited: 31 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n121" targetname: "n113" label: "0" color: blue} -node: {title: "n111" label: "ProjX 0 111" color: yellow info1: "visited: 31 +edge: {sourcename: "n117" targetname: "n109" label: "0" color: blue} +node: {title: "n107" label: "ProjX 0 107" color: yellow info1: "visited: 31 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n111" targetname: "n113" label: "0" color: red} -node: {title: "n113" label: "Start GlobalType_OO_PROGRAM_EXAMPLE_main 113" color: blue info1: "visited: 31 +edge: {sourcename: "n107" targetname: "n109" label: "0" color: red} +node: {title: "n109" label: "Start GlobalType_OO_PROGRAM_EXAMPLE_main 109" color: blue info1: "visited: 31 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 start of method of type OO_PROGRAM_EXAMPLE_main "} } } -graph: { title: "g71" label: "PRIMA_set_a" status:clustered color:white -graph: { title: "n186" label: "Block 186" status:clustered color:yellow -edge: {sourcename: "n186" targetname: "n185" label: "0" color: red} -node: {title: "n192" label: "ProjX 0 192" color: yellow info1: "visited: 31 +graph: { title: "g68" label: "PRIMA_set_a" status:clustered color:white +graph: { title: "n179" label: "Block 179" status:clustered color:yellow +edge: {sourcename: "n179" targetname: "n178" label: "0" color: red} +node: {title: "n185" label: "ProjX 0 185" color: yellow info1: "visited: 31 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n192" targetname: "n187" label: "0" color: red} -node: {title: "n187" label: "EndReg 187" color: blue info1: "visited: 31 +edge: {sourcename: "n185" targetname: "n180" label: "0" color: red} +node: {title: "n180" label: "EndReg 180" color: blue info1: "visited: 31 irg: PRIMA_set_a +arity: 0 "} } -graph: { title: "n137" label: "Block 137" status:clustered color:yellow -edge: {sourcename: "n137" targetname: "n138" label: "0" color: red} -node: {title: "n141" label: "ProjM 0 141" color: yellow info1: "visited: 31 +graph: { title: "n132" label: "Block 132" status:clustered color:yellow +edge: {sourcename: "n132" targetname: "n133" label: "0" color: red} +node: {title: "n136" label: "ProjM 0 136" color: yellow info1: "visited: 31 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n141" targetname: "n142" label: "0" color: blue} -node: {title: "n142" label: "Store 142" info1: "visited: 31 +edge: {sourcename: "n136" targetname: "n137" label: "0" color: blue} +node: {title: "n137" label: "Store 137" info1: "visited: 31 irg: PRIMA_set_a +arity: 3 "} -edge: {sourcename: "n142" targetname: "n182" label: "0" color: blue} -edge: {sourcename: "n142" targetname: "n145" label: "1" } -edge: {sourcename: "n142" targetname: "n184" label: "2" } -node: {title: "n145" label: "Sel a 145" info1: "visited: 31 +edge: {sourcename: "n137" targetname: "n175" label: "0" color: blue} +edge: {sourcename: "n137" targetname: "n140" label: "1" } +edge: {sourcename: "n137" targetname: "n177" label: "2" } +node: {title: "n140" label: "Sel a 140" info1: "visited: 31 irg: PRIMA_set_a +arity: 2 Selecting entity of type int from entity of type PRIMA "} -edge: {sourcename: "n145" targetname: "n182" label: "0" color: blue} -edge: {sourcename: "n145" targetname: "n183" label: "1" } -node: {title: "n185" label: "Jmp 185" info1: "visited: 31 +edge: {sourcename: "n140" targetname: "n175" label: "0" color: blue} +edge: {sourcename: "n140" targetname: "n176" label: "1" } +node: {title: "n178" label: "Jmp 178" info1: "visited: 31 irg: PRIMA_set_a +arity: 0 "} } -graph: { title: "n139" label: "Block 139" status:clustered color:yellow -edge: {sourcename: "n139" targetname: "n193" label: "0" color: red} -node: {title: "n182" label: "FilterM 1 182" color: yellow info1: "visited: 31 +graph: { title: "n134" label: "Block 134" status:clustered color:yellow +edge: {sourcename: "n134" targetname: "n186" label: "0" color: red} +node: {title: "n175" label: "FilterM 1 175" color: yellow info1: "visited: 31 irg: PRIMA_set_a +arity: 1 backedges: intra predecessor nodes: - StartT 140 + StartT 135 "} -edge: {sourcename: "n182" targetname: "n127" label: "0" color: blue} -node: {title: "n183" label: "FilterP 0 183" color: yellow info1: "visited: 31 +edge: {sourcename: "n175" targetname: "n123" label: "0" color: blue} +node: {title: "n176" label: "FilterP 0 176" color: yellow info1: "visited: 31 irg: PRIMA_set_a +arity: 1 backedges: intra predecessor nodes: - ProjT 144 + ProjT 139 "} -edge: {sourcename: "n183" targetname: "n118" label: "0" } -node: {title: "n184" label: "FilterIs 1 184" color: yellow info1: "visited: 31 +edge: {sourcename: "n176" targetname: "n114" label: "0" } +node: {title: "n177" label: "FilterIs 1 177" color: yellow info1: "visited: 31 irg: PRIMA_set_a +arity: 1 backedges: intra predecessor nodes: - ProjT 144 + ProjT 139 "} -node: {title: "n184n125" label: "0x2Is 125" color: yellow info1: "visited: 31 +node: {title: "n177n121" label: "0x2Is 121" color: yellow info1: "visited: 31 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 Const of type type_unknown "} -edge: {sourcename: "n184" targetname: "n184n125" label: "0" } -node: {title: "n138" label: "ProjX 0 138" color: yellow info1: "visited: 31 +edge: {sourcename: "n177" targetname: "n177n121" label: "0" } +node: {title: "n133" label: "ProjX 0 133" color: yellow info1: "visited: 31 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n138" targetname: "n140" label: "0" color: red} -node: {title: "n140" label: "Start PRIMA_set_a 140" color: blue info1: "visited: 31 +edge: {sourcename: "n133" targetname: "n135" label: "0" color: red} +node: {title: "n135" label: "Start PRIMA_set_a 135" color: blue info1: "visited: 31 irg: PRIMA_set_a +arity: 0 start of method of type set_a param 0 type: class_prima_ptr param 1 type: int @@ -197,80 +227,94 @@ start of method of type set_a } -graph: { title: "g94" label: "PRIMA_c" status:clustered color:white -graph: { title: "n178" label: "Block 178" status:clustered color:yellow -edge: {sourcename: "n178" targetname: "n177" label: "0" color: red} -node: {title: "n198" label: "ProjX 0 198" color: yellow info1: "visited: 31 +graph: { title: "g90" label: "PRIMA_c" status:clustered color:white +graph: { title: "n171" label: "Block 171" status:clustered color:yellow +edge: {sourcename: "n171" targetname: "n170" label: "0" color: red} +node: {title: "n191" label: "ProjX 0 191" color: yellow info1: "visited: 31 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n198" targetname: "n179" label: "0" color: red} -node: {title: "n179" label: "EndReg 179" color: blue info1: "visited: 31 +edge: {sourcename: "n191" targetname: "n172" label: "0" color: red} +node: {title: "n172" label: "EndReg 172" color: blue info1: "visited: 31 irg: PRIMA_c +arity: 0 "} } -graph: { title: "n155" label: "Block 155" status:clustered color:yellow -edge: {sourcename: "n155" targetname: "n156" label: "0" color: red} -node: {title: "n167" label: "ProjM 0 167" color: yellow info1: "visited: 31 +graph: { title: "n149" label: "Block 149" status:clustered color:yellow +edge: {sourcename: "n149" targetname: "n150" label: "0" color: red} +node: {title: "n161" label: "ProjM 0 161" color: yellow info1: "visited: 31 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n167" targetname: "n161" label: "0" color: blue} -node: {title: "n159" label: "AddIs 159" info1: "visited: 31 +edge: {sourcename: "n161" targetname: "n155" label: "0" color: blue} +node: {title: "n153" label: "AddIs 153" info1: "visited: 31 irg: PRIMA_c +arity: 2 "} -edge: {sourcename: "n159" targetname: "n160" label: "0" } -edge: {sourcename: "n159" targetname: "n174" label: "1" } -node: {title: "n160" label: "ProjIs 2 160" color: yellow info1: "visited: 31 +edge: {sourcename: "n153" targetname: "n154" label: "0" } +edge: {sourcename: "n153" targetname: "n167" label: "1" } +node: {title: "n154" label: "ProjIs 2 154" color: yellow info1: "visited: 31 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n160" targetname: "n161" label: "0" } -node: {title: "n161" label: "Load 161" info1: "visited: 31 +edge: {sourcename: "n154" targetname: "n155" label: "0" } +node: {title: "n155" label: "Load 155" info1: "visited: 31 irg: PRIMA_c +arity: 2 "} -edge: {sourcename: "n161" targetname: "n175" label: "0" color: blue} -edge: {sourcename: "n161" targetname: "n162" label: "1" } -node: {title: "n162" label: "Sel a 162" info1: "visited: 31 +edge: {sourcename: "n155" targetname: "n168" label: "0" color: blue} +edge: {sourcename: "n155" targetname: "n156" label: "1" } +node: {title: "n156" label: "Sel a 156" info1: "visited: 31 irg: PRIMA_c +arity: 2 Selecting entity of type int from entity of type PRIMA "} -edge: {sourcename: "n162" targetname: "n175" label: "0" color: blue} -edge: {sourcename: "n162" targetname: "n176" label: "1" } -node: {title: "n177" label: "Jmp 177" info1: "visited: 31 +edge: {sourcename: "n156" targetname: "n168" label: "0" color: blue} +edge: {sourcename: "n156" targetname: "n169" label: "1" } +node: {title: "n170" label: "Jmp 170" info1: "visited: 31 irg: PRIMA_c +arity: 0 "} } -graph: { title: "n157" label: "Block 157" status:clustered color:yellow -edge: {sourcename: "n157" targetname: "n199" label: "0" color: red} -node: {title: "n175" label: "FilterM 1 175" color: yellow info1: "visited: 31 +graph: { title: "n151" label: "Block 151" status:clustered color:yellow +edge: {sourcename: "n151" targetname: "n192" label: "0" color: red} +node: {title: "n168" label: "FilterM 1 168" color: yellow info1: "visited: 31 irg: PRIMA_c +arity: 1 backedges: intra predecessor nodes: - StartT 158 + StartT 152 "} -edge: {sourcename: "n175" targetname: "n194" label: "0" color: blue} -node: {title: "n176" label: "FilterP 0 176" color: yellow info1: "visited: 31 +edge: {sourcename: "n168" targetname: "n187" label: "0" color: blue} +node: {title: "n169" label: "FilterP 0 169" color: yellow info1: "visited: 31 irg: PRIMA_c +arity: 1 backedges: intra predecessor nodes: - ProjT 164 + ProjT 158 "} -edge: {sourcename: "n176" targetname: "n118" label: "0" } -node: {title: "n174" label: "FilterIs 1 174" color: yellow info1: "visited: 31 +edge: {sourcename: "n169" targetname: "n114" label: "0" } +node: {title: "n167" label: "FilterIs 1 167" color: yellow info1: "visited: 31 irg: PRIMA_c +arity: 1 backedges: intra predecessor nodes: - ProjT 164 + ProjT 158 "} -node: {title: "n174n117" label: "0x5Is 117" color: yellow info1: "visited: 31 +node: {title: "n167n113" label: "0x5Is 113" color: yellow info1: "visited: 31 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 Const of type type_unknown "} -edge: {sourcename: "n174" targetname: "n174n117" label: "0" } -node: {title: "n156" label: "ProjX 0 156" color: yellow info1: "visited: 31 +edge: {sourcename: "n167" targetname: "n167n113" label: "0" } +node: {title: "n150" label: "ProjX 0 150" color: yellow info1: "visited: 31 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n156" targetname: "n158" label: "0" color: red} -node: {title: "n158" label: "Start PRIMA_c 158" color: blue info1: "visited: 31 +edge: {sourcename: "n150" targetname: "n152" label: "0" color: red} +node: {title: "n152" label: "Start PRIMA_c 152" color: blue info1: "visited: 31 irg: PRIMA_c +arity: 0 start of method of type c param 0 type: class_prima_ptr param 1 type: int diff --git a/testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-pure-ip.vcg b/testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-pure-ip.vcg index ade797885..1fac634ad 100644 --- a/testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-pure-ip.vcg +++ b/testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-pure-ip.vcg @@ -17,296 +17,351 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -node: {title: "n112" label: "Block 112" color: lightyellow info1: "visited: 29 +node: {title: "n108" label: "Block 108" color: lightyellow info1: "visited: 29 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: "} -edge: {sourcename: "n112" targetname: "n111" label: "0" color: red} -node: {title: "n113" label: "Start GlobalType_OO_PROGRAM_EXAMPLE_main 113" color: blue info1: "visited: 29 +edge: {sourcename: "n108" targetname: "n107" label: "0" color: red} +node: {title: "n109" label: "Start GlobalType_OO_PROGRAM_EXAMPLE_main 109" color: blue info1: "visited: 29 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 start of method of type OO_PROGRAM_EXAMPLE_main "} -edge: { sourcename: "n113" targetname: "n112" class: 2 priority: 2 linestyle: dotted} -node: {title: "n111" label: "ProjX 0 111" color: yellow info1: "visited: 29 +edge: { sourcename: "n109" targetname: "n108" class: 2 priority: 2 linestyle: dotted} +node: {title: "n107" label: "ProjX 0 107" color: yellow info1: "visited: 29 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n111" targetname: "n113" label: "0" color: red} -edge: { sourcename: "n111" targetname: "n112" class: 2 priority: 2 linestyle: dotted} -node: {title: "n189" label: "Block 189" color: lightyellow info1: "visited: 29 +edge: {sourcename: "n107" targetname: "n109" label: "0" color: red} +edge: { sourcename: "n107" targetname: "n108" class: 2 priority: 2 linestyle: dotted} +node: {title: "n182" label: "Block 182" color: lightyellow info1: "visited: 29 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: "} -edge: {sourcename: "n189" targetname: "n111" label: "0" color: red} -node: {title: "n191" label: "CallBegin 191" info1: "visited: 29 +edge: {sourcename: "n182" targetname: "n107" label: "0" color: red} +node: {title: "n184" label: "CallBegin 184" info1: "visited: 29 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 possible callees: 0: PRIMA_set_a "} -node: {title: "n191n173" label: "&(PRIMA_set_a)P 173" color: yellow info1: "visited: 29 +node: {title: "n184n166" label: "&(PRIMA_set_a)P 166" color: yellow info1: "visited: 29 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 Const of type type_unknown "} -edge: {sourcename: "n191" targetname: "n191n173" label: "0" } -edge: { sourcename: "n191" targetname: "n189" class: 2 priority: 2 linestyle: dotted} -node: {title: "n193" label: "ProjX 0 193" color: yellow info1: "visited: 29 +edge: {sourcename: "n184" targetname: "n184n166" label: "0" } +edge: { sourcename: "n184" targetname: "n182" class: 2 priority: 2 linestyle: dotted} +node: {title: "n186" label: "ProjX 0 186" color: yellow info1: "visited: 29 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n193" targetname: "n191" label: "0" color: red} -edge: { sourcename: "n193" targetname: "n189" class: 2 priority: 2 linestyle: dotted} -node: {title: "n139" label: "Block 139" color: lightyellow info1: "visited: 29 +edge: {sourcename: "n186" targetname: "n184" label: "0" color: red} +edge: { sourcename: "n186" targetname: "n182" class: 2 priority: 2 linestyle: dotted} +node: {title: "n134" label: "Block 134" color: lightyellow info1: "visited: 29 irg: PRIMA_set_a +arity: 1 backedges: "} -edge: {sourcename: "n139" targetname: "n193" label: "0" color: red} -node: {title: "n140" label: "Start PRIMA_set_a 140" color: blue info1: "visited: 29 +edge: {sourcename: "n134" targetname: "n186" label: "0" color: red} +node: {title: "n135" label: "Start PRIMA_set_a 135" color: blue info1: "visited: 29 irg: PRIMA_set_a +arity: 0 start of method of type set_a param 0 type: class_prima_ptr param 1 type: int "} -edge: { sourcename: "n140" targetname: "n139" class: 2 priority: 2 linestyle: dotted} -node: {title: "n138" label: "ProjX 0 138" color: yellow info1: "visited: 29 +edge: { sourcename: "n135" targetname: "n134" class: 2 priority: 2 linestyle: dotted} +node: {title: "n133" label: "ProjX 0 133" color: yellow info1: "visited: 29 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n138" targetname: "n140" label: "0" color: red} -edge: { sourcename: "n138" targetname: "n139" class: 2 priority: 2 linestyle: dotted} -node: {title: "n137" label: "Block 137" color: lightyellow info1: "visited: 29 +edge: {sourcename: "n133" targetname: "n135" label: "0" color: red} +edge: { sourcename: "n133" targetname: "n134" class: 2 priority: 2 linestyle: dotted} +node: {title: "n132" label: "Block 132" color: lightyellow info1: "visited: 29 irg: PRIMA_set_a +arity: 1 backedges: "} -edge: {sourcename: "n137" targetname: "n138" label: "0" color: red} -node: {title: "n185" label: "Jmp 185" info1: "visited: 29 +edge: {sourcename: "n132" targetname: "n133" label: "0" color: red} +node: {title: "n178" label: "Jmp 178" info1: "visited: 29 irg: PRIMA_set_a +arity: 0 "} -edge: { sourcename: "n185" targetname: "n137" class: 2 priority: 2 linestyle: dotted} -node: {title: "n186" label: "Block 186" color: lightyellow info1: "visited: 29 +edge: { sourcename: "n178" targetname: "n132" class: 2 priority: 2 linestyle: dotted} +node: {title: "n179" label: "Block 179" color: lightyellow info1: "visited: 29 irg: PRIMA_set_a +arity: 1 backedges: "} -edge: {sourcename: "n186" targetname: "n185" label: "0" color: red} -node: {title: "n187" label: "EndReg 187" color: blue info1: "visited: 29 +edge: {sourcename: "n179" targetname: "n178" label: "0" color: red} +node: {title: "n180" label: "EndReg 180" color: blue info1: "visited: 29 irg: PRIMA_set_a +arity: 0 "} -edge: { sourcename: "n187" targetname: "n186" class: 2 priority: 2 linestyle: dotted} -node: {title: "n192" label: "ProjX 0 192" color: yellow info1: "visited: 29 +edge: { sourcename: "n180" targetname: "n179" class: 2 priority: 2 linestyle: dotted} +node: {title: "n185" label: "ProjX 0 185" color: yellow info1: "visited: 29 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n192" targetname: "n187" label: "0" color: red} -edge: { sourcename: "n192" targetname: "n186" class: 2 priority: 2 linestyle: dotted} -node: {title: "n195" label: "Block 195" color: lightyellow info1: "visited: 29 +edge: {sourcename: "n185" targetname: "n180" label: "0" color: red} +edge: { sourcename: "n185" targetname: "n179" class: 2 priority: 2 linestyle: dotted} +node: {title: "n188" label: "Block 188" color: lightyellow info1: "visited: 29 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: "} -edge: {sourcename: "n195" targetname: "n192" label: "0" color: red} -node: {title: "n197" label: "CallBegin 197" info1: "visited: 29 +edge: {sourcename: "n188" targetname: "n185" label: "0" color: red} +node: {title: "n190" label: "CallBegin 190" info1: "visited: 29 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 possible callees: 0: PRIMA_c "} -node: {title: "n197n172" label: "&(PRIMA_c)P 172" color: yellow info1: "visited: 29 +node: {title: "n190n165" label: "&(PRIMA_c)P 165" color: yellow info1: "visited: 29 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 Const of type type_unknown "} -edge: {sourcename: "n197" targetname: "n197n172" label: "0" } -edge: { sourcename: "n197" targetname: "n195" class: 2 priority: 2 linestyle: dotted} -node: {title: "n199" label: "ProjX 0 199" color: yellow info1: "visited: 29 +edge: {sourcename: "n190" targetname: "n190n165" label: "0" } +edge: { sourcename: "n190" targetname: "n188" class: 2 priority: 2 linestyle: dotted} +node: {title: "n192" label: "ProjX 0 192" color: yellow info1: "visited: 29 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n199" targetname: "n197" label: "0" color: red} -edge: { sourcename: "n199" targetname: "n195" class: 2 priority: 2 linestyle: dotted} -node: {title: "n157" label: "Block 157" color: lightyellow info1: "visited: 29 +edge: {sourcename: "n192" targetname: "n190" label: "0" color: red} +edge: { sourcename: "n192" targetname: "n188" class: 2 priority: 2 linestyle: dotted} +node: {title: "n151" label: "Block 151" color: lightyellow info1: "visited: 29 irg: PRIMA_c +arity: 1 backedges: "} -edge: {sourcename: "n157" targetname: "n199" label: "0" color: red} -node: {title: "n158" label: "Start PRIMA_c 158" color: blue info1: "visited: 29 +edge: {sourcename: "n151" targetname: "n192" label: "0" color: red} +node: {title: "n152" label: "Start PRIMA_c 152" color: blue info1: "visited: 29 irg: PRIMA_c +arity: 0 start of method of type c param 0 type: class_prima_ptr param 1 type: int "} -edge: { sourcename: "n158" targetname: "n157" class: 2 priority: 2 linestyle: dotted} -node: {title: "n156" label: "ProjX 0 156" color: yellow info1: "visited: 29 +edge: { sourcename: "n152" targetname: "n151" class: 2 priority: 2 linestyle: dotted} +node: {title: "n150" label: "ProjX 0 150" color: yellow info1: "visited: 29 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n156" targetname: "n158" label: "0" color: red} -edge: { sourcename: "n156" targetname: "n157" class: 2 priority: 2 linestyle: dotted} -node: {title: "n155" label: "Block 155" color: lightyellow info1: "visited: 29 +edge: {sourcename: "n150" targetname: "n152" label: "0" color: red} +edge: { sourcename: "n150" targetname: "n151" class: 2 priority: 2 linestyle: dotted} +node: {title: "n149" label: "Block 149" color: lightyellow info1: "visited: 29 irg: PRIMA_c +arity: 1 backedges: "} -edge: {sourcename: "n155" targetname: "n156" label: "0" color: red} -node: {title: "n177" label: "Jmp 177" info1: "visited: 29 +edge: {sourcename: "n149" targetname: "n150" label: "0" color: red} +node: {title: "n170" label: "Jmp 170" info1: "visited: 29 irg: PRIMA_c +arity: 0 "} -edge: { sourcename: "n177" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n178" label: "Block 178" color: lightyellow info1: "visited: 29 +edge: { sourcename: "n170" targetname: "n149" class: 2 priority: 2 linestyle: dotted} +node: {title: "n171" label: "Block 171" color: lightyellow info1: "visited: 29 irg: PRIMA_c +arity: 1 backedges: "} -edge: {sourcename: "n178" targetname: "n177" label: "0" color: red} -node: {title: "n179" label: "EndReg 179" color: blue info1: "visited: 29 +edge: {sourcename: "n171" targetname: "n170" label: "0" color: red} +node: {title: "n172" label: "EndReg 172" color: blue info1: "visited: 29 irg: PRIMA_c +arity: 0 "} -edge: { sourcename: "n179" targetname: "n178" class: 2 priority: 2 linestyle: dotted} -node: {title: "n198" label: "ProjX 0 198" color: yellow info1: "visited: 29 +edge: { sourcename: "n172" targetname: "n171" class: 2 priority: 2 linestyle: dotted} +node: {title: "n191" label: "ProjX 0 191" color: yellow info1: "visited: 29 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n198" targetname: "n179" label: "0" color: red} -edge: { sourcename: "n198" targetname: "n178" class: 2 priority: 2 linestyle: dotted} -node: {title: "n110" label: "Block 110" color: lightyellow info1: "visited: 29 +edge: {sourcename: "n191" targetname: "n172" label: "0" color: red} +edge: { sourcename: "n191" targetname: "n171" class: 2 priority: 2 linestyle: dotted} +node: {title: "n106" label: "Block 106" color: lightyellow info1: "visited: 29 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: "} -edge: {sourcename: "n110" targetname: "n198" label: "0" color: red} -node: {title: "n174" label: "FilterIs 1 174" color: yellow info1: "visited: 29 +edge: {sourcename: "n106" targetname: "n191" label: "0" color: red} +node: {title: "n167" label: "FilterIs 1 167" color: yellow info1: "visited: 29 irg: PRIMA_c +arity: 1 backedges: intra predecessor nodes: - ProjT 164 + ProjT 158 "} -node: {title: "n174n117" label: "0x5Is 117" color: yellow info1: "visited: 29 +node: {title: "n167n113" label: "0x5Is 113" color: yellow info1: "visited: 29 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 Const of type type_unknown "} -edge: {sourcename: "n174" targetname: "n174n117" label: "0" } -edge: { sourcename: "n174" targetname: "n157" class: 2 priority: 2 linestyle: dotted} -node: {title: "n121" label: "ProjM 1 121" color: yellow info1: "visited: 29 +edge: {sourcename: "n167" targetname: "n167n113" label: "0" } +edge: { sourcename: "n167" targetname: "n151" class: 2 priority: 2 linestyle: dotted} +node: {title: "n117" label: "ProjM 1 117" color: yellow info1: "visited: 29 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n121" targetname: "n113" label: "0" color: blue} -edge: { sourcename: "n121" targetname: "n112" class: 2 priority: 2 linestyle: dotted} -node: {title: "n119" label: "Alloc 119" info1: "visited: 29 +edge: {sourcename: "n117" targetname: "n109" label: "0" color: blue} +edge: { sourcename: "n117" targetname: "n108" class: 2 priority: 2 linestyle: dotted} +node: {title: "n115" label: "Alloc 115" info1: "visited: 29 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 2 allocating entity of type PRIMA "} -node: {title: "n119n120" label: "SymC PRIMA size 120" info1: "visited: 29 +node: {title: "n115n116" label: "SymC PRIMA size 116" info1: "visited: 29 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 "} -edge: {sourcename: "n119" targetname: "n121" label: "0" color: blue} -edge: {sourcename: "n119" targetname: "n119n120" label: "1" } -edge: { sourcename: "n119" targetname: "n189" class: 2 priority: 2 linestyle: dotted} -node: {title: "n118" label: "ProjP 2 118" color: yellow info1: "visited: 29 +edge: {sourcename: "n115" targetname: "n117" label: "0" color: blue} +edge: {sourcename: "n115" targetname: "n115n116" label: "1" } +edge: { sourcename: "n115" targetname: "n182" class: 2 priority: 2 linestyle: dotted} +node: {title: "n114" label: "ProjP 2 114" color: yellow info1: "visited: 29 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n118" targetname: "n119" label: "0" } -edge: { sourcename: "n118" targetname: "n189" class: 2 priority: 2 linestyle: dotted} -node: {title: "n176" label: "FilterP 0 176" color: yellow info1: "visited: 29 +edge: {sourcename: "n114" targetname: "n115" label: "0" } +edge: { sourcename: "n114" targetname: "n182" class: 2 priority: 2 linestyle: dotted} +node: {title: "n169" label: "FilterP 0 169" color: yellow info1: "visited: 29 irg: PRIMA_c +arity: 1 backedges: intra predecessor nodes: - ProjT 164 + ProjT 158 "} -edge: {sourcename: "n176" targetname: "n118" label: "0" } -edge: { sourcename: "n176" targetname: "n157" class: 2 priority: 2 linestyle: dotted} -node: {title: "n184" label: "FilterIs 1 184" color: yellow info1: "visited: 29 +edge: {sourcename: "n169" targetname: "n114" label: "0" } +edge: { sourcename: "n169" targetname: "n151" class: 2 priority: 2 linestyle: dotted} +node: {title: "n177" label: "FilterIs 1 177" color: yellow info1: "visited: 29 irg: PRIMA_set_a +arity: 1 backedges: intra predecessor nodes: - ProjT 144 + ProjT 139 "} -node: {title: "n184n125" label: "0x2Is 125" color: yellow info1: "visited: 29 +node: {title: "n177n121" label: "0x2Is 121" color: yellow info1: "visited: 29 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 Const of type type_unknown "} -edge: {sourcename: "n184" targetname: "n184n125" label: "0" } -edge: { sourcename: "n184" targetname: "n139" class: 2 priority: 2 linestyle: dotted} -node: {title: "n183" label: "FilterP 0 183" color: yellow info1: "visited: 29 +edge: {sourcename: "n177" targetname: "n177n121" label: "0" } +edge: { sourcename: "n177" targetname: "n134" class: 2 priority: 2 linestyle: dotted} +node: {title: "n176" label: "FilterP 0 176" color: yellow info1: "visited: 29 irg: PRIMA_set_a +arity: 1 backedges: intra predecessor nodes: - ProjT 144 + ProjT 139 "} -edge: {sourcename: "n183" targetname: "n118" label: "0" } -edge: { sourcename: "n183" targetname: "n139" class: 2 priority: 2 linestyle: dotted} -node: {title: "n127" label: "ProjM 0 127" color: yellow info1: "visited: 29 +edge: {sourcename: "n176" targetname: "n114" label: "0" } +edge: { sourcename: "n176" targetname: "n134" class: 2 priority: 2 linestyle: dotted} +node: {title: "n123" label: "ProjM 0 123" color: yellow info1: "visited: 29 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n127" targetname: "n119" label: "0" color: blue} -edge: { sourcename: "n127" targetname: "n189" class: 2 priority: 2 linestyle: dotted} -node: {title: "n182" label: "FilterM 1 182" color: yellow info1: "visited: 29 +edge: {sourcename: "n123" targetname: "n115" label: "0" color: blue} +edge: { sourcename: "n123" targetname: "n182" class: 2 priority: 2 linestyle: dotted} +node: {title: "n175" label: "FilterM 1 175" color: yellow info1: "visited: 29 irg: PRIMA_set_a +arity: 1 backedges: intra predecessor nodes: - StartT 140 + StartT 135 "} -edge: {sourcename: "n182" targetname: "n127" label: "0" color: blue} -edge: { sourcename: "n182" targetname: "n139" class: 2 priority: 2 linestyle: dotted} -node: {title: "n145" label: "Sel a 145" info1: "visited: 29 +edge: {sourcename: "n175" targetname: "n123" label: "0" color: blue} +edge: { sourcename: "n175" targetname: "n134" class: 2 priority: 2 linestyle: dotted} +node: {title: "n140" label: "Sel a 140" info1: "visited: 29 irg: PRIMA_set_a +arity: 2 Selecting entity of type int from entity of type PRIMA "} -edge: {sourcename: "n145" targetname: "n182" label: "0" color: blue} -edge: {sourcename: "n145" targetname: "n183" label: "1" } -edge: { sourcename: "n145" targetname: "n137" class: 2 priority: 2 linestyle: dotted} -node: {title: "n142" label: "Store 142" info1: "visited: 29 +edge: {sourcename: "n140" targetname: "n175" label: "0" color: blue} +edge: {sourcename: "n140" targetname: "n176" label: "1" } +edge: { sourcename: "n140" targetname: "n132" class: 2 priority: 2 linestyle: dotted} +node: {title: "n137" label: "Store 137" info1: "visited: 29 irg: PRIMA_set_a +arity: 3 "} -edge: {sourcename: "n142" targetname: "n182" label: "0" color: blue} -edge: {sourcename: "n142" targetname: "n145" label: "1" } -edge: {sourcename: "n142" targetname: "n184" label: "2" } -edge: { sourcename: "n142" targetname: "n137" class: 2 priority: 2 linestyle: dotted} -node: {title: "n141" label: "ProjM 0 141" color: yellow info1: "visited: 29 +edge: {sourcename: "n137" targetname: "n175" label: "0" color: blue} +edge: {sourcename: "n137" targetname: "n140" label: "1" } +edge: {sourcename: "n137" targetname: "n177" label: "2" } +edge: { sourcename: "n137" targetname: "n132" class: 2 priority: 2 linestyle: dotted} +node: {title: "n136" label: "ProjM 0 136" color: yellow info1: "visited: 29 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n141" targetname: "n142" label: "0" color: blue} -edge: { sourcename: "n141" targetname: "n137" class: 2 priority: 2 linestyle: dotted} -node: {title: "n194" label: "FilterM 0 194" color: yellow info1: "visited: 29 +edge: {sourcename: "n136" targetname: "n137" label: "0" color: blue} +edge: { sourcename: "n136" targetname: "n132" class: 2 priority: 2 linestyle: dotted} +node: {title: "n187" label: "FilterM 0 187" color: yellow info1: "visited: 29 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: intra predecessor nodes: - CallT 124 + CallT 120 "} -edge: {sourcename: "n194" targetname: "n141" label: "0" color: blue} -edge: { sourcename: "n194" targetname: "n195" class: 2 priority: 2 linestyle: dotted} -node: {title: "n175" label: "FilterM 1 175" color: yellow info1: "visited: 29 +edge: {sourcename: "n187" targetname: "n136" label: "0" color: blue} +edge: { sourcename: "n187" targetname: "n188" class: 2 priority: 2 linestyle: dotted} +node: {title: "n168" label: "FilterM 1 168" color: yellow info1: "visited: 29 irg: PRIMA_c +arity: 1 backedges: intra predecessor nodes: - StartT 158 + StartT 152 "} -edge: {sourcename: "n175" targetname: "n194" label: "0" color: blue} -edge: { sourcename: "n175" targetname: "n157" class: 2 priority: 2 linestyle: dotted} -node: {title: "n162" label: "Sel a 162" info1: "visited: 29 +edge: {sourcename: "n168" targetname: "n187" label: "0" color: blue} +edge: { sourcename: "n168" targetname: "n151" class: 2 priority: 2 linestyle: dotted} +node: {title: "n156" label: "Sel a 156" info1: "visited: 29 irg: PRIMA_c +arity: 2 Selecting entity of type int from entity of type PRIMA "} -edge: {sourcename: "n162" targetname: "n175" label: "0" color: blue} -edge: {sourcename: "n162" targetname: "n176" label: "1" } -edge: { sourcename: "n162" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n161" label: "Load 161" info1: "visited: 29 +edge: {sourcename: "n156" targetname: "n168" label: "0" color: blue} +edge: {sourcename: "n156" targetname: "n169" label: "1" } +edge: { sourcename: "n156" targetname: "n149" class: 2 priority: 2 linestyle: dotted} +node: {title: "n155" label: "Load 155" info1: "visited: 29 irg: PRIMA_c +arity: 2 "} -edge: {sourcename: "n161" targetname: "n175" label: "0" color: blue} -edge: {sourcename: "n161" targetname: "n162" label: "1" } -edge: { sourcename: "n161" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n160" label: "ProjIs 2 160" color: yellow info1: "visited: 29 +edge: {sourcename: "n155" targetname: "n168" label: "0" color: blue} +edge: {sourcename: "n155" targetname: "n156" label: "1" } +edge: { sourcename: "n155" targetname: "n149" class: 2 priority: 2 linestyle: dotted} +node: {title: "n154" label: "ProjIs 2 154" color: yellow info1: "visited: 29 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n160" targetname: "n161" label: "0" } -edge: { sourcename: "n160" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n159" label: "AddIs 159" info1: "visited: 29 +edge: {sourcename: "n154" targetname: "n155" label: "0" } +edge: { sourcename: "n154" targetname: "n149" class: 2 priority: 2 linestyle: dotted} +node: {title: "n153" label: "AddIs 153" info1: "visited: 29 irg: PRIMA_c +arity: 2 "} -edge: {sourcename: "n159" targetname: "n160" label: "0" } -edge: {sourcename: "n159" targetname: "n174" label: "1" } -edge: { sourcename: "n159" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n201" label: "FilterIs 0 201" color: yellow info1: "visited: 29 +edge: {sourcename: "n153" targetname: "n154" label: "0" } +edge: {sourcename: "n153" targetname: "n167" label: "1" } +edge: { sourcename: "n153" targetname: "n149" class: 2 priority: 2 linestyle: dotted} +node: {title: "n194" label: "FilterIs 0 194" color: yellow info1: "visited: 29 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: intra predecessor nodes: - ProjT 115 + ProjT 111 "} -edge: {sourcename: "n201" targetname: "n159" label: "0" } -edge: { sourcename: "n201" targetname: "n110" class: 2 priority: 2 linestyle: dotted} -node: {title: "n167" label: "ProjM 0 167" color: yellow info1: "visited: 29 +edge: {sourcename: "n194" targetname: "n153" label: "0" } +edge: { sourcename: "n194" targetname: "n106" class: 2 priority: 2 linestyle: dotted} +node: {title: "n161" label: "ProjM 0 161" color: yellow info1: "visited: 29 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n167" targetname: "n161" label: "0" color: blue} -edge: { sourcename: "n167" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n200" label: "FilterM 0 200" color: yellow info1: "visited: 29 +edge: {sourcename: "n161" targetname: "n155" label: "0" color: blue} +edge: { sourcename: "n161" targetname: "n149" class: 2 priority: 2 linestyle: dotted} +node: {title: "n193" label: "FilterM 0 193" color: yellow info1: "visited: 29 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: intra predecessor nodes: - CallT 116 + CallT 112 "} -edge: {sourcename: "n200" targetname: "n167" label: "0" color: blue} -edge: { sourcename: "n200" targetname: "n110" class: 2 priority: 2 linestyle: dotted} -node: {title: "n109" label: "Return 109" info1: "visited: 29 +edge: {sourcename: "n193" targetname: "n161" label: "0" color: blue} +edge: { sourcename: "n193" targetname: "n106" class: 2 priority: 2 linestyle: dotted} +node: {title: "n105" label: "Return 105" info1: "visited: 29 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 2 "} -edge: {sourcename: "n109" targetname: "n200" label: "0" color: blue} -edge: {sourcename: "n109" targetname: "n201" label: "1" } -edge: { sourcename: "n109" targetname: "n110" class: 2 priority: 2 linestyle: dotted} -node: {title: "n108" label: "Block 108" color: lightyellow info1: "visited: 29 +edge: {sourcename: "n105" targetname: "n193" label: "0" color: blue} +edge: {sourcename: "n105" targetname: "n194" label: "1" } +edge: { sourcename: "n105" targetname: "n106" class: 2 priority: 2 linestyle: dotted} +node: {title: "n104" label: "Block 104" color: lightyellow info1: "visited: 29 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: "} -edge: {sourcename: "n108" targetname: "n109" label: "0" color: red} -node: {title: "n107" label: "End 107" color: blue info1: "visited: 29 +edge: {sourcename: "n104" targetname: "n105" label: "0" color: red} +node: {title: "n103" label: "End 103" color: blue info1: "visited: 29 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 "} -edge: { sourcename: "n107" targetname: "n108" class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n103" targetname: "n104" class: 2 priority: 2 linestyle: dotted} } diff --git a/testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-pure-wtypes-ip.vcg b/testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-pure-wtypes-ip.vcg index cd756ef92..f77de5bb5 100644 --- a/testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-pure-wtypes-ip.vcg +++ b/testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-pure-wtypes-ip.vcg @@ -17,301 +17,356 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -node: {title: "n112" label: "Block 112" color: lightyellow info1: "visited: 33 +node: {title: "n108" label: "Block 108" color: lightyellow info1: "visited: 33 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: "} -edge: {sourcename: "n112" targetname: "n111" label: "0" color: red} -node: {title: "n113" label: "Start GlobalType_OO_PROGRAM_EXAMPLE_main 113" color: blue info1: "visited: 33 +edge: {sourcename: "n108" targetname: "n107" label: "0" color: red} +node: {title: "n109" label: "Start GlobalType_OO_PROGRAM_EXAMPLE_main 109" color: blue info1: "visited: 33 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 start of method of type OO_PROGRAM_EXAMPLE_main "} -edge: { sourcename: "n113" targetname: "n112" class: 2 priority: 2 linestyle: dotted} -node: {title: "n111" label: "ProjX 0 111" color: yellow info1: "visited: 33 +edge: { sourcename: "n109" targetname: "n108" class: 2 priority: 2 linestyle: dotted} +node: {title: "n107" label: "ProjX 0 107" color: yellow info1: "visited: 33 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n111" targetname: "n113" label: "0" color: red} -edge: { sourcename: "n111" targetname: "n112" class: 2 priority: 2 linestyle: dotted} -node: {title: "n189" label: "Block 189" color: lightyellow info1: "visited: 33 +edge: {sourcename: "n107" targetname: "n109" label: "0" color: red} +edge: { sourcename: "n107" targetname: "n108" class: 2 priority: 2 linestyle: dotted} +node: {title: "n182" label: "Block 182" color: lightyellow info1: "visited: 33 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: "} -edge: {sourcename: "n189" targetname: "n111" label: "0" color: red} -node: {title: "n191" label: "CallBegin 191" info1: "visited: 33 +edge: {sourcename: "n182" targetname: "n107" label: "0" color: red} +node: {title: "n184" label: "CallBegin 184" info1: "visited: 33 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 possible callees: 0: PRIMA_set_a "} -node: {title: "n191n173" label: "&(PRIMA_set_a)P 173" color: yellow info1: "visited: 33 +node: {title: "n184n166" label: "&(PRIMA_set_a)P 166" color: yellow info1: "visited: 33 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 Const of type type_unknown "} -edge: {sourcename: "n191" targetname: "n191n173" label: "0" } -edge: { sourcename: "n191" targetname: "n189" class: 2 priority: 2 linestyle: dotted} -node: {title: "n193" label: "ProjX 0 193" color: yellow info1: "visited: 33 +edge: {sourcename: "n184" targetname: "n184n166" label: "0" } +edge: { sourcename: "n184" targetname: "n182" class: 2 priority: 2 linestyle: dotted} +node: {title: "n186" label: "ProjX 0 186" color: yellow info1: "visited: 33 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n193" targetname: "n191" label: "0" color: red} -edge: { sourcename: "n193" targetname: "n189" class: 2 priority: 2 linestyle: dotted} -node: {title: "n139" label: "Block 139" color: lightyellow info1: "visited: 33 +edge: {sourcename: "n186" targetname: "n184" label: "0" color: red} +edge: { sourcename: "n186" targetname: "n182" class: 2 priority: 2 linestyle: dotted} +node: {title: "n134" label: "Block 134" color: lightyellow info1: "visited: 33 irg: PRIMA_set_a +arity: 1 backedges: "} -edge: {sourcename: "n139" targetname: "n193" label: "0" color: red} -node: {title: "n140" label: "Start PRIMA_set_a 140" color: blue info1: "visited: 33 +edge: {sourcename: "n134" targetname: "n186" label: "0" color: red} +node: {title: "n135" label: "Start PRIMA_set_a 135" color: blue info1: "visited: 33 irg: PRIMA_set_a +arity: 0 start of method of type set_a param 0 type: class_prima_ptr param 1 type: int "} -edge: { sourcename: "n140" targetname: "n139" class: 2 priority: 2 linestyle: dotted} -node: {title: "n138" label: "ProjX 0 138" color: yellow info1: "visited: 33 +edge: { sourcename: "n135" targetname: "n134" class: 2 priority: 2 linestyle: dotted} +node: {title: "n133" label: "ProjX 0 133" color: yellow info1: "visited: 33 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n138" targetname: "n140" label: "0" color: red} -edge: { sourcename: "n138" targetname: "n139" class: 2 priority: 2 linestyle: dotted} -node: {title: "n137" label: "Block 137" color: lightyellow info1: "visited: 33 +edge: {sourcename: "n133" targetname: "n135" label: "0" color: red} +edge: { sourcename: "n133" targetname: "n134" class: 2 priority: 2 linestyle: dotted} +node: {title: "n132" label: "Block 132" color: lightyellow info1: "visited: 33 irg: PRIMA_set_a +arity: 1 backedges: "} -edge: {sourcename: "n137" targetname: "n138" label: "0" color: red} -node: {title: "n185" label: "Jmp 185" info1: "visited: 33 +edge: {sourcename: "n132" targetname: "n133" label: "0" color: red} +node: {title: "n178" label: "Jmp 178" info1: "visited: 33 irg: PRIMA_set_a +arity: 0 "} -edge: { sourcename: "n185" targetname: "n137" class: 2 priority: 2 linestyle: dotted} -node: {title: "n186" label: "Block 186" color: lightyellow info1: "visited: 33 +edge: { sourcename: "n178" targetname: "n132" class: 2 priority: 2 linestyle: dotted} +node: {title: "n179" label: "Block 179" color: lightyellow info1: "visited: 33 irg: PRIMA_set_a +arity: 1 backedges: "} -edge: {sourcename: "n186" targetname: "n185" label: "0" color: red} -node: {title: "n187" label: "EndReg 187" color: blue info1: "visited: 33 +edge: {sourcename: "n179" targetname: "n178" label: "0" color: red} +node: {title: "n180" label: "EndReg 180" color: blue info1: "visited: 33 irg: PRIMA_set_a +arity: 0 "} -edge: { sourcename: "n187" targetname: "n186" class: 2 priority: 2 linestyle: dotted} -node: {title: "n192" label: "ProjX 0 192" color: yellow info1: "visited: 33 +edge: { sourcename: "n180" targetname: "n179" class: 2 priority: 2 linestyle: dotted} +node: {title: "n185" label: "ProjX 0 185" color: yellow info1: "visited: 33 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n192" targetname: "n187" label: "0" color: red} -edge: { sourcename: "n192" targetname: "n186" class: 2 priority: 2 linestyle: dotted} -node: {title: "n195" label: "Block 195" color: lightyellow info1: "visited: 33 +edge: {sourcename: "n185" targetname: "n180" label: "0" color: red} +edge: { sourcename: "n185" targetname: "n179" class: 2 priority: 2 linestyle: dotted} +node: {title: "n188" label: "Block 188" color: lightyellow info1: "visited: 33 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: "} -edge: {sourcename: "n195" targetname: "n192" label: "0" color: red} -node: {title: "n197" label: "CallBegin 197" info1: "visited: 33 +edge: {sourcename: "n188" targetname: "n185" label: "0" color: red} +node: {title: "n190" label: "CallBegin 190" info1: "visited: 33 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 possible callees: 0: PRIMA_c "} -node: {title: "n197n172" label: "&(PRIMA_c)P 172" color: yellow info1: "visited: 33 +node: {title: "n190n165" label: "&(PRIMA_c)P 165" color: yellow info1: "visited: 33 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 Const of type type_unknown "} -edge: {sourcename: "n197" targetname: "n197n172" label: "0" } -edge: { sourcename: "n197" targetname: "n195" class: 2 priority: 2 linestyle: dotted} -node: {title: "n199" label: "ProjX 0 199" color: yellow info1: "visited: 33 +edge: {sourcename: "n190" targetname: "n190n165" label: "0" } +edge: { sourcename: "n190" targetname: "n188" class: 2 priority: 2 linestyle: dotted} +node: {title: "n192" label: "ProjX 0 192" color: yellow info1: "visited: 33 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n199" targetname: "n197" label: "0" color: red} -edge: { sourcename: "n199" targetname: "n195" class: 2 priority: 2 linestyle: dotted} -node: {title: "n157" label: "Block 157" color: lightyellow info1: "visited: 33 +edge: {sourcename: "n192" targetname: "n190" label: "0" color: red} +edge: { sourcename: "n192" targetname: "n188" class: 2 priority: 2 linestyle: dotted} +node: {title: "n151" label: "Block 151" color: lightyellow info1: "visited: 33 irg: PRIMA_c +arity: 1 backedges: "} -edge: {sourcename: "n157" targetname: "n199" label: "0" color: red} -node: {title: "n158" label: "Start PRIMA_c 158" color: blue info1: "visited: 33 +edge: {sourcename: "n151" targetname: "n192" label: "0" color: red} +node: {title: "n152" label: "Start PRIMA_c 152" color: blue info1: "visited: 33 irg: PRIMA_c +arity: 0 start of method of type c param 0 type: class_prima_ptr param 1 type: int "} -edge: { sourcename: "n158" targetname: "n157" class: 2 priority: 2 linestyle: dotted} -node: {title: "n156" label: "ProjX 0 156" color: yellow info1: "visited: 33 +edge: { sourcename: "n152" targetname: "n151" class: 2 priority: 2 linestyle: dotted} +node: {title: "n150" label: "ProjX 0 150" color: yellow info1: "visited: 33 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n156" targetname: "n158" label: "0" color: red} -edge: { sourcename: "n156" targetname: "n157" class: 2 priority: 2 linestyle: dotted} -node: {title: "n155" label: "Block 155" color: lightyellow info1: "visited: 33 +edge: {sourcename: "n150" targetname: "n152" label: "0" color: red} +edge: { sourcename: "n150" targetname: "n151" class: 2 priority: 2 linestyle: dotted} +node: {title: "n149" label: "Block 149" color: lightyellow info1: "visited: 33 irg: PRIMA_c +arity: 1 backedges: "} -edge: {sourcename: "n155" targetname: "n156" label: "0" color: red} -node: {title: "n177" label: "Jmp 177" info1: "visited: 33 +edge: {sourcename: "n149" targetname: "n150" label: "0" color: red} +node: {title: "n170" label: "Jmp 170" info1: "visited: 33 irg: PRIMA_c +arity: 0 "} -edge: { sourcename: "n177" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n178" label: "Block 178" color: lightyellow info1: "visited: 33 +edge: { sourcename: "n170" targetname: "n149" class: 2 priority: 2 linestyle: dotted} +node: {title: "n171" label: "Block 171" color: lightyellow info1: "visited: 33 irg: PRIMA_c +arity: 1 backedges: "} -edge: {sourcename: "n178" targetname: "n177" label: "0" color: red} -node: {title: "n179" label: "EndReg 179" color: blue info1: "visited: 33 +edge: {sourcename: "n171" targetname: "n170" label: "0" color: red} +node: {title: "n172" label: "EndReg 172" color: blue info1: "visited: 33 irg: PRIMA_c +arity: 0 "} -edge: { sourcename: "n179" targetname: "n178" class: 2 priority: 2 linestyle: dotted} -node: {title: "n198" label: "ProjX 0 198" color: yellow info1: "visited: 33 +edge: { sourcename: "n172" targetname: "n171" class: 2 priority: 2 linestyle: dotted} +node: {title: "n191" label: "ProjX 0 191" color: yellow info1: "visited: 33 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n198" targetname: "n179" label: "0" color: red} -edge: { sourcename: "n198" targetname: "n178" class: 2 priority: 2 linestyle: dotted} -node: {title: "n110" label: "Block 110" color: lightyellow info1: "visited: 33 +edge: {sourcename: "n191" targetname: "n172" label: "0" color: red} +edge: { sourcename: "n191" targetname: "n171" class: 2 priority: 2 linestyle: dotted} +node: {title: "n106" label: "Block 106" color: lightyellow info1: "visited: 33 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: "} -edge: {sourcename: "n110" targetname: "n198" label: "0" color: red} -node: {title: "n174" label: "FilterIs 1 174" color: yellow info1: "visited: 33 +edge: {sourcename: "n106" targetname: "n191" label: "0" color: red} +node: {title: "n167" label: "FilterIs 1 167" color: yellow info1: "visited: 33 irg: PRIMA_c +arity: 1 backedges: intra predecessor nodes: - ProjT 164 + ProjT 158 "} -node: {title: "n174n117" label: "0x5Is 117" color: yellow info1: "visited: 33 +node: {title: "n167n113" label: "0x5Is 113" color: yellow info1: "visited: 33 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 Const of type type_unknown "} -edge: {sourcename: "n174" targetname: "n174n117" label: "0" } -edge: { sourcename: "n174" targetname: "n157" class: 2 priority: 2 linestyle: dotted} -node: {title: "n121" label: "ProjM 1 121" color: yellow info1: "visited: 33 +edge: {sourcename: "n167" targetname: "n167n113" label: "0" } +edge: { sourcename: "n167" targetname: "n151" class: 2 priority: 2 linestyle: dotted} +node: {title: "n117" label: "ProjM 1 117" color: yellow info1: "visited: 33 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n121" targetname: "n113" label: "0" color: blue} -edge: { sourcename: "n121" targetname: "n112" class: 2 priority: 2 linestyle: dotted} -node: {title: "n119" label: "Alloc 119" info1: "visited: 33 +edge: {sourcename: "n117" targetname: "n109" label: "0" color: blue} +edge: { sourcename: "n117" targetname: "n108" class: 2 priority: 2 linestyle: dotted} +node: {title: "n115" label: "Alloc 115" info1: "visited: 33 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 2 allocating entity of type PRIMA "} -node: {title: "n119n120" label: "SymC PRIMA size 120" info1: "visited: 33 +node: {title: "n115n116" label: "SymC PRIMA size 116" info1: "visited: 33 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 "} -edge: {sourcename: "n119" targetname: "n121" label: "0" color: blue} -edge: {sourcename: "n119" targetname: "n119n120" label: "1" } -edge: { sourcename: "n119" targetname: "n189" class: 2 priority: 2 linestyle: dotted} -node: {title: "n118" label: "ProjP 2 118" color: yellow info1: "visited: 33 +edge: {sourcename: "n115" targetname: "n117" label: "0" color: blue} +edge: {sourcename: "n115" targetname: "n115n116" label: "1" } +edge: { sourcename: "n115" targetname: "n182" class: 2 priority: 2 linestyle: dotted} +node: {title: "n114" label: "ProjP 2 114" color: yellow info1: "visited: 33 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n118" targetname: "n119" label: "0" } -edge: { sourcename: "n118" targetname: "n189" class: 2 priority: 2 linestyle: dotted} -node: {title: "n176" label: "FilterP 0 176" color: yellow info1: "visited: 33 +edge: {sourcename: "n114" targetname: "n115" label: "0" } +edge: { sourcename: "n114" targetname: "n182" class: 2 priority: 2 linestyle: dotted} +node: {title: "n169" label: "FilterP 0 169" color: yellow info1: "visited: 33 irg: PRIMA_c +arity: 1 backedges: intra predecessor nodes: - ProjT 164 + ProjT 158 "} -edge: {sourcename: "n176" targetname: "n118" label: "0" } -edge: { sourcename: "n176" targetname: "n157" class: 2 priority: 2 linestyle: dotted} -node: {title: "n184" label: "FilterIs 1 184" color: yellow info1: "visited: 33 +edge: {sourcename: "n169" targetname: "n114" label: "0" } +edge: { sourcename: "n169" targetname: "n151" class: 2 priority: 2 linestyle: dotted} +node: {title: "n177" label: "FilterIs 1 177" color: yellow info1: "visited: 33 irg: PRIMA_set_a +arity: 1 backedges: intra predecessor nodes: - ProjT 144 + ProjT 139 "} -node: {title: "n184n125" label: "0x2Is 125" color: yellow info1: "visited: 33 +node: {title: "n177n121" label: "0x2Is 121" color: yellow info1: "visited: 33 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 Const of type type_unknown "} -edge: {sourcename: "n184" targetname: "n184n125" label: "0" } -edge: { sourcename: "n184" targetname: "n139" class: 2 priority: 2 linestyle: dotted} -node: {title: "n183" label: "FilterP 0 183" color: yellow info1: "visited: 33 +edge: {sourcename: "n177" targetname: "n177n121" label: "0" } +edge: { sourcename: "n177" targetname: "n134" class: 2 priority: 2 linestyle: dotted} +node: {title: "n176" label: "FilterP 0 176" color: yellow info1: "visited: 33 irg: PRIMA_set_a +arity: 1 backedges: intra predecessor nodes: - ProjT 144 + ProjT 139 "} -edge: {sourcename: "n183" targetname: "n118" label: "0" } -edge: { sourcename: "n183" targetname: "n139" class: 2 priority: 2 linestyle: dotted} -node: {title: "n127" label: "ProjM 0 127" color: yellow info1: "visited: 33 +edge: {sourcename: "n176" targetname: "n114" label: "0" } +edge: { sourcename: "n176" targetname: "n134" class: 2 priority: 2 linestyle: dotted} +node: {title: "n123" label: "ProjM 0 123" color: yellow info1: "visited: 33 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n127" targetname: "n119" label: "0" color: blue} -edge: { sourcename: "n127" targetname: "n189" class: 2 priority: 2 linestyle: dotted} -node: {title: "n182" label: "FilterM 1 182" color: yellow info1: "visited: 33 +edge: {sourcename: "n123" targetname: "n115" label: "0" color: blue} +edge: { sourcename: "n123" targetname: "n182" class: 2 priority: 2 linestyle: dotted} +node: {title: "n175" label: "FilterM 1 175" color: yellow info1: "visited: 33 irg: PRIMA_set_a +arity: 1 backedges: intra predecessor nodes: - StartT 140 + StartT 135 "} -edge: {sourcename: "n182" targetname: "n127" label: "0" color: blue} -edge: { sourcename: "n182" targetname: "n139" class: 2 priority: 2 linestyle: dotted} -node: {title: "n145" label: "Sel a 145" info1: "visited: 33 +edge: {sourcename: "n175" targetname: "n123" label: "0" color: blue} +edge: { sourcename: "n175" targetname: "n134" class: 2 priority: 2 linestyle: dotted} +node: {title: "n140" label: "Sel a 140" info1: "visited: 33 irg: PRIMA_set_a +arity: 2 Selecting entity of type int from entity of type PRIMA "} -edge: {sourcename: "n145" targetname: "n182" label: "0" color: blue} -edge: {sourcename: "n145" targetname: "n183" label: "1" } -edge: { sourcename: "n145" targetname: "n137" class: 2 priority: 2 linestyle: dotted} -node: {title: "n142" label: "Store 142" info1: "visited: 33 +edge: {sourcename: "n140" targetname: "n175" label: "0" color: blue} +edge: {sourcename: "n140" targetname: "n176" label: "1" } +edge: { sourcename: "n140" targetname: "n132" class: 2 priority: 2 linestyle: dotted} +node: {title: "n137" label: "Store 137" info1: "visited: 33 irg: PRIMA_set_a +arity: 3 "} -edge: {sourcename: "n142" targetname: "n182" label: "0" color: blue} -edge: {sourcename: "n142" targetname: "n145" label: "1" } -edge: {sourcename: "n142" targetname: "n184" label: "2" } -edge: { sourcename: "n142" targetname: "n137" class: 2 priority: 2 linestyle: dotted} -node: {title: "n141" label: "ProjM 0 141" color: yellow info1: "visited: 33 +edge: {sourcename: "n137" targetname: "n175" label: "0" color: blue} +edge: {sourcename: "n137" targetname: "n140" label: "1" } +edge: {sourcename: "n137" targetname: "n177" label: "2" } +edge: { sourcename: "n137" targetname: "n132" class: 2 priority: 2 linestyle: dotted} +node: {title: "n136" label: "ProjM 0 136" color: yellow info1: "visited: 33 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n141" targetname: "n142" label: "0" color: blue} -edge: { sourcename: "n141" targetname: "n137" class: 2 priority: 2 linestyle: dotted} -node: {title: "n194" label: "FilterM 0 194" color: yellow info1: "visited: 33 +edge: {sourcename: "n136" targetname: "n137" label: "0" color: blue} +edge: { sourcename: "n136" targetname: "n132" class: 2 priority: 2 linestyle: dotted} +node: {title: "n187" label: "FilterM 0 187" color: yellow info1: "visited: 33 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: intra predecessor nodes: - CallT 124 + CallT 120 "} -edge: {sourcename: "n194" targetname: "n141" label: "0" color: blue} -edge: { sourcename: "n194" targetname: "n195" class: 2 priority: 2 linestyle: dotted} -node: {title: "n175" label: "FilterM 1 175" color: yellow info1: "visited: 33 +edge: {sourcename: "n187" targetname: "n136" label: "0" color: blue} +edge: { sourcename: "n187" targetname: "n188" class: 2 priority: 2 linestyle: dotted} +node: {title: "n168" label: "FilterM 1 168" color: yellow info1: "visited: 33 irg: PRIMA_c +arity: 1 backedges: intra predecessor nodes: - StartT 158 + StartT 152 "} -edge: {sourcename: "n175" targetname: "n194" label: "0" color: blue} -edge: { sourcename: "n175" targetname: "n157" class: 2 priority: 2 linestyle: dotted} -node: {title: "n162" label: "Sel a 162" info1: "visited: 33 +edge: {sourcename: "n168" targetname: "n187" label: "0" color: blue} +edge: { sourcename: "n168" targetname: "n151" class: 2 priority: 2 linestyle: dotted} +node: {title: "n156" label: "Sel a 156" info1: "visited: 33 irg: PRIMA_c +arity: 2 Selecting entity of type int from entity of type PRIMA "} -edge: {sourcename: "n162" targetname: "n175" label: "0" color: blue} -edge: {sourcename: "n162" targetname: "n176" label: "1" } -edge: { sourcename: "n162" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n161" label: "Load 161" info1: "visited: 33 +edge: {sourcename: "n156" targetname: "n168" label: "0" color: blue} +edge: {sourcename: "n156" targetname: "n169" label: "1" } +edge: { sourcename: "n156" targetname: "n149" class: 2 priority: 2 linestyle: dotted} +node: {title: "n155" label: "Load 155" info1: "visited: 33 irg: PRIMA_c +arity: 2 "} -edge: {sourcename: "n161" targetname: "n175" label: "0" color: blue} -edge: {sourcename: "n161" targetname: "n162" label: "1" } -edge: { sourcename: "n161" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n160" label: "ProjIs 2 160" color: yellow info1: "visited: 33 +edge: {sourcename: "n155" targetname: "n168" label: "0" color: blue} +edge: {sourcename: "n155" targetname: "n156" label: "1" } +edge: { sourcename: "n155" targetname: "n149" class: 2 priority: 2 linestyle: dotted} +node: {title: "n154" label: "ProjIs 2 154" color: yellow info1: "visited: 33 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n160" targetname: "n161" label: "0" } -edge: { sourcename: "n160" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n159" label: "AddIs 159" info1: "visited: 33 +edge: {sourcename: "n154" targetname: "n155" label: "0" } +edge: { sourcename: "n154" targetname: "n149" class: 2 priority: 2 linestyle: dotted} +node: {title: "n153" label: "AddIs 153" info1: "visited: 33 irg: PRIMA_c +arity: 2 "} -edge: {sourcename: "n159" targetname: "n160" label: "0" } -edge: {sourcename: "n159" targetname: "n174" label: "1" } -edge: { sourcename: "n159" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n201" label: "FilterIs 0 201" color: yellow info1: "visited: 33 +edge: {sourcename: "n153" targetname: "n154" label: "0" } +edge: {sourcename: "n153" targetname: "n167" label: "1" } +edge: { sourcename: "n153" targetname: "n149" class: 2 priority: 2 linestyle: dotted} +node: {title: "n194" label: "FilterIs 0 194" color: yellow info1: "visited: 33 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: intra predecessor nodes: - ProjT 115 + ProjT 111 "} -edge: {sourcename: "n201" targetname: "n159" label: "0" } -edge: { sourcename: "n201" targetname: "n110" class: 2 priority: 2 linestyle: dotted} -node: {title: "n167" label: "ProjM 0 167" color: yellow info1: "visited: 33 +edge: {sourcename: "n194" targetname: "n153" label: "0" } +edge: { sourcename: "n194" targetname: "n106" class: 2 priority: 2 linestyle: dotted} +node: {title: "n161" label: "ProjM 0 161" color: yellow info1: "visited: 33 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n167" targetname: "n161" label: "0" color: blue} -edge: { sourcename: "n167" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n200" label: "FilterM 0 200" color: yellow info1: "visited: 33 +edge: {sourcename: "n161" targetname: "n155" label: "0" color: blue} +edge: { sourcename: "n161" targetname: "n149" class: 2 priority: 2 linestyle: dotted} +node: {title: "n193" label: "FilterM 0 193" color: yellow info1: "visited: 33 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: intra predecessor nodes: - CallT 116 + CallT 112 "} -edge: {sourcename: "n200" targetname: "n167" label: "0" color: blue} -edge: { sourcename: "n200" targetname: "n110" class: 2 priority: 2 linestyle: dotted} -node: {title: "n109" label: "Return 109" info1: "visited: 33 +edge: {sourcename: "n193" targetname: "n161" label: "0" color: blue} +edge: { sourcename: "n193" targetname: "n106" class: 2 priority: 2 linestyle: dotted} +node: {title: "n105" label: "Return 105" info1: "visited: 33 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 2 "} -edge: {sourcename: "n109" targetname: "n200" label: "0" color: blue} -edge: {sourcename: "n109" targetname: "n201" label: "1" } -edge: { sourcename: "n109" targetname: "n110" class: 2 priority: 2 linestyle: dotted} -node: {title: "n108" label: "Block 108" color: lightyellow info1: "visited: 33 +edge: {sourcename: "n105" targetname: "n193" label: "0" color: blue} +edge: {sourcename: "n105" targetname: "n194" label: "1" } +edge: { sourcename: "n105" targetname: "n106" class: 2 priority: 2 linestyle: dotted} +node: {title: "n104" label: "Block 104" color: lightyellow info1: "visited: 33 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: "} -edge: {sourcename: "n108" targetname: "n109" label: "0" color: red} -node: {title: "n107" label: "End 107" color: blue info1: "visited: 33 +edge: {sourcename: "n104" targetname: "n105" label: "0" color: red} +node: {title: "n103" label: "End 103" color: blue info1: "visited: 33 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 "} -edge: { sourcename: "n107" targetname: "n108" class: 2 priority: 2 linestyle: dotted} -node: {title: "e15" label: "ent a" color: yellow +edge: { sourcename: "n103" targetname: "n104" class: 2 priority: 2 linestyle: dotted} +node: {title: "e14" label: "ent a" color: yellow info1: " -id: e15 +id: e14 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized @@ -321,17 +376,17 @@ name: a ld_name: no yet set offset: -1" } -edge: { sourcename: "e15" targetname: "t12"class: 3 label: "type" color: red} -node: {title: "t13" label: "class PRIMA" info1: "state: layout_undefined +edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red} +node: {title: "t12" label: "class PRIMA" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "t13" targetname: "e15"class: 12 label: "member" color:blue} -edge: { sourcename: "t13" targetname: "e18"class: 12 label: "member" color:blue} -edge: { sourcename: "t13" targetname: "e21"class: 12 label: "member" color:blue} -node: {title: "e18" label: "ent PRIMA_set_a" color: yellow +edge: { sourcename: "t12" targetname: "e14"class: 12 label: "member" color:blue} +edge: { sourcename: "t12" targetname: "e17"class: 12 label: "member" color:blue} +edge: { sourcename: "t12" targetname: "e20"class: 12 label: "member" color:blue} +node: {title: "e17" label: "ent PRIMA_set_a" color: yellow info1: " -id: e18 +id: e17 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -340,31 +395,32 @@ peculiarity: peculiarity_existent name: PRIMA_set_a ld_name: PRIMA_set_a offset: -1 -irg = g71" +irg = g68" } -edge: { sourcename: "e18" targetname: "t16"class: 3 label: "type" color: red} -edge: { sourcename: "e18" targetname: "n17"label: "value 0"} -node: {title: "n17" label: "&(PRIMA_set_a)P 17" color: yellow info1: "visited: 36 +edge: { sourcename: "e17" targetname: "t15"class: 3 label: "type" color: red} +edge: { sourcename: "e17" targetname: "n16"label: "value 0"} +node: {title: "n16" label: "&(PRIMA_set_a)P 16" color: yellow info1: "visited: 36 +arity: 0 Const of type type_unknown "} -node: {title: "t16" label: "method set_a" info1: "state: layout_fixed, +node: {title: "t15" label: "method set_a" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t16" targetname: "t14"class: 5 label: "param 0" color: green} -edge: { sourcename: "t16" targetname: "t12"class: 5 label: "param 1" color: green} -node: {title: "t14" label: "pointer class_prima_ptr" info1: "state: layout_fixed, +edge: { sourcename: "t15" targetname: "t13"class: 5 label: "param 0" color: green} +edge: { sourcename: "t15" targetname: "t11"class: 5 label: "param 1" color: green} +node: {title: "t13" label: "pointer class_prima_ptr" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t14" targetname: "t13"class: 9 label: "points to" color:green} -node: {title: "t12" label: "primitive int" info1: "state: layout_fixed, +edge: { sourcename: "t13" targetname: "t12"class: 9 label: "points to" color:green} +node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, mode: Is, size: 4B, "} -node: {title: "e21" label: "ent PRIMA_c" color: yellow +node: {title: "e20" label: "ent PRIMA_c" color: yellow info1: " -id: e21 +id: e20 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -373,23 +429,24 @@ peculiarity: peculiarity_existent name: PRIMA_c ld_name: PRIMA_c offset: -1 -irg = g94" +irg = g90" } -edge: { sourcename: "e21" targetname: "t19"class: 3 label: "type" color: red} -edge: { sourcename: "e21" targetname: "n20"label: "value 0"} -node: {title: "n20" label: "&(PRIMA_c)P 20" color: yellow info1: "visited: 37 +edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red} +edge: { sourcename: "e20" targetname: "n19"label: "value 0"} +node: {title: "n19" label: "&(PRIMA_c)P 19" color: yellow info1: "visited: 37 +arity: 0 Const of type type_unknown "} -node: {title: "t19" label: "method c" info1: "state: layout_fixed, +node: {title: "t18" label: "method c" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t19" targetname: "t14"class: 5 label: "param 0" color: green} -edge: { sourcename: "t19" targetname: "t12"class: 5 label: "param 1" color: green} -edge: { sourcename: "t19" targetname: "t12"class: 6 label: "res 0" color: green} -node: {title: "e24" label: "ent GlobalType_OO_PROGRAM_EXAMPLE_main" color: yellow +edge: { sourcename: "t18" targetname: "t13"class: 5 label: "param 0" color: green} +edge: { sourcename: "t18" targetname: "t11"class: 5 label: "param 1" color: green} +edge: { sourcename: "t18" targetname: "t11"class: 6 label: "res 0" color: green} +node: {title: "e23" label: "ent GlobalType_OO_PROGRAM_EXAMPLE_main" color: yellow info1: " -id: e24 +id: e23 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -398,29 +455,30 @@ peculiarity: peculiarity_existent name: GlobalType_OO_PROGRAM_EXAMPLE_main ld_name: GlobalType_OO_PROGRAM_EXAMPLE_main offset: -1 -irg = g37" +irg = g35" } -edge: { sourcename: "e24" targetname: "t22"class: 3 label: "type" color: red} -edge: { sourcename: "e24" targetname: "n23"label: "value 0"} -node: {title: "n23" label: "&(GlobalType_OO_PROGRAM_EXAMPLE_main)P 23" color: yellow info1: "visited: 38 +edge: { sourcename: "e23" targetname: "t21"class: 3 label: "type" color: red} +edge: { sourcename: "e23" targetname: "n22"label: "value 0"} +node: {title: "n22" label: "&(GlobalType_OO_PROGRAM_EXAMPLE_main)P 22" color: yellow info1: "visited: 38 +arity: 0 Const of type type_unknown "} node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "t0" targetname: "e24"class: 12 label: "member" color:blue} -node: {title: "t22" label: "method OO_PROGRAM_EXAMPLE_main" info1: "state: layout_fixed, +edge: { sourcename: "t0" targetname: "e23"class: 12 label: "member" color:blue} +node: {title: "t21" label: "method OO_PROGRAM_EXAMPLE_main" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t22" targetname: "t12"class: 6 label: "res 0" color: green} -node: {title: "t25" label: "class OO_PROGRAM_EXAMPLE_mainframe_tp" info1: "state: layout_undefined +edge: { sourcename: "t21" targetname: "t11"class: 6 label: "res 0" color: green} +node: {title: "t24" label: "class OO_PROGRAM_EXAMPLE_mainframe_tp" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "n162" targetname: "e15"class: 2 priority: 2 linestyle: dotted} -edge: { sourcename: "n119" targetname: "t13"class: 2 priority: 2 linestyle: dotted} -edge: { sourcename: "n120" targetname: "t13"class: 2 priority: 2 linestyle: dotted} -edge: { sourcename: "n145" targetname: "e15"class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n156" targetname: "e14"class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n115" targetname: "t12"class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n116" targetname: "t12"class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n140" targetname: "e14"class: 2 priority: 2 linestyle: dotted} } diff --git a/testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-type.vcg b/testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-type.vcg index 420c1031d..fb7e68d37 100644 --- a/testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-type.vcg +++ b/testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-type.vcg @@ -17,28 +17,28 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -node: {title: "t19" label: "method c" info1: "state: layout_fixed, +node: {title: "t18" label: "method c" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t19" targetname: "t14"class: 5 label: "param 0" color: green} -edge: { sourcename: "t19" targetname: "t12"class: 5 label: "param 1" color: green} -edge: { sourcename: "t19" targetname: "t12"class: 6 label: "res 0" color: green} -node: {title: "t14" label: "pointer class_prima_ptr" info1: "state: layout_fixed, +edge: { sourcename: "t18" targetname: "t13"class: 5 label: "param 0" color: green} +edge: { sourcename: "t18" targetname: "t11"class: 5 label: "param 1" color: green} +edge: { sourcename: "t18" targetname: "t11"class: 6 label: "res 0" color: green} +node: {title: "t13" label: "pointer class_prima_ptr" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t14" targetname: "t13"class: 9 label: "points to" color:green} -node: {title: "t13" label: "class PRIMA" info1: "state: layout_undefined +edge: { sourcename: "t13" targetname: "t12"class: 9 label: "points to" color:green} +node: {title: "t12" label: "class PRIMA" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "t13" targetname: "e15"class: 12 label: "member" color:blue} -edge: { sourcename: "t13" targetname: "e18"class: 12 label: "member" color:blue} -edge: { sourcename: "t13" targetname: "e21"class: 12 label: "member" color:blue} -node: {title: "e15" label: "ent a" color: yellow +edge: { sourcename: "t12" targetname: "e14"class: 12 label: "member" color:blue} +edge: { sourcename: "t12" targetname: "e17"class: 12 label: "member" color:blue} +edge: { sourcename: "t12" targetname: "e20"class: 12 label: "member" color:blue} +node: {title: "e14" label: "ent a" color: yellow info1: " -id: e15 +id: e14 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized @@ -48,14 +48,14 @@ name: a ld_name: no yet set offset: -1" } -edge: { sourcename: "e15" targetname: "t12"class: 3 label: "type" color: red} -node: {title: "t12" label: "primitive int" info1: "state: layout_fixed, +edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red} +node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, mode: Is, size: 4B, "} -node: {title: "e18" label: "ent PRIMA_set_a" color: yellow +node: {title: "e17" label: "ent PRIMA_set_a" color: yellow info1: " -id: e18 +id: e17 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -64,22 +64,23 @@ peculiarity: peculiarity_existent name: PRIMA_set_a ld_name: PRIMA_set_a offset: -1 -irg = g71" +irg = g68" } -edge: { sourcename: "e18" targetname: "t16"class: 3 label: "type" color: red} -edge: { sourcename: "e18" targetname: "n17"label: "value 0"} -node: {title: "n17" label: "&(PRIMA_set_a)P 17" color: yellow info1: "visited: 7 +edge: { sourcename: "e17" targetname: "t15"class: 3 label: "type" color: red} +edge: { sourcename: "e17" targetname: "n16"label: "value 0"} +node: {title: "n16" label: "&(PRIMA_set_a)P 16" color: yellow info1: "visited: 7 +arity: 0 Const of type type_unknown "} -node: {title: "t16" label: "method set_a" info1: "state: layout_fixed, +node: {title: "t15" label: "method set_a" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t16" targetname: "t14"class: 5 label: "param 0" color: green} -edge: { sourcename: "t16" targetname: "t12"class: 5 label: "param 1" color: green} -node: {title: "e21" label: "ent PRIMA_c" color: yellow +edge: { sourcename: "t15" targetname: "t13"class: 5 label: "param 0" color: green} +edge: { sourcename: "t15" targetname: "t11"class: 5 label: "param 1" color: green} +node: {title: "e20" label: "ent PRIMA_c" color: yellow info1: " -id: e21 +id: e20 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -88,16 +89,17 @@ peculiarity: peculiarity_existent name: PRIMA_c ld_name: PRIMA_c offset: -1 -irg = g94" +irg = g90" } -edge: { sourcename: "e21" targetname: "t19"class: 3 label: "type" color: red} -edge: { sourcename: "e21" targetname: "n20"label: "value 0"} -node: {title: "n20" label: "&(PRIMA_c)P 20" color: yellow info1: "visited: 7 +edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red} +edge: { sourcename: "e20" targetname: "n19"label: "value 0"} +node: {title: "n19" label: "&(PRIMA_c)P 19" color: yellow info1: "visited: 7 +arity: 0 Const of type type_unknown "} -node: {title: "e24" label: "ent GlobalType_OO_PROGRAM_EXAMPLE_main" color: yellow +node: {title: "e23" label: "ent GlobalType_OO_PROGRAM_EXAMPLE_main" color: yellow info1: " -id: e24 +id: e23 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -106,24 +108,25 @@ peculiarity: peculiarity_existent name: GlobalType_OO_PROGRAM_EXAMPLE_main ld_name: GlobalType_OO_PROGRAM_EXAMPLE_main offset: -1 -irg = g37" +irg = g35" } -edge: { sourcename: "e24" targetname: "t22"class: 3 label: "type" color: red} -edge: { sourcename: "e24" targetname: "n23"label: "value 0"} -node: {title: "n23" label: "&(GlobalType_OO_PROGRAM_EXAMPLE_main)P 23" color: yellow info1: "visited: 7 +edge: { sourcename: "e23" targetname: "t21"class: 3 label: "type" color: red} +edge: { sourcename: "e23" targetname: "n22"label: "value 0"} +node: {title: "n22" label: "&(GlobalType_OO_PROGRAM_EXAMPLE_main)P 22" color: yellow info1: "visited: 7 +arity: 0 Const of type type_unknown "} node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "t0" targetname: "e24"class: 12 label: "member" color:blue} -node: {title: "t22" label: "method OO_PROGRAM_EXAMPLE_main" info1: "state: layout_fixed, +edge: { sourcename: "t0" targetname: "e23"class: 12 label: "member" color:blue} +node: {title: "t21" label: "method OO_PROGRAM_EXAMPLE_main" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t22" targetname: "t12"class: 6 label: "res 0" color: green} -node: {title: "t25" label: "class OO_PROGRAM_EXAMPLE_mainframe_tp" info1: "state: layout_undefined +edge: { sourcename: "t21" targetname: "t11"class: 6 label: "res 0" color: green} +node: {title: "t24" label: "class OO_PROGRAM_EXAMPLE_mainframe_tp" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} diff --git a/testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-wtypes-ip.vcg b/testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-wtypes-ip.vcg index 6240d7ed8..837f51e07 100644 --- a/testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-wtypes-ip.vcg +++ b/testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-wtypes-ip.vcg @@ -17,178 +17,208 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -graph: { title: "g37" label: "GlobalType_OO_PROGRAM_EXAMPLE_main" status:clustered color:white -graph: { title: "n108" label: "Block 108" status:clustered color:yellow -edge: {sourcename: "n108" targetname: "n109" label: "0" color: red} -node: {title: "n107" label: "End 107" color: blue info1: "visited: 41 +graph: { title: "g35" label: "GlobalType_OO_PROGRAM_EXAMPLE_main" status:clustered color:white +graph: { title: "n104" label: "Block 104" status:clustered color:yellow +edge: {sourcename: "n104" targetname: "n105" label: "0" color: red} +node: {title: "n103" label: "End 103" color: blue info1: "visited: 41 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 "} } -graph: { title: "n110" label: "Block 110" status:clustered color:yellow -edge: {sourcename: "n110" targetname: "n198" label: "0" color: red} -node: {title: "n109" label: "Return 109" info1: "visited: 41 +graph: { title: "n106" label: "Block 106" status:clustered color:yellow +edge: {sourcename: "n106" targetname: "n191" label: "0" color: red} +node: {title: "n105" label: "Return 105" info1: "visited: 41 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 2 "} -edge: {sourcename: "n109" targetname: "n200" label: "0" color: blue} -edge: {sourcename: "n109" targetname: "n201" label: "1" } -node: {title: "n200" label: "FilterM 0 200" color: yellow info1: "visited: 41 +edge: {sourcename: "n105" targetname: "n193" label: "0" color: blue} +edge: {sourcename: "n105" targetname: "n194" label: "1" } +node: {title: "n193" label: "FilterM 0 193" color: yellow info1: "visited: 41 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: intra predecessor nodes: - CallT 116 + CallT 112 "} -edge: {sourcename: "n200" targetname: "n167" label: "0" color: blue} -node: {title: "n201" label: "FilterIs 0 201" color: yellow info1: "visited: 41 +edge: {sourcename: "n193" targetname: "n161" label: "0" color: blue} +node: {title: "n194" label: "FilterIs 0 194" color: yellow info1: "visited: 41 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: intra predecessor nodes: - ProjT 115 + ProjT 111 "} -edge: {sourcename: "n201" targetname: "n159" label: "0" } +edge: {sourcename: "n194" targetname: "n153" label: "0" } } -graph: { title: "n195" label: "Block 195" status:clustered color:yellow -edge: {sourcename: "n195" targetname: "n192" label: "0" color: red} -node: {title: "n194" label: "FilterM 0 194" color: yellow info1: "visited: 41 +graph: { title: "n188" label: "Block 188" status:clustered color:yellow +edge: {sourcename: "n188" targetname: "n185" label: "0" color: red} +node: {title: "n187" label: "FilterM 0 187" color: yellow info1: "visited: 41 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: intra predecessor nodes: - CallT 124 + CallT 120 "} -edge: {sourcename: "n194" targetname: "n141" label: "0" color: blue} -node: {title: "n199" label: "ProjX 0 199" color: yellow info1: "visited: 41 +edge: {sourcename: "n187" targetname: "n136" label: "0" color: blue} +node: {title: "n192" label: "ProjX 0 192" color: yellow info1: "visited: 41 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n199" targetname: "n197" label: "0" color: red} -node: {title: "n197" label: "CallBegin 197" info1: "visited: 41 +edge: {sourcename: "n192" targetname: "n190" label: "0" color: red} +node: {title: "n190" label: "CallBegin 190" info1: "visited: 41 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 possible callees: 0: PRIMA_c "} -node: {title: "n197n172" label: "&(PRIMA_c)P 172" color: yellow info1: "visited: 41 +node: {title: "n190n165" label: "&(PRIMA_c)P 165" color: yellow info1: "visited: 41 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 Const of type type_unknown "} -edge: {sourcename: "n197" targetname: "n197n172" label: "0" } +edge: {sourcename: "n190" targetname: "n190n165" label: "0" } } -graph: { title: "n189" label: "Block 189" status:clustered color:yellow -edge: {sourcename: "n189" targetname: "n111" label: "0" color: red} -node: {title: "n127" label: "ProjM 0 127" color: yellow info1: "visited: 41 +graph: { title: "n182" label: "Block 182" status:clustered color:yellow +edge: {sourcename: "n182" targetname: "n107" label: "0" color: red} +node: {title: "n123" label: "ProjM 0 123" color: yellow info1: "visited: 41 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n127" targetname: "n119" label: "0" color: blue} -node: {title: "n118" label: "ProjP 2 118" color: yellow info1: "visited: 41 +edge: {sourcename: "n123" targetname: "n115" label: "0" color: blue} +node: {title: "n114" label: "ProjP 2 114" color: yellow info1: "visited: 41 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n118" targetname: "n119" label: "0" } -node: {title: "n119" label: "Alloc 119" info1: "visited: 41 +edge: {sourcename: "n114" targetname: "n115" label: "0" } +node: {title: "n115" label: "Alloc 115" info1: "visited: 41 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 2 allocating entity of type PRIMA "} -node: {title: "n119n120" label: "SymC PRIMA size 120" info1: "visited: 41 +node: {title: "n115n116" label: "SymC PRIMA size 116" info1: "visited: 41 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 "} -edge: {sourcename: "n119" targetname: "n121" label: "0" color: blue} -edge: {sourcename: "n119" targetname: "n119n120" label: "1" } -node: {title: "n193" label: "ProjX 0 193" color: yellow info1: "visited: 41 +edge: {sourcename: "n115" targetname: "n117" label: "0" color: blue} +edge: {sourcename: "n115" targetname: "n115n116" label: "1" } +node: {title: "n186" label: "ProjX 0 186" color: yellow info1: "visited: 41 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n193" targetname: "n191" label: "0" color: red} -node: {title: "n191" label: "CallBegin 191" info1: "visited: 41 +edge: {sourcename: "n186" targetname: "n184" label: "0" color: red} +node: {title: "n184" label: "CallBegin 184" info1: "visited: 41 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 possible callees: 0: PRIMA_set_a "} -node: {title: "n191n173" label: "&(PRIMA_set_a)P 173" color: yellow info1: "visited: 41 +node: {title: "n184n166" label: "&(PRIMA_set_a)P 166" color: yellow info1: "visited: 41 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 Const of type type_unknown "} -edge: {sourcename: "n191" targetname: "n191n173" label: "0" } +edge: {sourcename: "n184" targetname: "n184n166" label: "0" } } -graph: { title: "n112" label: "Block 112" status:clustered color:yellow -edge: {sourcename: "n112" targetname: "n111" label: "0" color: red} -node: {title: "n121" label: "ProjM 1 121" color: yellow info1: "visited: 41 +graph: { title: "n108" label: "Block 108" status:clustered color:yellow +edge: {sourcename: "n108" targetname: "n107" label: "0" color: red} +node: {title: "n117" label: "ProjM 1 117" color: yellow info1: "visited: 41 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n121" targetname: "n113" label: "0" color: blue} -node: {title: "n111" label: "ProjX 0 111" color: yellow info1: "visited: 41 +edge: {sourcename: "n117" targetname: "n109" label: "0" color: blue} +node: {title: "n107" label: "ProjX 0 107" color: yellow info1: "visited: 41 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n111" targetname: "n113" label: "0" color: red} -node: {title: "n113" label: "Start GlobalType_OO_PROGRAM_EXAMPLE_main 113" color: blue info1: "visited: 41 +edge: {sourcename: "n107" targetname: "n109" label: "0" color: red} +node: {title: "n109" label: "Start GlobalType_OO_PROGRAM_EXAMPLE_main 109" color: blue info1: "visited: 41 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 start of method of type OO_PROGRAM_EXAMPLE_main "} } } -graph: { title: "g71" label: "PRIMA_set_a" status:clustered color:white -graph: { title: "n186" label: "Block 186" status:clustered color:yellow -edge: {sourcename: "n186" targetname: "n185" label: "0" color: red} -node: {title: "n192" label: "ProjX 0 192" color: yellow info1: "visited: 41 +graph: { title: "g68" label: "PRIMA_set_a" status:clustered color:white +graph: { title: "n179" label: "Block 179" status:clustered color:yellow +edge: {sourcename: "n179" targetname: "n178" label: "0" color: red} +node: {title: "n185" label: "ProjX 0 185" color: yellow info1: "visited: 41 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n192" targetname: "n187" label: "0" color: red} -node: {title: "n187" label: "EndReg 187" color: blue info1: "visited: 41 +edge: {sourcename: "n185" targetname: "n180" label: "0" color: red} +node: {title: "n180" label: "EndReg 180" color: blue info1: "visited: 41 irg: PRIMA_set_a +arity: 0 "} } -graph: { title: "n137" label: "Block 137" status:clustered color:yellow -edge: {sourcename: "n137" targetname: "n138" label: "0" color: red} -node: {title: "n141" label: "ProjM 0 141" color: yellow info1: "visited: 41 +graph: { title: "n132" label: "Block 132" status:clustered color:yellow +edge: {sourcename: "n132" targetname: "n133" label: "0" color: red} +node: {title: "n136" label: "ProjM 0 136" color: yellow info1: "visited: 41 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n141" targetname: "n142" label: "0" color: blue} -node: {title: "n142" label: "Store 142" info1: "visited: 41 +edge: {sourcename: "n136" targetname: "n137" label: "0" color: blue} +node: {title: "n137" label: "Store 137" info1: "visited: 41 irg: PRIMA_set_a +arity: 3 "} -edge: {sourcename: "n142" targetname: "n182" label: "0" color: blue} -edge: {sourcename: "n142" targetname: "n145" label: "1" } -edge: {sourcename: "n142" targetname: "n184" label: "2" } -node: {title: "n145" label: "Sel a 145" info1: "visited: 41 +edge: {sourcename: "n137" targetname: "n175" label: "0" color: blue} +edge: {sourcename: "n137" targetname: "n140" label: "1" } +edge: {sourcename: "n137" targetname: "n177" label: "2" } +node: {title: "n140" label: "Sel a 140" info1: "visited: 41 irg: PRIMA_set_a +arity: 2 Selecting entity of type int from entity of type PRIMA "} -edge: {sourcename: "n145" targetname: "n182" label: "0" color: blue} -edge: {sourcename: "n145" targetname: "n183" label: "1" } -node: {title: "n185" label: "Jmp 185" info1: "visited: 41 +edge: {sourcename: "n140" targetname: "n175" label: "0" color: blue} +edge: {sourcename: "n140" targetname: "n176" label: "1" } +node: {title: "n178" label: "Jmp 178" info1: "visited: 41 irg: PRIMA_set_a +arity: 0 "} } -graph: { title: "n139" label: "Block 139" status:clustered color:yellow -edge: {sourcename: "n139" targetname: "n193" label: "0" color: red} -node: {title: "n182" label: "FilterM 1 182" color: yellow info1: "visited: 41 +graph: { title: "n134" label: "Block 134" status:clustered color:yellow +edge: {sourcename: "n134" targetname: "n186" label: "0" color: red} +node: {title: "n175" label: "FilterM 1 175" color: yellow info1: "visited: 41 irg: PRIMA_set_a +arity: 1 backedges: intra predecessor nodes: - StartT 140 + StartT 135 "} -edge: {sourcename: "n182" targetname: "n127" label: "0" color: blue} -node: {title: "n183" label: "FilterP 0 183" color: yellow info1: "visited: 41 +edge: {sourcename: "n175" targetname: "n123" label: "0" color: blue} +node: {title: "n176" label: "FilterP 0 176" color: yellow info1: "visited: 41 irg: PRIMA_set_a +arity: 1 backedges: intra predecessor nodes: - ProjT 144 + ProjT 139 "} -edge: {sourcename: "n183" targetname: "n118" label: "0" } -node: {title: "n184" label: "FilterIs 1 184" color: yellow info1: "visited: 41 +edge: {sourcename: "n176" targetname: "n114" label: "0" } +node: {title: "n177" label: "FilterIs 1 177" color: yellow info1: "visited: 41 irg: PRIMA_set_a +arity: 1 backedges: intra predecessor nodes: - ProjT 144 + ProjT 139 "} -node: {title: "n184n125" label: "0x2Is 125" color: yellow info1: "visited: 41 +node: {title: "n177n121" label: "0x2Is 121" color: yellow info1: "visited: 41 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 Const of type type_unknown "} -edge: {sourcename: "n184" targetname: "n184n125" label: "0" } -node: {title: "n138" label: "ProjX 0 138" color: yellow info1: "visited: 41 +edge: {sourcename: "n177" targetname: "n177n121" label: "0" } +node: {title: "n133" label: "ProjX 0 133" color: yellow info1: "visited: 41 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n138" targetname: "n140" label: "0" color: red} -node: {title: "n140" label: "Start PRIMA_set_a 140" color: blue info1: "visited: 41 +edge: {sourcename: "n133" targetname: "n135" label: "0" color: red} +node: {title: "n135" label: "Start PRIMA_set_a 135" color: blue info1: "visited: 41 irg: PRIMA_set_a +arity: 0 start of method of type set_a param 0 type: class_prima_ptr param 1 type: int @@ -197,80 +227,94 @@ start of method of type set_a } -graph: { title: "g94" label: "PRIMA_c" status:clustered color:white -graph: { title: "n178" label: "Block 178" status:clustered color:yellow -edge: {sourcename: "n178" targetname: "n177" label: "0" color: red} -node: {title: "n198" label: "ProjX 0 198" color: yellow info1: "visited: 41 +graph: { title: "g90" label: "PRIMA_c" status:clustered color:white +graph: { title: "n171" label: "Block 171" status:clustered color:yellow +edge: {sourcename: "n171" targetname: "n170" label: "0" color: red} +node: {title: "n191" label: "ProjX 0 191" color: yellow info1: "visited: 41 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n198" targetname: "n179" label: "0" color: red} -node: {title: "n179" label: "EndReg 179" color: blue info1: "visited: 41 +edge: {sourcename: "n191" targetname: "n172" label: "0" color: red} +node: {title: "n172" label: "EndReg 172" color: blue info1: "visited: 41 irg: PRIMA_c +arity: 0 "} } -graph: { title: "n155" label: "Block 155" status:clustered color:yellow -edge: {sourcename: "n155" targetname: "n156" label: "0" color: red} -node: {title: "n167" label: "ProjM 0 167" color: yellow info1: "visited: 41 +graph: { title: "n149" label: "Block 149" status:clustered color:yellow +edge: {sourcename: "n149" targetname: "n150" label: "0" color: red} +node: {title: "n161" label: "ProjM 0 161" color: yellow info1: "visited: 41 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n167" targetname: "n161" label: "0" color: blue} -node: {title: "n159" label: "AddIs 159" info1: "visited: 41 +edge: {sourcename: "n161" targetname: "n155" label: "0" color: blue} +node: {title: "n153" label: "AddIs 153" info1: "visited: 41 irg: PRIMA_c +arity: 2 "} -edge: {sourcename: "n159" targetname: "n160" label: "0" } -edge: {sourcename: "n159" targetname: "n174" label: "1" } -node: {title: "n160" label: "ProjIs 2 160" color: yellow info1: "visited: 41 +edge: {sourcename: "n153" targetname: "n154" label: "0" } +edge: {sourcename: "n153" targetname: "n167" label: "1" } +node: {title: "n154" label: "ProjIs 2 154" color: yellow info1: "visited: 41 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n160" targetname: "n161" label: "0" } -node: {title: "n161" label: "Load 161" info1: "visited: 41 +edge: {sourcename: "n154" targetname: "n155" label: "0" } +node: {title: "n155" label: "Load 155" info1: "visited: 41 irg: PRIMA_c +arity: 2 "} -edge: {sourcename: "n161" targetname: "n175" label: "0" color: blue} -edge: {sourcename: "n161" targetname: "n162" label: "1" } -node: {title: "n162" label: "Sel a 162" info1: "visited: 41 +edge: {sourcename: "n155" targetname: "n168" label: "0" color: blue} +edge: {sourcename: "n155" targetname: "n156" label: "1" } +node: {title: "n156" label: "Sel a 156" info1: "visited: 41 irg: PRIMA_c +arity: 2 Selecting entity of type int from entity of type PRIMA "} -edge: {sourcename: "n162" targetname: "n175" label: "0" color: blue} -edge: {sourcename: "n162" targetname: "n176" label: "1" } -node: {title: "n177" label: "Jmp 177" info1: "visited: 41 +edge: {sourcename: "n156" targetname: "n168" label: "0" color: blue} +edge: {sourcename: "n156" targetname: "n169" label: "1" } +node: {title: "n170" label: "Jmp 170" info1: "visited: 41 irg: PRIMA_c +arity: 0 "} } -graph: { title: "n157" label: "Block 157" status:clustered color:yellow -edge: {sourcename: "n157" targetname: "n199" label: "0" color: red} -node: {title: "n175" label: "FilterM 1 175" color: yellow info1: "visited: 41 +graph: { title: "n151" label: "Block 151" status:clustered color:yellow +edge: {sourcename: "n151" targetname: "n192" label: "0" color: red} +node: {title: "n168" label: "FilterM 1 168" color: yellow info1: "visited: 41 irg: PRIMA_c +arity: 1 backedges: intra predecessor nodes: - StartT 158 + StartT 152 "} -edge: {sourcename: "n175" targetname: "n194" label: "0" color: blue} -node: {title: "n176" label: "FilterP 0 176" color: yellow info1: "visited: 41 +edge: {sourcename: "n168" targetname: "n187" label: "0" color: blue} +node: {title: "n169" label: "FilterP 0 169" color: yellow info1: "visited: 41 irg: PRIMA_c +arity: 1 backedges: intra predecessor nodes: - ProjT 164 + ProjT 158 "} -edge: {sourcename: "n176" targetname: "n118" label: "0" } -node: {title: "n174" label: "FilterIs 1 174" color: yellow info1: "visited: 41 +edge: {sourcename: "n169" targetname: "n114" label: "0" } +node: {title: "n167" label: "FilterIs 1 167" color: yellow info1: "visited: 41 irg: PRIMA_c +arity: 1 backedges: intra predecessor nodes: - ProjT 164 + ProjT 158 "} -node: {title: "n174n117" label: "0x5Is 117" color: yellow info1: "visited: 41 +node: {title: "n167n113" label: "0x5Is 113" color: yellow info1: "visited: 41 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 Const of type type_unknown "} -edge: {sourcename: "n174" targetname: "n174n117" label: "0" } -node: {title: "n156" label: "ProjX 0 156" color: yellow info1: "visited: 41 +edge: {sourcename: "n167" targetname: "n167n113" label: "0" } +node: {title: "n150" label: "ProjX 0 150" color: yellow info1: "visited: 41 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n156" targetname: "n158" label: "0" color: red} -node: {title: "n158" label: "Start PRIMA_c 158" color: blue info1: "visited: 41 +edge: {sourcename: "n150" targetname: "n152" label: "0" color: red} +node: {title: "n152" label: "Start PRIMA_c 152" color: blue info1: "visited: 41 irg: PRIMA_c +arity: 0 start of method of type c param 0 type: class_prima_ptr param 1 type: int @@ -279,9 +323,9 @@ start of method of type c } -node: {title: "e15" label: "ent a" color: yellow +node: {title: "e14" label: "ent a" color: yellow info1: " -id: e15 +id: e14 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized @@ -291,17 +335,17 @@ name: a ld_name: no yet set offset: -1" } -edge: { sourcename: "e15" targetname: "t12"class: 3 label: "type" color: red} -node: {title: "t13" label: "class PRIMA" info1: "state: layout_undefined +edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red} +node: {title: "t12" label: "class PRIMA" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "t13" targetname: "e15"class: 12 label: "member" color:blue} -edge: { sourcename: "t13" targetname: "e18"class: 12 label: "member" color:blue} -edge: { sourcename: "t13" targetname: "e21"class: 12 label: "member" color:blue} -node: {title: "e18" label: "ent PRIMA_set_a" color: yellow +edge: { sourcename: "t12" targetname: "e14"class: 12 label: "member" color:blue} +edge: { sourcename: "t12" targetname: "e17"class: 12 label: "member" color:blue} +edge: { sourcename: "t12" targetname: "e20"class: 12 label: "member" color:blue} +node: {title: "e17" label: "ent PRIMA_set_a" color: yellow info1: " -id: e18 +id: e17 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -310,31 +354,32 @@ peculiarity: peculiarity_existent name: PRIMA_set_a ld_name: PRIMA_set_a offset: -1 -irg = g71" +irg = g68" } -edge: { sourcename: "e18" targetname: "t16"class: 3 label: "type" color: red} -edge: { sourcename: "e18" targetname: "n17"label: "value 0"} -node: {title: "n17" label: "&(PRIMA_set_a)P 17" color: yellow info1: "visited: 44 +edge: { sourcename: "e17" targetname: "t15"class: 3 label: "type" color: red} +edge: { sourcename: "e17" targetname: "n16"label: "value 0"} +node: {title: "n16" label: "&(PRIMA_set_a)P 16" color: yellow info1: "visited: 44 +arity: 0 Const of type type_unknown "} -node: {title: "t16" label: "method set_a" info1: "state: layout_fixed, +node: {title: "t15" label: "method set_a" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t16" targetname: "t14"class: 5 label: "param 0" color: green} -edge: { sourcename: "t16" targetname: "t12"class: 5 label: "param 1" color: green} -node: {title: "t14" label: "pointer class_prima_ptr" info1: "state: layout_fixed, +edge: { sourcename: "t15" targetname: "t13"class: 5 label: "param 0" color: green} +edge: { sourcename: "t15" targetname: "t11"class: 5 label: "param 1" color: green} +node: {title: "t13" label: "pointer class_prima_ptr" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t14" targetname: "t13"class: 9 label: "points to" color:green} -node: {title: "t12" label: "primitive int" info1: "state: layout_fixed, +edge: { sourcename: "t13" targetname: "t12"class: 9 label: "points to" color:green} +node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, mode: Is, size: 4B, "} -node: {title: "e21" label: "ent PRIMA_c" color: yellow +node: {title: "e20" label: "ent PRIMA_c" color: yellow info1: " -id: e21 +id: e20 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -343,23 +388,24 @@ peculiarity: peculiarity_existent name: PRIMA_c ld_name: PRIMA_c offset: -1 -irg = g94" +irg = g90" } -edge: { sourcename: "e21" targetname: "t19"class: 3 label: "type" color: red} -edge: { sourcename: "e21" targetname: "n20"label: "value 0"} -node: {title: "n20" label: "&(PRIMA_c)P 20" color: yellow info1: "visited: 45 +edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red} +edge: { sourcename: "e20" targetname: "n19"label: "value 0"} +node: {title: "n19" label: "&(PRIMA_c)P 19" color: yellow info1: "visited: 45 +arity: 0 Const of type type_unknown "} -node: {title: "t19" label: "method c" info1: "state: layout_fixed, +node: {title: "t18" label: "method c" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t19" targetname: "t14"class: 5 label: "param 0" color: green} -edge: { sourcename: "t19" targetname: "t12"class: 5 label: "param 1" color: green} -edge: { sourcename: "t19" targetname: "t12"class: 6 label: "res 0" color: green} -node: {title: "e24" label: "ent GlobalType_OO_PROGRAM_EXAMPLE_main" color: yellow +edge: { sourcename: "t18" targetname: "t13"class: 5 label: "param 0" color: green} +edge: { sourcename: "t18" targetname: "t11"class: 5 label: "param 1" color: green} +edge: { sourcename: "t18" targetname: "t11"class: 6 label: "res 0" color: green} +node: {title: "e23" label: "ent GlobalType_OO_PROGRAM_EXAMPLE_main" color: yellow info1: " -id: e24 +id: e23 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -368,29 +414,30 @@ peculiarity: peculiarity_existent name: GlobalType_OO_PROGRAM_EXAMPLE_main ld_name: GlobalType_OO_PROGRAM_EXAMPLE_main offset: -1 -irg = g37" +irg = g35" } -edge: { sourcename: "e24" targetname: "t22"class: 3 label: "type" color: red} -edge: { sourcename: "e24" targetname: "n23"label: "value 0"} -node: {title: "n23" label: "&(GlobalType_OO_PROGRAM_EXAMPLE_main)P 23" color: yellow info1: "visited: 46 +edge: { sourcename: "e23" targetname: "t21"class: 3 label: "type" color: red} +edge: { sourcename: "e23" targetname: "n22"label: "value 0"} +node: {title: "n22" label: "&(GlobalType_OO_PROGRAM_EXAMPLE_main)P 22" color: yellow info1: "visited: 46 +arity: 0 Const of type type_unknown "} node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "t0" targetname: "e24"class: 12 label: "member" color:blue} -node: {title: "t22" label: "method OO_PROGRAM_EXAMPLE_main" info1: "state: layout_fixed, +edge: { sourcename: "t0" targetname: "e23"class: 12 label: "member" color:blue} +node: {title: "t21" label: "method OO_PROGRAM_EXAMPLE_main" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t22" targetname: "t12"class: 6 label: "res 0" color: green} -node: {title: "t25" label: "class OO_PROGRAM_EXAMPLE_mainframe_tp" info1: "state: layout_undefined +edge: { sourcename: "t21" targetname: "t11"class: 6 label: "res 0" color: green} +node: {title: "t24" label: "class OO_PROGRAM_EXAMPLE_mainframe_tp" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "n162" targetname: "e15"class: 2 priority: 2 linestyle: dotted} -edge: { sourcename: "n119" targetname: "t13"class: 2 priority: 2 linestyle: dotted} -edge: { sourcename: "n120" targetname: "t13"class: 2 priority: 2 linestyle: dotted} -edge: { sourcename: "n145" targetname: "e15"class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n156" targetname: "e14"class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n115" targetname: "t12"class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n116" targetname: "t12"class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n140" targetname: "e14"class: 2 priority: 2 linestyle: dotted} } diff --git a/testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-wtypes.vcg b/testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-wtypes.vcg index 2fd56d475..80d7ffa30 100644 --- a/testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-wtypes.vcg +++ b/testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-wtypes.vcg @@ -17,141 +17,160 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -graph: { title: "g37" label: "GlobalType_OO_PROGRAM_EXAMPLE_main" status:clustered color:white -graph: { title: "n108" label: "Block 108" status:clustered color:yellow -edge: {sourcename: "n108" targetname: "n109" label: "0" color: red} -node: {title: "n107" label: "End 107" color: blue info1: "visited: 20 +graph: { title: "g35" label: "GlobalType_OO_PROGRAM_EXAMPLE_main" status:clustered color:white +graph: { title: "n104" label: "Block 104" status:clustered color:yellow +edge: {sourcename: "n104" targetname: "n105" label: "0" color: red} +node: {title: "n103" label: "End 103" color: blue info1: "visited: 20 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 "} } -graph: { title: "n110" label: "Block 110" status:clustered color:yellow -edge: {sourcename: "n110" targetname: "n111" label: "0" color: red} -node: {title: "n109" label: "Return 109" info1: "visited: 20 +graph: { title: "n106" label: "Block 106" status:clustered color:yellow +edge: {sourcename: "n106" targetname: "n107" label: "0" color: red} +node: {title: "n105" label: "Return 105" info1: "visited: 20 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 2 return in method of type OO_PROGRAM_EXAMPLE_main res 0 type: int "} -edge: {sourcename: "n109" targetname: "n128" label: "0" color: blue} -edge: {sourcename: "n109" targetname: "n114" label: "1" } -node: {title: "n128" label: "ProjM 0 128" color: yellow info1: "visited: 20 +edge: {sourcename: "n105" targetname: "n124" label: "0" color: blue} +edge: {sourcename: "n105" targetname: "n110" label: "1" } +node: {title: "n124" label: "ProjM 0 124" color: yellow info1: "visited: 20 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n128" targetname: "n116" label: "0" color: blue} -node: {title: "n114" label: "ProjIs 0 114" color: yellow info1: "visited: 20 +edge: {sourcename: "n124" targetname: "n112" label: "0" color: blue} +node: {title: "n110" label: "ProjIs 0 110" color: yellow info1: "visited: 20 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n114" targetname: "n115" label: "0" } -node: {title: "n115" label: "ProjT 2 115" color: yellow info1: "visited: 20 +edge: {sourcename: "n110" targetname: "n111" label: "0" } +node: {title: "n111" label: "ProjT 2 111" color: yellow info1: "visited: 20 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n115" targetname: "n116" label: "0" } -node: {title: "n116" label: "Call 116" info1: "visited: 20 +edge: {sourcename: "n111" targetname: "n112" label: "0" } +node: {title: "n112" label: "Call 112" info1: "visited: 20 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 4 calling method of type c param 0 type: class_prima_ptr param 1 type: int resul 0 type: int "} -node: {title: "n116n117" label: "0x5Is 117" color: yellow info1: "visited: 20 +node: {title: "n112n113" label: "0x5Is 113" color: yellow info1: "visited: 20 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 Const of type type_unknown "} -edge: {sourcename: "n116" targetname: "n123" label: "0" color: blue} -edge: {sourcename: "n116" targetname: "n122" label: "1" } -edge: {sourcename: "n116" targetname: "n118" label: "2" } -edge: {sourcename: "n116" targetname: "n116n117" label: "3" } -node: {title: "n122" label: "Sel PRIMA_c 122" info1: "visited: 20 +edge: {sourcename: "n112" targetname: "n119" label: "0" color: blue} +edge: {sourcename: "n112" targetname: "n118" label: "1" } +edge: {sourcename: "n112" targetname: "n114" label: "2" } +edge: {sourcename: "n112" targetname: "n112n113" label: "3" } +node: {title: "n118" label: "Sel PRIMA_c 118" info1: "visited: 20 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 2 Selecting entity of type c from entity of type PRIMA "} -edge: {sourcename: "n122" targetname: "n123" label: "0" color: blue} -edge: {sourcename: "n122" targetname: "n118" label: "1" } -node: {title: "n123" label: "ProjM 0 123" color: yellow info1: "visited: 20 +edge: {sourcename: "n118" targetname: "n119" label: "0" color: blue} +edge: {sourcename: "n118" targetname: "n114" label: "1" } +node: {title: "n119" label: "ProjM 0 119" color: yellow info1: "visited: 20 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n123" targetname: "n124" label: "0" color: blue} -node: {title: "n124" label: "Call 124" info1: "visited: 20 +edge: {sourcename: "n119" targetname: "n120" label: "0" color: blue} +node: {title: "n120" label: "Call 120" info1: "visited: 20 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 4 calling method of type set_a param 0 type: class_prima_ptr param 1 type: int "} -node: {title: "n124n125" label: "0x2Is 125" color: yellow info1: "visited: 20 +node: {title: "n120n121" label: "0x2Is 121" color: yellow info1: "visited: 20 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 Const of type type_unknown "} -edge: {sourcename: "n124" targetname: "n127" label: "0" color: blue} -edge: {sourcename: "n124" targetname: "n126" label: "1" } -edge: {sourcename: "n124" targetname: "n118" label: "2" } -edge: {sourcename: "n124" targetname: "n124n125" label: "3" } -node: {title: "n126" label: "Sel PRIMA_set_a 126" info1: "visited: 20 +edge: {sourcename: "n120" targetname: "n123" label: "0" color: blue} +edge: {sourcename: "n120" targetname: "n122" label: "1" } +edge: {sourcename: "n120" targetname: "n114" label: "2" } +edge: {sourcename: "n120" targetname: "n120n121" label: "3" } +node: {title: "n122" label: "Sel PRIMA_set_a 122" info1: "visited: 20 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 2 Selecting entity of type set_a from entity of type PRIMA "} -edge: {sourcename: "n126" targetname: "n127" label: "0" color: blue} -edge: {sourcename: "n126" targetname: "n118" label: "1" } -node: {title: "n127" label: "ProjM 0 127" color: yellow info1: "visited: 20 +edge: {sourcename: "n122" targetname: "n123" label: "0" color: blue} +edge: {sourcename: "n122" targetname: "n114" label: "1" } +node: {title: "n123" label: "ProjM 0 123" color: yellow info1: "visited: 20 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n127" targetname: "n119" label: "0" color: blue} -node: {title: "n118" label: "ProjP 2 118" color: yellow info1: "visited: 20 +edge: {sourcename: "n123" targetname: "n115" label: "0" color: blue} +node: {title: "n114" label: "ProjP 2 114" color: yellow info1: "visited: 20 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n118" targetname: "n119" label: "0" } -node: {title: "n119" label: "Alloc 119" info1: "visited: 20 +edge: {sourcename: "n114" targetname: "n115" label: "0" } +node: {title: "n115" label: "Alloc 115" info1: "visited: 20 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 2 allocating entity of type PRIMA "} -node: {title: "n119n120" label: "SymC PRIMA size 120" info1: "visited: 20 +node: {title: "n115n116" label: "SymC PRIMA size 116" info1: "visited: 20 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 "} -edge: {sourcename: "n119" targetname: "n121" label: "0" color: blue} -edge: {sourcename: "n119" targetname: "n119n120" label: "1" } +edge: {sourcename: "n115" targetname: "n117" label: "0" color: blue} +edge: {sourcename: "n115" targetname: "n115n116" label: "1" } } -graph: { title: "n112" label: "Block 112" status:clustered color:yellow -edge: {sourcename: "n112" targetname: "n111" label: "0" color: red} -node: {title: "n121" label: "ProjM 1 121" color: yellow info1: "visited: 20 +graph: { title: "n108" label: "Block 108" status:clustered color:yellow +edge: {sourcename: "n108" targetname: "n107" label: "0" color: red} +node: {title: "n117" label: "ProjM 1 117" color: yellow info1: "visited: 20 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n121" targetname: "n113" label: "0" color: blue} -node: {title: "n111" label: "ProjX 0 111" color: yellow info1: "visited: 20 +edge: {sourcename: "n117" targetname: "n109" label: "0" color: blue} +node: {title: "n107" label: "ProjX 0 107" color: yellow info1: "visited: 20 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n111" targetname: "n113" label: "0" color: red} -node: {title: "n113" label: "Start 113" color: blue info1: "visited: 20 +edge: {sourcename: "n107" targetname: "n109" label: "0" color: red} +node: {title: "n109" label: "Start 109" color: blue info1: "visited: 20 irg: GlobalType_OO_PROGRAM_EXAMPLE_main +arity: 0 start of method of type OO_PROGRAM_EXAMPLE_main "} } } -node: {title: "t19" label: "method c" info1: "state: layout_fixed, +node: {title: "t18" label: "method c" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t19" targetname: "t14"class: 5 label: "param 0" color: green} -edge: { sourcename: "t19" targetname: "t12"class: 5 label: "param 1" color: green} -edge: { sourcename: "t19" targetname: "t12"class: 6 label: "res 0" color: green} -node: {title: "t14" label: "pointer class_prima_ptr" info1: "state: layout_fixed, +edge: { sourcename: "t18" targetname: "t13"class: 5 label: "param 0" color: green} +edge: { sourcename: "t18" targetname: "t11"class: 5 label: "param 1" color: green} +edge: { sourcename: "t18" targetname: "t11"class: 6 label: "res 0" color: green} +node: {title: "t13" label: "pointer class_prima_ptr" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t14" targetname: "t13"class: 9 label: "points to" color:green} -node: {title: "t13" label: "class PRIMA" info1: "state: layout_undefined +edge: { sourcename: "t13" targetname: "t12"class: 9 label: "points to" color:green} +node: {title: "t12" label: "class PRIMA" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "t13" targetname: "e15"class: 12 label: "member" color:blue} -edge: { sourcename: "t13" targetname: "e18"class: 12 label: "member" color:blue} -edge: { sourcename: "t13" targetname: "e21"class: 12 label: "member" color:blue} -node: {title: "e15" label: "ent a" color: yellow +edge: { sourcename: "t12" targetname: "e14"class: 12 label: "member" color:blue} +edge: { sourcename: "t12" targetname: "e17"class: 12 label: "member" color:blue} +edge: { sourcename: "t12" targetname: "e20"class: 12 label: "member" color:blue} +node: {title: "e14" label: "ent a" color: yellow info1: " -id: e15 +id: e14 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized @@ -161,14 +180,14 @@ name: a ld_name: no yet set offset: -1" } -edge: { sourcename: "e15" targetname: "t12"class: 3 label: "type" color: red} -node: {title: "t12" label: "primitive int" info1: "state: layout_fixed, +edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red} +node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, mode: Is, size: 4B, "} -node: {title: "e18" label: "ent PRIMA_set_a" color: yellow +node: {title: "e17" label: "ent PRIMA_set_a" color: yellow info1: " -id: e18 +id: e17 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -177,22 +196,23 @@ peculiarity: peculiarity_existent name: PRIMA_set_a ld_name: PRIMA_set_a offset: -1 -irg = g71" +irg = g68" } -edge: { sourcename: "e18" targetname: "t16"class: 3 label: "type" color: red} -edge: { sourcename: "e18" targetname: "n17"label: "value 0"} -node: {title: "n17" label: "&(PRIMA_set_a)P 17" color: yellow info1: "visited: 4 +edge: { sourcename: "e17" targetname: "t15"class: 3 label: "type" color: red} +edge: { sourcename: "e17" targetname: "n16"label: "value 0"} +node: {title: "n16" label: "&(PRIMA_set_a)P 16" color: yellow info1: "visited: 4 +arity: 0 Const of type type_unknown "} -node: {title: "t16" label: "method set_a" info1: "state: layout_fixed, +node: {title: "t15" label: "method set_a" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t16" targetname: "t14"class: 5 label: "param 0" color: green} -edge: { sourcename: "t16" targetname: "t12"class: 5 label: "param 1" color: green} -node: {title: "e21" label: "ent PRIMA_c" color: yellow +edge: { sourcename: "t15" targetname: "t13"class: 5 label: "param 0" color: green} +edge: { sourcename: "t15" targetname: "t11"class: 5 label: "param 1" color: green} +node: {title: "e20" label: "ent PRIMA_c" color: yellow info1: " -id: e21 +id: e20 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -201,16 +221,17 @@ peculiarity: peculiarity_existent name: PRIMA_c ld_name: PRIMA_c offset: -1 -irg = g94" +irg = g90" } -edge: { sourcename: "e21" targetname: "t19"class: 3 label: "type" color: red} -edge: { sourcename: "e21" targetname: "n20"label: "value 0"} -node: {title: "n20" label: "&(PRIMA_c)P 20" color: yellow info1: "visited: 4 +edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red} +edge: { sourcename: "e20" targetname: "n19"label: "value 0"} +node: {title: "n19" label: "&(PRIMA_c)P 19" color: yellow info1: "visited: 4 +arity: 0 Const of type type_unknown "} -node: {title: "e24" label: "ent GlobalType_OO_PROGRAM_EXAMPLE_main" color: yellow +node: {title: "e23" label: "ent GlobalType_OO_PROGRAM_EXAMPLE_main" color: yellow info1: " -id: e24 +id: e23 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -219,31 +240,32 @@ peculiarity: peculiarity_existent name: GlobalType_OO_PROGRAM_EXAMPLE_main ld_name: GlobalType_OO_PROGRAM_EXAMPLE_main offset: -1 -irg = g37" +irg = g35" } -edge: { sourcename: "e24" targetname: "t22"class: 3 label: "type" color: red} -edge: { sourcename: "e24" targetname: "n23"label: "value 0"} -node: {title: "n23" label: "&(GlobalType_OO_PROGRAM_EXAMPLE_main)P 23" color: yellow info1: "visited: 4 +edge: { sourcename: "e23" targetname: "t21"class: 3 label: "type" color: red} +edge: { sourcename: "e23" targetname: "n22"label: "value 0"} +node: {title: "n22" label: "&(GlobalType_OO_PROGRAM_EXAMPLE_main)P 22" color: yellow info1: "visited: 4 +arity: 0 Const of type type_unknown "} node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "t0" targetname: "e24"class: 12 label: "member" color:blue} -node: {title: "t22" label: "method OO_PROGRAM_EXAMPLE_main" info1: "state: layout_fixed, +edge: { sourcename: "t0" targetname: "e23"class: 12 label: "member" color:blue} +node: {title: "t21" label: "method OO_PROGRAM_EXAMPLE_main" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t22" targetname: "t12"class: 6 label: "res 0" color: green} -node: {title: "t25" label: "class OO_PROGRAM_EXAMPLE_mainframe_tp" info1: "state: layout_undefined +edge: { sourcename: "t21" targetname: "t11"class: 6 label: "res 0" color: green} +node: {title: "t24" label: "class OO_PROGRAM_EXAMPLE_mainframe_tp" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "n116" targetname: "t19"class: 2 priority: 2 linestyle: dotted} -edge: { sourcename: "n119" targetname: "t13"class: 2 priority: 2 linestyle: dotted} -edge: { sourcename: "n120" targetname: "t13"class: 2 priority: 2 linestyle: dotted} -edge: { sourcename: "n122" targetname: "e21"class: 2 priority: 2 linestyle: dotted} -edge: { sourcename: "n124" targetname: "t16"class: 2 priority: 2 linestyle: dotted} -edge: { sourcename: "n126" targetname: "e18"class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n112" targetname: "t18"class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n115" targetname: "t12"class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n116" targetname: "t12"class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n118" targetname: "e20"class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n120" targetname: "t15"class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n122" targetname: "e17"class: 2 priority: 2 linestyle: dotted} } diff --git a/testprograms/ref-results/IF_ELSE_EXAMPLE_main.vcg b/testprograms/ref-results/IF_ELSE_EXAMPLE_main.vcg index 9d6d4771c..93e058cb7 100644 --- a/testprograms/ref-results/IF_ELSE_EXAMPLE_main.vcg +++ b/testprograms/ref-results/IF_ELSE_EXAMPLE_main.vcg @@ -17,47 +17,54 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -graph: { title: "g28" label: "IF_ELSE_EXAMPLE_main" status:clustered color:white -graph: { title: "n62" label: "Block 62" status:clustered color:yellow -edge: {sourcename: "n62" targetname: "n63" label: "0" color: red} -node: {title: "n61" label: "End 61" color: blue info1: "visited: 13 +graph: { title: "g26" label: "IF_ELSE_EXAMPLE_main" status:clustered color:white +graph: { title: "n60" label: "Block 60" status:clustered color:yellow +edge: {sourcename: "n60" targetname: "n61" label: "0" color: red} +node: {title: "n59" label: "End 59" color: blue info1: "visited: 13 irg: IF_ELSE_EXAMPLE_main +arity: 0 "} } -graph: { title: "n66" label: "Block 66" status:clustered color:yellow -edge: {sourcename: "n66" targetname: "n67" label: "0" color: red} -node: {title: "n63" label: "Return 63" info1: "visited: 13 +graph: { title: "n64" label: "Block 64" status:clustered color:yellow +edge: {sourcename: "n64" targetname: "n65" label: "0" color: red} +node: {title: "n61" label: "Return 61" info1: "visited: 13 irg: IF_ELSE_EXAMPLE_main +arity: 3 return in method of type IF_ELSE_EXAMPLE_main res 0 type: int res 1 type: int "} -edge: {sourcename: "n63" targetname: "n73" label: "0" color: blue} -edge: {sourcename: "n63" targetname: "n72" label: "1" } -edge: {sourcename: "n63" targetname: "n71" label: "2" } +edge: {sourcename: "n61" targetname: "n71" label: "0" color: blue} +edge: {sourcename: "n61" targetname: "n70" label: "1" } +edge: {sourcename: "n61" targetname: "n69" label: "2" } } -graph: { title: "n68" label: "Block 68" status:clustered color:yellow -edge: {sourcename: "n68" targetname: "n67" label: "0" color: red} -node: {title: "n73" label: "ProjM 1 73" color: yellow info1: "visited: 13 +graph: { title: "n66" label: "Block 66" status:clustered color:yellow +edge: {sourcename: "n66" targetname: "n65" label: "0" color: red} +node: {title: "n71" label: "ProjM 1 71" color: yellow info1: "visited: 13 irg: IF_ELSE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n73" targetname: "n69" label: "0" color: blue} -node: {title: "n72" label: "0x0Is 72" color: yellow info1: "visited: 13 +edge: {sourcename: "n71" targetname: "n67" label: "0" color: blue} +node: {title: "n70" label: "0x0Is 70" color: yellow info1: "visited: 13 irg: IF_ELSE_EXAMPLE_main +arity: 0 Const of type type_unknown "} -node: {title: "n71" label: "0x2Is 71" color: yellow info1: "visited: 13 +node: {title: "n69" label: "0x2Is 69" color: yellow info1: "visited: 13 irg: IF_ELSE_EXAMPLE_main +arity: 0 Const of type type_unknown "} -node: {title: "n67" label: "ProjX 0 67" color: yellow info1: "visited: 13 +node: {title: "n65" label: "ProjX 0 65" color: yellow info1: "visited: 13 irg: IF_ELSE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n67" targetname: "n69" label: "0" color: red} -node: {title: "n69" label: "Start 69" color: blue info1: "visited: 13 +edge: {sourcename: "n65" targetname: "n67" label: "0" color: red} +node: {title: "n67" label: "Start 67" color: blue info1: "visited: 13 irg: IF_ELSE_EXAMPLE_main +arity: 0 start of method of type IF_ELSE_EXAMPLE_main "} } diff --git a/testprograms/ref-results/IF_EXAMPLE_main.vcg b/testprograms/ref-results/IF_EXAMPLE_main.vcg index 1344503f7..34f2e6239 100644 --- a/testprograms/ref-results/IF_EXAMPLE_main.vcg +++ b/testprograms/ref-results/IF_EXAMPLE_main.vcg @@ -17,96 +17,113 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -graph: { title: "g28" label: "IF_EXAMPLE_main" status:clustered color:white -graph: { title: "n17" label: "Block 17" status:clustered color:yellow -edge: {sourcename: "n17" targetname: "n52" label: "0" color: red} -node: {title: "n18" label: "End 18" color: blue info1: "visited: 8 +graph: { title: "g26" label: "IF_EXAMPLE_main" status:clustered color:white +graph: { title: "n16" label: "Block 16" status:clustered color:yellow +edge: {sourcename: "n16" targetname: "n50" label: "0" color: red} +node: {title: "n17" label: "End 17" color: blue info1: "visited: 8 irg: IF_EXAMPLE_main +arity: 0 "} } -graph: { title: "n43" label: "Block 43" status:clustered color:yellow -edge: {sourcename: "n43" targetname: "n35" label: "0" color: red} -edge: {sourcename: "n43" targetname: "n42" label: "1" color: red} -node: {title: "n52" label: "Return 52" info1: "visited: 8 +graph: { title: "n41" label: "Block 41" status:clustered color:yellow +edge: {sourcename: "n41" targetname: "n33" label: "0" color: red} +edge: {sourcename: "n41" targetname: "n40" label: "1" color: red} +node: {title: "n50" label: "Return 50" info1: "visited: 8 irg: IF_EXAMPLE_main +arity: 2 return in method of type IF_EXAMPLE_main res 0 type: int "} -edge: {sourcename: "n52" targetname: "n24" label: "0" color: blue} -edge: {sourcename: "n52" targetname: "n45" label: "1" } -node: {title: "n45" label: "PhiIs 45" color: green info1: "visited: 8 +edge: {sourcename: "n50" targetname: "n22" label: "0" color: blue} +edge: {sourcename: "n50" targetname: "n43" label: "1" } +node: {title: "n43" label: "PhiIs 43" color: green info1: "visited: 8 irg: IF_EXAMPLE_main +arity: 2 backedges: "} -edge: {sourcename: "n45" targetname: "n30" label: "0" } -edge: {sourcename: "n45" targetname: "n40" label: "1" } +edge: {sourcename: "n43" targetname: "n28" label: "0" } +edge: {sourcename: "n43" targetname: "n38" label: "1" } } -graph: { title: "n37" label: "Block 37" status:clustered color:yellow -edge: {sourcename: "n37" targetname: "n36" label: "0" color: red} -node: {title: "n40" label: "SubIs 40" info1: "visited: 8 +graph: { title: "n35" label: "Block 35" status:clustered color:yellow +edge: {sourcename: "n35" targetname: "n34" label: "0" color: red} +node: {title: "n38" label: "SubIs 38" info1: "visited: 8 irg: IF_EXAMPLE_main +arity: 2 "} -edge: {sourcename: "n40" targetname: "n30" label: "0" } -edge: {sourcename: "n40" targetname: "n38" label: "1" } -node: {title: "n42" label: "Jmp 42" info1: "visited: 8 +edge: {sourcename: "n38" targetname: "n28" label: "0" } +edge: {sourcename: "n38" targetname: "n36" label: "1" } +node: {title: "n40" label: "Jmp 40" info1: "visited: 8 irg: IF_EXAMPLE_main +arity: 0 "} } -graph: { title: "n29" label: "Block 29" status:clustered color:yellow -edge: {sourcename: "n29" targetname: "n23" label: "0" color: red} -node: {title: "n35" label: "ProjX 0 35" color: yellow info1: "visited: 8 +graph: { title: "n27" label: "Block 27" status:clustered color:yellow +edge: {sourcename: "n27" targetname: "n21" label: "0" color: red} +node: {title: "n33" label: "ProjX 0 33" color: yellow info1: "visited: 8 irg: IF_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n35" targetname: "n34" label: "0" color: red} -node: {title: "n36" label: "ProjX 1 36" color: yellow info1: "visited: 8 +edge: {sourcename: "n33" targetname: "n32" label: "0" color: red} +node: {title: "n34" label: "ProjX 1 34" color: yellow info1: "visited: 8 irg: IF_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n36" targetname: "n34" label: "0" color: red} -node: {title: "n34" label: "Cond 34" info1: "visited: 8 +edge: {sourcename: "n34" targetname: "n32" label: "0" color: red} +node: {title: "n32" label: "Cond 32" info1: "visited: 8 irg: IF_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n34" targetname: "n33" label: "0" } -node: {title: "n33" label: "Projb Eq 33" color: yellow info1: "visited: 8 +edge: {sourcename: "n32" targetname: "n31" label: "0" } +node: {title: "n31" label: "Projb Eq 31" color: yellow info1: "visited: 8 irg: IF_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n33" targetname: "n32" label: "0" } -node: {title: "n32" label: "CmpT 32" info1: "visited: 8 +edge: {sourcename: "n31" targetname: "n30" label: "0" } +node: {title: "n30" label: "CmpT 30" info1: "visited: 8 irg: IF_EXAMPLE_main +arity: 2 "} -edge: {sourcename: "n32" targetname: "n30" label: "0" } -edge: {sourcename: "n32" targetname: "n31" label: "1" } -node: {title: "n30" label: "ProjIs 0 30" color: yellow info1: "visited: 8 +edge: {sourcename: "n30" targetname: "n28" label: "0" } +edge: {sourcename: "n30" targetname: "n29" label: "1" } +node: {title: "n28" label: "ProjIs 0 28" color: yellow info1: "visited: 8 irg: IF_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n30" targetname: "n27" label: "0" } +edge: {sourcename: "n28" targetname: "n25" label: "0" } } -graph: { title: "n19" label: "Block 19" status:clustered color:yellow -edge: {sourcename: "n19" targetname: "n23" label: "0" color: red} -node: {title: "n24" label: "ProjM 1 24" color: yellow info1: "visited: 8 +graph: { title: "n18" label: "Block 18" status:clustered color:yellow +edge: {sourcename: "n18" targetname: "n21" label: "0" color: red} +node: {title: "n22" label: "ProjM 1 22" color: yellow info1: "visited: 8 irg: IF_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n24" targetname: "n20" label: "0" color: blue} -node: {title: "n38" label: "0x3Is 38" color: yellow info1: "visited: 8 +edge: {sourcename: "n22" targetname: "n19" label: "0" color: blue} +node: {title: "n36" label: "0x3Is 36" color: yellow info1: "visited: 8 irg: IF_EXAMPLE_main +arity: 0 Const of type type_unknown "} -node: {title: "n27" label: "ProjT 4 27" color: yellow info1: "visited: 8 +node: {title: "n25" label: "ProjT 4 25" color: yellow info1: "visited: 8 irg: IF_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n27" targetname: "n20" label: "0" } -node: {title: "n31" label: "0x2Is 31" color: yellow info1: "visited: 8 +edge: {sourcename: "n25" targetname: "n19" label: "0" } +node: {title: "n29" label: "0x2Is 29" color: yellow info1: "visited: 8 irg: IF_EXAMPLE_main +arity: 0 Const of type type_unknown "} -node: {title: "n23" label: "ProjX 0 23" color: yellow info1: "visited: 8 +node: {title: "n21" label: "ProjX 0 21" color: yellow info1: "visited: 8 irg: IF_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n23" targetname: "n20" label: "0" color: red} -node: {title: "n20" label: "Start 20" color: blue info1: "visited: 8 +edge: {sourcename: "n21" targetname: "n19" label: "0" color: red} +node: {title: "n19" label: "Start 19" color: blue info1: "visited: 8 irg: IF_EXAMPLE_main +arity: 0 start of method of type IF_EXAMPLE_main param 0 type: int "} diff --git a/testprograms/ref-results/IF_WHILE_EXAMPLE_main-pure.vcg b/testprograms/ref-results/IF_WHILE_EXAMPLE_main-pure.vcg index 200c71ba1..8c8ec27ec 100644 --- a/testprograms/ref-results/IF_WHILE_EXAMPLE_main-pure.vcg +++ b/testprograms/ref-results/IF_WHILE_EXAMPLE_main-pure.vcg @@ -17,164 +17,188 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -node: {title: "n90" label: "Start 90" color: blue info1: "visited: 14 +node: {title: "n88" label: "Start 88" color: blue info1: "visited: 14 irg: IF_WHILE_EXAMPLE_main +arity: 0 start of method of type main "} -edge: { sourcename: "n90" targetname: "n88" class: 2 priority: 2 linestyle: dotted} -node: {title: "n89" label: "ProjX 0 89" color: yellow info1: "visited: 14 +edge: { sourcename: "n88" targetname: "n86" class: 2 priority: 2 linestyle: dotted} +node: {title: "n87" label: "ProjX 0 87" color: yellow info1: "visited: 14 irg: IF_WHILE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n89" targetname: "n90" label: "0" color: red} -edge: { sourcename: "n89" targetname: "n88" class: 2 priority: 2 linestyle: dotted} -node: {title: "n88" label: "Block 88" color: lightyellow info1: "visited: 14 +edge: {sourcename: "n87" targetname: "n88" label: "0" color: red} +edge: { sourcename: "n87" targetname: "n86" class: 2 priority: 2 linestyle: dotted} +node: {title: "n86" label: "Block 86" color: lightyellow info1: "visited: 14 irg: IF_WHILE_EXAMPLE_main +arity: 1 backedges: "} -edge: {sourcename: "n88" targetname: "n89" label: "0" color: red} -node: {title: "n87" label: "0x0Iu 87" color: yellow info1: "visited: 14 +edge: {sourcename: "n86" targetname: "n87" label: "0" color: red} +node: {title: "n85" label: "0x0Iu 85" color: yellow info1: "visited: 14 irg: IF_WHILE_EXAMPLE_main +arity: 0 Const of type type_unknown "} -edge: { sourcename: "n87" targetname: "n88" class: 2 priority: 2 linestyle: dotted} -node: {title: "n86" label: "CmpT 86" info1: "visited: 14 +edge: { sourcename: "n85" targetname: "n86" class: 2 priority: 2 linestyle: dotted} +node: {title: "n84" label: "CmpT 84" info1: "visited: 14 irg: IF_WHILE_EXAMPLE_main +arity: 2 "} -edge: {sourcename: "n86" targetname: "n87" label: "0" } -edge: {sourcename: "n86" targetname: "n87" label: "1" } -edge: { sourcename: "n86" targetname: "n80" class: 2 priority: 2 linestyle: dotted} -node: {title: "n85" label: "Projb Eq 85" color: yellow info1: "visited: 14 +edge: {sourcename: "n84" targetname: "n85" label: "0" } +edge: {sourcename: "n84" targetname: "n85" label: "1" } +edge: { sourcename: "n84" targetname: "n78" class: 2 priority: 2 linestyle: dotted} +node: {title: "n83" label: "Projb Eq 83" color: yellow info1: "visited: 14 irg: IF_WHILE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n85" targetname: "n86" label: "0" } -edge: { sourcename: "n85" targetname: "n80" class: 2 priority: 2 linestyle: dotted} -node: {title: "n84" label: "Cond 84" info1: "visited: 14 +edge: {sourcename: "n83" targetname: "n84" label: "0" } +edge: { sourcename: "n83" targetname: "n78" class: 2 priority: 2 linestyle: dotted} +node: {title: "n82" label: "Cond 82" info1: "visited: 14 irg: IF_WHILE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n84" targetname: "n85" label: "0" } -edge: { sourcename: "n84" targetname: "n80" class: 2 priority: 2 linestyle: dotted} -node: {title: "n83" label: "ProjX 1 83" color: yellow info1: "visited: 14 +edge: {sourcename: "n82" targetname: "n83" label: "0" } +edge: { sourcename: "n82" targetname: "n78" class: 2 priority: 2 linestyle: dotted} +node: {title: "n81" label: "ProjX 1 81" color: yellow info1: "visited: 14 irg: IF_WHILE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n83" targetname: "n84" label: "0" color: red} -edge: { sourcename: "n83" targetname: "n80" class: 2 priority: 2 linestyle: dotted} -node: {title: "n82" label: "Block 82" color: lightyellow info1: "visited: 14 +edge: {sourcename: "n81" targetname: "n82" label: "0" color: red} +edge: { sourcename: "n81" targetname: "n78" class: 2 priority: 2 linestyle: dotted} +node: {title: "n80" label: "Block 80" color: lightyellow info1: "visited: 14 irg: IF_WHILE_EXAMPLE_main +arity: 1 backedges: "} -edge: {sourcename: "n82" targetname: "n83" label: "0" color: red} -node: {title: "n81" label: "Jmp 81" info1: "visited: 14 +edge: {sourcename: "n80" targetname: "n81" label: "0" color: red} +node: {title: "n79" label: "Jmp 79" info1: "visited: 14 irg: IF_WHILE_EXAMPLE_main +arity: 0 "} -edge: { sourcename: "n81" targetname: "n82" class: 2 priority: 2 linestyle: dotted} -node: {title: "n92" label: "Block 92" color: lightyellow info1: "visited: 14 +edge: { sourcename: "n79" targetname: "n80" class: 2 priority: 2 linestyle: dotted} +node: {title: "n90" label: "Block 90" color: lightyellow info1: "visited: 14 irg: IF_WHILE_EXAMPLE_main +arity: 1 backedges: "} -edge: {sourcename: "n92" targetname: "n89" label: "0" color: red} -node: {title: "n91" label: "Jmp 91" info1: "visited: 14 +edge: {sourcename: "n90" targetname: "n87" label: "0" color: red} +node: {title: "n89" label: "Jmp 89" info1: "visited: 14 irg: IF_WHILE_EXAMPLE_main +arity: 0 "} -edge: { sourcename: "n91" targetname: "n92" class: 2 priority: 2 linestyle: dotted} -node: {title: "n80" label: "Block 80" color: lightyellow info1: "visited: 14 +edge: { sourcename: "n89" targetname: "n90" class: 2 priority: 2 linestyle: dotted} +node: {title: "n78" label: "Block 78" color: lightyellow info1: "visited: 14 irg: IF_WHILE_EXAMPLE_main +arity: 2 backedges: "} -edge: {sourcename: "n80" targetname: "n91" label: "0" color: red} -edge: {sourcename: "n80" targetname: "n81" label: "1" color: red} -node: {title: "n79" label: "ProjX 0 79" color: yellow info1: "visited: 14 +edge: {sourcename: "n78" targetname: "n89" label: "0" color: red} +edge: {sourcename: "n78" targetname: "n79" label: "1" color: red} +node: {title: "n77" label: "ProjX 0 77" color: yellow info1: "visited: 14 irg: IF_WHILE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n79" targetname: "n84" label: "0" color: red} -edge: { sourcename: "n79" targetname: "n80" class: 2 priority: 2 linestyle: dotted} -node: {title: "n78" label: "Block 78" color: lightyellow info1: "visited: 14 +edge: {sourcename: "n77" targetname: "n82" label: "0" color: red} +edge: { sourcename: "n77" targetname: "n78" class: 2 priority: 2 linestyle: dotted} +node: {title: "n76" label: "Block 76" color: lightyellow info1: "visited: 14 irg: IF_WHILE_EXAMPLE_main +arity: 1 backedges: "} -edge: {sourcename: "n78" targetname: "n79" label: "0" color: red} -node: {title: "n96" label: "0x0Iu 96" color: yellow info1: "visited: 14 +edge: {sourcename: "n76" targetname: "n77" label: "0" color: red} +node: {title: "n94" label: "0x0Iu 94" color: yellow info1: "visited: 14 irg: IF_WHILE_EXAMPLE_main +arity: 0 Const of type type_unknown "} -edge: { sourcename: "n96" targetname: "n88" class: 2 priority: 2 linestyle: dotted} -node: {title: "n95" label: "PhiIu 95" color: green info1: "visited: 14 +edge: { sourcename: "n94" targetname: "n86" class: 2 priority: 2 linestyle: dotted} +node: {title: "n93" label: "PhiIu 93" color: green info1: "visited: 14 irg: IF_WHILE_EXAMPLE_main +arity: 2 backedges: "} -edge: {sourcename: "n95" targetname: "n96" label: "0" } -edge: {sourcename: "n95" targetname: "n94" label: "1" } -edge: { sourcename: "n95" targetname: "n80" class: 2 priority: 2 linestyle: dotted} -node: {title: "n97" label: "0x1Iu 97" color: yellow info1: "visited: 14 +edge: {sourcename: "n93" targetname: "n94" label: "0" } +edge: {sourcename: "n93" targetname: "n92" label: "1" } +edge: { sourcename: "n93" targetname: "n78" class: 2 priority: 2 linestyle: dotted} +node: {title: "n95" label: "0x1Iu 95" color: yellow info1: "visited: 14 irg: IF_WHILE_EXAMPLE_main +arity: 0 Const of type type_unknown "} -edge: { sourcename: "n97" targetname: "n88" class: 2 priority: 2 linestyle: dotted} -node: {title: "n94" label: "PhiIu 94" color: green info1: "visited: 14 +edge: { sourcename: "n95" targetname: "n86" class: 2 priority: 2 linestyle: dotted} +node: {title: "n92" label: "PhiIu 92" color: green info1: "visited: 14 irg: IF_WHILE_EXAMPLE_main +arity: 2 backedges: "} -edge: {sourcename: "n94" targetname: "n97" label: "0" } -edge: {sourcename: "n94" targetname: "n95" label: "1" } -edge: { sourcename: "n94" targetname: "n80" class: 2 priority: 2 linestyle: dotted} -node: {title: "n93" label: "SubIu 93" info1: "visited: 14 +edge: {sourcename: "n92" targetname: "n95" label: "0" } +edge: {sourcename: "n92" targetname: "n93" label: "1" } +edge: { sourcename: "n92" targetname: "n78" class: 2 priority: 2 linestyle: dotted} +node: {title: "n91" label: "SubIu 91" info1: "visited: 14 irg: IF_WHILE_EXAMPLE_main +arity: 2 "} -edge: {sourcename: "n93" targetname: "n95" label: "0" } -edge: {sourcename: "n93" targetname: "n94" label: "1" } -edge: { sourcename: "n93" targetname: "n78" class: 2 priority: 2 linestyle: dotted} -node: {title: "n98" label: "ProjM 1 98" color: yellow info1: "visited: 14 +edge: {sourcename: "n91" targetname: "n93" label: "0" } +edge: {sourcename: "n91" targetname: "n92" label: "1" } +edge: { sourcename: "n91" targetname: "n76" class: 2 priority: 2 linestyle: dotted} +node: {title: "n96" label: "ProjM 1 96" color: yellow info1: "visited: 14 irg: IF_WHILE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n98" targetname: "n90" label: "0" color: blue} -edge: { sourcename: "n98" targetname: "n88" class: 2 priority: 2 linestyle: dotted} -node: {title: "n77" label: "Return 77" info1: "visited: 14 +edge: {sourcename: "n96" targetname: "n88" label: "0" color: blue} +edge: { sourcename: "n96" targetname: "n86" class: 2 priority: 2 linestyle: dotted} +node: {title: "n75" label: "Return 75" info1: "visited: 14 irg: IF_WHILE_EXAMPLE_main +arity: 2 return in method of type main res 0 type: int "} -edge: {sourcename: "n77" targetname: "n98" label: "0" color: blue} -edge: {sourcename: "n77" targetname: "n93" label: "1" } -edge: { sourcename: "n77" targetname: "n78" class: 2 priority: 2 linestyle: dotted} -node: {title: "n76" label: "Block 76" color: lightyellow info1: "visited: 14 +edge: {sourcename: "n75" targetname: "n96" label: "0" color: blue} +edge: {sourcename: "n75" targetname: "n91" label: "1" } +edge: { sourcename: "n75" targetname: "n76" class: 2 priority: 2 linestyle: dotted} +node: {title: "n74" label: "Block 74" color: lightyellow info1: "visited: 14 irg: IF_WHILE_EXAMPLE_main +arity: 1 backedges: "} -edge: {sourcename: "n76" targetname: "n77" label: "0" color: red} -node: {title: "n75" label: "End 75" color: blue info1: "visited: 14 +edge: {sourcename: "n74" targetname: "n75" label: "0" color: red} +node: {title: "n73" label: "End 73" color: blue info1: "visited: 14 irg: IF_WHILE_EXAMPLE_main +arity: 0 "} -edge: { sourcename: "n75" targetname: "n76" class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n73" targetname: "n74" class: 2 priority: 2 linestyle: dotted} +edge: {sourcename: "n88" targetname: "n87" color: red linestyle: dashed} +edge: {sourcename: "n88" targetname: "n96" color: red linestyle: dashed} +edge: {sourcename: "n87" targetname: "n90" color: red linestyle: dashed} +edge: {sourcename: "n87" targetname: "n86" color: red linestyle: dashed} edge: {sourcename: "n90" targetname: "n89" color: red linestyle: dashed} -edge: {sourcename: "n90" targetname: "n98" color: red linestyle: dashed} -edge: {sourcename: "n89" targetname: "n92" color: red linestyle: dashed} -edge: {sourcename: "n89" targetname: "n88" color: red linestyle: dashed} -edge: {sourcename: "n92" targetname: "n91" color: red linestyle: dashed} -edge: {sourcename: "n91" targetname: "n80" color: red linestyle: dashed} -edge: {sourcename: "n80" targetname: "n83" color: red linestyle: dashed} -edge: {sourcename: "n80" targetname: "n84" color: red linestyle: dashed} -edge: {sourcename: "n80" targetname: "n85" color: red linestyle: dashed} -edge: {sourcename: "n80" targetname: "n86" color: red linestyle: dashed} -edge: {sourcename: "n80" targetname: "n79" color: red linestyle: dashed} -edge: {sourcename: "n80" targetname: "n95" color: red linestyle: dashed} -edge: {sourcename: "n80" targetname: "n94" color: red linestyle: dashed} -edge: {sourcename: "n83" targetname: "n82" color: red linestyle: dashed} -edge: {sourcename: "n82" targetname: "n81" color: red linestyle: dashed} -edge: {sourcename: "n81" targetname: "n80" color: red linestyle: dashed} -edge: {sourcename: "n84" targetname: "n83" color: red linestyle: dashed} -edge: {sourcename: "n84" targetname: "n79" color: red linestyle: dashed} -edge: {sourcename: "n79" targetname: "n78" color: red linestyle: dashed} +edge: {sourcename: "n89" targetname: "n78" color: red linestyle: dashed} +edge: {sourcename: "n78" targetname: "n81" color: red linestyle: dashed} +edge: {sourcename: "n78" targetname: "n82" color: red linestyle: dashed} +edge: {sourcename: "n78" targetname: "n83" color: red linestyle: dashed} +edge: {sourcename: "n78" targetname: "n84" color: red linestyle: dashed} edge: {sourcename: "n78" targetname: "n77" color: red linestyle: dashed} edge: {sourcename: "n78" targetname: "n93" color: red linestyle: dashed} +edge: {sourcename: "n78" targetname: "n92" color: red linestyle: dashed} +edge: {sourcename: "n81" targetname: "n80" color: red linestyle: dashed} +edge: {sourcename: "n80" targetname: "n79" color: red linestyle: dashed} +edge: {sourcename: "n79" targetname: "n78" color: red linestyle: dashed} +edge: {sourcename: "n82" targetname: "n81" color: red linestyle: dashed} +edge: {sourcename: "n82" targetname: "n77" color: red linestyle: dashed} edge: {sourcename: "n77" targetname: "n76" color: red linestyle: dashed} edge: {sourcename: "n76" targetname: "n75" color: red linestyle: dashed} -edge: {sourcename: "n93" targetname: "n77" color: red linestyle: dashed} -edge: {sourcename: "n85" targetname: "n84" color: red linestyle: dashed} +edge: {sourcename: "n76" targetname: "n91" color: red linestyle: dashed} +edge: {sourcename: "n75" targetname: "n74" color: red linestyle: dashed} +edge: {sourcename: "n74" targetname: "n73" color: red linestyle: dashed} +edge: {sourcename: "n91" targetname: "n75" color: red linestyle: dashed} +edge: {sourcename: "n83" targetname: "n82" color: red linestyle: dashed} +edge: {sourcename: "n84" targetname: "n83" color: red linestyle: dashed} +edge: {sourcename: "n93" targetname: "n92" color: red linestyle: dashed} +edge: {sourcename: "n93" targetname: "n91" color: red linestyle: dashed} +edge: {sourcename: "n92" targetname: "n93" color: red linestyle: dashed} +edge: {sourcename: "n92" targetname: "n91" color: red linestyle: dashed} +edge: {sourcename: "n86" targetname: "n87" color: red linestyle: dashed} +edge: {sourcename: "n86" targetname: "n88" color: red linestyle: dashed} edge: {sourcename: "n86" targetname: "n85" color: red linestyle: dashed} -edge: {sourcename: "n95" targetname: "n94" color: red linestyle: dashed} -edge: {sourcename: "n95" targetname: "n93" color: red linestyle: dashed} -edge: {sourcename: "n94" targetname: "n95" color: red linestyle: dashed} +edge: {sourcename: "n86" targetname: "n96" color: red linestyle: dashed} +edge: {sourcename: "n86" targetname: "n94" color: red linestyle: dashed} +edge: {sourcename: "n86" targetname: "n95" color: red linestyle: dashed} +edge: {sourcename: "n85" targetname: "n84" color: red linestyle: dashed} +edge: {sourcename: "n85" targetname: "n84" color: red linestyle: dashed} +edge: {sourcename: "n96" targetname: "n75" color: red linestyle: dashed} edge: {sourcename: "n94" targetname: "n93" color: red linestyle: dashed} -edge: {sourcename: "n88" targetname: "n89" color: red linestyle: dashed} -edge: {sourcename: "n88" targetname: "n90" color: red linestyle: dashed} -edge: {sourcename: "n88" targetname: "n87" color: red linestyle: dashed} -edge: {sourcename: "n88" targetname: "n98" color: red linestyle: dashed} -edge: {sourcename: "n88" targetname: "n96" color: red linestyle: dashed} -edge: {sourcename: "n88" targetname: "n97" color: red linestyle: dashed} -edge: {sourcename: "n87" targetname: "n86" color: red linestyle: dashed} -edge: {sourcename: "n87" targetname: "n86" color: red linestyle: dashed} -edge: {sourcename: "n98" targetname: "n77" color: red linestyle: dashed} -edge: {sourcename: "n96" targetname: "n95" color: red linestyle: dashed} -edge: {sourcename: "n97" targetname: "n94" color: red linestyle: dashed} +edge: {sourcename: "n95" targetname: "n92" color: red linestyle: dashed} } diff --git a/testprograms/ref-results/IRREGULAR_CF_main-cfg.vcg b/testprograms/ref-results/IRREGULAR_CF_main-cfg.vcg index 087c00436..087586e9f 100644 --- a/testprograms/ref-results/IRREGULAR_CF_main-cfg.vcg +++ b/testprograms/ref-results/IRREGULAR_CF_main-cfg.vcg @@ -17,25 +17,26 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" +node: {title: "n63" label: "Block n63" } +edge: { sourcename: "n63" targetname: "n65"} node: {title: "n65" label: "Block n65" } +edge: { sourcename: "n65" targetname: "n88"} edge: { sourcename: "n65" targetname: "n67"} node: {title: "n67" label: "Block n67" } -edge: { sourcename: "n67" targetname: "n90"} +edge: { sourcename: "n67" targetname: "n81"} edge: { sourcename: "n67" targetname: "n69"} node: {title: "n69" label: "Block n69" } -edge: { sourcename: "n69" targetname: "n83"} edge: { sourcename: "n69" targetname: "n71"} node: {title: "n71" label: "Block n71" } edge: { sourcename: "n71" targetname: "n73"} node: {title: "n73" label: "Block n73" } -edge: { sourcename: "n73" targetname: "n75"} -node: {title: "n75" label: "Block n75" } -edge: { sourcename: "n75" targetname: "n75"} -node: {title: "n83" label: "Block n83" } -edge: { sourcename: "n83" targetname: "n73"} -node: {title: "n90" label: "Block n90" } -edge: { sourcename: "n90" targetname: "n83"} -node: {title: "n96" label: "Bad 96" info1: "visited: 0 +edge: { sourcename: "n73" targetname: "n73"} +node: {title: "n81" label: "Block n81" } +edge: { sourcename: "n81" targetname: "n71"} +node: {title: "n88" label: "Block n88" } +edge: { sourcename: "n88" targetname: "n81"} +node: {title: "n94" label: "Bad 94" info1: "visited: 0 irg: IRREGULAR_CF_main +arity: 0 "} } diff --git a/testprograms/ref-results/IRREGULAR_CF_main.vcg b/testprograms/ref-results/IRREGULAR_CF_main.vcg index bf0ea0041..985e01efa 100644 --- a/testprograms/ref-results/IRREGULAR_CF_main.vcg +++ b/testprograms/ref-results/IRREGULAR_CF_main.vcg @@ -17,120 +17,141 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -graph: { title: "g28" label: "IRREGULAR_CF_main" status:clustered color:white -graph: { title: "n65" label: "Block 65" status:clustered color:yellow -edge: {sourcename: "n65" targetname: "n66" label: "0" color: red} -node: {title: "n64" label: "End 64" color: blue info1: "visited: 5 +graph: { title: "g26" label: "IRREGULAR_CF_main" status:clustered color:white +graph: { title: "n63" label: "Block 63" status:clustered color:yellow +edge: {sourcename: "n63" targetname: "n64" label: "0" color: red} +node: {title: "n62" label: "End 62" color: blue info1: "visited: 5 irg: IRREGULAR_CF_main +arity: 0 "} } -graph: { title: "n67" label: "Block 67" status:clustered color:yellow -edge: {sourcename: "n67" targetname: "n89" label: "0" color: red} -edge: {sourcename: "n67" targetname: "n68" label: "1" color: red} -node: {title: "n66" label: "Return 66" info1: "visited: 5 +graph: { title: "n65" label: "Block 65" status:clustered color:yellow +edge: {sourcename: "n65" targetname: "n87" label: "0" color: red} +edge: {sourcename: "n65" targetname: "n66" label: "1" color: red} +node: {title: "n64" label: "Return 64" info1: "visited: 5 irg: IRREGULAR_CF_main +arity: 1 return in method of type main "} -edge: {sourcename: "n66" targetname: "n92" label: "0" color: blue} +edge: {sourcename: "n64" targetname: "n90" label: "0" color: blue} } -graph: { title: "n90" label: "Block 90" status:clustered color:yellow -edge: {sourcename: "n90" targetname: "n91" label: "0" color: red} -node: {title: "n89" label: "Jmp 89" info1: "visited: 5 +graph: { title: "n88" label: "Block 88" status:clustered color:yellow +edge: {sourcename: "n88" targetname: "n89" label: "0" color: red} +node: {title: "n87" label: "Jmp 87" info1: "visited: 5 irg: IRREGULAR_CF_main +arity: 0 "} } -graph: { title: "n69" label: "Block 69" status:clustered color:yellow -edge: {sourcename: "n69" targetname: "n82" label: "0" color: red} -edge: {sourcename: "n69" targetname: "n70" label: "1" color: red} -node: {title: "n68" label: "Jmp 68" info1: "visited: 5 +graph: { title: "n67" label: "Block 67" status:clustered color:yellow +edge: {sourcename: "n67" targetname: "n80" label: "0" color: red} +edge: {sourcename: "n67" targetname: "n68" label: "1" color: red} +node: {title: "n66" label: "Jmp 66" info1: "visited: 5 irg: IRREGULAR_CF_main +arity: 0 "} } -graph: { title: "n83" label: "Block 83" status:clustered color:yellow -edge: {sourcename: "n83" targetname: "n84" label: "0" color: red} -node: {title: "n91" label: "ProjX 0 91" color: yellow info1: "visited: 5 +graph: { title: "n81" label: "Block 81" status:clustered color:yellow +edge: {sourcename: "n81" targetname: "n82" label: "0" color: red} +node: {title: "n89" label: "ProjX 0 89" color: yellow info1: "visited: 5 irg: IRREGULAR_CF_main +arity: 1 "} -edge: {sourcename: "n91" targetname: "n85" label: "0" color: red} -node: {title: "n82" label: "ProjX 1 82" color: yellow info1: "visited: 5 +edge: {sourcename: "n89" targetname: "n83" label: "0" color: red} +node: {title: "n80" label: "ProjX 1 80" color: yellow info1: "visited: 5 irg: IRREGULAR_CF_main +arity: 1 "} -edge: {sourcename: "n82" targetname: "n85" label: "0" color: red} -node: {title: "n85" label: "Cond 85" info1: "visited: 5 +edge: {sourcename: "n80" targetname: "n83" label: "0" color: red} +node: {title: "n83" label: "Cond 83" info1: "visited: 5 irg: IRREGULAR_CF_main +arity: 1 "} -edge: {sourcename: "n85" targetname: "n86" label: "0" } -node: {title: "n86" label: "Projb Eq 86" color: yellow info1: "visited: 5 +edge: {sourcename: "n83" targetname: "n84" label: "0" } +node: {title: "n84" label: "Projb Eq 84" color: yellow info1: "visited: 5 irg: IRREGULAR_CF_main +arity: 1 "} -edge: {sourcename: "n86" targetname: "n87" label: "0" } -node: {title: "n87" label: "CmpT 87" info1: "visited: 5 +edge: {sourcename: "n84" targetname: "n85" label: "0" } +node: {title: "n85" label: "CmpT 85" info1: "visited: 5 irg: IRREGULAR_CF_main +arity: 2 "} -edge: {sourcename: "n87" targetname: "n81" label: "0" } -edge: {sourcename: "n87" targetname: "n88" label: "1" } +edge: {sourcename: "n85" targetname: "n79" label: "0" } +edge: {sourcename: "n85" targetname: "n86" label: "1" } } -graph: { title: "n71" label: "Block 71" status:clustered color:yellow -edge: {sourcename: "n71" targetname: "n72" label: "0" color: red} -node: {title: "n70" label: "Jmp 70" info1: "visited: 5 +graph: { title: "n69" label: "Block 69" status:clustered color:yellow +edge: {sourcename: "n69" targetname: "n70" label: "0" color: red} +node: {title: "n68" label: "Jmp 68" info1: "visited: 5 irg: IRREGULAR_CF_main +arity: 0 "} } -graph: { title: "n73" label: "Block 73" status:clustered color:yellow -edge: {sourcename: "n73" targetname: "n74" label: "0" color: red} -node: {title: "n84" label: "ProjX 0 84" color: yellow info1: "visited: 5 +graph: { title: "n71" label: "Block 71" status:clustered color:yellow +edge: {sourcename: "n71" targetname: "n72" label: "0" color: red} +node: {title: "n82" label: "ProjX 0 82" color: yellow info1: "visited: 5 irg: IRREGULAR_CF_main +arity: 1 "} -edge: {sourcename: "n84" targetname: "n77" label: "0" color: red} -node: {title: "n72" label: "ProjX 1 72" color: yellow info1: "visited: 5 +edge: {sourcename: "n82" targetname: "n75" label: "0" color: red} +node: {title: "n70" label: "ProjX 1 70" color: yellow info1: "visited: 5 irg: IRREGULAR_CF_main +arity: 1 "} -edge: {sourcename: "n72" targetname: "n77" label: "0" color: red} -node: {title: "n77" label: "Cond 77" info1: "visited: 5 +edge: {sourcename: "n70" targetname: "n75" label: "0" color: red} +node: {title: "n75" label: "Cond 75" info1: "visited: 5 irg: IRREGULAR_CF_main +arity: 1 "} -edge: {sourcename: "n77" targetname: "n78" label: "0" } -node: {title: "n78" label: "Projb Eq 78" color: yellow info1: "visited: 5 +edge: {sourcename: "n75" targetname: "n76" label: "0" } +node: {title: "n76" label: "Projb Eq 76" color: yellow info1: "visited: 5 irg: IRREGULAR_CF_main +arity: 1 "} -edge: {sourcename: "n78" targetname: "n79" label: "0" } -node: {title: "n79" label: "CmpT 79" info1: "visited: 5 +edge: {sourcename: "n76" targetname: "n77" label: "0" } +node: {title: "n77" label: "CmpT 77" info1: "visited: 5 irg: IRREGULAR_CF_main +arity: 2 "} -edge: {sourcename: "n79" targetname: "n81" label: "0" } -edge: {sourcename: "n79" targetname: "n80" label: "1" } +edge: {sourcename: "n77" targetname: "n79" label: "0" } +edge: {sourcename: "n77" targetname: "n78" label: "1" } } -graph: { title: "n75" label: "Block 75" status:clustered color:yellow -edge: {sourcename: "n75" targetname: "n74" label: "0" color: red} -node: {title: "n92" label: "ProjM 1 92" color: yellow info1: "visited: 5 +graph: { title: "n73" label: "Block 73" status:clustered color:yellow +edge: {sourcename: "n73" targetname: "n72" label: "0" color: red} +node: {title: "n90" label: "ProjM 1 90" color: yellow info1: "visited: 5 irg: IRREGULAR_CF_main +arity: 1 "} -edge: {sourcename: "n92" targetname: "n76" label: "0" color: blue} -node: {title: "n88" label: "0x2Is 88" color: yellow info1: "visited: 5 +edge: {sourcename: "n90" targetname: "n74" label: "0" color: blue} +node: {title: "n86" label: "0x2Is 86" color: yellow info1: "visited: 5 irg: IRREGULAR_CF_main +arity: 0 Const of type type_unknown "} -node: {title: "n81" label: "0x0Is 81" color: yellow info1: "visited: 5 +node: {title: "n79" label: "0x0Is 79" color: yellow info1: "visited: 5 irg: IRREGULAR_CF_main +arity: 0 Const of type type_unknown "} -node: {title: "n80" label: "0x1Is 80" color: yellow info1: "visited: 5 +node: {title: "n78" label: "0x1Is 78" color: yellow info1: "visited: 5 irg: IRREGULAR_CF_main +arity: 0 Const of type type_unknown "} -node: {title: "n74" label: "ProjX 0 74" color: yellow info1: "visited: 5 +node: {title: "n72" label: "ProjX 0 72" color: yellow info1: "visited: 5 irg: IRREGULAR_CF_main +arity: 1 "} -edge: {sourcename: "n74" targetname: "n76" label: "0" color: red} -node: {title: "n76" label: "Start 76" color: blue info1: "visited: 5 +edge: {sourcename: "n72" targetname: "n74" label: "0" color: red} +node: {title: "n74" label: "Start 74" color: blue info1: "visited: 5 irg: IRREGULAR_CF_main +arity: 0 start of method of type main "} } diff --git a/testprograms/ref-results/IRR_LOOP_main-cfg.vcg b/testprograms/ref-results/IRR_LOOP_main-cfg.vcg index f1f090e5e..822c6cf62 100644 --- a/testprograms/ref-results/IRR_LOOP_main-cfg.vcg +++ b/testprograms/ref-results/IRR_LOOP_main-cfg.vcg @@ -17,22 +17,23 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" +node: {title: "n60" label: "Block n60" } +edge: { sourcename: "n60" targetname: "n62"} node: {title: "n62" label: "Block n62" } +edge: { sourcename: "n62" targetname: "n66"} edge: { sourcename: "n62" targetname: "n64"} node: {title: "n64" label: "Block n64" } -edge: { sourcename: "n64" targetname: "n68"} +edge: { sourcename: "n64" targetname: "n77"} edge: { sourcename: "n64" targetname: "n66"} node: {title: "n66" label: "Block n66" } -edge: { sourcename: "n66" targetname: "n79"} -edge: { sourcename: "n66" targetname: "n68"} -node: {title: "n68" label: "Block n68" } -edge: { sourcename: "n68" targetname: "n79"} -edge: { sourcename: "n68" targetname: "n66"} -node: {title: "n79" label: "Block n79" } -edge: { sourcename: "n79" targetname: "n74"} -node: {title: "n74" label: "Block n74" } -edge: { sourcename: "n74" targetname: "n74"} -node: {title: "n96" label: "Bad 96" info1: "visited: 0 +edge: { sourcename: "n66" targetname: "n77"} +edge: { sourcename: "n66" targetname: "n64"} +node: {title: "n77" label: "Block n77" } +edge: { sourcename: "n77" targetname: "n72"} +node: {title: "n72" label: "Block n72" } +edge: { sourcename: "n72" targetname: "n72"} +node: {title: "n94" label: "Bad 94" info1: "visited: 0 irg: IRR_LOOP_main +arity: 0 "} } diff --git a/testprograms/ref-results/IRR_LOOP_main.vcg b/testprograms/ref-results/IRR_LOOP_main.vcg index 585222e19..1c71618a0 100644 --- a/testprograms/ref-results/IRR_LOOP_main.vcg +++ b/testprograms/ref-results/IRR_LOOP_main.vcg @@ -17,140 +17,166 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -graph: { title: "g28" label: "IRR_LOOP_main" status:clustered color:white -graph: { title: "n62" label: "Block 62" status:clustered color:yellow -edge: {sourcename: "n62" targetname: "n63" label: "0" color: red} -node: {title: "n61" label: "End 61" color: blue info1: "visited: 5 +graph: { title: "g26" label: "IRR_LOOP_main" status:clustered color:white +graph: { title: "n60" label: "Block 60" status:clustered color:yellow +edge: {sourcename: "n60" targetname: "n61" label: "0" color: red} +node: {title: "n59" label: "End 59" color: blue info1: "visited: 5 irg: IRR_LOOP_main +arity: 3 "} } -graph: { title: "n64" label: "Block 64" status:clustered color:yellow -edge: {sourcename: "n64" targetname: "n88" label: "0" color: red} -edge: {sourcename: "n64" targetname: "n65" label: "1" color: red} -node: {title: "n63" label: "Return 63" info1: "visited: 5 +graph: { title: "n62" label: "Block 62" status:clustered color:yellow +edge: {sourcename: "n62" targetname: "n86" label: "0" color: red} +edge: {sourcename: "n62" targetname: "n63" label: "1" color: red} +node: {title: "n61" label: "Return 61" info1: "visited: 5 irg: IRR_LOOP_main +arity: 1 return in method of type main "} -edge: {sourcename: "n63" targetname: "n89" label: "0" color: blue} -node: {title: "n89" label: "PhiM 89" color: green info1: "visited: 5 +edge: {sourcename: "n61" targetname: "n87" label: "0" color: blue} +node: {title: "n87" label: "PhiM 87" color: green info1: "visited: 5 irg: IRR_LOOP_main +arity: 2 backedges: "} -edge: {sourcename: "n89" targetname: "n91" label: "0" color: blue} -edge: {sourcename: "n89" targetname: "n90" label: "1" color: blue} +edge: {sourcename: "n87" targetname: "n89" label: "0" color: blue} +edge: {sourcename: "n87" targetname: "n88" label: "1" color: blue} } -graph: { title: "n66" label: "Block 66" status:clustered color:yellow -edge: {sourcename: "n66" targetname: "n87" label: "0" color: red} -edge: {sourcename: "n66" targetname: "n67" label: "1" color: red} -node: {title: "n90" label: "PhiM 90" color: green info1: "visited: 5 +graph: { title: "n64" label: "Block 64" status:clustered color:yellow +edge: {sourcename: "n64" targetname: "n85" label: "0" color: red} +edge: {sourcename: "n64" targetname: "n65" label: "1" color: red} +node: {title: "n88" label: "PhiM 88" color: green info1: "visited: 5 irg: IRR_LOOP_main +arity: 2 backedges: "} -edge: {sourcename: "n90" targetname: "n92" label: "0" color: blue} -edge: {sourcename: "n90" targetname: "n91" label: "1" color: blue} -node: {title: "n65" label: "ProjX 0 65" color: yellow info1: "visited: 5 +edge: {sourcename: "n88" targetname: "n90" label: "0" color: blue} +edge: {sourcename: "n88" targetname: "n89" label: "1" color: blue} +node: {title: "n63" label: "ProjX 0 63" color: yellow info1: "visited: 5 irg: IRR_LOOP_main +arity: 1 "} -edge: {sourcename: "n65" targetname: "n70" label: "0" color: red} -node: {title: "n69" label: "ProjX 1 69" color: yellow info1: "visited: 5 +edge: {sourcename: "n63" targetname: "n68" label: "0" color: red} +node: {title: "n67" label: "ProjX 1 67" color: yellow info1: "visited: 5 irg: IRR_LOOP_main +arity: 1 "} -edge: {sourcename: "n69" targetname: "n70" label: "0" color: red} -node: {title: "n70" label: "Cond 70" info1: "visited: 5 +edge: {sourcename: "n67" targetname: "n68" label: "0" color: red} +node: {title: "n68" label: "Cond 68" info1: "visited: 5 irg: IRR_LOOP_main +arity: 1 "} -edge: {sourcename: "n70" targetname: "n71" label: "0" } -node: {title: "n71" label: "Projb Eq 71" color: yellow info1: "visited: 5 +edge: {sourcename: "n68" targetname: "n69" label: "0" } +node: {title: "n69" label: "Projb Eq 69" color: yellow info1: "visited: 5 irg: IRR_LOOP_main +arity: 1 "} -edge: {sourcename: "n71" targetname: "n72" label: "0" } -node: {title: "n72" label: "CmpT 72" info1: "visited: 5 +edge: {sourcename: "n69" targetname: "n70" label: "0" } +node: {title: "n70" label: "CmpT 70" info1: "visited: 5 irg: IRR_LOOP_main +arity: 2 "} -edge: {sourcename: "n72" targetname: "n77" label: "0" } -edge: {sourcename: "n72" targetname: "n73" label: "1" } +edge: {sourcename: "n70" targetname: "n75" label: "0" } +edge: {sourcename: "n70" targetname: "n71" label: "1" } } -graph: { title: "n68" label: "Block 68" status:clustered color:yellow -edge: {sourcename: "n68" targetname: "n78" label: "0" color: red} -edge: {sourcename: "n68" targetname: "n69" label: "1" color: red} -node: {title: "n91" label: "PhiM 91" color: green info1: "visited: 5 +graph: { title: "n66" label: "Block 66" status:clustered color:yellow +edge: {sourcename: "n66" targetname: "n76" label: "0" color: red} +edge: {sourcename: "n66" targetname: "n67" label: "1" color: red} +node: {title: "n89" label: "PhiM 89" color: green info1: "visited: 5 irg: IRR_LOOP_main +arity: 2 backedges: "} -edge: {sourcename: "n91" targetname: "n92" label: "0" color: blue} -edge: {sourcename: "n91" targetname: "n90" label: "1" color: blue} -node: {title: "n88" label: "ProjX 0 88" color: yellow info1: "visited: 5 +edge: {sourcename: "n89" targetname: "n90" label: "0" color: blue} +edge: {sourcename: "n89" targetname: "n88" label: "1" color: blue} +node: {title: "n86" label: "ProjX 0 86" color: yellow info1: "visited: 5 irg: IRR_LOOP_main +arity: 1 "} -edge: {sourcename: "n88" targetname: "n84" label: "0" color: red} -node: {title: "n67" label: "ProjX 1 67" color: yellow info1: "visited: 5 +edge: {sourcename: "n86" targetname: "n82" label: "0" color: red} +node: {title: "n65" label: "ProjX 1 65" color: yellow info1: "visited: 5 irg: IRR_LOOP_main +arity: 1 "} -edge: {sourcename: "n67" targetname: "n84" label: "0" color: red} -node: {title: "n84" label: "Cond 84" info1: "visited: 5 +edge: {sourcename: "n65" targetname: "n82" label: "0" color: red} +node: {title: "n82" label: "Cond 82" info1: "visited: 5 irg: IRR_LOOP_main +arity: 1 "} -edge: {sourcename: "n84" targetname: "n85" label: "0" } -node: {title: "n85" label: "Projb Eq 85" color: yellow info1: "visited: 5 +edge: {sourcename: "n82" targetname: "n83" label: "0" } +node: {title: "n83" label: "Projb Eq 83" color: yellow info1: "visited: 5 irg: IRR_LOOP_main +arity: 1 "} -edge: {sourcename: "n85" targetname: "n86" label: "0" } -node: {title: "n86" label: "CmpT 86" info1: "visited: 5 +edge: {sourcename: "n83" targetname: "n84" label: "0" } +node: {title: "n84" label: "CmpT 84" info1: "visited: 5 irg: IRR_LOOP_main +arity: 2 "} -edge: {sourcename: "n86" targetname: "n77" label: "0" } -edge: {sourcename: "n86" targetname: "n73" label: "1" } +edge: {sourcename: "n84" targetname: "n75" label: "0" } +edge: {sourcename: "n84" targetname: "n71" label: "1" } } -graph: { title: "n79" label: "Block 79" status:clustered color:yellow -edge: {sourcename: "n79" targetname: "n75" label: "0" color: red} -node: {title: "n87" label: "ProjX 1 87" color: yellow info1: "visited: 5 +graph: { title: "n77" label: "Block 77" status:clustered color:yellow +edge: {sourcename: "n77" targetname: "n73" label: "0" color: red} +node: {title: "n85" label: "ProjX 1 85" color: yellow info1: "visited: 5 irg: IRR_LOOP_main +arity: 1 "} -edge: {sourcename: "n87" targetname: "n80" label: "0" color: red} -node: {title: "n78" label: "ProjX 0 78" color: yellow info1: "visited: 5 +edge: {sourcename: "n85" targetname: "n78" label: "0" color: red} +node: {title: "n76" label: "ProjX 0 76" color: yellow info1: "visited: 5 irg: IRR_LOOP_main +arity: 1 "} -edge: {sourcename: "n78" targetname: "n80" label: "0" color: red} -node: {title: "n80" label: "Cond 80" info1: "visited: 5 +edge: {sourcename: "n76" targetname: "n78" label: "0" color: red} +node: {title: "n78" label: "Cond 78" info1: "visited: 5 irg: IRR_LOOP_main +arity: 1 "} -edge: {sourcename: "n80" targetname: "n81" label: "0" } -node: {title: "n81" label: "Projb Eq 81" color: yellow info1: "visited: 5 +edge: {sourcename: "n78" targetname: "n79" label: "0" } +node: {title: "n79" label: "Projb Eq 79" color: yellow info1: "visited: 5 irg: IRR_LOOP_main +arity: 1 "} -edge: {sourcename: "n81" targetname: "n82" label: "0" } -node: {title: "n82" label: "CmpT 82" info1: "visited: 5 +edge: {sourcename: "n79" targetname: "n80" label: "0" } +node: {title: "n80" label: "CmpT 80" info1: "visited: 5 irg: IRR_LOOP_main +arity: 2 "} -edge: {sourcename: "n82" targetname: "n77" label: "0" } -edge: {sourcename: "n82" targetname: "n83" label: "1" } +edge: {sourcename: "n80" targetname: "n75" label: "0" } +edge: {sourcename: "n80" targetname: "n81" label: "1" } } -graph: { title: "n74" label: "Block 74" status:clustered color:yellow -edge: {sourcename: "n74" targetname: "n75" label: "0" color: red} -node: {title: "n92" label: "ProjM 1 92" color: yellow info1: "visited: 5 +graph: { title: "n72" label: "Block 72" status:clustered color:yellow +edge: {sourcename: "n72" targetname: "n73" label: "0" color: red} +node: {title: "n90" label: "ProjM 1 90" color: yellow info1: "visited: 5 irg: IRR_LOOP_main +arity: 1 "} -edge: {sourcename: "n92" targetname: "n76" label: "0" color: blue} -node: {title: "n83" label: "0x1Is 83" color: yellow info1: "visited: 5 +edge: {sourcename: "n90" targetname: "n74" label: "0" color: blue} +node: {title: "n81" label: "0x1Is 81" color: yellow info1: "visited: 5 irg: IRR_LOOP_main +arity: 0 Const of type type_unknown "} -node: {title: "n77" label: "0x0Is 77" color: yellow info1: "visited: 5 +node: {title: "n75" label: "0x0Is 75" color: yellow info1: "visited: 5 irg: IRR_LOOP_main +arity: 0 Const of type type_unknown "} -node: {title: "n73" label: "0x2Is 73" color: yellow info1: "visited: 5 +node: {title: "n71" label: "0x2Is 71" color: yellow info1: "visited: 5 irg: IRR_LOOP_main +arity: 0 Const of type type_unknown "} -node: {title: "n75" label: "ProjX 0 75" color: yellow info1: "visited: 5 +node: {title: "n73" label: "ProjX 0 73" color: yellow info1: "visited: 5 irg: IRR_LOOP_main +arity: 1 "} -edge: {sourcename: "n75" targetname: "n76" label: "0" color: red} -node: {title: "n76" label: "Start 76" color: blue info1: "visited: 5 +edge: {sourcename: "n73" targetname: "n74" label: "0" color: red} +node: {title: "n74" label: "Start 74" color: blue info1: "visited: 5 irg: IRR_LOOP_main +arity: 0 start of method of type main "} } diff --git a/testprograms/ref-results/MEMORY_EXAMPLE_main.vcg b/testprograms/ref-results/MEMORY_EXAMPLE_main.vcg index f84ec9256..195717357 100644 --- a/testprograms/ref-results/MEMORY_EXAMPLE_main.vcg +++ b/testprograms/ref-results/MEMORY_EXAMPLE_main.vcg @@ -17,180 +17,214 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -graph: { title: "g29" label: "MEMORY_EXAMPLE_main" status:clustered color:white -graph: { title: "n78" label: "Block 78" status:clustered color:yellow -edge: {sourcename: "n78" targetname: "n79" label: "0" color: red} -node: {title: "n77" label: "End 77" color: blue info1: "visited: 15 +graph: { title: "g27" label: "MEMORY_EXAMPLE_main" status:clustered color:white +graph: { title: "n76" label: "Block 76" status:clustered color:yellow +edge: {sourcename: "n76" targetname: "n77" label: "0" color: red} +node: {title: "n75" label: "End 75" color: blue info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 1 "} } -graph: { title: "n80" label: "Block 80" status:clustered color:yellow -edge: {sourcename: "n80" targetname: "n81" label: "0" color: red} -node: {title: "n79" label: "Return 79" info1: "visited: 15 +graph: { title: "n78" label: "Block 78" status:clustered color:yellow +edge: {sourcename: "n78" targetname: "n79" label: "0" color: red} +node: {title: "n77" label: "Return 77" info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 2 return in method of type main res 0 type: int "} -edge: {sourcename: "n79" targetname: "n115" label: "0" color: blue} -edge: {sourcename: "n79" targetname: "n113" label: "1" } -node: {title: "n115" label: "ProjM 0 115" color: yellow info1: "visited: 15 +edge: {sourcename: "n77" targetname: "n113" label: "0" color: blue} +edge: {sourcename: "n77" targetname: "n111" label: "1" } +node: {title: "n113" label: "ProjM 0 113" color: yellow info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n115" targetname: "n114" label: "0" color: blue} -node: {title: "n113" label: "ProjIu 2 113" color: yellow info1: "visited: 15 +edge: {sourcename: "n113" targetname: "n112" label: "0" color: blue} +node: {title: "n111" label: "ProjIu 2 111" color: yellow info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n113" targetname: "n114" label: "0" } -node: {title: "n114" label: "Load 114" info1: "visited: 15 +edge: {sourcename: "n111" targetname: "n112" label: "0" } +node: {title: "n112" label: "Load 112" info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 2 "} -edge: {sourcename: "n114" targetname: "n97" label: "0" color: blue} -edge: {sourcename: "n114" targetname: "n89" label: "1" } +edge: {sourcename: "n112" targetname: "n95" label: "0" color: blue} +edge: {sourcename: "n112" targetname: "n87" label: "1" } } -graph: { title: "n82" label: "Block 82" status:clustered color:yellow -edge: {sourcename: "n82" targetname: "n112" label: "0" color: red} -edge: {sourcename: "n82" targetname: "n83" label: "1" color: red} -node: {title: "n81" label: "ProjX 1 81" color: yellow info1: "visited: 15 +graph: { title: "n80" label: "Block 80" status:clustered color:yellow +edge: {sourcename: "n80" targetname: "n110" label: "0" color: red} +edge: {sourcename: "n80" targetname: "n81" label: "1" color: red} +node: {title: "n79" label: "ProjX 1 79" color: yellow info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n81" targetname: "n84" label: "0" color: red} -node: {title: "n83" label: "ProjX 0 83" color: yellow info1: "visited: 15 +edge: {sourcename: "n79" targetname: "n82" label: "0" color: red} +node: {title: "n81" label: "ProjX 0 81" color: yellow info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n83" targetname: "n84" label: "0" color: red} -node: {title: "n84" label: "Cond 84" info1: "visited: 15 +edge: {sourcename: "n81" targetname: "n82" label: "0" color: red} +node: {title: "n82" label: "Cond 82" info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n84" targetname: "n85" label: "0" } -node: {title: "n85" label: "Projb Gt 85" color: yellow info1: "visited: 15 +edge: {sourcename: "n82" targetname: "n83" label: "0" } +node: {title: "n83" label: "Projb Gt 83" color: yellow info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n85" targetname: "n86" label: "0" } -node: {title: "n86" label: "CmpT 86" info1: "visited: 15 +edge: {sourcename: "n83" targetname: "n84" label: "0" } +node: {title: "n84" label: "CmpT 84" info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 2 "} -edge: {sourcename: "n86" targetname: "n111" label: "0" } -edge: {sourcename: "n86" targetname: "n87" label: "1" } -node: {title: "n87" label: "ProjIu 2 87" color: yellow info1: "visited: 15 +edge: {sourcename: "n84" targetname: "n109" label: "0" } +edge: {sourcename: "n84" targetname: "n85" label: "1" } +node: {title: "n85" label: "ProjIu 2 85" color: yellow info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n87" targetname: "n88" label: "0" } -node: {title: "n88" label: "Load 88" info1: "visited: 15 +edge: {sourcename: "n85" targetname: "n86" label: "0" } +node: {title: "n86" label: "Load 86" info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 2 "} -edge: {sourcename: "n88" targetname: "n96" label: "0" color: blue} -edge: {sourcename: "n88" targetname: "n89" label: "1" } -node: {title: "n96" label: "PhiM 96" color: green info1: "visited: 15 +edge: {sourcename: "n86" targetname: "n94" label: "0" color: blue} +edge: {sourcename: "n86" targetname: "n87" label: "1" } +node: {title: "n94" label: "PhiM 94" color: green info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 2 backedges: "} -edge: {sourcename: "n96" targetname: "n106" label: "0" color: blue} -edge: {sourcename: "n96" targetname: "n97" label: "1" color: blue} -node: {title: "n97" label: "ProjM 0 97" color: yellow info1: "visited: 15 +edge: {sourcename: "n94" targetname: "n104" label: "0" color: blue} +edge: {sourcename: "n94" targetname: "n95" label: "1" color: blue} +node: {title: "n95" label: "ProjM 0 95" color: yellow info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n97" targetname: "n98" label: "0" color: blue} -node: {title: "n98" label: "Store 98" info1: "visited: 15 +edge: {sourcename: "n95" targetname: "n96" label: "0" color: blue} +node: {title: "n96" label: "Store 96" info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 3 "} -edge: {sourcename: "n98" targetname: "n100" label: "0" color: blue} -edge: {sourcename: "n98" targetname: "n99" label: "1" } -edge: {sourcename: "n98" targetname: "n87" label: "2" } -node: {title: "n100" label: "ProjM 0 100" color: yellow info1: "visited: 15 +edge: {sourcename: "n96" targetname: "n98" label: "0" color: blue} +edge: {sourcename: "n96" targetname: "n97" label: "1" } +edge: {sourcename: "n96" targetname: "n85" label: "2" } +node: {title: "n98" label: "ProjM 0 98" color: yellow info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n100" targetname: "n101" label: "0" color: blue} -node: {title: "n101" label: "Store 101" info1: "visited: 15 +edge: {sourcename: "n98" targetname: "n99" label: "0" color: blue} +node: {title: "n99" label: "Store 99" info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 3 "} -edge: {sourcename: "n101" targetname: "n105" label: "0" color: blue} -edge: {sourcename: "n101" targetname: "n89" label: "1" } -edge: {sourcename: "n101" targetname: "n102" label: "2" } -node: {title: "n105" label: "ProjM 0 105" color: yellow info1: "visited: 15 +edge: {sourcename: "n99" targetname: "n103" label: "0" color: blue} +edge: {sourcename: "n99" targetname: "n87" label: "1" } +edge: {sourcename: "n99" targetname: "n100" label: "2" } +node: {title: "n103" label: "ProjM 0 103" color: yellow info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n105" targetname: "n103" label: "0" color: blue} -node: {title: "n102" label: "ProjIu 2 102" color: yellow info1: "visited: 15 +edge: {sourcename: "n103" targetname: "n101" label: "0" color: blue} +node: {title: "n100" label: "ProjIu 2 100" color: yellow info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n102" targetname: "n103" label: "0" } -node: {title: "n103" label: "Load 103" info1: "visited: 15 +edge: {sourcename: "n100" targetname: "n101" label: "0" } +node: {title: "n101" label: "Load 101" info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 2 "} -edge: {sourcename: "n103" targetname: "n104" label: "0" color: blue} -edge: {sourcename: "n103" targetname: "n99" label: "1" } -node: {title: "n104" label: "ProjM 0 104" color: yellow info1: "visited: 15 +edge: {sourcename: "n101" targetname: "n102" label: "0" color: blue} +edge: {sourcename: "n101" targetname: "n97" label: "1" } +node: {title: "n102" label: "ProjM 0 102" color: yellow info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n104" targetname: "n88" label: "0" color: blue} +edge: {sourcename: "n102" targetname: "n86" label: "0" color: blue} } -graph: { title: "n90" label: "Block 90" status:clustered color:yellow -edge: {sourcename: "n90" targetname: "n91" label: "0" color: red} -node: {title: "n112" label: "Jmp 112" info1: "visited: 15 +graph: { title: "n88" label: "Block 88" status:clustered color:yellow +edge: {sourcename: "n88" targetname: "n89" label: "0" color: red} +node: {title: "n110" label: "Jmp 110" info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 0 "} -node: {title: "n106" label: "ProjM 0 106" color: yellow info1: "visited: 15 +node: {title: "n104" label: "ProjM 0 104" color: yellow info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n106" targetname: "n107" label: "0" color: blue} -node: {title: "n107" label: "Store 107" info1: "visited: 15 +edge: {sourcename: "n104" targetname: "n105" label: "0" color: blue} +node: {title: "n105" label: "Store 105" info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 3 "} -edge: {sourcename: "n107" targetname: "n109" label: "0" color: blue} -edge: {sourcename: "n107" targetname: "n99" label: "1" } -edge: {sourcename: "n107" targetname: "n108" label: "2" } -node: {title: "n109" label: "ProjM 0 109" color: yellow info1: "visited: 15 +edge: {sourcename: "n105" targetname: "n107" label: "0" color: blue} +edge: {sourcename: "n105" targetname: "n97" label: "1" } +edge: {sourcename: "n105" targetname: "n106" label: "2" } +node: {title: "n107" label: "ProjM 0 107" color: yellow info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n109" targetname: "n110" label: "0" color: blue} -node: {title: "n110" label: "Store 110" info1: "visited: 15 +edge: {sourcename: "n107" targetname: "n108" label: "0" color: blue} +node: {title: "n108" label: "Store 108" info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 3 "} -edge: {sourcename: "n110" targetname: "n95" label: "0" color: blue} -edge: {sourcename: "n110" targetname: "n89" label: "1" } -edge: {sourcename: "n110" targetname: "n111" label: "2" } -node: {title: "n99" label: "Sel VAR_B 99" info1: "visited: 15 +edge: {sourcename: "n108" targetname: "n93" label: "0" color: blue} +edge: {sourcename: "n108" targetname: "n87" label: "1" } +edge: {sourcename: "n108" targetname: "n109" label: "2" } +node: {title: "n97" label: "Sel VAR_B 97" info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 2 Selecting entity of type int from entity of type GlobalType "} -edge: {sourcename: "n99" targetname: "n95" label: "0" color: blue} -edge: {sourcename: "n99" targetname: "n94" label: "1" } -node: {title: "n89" label: "Sel VAR_A 89" info1: "visited: 15 +edge: {sourcename: "n97" targetname: "n93" label: "0" color: blue} +edge: {sourcename: "n97" targetname: "n92" label: "1" } +node: {title: "n87" label: "Sel VAR_A 87" info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 2 Selecting entity of type int from entity of type GlobalType "} -edge: {sourcename: "n89" targetname: "n95" label: "0" color: blue} -edge: {sourcename: "n89" targetname: "n94" label: "1" } +edge: {sourcename: "n87" targetname: "n93" label: "0" color: blue} +edge: {sourcename: "n87" targetname: "n92" label: "1" } } -graph: { title: "n92" label: "Block 92" status:clustered color:yellow -edge: {sourcename: "n92" targetname: "n91" label: "0" color: red} -node: {title: "n111" label: "0x0Iu 111" color: yellow info1: "visited: 15 +graph: { title: "n90" label: "Block 90" status:clustered color:yellow +edge: {sourcename: "n90" targetname: "n89" label: "0" color: red} +node: {title: "n109" label: "0x0Iu 109" color: yellow info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 0 Const of type type_unknown "} -node: {title: "n108" label: "0x1Iu 108" color: yellow info1: "visited: 15 +node: {title: "n106" label: "0x1Iu 106" color: yellow info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 0 Const of type type_unknown "} -node: {title: "n95" label: "ProjM 1 95" color: yellow info1: "visited: 15 +node: {title: "n93" label: "ProjM 1 93" color: yellow info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n95" targetname: "n93" label: "0" color: blue} -node: {title: "n94" label: "ProjP 3 94" color: yellow info1: "visited: 15 +edge: {sourcename: "n93" targetname: "n91" label: "0" color: blue} +node: {title: "n92" label: "ProjP 3 92" color: yellow info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n94" targetname: "n93" label: "0" } -node: {title: "n91" label: "ProjX 0 91" color: yellow info1: "visited: 15 +edge: {sourcename: "n92" targetname: "n91" label: "0" } +node: {title: "n89" label: "ProjX 0 89" color: yellow info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n91" targetname: "n93" label: "0" color: red} -node: {title: "n93" label: "Start 93" color: blue info1: "visited: 15 +edge: {sourcename: "n89" targetname: "n91" label: "0" color: red} +node: {title: "n91" label: "Start 91" color: blue info1: "visited: 15 irg: MEMORY_EXAMPLE_main +arity: 0 start of method of type main "} } diff --git a/testprograms/ref-results/OO_INLINE_EXAMPLE_main-wtypes.vcg b/testprograms/ref-results/OO_INLINE_EXAMPLE_main-wtypes.vcg index ac466b965..3f06daff6 100644 --- a/testprograms/ref-results/OO_INLINE_EXAMPLE_main-wtypes.vcg +++ b/testprograms/ref-results/OO_INLINE_EXAMPLE_main-wtypes.vcg @@ -17,123 +17,144 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -graph: { title: "g37" label: "OO_INLINE_EXAMPLE_main" status:clustered color:white -graph: { title: "n200" label: "Block 200" status:clustered color:yellow -edge: {sourcename: "n200" targetname: "n202" label: "0" color: red} -edge: {sourcename: "n200" targetname: "n201" label: "1" color: red} -node: {title: "n204" label: "PhiM 204" color: green info1: "visited: 22 +graph: { title: "g35" label: "OO_INLINE_EXAMPLE_main" status:clustered color:white +graph: { title: "n196" label: "Block 196" status:clustered color:yellow +edge: {sourcename: "n196" targetname: "n198" label: "0" color: red} +edge: {sourcename: "n196" targetname: "n197" label: "1" color: red} +node: {title: "n200" label: "PhiM 200" color: green info1: "visited: 22 irg: OO_INLINE_EXAMPLE_main +arity: 2 backedges: "} -edge: {sourcename: "n204" targetname: "n215" label: "0" color: blue} -edge: {sourcename: "n204" targetname: "n205" label: "1" color: blue} -node: {title: "n205" label: "Store 205" info1: "visited: 22 +edge: {sourcename: "n200" targetname: "n211" label: "0" color: blue} +edge: {sourcename: "n200" targetname: "n201" label: "1" color: blue} +node: {title: "n201" label: "Store 201" info1: "visited: 22 irg: OO_INLINE_EXAMPLE_main +arity: 3 "} -edge: {sourcename: "n205" targetname: "n204" label: "0" color: blue} -edge: {sourcename: "n205" targetname: "n210" label: "1" } -edge: {sourcename: "n205" targetname: "n206" label: "2" } -node: {title: "n210" label: "Sel a 210" info1: "visited: 22 +edge: {sourcename: "n201" targetname: "n200" label: "0" color: blue} +edge: {sourcename: "n201" targetname: "n206" label: "1" } +edge: {sourcename: "n201" targetname: "n202" label: "2" } +node: {title: "n206" label: "Sel a 206" info1: "visited: 22 irg: OO_INLINE_EXAMPLE_main +arity: 2 Selecting entity of type int from entity of type PRIMA_INLINE "} -edge: {sourcename: "n210" targetname: "n204" label: "0" color: blue} -edge: {sourcename: "n210" targetname: "n211" label: "1" } -node: {title: "n206" label: "PhiIs 206" color: green info1: "visited: 22 +edge: {sourcename: "n206" targetname: "n200" label: "0" color: blue} +edge: {sourcename: "n206" targetname: "n207" label: "1" } +node: {title: "n202" label: "PhiIs 202" color: green info1: "visited: 22 irg: OO_INLINE_EXAMPLE_main +arity: 2 backedges: "} -edge: {sourcename: "n206" targetname: "n209" label: "0" } -edge: {sourcename: "n206" targetname: "n207" label: "1" } -node: {title: "n207" label: "PhiIs 207" color: green info1: "visited: 22 +edge: {sourcename: "n202" targetname: "n205" label: "0" } +edge: {sourcename: "n202" targetname: "n203" label: "1" } +node: {title: "n203" label: "PhiIs 203" color: green info1: "visited: 22 irg: OO_INLINE_EXAMPLE_main +arity: 2 backedges: "} -edge: {sourcename: "n207" targetname: "n208" label: "0" } -edge: {sourcename: "n207" targetname: "n206" label: "1" } -node: {title: "n201" label: "Jmp 201" info1: "visited: 22 +edge: {sourcename: "n203" targetname: "n204" label: "0" } +edge: {sourcename: "n203" targetname: "n202" label: "1" } +node: {title: "n197" label: "Jmp 197" info1: "visited: 22 irg: OO_INLINE_EXAMPLE_main +arity: 0 "} } -graph: { title: "n203" label: "Block 203" status:clustered color:yellow -edge: {sourcename: "n203" targetname: "n198" label: "0" color: red} -node: {title: "n215" label: "ProjM 0 215" color: yellow info1: "visited: 22 +graph: { title: "n199" label: "Block 199" status:clustered color:yellow +edge: {sourcename: "n199" targetname: "n194" label: "0" color: red} +node: {title: "n211" label: "ProjM 0 211" color: yellow info1: "visited: 22 irg: OO_INLINE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n215" targetname: "n216" label: "0" color: blue} -node: {title: "n216" label: "Store 216" info1: "visited: 22 +edge: {sourcename: "n211" targetname: "n212" label: "0" color: blue} +node: {title: "n212" label: "Store 212" info1: "visited: 22 irg: OO_INLINE_EXAMPLE_main +arity: 3 "} -edge: {sourcename: "n216" targetname: "n219" label: "0" color: blue} -edge: {sourcename: "n216" targetname: "n218" label: "1" } -edge: {sourcename: "n216" targetname: "n217" label: "2" } -node: {title: "n218" label: "Sel a 218" info1: "visited: 22 +edge: {sourcename: "n212" targetname: "n215" label: "0" color: blue} +edge: {sourcename: "n212" targetname: "n214" label: "1" } +edge: {sourcename: "n212" targetname: "n213" label: "2" } +node: {title: "n214" label: "Sel a 214" info1: "visited: 22 irg: OO_INLINE_EXAMPLE_main +arity: 2 Selecting entity of type int from entity of type PRIMA_INLINE "} -edge: {sourcename: "n218" targetname: "n219" label: "0" color: blue} -edge: {sourcename: "n218" targetname: "n211" label: "1" } -node: {title: "n219" label: "ProjM 0 219" color: yellow info1: "visited: 22 +edge: {sourcename: "n214" targetname: "n215" label: "0" color: blue} +edge: {sourcename: "n214" targetname: "n207" label: "1" } +node: {title: "n215" label: "ProjM 0 215" color: yellow info1: "visited: 22 irg: OO_INLINE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n219" targetname: "n212" label: "0" color: blue} -node: {title: "n211" label: "ProjP 2 211" color: yellow info1: "visited: 22 +edge: {sourcename: "n215" targetname: "n208" label: "0" color: blue} +node: {title: "n207" label: "ProjP 2 207" color: yellow info1: "visited: 22 irg: OO_INLINE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n211" targetname: "n212" label: "0" } -node: {title: "n212" label: "Alloc 212" info1: "visited: 22 +edge: {sourcename: "n207" targetname: "n208" label: "0" } +node: {title: "n208" label: "Alloc 208" info1: "visited: 22 irg: OO_INLINE_EXAMPLE_main +arity: 2 allocating entity of type PRIMA_INLINE "} -edge: {sourcename: "n212" targetname: "n214" label: "0" color: blue} -edge: {sourcename: "n212" targetname: "n213" label: "1" } -node: {title: "n208" label: "0x0Is 208" color: yellow info1: "visited: 22 +edge: {sourcename: "n208" targetname: "n210" label: "0" color: blue} +edge: {sourcename: "n208" targetname: "n209" label: "1" } +node: {title: "n204" label: "0x0Is 204" color: yellow info1: "visited: 22 irg: OO_INLINE_EXAMPLE_main +arity: 0 Const of type type_unknown "} -node: {title: "n202" label: "Jmp 202" info1: "visited: 22 +node: {title: "n198" label: "Jmp 198" info1: "visited: 22 irg: OO_INLINE_EXAMPLE_main +arity: 0 "} } -graph: { title: "n197" label: "Block 197" status:clustered color:yellow -edge: {sourcename: "n197" targetname: "n198" label: "0" color: red} -node: {title: "n217" label: "0x2Is 217" color: yellow info1: "visited: 22 +graph: { title: "n193" label: "Block 193" status:clustered color:yellow +edge: {sourcename: "n193" targetname: "n194" label: "0" color: red} +node: {title: "n213" label: "0x2Is 213" color: yellow info1: "visited: 22 irg: OO_INLINE_EXAMPLE_main +arity: 0 Const of type type_unknown "} -node: {title: "n214" label: "ProjM 1 214" color: yellow info1: "visited: 22 +node: {title: "n210" label: "ProjM 1 210" color: yellow info1: "visited: 22 irg: OO_INLINE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n214" targetname: "n199" label: "0" color: blue} -node: {title: "n213" label: "SymC PRIMA_INLINE size 213" info1: "visited: 22 +edge: {sourcename: "n210" targetname: "n195" label: "0" color: blue} +node: {title: "n209" label: "SymC PRIMA_INLINE size 209" info1: "visited: 22 irg: OO_INLINE_EXAMPLE_main +arity: 0 "} -node: {title: "n209" label: "0x5Is 209" color: yellow info1: "visited: 22 +node: {title: "n205" label: "0x5Is 205" color: yellow info1: "visited: 22 irg: OO_INLINE_EXAMPLE_main +arity: 0 Const of type type_unknown "} -node: {title: "n198" label: "ProjX 0 198" color: yellow info1: "visited: 22 +node: {title: "n194" label: "ProjX 0 194" color: yellow info1: "visited: 22 irg: OO_INLINE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n198" targetname: "n199" label: "0" color: red} -node: {title: "n199" label: "Start 199" color: blue info1: "visited: 22 +edge: {sourcename: "n194" targetname: "n195" label: "0" color: red} +node: {title: "n195" label: "Start 195" color: blue info1: "visited: 22 irg: OO_INLINE_EXAMPLE_main +arity: 0 start of method of type OO_INLINE_EXAMPLE_main "} } -graph: { title: "n195" label: "Block 195" status:clustered color:yellow -node: {title: "n194" label: "End 194" color: blue info1: "visited: 22 +graph: { title: "n191" label: "Block 191" status:clustered color:yellow +node: {title: "n190" label: "End 190" color: blue info1: "visited: 22 irg: OO_INLINE_EXAMPLE_main +arity: 2 "} } } -node: {title: "e15" label: "ent a" color: yellow +node: {title: "e14" label: "ent a" color: yellow info1: " -id: e15 +id: e14 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized @@ -143,17 +164,17 @@ name: a ld_name: no yet set offset: -1" } -edge: { sourcename: "e15" targetname: "t12"class: 3 label: "type" color: red} -node: {title: "t13" label: "class PRIMA_INLINE" info1: "state: layout_undefined +edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red} +node: {title: "t12" label: "class PRIMA_INLINE" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "t13" targetname: "e15"class: 12 label: "member" color:blue} -edge: { sourcename: "t13" targetname: "e18"class: 12 label: "member" color:blue} -edge: { sourcename: "t13" targetname: "e21"class: 12 label: "member" color:blue} -node: {title: "e18" label: "ent PRIMA_INLINE_set_a" color: yellow +edge: { sourcename: "t12" targetname: "e14"class: 12 label: "member" color:blue} +edge: { sourcename: "t12" targetname: "e17"class: 12 label: "member" color:blue} +edge: { sourcename: "t12" targetname: "e20"class: 12 label: "member" color:blue} +node: {title: "e17" label: "ent PRIMA_INLINE_set_a" color: yellow info1: " -id: e18 +id: e17 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -162,31 +183,32 @@ peculiarity: peculiarity_existent name: PRIMA_INLINE_set_a ld_name: PRIMA_INLINE_set_a offset: -1 -irg = g71" +irg = g68" } -edge: { sourcename: "e18" targetname: "t16"class: 3 label: "type" color: red} -edge: { sourcename: "e18" targetname: "n17"label: "value 0"} -node: {title: "n17" label: "&(PRIMA_INLINE_set_a)P 17" color: yellow info1: "visited: 1 +edge: { sourcename: "e17" targetname: "t15"class: 3 label: "type" color: red} +edge: { sourcename: "e17" targetname: "n16"label: "value 0"} +node: {title: "n16" label: "&(PRIMA_INLINE_set_a)P 16" color: yellow info1: "visited: 1 +arity: 0 Const of type type_unknown "} -node: {title: "t16" label: "method set_a" info1: "state: layout_fixed, +node: {title: "t15" label: "method set_a" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t16" targetname: "t14"class: 5 label: "param 0" color: green} -edge: { sourcename: "t16" targetname: "t12"class: 5 label: "param 1" color: green} -node: {title: "t14" label: "pointer class_prima_ptr" info1: "state: layout_fixed, +edge: { sourcename: "t15" targetname: "t13"class: 5 label: "param 0" color: green} +edge: { sourcename: "t15" targetname: "t11"class: 5 label: "param 1" color: green} +node: {title: "t13" label: "pointer class_prima_ptr" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t14" targetname: "t13"class: 9 label: "points to" color:green} -node: {title: "t12" label: "primitive int" info1: "state: layout_fixed, +edge: { sourcename: "t13" targetname: "t12"class: 9 label: "points to" color:green} +node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, mode: Is, size: 4B, "} -node: {title: "e21" label: "ent PRIMA_INLINE_c" color: yellow +node: {title: "e20" label: "ent PRIMA_INLINE_c" color: yellow info1: " -id: e21 +id: e20 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -195,23 +217,24 @@ peculiarity: peculiarity_existent name: PRIMA_INLINE_c ld_name: PRIMA_INLINE_c offset: -1 -irg = g94" +irg = g90" } -edge: { sourcename: "e21" targetname: "t19"class: 3 label: "type" color: red} -edge: { sourcename: "e21" targetname: "n20"label: "value 0"} -node: {title: "n20" label: "&(PRIMA_INLINE_c)P 20" color: yellow info1: "visited: 1 +edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red} +edge: { sourcename: "e20" targetname: "n19"label: "value 0"} +node: {title: "n19" label: "&(PRIMA_INLINE_c)P 19" color: yellow info1: "visited: 1 +arity: 0 Const of type type_unknown "} -node: {title: "t19" label: "method c" info1: "state: layout_fixed, +node: {title: "t18" label: "method c" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t19" targetname: "t14"class: 5 label: "param 0" color: green} -edge: { sourcename: "t19" targetname: "t12"class: 5 label: "param 1" color: green} -edge: { sourcename: "t19" targetname: "t12"class: 6 label: "res 0" color: green} -node: {title: "e24" label: "ent OO_INLINE_EXAMPLE_main" color: yellow +edge: { sourcename: "t18" targetname: "t13"class: 5 label: "param 0" color: green} +edge: { sourcename: "t18" targetname: "t11"class: 5 label: "param 1" color: green} +edge: { sourcename: "t18" targetname: "t11"class: 6 label: "res 0" color: green} +node: {title: "e23" label: "ent OO_INLINE_EXAMPLE_main" color: yellow info1: " -id: e24 +id: e23 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -220,29 +243,30 @@ peculiarity: peculiarity_existent name: OO_INLINE_EXAMPLE_main ld_name: no yet set offset: -1 -irg = g37" +irg = g35" } -edge: { sourcename: "e24" targetname: "t22"class: 3 label: "type" color: red} -edge: { sourcename: "e24" targetname: "n23"label: "value 0"} -node: {title: "n23" label: "&(GlobalType_OO_INLINE_EXAMPLE_main)P 23" color: yellow info1: "visited: 1 +edge: { sourcename: "e23" targetname: "t21"class: 3 label: "type" color: red} +edge: { sourcename: "e23" targetname: "n22"label: "value 0"} +node: {title: "n22" label: "&(GlobalType_OO_INLINE_EXAMPLE_main)P 22" color: yellow info1: "visited: 1 +arity: 0 Const of type type_unknown "} node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "t0" targetname: "e24"class: 12 label: "member" color:blue} -node: {title: "t22" label: "method OO_INLINE_EXAMPLE_main" info1: "state: layout_fixed, +edge: { sourcename: "t0" targetname: "e23"class: 12 label: "member" color:blue} +node: {title: "t21" label: "method OO_INLINE_EXAMPLE_main" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t22" targetname: "t12"class: 6 label: "res 0" color: green} -node: {title: "t25" label: "class OO_INLINE_EXAMPLE_mainframe_tp" info1: "state: layout_undefined +edge: { sourcename: "t21" targetname: "t11"class: 6 label: "res 0" color: green} +node: {title: "t24" label: "class OO_INLINE_EXAMPLE_mainframe_tp" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "n210" targetname: "e15"class: 2 priority: 2 linestyle: dotted} -edge: { sourcename: "n212" targetname: "t13"class: 2 priority: 2 linestyle: dotted} -edge: { sourcename: "n213" targetname: "t13"class: 2 priority: 2 linestyle: dotted} -edge: { sourcename: "n218" targetname: "e15"class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n206" targetname: "e14"class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n208" targetname: "t12"class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n209" targetname: "t12"class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n214" targetname: "e14"class: 2 priority: 2 linestyle: dotted} } diff --git a/testprograms/ref-results/OO_INLINE_EXAMPLE_main.vcg b/testprograms/ref-results/OO_INLINE_EXAMPLE_main.vcg index db6416cf6..0c3e5dcfc 100644 --- a/testprograms/ref-results/OO_INLINE_EXAMPLE_main.vcg +++ b/testprograms/ref-results/OO_INLINE_EXAMPLE_main.vcg @@ -17,115 +17,136 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -graph: { title: "g37" label: "OO_INLINE_EXAMPLE_main" status:clustered color:white -graph: { title: "n200" label: "Block 200" status:clustered color:yellow -edge: {sourcename: "n200" targetname: "n202" label: "0" color: red} -edge: {sourcename: "n200" targetname: "n201" label: "1" color: red} -node: {title: "n204" label: "PhiM 204" color: green info1: "visited: 21 +graph: { title: "g35" label: "OO_INLINE_EXAMPLE_main" status:clustered color:white +graph: { title: "n196" label: "Block 196" status:clustered color:yellow +edge: {sourcename: "n196" targetname: "n198" label: "0" color: red} +edge: {sourcename: "n196" targetname: "n197" label: "1" color: red} +node: {title: "n200" label: "PhiM 200" color: green info1: "visited: 21 irg: OO_INLINE_EXAMPLE_main +arity: 2 backedges: "} -edge: {sourcename: "n204" targetname: "n215" label: "0" color: blue} -edge: {sourcename: "n204" targetname: "n205" label: "1" color: blue} -node: {title: "n205" label: "Store 205" info1: "visited: 21 +edge: {sourcename: "n200" targetname: "n211" label: "0" color: blue} +edge: {sourcename: "n200" targetname: "n201" label: "1" color: blue} +node: {title: "n201" label: "Store 201" info1: "visited: 21 irg: OO_INLINE_EXAMPLE_main +arity: 3 "} -edge: {sourcename: "n205" targetname: "n204" label: "0" color: blue} -edge: {sourcename: "n205" targetname: "n210" label: "1" } -edge: {sourcename: "n205" targetname: "n206" label: "2" } -node: {title: "n210" label: "Sel a 210" info1: "visited: 21 +edge: {sourcename: "n201" targetname: "n200" label: "0" color: blue} +edge: {sourcename: "n201" targetname: "n206" label: "1" } +edge: {sourcename: "n201" targetname: "n202" label: "2" } +node: {title: "n206" label: "Sel a 206" info1: "visited: 21 irg: OO_INLINE_EXAMPLE_main +arity: 2 Selecting entity of type int from entity of type PRIMA_INLINE "} -edge: {sourcename: "n210" targetname: "n204" label: "0" color: blue} -edge: {sourcename: "n210" targetname: "n211" label: "1" } -node: {title: "n206" label: "PhiIs 206" color: green info1: "visited: 21 +edge: {sourcename: "n206" targetname: "n200" label: "0" color: blue} +edge: {sourcename: "n206" targetname: "n207" label: "1" } +node: {title: "n202" label: "PhiIs 202" color: green info1: "visited: 21 irg: OO_INLINE_EXAMPLE_main +arity: 2 backedges: "} -edge: {sourcename: "n206" targetname: "n209" label: "0" } -edge: {sourcename: "n206" targetname: "n207" label: "1" } -node: {title: "n207" label: "PhiIs 207" color: green info1: "visited: 21 +edge: {sourcename: "n202" targetname: "n205" label: "0" } +edge: {sourcename: "n202" targetname: "n203" label: "1" } +node: {title: "n203" label: "PhiIs 203" color: green info1: "visited: 21 irg: OO_INLINE_EXAMPLE_main +arity: 2 backedges: "} -edge: {sourcename: "n207" targetname: "n208" label: "0" } -edge: {sourcename: "n207" targetname: "n206" label: "1" } -node: {title: "n201" label: "Jmp 201" info1: "visited: 21 +edge: {sourcename: "n203" targetname: "n204" label: "0" } +edge: {sourcename: "n203" targetname: "n202" label: "1" } +node: {title: "n197" label: "Jmp 197" info1: "visited: 21 irg: OO_INLINE_EXAMPLE_main +arity: 0 "} } -graph: { title: "n203" label: "Block 203" status:clustered color:yellow -edge: {sourcename: "n203" targetname: "n198" label: "0" color: red} -node: {title: "n215" label: "ProjM 0 215" color: yellow info1: "visited: 21 +graph: { title: "n199" label: "Block 199" status:clustered color:yellow +edge: {sourcename: "n199" targetname: "n194" label: "0" color: red} +node: {title: "n211" label: "ProjM 0 211" color: yellow info1: "visited: 21 irg: OO_INLINE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n215" targetname: "n216" label: "0" color: blue} -node: {title: "n216" label: "Store 216" info1: "visited: 21 +edge: {sourcename: "n211" targetname: "n212" label: "0" color: blue} +node: {title: "n212" label: "Store 212" info1: "visited: 21 irg: OO_INLINE_EXAMPLE_main +arity: 3 "} -edge: {sourcename: "n216" targetname: "n219" label: "0" color: blue} -edge: {sourcename: "n216" targetname: "n218" label: "1" } -edge: {sourcename: "n216" targetname: "n217" label: "2" } -node: {title: "n218" label: "Sel a 218" info1: "visited: 21 +edge: {sourcename: "n212" targetname: "n215" label: "0" color: blue} +edge: {sourcename: "n212" targetname: "n214" label: "1" } +edge: {sourcename: "n212" targetname: "n213" label: "2" } +node: {title: "n214" label: "Sel a 214" info1: "visited: 21 irg: OO_INLINE_EXAMPLE_main +arity: 2 Selecting entity of type int from entity of type PRIMA_INLINE "} -edge: {sourcename: "n218" targetname: "n219" label: "0" color: blue} -edge: {sourcename: "n218" targetname: "n211" label: "1" } -node: {title: "n219" label: "ProjM 0 219" color: yellow info1: "visited: 21 +edge: {sourcename: "n214" targetname: "n215" label: "0" color: blue} +edge: {sourcename: "n214" targetname: "n207" label: "1" } +node: {title: "n215" label: "ProjM 0 215" color: yellow info1: "visited: 21 irg: OO_INLINE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n219" targetname: "n212" label: "0" color: blue} -node: {title: "n211" label: "ProjP 2 211" color: yellow info1: "visited: 21 +edge: {sourcename: "n215" targetname: "n208" label: "0" color: blue} +node: {title: "n207" label: "ProjP 2 207" color: yellow info1: "visited: 21 irg: OO_INLINE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n211" targetname: "n212" label: "0" } -node: {title: "n212" label: "Alloc 212" info1: "visited: 21 +edge: {sourcename: "n207" targetname: "n208" label: "0" } +node: {title: "n208" label: "Alloc 208" info1: "visited: 21 irg: OO_INLINE_EXAMPLE_main +arity: 2 allocating entity of type PRIMA_INLINE "} -edge: {sourcename: "n212" targetname: "n214" label: "0" color: blue} -edge: {sourcename: "n212" targetname: "n213" label: "1" } -node: {title: "n208" label: "0x0Is 208" color: yellow info1: "visited: 21 +edge: {sourcename: "n208" targetname: "n210" label: "0" color: blue} +edge: {sourcename: "n208" targetname: "n209" label: "1" } +node: {title: "n204" label: "0x0Is 204" color: yellow info1: "visited: 21 irg: OO_INLINE_EXAMPLE_main +arity: 0 Const of type type_unknown "} -node: {title: "n202" label: "Jmp 202" info1: "visited: 21 +node: {title: "n198" label: "Jmp 198" info1: "visited: 21 irg: OO_INLINE_EXAMPLE_main +arity: 0 "} } -graph: { title: "n197" label: "Block 197" status:clustered color:yellow -edge: {sourcename: "n197" targetname: "n198" label: "0" color: red} -node: {title: "n217" label: "0x2Is 217" color: yellow info1: "visited: 21 +graph: { title: "n193" label: "Block 193" status:clustered color:yellow +edge: {sourcename: "n193" targetname: "n194" label: "0" color: red} +node: {title: "n213" label: "0x2Is 213" color: yellow info1: "visited: 21 irg: OO_INLINE_EXAMPLE_main +arity: 0 Const of type type_unknown "} -node: {title: "n214" label: "ProjM 1 214" color: yellow info1: "visited: 21 +node: {title: "n210" label: "ProjM 1 210" color: yellow info1: "visited: 21 irg: OO_INLINE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n214" targetname: "n199" label: "0" color: blue} -node: {title: "n213" label: "SymC PRIMA_INLINE size 213" info1: "visited: 21 +edge: {sourcename: "n210" targetname: "n195" label: "0" color: blue} +node: {title: "n209" label: "SymC PRIMA_INLINE size 209" info1: "visited: 21 irg: OO_INLINE_EXAMPLE_main +arity: 0 "} -node: {title: "n209" label: "0x5Is 209" color: yellow info1: "visited: 21 +node: {title: "n205" label: "0x5Is 205" color: yellow info1: "visited: 21 irg: OO_INLINE_EXAMPLE_main +arity: 0 Const of type type_unknown "} -node: {title: "n198" label: "ProjX 0 198" color: yellow info1: "visited: 21 +node: {title: "n194" label: "ProjX 0 194" color: yellow info1: "visited: 21 irg: OO_INLINE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n198" targetname: "n199" label: "0" color: red} -node: {title: "n199" label: "Start 199" color: blue info1: "visited: 21 +edge: {sourcename: "n194" targetname: "n195" label: "0" color: red} +node: {title: "n195" label: "Start 195" color: blue info1: "visited: 21 irg: OO_INLINE_EXAMPLE_main +arity: 0 start of method of type OO_INLINE_EXAMPLE_main "} } -graph: { title: "n195" label: "Block 195" status:clustered color:yellow -node: {title: "n194" label: "End 194" color: blue info1: "visited: 21 +graph: { title: "n191" label: "Block 191" status:clustered color:yellow +node: {title: "n190" label: "End 190" color: blue info1: "visited: 21 irg: OO_INLINE_EXAMPLE_main +arity: 2 "} } diff --git a/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-pure-wtypes.vcg b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-pure-wtypes.vcg index 8612e40c9..da6dbc258 100644 --- a/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-pure-wtypes.vcg +++ b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-pure-wtypes.vcg @@ -17,154 +17,176 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -node: {title: "n112" label: "Block 112" color: lightyellow info1: "visited: 17 +node: {title: "n108" label: "Block 108" color: lightyellow info1: "visited: 17 irg: OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: "} -edge: {sourcename: "n112" targetname: "n111" label: "0" color: red} -node: {title: "n113" label: "Start 113" color: blue info1: "visited: 17 +edge: {sourcename: "n108" targetname: "n107" label: "0" color: red} +node: {title: "n109" label: "Start 109" color: blue info1: "visited: 17 irg: OO_PROGRAM_EXAMPLE_main +arity: 0 start of method of type OO_PROGRAM_EXAMPLE_main "} -edge: { sourcename: "n113" targetname: "n112" class: 2 priority: 2 linestyle: dotted} -node: {title: "n111" label: "ProjX 0 111" color: yellow info1: "visited: 17 +edge: { sourcename: "n109" targetname: "n108" class: 2 priority: 2 linestyle: dotted} +node: {title: "n107" label: "ProjX 0 107" color: yellow info1: "visited: 17 irg: OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n111" targetname: "n113" label: "0" color: red} -edge: { sourcename: "n111" targetname: "n112" class: 2 priority: 2 linestyle: dotted} -node: {title: "n110" label: "Block 110" color: lightyellow info1: "visited: 17 +edge: {sourcename: "n107" targetname: "n109" label: "0" color: red} +edge: { sourcename: "n107" targetname: "n108" class: 2 priority: 2 linestyle: dotted} +node: {title: "n106" label: "Block 106" color: lightyellow info1: "visited: 17 irg: OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: "} -edge: {sourcename: "n110" targetname: "n111" label: "0" color: red} -node: {title: "n121" label: "ProjM 1 121" color: yellow info1: "visited: 17 +edge: {sourcename: "n106" targetname: "n107" label: "0" color: red} +node: {title: "n117" label: "ProjM 1 117" color: yellow info1: "visited: 17 irg: OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n121" targetname: "n113" label: "0" color: blue} -edge: { sourcename: "n121" targetname: "n112" class: 2 priority: 2 linestyle: dotted} -node: {title: "n119" label: "Alloc 119" info1: "visited: 17 +edge: {sourcename: "n117" targetname: "n109" label: "0" color: blue} +edge: { sourcename: "n117" targetname: "n108" class: 2 priority: 2 linestyle: dotted} +node: {title: "n115" label: "Alloc 115" info1: "visited: 17 irg: OO_PROGRAM_EXAMPLE_main +arity: 2 allocating entity of type PRIMA "} -node: {title: "n119n120" label: "SymC PRIMA size 120" info1: "visited: 17 +node: {title: "n115n116" label: "SymC PRIMA size 116" info1: "visited: 17 irg: OO_PROGRAM_EXAMPLE_main +arity: 0 "} -edge: {sourcename: "n119" targetname: "n121" label: "0" color: blue} -edge: {sourcename: "n119" targetname: "n119n120" label: "1" } -edge: { sourcename: "n119" targetname: "n110" class: 2 priority: 2 linestyle: dotted} -node: {title: "n118" label: "ProjP 2 118" color: yellow info1: "visited: 17 +edge: {sourcename: "n115" targetname: "n117" label: "0" color: blue} +edge: {sourcename: "n115" targetname: "n115n116" label: "1" } +edge: { sourcename: "n115" targetname: "n106" class: 2 priority: 2 linestyle: dotted} +node: {title: "n114" label: "ProjP 2 114" color: yellow info1: "visited: 17 irg: OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n118" targetname: "n119" label: "0" } -edge: { sourcename: "n118" targetname: "n110" class: 2 priority: 2 linestyle: dotted} -node: {title: "n127" label: "ProjM 0 127" color: yellow info1: "visited: 17 +edge: {sourcename: "n114" targetname: "n115" label: "0" } +edge: { sourcename: "n114" targetname: "n106" class: 2 priority: 2 linestyle: dotted} +node: {title: "n123" label: "ProjM 0 123" color: yellow info1: "visited: 17 irg: OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n127" targetname: "n119" label: "0" color: blue} -edge: { sourcename: "n127" targetname: "n110" class: 2 priority: 2 linestyle: dotted} -node: {title: "n126" label: "Sel PRIMA_set_a 126" info1: "visited: 17 +edge: {sourcename: "n123" targetname: "n115" label: "0" color: blue} +edge: { sourcename: "n123" targetname: "n106" class: 2 priority: 2 linestyle: dotted} +node: {title: "n122" label: "Sel PRIMA_set_a 122" info1: "visited: 17 irg: OO_PROGRAM_EXAMPLE_main +arity: 2 Selecting entity of type set_a from entity of type PRIMA "} -edge: {sourcename: "n126" targetname: "n127" label: "0" color: blue} -edge: {sourcename: "n126" targetname: "n118" label: "1" } -edge: { sourcename: "n126" targetname: "n110" class: 2 priority: 2 linestyle: dotted} -node: {title: "n124" label: "Call 124" info1: "visited: 17 +edge: {sourcename: "n122" targetname: "n123" label: "0" color: blue} +edge: {sourcename: "n122" targetname: "n114" label: "1" } +edge: { sourcename: "n122" targetname: "n106" class: 2 priority: 2 linestyle: dotted} +node: {title: "n120" label: "Call 120" info1: "visited: 17 irg: OO_PROGRAM_EXAMPLE_main +arity: 4 calling method of type set_a param 0 type: class_prima_ptr param 1 type: int "} -node: {title: "n124n125" label: "0x2Is 125" color: yellow info1: "visited: 17 +node: {title: "n120n121" label: "0x2Is 121" color: yellow info1: "visited: 17 irg: OO_PROGRAM_EXAMPLE_main +arity: 0 Const of type type_unknown "} -edge: {sourcename: "n124" targetname: "n127" label: "0" color: blue} -edge: {sourcename: "n124" targetname: "n126" label: "1" } -edge: {sourcename: "n124" targetname: "n118" label: "2" } -edge: {sourcename: "n124" targetname: "n124n125" label: "3" } -edge: { sourcename: "n124" targetname: "n110" class: 2 priority: 2 linestyle: dotted} -node: {title: "n123" label: "ProjM 0 123" color: yellow info1: "visited: 17 +edge: {sourcename: "n120" targetname: "n123" label: "0" color: blue} +edge: {sourcename: "n120" targetname: "n122" label: "1" } +edge: {sourcename: "n120" targetname: "n114" label: "2" } +edge: {sourcename: "n120" targetname: "n120n121" label: "3" } +edge: { sourcename: "n120" targetname: "n106" class: 2 priority: 2 linestyle: dotted} +node: {title: "n119" label: "ProjM 0 119" color: yellow info1: "visited: 17 irg: OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n123" targetname: "n124" label: "0" color: blue} -edge: { sourcename: "n123" targetname: "n110" class: 2 priority: 2 linestyle: dotted} -node: {title: "n122" label: "Sel PRIMA_c 122" info1: "visited: 17 +edge: {sourcename: "n119" targetname: "n120" label: "0" color: blue} +edge: { sourcename: "n119" targetname: "n106" class: 2 priority: 2 linestyle: dotted} +node: {title: "n118" label: "Sel PRIMA_c 118" info1: "visited: 17 irg: OO_PROGRAM_EXAMPLE_main +arity: 2 Selecting entity of type c from entity of type PRIMA "} -edge: {sourcename: "n122" targetname: "n123" label: "0" color: blue} -edge: {sourcename: "n122" targetname: "n118" label: "1" } -edge: { sourcename: "n122" targetname: "n110" class: 2 priority: 2 linestyle: dotted} -node: {title: "n116" label: "Call 116" info1: "visited: 17 +edge: {sourcename: "n118" targetname: "n119" label: "0" color: blue} +edge: {sourcename: "n118" targetname: "n114" label: "1" } +edge: { sourcename: "n118" targetname: "n106" class: 2 priority: 2 linestyle: dotted} +node: {title: "n112" label: "Call 112" info1: "visited: 17 irg: OO_PROGRAM_EXAMPLE_main +arity: 4 calling method of type c param 0 type: class_prima_ptr param 1 type: int resul 0 type: int "} -node: {title: "n116n117" label: "0x5Is 117" color: yellow info1: "visited: 17 +node: {title: "n112n113" label: "0x5Is 113" color: yellow info1: "visited: 17 irg: OO_PROGRAM_EXAMPLE_main +arity: 0 Const of type type_unknown "} -edge: {sourcename: "n116" targetname: "n123" label: "0" color: blue} -edge: {sourcename: "n116" targetname: "n122" label: "1" } -edge: {sourcename: "n116" targetname: "n118" label: "2" } -edge: {sourcename: "n116" targetname: "n116n117" label: "3" } -edge: { sourcename: "n116" targetname: "n110" class: 2 priority: 2 linestyle: dotted} -node: {title: "n115" label: "ProjT 2 115" color: yellow info1: "visited: 17 +edge: {sourcename: "n112" targetname: "n119" label: "0" color: blue} +edge: {sourcename: "n112" targetname: "n118" label: "1" } +edge: {sourcename: "n112" targetname: "n114" label: "2" } +edge: {sourcename: "n112" targetname: "n112n113" label: "3" } +edge: { sourcename: "n112" targetname: "n106" class: 2 priority: 2 linestyle: dotted} +node: {title: "n111" label: "ProjT 2 111" color: yellow info1: "visited: 17 irg: OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n115" targetname: "n116" label: "0" } -edge: { sourcename: "n115" targetname: "n110" class: 2 priority: 2 linestyle: dotted} -node: {title: "n114" label: "ProjIs 0 114" color: yellow info1: "visited: 17 +edge: {sourcename: "n111" targetname: "n112" label: "0" } +edge: { sourcename: "n111" targetname: "n106" class: 2 priority: 2 linestyle: dotted} +node: {title: "n110" label: "ProjIs 0 110" color: yellow info1: "visited: 17 irg: OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n114" targetname: "n115" label: "0" } -edge: { sourcename: "n114" targetname: "n110" class: 2 priority: 2 linestyle: dotted} -node: {title: "n128" label: "ProjM 0 128" color: yellow info1: "visited: 17 +edge: {sourcename: "n110" targetname: "n111" label: "0" } +edge: { sourcename: "n110" targetname: "n106" class: 2 priority: 2 linestyle: dotted} +node: {title: "n124" label: "ProjM 0 124" color: yellow info1: "visited: 17 irg: OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n128" targetname: "n116" label: "0" color: blue} -edge: { sourcename: "n128" targetname: "n110" class: 2 priority: 2 linestyle: dotted} -node: {title: "n109" label: "Return 109" info1: "visited: 17 +edge: {sourcename: "n124" targetname: "n112" label: "0" color: blue} +edge: { sourcename: "n124" targetname: "n106" class: 2 priority: 2 linestyle: dotted} +node: {title: "n105" label: "Return 105" info1: "visited: 17 irg: OO_PROGRAM_EXAMPLE_main +arity: 2 return in method of type OO_PROGRAM_EXAMPLE_main res 0 type: int "} -edge: {sourcename: "n109" targetname: "n128" label: "0" color: blue} -edge: {sourcename: "n109" targetname: "n114" label: "1" } -edge: { sourcename: "n109" targetname: "n110" class: 2 priority: 2 linestyle: dotted} -node: {title: "n108" label: "Block 108" color: lightyellow info1: "visited: 17 +edge: {sourcename: "n105" targetname: "n124" label: "0" color: blue} +edge: {sourcename: "n105" targetname: "n110" label: "1" } +edge: { sourcename: "n105" targetname: "n106" class: 2 priority: 2 linestyle: dotted} +node: {title: "n104" label: "Block 104" color: lightyellow info1: "visited: 17 irg: OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: "} -edge: {sourcename: "n108" targetname: "n109" label: "0" color: red} -node: {title: "n107" label: "End 107" color: blue info1: "visited: 17 +edge: {sourcename: "n104" targetname: "n105" label: "0" color: red} +node: {title: "n103" label: "End 103" color: blue info1: "visited: 17 irg: OO_PROGRAM_EXAMPLE_main +arity: 0 "} -edge: { sourcename: "n107" targetname: "n108" class: 2 priority: 2 linestyle: dotted} -node: {title: "t19" label: "method c" info1: "state: layout_fixed, +edge: { sourcename: "n103" targetname: "n104" class: 2 priority: 2 linestyle: dotted} +node: {title: "t18" label: "method c" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t19" targetname: "t14"class: 5 label: "param 0" color: green} -edge: { sourcename: "t19" targetname: "t12"class: 5 label: "param 1" color: green} -edge: { sourcename: "t19" targetname: "t12"class: 6 label: "res 0" color: green} -node: {title: "t14" label: "pointer class_prima_ptr" info1: "state: layout_fixed, +edge: { sourcename: "t18" targetname: "t13"class: 5 label: "param 0" color: green} +edge: { sourcename: "t18" targetname: "t11"class: 5 label: "param 1" color: green} +edge: { sourcename: "t18" targetname: "t11"class: 6 label: "res 0" color: green} +node: {title: "t13" label: "pointer class_prima_ptr" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t14" targetname: "t13"class: 9 label: "points to" color:green} -node: {title: "t13" label: "class PRIMA" info1: "state: layout_undefined +edge: { sourcename: "t13" targetname: "t12"class: 9 label: "points to" color:green} +node: {title: "t12" label: "class PRIMA" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "t13" targetname: "e15"class: 12 label: "member" color:blue} -edge: { sourcename: "t13" targetname: "e18"class: 12 label: "member" color:blue} -edge: { sourcename: "t13" targetname: "e21"class: 12 label: "member" color:blue} -node: {title: "e15" label: "ent a" color: yellow +edge: { sourcename: "t12" targetname: "e14"class: 12 label: "member" color:blue} +edge: { sourcename: "t12" targetname: "e17"class: 12 label: "member" color:blue} +edge: { sourcename: "t12" targetname: "e20"class: 12 label: "member" color:blue} +node: {title: "e14" label: "ent a" color: yellow info1: " -id: e15 +id: e14 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized @@ -174,14 +196,14 @@ name: a ld_name: no yet set offset: -1" } -edge: { sourcename: "e15" targetname: "t12"class: 3 label: "type" color: red} -node: {title: "t12" label: "primitive int" info1: "state: layout_fixed, +edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red} +node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, mode: Is, size: 4B, "} -node: {title: "e18" label: "ent PRIMA_set_a" color: yellow +node: {title: "e17" label: "ent PRIMA_set_a" color: yellow info1: " -id: e18 +id: e17 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -190,22 +212,23 @@ peculiarity: peculiarity_existent name: PRIMA_set_a ld_name: PRIMA_set_a offset: -1 -irg = g71" +irg = g68" } -edge: { sourcename: "e18" targetname: "t16"class: 3 label: "type" color: red} -edge: { sourcename: "e18" targetname: "n17"label: "value 0"} -node: {title: "n17" label: "&(PRIMA_set_a)P 17" color: yellow info1: "visited: 1 +edge: { sourcename: "e17" targetname: "t15"class: 3 label: "type" color: red} +edge: { sourcename: "e17" targetname: "n16"label: "value 0"} +node: {title: "n16" label: "&(PRIMA_set_a)P 16" color: yellow info1: "visited: 1 +arity: 0 Const of type type_unknown "} -node: {title: "t16" label: "method set_a" info1: "state: layout_fixed, +node: {title: "t15" label: "method set_a" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t16" targetname: "t14"class: 5 label: "param 0" color: green} -edge: { sourcename: "t16" targetname: "t12"class: 5 label: "param 1" color: green} -node: {title: "e21" label: "ent PRIMA_c" color: yellow +edge: { sourcename: "t15" targetname: "t13"class: 5 label: "param 0" color: green} +edge: { sourcename: "t15" targetname: "t11"class: 5 label: "param 1" color: green} +node: {title: "e20" label: "ent PRIMA_c" color: yellow info1: " -id: e21 +id: e20 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -214,16 +237,17 @@ peculiarity: peculiarity_existent name: PRIMA_c ld_name: PRIMA_c offset: -1 -irg = g94" +irg = g90" } -edge: { sourcename: "e21" targetname: "t19"class: 3 label: "type" color: red} -edge: { sourcename: "e21" targetname: "n20"label: "value 0"} -node: {title: "n20" label: "&(PRIMA_c)P 20" color: yellow info1: "visited: 1 +edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red} +edge: { sourcename: "e20" targetname: "n19"label: "value 0"} +node: {title: "n19" label: "&(PRIMA_c)P 19" color: yellow info1: "visited: 1 +arity: 0 Const of type type_unknown "} -node: {title: "e24" label: "ent OO_PROGRAM_EXAMPLE_main" color: yellow +node: {title: "e23" label: "ent OO_PROGRAM_EXAMPLE_main" color: yellow info1: " -id: e24 +id: e23 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -232,31 +256,32 @@ peculiarity: peculiarity_existent name: OO_PROGRAM_EXAMPLE_main ld_name: no yet set offset: -1 -irg = g37" +irg = g35" } -edge: { sourcename: "e24" targetname: "t22"class: 3 label: "type" color: red} -edge: { sourcename: "e24" targetname: "n23"label: "value 0"} -node: {title: "n23" label: "&(GlobalType_OO_PROGRAM_EXAMPLE_main)P 23" color: yellow info1: "visited: 1 +edge: { sourcename: "e23" targetname: "t21"class: 3 label: "type" color: red} +edge: { sourcename: "e23" targetname: "n22"label: "value 0"} +node: {title: "n22" label: "&(GlobalType_OO_PROGRAM_EXAMPLE_main)P 22" color: yellow info1: "visited: 1 +arity: 0 Const of type type_unknown "} node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "t0" targetname: "e24"class: 12 label: "member" color:blue} -node: {title: "t22" label: "method OO_PROGRAM_EXAMPLE_main" info1: "state: layout_fixed, +edge: { sourcename: "t0" targetname: "e23"class: 12 label: "member" color:blue} +node: {title: "t21" label: "method OO_PROGRAM_EXAMPLE_main" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t22" targetname: "t12"class: 6 label: "res 0" color: green} -node: {title: "t25" label: "class OO_PROGRAM_EXAMPLE_mainframe_tp" info1: "state: layout_undefined +edge: { sourcename: "t21" targetname: "t11"class: 6 label: "res 0" color: green} +node: {title: "t24" label: "class OO_PROGRAM_EXAMPLE_mainframe_tp" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "n116" targetname: "t19"class: 2 priority: 2 linestyle: dotted} -edge: { sourcename: "n119" targetname: "t13"class: 2 priority: 2 linestyle: dotted} -edge: { sourcename: "n120" targetname: "t13"class: 2 priority: 2 linestyle: dotted} -edge: { sourcename: "n122" targetname: "e21"class: 2 priority: 2 linestyle: dotted} -edge: { sourcename: "n124" targetname: "t16"class: 2 priority: 2 linestyle: dotted} -edge: { sourcename: "n126" targetname: "e18"class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n112" targetname: "t18"class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n115" targetname: "t12"class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n116" targetname: "t12"class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n118" targetname: "e20"class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n120" targetname: "t15"class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n122" targetname: "e17"class: 2 priority: 2 linestyle: dotted} } diff --git a/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-pure.vcg b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-pure.vcg index 9f643fdc5..bd44434de 100644 --- a/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-pure.vcg +++ b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-pure.vcg @@ -17,130 +17,152 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -node: {title: "n112" label: "Block 112" color: lightyellow info1: "visited: 15 +node: {title: "n108" label: "Block 108" color: lightyellow info1: "visited: 15 irg: OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: "} -edge: {sourcename: "n112" targetname: "n111" label: "0" color: red} -node: {title: "n113" label: "Start 113" color: blue info1: "visited: 15 +edge: {sourcename: "n108" targetname: "n107" label: "0" color: red} +node: {title: "n109" label: "Start 109" color: blue info1: "visited: 15 irg: OO_PROGRAM_EXAMPLE_main +arity: 0 start of method of type OO_PROGRAM_EXAMPLE_main "} -edge: { sourcename: "n113" targetname: "n112" class: 2 priority: 2 linestyle: dotted} -node: {title: "n111" label: "ProjX 0 111" color: yellow info1: "visited: 15 +edge: { sourcename: "n109" targetname: "n108" class: 2 priority: 2 linestyle: dotted} +node: {title: "n107" label: "ProjX 0 107" color: yellow info1: "visited: 15 irg: OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n111" targetname: "n113" label: "0" color: red} -edge: { sourcename: "n111" targetname: "n112" class: 2 priority: 2 linestyle: dotted} -node: {title: "n110" label: "Block 110" color: lightyellow info1: "visited: 15 +edge: {sourcename: "n107" targetname: "n109" label: "0" color: red} +edge: { sourcename: "n107" targetname: "n108" class: 2 priority: 2 linestyle: dotted} +node: {title: "n106" label: "Block 106" color: lightyellow info1: "visited: 15 irg: OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: "} -edge: {sourcename: "n110" targetname: "n111" label: "0" color: red} -node: {title: "n121" label: "ProjM 1 121" color: yellow info1: "visited: 15 +edge: {sourcename: "n106" targetname: "n107" label: "0" color: red} +node: {title: "n117" label: "ProjM 1 117" color: yellow info1: "visited: 15 irg: OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n121" targetname: "n113" label: "0" color: blue} -edge: { sourcename: "n121" targetname: "n112" class: 2 priority: 2 linestyle: dotted} -node: {title: "n119" label: "Alloc 119" info1: "visited: 15 +edge: {sourcename: "n117" targetname: "n109" label: "0" color: blue} +edge: { sourcename: "n117" targetname: "n108" class: 2 priority: 2 linestyle: dotted} +node: {title: "n115" label: "Alloc 115" info1: "visited: 15 irg: OO_PROGRAM_EXAMPLE_main +arity: 2 allocating entity of type PRIMA "} -node: {title: "n119n120" label: "SymC PRIMA size 120" info1: "visited: 15 +node: {title: "n115n116" label: "SymC PRIMA size 116" info1: "visited: 15 irg: OO_PROGRAM_EXAMPLE_main +arity: 0 "} -edge: {sourcename: "n119" targetname: "n121" label: "0" color: blue} -edge: {sourcename: "n119" targetname: "n119n120" label: "1" } -edge: { sourcename: "n119" targetname: "n110" class: 2 priority: 2 linestyle: dotted} -node: {title: "n118" label: "ProjP 2 118" color: yellow info1: "visited: 15 +edge: {sourcename: "n115" targetname: "n117" label: "0" color: blue} +edge: {sourcename: "n115" targetname: "n115n116" label: "1" } +edge: { sourcename: "n115" targetname: "n106" class: 2 priority: 2 linestyle: dotted} +node: {title: "n114" label: "ProjP 2 114" color: yellow info1: "visited: 15 irg: OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n118" targetname: "n119" label: "0" } -edge: { sourcename: "n118" targetname: "n110" class: 2 priority: 2 linestyle: dotted} -node: {title: "n127" label: "ProjM 0 127" color: yellow info1: "visited: 15 +edge: {sourcename: "n114" targetname: "n115" label: "0" } +edge: { sourcename: "n114" targetname: "n106" class: 2 priority: 2 linestyle: dotted} +node: {title: "n123" label: "ProjM 0 123" color: yellow info1: "visited: 15 irg: OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n127" targetname: "n119" label: "0" color: blue} -edge: { sourcename: "n127" targetname: "n110" class: 2 priority: 2 linestyle: dotted} -node: {title: "n126" label: "Sel PRIMA_set_a 126" info1: "visited: 15 +edge: {sourcename: "n123" targetname: "n115" label: "0" color: blue} +edge: { sourcename: "n123" targetname: "n106" class: 2 priority: 2 linestyle: dotted} +node: {title: "n122" label: "Sel PRIMA_set_a 122" info1: "visited: 15 irg: OO_PROGRAM_EXAMPLE_main +arity: 2 Selecting entity of type set_a from entity of type PRIMA "} -edge: {sourcename: "n126" targetname: "n127" label: "0" color: blue} -edge: {sourcename: "n126" targetname: "n118" label: "1" } -edge: { sourcename: "n126" targetname: "n110" class: 2 priority: 2 linestyle: dotted} -node: {title: "n124" label: "Call 124" info1: "visited: 15 +edge: {sourcename: "n122" targetname: "n123" label: "0" color: blue} +edge: {sourcename: "n122" targetname: "n114" label: "1" } +edge: { sourcename: "n122" targetname: "n106" class: 2 priority: 2 linestyle: dotted} +node: {title: "n120" label: "Call 120" info1: "visited: 15 irg: OO_PROGRAM_EXAMPLE_main +arity: 4 calling method of type set_a param 0 type: class_prima_ptr param 1 type: int "} -node: {title: "n124n125" label: "0x2Is 125" color: yellow info1: "visited: 15 +node: {title: "n120n121" label: "0x2Is 121" color: yellow info1: "visited: 15 irg: OO_PROGRAM_EXAMPLE_main +arity: 0 Const of type type_unknown "} -edge: {sourcename: "n124" targetname: "n127" label: "0" color: blue} -edge: {sourcename: "n124" targetname: "n126" label: "1" } -edge: {sourcename: "n124" targetname: "n118" label: "2" } -edge: {sourcename: "n124" targetname: "n124n125" label: "3" } -edge: { sourcename: "n124" targetname: "n110" class: 2 priority: 2 linestyle: dotted} -node: {title: "n123" label: "ProjM 0 123" color: yellow info1: "visited: 15 +edge: {sourcename: "n120" targetname: "n123" label: "0" color: blue} +edge: {sourcename: "n120" targetname: "n122" label: "1" } +edge: {sourcename: "n120" targetname: "n114" label: "2" } +edge: {sourcename: "n120" targetname: "n120n121" label: "3" } +edge: { sourcename: "n120" targetname: "n106" class: 2 priority: 2 linestyle: dotted} +node: {title: "n119" label: "ProjM 0 119" color: yellow info1: "visited: 15 irg: OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n123" targetname: "n124" label: "0" color: blue} -edge: { sourcename: "n123" targetname: "n110" class: 2 priority: 2 linestyle: dotted} -node: {title: "n122" label: "Sel PRIMA_c 122" info1: "visited: 15 +edge: {sourcename: "n119" targetname: "n120" label: "0" color: blue} +edge: { sourcename: "n119" targetname: "n106" class: 2 priority: 2 linestyle: dotted} +node: {title: "n118" label: "Sel PRIMA_c 118" info1: "visited: 15 irg: OO_PROGRAM_EXAMPLE_main +arity: 2 Selecting entity of type c from entity of type PRIMA "} -edge: {sourcename: "n122" targetname: "n123" label: "0" color: blue} -edge: {sourcename: "n122" targetname: "n118" label: "1" } -edge: { sourcename: "n122" targetname: "n110" class: 2 priority: 2 linestyle: dotted} -node: {title: "n116" label: "Call 116" info1: "visited: 15 +edge: {sourcename: "n118" targetname: "n119" label: "0" color: blue} +edge: {sourcename: "n118" targetname: "n114" label: "1" } +edge: { sourcename: "n118" targetname: "n106" class: 2 priority: 2 linestyle: dotted} +node: {title: "n112" label: "Call 112" info1: "visited: 15 irg: OO_PROGRAM_EXAMPLE_main +arity: 4 calling method of type c param 0 type: class_prima_ptr param 1 type: int resul 0 type: int "} -node: {title: "n116n117" label: "0x5Is 117" color: yellow info1: "visited: 15 +node: {title: "n112n113" label: "0x5Is 113" color: yellow info1: "visited: 15 irg: OO_PROGRAM_EXAMPLE_main +arity: 0 Const of type type_unknown "} -edge: {sourcename: "n116" targetname: "n123" label: "0" color: blue} -edge: {sourcename: "n116" targetname: "n122" label: "1" } -edge: {sourcename: "n116" targetname: "n118" label: "2" } -edge: {sourcename: "n116" targetname: "n116n117" label: "3" } -edge: { sourcename: "n116" targetname: "n110" class: 2 priority: 2 linestyle: dotted} -node: {title: "n115" label: "ProjT 2 115" color: yellow info1: "visited: 15 +edge: {sourcename: "n112" targetname: "n119" label: "0" color: blue} +edge: {sourcename: "n112" targetname: "n118" label: "1" } +edge: {sourcename: "n112" targetname: "n114" label: "2" } +edge: {sourcename: "n112" targetname: "n112n113" label: "3" } +edge: { sourcename: "n112" targetname: "n106" class: 2 priority: 2 linestyle: dotted} +node: {title: "n111" label: "ProjT 2 111" color: yellow info1: "visited: 15 irg: OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n115" targetname: "n116" label: "0" } -edge: { sourcename: "n115" targetname: "n110" class: 2 priority: 2 linestyle: dotted} -node: {title: "n114" label: "ProjIs 0 114" color: yellow info1: "visited: 15 +edge: {sourcename: "n111" targetname: "n112" label: "0" } +edge: { sourcename: "n111" targetname: "n106" class: 2 priority: 2 linestyle: dotted} +node: {title: "n110" label: "ProjIs 0 110" color: yellow info1: "visited: 15 irg: OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n114" targetname: "n115" label: "0" } -edge: { sourcename: "n114" targetname: "n110" class: 2 priority: 2 linestyle: dotted} -node: {title: "n128" label: "ProjM 0 128" color: yellow info1: "visited: 15 +edge: {sourcename: "n110" targetname: "n111" label: "0" } +edge: { sourcename: "n110" targetname: "n106" class: 2 priority: 2 linestyle: dotted} +node: {title: "n124" label: "ProjM 0 124" color: yellow info1: "visited: 15 irg: OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n128" targetname: "n116" label: "0" color: blue} -edge: { sourcename: "n128" targetname: "n110" class: 2 priority: 2 linestyle: dotted} -node: {title: "n109" label: "Return 109" info1: "visited: 15 +edge: {sourcename: "n124" targetname: "n112" label: "0" color: blue} +edge: { sourcename: "n124" targetname: "n106" class: 2 priority: 2 linestyle: dotted} +node: {title: "n105" label: "Return 105" info1: "visited: 15 irg: OO_PROGRAM_EXAMPLE_main +arity: 2 return in method of type OO_PROGRAM_EXAMPLE_main res 0 type: int "} -edge: {sourcename: "n109" targetname: "n128" label: "0" color: blue} -edge: {sourcename: "n109" targetname: "n114" label: "1" } -edge: { sourcename: "n109" targetname: "n110" class: 2 priority: 2 linestyle: dotted} -node: {title: "n108" label: "Block 108" color: lightyellow info1: "visited: 15 +edge: {sourcename: "n105" targetname: "n124" label: "0" color: blue} +edge: {sourcename: "n105" targetname: "n110" label: "1" } +edge: { sourcename: "n105" targetname: "n106" class: 2 priority: 2 linestyle: dotted} +node: {title: "n104" label: "Block 104" color: lightyellow info1: "visited: 15 irg: OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: "} -edge: {sourcename: "n108" targetname: "n109" label: "0" color: red} -node: {title: "n107" label: "End 107" color: blue info1: "visited: 15 +edge: {sourcename: "n104" targetname: "n105" label: "0" color: red} +node: {title: "n103" label: "End 103" color: blue info1: "visited: 15 irg: OO_PROGRAM_EXAMPLE_main +arity: 0 "} -edge: { sourcename: "n107" targetname: "n108" class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n103" targetname: "n104" class: 2 priority: 2 linestyle: dotted} } diff --git a/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main.vcg b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main.vcg index 92fe49427..63f827111 100644 --- a/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main.vcg +++ b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main.vcg @@ -17,113 +17,132 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -graph: { title: "g37" label: "OO_PROGRAM_EXAMPLE_main" status:clustered color:white -graph: { title: "n108" label: "Block 108" status:clustered color:yellow -edge: {sourcename: "n108" targetname: "n109" label: "0" color: red} -node: {title: "n107" label: "End 107" color: blue info1: "visited: 16 +graph: { title: "g35" label: "OO_PROGRAM_EXAMPLE_main" status:clustered color:white +graph: { title: "n104" label: "Block 104" status:clustered color:yellow +edge: {sourcename: "n104" targetname: "n105" label: "0" color: red} +node: {title: "n103" label: "End 103" color: blue info1: "visited: 16 irg: OO_PROGRAM_EXAMPLE_main +arity: 0 "} } -graph: { title: "n110" label: "Block 110" status:clustered color:yellow -edge: {sourcename: "n110" targetname: "n111" label: "0" color: red} -node: {title: "n109" label: "Return 109" info1: "visited: 16 +graph: { title: "n106" label: "Block 106" status:clustered color:yellow +edge: {sourcename: "n106" targetname: "n107" label: "0" color: red} +node: {title: "n105" label: "Return 105" info1: "visited: 16 irg: OO_PROGRAM_EXAMPLE_main +arity: 2 return in method of type OO_PROGRAM_EXAMPLE_main res 0 type: int "} -edge: {sourcename: "n109" targetname: "n128" label: "0" color: blue} -edge: {sourcename: "n109" targetname: "n114" label: "1" } -node: {title: "n128" label: "ProjM 0 128" color: yellow info1: "visited: 16 +edge: {sourcename: "n105" targetname: "n124" label: "0" color: blue} +edge: {sourcename: "n105" targetname: "n110" label: "1" } +node: {title: "n124" label: "ProjM 0 124" color: yellow info1: "visited: 16 irg: OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n128" targetname: "n116" label: "0" color: blue} -node: {title: "n114" label: "ProjIs 0 114" color: yellow info1: "visited: 16 +edge: {sourcename: "n124" targetname: "n112" label: "0" color: blue} +node: {title: "n110" label: "ProjIs 0 110" color: yellow info1: "visited: 16 irg: OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n114" targetname: "n115" label: "0" } -node: {title: "n115" label: "ProjT 2 115" color: yellow info1: "visited: 16 +edge: {sourcename: "n110" targetname: "n111" label: "0" } +node: {title: "n111" label: "ProjT 2 111" color: yellow info1: "visited: 16 irg: OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n115" targetname: "n116" label: "0" } -node: {title: "n116" label: "Call 116" info1: "visited: 16 +edge: {sourcename: "n111" targetname: "n112" label: "0" } +node: {title: "n112" label: "Call 112" info1: "visited: 16 irg: OO_PROGRAM_EXAMPLE_main +arity: 4 calling method of type c param 0 type: class_prima_ptr param 1 type: int resul 0 type: int "} -node: {title: "n116n117" label: "0x5Is 117" color: yellow info1: "visited: 16 +node: {title: "n112n113" label: "0x5Is 113" color: yellow info1: "visited: 16 irg: OO_PROGRAM_EXAMPLE_main +arity: 0 Const of type type_unknown "} -edge: {sourcename: "n116" targetname: "n123" label: "0" color: blue} -edge: {sourcename: "n116" targetname: "n122" label: "1" } -edge: {sourcename: "n116" targetname: "n118" label: "2" } -edge: {sourcename: "n116" targetname: "n116n117" label: "3" } -node: {title: "n122" label: "Sel PRIMA_c 122" info1: "visited: 16 +edge: {sourcename: "n112" targetname: "n119" label: "0" color: blue} +edge: {sourcename: "n112" targetname: "n118" label: "1" } +edge: {sourcename: "n112" targetname: "n114" label: "2" } +edge: {sourcename: "n112" targetname: "n112n113" label: "3" } +node: {title: "n118" label: "Sel PRIMA_c 118" info1: "visited: 16 irg: OO_PROGRAM_EXAMPLE_main +arity: 2 Selecting entity of type c from entity of type PRIMA "} -edge: {sourcename: "n122" targetname: "n123" label: "0" color: blue} -edge: {sourcename: "n122" targetname: "n118" label: "1" } -node: {title: "n123" label: "ProjM 0 123" color: yellow info1: "visited: 16 +edge: {sourcename: "n118" targetname: "n119" label: "0" color: blue} +edge: {sourcename: "n118" targetname: "n114" label: "1" } +node: {title: "n119" label: "ProjM 0 119" color: yellow info1: "visited: 16 irg: OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n123" targetname: "n124" label: "0" color: blue} -node: {title: "n124" label: "Call 124" info1: "visited: 16 +edge: {sourcename: "n119" targetname: "n120" label: "0" color: blue} +node: {title: "n120" label: "Call 120" info1: "visited: 16 irg: OO_PROGRAM_EXAMPLE_main +arity: 4 calling method of type set_a param 0 type: class_prima_ptr param 1 type: int "} -node: {title: "n124n125" label: "0x2Is 125" color: yellow info1: "visited: 16 +node: {title: "n120n121" label: "0x2Is 121" color: yellow info1: "visited: 16 irg: OO_PROGRAM_EXAMPLE_main +arity: 0 Const of type type_unknown "} -edge: {sourcename: "n124" targetname: "n127" label: "0" color: blue} -edge: {sourcename: "n124" targetname: "n126" label: "1" } -edge: {sourcename: "n124" targetname: "n118" label: "2" } -edge: {sourcename: "n124" targetname: "n124n125" label: "3" } -node: {title: "n126" label: "Sel PRIMA_set_a 126" info1: "visited: 16 +edge: {sourcename: "n120" targetname: "n123" label: "0" color: blue} +edge: {sourcename: "n120" targetname: "n122" label: "1" } +edge: {sourcename: "n120" targetname: "n114" label: "2" } +edge: {sourcename: "n120" targetname: "n120n121" label: "3" } +node: {title: "n122" label: "Sel PRIMA_set_a 122" info1: "visited: 16 irg: OO_PROGRAM_EXAMPLE_main +arity: 2 Selecting entity of type set_a from entity of type PRIMA "} -edge: {sourcename: "n126" targetname: "n127" label: "0" color: blue} -edge: {sourcename: "n126" targetname: "n118" label: "1" } -node: {title: "n127" label: "ProjM 0 127" color: yellow info1: "visited: 16 +edge: {sourcename: "n122" targetname: "n123" label: "0" color: blue} +edge: {sourcename: "n122" targetname: "n114" label: "1" } +node: {title: "n123" label: "ProjM 0 123" color: yellow info1: "visited: 16 irg: OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n127" targetname: "n119" label: "0" color: blue} -node: {title: "n118" label: "ProjP 2 118" color: yellow info1: "visited: 16 +edge: {sourcename: "n123" targetname: "n115" label: "0" color: blue} +node: {title: "n114" label: "ProjP 2 114" color: yellow info1: "visited: 16 irg: OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n118" targetname: "n119" label: "0" } -node: {title: "n119" label: "Alloc 119" info1: "visited: 16 +edge: {sourcename: "n114" targetname: "n115" label: "0" } +node: {title: "n115" label: "Alloc 115" info1: "visited: 16 irg: OO_PROGRAM_EXAMPLE_main +arity: 2 allocating entity of type PRIMA "} -node: {title: "n119n120" label: "SymC PRIMA size 120" info1: "visited: 16 +node: {title: "n115n116" label: "SymC PRIMA size 116" info1: "visited: 16 irg: OO_PROGRAM_EXAMPLE_main +arity: 0 "} -edge: {sourcename: "n119" targetname: "n121" label: "0" color: blue} -edge: {sourcename: "n119" targetname: "n119n120" label: "1" } +edge: {sourcename: "n115" targetname: "n117" label: "0" color: blue} +edge: {sourcename: "n115" targetname: "n115n116" label: "1" } } -graph: { title: "n112" label: "Block 112" status:clustered color:yellow -edge: {sourcename: "n112" targetname: "n111" label: "0" color: red} -node: {title: "n121" label: "ProjM 1 121" color: yellow info1: "visited: 16 +graph: { title: "n108" label: "Block 108" status:clustered color:yellow +edge: {sourcename: "n108" targetname: "n107" label: "0" color: red} +node: {title: "n117" label: "ProjM 1 117" color: yellow info1: "visited: 16 irg: OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n121" targetname: "n113" label: "0" color: blue} -node: {title: "n111" label: "ProjX 0 111" color: yellow info1: "visited: 16 +edge: {sourcename: "n117" targetname: "n109" label: "0" color: blue} +node: {title: "n107" label: "ProjX 0 107" color: yellow info1: "visited: 16 irg: OO_PROGRAM_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n111" targetname: "n113" label: "0" color: red} -node: {title: "n113" label: "Start 113" color: blue info1: "visited: 16 +edge: {sourcename: "n107" targetname: "n109" label: "0" color: red} +node: {title: "n109" label: "Start 109" color: blue info1: "visited: 16 irg: OO_PROGRAM_EXAMPLE_main +arity: 0 start of method of type OO_PROGRAM_EXAMPLE_main "} } diff --git a/testprograms/ref-results/PRIMA_INLINE_c-wtypes.vcg b/testprograms/ref-results/PRIMA_INLINE_c-wtypes.vcg index 73e5bd1f1..74e615739 100644 --- a/testprograms/ref-results/PRIMA_INLINE_c-wtypes.vcg +++ b/testprograms/ref-results/PRIMA_INLINE_c-wtypes.vcg @@ -17,95 +17,110 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -graph: { title: "g94" label: "PRIMA_INLINE_c" status:clustered color:white -graph: { title: "n248" label: "Block 248" status:clustered color:yellow -edge: {sourcename: "n248" targetname: "n250" label: "0" color: red} -edge: {sourcename: "n248" targetname: "n249" label: "1" color: red} -node: {title: "n252" label: "PhiM 252" color: green info1: "visited: 22 +graph: { title: "g90" label: "PRIMA_INLINE_c" status:clustered color:white +graph: { title: "n242" label: "Block 242" status:clustered color:yellow +edge: {sourcename: "n242" targetname: "n244" label: "0" color: red} +edge: {sourcename: "n242" targetname: "n243" label: "1" color: red} +node: {title: "n246" label: "PhiM 246" color: green info1: "visited: 22 irg: PRIMA_INLINE_c +arity: 2 backedges: "} -edge: {sourcename: "n252" targetname: "n261" label: "0" color: blue} -edge: {sourcename: "n252" targetname: "n253" label: "1" color: blue} -node: {title: "n253" label: "Store 253" info1: "visited: 22 +edge: {sourcename: "n246" targetname: "n255" label: "0" color: blue} +edge: {sourcename: "n246" targetname: "n247" label: "1" color: blue} +node: {title: "n247" label: "Store 247" info1: "visited: 22 irg: PRIMA_INLINE_c +arity: 3 "} -edge: {sourcename: "n253" targetname: "n252" label: "0" color: blue} -edge: {sourcename: "n253" targetname: "n259" label: "1" } -edge: {sourcename: "n253" targetname: "n254" label: "2" } -node: {title: "n259" label: "Sel a 259" info1: "visited: 22 +edge: {sourcename: "n247" targetname: "n246" label: "0" color: blue} +edge: {sourcename: "n247" targetname: "n253" label: "1" } +edge: {sourcename: "n247" targetname: "n248" label: "2" } +node: {title: "n253" label: "Sel a 253" info1: "visited: 22 irg: PRIMA_INLINE_c +arity: 2 Selecting entity of type int from entity of type PRIMA_INLINE "} -edge: {sourcename: "n259" targetname: "n252" label: "0" color: blue} -edge: {sourcename: "n259" targetname: "n260" label: "1" } -node: {title: "n254" label: "PhiIs 254" color: green info1: "visited: 22 +edge: {sourcename: "n253" targetname: "n246" label: "0" color: blue} +edge: {sourcename: "n253" targetname: "n254" label: "1" } +node: {title: "n248" label: "PhiIs 248" color: green info1: "visited: 22 irg: PRIMA_INLINE_c +arity: 2 backedges: "} -edge: {sourcename: "n254" targetname: "n257" label: "0" } -edge: {sourcename: "n254" targetname: "n255" label: "1" } -node: {title: "n255" label: "PhiIs 255" color: green info1: "visited: 22 +edge: {sourcename: "n248" targetname: "n251" label: "0" } +edge: {sourcename: "n248" targetname: "n249" label: "1" } +node: {title: "n249" label: "PhiIs 249" color: green info1: "visited: 22 irg: PRIMA_INLINE_c +arity: 2 backedges: "} -edge: {sourcename: "n255" targetname: "n256" label: "0" } -edge: {sourcename: "n255" targetname: "n254" label: "1" } -node: {title: "n249" label: "Jmp 249" info1: "visited: 22 +edge: {sourcename: "n249" targetname: "n250" label: "0" } +edge: {sourcename: "n249" targetname: "n248" label: "1" } +node: {title: "n243" label: "Jmp 243" info1: "visited: 22 irg: PRIMA_INLINE_c +arity: 0 "} } -graph: { title: "n251" label: "Block 251" status:clustered color:yellow -edge: {sourcename: "n251" targetname: "n246" label: "0" color: red} -node: {title: "n260" label: "ProjP 0 260" color: yellow info1: "visited: 22 +graph: { title: "n245" label: "Block 245" status:clustered color:yellow +edge: {sourcename: "n245" targetname: "n240" label: "0" color: red} +node: {title: "n254" label: "ProjP 0 254" color: yellow info1: "visited: 22 irg: PRIMA_INLINE_c +arity: 1 "} -edge: {sourcename: "n260" targetname: "n258" label: "0" } -node: {title: "n257" label: "ProjIs 1 257" color: yellow info1: "visited: 22 +edge: {sourcename: "n254" targetname: "n252" label: "0" } +node: {title: "n251" label: "ProjIs 1 251" color: yellow info1: "visited: 22 irg: PRIMA_INLINE_c +arity: 1 "} -edge: {sourcename: "n257" targetname: "n258" label: "0" } -node: {title: "n250" label: "Jmp 250" info1: "visited: 22 +edge: {sourcename: "n251" targetname: "n252" label: "0" } +node: {title: "n244" label: "Jmp 244" info1: "visited: 22 irg: PRIMA_INLINE_c +arity: 0 "} } -graph: { title: "n245" label: "Block 245" status:clustered color:yellow -edge: {sourcename: "n245" targetname: "n246" label: "0" color: red} -node: {title: "n261" label: "ProjM 1 261" color: yellow info1: "visited: 22 +graph: { title: "n239" label: "Block 239" status:clustered color:yellow +edge: {sourcename: "n239" targetname: "n240" label: "0" color: red} +node: {title: "n255" label: "ProjM 1 255" color: yellow info1: "visited: 22 irg: PRIMA_INLINE_c +arity: 1 "} -edge: {sourcename: "n261" targetname: "n247" label: "0" color: blue} -node: {title: "n258" label: "ProjT 4 258" color: yellow info1: "visited: 22 +edge: {sourcename: "n255" targetname: "n241" label: "0" color: blue} +node: {title: "n252" label: "ProjT 4 252" color: yellow info1: "visited: 22 irg: PRIMA_INLINE_c +arity: 1 "} -edge: {sourcename: "n258" targetname: "n247" label: "0" } -node: {title: "n256" label: "0x0Is 256" color: yellow info1: "visited: 22 +edge: {sourcename: "n252" targetname: "n241" label: "0" } +node: {title: "n250" label: "0x0Is 250" color: yellow info1: "visited: 22 irg: PRIMA_INLINE_c +arity: 0 Const of type type_unknown "} -node: {title: "n246" label: "ProjX 0 246" color: yellow info1: "visited: 22 +node: {title: "n240" label: "ProjX 0 240" color: yellow info1: "visited: 22 irg: PRIMA_INLINE_c +arity: 1 "} -edge: {sourcename: "n246" targetname: "n247" label: "0" color: red} -node: {title: "n247" label: "Start 247" color: blue info1: "visited: 22 +edge: {sourcename: "n240" targetname: "n241" label: "0" color: red} +node: {title: "n241" label: "Start 241" color: blue info1: "visited: 22 irg: PRIMA_INLINE_c +arity: 0 start of method of type c param 0 type: class_prima_ptr param 1 type: int "} } -graph: { title: "n243" label: "Block 243" status:clustered color:yellow -node: {title: "n242" label: "End 242" color: blue info1: "visited: 22 +graph: { title: "n237" label: "Block 237" status:clustered color:yellow +node: {title: "n236" label: "End 236" color: blue info1: "visited: 22 irg: PRIMA_INLINE_c +arity: 2 "} } } -node: {title: "e15" label: "ent a" color: yellow +node: {title: "e14" label: "ent a" color: yellow info1: " -id: e15 +id: e14 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized @@ -115,17 +130,17 @@ name: a ld_name: no yet set offset: -1" } -edge: { sourcename: "e15" targetname: "t12"class: 3 label: "type" color: red} -node: {title: "t13" label: "class PRIMA_INLINE" info1: "state: layout_undefined +edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red} +node: {title: "t12" label: "class PRIMA_INLINE" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "t13" targetname: "e15"class: 12 label: "member" color:blue} -edge: { sourcename: "t13" targetname: "e18"class: 12 label: "member" color:blue} -edge: { sourcename: "t13" targetname: "e21"class: 12 label: "member" color:blue} -node: {title: "e18" label: "ent PRIMA_INLINE_set_a" color: yellow +edge: { sourcename: "t12" targetname: "e14"class: 12 label: "member" color:blue} +edge: { sourcename: "t12" targetname: "e17"class: 12 label: "member" color:blue} +edge: { sourcename: "t12" targetname: "e20"class: 12 label: "member" color:blue} +node: {title: "e17" label: "ent PRIMA_INLINE_set_a" color: yellow info1: " -id: e18 +id: e17 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -134,31 +149,32 @@ peculiarity: peculiarity_existent name: PRIMA_INLINE_set_a ld_name: PRIMA_INLINE_set_a offset: -1 -irg = g71" +irg = g68" } -edge: { sourcename: "e18" targetname: "t16"class: 3 label: "type" color: red} -edge: { sourcename: "e18" targetname: "n17"label: "value 0"} -node: {title: "n17" label: "&(PRIMA_INLINE_set_a)P 17" color: yellow info1: "visited: 3 +edge: { sourcename: "e17" targetname: "t15"class: 3 label: "type" color: red} +edge: { sourcename: "e17" targetname: "n16"label: "value 0"} +node: {title: "n16" label: "&(PRIMA_INLINE_set_a)P 16" color: yellow info1: "visited: 3 +arity: 0 Const of type type_unknown "} -node: {title: "t16" label: "method set_a" info1: "state: layout_fixed, +node: {title: "t15" label: "method set_a" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t16" targetname: "t14"class: 5 label: "param 0" color: green} -edge: { sourcename: "t16" targetname: "t12"class: 5 label: "param 1" color: green} -node: {title: "t14" label: "pointer class_prima_ptr" info1: "state: layout_fixed, +edge: { sourcename: "t15" targetname: "t13"class: 5 label: "param 0" color: green} +edge: { sourcename: "t15" targetname: "t11"class: 5 label: "param 1" color: green} +node: {title: "t13" label: "pointer class_prima_ptr" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t14" targetname: "t13"class: 9 label: "points to" color:green} -node: {title: "t12" label: "primitive int" info1: "state: layout_fixed, +edge: { sourcename: "t13" targetname: "t12"class: 9 label: "points to" color:green} +node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, mode: Is, size: 4B, "} -node: {title: "e21" label: "ent PRIMA_INLINE_c" color: yellow +node: {title: "e20" label: "ent PRIMA_INLINE_c" color: yellow info1: " -id: e21 +id: e20 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -167,23 +183,24 @@ peculiarity: peculiarity_existent name: PRIMA_INLINE_c ld_name: PRIMA_INLINE_c offset: -1 -irg = g94" +irg = g90" } -edge: { sourcename: "e21" targetname: "t19"class: 3 label: "type" color: red} -edge: { sourcename: "e21" targetname: "n20"label: "value 0"} -node: {title: "n20" label: "&(PRIMA_INLINE_c)P 20" color: yellow info1: "visited: 3 +edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red} +edge: { sourcename: "e20" targetname: "n19"label: "value 0"} +node: {title: "n19" label: "&(PRIMA_INLINE_c)P 19" color: yellow info1: "visited: 3 +arity: 0 Const of type type_unknown "} -node: {title: "t19" label: "method c" info1: "state: layout_fixed, +node: {title: "t18" label: "method c" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t19" targetname: "t14"class: 5 label: "param 0" color: green} -edge: { sourcename: "t19" targetname: "t12"class: 5 label: "param 1" color: green} -edge: { sourcename: "t19" targetname: "t12"class: 6 label: "res 0" color: green} -node: {title: "t82" label: "class cframe_tp" info1: "state: layout_undefined +edge: { sourcename: "t18" targetname: "t13"class: 5 label: "param 0" color: green} +edge: { sourcename: "t18" targetname: "t11"class: 5 label: "param 1" color: green} +edge: { sourcename: "t18" targetname: "t11"class: 6 label: "res 0" color: green} +node: {title: "t79" label: "class cframe_tp" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "n259" targetname: "e15"class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n253" targetname: "e14"class: 2 priority: 2 linestyle: dotted} } diff --git a/testprograms/ref-results/PRIMA_INLINE_c.vcg b/testprograms/ref-results/PRIMA_INLINE_c.vcg index 8b2b1f98c..58fb38e92 100644 --- a/testprograms/ref-results/PRIMA_INLINE_c.vcg +++ b/testprograms/ref-results/PRIMA_INLINE_c.vcg @@ -17,87 +17,102 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -graph: { title: "g94" label: "PRIMA_INLINE_c" status:clustered color:white -graph: { title: "n248" label: "Block 248" status:clustered color:yellow -edge: {sourcename: "n248" targetname: "n250" label: "0" color: red} -edge: {sourcename: "n248" targetname: "n249" label: "1" color: red} -node: {title: "n252" label: "PhiM 252" color: green info1: "visited: 21 +graph: { title: "g90" label: "PRIMA_INLINE_c" status:clustered color:white +graph: { title: "n242" label: "Block 242" status:clustered color:yellow +edge: {sourcename: "n242" targetname: "n244" label: "0" color: red} +edge: {sourcename: "n242" targetname: "n243" label: "1" color: red} +node: {title: "n246" label: "PhiM 246" color: green info1: "visited: 21 irg: PRIMA_INLINE_c +arity: 2 backedges: "} -edge: {sourcename: "n252" targetname: "n261" label: "0" color: blue} -edge: {sourcename: "n252" targetname: "n253" label: "1" color: blue} -node: {title: "n253" label: "Store 253" info1: "visited: 21 +edge: {sourcename: "n246" targetname: "n255" label: "0" color: blue} +edge: {sourcename: "n246" targetname: "n247" label: "1" color: blue} +node: {title: "n247" label: "Store 247" info1: "visited: 21 irg: PRIMA_INLINE_c +arity: 3 "} -edge: {sourcename: "n253" targetname: "n252" label: "0" color: blue} -edge: {sourcename: "n253" targetname: "n259" label: "1" } -edge: {sourcename: "n253" targetname: "n254" label: "2" } -node: {title: "n259" label: "Sel a 259" info1: "visited: 21 +edge: {sourcename: "n247" targetname: "n246" label: "0" color: blue} +edge: {sourcename: "n247" targetname: "n253" label: "1" } +edge: {sourcename: "n247" targetname: "n248" label: "2" } +node: {title: "n253" label: "Sel a 253" info1: "visited: 21 irg: PRIMA_INLINE_c +arity: 2 Selecting entity of type int from entity of type PRIMA_INLINE "} -edge: {sourcename: "n259" targetname: "n252" label: "0" color: blue} -edge: {sourcename: "n259" targetname: "n260" label: "1" } -node: {title: "n254" label: "PhiIs 254" color: green info1: "visited: 21 +edge: {sourcename: "n253" targetname: "n246" label: "0" color: blue} +edge: {sourcename: "n253" targetname: "n254" label: "1" } +node: {title: "n248" label: "PhiIs 248" color: green info1: "visited: 21 irg: PRIMA_INLINE_c +arity: 2 backedges: "} -edge: {sourcename: "n254" targetname: "n257" label: "0" } -edge: {sourcename: "n254" targetname: "n255" label: "1" } -node: {title: "n255" label: "PhiIs 255" color: green info1: "visited: 21 +edge: {sourcename: "n248" targetname: "n251" label: "0" } +edge: {sourcename: "n248" targetname: "n249" label: "1" } +node: {title: "n249" label: "PhiIs 249" color: green info1: "visited: 21 irg: PRIMA_INLINE_c +arity: 2 backedges: "} -edge: {sourcename: "n255" targetname: "n256" label: "0" } -edge: {sourcename: "n255" targetname: "n254" label: "1" } -node: {title: "n249" label: "Jmp 249" info1: "visited: 21 +edge: {sourcename: "n249" targetname: "n250" label: "0" } +edge: {sourcename: "n249" targetname: "n248" label: "1" } +node: {title: "n243" label: "Jmp 243" info1: "visited: 21 irg: PRIMA_INLINE_c +arity: 0 "} } -graph: { title: "n251" label: "Block 251" status:clustered color:yellow -edge: {sourcename: "n251" targetname: "n246" label: "0" color: red} -node: {title: "n260" label: "ProjP 0 260" color: yellow info1: "visited: 21 +graph: { title: "n245" label: "Block 245" status:clustered color:yellow +edge: {sourcename: "n245" targetname: "n240" label: "0" color: red} +node: {title: "n254" label: "ProjP 0 254" color: yellow info1: "visited: 21 irg: PRIMA_INLINE_c +arity: 1 "} -edge: {sourcename: "n260" targetname: "n258" label: "0" } -node: {title: "n257" label: "ProjIs 1 257" color: yellow info1: "visited: 21 +edge: {sourcename: "n254" targetname: "n252" label: "0" } +node: {title: "n251" label: "ProjIs 1 251" color: yellow info1: "visited: 21 irg: PRIMA_INLINE_c +arity: 1 "} -edge: {sourcename: "n257" targetname: "n258" label: "0" } -node: {title: "n250" label: "Jmp 250" info1: "visited: 21 +edge: {sourcename: "n251" targetname: "n252" label: "0" } +node: {title: "n244" label: "Jmp 244" info1: "visited: 21 irg: PRIMA_INLINE_c +arity: 0 "} } -graph: { title: "n245" label: "Block 245" status:clustered color:yellow -edge: {sourcename: "n245" targetname: "n246" label: "0" color: red} -node: {title: "n261" label: "ProjM 1 261" color: yellow info1: "visited: 21 +graph: { title: "n239" label: "Block 239" status:clustered color:yellow +edge: {sourcename: "n239" targetname: "n240" label: "0" color: red} +node: {title: "n255" label: "ProjM 1 255" color: yellow info1: "visited: 21 irg: PRIMA_INLINE_c +arity: 1 "} -edge: {sourcename: "n261" targetname: "n247" label: "0" color: blue} -node: {title: "n258" label: "ProjT 4 258" color: yellow info1: "visited: 21 +edge: {sourcename: "n255" targetname: "n241" label: "0" color: blue} +node: {title: "n252" label: "ProjT 4 252" color: yellow info1: "visited: 21 irg: PRIMA_INLINE_c +arity: 1 "} -edge: {sourcename: "n258" targetname: "n247" label: "0" } -node: {title: "n256" label: "0x0Is 256" color: yellow info1: "visited: 21 +edge: {sourcename: "n252" targetname: "n241" label: "0" } +node: {title: "n250" label: "0x0Is 250" color: yellow info1: "visited: 21 irg: PRIMA_INLINE_c +arity: 0 Const of type type_unknown "} -node: {title: "n246" label: "ProjX 0 246" color: yellow info1: "visited: 21 +node: {title: "n240" label: "ProjX 0 240" color: yellow info1: "visited: 21 irg: PRIMA_INLINE_c +arity: 1 "} -edge: {sourcename: "n246" targetname: "n247" label: "0" color: red} -node: {title: "n247" label: "Start 247" color: blue info1: "visited: 21 +edge: {sourcename: "n240" targetname: "n241" label: "0" color: red} +node: {title: "n241" label: "Start 241" color: blue info1: "visited: 21 irg: PRIMA_INLINE_c +arity: 0 start of method of type c param 0 type: class_prima_ptr param 1 type: int "} } -graph: { title: "n243" label: "Block 243" status:clustered color:yellow -node: {title: "n242" label: "End 242" color: blue info1: "visited: 21 +graph: { title: "n237" label: "Block 237" status:clustered color:yellow +node: {title: "n236" label: "End 236" color: blue info1: "visited: 21 irg: PRIMA_INLINE_c +arity: 2 "} } diff --git a/testprograms/ref-results/PRIMA_INLINE_set_a-wtypes.vcg b/testprograms/ref-results/PRIMA_INLINE_set_a-wtypes.vcg index 8e6a32909..c23992e56 100644 --- a/testprograms/ref-results/PRIMA_INLINE_set_a-wtypes.vcg +++ b/testprograms/ref-results/PRIMA_INLINE_set_a-wtypes.vcg @@ -17,64 +17,75 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -graph: { title: "g71" label: "PRIMA_INLINE_set_a" status:clustered color:white -graph: { title: "n225" label: "Block 225" status:clustered color:yellow -edge: {sourcename: "n225" targetname: "n226" label: "0" color: red} -node: {title: "n224" label: "End 224" color: blue info1: "visited: 17 +graph: { title: "g68" label: "PRIMA_INLINE_set_a" status:clustered color:white +graph: { title: "n220" label: "Block 220" status:clustered color:yellow +edge: {sourcename: "n220" targetname: "n221" label: "0" color: red} +node: {title: "n219" label: "End 219" color: blue info1: "visited: 17 irg: PRIMA_INLINE_set_a +arity: 0 "} } -graph: { title: "n227" label: "Block 227" status:clustered color:yellow -edge: {sourcename: "n227" targetname: "n228" label: "0" color: red} -node: {title: "n226" label: "Return 226" info1: "visited: 17 +graph: { title: "n222" label: "Block 222" status:clustered color:yellow +edge: {sourcename: "n222" targetname: "n223" label: "0" color: red} +node: {title: "n221" label: "Return 221" info1: "visited: 17 irg: PRIMA_INLINE_set_a +arity: 1 return in method of type set_a "} -edge: {sourcename: "n226" targetname: "n231" label: "0" color: blue} -node: {title: "n231" label: "ProjM 0 231" color: yellow info1: "visited: 17 +edge: {sourcename: "n221" targetname: "n226" label: "0" color: blue} +node: {title: "n226" label: "ProjM 0 226" color: yellow info1: "visited: 17 irg: PRIMA_INLINE_set_a +arity: 1 "} -edge: {sourcename: "n231" targetname: "n232" label: "0" color: blue} -node: {title: "n232" label: "Store 232" info1: "visited: 17 +edge: {sourcename: "n226" targetname: "n227" label: "0" color: blue} +node: {title: "n227" label: "Store 227" info1: "visited: 17 irg: PRIMA_INLINE_set_a +arity: 3 "} -edge: {sourcename: "n232" targetname: "n237" label: "0" color: blue} -edge: {sourcename: "n232" targetname: "n235" label: "1" } -edge: {sourcename: "n232" targetname: "n233" label: "2" } -node: {title: "n235" label: "Sel a 235" info1: "visited: 17 +edge: {sourcename: "n227" targetname: "n232" label: "0" color: blue} +edge: {sourcename: "n227" targetname: "n230" label: "1" } +edge: {sourcename: "n227" targetname: "n228" label: "2" } +node: {title: "n230" label: "Sel a 230" info1: "visited: 17 irg: PRIMA_INLINE_set_a +arity: 2 Selecting entity of type int from entity of type PRIMA_INLINE "} -edge: {sourcename: "n235" targetname: "n237" label: "0" color: blue} -edge: {sourcename: "n235" targetname: "n236" label: "1" } -node: {title: "n236" label: "ProjP 0 236" color: yellow info1: "visited: 17 +edge: {sourcename: "n230" targetname: "n232" label: "0" color: blue} +edge: {sourcename: "n230" targetname: "n231" label: "1" } +node: {title: "n231" label: "ProjP 0 231" color: yellow info1: "visited: 17 irg: PRIMA_INLINE_set_a +arity: 1 "} -edge: {sourcename: "n236" targetname: "n234" label: "0" } -node: {title: "n233" label: "ProjIs 1 233" color: yellow info1: "visited: 17 +edge: {sourcename: "n231" targetname: "n229" label: "0" } +node: {title: "n228" label: "ProjIs 1 228" color: yellow info1: "visited: 17 irg: PRIMA_INLINE_set_a +arity: 1 "} -edge: {sourcename: "n233" targetname: "n234" label: "0" } +edge: {sourcename: "n228" targetname: "n229" label: "0" } } -graph: { title: "n229" label: "Block 229" status:clustered color:yellow -edge: {sourcename: "n229" targetname: "n228" label: "0" color: red} -node: {title: "n237" label: "ProjM 1 237" color: yellow info1: "visited: 17 +graph: { title: "n224" label: "Block 224" status:clustered color:yellow +edge: {sourcename: "n224" targetname: "n223" label: "0" color: red} +node: {title: "n232" label: "ProjM 1 232" color: yellow info1: "visited: 17 irg: PRIMA_INLINE_set_a +arity: 1 "} -edge: {sourcename: "n237" targetname: "n230" label: "0" color: blue} -node: {title: "n234" label: "ProjT 4 234" color: yellow info1: "visited: 17 +edge: {sourcename: "n232" targetname: "n225" label: "0" color: blue} +node: {title: "n229" label: "ProjT 4 229" color: yellow info1: "visited: 17 irg: PRIMA_INLINE_set_a +arity: 1 "} -edge: {sourcename: "n234" targetname: "n230" label: "0" } -node: {title: "n228" label: "ProjX 0 228" color: yellow info1: "visited: 17 +edge: {sourcename: "n229" targetname: "n225" label: "0" } +node: {title: "n223" label: "ProjX 0 223" color: yellow info1: "visited: 17 irg: PRIMA_INLINE_set_a +arity: 1 "} -edge: {sourcename: "n228" targetname: "n230" label: "0" color: red} -node: {title: "n230" label: "Start 230" color: blue info1: "visited: 17 +edge: {sourcename: "n223" targetname: "n225" label: "0" color: red} +node: {title: "n225" label: "Start 225" color: blue info1: "visited: 17 irg: PRIMA_INLINE_set_a +arity: 0 start of method of type set_a param 0 type: class_prima_ptr param 1 type: int @@ -83,9 +94,9 @@ start of method of type set_a } -node: {title: "e15" label: "ent a" color: yellow +node: {title: "e14" label: "ent a" color: yellow info1: " -id: e15 +id: e14 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized @@ -95,17 +106,17 @@ name: a ld_name: no yet set offset: -1" } -edge: { sourcename: "e15" targetname: "t12"class: 3 label: "type" color: red} -node: {title: "t13" label: "class PRIMA_INLINE" info1: "state: layout_undefined +edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red} +node: {title: "t12" label: "class PRIMA_INLINE" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "t13" targetname: "e15"class: 12 label: "member" color:blue} -edge: { sourcename: "t13" targetname: "e18"class: 12 label: "member" color:blue} -edge: { sourcename: "t13" targetname: "e21"class: 12 label: "member" color:blue} -node: {title: "e18" label: "ent PRIMA_INLINE_set_a" color: yellow +edge: { sourcename: "t12" targetname: "e14"class: 12 label: "member" color:blue} +edge: { sourcename: "t12" targetname: "e17"class: 12 label: "member" color:blue} +edge: { sourcename: "t12" targetname: "e20"class: 12 label: "member" color:blue} +node: {title: "e17" label: "ent PRIMA_INLINE_set_a" color: yellow info1: " -id: e18 +id: e17 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -114,31 +125,32 @@ peculiarity: peculiarity_existent name: PRIMA_INLINE_set_a ld_name: PRIMA_INLINE_set_a offset: -1 -irg = g71" +irg = g68" } -edge: { sourcename: "e18" targetname: "t16"class: 3 label: "type" color: red} -edge: { sourcename: "e18" targetname: "n17"label: "value 0"} -node: {title: "n17" label: "&(PRIMA_INLINE_set_a)P 17" color: yellow info1: "visited: 2 +edge: { sourcename: "e17" targetname: "t15"class: 3 label: "type" color: red} +edge: { sourcename: "e17" targetname: "n16"label: "value 0"} +node: {title: "n16" label: "&(PRIMA_INLINE_set_a)P 16" color: yellow info1: "visited: 2 +arity: 0 Const of type type_unknown "} -node: {title: "t16" label: "method set_a" info1: "state: layout_fixed, +node: {title: "t15" label: "method set_a" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t16" targetname: "t14"class: 5 label: "param 0" color: green} -edge: { sourcename: "t16" targetname: "t12"class: 5 label: "param 1" color: green} -node: {title: "t14" label: "pointer class_prima_ptr" info1: "state: layout_fixed, +edge: { sourcename: "t15" targetname: "t13"class: 5 label: "param 0" color: green} +edge: { sourcename: "t15" targetname: "t11"class: 5 label: "param 1" color: green} +node: {title: "t13" label: "pointer class_prima_ptr" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t14" targetname: "t13"class: 9 label: "points to" color:green} -node: {title: "t12" label: "primitive int" info1: "state: layout_fixed, +edge: { sourcename: "t13" targetname: "t12"class: 9 label: "points to" color:green} +node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, mode: Is, size: 4B, "} -node: {title: "e21" label: "ent PRIMA_INLINE_c" color: yellow +node: {title: "e20" label: "ent PRIMA_INLINE_c" color: yellow info1: " -id: e21 +id: e20 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -147,23 +159,24 @@ peculiarity: peculiarity_existent name: PRIMA_INLINE_c ld_name: PRIMA_INLINE_c offset: -1 -irg = g94" +irg = g90" } -edge: { sourcename: "e21" targetname: "t19"class: 3 label: "type" color: red} -edge: { sourcename: "e21" targetname: "n20"label: "value 0"} -node: {title: "n20" label: "&(PRIMA_INLINE_c)P 20" color: yellow info1: "visited: 2 +edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red} +edge: { sourcename: "e20" targetname: "n19"label: "value 0"} +node: {title: "n19" label: "&(PRIMA_INLINE_c)P 19" color: yellow info1: "visited: 2 +arity: 0 Const of type type_unknown "} -node: {title: "t19" label: "method c" info1: "state: layout_fixed, +node: {title: "t18" label: "method c" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t19" targetname: "t14"class: 5 label: "param 0" color: green} -edge: { sourcename: "t19" targetname: "t12"class: 5 label: "param 1" color: green} -edge: { sourcename: "t19" targetname: "t12"class: 6 label: "res 0" color: green} -node: {title: "t59" label: "class set_aframe_tp" info1: "state: layout_undefined +edge: { sourcename: "t18" targetname: "t13"class: 5 label: "param 0" color: green} +edge: { sourcename: "t18" targetname: "t11"class: 5 label: "param 1" color: green} +edge: { sourcename: "t18" targetname: "t11"class: 6 label: "res 0" color: green} +node: {title: "t57" label: "class set_aframe_tp" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "n235" targetname: "e15"class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n230" targetname: "e14"class: 2 priority: 2 linestyle: dotted} } diff --git a/testprograms/ref-results/PRIMA_INLINE_set_a.vcg b/testprograms/ref-results/PRIMA_INLINE_set_a.vcg index 497e12b69..ca1c34053 100644 --- a/testprograms/ref-results/PRIMA_INLINE_set_a.vcg +++ b/testprograms/ref-results/PRIMA_INLINE_set_a.vcg @@ -17,64 +17,75 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -graph: { title: "g71" label: "PRIMA_INLINE_set_a" status:clustered color:white -graph: { title: "n225" label: "Block 225" status:clustered color:yellow -edge: {sourcename: "n225" targetname: "n226" label: "0" color: red} -node: {title: "n224" label: "End 224" color: blue info1: "visited: 16 +graph: { title: "g68" label: "PRIMA_INLINE_set_a" status:clustered color:white +graph: { title: "n220" label: "Block 220" status:clustered color:yellow +edge: {sourcename: "n220" targetname: "n221" label: "0" color: red} +node: {title: "n219" label: "End 219" color: blue info1: "visited: 16 irg: PRIMA_INLINE_set_a +arity: 0 "} } -graph: { title: "n227" label: "Block 227" status:clustered color:yellow -edge: {sourcename: "n227" targetname: "n228" label: "0" color: red} -node: {title: "n226" label: "Return 226" info1: "visited: 16 +graph: { title: "n222" label: "Block 222" status:clustered color:yellow +edge: {sourcename: "n222" targetname: "n223" label: "0" color: red} +node: {title: "n221" label: "Return 221" info1: "visited: 16 irg: PRIMA_INLINE_set_a +arity: 1 return in method of type set_a "} -edge: {sourcename: "n226" targetname: "n231" label: "0" color: blue} -node: {title: "n231" label: "ProjM 0 231" color: yellow info1: "visited: 16 +edge: {sourcename: "n221" targetname: "n226" label: "0" color: blue} +node: {title: "n226" label: "ProjM 0 226" color: yellow info1: "visited: 16 irg: PRIMA_INLINE_set_a +arity: 1 "} -edge: {sourcename: "n231" targetname: "n232" label: "0" color: blue} -node: {title: "n232" label: "Store 232" info1: "visited: 16 +edge: {sourcename: "n226" targetname: "n227" label: "0" color: blue} +node: {title: "n227" label: "Store 227" info1: "visited: 16 irg: PRIMA_INLINE_set_a +arity: 3 "} -edge: {sourcename: "n232" targetname: "n237" label: "0" color: blue} -edge: {sourcename: "n232" targetname: "n235" label: "1" } -edge: {sourcename: "n232" targetname: "n233" label: "2" } -node: {title: "n235" label: "Sel a 235" info1: "visited: 16 +edge: {sourcename: "n227" targetname: "n232" label: "0" color: blue} +edge: {sourcename: "n227" targetname: "n230" label: "1" } +edge: {sourcename: "n227" targetname: "n228" label: "2" } +node: {title: "n230" label: "Sel a 230" info1: "visited: 16 irg: PRIMA_INLINE_set_a +arity: 2 Selecting entity of type int from entity of type PRIMA_INLINE "} -edge: {sourcename: "n235" targetname: "n237" label: "0" color: blue} -edge: {sourcename: "n235" targetname: "n236" label: "1" } -node: {title: "n236" label: "ProjP 0 236" color: yellow info1: "visited: 16 +edge: {sourcename: "n230" targetname: "n232" label: "0" color: blue} +edge: {sourcename: "n230" targetname: "n231" label: "1" } +node: {title: "n231" label: "ProjP 0 231" color: yellow info1: "visited: 16 irg: PRIMA_INLINE_set_a +arity: 1 "} -edge: {sourcename: "n236" targetname: "n234" label: "0" } -node: {title: "n233" label: "ProjIs 1 233" color: yellow info1: "visited: 16 +edge: {sourcename: "n231" targetname: "n229" label: "0" } +node: {title: "n228" label: "ProjIs 1 228" color: yellow info1: "visited: 16 irg: PRIMA_INLINE_set_a +arity: 1 "} -edge: {sourcename: "n233" targetname: "n234" label: "0" } +edge: {sourcename: "n228" targetname: "n229" label: "0" } } -graph: { title: "n229" label: "Block 229" status:clustered color:yellow -edge: {sourcename: "n229" targetname: "n228" label: "0" color: red} -node: {title: "n237" label: "ProjM 1 237" color: yellow info1: "visited: 16 +graph: { title: "n224" label: "Block 224" status:clustered color:yellow +edge: {sourcename: "n224" targetname: "n223" label: "0" color: red} +node: {title: "n232" label: "ProjM 1 232" color: yellow info1: "visited: 16 irg: PRIMA_INLINE_set_a +arity: 1 "} -edge: {sourcename: "n237" targetname: "n230" label: "0" color: blue} -node: {title: "n234" label: "ProjT 4 234" color: yellow info1: "visited: 16 +edge: {sourcename: "n232" targetname: "n225" label: "0" color: blue} +node: {title: "n229" label: "ProjT 4 229" color: yellow info1: "visited: 16 irg: PRIMA_INLINE_set_a +arity: 1 "} -edge: {sourcename: "n234" targetname: "n230" label: "0" } -node: {title: "n228" label: "ProjX 0 228" color: yellow info1: "visited: 16 +edge: {sourcename: "n229" targetname: "n225" label: "0" } +node: {title: "n223" label: "ProjX 0 223" color: yellow info1: "visited: 16 irg: PRIMA_INLINE_set_a +arity: 1 "} -edge: {sourcename: "n228" targetname: "n230" label: "0" color: red} -node: {title: "n230" label: "Start 230" color: blue info1: "visited: 16 +edge: {sourcename: "n223" targetname: "n225" label: "0" color: red} +node: {title: "n225" label: "Start 225" color: blue info1: "visited: 16 irg: PRIMA_INLINE_set_a +arity: 0 start of method of type set_a param 0 type: class_prima_ptr param 1 type: int diff --git a/testprograms/ref-results/PRIMA_c-pure-wtypes.vcg b/testprograms/ref-results/PRIMA_c-pure-wtypes.vcg index 6565fb57a..371870c48 100644 --- a/testprograms/ref-results/PRIMA_c-pure-wtypes.vcg +++ b/testprograms/ref-results/PRIMA_c-pure-wtypes.vcg @@ -17,95 +17,111 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -node: {title: "n157" label: "Block 157" color: lightyellow info1: "visited: 10 +node: {title: "n151" label: "Block 151" color: lightyellow info1: "visited: 10 irg: PRIMA_c +arity: 1 backedges: "} -edge: {sourcename: "n157" targetname: "n156" label: "0" color: red} -node: {title: "n158" label: "Start 158" color: blue info1: "visited: 10 +edge: {sourcename: "n151" targetname: "n150" label: "0" color: red} +node: {title: "n152" label: "Start 152" color: blue info1: "visited: 10 irg: PRIMA_c +arity: 0 start of method of type c param 0 type: class_prima_ptr param 1 type: int "} -edge: { sourcename: "n158" targetname: "n157" class: 2 priority: 2 linestyle: dotted} -node: {title: "n156" label: "ProjX 0 156" color: yellow info1: "visited: 10 +edge: { sourcename: "n152" targetname: "n151" class: 2 priority: 2 linestyle: dotted} +node: {title: "n150" label: "ProjX 0 150" color: yellow info1: "visited: 10 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n156" targetname: "n158" label: "0" color: red} -edge: { sourcename: "n156" targetname: "n157" class: 2 priority: 2 linestyle: dotted} -node: {title: "n155" label: "Block 155" color: lightyellow info1: "visited: 10 +edge: {sourcename: "n150" targetname: "n152" label: "0" color: red} +edge: { sourcename: "n150" targetname: "n151" class: 2 priority: 2 linestyle: dotted} +node: {title: "n149" label: "Block 149" color: lightyellow info1: "visited: 10 irg: PRIMA_c +arity: 1 backedges: "} -edge: {sourcename: "n155" targetname: "n156" label: "0" color: red} -node: {title: "n164" label: "ProjT 4 164" color: yellow info1: "visited: 10 +edge: {sourcename: "n149" targetname: "n150" label: "0" color: red} +node: {title: "n158" label: "ProjT 4 158" color: yellow info1: "visited: 10 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n164" targetname: "n158" label: "0" } -edge: { sourcename: "n164" targetname: "n157" class: 2 priority: 2 linestyle: dotted} -node: {title: "n163" label: "ProjP 0 163" color: yellow info1: "visited: 10 +edge: {sourcename: "n158" targetname: "n152" label: "0" } +edge: { sourcename: "n158" targetname: "n151" class: 2 priority: 2 linestyle: dotted} +node: {title: "n157" label: "ProjP 0 157" color: yellow info1: "visited: 10 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n163" targetname: "n164" label: "0" } -edge: { sourcename: "n163" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n165" label: "ProjM 1 165" color: yellow info1: "visited: 10 +edge: {sourcename: "n157" targetname: "n158" label: "0" } +edge: { sourcename: "n157" targetname: "n149" class: 2 priority: 2 linestyle: dotted} +node: {title: "n159" label: "ProjM 1 159" color: yellow info1: "visited: 10 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n165" targetname: "n158" label: "0" color: blue} -edge: { sourcename: "n165" targetname: "n157" class: 2 priority: 2 linestyle: dotted} -node: {title: "n162" label: "Sel a 162" info1: "visited: 10 +edge: {sourcename: "n159" targetname: "n152" label: "0" color: blue} +edge: { sourcename: "n159" targetname: "n151" class: 2 priority: 2 linestyle: dotted} +node: {title: "n156" label: "Sel a 156" info1: "visited: 10 irg: PRIMA_c +arity: 2 Selecting entity of type int from entity of type PRIMA "} -edge: {sourcename: "n162" targetname: "n165" label: "0" color: blue} -edge: {sourcename: "n162" targetname: "n163" label: "1" } -edge: { sourcename: "n162" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n161" label: "Load 161" info1: "visited: 10 +edge: {sourcename: "n156" targetname: "n159" label: "0" color: blue} +edge: {sourcename: "n156" targetname: "n157" label: "1" } +edge: { sourcename: "n156" targetname: "n149" class: 2 priority: 2 linestyle: dotted} +node: {title: "n155" label: "Load 155" info1: "visited: 10 irg: PRIMA_c +arity: 2 "} -edge: {sourcename: "n161" targetname: "n165" label: "0" color: blue} -edge: {sourcename: "n161" targetname: "n162" label: "1" } -edge: { sourcename: "n161" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n160" label: "ProjIs 2 160" color: yellow info1: "visited: 10 +edge: {sourcename: "n155" targetname: "n159" label: "0" color: blue} +edge: {sourcename: "n155" targetname: "n156" label: "1" } +edge: { sourcename: "n155" targetname: "n149" class: 2 priority: 2 linestyle: dotted} +node: {title: "n154" label: "ProjIs 2 154" color: yellow info1: "visited: 10 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n160" targetname: "n161" label: "0" } -edge: { sourcename: "n160" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n166" label: "ProjIs 1 166" color: yellow info1: "visited: 10 +edge: {sourcename: "n154" targetname: "n155" label: "0" } +edge: { sourcename: "n154" targetname: "n149" class: 2 priority: 2 linestyle: dotted} +node: {title: "n160" label: "ProjIs 1 160" color: yellow info1: "visited: 10 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n166" targetname: "n164" label: "0" } -edge: { sourcename: "n166" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n159" label: "AddIs 159" info1: "visited: 10 +edge: {sourcename: "n160" targetname: "n158" label: "0" } +edge: { sourcename: "n160" targetname: "n149" class: 2 priority: 2 linestyle: dotted} +node: {title: "n153" label: "AddIs 153" info1: "visited: 10 irg: PRIMA_c +arity: 2 "} -edge: {sourcename: "n159" targetname: "n166" label: "0" } -edge: {sourcename: "n159" targetname: "n160" label: "1" } -edge: { sourcename: "n159" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n167" label: "ProjM 0 167" color: yellow info1: "visited: 10 +edge: {sourcename: "n153" targetname: "n160" label: "0" } +edge: {sourcename: "n153" targetname: "n154" label: "1" } +edge: { sourcename: "n153" targetname: "n149" class: 2 priority: 2 linestyle: dotted} +node: {title: "n161" label: "ProjM 0 161" color: yellow info1: "visited: 10 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n167" targetname: "n161" label: "0" color: blue} -edge: { sourcename: "n167" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n154" label: "Return 154" info1: "visited: 10 +edge: {sourcename: "n161" targetname: "n155" label: "0" color: blue} +edge: { sourcename: "n161" targetname: "n149" class: 2 priority: 2 linestyle: dotted} +node: {title: "n148" label: "Return 148" info1: "visited: 10 irg: PRIMA_c +arity: 2 return in method of type c res 0 type: int "} -edge: {sourcename: "n154" targetname: "n167" label: "0" color: blue} -edge: {sourcename: "n154" targetname: "n159" label: "1" } -edge: { sourcename: "n154" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n153" label: "Block 153" color: lightyellow info1: "visited: 10 +edge: {sourcename: "n148" targetname: "n161" label: "0" color: blue} +edge: {sourcename: "n148" targetname: "n153" label: "1" } +edge: { sourcename: "n148" targetname: "n149" class: 2 priority: 2 linestyle: dotted} +node: {title: "n147" label: "Block 147" color: lightyellow info1: "visited: 10 irg: PRIMA_c +arity: 1 backedges: "} -edge: {sourcename: "n153" targetname: "n154" label: "0" color: red} -node: {title: "n152" label: "End 152" color: blue info1: "visited: 10 +edge: {sourcename: "n147" targetname: "n148" label: "0" color: red} +node: {title: "n146" label: "End 146" color: blue info1: "visited: 10 irg: PRIMA_c +arity: 0 "} -edge: { sourcename: "n152" targetname: "n153" class: 2 priority: 2 linestyle: dotted} -node: {title: "e15" label: "ent a" color: yellow +edge: { sourcename: "n146" targetname: "n147" class: 2 priority: 2 linestyle: dotted} +node: {title: "e14" label: "ent a" color: yellow info1: " -id: e15 +id: e14 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized @@ -115,17 +131,17 @@ name: a ld_name: no yet set offset: -1" } -edge: { sourcename: "e15" targetname: "t12"class: 3 label: "type" color: red} -node: {title: "t13" label: "class PRIMA" info1: "state: layout_undefined +edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red} +node: {title: "t12" label: "class PRIMA" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "t13" targetname: "e15"class: 12 label: "member" color:blue} -edge: { sourcename: "t13" targetname: "e18"class: 12 label: "member" color:blue} -edge: { sourcename: "t13" targetname: "e21"class: 12 label: "member" color:blue} -node: {title: "e18" label: "ent PRIMA_set_a" color: yellow +edge: { sourcename: "t12" targetname: "e14"class: 12 label: "member" color:blue} +edge: { sourcename: "t12" targetname: "e17"class: 12 label: "member" color:blue} +edge: { sourcename: "t12" targetname: "e20"class: 12 label: "member" color:blue} +node: {title: "e17" label: "ent PRIMA_set_a" color: yellow info1: " -id: e18 +id: e17 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -134,31 +150,32 @@ peculiarity: peculiarity_existent name: PRIMA_set_a ld_name: PRIMA_set_a offset: -1 -irg = g71" +irg = g68" } -edge: { sourcename: "e18" targetname: "t16"class: 3 label: "type" color: red} -edge: { sourcename: "e18" targetname: "n17"label: "value 0"} -node: {title: "n17" label: "&(PRIMA_set_a)P 17" color: yellow info1: "visited: 3 +edge: { sourcename: "e17" targetname: "t15"class: 3 label: "type" color: red} +edge: { sourcename: "e17" targetname: "n16"label: "value 0"} +node: {title: "n16" label: "&(PRIMA_set_a)P 16" color: yellow info1: "visited: 3 +arity: 0 Const of type type_unknown "} -node: {title: "t16" label: "method set_a" info1: "state: layout_fixed, +node: {title: "t15" label: "method set_a" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t16" targetname: "t14"class: 5 label: "param 0" color: green} -edge: { sourcename: "t16" targetname: "t12"class: 5 label: "param 1" color: green} -node: {title: "t14" label: "pointer class_prima_ptr" info1: "state: layout_fixed, +edge: { sourcename: "t15" targetname: "t13"class: 5 label: "param 0" color: green} +edge: { sourcename: "t15" targetname: "t11"class: 5 label: "param 1" color: green} +node: {title: "t13" label: "pointer class_prima_ptr" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t14" targetname: "t13"class: 9 label: "points to" color:green} -node: {title: "t12" label: "primitive int" info1: "state: layout_fixed, +edge: { sourcename: "t13" targetname: "t12"class: 9 label: "points to" color:green} +node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, mode: Is, size: 4B, "} -node: {title: "e21" label: "ent PRIMA_c" color: yellow +node: {title: "e20" label: "ent PRIMA_c" color: yellow info1: " -id: e21 +id: e20 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -167,23 +184,24 @@ peculiarity: peculiarity_existent name: PRIMA_c ld_name: PRIMA_c offset: -1 -irg = g94" +irg = g90" } -edge: { sourcename: "e21" targetname: "t19"class: 3 label: "type" color: red} -edge: { sourcename: "e21" targetname: "n20"label: "value 0"} -node: {title: "n20" label: "&(PRIMA_c)P 20" color: yellow info1: "visited: 3 +edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red} +edge: { sourcename: "e20" targetname: "n19"label: "value 0"} +node: {title: "n19" label: "&(PRIMA_c)P 19" color: yellow info1: "visited: 3 +arity: 0 Const of type type_unknown "} -node: {title: "t19" label: "method c" info1: "state: layout_fixed, +node: {title: "t18" label: "method c" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t19" targetname: "t14"class: 5 label: "param 0" color: green} -edge: { sourcename: "t19" targetname: "t12"class: 5 label: "param 1" color: green} -edge: { sourcename: "t19" targetname: "t12"class: 6 label: "res 0" color: green} -node: {title: "t82" label: "class cframe_tp" info1: "state: layout_undefined +edge: { sourcename: "t18" targetname: "t13"class: 5 label: "param 0" color: green} +edge: { sourcename: "t18" targetname: "t11"class: 5 label: "param 1" color: green} +edge: { sourcename: "t18" targetname: "t11"class: 6 label: "res 0" color: green} +node: {title: "t79" label: "class cframe_tp" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "n162" targetname: "e15"class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n156" targetname: "e14"class: 2 priority: 2 linestyle: dotted} } diff --git a/testprograms/ref-results/PRIMA_c-pure.vcg b/testprograms/ref-results/PRIMA_c-pure.vcg index 0e121869c..6ffe9b6de 100644 --- a/testprograms/ref-results/PRIMA_c-pure.vcg +++ b/testprograms/ref-results/PRIMA_c-pure.vcg @@ -17,90 +17,106 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -node: {title: "n157" label: "Block 157" color: lightyellow info1: "visited: 8 +node: {title: "n151" label: "Block 151" color: lightyellow info1: "visited: 8 irg: PRIMA_c +arity: 1 backedges: "} -edge: {sourcename: "n157" targetname: "n156" label: "0" color: red} -node: {title: "n158" label: "Start 158" color: blue info1: "visited: 8 +edge: {sourcename: "n151" targetname: "n150" label: "0" color: red} +node: {title: "n152" label: "Start 152" color: blue info1: "visited: 8 irg: PRIMA_c +arity: 0 start of method of type c param 0 type: class_prima_ptr param 1 type: int "} -edge: { sourcename: "n158" targetname: "n157" class: 2 priority: 2 linestyle: dotted} -node: {title: "n156" label: "ProjX 0 156" color: yellow info1: "visited: 8 +edge: { sourcename: "n152" targetname: "n151" class: 2 priority: 2 linestyle: dotted} +node: {title: "n150" label: "ProjX 0 150" color: yellow info1: "visited: 8 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n156" targetname: "n158" label: "0" color: red} -edge: { sourcename: "n156" targetname: "n157" class: 2 priority: 2 linestyle: dotted} -node: {title: "n155" label: "Block 155" color: lightyellow info1: "visited: 8 +edge: {sourcename: "n150" targetname: "n152" label: "0" color: red} +edge: { sourcename: "n150" targetname: "n151" class: 2 priority: 2 linestyle: dotted} +node: {title: "n149" label: "Block 149" color: lightyellow info1: "visited: 8 irg: PRIMA_c +arity: 1 backedges: "} -edge: {sourcename: "n155" targetname: "n156" label: "0" color: red} -node: {title: "n164" label: "ProjT 4 164" color: yellow info1: "visited: 8 +edge: {sourcename: "n149" targetname: "n150" label: "0" color: red} +node: {title: "n158" label: "ProjT 4 158" color: yellow info1: "visited: 8 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n164" targetname: "n158" label: "0" } -edge: { sourcename: "n164" targetname: "n157" class: 2 priority: 2 linestyle: dotted} -node: {title: "n163" label: "ProjP 0 163" color: yellow info1: "visited: 8 +edge: {sourcename: "n158" targetname: "n152" label: "0" } +edge: { sourcename: "n158" targetname: "n151" class: 2 priority: 2 linestyle: dotted} +node: {title: "n157" label: "ProjP 0 157" color: yellow info1: "visited: 8 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n163" targetname: "n164" label: "0" } -edge: { sourcename: "n163" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n165" label: "ProjM 1 165" color: yellow info1: "visited: 8 +edge: {sourcename: "n157" targetname: "n158" label: "0" } +edge: { sourcename: "n157" targetname: "n149" class: 2 priority: 2 linestyle: dotted} +node: {title: "n159" label: "ProjM 1 159" color: yellow info1: "visited: 8 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n165" targetname: "n158" label: "0" color: blue} -edge: { sourcename: "n165" targetname: "n157" class: 2 priority: 2 linestyle: dotted} -node: {title: "n162" label: "Sel a 162" info1: "visited: 8 +edge: {sourcename: "n159" targetname: "n152" label: "0" color: blue} +edge: { sourcename: "n159" targetname: "n151" class: 2 priority: 2 linestyle: dotted} +node: {title: "n156" label: "Sel a 156" info1: "visited: 8 irg: PRIMA_c +arity: 2 Selecting entity of type int from entity of type PRIMA "} -edge: {sourcename: "n162" targetname: "n165" label: "0" color: blue} -edge: {sourcename: "n162" targetname: "n163" label: "1" } -edge: { sourcename: "n162" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n161" label: "Load 161" info1: "visited: 8 +edge: {sourcename: "n156" targetname: "n159" label: "0" color: blue} +edge: {sourcename: "n156" targetname: "n157" label: "1" } +edge: { sourcename: "n156" targetname: "n149" class: 2 priority: 2 linestyle: dotted} +node: {title: "n155" label: "Load 155" info1: "visited: 8 irg: PRIMA_c +arity: 2 "} -edge: {sourcename: "n161" targetname: "n165" label: "0" color: blue} -edge: {sourcename: "n161" targetname: "n162" label: "1" } -edge: { sourcename: "n161" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n160" label: "ProjIs 2 160" color: yellow info1: "visited: 8 +edge: {sourcename: "n155" targetname: "n159" label: "0" color: blue} +edge: {sourcename: "n155" targetname: "n156" label: "1" } +edge: { sourcename: "n155" targetname: "n149" class: 2 priority: 2 linestyle: dotted} +node: {title: "n154" label: "ProjIs 2 154" color: yellow info1: "visited: 8 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n160" targetname: "n161" label: "0" } -edge: { sourcename: "n160" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n166" label: "ProjIs 1 166" color: yellow info1: "visited: 8 +edge: {sourcename: "n154" targetname: "n155" label: "0" } +edge: { sourcename: "n154" targetname: "n149" class: 2 priority: 2 linestyle: dotted} +node: {title: "n160" label: "ProjIs 1 160" color: yellow info1: "visited: 8 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n166" targetname: "n164" label: "0" } -edge: { sourcename: "n166" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n159" label: "AddIs 159" info1: "visited: 8 +edge: {sourcename: "n160" targetname: "n158" label: "0" } +edge: { sourcename: "n160" targetname: "n149" class: 2 priority: 2 linestyle: dotted} +node: {title: "n153" label: "AddIs 153" info1: "visited: 8 irg: PRIMA_c +arity: 2 "} -edge: {sourcename: "n159" targetname: "n166" label: "0" } -edge: {sourcename: "n159" targetname: "n160" label: "1" } -edge: { sourcename: "n159" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n167" label: "ProjM 0 167" color: yellow info1: "visited: 8 +edge: {sourcename: "n153" targetname: "n160" label: "0" } +edge: {sourcename: "n153" targetname: "n154" label: "1" } +edge: { sourcename: "n153" targetname: "n149" class: 2 priority: 2 linestyle: dotted} +node: {title: "n161" label: "ProjM 0 161" color: yellow info1: "visited: 8 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n167" targetname: "n161" label: "0" color: blue} -edge: { sourcename: "n167" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n154" label: "Return 154" info1: "visited: 8 +edge: {sourcename: "n161" targetname: "n155" label: "0" color: blue} +edge: { sourcename: "n161" targetname: "n149" class: 2 priority: 2 linestyle: dotted} +node: {title: "n148" label: "Return 148" info1: "visited: 8 irg: PRIMA_c +arity: 2 return in method of type c res 0 type: int "} -edge: {sourcename: "n154" targetname: "n167" label: "0" color: blue} -edge: {sourcename: "n154" targetname: "n159" label: "1" } -edge: { sourcename: "n154" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n153" label: "Block 153" color: lightyellow info1: "visited: 8 +edge: {sourcename: "n148" targetname: "n161" label: "0" color: blue} +edge: {sourcename: "n148" targetname: "n153" label: "1" } +edge: { sourcename: "n148" targetname: "n149" class: 2 priority: 2 linestyle: dotted} +node: {title: "n147" label: "Block 147" color: lightyellow info1: "visited: 8 irg: PRIMA_c +arity: 1 backedges: "} -edge: {sourcename: "n153" targetname: "n154" label: "0" color: red} -node: {title: "n152" label: "End 152" color: blue info1: "visited: 8 +edge: {sourcename: "n147" targetname: "n148" label: "0" color: red} +node: {title: "n146" label: "End 146" color: blue info1: "visited: 8 irg: PRIMA_c +arity: 0 "} -edge: { sourcename: "n152" targetname: "n153" class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n146" targetname: "n147" class: 2 priority: 2 linestyle: dotted} } diff --git a/testprograms/ref-results/PRIMA_c-type.vcg b/testprograms/ref-results/PRIMA_c-type.vcg index 6eaff2b4d..5895a87af 100644 --- a/testprograms/ref-results/PRIMA_c-type.vcg +++ b/testprograms/ref-results/PRIMA_c-type.vcg @@ -17,9 +17,9 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -node: {title: "e15" label: "ent a" color: yellow +node: {title: "e14" label: "ent a" color: yellow info1: " -id: e15 +id: e14 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized @@ -29,17 +29,17 @@ name: a ld_name: no yet set offset: -1" } -edge: { sourcename: "e15" targetname: "t12"class: 3 label: "type" color: red} -node: {title: "t13" label: "class PRIMA" info1: "state: layout_undefined +edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red} +node: {title: "t12" label: "class PRIMA" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "t13" targetname: "e15"class: 12 label: "member" color:blue} -edge: { sourcename: "t13" targetname: "e18"class: 12 label: "member" color:blue} -edge: { sourcename: "t13" targetname: "e21"class: 12 label: "member" color:blue} -node: {title: "e18" label: "ent PRIMA_set_a" color: yellow +edge: { sourcename: "t12" targetname: "e14"class: 12 label: "member" color:blue} +edge: { sourcename: "t12" targetname: "e17"class: 12 label: "member" color:blue} +edge: { sourcename: "t12" targetname: "e20"class: 12 label: "member" color:blue} +node: {title: "e17" label: "ent PRIMA_set_a" color: yellow info1: " -id: e18 +id: e17 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -48,31 +48,32 @@ peculiarity: peculiarity_existent name: PRIMA_set_a ld_name: PRIMA_set_a offset: -1 -irg = g71" +irg = g68" } -edge: { sourcename: "e18" targetname: "t16"class: 3 label: "type" color: red} -edge: { sourcename: "e18" targetname: "n17"label: "value 0"} -node: {title: "n17" label: "&(PRIMA_set_a)P 17" color: yellow info1: "visited: 9 +edge: { sourcename: "e17" targetname: "t15"class: 3 label: "type" color: red} +edge: { sourcename: "e17" targetname: "n16"label: "value 0"} +node: {title: "n16" label: "&(PRIMA_set_a)P 16" color: yellow info1: "visited: 9 +arity: 0 Const of type type_unknown "} -node: {title: "t16" label: "method set_a" info1: "state: layout_fixed, +node: {title: "t15" label: "method set_a" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t16" targetname: "t14"class: 5 label: "param 0" color: green} -edge: { sourcename: "t16" targetname: "t12"class: 5 label: "param 1" color: green} -node: {title: "t14" label: "pointer class_prima_ptr" info1: "state: layout_fixed, +edge: { sourcename: "t15" targetname: "t13"class: 5 label: "param 0" color: green} +edge: { sourcename: "t15" targetname: "t11"class: 5 label: "param 1" color: green} +node: {title: "t13" label: "pointer class_prima_ptr" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t14" targetname: "t13"class: 9 label: "points to" color:green} -node: {title: "t12" label: "primitive int" info1: "state: layout_fixed, +edge: { sourcename: "t13" targetname: "t12"class: 9 label: "points to" color:green} +node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, mode: Is, size: 4B, "} -node: {title: "e21" label: "ent PRIMA_c" color: yellow +node: {title: "e20" label: "ent PRIMA_c" color: yellow info1: " -id: e21 +id: e20 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -81,21 +82,22 @@ peculiarity: peculiarity_existent name: PRIMA_c ld_name: PRIMA_c offset: -1 -irg = g94" +irg = g90" } -edge: { sourcename: "e21" targetname: "t19"class: 3 label: "type" color: red} -edge: { sourcename: "e21" targetname: "n20"label: "value 0"} -node: {title: "n20" label: "&(PRIMA_c)P 20" color: yellow info1: "visited: 9 +edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red} +edge: { sourcename: "e20" targetname: "n19"label: "value 0"} +node: {title: "n19" label: "&(PRIMA_c)P 19" color: yellow info1: "visited: 9 +arity: 0 Const of type type_unknown "} -node: {title: "t19" label: "method c" info1: "state: layout_fixed, +node: {title: "t18" label: "method c" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t19" targetname: "t14"class: 5 label: "param 0" color: green} -edge: { sourcename: "t19" targetname: "t12"class: 5 label: "param 1" color: green} -edge: { sourcename: "t19" targetname: "t12"class: 6 label: "res 0" color: green} -node: {title: "t82" label: "class cframe_tp" info1: "state: layout_undefined +edge: { sourcename: "t18" targetname: "t13"class: 5 label: "param 0" color: green} +edge: { sourcename: "t18" targetname: "t11"class: 5 label: "param 1" color: green} +edge: { sourcename: "t18" targetname: "t11"class: 6 label: "res 0" color: green} +node: {title: "t79" label: "class cframe_tp" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} diff --git a/testprograms/ref-results/PRIMA_c-wtypes.vcg b/testprograms/ref-results/PRIMA_c-wtypes.vcg index 10c5c826d..02b4f58bf 100644 --- a/testprograms/ref-results/PRIMA_c-wtypes.vcg +++ b/testprograms/ref-results/PRIMA_c-wtypes.vcg @@ -17,74 +17,87 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -graph: { title: "g94" label: "PRIMA_c" status:clustered color:white -graph: { title: "n153" label: "Block 153" status:clustered color:yellow -edge: {sourcename: "n153" targetname: "n154" label: "0" color: red} -node: {title: "n152" label: "End 152" color: blue info1: "visited: 13 +graph: { title: "g90" label: "PRIMA_c" status:clustered color:white +graph: { title: "n147" label: "Block 147" status:clustered color:yellow +edge: {sourcename: "n147" targetname: "n148" label: "0" color: red} +node: {title: "n146" label: "End 146" color: blue info1: "visited: 13 irg: PRIMA_c +arity: 0 "} } -graph: { title: "n155" label: "Block 155" status:clustered color:yellow -edge: {sourcename: "n155" targetname: "n156" label: "0" color: red} -node: {title: "n154" label: "Return 154" info1: "visited: 13 +graph: { title: "n149" label: "Block 149" status:clustered color:yellow +edge: {sourcename: "n149" targetname: "n150" label: "0" color: red} +node: {title: "n148" label: "Return 148" info1: "visited: 13 irg: PRIMA_c +arity: 2 return in method of type c res 0 type: int "} -edge: {sourcename: "n154" targetname: "n167" label: "0" color: blue} -edge: {sourcename: "n154" targetname: "n159" label: "1" } -node: {title: "n167" label: "ProjM 0 167" color: yellow info1: "visited: 13 +edge: {sourcename: "n148" targetname: "n161" label: "0" color: blue} +edge: {sourcename: "n148" targetname: "n153" label: "1" } +node: {title: "n161" label: "ProjM 0 161" color: yellow info1: "visited: 13 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n167" targetname: "n161" label: "0" color: blue} -node: {title: "n159" label: "AddIs 159" info1: "visited: 13 +edge: {sourcename: "n161" targetname: "n155" label: "0" color: blue} +node: {title: "n153" label: "AddIs 153" info1: "visited: 13 irg: PRIMA_c +arity: 2 "} -edge: {sourcename: "n159" targetname: "n166" label: "0" } -edge: {sourcename: "n159" targetname: "n160" label: "1" } -node: {title: "n166" label: "ProjIs 1 166" color: yellow info1: "visited: 13 +edge: {sourcename: "n153" targetname: "n160" label: "0" } +edge: {sourcename: "n153" targetname: "n154" label: "1" } +node: {title: "n160" label: "ProjIs 1 160" color: yellow info1: "visited: 13 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n166" targetname: "n164" label: "0" } -node: {title: "n160" label: "ProjIs 2 160" color: yellow info1: "visited: 13 +edge: {sourcename: "n160" targetname: "n158" label: "0" } +node: {title: "n154" label: "ProjIs 2 154" color: yellow info1: "visited: 13 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n160" targetname: "n161" label: "0" } -node: {title: "n161" label: "Load 161" info1: "visited: 13 +edge: {sourcename: "n154" targetname: "n155" label: "0" } +node: {title: "n155" label: "Load 155" info1: "visited: 13 irg: PRIMA_c +arity: 2 "} -edge: {sourcename: "n161" targetname: "n165" label: "0" color: blue} -edge: {sourcename: "n161" targetname: "n162" label: "1" } -node: {title: "n162" label: "Sel a 162" info1: "visited: 13 +edge: {sourcename: "n155" targetname: "n159" label: "0" color: blue} +edge: {sourcename: "n155" targetname: "n156" label: "1" } +node: {title: "n156" label: "Sel a 156" info1: "visited: 13 irg: PRIMA_c +arity: 2 Selecting entity of type int from entity of type PRIMA "} -edge: {sourcename: "n162" targetname: "n165" label: "0" color: blue} -edge: {sourcename: "n162" targetname: "n163" label: "1" } -node: {title: "n163" label: "ProjP 0 163" color: yellow info1: "visited: 13 +edge: {sourcename: "n156" targetname: "n159" label: "0" color: blue} +edge: {sourcename: "n156" targetname: "n157" label: "1" } +node: {title: "n157" label: "ProjP 0 157" color: yellow info1: "visited: 13 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n163" targetname: "n164" label: "0" } +edge: {sourcename: "n157" targetname: "n158" label: "0" } } -graph: { title: "n157" label: "Block 157" status:clustered color:yellow -edge: {sourcename: "n157" targetname: "n156" label: "0" color: red} -node: {title: "n165" label: "ProjM 1 165" color: yellow info1: "visited: 13 +graph: { title: "n151" label: "Block 151" status:clustered color:yellow +edge: {sourcename: "n151" targetname: "n150" label: "0" color: red} +node: {title: "n159" label: "ProjM 1 159" color: yellow info1: "visited: 13 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n165" targetname: "n158" label: "0" color: blue} -node: {title: "n164" label: "ProjT 4 164" color: yellow info1: "visited: 13 +edge: {sourcename: "n159" targetname: "n152" label: "0" color: blue} +node: {title: "n158" label: "ProjT 4 158" color: yellow info1: "visited: 13 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n164" targetname: "n158" label: "0" } -node: {title: "n156" label: "ProjX 0 156" color: yellow info1: "visited: 13 +edge: {sourcename: "n158" targetname: "n152" label: "0" } +node: {title: "n150" label: "ProjX 0 150" color: yellow info1: "visited: 13 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n156" targetname: "n158" label: "0" color: red} -node: {title: "n158" label: "Start 158" color: blue info1: "visited: 13 +edge: {sourcename: "n150" targetname: "n152" label: "0" color: red} +node: {title: "n152" label: "Start 152" color: blue info1: "visited: 13 irg: PRIMA_c +arity: 0 start of method of type c param 0 type: class_prima_ptr param 1 type: int @@ -93,9 +106,9 @@ start of method of type c } -node: {title: "e15" label: "ent a" color: yellow +node: {title: "e14" label: "ent a" color: yellow info1: " -id: e15 +id: e14 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized @@ -105,17 +118,17 @@ name: a ld_name: no yet set offset: -1" } -edge: { sourcename: "e15" targetname: "t12"class: 3 label: "type" color: red} -node: {title: "t13" label: "class PRIMA" info1: "state: layout_undefined +edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red} +node: {title: "t12" label: "class PRIMA" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "t13" targetname: "e15"class: 12 label: "member" color:blue} -edge: { sourcename: "t13" targetname: "e18"class: 12 label: "member" color:blue} -edge: { sourcename: "t13" targetname: "e21"class: 12 label: "member" color:blue} -node: {title: "e18" label: "ent PRIMA_set_a" color: yellow +edge: { sourcename: "t12" targetname: "e14"class: 12 label: "member" color:blue} +edge: { sourcename: "t12" targetname: "e17"class: 12 label: "member" color:blue} +edge: { sourcename: "t12" targetname: "e20"class: 12 label: "member" color:blue} +node: {title: "e17" label: "ent PRIMA_set_a" color: yellow info1: " -id: e18 +id: e17 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -124,31 +137,32 @@ peculiarity: peculiarity_existent name: PRIMA_set_a ld_name: PRIMA_set_a offset: -1 -irg = g71" +irg = g68" } -edge: { sourcename: "e18" targetname: "t16"class: 3 label: "type" color: red} -edge: { sourcename: "e18" targetname: "n17"label: "value 0"} -node: {title: "n17" label: "&(PRIMA_set_a)P 17" color: yellow info1: "visited: 6 +edge: { sourcename: "e17" targetname: "t15"class: 3 label: "type" color: red} +edge: { sourcename: "e17" targetname: "n16"label: "value 0"} +node: {title: "n16" label: "&(PRIMA_set_a)P 16" color: yellow info1: "visited: 6 +arity: 0 Const of type type_unknown "} -node: {title: "t16" label: "method set_a" info1: "state: layout_fixed, +node: {title: "t15" label: "method set_a" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t16" targetname: "t14"class: 5 label: "param 0" color: green} -edge: { sourcename: "t16" targetname: "t12"class: 5 label: "param 1" color: green} -node: {title: "t14" label: "pointer class_prima_ptr" info1: "state: layout_fixed, +edge: { sourcename: "t15" targetname: "t13"class: 5 label: "param 0" color: green} +edge: { sourcename: "t15" targetname: "t11"class: 5 label: "param 1" color: green} +node: {title: "t13" label: "pointer class_prima_ptr" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t14" targetname: "t13"class: 9 label: "points to" color:green} -node: {title: "t12" label: "primitive int" info1: "state: layout_fixed, +edge: { sourcename: "t13" targetname: "t12"class: 9 label: "points to" color:green} +node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, mode: Is, size: 4B, "} -node: {title: "e21" label: "ent PRIMA_c" color: yellow +node: {title: "e20" label: "ent PRIMA_c" color: yellow info1: " -id: e21 +id: e20 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -157,23 +171,24 @@ peculiarity: peculiarity_existent name: PRIMA_c ld_name: PRIMA_c offset: -1 -irg = g94" +irg = g90" } -edge: { sourcename: "e21" targetname: "t19"class: 3 label: "type" color: red} -edge: { sourcename: "e21" targetname: "n20"label: "value 0"} -node: {title: "n20" label: "&(PRIMA_c)P 20" color: yellow info1: "visited: 6 +edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red} +edge: { sourcename: "e20" targetname: "n19"label: "value 0"} +node: {title: "n19" label: "&(PRIMA_c)P 19" color: yellow info1: "visited: 6 +arity: 0 Const of type type_unknown "} -node: {title: "t19" label: "method c" info1: "state: layout_fixed, +node: {title: "t18" label: "method c" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t19" targetname: "t14"class: 5 label: "param 0" color: green} -edge: { sourcename: "t19" targetname: "t12"class: 5 label: "param 1" color: green} -edge: { sourcename: "t19" targetname: "t12"class: 6 label: "res 0" color: green} -node: {title: "t82" label: "class cframe_tp" info1: "state: layout_undefined +edge: { sourcename: "t18" targetname: "t13"class: 5 label: "param 0" color: green} +edge: { sourcename: "t18" targetname: "t11"class: 5 label: "param 1" color: green} +edge: { sourcename: "t18" targetname: "t11"class: 6 label: "res 0" color: green} +node: {title: "t79" label: "class cframe_tp" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "n162" targetname: "e15"class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n156" targetname: "e14"class: 2 priority: 2 linestyle: dotted} } diff --git a/testprograms/ref-results/PRIMA_c.vcg b/testprograms/ref-results/PRIMA_c.vcg index 2ffc49165..eb8335e98 100644 --- a/testprograms/ref-results/PRIMA_c.vcg +++ b/testprograms/ref-results/PRIMA_c.vcg @@ -17,74 +17,87 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -graph: { title: "g94" label: "PRIMA_c" status:clustered color:white -graph: { title: "n153" label: "Block 153" status:clustered color:yellow -edge: {sourcename: "n153" targetname: "n154" label: "0" color: red} -node: {title: "n152" label: "End 152" color: blue info1: "visited: 9 +graph: { title: "g90" label: "PRIMA_c" status:clustered color:white +graph: { title: "n147" label: "Block 147" status:clustered color:yellow +edge: {sourcename: "n147" targetname: "n148" label: "0" color: red} +node: {title: "n146" label: "End 146" color: blue info1: "visited: 9 irg: PRIMA_c +arity: 0 "} } -graph: { title: "n155" label: "Block 155" status:clustered color:yellow -edge: {sourcename: "n155" targetname: "n156" label: "0" color: red} -node: {title: "n154" label: "Return 154" info1: "visited: 9 +graph: { title: "n149" label: "Block 149" status:clustered color:yellow +edge: {sourcename: "n149" targetname: "n150" label: "0" color: red} +node: {title: "n148" label: "Return 148" info1: "visited: 9 irg: PRIMA_c +arity: 2 return in method of type c res 0 type: int "} -edge: {sourcename: "n154" targetname: "n167" label: "0" color: blue} -edge: {sourcename: "n154" targetname: "n159" label: "1" } -node: {title: "n167" label: "ProjM 0 167" color: yellow info1: "visited: 9 +edge: {sourcename: "n148" targetname: "n161" label: "0" color: blue} +edge: {sourcename: "n148" targetname: "n153" label: "1" } +node: {title: "n161" label: "ProjM 0 161" color: yellow info1: "visited: 9 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n167" targetname: "n161" label: "0" color: blue} -node: {title: "n159" label: "AddIs 159" info1: "visited: 9 +edge: {sourcename: "n161" targetname: "n155" label: "0" color: blue} +node: {title: "n153" label: "AddIs 153" info1: "visited: 9 irg: PRIMA_c +arity: 2 "} -edge: {sourcename: "n159" targetname: "n166" label: "0" } -edge: {sourcename: "n159" targetname: "n160" label: "1" } -node: {title: "n166" label: "ProjIs 1 166" color: yellow info1: "visited: 9 +edge: {sourcename: "n153" targetname: "n160" label: "0" } +edge: {sourcename: "n153" targetname: "n154" label: "1" } +node: {title: "n160" label: "ProjIs 1 160" color: yellow info1: "visited: 9 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n166" targetname: "n164" label: "0" } -node: {title: "n160" label: "ProjIs 2 160" color: yellow info1: "visited: 9 +edge: {sourcename: "n160" targetname: "n158" label: "0" } +node: {title: "n154" label: "ProjIs 2 154" color: yellow info1: "visited: 9 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n160" targetname: "n161" label: "0" } -node: {title: "n161" label: "Load 161" info1: "visited: 9 +edge: {sourcename: "n154" targetname: "n155" label: "0" } +node: {title: "n155" label: "Load 155" info1: "visited: 9 irg: PRIMA_c +arity: 2 "} -edge: {sourcename: "n161" targetname: "n165" label: "0" color: blue} -edge: {sourcename: "n161" targetname: "n162" label: "1" } -node: {title: "n162" label: "Sel a 162" info1: "visited: 9 +edge: {sourcename: "n155" targetname: "n159" label: "0" color: blue} +edge: {sourcename: "n155" targetname: "n156" label: "1" } +node: {title: "n156" label: "Sel a 156" info1: "visited: 9 irg: PRIMA_c +arity: 2 Selecting entity of type int from entity of type PRIMA "} -edge: {sourcename: "n162" targetname: "n165" label: "0" color: blue} -edge: {sourcename: "n162" targetname: "n163" label: "1" } -node: {title: "n163" label: "ProjP 0 163" color: yellow info1: "visited: 9 +edge: {sourcename: "n156" targetname: "n159" label: "0" color: blue} +edge: {sourcename: "n156" targetname: "n157" label: "1" } +node: {title: "n157" label: "ProjP 0 157" color: yellow info1: "visited: 9 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n163" targetname: "n164" label: "0" } +edge: {sourcename: "n157" targetname: "n158" label: "0" } } -graph: { title: "n157" label: "Block 157" status:clustered color:yellow -edge: {sourcename: "n157" targetname: "n156" label: "0" color: red} -node: {title: "n165" label: "ProjM 1 165" color: yellow info1: "visited: 9 +graph: { title: "n151" label: "Block 151" status:clustered color:yellow +edge: {sourcename: "n151" targetname: "n150" label: "0" color: red} +node: {title: "n159" label: "ProjM 1 159" color: yellow info1: "visited: 9 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n165" targetname: "n158" label: "0" color: blue} -node: {title: "n164" label: "ProjT 4 164" color: yellow info1: "visited: 9 +edge: {sourcename: "n159" targetname: "n152" label: "0" color: blue} +node: {title: "n158" label: "ProjT 4 158" color: yellow info1: "visited: 9 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n164" targetname: "n158" label: "0" } -node: {title: "n156" label: "ProjX 0 156" color: yellow info1: "visited: 9 +edge: {sourcename: "n158" targetname: "n152" label: "0" } +node: {title: "n150" label: "ProjX 0 150" color: yellow info1: "visited: 9 irg: PRIMA_c +arity: 1 "} -edge: {sourcename: "n156" targetname: "n158" label: "0" color: red} -node: {title: "n158" label: "Start 158" color: blue info1: "visited: 9 +edge: {sourcename: "n150" targetname: "n152" label: "0" color: red} +node: {title: "n152" label: "Start 152" color: blue info1: "visited: 9 irg: PRIMA_c +arity: 0 start of method of type c param 0 type: class_prima_ptr param 1 type: int diff --git a/testprograms/ref-results/PRIMA_set_a-pure-wtypes.vcg b/testprograms/ref-results/PRIMA_set_a-pure-wtypes.vcg index ed09ce07f..53b30b97a 100644 --- a/testprograms/ref-results/PRIMA_set_a-pure-wtypes.vcg +++ b/testprograms/ref-results/PRIMA_set_a-pure-wtypes.vcg @@ -17,83 +17,97 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -node: {title: "n139" label: "Block 139" color: lightyellow info1: "visited: 10 +node: {title: "n134" label: "Block 134" color: lightyellow info1: "visited: 10 irg: PRIMA_set_a +arity: 1 backedges: "} -edge: {sourcename: "n139" targetname: "n138" label: "0" color: red} -node: {title: "n140" label: "Start 140" color: blue info1: "visited: 10 +edge: {sourcename: "n134" targetname: "n133" label: "0" color: red} +node: {title: "n135" label: "Start 135" color: blue info1: "visited: 10 irg: PRIMA_set_a +arity: 0 start of method of type set_a param 0 type: class_prima_ptr param 1 type: int "} -edge: { sourcename: "n140" targetname: "n139" class: 2 priority: 2 linestyle: dotted} -node: {title: "n138" label: "ProjX 0 138" color: yellow info1: "visited: 10 +edge: { sourcename: "n135" targetname: "n134" class: 2 priority: 2 linestyle: dotted} +node: {title: "n133" label: "ProjX 0 133" color: yellow info1: "visited: 10 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n138" targetname: "n140" label: "0" color: red} -edge: { sourcename: "n138" targetname: "n139" class: 2 priority: 2 linestyle: dotted} -node: {title: "n137" label: "Block 137" color: lightyellow info1: "visited: 10 +edge: {sourcename: "n133" targetname: "n135" label: "0" color: red} +edge: { sourcename: "n133" targetname: "n134" class: 2 priority: 2 linestyle: dotted} +node: {title: "n132" label: "Block 132" color: lightyellow info1: "visited: 10 irg: PRIMA_set_a +arity: 1 backedges: "} -edge: {sourcename: "n137" targetname: "n138" label: "0" color: red} -node: {title: "n144" label: "ProjT 4 144" color: yellow info1: "visited: 10 +edge: {sourcename: "n132" targetname: "n133" label: "0" color: red} +node: {title: "n139" label: "ProjT 4 139" color: yellow info1: "visited: 10 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n144" targetname: "n140" label: "0" } -edge: { sourcename: "n144" targetname: "n139" class: 2 priority: 2 linestyle: dotted} -node: {title: "n143" label: "ProjIs 1 143" color: yellow info1: "visited: 10 +edge: {sourcename: "n139" targetname: "n135" label: "0" } +edge: { sourcename: "n139" targetname: "n134" class: 2 priority: 2 linestyle: dotted} +node: {title: "n138" label: "ProjIs 1 138" color: yellow info1: "visited: 10 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n143" targetname: "n144" label: "0" } -edge: { sourcename: "n143" targetname: "n137" class: 2 priority: 2 linestyle: dotted} -node: {title: "n146" label: "ProjP 0 146" color: yellow info1: "visited: 10 +edge: {sourcename: "n138" targetname: "n139" label: "0" } +edge: { sourcename: "n138" targetname: "n132" class: 2 priority: 2 linestyle: dotted} +node: {title: "n141" label: "ProjP 0 141" color: yellow info1: "visited: 10 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n146" targetname: "n144" label: "0" } -edge: { sourcename: "n146" targetname: "n137" class: 2 priority: 2 linestyle: dotted} -node: {title: "n147" label: "ProjM 1 147" color: yellow info1: "visited: 10 +edge: {sourcename: "n141" targetname: "n139" label: "0" } +edge: { sourcename: "n141" targetname: "n132" class: 2 priority: 2 linestyle: dotted} +node: {title: "n142" label: "ProjM 1 142" color: yellow info1: "visited: 10 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n147" targetname: "n140" label: "0" color: blue} -edge: { sourcename: "n147" targetname: "n139" class: 2 priority: 2 linestyle: dotted} -node: {title: "n145" label: "Sel a 145" info1: "visited: 10 +edge: {sourcename: "n142" targetname: "n135" label: "0" color: blue} +edge: { sourcename: "n142" targetname: "n134" class: 2 priority: 2 linestyle: dotted} +node: {title: "n140" label: "Sel a 140" info1: "visited: 10 irg: PRIMA_set_a +arity: 2 Selecting entity of type int from entity of type PRIMA "} -edge: {sourcename: "n145" targetname: "n147" label: "0" color: blue} -edge: {sourcename: "n145" targetname: "n146" label: "1" } -edge: { sourcename: "n145" targetname: "n137" class: 2 priority: 2 linestyle: dotted} -node: {title: "n142" label: "Store 142" info1: "visited: 10 +edge: {sourcename: "n140" targetname: "n142" label: "0" color: blue} +edge: {sourcename: "n140" targetname: "n141" label: "1" } +edge: { sourcename: "n140" targetname: "n132" class: 2 priority: 2 linestyle: dotted} +node: {title: "n137" label: "Store 137" info1: "visited: 10 irg: PRIMA_set_a +arity: 3 "} -edge: {sourcename: "n142" targetname: "n147" label: "0" color: blue} -edge: {sourcename: "n142" targetname: "n145" label: "1" } -edge: {sourcename: "n142" targetname: "n143" label: "2" } -edge: { sourcename: "n142" targetname: "n137" class: 2 priority: 2 linestyle: dotted} -node: {title: "n141" label: "ProjM 0 141" color: yellow info1: "visited: 10 +edge: {sourcename: "n137" targetname: "n142" label: "0" color: blue} +edge: {sourcename: "n137" targetname: "n140" label: "1" } +edge: {sourcename: "n137" targetname: "n138" label: "2" } +edge: { sourcename: "n137" targetname: "n132" class: 2 priority: 2 linestyle: dotted} +node: {title: "n136" label: "ProjM 0 136" color: yellow info1: "visited: 10 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n141" targetname: "n142" label: "0" color: blue} -edge: { sourcename: "n141" targetname: "n137" class: 2 priority: 2 linestyle: dotted} -node: {title: "n136" label: "Return 136" info1: "visited: 10 +edge: {sourcename: "n136" targetname: "n137" label: "0" color: blue} +edge: { sourcename: "n136" targetname: "n132" class: 2 priority: 2 linestyle: dotted} +node: {title: "n131" label: "Return 131" info1: "visited: 10 irg: PRIMA_set_a +arity: 1 return in method of type set_a "} -edge: {sourcename: "n136" targetname: "n141" label: "0" color: blue} -edge: { sourcename: "n136" targetname: "n137" class: 2 priority: 2 linestyle: dotted} -node: {title: "n135" label: "Block 135" color: lightyellow info1: "visited: 10 +edge: {sourcename: "n131" targetname: "n136" label: "0" color: blue} +edge: { sourcename: "n131" targetname: "n132" class: 2 priority: 2 linestyle: dotted} +node: {title: "n130" label: "Block 130" color: lightyellow info1: "visited: 10 irg: PRIMA_set_a +arity: 1 backedges: "} -edge: {sourcename: "n135" targetname: "n136" label: "0" color: red} -node: {title: "n134" label: "End 134" color: blue info1: "visited: 10 +edge: {sourcename: "n130" targetname: "n131" label: "0" color: red} +node: {title: "n129" label: "End 129" color: blue info1: "visited: 10 irg: PRIMA_set_a +arity: 0 "} -edge: { sourcename: "n134" targetname: "n135" class: 2 priority: 2 linestyle: dotted} -node: {title: "e15" label: "ent a" color: yellow +edge: { sourcename: "n129" targetname: "n130" class: 2 priority: 2 linestyle: dotted} +node: {title: "e14" label: "ent a" color: yellow info1: " -id: e15 +id: e14 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized @@ -103,17 +117,17 @@ name: a ld_name: no yet set offset: -1" } -edge: { sourcename: "e15" targetname: "t12"class: 3 label: "type" color: red} -node: {title: "t13" label: "class PRIMA" info1: "state: layout_undefined +edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red} +node: {title: "t12" label: "class PRIMA" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "t13" targetname: "e15"class: 12 label: "member" color:blue} -edge: { sourcename: "t13" targetname: "e18"class: 12 label: "member" color:blue} -edge: { sourcename: "t13" targetname: "e21"class: 12 label: "member" color:blue} -node: {title: "e18" label: "ent PRIMA_set_a" color: yellow +edge: { sourcename: "t12" targetname: "e14"class: 12 label: "member" color:blue} +edge: { sourcename: "t12" targetname: "e17"class: 12 label: "member" color:blue} +edge: { sourcename: "t12" targetname: "e20"class: 12 label: "member" color:blue} +node: {title: "e17" label: "ent PRIMA_set_a" color: yellow info1: " -id: e18 +id: e17 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -122,31 +136,32 @@ peculiarity: peculiarity_existent name: PRIMA_set_a ld_name: PRIMA_set_a offset: -1 -irg = g71" +irg = g68" } -edge: { sourcename: "e18" targetname: "t16"class: 3 label: "type" color: red} -edge: { sourcename: "e18" targetname: "n17"label: "value 0"} -node: {title: "n17" label: "&(PRIMA_set_a)P 17" color: yellow info1: "visited: 2 +edge: { sourcename: "e17" targetname: "t15"class: 3 label: "type" color: red} +edge: { sourcename: "e17" targetname: "n16"label: "value 0"} +node: {title: "n16" label: "&(PRIMA_set_a)P 16" color: yellow info1: "visited: 2 +arity: 0 Const of type type_unknown "} -node: {title: "t16" label: "method set_a" info1: "state: layout_fixed, +node: {title: "t15" label: "method set_a" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t16" targetname: "t14"class: 5 label: "param 0" color: green} -edge: { sourcename: "t16" targetname: "t12"class: 5 label: "param 1" color: green} -node: {title: "t14" label: "pointer class_prima_ptr" info1: "state: layout_fixed, +edge: { sourcename: "t15" targetname: "t13"class: 5 label: "param 0" color: green} +edge: { sourcename: "t15" targetname: "t11"class: 5 label: "param 1" color: green} +node: {title: "t13" label: "pointer class_prima_ptr" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t14" targetname: "t13"class: 9 label: "points to" color:green} -node: {title: "t12" label: "primitive int" info1: "state: layout_fixed, +edge: { sourcename: "t13" targetname: "t12"class: 9 label: "points to" color:green} +node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, mode: Is, size: 4B, "} -node: {title: "e21" label: "ent PRIMA_c" color: yellow +node: {title: "e20" label: "ent PRIMA_c" color: yellow info1: " -id: e21 +id: e20 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -155,23 +170,24 @@ peculiarity: peculiarity_existent name: PRIMA_c ld_name: PRIMA_c offset: -1 -irg = g94" +irg = g90" } -edge: { sourcename: "e21" targetname: "t19"class: 3 label: "type" color: red} -edge: { sourcename: "e21" targetname: "n20"label: "value 0"} -node: {title: "n20" label: "&(PRIMA_c)P 20" color: yellow info1: "visited: 2 +edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red} +edge: { sourcename: "e20" targetname: "n19"label: "value 0"} +node: {title: "n19" label: "&(PRIMA_c)P 19" color: yellow info1: "visited: 2 +arity: 0 Const of type type_unknown "} -node: {title: "t19" label: "method c" info1: "state: layout_fixed, +node: {title: "t18" label: "method c" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t19" targetname: "t14"class: 5 label: "param 0" color: green} -edge: { sourcename: "t19" targetname: "t12"class: 5 label: "param 1" color: green} -edge: { sourcename: "t19" targetname: "t12"class: 6 label: "res 0" color: green} -node: {title: "t59" label: "class set_aframe_tp" info1: "state: layout_undefined +edge: { sourcename: "t18" targetname: "t13"class: 5 label: "param 0" color: green} +edge: { sourcename: "t18" targetname: "t11"class: 5 label: "param 1" color: green} +edge: { sourcename: "t18" targetname: "t11"class: 6 label: "res 0" color: green} +node: {title: "t57" label: "class set_aframe_tp" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "n145" targetname: "e15"class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n140" targetname: "e14"class: 2 priority: 2 linestyle: dotted} } diff --git a/testprograms/ref-results/PRIMA_set_a-pure.vcg b/testprograms/ref-results/PRIMA_set_a-pure.vcg index 94b149301..70216f4d8 100644 --- a/testprograms/ref-results/PRIMA_set_a-pure.vcg +++ b/testprograms/ref-results/PRIMA_set_a-pure.vcg @@ -17,78 +17,92 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -node: {title: "n139" label: "Block 139" color: lightyellow info1: "visited: 8 +node: {title: "n134" label: "Block 134" color: lightyellow info1: "visited: 8 irg: PRIMA_set_a +arity: 1 backedges: "} -edge: {sourcename: "n139" targetname: "n138" label: "0" color: red} -node: {title: "n140" label: "Start 140" color: blue info1: "visited: 8 +edge: {sourcename: "n134" targetname: "n133" label: "0" color: red} +node: {title: "n135" label: "Start 135" color: blue info1: "visited: 8 irg: PRIMA_set_a +arity: 0 start of method of type set_a param 0 type: class_prima_ptr param 1 type: int "} -edge: { sourcename: "n140" targetname: "n139" class: 2 priority: 2 linestyle: dotted} -node: {title: "n138" label: "ProjX 0 138" color: yellow info1: "visited: 8 +edge: { sourcename: "n135" targetname: "n134" class: 2 priority: 2 linestyle: dotted} +node: {title: "n133" label: "ProjX 0 133" color: yellow info1: "visited: 8 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n138" targetname: "n140" label: "0" color: red} -edge: { sourcename: "n138" targetname: "n139" class: 2 priority: 2 linestyle: dotted} -node: {title: "n137" label: "Block 137" color: lightyellow info1: "visited: 8 +edge: {sourcename: "n133" targetname: "n135" label: "0" color: red} +edge: { sourcename: "n133" targetname: "n134" class: 2 priority: 2 linestyle: dotted} +node: {title: "n132" label: "Block 132" color: lightyellow info1: "visited: 8 irg: PRIMA_set_a +arity: 1 backedges: "} -edge: {sourcename: "n137" targetname: "n138" label: "0" color: red} -node: {title: "n144" label: "ProjT 4 144" color: yellow info1: "visited: 8 +edge: {sourcename: "n132" targetname: "n133" label: "0" color: red} +node: {title: "n139" label: "ProjT 4 139" color: yellow info1: "visited: 8 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n144" targetname: "n140" label: "0" } -edge: { sourcename: "n144" targetname: "n139" class: 2 priority: 2 linestyle: dotted} -node: {title: "n143" label: "ProjIs 1 143" color: yellow info1: "visited: 8 +edge: {sourcename: "n139" targetname: "n135" label: "0" } +edge: { sourcename: "n139" targetname: "n134" class: 2 priority: 2 linestyle: dotted} +node: {title: "n138" label: "ProjIs 1 138" color: yellow info1: "visited: 8 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n143" targetname: "n144" label: "0" } -edge: { sourcename: "n143" targetname: "n137" class: 2 priority: 2 linestyle: dotted} -node: {title: "n146" label: "ProjP 0 146" color: yellow info1: "visited: 8 +edge: {sourcename: "n138" targetname: "n139" label: "0" } +edge: { sourcename: "n138" targetname: "n132" class: 2 priority: 2 linestyle: dotted} +node: {title: "n141" label: "ProjP 0 141" color: yellow info1: "visited: 8 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n146" targetname: "n144" label: "0" } -edge: { sourcename: "n146" targetname: "n137" class: 2 priority: 2 linestyle: dotted} -node: {title: "n147" label: "ProjM 1 147" color: yellow info1: "visited: 8 +edge: {sourcename: "n141" targetname: "n139" label: "0" } +edge: { sourcename: "n141" targetname: "n132" class: 2 priority: 2 linestyle: dotted} +node: {title: "n142" label: "ProjM 1 142" color: yellow info1: "visited: 8 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n147" targetname: "n140" label: "0" color: blue} -edge: { sourcename: "n147" targetname: "n139" class: 2 priority: 2 linestyle: dotted} -node: {title: "n145" label: "Sel a 145" info1: "visited: 8 +edge: {sourcename: "n142" targetname: "n135" label: "0" color: blue} +edge: { sourcename: "n142" targetname: "n134" class: 2 priority: 2 linestyle: dotted} +node: {title: "n140" label: "Sel a 140" info1: "visited: 8 irg: PRIMA_set_a +arity: 2 Selecting entity of type int from entity of type PRIMA "} -edge: {sourcename: "n145" targetname: "n147" label: "0" color: blue} -edge: {sourcename: "n145" targetname: "n146" label: "1" } -edge: { sourcename: "n145" targetname: "n137" class: 2 priority: 2 linestyle: dotted} -node: {title: "n142" label: "Store 142" info1: "visited: 8 +edge: {sourcename: "n140" targetname: "n142" label: "0" color: blue} +edge: {sourcename: "n140" targetname: "n141" label: "1" } +edge: { sourcename: "n140" targetname: "n132" class: 2 priority: 2 linestyle: dotted} +node: {title: "n137" label: "Store 137" info1: "visited: 8 irg: PRIMA_set_a +arity: 3 "} -edge: {sourcename: "n142" targetname: "n147" label: "0" color: blue} -edge: {sourcename: "n142" targetname: "n145" label: "1" } -edge: {sourcename: "n142" targetname: "n143" label: "2" } -edge: { sourcename: "n142" targetname: "n137" class: 2 priority: 2 linestyle: dotted} -node: {title: "n141" label: "ProjM 0 141" color: yellow info1: "visited: 8 +edge: {sourcename: "n137" targetname: "n142" label: "0" color: blue} +edge: {sourcename: "n137" targetname: "n140" label: "1" } +edge: {sourcename: "n137" targetname: "n138" label: "2" } +edge: { sourcename: "n137" targetname: "n132" class: 2 priority: 2 linestyle: dotted} +node: {title: "n136" label: "ProjM 0 136" color: yellow info1: "visited: 8 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n141" targetname: "n142" label: "0" color: blue} -edge: { sourcename: "n141" targetname: "n137" class: 2 priority: 2 linestyle: dotted} -node: {title: "n136" label: "Return 136" info1: "visited: 8 +edge: {sourcename: "n136" targetname: "n137" label: "0" color: blue} +edge: { sourcename: "n136" targetname: "n132" class: 2 priority: 2 linestyle: dotted} +node: {title: "n131" label: "Return 131" info1: "visited: 8 irg: PRIMA_set_a +arity: 1 return in method of type set_a "} -edge: {sourcename: "n136" targetname: "n141" label: "0" color: blue} -edge: { sourcename: "n136" targetname: "n137" class: 2 priority: 2 linestyle: dotted} -node: {title: "n135" label: "Block 135" color: lightyellow info1: "visited: 8 +edge: {sourcename: "n131" targetname: "n136" label: "0" color: blue} +edge: { sourcename: "n131" targetname: "n132" class: 2 priority: 2 linestyle: dotted} +node: {title: "n130" label: "Block 130" color: lightyellow info1: "visited: 8 irg: PRIMA_set_a +arity: 1 backedges: "} -edge: {sourcename: "n135" targetname: "n136" label: "0" color: red} -node: {title: "n134" label: "End 134" color: blue info1: "visited: 8 +edge: {sourcename: "n130" targetname: "n131" label: "0" color: red} +node: {title: "n129" label: "End 129" color: blue info1: "visited: 8 irg: PRIMA_set_a +arity: 0 "} -edge: { sourcename: "n134" targetname: "n135" class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n129" targetname: "n130" class: 2 priority: 2 linestyle: dotted} } diff --git a/testprograms/ref-results/PRIMA_set_a-type.vcg b/testprograms/ref-results/PRIMA_set_a-type.vcg index b8b21f89d..bcdd0f37b 100644 --- a/testprograms/ref-results/PRIMA_set_a-type.vcg +++ b/testprograms/ref-results/PRIMA_set_a-type.vcg @@ -17,9 +17,9 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -node: {title: "e15" label: "ent a" color: yellow +node: {title: "e14" label: "ent a" color: yellow info1: " -id: e15 +id: e14 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized @@ -29,17 +29,17 @@ name: a ld_name: no yet set offset: -1" } -edge: { sourcename: "e15" targetname: "t12"class: 3 label: "type" color: red} -node: {title: "t13" label: "class PRIMA" info1: "state: layout_undefined +edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red} +node: {title: "t12" label: "class PRIMA" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "t13" targetname: "e15"class: 12 label: "member" color:blue} -edge: { sourcename: "t13" targetname: "e18"class: 12 label: "member" color:blue} -edge: { sourcename: "t13" targetname: "e21"class: 12 label: "member" color:blue} -node: {title: "e18" label: "ent PRIMA_set_a" color: yellow +edge: { sourcename: "t12" targetname: "e14"class: 12 label: "member" color:blue} +edge: { sourcename: "t12" targetname: "e17"class: 12 label: "member" color:blue} +edge: { sourcename: "t12" targetname: "e20"class: 12 label: "member" color:blue} +node: {title: "e17" label: "ent PRIMA_set_a" color: yellow info1: " -id: e18 +id: e17 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -48,31 +48,32 @@ peculiarity: peculiarity_existent name: PRIMA_set_a ld_name: PRIMA_set_a offset: -1 -irg = g71" +irg = g68" } -edge: { sourcename: "e18" targetname: "t16"class: 3 label: "type" color: red} -edge: { sourcename: "e18" targetname: "n17"label: "value 0"} -node: {title: "n17" label: "&(PRIMA_set_a)P 17" color: yellow info1: "visited: 8 +edge: { sourcename: "e17" targetname: "t15"class: 3 label: "type" color: red} +edge: { sourcename: "e17" targetname: "n16"label: "value 0"} +node: {title: "n16" label: "&(PRIMA_set_a)P 16" color: yellow info1: "visited: 8 +arity: 0 Const of type type_unknown "} -node: {title: "t16" label: "method set_a" info1: "state: layout_fixed, +node: {title: "t15" label: "method set_a" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t16" targetname: "t14"class: 5 label: "param 0" color: green} -edge: { sourcename: "t16" targetname: "t12"class: 5 label: "param 1" color: green} -node: {title: "t14" label: "pointer class_prima_ptr" info1: "state: layout_fixed, +edge: { sourcename: "t15" targetname: "t13"class: 5 label: "param 0" color: green} +edge: { sourcename: "t15" targetname: "t11"class: 5 label: "param 1" color: green} +node: {title: "t13" label: "pointer class_prima_ptr" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t14" targetname: "t13"class: 9 label: "points to" color:green} -node: {title: "t12" label: "primitive int" info1: "state: layout_fixed, +edge: { sourcename: "t13" targetname: "t12"class: 9 label: "points to" color:green} +node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, mode: Is, size: 4B, "} -node: {title: "e21" label: "ent PRIMA_c" color: yellow +node: {title: "e20" label: "ent PRIMA_c" color: yellow info1: " -id: e21 +id: e20 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -81,21 +82,22 @@ peculiarity: peculiarity_existent name: PRIMA_c ld_name: PRIMA_c offset: -1 -irg = g94" +irg = g90" } -edge: { sourcename: "e21" targetname: "t19"class: 3 label: "type" color: red} -edge: { sourcename: "e21" targetname: "n20"label: "value 0"} -node: {title: "n20" label: "&(PRIMA_c)P 20" color: yellow info1: "visited: 8 +edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red} +edge: { sourcename: "e20" targetname: "n19"label: "value 0"} +node: {title: "n19" label: "&(PRIMA_c)P 19" color: yellow info1: "visited: 8 +arity: 0 Const of type type_unknown "} -node: {title: "t19" label: "method c" info1: "state: layout_fixed, +node: {title: "t18" label: "method c" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t19" targetname: "t14"class: 5 label: "param 0" color: green} -edge: { sourcename: "t19" targetname: "t12"class: 5 label: "param 1" color: green} -edge: { sourcename: "t19" targetname: "t12"class: 6 label: "res 0" color: green} -node: {title: "t59" label: "class set_aframe_tp" info1: "state: layout_undefined +edge: { sourcename: "t18" targetname: "t13"class: 5 label: "param 0" color: green} +edge: { sourcename: "t18" targetname: "t11"class: 5 label: "param 1" color: green} +edge: { sourcename: "t18" targetname: "t11"class: 6 label: "res 0" color: green} +node: {title: "t57" label: "class set_aframe_tp" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} diff --git a/testprograms/ref-results/PRIMA_set_a-wtypes.vcg b/testprograms/ref-results/PRIMA_set_a-wtypes.vcg index ebf97c965..c09c56808 100644 --- a/testprograms/ref-results/PRIMA_set_a-wtypes.vcg +++ b/testprograms/ref-results/PRIMA_set_a-wtypes.vcg @@ -17,64 +17,75 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -graph: { title: "g71" label: "PRIMA_set_a" status:clustered color:white -graph: { title: "n135" label: "Block 135" status:clustered color:yellow -edge: {sourcename: "n135" targetname: "n136" label: "0" color: red} -node: {title: "n134" label: "End 134" color: blue info1: "visited: 13 +graph: { title: "g68" label: "PRIMA_set_a" status:clustered color:white +graph: { title: "n130" label: "Block 130" status:clustered color:yellow +edge: {sourcename: "n130" targetname: "n131" label: "0" color: red} +node: {title: "n129" label: "End 129" color: blue info1: "visited: 13 irg: PRIMA_set_a +arity: 0 "} } -graph: { title: "n137" label: "Block 137" status:clustered color:yellow -edge: {sourcename: "n137" targetname: "n138" label: "0" color: red} -node: {title: "n136" label: "Return 136" info1: "visited: 13 +graph: { title: "n132" label: "Block 132" status:clustered color:yellow +edge: {sourcename: "n132" targetname: "n133" label: "0" color: red} +node: {title: "n131" label: "Return 131" info1: "visited: 13 irg: PRIMA_set_a +arity: 1 return in method of type set_a "} -edge: {sourcename: "n136" targetname: "n141" label: "0" color: blue} -node: {title: "n141" label: "ProjM 0 141" color: yellow info1: "visited: 13 +edge: {sourcename: "n131" targetname: "n136" label: "0" color: blue} +node: {title: "n136" label: "ProjM 0 136" color: yellow info1: "visited: 13 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n141" targetname: "n142" label: "0" color: blue} -node: {title: "n142" label: "Store 142" info1: "visited: 13 +edge: {sourcename: "n136" targetname: "n137" label: "0" color: blue} +node: {title: "n137" label: "Store 137" info1: "visited: 13 irg: PRIMA_set_a +arity: 3 "} -edge: {sourcename: "n142" targetname: "n147" label: "0" color: blue} -edge: {sourcename: "n142" targetname: "n145" label: "1" } -edge: {sourcename: "n142" targetname: "n143" label: "2" } -node: {title: "n145" label: "Sel a 145" info1: "visited: 13 +edge: {sourcename: "n137" targetname: "n142" label: "0" color: blue} +edge: {sourcename: "n137" targetname: "n140" label: "1" } +edge: {sourcename: "n137" targetname: "n138" label: "2" } +node: {title: "n140" label: "Sel a 140" info1: "visited: 13 irg: PRIMA_set_a +arity: 2 Selecting entity of type int from entity of type PRIMA "} -edge: {sourcename: "n145" targetname: "n147" label: "0" color: blue} -edge: {sourcename: "n145" targetname: "n146" label: "1" } -node: {title: "n146" label: "ProjP 0 146" color: yellow info1: "visited: 13 +edge: {sourcename: "n140" targetname: "n142" label: "0" color: blue} +edge: {sourcename: "n140" targetname: "n141" label: "1" } +node: {title: "n141" label: "ProjP 0 141" color: yellow info1: "visited: 13 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n146" targetname: "n144" label: "0" } -node: {title: "n143" label: "ProjIs 1 143" color: yellow info1: "visited: 13 +edge: {sourcename: "n141" targetname: "n139" label: "0" } +node: {title: "n138" label: "ProjIs 1 138" color: yellow info1: "visited: 13 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n143" targetname: "n144" label: "0" } +edge: {sourcename: "n138" targetname: "n139" label: "0" } } -graph: { title: "n139" label: "Block 139" status:clustered color:yellow -edge: {sourcename: "n139" targetname: "n138" label: "0" color: red} -node: {title: "n147" label: "ProjM 1 147" color: yellow info1: "visited: 13 +graph: { title: "n134" label: "Block 134" status:clustered color:yellow +edge: {sourcename: "n134" targetname: "n133" label: "0" color: red} +node: {title: "n142" label: "ProjM 1 142" color: yellow info1: "visited: 13 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n147" targetname: "n140" label: "0" color: blue} -node: {title: "n144" label: "ProjT 4 144" color: yellow info1: "visited: 13 +edge: {sourcename: "n142" targetname: "n135" label: "0" color: blue} +node: {title: "n139" label: "ProjT 4 139" color: yellow info1: "visited: 13 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n144" targetname: "n140" label: "0" } -node: {title: "n138" label: "ProjX 0 138" color: yellow info1: "visited: 13 +edge: {sourcename: "n139" targetname: "n135" label: "0" } +node: {title: "n133" label: "ProjX 0 133" color: yellow info1: "visited: 13 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n138" targetname: "n140" label: "0" color: red} -node: {title: "n140" label: "Start 140" color: blue info1: "visited: 13 +edge: {sourcename: "n133" targetname: "n135" label: "0" color: red} +node: {title: "n135" label: "Start 135" color: blue info1: "visited: 13 irg: PRIMA_set_a +arity: 0 start of method of type set_a param 0 type: class_prima_ptr param 1 type: int @@ -83,9 +94,9 @@ start of method of type set_a } -node: {title: "e15" label: "ent a" color: yellow +node: {title: "e14" label: "ent a" color: yellow info1: " -id: e15 +id: e14 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized @@ -95,17 +106,17 @@ name: a ld_name: no yet set offset: -1" } -edge: { sourcename: "e15" targetname: "t12"class: 3 label: "type" color: red} -node: {title: "t13" label: "class PRIMA" info1: "state: layout_undefined +edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red} +node: {title: "t12" label: "class PRIMA" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "t13" targetname: "e15"class: 12 label: "member" color:blue} -edge: { sourcename: "t13" targetname: "e18"class: 12 label: "member" color:blue} -edge: { sourcename: "t13" targetname: "e21"class: 12 label: "member" color:blue} -node: {title: "e18" label: "ent PRIMA_set_a" color: yellow +edge: { sourcename: "t12" targetname: "e14"class: 12 label: "member" color:blue} +edge: { sourcename: "t12" targetname: "e17"class: 12 label: "member" color:blue} +edge: { sourcename: "t12" targetname: "e20"class: 12 label: "member" color:blue} +node: {title: "e17" label: "ent PRIMA_set_a" color: yellow info1: " -id: e18 +id: e17 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -114,31 +125,32 @@ peculiarity: peculiarity_existent name: PRIMA_set_a ld_name: PRIMA_set_a offset: -1 -irg = g71" +irg = g68" } -edge: { sourcename: "e18" targetname: "t16"class: 3 label: "type" color: red} -edge: { sourcename: "e18" targetname: "n17"label: "value 0"} -node: {title: "n17" label: "&(PRIMA_set_a)P 17" color: yellow info1: "visited: 5 +edge: { sourcename: "e17" targetname: "t15"class: 3 label: "type" color: red} +edge: { sourcename: "e17" targetname: "n16"label: "value 0"} +node: {title: "n16" label: "&(PRIMA_set_a)P 16" color: yellow info1: "visited: 5 +arity: 0 Const of type type_unknown "} -node: {title: "t16" label: "method set_a" info1: "state: layout_fixed, +node: {title: "t15" label: "method set_a" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t16" targetname: "t14"class: 5 label: "param 0" color: green} -edge: { sourcename: "t16" targetname: "t12"class: 5 label: "param 1" color: green} -node: {title: "t14" label: "pointer class_prima_ptr" info1: "state: layout_fixed, +edge: { sourcename: "t15" targetname: "t13"class: 5 label: "param 0" color: green} +edge: { sourcename: "t15" targetname: "t11"class: 5 label: "param 1" color: green} +node: {title: "t13" label: "pointer class_prima_ptr" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t14" targetname: "t13"class: 9 label: "points to" color:green} -node: {title: "t12" label: "primitive int" info1: "state: layout_fixed, +edge: { sourcename: "t13" targetname: "t12"class: 9 label: "points to" color:green} +node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, mode: Is, size: 4B, "} -node: {title: "e21" label: "ent PRIMA_c" color: yellow +node: {title: "e20" label: "ent PRIMA_c" color: yellow info1: " -id: e21 +id: e20 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -147,23 +159,24 @@ peculiarity: peculiarity_existent name: PRIMA_c ld_name: PRIMA_c offset: -1 -irg = g94" +irg = g90" } -edge: { sourcename: "e21" targetname: "t19"class: 3 label: "type" color: red} -edge: { sourcename: "e21" targetname: "n20"label: "value 0"} -node: {title: "n20" label: "&(PRIMA_c)P 20" color: yellow info1: "visited: 5 +edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red} +edge: { sourcename: "e20" targetname: "n19"label: "value 0"} +node: {title: "n19" label: "&(PRIMA_c)P 19" color: yellow info1: "visited: 5 +arity: 0 Const of type type_unknown "} -node: {title: "t19" label: "method c" info1: "state: layout_fixed, +node: {title: "t18" label: "method c" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t19" targetname: "t14"class: 5 label: "param 0" color: green} -edge: { sourcename: "t19" targetname: "t12"class: 5 label: "param 1" color: green} -edge: { sourcename: "t19" targetname: "t12"class: 6 label: "res 0" color: green} -node: {title: "t59" label: "class set_aframe_tp" info1: "state: layout_undefined +edge: { sourcename: "t18" targetname: "t13"class: 5 label: "param 0" color: green} +edge: { sourcename: "t18" targetname: "t11"class: 5 label: "param 1" color: green} +edge: { sourcename: "t18" targetname: "t11"class: 6 label: "res 0" color: green} +node: {title: "t57" label: "class set_aframe_tp" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "n145" targetname: "e15"class: 2 priority: 2 linestyle: dotted} +edge: { sourcename: "n140" targetname: "e14"class: 2 priority: 2 linestyle: dotted} } diff --git a/testprograms/ref-results/PRIMA_set_a.vcg b/testprograms/ref-results/PRIMA_set_a.vcg index a2582c89c..1dbbe0ee2 100644 --- a/testprograms/ref-results/PRIMA_set_a.vcg +++ b/testprograms/ref-results/PRIMA_set_a.vcg @@ -17,64 +17,75 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -graph: { title: "g71" label: "PRIMA_set_a" status:clustered color:white -graph: { title: "n135" label: "Block 135" status:clustered color:yellow -edge: {sourcename: "n135" targetname: "n136" label: "0" color: red} -node: {title: "n134" label: "End 134" color: blue info1: "visited: 9 +graph: { title: "g68" label: "PRIMA_set_a" status:clustered color:white +graph: { title: "n130" label: "Block 130" status:clustered color:yellow +edge: {sourcename: "n130" targetname: "n131" label: "0" color: red} +node: {title: "n129" label: "End 129" color: blue info1: "visited: 9 irg: PRIMA_set_a +arity: 0 "} } -graph: { title: "n137" label: "Block 137" status:clustered color:yellow -edge: {sourcename: "n137" targetname: "n138" label: "0" color: red} -node: {title: "n136" label: "Return 136" info1: "visited: 9 +graph: { title: "n132" label: "Block 132" status:clustered color:yellow +edge: {sourcename: "n132" targetname: "n133" label: "0" color: red} +node: {title: "n131" label: "Return 131" info1: "visited: 9 irg: PRIMA_set_a +arity: 1 return in method of type set_a "} -edge: {sourcename: "n136" targetname: "n141" label: "0" color: blue} -node: {title: "n141" label: "ProjM 0 141" color: yellow info1: "visited: 9 +edge: {sourcename: "n131" targetname: "n136" label: "0" color: blue} +node: {title: "n136" label: "ProjM 0 136" color: yellow info1: "visited: 9 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n141" targetname: "n142" label: "0" color: blue} -node: {title: "n142" label: "Store 142" info1: "visited: 9 +edge: {sourcename: "n136" targetname: "n137" label: "0" color: blue} +node: {title: "n137" label: "Store 137" info1: "visited: 9 irg: PRIMA_set_a +arity: 3 "} -edge: {sourcename: "n142" targetname: "n147" label: "0" color: blue} -edge: {sourcename: "n142" targetname: "n145" label: "1" } -edge: {sourcename: "n142" targetname: "n143" label: "2" } -node: {title: "n145" label: "Sel a 145" info1: "visited: 9 +edge: {sourcename: "n137" targetname: "n142" label: "0" color: blue} +edge: {sourcename: "n137" targetname: "n140" label: "1" } +edge: {sourcename: "n137" targetname: "n138" label: "2" } +node: {title: "n140" label: "Sel a 140" info1: "visited: 9 irg: PRIMA_set_a +arity: 2 Selecting entity of type int from entity of type PRIMA "} -edge: {sourcename: "n145" targetname: "n147" label: "0" color: blue} -edge: {sourcename: "n145" targetname: "n146" label: "1" } -node: {title: "n146" label: "ProjP 0 146" color: yellow info1: "visited: 9 +edge: {sourcename: "n140" targetname: "n142" label: "0" color: blue} +edge: {sourcename: "n140" targetname: "n141" label: "1" } +node: {title: "n141" label: "ProjP 0 141" color: yellow info1: "visited: 9 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n146" targetname: "n144" label: "0" } -node: {title: "n143" label: "ProjIs 1 143" color: yellow info1: "visited: 9 +edge: {sourcename: "n141" targetname: "n139" label: "0" } +node: {title: "n138" label: "ProjIs 1 138" color: yellow info1: "visited: 9 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n143" targetname: "n144" label: "0" } +edge: {sourcename: "n138" targetname: "n139" label: "0" } } -graph: { title: "n139" label: "Block 139" status:clustered color:yellow -edge: {sourcename: "n139" targetname: "n138" label: "0" color: red} -node: {title: "n147" label: "ProjM 1 147" color: yellow info1: "visited: 9 +graph: { title: "n134" label: "Block 134" status:clustered color:yellow +edge: {sourcename: "n134" targetname: "n133" label: "0" color: red} +node: {title: "n142" label: "ProjM 1 142" color: yellow info1: "visited: 9 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n147" targetname: "n140" label: "0" color: blue} -node: {title: "n144" label: "ProjT 4 144" color: yellow info1: "visited: 9 +edge: {sourcename: "n142" targetname: "n135" label: "0" color: blue} +node: {title: "n139" label: "ProjT 4 139" color: yellow info1: "visited: 9 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n144" targetname: "n140" label: "0" } -node: {title: "n138" label: "ProjX 0 138" color: yellow info1: "visited: 9 +edge: {sourcename: "n139" targetname: "n135" label: "0" } +node: {title: "n133" label: "ProjX 0 133" color: yellow info1: "visited: 9 irg: PRIMA_set_a +arity: 1 "} -edge: {sourcename: "n138" targetname: "n140" label: "0" color: red} -node: {title: "n140" label: "Start 140" color: blue info1: "visited: 9 +edge: {sourcename: "n133" targetname: "n135" label: "0" color: red} +node: {title: "n135" label: "Start 135" color: blue info1: "visited: 9 irg: PRIMA_set_a +arity: 0 start of method of type set_a param 0 type: class_prima_ptr param 1 type: int diff --git a/testprograms/ref-results/THREE_CFPRED_EXAMPLE_main-cfg.vcg b/testprograms/ref-results/THREE_CFPRED_EXAMPLE_main-cfg.vcg index a72de0234..696354540 100644 --- a/testprograms/ref-results/THREE_CFPRED_EXAMPLE_main-cfg.vcg +++ b/testprograms/ref-results/THREE_CFPRED_EXAMPLE_main-cfg.vcg @@ -17,25 +17,26 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" +node: {title: "n75" label: "Block n75" } +edge: { sourcename: "n75" targetname: "n77"} node: {title: "n77" label: "Block n77" } +edge: { sourcename: "n77" targetname: "n101"} +edge: { sourcename: "n77" targetname: "n98"} edge: { sourcename: "n77" targetname: "n79"} node: {title: "n79" label: "Block n79" } -edge: { sourcename: "n79" targetname: "n103"} -edge: { sourcename: "n79" targetname: "n100"} edge: { sourcename: "n79" targetname: "n81"} node: {title: "n81" label: "Block n81" } edge: { sourcename: "n81" targetname: "n83"} node: {title: "n83" label: "Block n83" } edge: { sourcename: "n83" targetname: "n85"} node: {title: "n85" label: "Block n85" } -edge: { sourcename: "n85" targetname: "n87"} -node: {title: "n87" label: "Block n87" } -edge: { sourcename: "n87" targetname: "n87"} -node: {title: "n100" label: "Block n100" } -edge: { sourcename: "n100" targetname: "n83"} -node: {title: "n103" label: "Block n103" } -edge: { sourcename: "n103" targetname: "n85"} -node: {title: "n111" label: "Bad 111" info1: "visited: 0 +edge: { sourcename: "n85" targetname: "n85"} +node: {title: "n98" label: "Block n98" } +edge: { sourcename: "n98" targetname: "n81"} +node: {title: "n101" label: "Block n101" } +edge: { sourcename: "n101" targetname: "n83"} +node: {title: "n109" label: "Bad 109" info1: "visited: 0 irg: THREE_CFPRED_EXAMPLE_main +arity: 0 "} } diff --git a/testprograms/ref-results/THREE_CFPRED_EXAMPLE_main.vcg b/testprograms/ref-results/THREE_CFPRED_EXAMPLE_main.vcg index 93d463322..e8d8f38ad 100644 --- a/testprograms/ref-results/THREE_CFPRED_EXAMPLE_main.vcg +++ b/testprograms/ref-results/THREE_CFPRED_EXAMPLE_main.vcg @@ -17,140 +17,165 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -graph: { title: "g28" label: "THREE_CFPRED_EXAMPLE_main" status:clustered color:white -graph: { title: "n77" label: "Block 77" status:clustered color:yellow -edge: {sourcename: "n77" targetname: "n78" label: "0" color: red} -node: {title: "n76" label: "End 76" color: blue info1: "visited: 8 +graph: { title: "g26" label: "THREE_CFPRED_EXAMPLE_main" status:clustered color:white +graph: { title: "n75" label: "Block 75" status:clustered color:yellow +edge: {sourcename: "n75" targetname: "n76" label: "0" color: red} +node: {title: "n74" label: "End 74" color: blue info1: "visited: 8 irg: THREE_CFPRED_EXAMPLE_main +arity: 0 "} } -graph: { title: "n79" label: "Block 79" status:clustered color:yellow -edge: {sourcename: "n79" targetname: "n102" label: "0" color: red} -edge: {sourcename: "n79" targetname: "n99" label: "1" color: red} -edge: {sourcename: "n79" targetname: "n80" label: "2" color: red} -node: {title: "n78" label: "Return 78" info1: "visited: 8 +graph: { title: "n77" label: "Block 77" status:clustered color:yellow +edge: {sourcename: "n77" targetname: "n100" label: "0" color: red} +edge: {sourcename: "n77" targetname: "n97" label: "1" color: red} +edge: {sourcename: "n77" targetname: "n78" label: "2" color: red} +node: {title: "n76" label: "Return 76" info1: "visited: 8 irg: THREE_CFPRED_EXAMPLE_main +arity: 2 return in method of type THREE_CFPRED_EXAMPLE_main res 0 type: int "} -edge: {sourcename: "n78" targetname: "n108" label: "0" color: blue} -edge: {sourcename: "n78" targetname: "n105" label: "1" } -node: {title: "n105" label: "PhiIs 105" color: green info1: "visited: 8 +edge: {sourcename: "n76" targetname: "n106" label: "0" color: blue} +edge: {sourcename: "n76" targetname: "n103" label: "1" } +node: {title: "n103" label: "PhiIs 103" color: green info1: "visited: 8 irg: THREE_CFPRED_EXAMPLE_main +arity: 3 backedges: "} -edge: {sourcename: "n105" targetname: "n107" label: "0" } -edge: {sourcename: "n105" targetname: "n106" label: "1" } -edge: {sourcename: "n105" targetname: "n106" label: "2" } +edge: {sourcename: "n103" targetname: "n105" label: "0" } +edge: {sourcename: "n103" targetname: "n104" label: "1" } +edge: {sourcename: "n103" targetname: "n104" label: "2" } } -graph: { title: "n103" label: "Block 103" status:clustered color:yellow -edge: {sourcename: "n103" targetname: "n104" label: "0" color: red} -node: {title: "n102" label: "Jmp 102" info1: "visited: 8 +graph: { title: "n101" label: "Block 101" status:clustered color:yellow +edge: {sourcename: "n101" targetname: "n102" label: "0" color: red} +node: {title: "n100" label: "Jmp 100" info1: "visited: 8 irg: THREE_CFPRED_EXAMPLE_main +arity: 0 "} } -graph: { title: "n100" label: "Block 100" status:clustered color:yellow -edge: {sourcename: "n100" targetname: "n101" label: "0" color: red} -node: {title: "n99" label: "Jmp 99" info1: "visited: 8 +graph: { title: "n98" label: "Block 98" status:clustered color:yellow +edge: {sourcename: "n98" targetname: "n99" label: "0" color: red} +node: {title: "n97" label: "Jmp 97" info1: "visited: 8 irg: THREE_CFPRED_EXAMPLE_main +arity: 0 "} } -graph: { title: "n81" label: "Block 81" status:clustered color:yellow -edge: {sourcename: "n81" targetname: "n82" label: "0" color: red} -node: {title: "n80" label: "Jmp 80" info1: "visited: 8 +graph: { title: "n79" label: "Block 79" status:clustered color:yellow +edge: {sourcename: "n79" targetname: "n80" label: "0" color: red} +node: {title: "n78" label: "Jmp 78" info1: "visited: 8 irg: THREE_CFPRED_EXAMPLE_main +arity: 0 "} } -graph: { title: "n83" label: "Block 83" status:clustered color:yellow -edge: {sourcename: "n83" targetname: "n84" label: "0" color: red} -node: {title: "n101" label: "ProjX 0 101" color: yellow info1: "visited: 8 +graph: { title: "n81" label: "Block 81" status:clustered color:yellow +edge: {sourcename: "n81" targetname: "n82" label: "0" color: red} +node: {title: "n99" label: "ProjX 0 99" color: yellow info1: "visited: 8 irg: THREE_CFPRED_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n101" targetname: "n95" label: "0" color: red} -node: {title: "n82" label: "ProjX 1 82" color: yellow info1: "visited: 8 +edge: {sourcename: "n99" targetname: "n93" label: "0" color: red} +node: {title: "n80" label: "ProjX 1 80" color: yellow info1: "visited: 8 irg: THREE_CFPRED_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n82" targetname: "n95" label: "0" color: red} -node: {title: "n95" label: "Cond 95" info1: "visited: 8 +edge: {sourcename: "n80" targetname: "n93" label: "0" color: red} +node: {title: "n93" label: "Cond 93" info1: "visited: 8 irg: THREE_CFPRED_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n95" targetname: "n96" label: "0" } -node: {title: "n96" label: "Projb Eq 96" color: yellow info1: "visited: 8 +edge: {sourcename: "n93" targetname: "n94" label: "0" } +node: {title: "n94" label: "Projb Eq 94" color: yellow info1: "visited: 8 irg: THREE_CFPRED_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n96" targetname: "n97" label: "0" } -node: {title: "n97" label: "CmpT 97" info1: "visited: 8 +edge: {sourcename: "n94" targetname: "n95" label: "0" } +node: {title: "n95" label: "CmpT 95" info1: "visited: 8 irg: THREE_CFPRED_EXAMPLE_main +arity: 2 "} -edge: {sourcename: "n97" targetname: "n98" label: "0" } -edge: {sourcename: "n97" targetname: "n92" label: "1" } +edge: {sourcename: "n95" targetname: "n96" label: "0" } +edge: {sourcename: "n95" targetname: "n90" label: "1" } } -graph: { title: "n85" label: "Block 85" status:clustered color:yellow -edge: {sourcename: "n85" targetname: "n86" label: "0" color: red} -node: {title: "n104" label: "ProjX 1 104" color: yellow info1: "visited: 8 +graph: { title: "n83" label: "Block 83" status:clustered color:yellow +edge: {sourcename: "n83" targetname: "n84" label: "0" color: red} +node: {title: "n102" label: "ProjX 1 102" color: yellow info1: "visited: 8 irg: THREE_CFPRED_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n104" targetname: "n89" label: "0" color: red} -node: {title: "n84" label: "ProjX 0 84" color: yellow info1: "visited: 8 +edge: {sourcename: "n102" targetname: "n87" label: "0" color: red} +node: {title: "n82" label: "ProjX 0 82" color: yellow info1: "visited: 8 irg: THREE_CFPRED_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n84" targetname: "n89" label: "0" color: red} -node: {title: "n89" label: "Cond 89" info1: "visited: 8 +edge: {sourcename: "n82" targetname: "n87" label: "0" color: red} +node: {title: "n87" label: "Cond 87" info1: "visited: 8 irg: THREE_CFPRED_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n89" targetname: "n90" label: "0" } -node: {title: "n90" label: "Projb Eq 90" color: yellow info1: "visited: 8 +edge: {sourcename: "n87" targetname: "n88" label: "0" } +node: {title: "n88" label: "Projb Eq 88" color: yellow info1: "visited: 8 irg: THREE_CFPRED_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n90" targetname: "n91" label: "0" } -node: {title: "n91" label: "CmpT 91" info1: "visited: 8 +edge: {sourcename: "n88" targetname: "n89" label: "0" } +node: {title: "n89" label: "CmpT 89" info1: "visited: 8 irg: THREE_CFPRED_EXAMPLE_main +arity: 2 "} -edge: {sourcename: "n91" targetname: "n94" label: "0" } -edge: {sourcename: "n91" targetname: "n92" label: "1" } -node: {title: "n92" label: "ProjIs 0 92" color: yellow info1: "visited: 8 +edge: {sourcename: "n89" targetname: "n92" label: "0" } +edge: {sourcename: "n89" targetname: "n90" label: "1" } +node: {title: "n90" label: "ProjIs 0 90" color: yellow info1: "visited: 8 irg: THREE_CFPRED_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n92" targetname: "n93" label: "0" } +edge: {sourcename: "n90" targetname: "n91" label: "0" } } -graph: { title: "n87" label: "Block 87" status:clustered color:yellow -edge: {sourcename: "n87" targetname: "n86" label: "0" color: red} -node: {title: "n108" label: "ProjM 1 108" color: yellow info1: "visited: 8 +graph: { title: "n85" label: "Block 85" status:clustered color:yellow +edge: {sourcename: "n85" targetname: "n84" label: "0" color: red} +node: {title: "n106" label: "ProjM 1 106" color: yellow info1: "visited: 8 irg: THREE_CFPRED_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n108" targetname: "n88" label: "0" color: blue} -node: {title: "n107" label: "0x5Is 107" color: yellow info1: "visited: 8 +edge: {sourcename: "n106" targetname: "n86" label: "0" color: blue} +node: {title: "n105" label: "0x5Is 105" color: yellow info1: "visited: 8 irg: THREE_CFPRED_EXAMPLE_main +arity: 0 Const of type type_unknown "} -node: {title: "n106" label: "0x6Is 106" color: yellow info1: "visited: 8 +node: {title: "n104" label: "0x6Is 104" color: yellow info1: "visited: 8 irg: THREE_CFPRED_EXAMPLE_main +arity: 0 Const of type type_unknown "} -node: {title: "n98" label: "0x3Is 98" color: yellow info1: "visited: 8 +node: {title: "n96" label: "0x3Is 96" color: yellow info1: "visited: 8 irg: THREE_CFPRED_EXAMPLE_main +arity: 0 Const of type type_unknown "} -node: {title: "n94" label: "0x1Is 94" color: yellow info1: "visited: 8 +node: {title: "n92" label: "0x1Is 92" color: yellow info1: "visited: 8 irg: THREE_CFPRED_EXAMPLE_main +arity: 0 Const of type type_unknown "} -node: {title: "n93" label: "ProjT 4 93" color: yellow info1: "visited: 8 +node: {title: "n91" label: "ProjT 4 91" color: yellow info1: "visited: 8 irg: THREE_CFPRED_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n93" targetname: "n88" label: "0" } -node: {title: "n86" label: "ProjX 0 86" color: yellow info1: "visited: 8 +edge: {sourcename: "n91" targetname: "n86" label: "0" } +node: {title: "n84" label: "ProjX 0 84" color: yellow info1: "visited: 8 irg: THREE_CFPRED_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n86" targetname: "n88" label: "0" color: red} -node: {title: "n88" label: "Start 88" color: blue info1: "visited: 8 +edge: {sourcename: "n84" targetname: "n86" label: "0" color: red} +node: {title: "n86" label: "Start 86" color: blue info1: "visited: 8 irg: THREE_CFPRED_EXAMPLE_main +arity: 0 start of method of type THREE_CFPRED_EXAMPLE_main param 0 type: int "} diff --git a/testprograms/ref-results/WHILE_EXAMPLE_main.vcg b/testprograms/ref-results/WHILE_EXAMPLE_main.vcg index 98fc1eb57..8c058fd75 100644 --- a/testprograms/ref-results/WHILE_EXAMPLE_main.vcg +++ b/testprograms/ref-results/WHILE_EXAMPLE_main.vcg @@ -17,108 +17,127 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -graph: { title: "g29" label: "WHILE_EXAMPLE_main" status:clustered color:white -graph: { title: "n67" label: "Block 67" status:clustered color:yellow -edge: {sourcename: "n67" targetname: "n68" label: "0" color: red} -node: {title: "n66" label: "End 66" color: blue info1: "visited: 15 +graph: { title: "g27" label: "WHILE_EXAMPLE_main" status:clustered color:white +graph: { title: "n65" label: "Block 65" status:clustered color:yellow +edge: {sourcename: "n65" targetname: "n66" label: "0" color: red} +node: {title: "n64" label: "End 64" color: blue info1: "visited: 15 irg: WHILE_EXAMPLE_main +arity: 0 "} } -graph: { title: "n69" label: "Block 69" status:clustered color:yellow -edge: {sourcename: "n69" targetname: "n70" label: "0" color: red} -node: {title: "n68" label: "Return 68" info1: "visited: 15 +graph: { title: "n67" label: "Block 67" status:clustered color:yellow +edge: {sourcename: "n67" targetname: "n68" label: "0" color: red} +node: {title: "n66" label: "Return 66" info1: "visited: 15 irg: WHILE_EXAMPLE_main +arity: 2 return in method of type main_tp res 0 type: int "} -edge: {sourcename: "n68" targetname: "n90" label: "0" color: blue} -edge: {sourcename: "n68" targetname: "n89" label: "1" } -node: {title: "n89" label: "SubIs 89" info1: "visited: 15 +edge: {sourcename: "n66" targetname: "n88" label: "0" color: blue} +edge: {sourcename: "n66" targetname: "n87" label: "1" } +node: {title: "n87" label: "SubIs 87" info1: "visited: 15 irg: WHILE_EXAMPLE_main +arity: 2 "} -edge: {sourcename: "n89" targetname: "n79" label: "0" } -edge: {sourcename: "n89" targetname: "n78" label: "1" } +edge: {sourcename: "n87" targetname: "n77" label: "0" } +edge: {sourcename: "n87" targetname: "n76" label: "1" } } -graph: { title: "n71" label: "Block 71" status:clustered color:yellow -edge: {sourcename: "n71" targetname: "n88" label: "0" color: red} -edge: {sourcename: "n71" targetname: "n72" label: "1" color: red} -node: {title: "n70" label: "ProjX 0 70" color: yellow info1: "visited: 15 +graph: { title: "n69" label: "Block 69" status:clustered color:yellow +edge: {sourcename: "n69" targetname: "n86" label: "0" color: red} +edge: {sourcename: "n69" targetname: "n70" label: "1" color: red} +node: {title: "n68" label: "ProjX 0 68" color: yellow info1: "visited: 15 irg: WHILE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n70" targetname: "n75" label: "0" color: red} -node: {title: "n74" label: "ProjX 1 74" color: yellow info1: "visited: 15 +edge: {sourcename: "n68" targetname: "n73" label: "0" color: red} +node: {title: "n72" label: "ProjX 1 72" color: yellow info1: "visited: 15 irg: WHILE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n74" targetname: "n75" label: "0" color: red} -node: {title: "n75" label: "Cond 75" info1: "visited: 15 +edge: {sourcename: "n72" targetname: "n73" label: "0" color: red} +node: {title: "n73" label: "Cond 73" info1: "visited: 15 irg: WHILE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n75" targetname: "n76" label: "0" } -node: {title: "n76" label: "Projb Eq 76" color: yellow info1: "visited: 15 +edge: {sourcename: "n73" targetname: "n74" label: "0" } +node: {title: "n74" label: "Projb Eq 74" color: yellow info1: "visited: 15 irg: WHILE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n76" targetname: "n77" label: "0" } -node: {title: "n77" label: "CmpT 77" info1: "visited: 15 +edge: {sourcename: "n74" targetname: "n75" label: "0" } +node: {title: "n75" label: "CmpT 75" info1: "visited: 15 irg: WHILE_EXAMPLE_main +arity: 2 "} -edge: {sourcename: "n77" targetname: "n87" label: "0" } -edge: {sourcename: "n77" targetname: "n78" label: "1" } -node: {title: "n78" label: "PhiIs 78" color: green info1: "visited: 15 +edge: {sourcename: "n75" targetname: "n85" label: "0" } +edge: {sourcename: "n75" targetname: "n76" label: "1" } +node: {title: "n76" label: "PhiIs 76" color: green info1: "visited: 15 irg: WHILE_EXAMPLE_main +arity: 2 backedges: "} -edge: {sourcename: "n78" targetname: "n86" label: "0" } -edge: {sourcename: "n78" targetname: "n79" label: "1" } -node: {title: "n79" label: "PhiIs 79" color: green info1: "visited: 15 +edge: {sourcename: "n76" targetname: "n84" label: "0" } +edge: {sourcename: "n76" targetname: "n77" label: "1" } +node: {title: "n77" label: "PhiIs 77" color: green info1: "visited: 15 irg: WHILE_EXAMPLE_main +arity: 2 backedges: "} -edge: {sourcename: "n79" targetname: "n80" label: "0" } -edge: {sourcename: "n79" targetname: "n78" label: "1" } +edge: {sourcename: "n77" targetname: "n78" label: "0" } +edge: {sourcename: "n77" targetname: "n76" label: "1" } } -graph: { title: "n73" label: "Block 73" status:clustered color:yellow -edge: {sourcename: "n73" targetname: "n74" label: "0" color: red} -node: {title: "n72" label: "Jmp 72" info1: "visited: 15 +graph: { title: "n71" label: "Block 71" status:clustered color:yellow +edge: {sourcename: "n71" targetname: "n72" label: "0" color: red} +node: {title: "n70" label: "Jmp 70" info1: "visited: 15 irg: WHILE_EXAMPLE_main +arity: 0 "} } -graph: { title: "n81" label: "Block 81" status:clustered color:yellow -edge: {sourcename: "n81" targetname: "n82" label: "0" color: red} -node: {title: "n88" label: "Jmp 88" info1: "visited: 15 +graph: { title: "n79" label: "Block 79" status:clustered color:yellow +edge: {sourcename: "n79" targetname: "n80" label: "0" color: red} +node: {title: "n86" label: "Jmp 86" info1: "visited: 15 irg: WHILE_EXAMPLE_main +arity: 0 "} -node: {title: "n80" label: "ProjIs 0 80" color: yellow info1: "visited: 15 +node: {title: "n78" label: "ProjIs 0 78" color: yellow info1: "visited: 15 irg: WHILE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n80" targetname: "n85" label: "0" } +edge: {sourcename: "n78" targetname: "n83" label: "0" } } -graph: { title: "n83" label: "Block 83" status:clustered color:yellow -edge: {sourcename: "n83" targetname: "n82" label: "0" color: red} -node: {title: "n90" label: "ProjM 1 90" color: yellow info1: "visited: 15 +graph: { title: "n81" label: "Block 81" status:clustered color:yellow +edge: {sourcename: "n81" targetname: "n80" label: "0" color: red} +node: {title: "n88" label: "ProjM 1 88" color: yellow info1: "visited: 15 irg: WHILE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n90" targetname: "n84" label: "0" color: blue} -node: {title: "n87" label: "0x0Is 87" color: yellow info1: "visited: 15 +edge: {sourcename: "n88" targetname: "n82" label: "0" color: blue} +node: {title: "n85" label: "0x0Is 85" color: yellow info1: "visited: 15 irg: WHILE_EXAMPLE_main +arity: 0 Const of type type_unknown "} -node: {title: "n86" label: "0x1Is 86" color: yellow info1: "visited: 15 +node: {title: "n84" label: "0x1Is 84" color: yellow info1: "visited: 15 irg: WHILE_EXAMPLE_main +arity: 0 Const of type type_unknown "} -node: {title: "n85" label: "ProjT 4 85" color: yellow info1: "visited: 15 +node: {title: "n83" label: "ProjT 4 83" color: yellow info1: "visited: 15 irg: WHILE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n85" targetname: "n84" label: "0" } -node: {title: "n82" label: "ProjX 0 82" color: yellow info1: "visited: 15 +edge: {sourcename: "n83" targetname: "n82" label: "0" } +node: {title: "n80" label: "ProjX 0 80" color: yellow info1: "visited: 15 irg: WHILE_EXAMPLE_main +arity: 1 "} -edge: {sourcename: "n82" targetname: "n84" label: "0" color: red} -node: {title: "n84" label: "Start 84" color: blue info1: "visited: 15 +edge: {sourcename: "n80" targetname: "n82" label: "0" color: red} +node: {title: "n82" label: "Start 82" color: blue info1: "visited: 15 irg: WHILE_EXAMPLE_main +arity: 0 start of method of type main_tp param 0 type: int "} diff --git a/testprograms/ref-results/class_hierarchy.vcg b/testprograms/ref-results/class_hierarchy.vcg index d411e3731..72c81a3a1 100644 --- a/testprograms/ref-results/class_hierarchy.vcg +++ b/testprograms/ref-results/class_hierarchy.vcg @@ -17,13 +17,13 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -node: {title: "t13" label: "class PRIMA" info1: "state: layout_undefined +node: {title: "t12" label: "class PRIMA" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -node: {title: "e15" label: "ent a" color: yellow +node: {title: "e14" label: "ent a" color: yellow info1: " -id: e15 +id: e14 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized @@ -33,10 +33,10 @@ name: a ld_name: no yet set offset: -1" } -edge: { sourcename: "t13" targetname: "e15"class: 12 label: "member" color:blue} -node: {title: "e18" label: "ent PRIMA_set_a" color: yellow +edge: { sourcename: "t12" targetname: "e14"class: 12 label: "member" color:blue} +node: {title: "e17" label: "ent PRIMA_set_a" color: yellow info1: " -id: e18 +id: e17 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -45,12 +45,12 @@ peculiarity: peculiarity_existent name: PRIMA_set_a ld_name: PRIMA_set_a offset: -1 -irg = g71" +irg = g68" } -edge: { sourcename: "t13" targetname: "e18"class: 12 label: "member" color:blue} -node: {title: "e21" label: "ent PRIMA_c" color: yellow +edge: { sourcename: "t12" targetname: "e17"class: 12 label: "member" color:blue} +node: {title: "e20" label: "ent PRIMA_c" color: yellow info1: " -id: e21 +id: e20 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -59,7 +59,7 @@ peculiarity: peculiarity_existent name: PRIMA_c ld_name: PRIMA_c offset: -1 -irg = g94" +irg = g90" } -edge: { sourcename: "t13" targetname: "e21"class: 12 label: "member" color:blue} +edge: { sourcename: "t12" targetname: "e20"class: 12 label: "member" color:blue} } diff --git a/testprograms/ref-results/main-type.vcg b/testprograms/ref-results/main-type.vcg index 3594bf786..0c97862d4 100644 --- a/testprograms/ref-results/main-type.vcg +++ b/testprograms/ref-results/main-type.vcg @@ -17,9 +17,9 @@ classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" -node: {title: "e18" label: "ent a_tp_elem_ent" color: yellow +node: {title: "e19" label: "ent a_tp_elem_ent" color: yellow info1: " -id: e18 +id: e19 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized @@ -29,21 +29,23 @@ name: a_tp_elem_ent ld_name: no yet set offset: -1" } -edge: { sourcename: "e18" targetname: "t12"class: 3 label: "type" color: red} -node: {title: "t17" label: "array a_tp" info1: "state: layout_undefined +edge: { sourcename: "e19" targetname: "t11"class: 3 label: "type" color: red} +node: {title: "t16" label: "array a_tp" info1: "state: layout_undefined size: -1B, "} -edge: { sourcename: "t17" targetname: "t12"class: 10 label: "arr elt tp" color:green} -edge: { sourcename: "t17" targetname: "e18"class: 10 label: "arr ent" color: green} -edge: { sourcename: "n19" targetname: "t17"label: "upper 0"} -edge: { sourcename: "n20" targetname: "t17"label: "lower 0"} -node: {title: "n19" label: "0x9Iu 19" color: yellow info1: "visited: 1 +edge: { sourcename: "t16" targetname: "t11"class: 10 label: "arr elt tp" color:green} +edge: { sourcename: "t16" targetname: "e19"class: 10 label: "arr ent" color: green} +edge: { sourcename: "n20" targetname: "t16"label: "upper 0"} +edge: { sourcename: "n21" targetname: "t16"label: "lower 0"} +node: {title: "n20" label: "0x9Iu 20" color: yellow info1: "visited: 1 +arity: 0 Const of type type_unknown "} -node: {title: "n20" label: "0x0Iu 20" color: yellow info1: "visited: 1 +node: {title: "n21" label: "0x0Iu 21" color: yellow info1: "visited: 1 +arity: 0 Const of type type_unknown "} -node: {title: "t12" label: "primitive int" info1: "state: layout_fixed, +node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, mode: Is, size: 4B, "} @@ -59,15 +61,15 @@ name: a ld_name: no yet set offset: -1" } -edge: { sourcename: "e35" targetname: "t17"class: 3 label: "type" color: red} -node: {title: "t21" label: "class mainframe_tp" info1: "state: layout_undefined +edge: { sourcename: "e35" targetname: "t16"class: 3 label: "type" color: red} +node: {title: "t22" label: "class mainframe_tp" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "t21" targetname: "e35"class: 12 label: "member" color:blue} -node: {title: "e16" label: "ent main" color: yellow +edge: { sourcename: "t22" targetname: "e35"class: 12 label: "member" color:blue} +node: {title: "e15" label: "ent main" color: yellow info1: " -id: e16 +id: e15 allocation: allocation_static visibility: visibility_local variability: variability_constant @@ -78,19 +80,20 @@ ld_name: no yet set offset: -1 irg = g33" } -edge: { sourcename: "e16" targetname: "t14"class: 3 label: "type" color: red} -edge: { sourcename: "e16" targetname: "n15"label: "value 0"} -node: {title: "n15" label: "&(ARRAY-STACK_EXAMPLE_main)P 15" color: yellow info1: "visited: 1 +edge: { sourcename: "e15" targetname: "t13"class: 3 label: "type" color: red} +edge: { sourcename: "e15" targetname: "n14"label: "value 0"} +node: {title: "n14" label: "&(ARRAY-STACK_EXAMPLE_main)P 14" color: yellow info1: "visited: 1 +arity: 0 Const of type type_unknown "} -node: {title: "t13" label: "class ARRAY-STACK_EXAMPLE" info1: "state: layout_undefined +node: {title: "t12" label: "class ARRAY-STACK_EXAMPLE" info1: "state: layout_undefined size: -1B, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "t13" targetname: "e16"class: 12 label: "member" color:blue} -node: {title: "t14" label: "method main" info1: "state: layout_fixed, +edge: { sourcename: "t12" targetname: "e15"class: 12 label: "member" color:blue} +node: {title: "t13" label: "method main" info1: "state: layout_fixed, mode: P, size: 4B, "} -edge: { sourcename: "t14" targetname: "t12"class: 6 label: "res 0" color: green} +edge: { sourcename: "t13" targetname: "t11"class: 6 label: "res 0" color: green} } diff --git a/testprograms/ref-results/main.vcg b/testprograms/ref-results/main.vcg index ce61e0c50..ad6b7d41f 100644 --- a/testprograms/ref-results/main.vcg +++ b/testprograms/ref-results/main.vcg @@ -22,6 +22,7 @@ graph: { title: "n47" label: "Block 47" status:clustered color:yellow edge: {sourcename: "n47" targetname: "n48" label: "0" color: red} node: {title: "n46" label: "End 46" color: blue info1: "visited: 8 irg: main +arity: 0 "} } @@ -29,6 +30,7 @@ graph: { title: "n49" label: "Block 49" status:clustered color:yellow edge: {sourcename: "n49" targetname: "n50" label: "0" color: red} node: {title: "n48" label: "Return 48" info1: "visited: 8 irg: main +arity: 2 return in method of type main res 0 type: int "} @@ -36,19 +38,23 @@ edge: {sourcename: "n48" targetname: "n60" label: "0" color: blue} edge: {sourcename: "n48" targetname: "n53" label: "1" } node: {title: "n60" label: "ProjM 0 60" color: yellow info1: "visited: 8 irg: main +arity: 1 "} edge: {sourcename: "n60" targetname: "n54" label: "0" color: blue} node: {title: "n53" label: "ProjIs 2 53" color: yellow info1: "visited: 8 irg: main +arity: 1 "} edge: {sourcename: "n53" targetname: "n54" label: "0" } node: {title: "n54" label: "Load 54" info1: "visited: 8 irg: main +arity: 2 "} edge: {sourcename: "n54" targetname: "n59" label: "0" color: blue} edge: {sourcename: "n54" targetname: "n55" label: "1" } node: {title: "n55" label: "Sel a_tp_elem_ent 55" info1: "visited: 8 irg: main +arity: 3 Selecting entity of type int from entity of type a_tp "} @@ -57,6 +63,7 @@ edge: {sourcename: "n55" targetname: "n57" label: "1" } edge: {sourcename: "n55" targetname: "n56" label: "2" } node: {title: "n57" label: "Sel a 57" info1: "visited: 8 irg: main +arity: 2 Selecting entity of type a_tp from entity of type mainframe_tp "} @@ -68,22 +75,27 @@ graph: { title: "n51" label: "Block 51" status:clustered color:yellow edge: {sourcename: "n51" targetname: "n50" label: "0" color: red} node: {title: "n59" label: "ProjM 1 59" color: yellow info1: "visited: 8 irg: main +arity: 1 "} edge: {sourcename: "n59" targetname: "n52" label: "0" color: blue} node: {title: "n58" label: "ProjP 2 58" color: yellow info1: "visited: 8 irg: main +arity: 1 "} edge: {sourcename: "n58" targetname: "n52" label: "0" } node: {title: "n56" label: "0x3Iu 56" color: yellow info1: "visited: 8 irg: main +arity: 0 Const of type type_unknown "} node: {title: "n50" label: "ProjX 0 50" color: yellow info1: "visited: 8 irg: main +arity: 1 "} edge: {sourcename: "n50" targetname: "n52" label: "0" color: red} node: {title: "n52" label: "Start 52" color: blue info1: "visited: 8 irg: main +arity: 0 start of method of type main "} } -- 2.20.1