From 32a44b62e2bc1251d0abdaba60a4eef4601334d3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=B6tz=20Lindenmaier?= Date: Thu, 8 Jul 2004 15:49:45 +0000 Subject: [PATCH] various changes [r3375] --- .../ARRAY-HEAP_EXAMPLE_main-type.vcg | 78 +-- .../ref-results/ARRAY-HEAP_EXAMPLE_main.vcg | 96 +-- .../ARRAY-STACK_EXAMPLE_main-type.vcg | 111 ++++ .../ARRAY-STACK_EXAMPLE_main-wtypes.vcg | 190 +++--- .../ref-results/ARRAY-STACK_EXAMPLE_main.vcg | 124 ++++ testprograms/ref-results/All_graphs.vcg | 340 ++++++----- testprograms/ref-results/All_types.vcg | 44 +- .../ref-results/CALL_STR_EXAMPLE_main.vcg | 65 +- .../ref-results/COND_EXAMPLE_main.vcg | 167 +++--- .../ref-results/CONST_EVAL_EXAMPLE_main.vcg | 48 +- .../ref-results/DEAD_BLOCK_main-cfg.vcg | 15 +- testprograms/ref-results/DEAD_BLOCK_main.vcg | 46 +- testprograms/ref-results/EMPTY_main.vcg | 39 +- .../ref-results/ENDLESS_LOOP_EXAMPLE_main.vcg | 122 ++-- .../ref-results/FLOAT_EXAMPLE_main.vcg | 46 +- .../ref-results/GLOBAL_CSE_EXAMPLE_main.vcg | 144 +++-- .../GLOBAL_VAR_main-pure-wtypes.vcg | 155 ++--- testprograms/ref-results/GLOBAL_VAR_main.vcg | 72 ++- .../GlobalType_OO_PROGRAM_EXAMPLE_main-ip.vcg | 333 ----------- ...alType_OO_PROGRAM_EXAMPLE_main-pure-ip.vcg | 374 ------------ ...OO_PROGRAM_EXAMPLE_main-pure-wtypes-ip.vcg | 500 ---------------- ...lobalType_OO_PROGRAM_EXAMPLE_main-type.vcg | 149 ----- ...Type_OO_PROGRAM_EXAMPLE_main-wtypes-ip.vcg | 459 --------------- ...balType_OO_PROGRAM_EXAMPLE_main-wtypes.vcg | 287 --------- .../ref-results/IF_ELSE_EXAMPLE_main.vcg | 53 +- testprograms/ref-results/IF_EXAMPLE_main.vcg | 123 ++-- .../IF_WHILE_EXAMPLE_main-pure.vcg | 252 ++++---- .../ref-results/IRREGULAR_CF_main-cfg.vcg | 39 +- .../ref-results/IRREGULAR_CF_main.vcg | 151 +++-- .../ref-results/IRR_LOOP_main-cfg.vcg | 33 +- testprograms/ref-results/IRR_LOOP_main.vcg | 186 +++--- .../ref-results/MEMORY_EXAMPLE_main.vcg | 244 ++++---- .../OO_INLINE_EXAMPLE_main-wtypes.vcg | 297 +++++----- .../ref-results/OO_INLINE_EXAMPLE_main.vcg | 151 +++-- .../OO_PROGRAM_EXAMPLE_main-ip.vcg | 375 ++++++++++++ .../OO_PROGRAM_EXAMPLE_main-pure-ip.vcg | 427 ++++++++++++++ ...OO_PROGRAM_EXAMPLE_main-pure-wtypes-ip.vcg | 553 ++++++++++++++++++ .../OO_PROGRAM_EXAMPLE_main-pure-wtypes.vcg | 318 +++++----- .../OO_PROGRAM_EXAMPLE_main-pure.vcg | 168 +++--- .../OO_PROGRAM_EXAMPLE_main-type.vcg | 149 +++++ .../OO_PROGRAM_EXAMPLE_main-wtypes-ip.vcg | 501 ++++++++++++++++ .../OO_PROGRAM_EXAMPLE_main-wtypes.vcg | 306 ++++++++++ .../ref-results/OO_PROGRAM_EXAMPLE_main.vcg | 129 ++-- .../ref-results/PRIMA_INLINE_c-wtypes.vcg | 221 +++---- testprograms/ref-results/PRIMA_INLINE_c.vcg | 115 ++-- .../ref-results/PRIMA_INLINE_set_a-wtypes.vcg | 187 +++--- .../ref-results/PRIMA_INLINE_set_a.vcg | 81 +-- .../ref-results/PRIMA_c-pure-wtypes.vcg | 232 ++++---- testprograms/ref-results/PRIMA_c-pure.vcg | 126 ++-- testprograms/ref-results/PRIMA_c-type.vcg | 104 ++-- testprograms/ref-results/PRIMA_c-wtypes.vcg | 199 ++++--- testprograms/ref-results/PRIMA_c.vcg | 93 +-- .../ref-results/PRIMA_set_a-pure-wtypes.vcg | 216 +++---- testprograms/ref-results/PRIMA_set_a-pure.vcg | 110 ++-- testprograms/ref-results/PRIMA_set_a-type.vcg | 104 ++-- .../ref-results/PRIMA_set_a-wtypes.vcg | 187 +++--- testprograms/ref-results/PRIMA_set_a.vcg | 81 +-- .../THREE_CFPRED_EXAMPLE_main-cfg.vcg | 39 +- .../ref-results/THREE_CFPRED_EXAMPLE_main.vcg | 181 +++--- .../ref-results/WHILE_EXAMPLE_main.vcg | 141 +++-- testprograms/ref-results/class_hierarchy.vcg | 50 +- testprograms/ref-results/main-type.vcg | 109 ---- testprograms/ref-results/main.vcg | 112 ---- 63 files changed, 6000 insertions(+), 5147 deletions(-) create mode 100644 testprograms/ref-results/ARRAY-STACK_EXAMPLE_main-type.vcg create mode 100644 testprograms/ref-results/ARRAY-STACK_EXAMPLE_main.vcg delete mode 100644 testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-ip.vcg delete mode 100644 testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-pure-ip.vcg delete mode 100644 testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-pure-wtypes-ip.vcg delete mode 100644 testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-type.vcg delete mode 100644 testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-wtypes-ip.vcg delete mode 100644 testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-wtypes.vcg create mode 100644 testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-ip.vcg create mode 100644 testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-pure-ip.vcg create mode 100644 testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-pure-wtypes-ip.vcg create mode 100644 testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-type.vcg create mode 100644 testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-wtypes-ip.vcg create mode 100644 testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-wtypes.vcg delete mode 100644 testprograms/ref-results/main-type.vcg delete mode 100644 testprograms/ref-results/main.vcg diff --git a/testprograms/ref-results/ARRAY-HEAP_EXAMPLE_main-type.vcg b/testprograms/ref-results/ARRAY-HEAP_EXAMPLE_main-type.vcg index d71ae552e..de0046cfa 100644 --- a/testprograms/ref-results/ARRAY-HEAP_EXAMPLE_main-type.vcg +++ b/testprograms/ref-results/ARRAY-HEAP_EXAMPLE_main-type.vcg @@ -24,72 +24,74 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -node: {title: "e18" label: "ent a_elem_ent" color: yellow +node: {title: "e17" label: "ent a_elem_ent" color: yellow info1: " -id: e18 +id: e17 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: a_elem_ent -ld_name: no yet set -offset: -1" +peculiarity: peculiarity_existent +name: a_elem_ent +ld_name: no yet set +offset(bits): -1" } -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: "e17" targetname: "t10"class: 3 label: "type" color: red} +node: {title: "t14" label: "array a" info1: "state: layout_undefined +size: -1b, "} -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" info1: "visited: 1 +edge: { sourcename: "t14" targetname: "t10"class: 10 label: "arr elt tp" color:green} +edge: { sourcename: "t14" targetname: "e17"class: 10 label: "arr ent" color: green} +edge: { sourcename: "n18" targetname: "t14"label: "upper 0"} +edge: { sourcename: "n19" targetname: "t14"label: "lower 0"} +node: {title: "n18" label: "0x9Iu 18" info1: "mode: Iu +visited: 1 arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n20" label: "0x0Iu 20" info1: "visited: 1 +"color: yellow} +node: {title: "n19" label: "0x0Iu 19" info1: "mode: Iu +visited: 1 arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, +"color: yellow} +node: {title: "t10" label: "primitive int" info1: "state: layout_fixed, mode: Is, -size: 4B, +size: 32b, "} -node: {title: "e14" label: "ent ARRAY-HEAP_EXAMPLE_main" color: yellow +node: {title: "e13" label: "ent ARRAY-HEAP_EXAMPLE_main" color: yellow info1: " -id: e14 +id: e13 allocation: allocation_static visibility: visibility_local variability: variability_constant volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: ARRAY-HEAP_EXAMPLE_main -ld_name: no yet set -offset: -1 -irg = g32" +peculiarity: peculiarity_existent +name: ARRAY-HEAP_EXAMPLE_main +ld_name: no yet set +offset(bits): -1 +irg = g31" } -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" info1: "visited: 1 +edge: { sourcename: "e13" targetname: "t11"class: 3 label: "type" color: red} +edge: { sourcename: "e13" targetname: "n12"label: "value 0"} +node: {title: "n12" label: "SymC &ARRAY-HEAP_EXAMPLE_main 12" info1: "mode: P +visited: 1 arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} +"} node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined -size: -1B, +size: -1b, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "t0" targetname: "e14"class: 12 label: "member" color:blue} -node: {title: "t12" label: "method ARRAY-HEAP_EXAMPLE_main" info1: "state: layout_fixed, +edge: { sourcename: "t0" targetname: "e13"class: 12 label: "member" color:blue} +node: {title: "t11" label: "method ARRAY-HEAP_EXAMPLE_main" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, variadicity: variadicity_non_variadic params: 0 results: 1 "} -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, +edge: { sourcename: "t11" targetname: "t10"class: 6 label: "res 0" color: green} +node: {title: "t20" 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 866669535..5ee1e6a93 100644 --- a/testprograms/ref-results/ARRAY-HEAP_EXAMPLE_main.vcg +++ b/testprograms/ref-results/ARRAY-HEAP_EXAMPLE_main.vcg @@ -24,96 +24,110 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -graph: { title: "g32" label: "ARRAY-HEAP_EXAMPLE_main" status:clustered color:white -graph: { title: "n50" label: "Block 50" status:clustered color:yellow -edge: {sourcename: "n50" targetname: "n51" label: "0" class:13 priority:60 color:red} -node: {title: "n48" label: "End 48" info1: "visited: 11 +graph: { title: "g31" label: "ARRAY-HEAP_EXAMPLE_main" status:clustered color:white +graph: { title: "n49" label: "Block 49" status:clustered color:yellow +edge: {sourcename: "n49" targetname: "n50" label: "0" class:13 priority:60 color:red} +node: {title: "n47" label: "End 47" info1: "mode: X +visited: 11 irg: ARRAY-HEAP_EXAMPLE_main arity: 0 "color: blue} } -graph: { title: "n52" label: "Block 52" status:clustered color:yellow -edge: {sourcename: "n52" targetname: "n53" label: "0" class:13 priority:60 color:red} -node: {title: "n51" label: "Return 51" info1: "visited: 11 +graph: { title: "n51" label: "Block 51" status:clustered color:yellow +edge: {sourcename: "n51" targetname: "n52" label: "0" class:13 priority:60 color:red} +node: {title: "n50" label: "Return 50" info1: "mode: X +visited: 11 irg: ARRAY-HEAP_EXAMPLE_main arity: 2 return in method of type ARRAY-HEAP_EXAMPLE_main res 0 type: int -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n51" targetname: "n65" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n51" targetname: "n56" label: "1" class:1 priority:50} -node: {title: "n65" label: "ProjM 0 65" info1: "visited: 11 +"} +edge: {sourcename: "n50" targetname: "n64" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n50" targetname: "n55" label: "1" class:1 priority:50} +node: {title: "n64" label: "ProjM 0 64" info1: "mode: M +visited: 11 irg: ARRAY-HEAP_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n65" targetname: "n57" label: "0" class:17 priority:10 color:blue} -node: {title: "n56" label: "ProjIs 2 56" info1: "visited: 11 +edge: {sourcename: "n64" targetname: "n56" label: "0" class:17 priority:10 color:blue} +node: {title: "n55" label: "ProjIs 2 55" info1: "mode: Is +visited: 11 irg: ARRAY-HEAP_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n56" targetname: "n57" label: "0" class:1 priority:50} -node: {title: "n57" label: "Load 57" info1: "visited: 11 +edge: {sourcename: "n55" targetname: "n56" label: "0" class:1 priority:50} +node: {title: "n56" label: "Load 56" info1: "mode: T +visited: 11 irg: ARRAY-HEAP_EXAMPLE_main arity: 2 -" info2: "mymode == mode_T && Load node"} -edge: {sourcename: "n57" targetname: "n64" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n57" targetname: "n58" label: "1" class:1 priority:50} -node: {title: "n58" label: "Sel a_elem_ent 58" info1: "visited: 11 +"} +edge: {sourcename: "n56" targetname: "n63" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n56" targetname: "n57" label: "1" class:1 priority:50} +node: {title: "n57" label: "Sel a_elem_ent 57" info1: "mode: P +visited: 11 irg: ARRAY-HEAP_EXAMPLE_main arity: 3 Selecting entity of type int from entity of type a "} -edge: {sourcename: "n58" targetname: "n64" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n58" targetname: "n60" label: "1" class:1 priority:50} -edge: {sourcename: "n58" targetname: "n59" label: "2" class:16 priority:10} -node: {title: "n64" label: "ProjM 0 64" info1: "visited: 11 +edge: {sourcename: "n57" targetname: "n63" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n57" targetname: "n59" label: "1" class:1 priority:50} +edge: {sourcename: "n57" targetname: "n58" label: "2" class:16 priority:10} +node: {title: "n63" label: "ProjM 0 63" info1: "mode: M +visited: 11 irg: ARRAY-HEAP_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n64" targetname: "n61" label: "0" class:17 priority:10 color:blue} -node: {title: "n60" label: "ProjP 2 60" info1: "visited: 11 +edge: {sourcename: "n63" targetname: "n60" label: "0" class:17 priority:10 color:blue} +node: {title: "n59" label: "ProjP 2 59" info1: "mode: P +visited: 11 irg: ARRAY-HEAP_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n60" targetname: "n61" label: "0" class:1 priority:50} -node: {title: "n61" label: "Alloc 61" info1: "visited: 11 +edge: {sourcename: "n59" targetname: "n60" label: "0" class:1 priority:50} +node: {title: "n60" label: "Alloc 60" info1: "mode: T +visited: 11 irg: ARRAY-HEAP_EXAMPLE_main arity: 2 allocating entity of type a "} -edge: {sourcename: "n61" targetname: "n63" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n61" targetname: "n62" label: "1" class:16 priority:10} +edge: {sourcename: "n60" targetname: "n62" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n60" targetname: "n61" label: "1" class:16 priority:10} } -graph: { title: "n54" label: "Block 54" status:clustered color:yellow -edge: {sourcename: "n54" targetname: "n53" label: "0" class:13 priority:60 color:red} -node: {title: "n63" label: "ProjM 1 63" info1: "visited: 11 +graph: { title: "n53" label: "Block 53" status:clustered color:yellow +edge: {sourcename: "n53" targetname: "n52" label: "0" class:13 priority:60 color:red} +node: {title: "n62" label: "ProjM 1 62" info1: "mode: M +visited: 11 irg: ARRAY-HEAP_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n63" targetname: "n55" label: "0" class:17 priority:10 color:blue} -node: {title: "n62" label: "0x28Iu 62" info1: "visited: 11 +edge: {sourcename: "n62" targetname: "n54" label: "0" class:17 priority:10 color:blue} +node: {title: "n61" label: "0x28Iu 61" info1: "mode: Iu +visited: 11 irg: ARRAY-HEAP_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n59" label: "0x3Iu 59" info1: "visited: 11 +"color: yellow} +node: {title: "n58" label: "0x3Iu 58" info1: "mode: Iu +visited: 11 irg: ARRAY-HEAP_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n53" label: "ProjX 0 53" info1: "visited: 11 +"color: yellow} +node: {title: "n52" label: "ProjX 0 52" info1: "mode: X +visited: 11 irg: ARRAY-HEAP_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n53" targetname: "n55" label: "0" class:13 priority:60 color:red} -node: {title: "n55" label: "Start 55" info1: "visited: 11 +edge: {sourcename: "n52" targetname: "n54" label: "0" class:13 priority:60 color:red} +node: {title: "n54" label: "Start 54" info1: "mode: T +visited: 11 irg: ARRAY-HEAP_EXAMPLE_main arity: 0 start of method of type ARRAY-HEAP_EXAMPLE_main -" info2: "mymode == mode_T && Start node"color: blue} +"color: blue} } } diff --git a/testprograms/ref-results/ARRAY-STACK_EXAMPLE_main-type.vcg b/testprograms/ref-results/ARRAY-STACK_EXAMPLE_main-type.vcg new file mode 100644 index 000000000..763c68c2b --- /dev/null +++ b/testprograms/ref-results/ARRAY-STACK_EXAMPLE_main-type.vcg @@ -0,0 +1,111 @@ +graph: { title: "ir graph of ARRAY-STACK_EXAMPLE_main" +display_edge_labels: yes +layoutalgorithm: mindepth +manhattan_edges: yes +port_sharing: no +orientation: bottom_to_top +classname 1: "intrablock Data" +classname 16: "interblock Data" +classname 2: "Block" +classname 13: "Control Flow" +classname 14: "intrablock Memory" +classname 17: "interblock Memory" +classname 15: "Dominators" +classname 3: "Entity type" +classname 4: "Entity owner" +classname 5: "Method Param" +classname 6: "Method Res" +classname 7: "Super" +classname 8: "Union" +classname 9: "Points-to" +classname 10: "Array Element Type" +classname 11: "Overwrites" +classname 12: "Member" +infoname 1: "Attribute" +infoname 2: "Verification errors" + +node: {title: "e18" label: "ent a_tp_elem_ent" color: yellow + info1: " +id: e18 +allocation: allocation_automatic +visibility: visibility_local +variability: variability_uninitialized +volatility: volatility_non_volatile +peculiarity: peculiarity_existent +name: a_tp_elem_ent +ld_name: no yet set +offset(bits): -1" +} +edge: { sourcename: "e18" targetname: "t10"class: 3 label: "type" color: red} +node: {title: "t15" label: "array a_tp" info1: "state: layout_undefined +size: -1b, +"} +edge: { sourcename: "t15" targetname: "t10"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" info1: "mode: Iu +visited: 1 +arity: 0 +Const of type type_unknown +"color: yellow} +node: {title: "n20" label: "0x0Iu 20" info1: "mode: Iu +visited: 1 +arity: 0 +Const of type type_unknown +"color: yellow} +node: {title: "t10" label: "primitive int" info1: "state: layout_fixed, +mode: Is, +size: 32b, +"} +node: {title: "e34" label: "ent a" color: yellow + info1: " +id: e34 +allocation: allocation_automatic +visibility: visibility_local +variability: variability_uninitialized +volatility: volatility_non_volatile +peculiarity: peculiarity_existent +name: a +ld_name: no yet set +offset(bits): -1" +} +edge: { sourcename: "e34" targetname: "t15"class: 3 label: "type" color: red} +node: {title: "t21" label: "class mainframe_tp" info1: "state: layout_undefined +size: -1b, +peculiarity: peculiarity_existent +" color: green} +edge: { sourcename: "t21" targetname: "e34"class: 12 label: "member" color:blue} +node: {title: "e14" label: "ent ARRAY-STACK_EXAMPLE_main" color: yellow + info1: " +id: e14 +allocation: allocation_static +visibility: visibility_local +variability: variability_constant +volatility: volatility_non_volatile +peculiarity: peculiarity_existent +name: main +ld_name: ARRAY-STACK_EXAMPLE_main +offset(bits): -1 +irg = g32" +} +edge: { sourcename: "e14" targetname: "t12"class: 3 label: "type" color: red} +edge: { sourcename: "e14" targetname: "n13"label: "value 0"} +node: {title: "n13" label: "SymC &main 13" info1: "mode: P +visited: 1 +arity: 0 +"} +node: {title: "t11" label: "class ARRAY-STACK_EXAMPLE" info1: "state: layout_undefined +size: -1b, +peculiarity: peculiarity_existent +" color: green} +edge: { sourcename: "t11" targetname: "e14"class: 12 label: "member" color:blue} +node: {title: "t12" label: "method main_tp" info1: "state: layout_fixed, +mode: P, +size: 32b, +variadicity: variadicity_non_variadic +params: 0 +results: 1 +"} +edge: { sourcename: "t12" targetname: "t10"class: 6 label: "res 0" color: green} +} diff --git a/testprograms/ref-results/ARRAY-STACK_EXAMPLE_main-wtypes.vcg b/testprograms/ref-results/ARRAY-STACK_EXAMPLE_main-wtypes.vcg index e8067889d..811665fac 100644 --- a/testprograms/ref-results/ARRAY-STACK_EXAMPLE_main-wtypes.vcg +++ b/testprograms/ref-results/ARRAY-STACK_EXAMPLE_main-wtypes.vcg @@ -24,173 +24,187 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -graph: { title: "g33" label: "ARRAY-STACK_EXAMPLE_main" status:clustered color:white -graph: { title: "n48" label: "Block 48" status:clustered color:yellow -edge: {sourcename: "n48" targetname: "n49" label: "0" class:13 priority:60 color:red} -node: {title: "n46" label: "End 46" info1: "visited: 13 +graph: { title: "g32" label: "ARRAY-STACK_EXAMPLE_main" status:clustered color:white +graph: { title: "n47" label: "Block 47" status:clustered color:yellow +edge: {sourcename: "n47" targetname: "n48" label: "0" class:13 priority:60 color:red} +node: {title: "n45" label: "End 45" info1: "mode: X +visited: 13 irg: ARRAY-STACK_EXAMPLE_main arity: 0 "color: blue} } -graph: { title: "n50" label: "Block 50" status:clustered color:yellow -edge: {sourcename: "n50" targetname: "n51" label: "0" class:13 priority:60 color:red} -node: {title: "n49" label: "Return 49" info1: "visited: 13 +graph: { title: "n49" label: "Block 49" status:clustered color:yellow +edge: {sourcename: "n49" targetname: "n50" label: "0" class:13 priority:60 color:red} +node: {title: "n48" label: "Return 48" info1: "mode: X +visited: 13 irg: ARRAY-STACK_EXAMPLE_main arity: 2 -return in method of type main +return in method of type main_tp res 0 type: int -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n49" targetname: "n61" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n49" targetname: "n54" label: "1" class:1 priority:50} -node: {title: "n61" label: "ProjM 0 61" info1: "visited: 13 +"} +edge: {sourcename: "n48" targetname: "n60" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n48" targetname: "n53" label: "1" class:1 priority:50} +node: {title: "n60" label: "ProjM 0 60" info1: "mode: M +visited: 13 irg: ARRAY-STACK_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n61" targetname: "n55" label: "0" class:17 priority:10 color:blue} -node: {title: "n54" label: "ProjIs 2 54" info1: "visited: 13 +edge: {sourcename: "n60" targetname: "n54" label: "0" class:17 priority:10 color:blue} +node: {title: "n53" label: "ProjIs 2 53" info1: "mode: Is +visited: 13 irg: ARRAY-STACK_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n54" targetname: "n55" label: "0" class:1 priority:50} -node: {title: "n55" label: "Load 55" info1: "visited: 13 +edge: {sourcename: "n53" targetname: "n54" label: "0" class:1 priority:50} +node: {title: "n54" label: "Load 54" info1: "mode: T +visited: 13 irg: ARRAY-STACK_EXAMPLE_main arity: 2 -" info2: "mymode == mode_T && Load node"} -edge: {sourcename: "n55" targetname: "n60" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n55" targetname: "n56" label: "1" class:1 priority:50} -node: {title: "n56" label: "Sel a_tp_elem_ent 56" info1: "visited: 13 +"} +edge: {sourcename: "n54" targetname: "n59" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n54" targetname: "n55" label: "1" class:1 priority:50} +node: {title: "n55" label: "Sel a_tp_elem_ent 55" info1: "mode: P +visited: 13 irg: ARRAY-STACK_EXAMPLE_main arity: 3 Selecting entity of type int from entity of type a_tp "} -edge: {sourcename: "n56" targetname: "n60" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n56" targetname: "n58" label: "1" class:1 priority:50} -edge: {sourcename: "n56" targetname: "n57" label: "2" class:16 priority:10} -node: {title: "n58" label: "Sel a 58" info1: "visited: 13 +edge: {sourcename: "n55" targetname: "n59" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n55" targetname: "n57" label: "1" class:1 priority:50} +edge: {sourcename: "n55" targetname: "n56" label: "2" class:16 priority:10} +node: {title: "n57" label: "Sel a 57" info1: "mode: P +visited: 13 irg: ARRAY-STACK_EXAMPLE_main arity: 2 Selecting entity of type a_tp from entity of type mainframe_tp "} -edge: {sourcename: "n58" targetname: "n60" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n58" targetname: "n59" label: "1" class:16 priority:10} +edge: {sourcename: "n57" targetname: "n59" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n57" targetname: "n58" label: "1" class:16 priority:10} } -graph: { title: "n52" label: "Block 52" status:clustered color:yellow -edge: {sourcename: "n52" targetname: "n51" label: "0" class:13 priority:60 color:red} -node: {title: "n60" label: "ProjM 1 60" info1: "visited: 13 +graph: { title: "n51" label: "Block 51" status:clustered color:yellow +edge: {sourcename: "n51" targetname: "n50" label: "0" class:13 priority:60 color:red} +node: {title: "n59" label: "ProjM 1 59" info1: "mode: M +visited: 13 irg: ARRAY-STACK_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n60" targetname: "n53" label: "0" class:17 priority:10 color:blue} -node: {title: "n59" label: "ProjP 2 59" info1: "visited: 13 +edge: {sourcename: "n59" targetname: "n52" label: "0" class:17 priority:10 color:blue} +node: {title: "n58" label: "ProjP 2 58" info1: "mode: P +visited: 13 irg: ARRAY-STACK_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n59" targetname: "n53" label: "0" class:1 priority:50} -node: {title: "n57" label: "0x3Iu 57" info1: "visited: 13 +edge: {sourcename: "n58" targetname: "n52" label: "0" class:1 priority:50} +node: {title: "n56" label: "0x3Iu 56" info1: "mode: Iu +visited: 13 irg: ARRAY-STACK_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n51" label: "ProjX 0 51" info1: "visited: 13 +"color: yellow} +node: {title: "n50" label: "ProjX 0 50" info1: "mode: X +visited: 13 irg: ARRAY-STACK_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n51" targetname: "n53" label: "0" class:13 priority:60 color:red} -node: {title: "n53" label: "Start 53" info1: "visited: 13 +edge: {sourcename: "n50" targetname: "n52" label: "0" class:13 priority:60 color:red} +node: {title: "n52" label: "Start 52" info1: "mode: T +visited: 13 irg: ARRAY-STACK_EXAMPLE_main arity: 0 -start of method of type main -" info2: "mymode == mode_T && Start node"color: blue} +start of method of type main_tp +"color: blue} } } -node: {title: "e19" label: "ent a_tp_elem_ent" color: yellow +node: {title: "e18" label: "ent a_tp_elem_ent" color: yellow info1: " -id: e19 +id: e18 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: a_tp_elem_ent -ld_name: no yet set -offset: -1" +peculiarity: peculiarity_existent +name: a_tp_elem_ent +ld_name: no yet set +offset(bits): -1" } -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: "e18" targetname: "t10"class: 3 label: "type" color: red} +node: {title: "t15" label: "array a_tp" info1: "state: layout_undefined +size: -1b, "} -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" info1: "visited: 2 +edge: { sourcename: "t15" targetname: "t10"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" info1: "mode: Iu +visited: 2 arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n21" label: "0x0Iu 21" info1: "visited: 2 +"color: yellow} +node: {title: "n20" label: "0x0Iu 20" info1: "mode: Iu +visited: 2 arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, +"color: yellow} +node: {title: "t10" label: "primitive int" info1: "state: layout_fixed, mode: Is, -size: 4B, +size: 32b, "} -node: {title: "e35" label: "ent a" color: yellow +node: {title: "e34" label: "ent a" color: yellow info1: " -id: e35 +id: e34 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: a -ld_name: no yet set -offset: -1" +peculiarity: peculiarity_existent +name: a +ld_name: no yet set +offset(bits): -1" } -edge: { sourcename: "e35" targetname: "t16"class: 3 label: "type" color: red} -node: {title: "t22" label: "class mainframe_tp" info1: "state: layout_undefined -size: -1B, +edge: { sourcename: "e34" targetname: "t15"class: 3 label: "type" color: red} +node: {title: "t21" label: "class mainframe_tp" info1: "state: layout_undefined +size: -1b, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "t22" targetname: "e35"class: 12 label: "member" color:blue} -node: {title: "e15" label: "ent ARRAY-STACK_EXAMPLE_main" color: yellow +edge: { sourcename: "t21" targetname: "e34"class: 12 label: "member" color:blue} +node: {title: "e14" label: "ent ARRAY-STACK_EXAMPLE_main" color: yellow info1: " -id: e15 +id: e14 allocation: allocation_static visibility: visibility_local variability: variability_constant volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: main -ld_name: ARRAY-STACK_EXAMPLE_main -offset: -1 -irg = g33" +peculiarity: peculiarity_existent +name: main +ld_name: ARRAY-STACK_EXAMPLE_main +offset(bits): -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: "&(ARRAY-STACK_EXAMPLE_main)P 14" info1: "visited: 2 +edge: { sourcename: "e14" targetname: "t12"class: 3 label: "type" color: red} +edge: { sourcename: "e14" targetname: "n13"label: "value 0"} +node: {title: "n13" label: "SymC &main 13" info1: "mode: P +visited: 2 arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t12" label: "class ARRAY-STACK_EXAMPLE" info1: "state: layout_undefined -size: -1B, +"} +node: {title: "t11" label: "class ARRAY-STACK_EXAMPLE" info1: "state: layout_undefined +size: -1b, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "t12" targetname: "e15"class: 12 label: "member" color:blue} -node: {title: "t13" label: "method main" info1: "state: layout_fixed, +edge: { sourcename: "t11" targetname: "e14"class: 12 label: "member" color:blue} +node: {title: "t12" label: "method main_tp" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, variadicity: variadicity_non_variadic params: 0 results: 1 "} -edge: { sourcename: "t13" targetname: "t11"class: 6 label: "res 0" color: green} -edge: { sourcename: "n56" targetname: "e19"class:2 priority:2 linestyle:dotted} -edge: { sourcename: "n58" targetname: "e35"class:2 priority:2 linestyle:dotted} +edge: { sourcename: "t12" targetname: "t10"class: 6 label: "res 0" color: green} +edge: { sourcename: "n55" targetname: "e18"class:2 priority:2 linestyle:dotted} +edge: { sourcename: "n57" targetname: "e34"class:2 priority:2 linestyle:dotted} } diff --git a/testprograms/ref-results/ARRAY-STACK_EXAMPLE_main.vcg b/testprograms/ref-results/ARRAY-STACK_EXAMPLE_main.vcg new file mode 100644 index 000000000..96c885272 --- /dev/null +++ b/testprograms/ref-results/ARRAY-STACK_EXAMPLE_main.vcg @@ -0,0 +1,124 @@ +graph: { title: "ir graph of ARRAY-STACK_EXAMPLE_main" +display_edge_labels: yes +layoutalgorithm: mindepth +manhattan_edges: yes +port_sharing: no +orientation: bottom_to_top +classname 1: "intrablock Data" +classname 16: "interblock Data" +classname 2: "Block" +classname 13: "Control Flow" +classname 14: "intrablock Memory" +classname 17: "interblock Memory" +classname 15: "Dominators" +classname 3: "Entity type" +classname 4: "Entity owner" +classname 5: "Method Param" +classname 6: "Method Res" +classname 7: "Super" +classname 8: "Union" +classname 9: "Points-to" +classname 10: "Array Element Type" +classname 11: "Overwrites" +classname 12: "Member" +infoname 1: "Attribute" +infoname 2: "Verification errors" + +graph: { title: "g32" label: "ARRAY-STACK_EXAMPLE_main" status:clustered color:white +graph: { title: "n47" label: "Block 47" status:clustered color:yellow +edge: {sourcename: "n47" targetname: "n48" label: "0" class:13 priority:60 color:red} +node: {title: "n45" label: "End 45" info1: "mode: X +visited: 11 +irg: ARRAY-STACK_EXAMPLE_main +arity: 0 +"color: blue} +} + +graph: { title: "n49" label: "Block 49" status:clustered color:yellow +edge: {sourcename: "n49" targetname: "n50" label: "0" class:13 priority:60 color:red} +node: {title: "n48" label: "Return 48" info1: "mode: X +visited: 11 +irg: ARRAY-STACK_EXAMPLE_main +arity: 2 +return in method of type main_tp + res 0 type: int +"} +edge: {sourcename: "n48" targetname: "n60" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n48" targetname: "n53" label: "1" class:1 priority:50} +node: {title: "n60" label: "ProjM 0 60" info1: "mode: M +visited: 11 +irg: ARRAY-STACK_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n60" targetname: "n54" label: "0" class:17 priority:10 color:blue} +node: {title: "n53" label: "ProjIs 2 53" info1: "mode: Is +visited: 11 +irg: ARRAY-STACK_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n53" targetname: "n54" label: "0" class:1 priority:50} +node: {title: "n54" label: "Load 54" info1: "mode: T +visited: 11 +irg: ARRAY-STACK_EXAMPLE_main +arity: 2 +"} +edge: {sourcename: "n54" targetname: "n59" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n54" targetname: "n55" label: "1" class:1 priority:50} +node: {title: "n55" label: "Sel a_tp_elem_ent 55" info1: "mode: P +visited: 11 +irg: ARRAY-STACK_EXAMPLE_main +arity: 3 +Selecting entity of type int + from entity of type a_tp +"} +edge: {sourcename: "n55" targetname: "n59" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n55" targetname: "n57" label: "1" class:1 priority:50} +edge: {sourcename: "n55" targetname: "n56" label: "2" class:16 priority:10} +node: {title: "n57" label: "Sel a 57" info1: "mode: P +visited: 11 +irg: ARRAY-STACK_EXAMPLE_main +arity: 2 +Selecting entity of type a_tp + from entity of type mainframe_tp +"} +edge: {sourcename: "n57" targetname: "n59" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n57" targetname: "n58" label: "1" class:16 priority:10} +} + +graph: { title: "n51" label: "Block 51" status:clustered color:yellow +edge: {sourcename: "n51" targetname: "n50" label: "0" class:13 priority:60 color:red} +node: {title: "n59" label: "ProjM 1 59" info1: "mode: M +visited: 11 +irg: ARRAY-STACK_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n59" targetname: "n52" label: "0" class:17 priority:10 color:blue} +node: {title: "n58" label: "ProjP 2 58" info1: "mode: P +visited: 11 +irg: ARRAY-STACK_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n58" targetname: "n52" label: "0" class:1 priority:50} +node: {title: "n56" label: "0x3Iu 56" info1: "mode: Iu +visited: 11 +irg: ARRAY-STACK_EXAMPLE_main +arity: 0 +Const of type type_unknown +"color: yellow} +node: {title: "n50" label: "ProjX 0 50" info1: "mode: X +visited: 11 +irg: ARRAY-STACK_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n50" targetname: "n52" label: "0" class:13 priority:60 color:red} +node: {title: "n52" label: "Start 52" info1: "mode: T +visited: 11 +irg: ARRAY-STACK_EXAMPLE_main +arity: 0 +start of method of type main_tp +"color: blue} +} + +} + +} diff --git a/testprograms/ref-results/All_graphs.vcg b/testprograms/ref-results/All_graphs.vcg index dd1daf9b9..1daef958d 100644 --- a/testprograms/ref-results/All_graphs.vcg +++ b/testprograms/ref-results/All_graphs.vcg @@ -24,308 +24,350 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -graph: { title: "g35" label: "GlobalType_OO_PROGRAM_EXAMPLE_main" status:clustered color:white -graph: { title: "n105" label: "Block 105" status:clustered color:yellow -edge: {sourcename: "n105" targetname: "n106" label: "0" class:13 priority:60 color:red} -node: {title: "n103" label: "End 103" info1: "visited: 51 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main +graph: { title: "g34" 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" class:13 priority:60 color:red} +node: {title: "n102" label: "End 102" info1: "mode: X +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main arity: 2 "color: blue} } -graph: { title: "n107" label: "Block 107" status:clustered color:yellow -edge: {sourcename: "n107" targetname: "n191" label: "0" class:13 priority:60 color:red} -node: {title: "n106" label: "Return 106" info1: "visited: 51 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main +graph: { title: "n106" label: "Block 106" status:clustered color:yellow +edge: {sourcename: "n106" targetname: "n190" label: "0" class:13 priority:60 color:red} +node: {title: "n105" label: "Return 105" info1: "mode: X +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main arity: 2 -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n106" targetname: "n193" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n106" targetname: "n194" label: "1" class:1 priority:50} -node: {title: "n193" label: "FilterM 0 193" info1: "visited: 51 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main +"} +edge: {sourcename: "n105" targetname: "n192" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n105" targetname: "n193" label: "1" class:1 priority:50} +node: {title: "n192" label: "FilterM 0 192" info1: "mode: M +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main arity: 1 backedges: intra predecessor nodes: - CallT 113 + CallT 112 "color: yellow} -edge: {sourcename: "n193" targetname: "n162" label: "0" class:17 priority:10 color:blue} -node: {title: "n194" label: "FilterIs 0 194" info1: "visited: 51 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main +edge: {sourcename: "n192" targetname: "n161" label: "0" class:17 priority:10 color:blue} +node: {title: "n193" label: "FilterIs 0 193" info1: "mode: Is +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main arity: 1 backedges: intra predecessor nodes: - ProjT 112 + ProjT 111 "color: yellow} -edge: {sourcename: "n194" targetname: "n154" label: "0" class:16 priority:10} +edge: {sourcename: "n193" targetname: "n153" label: "0" class:16 priority:10} } -graph: { title: "n188" label: "Block 188" status:clustered color:yellow -edge: {sourcename: "n188" targetname: "n185" label: "0" class:13 priority:60 color:red} -node: {title: "n187" label: "FilterM 0 187" info1: "visited: 51 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main +graph: { title: "n187" label: "Block 187" status:clustered color:yellow +edge: {sourcename: "n187" targetname: "n184" label: "0" class:13 priority:60 color:red} +node: {title: "n186" label: "FilterM 0 186" info1: "mode: M +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main arity: 1 backedges: intra predecessor nodes: - CallT 121 + CallT 120 "color: yellow} -edge: {sourcename: "n187" targetname: "n137" label: "0" class:17 priority:10 color:blue} -node: {title: "n192" label: "ProjX 0 192" info1: "visited: 51 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main +edge: {sourcename: "n186" targetname: "n136" label: "0" class:17 priority:10 color:blue} +node: {title: "n191" label: "ProjX 0 191" info1: "mode: X +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n192" targetname: "n190" label: "0" class:13 priority:60 color:red} -node: {title: "n190" label: "CallBegin 190" info1: "visited: 51 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main +edge: {sourcename: "n191" targetname: "n189" label: "0" class:13 priority:60 color:red} +node: {title: "n189" label: "CallBegin 189" info1: "mode: T +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main arity: 1 possible callees: 0: PRIMA_c "} -node: {title: "n190n165" label: "&(PRIMA_c)P 165" info1: "visited: 51 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main +node: {title: "n189n164" label: "SymC &c 164" info1: "mode: P +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main arity: 0 -Const of type type_unknown -"color: yellow} -edge: {sourcename: "n190" targetname: "n190n165" label: "0" class:16 priority:10} +"} +edge: {sourcename: "n189" targetname: "n189n164" label: "0" class:16 priority:10} } -graph: { title: "n182" label: "Block 182" status:clustered color:yellow -edge: {sourcename: "n182" targetname: "n108" label: "0" class:13 priority:60 color:red} -node: {title: "n124" label: "ProjM 0 124" info1: "visited: 51 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main +graph: { title: "n181" label: "Block 181" status:clustered color:yellow +edge: {sourcename: "n181" targetname: "n107" label: "0" class:13 priority:60 color:red} +node: {title: "n123" label: "ProjM 0 123" info1: "mode: M +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n124" targetname: "n116" label: "0" class:17 priority:10 color:blue} -node: {title: "n115" label: "ProjP 2 115" info1: "visited: 51 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main +edge: {sourcename: "n123" targetname: "n115" label: "0" class:17 priority:10 color:blue} +node: {title: "n114" label: "ProjP 2 114" info1: "mode: P +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n115" targetname: "n116" label: "0" class:1 priority:50} -node: {title: "n116" label: "Alloc 116" info1: "visited: 51 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main +edge: {sourcename: "n114" targetname: "n115" label: "0" class:1 priority:50} +node: {title: "n115" label: "Alloc 115" info1: "mode: T +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main arity: 2 allocating entity of type PRIMA "} -node: {title: "n116n117" label: "SymC PRIMA size 117" info1: "visited: 51 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main +node: {title: "n115n116" label: "SymC PRIMA size 116" info1: "mode: Iu +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main arity: 0 "} -edge: {sourcename: "n116" targetname: "n118" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n116" targetname: "n116n117" label: "1" class:16 priority:10} -node: {title: "n186" label: "ProjX 0 186" info1: "visited: 51 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main +edge: {sourcename: "n115" targetname: "n117" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n115" targetname: "n115n116" label: "1" class:16 priority:10} +node: {title: "n185" label: "ProjX 0 185" info1: "mode: X +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n186" targetname: "n184" label: "0" class:13 priority:60 color:red} -node: {title: "n184" label: "CallBegin 184" info1: "visited: 51 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main +edge: {sourcename: "n185" targetname: "n183" label: "0" class:13 priority:60 color:red} +node: {title: "n183" label: "CallBegin 183" info1: "mode: T +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main arity: 1 possible callees: 0: PRIMA_set_a "} -node: {title: "n184n166" label: "&(PRIMA_set_a)P 166" info1: "visited: 51 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main +node: {title: "n183n165" label: "SymC &set_a 165" info1: "mode: P +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main arity: 0 -Const of type type_unknown -"color: yellow} -edge: {sourcename: "n184" targetname: "n184n166" label: "0" class:16 priority:10} +"} +edge: {sourcename: "n183" targetname: "n183n165" label: "0" class:16 priority:10} } -graph: { title: "n109" label: "Block 109" status:clustered color:yellow -edge: {sourcename: "n109" targetname: "n108" label: "0" class:13 priority:60 color:red} -node: {title: "n118" label: "ProjM 1 118" info1: "visited: 51 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main +graph: { title: "n108" label: "Block 108" status:clustered color:yellow +edge: {sourcename: "n108" targetname: "n107" label: "0" class:13 priority:60 color:red} +node: {title: "n117" label: "ProjM 1 117" info1: "mode: M +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n118" targetname: "n110" label: "0" class:17 priority:10 color:blue} -node: {title: "n108" label: "ProjX 0 108" info1: "visited: 51 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main +edge: {sourcename: "n117" targetname: "n109" label: "0" class:17 priority:10 color:blue} +node: {title: "n107" label: "ProjX 0 107" info1: "mode: X +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n108" targetname: "n110" label: "0" class:13 priority:60 color:red} -node: {title: "n110" label: "Start GlobalType_OO_PROGRAM_EXAMPLE_main 110" info1: "visited: 51 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main +edge: {sourcename: "n107" targetname: "n109" label: "0" class:13 priority:60 color:red} +node: {title: "n109" label: "Start OO_PROGRAM_EXAMPLE_main 109" info1: "mode: T +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main arity: 0 start of method of type OO_PROGRAM_EXAMPLE_main -" info2: "mymode == mode_T && Start node"color: blue} +"color: blue} } } -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" class:13 priority:60 color:red} -node: {title: "n185" label: "ProjX 0 185" info1: "visited: 51 +graph: { title: "g67" label: "PRIMA_set_a" status:clustered color:white +graph: { title: "n178" label: "Block 178" status:clustered color:yellow +edge: {sourcename: "n178" targetname: "n177" label: "0" class:13 priority:60 color:red} +node: {title: "n184" label: "ProjX 0 184" info1: "mode: X +visited: 51 irg: PRIMA_set_a arity: 1 "color: yellow} -edge: {sourcename: "n185" targetname: "n180" label: "0" class:13 priority:60 color:red} -node: {title: "n180" label: "EndReg 180" info1: "visited: 51 +edge: {sourcename: "n184" targetname: "n179" label: "0" class:13 priority:60 color:red} +node: {title: "n179" label: "EndReg 179" info1: "mode: T +visited: 51 irg: PRIMA_set_a arity: 0 "color: blue} } -graph: { title: "n133" label: "Block 133" status:clustered color:yellow -edge: {sourcename: "n133" targetname: "n134" label: "0" class:13 priority:60 color:red} -node: {title: "n137" label: "ProjM 0 137" info1: "visited: 51 +graph: { title: "n132" label: "Block 132" status:clustered color:yellow +edge: {sourcename: "n132" targetname: "n133" label: "0" class:13 priority:60 color:red} +node: {title: "n136" label: "ProjM 0 136" info1: "mode: M +visited: 51 irg: PRIMA_set_a arity: 1 "color: yellow} -edge: {sourcename: "n137" targetname: "n138" label: "0" class:17 priority:10 color:blue} -node: {title: "n138" label: "Store 138" info1: "visited: 51 +edge: {sourcename: "n136" targetname: "n137" label: "0" class:17 priority:10 color:blue} +node: {title: "n137" label: "Store 137" info1: "mode: T +visited: 51 irg: PRIMA_set_a arity: 3 -" info2: "mymode == mode_T && Store node"} -edge: {sourcename: "n138" targetname: "n175" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n138" targetname: "n141" label: "1" class:1 priority:50} -edge: {sourcename: "n138" targetname: "n177" label: "2" class:16 priority:10} -node: {title: "n141" label: "Sel a 141" info1: "visited: 51 +"} +edge: {sourcename: "n137" targetname: "n174" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n137" targetname: "n140" label: "1" class:1 priority:50} +edge: {sourcename: "n137" targetname: "n176" label: "2" class:16 priority:10} +node: {title: "n140" label: "Sel a 140" info1: "mode: P +visited: 51 irg: PRIMA_set_a arity: 2 Selecting entity of type int from entity of type PRIMA "} -edge: {sourcename: "n141" targetname: "n175" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n141" targetname: "n176" label: "1" class:16 priority:10} -node: {title: "n178" label: "Jmp 178" info1: "visited: 51 +edge: {sourcename: "n140" targetname: "n174" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n140" targetname: "n175" label: "1" class:16 priority:10} +node: {title: "n177" label: "Jmp 177" info1: "mode: X +visited: 51 irg: PRIMA_set_a arity: 0 -" info2: "mymode == mode_X && Jmp node"} +"} } -graph: { title: "n135" label: "Block 135" status:clustered color:yellow -edge: {sourcename: "n135" targetname: "n186" label: "0" class:13 priority:60 color:red} -node: {title: "n175" label: "FilterM 1 175" info1: "visited: 51 +graph: { title: "n134" label: "Block 134" status:clustered color:yellow +edge: {sourcename: "n134" targetname: "n185" label: "0" class:13 priority:60 color:red} +node: {title: "n174" label: "FilterM 1 174" info1: "mode: M +visited: 51 irg: PRIMA_set_a arity: 1 backedges: intra predecessor nodes: - StartT 136 + StartT 135 "color: yellow} -edge: {sourcename: "n175" targetname: "n124" label: "0" class:17 priority:10 color:blue} -node: {title: "n176" label: "FilterP 0 176" info1: "visited: 51 +edge: {sourcename: "n174" targetname: "n123" label: "0" class:17 priority:10 color:blue} +node: {title: "n175" label: "FilterP 0 175" info1: "mode: P +visited: 51 irg: PRIMA_set_a arity: 1 backedges: intra predecessor nodes: - ProjT 140 + ProjT 139 "color: yellow} -edge: {sourcename: "n176" targetname: "n115" label: "0" class:16 priority:10} -node: {title: "n177" label: "FilterIs 1 177" info1: "visited: 51 +edge: {sourcename: "n175" targetname: "n114" label: "0" class:16 priority:10} +node: {title: "n176" label: "FilterIs 1 176" info1: "mode: Is +visited: 51 irg: PRIMA_set_a arity: 1 backedges: intra predecessor nodes: - ProjT 140 + ProjT 139 "color: yellow} -node: {title: "n177n122" label: "0x2Is 122" info1: "visited: 51 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main +node: {title: "n176n121" label: "0x2Is 121" info1: "mode: Is +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main arity: 0 Const of type type_unknown "color: yellow} -edge: {sourcename: "n177" targetname: "n177n122" label: "0" class:16 priority:10} -node: {title: "n134" label: "ProjX 0 134" info1: "visited: 51 +edge: {sourcename: "n176" targetname: "n176n121" label: "0" class:16 priority:10} +node: {title: "n133" label: "ProjX 0 133" info1: "mode: X +visited: 51 irg: PRIMA_set_a arity: 1 "color: yellow} -edge: {sourcename: "n134" targetname: "n136" label: "0" class:13 priority:60 color:red} -node: {title: "n136" label: "Start PRIMA_set_a 136" info1: "visited: 51 +edge: {sourcename: "n133" targetname: "n135" label: "0" class:13 priority:60 color:red} +node: {title: "n135" label: "Start PRIMA_set_a 135" info1: "mode: T +visited: 51 irg: PRIMA_set_a arity: 0 start of method of type set_a param 0 type: class_prima_ptr param 1 type: int -" info2: "mymode == mode_T && Start node"color: blue} +"color: blue} } } -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" class:13 priority:60 color:red} -node: {title: "n191" label: "ProjX 0 191" info1: "visited: 51 +graph: { title: "g89" label: "PRIMA_c" status:clustered color:white +graph: { title: "n170" label: "Block 170" status:clustered color:yellow +edge: {sourcename: "n170" targetname: "n169" label: "0" class:13 priority:60 color:red} +node: {title: "n190" label: "ProjX 0 190" info1: "mode: X +visited: 51 irg: PRIMA_c arity: 1 "color: yellow} -edge: {sourcename: "n191" targetname: "n172" label: "0" class:13 priority:60 color:red} -node: {title: "n172" label: "EndReg 172" info1: "visited: 51 +edge: {sourcename: "n190" targetname: "n171" label: "0" class:13 priority:60 color:red} +node: {title: "n171" label: "EndReg 171" info1: "mode: T +visited: 51 irg: PRIMA_c arity: 0 "color: blue} } -graph: { title: "n150" label: "Block 150" status:clustered color:yellow -edge: {sourcename: "n150" targetname: "n151" label: "0" class:13 priority:60 color:red} -node: {title: "n162" label: "ProjM 0 162" info1: "visited: 51 +graph: { title: "n149" label: "Block 149" status:clustered color:yellow +edge: {sourcename: "n149" targetname: "n150" label: "0" class:13 priority:60 color:red} +node: {title: "n161" label: "ProjM 0 161" info1: "mode: M +visited: 51 irg: PRIMA_c arity: 1 "color: yellow} -edge: {sourcename: "n162" targetname: "n156" label: "0" class:17 priority:10 color:blue} -node: {title: "n154" label: "AddIs 154" info1: "visited: 51 +edge: {sourcename: "n161" targetname: "n155" label: "0" class:17 priority:10 color:blue} +node: {title: "n153" label: "AddIs 153" info1: "mode: Is +visited: 51 irg: PRIMA_c arity: 2 "} -edge: {sourcename: "n154" targetname: "n155" label: "0" class:1 priority:50} -edge: {sourcename: "n154" targetname: "n167" label: "1" class:16 priority:10} -node: {title: "n155" label: "ProjIs 2 155" info1: "visited: 51 +edge: {sourcename: "n153" targetname: "n154" label: "0" class:1 priority:50} +edge: {sourcename: "n153" targetname: "n166" label: "1" class:16 priority:10} +node: {title: "n154" label: "ProjIs 2 154" info1: "mode: Is +visited: 51 irg: PRIMA_c arity: 1 "color: yellow} -edge: {sourcename: "n155" targetname: "n156" label: "0" class:1 priority:50} -node: {title: "n156" label: "Load 156" info1: "visited: 51 +edge: {sourcename: "n154" targetname: "n155" label: "0" class:1 priority:50} +node: {title: "n155" label: "Load 155" info1: "mode: T +visited: 51 irg: PRIMA_c arity: 2 -" info2: "mymode == mode_T && Load node"} -edge: {sourcename: "n156" targetname: "n168" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n156" targetname: "n157" label: "1" class:1 priority:50} -node: {title: "n157" label: "Sel a 157" info1: "visited: 51 +"} +edge: {sourcename: "n155" targetname: "n167" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n155" targetname: "n156" label: "1" class:1 priority:50} +node: {title: "n156" label: "Sel a 156" info1: "mode: P +visited: 51 irg: PRIMA_c arity: 2 Selecting entity of type int from entity of type PRIMA "} -edge: {sourcename: "n157" targetname: "n168" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n157" targetname: "n169" label: "1" class:16 priority:10} -node: {title: "n170" label: "Jmp 170" info1: "visited: 51 +edge: {sourcename: "n156" targetname: "n167" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n156" targetname: "n168" label: "1" class:16 priority:10} +node: {title: "n169" label: "Jmp 169" info1: "mode: X +visited: 51 irg: PRIMA_c arity: 0 -" info2: "mymode == mode_X && Jmp node"} +"} } -graph: { title: "n152" label: "Block 152" status:clustered color:yellow -edge: {sourcename: "n152" targetname: "n192" label: "0" class:13 priority:60 color:red} -node: {title: "n168" label: "FilterM 1 168" info1: "visited: 51 +graph: { title: "n151" label: "Block 151" status:clustered color:yellow +edge: {sourcename: "n151" targetname: "n191" label: "0" class:13 priority:60 color:red} +node: {title: "n167" label: "FilterM 1 167" info1: "mode: M +visited: 51 irg: PRIMA_c arity: 1 backedges: intra predecessor nodes: - StartT 153 + StartT 152 "color: yellow} -edge: {sourcename: "n168" targetname: "n187" label: "0" class:17 priority:10 color:blue} -node: {title: "n169" label: "FilterP 0 169" info1: "visited: 51 +edge: {sourcename: "n167" targetname: "n186" label: "0" class:17 priority:10 color:blue} +node: {title: "n168" label: "FilterP 0 168" info1: "mode: P +visited: 51 irg: PRIMA_c arity: 1 backedges: intra predecessor nodes: - ProjT 159 + ProjT 158 "color: yellow} -edge: {sourcename: "n169" targetname: "n115" label: "0" class:16 priority:10} -node: {title: "n167" label: "FilterIs 1 167" info1: "visited: 51 +edge: {sourcename: "n168" targetname: "n114" label: "0" class:16 priority:10} +node: {title: "n166" label: "FilterIs 1 166" info1: "mode: Is +visited: 51 irg: PRIMA_c arity: 1 backedges: intra predecessor nodes: - ProjT 159 + ProjT 158 "color: yellow} -node: {title: "n167n114" label: "0x5Is 114" info1: "visited: 51 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main +node: {title: "n166n113" label: "0x5Is 113" info1: "mode: Is +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main arity: 0 Const of type type_unknown "color: yellow} -edge: {sourcename: "n167" targetname: "n167n114" label: "0" class:16 priority:10} -node: {title: "n151" label: "ProjX 0 151" info1: "visited: 51 +edge: {sourcename: "n166" targetname: "n166n113" label: "0" class:16 priority:10} +node: {title: "n150" label: "ProjX 0 150" info1: "mode: X +visited: 51 irg: PRIMA_c arity: 1 "color: yellow} -edge: {sourcename: "n151" targetname: "n153" label: "0" class:13 priority:60 color:red} -node: {title: "n153" label: "Start PRIMA_c 153" info1: "visited: 51 +edge: {sourcename: "n150" targetname: "n152" label: "0" class:13 priority:60 color:red} +node: {title: "n152" label: "Start PRIMA_c 152" info1: "mode: T +visited: 51 irg: PRIMA_c arity: 0 start of method of type c param 0 type: class_prima_ptr param 1 type: int -" info2: "mymode == mode_T && Start node"color: blue} +"color: blue} } } diff --git a/testprograms/ref-results/All_types.vcg b/testprograms/ref-results/All_types.vcg index 910b086af..cfc169f2c 100644 --- a/testprograms/ref-results/All_types.vcg +++ b/testprograms/ref-results/All_types.vcg @@ -24,45 +24,45 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, +node: {title: "t10" label: "primitive int" info1: "state: layout_fixed, mode: Is, -size: 4B, +size: 32b, "} -node: {title: "t12" label: "method main_tp" info1: "state: layout_fixed, +node: {title: "t11" label: "method main_tp" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, variadicity: variadicity_non_variadic params: 1 results: 1 "} -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, +edge: { sourcename: "t11" targetname: "t10"class: 5 label: "param 0" color: green} +edge: { sourcename: "t11" targetname: "t10"class: 6 label: "res 0" color: green} +node: {title: "t12" label: "class WHILE_EXAMPLE" info1: "state: layout_undefined +size: -1b, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "t13" targetname: "e15"class: 12 label: "member" color:blue} -node: {title: "e15" label: "ent main" color: yellow +edge: { sourcename: "t12" targetname: "e14"class: 12 label: "member" color:blue} +node: {title: "e14" label: "ent WHILE_EXAMPLE_main" color: yellow info1: " -id: e15 +id: e14 allocation: allocation_static visibility: visibility_local variability: variability_constant volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: main -ld_name: no yet set -offset: -1 -irg = g27" +peculiarity: peculiarity_existent +name: main +ld_name: WHILE_EXAMPLE_main +offset(bits): -1 +irg = g26" } -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" info1: "visited: 1 +edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red} +edge: { sourcename: "e14" targetname: "n13"label: "value 0"} +node: {title: "n13" label: "SymC &main 13" info1: "mode: P +visited: 1 arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} +"} node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined -size: -1B, +size: -1b, peculiarity: peculiarity_existent " color: green} } diff --git a/testprograms/ref-results/CALL_STR_EXAMPLE_main.vcg b/testprograms/ref-results/CALL_STR_EXAMPLE_main.vcg index 9038271d8..a3a38c8a8 100644 --- a/testprograms/ref-results/CALL_STR_EXAMPLE_main.vcg +++ b/testprograms/ref-results/CALL_STR_EXAMPLE_main.vcg @@ -24,65 +24,74 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -graph: { title: "g45" label: "CALL_STR_EXAMPLE_main" status:clustered color:white -graph: { title: "n57" label: "Block 57" status:clustered color:yellow -edge: {sourcename: "n57" targetname: "n58" label: "0" class:13 priority:60 color:red} -node: {title: "n55" label: "End 55" info1: "visited: 9 +graph: { title: "g44" label: "CALL_STR_EXAMPLE_main" status:clustered color:white +graph: { title: "n56" label: "Block 56" status:clustered color:yellow +edge: {sourcename: "n56" targetname: "n57" label: "0" class:13 priority:60 color:red} +node: {title: "n54" label: "End 54" info1: "mode: X +visited: 9 irg: CALL_STR_EXAMPLE_main arity: 0 "color: blue} } -graph: { title: "n59" label: "Block 59" status:clustered color:yellow -edge: {sourcename: "n59" targetname: "n60" label: "0" class:13 priority:60 color:red} -node: {title: "n58" label: "Return 58" info1: "visited: 9 +graph: { title: "n58" label: "Block 58" status:clustered color:yellow +edge: {sourcename: "n58" targetname: "n59" label: "0" class:13 priority:60 color:red} +node: {title: "n57" label: "Return 57" info1: "mode: X +visited: 9 irg: CALL_STR_EXAMPLE_main arity: 1 return in method of type CALL_STR_EXAMPLE_main -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n58" targetname: "n63" label: "0" class:14 priority:50 color:blue} -node: {title: "n63" label: "ProjM 0 63" info1: "visited: 9 +"} +edge: {sourcename: "n57" targetname: "n62" label: "0" class:14 priority:50 color:blue} +node: {title: "n62" label: "ProjM 0 62" info1: "mode: M +visited: 9 irg: CALL_STR_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n63" targetname: "n64" label: "0" class:17 priority:10 color:blue} -node: {title: "n64" label: "Call 64" info1: "visited: 9 +edge: {sourcename: "n62" targetname: "n63" label: "0" class:17 priority:10 color:blue} +node: {title: "n63" label: "Call 63" info1: "mode: T +visited: 9 irg: CALL_STR_EXAMPLE_main arity: 3 calling method of type f param 0 type: ptr_to_string -" info2: "get_Call_n_params(n) == get_method_n_params(mt) && Number of args for Call doesn't match number of args in non variadic type."} -edge: {sourcename: "n64" targetname: "n67" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n64" targetname: "n66" label: "1" class:16 priority:10} -edge: {sourcename: "n64" targetname: "n65" label: "2" class:16 priority:10} +"} +edge: {sourcename: "n63" targetname: "n66" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n63" targetname: "n65" label: "1" class:16 priority:10} +edge: {sourcename: "n63" targetname: "n64" label: "2" class:16 priority:10} } -graph: { title: "n61" label: "Block 61" status:clustered color:yellow -edge: {sourcename: "n61" targetname: "n60" label: "0" class:13 priority:60 color:red} -node: {title: "n67" label: "ProjM 1 67" info1: "visited: 9 +graph: { title: "n60" label: "Block 60" status:clustered color:yellow +edge: {sourcename: "n60" targetname: "n59" label: "0" class:13 priority:60 color:red} +node: {title: "n66" label: "ProjM 1 66" info1: "mode: M +visited: 9 irg: CALL_STR_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n67" targetname: "n62" label: "0" class:17 priority:10 color:blue} -node: {title: "n66" label: "SymC f 66" info1: "visited: 9 +edge: {sourcename: "n66" targetname: "n61" label: "0" class:17 priority:10 color:blue} +node: {title: "n65" label: "SymC f 65" info1: "mode: P +visited: 9 irg: CALL_STR_EXAMPLE_main arity: 0 -" info2: "(mode_is_int(mymode) || mode_is_reference(mymode)) && SymConst node"} -node: {title: "n65" label: "&(GlobalType_constStr)P 65" info1: "visited: 9 +"} +node: {title: "n64" label: "&(GlobalType_constStr)P 64" info1: "mode: P +visited: 9 irg: CALL_STR_EXAMPLE_main arity: 0 Const of type ptr_to_string -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n60" label: "ProjX 0 60" info1: "visited: 9 +"color: yellow} +node: {title: "n59" label: "ProjX 0 59" info1: "mode: X +visited: 9 irg: CALL_STR_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n60" targetname: "n62" label: "0" class:13 priority:60 color:red} -node: {title: "n62" label: "Start 62" info1: "visited: 9 +edge: {sourcename: "n59" targetname: "n61" label: "0" class:13 priority:60 color:red} +node: {title: "n61" label: "Start 61" info1: "mode: T +visited: 9 irg: CALL_STR_EXAMPLE_main arity: 0 start of method of type CALL_STR_EXAMPLE_main -" info2: "mymode == mode_T && Start node"color: blue} +"color: blue} } } diff --git a/testprograms/ref-results/COND_EXAMPLE_main.vcg b/testprograms/ref-results/COND_EXAMPLE_main.vcg index 488b45f3b..e238b62bd 100644 --- a/testprograms/ref-results/COND_EXAMPLE_main.vcg +++ b/testprograms/ref-results/COND_EXAMPLE_main.vcg @@ -24,158 +24,183 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -graph: { title: "g27" label: "COND_EXAMPLE_main" status:clustered color:white -graph: { title: "n60" label: "Block 60" status:clustered color:yellow -edge: {sourcename: "n60" targetname: "n61" label: "0" class:13 priority:60 color:red} -node: {title: "n58" label: "End 58" info1: "visited: 12 +graph: { title: "g26" 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" class:13 priority:60 color:red} +node: {title: "n57" label: "End 57" info1: "mode: X +visited: 12 irg: COND_EXAMPLE_main arity: 0 "color: blue} } -graph: { title: "n62" label: "Block 62" status:clustered color:yellow -edge: {sourcename: "n62" targetname: "n83" label: "0" class:13 priority:60 color:red} -edge: {sourcename: "n62" targetname: "n63" label: "1" class:13 priority:60 color:red} -node: {title: "n61" label: "Return 61" info1: "visited: 12 +graph: { title: "n61" label: "Block 61" status:clustered color:yellow +edge: {sourcename: "n61" targetname: "n82" label: "0" class:13 priority:60 color:red} +edge: {sourcename: "n61" targetname: "n62" label: "1" class:13 priority:60 color:red} +node: {title: "n60" label: "Return 60" info1: "mode: X +visited: 12 irg: COND_EXAMPLE_main arity: 2 return in method of type main res 0 type: int -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n61" targetname: "n88" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n61" targetname: "n86" label: "1" class:1 priority:50} -node: {title: "n86" label: "PhiIs 86" info1: "visited: 12 +"} +edge: {sourcename: "n60" targetname: "n87" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n60" targetname: "n85" label: "1" class:1 priority:50} +node: {title: "n85" label: "PhiIs 85" info1: "mode: Is +visited: 12 irg: COND_EXAMPLE_main arity: 2 backedges: -" info2: "mode_is_dataM(mymode) && Phi node"color: green} -edge: {sourcename: "n86" targetname: "n87" label: "0" class:16 priority:10} -edge: {sourcename: "n86" targetname: "n77" label: "1" class:16 priority:10} +"color: green} +edge: {sourcename: "n85" targetname: "n86" label: "0" class:16 priority:10} +edge: {sourcename: "n85" targetname: "n76" label: "1" class:16 priority:10} } -graph: { title: "n84" label: "Block 84" status:clustered color:yellow -edge: {sourcename: "n84" targetname: "n85" label: "0" class:13 priority:60 color:red} -node: {title: "n83" label: "Jmp 83" info1: "visited: 12 +graph: { title: "n83" label: "Block 83" status:clustered color:yellow +edge: {sourcename: "n83" targetname: "n84" label: "0" class:13 priority:60 color:red} +node: {title: "n82" label: "Jmp 82" info1: "mode: X +visited: 12 irg: COND_EXAMPLE_main arity: 0 -" info2: "mymode == mode_X && Jmp node"} +"} } -graph: { title: "n64" label: "Block 64" status:clustered color:yellow -edge: {sourcename: "n64" targetname: "n65" label: "0" class:13 priority:60 color:red} -node: {title: "n85" label: "ProjX 1 85" info1: "visited: 12 +graph: { title: "n63" label: "Block 63" status:clustered color:yellow +edge: {sourcename: "n63" targetname: "n64" label: "0" class:13 priority:60 color:red} +node: {title: "n84" label: "ProjX 1 84" info1: "mode: X +visited: 12 irg: COND_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n85" targetname: "n68" label: "0" class:13 priority:60 color:red} -node: {title: "n63" label: "ProjX 0 63" info1: "visited: 12 +edge: {sourcename: "n84" targetname: "n67" label: "0" class:13 priority:60 color:red} +node: {title: "n62" label: "ProjX 0 62" info1: "mode: X +visited: 12 irg: COND_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n63" targetname: "n68" label: "0" class:13 priority:60 color:red} -node: {title: "n68" label: "Cond 68" info1: "visited: 12 +edge: {sourcename: "n62" targetname: "n67" label: "0" class:13 priority:60 color:red} +node: {title: "n67" label: "Cond 67" info1: "mode: T +visited: 12 irg: COND_EXAMPLE_main arity: 1 -" info2: "mymode == mode_T && Cond mode is not a tuple"} -edge: {sourcename: "n68" targetname: "n69" label: "0" class:1 priority:50} -node: {title: "n69" label: "Projb Ne 69" info1: "visited: 12 +"} +edge: {sourcename: "n67" targetname: "n68" label: "0" class:1 priority:50} +node: {title: "n68" label: "Projb Ne 68" info1: "mode: b +visited: 12 irg: COND_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n69" targetname: "n70" label: "0" class:1 priority:50} -node: {title: "n70" label: "CmpT 70" info1: "visited: 12 +edge: {sourcename: "n68" targetname: "n69" label: "0" class:1 priority:50} +node: {title: "n69" label: "CmpT 69" info1: "mode: T +visited: 12 irg: COND_EXAMPLE_main arity: 2 "} -edge: {sourcename: "n70" targetname: "n72" label: "0" class:1 priority:50} -edge: {sourcename: "n70" targetname: "n71" label: "1" class:16 priority:10} -node: {title: "n72" label: "AndIs 72" info1: "visited: 12 +edge: {sourcename: "n69" targetname: "n71" label: "0" class:1 priority:50} +edge: {sourcename: "n69" targetname: "n70" label: "1" class:16 priority:10} +node: {title: "n71" label: "AndIs 71" info1: "mode: Is +visited: 12 irg: COND_EXAMPLE_main arity: 2 "} -edge: {sourcename: "n72" targetname: "n79" label: "0" class:1 priority:50} -edge: {sourcename: "n72" targetname: "n73" label: "1" class:1 priority:50} -node: {title: "n79" label: "ConvIs 79" info1: "visited: 12 +edge: {sourcename: "n71" targetname: "n78" label: "0" class:1 priority:50} +edge: {sourcename: "n71" targetname: "n72" label: "1" class:1 priority:50} +node: {title: "n78" label: "ConvIs 78" info1: "mode: Is +visited: 12 irg: COND_EXAMPLE_main arity: 1 "} -edge: {sourcename: "n79" targetname: "n80" label: "0" class:1 priority:50} -node: {title: "n80" label: "Projb Gt 80" info1: "visited: 12 +edge: {sourcename: "n78" targetname: "n79" label: "0" class:1 priority:50} +node: {title: "n79" label: "Projb Gt 79" info1: "mode: b +visited: 12 irg: COND_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n80" targetname: "n81" label: "0" class:1 priority:50} -node: {title: "n81" label: "CmpT 81" info1: "visited: 12 +edge: {sourcename: "n79" targetname: "n80" label: "0" class:1 priority:50} +node: {title: "n80" label: "CmpT 80" info1: "mode: T +visited: 12 irg: COND_EXAMPLE_main arity: 2 "} -edge: {sourcename: "n81" targetname: "n77" label: "0" class:1 priority:50} -edge: {sourcename: "n81" targetname: "n82" label: "1" class:16 priority:10} -node: {title: "n73" label: "ConvIs 73" info1: "visited: 12 +edge: {sourcename: "n80" targetname: "n76" label: "0" class:1 priority:50} +edge: {sourcename: "n80" targetname: "n81" label: "1" class:16 priority:10} +node: {title: "n72" label: "ConvIs 72" info1: "mode: Is +visited: 12 irg: COND_EXAMPLE_main arity: 1 "} -edge: {sourcename: "n73" targetname: "n74" label: "0" class:1 priority:50} -node: {title: "n74" label: "Projb Lt 74" info1: "visited: 12 +edge: {sourcename: "n72" targetname: "n73" label: "0" class:1 priority:50} +node: {title: "n73" label: "Projb Lt 73" info1: "mode: b +visited: 12 irg: COND_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n74" targetname: "n75" label: "0" class:1 priority:50} -node: {title: "n75" label: "CmpT 75" info1: "visited: 12 +edge: {sourcename: "n73" targetname: "n74" label: "0" class:1 priority:50} +node: {title: "n74" label: "CmpT 74" info1: "mode: T +visited: 12 irg: COND_EXAMPLE_main arity: 2 "} -edge: {sourcename: "n75" targetname: "n77" label: "0" class:1 priority:50} -edge: {sourcename: "n75" targetname: "n76" label: "1" class:16 priority:10} -node: {title: "n77" label: "ProjIs 0 77" info1: "visited: 12 +edge: {sourcename: "n74" targetname: "n76" label: "0" class:1 priority:50} +edge: {sourcename: "n74" targetname: "n75" label: "1" class:16 priority:10} +node: {title: "n76" label: "ProjIs 0 76" info1: "mode: Is +visited: 12 irg: COND_EXAMPLE_main arity: 1 -" info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow} -edge: {sourcename: "n77" targetname: "n78" label: "0" class:16 priority:10} +"color: yellow} +edge: {sourcename: "n76" targetname: "n77" label: "0" class:16 priority:10} } -graph: { title: "n66" label: "Block 66" status:clustered color:yellow -edge: {sourcename: "n66" targetname: "n65" label: "0" class:13 priority:60 color:red} -node: {title: "n88" label: "ProjM 1 88" info1: "visited: 12 +graph: { title: "n65" label: "Block 65" status:clustered color:yellow +edge: {sourcename: "n65" targetname: "n64" label: "0" class:13 priority:60 color:red} +node: {title: "n87" label: "ProjM 1 87" info1: "mode: M +visited: 12 irg: COND_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n88" targetname: "n67" label: "0" class:17 priority:10 color:blue} -node: {title: "n87" label: "0x1Is 87" info1: "visited: 12 +edge: {sourcename: "n87" targetname: "n66" label: "0" class:17 priority:10 color:blue} +node: {title: "n86" label: "0x1Is 86" info1: "mode: Is +visited: 12 irg: COND_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n82" label: "0x2Is 82" info1: "visited: 12 +"color: yellow} +node: {title: "n81" label: "0x2Is 81" info1: "mode: Is +visited: 12 irg: COND_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n78" label: "ProjT 4 78" info1: "visited: 12 +"color: yellow} +node: {title: "n77" label: "ProjT 4 77" info1: "mode: T +visited: 12 irg: COND_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n78" targetname: "n67" label: "0" class:1 priority:50} -node: {title: "n76" label: "0xAIs 76" info1: "visited: 12 +edge: {sourcename: "n77" targetname: "n66" label: "0" class:1 priority:50} +node: {title: "n75" label: "0xAIs 75" info1: "mode: Is +visited: 12 irg: COND_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n71" label: "0x0Is 71" info1: "visited: 12 +"color: yellow} +node: {title: "n70" label: "0x0Is 70" info1: "mode: Is +visited: 12 irg: COND_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n65" label: "ProjX 0 65" info1: "visited: 12 +"color: yellow} +node: {title: "n64" label: "ProjX 0 64" info1: "mode: X +visited: 12 irg: COND_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n65" targetname: "n67" label: "0" class:13 priority:60 color:red} -node: {title: "n67" label: "Start 67" info1: "visited: 12 +edge: {sourcename: "n64" targetname: "n66" label: "0" class:13 priority:60 color:red} +node: {title: "n66" label: "Start 66" info1: "mode: T +visited: 12 irg: COND_EXAMPLE_main arity: 0 start of method of type main param 0 type: int -" info2: "mymode == mode_T && Start node"color: blue} +"color: blue} } } diff --git a/testprograms/ref-results/CONST_EVAL_EXAMPLE_main.vcg b/testprograms/ref-results/CONST_EVAL_EXAMPLE_main.vcg index 809598054..9757e829e 100644 --- a/testprograms/ref-results/CONST_EVAL_EXAMPLE_main.vcg +++ b/testprograms/ref-results/CONST_EVAL_EXAMPLE_main.vcg @@ -24,51 +24,57 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -graph: { title: "g27" label: "CONST_EVAL_EXAMPLE_main" status:clustered color:white -graph: { title: "n45" label: "Block 45" status:clustered color:yellow -edge: {sourcename: "n45" targetname: "n46" label: "0" class:13 priority:60 color:red} -node: {title: "n43" label: "End 43" info1: "visited: 7 +graph: { title: "g26" 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" class:13 priority:60 color:red} +node: {title: "n42" label: "End 42" info1: "mode: X +visited: 7 irg: CONST_EVAL_EXAMPLE_main arity: 0 "color: blue} } -graph: { title: "n47" label: "Block 47" status:clustered color:yellow -edge: {sourcename: "n47" targetname: "n48" label: "0" class:13 priority:60 color:red} -node: {title: "n46" label: "Return 46" info1: "visited: 7 +graph: { title: "n46" label: "Block 46" status:clustered color:yellow +edge: {sourcename: "n46" targetname: "n47" label: "0" class:13 priority:60 color:red} +node: {title: "n45" label: "Return 45" info1: "mode: X +visited: 7 irg: CONST_EVAL_EXAMPLE_main arity: 3 return in method of type main res 0 type: int res 1 type: int -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n46" targetname: "n52" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n46" targetname: "n51" label: "1" class:16 priority:10} -edge: {sourcename: "n46" targetname: "n51" label: "2" class:16 priority:10} +"} +edge: {sourcename: "n45" targetname: "n51" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n45" targetname: "n50" label: "1" class:16 priority:10} +edge: {sourcename: "n45" targetname: "n50" label: "2" class:16 priority:10} } -graph: { title: "n49" label: "Block 49" status:clustered color:yellow -edge: {sourcename: "n49" targetname: "n48" label: "0" class:13 priority:60 color:red} -node: {title: "n52" label: "ProjM 1 52" info1: "visited: 7 +graph: { title: "n48" label: "Block 48" status:clustered color:yellow +edge: {sourcename: "n48" targetname: "n47" label: "0" class:13 priority:60 color:red} +node: {title: "n51" label: "ProjM 1 51" info1: "mode: M +visited: 7 irg: CONST_EVAL_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n52" targetname: "n50" label: "0" class:17 priority:10 color:blue} -node: {title: "n51" label: "0xCIs 51" info1: "visited: 7 +edge: {sourcename: "n51" targetname: "n49" label: "0" class:17 priority:10 color:blue} +node: {title: "n50" label: "0xCIs 50" info1: "mode: Is +visited: 7 irg: CONST_EVAL_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n48" label: "ProjX 0 48" info1: "visited: 7 +"color: yellow} +node: {title: "n47" label: "ProjX 0 47" info1: "mode: X +visited: 7 irg: CONST_EVAL_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n48" targetname: "n50" label: "0" class:13 priority:60 color:red} -node: {title: "n50" label: "Start 50" info1: "visited: 7 +edge: {sourcename: "n47" targetname: "n49" label: "0" class:13 priority:60 color:red} +node: {title: "n49" label: "Start 49" info1: "mode: T +visited: 7 irg: CONST_EVAL_EXAMPLE_main arity: 0 start of method of type main -" info2: "mymode == mode_T && Start node"color: blue} +"color: blue} } } diff --git a/testprograms/ref-results/DEAD_BLOCK_main-cfg.vcg b/testprograms/ref-results/DEAD_BLOCK_main-cfg.vcg index 83252adc8..95ae0f53d 100644 --- a/testprograms/ref-results/DEAD_BLOCK_main-cfg.vcg +++ b/testprograms/ref-results/DEAD_BLOCK_main-cfg.vcg @@ -24,13 +24,14 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -node: {title: "n58" label: "Block n58" } -edge: { sourcename: "n58" 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: "n57" label: "Bad 57" info1: "visited: 0 +node: {title: "n57" label: "Block n57" } +edge: { sourcename: "n57" targetname: "n64"} +node: {title: "n64" label: "Block n64" } +edge: { sourcename: "n64" targetname: "n60"} +node: {title: "n60" label: "Block n60" } +edge: { sourcename: "n60" targetname: "n60"} +node: {title: "n56" label: "Bad 56" info1: "mode: T +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 a18bcdc71..45dd5d9b4 100644 --- a/testprograms/ref-results/DEAD_BLOCK_main.vcg +++ b/testprograms/ref-results/DEAD_BLOCK_main.vcg @@ -24,49 +24,55 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -graph: { title: "g27" label: "DEAD_BLOCK_main" status:clustered color:white -graph: { title: "n58" label: "Block 58" status:clustered color:yellow -edge: {sourcename: "n58" targetname: "n59" label: "0" class:13 priority:60 color:red} -node: {title: "n56" label: "End 56" info1: "visited: 12 +graph: { title: "g26" 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" class:13 priority:60 color:red} +node: {title: "n55" label: "End 55" info1: "mode: X +visited: 12 irg: DEAD_BLOCK_main arity: 0 "color: blue} } -graph: { title: "n65" label: "Block 65" status:clustered color:yellow -edge: {sourcename: "n65" targetname: "n62" label: "0" class:13 priority:60 color:red} -node: {title: "n59" label: "Return 59" info1: "visited: 12 +graph: { title: "n64" label: "Block 64" status:clustered color:yellow +edge: {sourcename: "n64" targetname: "n61" label: "0" class:13 priority:60 color:red} +node: {title: "n58" label: "Return 58" info1: "mode: X +visited: 12 irg: DEAD_BLOCK_main arity: 2 return in method of type main res 0 type: int -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n59" targetname: "n67" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n59" targetname: "n66" label: "1" class:16 priority:10} +"} +edge: {sourcename: "n58" targetname: "n66" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n58" targetname: "n65" label: "1" class:16 priority:10} } -graph: { title: "n61" label: "Block 61" status:clustered color:yellow -edge: {sourcename: "n61" targetname: "n62" label: "0" class:13 priority:60 color:red} -node: {title: "n67" label: "ProjM 1 67" info1: "visited: 12 +graph: { title: "n60" label: "Block 60" status:clustered color:yellow +edge: {sourcename: "n60" targetname: "n61" label: "0" class:13 priority:60 color:red} +node: {title: "n66" label: "ProjM 1 66" info1: "mode: M +visited: 12 irg: DEAD_BLOCK_main arity: 1 "color: yellow} -edge: {sourcename: "n67" targetname: "n63" label: "0" class:17 priority:10 color:blue} -node: {title: "n66" label: "0x2Is 66" info1: "visited: 12 +edge: {sourcename: "n66" targetname: "n62" label: "0" class:17 priority:10 color:blue} +node: {title: "n65" label: "0x2Is 65" info1: "mode: Is +visited: 12 irg: DEAD_BLOCK_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n62" label: "ProjX 0 62" info1: "visited: 12 +"color: yellow} +node: {title: "n61" label: "ProjX 0 61" info1: "mode: X +visited: 12 irg: DEAD_BLOCK_main arity: 1 "color: yellow} -edge: {sourcename: "n62" targetname: "n63" label: "0" class:13 priority:60 color:red} -node: {title: "n63" label: "Start 63" info1: "visited: 12 +edge: {sourcename: "n61" targetname: "n62" label: "0" class:13 priority:60 color:red} +node: {title: "n62" label: "Start 62" info1: "mode: T +visited: 12 irg: DEAD_BLOCK_main arity: 0 start of method of type main -" info2: "mymode == mode_T && Start node"color: blue} +"color: blue} } } diff --git a/testprograms/ref-results/EMPTY_main.vcg b/testprograms/ref-results/EMPTY_main.vcg index 5138d23ec..b40a79489 100644 --- a/testprograms/ref-results/EMPTY_main.vcg +++ b/testprograms/ref-results/EMPTY_main.vcg @@ -24,42 +24,47 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -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" class:13 priority:60 color:red} -node: {title: "n16" label: "End 16" info1: "visited: 4 +graph: { title: "g24" label: "EMPTY_main" status:clustered color:white +graph: { title: "n14" label: "Block 14" status:clustered color:yellow +edge: {sourcename: "n14" targetname: "n27" label: "0" class:13 priority:60 color:red} +node: {title: "n15" label: "End 15" info1: "mode: X +visited: 4 irg: EMPTY_main arity: 0 "color: blue} } -graph: { title: "n26" label: "Block 26" status:clustered color:yellow -edge: {sourcename: "n26" targetname: "n20" label: "0" class:13 priority:60 color:red} -node: {title: "n28" label: "Return 28" info1: "visited: 4 +graph: { title: "n25" label: "Block 25" status:clustered color:yellow +edge: {sourcename: "n25" targetname: "n19" label: "0" class:13 priority:60 color:red} +node: {title: "n27" label: "Return 27" info1: "mode: X +visited: 4 irg: EMPTY_main arity: 1 return in method of type EMPTY_main -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n28" targetname: "n21" label: "0" class:17 priority:10 color:blue} +"} +edge: {sourcename: "n27" targetname: "n22" label: "0" class:17 priority:10 color:blue} } -graph: { title: "n17" label: "Block 17" status:clustered color:yellow -edge: {sourcename: "n17" targetname: "n20" label: "0" class:13 priority:60 color:red} -node: {title: "n21" label: "ProjM 1 21" info1: "visited: 4 +graph: { title: "n16" label: "Block 16" status:clustered color:yellow +edge: {sourcename: "n16" targetname: "n19" label: "0" class:13 priority:60 color:red} +node: {title: "n22" label: "ProjM 1 22" info1: "mode: M +visited: 4 irg: EMPTY_main arity: 1 "color: yellow} -edge: {sourcename: "n21" targetname: "n18" label: "0" class:17 priority:10 color:blue} -node: {title: "n20" label: "ProjX 0 20" info1: "visited: 4 +edge: {sourcename: "n22" targetname: "n17" label: "0" class:17 priority:10 color:blue} +node: {title: "n19" label: "ProjX 0 19" info1: "mode: X +visited: 4 irg: EMPTY_main arity: 1 "color: yellow} -edge: {sourcename: "n20" targetname: "n18" label: "0" class:13 priority:60 color:red} -node: {title: "n18" label: "Start 18" info1: "visited: 4 +edge: {sourcename: "n19" targetname: "n17" label: "0" class:13 priority:60 color:red} +node: {title: "n17" label: "Start 17" info1: "mode: T +visited: 4 irg: EMPTY_main arity: 0 start of method of type EMPTY_main -" info2: "mymode == mode_T && Start node"color: blue} +"color: blue} } } diff --git a/testprograms/ref-results/ENDLESS_LOOP_EXAMPLE_main.vcg b/testprograms/ref-results/ENDLESS_LOOP_EXAMPLE_main.vcg index d4408acd2..9fb5dbe2d 100644 --- a/testprograms/ref-results/ENDLESS_LOOP_EXAMPLE_main.vcg +++ b/testprograms/ref-results/ENDLESS_LOOP_EXAMPLE_main.vcg @@ -24,109 +24,125 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -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" class:13 priority:60 color:red} -edge: {sourcename: "n78" targetname: "n79" label: "1" class:13 priority:60 color:red} -node: {title: "n84" label: "PhiM 84" info1: "visited: 22 +graph: { title: "g26" label: "ENDLESS_LOOP_EXAMPLE_main" status:clustered color:white +graph: { title: "n77" label: "Block 77" status:clustered color:yellow +edge: {sourcename: "n77" targetname: "n81" label: "0" class:13 priority:60 color:red} +edge: {sourcename: "n77" targetname: "n78" label: "1" class:13 priority:60 color:red} +node: {title: "n83" label: "PhiM 83" info1: "mode: M +visited: 22 irg: ENDLESS_LOOP_EXAMPLE_main arity: 2 backedges: -" info2: "mode_is_dataM(mymode) && Phi node"color: green} -edge: {sourcename: "n84" targetname: "n94" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n84" targetname: "n85" label: "1" class:17 priority:10 color:blue} -node: {title: "n85" label: "ProjM 0 85" info1: "visited: 22 +"color: green} +edge: {sourcename: "n83" targetname: "n93" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n83" targetname: "n84" label: "1" class:17 priority:10 color:blue} +node: {title: "n84" label: "ProjM 0 84" info1: "mode: M +visited: 22 irg: ENDLESS_LOOP_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n85" targetname: "n86" label: "0" class:17 priority:10 color:blue} -node: {title: "n86" label: "Store 86" info1: "visited: 22 +edge: {sourcename: "n84" targetname: "n85" label: "0" class:17 priority:10 color:blue} +node: {title: "n85" label: "Store 85" info1: "mode: T +visited: 22 irg: ENDLESS_LOOP_EXAMPLE_main arity: 3 -" info2: "mymode == mode_T && Store node"} -edge: {sourcename: "n86" targetname: "n84" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n86" targetname: "n92" label: "1" class:1 priority:50} -edge: {sourcename: "n86" targetname: "n87" label: "2" class:1 priority:50} -node: {title: "n92" label: "Sel VAR_A 92" info1: "visited: 22 +"} +edge: {sourcename: "n85" targetname: "n83" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n85" targetname: "n91" label: "1" class:1 priority:50} +edge: {sourcename: "n85" targetname: "n86" label: "2" class:1 priority:50} +node: {title: "n91" label: "Sel VAR_A 91" info1: "mode: P +visited: 22 irg: ENDLESS_LOOP_EXAMPLE_main arity: 2 Selecting entity of type int from entity of type GlobalType "} -edge: {sourcename: "n92" targetname: "n84" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n92" targetname: "n93" label: "1" class:16 priority:10} -node: {title: "n87" label: "PhiIs 87" info1: "visited: 22 +edge: {sourcename: "n91" targetname: "n83" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n91" targetname: "n92" label: "1" class:16 priority:10} +node: {title: "n86" label: "PhiIs 86" info1: "mode: Is +visited: 22 irg: ENDLESS_LOOP_EXAMPLE_main arity: 2 backedges: -" info2: "mode_is_dataM(mymode) && Phi node"color: green} -edge: {sourcename: "n87" targetname: "n90" label: "0" class:16 priority:10} -edge: {sourcename: "n87" targetname: "n88" label: "1" class:1 priority:50} -node: {title: "n88" label: "PhiIs 88" info1: "visited: 22 +"color: green} +edge: {sourcename: "n86" targetname: "n89" label: "0" class:16 priority:10} +edge: {sourcename: "n86" targetname: "n87" label: "1" class:1 priority:50} +node: {title: "n87" label: "PhiIs 87" info1: "mode: Is +visited: 22 irg: ENDLESS_LOOP_EXAMPLE_main arity: 2 backedges: -" info2: "mode_is_dataM(mymode) && Phi node"color: green} -edge: {sourcename: "n88" targetname: "n89" label: "0" class:16 priority:10} -edge: {sourcename: "n88" targetname: "n87" label: "1" class:1 priority:50} -node: {title: "n79" label: "Jmp 79" info1: "visited: 22 +"color: green} +edge: {sourcename: "n87" targetname: "n88" label: "0" class:16 priority:10} +edge: {sourcename: "n87" targetname: "n86" label: "1" class:1 priority:50} +node: {title: "n78" label: "Jmp 78" info1: "mode: X +visited: 22 irg: ENDLESS_LOOP_EXAMPLE_main arity: 0 -" info2: "mymode == mode_X && Jmp node"} +"} } -graph: { title: "n83" label: "Block 83" status:clustered color:yellow -edge: {sourcename: "n83" targetname: "n76" label: "0" class:13 priority:60 color:red} -node: {title: "n90" label: "ProjIs 0 90" info1: "visited: 22 +graph: { title: "n82" label: "Block 82" status:clustered color:yellow +edge: {sourcename: "n82" targetname: "n75" label: "0" class:13 priority:60 color:red} +node: {title: "n89" label: "ProjIs 0 89" info1: "mode: Is +visited: 22 irg: ENDLESS_LOOP_EXAMPLE_main arity: 1 -" info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow} -edge: {sourcename: "n90" targetname: "n91" label: "0" class:16 priority:10} -node: {title: "n82" label: "Jmp 82" info1: "visited: 22 +"color: yellow} +edge: {sourcename: "n89" targetname: "n90" label: "0" class:16 priority:10} +node: {title: "n81" label: "Jmp 81" info1: "mode: X +visited: 22 irg: ENDLESS_LOOP_EXAMPLE_main arity: 0 -" info2: "mymode == mode_X && Jmp node"} +"} } -graph: { title: "n75" label: "Block 75" status:clustered color:yellow -edge: {sourcename: "n75" targetname: "n76" label: "0" class:13 priority:60 color:red} -node: {title: "n94" label: "ProjM 1 94" info1: "visited: 22 +graph: { title: "n74" label: "Block 74" status:clustered color:yellow +edge: {sourcename: "n74" targetname: "n75" label: "0" class:13 priority:60 color:red} +node: {title: "n93" label: "ProjM 1 93" info1: "mode: M +visited: 22 irg: ENDLESS_LOOP_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n94" targetname: "n77" label: "0" class:17 priority:10 color:blue} -node: {title: "n93" label: "ProjP 3 93" info1: "visited: 22 +edge: {sourcename: "n93" targetname: "n76" label: "0" class:17 priority:10 color:blue} +node: {title: "n92" label: "ProjP 3 92" info1: "mode: P +visited: 22 irg: ENDLESS_LOOP_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n93" targetname: "n77" label: "0" class:1 priority:50} -node: {title: "n91" label: "ProjT 4 91" info1: "visited: 22 +edge: {sourcename: "n92" targetname: "n76" label: "0" class:1 priority:50} +node: {title: "n90" label: "ProjT 4 90" info1: "mode: T +visited: 22 irg: ENDLESS_LOOP_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n91" targetname: "n77" label: "0" class:1 priority:50} -node: {title: "n89" label: "0x1Is 89" info1: "visited: 22 +edge: {sourcename: "n90" targetname: "n76" label: "0" class:1 priority:50} +node: {title: "n88" label: "0x1Is 88" info1: "mode: Is +visited: 22 irg: ENDLESS_LOOP_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n76" label: "ProjX 0 76" info1: "visited: 22 +"color: yellow} +node: {title: "n75" label: "ProjX 0 75" info1: "mode: X +visited: 22 irg: ENDLESS_LOOP_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n76" targetname: "n77" label: "0" class:13 priority:60 color:red} -node: {title: "n77" label: "Start 77" info1: "visited: 22 +edge: {sourcename: "n75" targetname: "n76" label: "0" class:13 priority:60 color:red} +node: {title: "n76" label: "Start 76" info1: "mode: T +visited: 22 irg: ENDLESS_LOOP_EXAMPLE_main arity: 0 start of method of type main_tp param 0 type: int -" info2: "mymode == mode_T && Start node"color: blue} +"color: blue} } -graph: { title: "n74" label: "Block 74" status:clustered color:yellow -node: {title: "n72" label: "End 72" info1: "visited: 22 +graph: { title: "n73" label: "Block 73" status:clustered color:yellow +node: {title: "n71" label: "End 71" info1: "mode: X +visited: 22 irg: ENDLESS_LOOP_EXAMPLE_main arity: 2 "color: blue} -edge: {sourcename: "n72" targetname: "n78" label: "0" class:13 priority:60 color:red} -edge: {sourcename: "n72" targetname: "n84" label: "1" } +edge: {sourcename: "n71" targetname: "n77" label: "0" class:13 priority:60 color:red} +edge: {sourcename: "n71" targetname: "n83" label: "1" } } } diff --git a/testprograms/ref-results/FLOAT_EXAMPLE_main.vcg b/testprograms/ref-results/FLOAT_EXAMPLE_main.vcg index c05b746c2..6151b8e0c 100644 --- a/testprograms/ref-results/FLOAT_EXAMPLE_main.vcg +++ b/testprograms/ref-results/FLOAT_EXAMPLE_main.vcg @@ -24,49 +24,55 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -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" class:13 priority:60 color:red} -node: {title: "n17" label: "End 17" info1: "visited: 4 +graph: { title: "g25" label: "FLOAT_EXAMPLE_main" status:clustered color:white +graph: { title: "n15" label: "Block 15" status:clustered color:yellow +edge: {sourcename: "n15" targetname: "n29" label: "0" class:13 priority:60 color:red} +node: {title: "n16" label: "End 16" info1: "mode: X +visited: 4 irg: FLOAT_EXAMPLE_main arity: 0 "color: blue} } -graph: { title: "n27" label: "Block 27" status:clustered color:yellow -edge: {sourcename: "n27" targetname: "n21" label: "0" class:13 priority:60 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" class:13 priority:60 color:red} +node: {title: "n29" label: "Return 29" info1: "mode: X +visited: 4 irg: FLOAT_EXAMPLE_main arity: 2 return in method of type FLOAT_EXAMPLE_main res 0 type: dbl -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n30" targetname: "n22" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n30" targetname: "n28" label: "1" class:16 priority:10} +"} +edge: {sourcename: "n29" targetname: "n23" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n29" targetname: "n27" label: "1" class:16 priority:10} } -graph: { title: "n18" label: "Block 18" status:clustered color:yellow -edge: {sourcename: "n18" targetname: "n21" label: "0" class:13 priority:60 color:red} -node: {title: "n22" label: "ProjM 1 22" info1: "visited: 4 +graph: { title: "n17" label: "Block 17" status:clustered color:yellow +edge: {sourcename: "n17" targetname: "n20" label: "0" class:13 priority:60 color:red} +node: {title: "n23" label: "ProjM 1 23" info1: "mode: M +visited: 4 irg: FLOAT_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n22" targetname: "n19" label: "0" class:17 priority:10 color:blue} -node: {title: "n28" label: "1.234567890123456716800000000000E+19D 28" info1: "visited: 4 +edge: {sourcename: "n23" targetname: "n18" label: "0" class:17 priority:10 color:blue} +node: {title: "n27" label: "1.234567890123456716800000000000E+19D 27" info1: "mode: D +visited: 4 irg: FLOAT_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n21" label: "ProjX 0 21" info1: "visited: 4 +"color: yellow} +node: {title: "n20" label: "ProjX 0 20" info1: "mode: X +visited: 4 irg: FLOAT_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n21" targetname: "n19" label: "0" class:13 priority:60 color:red} -node: {title: "n19" label: "Start 19" info1: "visited: 4 +edge: {sourcename: "n20" targetname: "n18" label: "0" class:13 priority:60 color:red} +node: {title: "n18" label: "Start 18" info1: "mode: T +visited: 4 irg: FLOAT_EXAMPLE_main arity: 0 start of method of type FLOAT_EXAMPLE_main -" info2: "mymode == mode_T && Start node"color: blue} +"color: blue} } } diff --git a/testprograms/ref-results/GLOBAL_CSE_EXAMPLE_main.vcg b/testprograms/ref-results/GLOBAL_CSE_EXAMPLE_main.vcg index 962b41167..ff3942976 100644 --- a/testprograms/ref-results/GLOBAL_CSE_EXAMPLE_main.vcg +++ b/testprograms/ref-results/GLOBAL_CSE_EXAMPLE_main.vcg @@ -24,135 +24,155 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -graph: { title: "g26" label: "GLOBAL_CSE_EXAMPLE_main" status:clustered color:white -graph: { title: "n63" label: "Block 63" status:clustered color:yellow -edge: {sourcename: "n63" targetname: "n64" label: "0" class:13 priority:60 color:red} -node: {title: "n61" label: "End 61" info1: "visited: 15 +graph: { title: "g25" 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" class:13 priority:60 color:red} +node: {title: "n60" label: "End 60" info1: "mode: X +visited: 15 irg: GLOBAL_CSE_EXAMPLE_main arity: 0 "color: blue} } -node: {title: "n87" label: "ProjM 1 87" info1: "visited: 15 +node: {title: "n86" label: "ProjM 1 86" info1: "mode: M +visited: 15 irg: GLOBAL_CSE_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n87" targetname: "n72" label: "0" class:17 priority:10 color:blue} -node: {title: "n85" label: "AddIs 85" info1: "visited: 15 +edge: {sourcename: "n86" targetname: "n71" label: "0" class:17 priority:10 color:blue} +node: {title: "n84" label: "AddIs 84" info1: "mode: Is +visited: 15 irg: GLOBAL_CSE_EXAMPLE_main arity: 2 "} -edge: {sourcename: "n85" targetname: "n83" label: "0" class:16 priority:10} -edge: {sourcename: "n85" targetname: "n86" label: "1" class:16 priority:10} -node: {title: "n86" label: "0x5Is 86" info1: "visited: 15 +edge: {sourcename: "n84" targetname: "n82" label: "0" class:16 priority:10} +edge: {sourcename: "n84" targetname: "n85" label: "1" class:16 priority:10} +node: {title: "n85" label: "0x5Is 85" info1: "mode: Is +visited: 15 irg: GLOBAL_CSE_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n83" label: "SubIs 83" info1: "visited: 15 +"color: yellow} +node: {title: "n82" label: "SubIs 82" info1: "mode: Is +visited: 15 irg: GLOBAL_CSE_EXAMPLE_main arity: 2 "} -edge: {sourcename: "n83" targetname: "n77" label: "0" class:16 priority:10} -edge: {sourcename: "n83" targetname: "n84" label: "1" class:16 priority:10} -node: {title: "n84" label: "0x3Is 84" info1: "visited: 15 +edge: {sourcename: "n82" targetname: "n76" label: "0" class:16 priority:10} +edge: {sourcename: "n82" targetname: "n83" label: "1" class:16 priority:10} +node: {title: "n83" label: "0x3Is 83" info1: "mode: Is +visited: 15 irg: GLOBAL_CSE_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -graph: { title: "n65" label: "Block 65" status:clustered color:yellow -edge: {sourcename: "n65" targetname: "n79" label: "0" class:13 priority:60 color:red} -edge: {sourcename: "n65" targetname: "n66" label: "1" class:13 priority:60 color:red} -node: {title: "n64" label: "Return 64" info1: "visited: 15 +"color: yellow} +graph: { title: "n64" label: "Block 64" status:clustered color:yellow +edge: {sourcename: "n64" targetname: "n78" label: "0" class:13 priority:60 color:red} +edge: {sourcename: "n64" targetname: "n65" label: "1" class:13 priority:60 color:red} +node: {title: "n63" label: "Return 63" info1: "mode: X +visited: 15 irg: GLOBAL_CSE_EXAMPLE_main arity: 2 return in method of type GLOBAL_CSE_EXAMPLE_main res 0 type: int -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n64" targetname: "n87" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n64" targetname: "n82" label: "1" class:1 priority:50} -node: {title: "n82" label: "PhiIs 82" info1: "visited: 15 +"} +edge: {sourcename: "n63" targetname: "n86" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n63" targetname: "n81" label: "1" class:1 priority:50} +node: {title: "n81" label: "PhiIs 81" info1: "mode: Is +visited: 15 irg: GLOBAL_CSE_EXAMPLE_main arity: 2 backedges: -" info2: "mode_is_dataM(mymode) && Phi node"color: green} -edge: {sourcename: "n82" targetname: "n85" label: "0" class:16 priority:10} -edge: {sourcename: "n82" targetname: "n83" label: "1" class:16 priority:10} +"color: green} +edge: {sourcename: "n81" targetname: "n84" label: "0" class:16 priority:10} +edge: {sourcename: "n81" targetname: "n82" label: "1" class:16 priority:10} } -graph: { title: "n80" label: "Block 80" status:clustered color:yellow -edge: {sourcename: "n80" targetname: "n81" label: "0" class:13 priority:60 color:red} -node: {title: "n79" label: "Jmp 79" info1: "visited: 15 +graph: { title: "n79" label: "Block 79" status:clustered color:yellow +edge: {sourcename: "n79" targetname: "n80" label: "0" class:13 priority:60 color:red} +node: {title: "n78" label: "Jmp 78" info1: "mode: X +visited: 15 irg: GLOBAL_CSE_EXAMPLE_main arity: 0 -" info2: "mymode == mode_X && Jmp node"} +"} } -node: {title: "n81" label: "ProjX 0 81" info1: "visited: 15 +node: {title: "n80" label: "ProjX 0 80" info1: "mode: X +visited: 15 irg: GLOBAL_CSE_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n81" targetname: "n73" label: "0" class:13 priority:60 color:red} -graph: { title: "n67" label: "Block 67" status:clustered color:yellow -edge: {sourcename: "n67" targetname: "n68" label: "0" class:13 priority:60 color:red} -node: {title: "n66" label: "Jmp 66" info1: "visited: 15 +edge: {sourcename: "n80" targetname: "n72" label: "0" class:13 priority:60 color:red} +graph: { title: "n66" label: "Block 66" status:clustered color:yellow +edge: {sourcename: "n66" targetname: "n67" label: "0" class:13 priority:60 color:red} +node: {title: "n65" label: "Jmp 65" info1: "mode: X +visited: 15 irg: GLOBAL_CSE_EXAMPLE_main arity: 0 -" info2: "mymode == mode_X && Jmp node"} +"} } -node: {title: "n68" label: "ProjX 1 68" info1: "visited: 15 +node: {title: "n67" label: "ProjX 1 67" info1: "mode: X +visited: 15 irg: GLOBAL_CSE_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n68" targetname: "n73" label: "0" class:13 priority:60 color:red} -node: {title: "n74" label: "Projb Eq 74" info1: "visited: 15 +edge: {sourcename: "n67" targetname: "n72" label: "0" class:13 priority:60 color:red} +node: {title: "n73" label: "Projb Eq 73" info1: "mode: b +visited: 15 irg: GLOBAL_CSE_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n74" targetname: "n75" label: "0" class:1 priority:50} -node: {title: "n75" label: "CmpT 75" info1: "visited: 15 +edge: {sourcename: "n73" targetname: "n74" label: "0" class:1 priority:50} +node: {title: "n74" label: "CmpT 74" info1: "mode: T +visited: 15 irg: GLOBAL_CSE_EXAMPLE_main arity: 2 "} -edge: {sourcename: "n75" targetname: "n77" label: "0" class:1 priority:50} -edge: {sourcename: "n75" targetname: "n76" label: "1" class:16 priority:10} -node: {title: "n77" label: "ProjIs 0 77" info1: "visited: 15 +edge: {sourcename: "n74" targetname: "n76" label: "0" class:1 priority:50} +edge: {sourcename: "n74" targetname: "n75" label: "1" class:16 priority:10} +node: {title: "n76" label: "ProjIs 0 76" info1: "mode: Is +visited: 15 irg: GLOBAL_CSE_EXAMPLE_main arity: 1 -" info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow} -edge: {sourcename: "n77" targetname: "n78" label: "0" class:16 priority:10} -node: {title: "n78" label: "ProjT 4 78" info1: "visited: 15 +"color: yellow} +edge: {sourcename: "n76" targetname: "n77" label: "0" class:16 priority:10} +node: {title: "n77" label: "ProjT 4 77" info1: "mode: T +visited: 15 irg: GLOBAL_CSE_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n78" targetname: "n72" label: "0" class:1 priority:50} -node: {title: "n76" label: "0x2Is 76" info1: "visited: 15 +edge: {sourcename: "n77" targetname: "n71" label: "0" class:1 priority:50} +node: {title: "n75" label: "0x2Is 75" info1: "mode: Is +visited: 15 irg: GLOBAL_CSE_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -graph: { title: "n69" label: "Block 69" status:clustered color:yellow -edge: {sourcename: "n69" targetname: "n70" label: "0" class:13 priority:60 color:red} -node: {title: "n73" label: "Cond 73" info1: "visited: 15 +"color: yellow} +graph: { title: "n68" label: "Block 68" status:clustered color:yellow +edge: {sourcename: "n68" targetname: "n69" label: "0" class:13 priority:60 color:red} +node: {title: "n72" label: "Cond 72" info1: "mode: T +visited: 15 irg: GLOBAL_CSE_EXAMPLE_main arity: 1 -" info2: "mymode == mode_T && Cond mode is not a tuple"} -edge: {sourcename: "n73" targetname: "n74" label: "0" class:1 priority:50} +"} +edge: {sourcename: "n72" targetname: "n73" label: "0" class:1 priority:50} } -node: {title: "n70" label: "ProjX 0 70" info1: "visited: 15 +node: {title: "n69" label: "ProjX 0 69" info1: "mode: X +visited: 15 irg: GLOBAL_CSE_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n70" targetname: "n72" label: "0" class:13 priority:60 color:red} -graph: { title: "n71" label: "Block 71" status:clustered color:yellow -edge: {sourcename: "n71" targetname: "n70" label: "0" class:13 priority:60 color:red} -node: {title: "n72" label: "Start 72" info1: "visited: 15 +edge: {sourcename: "n69" targetname: "n71" label: "0" class:13 priority:60 color:red} +graph: { title: "n70" label: "Block 70" status:clustered color:yellow +edge: {sourcename: "n70" targetname: "n69" label: "0" class:13 priority:60 color:red} +node: {title: "n71" label: "Start 71" info1: "mode: T +visited: 15 irg: GLOBAL_CSE_EXAMPLE_main arity: 0 start of method of type GLOBAL_CSE_EXAMPLE_main param 0 type: int -" info2: "mymode == mode_T && Start node"color: blue} +"color: blue} } } diff --git a/testprograms/ref-results/GLOBAL_VAR_main-pure-wtypes.vcg b/testprograms/ref-results/GLOBAL_VAR_main-pure-wtypes.vcg index 3a275c5ca..b0b2c0552 100644 --- a/testprograms/ref-results/GLOBAL_VAR_main-pure-wtypes.vcg +++ b/testprograms/ref-results/GLOBAL_VAR_main-pure-wtypes.vcg @@ -24,138 +24,151 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -node: {title: "n43" label: "Block 43" info1: "visited: 11 +node: {title: "n42" label: "Block 42" info1: "mode: BB +visited: 11 irg: GLOBAL_VAR_main arity: 1 backedges: -" info2: "((get_irn_irg(n) && get_irn_irg(n) == irg)) && Block node has wrong irg attribute"color: lightyellow} -edge: {sourcename: "n43" targetname: "n42" label: "0" class:13 priority:60 color:red} -node: {title: "n44" label: "Start 44" info1: "visited: 11 +"color: lightyellow} +edge: {sourcename: "n42" targetname: "n41" label: "0" class:13 priority:60 color:red} +node: {title: "n43" label: "Start 43" info1: "mode: T +visited: 11 irg: GLOBAL_VAR_main arity: 0 start of method of type GLOBAL_VAR_main -" info2: "mymode == mode_T && Start node"color: blue} -edge: { sourcename: "n44" targetname: "n43" class:2 priority:50 linestyle:dotted} -node: {title: "n42" label: "ProjX 0 42" info1: "visited: 11 +"color: blue} +edge: { sourcename: "n43" targetname: "n42" class:2 priority:50 linestyle:dotted} +node: {title: "n41" label: "ProjX 0 41" info1: "mode: X +visited: 11 irg: GLOBAL_VAR_main arity: 1 "color: yellow} -edge: {sourcename: "n42" targetname: "n44" label: "0" class:13 priority:60 color:red} -edge: { sourcename: "n42" targetname: "n43" class:2 priority:50 linestyle:dotted} -node: {title: "n41" label: "Block 41" info1: "visited: 11 +edge: {sourcename: "n41" targetname: "n43" label: "0" class:13 priority:60 color:red} +edge: { sourcename: "n41" targetname: "n42" class:2 priority:50 linestyle:dotted} +node: {title: "n40" label: "Block 40" info1: "mode: BB +visited: 11 irg: GLOBAL_VAR_main arity: 1 backedges: -" info2: "((get_irn_irg(n) && get_irn_irg(n) == irg)) && Block node has wrong irg attribute"color: lightyellow} -edge: {sourcename: "n41" targetname: "n42" label: "0" class:13 priority:60 color:red} -node: {title: "n47" label: "0x2Is 47" info1: "visited: 11 +"color: lightyellow} +edge: {sourcename: "n40" targetname: "n41" label: "0" class:13 priority:60 color:red} +node: {title: "n46" label: "0x2Is 46" info1: "mode: Is +visited: 11 irg: GLOBAL_VAR_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -edge: { sourcename: "n47" targetname: "n43" class:2 priority:50 linestyle:dotted} -node: {title: "n49" label: "ProjP 3 49" info1: "visited: 11 +"color: yellow} +edge: { sourcename: "n46" targetname: "n42" class:2 priority:50 linestyle:dotted} +node: {title: "n48" label: "ProjP 3 48" info1: "mode: P +visited: 11 irg: GLOBAL_VAR_main arity: 1 "color: yellow} -edge: {sourcename: "n49" targetname: "n44" label: "0" class:1 priority:50} -edge: { sourcename: "n49" targetname: "n43" class:2 priority:50 linestyle:dotted} -node: {title: "n50" label: "ProjM 1 50" info1: "visited: 11 +edge: {sourcename: "n48" targetname: "n43" label: "0" class:1 priority:50} +edge: { sourcename: "n48" targetname: "n42" class:2 priority:50 linestyle:dotted} +node: {title: "n49" label: "ProjM 1 49" info1: "mode: M +visited: 11 irg: GLOBAL_VAR_main arity: 1 "color: yellow} -edge: {sourcename: "n50" targetname: "n44" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n50" targetname: "n43" class:2 priority:50 linestyle:dotted} -node: {title: "n48" label: "Sel i 48" info1: "visited: 11 +edge: {sourcename: "n49" targetname: "n43" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n49" targetname: "n42" class:2 priority:50 linestyle:dotted} +node: {title: "n47" label: "Sel i 47" info1: "mode: P +visited: 11 irg: GLOBAL_VAR_main arity: 2 Selecting entity of type int from entity of type GlobalType "} -edge: {sourcename: "n48" targetname: "n50" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n48" targetname: "n49" label: "1" class:16 priority:10} -edge: { sourcename: "n48" targetname: "n41" class:2 priority:50 linestyle:dotted} -node: {title: "n46" label: "Store 46" info1: "visited: 11 +edge: {sourcename: "n47" targetname: "n49" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n47" targetname: "n48" label: "1" class:16 priority:10} +edge: { sourcename: "n47" targetname: "n40" class:2 priority:50 linestyle:dotted} +node: {title: "n45" label: "Store 45" info1: "mode: T +visited: 11 irg: GLOBAL_VAR_main arity: 3 -" info2: "mymode == mode_T && Store node"} -edge: {sourcename: "n46" targetname: "n50" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n46" targetname: "n48" label: "1" class:1 priority:50} -edge: {sourcename: "n46" targetname: "n47" label: "2" class:16 priority:10} -edge: { sourcename: "n46" targetname: "n41" class:2 priority:50 linestyle:dotted} -node: {title: "n45" label: "ProjM 0 45" info1: "visited: 11 +"} +edge: {sourcename: "n45" targetname: "n49" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n45" targetname: "n47" label: "1" class:1 priority:50} +edge: {sourcename: "n45" targetname: "n46" label: "2" class:16 priority:10} +edge: { sourcename: "n45" targetname: "n40" class:2 priority:50 linestyle:dotted} +node: {title: "n44" label: "ProjM 0 44" info1: "mode: M +visited: 11 irg: GLOBAL_VAR_main arity: 1 "color: yellow} -edge: {sourcename: "n45" targetname: "n46" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n45" targetname: "n41" class:2 priority:50 linestyle:dotted} -node: {title: "n40" label: "Return 40" info1: "visited: 11 +edge: {sourcename: "n44" targetname: "n45" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n44" targetname: "n40" class:2 priority:50 linestyle:dotted} +node: {title: "n39" label: "Return 39" info1: "mode: X +visited: 11 irg: GLOBAL_VAR_main arity: 1 return in method of type GLOBAL_VAR_main -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n40" targetname: "n45" label: "0" class:14 priority:50 color:blue} -edge: { sourcename: "n40" targetname: "n41" class:2 priority:50 linestyle:dotted} -node: {title: "n39" label: "Block 39" info1: "visited: 11 +"} +edge: {sourcename: "n39" targetname: "n44" label: "0" class:14 priority:50 color:blue} +edge: { sourcename: "n39" targetname: "n40" class:2 priority:50 linestyle:dotted} +node: {title: "n38" label: "Block 38" info1: "mode: BB +visited: 11 irg: GLOBAL_VAR_main arity: 1 backedges: -" info2: "((get_irn_irg(n) && get_irn_irg(n) == irg)) && Block node has wrong irg attribute"color: lightyellow} -edge: {sourcename: "n39" targetname: "n40" label: "0" class:13 priority:60 color:red} -node: {title: "n37" label: "End 37" info1: "visited: 11 +"color: lightyellow} +edge: {sourcename: "n38" targetname: "n39" label: "0" class:13 priority:60 color:red} +node: {title: "n36" label: "End 36" info1: "mode: X +visited: 11 irg: GLOBAL_VAR_main arity: 0 "color: blue} -edge: { sourcename: "n37" targetname: "n39" class:2 priority:50 linestyle:dotted} -node: {title: "e15" label: "ent i" color: yellow +edge: { sourcename: "n36" targetname: "n38" class:2 priority:50 linestyle:dotted} +node: {title: "e14" label: "ent i" color: yellow info1: " -id: e15 +id: e14 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: i -ld_name: no yet set -offset: -1" +peculiarity: peculiarity_existent +name: i +ld_name: no yet set +offset(bits): -1" } -edge: { sourcename: "e15" targetname: "t11"class: 3 label: "type" color: red} +edge: { sourcename: "e14" targetname: "t10"class: 3 label: "type" color: red} node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined -size: -1B, +size: -1b, peculiarity: peculiarity_existent " color: green} +edge: { sourcename: "t0" targetname: "e13"class: 12 label: "member" color:blue} edge: { sourcename: "t0" targetname: "e14"class: 12 label: "member" color:blue} -edge: { sourcename: "t0" targetname: "e15"class: 12 label: "member" color:blue} -node: {title: "e14" label: "ent GLOBAL_VAR_main" color: yellow +node: {title: "e13" label: "ent GLOBAL_VAR_main" color: yellow info1: " -id: e14 +id: e13 allocation: allocation_static visibility: visibility_local variability: variability_constant volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: GLOBAL_VAR_main -ld_name: no yet set -offset: -1 -irg = g27" +peculiarity: peculiarity_existent +name: GLOBAL_VAR_main +ld_name: no yet set +offset(bits): -1 +irg = g26" } -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" info1: "visited: 1 +edge: { sourcename: "e13" targetname: "t11"class: 3 label: "type" color: red} +edge: { sourcename: "e13" targetname: "n12"label: "value 0"} +node: {title: "n12" label: "SymC &GLOBAL_VAR_main 12" info1: "mode: P +visited: 1 arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t12" label: "method GLOBAL_VAR_main" info1: "state: layout_fixed, +"} +node: {title: "t11" label: "method GLOBAL_VAR_main" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, variadicity: variadicity_non_variadic params: 0 results: 0 "} -node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, +node: {title: "t10" label: "primitive int" info1: "state: layout_fixed, mode: Is, -size: 4B, +size: 32b, "} -node: {title: "t16" label: "class GLOBAL_VAR_mainframe_tp" info1: "state: layout_undefined -size: -1B, +node: {title: "t15" label: "class GLOBAL_VAR_mainframe_tp" info1: "state: layout_undefined +size: -1b, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "n48" targetname: "e15"class:2 priority:2 linestyle:dotted} +edge: { sourcename: "n47" targetname: "e14"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 726d68b9a..ccf86c16c 100644 --- a/testprograms/ref-results/GLOBAL_VAR_main.vcg +++ b/testprograms/ref-results/GLOBAL_VAR_main.vcg @@ -24,72 +24,82 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -graph: { title: "g27" label: "GLOBAL_VAR_main" status:clustered color:white -graph: { title: "n39" label: "Block 39" status:clustered color:yellow -edge: {sourcename: "n39" targetname: "n40" label: "0" class:13 priority:60 color:red} -node: {title: "n37" label: "End 37" info1: "visited: 10 +graph: { title: "g26" 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" class:13 priority:60 color:red} +node: {title: "n36" label: "End 36" info1: "mode: X +visited: 10 irg: GLOBAL_VAR_main arity: 0 "color: blue} } -graph: { title: "n41" label: "Block 41" status:clustered color:yellow -edge: {sourcename: "n41" targetname: "n42" label: "0" class:13 priority:60 color:red} -node: {title: "n40" label: "Return 40" info1: "visited: 10 +graph: { title: "n40" label: "Block 40" status:clustered color:yellow +edge: {sourcename: "n40" targetname: "n41" label: "0" class:13 priority:60 color:red} +node: {title: "n39" label: "Return 39" info1: "mode: X +visited: 10 irg: GLOBAL_VAR_main arity: 1 return in method of type GLOBAL_VAR_main -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n40" targetname: "n45" label: "0" class:14 priority:50 color:blue} -node: {title: "n45" label: "ProjM 0 45" info1: "visited: 10 +"} +edge: {sourcename: "n39" targetname: "n44" label: "0" class:14 priority:50 color:blue} +node: {title: "n44" label: "ProjM 0 44" info1: "mode: M +visited: 10 irg: GLOBAL_VAR_main arity: 1 "color: yellow} -edge: {sourcename: "n45" targetname: "n46" label: "0" class:17 priority:10 color:blue} -node: {title: "n46" label: "Store 46" info1: "visited: 10 +edge: {sourcename: "n44" targetname: "n45" label: "0" class:17 priority:10 color:blue} +node: {title: "n45" label: "Store 45" info1: "mode: T +visited: 10 irg: GLOBAL_VAR_main arity: 3 -" info2: "mymode == mode_T && Store node"} -edge: {sourcename: "n46" targetname: "n50" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n46" targetname: "n48" label: "1" class:1 priority:50} -edge: {sourcename: "n46" targetname: "n47" label: "2" class:16 priority:10} -node: {title: "n48" label: "Sel i 48" info1: "visited: 10 +"} +edge: {sourcename: "n45" targetname: "n49" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n45" targetname: "n47" label: "1" class:1 priority:50} +edge: {sourcename: "n45" targetname: "n46" label: "2" class:16 priority:10} +node: {title: "n47" label: "Sel i 47" info1: "mode: P +visited: 10 irg: GLOBAL_VAR_main arity: 2 Selecting entity of type int from entity of type GlobalType "} -edge: {sourcename: "n48" targetname: "n50" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n48" targetname: "n49" label: "1" class:16 priority:10} +edge: {sourcename: "n47" targetname: "n49" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n47" targetname: "n48" label: "1" class:16 priority:10} } -graph: { title: "n43" label: "Block 43" status:clustered color:yellow -edge: {sourcename: "n43" targetname: "n42" label: "0" class:13 priority:60 color:red} -node: {title: "n50" label: "ProjM 1 50" info1: "visited: 10 +graph: { title: "n42" label: "Block 42" status:clustered color:yellow +edge: {sourcename: "n42" targetname: "n41" label: "0" class:13 priority:60 color:red} +node: {title: "n49" label: "ProjM 1 49" info1: "mode: M +visited: 10 irg: GLOBAL_VAR_main arity: 1 "color: yellow} -edge: {sourcename: "n50" targetname: "n44" label: "0" class:17 priority:10 color:blue} -node: {title: "n49" label: "ProjP 3 49" info1: "visited: 10 +edge: {sourcename: "n49" targetname: "n43" label: "0" class:17 priority:10 color:blue} +node: {title: "n48" label: "ProjP 3 48" info1: "mode: P +visited: 10 irg: GLOBAL_VAR_main arity: 1 "color: yellow} -edge: {sourcename: "n49" targetname: "n44" label: "0" class:1 priority:50} -node: {title: "n47" label: "0x2Is 47" info1: "visited: 10 +edge: {sourcename: "n48" targetname: "n43" label: "0" class:1 priority:50} +node: {title: "n46" label: "0x2Is 46" info1: "mode: Is +visited: 10 irg: GLOBAL_VAR_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n42" label: "ProjX 0 42" info1: "visited: 10 +"color: yellow} +node: {title: "n41" label: "ProjX 0 41" info1: "mode: X +visited: 10 irg: GLOBAL_VAR_main arity: 1 "color: yellow} -edge: {sourcename: "n42" targetname: "n44" label: "0" class:13 priority:60 color:red} -node: {title: "n44" label: "Start 44" info1: "visited: 10 +edge: {sourcename: "n41" targetname: "n43" label: "0" class:13 priority:60 color:red} +node: {title: "n43" label: "Start 43" info1: "mode: T +visited: 10 irg: GLOBAL_VAR_main arity: 0 start of method of type GLOBAL_VAR_main -" info2: "mymode == mode_T && Start node"color: blue} +"color: blue} } } diff --git a/testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-ip.vcg b/testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-ip.vcg deleted file mode 100644 index ea6ff1c64..000000000 --- a/testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-ip.vcg +++ /dev/null @@ -1,333 +0,0 @@ -graph: { title: "ir graph of GlobalType_OO_PROGRAM_EXAMPLE_main" -display_edge_labels: no -layoutalgorithm: mindepth -manhattan_edges: yes -port_sharing: no -orientation: bottom_to_top -classname 1: "intrablock Data" -classname 16: "interblock Data" -classname 2: "Block" -classname 13: "Control Flow" -classname 14: "intrablock Memory" -classname 17: "interblock Memory" -classname 15: "Dominators" -classname 3: "Entity type" -classname 4: "Entity owner" -classname 5: "Method Param" -classname 6: "Method Res" -classname 7: "Super" -classname 8: "Union" -classname 9: "Points-to" -classname 10: "Array Element Type" -classname 11: "Overwrites" -classname 12: "Member" -infoname 1: "Attribute" -infoname 2: "Verification errors" - -graph: { title: "g35" label: "GlobalType_OO_PROGRAM_EXAMPLE_main" status:clustered color:white -graph: { title: "n105" label: "Block 105" status:clustered color:yellow -edge: {sourcename: "n105" targetname: "n106" label: "0" class:13 priority:60 color:red} -node: {title: "n103" label: "End 103" info1: "visited: 34 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 2 -"color: blue} -} - -graph: { title: "n107" label: "Block 107" status:clustered color:yellow -edge: {sourcename: "n107" targetname: "n191" label: "0" class:13 priority:60 color:red} -node: {title: "n106" label: "Return 106" info1: "visited: 34 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 2 -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n106" targetname: "n193" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n106" targetname: "n194" label: "1" class:1 priority:50} -node: {title: "n193" label: "FilterM 0 193" info1: "visited: 34 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -intra predecessor nodes: - CallT 113 -"color: yellow} -edge: {sourcename: "n193" targetname: "n162" label: "0" class:17 priority:10 color:blue} -node: {title: "n194" label: "FilterIs 0 194" info1: "visited: 34 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -intra predecessor nodes: - ProjT 112 -"color: yellow} -edge: {sourcename: "n194" targetname: "n154" label: "0" class:16 priority:10} -} - -graph: { title: "n188" label: "Block 188" status:clustered color:yellow -edge: {sourcename: "n188" targetname: "n185" label: "0" class:13 priority:60 color:red} -node: {title: "n187" label: "FilterM 0 187" info1: "visited: 34 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -intra predecessor nodes: - CallT 121 -"color: yellow} -edge: {sourcename: "n187" targetname: "n137" label: "0" class:17 priority:10 color:blue} -node: {title: "n192" label: "ProjX 0 192" info1: "visited: 34 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} -edge: {sourcename: "n192" targetname: "n190" label: "0" class:13 priority:60 color:red} -node: {title: "n190" label: "CallBegin 190" info1: "visited: 34 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -possible callees: - 0: PRIMA_c -"} -node: {title: "n190n165" label: "&(PRIMA_c)P 165" info1: "visited: 34 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -edge: {sourcename: "n190" targetname: "n190n165" label: "0" class:16 priority:10} -} - -graph: { title: "n182" label: "Block 182" status:clustered color:yellow -edge: {sourcename: "n182" targetname: "n108" label: "0" class:13 priority:60 color:red} -node: {title: "n124" label: "ProjM 0 124" info1: "visited: 34 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} -edge: {sourcename: "n124" targetname: "n116" label: "0" class:17 priority:10 color:blue} -node: {title: "n115" label: "ProjP 2 115" info1: "visited: 34 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} -edge: {sourcename: "n115" targetname: "n116" label: "0" class:1 priority:50} -node: {title: "n116" label: "Alloc 116" info1: "visited: 34 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 2 -allocating entity of type PRIMA -"} -node: {title: "n116n117" label: "SymC PRIMA size 117" info1: "visited: 34 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 0 -"} -edge: {sourcename: "n116" targetname: "n118" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n116" targetname: "n116n117" label: "1" class:16 priority:10} -node: {title: "n186" label: "ProjX 0 186" info1: "visited: 34 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} -edge: {sourcename: "n186" targetname: "n184" label: "0" class:13 priority:60 color:red} -node: {title: "n184" label: "CallBegin 184" info1: "visited: 34 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -possible callees: - 0: PRIMA_set_a -"} -node: {title: "n184n166" label: "&(PRIMA_set_a)P 166" info1: "visited: 34 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -edge: {sourcename: "n184" targetname: "n184n166" label: "0" class:16 priority:10} -} - -graph: { title: "n109" label: "Block 109" status:clustered color:yellow -edge: {sourcename: "n109" targetname: "n108" label: "0" class:13 priority:60 color:red} -node: {title: "n118" label: "ProjM 1 118" info1: "visited: 34 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} -edge: {sourcename: "n118" targetname: "n110" label: "0" class:17 priority:10 color:blue} -node: {title: "n108" label: "ProjX 0 108" info1: "visited: 34 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} -edge: {sourcename: "n108" targetname: "n110" label: "0" class:13 priority:60 color:red} -node: {title: "n110" label: "Start GlobalType_OO_PROGRAM_EXAMPLE_main 110" info1: "visited: 34 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 0 -start of method of type OO_PROGRAM_EXAMPLE_main -" info2: "mymode == mode_T && Start node"color: blue} -} - -} - -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" class:13 priority:60 color:red} -node: {title: "n185" label: "ProjX 0 185" info1: "visited: 34 -irg: PRIMA_set_a -arity: 1 -"color: yellow} -edge: {sourcename: "n185" targetname: "n180" label: "0" class:13 priority:60 color:red} -node: {title: "n180" label: "EndReg 180" info1: "visited: 34 -irg: PRIMA_set_a -arity: 0 -"color: blue} -} - -graph: { title: "n133" label: "Block 133" status:clustered color:yellow -edge: {sourcename: "n133" targetname: "n134" label: "0" class:13 priority:60 color:red} -node: {title: "n137" label: "ProjM 0 137" info1: "visited: 34 -irg: PRIMA_set_a -arity: 1 -"color: yellow} -edge: {sourcename: "n137" targetname: "n138" label: "0" class:17 priority:10 color:blue} -node: {title: "n138" label: "Store 138" info1: "visited: 34 -irg: PRIMA_set_a -arity: 3 -" info2: "mymode == mode_T && Store node"} -edge: {sourcename: "n138" targetname: "n175" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n138" targetname: "n141" label: "1" class:1 priority:50} -edge: {sourcename: "n138" targetname: "n177" label: "2" class:16 priority:10} -node: {title: "n141" label: "Sel a 141" info1: "visited: 34 -irg: PRIMA_set_a -arity: 2 -Selecting entity of type int - from entity of type PRIMA -"} -edge: {sourcename: "n141" targetname: "n175" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n141" targetname: "n176" label: "1" class:16 priority:10} -node: {title: "n178" label: "Jmp 178" info1: "visited: 34 -irg: PRIMA_set_a -arity: 0 -" info2: "mymode == mode_X && Jmp node"} -} - -graph: { title: "n135" label: "Block 135" status:clustered color:yellow -edge: {sourcename: "n135" targetname: "n186" label: "0" class:13 priority:60 color:red} -node: {title: "n175" label: "FilterM 1 175" info1: "visited: 34 -irg: PRIMA_set_a -arity: 1 backedges: -intra predecessor nodes: - StartT 136 -"color: yellow} -edge: {sourcename: "n175" targetname: "n124" label: "0" class:17 priority:10 color:blue} -node: {title: "n176" label: "FilterP 0 176" info1: "visited: 34 -irg: PRIMA_set_a -arity: 1 backedges: -intra predecessor nodes: - ProjT 140 -"color: yellow} -edge: {sourcename: "n176" targetname: "n115" label: "0" class:16 priority:10} -node: {title: "n177" label: "FilterIs 1 177" info1: "visited: 34 -irg: PRIMA_set_a -arity: 1 backedges: -intra predecessor nodes: - ProjT 140 -"color: yellow} -node: {title: "n177n122" label: "0x2Is 122" info1: "visited: 34 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -edge: {sourcename: "n177" targetname: "n177n122" label: "0" class:16 priority:10} -node: {title: "n134" label: "ProjX 0 134" info1: "visited: 34 -irg: PRIMA_set_a -arity: 1 -"color: yellow} -edge: {sourcename: "n134" targetname: "n136" label: "0" class:13 priority:60 color:red} -node: {title: "n136" label: "Start PRIMA_set_a 136" info1: "visited: 34 -irg: PRIMA_set_a -arity: 0 -start of method of type set_a - param 0 type: class_prima_ptr - param 1 type: int -" info2: "mymode == mode_T && Start node"color: blue} -} - -} - -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" class:13 priority:60 color:red} -node: {title: "n191" label: "ProjX 0 191" info1: "visited: 34 -irg: PRIMA_c -arity: 1 -"color: yellow} -edge: {sourcename: "n191" targetname: "n172" label: "0" class:13 priority:60 color:red} -node: {title: "n172" label: "EndReg 172" info1: "visited: 34 -irg: PRIMA_c -arity: 0 -"color: blue} -} - -graph: { title: "n150" label: "Block 150" status:clustered color:yellow -edge: {sourcename: "n150" targetname: "n151" label: "0" class:13 priority:60 color:red} -node: {title: "n162" label: "ProjM 0 162" info1: "visited: 34 -irg: PRIMA_c -arity: 1 -"color: yellow} -edge: {sourcename: "n162" targetname: "n156" label: "0" class:17 priority:10 color:blue} -node: {title: "n154" label: "AddIs 154" info1: "visited: 34 -irg: PRIMA_c -arity: 2 -"} -edge: {sourcename: "n154" targetname: "n155" label: "0" class:1 priority:50} -edge: {sourcename: "n154" targetname: "n167" label: "1" class:16 priority:10} -node: {title: "n155" label: "ProjIs 2 155" info1: "visited: 34 -irg: PRIMA_c -arity: 1 -"color: yellow} -edge: {sourcename: "n155" targetname: "n156" label: "0" class:1 priority:50} -node: {title: "n156" label: "Load 156" info1: "visited: 34 -irg: PRIMA_c -arity: 2 -" info2: "mymode == mode_T && Load node"} -edge: {sourcename: "n156" targetname: "n168" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n156" targetname: "n157" label: "1" class:1 priority:50} -node: {title: "n157" label: "Sel a 157" info1: "visited: 34 -irg: PRIMA_c -arity: 2 -Selecting entity of type int - from entity of type PRIMA -"} -edge: {sourcename: "n157" targetname: "n168" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n157" targetname: "n169" label: "1" class:16 priority:10} -node: {title: "n170" label: "Jmp 170" info1: "visited: 34 -irg: PRIMA_c -arity: 0 -" info2: "mymode == mode_X && Jmp node"} -} - -graph: { title: "n152" label: "Block 152" status:clustered color:yellow -edge: {sourcename: "n152" targetname: "n192" label: "0" class:13 priority:60 color:red} -node: {title: "n168" label: "FilterM 1 168" info1: "visited: 34 -irg: PRIMA_c -arity: 1 backedges: -intra predecessor nodes: - StartT 153 -"color: yellow} -edge: {sourcename: "n168" targetname: "n187" label: "0" class:17 priority:10 color:blue} -node: {title: "n169" label: "FilterP 0 169" info1: "visited: 34 -irg: PRIMA_c -arity: 1 backedges: -intra predecessor nodes: - ProjT 159 -"color: yellow} -edge: {sourcename: "n169" targetname: "n115" label: "0" class:16 priority:10} -node: {title: "n167" label: "FilterIs 1 167" info1: "visited: 34 -irg: PRIMA_c -arity: 1 backedges: -intra predecessor nodes: - ProjT 159 -"color: yellow} -node: {title: "n167n114" label: "0x5Is 114" info1: "visited: 34 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -edge: {sourcename: "n167" targetname: "n167n114" label: "0" class:16 priority:10} -node: {title: "n151" label: "ProjX 0 151" info1: "visited: 34 -irg: PRIMA_c -arity: 1 -"color: yellow} -edge: {sourcename: "n151" targetname: "n153" label: "0" class:13 priority:60 color:red} -node: {title: "n153" label: "Start PRIMA_c 153" info1: "visited: 34 -irg: PRIMA_c -arity: 0 -start of method of type c - param 0 type: class_prima_ptr - param 1 type: int -" info2: "mymode == mode_T && Start node"color: blue} -} - -} - -} 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 deleted file mode 100644 index c0a72c22e..000000000 --- a/testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-pure-ip.vcg +++ /dev/null @@ -1,374 +0,0 @@ -graph: { title: "ir graph of GlobalType_OO_PROGRAM_EXAMPLE_main" -display_edge_labels: no -layoutalgorithm: mindepth -manhattan_edges: yes -port_sharing: no -orientation: bottom_to_top -classname 1: "intrablock Data" -classname 16: "interblock Data" -classname 2: "Block" -classname 13: "Control Flow" -classname 14: "intrablock Memory" -classname 17: "interblock Memory" -classname 15: "Dominators" -classname 3: "Entity type" -classname 4: "Entity owner" -classname 5: "Method Param" -classname 6: "Method Res" -classname 7: "Super" -classname 8: "Union" -classname 9: "Points-to" -classname 10: "Array Element Type" -classname 11: "Overwrites" -classname 12: "Member" -infoname 1: "Attribute" -infoname 2: "Verification errors" - -node: {title: "n109" label: "Block 109" info1: "visited: 32 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -" info2: "(is_Bad(pred) || is_Unknown(pred) || (get_irn_mode(pred) == mode_X) ) && Block node"color: lightyellow} -edge: {sourcename: "n109" targetname: "n108" label: "0" class:13 priority:60 color:red} -node: {title: "n110" label: "Start GlobalType_OO_PROGRAM_EXAMPLE_main 110" info1: "visited: 32 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 0 -start of method of type OO_PROGRAM_EXAMPLE_main -" info2: "mymode == mode_T && Start node"color: blue} -edge: { sourcename: "n110" targetname: "n109" class:2 priority:50 linestyle:dotted} -node: {title: "n108" label: "ProjX 0 108" info1: "visited: 32 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} -edge: {sourcename: "n108" targetname: "n110" label: "0" class:13 priority:60 color:red} -edge: { sourcename: "n108" targetname: "n109" class:2 priority:50 linestyle:dotted} -node: {title: "n182" label: "Block 182" info1: "visited: 32 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -" info2: "(is_Bad(pred) || is_Unknown(pred) || (get_irn_mode(pred) == mode_X) ) && Block node"color: lightyellow} -edge: {sourcename: "n182" targetname: "n108" label: "0" class:13 priority:60 color:red} -node: {title: "n184" label: "CallBegin 184" info1: "visited: 32 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -possible callees: - 0: PRIMA_set_a -"} -node: {title: "n184n166" label: "&(PRIMA_set_a)P 166" info1: "visited: 32 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -edge: {sourcename: "n184" targetname: "n184n166" label: "0" class:16 priority:10} -edge: { sourcename: "n184" targetname: "n182" class:2 priority:50 linestyle:dotted} -node: {title: "n186" label: "ProjX 0 186" info1: "visited: 32 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} -edge: {sourcename: "n186" targetname: "n184" label: "0" class:13 priority:60 color:red} -edge: { sourcename: "n186" targetname: "n182" class:2 priority:50 linestyle:dotted} -node: {title: "n135" label: "Block 135" info1: "visited: 32 -irg: PRIMA_set_a -arity: 1 backedges: -" info2: "(is_Bad(pred) || is_Unknown(pred) || (get_irn_mode(pred) == mode_X) ) && Block node"color: lightyellow} -edge: {sourcename: "n135" targetname: "n186" label: "0" class:13 priority:60 color:red} -node: {title: "n136" label: "Start PRIMA_set_a 136" info1: "visited: 32 -irg: PRIMA_set_a -arity: 0 -start of method of type set_a - param 0 type: class_prima_ptr - param 1 type: int -" info2: "mymode == mode_T && Start node"color: blue} -edge: { sourcename: "n136" targetname: "n135" class:2 priority:50 linestyle:dotted} -node: {title: "n134" label: "ProjX 0 134" info1: "visited: 32 -irg: PRIMA_set_a -arity: 1 -"color: yellow} -edge: {sourcename: "n134" targetname: "n136" label: "0" class:13 priority:60 color:red} -edge: { sourcename: "n134" targetname: "n135" class:2 priority:50 linestyle:dotted} -node: {title: "n133" label: "Block 133" info1: "visited: 32 -irg: PRIMA_set_a -arity: 1 backedges: -" info2: "(is_Bad(pred) || is_Unknown(pred) || (get_irn_mode(pred) == mode_X) ) && Block node"color: lightyellow} -edge: {sourcename: "n133" targetname: "n134" label: "0" class:13 priority:60 color:red} -node: {title: "n178" label: "Jmp 178" info1: "visited: 32 -irg: PRIMA_set_a -arity: 0 -" info2: "mymode == mode_X && Jmp node"} -edge: { sourcename: "n178" targetname: "n133" class:2 priority:50 linestyle:dotted} -node: {title: "n179" label: "Block 179" info1: "visited: 32 -irg: PRIMA_set_a -arity: 1 backedges: -" info2: "(is_Bad(pred) || is_Unknown(pred) || (get_irn_mode(pred) == mode_X) ) && Block node"color: lightyellow} -edge: {sourcename: "n179" targetname: "n178" label: "0" class:13 priority:60 color:red} -node: {title: "n180" label: "EndReg 180" info1: "visited: 32 -irg: PRIMA_set_a -arity: 0 -"color: blue} -edge: { sourcename: "n180" targetname: "n179" class:2 priority:50 linestyle:dotted} -node: {title: "n185" label: "ProjX 0 185" info1: "visited: 32 -irg: PRIMA_set_a -arity: 1 -"color: yellow} -edge: {sourcename: "n185" targetname: "n180" label: "0" class:13 priority:60 color:red} -edge: { sourcename: "n185" targetname: "n179" class:2 priority:50 linestyle:dotted} -node: {title: "n188" label: "Block 188" info1: "visited: 32 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -" info2: "(is_Bad(pred) || is_Unknown(pred) || (get_irn_mode(pred) == mode_X) ) && Block node"color: lightyellow} -edge: {sourcename: "n188" targetname: "n185" label: "0" class:13 priority:60 color:red} -node: {title: "n190" label: "CallBegin 190" info1: "visited: 32 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -possible callees: - 0: PRIMA_c -"} -node: {title: "n190n165" label: "&(PRIMA_c)P 165" info1: "visited: 32 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -edge: {sourcename: "n190" targetname: "n190n165" label: "0" class:16 priority:10} -edge: { sourcename: "n190" targetname: "n188" class:2 priority:50 linestyle:dotted} -node: {title: "n192" label: "ProjX 0 192" info1: "visited: 32 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} -edge: {sourcename: "n192" targetname: "n190" label: "0" class:13 priority:60 color:red} -edge: { sourcename: "n192" targetname: "n188" class:2 priority:50 linestyle:dotted} -node: {title: "n152" label: "Block 152" info1: "visited: 32 -irg: PRIMA_c -arity: 1 backedges: -" info2: "(is_Bad(pred) || is_Unknown(pred) || (get_irn_mode(pred) == mode_X) ) && Block node"color: lightyellow} -edge: {sourcename: "n152" targetname: "n192" label: "0" class:13 priority:60 color:red} -node: {title: "n153" label: "Start PRIMA_c 153" info1: "visited: 32 -irg: PRIMA_c -arity: 0 -start of method of type c - param 0 type: class_prima_ptr - param 1 type: int -" info2: "mymode == mode_T && Start node"color: blue} -edge: { sourcename: "n153" targetname: "n152" class:2 priority:50 linestyle:dotted} -node: {title: "n151" label: "ProjX 0 151" info1: "visited: 32 -irg: PRIMA_c -arity: 1 -"color: yellow} -edge: {sourcename: "n151" targetname: "n153" label: "0" class:13 priority:60 color:red} -edge: { sourcename: "n151" targetname: "n152" class:2 priority:50 linestyle:dotted} -node: {title: "n150" label: "Block 150" info1: "visited: 32 -irg: PRIMA_c -arity: 1 backedges: -" info2: "(is_Bad(pred) || is_Unknown(pred) || (get_irn_mode(pred) == mode_X) ) && Block node"color: lightyellow} -edge: {sourcename: "n150" targetname: "n151" label: "0" class:13 priority:60 color:red} -node: {title: "n170" label: "Jmp 170" info1: "visited: 32 -irg: PRIMA_c -arity: 0 -" info2: "mymode == mode_X && Jmp node"} -edge: { sourcename: "n170" targetname: "n150" class:2 priority:50 linestyle:dotted} -node: {title: "n171" label: "Block 171" info1: "visited: 32 -irg: PRIMA_c -arity: 1 backedges: -" info2: "(is_Bad(pred) || is_Unknown(pred) || (get_irn_mode(pred) == mode_X) ) && Block node"color: lightyellow} -edge: {sourcename: "n171" targetname: "n170" label: "0" class:13 priority:60 color:red} -node: {title: "n172" label: "EndReg 172" info1: "visited: 32 -irg: PRIMA_c -arity: 0 -"color: blue} -edge: { sourcename: "n172" targetname: "n171" class:2 priority:50 linestyle:dotted} -node: {title: "n191" label: "ProjX 0 191" info1: "visited: 32 -irg: PRIMA_c -arity: 1 -"color: yellow} -edge: {sourcename: "n191" targetname: "n172" label: "0" class:13 priority:60 color:red} -edge: { sourcename: "n191" targetname: "n171" class:2 priority:50 linestyle:dotted} -node: {title: "n107" label: "Block 107" info1: "visited: 32 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -" info2: "(is_Bad(pred) || is_Unknown(pred) || (get_irn_mode(pred) == mode_X) ) && Block node"color: lightyellow} -edge: {sourcename: "n107" targetname: "n191" label: "0" class:13 priority:60 color:red} -node: {title: "n167" label: "FilterIs 1 167" info1: "visited: 32 -irg: PRIMA_c -arity: 1 backedges: -intra predecessor nodes: - ProjT 159 -"color: yellow} -node: {title: "n167n114" label: "0x5Is 114" info1: "visited: 32 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -edge: {sourcename: "n167" targetname: "n167n114" label: "0" class:16 priority:10} -edge: { sourcename: "n167" targetname: "n152" class:2 priority:50 linestyle:dotted} -node: {title: "n118" label: "ProjM 1 118" info1: "visited: 32 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} -edge: {sourcename: "n118" targetname: "n110" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n118" targetname: "n109" class:2 priority:50 linestyle:dotted} -node: {title: "n116" label: "Alloc 116" info1: "visited: 32 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 2 -allocating entity of type PRIMA -"} -node: {title: "n116n117" label: "SymC PRIMA size 117" info1: "visited: 32 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 0 -"} -edge: {sourcename: "n116" targetname: "n118" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n116" targetname: "n116n117" label: "1" class:16 priority:10} -edge: { sourcename: "n116" targetname: "n182" class:2 priority:50 linestyle:dotted} -node: {title: "n115" label: "ProjP 2 115" info1: "visited: 32 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} -edge: {sourcename: "n115" targetname: "n116" label: "0" class:1 priority:50} -edge: { sourcename: "n115" targetname: "n182" class:2 priority:50 linestyle:dotted} -node: {title: "n169" label: "FilterP 0 169" info1: "visited: 32 -irg: PRIMA_c -arity: 1 backedges: -intra predecessor nodes: - ProjT 159 -"color: yellow} -edge: {sourcename: "n169" targetname: "n115" label: "0" class:16 priority:10} -edge: { sourcename: "n169" targetname: "n152" class:2 priority:50 linestyle:dotted} -node: {title: "n177" label: "FilterIs 1 177" info1: "visited: 32 -irg: PRIMA_set_a -arity: 1 backedges: -intra predecessor nodes: - ProjT 140 -"color: yellow} -node: {title: "n177n122" label: "0x2Is 122" info1: "visited: 32 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -edge: {sourcename: "n177" targetname: "n177n122" label: "0" class:16 priority:10} -edge: { sourcename: "n177" targetname: "n135" class:2 priority:50 linestyle:dotted} -node: {title: "n176" label: "FilterP 0 176" info1: "visited: 32 -irg: PRIMA_set_a -arity: 1 backedges: -intra predecessor nodes: - ProjT 140 -"color: yellow} -edge: {sourcename: "n176" targetname: "n115" label: "0" class:16 priority:10} -edge: { sourcename: "n176" targetname: "n135" class:2 priority:50 linestyle:dotted} -node: {title: "n124" label: "ProjM 0 124" info1: "visited: 32 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} -edge: {sourcename: "n124" targetname: "n116" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n124" targetname: "n182" class:2 priority:50 linestyle:dotted} -node: {title: "n175" label: "FilterM 1 175" info1: "visited: 32 -irg: PRIMA_set_a -arity: 1 backedges: -intra predecessor nodes: - StartT 136 -"color: yellow} -edge: {sourcename: "n175" targetname: "n124" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n175" targetname: "n135" class:2 priority:50 linestyle:dotted} -node: {title: "n141" label: "Sel a 141" info1: "visited: 32 -irg: PRIMA_set_a -arity: 2 -Selecting entity of type int - from entity of type PRIMA -"} -edge: {sourcename: "n141" targetname: "n175" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n141" targetname: "n176" label: "1" class:16 priority:10} -edge: { sourcename: "n141" targetname: "n133" class:2 priority:50 linestyle:dotted} -node: {title: "n138" label: "Store 138" info1: "visited: 32 -irg: PRIMA_set_a -arity: 3 -" info2: "mymode == mode_T && Store node"} -edge: {sourcename: "n138" targetname: "n175" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n138" targetname: "n141" label: "1" class:1 priority:50} -edge: {sourcename: "n138" targetname: "n177" label: "2" class:16 priority:10} -edge: { sourcename: "n138" targetname: "n133" class:2 priority:50 linestyle:dotted} -node: {title: "n137" label: "ProjM 0 137" info1: "visited: 32 -irg: PRIMA_set_a -arity: 1 -"color: yellow} -edge: {sourcename: "n137" targetname: "n138" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n137" targetname: "n133" class:2 priority:50 linestyle:dotted} -node: {title: "n187" label: "FilterM 0 187" info1: "visited: 32 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -intra predecessor nodes: - CallT 121 -"color: yellow} -edge: {sourcename: "n187" targetname: "n137" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n187" targetname: "n188" class:2 priority:50 linestyle:dotted} -node: {title: "n168" label: "FilterM 1 168" info1: "visited: 32 -irg: PRIMA_c -arity: 1 backedges: -intra predecessor nodes: - StartT 153 -"color: yellow} -edge: {sourcename: "n168" targetname: "n187" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n168" targetname: "n152" class:2 priority:50 linestyle:dotted} -node: {title: "n157" label: "Sel a 157" info1: "visited: 32 -irg: PRIMA_c -arity: 2 -Selecting entity of type int - from entity of type PRIMA -"} -edge: {sourcename: "n157" targetname: "n168" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n157" targetname: "n169" label: "1" class:16 priority:10} -edge: { sourcename: "n157" targetname: "n150" class:2 priority:50 linestyle:dotted} -node: {title: "n156" label: "Load 156" info1: "visited: 32 -irg: PRIMA_c -arity: 2 -" info2: "mymode == mode_T && Load node"} -edge: {sourcename: "n156" targetname: "n168" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n156" targetname: "n157" label: "1" class:1 priority:50} -edge: { sourcename: "n156" targetname: "n150" class:2 priority:50 linestyle:dotted} -node: {title: "n155" label: "ProjIs 2 155" info1: "visited: 32 -irg: PRIMA_c -arity: 1 -"color: yellow} -edge: {sourcename: "n155" targetname: "n156" label: "0" class:1 priority:50} -edge: { sourcename: "n155" targetname: "n150" class:2 priority:50 linestyle:dotted} -node: {title: "n154" label: "AddIs 154" info1: "visited: 32 -irg: PRIMA_c -arity: 2 -"} -edge: {sourcename: "n154" targetname: "n155" label: "0" class:1 priority:50} -edge: {sourcename: "n154" targetname: "n167" label: "1" class:16 priority:10} -edge: { sourcename: "n154" targetname: "n150" class:2 priority:50 linestyle:dotted} -node: {title: "n194" label: "FilterIs 0 194" info1: "visited: 32 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -intra predecessor nodes: - ProjT 112 -"color: yellow} -edge: {sourcename: "n194" targetname: "n154" label: "0" class:16 priority:10} -edge: { sourcename: "n194" targetname: "n107" class:2 priority:50 linestyle:dotted} -node: {title: "n162" label: "ProjM 0 162" info1: "visited: 32 -irg: PRIMA_c -arity: 1 -"color: yellow} -edge: {sourcename: "n162" targetname: "n156" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n162" targetname: "n150" class:2 priority:50 linestyle:dotted} -node: {title: "n193" label: "FilterM 0 193" info1: "visited: 32 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -intra predecessor nodes: - CallT 113 -"color: yellow} -edge: {sourcename: "n193" targetname: "n162" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n193" targetname: "n107" class:2 priority:50 linestyle:dotted} -node: {title: "n106" label: "Return 106" info1: "visited: 32 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 2 -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n106" targetname: "n193" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n106" targetname: "n194" label: "1" class:1 priority:50} -edge: { sourcename: "n106" targetname: "n107" class:2 priority:50 linestyle:dotted} -node: {title: "n105" label: "Block 105" info1: "visited: 32 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -" info2: "((get_irn_op(pred) == op_Return) || is_Bad(pred) || (get_irn_op(pred) == op_Raise) || is_fragile_op(pred) ) && End Block node"color: lightyellow} -edge: {sourcename: "n105" targetname: "n106" label: "0" class:13 priority:60 color:red} -node: {title: "n103" label: "End 103" info1: "visited: 32 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 2 -"color: blue} -edge: { sourcename: "n103" targetname: "n105" class:2 priority:50 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 deleted file mode 100644 index c9c550160..000000000 --- a/testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-pure-wtypes-ip.vcg +++ /dev/null @@ -1,500 +0,0 @@ -graph: { title: "ir graph of GlobalType_OO_PROGRAM_EXAMPLE_main" -display_edge_labels: no -layoutalgorithm: mindepth -manhattan_edges: yes -port_sharing: no -orientation: bottom_to_top -classname 1: "intrablock Data" -classname 16: "interblock Data" -classname 2: "Block" -classname 13: "Control Flow" -classname 14: "intrablock Memory" -classname 17: "interblock Memory" -classname 15: "Dominators" -classname 3: "Entity type" -classname 4: "Entity owner" -classname 5: "Method Param" -classname 6: "Method Res" -classname 7: "Super" -classname 8: "Union" -classname 9: "Points-to" -classname 10: "Array Element Type" -classname 11: "Overwrites" -classname 12: "Member" -infoname 1: "Attribute" -infoname 2: "Verification errors" - -node: {title: "n109" label: "Block 109" info1: "visited: 36 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -" info2: "(is_Bad(pred) || is_Unknown(pred) || (get_irn_mode(pred) == mode_X) ) && Block node"color: lightyellow} -edge: {sourcename: "n109" targetname: "n108" label: "0" class:13 priority:60 color:red} -node: {title: "n110" label: "Start GlobalType_OO_PROGRAM_EXAMPLE_main 110" info1: "visited: 36 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 0 -start of method of type OO_PROGRAM_EXAMPLE_main -" info2: "mymode == mode_T && Start node"color: blue} -edge: { sourcename: "n110" targetname: "n109" class:2 priority:50 linestyle:dotted} -node: {title: "n108" label: "ProjX 0 108" info1: "visited: 36 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} -edge: {sourcename: "n108" targetname: "n110" label: "0" class:13 priority:60 color:red} -edge: { sourcename: "n108" targetname: "n109" class:2 priority:50 linestyle:dotted} -node: {title: "n182" label: "Block 182" info1: "visited: 36 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -" info2: "(is_Bad(pred) || is_Unknown(pred) || (get_irn_mode(pred) == mode_X) ) && Block node"color: lightyellow} -edge: {sourcename: "n182" targetname: "n108" label: "0" class:13 priority:60 color:red} -node: {title: "n184" label: "CallBegin 184" info1: "visited: 36 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -possible callees: - 0: PRIMA_set_a -"} -node: {title: "n184n166" label: "&(PRIMA_set_a)P 166" info1: "visited: 36 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -edge: {sourcename: "n184" targetname: "n184n166" label: "0" class:16 priority:10} -edge: { sourcename: "n184" targetname: "n182" class:2 priority:50 linestyle:dotted} -node: {title: "n186" label: "ProjX 0 186" info1: "visited: 36 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} -edge: {sourcename: "n186" targetname: "n184" label: "0" class:13 priority:60 color:red} -edge: { sourcename: "n186" targetname: "n182" class:2 priority:50 linestyle:dotted} -node: {title: "n135" label: "Block 135" info1: "visited: 36 -irg: PRIMA_set_a -arity: 1 backedges: -" info2: "(is_Bad(pred) || is_Unknown(pred) || (get_irn_mode(pred) == mode_X) ) && Block node"color: lightyellow} -edge: {sourcename: "n135" targetname: "n186" label: "0" class:13 priority:60 color:red} -node: {title: "n136" label: "Start PRIMA_set_a 136" info1: "visited: 36 -irg: PRIMA_set_a -arity: 0 -start of method of type set_a - param 0 type: class_prima_ptr - param 1 type: int -" info2: "mymode == mode_T && Start node"color: blue} -edge: { sourcename: "n136" targetname: "n135" class:2 priority:50 linestyle:dotted} -node: {title: "n134" label: "ProjX 0 134" info1: "visited: 36 -irg: PRIMA_set_a -arity: 1 -"color: yellow} -edge: {sourcename: "n134" targetname: "n136" label: "0" class:13 priority:60 color:red} -edge: { sourcename: "n134" targetname: "n135" class:2 priority:50 linestyle:dotted} -node: {title: "n133" label: "Block 133" info1: "visited: 36 -irg: PRIMA_set_a -arity: 1 backedges: -" info2: "(is_Bad(pred) || is_Unknown(pred) || (get_irn_mode(pred) == mode_X) ) && Block node"color: lightyellow} -edge: {sourcename: "n133" targetname: "n134" label: "0" class:13 priority:60 color:red} -node: {title: "n178" label: "Jmp 178" info1: "visited: 36 -irg: PRIMA_set_a -arity: 0 -" info2: "mymode == mode_X && Jmp node"} -edge: { sourcename: "n178" targetname: "n133" class:2 priority:50 linestyle:dotted} -node: {title: "n179" label: "Block 179" info1: "visited: 36 -irg: PRIMA_set_a -arity: 1 backedges: -" info2: "(is_Bad(pred) || is_Unknown(pred) || (get_irn_mode(pred) == mode_X) ) && Block node"color: lightyellow} -edge: {sourcename: "n179" targetname: "n178" label: "0" class:13 priority:60 color:red} -node: {title: "n180" label: "EndReg 180" info1: "visited: 36 -irg: PRIMA_set_a -arity: 0 -"color: blue} -edge: { sourcename: "n180" targetname: "n179" class:2 priority:50 linestyle:dotted} -node: {title: "n185" label: "ProjX 0 185" info1: "visited: 36 -irg: PRIMA_set_a -arity: 1 -"color: yellow} -edge: {sourcename: "n185" targetname: "n180" label: "0" class:13 priority:60 color:red} -edge: { sourcename: "n185" targetname: "n179" class:2 priority:50 linestyle:dotted} -node: {title: "n188" label: "Block 188" info1: "visited: 36 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -" info2: "(is_Bad(pred) || is_Unknown(pred) || (get_irn_mode(pred) == mode_X) ) && Block node"color: lightyellow} -edge: {sourcename: "n188" targetname: "n185" label: "0" class:13 priority:60 color:red} -node: {title: "n190" label: "CallBegin 190" info1: "visited: 36 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -possible callees: - 0: PRIMA_c -"} -node: {title: "n190n165" label: "&(PRIMA_c)P 165" info1: "visited: 36 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -edge: {sourcename: "n190" targetname: "n190n165" label: "0" class:16 priority:10} -edge: { sourcename: "n190" targetname: "n188" class:2 priority:50 linestyle:dotted} -node: {title: "n192" label: "ProjX 0 192" info1: "visited: 36 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} -edge: {sourcename: "n192" targetname: "n190" label: "0" class:13 priority:60 color:red} -edge: { sourcename: "n192" targetname: "n188" class:2 priority:50 linestyle:dotted} -node: {title: "n152" label: "Block 152" info1: "visited: 36 -irg: PRIMA_c -arity: 1 backedges: -" info2: "(is_Bad(pred) || is_Unknown(pred) || (get_irn_mode(pred) == mode_X) ) && Block node"color: lightyellow} -edge: {sourcename: "n152" targetname: "n192" label: "0" class:13 priority:60 color:red} -node: {title: "n153" label: "Start PRIMA_c 153" info1: "visited: 36 -irg: PRIMA_c -arity: 0 -start of method of type c - param 0 type: class_prima_ptr - param 1 type: int -" info2: "mymode == mode_T && Start node"color: blue} -edge: { sourcename: "n153" targetname: "n152" class:2 priority:50 linestyle:dotted} -node: {title: "n151" label: "ProjX 0 151" info1: "visited: 36 -irg: PRIMA_c -arity: 1 -"color: yellow} -edge: {sourcename: "n151" targetname: "n153" label: "0" class:13 priority:60 color:red} -edge: { sourcename: "n151" targetname: "n152" class:2 priority:50 linestyle:dotted} -node: {title: "n150" label: "Block 150" info1: "visited: 36 -irg: PRIMA_c -arity: 1 backedges: -" info2: "(is_Bad(pred) || is_Unknown(pred) || (get_irn_mode(pred) == mode_X) ) && Block node"color: lightyellow} -edge: {sourcename: "n150" targetname: "n151" label: "0" class:13 priority:60 color:red} -node: {title: "n170" label: "Jmp 170" info1: "visited: 36 -irg: PRIMA_c -arity: 0 -" info2: "mymode == mode_X && Jmp node"} -edge: { sourcename: "n170" targetname: "n150" class:2 priority:50 linestyle:dotted} -node: {title: "n171" label: "Block 171" info1: "visited: 36 -irg: PRIMA_c -arity: 1 backedges: -" info2: "(is_Bad(pred) || is_Unknown(pred) || (get_irn_mode(pred) == mode_X) ) && Block node"color: lightyellow} -edge: {sourcename: "n171" targetname: "n170" label: "0" class:13 priority:60 color:red} -node: {title: "n172" label: "EndReg 172" info1: "visited: 36 -irg: PRIMA_c -arity: 0 -"color: blue} -edge: { sourcename: "n172" targetname: "n171" class:2 priority:50 linestyle:dotted} -node: {title: "n191" label: "ProjX 0 191" info1: "visited: 36 -irg: PRIMA_c -arity: 1 -"color: yellow} -edge: {sourcename: "n191" targetname: "n172" label: "0" class:13 priority:60 color:red} -edge: { sourcename: "n191" targetname: "n171" class:2 priority:50 linestyle:dotted} -node: {title: "n107" label: "Block 107" info1: "visited: 36 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -" info2: "(is_Bad(pred) || is_Unknown(pred) || (get_irn_mode(pred) == mode_X) ) && Block node"color: lightyellow} -edge: {sourcename: "n107" targetname: "n191" label: "0" class:13 priority:60 color:red} -node: {title: "n167" label: "FilterIs 1 167" info1: "visited: 36 -irg: PRIMA_c -arity: 1 backedges: -intra predecessor nodes: - ProjT 159 -"color: yellow} -node: {title: "n167n114" label: "0x5Is 114" info1: "visited: 36 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -edge: {sourcename: "n167" targetname: "n167n114" label: "0" class:16 priority:10} -edge: { sourcename: "n167" targetname: "n152" class:2 priority:50 linestyle:dotted} -node: {title: "n118" label: "ProjM 1 118" info1: "visited: 36 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} -edge: {sourcename: "n118" targetname: "n110" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n118" targetname: "n109" class:2 priority:50 linestyle:dotted} -node: {title: "n116" label: "Alloc 116" info1: "visited: 36 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 2 -allocating entity of type PRIMA -"} -node: {title: "n116n117" label: "SymC PRIMA size 117" info1: "visited: 36 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 0 -"} -edge: {sourcename: "n116" targetname: "n118" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n116" targetname: "n116n117" label: "1" class:16 priority:10} -edge: { sourcename: "n116" targetname: "n182" class:2 priority:50 linestyle:dotted} -node: {title: "n115" label: "ProjP 2 115" info1: "visited: 36 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} -edge: {sourcename: "n115" targetname: "n116" label: "0" class:1 priority:50} -edge: { sourcename: "n115" targetname: "n182" class:2 priority:50 linestyle:dotted} -node: {title: "n169" label: "FilterP 0 169" info1: "visited: 36 -irg: PRIMA_c -arity: 1 backedges: -intra predecessor nodes: - ProjT 159 -"color: yellow} -edge: {sourcename: "n169" targetname: "n115" label: "0" class:16 priority:10} -edge: { sourcename: "n169" targetname: "n152" class:2 priority:50 linestyle:dotted} -node: {title: "n177" label: "FilterIs 1 177" info1: "visited: 36 -irg: PRIMA_set_a -arity: 1 backedges: -intra predecessor nodes: - ProjT 140 -"color: yellow} -node: {title: "n177n122" label: "0x2Is 122" info1: "visited: 36 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -edge: {sourcename: "n177" targetname: "n177n122" label: "0" class:16 priority:10} -edge: { sourcename: "n177" targetname: "n135" class:2 priority:50 linestyle:dotted} -node: {title: "n176" label: "FilterP 0 176" info1: "visited: 36 -irg: PRIMA_set_a -arity: 1 backedges: -intra predecessor nodes: - ProjT 140 -"color: yellow} -edge: {sourcename: "n176" targetname: "n115" label: "0" class:16 priority:10} -edge: { sourcename: "n176" targetname: "n135" class:2 priority:50 linestyle:dotted} -node: {title: "n124" label: "ProjM 0 124" info1: "visited: 36 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} -edge: {sourcename: "n124" targetname: "n116" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n124" targetname: "n182" class:2 priority:50 linestyle:dotted} -node: {title: "n175" label: "FilterM 1 175" info1: "visited: 36 -irg: PRIMA_set_a -arity: 1 backedges: -intra predecessor nodes: - StartT 136 -"color: yellow} -edge: {sourcename: "n175" targetname: "n124" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n175" targetname: "n135" class:2 priority:50 linestyle:dotted} -node: {title: "n141" label: "Sel a 141" info1: "visited: 36 -irg: PRIMA_set_a -arity: 2 -Selecting entity of type int - from entity of type PRIMA -"} -edge: {sourcename: "n141" targetname: "n175" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n141" targetname: "n176" label: "1" class:16 priority:10} -edge: { sourcename: "n141" targetname: "n133" class:2 priority:50 linestyle:dotted} -node: {title: "n138" label: "Store 138" info1: "visited: 36 -irg: PRIMA_set_a -arity: 3 -" info2: "mymode == mode_T && Store node"} -edge: {sourcename: "n138" targetname: "n175" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n138" targetname: "n141" label: "1" class:1 priority:50} -edge: {sourcename: "n138" targetname: "n177" label: "2" class:16 priority:10} -edge: { sourcename: "n138" targetname: "n133" class:2 priority:50 linestyle:dotted} -node: {title: "n137" label: "ProjM 0 137" info1: "visited: 36 -irg: PRIMA_set_a -arity: 1 -"color: yellow} -edge: {sourcename: "n137" targetname: "n138" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n137" targetname: "n133" class:2 priority:50 linestyle:dotted} -node: {title: "n187" label: "FilterM 0 187" info1: "visited: 36 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -intra predecessor nodes: - CallT 121 -"color: yellow} -edge: {sourcename: "n187" targetname: "n137" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n187" targetname: "n188" class:2 priority:50 linestyle:dotted} -node: {title: "n168" label: "FilterM 1 168" info1: "visited: 36 -irg: PRIMA_c -arity: 1 backedges: -intra predecessor nodes: - StartT 153 -"color: yellow} -edge: {sourcename: "n168" targetname: "n187" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n168" targetname: "n152" class:2 priority:50 linestyle:dotted} -node: {title: "n157" label: "Sel a 157" info1: "visited: 36 -irg: PRIMA_c -arity: 2 -Selecting entity of type int - from entity of type PRIMA -"} -edge: {sourcename: "n157" targetname: "n168" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n157" targetname: "n169" label: "1" class:16 priority:10} -edge: { sourcename: "n157" targetname: "n150" class:2 priority:50 linestyle:dotted} -node: {title: "n156" label: "Load 156" info1: "visited: 36 -irg: PRIMA_c -arity: 2 -" info2: "mymode == mode_T && Load node"} -edge: {sourcename: "n156" targetname: "n168" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n156" targetname: "n157" label: "1" class:1 priority:50} -edge: { sourcename: "n156" targetname: "n150" class:2 priority:50 linestyle:dotted} -node: {title: "n155" label: "ProjIs 2 155" info1: "visited: 36 -irg: PRIMA_c -arity: 1 -"color: yellow} -edge: {sourcename: "n155" targetname: "n156" label: "0" class:1 priority:50} -edge: { sourcename: "n155" targetname: "n150" class:2 priority:50 linestyle:dotted} -node: {title: "n154" label: "AddIs 154" info1: "visited: 36 -irg: PRIMA_c -arity: 2 -"} -edge: {sourcename: "n154" targetname: "n155" label: "0" class:1 priority:50} -edge: {sourcename: "n154" targetname: "n167" label: "1" class:16 priority:10} -edge: { sourcename: "n154" targetname: "n150" class:2 priority:50 linestyle:dotted} -node: {title: "n194" label: "FilterIs 0 194" info1: "visited: 36 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -intra predecessor nodes: - ProjT 112 -"color: yellow} -edge: {sourcename: "n194" targetname: "n154" label: "0" class:16 priority:10} -edge: { sourcename: "n194" targetname: "n107" class:2 priority:50 linestyle:dotted} -node: {title: "n162" label: "ProjM 0 162" info1: "visited: 36 -irg: PRIMA_c -arity: 1 -"color: yellow} -edge: {sourcename: "n162" targetname: "n156" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n162" targetname: "n150" class:2 priority:50 linestyle:dotted} -node: {title: "n193" label: "FilterM 0 193" info1: "visited: 36 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -intra predecessor nodes: - CallT 113 -"color: yellow} -edge: {sourcename: "n193" targetname: "n162" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n193" targetname: "n107" class:2 priority:50 linestyle:dotted} -node: {title: "n106" label: "Return 106" info1: "visited: 36 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 2 -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n106" targetname: "n193" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n106" targetname: "n194" label: "1" class:1 priority:50} -edge: { sourcename: "n106" targetname: "n107" class:2 priority:50 linestyle:dotted} -node: {title: "n105" label: "Block 105" info1: "visited: 36 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -" info2: "((get_irn_op(pred) == op_Return) || is_Bad(pred) || (get_irn_op(pred) == op_Raise) || is_fragile_op(pred) ) && End Block node"color: lightyellow} -edge: {sourcename: "n105" targetname: "n106" label: "0" class:13 priority:60 color:red} -node: {title: "n103" label: "End 103" info1: "visited: 36 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 2 -"color: blue} -edge: { sourcename: "n103" targetname: "n105" class:2 priority:50 linestyle:dotted} -node: {title: "e14" label: "ent a" color: yellow - info1: " -id: e14 -allocation: allocation_automatic -visibility: visibility_local -variability: variability_uninitialized -volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: a -ld_name: no yet set -offset: -1" -} -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: "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: e17 -allocation: allocation_static -visibility: visibility_local -variability: variability_constant -volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: set_a -ld_name: PRIMA_set_a -offset: -1 -irg = g68" -} -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" info1: "visited: 39 -arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t15" label: "method set_a" info1: "state: layout_fixed, -mode: P, -size: 4B, -variadicity: variadicity_non_variadic -params: 2 -results: 0 -"} -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: "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: "e20" label: "ent PRIMA_c" color: yellow - info1: " -id: e20 -allocation: allocation_static -visibility: visibility_local -variability: variability_constant -volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: c -ld_name: PRIMA_c -offset: -1 -irg = g90" -} -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" info1: "visited: 40 -arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t18" label: "method c" info1: "state: layout_fixed, -mode: P, -size: 4B, -variadicity: variadicity_non_variadic -params: 2 -results: 1 -"} -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: e23 -allocation: allocation_static -visibility: visibility_local -variability: variability_constant -volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: OO_PROGRAM_EXAMPLE_main -ld_name: GlobalType_OO_PROGRAM_EXAMPLE_main -offset: -1 -irg = g35" -} -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" info1: "visited: 41 -arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined -size: -1B, -peculiarity: peculiarity_existent -" color: green} -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, -variadicity: variadicity_non_variadic -params: 0 -results: 1 -"} -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: "n157" targetname: "e14"class:2 priority:2 linestyle:dotted} -edge: { sourcename: "n116" targetname: "t12"class:2 priority:2 linestyle:dotted} -edge: { sourcename: "n117" targetname: "t12"class:2 priority:2 linestyle:dotted} -edge: { sourcename: "n141" 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 deleted file mode 100644 index b891e3c28..000000000 --- a/testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-type.vcg +++ /dev/null @@ -1,149 +0,0 @@ -graph: { title: "ir graph of GlobalType_OO_PROGRAM_EXAMPLE_main" -display_edge_labels: no -layoutalgorithm: mindepth -manhattan_edges: yes -port_sharing: no -orientation: bottom_to_top -classname 1: "intrablock Data" -classname 16: "interblock Data" -classname 2: "Block" -classname 13: "Control Flow" -classname 14: "intrablock Memory" -classname 17: "interblock Memory" -classname 15: "Dominators" -classname 3: "Entity type" -classname 4: "Entity owner" -classname 5: "Method Param" -classname 6: "Method Res" -classname 7: "Super" -classname 8: "Union" -classname 9: "Points-to" -classname 10: "Array Element Type" -classname 11: "Overwrites" -classname 12: "Member" -infoname 1: "Attribute" -infoname 2: "Verification errors" - -node: {title: "t18" label: "method c" info1: "state: layout_fixed, -mode: P, -size: 4B, -variadicity: variadicity_non_variadic -params: 2 -results: 1 -"} -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: "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: "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: e14 -allocation: allocation_automatic -visibility: visibility_local -variability: variability_uninitialized -volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: a -ld_name: no yet set -offset: -1" -} -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: "e17" label: "ent PRIMA_set_a" color: yellow - info1: " -id: e17 -allocation: allocation_static -visibility: visibility_local -variability: variability_constant -volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: set_a -ld_name: PRIMA_set_a -offset: -1 -irg = g68" -} -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" info1: "visited: 7 -arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t15" label: "method set_a" info1: "state: layout_fixed, -mode: P, -size: 4B, -variadicity: variadicity_non_variadic -params: 2 -results: 0 -"} -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: e20 -allocation: allocation_static -visibility: visibility_local -variability: variability_constant -volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: c -ld_name: PRIMA_c -offset: -1 -irg = g90" -} -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" info1: "visited: 7 -arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "e23" label: "ent GlobalType_OO_PROGRAM_EXAMPLE_main" color: yellow - info1: " -id: e23 -allocation: allocation_static -visibility: visibility_local -variability: variability_constant -volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: OO_PROGRAM_EXAMPLE_main -ld_name: GlobalType_OO_PROGRAM_EXAMPLE_main -offset: -1 -irg = g35" -} -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" info1: "visited: 7 -arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined -size: -1B, -peculiarity: peculiarity_existent -" color: green} -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, -variadicity: variadicity_non_variadic -params: 0 -results: 1 -"} -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 deleted file mode 100644 index a5217dd5b..000000000 --- a/testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-wtypes-ip.vcg +++ /dev/null @@ -1,459 +0,0 @@ -graph: { title: "ir graph of GlobalType_OO_PROGRAM_EXAMPLE_main" -display_edge_labels: no -layoutalgorithm: mindepth -manhattan_edges: yes -port_sharing: no -orientation: bottom_to_top -classname 1: "intrablock Data" -classname 16: "interblock Data" -classname 2: "Block" -classname 13: "Control Flow" -classname 14: "intrablock Memory" -classname 17: "interblock Memory" -classname 15: "Dominators" -classname 3: "Entity type" -classname 4: "Entity owner" -classname 5: "Method Param" -classname 6: "Method Res" -classname 7: "Super" -classname 8: "Union" -classname 9: "Points-to" -classname 10: "Array Element Type" -classname 11: "Overwrites" -classname 12: "Member" -infoname 1: "Attribute" -infoname 2: "Verification errors" - -graph: { title: "g35" label: "GlobalType_OO_PROGRAM_EXAMPLE_main" status:clustered color:white -graph: { title: "n105" label: "Block 105" status:clustered color:yellow -edge: {sourcename: "n105" targetname: "n106" label: "0" class:13 priority:60 color:red} -node: {title: "n103" label: "End 103" info1: "visited: 44 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 2 -"color: blue} -} - -graph: { title: "n107" label: "Block 107" status:clustered color:yellow -edge: {sourcename: "n107" targetname: "n191" label: "0" class:13 priority:60 color:red} -node: {title: "n106" label: "Return 106" info1: "visited: 44 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 2 -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n106" targetname: "n193" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n106" targetname: "n194" label: "1" class:1 priority:50} -node: {title: "n193" label: "FilterM 0 193" info1: "visited: 44 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -intra predecessor nodes: - CallT 113 -"color: yellow} -edge: {sourcename: "n193" targetname: "n162" label: "0" class:17 priority:10 color:blue} -node: {title: "n194" label: "FilterIs 0 194" info1: "visited: 44 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -intra predecessor nodes: - ProjT 112 -"color: yellow} -edge: {sourcename: "n194" targetname: "n154" label: "0" class:16 priority:10} -} - -graph: { title: "n188" label: "Block 188" status:clustered color:yellow -edge: {sourcename: "n188" targetname: "n185" label: "0" class:13 priority:60 color:red} -node: {title: "n187" label: "FilterM 0 187" info1: "visited: 44 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -intra predecessor nodes: - CallT 121 -"color: yellow} -edge: {sourcename: "n187" targetname: "n137" label: "0" class:17 priority:10 color:blue} -node: {title: "n192" label: "ProjX 0 192" info1: "visited: 44 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} -edge: {sourcename: "n192" targetname: "n190" label: "0" class:13 priority:60 color:red} -node: {title: "n190" label: "CallBegin 190" info1: "visited: 44 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -possible callees: - 0: PRIMA_c -"} -node: {title: "n190n165" label: "&(PRIMA_c)P 165" info1: "visited: 44 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -edge: {sourcename: "n190" targetname: "n190n165" label: "0" class:16 priority:10} -} - -graph: { title: "n182" label: "Block 182" status:clustered color:yellow -edge: {sourcename: "n182" targetname: "n108" label: "0" class:13 priority:60 color:red} -node: {title: "n124" label: "ProjM 0 124" info1: "visited: 44 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} -edge: {sourcename: "n124" targetname: "n116" label: "0" class:17 priority:10 color:blue} -node: {title: "n115" label: "ProjP 2 115" info1: "visited: 44 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} -edge: {sourcename: "n115" targetname: "n116" label: "0" class:1 priority:50} -node: {title: "n116" label: "Alloc 116" info1: "visited: 44 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 2 -allocating entity of type PRIMA -"} -node: {title: "n116n117" label: "SymC PRIMA size 117" info1: "visited: 44 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 0 -"} -edge: {sourcename: "n116" targetname: "n118" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n116" targetname: "n116n117" label: "1" class:16 priority:10} -node: {title: "n186" label: "ProjX 0 186" info1: "visited: 44 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} -edge: {sourcename: "n186" targetname: "n184" label: "0" class:13 priority:60 color:red} -node: {title: "n184" label: "CallBegin 184" info1: "visited: 44 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -possible callees: - 0: PRIMA_set_a -"} -node: {title: "n184n166" label: "&(PRIMA_set_a)P 166" info1: "visited: 44 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -edge: {sourcename: "n184" targetname: "n184n166" label: "0" class:16 priority:10} -} - -graph: { title: "n109" label: "Block 109" status:clustered color:yellow -edge: {sourcename: "n109" targetname: "n108" label: "0" class:13 priority:60 color:red} -node: {title: "n118" label: "ProjM 1 118" info1: "visited: 44 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} -edge: {sourcename: "n118" targetname: "n110" label: "0" class:17 priority:10 color:blue} -node: {title: "n108" label: "ProjX 0 108" info1: "visited: 44 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} -edge: {sourcename: "n108" targetname: "n110" label: "0" class:13 priority:60 color:red} -node: {title: "n110" label: "Start GlobalType_OO_PROGRAM_EXAMPLE_main 110" info1: "visited: 44 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 0 -start of method of type OO_PROGRAM_EXAMPLE_main -" info2: "mymode == mode_T && Start node"color: blue} -} - -} - -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" class:13 priority:60 color:red} -node: {title: "n185" label: "ProjX 0 185" info1: "visited: 44 -irg: PRIMA_set_a -arity: 1 -"color: yellow} -edge: {sourcename: "n185" targetname: "n180" label: "0" class:13 priority:60 color:red} -node: {title: "n180" label: "EndReg 180" info1: "visited: 44 -irg: PRIMA_set_a -arity: 0 -"color: blue} -} - -graph: { title: "n133" label: "Block 133" status:clustered color:yellow -edge: {sourcename: "n133" targetname: "n134" label: "0" class:13 priority:60 color:red} -node: {title: "n137" label: "ProjM 0 137" info1: "visited: 44 -irg: PRIMA_set_a -arity: 1 -"color: yellow} -edge: {sourcename: "n137" targetname: "n138" label: "0" class:17 priority:10 color:blue} -node: {title: "n138" label: "Store 138" info1: "visited: 44 -irg: PRIMA_set_a -arity: 3 -" info2: "mymode == mode_T && Store node"} -edge: {sourcename: "n138" targetname: "n175" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n138" targetname: "n141" label: "1" class:1 priority:50} -edge: {sourcename: "n138" targetname: "n177" label: "2" class:16 priority:10} -node: {title: "n141" label: "Sel a 141" info1: "visited: 44 -irg: PRIMA_set_a -arity: 2 -Selecting entity of type int - from entity of type PRIMA -"} -edge: {sourcename: "n141" targetname: "n175" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n141" targetname: "n176" label: "1" class:16 priority:10} -node: {title: "n178" label: "Jmp 178" info1: "visited: 44 -irg: PRIMA_set_a -arity: 0 -" info2: "mymode == mode_X && Jmp node"} -} - -graph: { title: "n135" label: "Block 135" status:clustered color:yellow -edge: {sourcename: "n135" targetname: "n186" label: "0" class:13 priority:60 color:red} -node: {title: "n175" label: "FilterM 1 175" info1: "visited: 44 -irg: PRIMA_set_a -arity: 1 backedges: -intra predecessor nodes: - StartT 136 -"color: yellow} -edge: {sourcename: "n175" targetname: "n124" label: "0" class:17 priority:10 color:blue} -node: {title: "n176" label: "FilterP 0 176" info1: "visited: 44 -irg: PRIMA_set_a -arity: 1 backedges: -intra predecessor nodes: - ProjT 140 -"color: yellow} -edge: {sourcename: "n176" targetname: "n115" label: "0" class:16 priority:10} -node: {title: "n177" label: "FilterIs 1 177" info1: "visited: 44 -irg: PRIMA_set_a -arity: 1 backedges: -intra predecessor nodes: - ProjT 140 -"color: yellow} -node: {title: "n177n122" label: "0x2Is 122" info1: "visited: 44 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -edge: {sourcename: "n177" targetname: "n177n122" label: "0" class:16 priority:10} -node: {title: "n134" label: "ProjX 0 134" info1: "visited: 44 -irg: PRIMA_set_a -arity: 1 -"color: yellow} -edge: {sourcename: "n134" targetname: "n136" label: "0" class:13 priority:60 color:red} -node: {title: "n136" label: "Start PRIMA_set_a 136" info1: "visited: 44 -irg: PRIMA_set_a -arity: 0 -start of method of type set_a - param 0 type: class_prima_ptr - param 1 type: int -" info2: "mymode == mode_T && Start node"color: blue} -} - -} - -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" class:13 priority:60 color:red} -node: {title: "n191" label: "ProjX 0 191" info1: "visited: 44 -irg: PRIMA_c -arity: 1 -"color: yellow} -edge: {sourcename: "n191" targetname: "n172" label: "0" class:13 priority:60 color:red} -node: {title: "n172" label: "EndReg 172" info1: "visited: 44 -irg: PRIMA_c -arity: 0 -"color: blue} -} - -graph: { title: "n150" label: "Block 150" status:clustered color:yellow -edge: {sourcename: "n150" targetname: "n151" label: "0" class:13 priority:60 color:red} -node: {title: "n162" label: "ProjM 0 162" info1: "visited: 44 -irg: PRIMA_c -arity: 1 -"color: yellow} -edge: {sourcename: "n162" targetname: "n156" label: "0" class:17 priority:10 color:blue} -node: {title: "n154" label: "AddIs 154" info1: "visited: 44 -irg: PRIMA_c -arity: 2 -"} -edge: {sourcename: "n154" targetname: "n155" label: "0" class:1 priority:50} -edge: {sourcename: "n154" targetname: "n167" label: "1" class:16 priority:10} -node: {title: "n155" label: "ProjIs 2 155" info1: "visited: 44 -irg: PRIMA_c -arity: 1 -"color: yellow} -edge: {sourcename: "n155" targetname: "n156" label: "0" class:1 priority:50} -node: {title: "n156" label: "Load 156" info1: "visited: 44 -irg: PRIMA_c -arity: 2 -" info2: "mymode == mode_T && Load node"} -edge: {sourcename: "n156" targetname: "n168" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n156" targetname: "n157" label: "1" class:1 priority:50} -node: {title: "n157" label: "Sel a 157" info1: "visited: 44 -irg: PRIMA_c -arity: 2 -Selecting entity of type int - from entity of type PRIMA -"} -edge: {sourcename: "n157" targetname: "n168" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n157" targetname: "n169" label: "1" class:16 priority:10} -node: {title: "n170" label: "Jmp 170" info1: "visited: 44 -irg: PRIMA_c -arity: 0 -" info2: "mymode == mode_X && Jmp node"} -} - -graph: { title: "n152" label: "Block 152" status:clustered color:yellow -edge: {sourcename: "n152" targetname: "n192" label: "0" class:13 priority:60 color:red} -node: {title: "n168" label: "FilterM 1 168" info1: "visited: 44 -irg: PRIMA_c -arity: 1 backedges: -intra predecessor nodes: - StartT 153 -"color: yellow} -edge: {sourcename: "n168" targetname: "n187" label: "0" class:17 priority:10 color:blue} -node: {title: "n169" label: "FilterP 0 169" info1: "visited: 44 -irg: PRIMA_c -arity: 1 backedges: -intra predecessor nodes: - ProjT 159 -"color: yellow} -edge: {sourcename: "n169" targetname: "n115" label: "0" class:16 priority:10} -node: {title: "n167" label: "FilterIs 1 167" info1: "visited: 44 -irg: PRIMA_c -arity: 1 backedges: -intra predecessor nodes: - ProjT 159 -"color: yellow} -node: {title: "n167n114" label: "0x5Is 114" info1: "visited: 44 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -edge: {sourcename: "n167" targetname: "n167n114" label: "0" class:16 priority:10} -node: {title: "n151" label: "ProjX 0 151" info1: "visited: 44 -irg: PRIMA_c -arity: 1 -"color: yellow} -edge: {sourcename: "n151" targetname: "n153" label: "0" class:13 priority:60 color:red} -node: {title: "n153" label: "Start PRIMA_c 153" info1: "visited: 44 -irg: PRIMA_c -arity: 0 -start of method of type c - param 0 type: class_prima_ptr - param 1 type: int -" info2: "mymode == mode_T && Start node"color: blue} -} - -} - -node: {title: "e14" label: "ent a" color: yellow - info1: " -id: e14 -allocation: allocation_automatic -visibility: visibility_local -variability: variability_uninitialized -volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: a -ld_name: no yet set -offset: -1" -} -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: "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: e17 -allocation: allocation_static -visibility: visibility_local -variability: variability_constant -volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: set_a -ld_name: PRIMA_set_a -offset: -1 -irg = g68" -} -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" info1: "visited: 47 -arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t15" label: "method set_a" info1: "state: layout_fixed, -mode: P, -size: 4B, -variadicity: variadicity_non_variadic -params: 2 -results: 0 -"} -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: "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: "e20" label: "ent PRIMA_c" color: yellow - info1: " -id: e20 -allocation: allocation_static -visibility: visibility_local -variability: variability_constant -volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: c -ld_name: PRIMA_c -offset: -1 -irg = g90" -} -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" info1: "visited: 48 -arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t18" label: "method c" info1: "state: layout_fixed, -mode: P, -size: 4B, -variadicity: variadicity_non_variadic -params: 2 -results: 1 -"} -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: e23 -allocation: allocation_static -visibility: visibility_local -variability: variability_constant -volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: OO_PROGRAM_EXAMPLE_main -ld_name: GlobalType_OO_PROGRAM_EXAMPLE_main -offset: -1 -irg = g35" -} -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" info1: "visited: 49 -arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined -size: -1B, -peculiarity: peculiarity_existent -" color: green} -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, -variadicity: variadicity_non_variadic -params: 0 -results: 1 -"} -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: "n157" targetname: "e14"class:2 priority:2 linestyle:dotted} -edge: { sourcename: "n116" targetname: "t12"class:2 priority:2 linestyle:dotted} -edge: { sourcename: "n117" targetname: "t12"class:2 priority:2 linestyle:dotted} -edge: { sourcename: "n141" 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 deleted file mode 100644 index a4d95ad3f..000000000 --- a/testprograms/ref-results/GlobalType_OO_PROGRAM_EXAMPLE_main-wtypes.vcg +++ /dev/null @@ -1,287 +0,0 @@ -graph: { title: "ir graph of GlobalType_OO_PROGRAM_EXAMPLE_main" -display_edge_labels: no -layoutalgorithm: mindepth -manhattan_edges: yes -port_sharing: no -orientation: bottom_to_top -classname 1: "intrablock Data" -classname 16: "interblock Data" -classname 2: "Block" -classname 13: "Control Flow" -classname 14: "intrablock Memory" -classname 17: "interblock Memory" -classname 15: "Dominators" -classname 3: "Entity type" -classname 4: "Entity owner" -classname 5: "Method Param" -classname 6: "Method Res" -classname 7: "Super" -classname 8: "Union" -classname 9: "Points-to" -classname 10: "Array Element Type" -classname 11: "Overwrites" -classname 12: "Member" -infoname 1: "Attribute" -infoname 2: "Verification errors" - -graph: { title: "g35" label: "GlobalType_OO_PROGRAM_EXAMPLE_main" status:clustered color:white -graph: { title: "n105" label: "Block 105" status:clustered color:yellow -edge: {sourcename: "n105" targetname: "n106" label: "0" class:13 priority:60 color:red} -node: {title: "n103" label: "End 103" info1: "visited: 23 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 0 -"color: blue} -} - -graph: { title: "n107" label: "Block 107" status:clustered color:yellow -edge: {sourcename: "n107" targetname: "n108" label: "0" class:13 priority:60 color:red} -node: {title: "n106" label: "Return 106" info1: "visited: 23 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 2 -return in method of type OO_PROGRAM_EXAMPLE_main - res 0 type: int -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n106" targetname: "n125" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n106" targetname: "n111" label: "1" class:1 priority:50} -node: {title: "n125" label: "ProjM 0 125" info1: "visited: 23 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} -edge: {sourcename: "n125" targetname: "n113" label: "0" class:17 priority:10 color:blue} -node: {title: "n111" label: "ProjIs 0 111" info1: "visited: 23 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -" info2: "(mode == get_type_mode(get_method_res_type(mt, proj))) && Mode of Proj from Call doesn't match mode of result type."color: yellow} -edge: {sourcename: "n111" targetname: "n112" label: "0" class:1 priority:50} -node: {title: "n112" label: "ProjT 2 112" info1: "visited: 23 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} -edge: {sourcename: "n112" targetname: "n113" label: "0" class:1 priority:50} -node: {title: "n113" label: "Call 113" info1: "visited: 23 -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 -" info2: "get_Call_n_params(n) == get_method_n_params(mt) && Number of args for Call doesn't match number of args in non variadic type."} -node: {title: "n113n114" label: "0x5Is 114" info1: "visited: 23 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -edge: {sourcename: "n113" targetname: "n120" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n113" targetname: "n119" label: "1" class:1 priority:50} -edge: {sourcename: "n113" targetname: "n115" label: "2" class:1 priority:50} -edge: {sourcename: "n113" targetname: "n113n114" label: "3" class:16 priority:10} -node: {title: "n119" label: "Sel PRIMA_c 119" info1: "visited: 23 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 2 -Selecting entity of type c - from entity of type PRIMA -"} -edge: {sourcename: "n119" targetname: "n120" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n119" targetname: "n115" label: "1" class:1 priority:50} -node: {title: "n120" label: "ProjM 0 120" info1: "visited: 23 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} -edge: {sourcename: "n120" targetname: "n121" label: "0" class:17 priority:10 color:blue} -node: {title: "n121" label: "Call 121" info1: "visited: 23 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 4 -calling method of type set_a - param 0 type: class_prima_ptr - param 1 type: int -" info2: "get_Call_n_params(n) == get_method_n_params(mt) && Number of args for Call doesn't match number of args in non variadic type."} -node: {title: "n121n122" label: "0x2Is 122" info1: "visited: 23 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -edge: {sourcename: "n121" targetname: "n124" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n121" targetname: "n123" label: "1" class:1 priority:50} -edge: {sourcename: "n121" targetname: "n115" label: "2" class:1 priority:50} -edge: {sourcename: "n121" targetname: "n121n122" label: "3" class:16 priority:10} -node: {title: "n123" label: "Sel PRIMA_set_a 123" info1: "visited: 23 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 2 -Selecting entity of type set_a - from entity of type PRIMA -"} -edge: {sourcename: "n123" targetname: "n124" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n123" targetname: "n115" label: "1" class:1 priority:50} -node: {title: "n124" label: "ProjM 0 124" info1: "visited: 23 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} -edge: {sourcename: "n124" targetname: "n116" label: "0" class:17 priority:10 color:blue} -node: {title: "n115" label: "ProjP 2 115" info1: "visited: 23 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} -edge: {sourcename: "n115" targetname: "n116" label: "0" class:1 priority:50} -node: {title: "n116" label: "Alloc 116" info1: "visited: 23 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 2 -allocating entity of type PRIMA -"} -node: {title: "n116n117" label: "SymC PRIMA size 117" info1: "visited: 23 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 0 -"} -edge: {sourcename: "n116" targetname: "n118" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n116" targetname: "n116n117" label: "1" class:16 priority:10} -} - -graph: { title: "n109" label: "Block 109" status:clustered color:yellow -edge: {sourcename: "n109" targetname: "n108" label: "0" class:13 priority:60 color:red} -node: {title: "n118" label: "ProjM 1 118" info1: "visited: 23 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} -edge: {sourcename: "n118" targetname: "n110" label: "0" class:17 priority:10 color:blue} -node: {title: "n108" label: "ProjX 0 108" info1: "visited: 23 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} -edge: {sourcename: "n108" targetname: "n110" label: "0" class:13 priority:60 color:red} -node: {title: "n110" label: "Start 110" info1: "visited: 23 -irg: GlobalType_OO_PROGRAM_EXAMPLE_main -arity: 0 -start of method of type OO_PROGRAM_EXAMPLE_main -" info2: "mymode == mode_T && Start node"color: blue} -} - -} - -node: {title: "t18" label: "method c" info1: "state: layout_fixed, -mode: P, -size: 4B, -variadicity: variadicity_non_variadic -params: 2 -results: 1 -"} -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: "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: "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: e14 -allocation: allocation_automatic -visibility: visibility_local -variability: variability_uninitialized -volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: a -ld_name: no yet set -offset: -1" -} -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: "e17" label: "ent PRIMA_set_a" color: yellow - info1: " -id: e17 -allocation: allocation_static -visibility: visibility_local -variability: variability_constant -volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: set_a -ld_name: PRIMA_set_a -offset: -1 -irg = g68" -} -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" info1: "visited: 4 -arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t15" label: "method set_a" info1: "state: layout_fixed, -mode: P, -size: 4B, -variadicity: variadicity_non_variadic -params: 2 -results: 0 -"} -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: e20 -allocation: allocation_static -visibility: visibility_local -variability: variability_constant -volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: c -ld_name: PRIMA_c -offset: -1 -irg = g90" -} -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" info1: "visited: 4 -arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "e23" label: "ent GlobalType_OO_PROGRAM_EXAMPLE_main" color: yellow - info1: " -id: e23 -allocation: allocation_static -visibility: visibility_local -variability: variability_constant -volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: OO_PROGRAM_EXAMPLE_main -ld_name: GlobalType_OO_PROGRAM_EXAMPLE_main -offset: -1 -irg = g35" -} -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" info1: "visited: 4 -arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined -size: -1B, -peculiarity: peculiarity_existent -" color: green} -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, -variadicity: variadicity_non_variadic -params: 0 -results: 1 -"} -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: "n113" targetname: "t18"class:2 priority:2 linestyle:dotted} -edge: { sourcename: "n116" targetname: "t12"class:2 priority:2 linestyle:dotted} -edge: { sourcename: "n117" targetname: "t12"class:2 priority:2 linestyle:dotted} -edge: { sourcename: "n119" targetname: "e20"class:2 priority:2 linestyle:dotted} -edge: { sourcename: "n121" targetname: "t15"class:2 priority:2 linestyle:dotted} -edge: { sourcename: "n123" 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 b3b361847..94187cda5 100644 --- a/testprograms/ref-results/IF_ELSE_EXAMPLE_main.vcg +++ b/testprograms/ref-results/IF_ELSE_EXAMPLE_main.vcg @@ -24,56 +24,63 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -graph: { title: "g26" label: "IF_ELSE_EXAMPLE_main" status:clustered color:white -graph: { title: "n61" label: "Block 61" status:clustered color:yellow -edge: {sourcename: "n61" targetname: "n62" label: "0" class:13 priority:60 color:red} -node: {title: "n59" label: "End 59" info1: "visited: 16 +graph: { title: "g25" 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" class:13 priority:60 color:red} +node: {title: "n58" label: "End 58" info1: "mode: X +visited: 16 irg: IF_ELSE_EXAMPLE_main arity: 0 "color: blue} } -graph: { title: "n65" label: "Block 65" status:clustered color:yellow -edge: {sourcename: "n65" targetname: "n66" label: "0" class:13 priority:60 color:red} -node: {title: "n62" label: "Return 62" info1: "visited: 16 +graph: { title: "n64" label: "Block 64" status:clustered color:yellow +edge: {sourcename: "n64" targetname: "n65" label: "0" class:13 priority:60 color:red} +node: {title: "n61" label: "Return 61" info1: "mode: X +visited: 16 irg: IF_ELSE_EXAMPLE_main arity: 3 return in method of type IF_ELSE_EXAMPLE_main res 0 type: int res 1 type: int -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n62" targetname: "n71" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n62" targetname: "n70" label: "1" class:16 priority:10} -edge: {sourcename: "n62" targetname: "n69" label: "2" class:16 priority:10} +"} +edge: {sourcename: "n61" targetname: "n70" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n61" targetname: "n69" label: "1" class:16 priority:10} +edge: {sourcename: "n61" targetname: "n68" label: "2" class:16 priority:10} } -graph: { title: "n67" label: "Block 67" status:clustered color:yellow -edge: {sourcename: "n67" targetname: "n66" label: "0" class:13 priority:60 color:red} -node: {title: "n71" label: "ProjM 1 71" info1: "visited: 16 +graph: { title: "n66" label: "Block 66" status:clustered color:yellow +edge: {sourcename: "n66" targetname: "n65" label: "0" class:13 priority:60 color:red} +node: {title: "n70" label: "ProjM 1 70" info1: "mode: M +visited: 16 irg: IF_ELSE_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n71" targetname: "n68" label: "0" class:17 priority:10 color:blue} -node: {title: "n70" label: "0x0Is 70" info1: "visited: 16 +edge: {sourcename: "n70" targetname: "n67" label: "0" class:17 priority:10 color:blue} +node: {title: "n69" label: "0x0Is 69" info1: "mode: Is +visited: 16 irg: IF_ELSE_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n69" label: "0x2Is 69" info1: "visited: 16 +"color: yellow} +node: {title: "n68" label: "0x2Is 68" info1: "mode: Is +visited: 16 irg: IF_ELSE_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n66" label: "ProjX 0 66" info1: "visited: 16 +"color: yellow} +node: {title: "n65" label: "ProjX 0 65" info1: "mode: X +visited: 16 irg: IF_ELSE_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n66" targetname: "n68" label: "0" class:13 priority:60 color:red} -node: {title: "n68" label: "Start 68" info1: "visited: 16 +edge: {sourcename: "n65" targetname: "n67" label: "0" class:13 priority:60 color:red} +node: {title: "n67" label: "Start 67" info1: "mode: T +visited: 16 irg: IF_ELSE_EXAMPLE_main arity: 0 start of method of type IF_ELSE_EXAMPLE_main -" info2: "mymode == mode_T && Start node"color: blue} +"color: blue} } } diff --git a/testprograms/ref-results/IF_EXAMPLE_main.vcg b/testprograms/ref-results/IF_EXAMPLE_main.vcg index cc8eab694..67e2884f8 100644 --- a/testprograms/ref-results/IF_EXAMPLE_main.vcg +++ b/testprograms/ref-results/IF_EXAMPLE_main.vcg @@ -24,116 +24,133 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -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" class:13 priority:60 color:red} -node: {title: "n17" label: "End 17" info1: "visited: 8 +graph: { title: "g25" label: "IF_EXAMPLE_main" status:clustered color:white +graph: { title: "n15" label: "Block 15" status:clustered color:yellow +edge: {sourcename: "n15" targetname: "n49" label: "0" class:13 priority:60 color:red} +node: {title: "n16" label: "End 16" info1: "mode: X +visited: 8 irg: IF_EXAMPLE_main arity: 0 "color: blue} } -graph: { title: "n41" label: "Block 41" status:clustered color:yellow -edge: {sourcename: "n41" targetname: "n33" label: "0" class:13 priority:60 color:red} -edge: {sourcename: "n41" targetname: "n40" label: "1" class:13 priority:60 color:red} -node: {title: "n50" label: "Return 50" info1: "visited: 8 +graph: { title: "n40" label: "Block 40" status:clustered color:yellow +edge: {sourcename: "n40" targetname: "n32" label: "0" class:13 priority:60 color:red} +edge: {sourcename: "n40" targetname: "n39" label: "1" class:13 priority:60 color:red} +node: {title: "n49" label: "Return 49" info1: "mode: X +visited: 8 irg: IF_EXAMPLE_main arity: 2 return in method of type IF_EXAMPLE_main res 0 type: int -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n50" targetname: "n22" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n50" targetname: "n43" label: "1" class:1 priority:50} -node: {title: "n43" label: "PhiIs 43" info1: "visited: 8 +"} +edge: {sourcename: "n49" targetname: "n23" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n49" targetname: "n42" label: "1" class:1 priority:50} +node: {title: "n42" label: "PhiIs 42" info1: "mode: Is +visited: 8 irg: IF_EXAMPLE_main arity: 2 backedges: -" info2: "mode_is_dataM(mymode) && Phi node"color: green} -edge: {sourcename: "n43" targetname: "n28" label: "0" class:16 priority:10} -edge: {sourcename: "n43" targetname: "n38" label: "1" class:16 priority:10} +"color: green} +edge: {sourcename: "n42" targetname: "n27" label: "0" class:16 priority:10} +edge: {sourcename: "n42" targetname: "n37" label: "1" class:16 priority:10} } -graph: { title: "n35" label: "Block 35" status:clustered color:yellow -edge: {sourcename: "n35" targetname: "n34" label: "0" class:13 priority:60 color:red} -node: {title: "n38" label: "SubIs 38" info1: "visited: 8 +graph: { title: "n34" label: "Block 34" status:clustered color:yellow +edge: {sourcename: "n34" targetname: "n33" label: "0" class:13 priority:60 color:red} +node: {title: "n37" label: "SubIs 37" info1: "mode: Is +visited: 8 irg: IF_EXAMPLE_main arity: 2 "} -edge: {sourcename: "n38" targetname: "n28" label: "0" class:16 priority:10} -edge: {sourcename: "n38" targetname: "n36" label: "1" class:16 priority:10} -node: {title: "n40" label: "Jmp 40" info1: "visited: 8 +edge: {sourcename: "n37" targetname: "n27" label: "0" class:16 priority:10} +edge: {sourcename: "n37" targetname: "n35" label: "1" class:16 priority:10} +node: {title: "n39" label: "Jmp 39" info1: "mode: X +visited: 8 irg: IF_EXAMPLE_main arity: 0 -" info2: "mymode == mode_X && Jmp node"} +"} } -graph: { title: "n27" label: "Block 27" status:clustered color:yellow -edge: {sourcename: "n27" targetname: "n21" label: "0" class:13 priority:60 color:red} -node: {title: "n33" label: "ProjX 0 33" info1: "visited: 8 +graph: { title: "n26" label: "Block 26" status:clustered color:yellow +edge: {sourcename: "n26" targetname: "n20" label: "0" class:13 priority:60 color:red} +node: {title: "n32" label: "ProjX 0 32" info1: "mode: X +visited: 8 irg: IF_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n33" targetname: "n32" label: "0" class:13 priority:60 color:red} -node: {title: "n34" label: "ProjX 1 34" info1: "visited: 8 +edge: {sourcename: "n32" targetname: "n31" label: "0" class:13 priority:60 color:red} +node: {title: "n33" label: "ProjX 1 33" info1: "mode: X +visited: 8 irg: IF_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n34" targetname: "n32" label: "0" class:13 priority:60 color:red} -node: {title: "n32" label: "Cond 32" info1: "visited: 8 +edge: {sourcename: "n33" targetname: "n31" label: "0" class:13 priority:60 color:red} +node: {title: "n31" label: "Cond 31" info1: "mode: T +visited: 8 irg: IF_EXAMPLE_main arity: 1 -" info2: "mymode == mode_T && Cond mode is not a tuple"} -edge: {sourcename: "n32" targetname: "n31" label: "0" class:1 priority:50} -node: {title: "n31" label: "Projb Eq 31" info1: "visited: 8 +"} +edge: {sourcename: "n31" targetname: "n30" label: "0" class:1 priority:50} +node: {title: "n30" label: "Projb Eq 30" info1: "mode: b +visited: 8 irg: IF_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n31" targetname: "n30" label: "0" class:1 priority:50} -node: {title: "n30" label: "CmpT 30" info1: "visited: 8 +edge: {sourcename: "n30" targetname: "n29" label: "0" class:1 priority:50} +node: {title: "n29" label: "CmpT 29" info1: "mode: T +visited: 8 irg: IF_EXAMPLE_main arity: 2 "} -edge: {sourcename: "n30" targetname: "n28" label: "0" class:1 priority:50} -edge: {sourcename: "n30" targetname: "n29" label: "1" class:16 priority:10} -node: {title: "n28" label: "ProjIs 0 28" info1: "visited: 8 +edge: {sourcename: "n29" targetname: "n27" label: "0" class:1 priority:50} +edge: {sourcename: "n29" targetname: "n28" label: "1" class:16 priority:10} +node: {title: "n27" label: "ProjIs 0 27" info1: "mode: Is +visited: 8 irg: IF_EXAMPLE_main arity: 1 -" info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow} -edge: {sourcename: "n28" targetname: "n25" label: "0" class:16 priority:10} +"color: yellow} +edge: {sourcename: "n27" targetname: "n24" label: "0" class:16 priority:10} } -graph: { title: "n18" label: "Block 18" status:clustered color:yellow -edge: {sourcename: "n18" targetname: "n21" label: "0" class:13 priority:60 color:red} -node: {title: "n22" label: "ProjM 1 22" info1: "visited: 8 +graph: { title: "n17" label: "Block 17" status:clustered color:yellow +edge: {sourcename: "n17" targetname: "n20" label: "0" class:13 priority:60 color:red} +node: {title: "n23" label: "ProjM 1 23" info1: "mode: M +visited: 8 irg: IF_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n22" targetname: "n19" label: "0" class:17 priority:10 color:blue} -node: {title: "n36" label: "0x3Is 36" info1: "visited: 8 +edge: {sourcename: "n23" targetname: "n18" label: "0" class:17 priority:10 color:blue} +node: {title: "n35" label: "0x3Is 35" info1: "mode: Is +visited: 8 irg: IF_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n25" label: "ProjT 4 25" info1: "visited: 8 +"color: yellow} +node: {title: "n24" label: "ProjT 4 24" info1: "mode: T +visited: 8 irg: IF_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n25" targetname: "n19" label: "0" class:1 priority:50} -node: {title: "n29" label: "0x2Is 29" info1: "visited: 8 +edge: {sourcename: "n24" targetname: "n18" label: "0" class:1 priority:50} +node: {title: "n28" label: "0x2Is 28" info1: "mode: Is +visited: 8 irg: IF_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n21" label: "ProjX 0 21" info1: "visited: 8 +"color: yellow} +node: {title: "n20" label: "ProjX 0 20" info1: "mode: X +visited: 8 irg: IF_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n21" targetname: "n19" label: "0" class:13 priority:60 color:red} -node: {title: "n19" label: "Start 19" info1: "visited: 8 +edge: {sourcename: "n20" targetname: "n18" label: "0" class:13 priority:60 color:red} +node: {title: "n18" label: "Start 18" info1: "mode: T +visited: 8 irg: IF_EXAMPLE_main arity: 0 start of method of type IF_EXAMPLE_main param 0 type: int -" info2: "mymode == mode_T && Start node"color: blue} +"color: blue} } } diff --git a/testprograms/ref-results/IF_WHILE_EXAMPLE_main-pure.vcg b/testprograms/ref-results/IF_WHILE_EXAMPLE_main-pure.vcg index 4bace6640..aed33794f 100644 --- a/testprograms/ref-results/IF_WHILE_EXAMPLE_main-pure.vcg +++ b/testprograms/ref-results/IF_WHILE_EXAMPLE_main-pure.vcg @@ -24,188 +24,212 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -node: {title: "n89" label: "Start 89" info1: "visited: 17 +node: {title: "n88" label: "Start 88" info1: "mode: T +visited: 17 irg: IF_WHILE_EXAMPLE_main arity: 0 start of method of type main -" info2: "mymode == mode_T && Start node"color: blue} -edge: { sourcename: "n89" targetname: "n87" class:2 priority:50 linestyle:dotted} -node: {title: "n88" label: "ProjX 0 88" info1: "visited: 17 +"color: blue} +edge: { sourcename: "n88" targetname: "n86" class:2 priority:50 linestyle:dotted} +node: {title: "n87" label: "ProjX 0 87" info1: "mode: X +visited: 17 irg: IF_WHILE_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n88" targetname: "n89" label: "0" class:13 priority:60 color:red} -edge: { sourcename: "n88" targetname: "n87" class:2 priority:50 linestyle:dotted} -node: {title: "n87" label: "Block 87" info1: "visited: 17 +edge: {sourcename: "n87" targetname: "n88" label: "0" class:13 priority:60 color:red} +edge: { sourcename: "n87" targetname: "n86" class:2 priority:50 linestyle:dotted} +node: {title: "n86" label: "Block 86" info1: "mode: BB +visited: 17 irg: IF_WHILE_EXAMPLE_main arity: 1 backedges: -" info2: "((get_irn_irg(n) && get_irn_irg(n) == irg)) && Block node has wrong irg attribute"color: lightyellow} -edge: {sourcename: "n87" targetname: "n88" label: "0" class:13 priority:60 color:red} -node: {title: "n86" label: "0x0Iu 86" info1: "visited: 17 +"color: lightyellow} +edge: {sourcename: "n86" targetname: "n87" label: "0" class:13 priority:60 color:red} +node: {title: "n85" label: "0x0Iu 85" info1: "mode: Iu +visited: 17 irg: IF_WHILE_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -edge: { sourcename: "n86" targetname: "n87" class:2 priority:50 linestyle:dotted} -node: {title: "n85" label: "CmpT 85" info1: "visited: 17 +"color: yellow} +edge: { sourcename: "n85" targetname: "n86" class:2 priority:50 linestyle:dotted} +node: {title: "n84" label: "CmpT 84" info1: "mode: T +visited: 17 irg: IF_WHILE_EXAMPLE_main arity: 2 "} -edge: {sourcename: "n85" targetname: "n86" label: "0" class:16 priority:10} -edge: {sourcename: "n85" targetname: "n86" label: "1" class:16 priority:10} -edge: { sourcename: "n85" targetname: "n79" class:2 priority:50 linestyle:dotted} -node: {title: "n84" label: "Projb Eq 84" info1: "visited: 17 +edge: {sourcename: "n84" targetname: "n85" label: "0" class:16 priority:10} +edge: {sourcename: "n84" targetname: "n85" label: "1" class:16 priority:10} +edge: { sourcename: "n84" targetname: "n78" class:2 priority:50 linestyle:dotted} +node: {title: "n83" label: "Projb Eq 83" info1: "mode: b +visited: 17 irg: IF_WHILE_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n84" targetname: "n85" label: "0" class:1 priority:50} -edge: { sourcename: "n84" targetname: "n79" class:2 priority:50 linestyle:dotted} -node: {title: "n83" label: "Cond 83" info1: "visited: 17 +edge: {sourcename: "n83" targetname: "n84" label: "0" class:1 priority:50} +edge: { sourcename: "n83" targetname: "n78" class:2 priority:50 linestyle:dotted} +node: {title: "n82" label: "Cond 82" info1: "mode: T +visited: 17 irg: IF_WHILE_EXAMPLE_main arity: 1 -" info2: "mymode == mode_T && Cond mode is not a tuple"} -edge: {sourcename: "n83" targetname: "n84" label: "0" class:1 priority:50} -edge: { sourcename: "n83" targetname: "n79" class:2 priority:50 linestyle:dotted} -node: {title: "n82" label: "ProjX 1 82" info1: "visited: 17 +"} +edge: {sourcename: "n82" targetname: "n83" label: "0" class:1 priority:50} +edge: { sourcename: "n82" targetname: "n78" class:2 priority:50 linestyle:dotted} +node: {title: "n81" label: "ProjX 1 81" info1: "mode: X +visited: 17 irg: IF_WHILE_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n82" targetname: "n83" label: "0" class:13 priority:60 color:red} -edge: { sourcename: "n82" targetname: "n79" class:2 priority:50 linestyle:dotted} -node: {title: "n81" label: "Block 81" info1: "visited: 17 +edge: {sourcename: "n81" targetname: "n82" label: "0" class:13 priority:60 color:red} +edge: { sourcename: "n81" targetname: "n78" class:2 priority:50 linestyle:dotted} +node: {title: "n80" label: "Block 80" info1: "mode: BB +visited: 17 irg: IF_WHILE_EXAMPLE_main arity: 1 backedges: -" info2: "((get_irn_irg(n) && get_irn_irg(n) == irg)) && Block node has wrong irg attribute"color: lightyellow} -edge: {sourcename: "n81" targetname: "n82" label: "0" class:13 priority:60 color:red} -node: {title: "n80" label: "Jmp 80" info1: "visited: 17 +"color: lightyellow} +edge: {sourcename: "n80" targetname: "n81" label: "0" class:13 priority:60 color:red} +node: {title: "n79" label: "Jmp 79" info1: "mode: X +visited: 17 irg: IF_WHILE_EXAMPLE_main arity: 0 -" info2: "mymode == mode_X && Jmp node"} -edge: { sourcename: "n80" targetname: "n81" class:2 priority:50 linestyle:dotted} -node: {title: "n91" label: "Block 91" info1: "visited: 17 +"} +edge: { sourcename: "n79" targetname: "n80" class:2 priority:50 linestyle:dotted} +node: {title: "n90" label: "Block 90" info1: "mode: BB +visited: 17 irg: IF_WHILE_EXAMPLE_main arity: 1 backedges: -" info2: "((get_irn_irg(n) && get_irn_irg(n) == irg)) && Block node has wrong irg attribute"color: lightyellow} -edge: {sourcename: "n91" targetname: "n88" label: "0" class:13 priority:60 color:red} -node: {title: "n90" label: "Jmp 90" info1: "visited: 17 +"color: lightyellow} +edge: {sourcename: "n90" targetname: "n87" label: "0" class:13 priority:60 color:red} +node: {title: "n89" label: "Jmp 89" info1: "mode: X +visited: 17 irg: IF_WHILE_EXAMPLE_main arity: 0 -" info2: "mymode == mode_X && Jmp node"} -edge: { sourcename: "n90" targetname: "n91" class:2 priority:50 linestyle:dotted} -node: {title: "n79" label: "Block 79" info1: "visited: 17 +"} +edge: { sourcename: "n89" targetname: "n90" class:2 priority:50 linestyle:dotted} +node: {title: "n78" label: "Block 78" info1: "mode: BB +visited: 17 irg: IF_WHILE_EXAMPLE_main arity: 2 backedges: -" info2: "((get_irn_irg(n) && get_irn_irg(n) == irg)) && Block node has wrong irg attribute"color: lightyellow} -edge: {sourcename: "n79" targetname: "n90" label: "0" class:13 priority:60 color:red} -edge: {sourcename: "n79" targetname: "n80" label: "1" class:13 priority:60 color:red} -node: {title: "n78" label: "ProjX 0 78" info1: "visited: 17 +"color: lightyellow} +edge: {sourcename: "n78" targetname: "n89" label: "0" class:13 priority:60 color:red} +edge: {sourcename: "n78" targetname: "n79" label: "1" class:13 priority:60 color:red} +node: {title: "n77" label: "ProjX 0 77" info1: "mode: X +visited: 17 irg: IF_WHILE_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n78" targetname: "n83" label: "0" class:13 priority:60 color:red} -edge: { sourcename: "n78" targetname: "n79" class:2 priority:50 linestyle:dotted} -node: {title: "n77" label: "Block 77" info1: "visited: 17 +edge: {sourcename: "n77" targetname: "n82" label: "0" class:13 priority:60 color:red} +edge: { sourcename: "n77" targetname: "n78" class:2 priority:50 linestyle:dotted} +node: {title: "n76" label: "Block 76" info1: "mode: BB +visited: 17 irg: IF_WHILE_EXAMPLE_main arity: 1 backedges: -" info2: "((get_irn_irg(n) && get_irn_irg(n) == irg)) && Block node has wrong irg attribute"color: lightyellow} -edge: {sourcename: "n77" targetname: "n78" label: "0" class:13 priority:60 color:red} -node: {title: "n95" label: "0x0Iu 95" info1: "visited: 17 +"color: lightyellow} +edge: {sourcename: "n76" targetname: "n77" label: "0" class:13 priority:60 color:red} +node: {title: "n94" label: "0x0Iu 94" info1: "mode: Iu +visited: 17 irg: IF_WHILE_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -edge: { sourcename: "n95" targetname: "n87" class:2 priority:50 linestyle:dotted} -node: {title: "n94" label: "PhiIu 94" info1: "visited: 17 +"color: yellow} +edge: { sourcename: "n94" targetname: "n86" class:2 priority:50 linestyle:dotted} +node: {title: "n93" label: "PhiIu 93" info1: "mode: Iu +visited: 17 irg: IF_WHILE_EXAMPLE_main arity: 2 backedges: -" info2: "mode_is_dataM(mymode) && Phi node"color: green} -edge: {sourcename: "n94" targetname: "n95" label: "0" class:16 priority:10} -edge: {sourcename: "n94" targetname: "n93" label: "1" class:1 priority:50} -edge: { sourcename: "n94" targetname: "n79" class:2 priority:50 linestyle:dotted} -node: {title: "n96" label: "0x1Iu 96" info1: "visited: 17 +"color: green} +edge: {sourcename: "n93" targetname: "n94" label: "0" class:16 priority:10} +edge: {sourcename: "n93" targetname: "n92" label: "1" class:1 priority:50} +edge: { sourcename: "n93" targetname: "n78" class:2 priority:50 linestyle:dotted} +node: {title: "n95" label: "0x1Iu 95" info1: "mode: Iu +visited: 17 irg: IF_WHILE_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -edge: { sourcename: "n96" targetname: "n87" class:2 priority:50 linestyle:dotted} -node: {title: "n93" label: "PhiIu 93" info1: "visited: 17 +"color: yellow} +edge: { sourcename: "n95" targetname: "n86" class:2 priority:50 linestyle:dotted} +node: {title: "n92" label: "PhiIu 92" info1: "mode: Iu +visited: 17 irg: IF_WHILE_EXAMPLE_main arity: 2 backedges: -" info2: "mode_is_dataM(mymode) && Phi node"color: green} -edge: {sourcename: "n93" targetname: "n96" label: "0" class:16 priority:10} -edge: {sourcename: "n93" targetname: "n94" label: "1" class:1 priority:50} -edge: { sourcename: "n93" targetname: "n79" class:2 priority:50 linestyle:dotted} -node: {title: "n92" label: "SubIu 92" info1: "visited: 17 +"color: green} +edge: {sourcename: "n92" targetname: "n95" label: "0" class:16 priority:10} +edge: {sourcename: "n92" targetname: "n93" label: "1" class:1 priority:50} +edge: { sourcename: "n92" targetname: "n78" class:2 priority:50 linestyle:dotted} +node: {title: "n91" label: "SubIu 91" info1: "mode: Iu +visited: 17 irg: IF_WHILE_EXAMPLE_main arity: 2 "} -edge: {sourcename: "n92" targetname: "n94" label: "0" class:16 priority:10} -edge: {sourcename: "n92" targetname: "n93" label: "1" class:16 priority:10} -edge: { sourcename: "n92" targetname: "n77" class:2 priority:50 linestyle:dotted} -node: {title: "n97" label: "ProjM 1 97" info1: "visited: 17 +edge: {sourcename: "n91" targetname: "n93" label: "0" class:16 priority:10} +edge: {sourcename: "n91" targetname: "n92" label: "1" class:16 priority:10} +edge: { sourcename: "n91" targetname: "n76" class:2 priority:50 linestyle:dotted} +node: {title: "n96" label: "ProjM 1 96" info1: "mode: M +visited: 17 irg: IF_WHILE_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n97" targetname: "n89" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n97" targetname: "n87" class:2 priority:50 linestyle:dotted} -node: {title: "n76" label: "Return 76" info1: "visited: 17 +edge: {sourcename: "n96" targetname: "n88" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n96" targetname: "n86" class:2 priority:50 linestyle:dotted} +node: {title: "n75" label: "Return 75" info1: "mode: X +visited: 17 irg: IF_WHILE_EXAMPLE_main arity: 2 return in method of type main res 0 type: int -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n76" targetname: "n97" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n76" targetname: "n92" label: "1" class:1 priority:50} -edge: { sourcename: "n76" targetname: "n77" class:2 priority:50 linestyle:dotted} -node: {title: "n75" label: "Block 75" info1: "visited: 17 +"} +edge: {sourcename: "n75" targetname: "n96" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n75" targetname: "n91" label: "1" class:1 priority:50} +edge: { sourcename: "n75" targetname: "n76" class:2 priority:50 linestyle:dotted} +node: {title: "n74" label: "Block 74" info1: "mode: BB +visited: 17 irg: IF_WHILE_EXAMPLE_main arity: 1 backedges: -" info2: "((get_irn_irg(n) && get_irn_irg(n) == irg)) && Block node has wrong irg attribute"color: lightyellow} -edge: {sourcename: "n75" targetname: "n76" label: "0" class:13 priority:60 color:red} -node: {title: "n73" label: "End 73" info1: "visited: 17 +"color: lightyellow} +edge: {sourcename: "n74" targetname: "n75" label: "0" class:13 priority:60 color:red} +node: {title: "n72" label: "End 72" info1: "mode: X +visited: 17 irg: IF_WHILE_EXAMPLE_main arity: 0 "color: blue} -edge: { sourcename: "n73" targetname: "n75" class:2 priority:50 linestyle:dotted} -edge: {sourcename: "n89" targetname: "n88" color: red linestyle: dashed} -edge: {sourcename: "n89" targetname: "n97" color: red linestyle: dashed} -edge: {sourcename: "n88" targetname: "n91" color: red linestyle: dashed} +edge: { sourcename: "n72" targetname: "n74" class:2 priority:50 linestyle:dotted} edge: {sourcename: "n88" targetname: "n87" color: red linestyle: dashed} -edge: {sourcename: "n91" targetname: "n90" color: red linestyle: dashed} -edge: {sourcename: "n90" targetname: "n79" color: red linestyle: dashed} -edge: {sourcename: "n79" targetname: "n82" color: red linestyle: dashed} -edge: {sourcename: "n79" targetname: "n83" color: red linestyle: dashed} -edge: {sourcename: "n79" targetname: "n84" color: red linestyle: dashed} -edge: {sourcename: "n79" targetname: "n85" color: red linestyle: dashed} -edge: {sourcename: "n79" targetname: "n78" color: red linestyle: dashed} -edge: {sourcename: "n79" targetname: "n94" color: red linestyle: dashed} -edge: {sourcename: "n79" targetname: "n93" color: red linestyle: dashed} -edge: {sourcename: "n82" targetname: "n81" 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: "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: "n83" targetname: "n82" color: red linestyle: dashed} -edge: {sourcename: "n83" targetname: "n78" color: red linestyle: dashed} -edge: {sourcename: "n78" targetname: "n77" 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: "n77" targetname: "n92" color: red linestyle: dashed} edge: {sourcename: "n76" targetname: "n75" color: red linestyle: dashed} -edge: {sourcename: "n75" targetname: "n73" color: red linestyle: dashed} -edge: {sourcename: "n92" targetname: "n76" 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: "n72" 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: "n85" targetname: "n84" color: red linestyle: dashed} -edge: {sourcename: "n94" targetname: "n93" color: red linestyle: dashed} -edge: {sourcename: "n94" targetname: "n92" color: red linestyle: dashed} -edge: {sourcename: "n93" targetname: "n94" color: red linestyle: dashed} edge: {sourcename: "n93" targetname: "n92" color: red linestyle: dashed} -edge: {sourcename: "n87" targetname: "n88" color: red linestyle: dashed} -edge: {sourcename: "n87" targetname: "n89" color: red linestyle: dashed} -edge: {sourcename: "n87" targetname: "n86" color: red linestyle: dashed} -edge: {sourcename: "n87" targetname: "n97" color: red linestyle: dashed} -edge: {sourcename: "n87" targetname: "n95" color: red linestyle: dashed} -edge: {sourcename: "n87" targetname: "n96" color: red linestyle: dashed} -edge: {sourcename: "n86" targetname: "n85" 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: "n97" targetname: "n76" color: red linestyle: dashed} -edge: {sourcename: "n95" targetname: "n94" color: red linestyle: dashed} -edge: {sourcename: "n96" targetname: "n93" 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: "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 facb8f51c..5b9e02158 100644 --- a/testprograms/ref-results/IRREGULAR_CF_main-cfg.vcg +++ b/testprograms/ref-results/IRREGULAR_CF_main-cfg.vcg @@ -24,25 +24,26 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -node: {title: "n64" label: "Block n64" } -edge: { sourcename: "n64" targetname: "n66"} -node: {title: "n66" label: "Block n66" } -edge: { sourcename: "n66" targetname: "n89"} -edge: { sourcename: "n66" targetname: "n68"} -node: {title: "n68" label: "Block n68" } -edge: { sourcename: "n68" targetname: "n82"} -edge: { sourcename: "n68" targetname: "n70"} -node: {title: "n70" label: "Block n70" } -edge: { sourcename: "n70" targetname: "n72"} -node: {title: "n72" label: "Block n72" } -edge: { sourcename: "n72" targetname: "n74"} -node: {title: "n74" label: "Block n74" } -edge: { sourcename: "n74" targetname: "n74"} -node: {title: "n82" label: "Block n82" } -edge: { sourcename: "n82" targetname: "n72"} -node: {title: "n89" label: "Block n89" } -edge: { sourcename: "n89" targetname: "n82"} -node: {title: "n63" label: "Bad 63" info1: "visited: 0 +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: "n81"} +edge: { sourcename: "n67" targetname: "n69"} +node: {title: "n69" label: "Block n69" } +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: "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: "n62" label: "Bad 62" info1: "mode: T +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 377d4605c..a7f80e34e 100644 --- a/testprograms/ref-results/IRREGULAR_CF_main.vcg +++ b/testprograms/ref-results/IRREGULAR_CF_main.vcg @@ -24,143 +24,164 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -graph: { title: "g26" label: "IRREGULAR_CF_main" status:clustered color:white -graph: { title: "n64" label: "Block 64" status:clustered color:yellow -edge: {sourcename: "n64" targetname: "n65" label: "0" class:13 priority:60 color:red} -node: {title: "n62" label: "End 62" info1: "visited: 8 +graph: { title: "g25" 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" class:13 priority:60 color:red} +node: {title: "n61" label: "End 61" info1: "mode: X +visited: 8 irg: IRREGULAR_CF_main arity: 0 "color: blue} } -graph: { title: "n66" label: "Block 66" status:clustered color:yellow -edge: {sourcename: "n66" targetname: "n88" label: "0" class:13 priority:60 color:red} -edge: {sourcename: "n66" targetname: "n67" label: "1" class:13 priority:60 color:red} -node: {title: "n65" label: "Return 65" info1: "visited: 8 +graph: { title: "n65" label: "Block 65" status:clustered color:yellow +edge: {sourcename: "n65" targetname: "n87" label: "0" class:13 priority:60 color:red} +edge: {sourcename: "n65" targetname: "n66" label: "1" class:13 priority:60 color:red} +node: {title: "n64" label: "Return 64" info1: "mode: X +visited: 8 irg: IRREGULAR_CF_main arity: 1 return in method of type main -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n65" targetname: "n91" label: "0" class:17 priority:10 color:blue} +"} +edge: {sourcename: "n64" targetname: "n90" label: "0" class:17 priority:10 color:blue} } -graph: { title: "n89" label: "Block 89" status:clustered color:yellow -edge: {sourcename: "n89" targetname: "n90" label: "0" class:13 priority:60 color:red} -node: {title: "n88" label: "Jmp 88" info1: "visited: 8 +graph: { title: "n88" label: "Block 88" status:clustered color:yellow +edge: {sourcename: "n88" targetname: "n89" label: "0" class:13 priority:60 color:red} +node: {title: "n87" label: "Jmp 87" info1: "mode: X +visited: 8 irg: IRREGULAR_CF_main arity: 0 -" info2: "mymode == mode_X && Jmp node"} +"} } -graph: { title: "n68" label: "Block 68" status:clustered color:yellow -edge: {sourcename: "n68" targetname: "n81" label: "0" class:13 priority:60 color:red} -edge: {sourcename: "n68" targetname: "n69" label: "1" class:13 priority:60 color:red} -node: {title: "n67" label: "Jmp 67" info1: "visited: 8 +graph: { title: "n67" label: "Block 67" status:clustered color:yellow +edge: {sourcename: "n67" targetname: "n80" label: "0" class:13 priority:60 color:red} +edge: {sourcename: "n67" targetname: "n68" label: "1" class:13 priority:60 color:red} +node: {title: "n66" label: "Jmp 66" info1: "mode: X +visited: 8 irg: IRREGULAR_CF_main arity: 0 -" info2: "mymode == mode_X && Jmp node"} +"} } -graph: { title: "n82" label: "Block 82" status:clustered color:yellow -edge: {sourcename: "n82" targetname: "n83" label: "0" class:13 priority:60 color:red} -node: {title: "n90" label: "ProjX 0 90" info1: "visited: 8 +graph: { title: "n81" label: "Block 81" status:clustered color:yellow +edge: {sourcename: "n81" targetname: "n82" label: "0" class:13 priority:60 color:red} +node: {title: "n89" label: "ProjX 0 89" info1: "mode: X +visited: 8 irg: IRREGULAR_CF_main arity: 1 "color: yellow} -edge: {sourcename: "n90" targetname: "n84" label: "0" class:13 priority:60 color:red} -node: {title: "n81" label: "ProjX 1 81" info1: "visited: 8 +edge: {sourcename: "n89" targetname: "n83" label: "0" class:13 priority:60 color:red} +node: {title: "n80" label: "ProjX 1 80" info1: "mode: X +visited: 8 irg: IRREGULAR_CF_main arity: 1 "color: yellow} -edge: {sourcename: "n81" targetname: "n84" label: "0" class:13 priority:60 color:red} -node: {title: "n84" label: "Cond 84" info1: "visited: 8 +edge: {sourcename: "n80" targetname: "n83" label: "0" class:13 priority:60 color:red} +node: {title: "n83" label: "Cond 83" info1: "mode: T +visited: 8 irg: IRREGULAR_CF_main arity: 1 -" info2: "mymode == mode_T && Cond mode is not a tuple"} -edge: {sourcename: "n84" targetname: "n85" label: "0" class:1 priority:50} -node: {title: "n85" label: "Projb Eq 85" info1: "visited: 8 +"} +edge: {sourcename: "n83" targetname: "n84" label: "0" class:1 priority:50} +node: {title: "n84" label: "Projb Eq 84" info1: "mode: b +visited: 8 irg: IRREGULAR_CF_main arity: 1 "color: yellow} -edge: {sourcename: "n85" targetname: "n86" label: "0" class:1 priority:50} -node: {title: "n86" label: "CmpT 86" info1: "visited: 8 +edge: {sourcename: "n84" targetname: "n85" label: "0" class:1 priority:50} +node: {title: "n85" label: "CmpT 85" info1: "mode: T +visited: 8 irg: IRREGULAR_CF_main arity: 2 "} -edge: {sourcename: "n86" targetname: "n80" label: "0" class:16 priority:10} -edge: {sourcename: "n86" targetname: "n87" label: "1" class:16 priority:10} +edge: {sourcename: "n85" targetname: "n79" label: "0" class:16 priority:10} +edge: {sourcename: "n85" targetname: "n86" label: "1" class:16 priority:10} } -graph: { title: "n70" label: "Block 70" status:clustered color:yellow -edge: {sourcename: "n70" targetname: "n71" label: "0" class:13 priority:60 color:red} -node: {title: "n69" label: "Jmp 69" info1: "visited: 8 +graph: { title: "n69" label: "Block 69" status:clustered color:yellow +edge: {sourcename: "n69" targetname: "n70" label: "0" class:13 priority:60 color:red} +node: {title: "n68" label: "Jmp 68" info1: "mode: X +visited: 8 irg: IRREGULAR_CF_main arity: 0 -" info2: "mymode == mode_X && Jmp node"} +"} } -graph: { title: "n72" label: "Block 72" status:clustered color:yellow -edge: {sourcename: "n72" targetname: "n73" label: "0" class:13 priority:60 color:red} -node: {title: "n83" label: "ProjX 0 83" info1: "visited: 8 +graph: { title: "n71" label: "Block 71" status:clustered color:yellow +edge: {sourcename: "n71" targetname: "n72" label: "0" class:13 priority:60 color:red} +node: {title: "n82" label: "ProjX 0 82" info1: "mode: X +visited: 8 irg: IRREGULAR_CF_main arity: 1 "color: yellow} -edge: {sourcename: "n83" targetname: "n76" label: "0" class:13 priority:60 color:red} -node: {title: "n71" label: "ProjX 1 71" info1: "visited: 8 +edge: {sourcename: "n82" targetname: "n75" label: "0" class:13 priority:60 color:red} +node: {title: "n70" label: "ProjX 1 70" info1: "mode: X +visited: 8 irg: IRREGULAR_CF_main arity: 1 "color: yellow} -edge: {sourcename: "n71" targetname: "n76" label: "0" class:13 priority:60 color:red} -node: {title: "n76" label: "Cond 76" info1: "visited: 8 +edge: {sourcename: "n70" targetname: "n75" label: "0" class:13 priority:60 color:red} +node: {title: "n75" label: "Cond 75" info1: "mode: T +visited: 8 irg: IRREGULAR_CF_main arity: 1 -" info2: "mymode == mode_T && Cond mode is not a tuple"} -edge: {sourcename: "n76" targetname: "n77" label: "0" class:1 priority:50} -node: {title: "n77" label: "Projb Eq 77" info1: "visited: 8 +"} +edge: {sourcename: "n75" targetname: "n76" label: "0" class:1 priority:50} +node: {title: "n76" label: "Projb Eq 76" info1: "mode: b +visited: 8 irg: IRREGULAR_CF_main arity: 1 "color: yellow} -edge: {sourcename: "n77" targetname: "n78" label: "0" class:1 priority:50} -node: {title: "n78" label: "CmpT 78" info1: "visited: 8 +edge: {sourcename: "n76" targetname: "n77" label: "0" class:1 priority:50} +node: {title: "n77" label: "CmpT 77" info1: "mode: T +visited: 8 irg: IRREGULAR_CF_main arity: 2 "} -edge: {sourcename: "n78" targetname: "n80" label: "0" class:16 priority:10} -edge: {sourcename: "n78" targetname: "n79" label: "1" class:16 priority:10} +edge: {sourcename: "n77" targetname: "n79" label: "0" class:16 priority:10} +edge: {sourcename: "n77" targetname: "n78" label: "1" class:16 priority:10} } -graph: { title: "n74" label: "Block 74" status:clustered color:yellow -edge: {sourcename: "n74" targetname: "n73" label: "0" class:13 priority:60 color:red} -node: {title: "n91" label: "ProjM 1 91" info1: "visited: 8 +graph: { title: "n73" label: "Block 73" status:clustered color:yellow +edge: {sourcename: "n73" targetname: "n72" label: "0" class:13 priority:60 color:red} +node: {title: "n90" label: "ProjM 1 90" info1: "mode: M +visited: 8 irg: IRREGULAR_CF_main arity: 1 "color: yellow} -edge: {sourcename: "n91" targetname: "n75" label: "0" class:17 priority:10 color:blue} -node: {title: "n87" label: "0x2Is 87" info1: "visited: 8 +edge: {sourcename: "n90" targetname: "n74" label: "0" class:17 priority:10 color:blue} +node: {title: "n86" label: "0x2Is 86" info1: "mode: Is +visited: 8 irg: IRREGULAR_CF_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n80" label: "0x0Is 80" info1: "visited: 8 +"color: yellow} +node: {title: "n79" label: "0x0Is 79" info1: "mode: Is +visited: 8 irg: IRREGULAR_CF_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n79" label: "0x1Is 79" info1: "visited: 8 +"color: yellow} +node: {title: "n78" label: "0x1Is 78" info1: "mode: Is +visited: 8 irg: IRREGULAR_CF_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n73" label: "ProjX 0 73" info1: "visited: 8 +"color: yellow} +node: {title: "n72" label: "ProjX 0 72" info1: "mode: X +visited: 8 irg: IRREGULAR_CF_main arity: 1 "color: yellow} -edge: {sourcename: "n73" targetname: "n75" label: "0" class:13 priority:60 color:red} -node: {title: "n75" label: "Start 75" info1: "visited: 8 +edge: {sourcename: "n72" targetname: "n74" label: "0" class:13 priority:60 color:red} +node: {title: "n74" label: "Start 74" info1: "mode: T +visited: 8 irg: IRREGULAR_CF_main arity: 0 start of method of type main -" info2: "mymode == mode_T && Start node"color: blue} +"color: blue} } } diff --git a/testprograms/ref-results/IRR_LOOP_main-cfg.vcg b/testprograms/ref-results/IRR_LOOP_main-cfg.vcg index 7d7bcc34b..94880356c 100644 --- a/testprograms/ref-results/IRR_LOOP_main-cfg.vcg +++ b/testprograms/ref-results/IRR_LOOP_main-cfg.vcg @@ -24,22 +24,23 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -node: {title: "n61" label: "Block n61" } -edge: { sourcename: "n61" targetname: "n63"} -node: {title: "n63" label: "Block n63" } -edge: { sourcename: "n63" targetname: "n67"} -edge: { sourcename: "n63" targetname: "n65"} -node: {title: "n65" label: "Block n65" } -edge: { sourcename: "n65" targetname: "n78"} -edge: { sourcename: "n65" targetname: "n67"} -node: {title: "n67" label: "Block n67" } -edge: { sourcename: "n67" targetname: "n78"} -edge: { sourcename: "n67" targetname: "n65"} -node: {title: "n78" label: "Block n78" } -edge: { sourcename: "n78" targetname: "n73"} -node: {title: "n73" label: "Block n73" } -edge: { sourcename: "n73" targetname: "n73"} -node: {title: "n60" label: "Bad 60" info1: "visited: 0 +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: "n77"} +edge: { sourcename: "n64" targetname: "n66"} +node: {title: "n66" label: "Block n66" } +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: "n59" label: "Bad 59" info1: "mode: T +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 4fdf0d86c..97c38c6da 100644 --- a/testprograms/ref-results/IRR_LOOP_main.vcg +++ b/testprograms/ref-results/IRR_LOOP_main.vcg @@ -24,168 +24,194 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -graph: { title: "g26" label: "IRR_LOOP_main" status:clustered color:white -graph: { title: "n61" label: "Block 61" status:clustered color:yellow -edge: {sourcename: "n61" targetname: "n62" label: "0" class:13 priority:60 color:red} -node: {title: "n59" label: "End 59" info1: "visited: 8 +graph: { title: "g25" 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" class:13 priority:60 color:red} +node: {title: "n58" label: "End 58" info1: "mode: X +visited: 8 irg: IRR_LOOP_main arity: 3 "color: blue} } -graph: { title: "n63" label: "Block 63" status:clustered color:yellow -edge: {sourcename: "n63" targetname: "n87" label: "0" class:13 priority:60 color:red} -edge: {sourcename: "n63" targetname: "n64" label: "1" class:13 priority:60 color:red} -node: {title: "n62" label: "Return 62" info1: "visited: 8 +graph: { title: "n62" label: "Block 62" status:clustered color:yellow +edge: {sourcename: "n62" targetname: "n86" label: "0" class:13 priority:60 color:red} +edge: {sourcename: "n62" targetname: "n63" label: "1" class:13 priority:60 color:red} +node: {title: "n61" label: "Return 61" info1: "mode: X +visited: 8 irg: IRR_LOOP_main arity: 1 return in method of type main -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n62" targetname: "n88" label: "0" class:14 priority:50 color:blue} -node: {title: "n88" label: "PhiM 88" info1: "visited: 8 +"} +edge: {sourcename: "n61" targetname: "n87" label: "0" class:14 priority:50 color:blue} +node: {title: "n87" label: "PhiM 87" info1: "mode: M +visited: 8 irg: IRR_LOOP_main arity: 2 backedges: -" info2: "mode_is_dataM(mymode) && Phi node"color: green} -edge: {sourcename: "n88" targetname: "n90" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n88" targetname: "n89" label: "1" class:17 priority:10 color:blue} +"color: green} +edge: {sourcename: "n87" targetname: "n89" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n87" targetname: "n88" label: "1" class:17 priority:10 color:blue} } -graph: { title: "n65" label: "Block 65" status:clustered color:yellow -edge: {sourcename: "n65" targetname: "n86" label: "0" class:13 priority:60 color:red} -edge: {sourcename: "n65" targetname: "n66" label: "1" class:13 priority:60 color:red} -node: {title: "n89" label: "PhiM 89" info1: "visited: 8 +graph: { title: "n64" label: "Block 64" status:clustered color:yellow +edge: {sourcename: "n64" targetname: "n85" label: "0" class:13 priority:60 color:red} +edge: {sourcename: "n64" targetname: "n65" label: "1" class:13 priority:60 color:red} +node: {title: "n88" label: "PhiM 88" info1: "mode: M +visited: 8 irg: IRR_LOOP_main arity: 2 backedges: -" info2: "mode_is_dataM(mymode) && Phi node"color: green} -edge: {sourcename: "n89" targetname: "n91" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n89" targetname: "n90" label: "1" class:17 priority:10 color:blue} -node: {title: "n64" label: "ProjX 0 64" info1: "visited: 8 +"color: green} +edge: {sourcename: "n88" targetname: "n90" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n88" targetname: "n89" label: "1" class:17 priority:10 color:blue} +node: {title: "n63" label: "ProjX 0 63" info1: "mode: X +visited: 8 irg: IRR_LOOP_main arity: 1 "color: yellow} -edge: {sourcename: "n64" targetname: "n69" label: "0" class:13 priority:60 color:red} -node: {title: "n68" label: "ProjX 1 68" info1: "visited: 8 +edge: {sourcename: "n63" targetname: "n68" label: "0" class:13 priority:60 color:red} +node: {title: "n67" label: "ProjX 1 67" info1: "mode: X +visited: 8 irg: IRR_LOOP_main arity: 1 "color: yellow} -edge: {sourcename: "n68" targetname: "n69" label: "0" class:13 priority:60 color:red} -node: {title: "n69" label: "Cond 69" info1: "visited: 8 +edge: {sourcename: "n67" targetname: "n68" label: "0" class:13 priority:60 color:red} +node: {title: "n68" label: "Cond 68" info1: "mode: T +visited: 8 irg: IRR_LOOP_main arity: 1 -" info2: "mymode == mode_T && Cond mode is not a tuple"} -edge: {sourcename: "n69" targetname: "n70" label: "0" class:1 priority:50} -node: {title: "n70" label: "Projb Eq 70" info1: "visited: 8 +"} +edge: {sourcename: "n68" targetname: "n69" label: "0" class:1 priority:50} +node: {title: "n69" label: "Projb Eq 69" info1: "mode: b +visited: 8 irg: IRR_LOOP_main arity: 1 "color: yellow} -edge: {sourcename: "n70" targetname: "n71" label: "0" class:1 priority:50} -node: {title: "n71" label: "CmpT 71" info1: "visited: 8 +edge: {sourcename: "n69" targetname: "n70" label: "0" class:1 priority:50} +node: {title: "n70" label: "CmpT 70" info1: "mode: T +visited: 8 irg: IRR_LOOP_main arity: 2 "} -edge: {sourcename: "n71" targetname: "n76" label: "0" class:16 priority:10} -edge: {sourcename: "n71" targetname: "n72" label: "1" class:16 priority:10} +edge: {sourcename: "n70" targetname: "n75" label: "0" class:16 priority:10} +edge: {sourcename: "n70" targetname: "n71" label: "1" class:16 priority:10} } -graph: { title: "n67" label: "Block 67" status:clustered color:yellow -edge: {sourcename: "n67" targetname: "n77" label: "0" class:13 priority:60 color:red} -edge: {sourcename: "n67" targetname: "n68" label: "1" class:13 priority:60 color:red} -node: {title: "n90" label: "PhiM 90" info1: "visited: 8 +graph: { title: "n66" label: "Block 66" status:clustered color:yellow +edge: {sourcename: "n66" targetname: "n76" label: "0" class:13 priority:60 color:red} +edge: {sourcename: "n66" targetname: "n67" label: "1" class:13 priority:60 color:red} +node: {title: "n89" label: "PhiM 89" info1: "mode: M +visited: 8 irg: IRR_LOOP_main arity: 2 backedges: -" info2: "mode_is_dataM(mymode) && Phi node"color: green} -edge: {sourcename: "n90" targetname: "n91" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n90" targetname: "n89" label: "1" class:17 priority:10 color:blue} -node: {title: "n87" label: "ProjX 0 87" info1: "visited: 8 +"color: green} +edge: {sourcename: "n89" targetname: "n90" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n89" targetname: "n88" label: "1" class:17 priority:10 color:blue} +node: {title: "n86" label: "ProjX 0 86" info1: "mode: X +visited: 8 irg: IRR_LOOP_main arity: 1 "color: yellow} -edge: {sourcename: "n87" targetname: "n83" label: "0" class:13 priority:60 color:red} -node: {title: "n66" label: "ProjX 1 66" info1: "visited: 8 +edge: {sourcename: "n86" targetname: "n82" label: "0" class:13 priority:60 color:red} +node: {title: "n65" label: "ProjX 1 65" info1: "mode: X +visited: 8 irg: IRR_LOOP_main arity: 1 "color: yellow} -edge: {sourcename: "n66" targetname: "n83" label: "0" class:13 priority:60 color:red} -node: {title: "n83" label: "Cond 83" info1: "visited: 8 +edge: {sourcename: "n65" targetname: "n82" label: "0" class:13 priority:60 color:red} +node: {title: "n82" label: "Cond 82" info1: "mode: T +visited: 8 irg: IRR_LOOP_main arity: 1 -" info2: "mymode == mode_T && Cond mode is not a tuple"} -edge: {sourcename: "n83" targetname: "n84" label: "0" class:1 priority:50} -node: {title: "n84" label: "Projb Eq 84" info1: "visited: 8 +"} +edge: {sourcename: "n82" targetname: "n83" label: "0" class:1 priority:50} +node: {title: "n83" label: "Projb Eq 83" info1: "mode: b +visited: 8 irg: IRR_LOOP_main arity: 1 "color: yellow} -edge: {sourcename: "n84" targetname: "n85" label: "0" class:1 priority:50} -node: {title: "n85" label: "CmpT 85" info1: "visited: 8 +edge: {sourcename: "n83" targetname: "n84" label: "0" class:1 priority:50} +node: {title: "n84" label: "CmpT 84" info1: "mode: T +visited: 8 irg: IRR_LOOP_main arity: 2 "} -edge: {sourcename: "n85" targetname: "n76" label: "0" class:16 priority:10} -edge: {sourcename: "n85" targetname: "n72" label: "1" class:16 priority:10} +edge: {sourcename: "n84" targetname: "n75" label: "0" class:16 priority:10} +edge: {sourcename: "n84" targetname: "n71" label: "1" class:16 priority:10} } -graph: { title: "n78" label: "Block 78" status:clustered color:yellow -edge: {sourcename: "n78" targetname: "n74" label: "0" class:13 priority:60 color:red} -node: {title: "n86" label: "ProjX 1 86" info1: "visited: 8 +graph: { title: "n77" label: "Block 77" status:clustered color:yellow +edge: {sourcename: "n77" targetname: "n73" label: "0" class:13 priority:60 color:red} +node: {title: "n85" label: "ProjX 1 85" info1: "mode: X +visited: 8 irg: IRR_LOOP_main arity: 1 "color: yellow} -edge: {sourcename: "n86" targetname: "n79" label: "0" class:13 priority:60 color:red} -node: {title: "n77" label: "ProjX 0 77" info1: "visited: 8 +edge: {sourcename: "n85" targetname: "n78" label: "0" class:13 priority:60 color:red} +node: {title: "n76" label: "ProjX 0 76" info1: "mode: X +visited: 8 irg: IRR_LOOP_main arity: 1 "color: yellow} -edge: {sourcename: "n77" targetname: "n79" label: "0" class:13 priority:60 color:red} -node: {title: "n79" label: "Cond 79" info1: "visited: 8 +edge: {sourcename: "n76" targetname: "n78" label: "0" class:13 priority:60 color:red} +node: {title: "n78" label: "Cond 78" info1: "mode: T +visited: 8 irg: IRR_LOOP_main arity: 1 -" info2: "mymode == mode_T && Cond mode is not a tuple"} -edge: {sourcename: "n79" targetname: "n80" label: "0" class:1 priority:50} -node: {title: "n80" label: "Projb Eq 80" info1: "visited: 8 +"} +edge: {sourcename: "n78" targetname: "n79" label: "0" class:1 priority:50} +node: {title: "n79" label: "Projb Eq 79" info1: "mode: b +visited: 8 irg: IRR_LOOP_main arity: 1 "color: yellow} -edge: {sourcename: "n80" targetname: "n81" label: "0" class:1 priority:50} -node: {title: "n81" label: "CmpT 81" info1: "visited: 8 +edge: {sourcename: "n79" targetname: "n80" label: "0" class:1 priority:50} +node: {title: "n80" label: "CmpT 80" info1: "mode: T +visited: 8 irg: IRR_LOOP_main arity: 2 "} -edge: {sourcename: "n81" targetname: "n76" label: "0" class:16 priority:10} -edge: {sourcename: "n81" targetname: "n82" label: "1" class:16 priority:10} +edge: {sourcename: "n80" targetname: "n75" label: "0" class:16 priority:10} +edge: {sourcename: "n80" targetname: "n81" label: "1" class:16 priority:10} } -graph: { title: "n73" label: "Block 73" status:clustered color:yellow -edge: {sourcename: "n73" targetname: "n74" label: "0" class:13 priority:60 color:red} -node: {title: "n91" label: "ProjM 1 91" info1: "visited: 8 +graph: { title: "n72" label: "Block 72" status:clustered color:yellow +edge: {sourcename: "n72" targetname: "n73" label: "0" class:13 priority:60 color:red} +node: {title: "n90" label: "ProjM 1 90" info1: "mode: M +visited: 8 irg: IRR_LOOP_main arity: 1 "color: yellow} -edge: {sourcename: "n91" targetname: "n75" label: "0" class:17 priority:10 color:blue} -node: {title: "n82" label: "0x1Is 82" info1: "visited: 8 +edge: {sourcename: "n90" targetname: "n74" label: "0" class:17 priority:10 color:blue} +node: {title: "n81" label: "0x1Is 81" info1: "mode: Is +visited: 8 irg: IRR_LOOP_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n76" label: "0x0Is 76" info1: "visited: 8 +"color: yellow} +node: {title: "n75" label: "0x0Is 75" info1: "mode: Is +visited: 8 irg: IRR_LOOP_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n72" label: "0x2Is 72" info1: "visited: 8 +"color: yellow} +node: {title: "n71" label: "0x2Is 71" info1: "mode: Is +visited: 8 irg: IRR_LOOP_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n74" label: "ProjX 0 74" info1: "visited: 8 +"color: yellow} +node: {title: "n73" label: "ProjX 0 73" info1: "mode: X +visited: 8 irg: IRR_LOOP_main arity: 1 "color: yellow} -edge: {sourcename: "n74" targetname: "n75" label: "0" class:13 priority:60 color:red} -node: {title: "n75" label: "Start 75" info1: "visited: 8 +edge: {sourcename: "n73" targetname: "n74" label: "0" class:13 priority:60 color:red} +node: {title: "n74" label: "Start 74" info1: "mode: T +visited: 8 irg: IRR_LOOP_main arity: 0 start of method of type main -" info2: "mymode == mode_T && Start node"color: blue} +"color: blue} } } diff --git a/testprograms/ref-results/MEMORY_EXAMPLE_main.vcg b/testprograms/ref-results/MEMORY_EXAMPLE_main.vcg index 234a1fd7e..d7c690579 100644 --- a/testprograms/ref-results/MEMORY_EXAMPLE_main.vcg +++ b/testprograms/ref-results/MEMORY_EXAMPLE_main.vcg @@ -24,216 +24,250 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -graph: { title: "g27" label: "MEMORY_EXAMPLE_main" status:clustered color:white -graph: { title: "n77" label: "Block 77" status:clustered color:yellow -edge: {sourcename: "n77" targetname: "n78" label: "0" class:13 priority:60 color:red} -node: {title: "n75" label: "End 75" info1: "visited: 18 +graph: { title: "g26" 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" class:13 priority:60 color:red} +node: {title: "n74" label: "End 74" info1: "mode: X +visited: 18 irg: MEMORY_EXAMPLE_main arity: 1 "color: blue} } -graph: { title: "n79" label: "Block 79" status:clustered color:yellow -edge: {sourcename: "n79" targetname: "n80" label: "0" class:13 priority:60 color:red} -node: {title: "n78" label: "Return 78" info1: "visited: 18 +graph: { title: "n78" label: "Block 78" status:clustered color:yellow +edge: {sourcename: "n78" targetname: "n79" label: "0" class:13 priority:60 color:red} +node: {title: "n77" label: "Return 77" info1: "mode: X +visited: 18 irg: MEMORY_EXAMPLE_main arity: 2 return in method of type main res 0 type: int -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n78" targetname: "n114" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n78" targetname: "n112" label: "1" class:1 priority:50} -node: {title: "n114" label: "ProjM 0 114" info1: "visited: 18 +"} +edge: {sourcename: "n77" targetname: "n113" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n77" targetname: "n111" label: "1" class:1 priority:50} +node: {title: "n113" label: "ProjM 0 113" info1: "mode: M +visited: 18 irg: MEMORY_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n114" targetname: "n113" label: "0" class:17 priority:10 color:blue} -node: {title: "n112" label: "ProjIu 2 112" info1: "visited: 18 +edge: {sourcename: "n113" targetname: "n112" label: "0" class:17 priority:10 color:blue} +node: {title: "n111" label: "ProjIu 2 111" info1: "mode: Iu +visited: 18 irg: MEMORY_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n112" targetname: "n113" label: "0" class:1 priority:50} -node: {title: "n113" label: "Load 113" info1: "visited: 18 +edge: {sourcename: "n111" targetname: "n112" label: "0" class:1 priority:50} +node: {title: "n112" label: "Load 112" info1: "mode: T +visited: 18 irg: MEMORY_EXAMPLE_main arity: 2 -" info2: "mymode == mode_T && Load node"} -edge: {sourcename: "n113" targetname: "n96" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n113" targetname: "n88" label: "1" class:16 priority:10} +"} +edge: {sourcename: "n112" targetname: "n95" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n112" targetname: "n87" label: "1" class:16 priority:10} } -graph: { title: "n81" label: "Block 81" status:clustered color:yellow -edge: {sourcename: "n81" targetname: "n111" label: "0" class:13 priority:60 color:red} -edge: {sourcename: "n81" targetname: "n82" label: "1" class:13 priority:60 color:red} -node: {title: "n80" label: "ProjX 1 80" info1: "visited: 18 +graph: { title: "n80" label: "Block 80" status:clustered color:yellow +edge: {sourcename: "n80" targetname: "n110" label: "0" class:13 priority:60 color:red} +edge: {sourcename: "n80" targetname: "n81" label: "1" class:13 priority:60 color:red} +node: {title: "n79" label: "ProjX 1 79" info1: "mode: X +visited: 18 irg: MEMORY_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n80" targetname: "n83" label: "0" class:13 priority:60 color:red} -node: {title: "n82" label: "ProjX 0 82" info1: "visited: 18 +edge: {sourcename: "n79" targetname: "n82" label: "0" class:13 priority:60 color:red} +node: {title: "n81" label: "ProjX 0 81" info1: "mode: X +visited: 18 irg: MEMORY_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n82" targetname: "n83" label: "0" class:13 priority:60 color:red} -node: {title: "n83" label: "Cond 83" info1: "visited: 18 +edge: {sourcename: "n81" targetname: "n82" label: "0" class:13 priority:60 color:red} +node: {title: "n82" label: "Cond 82" info1: "mode: T +visited: 18 irg: MEMORY_EXAMPLE_main arity: 1 -" info2: "mymode == mode_T && Cond mode is not a tuple"} -edge: {sourcename: "n83" targetname: "n84" label: "0" class:1 priority:50} -node: {title: "n84" label: "Projb Gt 84" info1: "visited: 18 +"} +edge: {sourcename: "n82" targetname: "n83" label: "0" class:1 priority:50} +node: {title: "n83" label: "Projb Gt 83" info1: "mode: b +visited: 18 irg: MEMORY_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n84" targetname: "n85" label: "0" class:1 priority:50} -node: {title: "n85" label: "CmpT 85" info1: "visited: 18 +edge: {sourcename: "n83" targetname: "n84" label: "0" class:1 priority:50} +node: {title: "n84" label: "CmpT 84" info1: "mode: T +visited: 18 irg: MEMORY_EXAMPLE_main arity: 2 "} -edge: {sourcename: "n85" targetname: "n110" label: "0" class:16 priority:10} -edge: {sourcename: "n85" targetname: "n86" label: "1" class:1 priority:50} -node: {title: "n86" label: "ProjIu 2 86" info1: "visited: 18 +edge: {sourcename: "n84" targetname: "n109" label: "0" class:16 priority:10} +edge: {sourcename: "n84" targetname: "n85" label: "1" class:1 priority:50} +node: {title: "n85" label: "ProjIu 2 85" info1: "mode: Iu +visited: 18 irg: MEMORY_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n86" targetname: "n87" label: "0" class:1 priority:50} -node: {title: "n87" label: "Load 87" info1: "visited: 18 +edge: {sourcename: "n85" targetname: "n86" label: "0" class:1 priority:50} +node: {title: "n86" label: "Load 86" info1: "mode: T +visited: 18 irg: MEMORY_EXAMPLE_main arity: 2 -" info2: "mymode == mode_T && Load node"} -edge: {sourcename: "n87" targetname: "n95" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n87" targetname: "n88" label: "1" class:16 priority:10} -node: {title: "n95" label: "PhiM 95" info1: "visited: 18 +"} +edge: {sourcename: "n86" targetname: "n94" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n86" targetname: "n87" label: "1" class:16 priority:10} +node: {title: "n94" label: "PhiM 94" info1: "mode: M +visited: 18 irg: MEMORY_EXAMPLE_main arity: 2 backedges: -" info2: "mode_is_dataM(mymode) && Phi node"color: green} -edge: {sourcename: "n95" targetname: "n105" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n95" targetname: "n96" label: "1" class:17 priority:10 color:blue} -node: {title: "n96" label: "ProjM 0 96" info1: "visited: 18 +"color: green} +edge: {sourcename: "n94" targetname: "n104" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n94" targetname: "n95" label: "1" class:17 priority:10 color:blue} +node: {title: "n95" label: "ProjM 0 95" info1: "mode: M +visited: 18 irg: MEMORY_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n96" targetname: "n97" label: "0" class:17 priority:10 color:blue} -node: {title: "n97" label: "Store 97" info1: "visited: 18 +edge: {sourcename: "n95" targetname: "n96" label: "0" class:17 priority:10 color:blue} +node: {title: "n96" label: "Store 96" info1: "mode: T +visited: 18 irg: MEMORY_EXAMPLE_main arity: 3 -" info2: "mymode == mode_T && Store node"} -edge: {sourcename: "n97" targetname: "n99" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n97" targetname: "n98" label: "1" class:16 priority:10} -edge: {sourcename: "n97" targetname: "n86" label: "2" class:1 priority:50} -node: {title: "n99" label: "ProjM 0 99" info1: "visited: 18 +"} +edge: {sourcename: "n96" targetname: "n98" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n96" targetname: "n97" label: "1" class:16 priority:10} +edge: {sourcename: "n96" targetname: "n85" label: "2" class:1 priority:50} +node: {title: "n98" label: "ProjM 0 98" info1: "mode: M +visited: 18 irg: MEMORY_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n99" targetname: "n100" label: "0" class:17 priority:10 color:blue} -node: {title: "n100" label: "Store 100" info1: "visited: 18 +edge: {sourcename: "n98" targetname: "n99" label: "0" class:17 priority:10 color:blue} +node: {title: "n99" label: "Store 99" info1: "mode: T +visited: 18 irg: MEMORY_EXAMPLE_main arity: 3 -" info2: "mymode == mode_T && Store node"} -edge: {sourcename: "n100" targetname: "n104" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n100" targetname: "n88" label: "1" class:16 priority:10} -edge: {sourcename: "n100" targetname: "n101" label: "2" class:1 priority:50} -node: {title: "n104" label: "ProjM 0 104" info1: "visited: 18 +"} +edge: {sourcename: "n99" targetname: "n103" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n99" targetname: "n87" label: "1" class:16 priority:10} +edge: {sourcename: "n99" targetname: "n100" label: "2" class:1 priority:50} +node: {title: "n103" label: "ProjM 0 103" info1: "mode: M +visited: 18 irg: MEMORY_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n104" targetname: "n102" label: "0" class:17 priority:10 color:blue} -node: {title: "n101" label: "ProjIu 2 101" info1: "visited: 18 +edge: {sourcename: "n103" targetname: "n101" label: "0" class:17 priority:10 color:blue} +node: {title: "n100" label: "ProjIu 2 100" info1: "mode: Iu +visited: 18 irg: MEMORY_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n101" targetname: "n102" label: "0" class:1 priority:50} -node: {title: "n102" label: "Load 102" info1: "visited: 18 +edge: {sourcename: "n100" targetname: "n101" label: "0" class:1 priority:50} +node: {title: "n101" label: "Load 101" info1: "mode: T +visited: 18 irg: MEMORY_EXAMPLE_main arity: 2 -" info2: "mymode == mode_T && Load node"} -edge: {sourcename: "n102" targetname: "n103" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n102" targetname: "n98" label: "1" class:16 priority:10} -node: {title: "n103" label: "ProjM 0 103" info1: "visited: 18 +"} +edge: {sourcename: "n101" targetname: "n102" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n101" targetname: "n97" label: "1" class:16 priority:10} +node: {title: "n102" label: "ProjM 0 102" info1: "mode: M +visited: 18 irg: MEMORY_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n103" targetname: "n87" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n102" targetname: "n86" label: "0" class:17 priority:10 color:blue} } -graph: { title: "n89" label: "Block 89" status:clustered color:yellow -edge: {sourcename: "n89" targetname: "n90" label: "0" class:13 priority:60 color:red} -node: {title: "n111" label: "Jmp 111" info1: "visited: 18 +graph: { title: "n88" label: "Block 88" status:clustered color:yellow +edge: {sourcename: "n88" targetname: "n89" label: "0" class:13 priority:60 color:red} +node: {title: "n110" label: "Jmp 110" info1: "mode: X +visited: 18 irg: MEMORY_EXAMPLE_main arity: 0 -" info2: "mymode == mode_X && Jmp node"} -node: {title: "n105" label: "ProjM 0 105" info1: "visited: 18 +"} +node: {title: "n104" label: "ProjM 0 104" info1: "mode: M +visited: 18 irg: MEMORY_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n105" targetname: "n106" label: "0" class:17 priority:10 color:blue} -node: {title: "n106" label: "Store 106" info1: "visited: 18 +edge: {sourcename: "n104" targetname: "n105" label: "0" class:17 priority:10 color:blue} +node: {title: "n105" label: "Store 105" info1: "mode: T +visited: 18 irg: MEMORY_EXAMPLE_main arity: 3 -" info2: "mymode == mode_T && Store node"} -edge: {sourcename: "n106" targetname: "n108" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n106" targetname: "n98" label: "1" class:1 priority:50} -edge: {sourcename: "n106" targetname: "n107" label: "2" class:16 priority:10} -node: {title: "n108" label: "ProjM 0 108" info1: "visited: 18 +"} +edge: {sourcename: "n105" targetname: "n107" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n105" targetname: "n97" label: "1" class:1 priority:50} +edge: {sourcename: "n105" targetname: "n106" label: "2" class:16 priority:10} +node: {title: "n107" label: "ProjM 0 107" info1: "mode: M +visited: 18 irg: MEMORY_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n108" targetname: "n109" label: "0" class:17 priority:10 color:blue} -node: {title: "n109" label: "Store 109" info1: "visited: 18 +edge: {sourcename: "n107" targetname: "n108" label: "0" class:17 priority:10 color:blue} +node: {title: "n108" label: "Store 108" info1: "mode: T +visited: 18 irg: MEMORY_EXAMPLE_main arity: 3 -" info2: "mymode == mode_T && Store node"} -edge: {sourcename: "n109" targetname: "n94" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n109" targetname: "n88" label: "1" class:1 priority:50} -edge: {sourcename: "n109" targetname: "n110" label: "2" class:16 priority:10} -node: {title: "n98" label: "Sel VAR_B 98" info1: "visited: 18 +"} +edge: {sourcename: "n108" targetname: "n93" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n108" targetname: "n87" label: "1" class:1 priority:50} +edge: {sourcename: "n108" targetname: "n109" label: "2" class:16 priority:10} +node: {title: "n97" label: "Sel VAR_B 97" info1: "mode: P +visited: 18 irg: MEMORY_EXAMPLE_main arity: 2 Selecting entity of type int from entity of type GlobalType "} -edge: {sourcename: "n98" targetname: "n94" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n98" targetname: "n93" label: "1" class:16 priority:10} -node: {title: "n88" label: "Sel VAR_A 88" info1: "visited: 18 +edge: {sourcename: "n97" targetname: "n93" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n97" targetname: "n92" label: "1" class:16 priority:10} +node: {title: "n87" label: "Sel VAR_A 87" info1: "mode: P +visited: 18 irg: MEMORY_EXAMPLE_main arity: 2 Selecting entity of type int from entity of type GlobalType "} -edge: {sourcename: "n88" targetname: "n94" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n88" targetname: "n93" label: "1" class:16 priority:10} +edge: {sourcename: "n87" targetname: "n93" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n87" targetname: "n92" label: "1" class:16 priority:10} } -graph: { title: "n91" label: "Block 91" status:clustered color:yellow -edge: {sourcename: "n91" targetname: "n90" label: "0" class:13 priority:60 color:red} -node: {title: "n110" label: "0x0Iu 110" info1: "visited: 18 +graph: { title: "n90" label: "Block 90" status:clustered color:yellow +edge: {sourcename: "n90" targetname: "n89" label: "0" class:13 priority:60 color:red} +node: {title: "n109" label: "0x0Iu 109" info1: "mode: Iu +visited: 18 irg: MEMORY_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n107" label: "0x1Iu 107" info1: "visited: 18 +"color: yellow} +node: {title: "n106" label: "0x1Iu 106" info1: "mode: Iu +visited: 18 irg: MEMORY_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n94" label: "ProjM 1 94" info1: "visited: 18 +"color: yellow} +node: {title: "n93" label: "ProjM 1 93" info1: "mode: M +visited: 18 irg: MEMORY_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n94" targetname: "n92" label: "0" class:17 priority:10 color:blue} -node: {title: "n93" label: "ProjP 3 93" info1: "visited: 18 +edge: {sourcename: "n93" targetname: "n91" label: "0" class:17 priority:10 color:blue} +node: {title: "n92" label: "ProjP 3 92" info1: "mode: P +visited: 18 irg: MEMORY_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n93" targetname: "n92" label: "0" class:1 priority:50} -node: {title: "n90" label: "ProjX 0 90" info1: "visited: 18 +edge: {sourcename: "n92" targetname: "n91" label: "0" class:1 priority:50} +node: {title: "n89" label: "ProjX 0 89" info1: "mode: X +visited: 18 irg: MEMORY_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n90" targetname: "n92" label: "0" class:13 priority:60 color:red} -node: {title: "n92" label: "Start 92" info1: "visited: 18 +edge: {sourcename: "n89" targetname: "n91" label: "0" class:13 priority:60 color:red} +node: {title: "n91" label: "Start 91" info1: "mode: T +visited: 18 irg: MEMORY_EXAMPLE_main arity: 0 start of method of type main -" info2: "mymode == mode_T && Start node"color: blue} +"color: blue} } } diff --git a/testprograms/ref-results/OO_INLINE_EXAMPLE_main-wtypes.vcg b/testprograms/ref-results/OO_INLINE_EXAMPLE_main-wtypes.vcg index 8a2e4c559..fa8f6a31f 100644 --- a/testprograms/ref-results/OO_INLINE_EXAMPLE_main-wtypes.vcg +++ b/testprograms/ref-results/OO_INLINE_EXAMPLE_main-wtypes.vcg @@ -24,134 +24,155 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -graph: { title: "g35" label: "OO_INLINE_EXAMPLE_main" status:clustered color:white -graph: { title: "n195" label: "Block 195" status:clustered color:yellow -edge: {sourcename: "n195" targetname: "n197" label: "0" class:13 priority:60 color:red} -edge: {sourcename: "n195" targetname: "n196" label: "1" class:13 priority:60 color:red} -node: {title: "n199" label: "PhiM 199" info1: "visited: 26 +graph: { title: "g34" label: "OO_INLINE_EXAMPLE_main" status:clustered color:white +graph: { title: "n194" label: "Block 194" status:clustered color:yellow +edge: {sourcename: "n194" targetname: "n196" label: "0" class:13 priority:60 color:red} +edge: {sourcename: "n194" targetname: "n195" label: "1" class:13 priority:60 color:red} +node: {title: "n198" label: "PhiM 198" info1: "mode: M +visited: 26 irg: OO_INLINE_EXAMPLE_main arity: 2 backedges: -" info2: "mode_is_dataM(mymode) && Phi node"color: green} -edge: {sourcename: "n199" targetname: "n210" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n199" targetname: "n200" label: "1" class:17 priority:10 color:blue} -node: {title: "n200" label: "Store 200" info1: "visited: 26 +"color: green} +edge: {sourcename: "n198" targetname: "n209" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n198" targetname: "n199" label: "1" class:17 priority:10 color:blue} +node: {title: "n199" label: "Store 199" info1: "mode: T +visited: 26 irg: OO_INLINE_EXAMPLE_main arity: 3 -" info2: "mymode == mode_T && Store node"} -edge: {sourcename: "n200" targetname: "n199" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n200" targetname: "n205" label: "1" class:1 priority:50} -edge: {sourcename: "n200" targetname: "n201" label: "2" class:1 priority:50} -node: {title: "n205" label: "Sel a 205" info1: "visited: 26 +"} +edge: {sourcename: "n199" targetname: "n198" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n199" targetname: "n204" label: "1" class:1 priority:50} +edge: {sourcename: "n199" targetname: "n200" label: "2" class:1 priority:50} +node: {title: "n204" label: "Sel a 204" info1: "mode: P +visited: 26 irg: OO_INLINE_EXAMPLE_main arity: 2 Selecting entity of type int from entity of type PRIMA_INLINE "} -edge: {sourcename: "n205" targetname: "n199" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n205" targetname: "n206" label: "1" class:16 priority:10} -node: {title: "n201" label: "PhiIs 201" info1: "visited: 26 +edge: {sourcename: "n204" targetname: "n198" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n204" targetname: "n205" label: "1" class:16 priority:10} +node: {title: "n200" label: "PhiIs 200" info1: "mode: Is +visited: 26 irg: OO_INLINE_EXAMPLE_main arity: 2 backedges: -" info2: "mode_is_dataM(mymode) && Phi node"color: green} -edge: {sourcename: "n201" targetname: "n204" label: "0" class:16 priority:10} -edge: {sourcename: "n201" targetname: "n202" label: "1" class:1 priority:50} -node: {title: "n202" label: "PhiIs 202" info1: "visited: 26 +"color: green} +edge: {sourcename: "n200" targetname: "n203" label: "0" class:16 priority:10} +edge: {sourcename: "n200" targetname: "n201" label: "1" class:1 priority:50} +node: {title: "n201" label: "PhiIs 201" info1: "mode: Is +visited: 26 irg: OO_INLINE_EXAMPLE_main arity: 2 backedges: -" info2: "mode_is_dataM(mymode) && Phi node"color: green} -edge: {sourcename: "n202" targetname: "n203" label: "0" class:16 priority:10} -edge: {sourcename: "n202" targetname: "n201" label: "1" class:1 priority:50} -node: {title: "n196" label: "Jmp 196" info1: "visited: 26 +"color: green} +edge: {sourcename: "n201" targetname: "n202" label: "0" class:16 priority:10} +edge: {sourcename: "n201" targetname: "n200" label: "1" class:1 priority:50} +node: {title: "n195" label: "Jmp 195" info1: "mode: X +visited: 26 irg: OO_INLINE_EXAMPLE_main arity: 0 -" info2: "mymode == mode_X && Jmp node"} +"} } -graph: { title: "n198" label: "Block 198" status:clustered color:yellow -edge: {sourcename: "n198" targetname: "n193" label: "0" class:13 priority:60 color:red} -node: {title: "n210" label: "ProjM 0 210" info1: "visited: 26 +graph: { title: "n197" label: "Block 197" status:clustered color:yellow +edge: {sourcename: "n197" targetname: "n192" label: "0" class:13 priority:60 color:red} +node: {title: "n209" label: "ProjM 0 209" info1: "mode: M +visited: 26 irg: OO_INLINE_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n210" targetname: "n211" label: "0" class:17 priority:10 color:blue} -node: {title: "n211" label: "Store 211" info1: "visited: 26 +edge: {sourcename: "n209" targetname: "n210" label: "0" class:17 priority:10 color:blue} +node: {title: "n210" label: "Store 210" info1: "mode: T +visited: 26 irg: OO_INLINE_EXAMPLE_main arity: 3 -" info2: "mymode == mode_T && Store node"} -edge: {sourcename: "n211" targetname: "n214" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n211" targetname: "n213" label: "1" class:1 priority:50} -edge: {sourcename: "n211" targetname: "n212" label: "2" class:16 priority:10} -node: {title: "n213" label: "Sel a 213" info1: "visited: 26 +"} +edge: {sourcename: "n210" targetname: "n213" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n210" targetname: "n212" label: "1" class:1 priority:50} +edge: {sourcename: "n210" targetname: "n211" label: "2" class:16 priority:10} +node: {title: "n212" label: "Sel a 212" info1: "mode: P +visited: 26 irg: OO_INLINE_EXAMPLE_main arity: 2 Selecting entity of type int from entity of type PRIMA_INLINE "} -edge: {sourcename: "n213" targetname: "n214" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n213" targetname: "n206" label: "1" class:1 priority:50} -node: {title: "n214" label: "ProjM 0 214" info1: "visited: 26 +edge: {sourcename: "n212" targetname: "n213" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n212" targetname: "n205" label: "1" class:1 priority:50} +node: {title: "n213" label: "ProjM 0 213" info1: "mode: M +visited: 26 irg: OO_INLINE_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n214" targetname: "n207" label: "0" class:17 priority:10 color:blue} -node: {title: "n206" label: "ProjP 2 206" info1: "visited: 26 +edge: {sourcename: "n213" targetname: "n206" label: "0" class:17 priority:10 color:blue} +node: {title: "n205" label: "ProjP 2 205" info1: "mode: P +visited: 26 irg: OO_INLINE_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n206" targetname: "n207" label: "0" class:1 priority:50} -node: {title: "n207" label: "Alloc 207" info1: "visited: 26 +edge: {sourcename: "n205" targetname: "n206" label: "0" class:1 priority:50} +node: {title: "n206" label: "Alloc 206" info1: "mode: T +visited: 26 irg: OO_INLINE_EXAMPLE_main arity: 2 allocating entity of type PRIMA_INLINE "} -edge: {sourcename: "n207" targetname: "n209" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n207" targetname: "n208" label: "1" class:16 priority:10} -node: {title: "n203" label: "0x0Is 203" info1: "visited: 26 +edge: {sourcename: "n206" targetname: "n208" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n206" targetname: "n207" label: "1" class:16 priority:10} +node: {title: "n202" label: "0x0Is 202" info1: "mode: Is +visited: 26 irg: OO_INLINE_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n197" label: "Jmp 197" info1: "visited: 26 +"color: yellow} +node: {title: "n196" label: "Jmp 196" info1: "mode: X +visited: 26 irg: OO_INLINE_EXAMPLE_main arity: 0 -" info2: "mymode == mode_X && Jmp node"} +"} } -graph: { title: "n192" label: "Block 192" status:clustered color:yellow -edge: {sourcename: "n192" targetname: "n193" label: "0" class:13 priority:60 color:red} -node: {title: "n212" label: "0x2Is 212" info1: "visited: 26 +graph: { title: "n191" label: "Block 191" status:clustered color:yellow +edge: {sourcename: "n191" targetname: "n192" label: "0" class:13 priority:60 color:red} +node: {title: "n211" label: "0x2Is 211" info1: "mode: Is +visited: 26 irg: OO_INLINE_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n209" label: "ProjM 1 209" info1: "visited: 26 +"color: yellow} +node: {title: "n208" label: "ProjM 1 208" info1: "mode: M +visited: 26 irg: OO_INLINE_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n209" targetname: "n194" label: "0" class:17 priority:10 color:blue} -node: {title: "n208" label: "SymC PRIMA_INLINE size 208" info1: "visited: 26 +edge: {sourcename: "n208" targetname: "n193" label: "0" class:17 priority:10 color:blue} +node: {title: "n207" label: "SymC PRIMA_INLINE size 207" info1: "mode: Iu +visited: 26 irg: OO_INLINE_EXAMPLE_main arity: 0 -" info2: "(mode_is_int(mymode) || mode_is_reference(mymode)) && SymConst node"} -node: {title: "n204" label: "0x5Is 204" info1: "visited: 26 +"} +node: {title: "n203" label: "0x5Is 203" info1: "mode: Is +visited: 26 irg: OO_INLINE_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n193" label: "ProjX 0 193" info1: "visited: 26 +"color: yellow} +node: {title: "n192" label: "ProjX 0 192" info1: "mode: X +visited: 26 irg: OO_INLINE_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n193" targetname: "n194" label: "0" class:13 priority:60 color:red} -node: {title: "n194" label: "Start 194" info1: "visited: 26 +edge: {sourcename: "n192" targetname: "n193" label: "0" class:13 priority:60 color:red} +node: {title: "n193" label: "Start 193" info1: "mode: T +visited: 26 irg: OO_INLINE_EXAMPLE_main arity: 0 start of method of type OO_INLINE_EXAMPLE_main -" info2: "mymode == mode_T && Start node"color: blue} +"color: blue} } -graph: { title: "n191" label: "Block 191" status:clustered color:yellow -node: {title: "n189" label: "End 189" info1: "visited: 26 +graph: { title: "n190" label: "Block 190" status:clustered color:yellow +node: {title: "n188" label: "End 188" info1: "mode: X +visited: 26 irg: OO_INLINE_EXAMPLE_main arity: 2 "color: blue} @@ -159,130 +180,130 @@ arity: 2 } -node: {title: "e14" label: "ent a" color: yellow +node: {title: "e13" label: "ent a" color: yellow info1: " -id: e14 +id: e13 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: a -ld_name: no yet set -offset: -1" +peculiarity: peculiarity_existent +name: a +ld_name: no yet set +offset(bits): -1" } -edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red} -node: {title: "t12" label: "class PRIMA_INLINE" info1: "state: layout_undefined -size: -1B, +edge: { sourcename: "e13" targetname: "t10"class: 3 label: "type" color: red} +node: {title: "t11" label: "class PRIMA_INLINE" info1: "state: layout_undefined +size: -1b, peculiarity: peculiarity_existent " color: green} -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 +edge: { sourcename: "t11" targetname: "e13"class: 12 label: "member" color:blue} +edge: { sourcename: "t11" targetname: "e16"class: 12 label: "member" color:blue} +edge: { sourcename: "t11" targetname: "e19"class: 12 label: "member" color:blue} +node: {title: "e16" label: "ent PRIMA_INLINE_set_a" color: yellow info1: " -id: e17 +id: e16 allocation: allocation_static visibility: visibility_local variability: variability_constant volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: set_a -ld_name: PRIMA_INLINE_set_a -offset: -1 -irg = g68" +peculiarity: peculiarity_existent +name: set_a +ld_name: PRIMA_INLINE_set_a +offset(bits): -1 +irg = g67" } -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" info1: "visited: 1 +edge: { sourcename: "e16" targetname: "t14"class: 3 label: "type" color: red} +edge: { sourcename: "e16" targetname: "n15"label: "value 0"} +node: {title: "n15" label: "SymC &set_a 15" info1: "mode: P +visited: 1 arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t15" label: "method set_a" info1: "state: layout_fixed, +"} +node: {title: "t14" label: "method set_a" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, variadicity: variadicity_non_variadic params: 2 results: 0 "} -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, +edge: { sourcename: "t14" targetname: "t12"class: 5 label: "param 0" color: green} +edge: { sourcename: "t14" targetname: "t10"class: 5 label: "param 1" color: green} +node: {title: "t12" label: "pointer class_prima_ptr" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, "} -edge: { sourcename: "t13" targetname: "t12"class: 9 label: "points to" color:green} -node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, +edge: { sourcename: "t12" targetname: "t11"class: 9 label: "points to" color:green} +node: {title: "t10" label: "primitive int" info1: "state: layout_fixed, mode: Is, -size: 4B, +size: 32b, "} -node: {title: "e20" label: "ent PRIMA_INLINE_c" color: yellow +node: {title: "e19" label: "ent PRIMA_INLINE_c" color: yellow info1: " -id: e20 +id: e19 allocation: allocation_static visibility: visibility_local variability: variability_constant volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: c -ld_name: PRIMA_INLINE_c -offset: -1 -irg = g90" +peculiarity: peculiarity_existent +name: c +ld_name: PRIMA_INLINE_c +offset(bits): -1 +irg = g89" } -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" info1: "visited: 1 +edge: { sourcename: "e19" targetname: "t17"class: 3 label: "type" color: red} +edge: { sourcename: "e19" targetname: "n18"label: "value 0"} +node: {title: "n18" label: "SymC &c 18" info1: "mode: P +visited: 1 arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t18" label: "method c" info1: "state: layout_fixed, +"} +node: {title: "t17" label: "method c" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, variadicity: variadicity_non_variadic params: 2 results: 1 "} -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 +edge: { sourcename: "t17" targetname: "t12"class: 5 label: "param 0" color: green} +edge: { sourcename: "t17" targetname: "t10"class: 5 label: "param 1" color: green} +edge: { sourcename: "t17" targetname: "t10"class: 6 label: "res 0" color: green} +node: {title: "e22" label: "ent OO_INLINE_EXAMPLE_main" color: yellow info1: " -id: e23 +id: e22 allocation: allocation_static visibility: visibility_local variability: variability_constant volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: OO_INLINE_EXAMPLE_main -ld_name: no yet set -offset: -1 -irg = g35" +peculiarity: peculiarity_existent +name: OO_INLINE_EXAMPLE_main +ld_name: no yet set +offset(bits): -1 +irg = g34" } -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" info1: "visited: 1 +edge: { sourcename: "e22" targetname: "t20"class: 3 label: "type" color: red} +edge: { sourcename: "e22" targetname: "n21"label: "value 0"} +node: {title: "n21" label: "SymC &OO_INLINE_EXAMPLE_main 21" info1: "mode: P +visited: 1 arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} +"} node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined -size: -1B, +size: -1b, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "t0" targetname: "e23"class: 12 label: "member" color:blue} -node: {title: "t21" label: "method OO_INLINE_EXAMPLE_main" info1: "state: layout_fixed, +edge: { sourcename: "t0" targetname: "e22"class: 12 label: "member" color:blue} +node: {title: "t20" label: "method OO_INLINE_EXAMPLE_main" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, variadicity: variadicity_non_variadic params: 0 results: 1 "} -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, +edge: { sourcename: "t20" targetname: "t10"class: 6 label: "res 0" color: green} +node: {title: "t23" label: "class OO_INLINE_EXAMPLE_mainframe_tp" info1: "state: layout_undefined +size: -1b, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "n205" targetname: "e14"class:2 priority:2 linestyle:dotted} -edge: { sourcename: "n207" targetname: "t12"class:2 priority:2 linestyle:dotted} -edge: { sourcename: "n208" targetname: "t12"class:2 priority:2 linestyle:dotted} -edge: { sourcename: "n213" targetname: "e14"class:2 priority:2 linestyle:dotted} +edge: { sourcename: "n204" targetname: "e13"class:2 priority:2 linestyle:dotted} +edge: { sourcename: "n206" targetname: "t11"class:2 priority:2 linestyle:dotted} +edge: { sourcename: "n207" targetname: "t11"class:2 priority:2 linestyle:dotted} +edge: { sourcename: "n212" targetname: "e13"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 2a7029341..b0d0f78c3 100644 --- a/testprograms/ref-results/OO_INLINE_EXAMPLE_main.vcg +++ b/testprograms/ref-results/OO_INLINE_EXAMPLE_main.vcg @@ -24,134 +24,155 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -graph: { title: "g35" label: "OO_INLINE_EXAMPLE_main" status:clustered color:white -graph: { title: "n195" label: "Block 195" status:clustered color:yellow -edge: {sourcename: "n195" targetname: "n197" label: "0" class:13 priority:60 color:red} -edge: {sourcename: "n195" targetname: "n196" label: "1" class:13 priority:60 color:red} -node: {title: "n199" label: "PhiM 199" info1: "visited: 25 +graph: { title: "g34" label: "OO_INLINE_EXAMPLE_main" status:clustered color:white +graph: { title: "n194" label: "Block 194" status:clustered color:yellow +edge: {sourcename: "n194" targetname: "n196" label: "0" class:13 priority:60 color:red} +edge: {sourcename: "n194" targetname: "n195" label: "1" class:13 priority:60 color:red} +node: {title: "n198" label: "PhiM 198" info1: "mode: M +visited: 25 irg: OO_INLINE_EXAMPLE_main arity: 2 backedges: -" info2: "mode_is_dataM(mymode) && Phi node"color: green} -edge: {sourcename: "n199" targetname: "n210" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n199" targetname: "n200" label: "1" class:17 priority:10 color:blue} -node: {title: "n200" label: "Store 200" info1: "visited: 25 +"color: green} +edge: {sourcename: "n198" targetname: "n209" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n198" targetname: "n199" label: "1" class:17 priority:10 color:blue} +node: {title: "n199" label: "Store 199" info1: "mode: T +visited: 25 irg: OO_INLINE_EXAMPLE_main arity: 3 -" info2: "mymode == mode_T && Store node"} -edge: {sourcename: "n200" targetname: "n199" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n200" targetname: "n205" label: "1" class:1 priority:50} -edge: {sourcename: "n200" targetname: "n201" label: "2" class:1 priority:50} -node: {title: "n205" label: "Sel a 205" info1: "visited: 25 +"} +edge: {sourcename: "n199" targetname: "n198" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n199" targetname: "n204" label: "1" class:1 priority:50} +edge: {sourcename: "n199" targetname: "n200" label: "2" class:1 priority:50} +node: {title: "n204" label: "Sel a 204" info1: "mode: P +visited: 25 irg: OO_INLINE_EXAMPLE_main arity: 2 Selecting entity of type int from entity of type PRIMA_INLINE "} -edge: {sourcename: "n205" targetname: "n199" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n205" targetname: "n206" label: "1" class:16 priority:10} -node: {title: "n201" label: "PhiIs 201" info1: "visited: 25 +edge: {sourcename: "n204" targetname: "n198" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n204" targetname: "n205" label: "1" class:16 priority:10} +node: {title: "n200" label: "PhiIs 200" info1: "mode: Is +visited: 25 irg: OO_INLINE_EXAMPLE_main arity: 2 backedges: -" info2: "mode_is_dataM(mymode) && Phi node"color: green} -edge: {sourcename: "n201" targetname: "n204" label: "0" class:16 priority:10} -edge: {sourcename: "n201" targetname: "n202" label: "1" class:1 priority:50} -node: {title: "n202" label: "PhiIs 202" info1: "visited: 25 +"color: green} +edge: {sourcename: "n200" targetname: "n203" label: "0" class:16 priority:10} +edge: {sourcename: "n200" targetname: "n201" label: "1" class:1 priority:50} +node: {title: "n201" label: "PhiIs 201" info1: "mode: Is +visited: 25 irg: OO_INLINE_EXAMPLE_main arity: 2 backedges: -" info2: "mode_is_dataM(mymode) && Phi node"color: green} -edge: {sourcename: "n202" targetname: "n203" label: "0" class:16 priority:10} -edge: {sourcename: "n202" targetname: "n201" label: "1" class:1 priority:50} -node: {title: "n196" label: "Jmp 196" info1: "visited: 25 +"color: green} +edge: {sourcename: "n201" targetname: "n202" label: "0" class:16 priority:10} +edge: {sourcename: "n201" targetname: "n200" label: "1" class:1 priority:50} +node: {title: "n195" label: "Jmp 195" info1: "mode: X +visited: 25 irg: OO_INLINE_EXAMPLE_main arity: 0 -" info2: "mymode == mode_X && Jmp node"} +"} } -graph: { title: "n198" label: "Block 198" status:clustered color:yellow -edge: {sourcename: "n198" targetname: "n193" label: "0" class:13 priority:60 color:red} -node: {title: "n210" label: "ProjM 0 210" info1: "visited: 25 +graph: { title: "n197" label: "Block 197" status:clustered color:yellow +edge: {sourcename: "n197" targetname: "n192" label: "0" class:13 priority:60 color:red} +node: {title: "n209" label: "ProjM 0 209" info1: "mode: M +visited: 25 irg: OO_INLINE_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n210" targetname: "n211" label: "0" class:17 priority:10 color:blue} -node: {title: "n211" label: "Store 211" info1: "visited: 25 +edge: {sourcename: "n209" targetname: "n210" label: "0" class:17 priority:10 color:blue} +node: {title: "n210" label: "Store 210" info1: "mode: T +visited: 25 irg: OO_INLINE_EXAMPLE_main arity: 3 -" info2: "mymode == mode_T && Store node"} -edge: {sourcename: "n211" targetname: "n214" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n211" targetname: "n213" label: "1" class:1 priority:50} -edge: {sourcename: "n211" targetname: "n212" label: "2" class:16 priority:10} -node: {title: "n213" label: "Sel a 213" info1: "visited: 25 +"} +edge: {sourcename: "n210" targetname: "n213" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n210" targetname: "n212" label: "1" class:1 priority:50} +edge: {sourcename: "n210" targetname: "n211" label: "2" class:16 priority:10} +node: {title: "n212" label: "Sel a 212" info1: "mode: P +visited: 25 irg: OO_INLINE_EXAMPLE_main arity: 2 Selecting entity of type int from entity of type PRIMA_INLINE "} -edge: {sourcename: "n213" targetname: "n214" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n213" targetname: "n206" label: "1" class:1 priority:50} -node: {title: "n214" label: "ProjM 0 214" info1: "visited: 25 +edge: {sourcename: "n212" targetname: "n213" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n212" targetname: "n205" label: "1" class:1 priority:50} +node: {title: "n213" label: "ProjM 0 213" info1: "mode: M +visited: 25 irg: OO_INLINE_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n214" targetname: "n207" label: "0" class:17 priority:10 color:blue} -node: {title: "n206" label: "ProjP 2 206" info1: "visited: 25 +edge: {sourcename: "n213" targetname: "n206" label: "0" class:17 priority:10 color:blue} +node: {title: "n205" label: "ProjP 2 205" info1: "mode: P +visited: 25 irg: OO_INLINE_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n206" targetname: "n207" label: "0" class:1 priority:50} -node: {title: "n207" label: "Alloc 207" info1: "visited: 25 +edge: {sourcename: "n205" targetname: "n206" label: "0" class:1 priority:50} +node: {title: "n206" label: "Alloc 206" info1: "mode: T +visited: 25 irg: OO_INLINE_EXAMPLE_main arity: 2 allocating entity of type PRIMA_INLINE "} -edge: {sourcename: "n207" targetname: "n209" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n207" targetname: "n208" label: "1" class:16 priority:10} -node: {title: "n203" label: "0x0Is 203" info1: "visited: 25 +edge: {sourcename: "n206" targetname: "n208" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n206" targetname: "n207" label: "1" class:16 priority:10} +node: {title: "n202" label: "0x0Is 202" info1: "mode: Is +visited: 25 irg: OO_INLINE_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n197" label: "Jmp 197" info1: "visited: 25 +"color: yellow} +node: {title: "n196" label: "Jmp 196" info1: "mode: X +visited: 25 irg: OO_INLINE_EXAMPLE_main arity: 0 -" info2: "mymode == mode_X && Jmp node"} +"} } -graph: { title: "n192" label: "Block 192" status:clustered color:yellow -edge: {sourcename: "n192" targetname: "n193" label: "0" class:13 priority:60 color:red} -node: {title: "n212" label: "0x2Is 212" info1: "visited: 25 +graph: { title: "n191" label: "Block 191" status:clustered color:yellow +edge: {sourcename: "n191" targetname: "n192" label: "0" class:13 priority:60 color:red} +node: {title: "n211" label: "0x2Is 211" info1: "mode: Is +visited: 25 irg: OO_INLINE_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n209" label: "ProjM 1 209" info1: "visited: 25 +"color: yellow} +node: {title: "n208" label: "ProjM 1 208" info1: "mode: M +visited: 25 irg: OO_INLINE_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n209" targetname: "n194" label: "0" class:17 priority:10 color:blue} -node: {title: "n208" label: "SymC PRIMA_INLINE size 208" info1: "visited: 25 +edge: {sourcename: "n208" targetname: "n193" label: "0" class:17 priority:10 color:blue} +node: {title: "n207" label: "SymC PRIMA_INLINE size 207" info1: "mode: Iu +visited: 25 irg: OO_INLINE_EXAMPLE_main arity: 0 -" info2: "(mode_is_int(mymode) || mode_is_reference(mymode)) && SymConst node"} -node: {title: "n204" label: "0x5Is 204" info1: "visited: 25 +"} +node: {title: "n203" label: "0x5Is 203" info1: "mode: Is +visited: 25 irg: OO_INLINE_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n193" label: "ProjX 0 193" info1: "visited: 25 +"color: yellow} +node: {title: "n192" label: "ProjX 0 192" info1: "mode: X +visited: 25 irg: OO_INLINE_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n193" targetname: "n194" label: "0" class:13 priority:60 color:red} -node: {title: "n194" label: "Start 194" info1: "visited: 25 +edge: {sourcename: "n192" targetname: "n193" label: "0" class:13 priority:60 color:red} +node: {title: "n193" label: "Start 193" info1: "mode: T +visited: 25 irg: OO_INLINE_EXAMPLE_main arity: 0 start of method of type OO_INLINE_EXAMPLE_main -" info2: "mymode == mode_T && Start node"color: blue} +"color: blue} } -graph: { title: "n191" label: "Block 191" status:clustered color:yellow -node: {title: "n189" label: "End 189" info1: "visited: 25 +graph: { title: "n190" label: "Block 190" status:clustered color:yellow +node: {title: "n188" label: "End 188" info1: "mode: X +visited: 25 irg: OO_INLINE_EXAMPLE_main arity: 2 "color: blue} diff --git a/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-ip.vcg b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-ip.vcg new file mode 100644 index 000000000..74f8cb348 --- /dev/null +++ b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-ip.vcg @@ -0,0 +1,375 @@ +graph: { title: "ir graph of OO_PROGRAM_EXAMPLE_main" +display_edge_labels: no +layoutalgorithm: mindepth +manhattan_edges: yes +port_sharing: no +orientation: bottom_to_top +classname 1: "intrablock Data" +classname 16: "interblock Data" +classname 2: "Block" +classname 13: "Control Flow" +classname 14: "intrablock Memory" +classname 17: "interblock Memory" +classname 15: "Dominators" +classname 3: "Entity type" +classname 4: "Entity owner" +classname 5: "Method Param" +classname 6: "Method Res" +classname 7: "Super" +classname 8: "Union" +classname 9: "Points-to" +classname 10: "Array Element Type" +classname 11: "Overwrites" +classname 12: "Member" +infoname 1: "Attribute" +infoname 2: "Verification errors" + +graph: { title: "g34" 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" class:13 priority:60 color:red} +node: {title: "n102" label: "End 102" info1: "mode: X +visited: 34 +irg: OO_PROGRAM_EXAMPLE_main +arity: 2 +"color: blue} +} + +graph: { title: "n106" label: "Block 106" status:clustered color:yellow +edge: {sourcename: "n106" targetname: "n190" label: "0" class:13 priority:60 color:red} +node: {title: "n105" label: "Return 105" info1: "mode: X +visited: 34 +irg: OO_PROGRAM_EXAMPLE_main +arity: 2 +"} +edge: {sourcename: "n105" targetname: "n192" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n105" targetname: "n193" label: "1" class:1 priority:50} +node: {title: "n192" label: "FilterM 0 192" info1: "mode: M +visited: 34 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: +intra predecessor nodes: + CallT 112 +"color: yellow} +edge: {sourcename: "n192" targetname: "n161" label: "0" class:17 priority:10 color:blue} +node: {title: "n193" label: "FilterIs 0 193" info1: "mode: Is +visited: 34 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: +intra predecessor nodes: + ProjT 111 +"color: yellow} +edge: {sourcename: "n193" targetname: "n153" label: "0" class:16 priority:10} +} + +graph: { title: "n187" label: "Block 187" status:clustered color:yellow +edge: {sourcename: "n187" targetname: "n184" label: "0" class:13 priority:60 color:red} +node: {title: "n186" label: "FilterM 0 186" info1: "mode: M +visited: 34 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: +intra predecessor nodes: + CallT 120 +"color: yellow} +edge: {sourcename: "n186" targetname: "n136" label: "0" class:17 priority:10 color:blue} +node: {title: "n191" label: "ProjX 0 191" info1: "mode: X +visited: 34 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n191" targetname: "n189" label: "0" class:13 priority:60 color:red} +node: {title: "n189" label: "CallBegin 189" info1: "mode: T +visited: 34 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +possible callees: + 0: PRIMA_c +"} +node: {title: "n189n164" label: "SymC &c 164" info1: "mode: P +visited: 34 +irg: OO_PROGRAM_EXAMPLE_main +arity: 0 +"} +edge: {sourcename: "n189" targetname: "n189n164" label: "0" class:16 priority:10} +} + +graph: { title: "n181" label: "Block 181" status:clustered color:yellow +edge: {sourcename: "n181" targetname: "n107" label: "0" class:13 priority:60 color:red} +node: {title: "n123" label: "ProjM 0 123" info1: "mode: M +visited: 34 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n123" targetname: "n115" label: "0" class:17 priority:10 color:blue} +node: {title: "n114" label: "ProjP 2 114" info1: "mode: P +visited: 34 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n114" targetname: "n115" label: "0" class:1 priority:50} +node: {title: "n115" label: "Alloc 115" info1: "mode: T +visited: 34 +irg: OO_PROGRAM_EXAMPLE_main +arity: 2 +allocating entity of type PRIMA +"} +node: {title: "n115n116" label: "SymC PRIMA size 116" info1: "mode: Iu +visited: 34 +irg: OO_PROGRAM_EXAMPLE_main +arity: 0 +"} +edge: {sourcename: "n115" targetname: "n117" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n115" targetname: "n115n116" label: "1" class:16 priority:10} +node: {title: "n185" label: "ProjX 0 185" info1: "mode: X +visited: 34 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n185" targetname: "n183" label: "0" class:13 priority:60 color:red} +node: {title: "n183" label: "CallBegin 183" info1: "mode: T +visited: 34 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +possible callees: + 0: PRIMA_set_a +"} +node: {title: "n183n165" label: "SymC &set_a 165" info1: "mode: P +visited: 34 +irg: OO_PROGRAM_EXAMPLE_main +arity: 0 +"} +edge: {sourcename: "n183" targetname: "n183n165" label: "0" class:16 priority:10} +} + +graph: { title: "n108" label: "Block 108" status:clustered color:yellow +edge: {sourcename: "n108" targetname: "n107" label: "0" class:13 priority:60 color:red} +node: {title: "n117" label: "ProjM 1 117" info1: "mode: M +visited: 34 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n117" targetname: "n109" label: "0" class:17 priority:10 color:blue} +node: {title: "n107" label: "ProjX 0 107" info1: "mode: X +visited: 34 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n107" targetname: "n109" label: "0" class:13 priority:60 color:red} +node: {title: "n109" label: "Start OO_PROGRAM_EXAMPLE_main 109" info1: "mode: T +visited: 34 +irg: OO_PROGRAM_EXAMPLE_main +arity: 0 +start of method of type OO_PROGRAM_EXAMPLE_main +"color: blue} +} + +} + +graph: { title: "g67" label: "PRIMA_set_a" status:clustered color:white +graph: { title: "n178" label: "Block 178" status:clustered color:yellow +edge: {sourcename: "n178" targetname: "n177" label: "0" class:13 priority:60 color:red} +node: {title: "n184" label: "ProjX 0 184" info1: "mode: X +visited: 34 +irg: PRIMA_set_a +arity: 1 +"color: yellow} +edge: {sourcename: "n184" targetname: "n179" label: "0" class:13 priority:60 color:red} +node: {title: "n179" label: "EndReg 179" info1: "mode: T +visited: 34 +irg: PRIMA_set_a +arity: 0 +"color: blue} +} + +graph: { title: "n132" label: "Block 132" status:clustered color:yellow +edge: {sourcename: "n132" targetname: "n133" label: "0" class:13 priority:60 color:red} +node: {title: "n136" label: "ProjM 0 136" info1: "mode: M +visited: 34 +irg: PRIMA_set_a +arity: 1 +"color: yellow} +edge: {sourcename: "n136" targetname: "n137" label: "0" class:17 priority:10 color:blue} +node: {title: "n137" label: "Store 137" info1: "mode: T +visited: 34 +irg: PRIMA_set_a +arity: 3 +"} +edge: {sourcename: "n137" targetname: "n174" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n137" targetname: "n140" label: "1" class:1 priority:50} +edge: {sourcename: "n137" targetname: "n176" label: "2" class:16 priority:10} +node: {title: "n140" label: "Sel a 140" info1: "mode: P +visited: 34 +irg: PRIMA_set_a +arity: 2 +Selecting entity of type int + from entity of type PRIMA +"} +edge: {sourcename: "n140" targetname: "n174" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n140" targetname: "n175" label: "1" class:16 priority:10} +node: {title: "n177" label: "Jmp 177" info1: "mode: X +visited: 34 +irg: PRIMA_set_a +arity: 0 +"} +} + +graph: { title: "n134" label: "Block 134" status:clustered color:yellow +edge: {sourcename: "n134" targetname: "n185" label: "0" class:13 priority:60 color:red} +node: {title: "n174" label: "FilterM 1 174" info1: "mode: M +visited: 34 +irg: PRIMA_set_a +arity: 1 backedges: +intra predecessor nodes: + StartT 135 +"color: yellow} +edge: {sourcename: "n174" targetname: "n123" label: "0" class:17 priority:10 color:blue} +node: {title: "n175" label: "FilterP 0 175" info1: "mode: P +visited: 34 +irg: PRIMA_set_a +arity: 1 backedges: +intra predecessor nodes: + ProjT 139 +"color: yellow} +edge: {sourcename: "n175" targetname: "n114" label: "0" class:16 priority:10} +node: {title: "n176" label: "FilterIs 1 176" info1: "mode: Is +visited: 34 +irg: PRIMA_set_a +arity: 1 backedges: +intra predecessor nodes: + ProjT 139 +"color: yellow} +node: {title: "n176n121" label: "0x2Is 121" info1: "mode: Is +visited: 34 +irg: OO_PROGRAM_EXAMPLE_main +arity: 0 +Const of type type_unknown +"color: yellow} +edge: {sourcename: "n176" targetname: "n176n121" label: "0" class:16 priority:10} +node: {title: "n133" label: "ProjX 0 133" info1: "mode: X +visited: 34 +irg: PRIMA_set_a +arity: 1 +"color: yellow} +edge: {sourcename: "n133" targetname: "n135" label: "0" class:13 priority:60 color:red} +node: {title: "n135" label: "Start PRIMA_set_a 135" info1: "mode: T +visited: 34 +irg: PRIMA_set_a +arity: 0 +start of method of type set_a + param 0 type: class_prima_ptr + param 1 type: int +"color: blue} +} + +} + +graph: { title: "g89" label: "PRIMA_c" status:clustered color:white +graph: { title: "n170" label: "Block 170" status:clustered color:yellow +edge: {sourcename: "n170" targetname: "n169" label: "0" class:13 priority:60 color:red} +node: {title: "n190" label: "ProjX 0 190" info1: "mode: X +visited: 34 +irg: PRIMA_c +arity: 1 +"color: yellow} +edge: {sourcename: "n190" targetname: "n171" label: "0" class:13 priority:60 color:red} +node: {title: "n171" label: "EndReg 171" info1: "mode: T +visited: 34 +irg: PRIMA_c +arity: 0 +"color: blue} +} + +graph: { title: "n149" label: "Block 149" status:clustered color:yellow +edge: {sourcename: "n149" targetname: "n150" label: "0" class:13 priority:60 color:red} +node: {title: "n161" label: "ProjM 0 161" info1: "mode: M +visited: 34 +irg: PRIMA_c +arity: 1 +"color: yellow} +edge: {sourcename: "n161" targetname: "n155" label: "0" class:17 priority:10 color:blue} +node: {title: "n153" label: "AddIs 153" info1: "mode: Is +visited: 34 +irg: PRIMA_c +arity: 2 +"} +edge: {sourcename: "n153" targetname: "n154" label: "0" class:1 priority:50} +edge: {sourcename: "n153" targetname: "n166" label: "1" class:16 priority:10} +node: {title: "n154" label: "ProjIs 2 154" info1: "mode: Is +visited: 34 +irg: PRIMA_c +arity: 1 +"color: yellow} +edge: {sourcename: "n154" targetname: "n155" label: "0" class:1 priority:50} +node: {title: "n155" label: "Load 155" info1: "mode: T +visited: 34 +irg: PRIMA_c +arity: 2 +"} +edge: {sourcename: "n155" targetname: "n167" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n155" targetname: "n156" label: "1" class:1 priority:50} +node: {title: "n156" label: "Sel a 156" info1: "mode: P +visited: 34 +irg: PRIMA_c +arity: 2 +Selecting entity of type int + from entity of type PRIMA +"} +edge: {sourcename: "n156" targetname: "n167" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n156" targetname: "n168" label: "1" class:16 priority:10} +node: {title: "n169" label: "Jmp 169" info1: "mode: X +visited: 34 +irg: PRIMA_c +arity: 0 +"} +} + +graph: { title: "n151" label: "Block 151" status:clustered color:yellow +edge: {sourcename: "n151" targetname: "n191" label: "0" class:13 priority:60 color:red} +node: {title: "n167" label: "FilterM 1 167" info1: "mode: M +visited: 34 +irg: PRIMA_c +arity: 1 backedges: +intra predecessor nodes: + StartT 152 +"color: yellow} +edge: {sourcename: "n167" targetname: "n186" label: "0" class:17 priority:10 color:blue} +node: {title: "n168" label: "FilterP 0 168" info1: "mode: P +visited: 34 +irg: PRIMA_c +arity: 1 backedges: +intra predecessor nodes: + ProjT 158 +"color: yellow} +edge: {sourcename: "n168" targetname: "n114" label: "0" class:16 priority:10} +node: {title: "n166" label: "FilterIs 1 166" info1: "mode: Is +visited: 34 +irg: PRIMA_c +arity: 1 backedges: +intra predecessor nodes: + ProjT 158 +"color: yellow} +node: {title: "n166n113" label: "0x5Is 113" info1: "mode: Is +visited: 34 +irg: OO_PROGRAM_EXAMPLE_main +arity: 0 +Const of type type_unknown +"color: yellow} +edge: {sourcename: "n166" targetname: "n166n113" label: "0" class:16 priority:10} +node: {title: "n150" label: "ProjX 0 150" info1: "mode: X +visited: 34 +irg: PRIMA_c +arity: 1 +"color: yellow} +edge: {sourcename: "n150" targetname: "n152" label: "0" class:13 priority:60 color:red} +node: {title: "n152" label: "Start PRIMA_c 152" info1: "mode: T +visited: 34 +irg: PRIMA_c +arity: 0 +start of method of type c + param 0 type: class_prima_ptr + param 1 type: int +"color: blue} +} + +} + +} diff --git a/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-pure-ip.vcg b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-pure-ip.vcg new file mode 100644 index 000000000..a4f0041ac --- /dev/null +++ b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-pure-ip.vcg @@ -0,0 +1,427 @@ +graph: { title: "ir graph of OO_PROGRAM_EXAMPLE_main" +display_edge_labels: no +layoutalgorithm: mindepth +manhattan_edges: yes +port_sharing: no +orientation: bottom_to_top +classname 1: "intrablock Data" +classname 16: "interblock Data" +classname 2: "Block" +classname 13: "Control Flow" +classname 14: "intrablock Memory" +classname 17: "interblock Memory" +classname 15: "Dominators" +classname 3: "Entity type" +classname 4: "Entity owner" +classname 5: "Method Param" +classname 6: "Method Res" +classname 7: "Super" +classname 8: "Union" +classname 9: "Points-to" +classname 10: "Array Element Type" +classname 11: "Overwrites" +classname 12: "Member" +infoname 1: "Attribute" +infoname 2: "Verification errors" + +node: {title: "n108" label: "Block 108" info1: "mode: BB +visited: 32 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: +"color: lightyellow} +edge: {sourcename: "n108" targetname: "n107" label: "0" class:13 priority:60 color:red} +node: {title: "n109" label: "Start OO_PROGRAM_EXAMPLE_main 109" info1: "mode: T +visited: 32 +irg: OO_PROGRAM_EXAMPLE_main +arity: 0 +start of method of type OO_PROGRAM_EXAMPLE_main +"color: blue} +edge: { sourcename: "n109" targetname: "n108" class:2 priority:50 linestyle:dotted} +node: {title: "n107" label: "ProjX 0 107" info1: "mode: X +visited: 32 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n107" targetname: "n109" label: "0" class:13 priority:60 color:red} +edge: { sourcename: "n107" targetname: "n108" class:2 priority:50 linestyle:dotted} +node: {title: "n181" label: "Block 181" info1: "mode: BB +visited: 32 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: +"color: lightyellow} +edge: {sourcename: "n181" targetname: "n107" label: "0" class:13 priority:60 color:red} +node: {title: "n183" label: "CallBegin 183" info1: "mode: T +visited: 32 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +possible callees: + 0: PRIMA_set_a +"} +node: {title: "n183n165" label: "SymC &set_a 165" info1: "mode: P +visited: 32 +irg: OO_PROGRAM_EXAMPLE_main +arity: 0 +"} +edge: {sourcename: "n183" targetname: "n183n165" label: "0" class:16 priority:10} +edge: { sourcename: "n183" targetname: "n181" class:2 priority:50 linestyle:dotted} +node: {title: "n185" label: "ProjX 0 185" info1: "mode: X +visited: 32 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n185" targetname: "n183" label: "0" class:13 priority:60 color:red} +edge: { sourcename: "n185" targetname: "n181" class:2 priority:50 linestyle:dotted} +node: {title: "n134" label: "Block 134" info1: "mode: BB +visited: 32 +irg: PRIMA_set_a +arity: 1 backedges: +"color: lightyellow} +edge: {sourcename: "n134" targetname: "n185" label: "0" class:13 priority:60 color:red} +node: {title: "n135" label: "Start PRIMA_set_a 135" info1: "mode: T +visited: 32 +irg: PRIMA_set_a +arity: 0 +start of method of type set_a + param 0 type: class_prima_ptr + param 1 type: int +"color: blue} +edge: { sourcename: "n135" targetname: "n134" class:2 priority:50 linestyle:dotted} +node: {title: "n133" label: "ProjX 0 133" info1: "mode: X +visited: 32 +irg: PRIMA_set_a +arity: 1 +"color: yellow} +edge: {sourcename: "n133" targetname: "n135" label: "0" class:13 priority:60 color:red} +edge: { sourcename: "n133" targetname: "n134" class:2 priority:50 linestyle:dotted} +node: {title: "n132" label: "Block 132" info1: "mode: BB +visited: 32 +irg: PRIMA_set_a +arity: 1 backedges: +"color: lightyellow} +edge: {sourcename: "n132" targetname: "n133" label: "0" class:13 priority:60 color:red} +node: {title: "n177" label: "Jmp 177" info1: "mode: X +visited: 32 +irg: PRIMA_set_a +arity: 0 +"} +edge: { sourcename: "n177" targetname: "n132" class:2 priority:50 linestyle:dotted} +node: {title: "n178" label: "Block 178" info1: "mode: BB +visited: 32 +irg: PRIMA_set_a +arity: 1 backedges: +"color: lightyellow} +edge: {sourcename: "n178" targetname: "n177" label: "0" class:13 priority:60 color:red} +node: {title: "n179" label: "EndReg 179" info1: "mode: T +visited: 32 +irg: PRIMA_set_a +arity: 0 +"color: blue} +edge: { sourcename: "n179" targetname: "n178" class:2 priority:50 linestyle:dotted} +node: {title: "n184" label: "ProjX 0 184" info1: "mode: X +visited: 32 +irg: PRIMA_set_a +arity: 1 +"color: yellow} +edge: {sourcename: "n184" targetname: "n179" label: "0" class:13 priority:60 color:red} +edge: { sourcename: "n184" targetname: "n178" class:2 priority:50 linestyle:dotted} +node: {title: "n187" label: "Block 187" info1: "mode: BB +visited: 32 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: +"color: lightyellow} +edge: {sourcename: "n187" targetname: "n184" label: "0" class:13 priority:60 color:red} +node: {title: "n189" label: "CallBegin 189" info1: "mode: T +visited: 32 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +possible callees: + 0: PRIMA_c +"} +node: {title: "n189n164" label: "SymC &c 164" info1: "mode: P +visited: 32 +irg: OO_PROGRAM_EXAMPLE_main +arity: 0 +"} +edge: {sourcename: "n189" targetname: "n189n164" label: "0" class:16 priority:10} +edge: { sourcename: "n189" targetname: "n187" class:2 priority:50 linestyle:dotted} +node: {title: "n191" label: "ProjX 0 191" info1: "mode: X +visited: 32 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n191" targetname: "n189" label: "0" class:13 priority:60 color:red} +edge: { sourcename: "n191" targetname: "n187" class:2 priority:50 linestyle:dotted} +node: {title: "n151" label: "Block 151" info1: "mode: BB +visited: 32 +irg: PRIMA_c +arity: 1 backedges: +"color: lightyellow} +edge: {sourcename: "n151" targetname: "n191" label: "0" class:13 priority:60 color:red} +node: {title: "n152" label: "Start PRIMA_c 152" info1: "mode: T +visited: 32 +irg: PRIMA_c +arity: 0 +start of method of type c + param 0 type: class_prima_ptr + param 1 type: int +"color: blue} +edge: { sourcename: "n152" targetname: "n151" class:2 priority:50 linestyle:dotted} +node: {title: "n150" label: "ProjX 0 150" info1: "mode: X +visited: 32 +irg: PRIMA_c +arity: 1 +"color: yellow} +edge: {sourcename: "n150" targetname: "n152" label: "0" class:13 priority:60 color:red} +edge: { sourcename: "n150" targetname: "n151" class:2 priority:50 linestyle:dotted} +node: {title: "n149" label: "Block 149" info1: "mode: BB +visited: 32 +irg: PRIMA_c +arity: 1 backedges: +"color: lightyellow} +edge: {sourcename: "n149" targetname: "n150" label: "0" class:13 priority:60 color:red} +node: {title: "n169" label: "Jmp 169" info1: "mode: X +visited: 32 +irg: PRIMA_c +arity: 0 +"} +edge: { sourcename: "n169" targetname: "n149" class:2 priority:50 linestyle:dotted} +node: {title: "n170" label: "Block 170" info1: "mode: BB +visited: 32 +irg: PRIMA_c +arity: 1 backedges: +"color: lightyellow} +edge: {sourcename: "n170" targetname: "n169" label: "0" class:13 priority:60 color:red} +node: {title: "n171" label: "EndReg 171" info1: "mode: T +visited: 32 +irg: PRIMA_c +arity: 0 +"color: blue} +edge: { sourcename: "n171" targetname: "n170" class:2 priority:50 linestyle:dotted} +node: {title: "n190" label: "ProjX 0 190" info1: "mode: X +visited: 32 +irg: PRIMA_c +arity: 1 +"color: yellow} +edge: {sourcename: "n190" targetname: "n171" label: "0" class:13 priority:60 color:red} +edge: { sourcename: "n190" targetname: "n170" class:2 priority:50 linestyle:dotted} +node: {title: "n106" label: "Block 106" info1: "mode: BB +visited: 32 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: +"color: lightyellow} +edge: {sourcename: "n106" targetname: "n190" label: "0" class:13 priority:60 color:red} +node: {title: "n166" label: "FilterIs 1 166" info1: "mode: Is +visited: 32 +irg: PRIMA_c +arity: 1 backedges: +intra predecessor nodes: + ProjT 158 +"color: yellow} +node: {title: "n166n113" label: "0x5Is 113" info1: "mode: Is +visited: 32 +irg: OO_PROGRAM_EXAMPLE_main +arity: 0 +Const of type type_unknown +"color: yellow} +edge: {sourcename: "n166" targetname: "n166n113" label: "0" class:16 priority:10} +edge: { sourcename: "n166" targetname: "n151" class:2 priority:50 linestyle:dotted} +node: {title: "n117" label: "ProjM 1 117" info1: "mode: M +visited: 32 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n117" targetname: "n109" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n117" targetname: "n108" class:2 priority:50 linestyle:dotted} +node: {title: "n115" label: "Alloc 115" info1: "mode: T +visited: 32 +irg: OO_PROGRAM_EXAMPLE_main +arity: 2 +allocating entity of type PRIMA +"} +node: {title: "n115n116" label: "SymC PRIMA size 116" info1: "mode: Iu +visited: 32 +irg: OO_PROGRAM_EXAMPLE_main +arity: 0 +"} +edge: {sourcename: "n115" targetname: "n117" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n115" targetname: "n115n116" label: "1" class:16 priority:10} +edge: { sourcename: "n115" targetname: "n181" class:2 priority:50 linestyle:dotted} +node: {title: "n114" label: "ProjP 2 114" info1: "mode: P +visited: 32 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n114" targetname: "n115" label: "0" class:1 priority:50} +edge: { sourcename: "n114" targetname: "n181" class:2 priority:50 linestyle:dotted} +node: {title: "n168" label: "FilterP 0 168" info1: "mode: P +visited: 32 +irg: PRIMA_c +arity: 1 backedges: +intra predecessor nodes: + ProjT 158 +"color: yellow} +edge: {sourcename: "n168" targetname: "n114" label: "0" class:16 priority:10} +edge: { sourcename: "n168" targetname: "n151" class:2 priority:50 linestyle:dotted} +node: {title: "n176" label: "FilterIs 1 176" info1: "mode: Is +visited: 32 +irg: PRIMA_set_a +arity: 1 backedges: +intra predecessor nodes: + ProjT 139 +"color: yellow} +node: {title: "n176n121" label: "0x2Is 121" info1: "mode: Is +visited: 32 +irg: OO_PROGRAM_EXAMPLE_main +arity: 0 +Const of type type_unknown +"color: yellow} +edge: {sourcename: "n176" targetname: "n176n121" label: "0" class:16 priority:10} +edge: { sourcename: "n176" targetname: "n134" class:2 priority:50 linestyle:dotted} +node: {title: "n175" label: "FilterP 0 175" info1: "mode: P +visited: 32 +irg: PRIMA_set_a +arity: 1 backedges: +intra predecessor nodes: + ProjT 139 +"color: yellow} +edge: {sourcename: "n175" targetname: "n114" label: "0" class:16 priority:10} +edge: { sourcename: "n175" targetname: "n134" class:2 priority:50 linestyle:dotted} +node: {title: "n123" label: "ProjM 0 123" info1: "mode: M +visited: 32 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n123" targetname: "n115" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n123" targetname: "n181" class:2 priority:50 linestyle:dotted} +node: {title: "n174" label: "FilterM 1 174" info1: "mode: M +visited: 32 +irg: PRIMA_set_a +arity: 1 backedges: +intra predecessor nodes: + StartT 135 +"color: yellow} +edge: {sourcename: "n174" targetname: "n123" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n174" targetname: "n134" class:2 priority:50 linestyle:dotted} +node: {title: "n140" label: "Sel a 140" info1: "mode: P +visited: 32 +irg: PRIMA_set_a +arity: 2 +Selecting entity of type int + from entity of type PRIMA +"} +edge: {sourcename: "n140" targetname: "n174" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n140" targetname: "n175" label: "1" class:16 priority:10} +edge: { sourcename: "n140" targetname: "n132" class:2 priority:50 linestyle:dotted} +node: {title: "n137" label: "Store 137" info1: "mode: T +visited: 32 +irg: PRIMA_set_a +arity: 3 +"} +edge: {sourcename: "n137" targetname: "n174" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n137" targetname: "n140" label: "1" class:1 priority:50} +edge: {sourcename: "n137" targetname: "n176" label: "2" class:16 priority:10} +edge: { sourcename: "n137" targetname: "n132" class:2 priority:50 linestyle:dotted} +node: {title: "n136" label: "ProjM 0 136" info1: "mode: M +visited: 32 +irg: PRIMA_set_a +arity: 1 +"color: yellow} +edge: {sourcename: "n136" targetname: "n137" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n136" targetname: "n132" class:2 priority:50 linestyle:dotted} +node: {title: "n186" label: "FilterM 0 186" info1: "mode: M +visited: 32 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: +intra predecessor nodes: + CallT 120 +"color: yellow} +edge: {sourcename: "n186" targetname: "n136" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n186" targetname: "n187" class:2 priority:50 linestyle:dotted} +node: {title: "n167" label: "FilterM 1 167" info1: "mode: M +visited: 32 +irg: PRIMA_c +arity: 1 backedges: +intra predecessor nodes: + StartT 152 +"color: yellow} +edge: {sourcename: "n167" targetname: "n186" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n167" targetname: "n151" class:2 priority:50 linestyle:dotted} +node: {title: "n156" label: "Sel a 156" info1: "mode: P +visited: 32 +irg: PRIMA_c +arity: 2 +Selecting entity of type int + from entity of type PRIMA +"} +edge: {sourcename: "n156" targetname: "n167" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n156" targetname: "n168" label: "1" class:16 priority:10} +edge: { sourcename: "n156" targetname: "n149" class:2 priority:50 linestyle:dotted} +node: {title: "n155" label: "Load 155" info1: "mode: T +visited: 32 +irg: PRIMA_c +arity: 2 +"} +edge: {sourcename: "n155" targetname: "n167" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n155" targetname: "n156" label: "1" class:1 priority:50} +edge: { sourcename: "n155" targetname: "n149" class:2 priority:50 linestyle:dotted} +node: {title: "n154" label: "ProjIs 2 154" info1: "mode: Is +visited: 32 +irg: PRIMA_c +arity: 1 +"color: yellow} +edge: {sourcename: "n154" targetname: "n155" label: "0" class:1 priority:50} +edge: { sourcename: "n154" targetname: "n149" class:2 priority:50 linestyle:dotted} +node: {title: "n153" label: "AddIs 153" info1: "mode: Is +visited: 32 +irg: PRIMA_c +arity: 2 +"} +edge: {sourcename: "n153" targetname: "n154" label: "0" class:1 priority:50} +edge: {sourcename: "n153" targetname: "n166" label: "1" class:16 priority:10} +edge: { sourcename: "n153" targetname: "n149" class:2 priority:50 linestyle:dotted} +node: {title: "n193" label: "FilterIs 0 193" info1: "mode: Is +visited: 32 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: +intra predecessor nodes: + ProjT 111 +"color: yellow} +edge: {sourcename: "n193" targetname: "n153" label: "0" class:16 priority:10} +edge: { sourcename: "n193" targetname: "n106" class:2 priority:50 linestyle:dotted} +node: {title: "n161" label: "ProjM 0 161" info1: "mode: M +visited: 32 +irg: PRIMA_c +arity: 1 +"color: yellow} +edge: {sourcename: "n161" targetname: "n155" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n161" targetname: "n149" class:2 priority:50 linestyle:dotted} +node: {title: "n192" label: "FilterM 0 192" info1: "mode: M +visited: 32 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: +intra predecessor nodes: + CallT 112 +"color: yellow} +edge: {sourcename: "n192" targetname: "n161" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n192" targetname: "n106" class:2 priority:50 linestyle:dotted} +node: {title: "n105" label: "Return 105" info1: "mode: X +visited: 32 +irg: OO_PROGRAM_EXAMPLE_main +arity: 2 +"} +edge: {sourcename: "n105" targetname: "n192" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n105" targetname: "n193" label: "1" class:1 priority:50} +edge: { sourcename: "n105" targetname: "n106" class:2 priority:50 linestyle:dotted} +node: {title: "n104" label: "Block 104" info1: "mode: BB +visited: 32 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: +"color: lightyellow} +edge: {sourcename: "n104" targetname: "n105" label: "0" class:13 priority:60 color:red} +node: {title: "n102" label: "End 102" info1: "mode: X +visited: 32 +irg: OO_PROGRAM_EXAMPLE_main +arity: 2 +"color: blue} +edge: { sourcename: "n102" targetname: "n104" class:2 priority:50 linestyle:dotted} +} diff --git a/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-pure-wtypes-ip.vcg b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-pure-wtypes-ip.vcg new file mode 100644 index 000000000..3ef7adac2 --- /dev/null +++ b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-pure-wtypes-ip.vcg @@ -0,0 +1,553 @@ +graph: { title: "ir graph of OO_PROGRAM_EXAMPLE_main" +display_edge_labels: no +layoutalgorithm: mindepth +manhattan_edges: yes +port_sharing: no +orientation: bottom_to_top +classname 1: "intrablock Data" +classname 16: "interblock Data" +classname 2: "Block" +classname 13: "Control Flow" +classname 14: "intrablock Memory" +classname 17: "interblock Memory" +classname 15: "Dominators" +classname 3: "Entity type" +classname 4: "Entity owner" +classname 5: "Method Param" +classname 6: "Method Res" +classname 7: "Super" +classname 8: "Union" +classname 9: "Points-to" +classname 10: "Array Element Type" +classname 11: "Overwrites" +classname 12: "Member" +infoname 1: "Attribute" +infoname 2: "Verification errors" + +node: {title: "n108" label: "Block 108" info1: "mode: BB +visited: 36 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: +"color: lightyellow} +edge: {sourcename: "n108" targetname: "n107" label: "0" class:13 priority:60 color:red} +node: {title: "n109" label: "Start OO_PROGRAM_EXAMPLE_main 109" info1: "mode: T +visited: 36 +irg: OO_PROGRAM_EXAMPLE_main +arity: 0 +start of method of type OO_PROGRAM_EXAMPLE_main +"color: blue} +edge: { sourcename: "n109" targetname: "n108" class:2 priority:50 linestyle:dotted} +node: {title: "n107" label: "ProjX 0 107" info1: "mode: X +visited: 36 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n107" targetname: "n109" label: "0" class:13 priority:60 color:red} +edge: { sourcename: "n107" targetname: "n108" class:2 priority:50 linestyle:dotted} +node: {title: "n181" label: "Block 181" info1: "mode: BB +visited: 36 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: +"color: lightyellow} +edge: {sourcename: "n181" targetname: "n107" label: "0" class:13 priority:60 color:red} +node: {title: "n183" label: "CallBegin 183" info1: "mode: T +visited: 36 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +possible callees: + 0: PRIMA_set_a +"} +node: {title: "n183n165" label: "SymC &set_a 165" info1: "mode: P +visited: 36 +irg: OO_PROGRAM_EXAMPLE_main +arity: 0 +"} +edge: {sourcename: "n183" targetname: "n183n165" label: "0" class:16 priority:10} +edge: { sourcename: "n183" targetname: "n181" class:2 priority:50 linestyle:dotted} +node: {title: "n185" label: "ProjX 0 185" info1: "mode: X +visited: 36 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n185" targetname: "n183" label: "0" class:13 priority:60 color:red} +edge: { sourcename: "n185" targetname: "n181" class:2 priority:50 linestyle:dotted} +node: {title: "n134" label: "Block 134" info1: "mode: BB +visited: 36 +irg: PRIMA_set_a +arity: 1 backedges: +"color: lightyellow} +edge: {sourcename: "n134" targetname: "n185" label: "0" class:13 priority:60 color:red} +node: {title: "n135" label: "Start PRIMA_set_a 135" info1: "mode: T +visited: 36 +irg: PRIMA_set_a +arity: 0 +start of method of type set_a + param 0 type: class_prima_ptr + param 1 type: int +"color: blue} +edge: { sourcename: "n135" targetname: "n134" class:2 priority:50 linestyle:dotted} +node: {title: "n133" label: "ProjX 0 133" info1: "mode: X +visited: 36 +irg: PRIMA_set_a +arity: 1 +"color: yellow} +edge: {sourcename: "n133" targetname: "n135" label: "0" class:13 priority:60 color:red} +edge: { sourcename: "n133" targetname: "n134" class:2 priority:50 linestyle:dotted} +node: {title: "n132" label: "Block 132" info1: "mode: BB +visited: 36 +irg: PRIMA_set_a +arity: 1 backedges: +"color: lightyellow} +edge: {sourcename: "n132" targetname: "n133" label: "0" class:13 priority:60 color:red} +node: {title: "n177" label: "Jmp 177" info1: "mode: X +visited: 36 +irg: PRIMA_set_a +arity: 0 +"} +edge: { sourcename: "n177" targetname: "n132" class:2 priority:50 linestyle:dotted} +node: {title: "n178" label: "Block 178" info1: "mode: BB +visited: 36 +irg: PRIMA_set_a +arity: 1 backedges: +"color: lightyellow} +edge: {sourcename: "n178" targetname: "n177" label: "0" class:13 priority:60 color:red} +node: {title: "n179" label: "EndReg 179" info1: "mode: T +visited: 36 +irg: PRIMA_set_a +arity: 0 +"color: blue} +edge: { sourcename: "n179" targetname: "n178" class:2 priority:50 linestyle:dotted} +node: {title: "n184" label: "ProjX 0 184" info1: "mode: X +visited: 36 +irg: PRIMA_set_a +arity: 1 +"color: yellow} +edge: {sourcename: "n184" targetname: "n179" label: "0" class:13 priority:60 color:red} +edge: { sourcename: "n184" targetname: "n178" class:2 priority:50 linestyle:dotted} +node: {title: "n187" label: "Block 187" info1: "mode: BB +visited: 36 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: +"color: lightyellow} +edge: {sourcename: "n187" targetname: "n184" label: "0" class:13 priority:60 color:red} +node: {title: "n189" label: "CallBegin 189" info1: "mode: T +visited: 36 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +possible callees: + 0: PRIMA_c +"} +node: {title: "n189n164" label: "SymC &c 164" info1: "mode: P +visited: 36 +irg: OO_PROGRAM_EXAMPLE_main +arity: 0 +"} +edge: {sourcename: "n189" targetname: "n189n164" label: "0" class:16 priority:10} +edge: { sourcename: "n189" targetname: "n187" class:2 priority:50 linestyle:dotted} +node: {title: "n191" label: "ProjX 0 191" info1: "mode: X +visited: 36 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n191" targetname: "n189" label: "0" class:13 priority:60 color:red} +edge: { sourcename: "n191" targetname: "n187" class:2 priority:50 linestyle:dotted} +node: {title: "n151" label: "Block 151" info1: "mode: BB +visited: 36 +irg: PRIMA_c +arity: 1 backedges: +"color: lightyellow} +edge: {sourcename: "n151" targetname: "n191" label: "0" class:13 priority:60 color:red} +node: {title: "n152" label: "Start PRIMA_c 152" info1: "mode: T +visited: 36 +irg: PRIMA_c +arity: 0 +start of method of type c + param 0 type: class_prima_ptr + param 1 type: int +"color: blue} +edge: { sourcename: "n152" targetname: "n151" class:2 priority:50 linestyle:dotted} +node: {title: "n150" label: "ProjX 0 150" info1: "mode: X +visited: 36 +irg: PRIMA_c +arity: 1 +"color: yellow} +edge: {sourcename: "n150" targetname: "n152" label: "0" class:13 priority:60 color:red} +edge: { sourcename: "n150" targetname: "n151" class:2 priority:50 linestyle:dotted} +node: {title: "n149" label: "Block 149" info1: "mode: BB +visited: 36 +irg: PRIMA_c +arity: 1 backedges: +"color: lightyellow} +edge: {sourcename: "n149" targetname: "n150" label: "0" class:13 priority:60 color:red} +node: {title: "n169" label: "Jmp 169" info1: "mode: X +visited: 36 +irg: PRIMA_c +arity: 0 +"} +edge: { sourcename: "n169" targetname: "n149" class:2 priority:50 linestyle:dotted} +node: {title: "n170" label: "Block 170" info1: "mode: BB +visited: 36 +irg: PRIMA_c +arity: 1 backedges: +"color: lightyellow} +edge: {sourcename: "n170" targetname: "n169" label: "0" class:13 priority:60 color:red} +node: {title: "n171" label: "EndReg 171" info1: "mode: T +visited: 36 +irg: PRIMA_c +arity: 0 +"color: blue} +edge: { sourcename: "n171" targetname: "n170" class:2 priority:50 linestyle:dotted} +node: {title: "n190" label: "ProjX 0 190" info1: "mode: X +visited: 36 +irg: PRIMA_c +arity: 1 +"color: yellow} +edge: {sourcename: "n190" targetname: "n171" label: "0" class:13 priority:60 color:red} +edge: { sourcename: "n190" targetname: "n170" class:2 priority:50 linestyle:dotted} +node: {title: "n106" label: "Block 106" info1: "mode: BB +visited: 36 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: +"color: lightyellow} +edge: {sourcename: "n106" targetname: "n190" label: "0" class:13 priority:60 color:red} +node: {title: "n166" label: "FilterIs 1 166" info1: "mode: Is +visited: 36 +irg: PRIMA_c +arity: 1 backedges: +intra predecessor nodes: + ProjT 158 +"color: yellow} +node: {title: "n166n113" label: "0x5Is 113" info1: "mode: Is +visited: 36 +irg: OO_PROGRAM_EXAMPLE_main +arity: 0 +Const of type type_unknown +"color: yellow} +edge: {sourcename: "n166" targetname: "n166n113" label: "0" class:16 priority:10} +edge: { sourcename: "n166" targetname: "n151" class:2 priority:50 linestyle:dotted} +node: {title: "n117" label: "ProjM 1 117" info1: "mode: M +visited: 36 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n117" targetname: "n109" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n117" targetname: "n108" class:2 priority:50 linestyle:dotted} +node: {title: "n115" label: "Alloc 115" info1: "mode: T +visited: 36 +irg: OO_PROGRAM_EXAMPLE_main +arity: 2 +allocating entity of type PRIMA +"} +node: {title: "n115n116" label: "SymC PRIMA size 116" info1: "mode: Iu +visited: 36 +irg: OO_PROGRAM_EXAMPLE_main +arity: 0 +"} +edge: {sourcename: "n115" targetname: "n117" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n115" targetname: "n115n116" label: "1" class:16 priority:10} +edge: { sourcename: "n115" targetname: "n181" class:2 priority:50 linestyle:dotted} +node: {title: "n114" label: "ProjP 2 114" info1: "mode: P +visited: 36 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n114" targetname: "n115" label: "0" class:1 priority:50} +edge: { sourcename: "n114" targetname: "n181" class:2 priority:50 linestyle:dotted} +node: {title: "n168" label: "FilterP 0 168" info1: "mode: P +visited: 36 +irg: PRIMA_c +arity: 1 backedges: +intra predecessor nodes: + ProjT 158 +"color: yellow} +edge: {sourcename: "n168" targetname: "n114" label: "0" class:16 priority:10} +edge: { sourcename: "n168" targetname: "n151" class:2 priority:50 linestyle:dotted} +node: {title: "n176" label: "FilterIs 1 176" info1: "mode: Is +visited: 36 +irg: PRIMA_set_a +arity: 1 backedges: +intra predecessor nodes: + ProjT 139 +"color: yellow} +node: {title: "n176n121" label: "0x2Is 121" info1: "mode: Is +visited: 36 +irg: OO_PROGRAM_EXAMPLE_main +arity: 0 +Const of type type_unknown +"color: yellow} +edge: {sourcename: "n176" targetname: "n176n121" label: "0" class:16 priority:10} +edge: { sourcename: "n176" targetname: "n134" class:2 priority:50 linestyle:dotted} +node: {title: "n175" label: "FilterP 0 175" info1: "mode: P +visited: 36 +irg: PRIMA_set_a +arity: 1 backedges: +intra predecessor nodes: + ProjT 139 +"color: yellow} +edge: {sourcename: "n175" targetname: "n114" label: "0" class:16 priority:10} +edge: { sourcename: "n175" targetname: "n134" class:2 priority:50 linestyle:dotted} +node: {title: "n123" label: "ProjM 0 123" info1: "mode: M +visited: 36 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n123" targetname: "n115" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n123" targetname: "n181" class:2 priority:50 linestyle:dotted} +node: {title: "n174" label: "FilterM 1 174" info1: "mode: M +visited: 36 +irg: PRIMA_set_a +arity: 1 backedges: +intra predecessor nodes: + StartT 135 +"color: yellow} +edge: {sourcename: "n174" targetname: "n123" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n174" targetname: "n134" class:2 priority:50 linestyle:dotted} +node: {title: "n140" label: "Sel a 140" info1: "mode: P +visited: 36 +irg: PRIMA_set_a +arity: 2 +Selecting entity of type int + from entity of type PRIMA +"} +edge: {sourcename: "n140" targetname: "n174" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n140" targetname: "n175" label: "1" class:16 priority:10} +edge: { sourcename: "n140" targetname: "n132" class:2 priority:50 linestyle:dotted} +node: {title: "n137" label: "Store 137" info1: "mode: T +visited: 36 +irg: PRIMA_set_a +arity: 3 +"} +edge: {sourcename: "n137" targetname: "n174" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n137" targetname: "n140" label: "1" class:1 priority:50} +edge: {sourcename: "n137" targetname: "n176" label: "2" class:16 priority:10} +edge: { sourcename: "n137" targetname: "n132" class:2 priority:50 linestyle:dotted} +node: {title: "n136" label: "ProjM 0 136" info1: "mode: M +visited: 36 +irg: PRIMA_set_a +arity: 1 +"color: yellow} +edge: {sourcename: "n136" targetname: "n137" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n136" targetname: "n132" class:2 priority:50 linestyle:dotted} +node: {title: "n186" label: "FilterM 0 186" info1: "mode: M +visited: 36 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: +intra predecessor nodes: + CallT 120 +"color: yellow} +edge: {sourcename: "n186" targetname: "n136" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n186" targetname: "n187" class:2 priority:50 linestyle:dotted} +node: {title: "n167" label: "FilterM 1 167" info1: "mode: M +visited: 36 +irg: PRIMA_c +arity: 1 backedges: +intra predecessor nodes: + StartT 152 +"color: yellow} +edge: {sourcename: "n167" targetname: "n186" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n167" targetname: "n151" class:2 priority:50 linestyle:dotted} +node: {title: "n156" label: "Sel a 156" info1: "mode: P +visited: 36 +irg: PRIMA_c +arity: 2 +Selecting entity of type int + from entity of type PRIMA +"} +edge: {sourcename: "n156" targetname: "n167" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n156" targetname: "n168" label: "1" class:16 priority:10} +edge: { sourcename: "n156" targetname: "n149" class:2 priority:50 linestyle:dotted} +node: {title: "n155" label: "Load 155" info1: "mode: T +visited: 36 +irg: PRIMA_c +arity: 2 +"} +edge: {sourcename: "n155" targetname: "n167" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n155" targetname: "n156" label: "1" class:1 priority:50} +edge: { sourcename: "n155" targetname: "n149" class:2 priority:50 linestyle:dotted} +node: {title: "n154" label: "ProjIs 2 154" info1: "mode: Is +visited: 36 +irg: PRIMA_c +arity: 1 +"color: yellow} +edge: {sourcename: "n154" targetname: "n155" label: "0" class:1 priority:50} +edge: { sourcename: "n154" targetname: "n149" class:2 priority:50 linestyle:dotted} +node: {title: "n153" label: "AddIs 153" info1: "mode: Is +visited: 36 +irg: PRIMA_c +arity: 2 +"} +edge: {sourcename: "n153" targetname: "n154" label: "0" class:1 priority:50} +edge: {sourcename: "n153" targetname: "n166" label: "1" class:16 priority:10} +edge: { sourcename: "n153" targetname: "n149" class:2 priority:50 linestyle:dotted} +node: {title: "n193" label: "FilterIs 0 193" info1: "mode: Is +visited: 36 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: +intra predecessor nodes: + ProjT 111 +"color: yellow} +edge: {sourcename: "n193" targetname: "n153" label: "0" class:16 priority:10} +edge: { sourcename: "n193" targetname: "n106" class:2 priority:50 linestyle:dotted} +node: {title: "n161" label: "ProjM 0 161" info1: "mode: M +visited: 36 +irg: PRIMA_c +arity: 1 +"color: yellow} +edge: {sourcename: "n161" targetname: "n155" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n161" targetname: "n149" class:2 priority:50 linestyle:dotted} +node: {title: "n192" label: "FilterM 0 192" info1: "mode: M +visited: 36 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: +intra predecessor nodes: + CallT 112 +"color: yellow} +edge: {sourcename: "n192" targetname: "n161" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n192" targetname: "n106" class:2 priority:50 linestyle:dotted} +node: {title: "n105" label: "Return 105" info1: "mode: X +visited: 36 +irg: OO_PROGRAM_EXAMPLE_main +arity: 2 +"} +edge: {sourcename: "n105" targetname: "n192" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n105" targetname: "n193" label: "1" class:1 priority:50} +edge: { sourcename: "n105" targetname: "n106" class:2 priority:50 linestyle:dotted} +node: {title: "n104" label: "Block 104" info1: "mode: BB +visited: 36 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: +"color: lightyellow} +edge: {sourcename: "n104" targetname: "n105" label: "0" class:13 priority:60 color:red} +node: {title: "n102" label: "End 102" info1: "mode: X +visited: 36 +irg: OO_PROGRAM_EXAMPLE_main +arity: 2 +"color: blue} +edge: { sourcename: "n102" targetname: "n104" class:2 priority:50 linestyle:dotted} +node: {title: "e13" label: "ent a" color: yellow + info1: " +id: e13 +allocation: allocation_automatic +visibility: visibility_local +variability: variability_uninitialized +volatility: volatility_non_volatile +peculiarity: peculiarity_existent +name: a +ld_name: no yet set +offset(bits): -1" +} +edge: { sourcename: "e13" targetname: "t10"class: 3 label: "type" color: red} +node: {title: "t11" label: "class PRIMA" info1: "state: layout_undefined +size: -1b, +peculiarity: peculiarity_existent +" color: green} +edge: { sourcename: "t11" targetname: "e13"class: 12 label: "member" color:blue} +edge: { sourcename: "t11" targetname: "e16"class: 12 label: "member" color:blue} +edge: { sourcename: "t11" targetname: "e19"class: 12 label: "member" color:blue} +node: {title: "e16" label: "ent PRIMA_set_a" color: yellow + info1: " +id: e16 +allocation: allocation_static +visibility: visibility_local +variability: variability_constant +volatility: volatility_non_volatile +peculiarity: peculiarity_existent +name: set_a +ld_name: PRIMA_set_a +offset(bits): -1 +irg = g67" +} +edge: { sourcename: "e16" targetname: "t14"class: 3 label: "type" color: red} +edge: { sourcename: "e16" targetname: "n15"label: "value 0"} +node: {title: "n15" label: "SymC &set_a 15" info1: "mode: P +visited: 39 +arity: 0 +"} +node: {title: "t14" label: "method set_a" info1: "state: layout_fixed, +mode: P, +size: 32b, +variadicity: variadicity_non_variadic +params: 2 +results: 0 +"} +edge: { sourcename: "t14" targetname: "t12"class: 5 label: "param 0" color: green} +edge: { sourcename: "t14" targetname: "t10"class: 5 label: "param 1" color: green} +node: {title: "t12" label: "pointer class_prima_ptr" info1: "state: layout_fixed, +mode: P, +size: 32b, +"} +edge: { sourcename: "t12" targetname: "t11"class: 9 label: "points to" color:green} +node: {title: "t10" label: "primitive int" info1: "state: layout_fixed, +mode: Is, +size: 32b, +"} +node: {title: "e19" label: "ent PRIMA_c" color: yellow + info1: " +id: e19 +allocation: allocation_static +visibility: visibility_local +variability: variability_constant +volatility: volatility_non_volatile +peculiarity: peculiarity_existent +name: c +ld_name: PRIMA_c +offset(bits): -1 +irg = g89" +} +edge: { sourcename: "e19" targetname: "t17"class: 3 label: "type" color: red} +edge: { sourcename: "e19" targetname: "n18"label: "value 0"} +node: {title: "n18" label: "SymC &c 18" info1: "mode: P +visited: 40 +arity: 0 +"} +node: {title: "t17" label: "method c" info1: "state: layout_fixed, +mode: P, +size: 32b, +variadicity: variadicity_non_variadic +params: 2 +results: 1 +"} +edge: { sourcename: "t17" targetname: "t12"class: 5 label: "param 0" color: green} +edge: { sourcename: "t17" targetname: "t10"class: 5 label: "param 1" color: green} +edge: { sourcename: "t17" targetname: "t10"class: 6 label: "res 0" color: green} +node: {title: "e22" label: "ent OO_PROGRAM_EXAMPLE_main" color: yellow + info1: " +id: e22 +allocation: allocation_static +visibility: visibility_local +variability: variability_constant +volatility: volatility_non_volatile +peculiarity: peculiarity_existent +name: OO_PROGRAM_EXAMPLE_main +ld_name: no yet set +offset(bits): -1 +irg = g34" +} +edge: { sourcename: "e22" targetname: "t20"class: 3 label: "type" color: red} +edge: { sourcename: "e22" targetname: "n21"label: "value 0"} +node: {title: "n21" label: "SymC &OO_PROGRAM_EXAMPLE_main 21" info1: "mode: P +visited: 41 +arity: 0 +"} +node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined +size: -1b, +peculiarity: peculiarity_existent +" color: green} +edge: { sourcename: "t0" targetname: "e22"class: 12 label: "member" color:blue} +node: {title: "t20" label: "method OO_PROGRAM_EXAMPLE_main" info1: "state: layout_fixed, +mode: P, +size: 32b, +variadicity: variadicity_non_variadic +params: 0 +results: 1 +"} +edge: { sourcename: "t20" targetname: "t10"class: 6 label: "res 0" color: green} +node: {title: "t23" label: "class OO_PROGRAM_EXAMPLE_mainframe_tp" info1: "state: layout_undefined +size: -1b, +peculiarity: peculiarity_existent +" color: green} +edge: { sourcename: "n156" targetname: "e13"class:2 priority:2 linestyle:dotted} +edge: { sourcename: "n115" targetname: "t11"class:2 priority:2 linestyle:dotted} +edge: { sourcename: "n116" targetname: "t11"class:2 priority:2 linestyle:dotted} +edge: { sourcename: "n140" targetname: "e13"class:2 priority:2 linestyle:dotted} +} 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 bef57c640..9844ee3a5 100644 --- a/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-pure-wtypes.vcg +++ b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-pure-wtypes.vcg @@ -24,280 +24,302 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -node: {title: "n109" label: "Block 109" info1: "visited: 20 +node: {title: "n108" label: "Block 108" info1: "mode: BB +visited: 20 irg: OO_PROGRAM_EXAMPLE_main arity: 1 backedges: -" info2: "((get_irn_irg(n) && get_irn_irg(n) == irg)) && Block node has wrong irg attribute"color: lightyellow} -edge: {sourcename: "n109" targetname: "n108" label: "0" class:13 priority:60 color:red} -node: {title: "n110" label: "Start 110" info1: "visited: 20 +"color: lightyellow} +edge: {sourcename: "n108" targetname: "n107" label: "0" class:13 priority:60 color:red} +node: {title: "n109" label: "Start 109" info1: "mode: T +visited: 20 irg: OO_PROGRAM_EXAMPLE_main arity: 0 start of method of type OO_PROGRAM_EXAMPLE_main -" info2: "mymode == mode_T && Start node"color: blue} -edge: { sourcename: "n110" targetname: "n109" class:2 priority:50 linestyle:dotted} -node: {title: "n108" label: "ProjX 0 108" info1: "visited: 20 +"color: blue} +edge: { sourcename: "n109" targetname: "n108" class:2 priority:50 linestyle:dotted} +node: {title: "n107" label: "ProjX 0 107" info1: "mode: X +visited: 20 irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n108" targetname: "n110" label: "0" class:13 priority:60 color:red} -edge: { sourcename: "n108" targetname: "n109" class:2 priority:50 linestyle:dotted} -node: {title: "n107" label: "Block 107" info1: "visited: 20 +edge: {sourcename: "n107" targetname: "n109" label: "0" class:13 priority:60 color:red} +edge: { sourcename: "n107" targetname: "n108" class:2 priority:50 linestyle:dotted} +node: {title: "n106" label: "Block 106" info1: "mode: BB +visited: 20 irg: OO_PROGRAM_EXAMPLE_main arity: 1 backedges: -" info2: "((get_irn_irg(n) && get_irn_irg(n) == irg)) && Block node has wrong irg attribute"color: lightyellow} -edge: {sourcename: "n107" targetname: "n108" label: "0" class:13 priority:60 color:red} -node: {title: "n118" label: "ProjM 1 118" info1: "visited: 20 +"color: lightyellow} +edge: {sourcename: "n106" targetname: "n107" label: "0" class:13 priority:60 color:red} +node: {title: "n117" label: "ProjM 1 117" info1: "mode: M +visited: 20 irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n118" targetname: "n110" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n118" targetname: "n109" class:2 priority:50 linestyle:dotted} -node: {title: "n116" label: "Alloc 116" info1: "visited: 20 +edge: {sourcename: "n117" targetname: "n109" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n117" targetname: "n108" class:2 priority:50 linestyle:dotted} +node: {title: "n115" label: "Alloc 115" info1: "mode: T +visited: 20 irg: OO_PROGRAM_EXAMPLE_main arity: 2 allocating entity of type PRIMA "} -node: {title: "n116n117" label: "SymC PRIMA size 117" info1: "visited: 20 +node: {title: "n115n116" label: "SymC PRIMA size 116" info1: "mode: Iu +visited: 20 irg: OO_PROGRAM_EXAMPLE_main arity: 0 "} -edge: {sourcename: "n116" targetname: "n118" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n116" targetname: "n116n117" label: "1" class:16 priority:10} -edge: { sourcename: "n116" targetname: "n107" class:2 priority:50 linestyle:dotted} -node: {title: "n115" label: "ProjP 2 115" info1: "visited: 20 +edge: {sourcename: "n115" targetname: "n117" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n115" targetname: "n115n116" label: "1" class:16 priority:10} +edge: { sourcename: "n115" targetname: "n106" class:2 priority:50 linestyle:dotted} +node: {title: "n114" label: "ProjP 2 114" info1: "mode: P +visited: 20 irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n115" targetname: "n116" label: "0" class:1 priority:50} -edge: { sourcename: "n115" targetname: "n107" class:2 priority:50 linestyle:dotted} -node: {title: "n124" label: "ProjM 0 124" info1: "visited: 20 +edge: {sourcename: "n114" targetname: "n115" label: "0" class:1 priority:50} +edge: { sourcename: "n114" targetname: "n106" class:2 priority:50 linestyle:dotted} +node: {title: "n123" label: "ProjM 0 123" info1: "mode: M +visited: 20 irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n124" targetname: "n116" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n124" targetname: "n107" class:2 priority:50 linestyle:dotted} -node: {title: "n123" label: "Sel PRIMA_set_a 123" info1: "visited: 20 +edge: {sourcename: "n123" targetname: "n115" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n123" targetname: "n106" class:2 priority:50 linestyle:dotted} +node: {title: "n122" label: "Sel PRIMA_set_a 122" info1: "mode: P +visited: 20 irg: OO_PROGRAM_EXAMPLE_main arity: 2 Selecting entity of type set_a from entity of type PRIMA "} -edge: {sourcename: "n123" targetname: "n124" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n123" targetname: "n115" label: "1" class:1 priority:50} -edge: { sourcename: "n123" targetname: "n107" class:2 priority:50 linestyle:dotted} -node: {title: "n121" label: "Call 121" info1: "visited: 20 +edge: {sourcename: "n122" targetname: "n123" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n122" targetname: "n114" label: "1" class:1 priority:50} +edge: { sourcename: "n122" targetname: "n106" class:2 priority:50 linestyle:dotted} +node: {title: "n120" label: "Call 120" info1: "mode: T +visited: 20 irg: OO_PROGRAM_EXAMPLE_main arity: 4 calling method of type set_a param 0 type: class_prima_ptr param 1 type: int -" info2: "get_Call_n_params(n) == get_method_n_params(mt) && Number of args for Call doesn't match number of args in non variadic type."} -node: {title: "n121n122" label: "0x2Is 122" info1: "visited: 20 +"} +node: {title: "n120n121" label: "0x2Is 121" info1: "mode: Is +visited: 20 irg: OO_PROGRAM_EXAMPLE_main arity: 0 Const of type type_unknown "color: yellow} -edge: {sourcename: "n121" targetname: "n124" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n121" targetname: "n123" label: "1" class:1 priority:50} -edge: {sourcename: "n121" targetname: "n115" label: "2" class:1 priority:50} -edge: {sourcename: "n121" targetname: "n121n122" label: "3" class:16 priority:10} -edge: { sourcename: "n121" targetname: "n107" class:2 priority:50 linestyle:dotted} -node: {title: "n120" label: "ProjM 0 120" info1: "visited: 20 +edge: {sourcename: "n120" targetname: "n123" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n120" targetname: "n122" label: "1" class:1 priority:50} +edge: {sourcename: "n120" targetname: "n114" label: "2" class:1 priority:50} +edge: {sourcename: "n120" targetname: "n120n121" label: "3" class:16 priority:10} +edge: { sourcename: "n120" targetname: "n106" class:2 priority:50 linestyle:dotted} +node: {title: "n119" label: "ProjM 0 119" info1: "mode: M +visited: 20 irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n120" targetname: "n121" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n120" targetname: "n107" class:2 priority:50 linestyle:dotted} -node: {title: "n119" label: "Sel PRIMA_c 119" info1: "visited: 20 +edge: {sourcename: "n119" targetname: "n120" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n119" targetname: "n106" class:2 priority:50 linestyle:dotted} +node: {title: "n118" label: "Sel PRIMA_c 118" info1: "mode: P +visited: 20 irg: OO_PROGRAM_EXAMPLE_main arity: 2 Selecting entity of type c from entity of type PRIMA "} -edge: {sourcename: "n119" targetname: "n120" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n119" targetname: "n115" label: "1" class:1 priority:50} -edge: { sourcename: "n119" targetname: "n107" class:2 priority:50 linestyle:dotted} -node: {title: "n113" label: "Call 113" info1: "visited: 20 +edge: {sourcename: "n118" targetname: "n119" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n118" targetname: "n114" label: "1" class:1 priority:50} +edge: { sourcename: "n118" targetname: "n106" class:2 priority:50 linestyle:dotted} +node: {title: "n112" label: "Call 112" info1: "mode: T +visited: 20 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 -" info2: "get_Call_n_params(n) == get_method_n_params(mt) && Number of args for Call doesn't match number of args in non variadic type."} -node: {title: "n113n114" label: "0x5Is 114" info1: "visited: 20 +"} +node: {title: "n112n113" label: "0x5Is 113" info1: "mode: Is +visited: 20 irg: OO_PROGRAM_EXAMPLE_main arity: 0 Const of type type_unknown "color: yellow} -edge: {sourcename: "n113" targetname: "n120" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n113" targetname: "n119" label: "1" class:1 priority:50} -edge: {sourcename: "n113" targetname: "n115" label: "2" class:1 priority:50} -edge: {sourcename: "n113" targetname: "n113n114" label: "3" class:16 priority:10} -edge: { sourcename: "n113" targetname: "n107" class:2 priority:50 linestyle:dotted} -node: {title: "n112" label: "ProjT 2 112" info1: "visited: 20 +edge: {sourcename: "n112" targetname: "n119" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n112" targetname: "n118" label: "1" class:1 priority:50} +edge: {sourcename: "n112" targetname: "n114" label: "2" class:1 priority:50} +edge: {sourcename: "n112" targetname: "n112n113" label: "3" class:16 priority:10} +edge: { sourcename: "n112" targetname: "n106" class:2 priority:50 linestyle:dotted} +node: {title: "n111" label: "ProjT 2 111" info1: "mode: T +visited: 20 irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n112" targetname: "n113" label: "0" class:1 priority:50} -edge: { sourcename: "n112" targetname: "n107" class:2 priority:50 linestyle:dotted} -node: {title: "n111" label: "ProjIs 0 111" info1: "visited: 20 +edge: {sourcename: "n111" targetname: "n112" label: "0" class:1 priority:50} +edge: { sourcename: "n111" targetname: "n106" class:2 priority:50 linestyle:dotted} +node: {title: "n110" label: "ProjIs 0 110" info1: "mode: Is +visited: 20 irg: OO_PROGRAM_EXAMPLE_main arity: 1 -" info2: "(mode == get_type_mode(get_method_res_type(mt, proj))) && Mode of Proj from Call doesn't match mode of result type."color: yellow} -edge: {sourcename: "n111" targetname: "n112" label: "0" class:1 priority:50} -edge: { sourcename: "n111" targetname: "n107" class:2 priority:50 linestyle:dotted} -node: {title: "n125" label: "ProjM 0 125" info1: "visited: 20 +"color: yellow} +edge: {sourcename: "n110" targetname: "n111" label: "0" class:1 priority:50} +edge: { sourcename: "n110" targetname: "n106" class:2 priority:50 linestyle:dotted} +node: {title: "n124" label: "ProjM 0 124" info1: "mode: M +visited: 20 irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n125" targetname: "n113" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n125" targetname: "n107" class:2 priority:50 linestyle:dotted} -node: {title: "n106" label: "Return 106" info1: "visited: 20 +edge: {sourcename: "n124" targetname: "n112" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n124" targetname: "n106" class:2 priority:50 linestyle:dotted} +node: {title: "n105" label: "Return 105" info1: "mode: X +visited: 20 irg: OO_PROGRAM_EXAMPLE_main arity: 2 return in method of type OO_PROGRAM_EXAMPLE_main res 0 type: int -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n106" targetname: "n125" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n106" targetname: "n111" label: "1" class:1 priority:50} -edge: { sourcename: "n106" targetname: "n107" class:2 priority:50 linestyle:dotted} -node: {title: "n105" label: "Block 105" info1: "visited: 20 +"} +edge: {sourcename: "n105" targetname: "n124" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n105" targetname: "n110" label: "1" class:1 priority:50} +edge: { sourcename: "n105" targetname: "n106" class:2 priority:50 linestyle:dotted} +node: {title: "n104" label: "Block 104" info1: "mode: BB +visited: 20 irg: OO_PROGRAM_EXAMPLE_main arity: 1 backedges: -" info2: "((get_irn_irg(n) && get_irn_irg(n) == irg)) && Block node has wrong irg attribute"color: lightyellow} -edge: {sourcename: "n105" targetname: "n106" label: "0" class:13 priority:60 color:red} -node: {title: "n103" label: "End 103" info1: "visited: 20 +"color: lightyellow} +edge: {sourcename: "n104" targetname: "n105" label: "0" class:13 priority:60 color:red} +node: {title: "n102" label: "End 102" info1: "mode: X +visited: 20 irg: OO_PROGRAM_EXAMPLE_main arity: 0 "color: blue} -edge: { sourcename: "n103" targetname: "n105" class:2 priority:50 linestyle:dotted} -node: {title: "t18" label: "method c" info1: "state: layout_fixed, +edge: { sourcename: "n102" targetname: "n104" class:2 priority:50 linestyle:dotted} +node: {title: "t17" label: "method c" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, variadicity: variadicity_non_variadic params: 2 results: 1 "} -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, +edge: { sourcename: "t17" targetname: "t12"class: 5 label: "param 0" color: green} +edge: { sourcename: "t17" targetname: "t10"class: 5 label: "param 1" color: green} +edge: { sourcename: "t17" targetname: "t10"class: 6 label: "res 0" color: green} +node: {title: "t12" label: "pointer class_prima_ptr" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, "} -edge: { sourcename: "t13" targetname: "t12"class: 9 label: "points to" color:green} -node: {title: "t12" label: "class PRIMA" info1: "state: layout_undefined -size: -1B, +edge: { sourcename: "t12" targetname: "t11"class: 9 label: "points to" color:green} +node: {title: "t11" label: "class PRIMA" info1: "state: layout_undefined +size: -1b, peculiarity: peculiarity_existent " color: green} -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 +edge: { sourcename: "t11" targetname: "e13"class: 12 label: "member" color:blue} +edge: { sourcename: "t11" targetname: "e16"class: 12 label: "member" color:blue} +edge: { sourcename: "t11" targetname: "e19"class: 12 label: "member" color:blue} +node: {title: "e13" label: "ent a" color: yellow info1: " -id: e14 +id: e13 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: a -ld_name: no yet set -offset: -1" +peculiarity: peculiarity_existent +name: a +ld_name: no yet set +offset(bits): -1" } -edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red} -node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, +edge: { sourcename: "e13" targetname: "t10"class: 3 label: "type" color: red} +node: {title: "t10" label: "primitive int" info1: "state: layout_fixed, mode: Is, -size: 4B, +size: 32b, "} -node: {title: "e17" label: "ent PRIMA_set_a" color: yellow +node: {title: "e16" label: "ent PRIMA_set_a" color: yellow info1: " -id: e17 +id: e16 allocation: allocation_static visibility: visibility_local variability: variability_constant volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: set_a -ld_name: PRIMA_set_a -offset: -1 -irg = g68" +peculiarity: peculiarity_existent +name: set_a +ld_name: PRIMA_set_a +offset(bits): -1 +irg = g67" } -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" info1: "visited: 1 +edge: { sourcename: "e16" targetname: "t14"class: 3 label: "type" color: red} +edge: { sourcename: "e16" targetname: "n15"label: "value 0"} +node: {title: "n15" label: "SymC &set_a 15" info1: "mode: P +visited: 1 arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t15" label: "method set_a" info1: "state: layout_fixed, +"} +node: {title: "t14" label: "method set_a" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, variadicity: variadicity_non_variadic params: 2 results: 0 "} -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 +edge: { sourcename: "t14" targetname: "t12"class: 5 label: "param 0" color: green} +edge: { sourcename: "t14" targetname: "t10"class: 5 label: "param 1" color: green} +node: {title: "e19" label: "ent PRIMA_c" color: yellow info1: " -id: e20 +id: e19 allocation: allocation_static visibility: visibility_local variability: variability_constant volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: c -ld_name: PRIMA_c -offset: -1 -irg = g90" +peculiarity: peculiarity_existent +name: c +ld_name: PRIMA_c +offset(bits): -1 +irg = g89" } -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" info1: "visited: 1 +edge: { sourcename: "e19" targetname: "t17"class: 3 label: "type" color: red} +edge: { sourcename: "e19" targetname: "n18"label: "value 0"} +node: {title: "n18" label: "SymC &c 18" info1: "mode: P +visited: 1 arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "e23" label: "ent OO_PROGRAM_EXAMPLE_main" color: yellow +"} +node: {title: "e22" label: "ent OO_PROGRAM_EXAMPLE_main" color: yellow info1: " -id: e23 +id: e22 allocation: allocation_static visibility: visibility_local variability: variability_constant volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: OO_PROGRAM_EXAMPLE_main -ld_name: no yet set -offset: -1 -irg = g35" +peculiarity: peculiarity_existent +name: OO_PROGRAM_EXAMPLE_main +ld_name: no yet set +offset(bits): -1 +irg = g34" } -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" info1: "visited: 1 +edge: { sourcename: "e22" targetname: "t20"class: 3 label: "type" color: red} +edge: { sourcename: "e22" targetname: "n21"label: "value 0"} +node: {title: "n21" label: "SymC &OO_PROGRAM_EXAMPLE_main 21" info1: "mode: P +visited: 1 arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} +"} node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined -size: -1B, +size: -1b, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "t0" targetname: "e23"class: 12 label: "member" color:blue} -node: {title: "t21" label: "method OO_PROGRAM_EXAMPLE_main" info1: "state: layout_fixed, +edge: { sourcename: "t0" targetname: "e22"class: 12 label: "member" color:blue} +node: {title: "t20" label: "method OO_PROGRAM_EXAMPLE_main" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, variadicity: variadicity_non_variadic params: 0 results: 1 "} -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, +edge: { sourcename: "t20" targetname: "t10"class: 6 label: "res 0" color: green} +node: {title: "t23" label: "class OO_PROGRAM_EXAMPLE_mainframe_tp" info1: "state: layout_undefined +size: -1b, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "n113" targetname: "t18"class:2 priority:2 linestyle:dotted} -edge: { sourcename: "n116" targetname: "t12"class:2 priority:2 linestyle:dotted} -edge: { sourcename: "n117" targetname: "t12"class:2 priority:2 linestyle:dotted} -edge: { sourcename: "n119" targetname: "e20"class:2 priority:2 linestyle:dotted} -edge: { sourcename: "n121" targetname: "t15"class:2 priority:2 linestyle:dotted} -edge: { sourcename: "n123" targetname: "e17"class:2 priority:2 linestyle:dotted} +edge: { sourcename: "n112" targetname: "t17"class:2 priority:2 linestyle:dotted} +edge: { sourcename: "n115" targetname: "t11"class:2 priority:2 linestyle:dotted} +edge: { sourcename: "n116" targetname: "t11"class:2 priority:2 linestyle:dotted} +edge: { sourcename: "n118" targetname: "e19"class:2 priority:2 linestyle:dotted} +edge: { sourcename: "n120" targetname: "t14"class:2 priority:2 linestyle:dotted} +edge: { sourcename: "n122" targetname: "e16"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 801f49750..3bca5194f 100644 --- a/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-pure.vcg +++ b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-pure.vcg @@ -24,152 +24,174 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -node: {title: "n109" label: "Block 109" info1: "visited: 18 +node: {title: "n108" label: "Block 108" info1: "mode: BB +visited: 18 irg: OO_PROGRAM_EXAMPLE_main arity: 1 backedges: -" info2: "((get_irn_irg(n) && get_irn_irg(n) == irg)) && Block node has wrong irg attribute"color: lightyellow} -edge: {sourcename: "n109" targetname: "n108" label: "0" class:13 priority:60 color:red} -node: {title: "n110" label: "Start 110" info1: "visited: 18 +"color: lightyellow} +edge: {sourcename: "n108" targetname: "n107" label: "0" class:13 priority:60 color:red} +node: {title: "n109" label: "Start 109" info1: "mode: T +visited: 18 irg: OO_PROGRAM_EXAMPLE_main arity: 0 start of method of type OO_PROGRAM_EXAMPLE_main -" info2: "mymode == mode_T && Start node"color: blue} -edge: { sourcename: "n110" targetname: "n109" class:2 priority:50 linestyle:dotted} -node: {title: "n108" label: "ProjX 0 108" info1: "visited: 18 +"color: blue} +edge: { sourcename: "n109" targetname: "n108" class:2 priority:50 linestyle:dotted} +node: {title: "n107" label: "ProjX 0 107" info1: "mode: X +visited: 18 irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n108" targetname: "n110" label: "0" class:13 priority:60 color:red} -edge: { sourcename: "n108" targetname: "n109" class:2 priority:50 linestyle:dotted} -node: {title: "n107" label: "Block 107" info1: "visited: 18 +edge: {sourcename: "n107" targetname: "n109" label: "0" class:13 priority:60 color:red} +edge: { sourcename: "n107" targetname: "n108" class:2 priority:50 linestyle:dotted} +node: {title: "n106" label: "Block 106" info1: "mode: BB +visited: 18 irg: OO_PROGRAM_EXAMPLE_main arity: 1 backedges: -" info2: "((get_irn_irg(n) && get_irn_irg(n) == irg)) && Block node has wrong irg attribute"color: lightyellow} -edge: {sourcename: "n107" targetname: "n108" label: "0" class:13 priority:60 color:red} -node: {title: "n118" label: "ProjM 1 118" info1: "visited: 18 +"color: lightyellow} +edge: {sourcename: "n106" targetname: "n107" label: "0" class:13 priority:60 color:red} +node: {title: "n117" label: "ProjM 1 117" info1: "mode: M +visited: 18 irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n118" targetname: "n110" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n118" targetname: "n109" class:2 priority:50 linestyle:dotted} -node: {title: "n116" label: "Alloc 116" info1: "visited: 18 +edge: {sourcename: "n117" targetname: "n109" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n117" targetname: "n108" class:2 priority:50 linestyle:dotted} +node: {title: "n115" label: "Alloc 115" info1: "mode: T +visited: 18 irg: OO_PROGRAM_EXAMPLE_main arity: 2 allocating entity of type PRIMA "} -node: {title: "n116n117" label: "SymC PRIMA size 117" info1: "visited: 18 +node: {title: "n115n116" label: "SymC PRIMA size 116" info1: "mode: Iu +visited: 18 irg: OO_PROGRAM_EXAMPLE_main arity: 0 "} -edge: {sourcename: "n116" targetname: "n118" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n116" targetname: "n116n117" label: "1" class:16 priority:10} -edge: { sourcename: "n116" targetname: "n107" class:2 priority:50 linestyle:dotted} -node: {title: "n115" label: "ProjP 2 115" info1: "visited: 18 +edge: {sourcename: "n115" targetname: "n117" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n115" targetname: "n115n116" label: "1" class:16 priority:10} +edge: { sourcename: "n115" targetname: "n106" class:2 priority:50 linestyle:dotted} +node: {title: "n114" label: "ProjP 2 114" info1: "mode: P +visited: 18 irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n115" targetname: "n116" label: "0" class:1 priority:50} -edge: { sourcename: "n115" targetname: "n107" class:2 priority:50 linestyle:dotted} -node: {title: "n124" label: "ProjM 0 124" info1: "visited: 18 +edge: {sourcename: "n114" targetname: "n115" label: "0" class:1 priority:50} +edge: { sourcename: "n114" targetname: "n106" class:2 priority:50 linestyle:dotted} +node: {title: "n123" label: "ProjM 0 123" info1: "mode: M +visited: 18 irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n124" targetname: "n116" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n124" targetname: "n107" class:2 priority:50 linestyle:dotted} -node: {title: "n123" label: "Sel PRIMA_set_a 123" info1: "visited: 18 +edge: {sourcename: "n123" targetname: "n115" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n123" targetname: "n106" class:2 priority:50 linestyle:dotted} +node: {title: "n122" label: "Sel PRIMA_set_a 122" info1: "mode: P +visited: 18 irg: OO_PROGRAM_EXAMPLE_main arity: 2 Selecting entity of type set_a from entity of type PRIMA "} -edge: {sourcename: "n123" targetname: "n124" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n123" targetname: "n115" label: "1" class:1 priority:50} -edge: { sourcename: "n123" targetname: "n107" class:2 priority:50 linestyle:dotted} -node: {title: "n121" label: "Call 121" info1: "visited: 18 +edge: {sourcename: "n122" targetname: "n123" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n122" targetname: "n114" label: "1" class:1 priority:50} +edge: { sourcename: "n122" targetname: "n106" class:2 priority:50 linestyle:dotted} +node: {title: "n120" label: "Call 120" info1: "mode: T +visited: 18 irg: OO_PROGRAM_EXAMPLE_main arity: 4 calling method of type set_a param 0 type: class_prima_ptr param 1 type: int -" info2: "get_Call_n_params(n) == get_method_n_params(mt) && Number of args for Call doesn't match number of args in non variadic type."} -node: {title: "n121n122" label: "0x2Is 122" info1: "visited: 18 +"} +node: {title: "n120n121" label: "0x2Is 121" info1: "mode: Is +visited: 18 irg: OO_PROGRAM_EXAMPLE_main arity: 0 Const of type type_unknown "color: yellow} -edge: {sourcename: "n121" targetname: "n124" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n121" targetname: "n123" label: "1" class:1 priority:50} -edge: {sourcename: "n121" targetname: "n115" label: "2" class:1 priority:50} -edge: {sourcename: "n121" targetname: "n121n122" label: "3" class:16 priority:10} -edge: { sourcename: "n121" targetname: "n107" class:2 priority:50 linestyle:dotted} -node: {title: "n120" label: "ProjM 0 120" info1: "visited: 18 +edge: {sourcename: "n120" targetname: "n123" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n120" targetname: "n122" label: "1" class:1 priority:50} +edge: {sourcename: "n120" targetname: "n114" label: "2" class:1 priority:50} +edge: {sourcename: "n120" targetname: "n120n121" label: "3" class:16 priority:10} +edge: { sourcename: "n120" targetname: "n106" class:2 priority:50 linestyle:dotted} +node: {title: "n119" label: "ProjM 0 119" info1: "mode: M +visited: 18 irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n120" targetname: "n121" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n120" targetname: "n107" class:2 priority:50 linestyle:dotted} -node: {title: "n119" label: "Sel PRIMA_c 119" info1: "visited: 18 +edge: {sourcename: "n119" targetname: "n120" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n119" targetname: "n106" class:2 priority:50 linestyle:dotted} +node: {title: "n118" label: "Sel PRIMA_c 118" info1: "mode: P +visited: 18 irg: OO_PROGRAM_EXAMPLE_main arity: 2 Selecting entity of type c from entity of type PRIMA "} -edge: {sourcename: "n119" targetname: "n120" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n119" targetname: "n115" label: "1" class:1 priority:50} -edge: { sourcename: "n119" targetname: "n107" class:2 priority:50 linestyle:dotted} -node: {title: "n113" label: "Call 113" info1: "visited: 18 +edge: {sourcename: "n118" targetname: "n119" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n118" targetname: "n114" label: "1" class:1 priority:50} +edge: { sourcename: "n118" targetname: "n106" class:2 priority:50 linestyle:dotted} +node: {title: "n112" label: "Call 112" info1: "mode: T +visited: 18 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 -" info2: "get_Call_n_params(n) == get_method_n_params(mt) && Number of args for Call doesn't match number of args in non variadic type."} -node: {title: "n113n114" label: "0x5Is 114" info1: "visited: 18 +"} +node: {title: "n112n113" label: "0x5Is 113" info1: "mode: Is +visited: 18 irg: OO_PROGRAM_EXAMPLE_main arity: 0 Const of type type_unknown "color: yellow} -edge: {sourcename: "n113" targetname: "n120" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n113" targetname: "n119" label: "1" class:1 priority:50} -edge: {sourcename: "n113" targetname: "n115" label: "2" class:1 priority:50} -edge: {sourcename: "n113" targetname: "n113n114" label: "3" class:16 priority:10} -edge: { sourcename: "n113" targetname: "n107" class:2 priority:50 linestyle:dotted} -node: {title: "n112" label: "ProjT 2 112" info1: "visited: 18 +edge: {sourcename: "n112" targetname: "n119" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n112" targetname: "n118" label: "1" class:1 priority:50} +edge: {sourcename: "n112" targetname: "n114" label: "2" class:1 priority:50} +edge: {sourcename: "n112" targetname: "n112n113" label: "3" class:16 priority:10} +edge: { sourcename: "n112" targetname: "n106" class:2 priority:50 linestyle:dotted} +node: {title: "n111" label: "ProjT 2 111" info1: "mode: T +visited: 18 irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n112" targetname: "n113" label: "0" class:1 priority:50} -edge: { sourcename: "n112" targetname: "n107" class:2 priority:50 linestyle:dotted} -node: {title: "n111" label: "ProjIs 0 111" info1: "visited: 18 +edge: {sourcename: "n111" targetname: "n112" label: "0" class:1 priority:50} +edge: { sourcename: "n111" targetname: "n106" class:2 priority:50 linestyle:dotted} +node: {title: "n110" label: "ProjIs 0 110" info1: "mode: Is +visited: 18 irg: OO_PROGRAM_EXAMPLE_main arity: 1 -" info2: "(mode == get_type_mode(get_method_res_type(mt, proj))) && Mode of Proj from Call doesn't match mode of result type."color: yellow} -edge: {sourcename: "n111" targetname: "n112" label: "0" class:1 priority:50} -edge: { sourcename: "n111" targetname: "n107" class:2 priority:50 linestyle:dotted} -node: {title: "n125" label: "ProjM 0 125" info1: "visited: 18 +"color: yellow} +edge: {sourcename: "n110" targetname: "n111" label: "0" class:1 priority:50} +edge: { sourcename: "n110" targetname: "n106" class:2 priority:50 linestyle:dotted} +node: {title: "n124" label: "ProjM 0 124" info1: "mode: M +visited: 18 irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n125" targetname: "n113" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n125" targetname: "n107" class:2 priority:50 linestyle:dotted} -node: {title: "n106" label: "Return 106" info1: "visited: 18 +edge: {sourcename: "n124" targetname: "n112" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n124" targetname: "n106" class:2 priority:50 linestyle:dotted} +node: {title: "n105" label: "Return 105" info1: "mode: X +visited: 18 irg: OO_PROGRAM_EXAMPLE_main arity: 2 return in method of type OO_PROGRAM_EXAMPLE_main res 0 type: int -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n106" targetname: "n125" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n106" targetname: "n111" label: "1" class:1 priority:50} -edge: { sourcename: "n106" targetname: "n107" class:2 priority:50 linestyle:dotted} -node: {title: "n105" label: "Block 105" info1: "visited: 18 +"} +edge: {sourcename: "n105" targetname: "n124" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n105" targetname: "n110" label: "1" class:1 priority:50} +edge: { sourcename: "n105" targetname: "n106" class:2 priority:50 linestyle:dotted} +node: {title: "n104" label: "Block 104" info1: "mode: BB +visited: 18 irg: OO_PROGRAM_EXAMPLE_main arity: 1 backedges: -" info2: "((get_irn_irg(n) && get_irn_irg(n) == irg)) && Block node has wrong irg attribute"color: lightyellow} -edge: {sourcename: "n105" targetname: "n106" label: "0" class:13 priority:60 color:red} -node: {title: "n103" label: "End 103" info1: "visited: 18 +"color: lightyellow} +edge: {sourcename: "n104" targetname: "n105" label: "0" class:13 priority:60 color:red} +node: {title: "n102" label: "End 102" info1: "mode: X +visited: 18 irg: OO_PROGRAM_EXAMPLE_main arity: 0 "color: blue} -edge: { sourcename: "n103" targetname: "n105" class:2 priority:50 linestyle:dotted} +edge: { sourcename: "n102" targetname: "n104" class:2 priority:50 linestyle:dotted} } diff --git a/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-type.vcg b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-type.vcg new file mode 100644 index 000000000..c6b10a06f --- /dev/null +++ b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-type.vcg @@ -0,0 +1,149 @@ +graph: { title: "ir graph of OO_PROGRAM_EXAMPLE_main" +display_edge_labels: no +layoutalgorithm: mindepth +manhattan_edges: yes +port_sharing: no +orientation: bottom_to_top +classname 1: "intrablock Data" +classname 16: "interblock Data" +classname 2: "Block" +classname 13: "Control Flow" +classname 14: "intrablock Memory" +classname 17: "interblock Memory" +classname 15: "Dominators" +classname 3: "Entity type" +classname 4: "Entity owner" +classname 5: "Method Param" +classname 6: "Method Res" +classname 7: "Super" +classname 8: "Union" +classname 9: "Points-to" +classname 10: "Array Element Type" +classname 11: "Overwrites" +classname 12: "Member" +infoname 1: "Attribute" +infoname 2: "Verification errors" + +node: {title: "t17" label: "method c" info1: "state: layout_fixed, +mode: P, +size: 32b, +variadicity: variadicity_non_variadic +params: 2 +results: 1 +"} +edge: { sourcename: "t17" targetname: "t12"class: 5 label: "param 0" color: green} +edge: { sourcename: "t17" targetname: "t10"class: 5 label: "param 1" color: green} +edge: { sourcename: "t17" targetname: "t10"class: 6 label: "res 0" color: green} +node: {title: "t12" label: "pointer class_prima_ptr" info1: "state: layout_fixed, +mode: P, +size: 32b, +"} +edge: { sourcename: "t12" targetname: "t11"class: 9 label: "points to" color:green} +node: {title: "t11" label: "class PRIMA" info1: "state: layout_undefined +size: -1b, +peculiarity: peculiarity_existent +" color: green} +edge: { sourcename: "t11" targetname: "e13"class: 12 label: "member" color:blue} +edge: { sourcename: "t11" targetname: "e16"class: 12 label: "member" color:blue} +edge: { sourcename: "t11" targetname: "e19"class: 12 label: "member" color:blue} +node: {title: "e13" label: "ent a" color: yellow + info1: " +id: e13 +allocation: allocation_automatic +visibility: visibility_local +variability: variability_uninitialized +volatility: volatility_non_volatile +peculiarity: peculiarity_existent +name: a +ld_name: no yet set +offset(bits): -1" +} +edge: { sourcename: "e13" targetname: "t10"class: 3 label: "type" color: red} +node: {title: "t10" label: "primitive int" info1: "state: layout_fixed, +mode: Is, +size: 32b, +"} +node: {title: "e16" label: "ent PRIMA_set_a" color: yellow + info1: " +id: e16 +allocation: allocation_static +visibility: visibility_local +variability: variability_constant +volatility: volatility_non_volatile +peculiarity: peculiarity_existent +name: set_a +ld_name: PRIMA_set_a +offset(bits): -1 +irg = g67" +} +edge: { sourcename: "e16" targetname: "t14"class: 3 label: "type" color: red} +edge: { sourcename: "e16" targetname: "n15"label: "value 0"} +node: {title: "n15" label: "SymC &set_a 15" info1: "mode: P +visited: 7 +arity: 0 +"} +node: {title: "t14" label: "method set_a" info1: "state: layout_fixed, +mode: P, +size: 32b, +variadicity: variadicity_non_variadic +params: 2 +results: 0 +"} +edge: { sourcename: "t14" targetname: "t12"class: 5 label: "param 0" color: green} +edge: { sourcename: "t14" targetname: "t10"class: 5 label: "param 1" color: green} +node: {title: "e19" label: "ent PRIMA_c" color: yellow + info1: " +id: e19 +allocation: allocation_static +visibility: visibility_local +variability: variability_constant +volatility: volatility_non_volatile +peculiarity: peculiarity_existent +name: c +ld_name: PRIMA_c +offset(bits): -1 +irg = g89" +} +edge: { sourcename: "e19" targetname: "t17"class: 3 label: "type" color: red} +edge: { sourcename: "e19" targetname: "n18"label: "value 0"} +node: {title: "n18" label: "SymC &c 18" info1: "mode: P +visited: 7 +arity: 0 +"} +node: {title: "e22" label: "ent OO_PROGRAM_EXAMPLE_main" color: yellow + info1: " +id: e22 +allocation: allocation_static +visibility: visibility_local +variability: variability_constant +volatility: volatility_non_volatile +peculiarity: peculiarity_existent +name: OO_PROGRAM_EXAMPLE_main +ld_name: no yet set +offset(bits): -1 +irg = g34" +} +edge: { sourcename: "e22" targetname: "t20"class: 3 label: "type" color: red} +edge: { sourcename: "e22" targetname: "n21"label: "value 0"} +node: {title: "n21" label: "SymC &OO_PROGRAM_EXAMPLE_main 21" info1: "mode: P +visited: 7 +arity: 0 +"} +node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined +size: -1b, +peculiarity: peculiarity_existent +" color: green} +edge: { sourcename: "t0" targetname: "e22"class: 12 label: "member" color:blue} +node: {title: "t20" label: "method OO_PROGRAM_EXAMPLE_main" info1: "state: layout_fixed, +mode: P, +size: 32b, +variadicity: variadicity_non_variadic +params: 0 +results: 1 +"} +edge: { sourcename: "t20" targetname: "t10"class: 6 label: "res 0" color: green} +node: {title: "t23" label: "class OO_PROGRAM_EXAMPLE_mainframe_tp" info1: "state: layout_undefined +size: -1b, +peculiarity: peculiarity_existent +" color: green} +} diff --git a/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-wtypes-ip.vcg b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-wtypes-ip.vcg new file mode 100644 index 000000000..b23dea0b9 --- /dev/null +++ b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-wtypes-ip.vcg @@ -0,0 +1,501 @@ +graph: { title: "ir graph of OO_PROGRAM_EXAMPLE_main" +display_edge_labels: no +layoutalgorithm: mindepth +manhattan_edges: yes +port_sharing: no +orientation: bottom_to_top +classname 1: "intrablock Data" +classname 16: "interblock Data" +classname 2: "Block" +classname 13: "Control Flow" +classname 14: "intrablock Memory" +classname 17: "interblock Memory" +classname 15: "Dominators" +classname 3: "Entity type" +classname 4: "Entity owner" +classname 5: "Method Param" +classname 6: "Method Res" +classname 7: "Super" +classname 8: "Union" +classname 9: "Points-to" +classname 10: "Array Element Type" +classname 11: "Overwrites" +classname 12: "Member" +infoname 1: "Attribute" +infoname 2: "Verification errors" + +graph: { title: "g34" 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" class:13 priority:60 color:red} +node: {title: "n102" label: "End 102" info1: "mode: X +visited: 44 +irg: OO_PROGRAM_EXAMPLE_main +arity: 2 +"color: blue} +} + +graph: { title: "n106" label: "Block 106" status:clustered color:yellow +edge: {sourcename: "n106" targetname: "n190" label: "0" class:13 priority:60 color:red} +node: {title: "n105" label: "Return 105" info1: "mode: X +visited: 44 +irg: OO_PROGRAM_EXAMPLE_main +arity: 2 +"} +edge: {sourcename: "n105" targetname: "n192" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n105" targetname: "n193" label: "1" class:1 priority:50} +node: {title: "n192" label: "FilterM 0 192" info1: "mode: M +visited: 44 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: +intra predecessor nodes: + CallT 112 +"color: yellow} +edge: {sourcename: "n192" targetname: "n161" label: "0" class:17 priority:10 color:blue} +node: {title: "n193" label: "FilterIs 0 193" info1: "mode: Is +visited: 44 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: +intra predecessor nodes: + ProjT 111 +"color: yellow} +edge: {sourcename: "n193" targetname: "n153" label: "0" class:16 priority:10} +} + +graph: { title: "n187" label: "Block 187" status:clustered color:yellow +edge: {sourcename: "n187" targetname: "n184" label: "0" class:13 priority:60 color:red} +node: {title: "n186" label: "FilterM 0 186" info1: "mode: M +visited: 44 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: +intra predecessor nodes: + CallT 120 +"color: yellow} +edge: {sourcename: "n186" targetname: "n136" label: "0" class:17 priority:10 color:blue} +node: {title: "n191" label: "ProjX 0 191" info1: "mode: X +visited: 44 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n191" targetname: "n189" label: "0" class:13 priority:60 color:red} +node: {title: "n189" label: "CallBegin 189" info1: "mode: T +visited: 44 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +possible callees: + 0: PRIMA_c +"} +node: {title: "n189n164" label: "SymC &c 164" info1: "mode: P +visited: 44 +irg: OO_PROGRAM_EXAMPLE_main +arity: 0 +"} +edge: {sourcename: "n189" targetname: "n189n164" label: "0" class:16 priority:10} +} + +graph: { title: "n181" label: "Block 181" status:clustered color:yellow +edge: {sourcename: "n181" targetname: "n107" label: "0" class:13 priority:60 color:red} +node: {title: "n123" label: "ProjM 0 123" info1: "mode: M +visited: 44 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n123" targetname: "n115" label: "0" class:17 priority:10 color:blue} +node: {title: "n114" label: "ProjP 2 114" info1: "mode: P +visited: 44 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n114" targetname: "n115" label: "0" class:1 priority:50} +node: {title: "n115" label: "Alloc 115" info1: "mode: T +visited: 44 +irg: OO_PROGRAM_EXAMPLE_main +arity: 2 +allocating entity of type PRIMA +"} +node: {title: "n115n116" label: "SymC PRIMA size 116" info1: "mode: Iu +visited: 44 +irg: OO_PROGRAM_EXAMPLE_main +arity: 0 +"} +edge: {sourcename: "n115" targetname: "n117" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n115" targetname: "n115n116" label: "1" class:16 priority:10} +node: {title: "n185" label: "ProjX 0 185" info1: "mode: X +visited: 44 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n185" targetname: "n183" label: "0" class:13 priority:60 color:red} +node: {title: "n183" label: "CallBegin 183" info1: "mode: T +visited: 44 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +possible callees: + 0: PRIMA_set_a +"} +node: {title: "n183n165" label: "SymC &set_a 165" info1: "mode: P +visited: 44 +irg: OO_PROGRAM_EXAMPLE_main +arity: 0 +"} +edge: {sourcename: "n183" targetname: "n183n165" label: "0" class:16 priority:10} +} + +graph: { title: "n108" label: "Block 108" status:clustered color:yellow +edge: {sourcename: "n108" targetname: "n107" label: "0" class:13 priority:60 color:red} +node: {title: "n117" label: "ProjM 1 117" info1: "mode: M +visited: 44 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n117" targetname: "n109" label: "0" class:17 priority:10 color:blue} +node: {title: "n107" label: "ProjX 0 107" info1: "mode: X +visited: 44 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n107" targetname: "n109" label: "0" class:13 priority:60 color:red} +node: {title: "n109" label: "Start OO_PROGRAM_EXAMPLE_main 109" info1: "mode: T +visited: 44 +irg: OO_PROGRAM_EXAMPLE_main +arity: 0 +start of method of type OO_PROGRAM_EXAMPLE_main +"color: blue} +} + +} + +graph: { title: "g67" label: "PRIMA_set_a" status:clustered color:white +graph: { title: "n178" label: "Block 178" status:clustered color:yellow +edge: {sourcename: "n178" targetname: "n177" label: "0" class:13 priority:60 color:red} +node: {title: "n184" label: "ProjX 0 184" info1: "mode: X +visited: 44 +irg: PRIMA_set_a +arity: 1 +"color: yellow} +edge: {sourcename: "n184" targetname: "n179" label: "0" class:13 priority:60 color:red} +node: {title: "n179" label: "EndReg 179" info1: "mode: T +visited: 44 +irg: PRIMA_set_a +arity: 0 +"color: blue} +} + +graph: { title: "n132" label: "Block 132" status:clustered color:yellow +edge: {sourcename: "n132" targetname: "n133" label: "0" class:13 priority:60 color:red} +node: {title: "n136" label: "ProjM 0 136" info1: "mode: M +visited: 44 +irg: PRIMA_set_a +arity: 1 +"color: yellow} +edge: {sourcename: "n136" targetname: "n137" label: "0" class:17 priority:10 color:blue} +node: {title: "n137" label: "Store 137" info1: "mode: T +visited: 44 +irg: PRIMA_set_a +arity: 3 +"} +edge: {sourcename: "n137" targetname: "n174" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n137" targetname: "n140" label: "1" class:1 priority:50} +edge: {sourcename: "n137" targetname: "n176" label: "2" class:16 priority:10} +node: {title: "n140" label: "Sel a 140" info1: "mode: P +visited: 44 +irg: PRIMA_set_a +arity: 2 +Selecting entity of type int + from entity of type PRIMA +"} +edge: {sourcename: "n140" targetname: "n174" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n140" targetname: "n175" label: "1" class:16 priority:10} +node: {title: "n177" label: "Jmp 177" info1: "mode: X +visited: 44 +irg: PRIMA_set_a +arity: 0 +"} +} + +graph: { title: "n134" label: "Block 134" status:clustered color:yellow +edge: {sourcename: "n134" targetname: "n185" label: "0" class:13 priority:60 color:red} +node: {title: "n174" label: "FilterM 1 174" info1: "mode: M +visited: 44 +irg: PRIMA_set_a +arity: 1 backedges: +intra predecessor nodes: + StartT 135 +"color: yellow} +edge: {sourcename: "n174" targetname: "n123" label: "0" class:17 priority:10 color:blue} +node: {title: "n175" label: "FilterP 0 175" info1: "mode: P +visited: 44 +irg: PRIMA_set_a +arity: 1 backedges: +intra predecessor nodes: + ProjT 139 +"color: yellow} +edge: {sourcename: "n175" targetname: "n114" label: "0" class:16 priority:10} +node: {title: "n176" label: "FilterIs 1 176" info1: "mode: Is +visited: 44 +irg: PRIMA_set_a +arity: 1 backedges: +intra predecessor nodes: + ProjT 139 +"color: yellow} +node: {title: "n176n121" label: "0x2Is 121" info1: "mode: Is +visited: 44 +irg: OO_PROGRAM_EXAMPLE_main +arity: 0 +Const of type type_unknown +"color: yellow} +edge: {sourcename: "n176" targetname: "n176n121" label: "0" class:16 priority:10} +node: {title: "n133" label: "ProjX 0 133" info1: "mode: X +visited: 44 +irg: PRIMA_set_a +arity: 1 +"color: yellow} +edge: {sourcename: "n133" targetname: "n135" label: "0" class:13 priority:60 color:red} +node: {title: "n135" label: "Start PRIMA_set_a 135" info1: "mode: T +visited: 44 +irg: PRIMA_set_a +arity: 0 +start of method of type set_a + param 0 type: class_prima_ptr + param 1 type: int +"color: blue} +} + +} + +graph: { title: "g89" label: "PRIMA_c" status:clustered color:white +graph: { title: "n170" label: "Block 170" status:clustered color:yellow +edge: {sourcename: "n170" targetname: "n169" label: "0" class:13 priority:60 color:red} +node: {title: "n190" label: "ProjX 0 190" info1: "mode: X +visited: 44 +irg: PRIMA_c +arity: 1 +"color: yellow} +edge: {sourcename: "n190" targetname: "n171" label: "0" class:13 priority:60 color:red} +node: {title: "n171" label: "EndReg 171" info1: "mode: T +visited: 44 +irg: PRIMA_c +arity: 0 +"color: blue} +} + +graph: { title: "n149" label: "Block 149" status:clustered color:yellow +edge: {sourcename: "n149" targetname: "n150" label: "0" class:13 priority:60 color:red} +node: {title: "n161" label: "ProjM 0 161" info1: "mode: M +visited: 44 +irg: PRIMA_c +arity: 1 +"color: yellow} +edge: {sourcename: "n161" targetname: "n155" label: "0" class:17 priority:10 color:blue} +node: {title: "n153" label: "AddIs 153" info1: "mode: Is +visited: 44 +irg: PRIMA_c +arity: 2 +"} +edge: {sourcename: "n153" targetname: "n154" label: "0" class:1 priority:50} +edge: {sourcename: "n153" targetname: "n166" label: "1" class:16 priority:10} +node: {title: "n154" label: "ProjIs 2 154" info1: "mode: Is +visited: 44 +irg: PRIMA_c +arity: 1 +"color: yellow} +edge: {sourcename: "n154" targetname: "n155" label: "0" class:1 priority:50} +node: {title: "n155" label: "Load 155" info1: "mode: T +visited: 44 +irg: PRIMA_c +arity: 2 +"} +edge: {sourcename: "n155" targetname: "n167" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n155" targetname: "n156" label: "1" class:1 priority:50} +node: {title: "n156" label: "Sel a 156" info1: "mode: P +visited: 44 +irg: PRIMA_c +arity: 2 +Selecting entity of type int + from entity of type PRIMA +"} +edge: {sourcename: "n156" targetname: "n167" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n156" targetname: "n168" label: "1" class:16 priority:10} +node: {title: "n169" label: "Jmp 169" info1: "mode: X +visited: 44 +irg: PRIMA_c +arity: 0 +"} +} + +graph: { title: "n151" label: "Block 151" status:clustered color:yellow +edge: {sourcename: "n151" targetname: "n191" label: "0" class:13 priority:60 color:red} +node: {title: "n167" label: "FilterM 1 167" info1: "mode: M +visited: 44 +irg: PRIMA_c +arity: 1 backedges: +intra predecessor nodes: + StartT 152 +"color: yellow} +edge: {sourcename: "n167" targetname: "n186" label: "0" class:17 priority:10 color:blue} +node: {title: "n168" label: "FilterP 0 168" info1: "mode: P +visited: 44 +irg: PRIMA_c +arity: 1 backedges: +intra predecessor nodes: + ProjT 158 +"color: yellow} +edge: {sourcename: "n168" targetname: "n114" label: "0" class:16 priority:10} +node: {title: "n166" label: "FilterIs 1 166" info1: "mode: Is +visited: 44 +irg: PRIMA_c +arity: 1 backedges: +intra predecessor nodes: + ProjT 158 +"color: yellow} +node: {title: "n166n113" label: "0x5Is 113" info1: "mode: Is +visited: 44 +irg: OO_PROGRAM_EXAMPLE_main +arity: 0 +Const of type type_unknown +"color: yellow} +edge: {sourcename: "n166" targetname: "n166n113" label: "0" class:16 priority:10} +node: {title: "n150" label: "ProjX 0 150" info1: "mode: X +visited: 44 +irg: PRIMA_c +arity: 1 +"color: yellow} +edge: {sourcename: "n150" targetname: "n152" label: "0" class:13 priority:60 color:red} +node: {title: "n152" label: "Start PRIMA_c 152" info1: "mode: T +visited: 44 +irg: PRIMA_c +arity: 0 +start of method of type c + param 0 type: class_prima_ptr + param 1 type: int +"color: blue} +} + +} + +node: {title: "e13" label: "ent a" color: yellow + info1: " +id: e13 +allocation: allocation_automatic +visibility: visibility_local +variability: variability_uninitialized +volatility: volatility_non_volatile +peculiarity: peculiarity_existent +name: a +ld_name: no yet set +offset(bits): -1" +} +edge: { sourcename: "e13" targetname: "t10"class: 3 label: "type" color: red} +node: {title: "t11" label: "class PRIMA" info1: "state: layout_undefined +size: -1b, +peculiarity: peculiarity_existent +" color: green} +edge: { sourcename: "t11" targetname: "e13"class: 12 label: "member" color:blue} +edge: { sourcename: "t11" targetname: "e16"class: 12 label: "member" color:blue} +edge: { sourcename: "t11" targetname: "e19"class: 12 label: "member" color:blue} +node: {title: "e16" label: "ent PRIMA_set_a" color: yellow + info1: " +id: e16 +allocation: allocation_static +visibility: visibility_local +variability: variability_constant +volatility: volatility_non_volatile +peculiarity: peculiarity_existent +name: set_a +ld_name: PRIMA_set_a +offset(bits): -1 +irg = g67" +} +edge: { sourcename: "e16" targetname: "t14"class: 3 label: "type" color: red} +edge: { sourcename: "e16" targetname: "n15"label: "value 0"} +node: {title: "n15" label: "SymC &set_a 15" info1: "mode: P +visited: 47 +arity: 0 +"} +node: {title: "t14" label: "method set_a" info1: "state: layout_fixed, +mode: P, +size: 32b, +variadicity: variadicity_non_variadic +params: 2 +results: 0 +"} +edge: { sourcename: "t14" targetname: "t12"class: 5 label: "param 0" color: green} +edge: { sourcename: "t14" targetname: "t10"class: 5 label: "param 1" color: green} +node: {title: "t12" label: "pointer class_prima_ptr" info1: "state: layout_fixed, +mode: P, +size: 32b, +"} +edge: { sourcename: "t12" targetname: "t11"class: 9 label: "points to" color:green} +node: {title: "t10" label: "primitive int" info1: "state: layout_fixed, +mode: Is, +size: 32b, +"} +node: {title: "e19" label: "ent PRIMA_c" color: yellow + info1: " +id: e19 +allocation: allocation_static +visibility: visibility_local +variability: variability_constant +volatility: volatility_non_volatile +peculiarity: peculiarity_existent +name: c +ld_name: PRIMA_c +offset(bits): -1 +irg = g89" +} +edge: { sourcename: "e19" targetname: "t17"class: 3 label: "type" color: red} +edge: { sourcename: "e19" targetname: "n18"label: "value 0"} +node: {title: "n18" label: "SymC &c 18" info1: "mode: P +visited: 48 +arity: 0 +"} +node: {title: "t17" label: "method c" info1: "state: layout_fixed, +mode: P, +size: 32b, +variadicity: variadicity_non_variadic +params: 2 +results: 1 +"} +edge: { sourcename: "t17" targetname: "t12"class: 5 label: "param 0" color: green} +edge: { sourcename: "t17" targetname: "t10"class: 5 label: "param 1" color: green} +edge: { sourcename: "t17" targetname: "t10"class: 6 label: "res 0" color: green} +node: {title: "e22" label: "ent OO_PROGRAM_EXAMPLE_main" color: yellow + info1: " +id: e22 +allocation: allocation_static +visibility: visibility_local +variability: variability_constant +volatility: volatility_non_volatile +peculiarity: peculiarity_existent +name: OO_PROGRAM_EXAMPLE_main +ld_name: no yet set +offset(bits): -1 +irg = g34" +} +edge: { sourcename: "e22" targetname: "t20"class: 3 label: "type" color: red} +edge: { sourcename: "e22" targetname: "n21"label: "value 0"} +node: {title: "n21" label: "SymC &OO_PROGRAM_EXAMPLE_main 21" info1: "mode: P +visited: 49 +arity: 0 +"} +node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined +size: -1b, +peculiarity: peculiarity_existent +" color: green} +edge: { sourcename: "t0" targetname: "e22"class: 12 label: "member" color:blue} +node: {title: "t20" label: "method OO_PROGRAM_EXAMPLE_main" info1: "state: layout_fixed, +mode: P, +size: 32b, +variadicity: variadicity_non_variadic +params: 0 +results: 1 +"} +edge: { sourcename: "t20" targetname: "t10"class: 6 label: "res 0" color: green} +node: {title: "t23" label: "class OO_PROGRAM_EXAMPLE_mainframe_tp" info1: "state: layout_undefined +size: -1b, +peculiarity: peculiarity_existent +" color: green} +edge: { sourcename: "n156" targetname: "e13"class:2 priority:2 linestyle:dotted} +edge: { sourcename: "n115" targetname: "t11"class:2 priority:2 linestyle:dotted} +edge: { sourcename: "n116" targetname: "t11"class:2 priority:2 linestyle:dotted} +edge: { sourcename: "n140" targetname: "e13"class:2 priority:2 linestyle:dotted} +} diff --git a/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-wtypes.vcg b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-wtypes.vcg new file mode 100644 index 000000000..6ea58ea4e --- /dev/null +++ b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-wtypes.vcg @@ -0,0 +1,306 @@ +graph: { title: "ir graph of OO_PROGRAM_EXAMPLE_main" +display_edge_labels: no +layoutalgorithm: mindepth +manhattan_edges: yes +port_sharing: no +orientation: bottom_to_top +classname 1: "intrablock Data" +classname 16: "interblock Data" +classname 2: "Block" +classname 13: "Control Flow" +classname 14: "intrablock Memory" +classname 17: "interblock Memory" +classname 15: "Dominators" +classname 3: "Entity type" +classname 4: "Entity owner" +classname 5: "Method Param" +classname 6: "Method Res" +classname 7: "Super" +classname 8: "Union" +classname 9: "Points-to" +classname 10: "Array Element Type" +classname 11: "Overwrites" +classname 12: "Member" +infoname 1: "Attribute" +infoname 2: "Verification errors" + +graph: { title: "g34" 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" class:13 priority:60 color:red} +node: {title: "n102" label: "End 102" info1: "mode: X +visited: 23 +irg: OO_PROGRAM_EXAMPLE_main +arity: 0 +"color: blue} +} + +graph: { title: "n106" label: "Block 106" status:clustered color:yellow +edge: {sourcename: "n106" targetname: "n107" label: "0" class:13 priority:60 color:red} +node: {title: "n105" label: "Return 105" info1: "mode: X +visited: 23 +irg: OO_PROGRAM_EXAMPLE_main +arity: 2 +return in method of type OO_PROGRAM_EXAMPLE_main + res 0 type: int +"} +edge: {sourcename: "n105" targetname: "n124" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n105" targetname: "n110" label: "1" class:1 priority:50} +node: {title: "n124" label: "ProjM 0 124" info1: "mode: M +visited: 23 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n124" targetname: "n112" label: "0" class:17 priority:10 color:blue} +node: {title: "n110" label: "ProjIs 0 110" info1: "mode: Is +visited: 23 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n110" targetname: "n111" label: "0" class:1 priority:50} +node: {title: "n111" label: "ProjT 2 111" info1: "mode: T +visited: 23 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n111" targetname: "n112" label: "0" class:1 priority:50} +node: {title: "n112" label: "Call 112" info1: "mode: T +visited: 23 +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: "n112n113" label: "0x5Is 113" info1: "mode: Is +visited: 23 +irg: OO_PROGRAM_EXAMPLE_main +arity: 0 +Const of type type_unknown +"color: yellow} +edge: {sourcename: "n112" targetname: "n119" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n112" targetname: "n118" label: "1" class:1 priority:50} +edge: {sourcename: "n112" targetname: "n114" label: "2" class:1 priority:50} +edge: {sourcename: "n112" targetname: "n112n113" label: "3" class:16 priority:10} +node: {title: "n118" label: "Sel PRIMA_c 118" info1: "mode: P +visited: 23 +irg: OO_PROGRAM_EXAMPLE_main +arity: 2 +Selecting entity of type c + from entity of type PRIMA +"} +edge: {sourcename: "n118" targetname: "n119" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n118" targetname: "n114" label: "1" class:1 priority:50} +node: {title: "n119" label: "ProjM 0 119" info1: "mode: M +visited: 23 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n119" targetname: "n120" label: "0" class:17 priority:10 color:blue} +node: {title: "n120" label: "Call 120" info1: "mode: T +visited: 23 +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: "n120n121" label: "0x2Is 121" info1: "mode: Is +visited: 23 +irg: OO_PROGRAM_EXAMPLE_main +arity: 0 +Const of type type_unknown +"color: yellow} +edge: {sourcename: "n120" targetname: "n123" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n120" targetname: "n122" label: "1" class:1 priority:50} +edge: {sourcename: "n120" targetname: "n114" label: "2" class:1 priority:50} +edge: {sourcename: "n120" targetname: "n120n121" label: "3" class:16 priority:10} +node: {title: "n122" label: "Sel PRIMA_set_a 122" info1: "mode: P +visited: 23 +irg: OO_PROGRAM_EXAMPLE_main +arity: 2 +Selecting entity of type set_a + from entity of type PRIMA +"} +edge: {sourcename: "n122" targetname: "n123" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n122" targetname: "n114" label: "1" class:1 priority:50} +node: {title: "n123" label: "ProjM 0 123" info1: "mode: M +visited: 23 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n123" targetname: "n115" label: "0" class:17 priority:10 color:blue} +node: {title: "n114" label: "ProjP 2 114" info1: "mode: P +visited: 23 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n114" targetname: "n115" label: "0" class:1 priority:50} +node: {title: "n115" label: "Alloc 115" info1: "mode: T +visited: 23 +irg: OO_PROGRAM_EXAMPLE_main +arity: 2 +allocating entity of type PRIMA +"} +node: {title: "n115n116" label: "SymC PRIMA size 116" info1: "mode: Iu +visited: 23 +irg: OO_PROGRAM_EXAMPLE_main +arity: 0 +"} +edge: {sourcename: "n115" targetname: "n117" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n115" targetname: "n115n116" label: "1" class:16 priority:10} +} + +graph: { title: "n108" label: "Block 108" status:clustered color:yellow +edge: {sourcename: "n108" targetname: "n107" label: "0" class:13 priority:60 color:red} +node: {title: "n117" label: "ProjM 1 117" info1: "mode: M +visited: 23 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n117" targetname: "n109" label: "0" class:17 priority:10 color:blue} +node: {title: "n107" label: "ProjX 0 107" info1: "mode: X +visited: 23 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n107" targetname: "n109" label: "0" class:13 priority:60 color:red} +node: {title: "n109" label: "Start 109" info1: "mode: T +visited: 23 +irg: OO_PROGRAM_EXAMPLE_main +arity: 0 +start of method of type OO_PROGRAM_EXAMPLE_main +"color: blue} +} + +} + +node: {title: "t17" label: "method c" info1: "state: layout_fixed, +mode: P, +size: 32b, +variadicity: variadicity_non_variadic +params: 2 +results: 1 +"} +edge: { sourcename: "t17" targetname: "t12"class: 5 label: "param 0" color: green} +edge: { sourcename: "t17" targetname: "t10"class: 5 label: "param 1" color: green} +edge: { sourcename: "t17" targetname: "t10"class: 6 label: "res 0" color: green} +node: {title: "t12" label: "pointer class_prima_ptr" info1: "state: layout_fixed, +mode: P, +size: 32b, +"} +edge: { sourcename: "t12" targetname: "t11"class: 9 label: "points to" color:green} +node: {title: "t11" label: "class PRIMA" info1: "state: layout_undefined +size: -1b, +peculiarity: peculiarity_existent +" color: green} +edge: { sourcename: "t11" targetname: "e13"class: 12 label: "member" color:blue} +edge: { sourcename: "t11" targetname: "e16"class: 12 label: "member" color:blue} +edge: { sourcename: "t11" targetname: "e19"class: 12 label: "member" color:blue} +node: {title: "e13" label: "ent a" color: yellow + info1: " +id: e13 +allocation: allocation_automatic +visibility: visibility_local +variability: variability_uninitialized +volatility: volatility_non_volatile +peculiarity: peculiarity_existent +name: a +ld_name: no yet set +offset(bits): -1" +} +edge: { sourcename: "e13" targetname: "t10"class: 3 label: "type" color: red} +node: {title: "t10" label: "primitive int" info1: "state: layout_fixed, +mode: Is, +size: 32b, +"} +node: {title: "e16" label: "ent PRIMA_set_a" color: yellow + info1: " +id: e16 +allocation: allocation_static +visibility: visibility_local +variability: variability_constant +volatility: volatility_non_volatile +peculiarity: peculiarity_existent +name: set_a +ld_name: PRIMA_set_a +offset(bits): -1 +irg = g67" +} +edge: { sourcename: "e16" targetname: "t14"class: 3 label: "type" color: red} +edge: { sourcename: "e16" targetname: "n15"label: "value 0"} +node: {title: "n15" label: "SymC &set_a 15" info1: "mode: P +visited: 4 +arity: 0 +"} +node: {title: "t14" label: "method set_a" info1: "state: layout_fixed, +mode: P, +size: 32b, +variadicity: variadicity_non_variadic +params: 2 +results: 0 +"} +edge: { sourcename: "t14" targetname: "t12"class: 5 label: "param 0" color: green} +edge: { sourcename: "t14" targetname: "t10"class: 5 label: "param 1" color: green} +node: {title: "e19" label: "ent PRIMA_c" color: yellow + info1: " +id: e19 +allocation: allocation_static +visibility: visibility_local +variability: variability_constant +volatility: volatility_non_volatile +peculiarity: peculiarity_existent +name: c +ld_name: PRIMA_c +offset(bits): -1 +irg = g89" +} +edge: { sourcename: "e19" targetname: "t17"class: 3 label: "type" color: red} +edge: { sourcename: "e19" targetname: "n18"label: "value 0"} +node: {title: "n18" label: "SymC &c 18" info1: "mode: P +visited: 4 +arity: 0 +"} +node: {title: "e22" label: "ent OO_PROGRAM_EXAMPLE_main" color: yellow + info1: " +id: e22 +allocation: allocation_static +visibility: visibility_local +variability: variability_constant +volatility: volatility_non_volatile +peculiarity: peculiarity_existent +name: OO_PROGRAM_EXAMPLE_main +ld_name: no yet set +offset(bits): -1 +irg = g34" +} +edge: { sourcename: "e22" targetname: "t20"class: 3 label: "type" color: red} +edge: { sourcename: "e22" targetname: "n21"label: "value 0"} +node: {title: "n21" label: "SymC &OO_PROGRAM_EXAMPLE_main 21" info1: "mode: P +visited: 4 +arity: 0 +"} +node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined +size: -1b, +peculiarity: peculiarity_existent +" color: green} +edge: { sourcename: "t0" targetname: "e22"class: 12 label: "member" color:blue} +node: {title: "t20" label: "method OO_PROGRAM_EXAMPLE_main" info1: "state: layout_fixed, +mode: P, +size: 32b, +variadicity: variadicity_non_variadic +params: 0 +results: 1 +"} +edge: { sourcename: "t20" targetname: "t10"class: 6 label: "res 0" color: green} +node: {title: "t23" label: "class OO_PROGRAM_EXAMPLE_mainframe_tp" info1: "state: layout_undefined +size: -1b, +peculiarity: peculiarity_existent +" color: green} +edge: { sourcename: "n112" targetname: "t17"class:2 priority:2 linestyle:dotted} +edge: { sourcename: "n115" targetname: "t11"class:2 priority:2 linestyle:dotted} +edge: { sourcename: "n116" targetname: "t11"class:2 priority:2 linestyle:dotted} +edge: { sourcename: "n118" targetname: "e19"class:2 priority:2 linestyle:dotted} +edge: { sourcename: "n120" targetname: "t14"class:2 priority:2 linestyle:dotted} +edge: { sourcename: "n122" targetname: "e16"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 82a561c05..21ddff16c 100644 --- a/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main.vcg +++ b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main.vcg @@ -24,134 +24,153 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -graph: { title: "g35" label: "OO_PROGRAM_EXAMPLE_main" status:clustered color:white -graph: { title: "n105" label: "Block 105" status:clustered color:yellow -edge: {sourcename: "n105" targetname: "n106" label: "0" class:13 priority:60 color:red} -node: {title: "n103" label: "End 103" info1: "visited: 19 +graph: { title: "g34" 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" class:13 priority:60 color:red} +node: {title: "n102" label: "End 102" info1: "mode: X +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 0 "color: blue} } -graph: { title: "n107" label: "Block 107" status:clustered color:yellow -edge: {sourcename: "n107" targetname: "n108" label: "0" class:13 priority:60 color:red} -node: {title: "n106" label: "Return 106" info1: "visited: 19 +graph: { title: "n106" label: "Block 106" status:clustered color:yellow +edge: {sourcename: "n106" targetname: "n107" label: "0" class:13 priority:60 color:red} +node: {title: "n105" label: "Return 105" info1: "mode: X +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 2 return in method of type OO_PROGRAM_EXAMPLE_main res 0 type: int -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n106" targetname: "n125" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n106" targetname: "n111" label: "1" class:1 priority:50} -node: {title: "n125" label: "ProjM 0 125" info1: "visited: 19 +"} +edge: {sourcename: "n105" targetname: "n124" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n105" targetname: "n110" label: "1" class:1 priority:50} +node: {title: "n124" label: "ProjM 0 124" info1: "mode: M +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n125" targetname: "n113" label: "0" class:17 priority:10 color:blue} -node: {title: "n111" label: "ProjIs 0 111" info1: "visited: 19 +edge: {sourcename: "n124" targetname: "n112" label: "0" class:17 priority:10 color:blue} +node: {title: "n110" label: "ProjIs 0 110" info1: "mode: Is +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 1 -" info2: "(mode == get_type_mode(get_method_res_type(mt, proj))) && Mode of Proj from Call doesn't match mode of result type."color: yellow} -edge: {sourcename: "n111" targetname: "n112" label: "0" class:1 priority:50} -node: {title: "n112" label: "ProjT 2 112" info1: "visited: 19 +"color: yellow} +edge: {sourcename: "n110" targetname: "n111" label: "0" class:1 priority:50} +node: {title: "n111" label: "ProjT 2 111" info1: "mode: T +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n112" targetname: "n113" label: "0" class:1 priority:50} -node: {title: "n113" label: "Call 113" info1: "visited: 19 +edge: {sourcename: "n111" targetname: "n112" label: "0" class:1 priority:50} +node: {title: "n112" label: "Call 112" info1: "mode: T +visited: 19 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 -" info2: "get_Call_n_params(n) == get_method_n_params(mt) && Number of args for Call doesn't match number of args in non variadic type."} -node: {title: "n113n114" label: "0x5Is 114" info1: "visited: 19 +"} +node: {title: "n112n113" label: "0x5Is 113" info1: "mode: Is +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 0 Const of type type_unknown "color: yellow} -edge: {sourcename: "n113" targetname: "n120" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n113" targetname: "n119" label: "1" class:1 priority:50} -edge: {sourcename: "n113" targetname: "n115" label: "2" class:1 priority:50} -edge: {sourcename: "n113" targetname: "n113n114" label: "3" class:16 priority:10} -node: {title: "n119" label: "Sel PRIMA_c 119" info1: "visited: 19 +edge: {sourcename: "n112" targetname: "n119" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n112" targetname: "n118" label: "1" class:1 priority:50} +edge: {sourcename: "n112" targetname: "n114" label: "2" class:1 priority:50} +edge: {sourcename: "n112" targetname: "n112n113" label: "3" class:16 priority:10} +node: {title: "n118" label: "Sel PRIMA_c 118" info1: "mode: P +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 2 Selecting entity of type c from entity of type PRIMA "} -edge: {sourcename: "n119" targetname: "n120" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n119" targetname: "n115" label: "1" class:1 priority:50} -node: {title: "n120" label: "ProjM 0 120" info1: "visited: 19 +edge: {sourcename: "n118" targetname: "n119" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n118" targetname: "n114" label: "1" class:1 priority:50} +node: {title: "n119" label: "ProjM 0 119" info1: "mode: M +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n120" targetname: "n121" label: "0" class:17 priority:10 color:blue} -node: {title: "n121" label: "Call 121" info1: "visited: 19 +edge: {sourcename: "n119" targetname: "n120" label: "0" class:17 priority:10 color:blue} +node: {title: "n120" label: "Call 120" info1: "mode: T +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 4 calling method of type set_a param 0 type: class_prima_ptr param 1 type: int -" info2: "get_Call_n_params(n) == get_method_n_params(mt) && Number of args for Call doesn't match number of args in non variadic type."} -node: {title: "n121n122" label: "0x2Is 122" info1: "visited: 19 +"} +node: {title: "n120n121" label: "0x2Is 121" info1: "mode: Is +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 0 Const of type type_unknown "color: yellow} -edge: {sourcename: "n121" targetname: "n124" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n121" targetname: "n123" label: "1" class:1 priority:50} -edge: {sourcename: "n121" targetname: "n115" label: "2" class:1 priority:50} -edge: {sourcename: "n121" targetname: "n121n122" label: "3" class:16 priority:10} -node: {title: "n123" label: "Sel PRIMA_set_a 123" info1: "visited: 19 +edge: {sourcename: "n120" targetname: "n123" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n120" targetname: "n122" label: "1" class:1 priority:50} +edge: {sourcename: "n120" targetname: "n114" label: "2" class:1 priority:50} +edge: {sourcename: "n120" targetname: "n120n121" label: "3" class:16 priority:10} +node: {title: "n122" label: "Sel PRIMA_set_a 122" info1: "mode: P +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 2 Selecting entity of type set_a from entity of type PRIMA "} -edge: {sourcename: "n123" targetname: "n124" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n123" targetname: "n115" label: "1" class:1 priority:50} -node: {title: "n124" label: "ProjM 0 124" info1: "visited: 19 +edge: {sourcename: "n122" targetname: "n123" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n122" targetname: "n114" label: "1" class:1 priority:50} +node: {title: "n123" label: "ProjM 0 123" info1: "mode: M +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n124" targetname: "n116" label: "0" class:17 priority:10 color:blue} -node: {title: "n115" label: "ProjP 2 115" info1: "visited: 19 +edge: {sourcename: "n123" targetname: "n115" label: "0" class:17 priority:10 color:blue} +node: {title: "n114" label: "ProjP 2 114" info1: "mode: P +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n115" targetname: "n116" label: "0" class:1 priority:50} -node: {title: "n116" label: "Alloc 116" info1: "visited: 19 +edge: {sourcename: "n114" targetname: "n115" label: "0" class:1 priority:50} +node: {title: "n115" label: "Alloc 115" info1: "mode: T +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 2 allocating entity of type PRIMA "} -node: {title: "n116n117" label: "SymC PRIMA size 117" info1: "visited: 19 +node: {title: "n115n116" label: "SymC PRIMA size 116" info1: "mode: Iu +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 0 "} -edge: {sourcename: "n116" targetname: "n118" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n116" targetname: "n116n117" label: "1" class:16 priority:10} +edge: {sourcename: "n115" targetname: "n117" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n115" targetname: "n115n116" label: "1" class:16 priority:10} } -graph: { title: "n109" label: "Block 109" status:clustered color:yellow -edge: {sourcename: "n109" targetname: "n108" label: "0" class:13 priority:60 color:red} -node: {title: "n118" label: "ProjM 1 118" info1: "visited: 19 +graph: { title: "n108" label: "Block 108" status:clustered color:yellow +edge: {sourcename: "n108" targetname: "n107" label: "0" class:13 priority:60 color:red} +node: {title: "n117" label: "ProjM 1 117" info1: "mode: M +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n118" targetname: "n110" label: "0" class:17 priority:10 color:blue} -node: {title: "n108" label: "ProjX 0 108" info1: "visited: 19 +edge: {sourcename: "n117" targetname: "n109" label: "0" class:17 priority:10 color:blue} +node: {title: "n107" label: "ProjX 0 107" info1: "mode: X +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n108" targetname: "n110" label: "0" class:13 priority:60 color:red} -node: {title: "n110" label: "Start 110" info1: "visited: 19 +edge: {sourcename: "n107" targetname: "n109" label: "0" class:13 priority:60 color:red} +node: {title: "n109" label: "Start 109" info1: "mode: T +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 0 start of method of type OO_PROGRAM_EXAMPLE_main -" info2: "mymode == mode_T && Start node"color: blue} +"color: blue} } } diff --git a/testprograms/ref-results/PRIMA_INLINE_c-wtypes.vcg b/testprograms/ref-results/PRIMA_INLINE_c-wtypes.vcg index 94f2a3e52..5c8aef4e9 100644 --- a/testprograms/ref-results/PRIMA_INLINE_c-wtypes.vcg +++ b/testprograms/ref-results/PRIMA_INLINE_c-wtypes.vcg @@ -24,100 +24,115 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -graph: { title: "g90" label: "PRIMA_INLINE_c" status:clustered color:white -graph: { title: "n241" label: "Block 241" status:clustered color:yellow -edge: {sourcename: "n241" targetname: "n243" label: "0" class:13 priority:60 color:red} -edge: {sourcename: "n241" targetname: "n242" label: "1" class:13 priority:60 color:red} -node: {title: "n245" label: "PhiM 245" info1: "visited: 26 +graph: { title: "g89" label: "PRIMA_INLINE_c" status:clustered color:white +graph: { title: "n240" label: "Block 240" status:clustered color:yellow +edge: {sourcename: "n240" targetname: "n242" label: "0" class:13 priority:60 color:red} +edge: {sourcename: "n240" targetname: "n241" label: "1" class:13 priority:60 color:red} +node: {title: "n244" label: "PhiM 244" info1: "mode: M +visited: 26 irg: PRIMA_INLINE_c arity: 2 backedges: -" info2: "mode_is_dataM(mymode) && Phi node"color: green} -edge: {sourcename: "n245" targetname: "n254" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n245" targetname: "n246" label: "1" class:17 priority:10 color:blue} -node: {title: "n246" label: "Store 246" info1: "visited: 26 +"color: green} +edge: {sourcename: "n244" targetname: "n253" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n244" targetname: "n245" label: "1" class:17 priority:10 color:blue} +node: {title: "n245" label: "Store 245" info1: "mode: T +visited: 26 irg: PRIMA_INLINE_c arity: 3 -" info2: "mymode == mode_T && Store node"} -edge: {sourcename: "n246" targetname: "n245" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n246" targetname: "n252" label: "1" class:1 priority:50} -edge: {sourcename: "n246" targetname: "n247" label: "2" class:1 priority:50} -node: {title: "n252" label: "Sel a 252" info1: "visited: 26 +"} +edge: {sourcename: "n245" targetname: "n244" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n245" targetname: "n251" label: "1" class:1 priority:50} +edge: {sourcename: "n245" targetname: "n246" label: "2" class:1 priority:50} +node: {title: "n251" label: "Sel a 251" info1: "mode: P +visited: 26 irg: PRIMA_INLINE_c arity: 2 Selecting entity of type int from entity of type PRIMA_INLINE "} -edge: {sourcename: "n252" targetname: "n245" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n252" targetname: "n253" label: "1" class:16 priority:10} -node: {title: "n247" label: "PhiIs 247" info1: "visited: 26 +edge: {sourcename: "n251" targetname: "n244" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n251" targetname: "n252" label: "1" class:16 priority:10} +node: {title: "n246" label: "PhiIs 246" info1: "mode: Is +visited: 26 irg: PRIMA_INLINE_c arity: 2 backedges: -" info2: "mode_is_dataM(mymode) && Phi node"color: green} -edge: {sourcename: "n247" targetname: "n250" label: "0" class:16 priority:10} -edge: {sourcename: "n247" targetname: "n248" label: "1" class:1 priority:50} -node: {title: "n248" label: "PhiIs 248" info1: "visited: 26 +"color: green} +edge: {sourcename: "n246" targetname: "n249" label: "0" class:16 priority:10} +edge: {sourcename: "n246" targetname: "n247" label: "1" class:1 priority:50} +node: {title: "n247" label: "PhiIs 247" info1: "mode: Is +visited: 26 irg: PRIMA_INLINE_c arity: 2 backedges: -" info2: "mode_is_dataM(mymode) && Phi node"color: green} -edge: {sourcename: "n248" targetname: "n249" label: "0" class:16 priority:10} -edge: {sourcename: "n248" targetname: "n247" label: "1" class:1 priority:50} -node: {title: "n242" label: "Jmp 242" info1: "visited: 26 +"color: green} +edge: {sourcename: "n247" targetname: "n248" label: "0" class:16 priority:10} +edge: {sourcename: "n247" targetname: "n246" label: "1" class:1 priority:50} +node: {title: "n241" label: "Jmp 241" info1: "mode: X +visited: 26 irg: PRIMA_INLINE_c arity: 0 -" info2: "mymode == mode_X && Jmp node"} +"} } -graph: { title: "n244" label: "Block 244" status:clustered color:yellow -edge: {sourcename: "n244" targetname: "n239" label: "0" class:13 priority:60 color:red} -node: {title: "n253" label: "ProjP 0 253" info1: "visited: 26 +graph: { title: "n243" label: "Block 243" status:clustered color:yellow +edge: {sourcename: "n243" targetname: "n238" label: "0" class:13 priority:60 color:red} +node: {title: "n252" label: "ProjP 0 252" info1: "mode: P +visited: 26 irg: PRIMA_INLINE_c arity: 1 -" info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow} -edge: {sourcename: "n253" targetname: "n251" label: "0" class:16 priority:10} -node: {title: "n250" label: "ProjIs 1 250" info1: "visited: 26 +"color: yellow} +edge: {sourcename: "n252" targetname: "n250" label: "0" class:16 priority:10} +node: {title: "n249" label: "ProjIs 1 249" info1: "mode: Is +visited: 26 irg: PRIMA_INLINE_c arity: 1 -" info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow} -edge: {sourcename: "n250" targetname: "n251" label: "0" class:16 priority:10} -node: {title: "n243" label: "Jmp 243" info1: "visited: 26 +"color: yellow} +edge: {sourcename: "n249" targetname: "n250" label: "0" class:16 priority:10} +node: {title: "n242" label: "Jmp 242" info1: "mode: X +visited: 26 irg: PRIMA_INLINE_c arity: 0 -" info2: "mymode == mode_X && Jmp node"} +"} } -graph: { title: "n238" label: "Block 238" status:clustered color:yellow -edge: {sourcename: "n238" targetname: "n239" label: "0" class:13 priority:60 color:red} -node: {title: "n254" label: "ProjM 1 254" info1: "visited: 26 +graph: { title: "n237" label: "Block 237" status:clustered color:yellow +edge: {sourcename: "n237" targetname: "n238" label: "0" class:13 priority:60 color:red} +node: {title: "n253" label: "ProjM 1 253" info1: "mode: M +visited: 26 irg: PRIMA_INLINE_c arity: 1 "color: yellow} -edge: {sourcename: "n254" targetname: "n240" label: "0" class:17 priority:10 color:blue} -node: {title: "n251" label: "ProjT 4 251" info1: "visited: 26 +edge: {sourcename: "n253" targetname: "n239" label: "0" class:17 priority:10 color:blue} +node: {title: "n250" label: "ProjT 4 250" info1: "mode: T +visited: 26 irg: PRIMA_INLINE_c arity: 1 "color: yellow} -edge: {sourcename: "n251" targetname: "n240" label: "0" class:1 priority:50} -node: {title: "n249" label: "0x0Is 249" info1: "visited: 26 +edge: {sourcename: "n250" targetname: "n239" label: "0" class:1 priority:50} +node: {title: "n248" label: "0x0Is 248" info1: "mode: Is +visited: 26 irg: PRIMA_INLINE_c arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n239" label: "ProjX 0 239" info1: "visited: 26 +"color: yellow} +node: {title: "n238" label: "ProjX 0 238" info1: "mode: X +visited: 26 irg: PRIMA_INLINE_c arity: 1 "color: yellow} -edge: {sourcename: "n239" targetname: "n240" label: "0" class:13 priority:60 color:red} -node: {title: "n240" label: "Start 240" info1: "visited: 26 +edge: {sourcename: "n238" targetname: "n239" label: "0" class:13 priority:60 color:red} +node: {title: "n239" label: "Start 239" info1: "mode: T +visited: 26 irg: PRIMA_INLINE_c arity: 0 start of method of type c param 0 type: class_prima_ptr param 1 type: int -" info2: "mymode == mode_T && Start node"color: blue} +"color: blue} } -graph: { title: "n237" label: "Block 237" status:clustered color:yellow -node: {title: "n235" label: "End 235" info1: "visited: 26 +graph: { title: "n236" label: "Block 236" status:clustered color:yellow +node: {title: "n234" label: "End 234" info1: "mode: X +visited: 26 irg: PRIMA_INLINE_c arity: 2 "color: blue} @@ -125,95 +140,95 @@ arity: 2 } -node: {title: "e14" label: "ent a" color: yellow +node: {title: "e13" label: "ent a" color: yellow info1: " -id: e14 +id: e13 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: a -ld_name: no yet set -offset: -1" +peculiarity: peculiarity_existent +name: a +ld_name: no yet set +offset(bits): -1" } -edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red} -node: {title: "t12" label: "class PRIMA_INLINE" info1: "state: layout_undefined -size: -1B, +edge: { sourcename: "e13" targetname: "t10"class: 3 label: "type" color: red} +node: {title: "t11" label: "class PRIMA_INLINE" info1: "state: layout_undefined +size: -1b, peculiarity: peculiarity_existent " color: green} -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 +edge: { sourcename: "t11" targetname: "e13"class: 12 label: "member" color:blue} +edge: { sourcename: "t11" targetname: "e16"class: 12 label: "member" color:blue} +edge: { sourcename: "t11" targetname: "e19"class: 12 label: "member" color:blue} +node: {title: "e16" label: "ent PRIMA_INLINE_set_a" color: yellow info1: " -id: e17 +id: e16 allocation: allocation_static visibility: visibility_local variability: variability_constant volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: set_a -ld_name: PRIMA_INLINE_set_a -offset: -1 -irg = g68" +peculiarity: peculiarity_existent +name: set_a +ld_name: PRIMA_INLINE_set_a +offset(bits): -1 +irg = g67" } -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" info1: "visited: 3 +edge: { sourcename: "e16" targetname: "t14"class: 3 label: "type" color: red} +edge: { sourcename: "e16" targetname: "n15"label: "value 0"} +node: {title: "n15" label: "SymC &set_a 15" info1: "mode: P +visited: 3 arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t15" label: "method set_a" info1: "state: layout_fixed, +"} +node: {title: "t14" label: "method set_a" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, variadicity: variadicity_non_variadic params: 2 results: 0 "} -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, +edge: { sourcename: "t14" targetname: "t12"class: 5 label: "param 0" color: green} +edge: { sourcename: "t14" targetname: "t10"class: 5 label: "param 1" color: green} +node: {title: "t12" label: "pointer class_prima_ptr" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, "} -edge: { sourcename: "t13" targetname: "t12"class: 9 label: "points to" color:green} -node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, +edge: { sourcename: "t12" targetname: "t11"class: 9 label: "points to" color:green} +node: {title: "t10" label: "primitive int" info1: "state: layout_fixed, mode: Is, -size: 4B, +size: 32b, "} -node: {title: "e20" label: "ent PRIMA_INLINE_c" color: yellow +node: {title: "e19" label: "ent PRIMA_INLINE_c" color: yellow info1: " -id: e20 +id: e19 allocation: allocation_static visibility: visibility_local variability: variability_constant volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: c -ld_name: PRIMA_INLINE_c -offset: -1 -irg = g90" +peculiarity: peculiarity_existent +name: c +ld_name: PRIMA_INLINE_c +offset(bits): -1 +irg = g89" } -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" info1: "visited: 3 +edge: { sourcename: "e19" targetname: "t17"class: 3 label: "type" color: red} +edge: { sourcename: "e19" targetname: "n18"label: "value 0"} +node: {title: "n18" label: "SymC &c 18" info1: "mode: P +visited: 3 arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t18" label: "method c" info1: "state: layout_fixed, +"} +node: {title: "t17" label: "method c" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, variadicity: variadicity_non_variadic params: 2 results: 1 "} -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, +edge: { sourcename: "t17" targetname: "t12"class: 5 label: "param 0" color: green} +edge: { sourcename: "t17" targetname: "t10"class: 5 label: "param 1" color: green} +edge: { sourcename: "t17" targetname: "t10"class: 6 label: "res 0" color: green} +node: {title: "t78" label: "class cframe_tp" info1: "state: layout_undefined +size: -1b, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "n252" targetname: "e14"class:2 priority:2 linestyle:dotted} +edge: { sourcename: "n251" targetname: "e13"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 76c670d3d..74974206d 100644 --- a/testprograms/ref-results/PRIMA_INLINE_c.vcg +++ b/testprograms/ref-results/PRIMA_INLINE_c.vcg @@ -24,100 +24,115 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -graph: { title: "g90" label: "PRIMA_INLINE_c" status:clustered color:white -graph: { title: "n241" label: "Block 241" status:clustered color:yellow -edge: {sourcename: "n241" targetname: "n243" label: "0" class:13 priority:60 color:red} -edge: {sourcename: "n241" targetname: "n242" label: "1" class:13 priority:60 color:red} -node: {title: "n245" label: "PhiM 245" info1: "visited: 25 +graph: { title: "g89" label: "PRIMA_INLINE_c" status:clustered color:white +graph: { title: "n240" label: "Block 240" status:clustered color:yellow +edge: {sourcename: "n240" targetname: "n242" label: "0" class:13 priority:60 color:red} +edge: {sourcename: "n240" targetname: "n241" label: "1" class:13 priority:60 color:red} +node: {title: "n244" label: "PhiM 244" info1: "mode: M +visited: 25 irg: PRIMA_INLINE_c arity: 2 backedges: -" info2: "mode_is_dataM(mymode) && Phi node"color: green} -edge: {sourcename: "n245" targetname: "n254" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n245" targetname: "n246" label: "1" class:17 priority:10 color:blue} -node: {title: "n246" label: "Store 246" info1: "visited: 25 +"color: green} +edge: {sourcename: "n244" targetname: "n253" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n244" targetname: "n245" label: "1" class:17 priority:10 color:blue} +node: {title: "n245" label: "Store 245" info1: "mode: T +visited: 25 irg: PRIMA_INLINE_c arity: 3 -" info2: "mymode == mode_T && Store node"} -edge: {sourcename: "n246" targetname: "n245" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n246" targetname: "n252" label: "1" class:1 priority:50} -edge: {sourcename: "n246" targetname: "n247" label: "2" class:1 priority:50} -node: {title: "n252" label: "Sel a 252" info1: "visited: 25 +"} +edge: {sourcename: "n245" targetname: "n244" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n245" targetname: "n251" label: "1" class:1 priority:50} +edge: {sourcename: "n245" targetname: "n246" label: "2" class:1 priority:50} +node: {title: "n251" label: "Sel a 251" info1: "mode: P +visited: 25 irg: PRIMA_INLINE_c arity: 2 Selecting entity of type int from entity of type PRIMA_INLINE "} -edge: {sourcename: "n252" targetname: "n245" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n252" targetname: "n253" label: "1" class:16 priority:10} -node: {title: "n247" label: "PhiIs 247" info1: "visited: 25 +edge: {sourcename: "n251" targetname: "n244" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n251" targetname: "n252" label: "1" class:16 priority:10} +node: {title: "n246" label: "PhiIs 246" info1: "mode: Is +visited: 25 irg: PRIMA_INLINE_c arity: 2 backedges: -" info2: "mode_is_dataM(mymode) && Phi node"color: green} -edge: {sourcename: "n247" targetname: "n250" label: "0" class:16 priority:10} -edge: {sourcename: "n247" targetname: "n248" label: "1" class:1 priority:50} -node: {title: "n248" label: "PhiIs 248" info1: "visited: 25 +"color: green} +edge: {sourcename: "n246" targetname: "n249" label: "0" class:16 priority:10} +edge: {sourcename: "n246" targetname: "n247" label: "1" class:1 priority:50} +node: {title: "n247" label: "PhiIs 247" info1: "mode: Is +visited: 25 irg: PRIMA_INLINE_c arity: 2 backedges: -" info2: "mode_is_dataM(mymode) && Phi node"color: green} -edge: {sourcename: "n248" targetname: "n249" label: "0" class:16 priority:10} -edge: {sourcename: "n248" targetname: "n247" label: "1" class:1 priority:50} -node: {title: "n242" label: "Jmp 242" info1: "visited: 25 +"color: green} +edge: {sourcename: "n247" targetname: "n248" label: "0" class:16 priority:10} +edge: {sourcename: "n247" targetname: "n246" label: "1" class:1 priority:50} +node: {title: "n241" label: "Jmp 241" info1: "mode: X +visited: 25 irg: PRIMA_INLINE_c arity: 0 -" info2: "mymode == mode_X && Jmp node"} +"} } -graph: { title: "n244" label: "Block 244" status:clustered color:yellow -edge: {sourcename: "n244" targetname: "n239" label: "0" class:13 priority:60 color:red} -node: {title: "n253" label: "ProjP 0 253" info1: "visited: 25 +graph: { title: "n243" label: "Block 243" status:clustered color:yellow +edge: {sourcename: "n243" targetname: "n238" label: "0" class:13 priority:60 color:red} +node: {title: "n252" label: "ProjP 0 252" info1: "mode: P +visited: 25 irg: PRIMA_INLINE_c arity: 1 -" info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow} -edge: {sourcename: "n253" targetname: "n251" label: "0" class:16 priority:10} -node: {title: "n250" label: "ProjIs 1 250" info1: "visited: 25 +"color: yellow} +edge: {sourcename: "n252" targetname: "n250" label: "0" class:16 priority:10} +node: {title: "n249" label: "ProjIs 1 249" info1: "mode: Is +visited: 25 irg: PRIMA_INLINE_c arity: 1 -" info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow} -edge: {sourcename: "n250" targetname: "n251" label: "0" class:16 priority:10} -node: {title: "n243" label: "Jmp 243" info1: "visited: 25 +"color: yellow} +edge: {sourcename: "n249" targetname: "n250" label: "0" class:16 priority:10} +node: {title: "n242" label: "Jmp 242" info1: "mode: X +visited: 25 irg: PRIMA_INLINE_c arity: 0 -" info2: "mymode == mode_X && Jmp node"} +"} } -graph: { title: "n238" label: "Block 238" status:clustered color:yellow -edge: {sourcename: "n238" targetname: "n239" label: "0" class:13 priority:60 color:red} -node: {title: "n254" label: "ProjM 1 254" info1: "visited: 25 +graph: { title: "n237" label: "Block 237" status:clustered color:yellow +edge: {sourcename: "n237" targetname: "n238" label: "0" class:13 priority:60 color:red} +node: {title: "n253" label: "ProjM 1 253" info1: "mode: M +visited: 25 irg: PRIMA_INLINE_c arity: 1 "color: yellow} -edge: {sourcename: "n254" targetname: "n240" label: "0" class:17 priority:10 color:blue} -node: {title: "n251" label: "ProjT 4 251" info1: "visited: 25 +edge: {sourcename: "n253" targetname: "n239" label: "0" class:17 priority:10 color:blue} +node: {title: "n250" label: "ProjT 4 250" info1: "mode: T +visited: 25 irg: PRIMA_INLINE_c arity: 1 "color: yellow} -edge: {sourcename: "n251" targetname: "n240" label: "0" class:1 priority:50} -node: {title: "n249" label: "0x0Is 249" info1: "visited: 25 +edge: {sourcename: "n250" targetname: "n239" label: "0" class:1 priority:50} +node: {title: "n248" label: "0x0Is 248" info1: "mode: Is +visited: 25 irg: PRIMA_INLINE_c arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n239" label: "ProjX 0 239" info1: "visited: 25 +"color: yellow} +node: {title: "n238" label: "ProjX 0 238" info1: "mode: X +visited: 25 irg: PRIMA_INLINE_c arity: 1 "color: yellow} -edge: {sourcename: "n239" targetname: "n240" label: "0" class:13 priority:60 color:red} -node: {title: "n240" label: "Start 240" info1: "visited: 25 +edge: {sourcename: "n238" targetname: "n239" label: "0" class:13 priority:60 color:red} +node: {title: "n239" label: "Start 239" info1: "mode: T +visited: 25 irg: PRIMA_INLINE_c arity: 0 start of method of type c param 0 type: class_prima_ptr param 1 type: int -" info2: "mymode == mode_T && Start node"color: blue} +"color: blue} } -graph: { title: "n237" label: "Block 237" status:clustered color:yellow -node: {title: "n235" label: "End 235" info1: "visited: 25 +graph: { title: "n236" label: "Block 236" status:clustered color:yellow +node: {title: "n234" label: "End 234" info1: "mode: X +visited: 25 irg: PRIMA_INLINE_c arity: 2 "color: blue} diff --git a/testprograms/ref-results/PRIMA_INLINE_set_a-wtypes.vcg b/testprograms/ref-results/PRIMA_INLINE_set_a-wtypes.vcg index 3e280902c..246de79d5 100644 --- a/testprograms/ref-results/PRIMA_INLINE_set_a-wtypes.vcg +++ b/testprograms/ref-results/PRIMA_INLINE_set_a-wtypes.vcg @@ -24,172 +24,183 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -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" class:13 priority:60 color:red} -node: {title: "n218" label: "End 218" info1: "visited: 20 +graph: { title: "g67" label: "PRIMA_INLINE_set_a" status:clustered color:white +graph: { title: "n219" label: "Block 219" status:clustered color:yellow +edge: {sourcename: "n219" targetname: "n220" label: "0" class:13 priority:60 color:red} +node: {title: "n217" label: "End 217" info1: "mode: X +visited: 20 irg: PRIMA_INLINE_set_a arity: 0 "color: blue} } -graph: { title: "n222" label: "Block 222" status:clustered color:yellow -edge: {sourcename: "n222" targetname: "n223" label: "0" class:13 priority:60 color:red} -node: {title: "n221" label: "Return 221" info1: "visited: 20 +graph: { title: "n221" label: "Block 221" status:clustered color:yellow +edge: {sourcename: "n221" targetname: "n222" label: "0" class:13 priority:60 color:red} +node: {title: "n220" label: "Return 220" info1: "mode: X +visited: 20 irg: PRIMA_INLINE_set_a arity: 1 return in method of type set_a -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n221" targetname: "n226" label: "0" class:14 priority:50 color:blue} -node: {title: "n226" label: "ProjM 0 226" info1: "visited: 20 +"} +edge: {sourcename: "n220" targetname: "n225" label: "0" class:14 priority:50 color:blue} +node: {title: "n225" label: "ProjM 0 225" info1: "mode: M +visited: 20 irg: PRIMA_INLINE_set_a arity: 1 "color: yellow} -edge: {sourcename: "n226" targetname: "n227" label: "0" class:17 priority:10 color:blue} -node: {title: "n227" label: "Store 227" info1: "visited: 20 +edge: {sourcename: "n225" targetname: "n226" label: "0" class:17 priority:10 color:blue} +node: {title: "n226" label: "Store 226" info1: "mode: T +visited: 20 irg: PRIMA_INLINE_set_a arity: 3 -" info2: "mymode == mode_T && Store node"} -edge: {sourcename: "n227" targetname: "n232" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n227" targetname: "n230" label: "1" class:1 priority:50} -edge: {sourcename: "n227" targetname: "n228" label: "2" class:1 priority:50} -node: {title: "n230" label: "Sel a 230" info1: "visited: 20 +"} +edge: {sourcename: "n226" targetname: "n231" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n226" targetname: "n229" label: "1" class:1 priority:50} +edge: {sourcename: "n226" targetname: "n227" label: "2" class:1 priority:50} +node: {title: "n229" label: "Sel a 229" info1: "mode: P +visited: 20 irg: PRIMA_INLINE_set_a arity: 2 Selecting entity of type int from entity of type PRIMA_INLINE "} -edge: {sourcename: "n230" targetname: "n232" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n230" targetname: "n231" label: "1" class:1 priority:50} -node: {title: "n231" label: "ProjP 0 231" info1: "visited: 20 +edge: {sourcename: "n229" targetname: "n231" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n229" targetname: "n230" label: "1" class:1 priority:50} +node: {title: "n230" label: "ProjP 0 230" info1: "mode: P +visited: 20 irg: PRIMA_INLINE_set_a arity: 1 -" info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow} -edge: {sourcename: "n231" targetname: "n229" label: "0" class:16 priority:10} -node: {title: "n228" label: "ProjIs 1 228" info1: "visited: 20 +"color: yellow} +edge: {sourcename: "n230" targetname: "n228" label: "0" class:16 priority:10} +node: {title: "n227" label: "ProjIs 1 227" info1: "mode: Is +visited: 20 irg: PRIMA_INLINE_set_a arity: 1 -" info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow} -edge: {sourcename: "n228" targetname: "n229" label: "0" class:16 priority:10} +"color: yellow} +edge: {sourcename: "n227" targetname: "n228" label: "0" class:16 priority:10} } -graph: { title: "n224" label: "Block 224" status:clustered color:yellow -edge: {sourcename: "n224" targetname: "n223" label: "0" class:13 priority:60 color:red} -node: {title: "n232" label: "ProjM 1 232" info1: "visited: 20 +graph: { title: "n223" label: "Block 223" status:clustered color:yellow +edge: {sourcename: "n223" targetname: "n222" label: "0" class:13 priority:60 color:red} +node: {title: "n231" label: "ProjM 1 231" info1: "mode: M +visited: 20 irg: PRIMA_INLINE_set_a arity: 1 "color: yellow} -edge: {sourcename: "n232" targetname: "n225" label: "0" class:17 priority:10 color:blue} -node: {title: "n229" label: "ProjT 4 229" info1: "visited: 20 +edge: {sourcename: "n231" targetname: "n224" label: "0" class:17 priority:10 color:blue} +node: {title: "n228" label: "ProjT 4 228" info1: "mode: T +visited: 20 irg: PRIMA_INLINE_set_a arity: 1 "color: yellow} -edge: {sourcename: "n229" targetname: "n225" label: "0" class:1 priority:50} -node: {title: "n223" label: "ProjX 0 223" info1: "visited: 20 +edge: {sourcename: "n228" targetname: "n224" label: "0" class:1 priority:50} +node: {title: "n222" label: "ProjX 0 222" info1: "mode: X +visited: 20 irg: PRIMA_INLINE_set_a arity: 1 "color: yellow} -edge: {sourcename: "n223" targetname: "n225" label: "0" class:13 priority:60 color:red} -node: {title: "n225" label: "Start 225" info1: "visited: 20 +edge: {sourcename: "n222" targetname: "n224" label: "0" class:13 priority:60 color:red} +node: {title: "n224" label: "Start 224" info1: "mode: T +visited: 20 irg: PRIMA_INLINE_set_a arity: 0 start of method of type set_a param 0 type: class_prima_ptr param 1 type: int -" info2: "mymode == mode_T && Start node"color: blue} +"color: blue} } } -node: {title: "e14" label: "ent a" color: yellow +node: {title: "e13" label: "ent a" color: yellow info1: " -id: e14 +id: e13 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: a -ld_name: no yet set -offset: -1" +peculiarity: peculiarity_existent +name: a +ld_name: no yet set +offset(bits): -1" } -edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red} -node: {title: "t12" label: "class PRIMA_INLINE" info1: "state: layout_undefined -size: -1B, +edge: { sourcename: "e13" targetname: "t10"class: 3 label: "type" color: red} +node: {title: "t11" label: "class PRIMA_INLINE" info1: "state: layout_undefined +size: -1b, peculiarity: peculiarity_existent " color: green} -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 +edge: { sourcename: "t11" targetname: "e13"class: 12 label: "member" color:blue} +edge: { sourcename: "t11" targetname: "e16"class: 12 label: "member" color:blue} +edge: { sourcename: "t11" targetname: "e19"class: 12 label: "member" color:blue} +node: {title: "e16" label: "ent PRIMA_INLINE_set_a" color: yellow info1: " -id: e17 +id: e16 allocation: allocation_static visibility: visibility_local variability: variability_constant volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: set_a -ld_name: PRIMA_INLINE_set_a -offset: -1 -irg = g68" +peculiarity: peculiarity_existent +name: set_a +ld_name: PRIMA_INLINE_set_a +offset(bits): -1 +irg = g67" } -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" info1: "visited: 2 +edge: { sourcename: "e16" targetname: "t14"class: 3 label: "type" color: red} +edge: { sourcename: "e16" targetname: "n15"label: "value 0"} +node: {title: "n15" label: "SymC &set_a 15" info1: "mode: P +visited: 2 arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t15" label: "method set_a" info1: "state: layout_fixed, +"} +node: {title: "t14" label: "method set_a" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, variadicity: variadicity_non_variadic params: 2 results: 0 "} -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, +edge: { sourcename: "t14" targetname: "t12"class: 5 label: "param 0" color: green} +edge: { sourcename: "t14" targetname: "t10"class: 5 label: "param 1" color: green} +node: {title: "t12" label: "pointer class_prima_ptr" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, "} -edge: { sourcename: "t13" targetname: "t12"class: 9 label: "points to" color:green} -node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, +edge: { sourcename: "t12" targetname: "t11"class: 9 label: "points to" color:green} +node: {title: "t10" label: "primitive int" info1: "state: layout_fixed, mode: Is, -size: 4B, +size: 32b, "} -node: {title: "e20" label: "ent PRIMA_INLINE_c" color: yellow +node: {title: "e19" label: "ent PRIMA_INLINE_c" color: yellow info1: " -id: e20 +id: e19 allocation: allocation_static visibility: visibility_local variability: variability_constant volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: c -ld_name: PRIMA_INLINE_c -offset: -1 -irg = g90" +peculiarity: peculiarity_existent +name: c +ld_name: PRIMA_INLINE_c +offset(bits): -1 +irg = g89" } -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" info1: "visited: 2 +edge: { sourcename: "e19" targetname: "t17"class: 3 label: "type" color: red} +edge: { sourcename: "e19" targetname: "n18"label: "value 0"} +node: {title: "n18" label: "SymC &c 18" info1: "mode: P +visited: 2 arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t18" label: "method c" info1: "state: layout_fixed, +"} +node: {title: "t17" label: "method c" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, variadicity: variadicity_non_variadic params: 2 results: 1 "} -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, +edge: { sourcename: "t17" targetname: "t12"class: 5 label: "param 0" color: green} +edge: { sourcename: "t17" targetname: "t10"class: 5 label: "param 1" color: green} +edge: { sourcename: "t17" targetname: "t10"class: 6 label: "res 0" color: green} +node: {title: "t56" label: "class set_aframe_tp" info1: "state: layout_undefined +size: -1b, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "n230" targetname: "e14"class:2 priority:2 linestyle:dotted} +edge: { sourcename: "n229" targetname: "e13"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 98b8dd6b4..ff9e5b0a2 100644 --- a/testprograms/ref-results/PRIMA_INLINE_set_a.vcg +++ b/testprograms/ref-results/PRIMA_INLINE_set_a.vcg @@ -24,79 +24,90 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -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" class:13 priority:60 color:red} -node: {title: "n218" label: "End 218" info1: "visited: 19 +graph: { title: "g67" label: "PRIMA_INLINE_set_a" status:clustered color:white +graph: { title: "n219" label: "Block 219" status:clustered color:yellow +edge: {sourcename: "n219" targetname: "n220" label: "0" class:13 priority:60 color:red} +node: {title: "n217" label: "End 217" info1: "mode: X +visited: 19 irg: PRIMA_INLINE_set_a arity: 0 "color: blue} } -graph: { title: "n222" label: "Block 222" status:clustered color:yellow -edge: {sourcename: "n222" targetname: "n223" label: "0" class:13 priority:60 color:red} -node: {title: "n221" label: "Return 221" info1: "visited: 19 +graph: { title: "n221" label: "Block 221" status:clustered color:yellow +edge: {sourcename: "n221" targetname: "n222" label: "0" class:13 priority:60 color:red} +node: {title: "n220" label: "Return 220" info1: "mode: X +visited: 19 irg: PRIMA_INLINE_set_a arity: 1 return in method of type set_a -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n221" targetname: "n226" label: "0" class:14 priority:50 color:blue} -node: {title: "n226" label: "ProjM 0 226" info1: "visited: 19 +"} +edge: {sourcename: "n220" targetname: "n225" label: "0" class:14 priority:50 color:blue} +node: {title: "n225" label: "ProjM 0 225" info1: "mode: M +visited: 19 irg: PRIMA_INLINE_set_a arity: 1 "color: yellow} -edge: {sourcename: "n226" targetname: "n227" label: "0" class:17 priority:10 color:blue} -node: {title: "n227" label: "Store 227" info1: "visited: 19 +edge: {sourcename: "n225" targetname: "n226" label: "0" class:17 priority:10 color:blue} +node: {title: "n226" label: "Store 226" info1: "mode: T +visited: 19 irg: PRIMA_INLINE_set_a arity: 3 -" info2: "mymode == mode_T && Store node"} -edge: {sourcename: "n227" targetname: "n232" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n227" targetname: "n230" label: "1" class:1 priority:50} -edge: {sourcename: "n227" targetname: "n228" label: "2" class:1 priority:50} -node: {title: "n230" label: "Sel a 230" info1: "visited: 19 +"} +edge: {sourcename: "n226" targetname: "n231" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n226" targetname: "n229" label: "1" class:1 priority:50} +edge: {sourcename: "n226" targetname: "n227" label: "2" class:1 priority:50} +node: {title: "n229" label: "Sel a 229" info1: "mode: P +visited: 19 irg: PRIMA_INLINE_set_a arity: 2 Selecting entity of type int from entity of type PRIMA_INLINE "} -edge: {sourcename: "n230" targetname: "n232" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n230" targetname: "n231" label: "1" class:1 priority:50} -node: {title: "n231" label: "ProjP 0 231" info1: "visited: 19 +edge: {sourcename: "n229" targetname: "n231" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n229" targetname: "n230" label: "1" class:1 priority:50} +node: {title: "n230" label: "ProjP 0 230" info1: "mode: P +visited: 19 irg: PRIMA_INLINE_set_a arity: 1 -" info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow} -edge: {sourcename: "n231" targetname: "n229" label: "0" class:16 priority:10} -node: {title: "n228" label: "ProjIs 1 228" info1: "visited: 19 +"color: yellow} +edge: {sourcename: "n230" targetname: "n228" label: "0" class:16 priority:10} +node: {title: "n227" label: "ProjIs 1 227" info1: "mode: Is +visited: 19 irg: PRIMA_INLINE_set_a arity: 1 -" info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow} -edge: {sourcename: "n228" targetname: "n229" label: "0" class:16 priority:10} +"color: yellow} +edge: {sourcename: "n227" targetname: "n228" label: "0" class:16 priority:10} } -graph: { title: "n224" label: "Block 224" status:clustered color:yellow -edge: {sourcename: "n224" targetname: "n223" label: "0" class:13 priority:60 color:red} -node: {title: "n232" label: "ProjM 1 232" info1: "visited: 19 +graph: { title: "n223" label: "Block 223" status:clustered color:yellow +edge: {sourcename: "n223" targetname: "n222" label: "0" class:13 priority:60 color:red} +node: {title: "n231" label: "ProjM 1 231" info1: "mode: M +visited: 19 irg: PRIMA_INLINE_set_a arity: 1 "color: yellow} -edge: {sourcename: "n232" targetname: "n225" label: "0" class:17 priority:10 color:blue} -node: {title: "n229" label: "ProjT 4 229" info1: "visited: 19 +edge: {sourcename: "n231" targetname: "n224" label: "0" class:17 priority:10 color:blue} +node: {title: "n228" label: "ProjT 4 228" info1: "mode: T +visited: 19 irg: PRIMA_INLINE_set_a arity: 1 "color: yellow} -edge: {sourcename: "n229" targetname: "n225" label: "0" class:1 priority:50} -node: {title: "n223" label: "ProjX 0 223" info1: "visited: 19 +edge: {sourcename: "n228" targetname: "n224" label: "0" class:1 priority:50} +node: {title: "n222" label: "ProjX 0 222" info1: "mode: X +visited: 19 irg: PRIMA_INLINE_set_a arity: 1 "color: yellow} -edge: {sourcename: "n223" targetname: "n225" label: "0" class:13 priority:60 color:red} -node: {title: "n225" label: "Start 225" info1: "visited: 19 +edge: {sourcename: "n222" targetname: "n224" label: "0" class:13 priority:60 color:red} +node: {title: "n224" label: "Start 224" info1: "mode: T +visited: 19 irg: PRIMA_INLINE_set_a arity: 0 start of method of type set_a param 0 type: class_prima_ptr param 1 type: int -" info2: "mymode == mode_T && Start node"color: blue} +"color: blue} } } diff --git a/testprograms/ref-results/PRIMA_c-pure-wtypes.vcg b/testprograms/ref-results/PRIMA_c-pure-wtypes.vcg index 92d9ef290..7ba740e00 100644 --- a/testprograms/ref-results/PRIMA_c-pure-wtypes.vcg +++ b/testprograms/ref-results/PRIMA_c-pure-wtypes.vcg @@ -24,197 +24,213 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -node: {title: "n152" label: "Block 152" info1: "visited: 13 +node: {title: "n151" label: "Block 151" info1: "mode: BB +visited: 13 irg: PRIMA_c arity: 1 backedges: -" info2: "((get_irn_irg(n) && get_irn_irg(n) == irg)) && Block node has wrong irg attribute"color: lightyellow} -edge: {sourcename: "n152" targetname: "n151" label: "0" class:13 priority:60 color:red} -node: {title: "n153" label: "Start 153" info1: "visited: 13 +"color: lightyellow} +edge: {sourcename: "n151" targetname: "n150" label: "0" class:13 priority:60 color:red} +node: {title: "n152" label: "Start 152" info1: "mode: T +visited: 13 irg: PRIMA_c arity: 0 start of method of type c param 0 type: class_prima_ptr param 1 type: int -" info2: "mymode == mode_T && Start node"color: blue} -edge: { sourcename: "n153" targetname: "n152" class:2 priority:50 linestyle:dotted} -node: {title: "n151" label: "ProjX 0 151" info1: "visited: 13 +"color: blue} +edge: { sourcename: "n152" targetname: "n151" class:2 priority:50 linestyle:dotted} +node: {title: "n150" label: "ProjX 0 150" info1: "mode: X +visited: 13 irg: PRIMA_c arity: 1 "color: yellow} -edge: {sourcename: "n151" targetname: "n153" label: "0" class:13 priority:60 color:red} -edge: { sourcename: "n151" targetname: "n152" class:2 priority:50 linestyle:dotted} -node: {title: "n150" label: "Block 150" info1: "visited: 13 +edge: {sourcename: "n150" targetname: "n152" label: "0" class:13 priority:60 color:red} +edge: { sourcename: "n150" targetname: "n151" class:2 priority:50 linestyle:dotted} +node: {title: "n149" label: "Block 149" info1: "mode: BB +visited: 13 irg: PRIMA_c arity: 1 backedges: -" info2: "((get_irn_irg(n) && get_irn_irg(n) == irg)) && Block node has wrong irg attribute"color: lightyellow} -edge: {sourcename: "n150" targetname: "n151" label: "0" class:13 priority:60 color:red} -node: {title: "n159" label: "ProjT 4 159" info1: "visited: 13 +"color: lightyellow} +edge: {sourcename: "n149" targetname: "n150" label: "0" class:13 priority:60 color:red} +node: {title: "n158" label: "ProjT 4 158" info1: "mode: T +visited: 13 irg: PRIMA_c arity: 1 "color: yellow} -edge: {sourcename: "n159" targetname: "n153" label: "0" class:1 priority:50} -edge: { sourcename: "n159" targetname: "n152" class:2 priority:50 linestyle:dotted} -node: {title: "n158" label: "ProjP 0 158" info1: "visited: 13 +edge: {sourcename: "n158" targetname: "n152" label: "0" class:1 priority:50} +edge: { sourcename: "n158" targetname: "n151" class:2 priority:50 linestyle:dotted} +node: {title: "n157" label: "ProjP 0 157" info1: "mode: P +visited: 13 irg: PRIMA_c arity: 1 -" info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow} -edge: {sourcename: "n158" targetname: "n159" label: "0" class:16 priority:10} -edge: { sourcename: "n158" targetname: "n150" class:2 priority:50 linestyle:dotted} -node: {title: "n160" label: "ProjM 1 160" info1: "visited: 13 +"color: yellow} +edge: {sourcename: "n157" targetname: "n158" label: "0" class:16 priority:10} +edge: { sourcename: "n157" targetname: "n149" class:2 priority:50 linestyle:dotted} +node: {title: "n159" label: "ProjM 1 159" info1: "mode: M +visited: 13 irg: PRIMA_c arity: 1 "color: yellow} -edge: {sourcename: "n160" targetname: "n153" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n160" targetname: "n152" class:2 priority:50 linestyle:dotted} -node: {title: "n157" label: "Sel a 157" info1: "visited: 13 +edge: {sourcename: "n159" targetname: "n152" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n159" targetname: "n151" class:2 priority:50 linestyle:dotted} +node: {title: "n156" label: "Sel a 156" info1: "mode: P +visited: 13 irg: PRIMA_c arity: 2 Selecting entity of type int from entity of type PRIMA "} -edge: {sourcename: "n157" targetname: "n160" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n157" targetname: "n158" label: "1" class:1 priority:50} -edge: { sourcename: "n157" targetname: "n150" class:2 priority:50 linestyle:dotted} -node: {title: "n156" label: "Load 156" info1: "visited: 13 +edge: {sourcename: "n156" targetname: "n159" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n156" targetname: "n157" label: "1" class:1 priority:50} +edge: { sourcename: "n156" targetname: "n149" class:2 priority:50 linestyle:dotted} +node: {title: "n155" label: "Load 155" info1: "mode: T +visited: 13 irg: PRIMA_c arity: 2 -" info2: "mymode == mode_T && Load node"} -edge: {sourcename: "n156" targetname: "n160" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n156" targetname: "n157" label: "1" class:1 priority:50} -edge: { sourcename: "n156" targetname: "n150" class:2 priority:50 linestyle:dotted} -node: {title: "n155" label: "ProjIs 2 155" info1: "visited: 13 +"} +edge: {sourcename: "n155" targetname: "n159" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n155" targetname: "n156" label: "1" class:1 priority:50} +edge: { sourcename: "n155" targetname: "n149" class:2 priority:50 linestyle:dotted} +node: {title: "n154" label: "ProjIs 2 154" info1: "mode: Is +visited: 13 irg: PRIMA_c arity: 1 "color: yellow} -edge: {sourcename: "n155" targetname: "n156" label: "0" class:1 priority:50} -edge: { sourcename: "n155" targetname: "n150" class:2 priority:50 linestyle:dotted} -node: {title: "n161" label: "ProjIs 1 161" info1: "visited: 13 +edge: {sourcename: "n154" targetname: "n155" label: "0" class:1 priority:50} +edge: { sourcename: "n154" targetname: "n149" class:2 priority:50 linestyle:dotted} +node: {title: "n160" label: "ProjIs 1 160" info1: "mode: Is +visited: 13 irg: PRIMA_c arity: 1 -" info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow} -edge: {sourcename: "n161" targetname: "n159" label: "0" class:16 priority:10} -edge: { sourcename: "n161" targetname: "n150" class:2 priority:50 linestyle:dotted} -node: {title: "n154" label: "AddIs 154" info1: "visited: 13 +"color: yellow} +edge: {sourcename: "n160" targetname: "n158" label: "0" class:16 priority:10} +edge: { sourcename: "n160" targetname: "n149" class:2 priority:50 linestyle:dotted} +node: {title: "n153" label: "AddIs 153" info1: "mode: Is +visited: 13 irg: PRIMA_c arity: 2 "} -edge: {sourcename: "n154" targetname: "n161" label: "0" class:1 priority:50} -edge: {sourcename: "n154" targetname: "n155" label: "1" class:1 priority:50} -edge: { sourcename: "n154" targetname: "n150" class:2 priority:50 linestyle:dotted} -node: {title: "n162" label: "ProjM 0 162" info1: "visited: 13 +edge: {sourcename: "n153" targetname: "n160" label: "0" class:1 priority:50} +edge: {sourcename: "n153" targetname: "n154" label: "1" class:1 priority:50} +edge: { sourcename: "n153" targetname: "n149" class:2 priority:50 linestyle:dotted} +node: {title: "n161" label: "ProjM 0 161" info1: "mode: M +visited: 13 irg: PRIMA_c arity: 1 "color: yellow} -edge: {sourcename: "n162" targetname: "n156" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n162" targetname: "n150" class:2 priority:50 linestyle:dotted} -node: {title: "n149" label: "Return 149" info1: "visited: 13 +edge: {sourcename: "n161" targetname: "n155" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n161" targetname: "n149" class:2 priority:50 linestyle:dotted} +node: {title: "n148" label: "Return 148" info1: "mode: X +visited: 13 irg: PRIMA_c arity: 2 return in method of type c res 0 type: int -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n149" targetname: "n162" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n149" targetname: "n154" label: "1" class:1 priority:50} -edge: { sourcename: "n149" targetname: "n150" class:2 priority:50 linestyle:dotted} -node: {title: "n148" label: "Block 148" info1: "visited: 13 +"} +edge: {sourcename: "n148" targetname: "n161" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n148" targetname: "n153" label: "1" class:1 priority:50} +edge: { sourcename: "n148" targetname: "n149" class:2 priority:50 linestyle:dotted} +node: {title: "n147" label: "Block 147" info1: "mode: BB +visited: 13 irg: PRIMA_c arity: 1 backedges: -" info2: "((get_irn_irg(n) && get_irn_irg(n) == irg)) && Block node has wrong irg attribute"color: lightyellow} -edge: {sourcename: "n148" targetname: "n149" label: "0" class:13 priority:60 color:red} -node: {title: "n146" label: "End 146" info1: "visited: 13 +"color: lightyellow} +edge: {sourcename: "n147" targetname: "n148" label: "0" class:13 priority:60 color:red} +node: {title: "n145" label: "End 145" info1: "mode: X +visited: 13 irg: PRIMA_c arity: 0 "color: blue} -edge: { sourcename: "n146" targetname: "n148" class:2 priority:50 linestyle:dotted} -node: {title: "e14" label: "ent a" color: yellow +edge: { sourcename: "n145" targetname: "n147" class:2 priority:50 linestyle:dotted} +node: {title: "e13" label: "ent a" color: yellow info1: " -id: e14 +id: e13 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: a -ld_name: no yet set -offset: -1" +peculiarity: peculiarity_existent +name: a +ld_name: no yet set +offset(bits): -1" } -edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red} -node: {title: "t12" label: "class PRIMA" info1: "state: layout_undefined -size: -1B, +edge: { sourcename: "e13" targetname: "t10"class: 3 label: "type" color: red} +node: {title: "t11" label: "class PRIMA" info1: "state: layout_undefined +size: -1b, peculiarity: peculiarity_existent " color: green} -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 +edge: { sourcename: "t11" targetname: "e13"class: 12 label: "member" color:blue} +edge: { sourcename: "t11" targetname: "e16"class: 12 label: "member" color:blue} +edge: { sourcename: "t11" targetname: "e19"class: 12 label: "member" color:blue} +node: {title: "e16" label: "ent PRIMA_set_a" color: yellow info1: " -id: e17 +id: e16 allocation: allocation_static visibility: visibility_local variability: variability_constant volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: set_a -ld_name: PRIMA_set_a -offset: -1 -irg = g68" +peculiarity: peculiarity_existent +name: set_a +ld_name: PRIMA_set_a +offset(bits): -1 +irg = g67" } -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" info1: "visited: 3 +edge: { sourcename: "e16" targetname: "t14"class: 3 label: "type" color: red} +edge: { sourcename: "e16" targetname: "n15"label: "value 0"} +node: {title: "n15" label: "SymC &set_a 15" info1: "mode: P +visited: 3 arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t15" label: "method set_a" info1: "state: layout_fixed, +"} +node: {title: "t14" label: "method set_a" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, variadicity: variadicity_non_variadic params: 2 results: 0 "} -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, +edge: { sourcename: "t14" targetname: "t12"class: 5 label: "param 0" color: green} +edge: { sourcename: "t14" targetname: "t10"class: 5 label: "param 1" color: green} +node: {title: "t12" label: "pointer class_prima_ptr" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, "} -edge: { sourcename: "t13" targetname: "t12"class: 9 label: "points to" color:green} -node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, +edge: { sourcename: "t12" targetname: "t11"class: 9 label: "points to" color:green} +node: {title: "t10" label: "primitive int" info1: "state: layout_fixed, mode: Is, -size: 4B, +size: 32b, "} -node: {title: "e20" label: "ent PRIMA_c" color: yellow +node: {title: "e19" label: "ent PRIMA_c" color: yellow info1: " -id: e20 +id: e19 allocation: allocation_static visibility: visibility_local variability: variability_constant volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: c -ld_name: PRIMA_c -offset: -1 -irg = g90" +peculiarity: peculiarity_existent +name: c +ld_name: PRIMA_c +offset(bits): -1 +irg = g89" } -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" info1: "visited: 3 +edge: { sourcename: "e19" targetname: "t17"class: 3 label: "type" color: red} +edge: { sourcename: "e19" targetname: "n18"label: "value 0"} +node: {title: "n18" label: "SymC &c 18" info1: "mode: P +visited: 3 arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t18" label: "method c" info1: "state: layout_fixed, +"} +node: {title: "t17" label: "method c" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, variadicity: variadicity_non_variadic params: 2 results: 1 "} -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, +edge: { sourcename: "t17" targetname: "t12"class: 5 label: "param 0" color: green} +edge: { sourcename: "t17" targetname: "t10"class: 5 label: "param 1" color: green} +edge: { sourcename: "t17" targetname: "t10"class: 6 label: "res 0" color: green} +node: {title: "t78" label: "class cframe_tp" info1: "state: layout_undefined +size: -1b, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "n157" targetname: "e14"class:2 priority:2 linestyle:dotted} +edge: { sourcename: "n156" targetname: "e13"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 b7e066d98..dc44a2b1c 100644 --- a/testprograms/ref-results/PRIMA_c-pure.vcg +++ b/testprograms/ref-results/PRIMA_c-pure.vcg @@ -24,106 +24,122 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -node: {title: "n152" label: "Block 152" info1: "visited: 11 +node: {title: "n151" label: "Block 151" info1: "mode: BB +visited: 11 irg: PRIMA_c arity: 1 backedges: -" info2: "((get_irn_irg(n) && get_irn_irg(n) == irg)) && Block node has wrong irg attribute"color: lightyellow} -edge: {sourcename: "n152" targetname: "n151" label: "0" class:13 priority:60 color:red} -node: {title: "n153" label: "Start 153" info1: "visited: 11 +"color: lightyellow} +edge: {sourcename: "n151" targetname: "n150" label: "0" class:13 priority:60 color:red} +node: {title: "n152" label: "Start 152" info1: "mode: T +visited: 11 irg: PRIMA_c arity: 0 start of method of type c param 0 type: class_prima_ptr param 1 type: int -" info2: "mymode == mode_T && Start node"color: blue} -edge: { sourcename: "n153" targetname: "n152" class:2 priority:50 linestyle:dotted} -node: {title: "n151" label: "ProjX 0 151" info1: "visited: 11 +"color: blue} +edge: { sourcename: "n152" targetname: "n151" class:2 priority:50 linestyle:dotted} +node: {title: "n150" label: "ProjX 0 150" info1: "mode: X +visited: 11 irg: PRIMA_c arity: 1 "color: yellow} -edge: {sourcename: "n151" targetname: "n153" label: "0" class:13 priority:60 color:red} -edge: { sourcename: "n151" targetname: "n152" class:2 priority:50 linestyle:dotted} -node: {title: "n150" label: "Block 150" info1: "visited: 11 +edge: {sourcename: "n150" targetname: "n152" label: "0" class:13 priority:60 color:red} +edge: { sourcename: "n150" targetname: "n151" class:2 priority:50 linestyle:dotted} +node: {title: "n149" label: "Block 149" info1: "mode: BB +visited: 11 irg: PRIMA_c arity: 1 backedges: -" info2: "((get_irn_irg(n) && get_irn_irg(n) == irg)) && Block node has wrong irg attribute"color: lightyellow} -edge: {sourcename: "n150" targetname: "n151" label: "0" class:13 priority:60 color:red} -node: {title: "n159" label: "ProjT 4 159" info1: "visited: 11 +"color: lightyellow} +edge: {sourcename: "n149" targetname: "n150" label: "0" class:13 priority:60 color:red} +node: {title: "n158" label: "ProjT 4 158" info1: "mode: T +visited: 11 irg: PRIMA_c arity: 1 "color: yellow} -edge: {sourcename: "n159" targetname: "n153" label: "0" class:1 priority:50} -edge: { sourcename: "n159" targetname: "n152" class:2 priority:50 linestyle:dotted} -node: {title: "n158" label: "ProjP 0 158" info1: "visited: 11 +edge: {sourcename: "n158" targetname: "n152" label: "0" class:1 priority:50} +edge: { sourcename: "n158" targetname: "n151" class:2 priority:50 linestyle:dotted} +node: {title: "n157" label: "ProjP 0 157" info1: "mode: P +visited: 11 irg: PRIMA_c arity: 1 -" info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow} -edge: {sourcename: "n158" targetname: "n159" label: "0" class:16 priority:10} -edge: { sourcename: "n158" targetname: "n150" class:2 priority:50 linestyle:dotted} -node: {title: "n160" label: "ProjM 1 160" info1: "visited: 11 +"color: yellow} +edge: {sourcename: "n157" targetname: "n158" label: "0" class:16 priority:10} +edge: { sourcename: "n157" targetname: "n149" class:2 priority:50 linestyle:dotted} +node: {title: "n159" label: "ProjM 1 159" info1: "mode: M +visited: 11 irg: PRIMA_c arity: 1 "color: yellow} -edge: {sourcename: "n160" targetname: "n153" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n160" targetname: "n152" class:2 priority:50 linestyle:dotted} -node: {title: "n157" label: "Sel a 157" info1: "visited: 11 +edge: {sourcename: "n159" targetname: "n152" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n159" targetname: "n151" class:2 priority:50 linestyle:dotted} +node: {title: "n156" label: "Sel a 156" info1: "mode: P +visited: 11 irg: PRIMA_c arity: 2 Selecting entity of type int from entity of type PRIMA "} -edge: {sourcename: "n157" targetname: "n160" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n157" targetname: "n158" label: "1" class:1 priority:50} -edge: { sourcename: "n157" targetname: "n150" class:2 priority:50 linestyle:dotted} -node: {title: "n156" label: "Load 156" info1: "visited: 11 +edge: {sourcename: "n156" targetname: "n159" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n156" targetname: "n157" label: "1" class:1 priority:50} +edge: { sourcename: "n156" targetname: "n149" class:2 priority:50 linestyle:dotted} +node: {title: "n155" label: "Load 155" info1: "mode: T +visited: 11 irg: PRIMA_c arity: 2 -" info2: "mymode == mode_T && Load node"} -edge: {sourcename: "n156" targetname: "n160" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n156" targetname: "n157" label: "1" class:1 priority:50} -edge: { sourcename: "n156" targetname: "n150" class:2 priority:50 linestyle:dotted} -node: {title: "n155" label: "ProjIs 2 155" info1: "visited: 11 +"} +edge: {sourcename: "n155" targetname: "n159" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n155" targetname: "n156" label: "1" class:1 priority:50} +edge: { sourcename: "n155" targetname: "n149" class:2 priority:50 linestyle:dotted} +node: {title: "n154" label: "ProjIs 2 154" info1: "mode: Is +visited: 11 irg: PRIMA_c arity: 1 "color: yellow} -edge: {sourcename: "n155" targetname: "n156" label: "0" class:1 priority:50} -edge: { sourcename: "n155" targetname: "n150" class:2 priority:50 linestyle:dotted} -node: {title: "n161" label: "ProjIs 1 161" info1: "visited: 11 +edge: {sourcename: "n154" targetname: "n155" label: "0" class:1 priority:50} +edge: { sourcename: "n154" targetname: "n149" class:2 priority:50 linestyle:dotted} +node: {title: "n160" label: "ProjIs 1 160" info1: "mode: Is +visited: 11 irg: PRIMA_c arity: 1 -" info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow} -edge: {sourcename: "n161" targetname: "n159" label: "0" class:16 priority:10} -edge: { sourcename: "n161" targetname: "n150" class:2 priority:50 linestyle:dotted} -node: {title: "n154" label: "AddIs 154" info1: "visited: 11 +"color: yellow} +edge: {sourcename: "n160" targetname: "n158" label: "0" class:16 priority:10} +edge: { sourcename: "n160" targetname: "n149" class:2 priority:50 linestyle:dotted} +node: {title: "n153" label: "AddIs 153" info1: "mode: Is +visited: 11 irg: PRIMA_c arity: 2 "} -edge: {sourcename: "n154" targetname: "n161" label: "0" class:1 priority:50} -edge: {sourcename: "n154" targetname: "n155" label: "1" class:1 priority:50} -edge: { sourcename: "n154" targetname: "n150" class:2 priority:50 linestyle:dotted} -node: {title: "n162" label: "ProjM 0 162" info1: "visited: 11 +edge: {sourcename: "n153" targetname: "n160" label: "0" class:1 priority:50} +edge: {sourcename: "n153" targetname: "n154" label: "1" class:1 priority:50} +edge: { sourcename: "n153" targetname: "n149" class:2 priority:50 linestyle:dotted} +node: {title: "n161" label: "ProjM 0 161" info1: "mode: M +visited: 11 irg: PRIMA_c arity: 1 "color: yellow} -edge: {sourcename: "n162" targetname: "n156" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n162" targetname: "n150" class:2 priority:50 linestyle:dotted} -node: {title: "n149" label: "Return 149" info1: "visited: 11 +edge: {sourcename: "n161" targetname: "n155" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n161" targetname: "n149" class:2 priority:50 linestyle:dotted} +node: {title: "n148" label: "Return 148" info1: "mode: X +visited: 11 irg: PRIMA_c arity: 2 return in method of type c res 0 type: int -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n149" targetname: "n162" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n149" targetname: "n154" label: "1" class:1 priority:50} -edge: { sourcename: "n149" targetname: "n150" class:2 priority:50 linestyle:dotted} -node: {title: "n148" label: "Block 148" info1: "visited: 11 +"} +edge: {sourcename: "n148" targetname: "n161" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n148" targetname: "n153" label: "1" class:1 priority:50} +edge: { sourcename: "n148" targetname: "n149" class:2 priority:50 linestyle:dotted} +node: {title: "n147" label: "Block 147" info1: "mode: BB +visited: 11 irg: PRIMA_c arity: 1 backedges: -" info2: "((get_irn_irg(n) && get_irn_irg(n) == irg)) && Block node has wrong irg attribute"color: lightyellow} -edge: {sourcename: "n148" targetname: "n149" label: "0" class:13 priority:60 color:red} -node: {title: "n146" label: "End 146" info1: "visited: 11 +"color: lightyellow} +edge: {sourcename: "n147" targetname: "n148" label: "0" class:13 priority:60 color:red} +node: {title: "n145" label: "End 145" info1: "mode: X +visited: 11 irg: PRIMA_c arity: 0 "color: blue} -edge: { sourcename: "n146" targetname: "n148" class:2 priority:50 linestyle:dotted} +edge: { sourcename: "n145" targetname: "n147" class:2 priority:50 linestyle:dotted} } diff --git a/testprograms/ref-results/PRIMA_c-type.vcg b/testprograms/ref-results/PRIMA_c-type.vcg index b33d96e63..599ab7ae9 100644 --- a/testprograms/ref-results/PRIMA_c-type.vcg +++ b/testprograms/ref-results/PRIMA_c-type.vcg @@ -24,94 +24,94 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -node: {title: "e14" label: "ent a" color: yellow +node: {title: "e13" label: "ent a" color: yellow info1: " -id: e14 +id: e13 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: a -ld_name: no yet set -offset: -1" +peculiarity: peculiarity_existent +name: a +ld_name: no yet set +offset(bits): -1" } -edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red} -node: {title: "t12" label: "class PRIMA" info1: "state: layout_undefined -size: -1B, +edge: { sourcename: "e13" targetname: "t10"class: 3 label: "type" color: red} +node: {title: "t11" label: "class PRIMA" info1: "state: layout_undefined +size: -1b, peculiarity: peculiarity_existent " color: green} -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 +edge: { sourcename: "t11" targetname: "e13"class: 12 label: "member" color:blue} +edge: { sourcename: "t11" targetname: "e16"class: 12 label: "member" color:blue} +edge: { sourcename: "t11" targetname: "e19"class: 12 label: "member" color:blue} +node: {title: "e16" label: "ent PRIMA_set_a" color: yellow info1: " -id: e17 +id: e16 allocation: allocation_static visibility: visibility_local variability: variability_constant volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: set_a -ld_name: PRIMA_set_a -offset: -1 -irg = g68" +peculiarity: peculiarity_existent +name: set_a +ld_name: PRIMA_set_a +offset(bits): -1 +irg = g67" } -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" info1: "visited: 9 +edge: { sourcename: "e16" targetname: "t14"class: 3 label: "type" color: red} +edge: { sourcename: "e16" targetname: "n15"label: "value 0"} +node: {title: "n15" label: "SymC &set_a 15" info1: "mode: P +visited: 9 arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t15" label: "method set_a" info1: "state: layout_fixed, +"} +node: {title: "t14" label: "method set_a" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, variadicity: variadicity_non_variadic params: 2 results: 0 "} -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, +edge: { sourcename: "t14" targetname: "t12"class: 5 label: "param 0" color: green} +edge: { sourcename: "t14" targetname: "t10"class: 5 label: "param 1" color: green} +node: {title: "t12" label: "pointer class_prima_ptr" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, "} -edge: { sourcename: "t13" targetname: "t12"class: 9 label: "points to" color:green} -node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, +edge: { sourcename: "t12" targetname: "t11"class: 9 label: "points to" color:green} +node: {title: "t10" label: "primitive int" info1: "state: layout_fixed, mode: Is, -size: 4B, +size: 32b, "} -node: {title: "e20" label: "ent PRIMA_c" color: yellow +node: {title: "e19" label: "ent PRIMA_c" color: yellow info1: " -id: e20 +id: e19 allocation: allocation_static visibility: visibility_local variability: variability_constant volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: c -ld_name: PRIMA_c -offset: -1 -irg = g90" +peculiarity: peculiarity_existent +name: c +ld_name: PRIMA_c +offset(bits): -1 +irg = g89" } -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" info1: "visited: 9 +edge: { sourcename: "e19" targetname: "t17"class: 3 label: "type" color: red} +edge: { sourcename: "e19" targetname: "n18"label: "value 0"} +node: {title: "n18" label: "SymC &c 18" info1: "mode: P +visited: 9 arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t18" label: "method c" info1: "state: layout_fixed, +"} +node: {title: "t17" label: "method c" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, variadicity: variadicity_non_variadic params: 2 results: 1 "} -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, +edge: { sourcename: "t17" targetname: "t12"class: 5 label: "param 0" color: green} +edge: { sourcename: "t17" targetname: "t10"class: 5 label: "param 1" color: green} +edge: { sourcename: "t17" targetname: "t10"class: 6 label: "res 0" color: green} +node: {title: "t78" 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 fb0fe90e6..55acfbcb8 100644 --- a/testprograms/ref-results/PRIMA_c-wtypes.vcg +++ b/testprograms/ref-results/PRIMA_c-wtypes.vcg @@ -24,184 +24,197 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -graph: { title: "g90" label: "PRIMA_c" status:clustered color:white -graph: { title: "n148" label: "Block 148" status:clustered color:yellow -edge: {sourcename: "n148" targetname: "n149" label: "0" class:13 priority:60 color:red} -node: {title: "n146" label: "End 146" info1: "visited: 16 +graph: { title: "g89" label: "PRIMA_c" status:clustered color:white +graph: { title: "n147" label: "Block 147" status:clustered color:yellow +edge: {sourcename: "n147" targetname: "n148" label: "0" class:13 priority:60 color:red} +node: {title: "n145" label: "End 145" info1: "mode: X +visited: 16 irg: PRIMA_c arity: 0 "color: blue} } -graph: { title: "n150" label: "Block 150" status:clustered color:yellow -edge: {sourcename: "n150" targetname: "n151" label: "0" class:13 priority:60 color:red} -node: {title: "n149" label: "Return 149" info1: "visited: 16 +graph: { title: "n149" label: "Block 149" status:clustered color:yellow +edge: {sourcename: "n149" targetname: "n150" label: "0" class:13 priority:60 color:red} +node: {title: "n148" label: "Return 148" info1: "mode: X +visited: 16 irg: PRIMA_c arity: 2 return in method of type c res 0 type: int -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n149" targetname: "n162" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n149" targetname: "n154" label: "1" class:1 priority:50} -node: {title: "n162" label: "ProjM 0 162" info1: "visited: 16 +"} +edge: {sourcename: "n148" targetname: "n161" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n148" targetname: "n153" label: "1" class:1 priority:50} +node: {title: "n161" label: "ProjM 0 161" info1: "mode: M +visited: 16 irg: PRIMA_c arity: 1 "color: yellow} -edge: {sourcename: "n162" targetname: "n156" label: "0" class:17 priority:10 color:blue} -node: {title: "n154" label: "AddIs 154" info1: "visited: 16 +edge: {sourcename: "n161" targetname: "n155" label: "0" class:17 priority:10 color:blue} +node: {title: "n153" label: "AddIs 153" info1: "mode: Is +visited: 16 irg: PRIMA_c arity: 2 "} -edge: {sourcename: "n154" targetname: "n161" label: "0" class:1 priority:50} -edge: {sourcename: "n154" targetname: "n155" label: "1" class:1 priority:50} -node: {title: "n161" label: "ProjIs 1 161" info1: "visited: 16 +edge: {sourcename: "n153" targetname: "n160" label: "0" class:1 priority:50} +edge: {sourcename: "n153" targetname: "n154" label: "1" class:1 priority:50} +node: {title: "n160" label: "ProjIs 1 160" info1: "mode: Is +visited: 16 irg: PRIMA_c arity: 1 -" info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow} -edge: {sourcename: "n161" targetname: "n159" label: "0" class:16 priority:10} -node: {title: "n155" label: "ProjIs 2 155" info1: "visited: 16 +"color: yellow} +edge: {sourcename: "n160" targetname: "n158" label: "0" class:16 priority:10} +node: {title: "n154" label: "ProjIs 2 154" info1: "mode: Is +visited: 16 irg: PRIMA_c arity: 1 "color: yellow} -edge: {sourcename: "n155" targetname: "n156" label: "0" class:1 priority:50} -node: {title: "n156" label: "Load 156" info1: "visited: 16 +edge: {sourcename: "n154" targetname: "n155" label: "0" class:1 priority:50} +node: {title: "n155" label: "Load 155" info1: "mode: T +visited: 16 irg: PRIMA_c arity: 2 -" info2: "mymode == mode_T && Load node"} -edge: {sourcename: "n156" targetname: "n160" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n156" targetname: "n157" label: "1" class:1 priority:50} -node: {title: "n157" label: "Sel a 157" info1: "visited: 16 +"} +edge: {sourcename: "n155" targetname: "n159" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n155" targetname: "n156" label: "1" class:1 priority:50} +node: {title: "n156" label: "Sel a 156" info1: "mode: P +visited: 16 irg: PRIMA_c arity: 2 Selecting entity of type int from entity of type PRIMA "} -edge: {sourcename: "n157" targetname: "n160" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n157" targetname: "n158" label: "1" class:1 priority:50} -node: {title: "n158" label: "ProjP 0 158" info1: "visited: 16 +edge: {sourcename: "n156" targetname: "n159" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n156" targetname: "n157" label: "1" class:1 priority:50} +node: {title: "n157" label: "ProjP 0 157" info1: "mode: P +visited: 16 irg: PRIMA_c arity: 1 -" info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow} -edge: {sourcename: "n158" targetname: "n159" label: "0" class:16 priority:10} +"color: yellow} +edge: {sourcename: "n157" targetname: "n158" label: "0" class:16 priority:10} } -graph: { title: "n152" label: "Block 152" status:clustered color:yellow -edge: {sourcename: "n152" targetname: "n151" label: "0" class:13 priority:60 color:red} -node: {title: "n160" label: "ProjM 1 160" info1: "visited: 16 +graph: { title: "n151" label: "Block 151" status:clustered color:yellow +edge: {sourcename: "n151" targetname: "n150" label: "0" class:13 priority:60 color:red} +node: {title: "n159" label: "ProjM 1 159" info1: "mode: M +visited: 16 irg: PRIMA_c arity: 1 "color: yellow} -edge: {sourcename: "n160" targetname: "n153" label: "0" class:17 priority:10 color:blue} -node: {title: "n159" label: "ProjT 4 159" info1: "visited: 16 +edge: {sourcename: "n159" targetname: "n152" label: "0" class:17 priority:10 color:blue} +node: {title: "n158" label: "ProjT 4 158" info1: "mode: T +visited: 16 irg: PRIMA_c arity: 1 "color: yellow} -edge: {sourcename: "n159" targetname: "n153" label: "0" class:1 priority:50} -node: {title: "n151" label: "ProjX 0 151" info1: "visited: 16 +edge: {sourcename: "n158" targetname: "n152" label: "0" class:1 priority:50} +node: {title: "n150" label: "ProjX 0 150" info1: "mode: X +visited: 16 irg: PRIMA_c arity: 1 "color: yellow} -edge: {sourcename: "n151" targetname: "n153" label: "0" class:13 priority:60 color:red} -node: {title: "n153" label: "Start 153" info1: "visited: 16 +edge: {sourcename: "n150" targetname: "n152" label: "0" class:13 priority:60 color:red} +node: {title: "n152" label: "Start 152" info1: "mode: T +visited: 16 irg: PRIMA_c arity: 0 start of method of type c param 0 type: class_prima_ptr param 1 type: int -" info2: "mymode == mode_T && Start node"color: blue} +"color: blue} } } -node: {title: "e14" label: "ent a" color: yellow +node: {title: "e13" label: "ent a" color: yellow info1: " -id: e14 +id: e13 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: a -ld_name: no yet set -offset: -1" +peculiarity: peculiarity_existent +name: a +ld_name: no yet set +offset(bits): -1" } -edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red} -node: {title: "t12" label: "class PRIMA" info1: "state: layout_undefined -size: -1B, +edge: { sourcename: "e13" targetname: "t10"class: 3 label: "type" color: red} +node: {title: "t11" label: "class PRIMA" info1: "state: layout_undefined +size: -1b, peculiarity: peculiarity_existent " color: green} -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 +edge: { sourcename: "t11" targetname: "e13"class: 12 label: "member" color:blue} +edge: { sourcename: "t11" targetname: "e16"class: 12 label: "member" color:blue} +edge: { sourcename: "t11" targetname: "e19"class: 12 label: "member" color:blue} +node: {title: "e16" label: "ent PRIMA_set_a" color: yellow info1: " -id: e17 +id: e16 allocation: allocation_static visibility: visibility_local variability: variability_constant volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: set_a -ld_name: PRIMA_set_a -offset: -1 -irg = g68" +peculiarity: peculiarity_existent +name: set_a +ld_name: PRIMA_set_a +offset(bits): -1 +irg = g67" } -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" info1: "visited: 6 +edge: { sourcename: "e16" targetname: "t14"class: 3 label: "type" color: red} +edge: { sourcename: "e16" targetname: "n15"label: "value 0"} +node: {title: "n15" label: "SymC &set_a 15" info1: "mode: P +visited: 6 arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t15" label: "method set_a" info1: "state: layout_fixed, +"} +node: {title: "t14" label: "method set_a" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, variadicity: variadicity_non_variadic params: 2 results: 0 "} -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, +edge: { sourcename: "t14" targetname: "t12"class: 5 label: "param 0" color: green} +edge: { sourcename: "t14" targetname: "t10"class: 5 label: "param 1" color: green} +node: {title: "t12" label: "pointer class_prima_ptr" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, "} -edge: { sourcename: "t13" targetname: "t12"class: 9 label: "points to" color:green} -node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, +edge: { sourcename: "t12" targetname: "t11"class: 9 label: "points to" color:green} +node: {title: "t10" label: "primitive int" info1: "state: layout_fixed, mode: Is, -size: 4B, +size: 32b, "} -node: {title: "e20" label: "ent PRIMA_c" color: yellow +node: {title: "e19" label: "ent PRIMA_c" color: yellow info1: " -id: e20 +id: e19 allocation: allocation_static visibility: visibility_local variability: variability_constant volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: c -ld_name: PRIMA_c -offset: -1 -irg = g90" +peculiarity: peculiarity_existent +name: c +ld_name: PRIMA_c +offset(bits): -1 +irg = g89" } -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" info1: "visited: 6 +edge: { sourcename: "e19" targetname: "t17"class: 3 label: "type" color: red} +edge: { sourcename: "e19" targetname: "n18"label: "value 0"} +node: {title: "n18" label: "SymC &c 18" info1: "mode: P +visited: 6 arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t18" label: "method c" info1: "state: layout_fixed, +"} +node: {title: "t17" label: "method c" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, variadicity: variadicity_non_variadic params: 2 results: 1 "} -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, +edge: { sourcename: "t17" targetname: "t12"class: 5 label: "param 0" color: green} +edge: { sourcename: "t17" targetname: "t10"class: 5 label: "param 1" color: green} +edge: { sourcename: "t17" targetname: "t10"class: 6 label: "res 0" color: green} +node: {title: "t78" label: "class cframe_tp" info1: "state: layout_undefined +size: -1b, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "n157" targetname: "e14"class:2 priority:2 linestyle:dotted} +edge: { sourcename: "n156" targetname: "e13"class:2 priority:2 linestyle:dotted} } diff --git a/testprograms/ref-results/PRIMA_c.vcg b/testprograms/ref-results/PRIMA_c.vcg index 8b7d53e20..b914756bb 100644 --- a/testprograms/ref-results/PRIMA_c.vcg +++ b/testprograms/ref-results/PRIMA_c.vcg @@ -24,91 +24,104 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -graph: { title: "g90" label: "PRIMA_c" status:clustered color:white -graph: { title: "n148" label: "Block 148" status:clustered color:yellow -edge: {sourcename: "n148" targetname: "n149" label: "0" class:13 priority:60 color:red} -node: {title: "n146" label: "End 146" info1: "visited: 12 +graph: { title: "g89" label: "PRIMA_c" status:clustered color:white +graph: { title: "n147" label: "Block 147" status:clustered color:yellow +edge: {sourcename: "n147" targetname: "n148" label: "0" class:13 priority:60 color:red} +node: {title: "n145" label: "End 145" info1: "mode: X +visited: 12 irg: PRIMA_c arity: 0 "color: blue} } -graph: { title: "n150" label: "Block 150" status:clustered color:yellow -edge: {sourcename: "n150" targetname: "n151" label: "0" class:13 priority:60 color:red} -node: {title: "n149" label: "Return 149" info1: "visited: 12 +graph: { title: "n149" label: "Block 149" status:clustered color:yellow +edge: {sourcename: "n149" targetname: "n150" label: "0" class:13 priority:60 color:red} +node: {title: "n148" label: "Return 148" info1: "mode: X +visited: 12 irg: PRIMA_c arity: 2 return in method of type c res 0 type: int -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n149" targetname: "n162" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n149" targetname: "n154" label: "1" class:1 priority:50} -node: {title: "n162" label: "ProjM 0 162" info1: "visited: 12 +"} +edge: {sourcename: "n148" targetname: "n161" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n148" targetname: "n153" label: "1" class:1 priority:50} +node: {title: "n161" label: "ProjM 0 161" info1: "mode: M +visited: 12 irg: PRIMA_c arity: 1 "color: yellow} -edge: {sourcename: "n162" targetname: "n156" label: "0" class:17 priority:10 color:blue} -node: {title: "n154" label: "AddIs 154" info1: "visited: 12 +edge: {sourcename: "n161" targetname: "n155" label: "0" class:17 priority:10 color:blue} +node: {title: "n153" label: "AddIs 153" info1: "mode: Is +visited: 12 irg: PRIMA_c arity: 2 "} -edge: {sourcename: "n154" targetname: "n161" label: "0" class:1 priority:50} -edge: {sourcename: "n154" targetname: "n155" label: "1" class:1 priority:50} -node: {title: "n161" label: "ProjIs 1 161" info1: "visited: 12 +edge: {sourcename: "n153" targetname: "n160" label: "0" class:1 priority:50} +edge: {sourcename: "n153" targetname: "n154" label: "1" class:1 priority:50} +node: {title: "n160" label: "ProjIs 1 160" info1: "mode: Is +visited: 12 irg: PRIMA_c arity: 1 -" info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow} -edge: {sourcename: "n161" targetname: "n159" label: "0" class:16 priority:10} -node: {title: "n155" label: "ProjIs 2 155" info1: "visited: 12 +"color: yellow} +edge: {sourcename: "n160" targetname: "n158" label: "0" class:16 priority:10} +node: {title: "n154" label: "ProjIs 2 154" info1: "mode: Is +visited: 12 irg: PRIMA_c arity: 1 "color: yellow} -edge: {sourcename: "n155" targetname: "n156" label: "0" class:1 priority:50} -node: {title: "n156" label: "Load 156" info1: "visited: 12 +edge: {sourcename: "n154" targetname: "n155" label: "0" class:1 priority:50} +node: {title: "n155" label: "Load 155" info1: "mode: T +visited: 12 irg: PRIMA_c arity: 2 -" info2: "mymode == mode_T && Load node"} -edge: {sourcename: "n156" targetname: "n160" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n156" targetname: "n157" label: "1" class:1 priority:50} -node: {title: "n157" label: "Sel a 157" info1: "visited: 12 +"} +edge: {sourcename: "n155" targetname: "n159" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n155" targetname: "n156" label: "1" class:1 priority:50} +node: {title: "n156" label: "Sel a 156" info1: "mode: P +visited: 12 irg: PRIMA_c arity: 2 Selecting entity of type int from entity of type PRIMA "} -edge: {sourcename: "n157" targetname: "n160" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n157" targetname: "n158" label: "1" class:1 priority:50} -node: {title: "n158" label: "ProjP 0 158" info1: "visited: 12 +edge: {sourcename: "n156" targetname: "n159" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n156" targetname: "n157" label: "1" class:1 priority:50} +node: {title: "n157" label: "ProjP 0 157" info1: "mode: P +visited: 12 irg: PRIMA_c arity: 1 -" info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow} -edge: {sourcename: "n158" targetname: "n159" label: "0" class:16 priority:10} +"color: yellow} +edge: {sourcename: "n157" targetname: "n158" label: "0" class:16 priority:10} } -graph: { title: "n152" label: "Block 152" status:clustered color:yellow -edge: {sourcename: "n152" targetname: "n151" label: "0" class:13 priority:60 color:red} -node: {title: "n160" label: "ProjM 1 160" info1: "visited: 12 +graph: { title: "n151" label: "Block 151" status:clustered color:yellow +edge: {sourcename: "n151" targetname: "n150" label: "0" class:13 priority:60 color:red} +node: {title: "n159" label: "ProjM 1 159" info1: "mode: M +visited: 12 irg: PRIMA_c arity: 1 "color: yellow} -edge: {sourcename: "n160" targetname: "n153" label: "0" class:17 priority:10 color:blue} -node: {title: "n159" label: "ProjT 4 159" info1: "visited: 12 +edge: {sourcename: "n159" targetname: "n152" label: "0" class:17 priority:10 color:blue} +node: {title: "n158" label: "ProjT 4 158" info1: "mode: T +visited: 12 irg: PRIMA_c arity: 1 "color: yellow} -edge: {sourcename: "n159" targetname: "n153" label: "0" class:1 priority:50} -node: {title: "n151" label: "ProjX 0 151" info1: "visited: 12 +edge: {sourcename: "n158" targetname: "n152" label: "0" class:1 priority:50} +node: {title: "n150" label: "ProjX 0 150" info1: "mode: X +visited: 12 irg: PRIMA_c arity: 1 "color: yellow} -edge: {sourcename: "n151" targetname: "n153" label: "0" class:13 priority:60 color:red} -node: {title: "n153" label: "Start 153" info1: "visited: 12 +edge: {sourcename: "n150" targetname: "n152" label: "0" class:13 priority:60 color:red} +node: {title: "n152" label: "Start 152" info1: "mode: T +visited: 12 irg: PRIMA_c arity: 0 start of method of type c param 0 type: class_prima_ptr param 1 type: int -" info2: "mymode == mode_T && Start node"color: blue} +"color: blue} } } diff --git a/testprograms/ref-results/PRIMA_set_a-pure-wtypes.vcg b/testprograms/ref-results/PRIMA_set_a-pure-wtypes.vcg index 2abe1e702..fb700e43e 100644 --- a/testprograms/ref-results/PRIMA_set_a-pure-wtypes.vcg +++ b/testprograms/ref-results/PRIMA_set_a-pure-wtypes.vcg @@ -24,183 +24,197 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -node: {title: "n135" label: "Block 135" info1: "visited: 13 +node: {title: "n134" label: "Block 134" info1: "mode: BB +visited: 13 irg: PRIMA_set_a arity: 1 backedges: -" info2: "((get_irn_irg(n) && get_irn_irg(n) == irg)) && Block node has wrong irg attribute"color: lightyellow} -edge: {sourcename: "n135" targetname: "n134" label: "0" class:13 priority:60 color:red} -node: {title: "n136" label: "Start 136" info1: "visited: 13 +"color: lightyellow} +edge: {sourcename: "n134" targetname: "n133" label: "0" class:13 priority:60 color:red} +node: {title: "n135" label: "Start 135" info1: "mode: T +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 -" info2: "mymode == mode_T && Start node"color: blue} -edge: { sourcename: "n136" targetname: "n135" class:2 priority:50 linestyle:dotted} -node: {title: "n134" label: "ProjX 0 134" info1: "visited: 13 +"color: blue} +edge: { sourcename: "n135" targetname: "n134" class:2 priority:50 linestyle:dotted} +node: {title: "n133" label: "ProjX 0 133" info1: "mode: X +visited: 13 irg: PRIMA_set_a arity: 1 "color: yellow} -edge: {sourcename: "n134" targetname: "n136" label: "0" class:13 priority:60 color:red} -edge: { sourcename: "n134" targetname: "n135" class:2 priority:50 linestyle:dotted} -node: {title: "n133" label: "Block 133" info1: "visited: 13 +edge: {sourcename: "n133" targetname: "n135" label: "0" class:13 priority:60 color:red} +edge: { sourcename: "n133" targetname: "n134" class:2 priority:50 linestyle:dotted} +node: {title: "n132" label: "Block 132" info1: "mode: BB +visited: 13 irg: PRIMA_set_a arity: 1 backedges: -" info2: "((get_irn_irg(n) && get_irn_irg(n) == irg)) && Block node has wrong irg attribute"color: lightyellow} -edge: {sourcename: "n133" targetname: "n134" label: "0" class:13 priority:60 color:red} -node: {title: "n140" label: "ProjT 4 140" info1: "visited: 13 +"color: lightyellow} +edge: {sourcename: "n132" targetname: "n133" label: "0" class:13 priority:60 color:red} +node: {title: "n139" label: "ProjT 4 139" info1: "mode: T +visited: 13 irg: PRIMA_set_a arity: 1 "color: yellow} -edge: {sourcename: "n140" targetname: "n136" label: "0" class:1 priority:50} -edge: { sourcename: "n140" targetname: "n135" class:2 priority:50 linestyle:dotted} -node: {title: "n139" label: "ProjIs 1 139" info1: "visited: 13 +edge: {sourcename: "n139" targetname: "n135" label: "0" class:1 priority:50} +edge: { sourcename: "n139" targetname: "n134" class:2 priority:50 linestyle:dotted} +node: {title: "n138" label: "ProjIs 1 138" info1: "mode: Is +visited: 13 irg: PRIMA_set_a arity: 1 -" info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow} -edge: {sourcename: "n139" targetname: "n140" label: "0" class:16 priority:10} -edge: { sourcename: "n139" targetname: "n133" class:2 priority:50 linestyle:dotted} -node: {title: "n142" label: "ProjP 0 142" info1: "visited: 13 +"color: yellow} +edge: {sourcename: "n138" targetname: "n139" label: "0" class:16 priority:10} +edge: { sourcename: "n138" targetname: "n132" class:2 priority:50 linestyle:dotted} +node: {title: "n141" label: "ProjP 0 141" info1: "mode: P +visited: 13 irg: PRIMA_set_a arity: 1 -" info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow} -edge: {sourcename: "n142" targetname: "n140" label: "0" class:16 priority:10} -edge: { sourcename: "n142" targetname: "n133" class:2 priority:50 linestyle:dotted} -node: {title: "n143" label: "ProjM 1 143" info1: "visited: 13 +"color: yellow} +edge: {sourcename: "n141" targetname: "n139" label: "0" class:16 priority:10} +edge: { sourcename: "n141" targetname: "n132" class:2 priority:50 linestyle:dotted} +node: {title: "n142" label: "ProjM 1 142" info1: "mode: M +visited: 13 irg: PRIMA_set_a arity: 1 "color: yellow} -edge: {sourcename: "n143" targetname: "n136" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n143" targetname: "n135" class:2 priority:50 linestyle:dotted} -node: {title: "n141" label: "Sel a 141" info1: "visited: 13 +edge: {sourcename: "n142" targetname: "n135" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n142" targetname: "n134" class:2 priority:50 linestyle:dotted} +node: {title: "n140" label: "Sel a 140" info1: "mode: P +visited: 13 irg: PRIMA_set_a arity: 2 Selecting entity of type int from entity of type PRIMA "} -edge: {sourcename: "n141" targetname: "n143" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n141" targetname: "n142" label: "1" class:1 priority:50} -edge: { sourcename: "n141" targetname: "n133" class:2 priority:50 linestyle:dotted} -node: {title: "n138" label: "Store 138" info1: "visited: 13 +edge: {sourcename: "n140" targetname: "n142" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n140" targetname: "n141" label: "1" class:1 priority:50} +edge: { sourcename: "n140" targetname: "n132" class:2 priority:50 linestyle:dotted} +node: {title: "n137" label: "Store 137" info1: "mode: T +visited: 13 irg: PRIMA_set_a arity: 3 -" info2: "mymode == mode_T && Store node"} -edge: {sourcename: "n138" targetname: "n143" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n138" targetname: "n141" label: "1" class:1 priority:50} -edge: {sourcename: "n138" targetname: "n139" label: "2" class:1 priority:50} -edge: { sourcename: "n138" targetname: "n133" class:2 priority:50 linestyle:dotted} -node: {title: "n137" label: "ProjM 0 137" info1: "visited: 13 +"} +edge: {sourcename: "n137" targetname: "n142" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n137" targetname: "n140" label: "1" class:1 priority:50} +edge: {sourcename: "n137" targetname: "n138" label: "2" class:1 priority:50} +edge: { sourcename: "n137" targetname: "n132" class:2 priority:50 linestyle:dotted} +node: {title: "n136" label: "ProjM 0 136" info1: "mode: M +visited: 13 irg: PRIMA_set_a arity: 1 "color: yellow} -edge: {sourcename: "n137" targetname: "n138" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n137" targetname: "n133" class:2 priority:50 linestyle:dotted} -node: {title: "n132" label: "Return 132" info1: "visited: 13 +edge: {sourcename: "n136" targetname: "n137" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n136" targetname: "n132" class:2 priority:50 linestyle:dotted} +node: {title: "n131" label: "Return 131" info1: "mode: X +visited: 13 irg: PRIMA_set_a arity: 1 return in method of type set_a -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n132" targetname: "n137" label: "0" class:14 priority:50 color:blue} -edge: { sourcename: "n132" targetname: "n133" class:2 priority:50 linestyle:dotted} -node: {title: "n131" label: "Block 131" info1: "visited: 13 +"} +edge: {sourcename: "n131" targetname: "n136" label: "0" class:14 priority:50 color:blue} +edge: { sourcename: "n131" targetname: "n132" class:2 priority:50 linestyle:dotted} +node: {title: "n130" label: "Block 130" info1: "mode: BB +visited: 13 irg: PRIMA_set_a arity: 1 backedges: -" info2: "((get_irn_irg(n) && get_irn_irg(n) == irg)) && Block node has wrong irg attribute"color: lightyellow} -edge: {sourcename: "n131" targetname: "n132" label: "0" class:13 priority:60 color:red} -node: {title: "n129" label: "End 129" info1: "visited: 13 +"color: lightyellow} +edge: {sourcename: "n130" targetname: "n131" label: "0" class:13 priority:60 color:red} +node: {title: "n128" label: "End 128" info1: "mode: X +visited: 13 irg: PRIMA_set_a arity: 0 "color: blue} -edge: { sourcename: "n129" targetname: "n131" class:2 priority:50 linestyle:dotted} -node: {title: "e14" label: "ent a" color: yellow +edge: { sourcename: "n128" targetname: "n130" class:2 priority:50 linestyle:dotted} +node: {title: "e13" label: "ent a" color: yellow info1: " -id: e14 +id: e13 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: a -ld_name: no yet set -offset: -1" +peculiarity: peculiarity_existent +name: a +ld_name: no yet set +offset(bits): -1" } -edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red} -node: {title: "t12" label: "class PRIMA" info1: "state: layout_undefined -size: -1B, +edge: { sourcename: "e13" targetname: "t10"class: 3 label: "type" color: red} +node: {title: "t11" label: "class PRIMA" info1: "state: layout_undefined +size: -1b, peculiarity: peculiarity_existent " color: green} -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 +edge: { sourcename: "t11" targetname: "e13"class: 12 label: "member" color:blue} +edge: { sourcename: "t11" targetname: "e16"class: 12 label: "member" color:blue} +edge: { sourcename: "t11" targetname: "e19"class: 12 label: "member" color:blue} +node: {title: "e16" label: "ent PRIMA_set_a" color: yellow info1: " -id: e17 +id: e16 allocation: allocation_static visibility: visibility_local variability: variability_constant volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: set_a -ld_name: PRIMA_set_a -offset: -1 -irg = g68" +peculiarity: peculiarity_existent +name: set_a +ld_name: PRIMA_set_a +offset(bits): -1 +irg = g67" } -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" info1: "visited: 2 +edge: { sourcename: "e16" targetname: "t14"class: 3 label: "type" color: red} +edge: { sourcename: "e16" targetname: "n15"label: "value 0"} +node: {title: "n15" label: "SymC &set_a 15" info1: "mode: P +visited: 2 arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t15" label: "method set_a" info1: "state: layout_fixed, +"} +node: {title: "t14" label: "method set_a" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, variadicity: variadicity_non_variadic params: 2 results: 0 "} -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, +edge: { sourcename: "t14" targetname: "t12"class: 5 label: "param 0" color: green} +edge: { sourcename: "t14" targetname: "t10"class: 5 label: "param 1" color: green} +node: {title: "t12" label: "pointer class_prima_ptr" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, "} -edge: { sourcename: "t13" targetname: "t12"class: 9 label: "points to" color:green} -node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, +edge: { sourcename: "t12" targetname: "t11"class: 9 label: "points to" color:green} +node: {title: "t10" label: "primitive int" info1: "state: layout_fixed, mode: Is, -size: 4B, +size: 32b, "} -node: {title: "e20" label: "ent PRIMA_c" color: yellow +node: {title: "e19" label: "ent PRIMA_c" color: yellow info1: " -id: e20 +id: e19 allocation: allocation_static visibility: visibility_local variability: variability_constant volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: c -ld_name: PRIMA_c -offset: -1 -irg = g90" +peculiarity: peculiarity_existent +name: c +ld_name: PRIMA_c +offset(bits): -1 +irg = g89" } -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" info1: "visited: 2 +edge: { sourcename: "e19" targetname: "t17"class: 3 label: "type" color: red} +edge: { sourcename: "e19" targetname: "n18"label: "value 0"} +node: {title: "n18" label: "SymC &c 18" info1: "mode: P +visited: 2 arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t18" label: "method c" info1: "state: layout_fixed, +"} +node: {title: "t17" label: "method c" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, variadicity: variadicity_non_variadic params: 2 results: 1 "} -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, +edge: { sourcename: "t17" targetname: "t12"class: 5 label: "param 0" color: green} +edge: { sourcename: "t17" targetname: "t10"class: 5 label: "param 1" color: green} +edge: { sourcename: "t17" targetname: "t10"class: 6 label: "res 0" color: green} +node: {title: "t56" label: "class set_aframe_tp" info1: "state: layout_undefined +size: -1b, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "n141" targetname: "e14"class:2 priority:2 linestyle:dotted} +edge: { sourcename: "n140" targetname: "e13"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 13b2f6d47..7782be9a5 100644 --- a/testprograms/ref-results/PRIMA_set_a-pure.vcg +++ b/testprograms/ref-results/PRIMA_set_a-pure.vcg @@ -24,92 +24,106 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -node: {title: "n135" label: "Block 135" info1: "visited: 11 +node: {title: "n134" label: "Block 134" info1: "mode: BB +visited: 11 irg: PRIMA_set_a arity: 1 backedges: -" info2: "((get_irn_irg(n) && get_irn_irg(n) == irg)) && Block node has wrong irg attribute"color: lightyellow} -edge: {sourcename: "n135" targetname: "n134" label: "0" class:13 priority:60 color:red} -node: {title: "n136" label: "Start 136" info1: "visited: 11 +"color: lightyellow} +edge: {sourcename: "n134" targetname: "n133" label: "0" class:13 priority:60 color:red} +node: {title: "n135" label: "Start 135" info1: "mode: T +visited: 11 irg: PRIMA_set_a arity: 0 start of method of type set_a param 0 type: class_prima_ptr param 1 type: int -" info2: "mymode == mode_T && Start node"color: blue} -edge: { sourcename: "n136" targetname: "n135" class:2 priority:50 linestyle:dotted} -node: {title: "n134" label: "ProjX 0 134" info1: "visited: 11 +"color: blue} +edge: { sourcename: "n135" targetname: "n134" class:2 priority:50 linestyle:dotted} +node: {title: "n133" label: "ProjX 0 133" info1: "mode: X +visited: 11 irg: PRIMA_set_a arity: 1 "color: yellow} -edge: {sourcename: "n134" targetname: "n136" label: "0" class:13 priority:60 color:red} -edge: { sourcename: "n134" targetname: "n135" class:2 priority:50 linestyle:dotted} -node: {title: "n133" label: "Block 133" info1: "visited: 11 +edge: {sourcename: "n133" targetname: "n135" label: "0" class:13 priority:60 color:red} +edge: { sourcename: "n133" targetname: "n134" class:2 priority:50 linestyle:dotted} +node: {title: "n132" label: "Block 132" info1: "mode: BB +visited: 11 irg: PRIMA_set_a arity: 1 backedges: -" info2: "((get_irn_irg(n) && get_irn_irg(n) == irg)) && Block node has wrong irg attribute"color: lightyellow} -edge: {sourcename: "n133" targetname: "n134" label: "0" class:13 priority:60 color:red} -node: {title: "n140" label: "ProjT 4 140" info1: "visited: 11 +"color: lightyellow} +edge: {sourcename: "n132" targetname: "n133" label: "0" class:13 priority:60 color:red} +node: {title: "n139" label: "ProjT 4 139" info1: "mode: T +visited: 11 irg: PRIMA_set_a arity: 1 "color: yellow} -edge: {sourcename: "n140" targetname: "n136" label: "0" class:1 priority:50} -edge: { sourcename: "n140" targetname: "n135" class:2 priority:50 linestyle:dotted} -node: {title: "n139" label: "ProjIs 1 139" info1: "visited: 11 +edge: {sourcename: "n139" targetname: "n135" label: "0" class:1 priority:50} +edge: { sourcename: "n139" targetname: "n134" class:2 priority:50 linestyle:dotted} +node: {title: "n138" label: "ProjIs 1 138" info1: "mode: Is +visited: 11 irg: PRIMA_set_a arity: 1 -" info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow} -edge: {sourcename: "n139" targetname: "n140" label: "0" class:16 priority:10} -edge: { sourcename: "n139" targetname: "n133" class:2 priority:50 linestyle:dotted} -node: {title: "n142" label: "ProjP 0 142" info1: "visited: 11 +"color: yellow} +edge: {sourcename: "n138" targetname: "n139" label: "0" class:16 priority:10} +edge: { sourcename: "n138" targetname: "n132" class:2 priority:50 linestyle:dotted} +node: {title: "n141" label: "ProjP 0 141" info1: "mode: P +visited: 11 irg: PRIMA_set_a arity: 1 -" info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow} -edge: {sourcename: "n142" targetname: "n140" label: "0" class:16 priority:10} -edge: { sourcename: "n142" targetname: "n133" class:2 priority:50 linestyle:dotted} -node: {title: "n143" label: "ProjM 1 143" info1: "visited: 11 +"color: yellow} +edge: {sourcename: "n141" targetname: "n139" label: "0" class:16 priority:10} +edge: { sourcename: "n141" targetname: "n132" class:2 priority:50 linestyle:dotted} +node: {title: "n142" label: "ProjM 1 142" info1: "mode: M +visited: 11 irg: PRIMA_set_a arity: 1 "color: yellow} -edge: {sourcename: "n143" targetname: "n136" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n143" targetname: "n135" class:2 priority:50 linestyle:dotted} -node: {title: "n141" label: "Sel a 141" info1: "visited: 11 +edge: {sourcename: "n142" targetname: "n135" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n142" targetname: "n134" class:2 priority:50 linestyle:dotted} +node: {title: "n140" label: "Sel a 140" info1: "mode: P +visited: 11 irg: PRIMA_set_a arity: 2 Selecting entity of type int from entity of type PRIMA "} -edge: {sourcename: "n141" targetname: "n143" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n141" targetname: "n142" label: "1" class:1 priority:50} -edge: { sourcename: "n141" targetname: "n133" class:2 priority:50 linestyle:dotted} -node: {title: "n138" label: "Store 138" info1: "visited: 11 +edge: {sourcename: "n140" targetname: "n142" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n140" targetname: "n141" label: "1" class:1 priority:50} +edge: { sourcename: "n140" targetname: "n132" class:2 priority:50 linestyle:dotted} +node: {title: "n137" label: "Store 137" info1: "mode: T +visited: 11 irg: PRIMA_set_a arity: 3 -" info2: "mymode == mode_T && Store node"} -edge: {sourcename: "n138" targetname: "n143" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n138" targetname: "n141" label: "1" class:1 priority:50} -edge: {sourcename: "n138" targetname: "n139" label: "2" class:1 priority:50} -edge: { sourcename: "n138" targetname: "n133" class:2 priority:50 linestyle:dotted} -node: {title: "n137" label: "ProjM 0 137" info1: "visited: 11 +"} +edge: {sourcename: "n137" targetname: "n142" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n137" targetname: "n140" label: "1" class:1 priority:50} +edge: {sourcename: "n137" targetname: "n138" label: "2" class:1 priority:50} +edge: { sourcename: "n137" targetname: "n132" class:2 priority:50 linestyle:dotted} +node: {title: "n136" label: "ProjM 0 136" info1: "mode: M +visited: 11 irg: PRIMA_set_a arity: 1 "color: yellow} -edge: {sourcename: "n137" targetname: "n138" label: "0" class:17 priority:10 color:blue} -edge: { sourcename: "n137" targetname: "n133" class:2 priority:50 linestyle:dotted} -node: {title: "n132" label: "Return 132" info1: "visited: 11 +edge: {sourcename: "n136" targetname: "n137" label: "0" class:17 priority:10 color:blue} +edge: { sourcename: "n136" targetname: "n132" class:2 priority:50 linestyle:dotted} +node: {title: "n131" label: "Return 131" info1: "mode: X +visited: 11 irg: PRIMA_set_a arity: 1 return in method of type set_a -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n132" targetname: "n137" label: "0" class:14 priority:50 color:blue} -edge: { sourcename: "n132" targetname: "n133" class:2 priority:50 linestyle:dotted} -node: {title: "n131" label: "Block 131" info1: "visited: 11 +"} +edge: {sourcename: "n131" targetname: "n136" label: "0" class:14 priority:50 color:blue} +edge: { sourcename: "n131" targetname: "n132" class:2 priority:50 linestyle:dotted} +node: {title: "n130" label: "Block 130" info1: "mode: BB +visited: 11 irg: PRIMA_set_a arity: 1 backedges: -" info2: "((get_irn_irg(n) && get_irn_irg(n) == irg)) && Block node has wrong irg attribute"color: lightyellow} -edge: {sourcename: "n131" targetname: "n132" label: "0" class:13 priority:60 color:red} -node: {title: "n129" label: "End 129" info1: "visited: 11 +"color: lightyellow} +edge: {sourcename: "n130" targetname: "n131" label: "0" class:13 priority:60 color:red} +node: {title: "n128" label: "End 128" info1: "mode: X +visited: 11 irg: PRIMA_set_a arity: 0 "color: blue} -edge: { sourcename: "n129" targetname: "n131" class:2 priority:50 linestyle:dotted} +edge: { sourcename: "n128" targetname: "n130" class:2 priority:50 linestyle:dotted} } diff --git a/testprograms/ref-results/PRIMA_set_a-type.vcg b/testprograms/ref-results/PRIMA_set_a-type.vcg index b097e56e6..884b5963b 100644 --- a/testprograms/ref-results/PRIMA_set_a-type.vcg +++ b/testprograms/ref-results/PRIMA_set_a-type.vcg @@ -24,94 +24,94 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -node: {title: "e14" label: "ent a" color: yellow +node: {title: "e13" label: "ent a" color: yellow info1: " -id: e14 +id: e13 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: a -ld_name: no yet set -offset: -1" +peculiarity: peculiarity_existent +name: a +ld_name: no yet set +offset(bits): -1" } -edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red} -node: {title: "t12" label: "class PRIMA" info1: "state: layout_undefined -size: -1B, +edge: { sourcename: "e13" targetname: "t10"class: 3 label: "type" color: red} +node: {title: "t11" label: "class PRIMA" info1: "state: layout_undefined +size: -1b, peculiarity: peculiarity_existent " color: green} -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 +edge: { sourcename: "t11" targetname: "e13"class: 12 label: "member" color:blue} +edge: { sourcename: "t11" targetname: "e16"class: 12 label: "member" color:blue} +edge: { sourcename: "t11" targetname: "e19"class: 12 label: "member" color:blue} +node: {title: "e16" label: "ent PRIMA_set_a" color: yellow info1: " -id: e17 +id: e16 allocation: allocation_static visibility: visibility_local variability: variability_constant volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: set_a -ld_name: PRIMA_set_a -offset: -1 -irg = g68" +peculiarity: peculiarity_existent +name: set_a +ld_name: PRIMA_set_a +offset(bits): -1 +irg = g67" } -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" info1: "visited: 8 +edge: { sourcename: "e16" targetname: "t14"class: 3 label: "type" color: red} +edge: { sourcename: "e16" targetname: "n15"label: "value 0"} +node: {title: "n15" label: "SymC &set_a 15" info1: "mode: P +visited: 8 arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t15" label: "method set_a" info1: "state: layout_fixed, +"} +node: {title: "t14" label: "method set_a" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, variadicity: variadicity_non_variadic params: 2 results: 0 "} -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, +edge: { sourcename: "t14" targetname: "t12"class: 5 label: "param 0" color: green} +edge: { sourcename: "t14" targetname: "t10"class: 5 label: "param 1" color: green} +node: {title: "t12" label: "pointer class_prima_ptr" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, "} -edge: { sourcename: "t13" targetname: "t12"class: 9 label: "points to" color:green} -node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, +edge: { sourcename: "t12" targetname: "t11"class: 9 label: "points to" color:green} +node: {title: "t10" label: "primitive int" info1: "state: layout_fixed, mode: Is, -size: 4B, +size: 32b, "} -node: {title: "e20" label: "ent PRIMA_c" color: yellow +node: {title: "e19" label: "ent PRIMA_c" color: yellow info1: " -id: e20 +id: e19 allocation: allocation_static visibility: visibility_local variability: variability_constant volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: c -ld_name: PRIMA_c -offset: -1 -irg = g90" +peculiarity: peculiarity_existent +name: c +ld_name: PRIMA_c +offset(bits): -1 +irg = g89" } -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" info1: "visited: 8 +edge: { sourcename: "e19" targetname: "t17"class: 3 label: "type" color: red} +edge: { sourcename: "e19" targetname: "n18"label: "value 0"} +node: {title: "n18" label: "SymC &c 18" info1: "mode: P +visited: 8 arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t18" label: "method c" info1: "state: layout_fixed, +"} +node: {title: "t17" label: "method c" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, variadicity: variadicity_non_variadic params: 2 results: 1 "} -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, +edge: { sourcename: "t17" targetname: "t12"class: 5 label: "param 0" color: green} +edge: { sourcename: "t17" targetname: "t10"class: 5 label: "param 1" color: green} +edge: { sourcename: "t17" targetname: "t10"class: 6 label: "res 0" color: green} +node: {title: "t56" 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 5529908d2..b0cb6e7da 100644 --- a/testprograms/ref-results/PRIMA_set_a-wtypes.vcg +++ b/testprograms/ref-results/PRIMA_set_a-wtypes.vcg @@ -24,172 +24,183 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -graph: { title: "g68" label: "PRIMA_set_a" status:clustered color:white -graph: { title: "n131" label: "Block 131" status:clustered color:yellow -edge: {sourcename: "n131" targetname: "n132" label: "0" class:13 priority:60 color:red} -node: {title: "n129" label: "End 129" info1: "visited: 16 +graph: { title: "g67" 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" class:13 priority:60 color:red} +node: {title: "n128" label: "End 128" info1: "mode: X +visited: 16 irg: PRIMA_set_a arity: 0 "color: blue} } -graph: { title: "n133" label: "Block 133" status:clustered color:yellow -edge: {sourcename: "n133" targetname: "n134" label: "0" class:13 priority:60 color:red} -node: {title: "n132" label: "Return 132" info1: "visited: 16 +graph: { title: "n132" label: "Block 132" status:clustered color:yellow +edge: {sourcename: "n132" targetname: "n133" label: "0" class:13 priority:60 color:red} +node: {title: "n131" label: "Return 131" info1: "mode: X +visited: 16 irg: PRIMA_set_a arity: 1 return in method of type set_a -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n132" targetname: "n137" label: "0" class:14 priority:50 color:blue} -node: {title: "n137" label: "ProjM 0 137" info1: "visited: 16 +"} +edge: {sourcename: "n131" targetname: "n136" label: "0" class:14 priority:50 color:blue} +node: {title: "n136" label: "ProjM 0 136" info1: "mode: M +visited: 16 irg: PRIMA_set_a arity: 1 "color: yellow} -edge: {sourcename: "n137" targetname: "n138" label: "0" class:17 priority:10 color:blue} -node: {title: "n138" label: "Store 138" info1: "visited: 16 +edge: {sourcename: "n136" targetname: "n137" label: "0" class:17 priority:10 color:blue} +node: {title: "n137" label: "Store 137" info1: "mode: T +visited: 16 irg: PRIMA_set_a arity: 3 -" info2: "mymode == mode_T && Store node"} -edge: {sourcename: "n138" targetname: "n143" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n138" targetname: "n141" label: "1" class:1 priority:50} -edge: {sourcename: "n138" targetname: "n139" label: "2" class:1 priority:50} -node: {title: "n141" label: "Sel a 141" info1: "visited: 16 +"} +edge: {sourcename: "n137" targetname: "n142" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n137" targetname: "n140" label: "1" class:1 priority:50} +edge: {sourcename: "n137" targetname: "n138" label: "2" class:1 priority:50} +node: {title: "n140" label: "Sel a 140" info1: "mode: P +visited: 16 irg: PRIMA_set_a arity: 2 Selecting entity of type int from entity of type PRIMA "} -edge: {sourcename: "n141" targetname: "n143" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n141" targetname: "n142" label: "1" class:1 priority:50} -node: {title: "n142" label: "ProjP 0 142" info1: "visited: 16 +edge: {sourcename: "n140" targetname: "n142" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n140" targetname: "n141" label: "1" class:1 priority:50} +node: {title: "n141" label: "ProjP 0 141" info1: "mode: P +visited: 16 irg: PRIMA_set_a arity: 1 -" info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow} -edge: {sourcename: "n142" targetname: "n140" label: "0" class:16 priority:10} -node: {title: "n139" label: "ProjIs 1 139" info1: "visited: 16 +"color: yellow} +edge: {sourcename: "n141" targetname: "n139" label: "0" class:16 priority:10} +node: {title: "n138" label: "ProjIs 1 138" info1: "mode: Is +visited: 16 irg: PRIMA_set_a arity: 1 -" info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow} -edge: {sourcename: "n139" targetname: "n140" label: "0" class:16 priority:10} +"color: yellow} +edge: {sourcename: "n138" targetname: "n139" label: "0" class:16 priority:10} } -graph: { title: "n135" label: "Block 135" status:clustered color:yellow -edge: {sourcename: "n135" targetname: "n134" label: "0" class:13 priority:60 color:red} -node: {title: "n143" label: "ProjM 1 143" info1: "visited: 16 +graph: { title: "n134" label: "Block 134" status:clustered color:yellow +edge: {sourcename: "n134" targetname: "n133" label: "0" class:13 priority:60 color:red} +node: {title: "n142" label: "ProjM 1 142" info1: "mode: M +visited: 16 irg: PRIMA_set_a arity: 1 "color: yellow} -edge: {sourcename: "n143" targetname: "n136" label: "0" class:17 priority:10 color:blue} -node: {title: "n140" label: "ProjT 4 140" info1: "visited: 16 +edge: {sourcename: "n142" targetname: "n135" label: "0" class:17 priority:10 color:blue} +node: {title: "n139" label: "ProjT 4 139" info1: "mode: T +visited: 16 irg: PRIMA_set_a arity: 1 "color: yellow} -edge: {sourcename: "n140" targetname: "n136" label: "0" class:1 priority:50} -node: {title: "n134" label: "ProjX 0 134" info1: "visited: 16 +edge: {sourcename: "n139" targetname: "n135" label: "0" class:1 priority:50} +node: {title: "n133" label: "ProjX 0 133" info1: "mode: X +visited: 16 irg: PRIMA_set_a arity: 1 "color: yellow} -edge: {sourcename: "n134" targetname: "n136" label: "0" class:13 priority:60 color:red} -node: {title: "n136" label: "Start 136" info1: "visited: 16 +edge: {sourcename: "n133" targetname: "n135" label: "0" class:13 priority:60 color:red} +node: {title: "n135" label: "Start 135" info1: "mode: T +visited: 16 irg: PRIMA_set_a arity: 0 start of method of type set_a param 0 type: class_prima_ptr param 1 type: int -" info2: "mymode == mode_T && Start node"color: blue} +"color: blue} } } -node: {title: "e14" label: "ent a" color: yellow +node: {title: "e13" label: "ent a" color: yellow info1: " -id: e14 +id: e13 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: a -ld_name: no yet set -offset: -1" +peculiarity: peculiarity_existent +name: a +ld_name: no yet set +offset(bits): -1" } -edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red} -node: {title: "t12" label: "class PRIMA" info1: "state: layout_undefined -size: -1B, +edge: { sourcename: "e13" targetname: "t10"class: 3 label: "type" color: red} +node: {title: "t11" label: "class PRIMA" info1: "state: layout_undefined +size: -1b, peculiarity: peculiarity_existent " color: green} -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 +edge: { sourcename: "t11" targetname: "e13"class: 12 label: "member" color:blue} +edge: { sourcename: "t11" targetname: "e16"class: 12 label: "member" color:blue} +edge: { sourcename: "t11" targetname: "e19"class: 12 label: "member" color:blue} +node: {title: "e16" label: "ent PRIMA_set_a" color: yellow info1: " -id: e17 +id: e16 allocation: allocation_static visibility: visibility_local variability: variability_constant volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: set_a -ld_name: PRIMA_set_a -offset: -1 -irg = g68" +peculiarity: peculiarity_existent +name: set_a +ld_name: PRIMA_set_a +offset(bits): -1 +irg = g67" } -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" info1: "visited: 5 +edge: { sourcename: "e16" targetname: "t14"class: 3 label: "type" color: red} +edge: { sourcename: "e16" targetname: "n15"label: "value 0"} +node: {title: "n15" label: "SymC &set_a 15" info1: "mode: P +visited: 5 arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t15" label: "method set_a" info1: "state: layout_fixed, +"} +node: {title: "t14" label: "method set_a" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, variadicity: variadicity_non_variadic params: 2 results: 0 "} -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, +edge: { sourcename: "t14" targetname: "t12"class: 5 label: "param 0" color: green} +edge: { sourcename: "t14" targetname: "t10"class: 5 label: "param 1" color: green} +node: {title: "t12" label: "pointer class_prima_ptr" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, "} -edge: { sourcename: "t13" targetname: "t12"class: 9 label: "points to" color:green} -node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, +edge: { sourcename: "t12" targetname: "t11"class: 9 label: "points to" color:green} +node: {title: "t10" label: "primitive int" info1: "state: layout_fixed, mode: Is, -size: 4B, +size: 32b, "} -node: {title: "e20" label: "ent PRIMA_c" color: yellow +node: {title: "e19" label: "ent PRIMA_c" color: yellow info1: " -id: e20 +id: e19 allocation: allocation_static visibility: visibility_local variability: variability_constant volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: c -ld_name: PRIMA_c -offset: -1 -irg = g90" +peculiarity: peculiarity_existent +name: c +ld_name: PRIMA_c +offset(bits): -1 +irg = g89" } -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" info1: "visited: 5 +edge: { sourcename: "e19" targetname: "t17"class: 3 label: "type" color: red} +edge: { sourcename: "e19" targetname: "n18"label: "value 0"} +node: {title: "n18" label: "SymC &c 18" info1: "mode: P +visited: 5 arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t18" label: "method c" info1: "state: layout_fixed, +"} +node: {title: "t17" label: "method c" info1: "state: layout_fixed, mode: P, -size: 4B, +size: 32b, variadicity: variadicity_non_variadic params: 2 results: 1 "} -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, +edge: { sourcename: "t17" targetname: "t12"class: 5 label: "param 0" color: green} +edge: { sourcename: "t17" targetname: "t10"class: 5 label: "param 1" color: green} +edge: { sourcename: "t17" targetname: "t10"class: 6 label: "res 0" color: green} +node: {title: "t56" label: "class set_aframe_tp" info1: "state: layout_undefined +size: -1b, peculiarity: peculiarity_existent " color: green} -edge: { sourcename: "n141" targetname: "e14"class:2 priority:2 linestyle:dotted} +edge: { sourcename: "n140" targetname: "e13"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 4034ef91a..b378c8c6f 100644 --- a/testprograms/ref-results/PRIMA_set_a.vcg +++ b/testprograms/ref-results/PRIMA_set_a.vcg @@ -24,79 +24,90 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -graph: { title: "g68" label: "PRIMA_set_a" status:clustered color:white -graph: { title: "n131" label: "Block 131" status:clustered color:yellow -edge: {sourcename: "n131" targetname: "n132" label: "0" class:13 priority:60 color:red} -node: {title: "n129" label: "End 129" info1: "visited: 12 +graph: { title: "g67" 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" class:13 priority:60 color:red} +node: {title: "n128" label: "End 128" info1: "mode: X +visited: 12 irg: PRIMA_set_a arity: 0 "color: blue} } -graph: { title: "n133" label: "Block 133" status:clustered color:yellow -edge: {sourcename: "n133" targetname: "n134" label: "0" class:13 priority:60 color:red} -node: {title: "n132" label: "Return 132" info1: "visited: 12 +graph: { title: "n132" label: "Block 132" status:clustered color:yellow +edge: {sourcename: "n132" targetname: "n133" label: "0" class:13 priority:60 color:red} +node: {title: "n131" label: "Return 131" info1: "mode: X +visited: 12 irg: PRIMA_set_a arity: 1 return in method of type set_a -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n132" targetname: "n137" label: "0" class:14 priority:50 color:blue} -node: {title: "n137" label: "ProjM 0 137" info1: "visited: 12 +"} +edge: {sourcename: "n131" targetname: "n136" label: "0" class:14 priority:50 color:blue} +node: {title: "n136" label: "ProjM 0 136" info1: "mode: M +visited: 12 irg: PRIMA_set_a arity: 1 "color: yellow} -edge: {sourcename: "n137" targetname: "n138" label: "0" class:17 priority:10 color:blue} -node: {title: "n138" label: "Store 138" info1: "visited: 12 +edge: {sourcename: "n136" targetname: "n137" label: "0" class:17 priority:10 color:blue} +node: {title: "n137" label: "Store 137" info1: "mode: T +visited: 12 irg: PRIMA_set_a arity: 3 -" info2: "mymode == mode_T && Store node"} -edge: {sourcename: "n138" targetname: "n143" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n138" targetname: "n141" label: "1" class:1 priority:50} -edge: {sourcename: "n138" targetname: "n139" label: "2" class:1 priority:50} -node: {title: "n141" label: "Sel a 141" info1: "visited: 12 +"} +edge: {sourcename: "n137" targetname: "n142" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n137" targetname: "n140" label: "1" class:1 priority:50} +edge: {sourcename: "n137" targetname: "n138" label: "2" class:1 priority:50} +node: {title: "n140" label: "Sel a 140" info1: "mode: P +visited: 12 irg: PRIMA_set_a arity: 2 Selecting entity of type int from entity of type PRIMA "} -edge: {sourcename: "n141" targetname: "n143" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n141" targetname: "n142" label: "1" class:1 priority:50} -node: {title: "n142" label: "ProjP 0 142" info1: "visited: 12 +edge: {sourcename: "n140" targetname: "n142" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n140" targetname: "n141" label: "1" class:1 priority:50} +node: {title: "n141" label: "ProjP 0 141" info1: "mode: P +visited: 12 irg: PRIMA_set_a arity: 1 -" info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow} -edge: {sourcename: "n142" targetname: "n140" label: "0" class:16 priority:10} -node: {title: "n139" label: "ProjIs 1 139" info1: "visited: 12 +"color: yellow} +edge: {sourcename: "n141" targetname: "n139" label: "0" class:16 priority:10} +node: {title: "n138" label: "ProjIs 1 138" info1: "mode: Is +visited: 12 irg: PRIMA_set_a arity: 1 -" info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow} -edge: {sourcename: "n139" targetname: "n140" label: "0" class:16 priority:10} +"color: yellow} +edge: {sourcename: "n138" targetname: "n139" label: "0" class:16 priority:10} } -graph: { title: "n135" label: "Block 135" status:clustered color:yellow -edge: {sourcename: "n135" targetname: "n134" label: "0" class:13 priority:60 color:red} -node: {title: "n143" label: "ProjM 1 143" info1: "visited: 12 +graph: { title: "n134" label: "Block 134" status:clustered color:yellow +edge: {sourcename: "n134" targetname: "n133" label: "0" class:13 priority:60 color:red} +node: {title: "n142" label: "ProjM 1 142" info1: "mode: M +visited: 12 irg: PRIMA_set_a arity: 1 "color: yellow} -edge: {sourcename: "n143" targetname: "n136" label: "0" class:17 priority:10 color:blue} -node: {title: "n140" label: "ProjT 4 140" info1: "visited: 12 +edge: {sourcename: "n142" targetname: "n135" label: "0" class:17 priority:10 color:blue} +node: {title: "n139" label: "ProjT 4 139" info1: "mode: T +visited: 12 irg: PRIMA_set_a arity: 1 "color: yellow} -edge: {sourcename: "n140" targetname: "n136" label: "0" class:1 priority:50} -node: {title: "n134" label: "ProjX 0 134" info1: "visited: 12 +edge: {sourcename: "n139" targetname: "n135" label: "0" class:1 priority:50} +node: {title: "n133" label: "ProjX 0 133" info1: "mode: X +visited: 12 irg: PRIMA_set_a arity: 1 "color: yellow} -edge: {sourcename: "n134" targetname: "n136" label: "0" class:13 priority:60 color:red} -node: {title: "n136" label: "Start 136" info1: "visited: 12 +edge: {sourcename: "n133" targetname: "n135" label: "0" class:13 priority:60 color:red} +node: {title: "n135" label: "Start 135" info1: "mode: T +visited: 12 irg: PRIMA_set_a arity: 0 start of method of type set_a param 0 type: class_prima_ptr param 1 type: int -" info2: "mymode == mode_T && Start node"color: blue} +"color: blue} } } diff --git a/testprograms/ref-results/THREE_CFPRED_EXAMPLE_main-cfg.vcg b/testprograms/ref-results/THREE_CFPRED_EXAMPLE_main-cfg.vcg index 2eb744dc4..f28113f17 100644 --- a/testprograms/ref-results/THREE_CFPRED_EXAMPLE_main-cfg.vcg +++ b/testprograms/ref-results/THREE_CFPRED_EXAMPLE_main-cfg.vcg @@ -24,25 +24,26 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -node: {title: "n76" label: "Block n76" } -edge: { sourcename: "n76" targetname: "n78"} -node: {title: "n78" label: "Block n78" } -edge: { sourcename: "n78" targetname: "n102"} -edge: { sourcename: "n78" targetname: "n99"} -edge: { sourcename: "n78" targetname: "n80"} -node: {title: "n80" label: "Block n80" } -edge: { sourcename: "n80" targetname: "n82"} -node: {title: "n82" label: "Block n82" } -edge: { sourcename: "n82" targetname: "n84"} -node: {title: "n84" label: "Block n84" } -edge: { sourcename: "n84" targetname: "n86"} -node: {title: "n86" label: "Block n86" } -edge: { sourcename: "n86" targetname: "n86"} -node: {title: "n99" label: "Block n99" } -edge: { sourcename: "n99" targetname: "n82"} -node: {title: "n102" label: "Block n102" } -edge: { sourcename: "n102" targetname: "n84"} -node: {title: "n75" label: "Bad 75" info1: "visited: 0 +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: "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: "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: "n74" label: "Bad 74" info1: "mode: T +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 b2a3a9c10..1ddb9f24e 100644 --- a/testprograms/ref-results/THREE_CFPRED_EXAMPLE_main.vcg +++ b/testprograms/ref-results/THREE_CFPRED_EXAMPLE_main.vcg @@ -24,168 +24,193 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -graph: { title: "g26" label: "THREE_CFPRED_EXAMPLE_main" status:clustered color:white -graph: { title: "n76" label: "Block 76" status:clustered color:yellow -edge: {sourcename: "n76" targetname: "n77" label: "0" class:13 priority:60 color:red} -node: {title: "n74" label: "End 74" info1: "visited: 11 +graph: { title: "g25" 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" class:13 priority:60 color:red} +node: {title: "n73" label: "End 73" info1: "mode: X +visited: 11 irg: THREE_CFPRED_EXAMPLE_main arity: 0 "color: blue} } -graph: { title: "n78" label: "Block 78" status:clustered color:yellow -edge: {sourcename: "n78" targetname: "n101" label: "0" class:13 priority:60 color:red} -edge: {sourcename: "n78" targetname: "n98" label: "1" class:13 priority:60 color:red} -edge: {sourcename: "n78" targetname: "n79" label: "2" class:13 priority:60 color:red} -node: {title: "n77" label: "Return 77" info1: "visited: 11 +graph: { title: "n77" label: "Block 77" status:clustered color:yellow +edge: {sourcename: "n77" targetname: "n100" label: "0" class:13 priority:60 color:red} +edge: {sourcename: "n77" targetname: "n97" label: "1" class:13 priority:60 color:red} +edge: {sourcename: "n77" targetname: "n78" label: "2" class:13 priority:60 color:red} +node: {title: "n76" label: "Return 76" info1: "mode: X +visited: 11 irg: THREE_CFPRED_EXAMPLE_main arity: 2 return in method of type THREE_CFPRED_EXAMPLE_main res 0 type: int -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n77" targetname: "n107" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n77" targetname: "n104" label: "1" class:1 priority:50} -node: {title: "n104" label: "PhiIs 104" info1: "visited: 11 +"} +edge: {sourcename: "n76" targetname: "n106" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n76" targetname: "n103" label: "1" class:1 priority:50} +node: {title: "n103" label: "PhiIs 103" info1: "mode: Is +visited: 11 irg: THREE_CFPRED_EXAMPLE_main arity: 3 backedges: -" info2: "mode_is_dataM(mymode) && Phi node"color: green} -edge: {sourcename: "n104" targetname: "n106" label: "0" class:16 priority:10} -edge: {sourcename: "n104" targetname: "n105" label: "1" class:16 priority:10} -edge: {sourcename: "n104" targetname: "n105" label: "2" class:16 priority:10} +"color: green} +edge: {sourcename: "n103" targetname: "n105" label: "0" class:16 priority:10} +edge: {sourcename: "n103" targetname: "n104" label: "1" class:16 priority:10} +edge: {sourcename: "n103" targetname: "n104" label: "2" class:16 priority:10} } -graph: { title: "n102" label: "Block 102" status:clustered color:yellow -edge: {sourcename: "n102" targetname: "n103" label: "0" class:13 priority:60 color:red} -node: {title: "n101" label: "Jmp 101" info1: "visited: 11 +graph: { title: "n101" label: "Block 101" status:clustered color:yellow +edge: {sourcename: "n101" targetname: "n102" label: "0" class:13 priority:60 color:red} +node: {title: "n100" label: "Jmp 100" info1: "mode: X +visited: 11 irg: THREE_CFPRED_EXAMPLE_main arity: 0 -" info2: "mymode == mode_X && Jmp node"} +"} } -graph: { title: "n99" label: "Block 99" status:clustered color:yellow -edge: {sourcename: "n99" targetname: "n100" label: "0" class:13 priority:60 color:red} -node: {title: "n98" label: "Jmp 98" info1: "visited: 11 +graph: { title: "n98" label: "Block 98" status:clustered color:yellow +edge: {sourcename: "n98" targetname: "n99" label: "0" class:13 priority:60 color:red} +node: {title: "n97" label: "Jmp 97" info1: "mode: X +visited: 11 irg: THREE_CFPRED_EXAMPLE_main arity: 0 -" info2: "mymode == mode_X && Jmp node"} +"} } -graph: { title: "n80" label: "Block 80" status:clustered color:yellow -edge: {sourcename: "n80" targetname: "n81" label: "0" class:13 priority:60 color:red} -node: {title: "n79" label: "Jmp 79" info1: "visited: 11 +graph: { title: "n79" label: "Block 79" status:clustered color:yellow +edge: {sourcename: "n79" targetname: "n80" label: "0" class:13 priority:60 color:red} +node: {title: "n78" label: "Jmp 78" info1: "mode: X +visited: 11 irg: THREE_CFPRED_EXAMPLE_main arity: 0 -" info2: "mymode == mode_X && Jmp node"} +"} } -graph: { title: "n82" label: "Block 82" status:clustered color:yellow -edge: {sourcename: "n82" targetname: "n83" label: "0" class:13 priority:60 color:red} -node: {title: "n100" label: "ProjX 0 100" info1: "visited: 11 +graph: { title: "n81" label: "Block 81" status:clustered color:yellow +edge: {sourcename: "n81" targetname: "n82" label: "0" class:13 priority:60 color:red} +node: {title: "n99" label: "ProjX 0 99" info1: "mode: X +visited: 11 irg: THREE_CFPRED_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n100" targetname: "n94" label: "0" class:13 priority:60 color:red} -node: {title: "n81" label: "ProjX 1 81" info1: "visited: 11 +edge: {sourcename: "n99" targetname: "n93" label: "0" class:13 priority:60 color:red} +node: {title: "n80" label: "ProjX 1 80" info1: "mode: X +visited: 11 irg: THREE_CFPRED_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n81" targetname: "n94" label: "0" class:13 priority:60 color:red} -node: {title: "n94" label: "Cond 94" info1: "visited: 11 +edge: {sourcename: "n80" targetname: "n93" label: "0" class:13 priority:60 color:red} +node: {title: "n93" label: "Cond 93" info1: "mode: T +visited: 11 irg: THREE_CFPRED_EXAMPLE_main arity: 1 -" info2: "mymode == mode_T && Cond mode is not a tuple"} -edge: {sourcename: "n94" targetname: "n95" label: "0" class:1 priority:50} -node: {title: "n95" label: "Projb Eq 95" info1: "visited: 11 +"} +edge: {sourcename: "n93" targetname: "n94" label: "0" class:1 priority:50} +node: {title: "n94" label: "Projb Eq 94" info1: "mode: b +visited: 11 irg: THREE_CFPRED_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n95" targetname: "n96" label: "0" class:1 priority:50} -node: {title: "n96" label: "CmpT 96" info1: "visited: 11 +edge: {sourcename: "n94" targetname: "n95" label: "0" class:1 priority:50} +node: {title: "n95" label: "CmpT 95" info1: "mode: T +visited: 11 irg: THREE_CFPRED_EXAMPLE_main arity: 2 "} -edge: {sourcename: "n96" targetname: "n97" label: "0" class:16 priority:10} -edge: {sourcename: "n96" targetname: "n91" label: "1" class:16 priority:10} +edge: {sourcename: "n95" targetname: "n96" label: "0" class:16 priority:10} +edge: {sourcename: "n95" targetname: "n90" label: "1" class:16 priority:10} } -graph: { title: "n84" label: "Block 84" status:clustered color:yellow -edge: {sourcename: "n84" targetname: "n85" label: "0" class:13 priority:60 color:red} -node: {title: "n103" label: "ProjX 1 103" info1: "visited: 11 +graph: { title: "n83" label: "Block 83" status:clustered color:yellow +edge: {sourcename: "n83" targetname: "n84" label: "0" class:13 priority:60 color:red} +node: {title: "n102" label: "ProjX 1 102" info1: "mode: X +visited: 11 irg: THREE_CFPRED_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n103" targetname: "n88" label: "0" class:13 priority:60 color:red} -node: {title: "n83" label: "ProjX 0 83" info1: "visited: 11 +edge: {sourcename: "n102" targetname: "n87" label: "0" class:13 priority:60 color:red} +node: {title: "n82" label: "ProjX 0 82" info1: "mode: X +visited: 11 irg: THREE_CFPRED_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n83" targetname: "n88" label: "0" class:13 priority:60 color:red} -node: {title: "n88" label: "Cond 88" info1: "visited: 11 +edge: {sourcename: "n82" targetname: "n87" label: "0" class:13 priority:60 color:red} +node: {title: "n87" label: "Cond 87" info1: "mode: T +visited: 11 irg: THREE_CFPRED_EXAMPLE_main arity: 1 -" info2: "mymode == mode_T && Cond mode is not a tuple"} -edge: {sourcename: "n88" targetname: "n89" label: "0" class:1 priority:50} -node: {title: "n89" label: "Projb Eq 89" info1: "visited: 11 +"} +edge: {sourcename: "n87" targetname: "n88" label: "0" class:1 priority:50} +node: {title: "n88" label: "Projb Eq 88" info1: "mode: b +visited: 11 irg: THREE_CFPRED_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n89" targetname: "n90" label: "0" class:1 priority:50} -node: {title: "n90" label: "CmpT 90" info1: "visited: 11 +edge: {sourcename: "n88" targetname: "n89" label: "0" class:1 priority:50} +node: {title: "n89" label: "CmpT 89" info1: "mode: T +visited: 11 irg: THREE_CFPRED_EXAMPLE_main arity: 2 "} -edge: {sourcename: "n90" targetname: "n93" label: "0" class:16 priority:10} -edge: {sourcename: "n90" targetname: "n91" label: "1" class:1 priority:50} -node: {title: "n91" label: "ProjIs 0 91" info1: "visited: 11 +edge: {sourcename: "n89" targetname: "n92" label: "0" class:16 priority:10} +edge: {sourcename: "n89" targetname: "n90" label: "1" class:1 priority:50} +node: {title: "n90" label: "ProjIs 0 90" info1: "mode: Is +visited: 11 irg: THREE_CFPRED_EXAMPLE_main arity: 1 -" info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow} -edge: {sourcename: "n91" targetname: "n92" label: "0" class:16 priority:10} +"color: yellow} +edge: {sourcename: "n90" targetname: "n91" label: "0" class:16 priority:10} } -graph: { title: "n86" label: "Block 86" status:clustered color:yellow -edge: {sourcename: "n86" targetname: "n85" label: "0" class:13 priority:60 color:red} -node: {title: "n107" label: "ProjM 1 107" info1: "visited: 11 +graph: { title: "n85" label: "Block 85" status:clustered color:yellow +edge: {sourcename: "n85" targetname: "n84" label: "0" class:13 priority:60 color:red} +node: {title: "n106" label: "ProjM 1 106" info1: "mode: M +visited: 11 irg: THREE_CFPRED_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n107" targetname: "n87" label: "0" class:17 priority:10 color:blue} -node: {title: "n106" label: "0x5Is 106" info1: "visited: 11 +edge: {sourcename: "n106" targetname: "n86" label: "0" class:17 priority:10 color:blue} +node: {title: "n105" label: "0x5Is 105" info1: "mode: Is +visited: 11 irg: THREE_CFPRED_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n105" label: "0x6Is 105" info1: "visited: 11 +"color: yellow} +node: {title: "n104" label: "0x6Is 104" info1: "mode: Is +visited: 11 irg: THREE_CFPRED_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n97" label: "0x3Is 97" info1: "visited: 11 +"color: yellow} +node: {title: "n96" label: "0x3Is 96" info1: "mode: Is +visited: 11 irg: THREE_CFPRED_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n93" label: "0x1Is 93" info1: "visited: 11 +"color: yellow} +node: {title: "n92" label: "0x1Is 92" info1: "mode: Is +visited: 11 irg: THREE_CFPRED_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n92" label: "ProjT 4 92" info1: "visited: 11 +"color: yellow} +node: {title: "n91" label: "ProjT 4 91" info1: "mode: T +visited: 11 irg: THREE_CFPRED_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n92" targetname: "n87" label: "0" class:1 priority:50} -node: {title: "n85" label: "ProjX 0 85" info1: "visited: 11 +edge: {sourcename: "n91" targetname: "n86" label: "0" class:1 priority:50} +node: {title: "n84" label: "ProjX 0 84" info1: "mode: X +visited: 11 irg: THREE_CFPRED_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n85" targetname: "n87" label: "0" class:13 priority:60 color:red} -node: {title: "n87" label: "Start 87" info1: "visited: 11 +edge: {sourcename: "n84" targetname: "n86" label: "0" class:13 priority:60 color:red} +node: {title: "n86" label: "Start 86" info1: "mode: T +visited: 11 irg: THREE_CFPRED_EXAMPLE_main arity: 0 start of method of type THREE_CFPRED_EXAMPLE_main param 0 type: int -" info2: "mymode == mode_T && Start node"color: blue} +"color: blue} } } diff --git a/testprograms/ref-results/WHILE_EXAMPLE_main.vcg b/testprograms/ref-results/WHILE_EXAMPLE_main.vcg index a2c6d6ef1..488cec2d9 100644 --- a/testprograms/ref-results/WHILE_EXAMPLE_main.vcg +++ b/testprograms/ref-results/WHILE_EXAMPLE_main.vcg @@ -24,130 +24,149 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -graph: { title: "g27" label: "WHILE_EXAMPLE_main" status:clustered color:white -graph: { title: "n66" label: "Block 66" status:clustered color:yellow -edge: {sourcename: "n66" targetname: "n67" label: "0" class:13 priority:60 color:red} -node: {title: "n64" label: "End 64" info1: "visited: 18 +graph: { title: "g26" 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" class:13 priority:60 color:red} +node: {title: "n63" label: "End 63" info1: "mode: X +visited: 18 irg: WHILE_EXAMPLE_main arity: 0 "color: blue} } -graph: { title: "n68" label: "Block 68" status:clustered color:yellow -edge: {sourcename: "n68" targetname: "n69" label: "0" class:13 priority:60 color:red} -node: {title: "n67" label: "Return 67" info1: "visited: 18 +graph: { title: "n67" label: "Block 67" status:clustered color:yellow +edge: {sourcename: "n67" targetname: "n68" label: "0" class:13 priority:60 color:red} +node: {title: "n66" label: "Return 66" info1: "mode: X +visited: 18 irg: WHILE_EXAMPLE_main arity: 2 return in method of type main_tp res 0 type: int -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n67" targetname: "n89" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n67" targetname: "n88" label: "1" class:1 priority:50} -node: {title: "n88" label: "SubIs 88" info1: "visited: 18 +"} +edge: {sourcename: "n66" targetname: "n88" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n66" targetname: "n87" label: "1" class:1 priority:50} +node: {title: "n87" label: "SubIs 87" info1: "mode: Is +visited: 18 irg: WHILE_EXAMPLE_main arity: 2 "} -edge: {sourcename: "n88" targetname: "n78" label: "0" class:16 priority:10} -edge: {sourcename: "n88" targetname: "n77" label: "1" class:16 priority:10} +edge: {sourcename: "n87" targetname: "n77" label: "0" class:16 priority:10} +edge: {sourcename: "n87" targetname: "n76" label: "1" class:16 priority:10} } -graph: { title: "n70" label: "Block 70" status:clustered color:yellow -edge: {sourcename: "n70" targetname: "n87" label: "0" class:13 priority:60 color:red} -edge: {sourcename: "n70" targetname: "n71" label: "1" class:13 priority:60 color:red} -node: {title: "n69" label: "ProjX 0 69" info1: "visited: 18 +graph: { title: "n69" label: "Block 69" status:clustered color:yellow +edge: {sourcename: "n69" targetname: "n86" label: "0" class:13 priority:60 color:red} +edge: {sourcename: "n69" targetname: "n70" label: "1" class:13 priority:60 color:red} +node: {title: "n68" label: "ProjX 0 68" info1: "mode: X +visited: 18 irg: WHILE_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n69" targetname: "n74" label: "0" class:13 priority:60 color:red} -node: {title: "n73" label: "ProjX 1 73" info1: "visited: 18 +edge: {sourcename: "n68" targetname: "n73" label: "0" class:13 priority:60 color:red} +node: {title: "n72" label: "ProjX 1 72" info1: "mode: X +visited: 18 irg: WHILE_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n73" targetname: "n74" label: "0" class:13 priority:60 color:red} -node: {title: "n74" label: "Cond 74" info1: "visited: 18 +edge: {sourcename: "n72" targetname: "n73" label: "0" class:13 priority:60 color:red} +node: {title: "n73" label: "Cond 73" info1: "mode: T +visited: 18 irg: WHILE_EXAMPLE_main arity: 1 -" info2: "mymode == mode_T && Cond mode is not a tuple"} -edge: {sourcename: "n74" targetname: "n75" label: "0" class:1 priority:50} -node: {title: "n75" label: "Projb Eq 75" info1: "visited: 18 +"} +edge: {sourcename: "n73" targetname: "n74" label: "0" class:1 priority:50} +node: {title: "n74" label: "Projb Eq 74" info1: "mode: b +visited: 18 irg: WHILE_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n75" targetname: "n76" label: "0" class:1 priority:50} -node: {title: "n76" label: "CmpT 76" info1: "visited: 18 +edge: {sourcename: "n74" targetname: "n75" label: "0" class:1 priority:50} +node: {title: "n75" label: "CmpT 75" info1: "mode: T +visited: 18 irg: WHILE_EXAMPLE_main arity: 2 "} -edge: {sourcename: "n76" targetname: "n86" label: "0" class:16 priority:10} -edge: {sourcename: "n76" targetname: "n77" label: "1" class:1 priority:50} -node: {title: "n77" label: "PhiIs 77" info1: "visited: 18 +edge: {sourcename: "n75" targetname: "n85" label: "0" class:16 priority:10} +edge: {sourcename: "n75" targetname: "n76" label: "1" class:1 priority:50} +node: {title: "n76" label: "PhiIs 76" info1: "mode: Is +visited: 18 irg: WHILE_EXAMPLE_main arity: 2 backedges: -" info2: "mode_is_dataM(mymode) && Phi node"color: green} -edge: {sourcename: "n77" targetname: "n85" label: "0" class:16 priority:10} -edge: {sourcename: "n77" targetname: "n78" label: "1" class:1 priority:50} -node: {title: "n78" label: "PhiIs 78" info1: "visited: 18 +"color: green} +edge: {sourcename: "n76" targetname: "n84" label: "0" class:16 priority:10} +edge: {sourcename: "n76" targetname: "n77" label: "1" class:1 priority:50} +node: {title: "n77" label: "PhiIs 77" info1: "mode: Is +visited: 18 irg: WHILE_EXAMPLE_main arity: 2 backedges: -" info2: "mode_is_dataM(mymode) && Phi node"color: green} -edge: {sourcename: "n78" targetname: "n79" label: "0" class:16 priority:10} -edge: {sourcename: "n78" targetname: "n77" label: "1" class:1 priority:50} +"color: green} +edge: {sourcename: "n77" targetname: "n78" label: "0" class:16 priority:10} +edge: {sourcename: "n77" targetname: "n76" label: "1" class:1 priority:50} } -graph: { title: "n72" label: "Block 72" status:clustered color:yellow -edge: {sourcename: "n72" targetname: "n73" label: "0" class:13 priority:60 color:red} -node: {title: "n71" label: "Jmp 71" info1: "visited: 18 +graph: { title: "n71" label: "Block 71" status:clustered color:yellow +edge: {sourcename: "n71" targetname: "n72" label: "0" class:13 priority:60 color:red} +node: {title: "n70" label: "Jmp 70" info1: "mode: X +visited: 18 irg: WHILE_EXAMPLE_main arity: 0 -" info2: "mymode == mode_X && Jmp node"} +"} } -graph: { title: "n80" label: "Block 80" status:clustered color:yellow -edge: {sourcename: "n80" targetname: "n81" label: "0" class:13 priority:60 color:red} -node: {title: "n87" label: "Jmp 87" info1: "visited: 18 +graph: { title: "n79" label: "Block 79" status:clustered color:yellow +edge: {sourcename: "n79" targetname: "n80" label: "0" class:13 priority:60 color:red} +node: {title: "n86" label: "Jmp 86" info1: "mode: X +visited: 18 irg: WHILE_EXAMPLE_main arity: 0 -" info2: "mymode == mode_X && Jmp node"} -node: {title: "n79" label: "ProjIs 0 79" info1: "visited: 18 +"} +node: {title: "n78" label: "ProjIs 0 78" info1: "mode: Is +visited: 18 irg: WHILE_EXAMPLE_main arity: 1 -" info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow} -edge: {sourcename: "n79" targetname: "n84" label: "0" class:16 priority:10} +"color: yellow} +edge: {sourcename: "n78" targetname: "n83" label: "0" class:16 priority:10} } -graph: { title: "n82" label: "Block 82" status:clustered color:yellow -edge: {sourcename: "n82" targetname: "n81" label: "0" class:13 priority:60 color:red} -node: {title: "n89" label: "ProjM 1 89" info1: "visited: 18 +graph: { title: "n81" label: "Block 81" status:clustered color:yellow +edge: {sourcename: "n81" targetname: "n80" label: "0" class:13 priority:60 color:red} +node: {title: "n88" label: "ProjM 1 88" info1: "mode: M +visited: 18 irg: WHILE_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n89" targetname: "n83" label: "0" class:17 priority:10 color:blue} -node: {title: "n86" label: "0x0Is 86" info1: "visited: 18 +edge: {sourcename: "n88" targetname: "n82" label: "0" class:17 priority:10 color:blue} +node: {title: "n85" label: "0x0Is 85" info1: "mode: Is +visited: 18 irg: WHILE_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n85" label: "0x1Is 85" info1: "visited: 18 +"color: yellow} +node: {title: "n84" label: "0x1Is 84" info1: "mode: Is +visited: 18 irg: WHILE_EXAMPLE_main arity: 0 Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n84" label: "ProjT 4 84" info1: "visited: 18 +"color: yellow} +node: {title: "n83" label: "ProjT 4 83" info1: "mode: T +visited: 18 irg: WHILE_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n84" targetname: "n83" label: "0" class:1 priority:50} -node: {title: "n81" label: "ProjX 0 81" info1: "visited: 18 +edge: {sourcename: "n83" targetname: "n82" label: "0" class:1 priority:50} +node: {title: "n80" label: "ProjX 0 80" info1: "mode: X +visited: 18 irg: WHILE_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n81" targetname: "n83" label: "0" class:13 priority:60 color:red} -node: {title: "n83" label: "Start 83" info1: "visited: 18 +edge: {sourcename: "n80" targetname: "n82" label: "0" class:13 priority:60 color:red} +node: {title: "n82" label: "Start 82" info1: "mode: T +visited: 18 irg: WHILE_EXAMPLE_main arity: 0 start of method of type main_tp param 0 type: int -" info2: "mymode == mode_T && Start node"color: blue} +"color: blue} } } diff --git a/testprograms/ref-results/class_hierarchy.vcg b/testprograms/ref-results/class_hierarchy.vcg index ee6a38243..acb1e8817 100644 --- a/testprograms/ref-results/class_hierarchy.vcg +++ b/testprograms/ref-results/class_hierarchy.vcg @@ -24,49 +24,49 @@ classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" -node: {title: "t12" label: "class PRIMA" info1: "state: layout_undefined -size: -1B, +node: {title: "t11" label: "class PRIMA" info1: "state: layout_undefined +size: -1b, peculiarity: peculiarity_existent " color: green} -node: {title: "e14" label: "ent a" color: yellow +node: {title: "e13" label: "ent a" color: yellow info1: " -id: e14 +id: e13 allocation: allocation_automatic visibility: visibility_local variability: variability_uninitialized volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: a -ld_name: no yet set -offset: -1" +peculiarity: peculiarity_existent +name: a +ld_name: no yet set +offset(bits): -1" } -edge: { sourcename: "t12" targetname: "e14"class: 12 label: "member" color:blue} -node: {title: "e17" label: "ent PRIMA_set_a" color: yellow +edge: { sourcename: "t11" targetname: "e13"class: 12 label: "member" color:blue} +node: {title: "e16" label: "ent PRIMA_set_a" color: yellow info1: " -id: e17 +id: e16 allocation: allocation_static visibility: visibility_local variability: variability_constant volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: set_a -ld_name: PRIMA_set_a -offset: -1 -irg = g68" +peculiarity: peculiarity_existent +name: set_a +ld_name: PRIMA_set_a +offset(bits): -1 +irg = g67" } -edge: { sourcename: "t12" targetname: "e17"class: 12 label: "member" color:blue} -node: {title: "e20" label: "ent PRIMA_c" color: yellow +edge: { sourcename: "t11" targetname: "e16"class: 12 label: "member" color:blue} +node: {title: "e19" label: "ent PRIMA_c" color: yellow info1: " -id: e20 +id: e19 allocation: allocation_static visibility: visibility_local variability: variability_constant volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: c -ld_name: PRIMA_c -offset: -1 -irg = g90" +peculiarity: peculiarity_existent +name: c +ld_name: PRIMA_c +offset(bits): -1 +irg = g89" } -edge: { sourcename: "t12" targetname: "e20"class: 12 label: "member" color:blue} +edge: { sourcename: "t11" targetname: "e19"class: 12 label: "member" color:blue} } diff --git a/testprograms/ref-results/main-type.vcg b/testprograms/ref-results/main-type.vcg deleted file mode 100644 index b51b196b4..000000000 --- a/testprograms/ref-results/main-type.vcg +++ /dev/null @@ -1,109 +0,0 @@ -graph: { title: "ir graph of main" -display_edge_labels: yes -layoutalgorithm: mindepth -manhattan_edges: yes -port_sharing: no -orientation: bottom_to_top -classname 1: "intrablock Data" -classname 16: "interblock Data" -classname 2: "Block" -classname 13: "Control Flow" -classname 14: "intrablock Memory" -classname 17: "interblock Memory" -classname 15: "Dominators" -classname 3: "Entity type" -classname 4: "Entity owner" -classname 5: "Method Param" -classname 6: "Method Res" -classname 7: "Super" -classname 8: "Union" -classname 9: "Points-to" -classname 10: "Array Element Type" -classname 11: "Overwrites" -classname 12: "Member" -infoname 1: "Attribute" -infoname 2: "Verification errors" - -node: {title: "e19" label: "ent a_tp_elem_ent" color: yellow - info1: " -id: e19 -allocation: allocation_automatic -visibility: visibility_local -variability: variability_uninitialized -volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: a_tp_elem_ent -ld_name: no yet set -offset: -1" -} -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: "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" info1: "visited: 1 -arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n21" label: "0x0Iu 21" info1: "visited: 1 -arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t11" label: "primitive int" info1: "state: layout_fixed, -mode: Is, -size: 4B, -"} -node: {title: "e35" label: "ent a" color: yellow - info1: " -id: e35 -allocation: allocation_automatic -visibility: visibility_local -variability: variability_uninitialized -volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: a -ld_name: no yet set -offset: -1" -} -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: "t22" targetname: "e35"class: 12 label: "member" color:blue} -node: {title: "e15" label: "ent main" color: yellow - info1: " -id: e15 -allocation: allocation_static -visibility: visibility_local -variability: variability_constant -volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: main -ld_name: no yet set -offset: -1 -irg = g33" -} -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" info1: "visited: 1 -arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "t12" label: "class ARRAY-STACK_EXAMPLE" info1: "state: layout_undefined -size: -1B, -peculiarity: peculiarity_existent -" color: green} -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, -variadicity: variadicity_non_variadic -params: 0 -results: 1 -"} -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 deleted file mode 100644 index 21f29388e..000000000 --- a/testprograms/ref-results/main.vcg +++ /dev/null @@ -1,112 +0,0 @@ -graph: { title: "ir graph of main" -display_edge_labels: yes -layoutalgorithm: mindepth -manhattan_edges: yes -port_sharing: no -orientation: bottom_to_top -classname 1: "intrablock Data" -classname 16: "interblock Data" -classname 2: "Block" -classname 13: "Control Flow" -classname 14: "intrablock Memory" -classname 17: "interblock Memory" -classname 15: "Dominators" -classname 3: "Entity type" -classname 4: "Entity owner" -classname 5: "Method Param" -classname 6: "Method Res" -classname 7: "Super" -classname 8: "Union" -classname 9: "Points-to" -classname 10: "Array Element Type" -classname 11: "Overwrites" -classname 12: "Member" -infoname 1: "Attribute" -infoname 2: "Verification errors" - -graph: { title: "g33" label: "main" status:clustered color:white -graph: { title: "n48" label: "Block 48" status:clustered color:yellow -edge: {sourcename: "n48" targetname: "n49" label: "0" class:13 priority:60 color:red} -node: {title: "n46" label: "End 46" info1: "visited: 11 -irg: main -arity: 0 -"color: blue} -} - -graph: { title: "n50" label: "Block 50" status:clustered color:yellow -edge: {sourcename: "n50" targetname: "n51" label: "0" class:13 priority:60 color:red} -node: {title: "n49" label: "Return 49" info1: "visited: 11 -irg: main -arity: 2 -return in method of type main - res 0 type: int -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n49" targetname: "n61" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n49" targetname: "n54" label: "1" class:1 priority:50} -node: {title: "n61" label: "ProjM 0 61" info1: "visited: 11 -irg: main -arity: 1 -"color: yellow} -edge: {sourcename: "n61" targetname: "n55" label: "0" class:17 priority:10 color:blue} -node: {title: "n54" label: "ProjIs 2 54" info1: "visited: 11 -irg: main -arity: 1 -"color: yellow} -edge: {sourcename: "n54" targetname: "n55" label: "0" class:1 priority:50} -node: {title: "n55" label: "Load 55" info1: "visited: 11 -irg: main -arity: 2 -" info2: "mymode == mode_T && Load node"} -edge: {sourcename: "n55" targetname: "n60" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n55" targetname: "n56" label: "1" class:1 priority:50} -node: {title: "n56" label: "Sel a_tp_elem_ent 56" info1: "visited: 11 -irg: main -arity: 3 -Selecting entity of type int - from entity of type a_tp -"} -edge: {sourcename: "n56" targetname: "n60" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n56" targetname: "n58" label: "1" class:1 priority:50} -edge: {sourcename: "n56" targetname: "n57" label: "2" class:16 priority:10} -node: {title: "n58" label: "Sel a 58" info1: "visited: 11 -irg: main -arity: 2 -Selecting entity of type a_tp - from entity of type mainframe_tp -"} -edge: {sourcename: "n58" targetname: "n60" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n58" targetname: "n59" label: "1" class:16 priority:10} -} - -graph: { title: "n52" label: "Block 52" status:clustered color:yellow -edge: {sourcename: "n52" targetname: "n51" label: "0" class:13 priority:60 color:red} -node: {title: "n60" label: "ProjM 1 60" info1: "visited: 11 -irg: main -arity: 1 -"color: yellow} -edge: {sourcename: "n60" targetname: "n53" label: "0" class:17 priority:10 color:blue} -node: {title: "n59" label: "ProjP 2 59" info1: "visited: 11 -irg: main -arity: 1 -"color: yellow} -edge: {sourcename: "n59" targetname: "n53" label: "0" class:1 priority:50} -node: {title: "n57" label: "0x3Iu 57" info1: "visited: 11 -irg: main -arity: 0 -Const of type type_unknown -" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow} -node: {title: "n51" label: "ProjX 0 51" info1: "visited: 11 -irg: main -arity: 1 -"color: yellow} -edge: {sourcename: "n51" targetname: "n53" label: "0" class:13 priority:60 color:red} -node: {title: "n53" label: "Start 53" info1: "visited: 11 -irg: main -arity: 0 -start of method of type main -" info2: "mymode == mode_T && Start node"color: blue} -} - -} - -} -- 2.20.1