From 5b0ba7f9064e9ffeb2b2fcf66462a93d05d4ee96 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=B6tz=20Lindenmaier?= Date: Tue, 30 Nov 2004 17:11:44 +0000 Subject: [PATCH] more verbose node info [r4529] --- .../ARRAY-HEAP_EXAMPLE_main-type.vcg | 49 +- .../ref-results/ARRAY-HEAP_EXAMPLE_main.vcg | 247 ++-- .../ARRAY-STACK_EXAMPLE_main-type.vcg | 49 +- .../ARRAY-STACK_EXAMPLE_main-wtypes.vcg | 263 ++-- .../ref-results/ARRAY-STACK_EXAMPLE_main.vcg | 214 ++-- testprograms/ref-results/All_graphs.vcg | 812 +++++++++---- testprograms/ref-results/All_types.vcg | 19 +- .../ref-results/CALL_STR_EXAMPLE_main.vcg | 162 ++- .../ref-results/COND_EXAMPLE_main.vcg | 418 +++++-- .../ref-results/CONST_EVAL_EXAMPLE_main.vcg | 105 +- .../ref-results/DEAD_BLOCK_main-cfg.vcg | 16 +- testprograms/ref-results/DEAD_BLOCK_main.vcg | 102 +- testprograms/ref-results/EMPTY_main.vcg | 82 +- .../ref-results/ENDLESS_LOOP_EXAMPLE_main.vcg | 275 +++-- .../ref-results/FLOAT_EXAMPLE_main.vcg | 102 +- .../ref-results/GLOBAL_CSE_EXAMPLE_main.vcg | 361 ++++-- .../GLOBAL_VAR_main-pure-wtypes.vcg | 243 ++-- testprograms/ref-results/GLOBAL_VAR_main.vcg | 173 ++- .../ref-results/IF_ELSE_EXAMPLE_main.vcg | 122 +- testprograms/ref-results/IF_EXAMPLE_main.vcg | 286 +++-- .../IF_WHILE_EXAMPLE_main-pure.vcg | 405 +++++-- .../ref-results/IRREGULAR_CF_main-cfg.vcg | 16 +- .../ref-results/IRREGULAR_CF_main.vcg | 344 ++++-- .../ref-results/IRR_LOOP_loop1-cfg.vcg | 16 +- testprograms/ref-results/IRR_LOOP_loop1.vcg | 439 ++++--- .../ref-results/IRR_LOOP_loop2-cfg.vcg | 16 +- testprograms/ref-results/IRR_LOOP_loop2.vcg | 676 +++++++---- .../ref-results/MEMORY_EXAMPLE_main.vcg | 601 ++++++--- .../OO_INLINE_EXAMPLE_main-wtypes.vcg | 431 ++++--- .../ref-results/OO_INLINE_EXAMPLE_main.vcg | 374 ++++-- .../OO_PROGRAM_EXAMPLE_main-ip.vcg | 812 +++++++++---- .../OO_PROGRAM_EXAMPLE_main-pure-ip.vcg | 1021 +++++++++++----- ...OO_PROGRAM_EXAMPLE_main-pure-wtypes-ip.vcg | 1078 +++++++++++------ .../OO_PROGRAM_EXAMPLE_main-pure-wtypes.vcg | 460 ++++--- .../OO_PROGRAM_EXAMPLE_main-pure.vcg | 403 ++++-- .../OO_PROGRAM_EXAMPLE_main-type.vcg | 57 +- .../OO_PROGRAM_EXAMPLE_main-wtypes-ip.vcg | 869 ++++++++----- .../OO_PROGRAM_EXAMPLE_main-wtypes.vcg | 409 ++++--- .../ref-results/OO_PROGRAM_EXAMPLE_main.vcg | 352 ++++-- .../ref-results/PRIMA_INLINE_c-wtypes.vcg | 299 +++-- testprograms/ref-results/PRIMA_INLINE_c.vcg | 261 ++-- .../ref-results/PRIMA_INLINE_set_a-wtypes.vcg | 230 ++-- .../ref-results/PRIMA_INLINE_set_a.vcg | 192 ++- .../ref-results/PRIMA_c-pure-wtypes.vcg | 317 +++-- testprograms/ref-results/PRIMA_c-pure.vcg | 279 +++-- testprograms/ref-results/PRIMA_c-type.vcg | 38 +- testprograms/ref-results/PRIMA_c-wtypes.vcg | 266 ++-- testprograms/ref-results/PRIMA_c.vcg | 228 ++-- .../ref-results/PRIMA_set_a-pure-wtypes.vcg | 281 +++-- testprograms/ref-results/PRIMA_set_a-pure.vcg | 243 ++-- testprograms/ref-results/PRIMA_set_a-type.vcg | 38 +- .../ref-results/PRIMA_set_a-wtypes.vcg | 230 ++-- testprograms/ref-results/PRIMA_set_a.vcg | 192 ++- ...RENGTH_RED_EXAMPLE_m1-strength_reduced.vcg | 836 +++++++++---- .../ref-results/STRENGTH_RED_EXAMPLE_m1.vcg | 834 +++++++++---- ...RENGTH_RED_EXAMPLE_m2-strength_reduced.vcg | 569 ++++++--- .../ref-results/STRENGTH_RED_EXAMPLE_m2.vcg | 499 +++++--- ...RENGTH_RED_EXAMPLE_m3-strength_reduced.vcg | 585 ++++++--- .../ref-results/STRENGTH_RED_EXAMPLE_m3.vcg | 550 ++++++--- ...RENGTH_RED_EXAMPLE_m4-strength_reduced.vcg | 678 +++++++---- .../ref-results/STRENGTH_RED_EXAMPLE_m4.vcg | 540 ++++++--- ...RENGTH_RED_EXAMPLE_m5-strength_reduced.vcg | 482 +++++--- .../ref-results/STRENGTH_RED_EXAMPLE_m5.vcg | 516 +++++--- ...RENGTH_RED_EXAMPLE_m6-strength_reduced.vcg | 516 +++++--- .../ref-results/STRENGTH_RED_EXAMPLE_m6.vcg | 550 ++++++--- ...RENGTH_RED_EXAMPLE_m7-strength_reduced.vcg | 534 +++++--- .../ref-results/STRENGTH_RED_EXAMPLE_m7.vcg | 533 +++++--- .../THREE_CFPRED_EXAMPLE_main-cfg.vcg | 16 +- .../ref-results/THREE_CFPRED_EXAMPLE_main.vcg | 417 +++++-- .../ref-results/WHILE_EXAMPLE_main.vcg | 319 +++-- 70 files changed, 16928 insertions(+), 8019 deletions(-) diff --git a/testprograms/ref-results/ARRAY-HEAP_EXAMPLE_main-type.vcg b/testprograms/ref-results/ARRAY-HEAP_EXAMPLE_main-type.vcg index 4d8fc9d3b..7d8b4d9a9 100644 --- a/testprograms/ref-results/ARRAY-HEAP_EXAMPLE_main-type.vcg +++ b/testprograms/ref-results/ARRAY-HEAP_EXAMPLE_main-type.vcg @@ -74,16 +74,26 @@ edge: { sourcename: "t18" targetname: "t14"class: 10 label: "arr elt tp" color:g edge: { sourcename: "t18" targetname: "e21"class: 10 label: "arr ent" color: green} edge: { sourcename: "n22" targetname: "t18"label: "upper 0"} edge: { sourcename: "n23" targetname: "t18"label: "lower 0"} -node: {title: "n22" label: "0x9Iu 22" info1: "mode: Iu -visited: 1 -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n23" label: "0x0Iu 23" info1: "mode: Iu -visited: 1 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n22" label: "0x9Iu 22" info1: "0x9 22 + mode: Iu + visited: 1 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n23" label: "0x0Iu 23" info1: "0x0 23 + mode: Iu + visited: 1 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + Const of type type_unknown +" +color: yellow} node: {title: "t14" label: "primitive int" info1: "state: layout_fixed, mode: Is, size: 32b, @@ -108,14 +118,19 @@ node: {title: "e17" label: "ent ARRAY-HEAP_EXAMPLE_main" color: yellow } edge: { sourcename: "e17" targetname: "t15"class: 3 label: "type" color: red} edge: { sourcename: "e17" targetname: "n16"label: "value 0"} -node: {title: "n16" label: "SymC &ARRAY-HEAP_EXAMPLE_main 16" info1: "mode: P -visited: 1 -arity: 0 -kind: addr_ent -entity GlobalType.ARRAY-HEAP_EXAMPLE_main (17) +node: {title: "n16" label: "SymC &ARRAY-HEAP_EXAMPLE_main 16" info1: "SymC &ARRAY-HEAP_EXAMPLE_main 16 + mode: P + visited: 1 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity GlobalType.ARRAY-HEAP_EXAMPLE_main (17) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined size: -1b, peculiarity: peculiarity_existent diff --git a/testprograms/ref-results/ARRAY-HEAP_EXAMPLE_main.vcg b/testprograms/ref-results/ARRAY-HEAP_EXAMPLE_main.vcg index f876363ef..664ed4f1e 100644 --- a/testprograms/ref-results/ARRAY-HEAP_EXAMPLE_main.vcg +++ b/testprograms/ref-results/ARRAY-HEAP_EXAMPLE_main.vcg @@ -55,108 +55,197 @@ colorentry 125: 255 250 250 graph: { title: "g36" label: "ARRAY-HEAP_EXAMPLE_main" status:clustered color:white graph: { title: "n25" label: "Block 25" status:clustered color:yellow edge: {sourcename: "n25" targetname: "n50" label: "0" class:13 priority:60 color:red} -node: {title: "n52" label: "End 52" info1: "mode: X -visited: 11 -irg: ARRAY-HEAP_EXAMPLE_main -arity: 0 -"color: blue} +node: {title: "n52" label: "End 52" info1: "End 52 + mode: X + visited: 11 + irg: ARRAY-HEAP_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 25 + Private Attributes: +" +color: blue} } graph: { title: "n37" label: "Block 37" status:clustered color:yellow edge: {sourcename: "n37" targetname: "n31" 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 -"} +node: {title: "n50" label: "Return 50" info1: "Return 50 + mode: X + visited: 11 + irg: ARRAY-HEAP_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 37 + 0: Proj 48 + 1: Proj 49 + Private Attributes: + return in method of type ARRAY-HEAP_EXAMPLE_main + res 0 type: int +" +} edge: {sourcename: "n50" targetname: "n48" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n50" targetname: "n49" label: "1" class:1 priority:50} -node: {title: "n48" label: "ProjM 0 48" info1: "mode: M -visited: 11 -irg: ARRAY-HEAP_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n48" label: "ProjM 0 48" info1: "Proj 48 + mode: M + visited: 11 + irg: ARRAY-HEAP_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 37 + 0: Load[Is] 46 + Private Attributes: +" +color: yellow} edge: {sourcename: "n48" targetname: "n46" label: "0" class:17 priority:10 color:blue} -node: {title: "n49" label: "ProjIs 2 49" info1: "mode: Is -visited: 11 -irg: ARRAY-HEAP_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n49" label: "ProjIs 2 49" info1: "Proj 49 + mode: Is + visited: 11 + irg: ARRAY-HEAP_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 37 + 0: Load[Is] 46 + Private Attributes: +" +color: yellow} edge: {sourcename: "n49" targetname: "n46" label: "0" class:1 priority:50} -node: {title: "n46" label: "Load[Is] 46" info1: "mode: T -visited: 11 -irg: ARRAY-HEAP_EXAMPLE_main -arity: 2 -volatility: volatility_non_volatile -"} +node: {title: "n46" label: "Load[Is] 46" info1: "Load[Is] 46 + mode: T + visited: 11 + irg: ARRAY-HEAP_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 37 + 0: Proj 42 + 1: Sel 45 + Private Attributes: + pinned state: op_pin_state_pinned + mode of loaded value: Is + volatility: volatility_non_volatile +" +} edge: {sourcename: "n46" targetname: "n42" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n46" targetname: "n45" label: "1" class:1 priority:50} -node: {title: "n45" label: "Sel a_elem_ent 45" info1: "mode: P -visited: 11 -irg: ARRAY-HEAP_EXAMPLE_main -arity: 3 -Selecting entity of type int - from entity of type a -"} +node: {title: "n45" label: "Sel a_elem_ent 45" info1: "Sel 45 + mode: P + visited: 11 + irg: ARRAY-HEAP_EXAMPLE_main + arity: 3 + pred nodes: + -1: Block 37 + 0: Proj 42 + 1: Proj 43 + 2: 0x3 44 + Private Attributes: + Selecting entity of type int + from entity of type a +" +} edge: {sourcename: "n45" targetname: "n42" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n45" targetname: "n43" label: "1" class:1 priority:50} edge: {sourcename: "n45" targetname: "n44" label: "2" class:16 priority:10} -node: {title: "n42" label: "ProjM 0 42" info1: "mode: M -visited: 11 -irg: ARRAY-HEAP_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n42" label: "ProjM 0 42" info1: "Proj 42 + mode: M + visited: 11 + irg: ARRAY-HEAP_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 37 + 0: Alloc 40 + Private Attributes: +" +color: yellow} edge: {sourcename: "n42" targetname: "n40" label: "0" class:17 priority:10 color:blue} -node: {title: "n43" label: "ProjP 2 43" info1: "mode: P -visited: 11 -irg: ARRAY-HEAP_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n43" label: "ProjP 2 43" info1: "Proj 43 + mode: P + visited: 11 + irg: ARRAY-HEAP_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 37 + 0: Alloc 40 + Private Attributes: +" +color: yellow} edge: {sourcename: "n43" targetname: "n40" label: "0" class:1 priority:50} -node: {title: "n40" label: "Alloc 40" info1: "mode: T -visited: 11 -irg: ARRAY-HEAP_EXAMPLE_main -arity: 2 -allocating entity of type a -"} +node: {title: "n40" label: "Alloc 40" info1: "Alloc 40 + mode: T + visited: 11 + irg: ARRAY-HEAP_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 37 + 0: Proj 34 + 1: 0x28 38 + Private Attributes: + pinned state: op_pin_state_pinned + allocating entity of type: a + allocating on: the stack +" +} edge: {sourcename: "n40" targetname: "n34" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n40" targetname: "n38" label: "1" class:16 priority:10} } graph: { title: "n27" label: "Block 27" status:clustered color:yellow edge: {sourcename: "n27" targetname: "n31" label: "0" class:13 priority:60 color:red} -node: {title: "n34" label: "ProjM 1 34" info1: "mode: M -visited: 11 -irg: ARRAY-HEAP_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n34" label: "ProjM 1 34" info1: "Proj 34 + mode: M + visited: 11 + irg: ARRAY-HEAP_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 27 + 0: Start 28 + Private Attributes: +" +color: yellow} edge: {sourcename: "n34" targetname: "n28" label: "0" class:17 priority:10 color:blue} -node: {title: "n38" label: "0x28Iu 38" info1: "mode: Iu -visited: 11 -irg: ARRAY-HEAP_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n44" label: "0x3Iu 44" info1: "mode: Iu -visited: 11 -irg: ARRAY-HEAP_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n31" label: "ProjX 0 31" info1: "mode: X -visited: 11 -irg: ARRAY-HEAP_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n38" label: "0x28Iu 38" info1: "0x28 38 + mode: Iu + visited: 11 + irg: ARRAY-HEAP_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 27 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n44" label: "0x3Iu 44" info1: "0x3 44 + mode: Iu + visited: 11 + irg: ARRAY-HEAP_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 27 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n31" label: "ProjX 0 31" info1: "Proj 31 + mode: X + visited: 11 + irg: ARRAY-HEAP_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 27 + 0: Start 28 + Private Attributes: +" +color: yellow} edge: {sourcename: "n31" targetname: "n28" label: "0" class:13 priority:60 color:red} -node: {title: "n28" label: "Start 28" info1: "mode: T -visited: 11 -irg: ARRAY-HEAP_EXAMPLE_main -arity: 0 -start of method of type ARRAY-HEAP_EXAMPLE_main -"color: blue} +node: {title: "n28" label: "Start 28" info1: "Start 28 + mode: T + visited: 11 + irg: ARRAY-HEAP_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 27 + Private Attributes: + start of method of type ARRAY-HEAP_EXAMPLE_main +" +color: blue} } } diff --git a/testprograms/ref-results/ARRAY-STACK_EXAMPLE_main-type.vcg b/testprograms/ref-results/ARRAY-STACK_EXAMPLE_main-type.vcg index 0615d5fa1..265eefdf3 100644 --- a/testprograms/ref-results/ARRAY-STACK_EXAMPLE_main-type.vcg +++ b/testprograms/ref-results/ARRAY-STACK_EXAMPLE_main-type.vcg @@ -74,16 +74,26 @@ edge: { sourcename: "t19" targetname: "t14"class: 10 label: "arr elt tp" color:g edge: { sourcename: "t19" targetname: "e22"class: 10 label: "arr ent" color: green} edge: { sourcename: "n23" targetname: "t19"label: "upper 0"} edge: { sourcename: "n24" targetname: "t19"label: "lower 0"} -node: {title: "n23" label: "0x9Iu 23" info1: "mode: Iu -visited: 1 -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n24" label: "0x0Iu 24" info1: "mode: Iu -visited: 1 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n23" label: "0x9Iu 23" info1: "0x9 23 + mode: Iu + visited: 1 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n24" label: "0x0Iu 24" info1: "0x0 24 + mode: Iu + visited: 1 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + Const of type type_unknown +" +color: yellow} node: {title: "t14" label: "primitive int" info1: "state: layout_fixed, mode: Is, size: 32b, @@ -130,14 +140,19 @@ node: {title: "e18" label: "ent ARRAY-STACK_EXAMPLE_main" color: yellow } edge: { sourcename: "e18" targetname: "t16"class: 3 label: "type" color: red} edge: { sourcename: "e18" targetname: "n17"label: "value 0"} -node: {title: "n17" label: "SymC &main 17" info1: "mode: P -visited: 1 -arity: 0 -kind: addr_ent -entity ARRAY-STACK_EXAMPLE.main (18) +node: {title: "n17" label: "SymC &main 17" info1: "SymC &main 17 + mode: P + visited: 1 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity ARRAY-STACK_EXAMPLE.main (18) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t15" label: "class ARRAY-STACK_EXAMPLE" info1: "state: layout_undefined size: -1b, peculiarity: peculiarity_existent diff --git a/testprograms/ref-results/ARRAY-STACK_EXAMPLE_main-wtypes.vcg b/testprograms/ref-results/ARRAY-STACK_EXAMPLE_main-wtypes.vcg index d64158ad6..5e45bfe8c 100644 --- a/testprograms/ref-results/ARRAY-STACK_EXAMPLE_main-wtypes.vcg +++ b/testprograms/ref-results/ARRAY-STACK_EXAMPLE_main-wtypes.vcg @@ -55,97 +55,173 @@ colorentry 125: 255 250 250 graph: { title: "g37" label: "ARRAY-STACK_EXAMPLE_main" status:clustered color:white graph: { title: "n26" label: "Block 26" status:clustered color:yellow edge: {sourcename: "n26" targetname: "n48" label: "0" class:13 priority:60 color:red} -node: {title: "n50" label: "End 50" info1: "mode: X -visited: 13 -irg: ARRAY-STACK_EXAMPLE_main -arity: 0 -"color: blue} +node: {title: "n50" label: "End 50" info1: "End 50 + mode: X + visited: 13 + irg: ARRAY-STACK_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 26 + Private Attributes: +" +color: blue} } graph: { title: "n38" label: "Block 38" status:clustered color:yellow edge: {sourcename: "n38" targetname: "n32" 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_tp - res 0 type: int -"} +node: {title: "n48" label: "Return 48" info1: "Return 48 + mode: X + visited: 13 + irg: ARRAY-STACK_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 38 + 0: Proj 46 + 1: Proj 47 + Private Attributes: + return in method of type main_tp + res 0 type: int +" +} edge: {sourcename: "n48" targetname: "n46" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n48" targetname: "n47" label: "1" class:1 priority:50} -node: {title: "n46" label: "ProjM 0 46" info1: "mode: M -visited: 13 -irg: ARRAY-STACK_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n46" label: "ProjM 0 46" info1: "Proj 46 + mode: M + visited: 13 + irg: ARRAY-STACK_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 38 + 0: Load[Is] 44 + Private Attributes: +" +color: yellow} edge: {sourcename: "n46" targetname: "n44" label: "0" class:17 priority:10 color:blue} -node: {title: "n47" label: "ProjIs 2 47" info1: "mode: Is -visited: 13 -irg: ARRAY-STACK_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n47" label: "ProjIs 2 47" info1: "Proj 47 + mode: Is + visited: 13 + irg: ARRAY-STACK_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 38 + 0: Load[Is] 44 + Private Attributes: +" +color: yellow} edge: {sourcename: "n47" targetname: "n44" label: "0" class:1 priority:50} -node: {title: "n44" label: "Load[Is] 44" info1: "mode: T -visited: 13 -irg: ARRAY-STACK_EXAMPLE_main -arity: 2 -volatility: volatility_non_volatile -"} +node: {title: "n44" label: "Load[Is] 44" info1: "Load[Is] 44 + mode: T + visited: 13 + irg: ARRAY-STACK_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 38 + 0: Proj 35 + 1: Sel 43 + Private Attributes: + pinned state: op_pin_state_pinned + mode of loaded value: Is + volatility: volatility_non_volatile +" +} edge: {sourcename: "n44" targetname: "n35" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n44" targetname: "n43" label: "1" class:1 priority:50} -node: {title: "n43" label: "Sel a_tp_elem_ent 43" info1: "mode: P -visited: 13 -irg: ARRAY-STACK_EXAMPLE_main -arity: 3 -Selecting entity of type int - from entity of type a_tp -"} +node: {title: "n43" label: "Sel a_tp_elem_ent 43" info1: "Sel 43 + mode: P + visited: 13 + irg: ARRAY-STACK_EXAMPLE_main + arity: 3 + pred nodes: + -1: Block 38 + 0: Proj 35 + 1: Sel 41 + 2: 0x3 42 + Private Attributes: + Selecting entity of type int + from entity of type a_tp +" +} edge: {sourcename: "n43" targetname: "n35" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n43" targetname: "n41" label: "1" class:1 priority:50} edge: {sourcename: "n43" targetname: "n42" label: "2" class:16 priority:10} -node: {title: "n41" label: "Sel a 41" info1: "mode: P -visited: 13 -irg: ARRAY-STACK_EXAMPLE_main -arity: 2 -Selecting entity of type a_tp - from entity of type mainframe_tp -"} +node: {title: "n41" label: "Sel a 41" info1: "Sel 41 + mode: P + visited: 13 + irg: ARRAY-STACK_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 38 + 0: Proj 35 + 1: Proj 33 + Private Attributes: + Selecting entity of type a_tp + from entity of type mainframe_tp +" +} edge: {sourcename: "n41" targetname: "n35" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n41" targetname: "n33" label: "1" class:16 priority:10} } graph: { title: "n28" label: "Block 28" status:clustered color:yellow edge: {sourcename: "n28" targetname: "n32" label: "0" class:13 priority:60 color:red} -node: {title: "n35" label: "ProjM 1 35" info1: "mode: M -visited: 13 -irg: ARRAY-STACK_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n35" label: "ProjM 1 35" info1: "Proj 35 + mode: M + visited: 13 + irg: ARRAY-STACK_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 28 + 0: Start 29 + Private Attributes: +" +color: yellow} edge: {sourcename: "n35" targetname: "n29" label: "0" class:17 priority:10 color:blue} -node: {title: "n33" label: "ProjP 2 33" info1: "mode: P -visited: 13 -irg: ARRAY-STACK_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n33" label: "ProjP 2 33" info1: "Proj 33 + mode: P + visited: 13 + irg: ARRAY-STACK_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 28 + 0: Start 29 + Private Attributes: +" +color: yellow} edge: {sourcename: "n33" targetname: "n29" label: "0" class:1 priority:50} -node: {title: "n42" label: "0x3Iu 42" info1: "mode: Iu -visited: 13 -irg: ARRAY-STACK_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n32" label: "ProjX 0 32" info1: "mode: X -visited: 13 -irg: ARRAY-STACK_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n42" label: "0x3Iu 42" info1: "0x3 42 + mode: Iu + visited: 13 + irg: ARRAY-STACK_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 28 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n32" label: "ProjX 0 32" info1: "Proj 32 + mode: X + visited: 13 + irg: ARRAY-STACK_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 28 + 0: Start 29 + Private Attributes: +" +color: yellow} edge: {sourcename: "n32" targetname: "n29" label: "0" class:13 priority:60 color:red} -node: {title: "n29" label: "Start 29" info1: "mode: T -visited: 13 -irg: ARRAY-STACK_EXAMPLE_main -arity: 0 -start of method of type main_tp -"color: blue} +node: {title: "n29" label: "Start 29" info1: "Start 29 + mode: T + visited: 13 + irg: ARRAY-STACK_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 28 + Private Attributes: + start of method of type main_tp +" +color: blue} } } @@ -172,16 +248,26 @@ edge: { sourcename: "t19" targetname: "t14"class: 10 label: "arr elt tp" color:g edge: { sourcename: "t19" targetname: "e22"class: 10 label: "arr ent" color: green} edge: { sourcename: "n23" targetname: "t19"label: "upper 0"} edge: { sourcename: "n24" targetname: "t19"label: "lower 0"} -node: {title: "n23" label: "0x9Iu 23" info1: "mode: Iu -visited: 2 -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n24" label: "0x0Iu 24" info1: "mode: Iu -visited: 2 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n23" label: "0x9Iu 23" info1: "0x9 23 + mode: Iu + visited: 2 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n24" label: "0x0Iu 24" info1: "0x0 24 + mode: Iu + visited: 2 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + Const of type type_unknown +" +color: yellow} node: {title: "t14" label: "primitive int" info1: "state: layout_fixed, mode: Is, size: 32b, @@ -228,14 +314,19 @@ node: {title: "e18" label: "ent ARRAY-STACK_EXAMPLE_main" color: yellow } edge: { sourcename: "e18" targetname: "t16"class: 3 label: "type" color: red} edge: { sourcename: "e18" targetname: "n17"label: "value 0"} -node: {title: "n17" label: "SymC &main 17" info1: "mode: P -visited: 2 -arity: 0 -kind: addr_ent -entity ARRAY-STACK_EXAMPLE.main (18) +node: {title: "n17" label: "SymC &main 17" info1: "SymC &main 17 + mode: P + visited: 2 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity ARRAY-STACK_EXAMPLE.main (18) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t15" label: "class ARRAY-STACK_EXAMPLE" info1: "state: layout_undefined size: -1b, peculiarity: peculiarity_existent diff --git a/testprograms/ref-results/ARRAY-STACK_EXAMPLE_main.vcg b/testprograms/ref-results/ARRAY-STACK_EXAMPLE_main.vcg index b355071f2..73533c42b 100644 --- a/testprograms/ref-results/ARRAY-STACK_EXAMPLE_main.vcg +++ b/testprograms/ref-results/ARRAY-STACK_EXAMPLE_main.vcg @@ -55,97 +55,173 @@ colorentry 125: 255 250 250 graph: { title: "g37" label: "ARRAY-STACK_EXAMPLE_main" status:clustered color:white graph: { title: "n26" label: "Block 26" status:clustered color:yellow edge: {sourcename: "n26" targetname: "n48" label: "0" class:13 priority:60 color:red} -node: {title: "n50" label: "End 50" info1: "mode: X -visited: 11 -irg: ARRAY-STACK_EXAMPLE_main -arity: 0 -"color: blue} +node: {title: "n50" label: "End 50" info1: "End 50 + mode: X + visited: 11 + irg: ARRAY-STACK_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 26 + Private Attributes: +" +color: blue} } graph: { title: "n38" label: "Block 38" status:clustered color:yellow edge: {sourcename: "n38" targetname: "n32" 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 -"} +node: {title: "n48" label: "Return 48" info1: "Return 48 + mode: X + visited: 11 + irg: ARRAY-STACK_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 38 + 0: Proj 46 + 1: Proj 47 + Private Attributes: + return in method of type main_tp + res 0 type: int +" +} edge: {sourcename: "n48" targetname: "n46" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n48" targetname: "n47" label: "1" class:1 priority:50} -node: {title: "n46" label: "ProjM 0 46" info1: "mode: M -visited: 11 -irg: ARRAY-STACK_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n46" label: "ProjM 0 46" info1: "Proj 46 + mode: M + visited: 11 + irg: ARRAY-STACK_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 38 + 0: Load[Is] 44 + Private Attributes: +" +color: yellow} edge: {sourcename: "n46" targetname: "n44" label: "0" class:17 priority:10 color:blue} -node: {title: "n47" label: "ProjIs 2 47" info1: "mode: Is -visited: 11 -irg: ARRAY-STACK_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n47" label: "ProjIs 2 47" info1: "Proj 47 + mode: Is + visited: 11 + irg: ARRAY-STACK_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 38 + 0: Load[Is] 44 + Private Attributes: +" +color: yellow} edge: {sourcename: "n47" targetname: "n44" label: "0" class:1 priority:50} -node: {title: "n44" label: "Load[Is] 44" info1: "mode: T -visited: 11 -irg: ARRAY-STACK_EXAMPLE_main -arity: 2 -volatility: volatility_non_volatile -"} +node: {title: "n44" label: "Load[Is] 44" info1: "Load[Is] 44 + mode: T + visited: 11 + irg: ARRAY-STACK_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 38 + 0: Proj 35 + 1: Sel 43 + Private Attributes: + pinned state: op_pin_state_pinned + mode of loaded value: Is + volatility: volatility_non_volatile +" +} edge: {sourcename: "n44" targetname: "n35" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n44" targetname: "n43" label: "1" class:1 priority:50} -node: {title: "n43" label: "Sel a_tp_elem_ent 43" info1: "mode: P -visited: 11 -irg: ARRAY-STACK_EXAMPLE_main -arity: 3 -Selecting entity of type int - from entity of type a_tp -"} +node: {title: "n43" label: "Sel a_tp_elem_ent 43" info1: "Sel 43 + mode: P + visited: 11 + irg: ARRAY-STACK_EXAMPLE_main + arity: 3 + pred nodes: + -1: Block 38 + 0: Proj 35 + 1: Sel 41 + 2: 0x3 42 + Private Attributes: + Selecting entity of type int + from entity of type a_tp +" +} edge: {sourcename: "n43" targetname: "n35" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n43" targetname: "n41" label: "1" class:1 priority:50} edge: {sourcename: "n43" targetname: "n42" label: "2" class:16 priority:10} -node: {title: "n41" label: "Sel a 41" info1: "mode: P -visited: 11 -irg: ARRAY-STACK_EXAMPLE_main -arity: 2 -Selecting entity of type a_tp - from entity of type mainframe_tp -"} +node: {title: "n41" label: "Sel a 41" info1: "Sel 41 + mode: P + visited: 11 + irg: ARRAY-STACK_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 38 + 0: Proj 35 + 1: Proj 33 + Private Attributes: + Selecting entity of type a_tp + from entity of type mainframe_tp +" +} edge: {sourcename: "n41" targetname: "n35" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n41" targetname: "n33" label: "1" class:16 priority:10} } graph: { title: "n28" label: "Block 28" status:clustered color:yellow edge: {sourcename: "n28" targetname: "n32" label: "0" class:13 priority:60 color:red} -node: {title: "n35" label: "ProjM 1 35" info1: "mode: M -visited: 11 -irg: ARRAY-STACK_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n35" label: "ProjM 1 35" info1: "Proj 35 + mode: M + visited: 11 + irg: ARRAY-STACK_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 28 + 0: Start 29 + Private Attributes: +" +color: yellow} edge: {sourcename: "n35" targetname: "n29" label: "0" class:17 priority:10 color:blue} -node: {title: "n33" label: "ProjP 2 33" info1: "mode: P -visited: 11 -irg: ARRAY-STACK_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n33" label: "ProjP 2 33" info1: "Proj 33 + mode: P + visited: 11 + irg: ARRAY-STACK_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 28 + 0: Start 29 + Private Attributes: +" +color: yellow} edge: {sourcename: "n33" targetname: "n29" label: "0" class:1 priority:50} -node: {title: "n42" label: "0x3Iu 42" info1: "mode: Iu -visited: 11 -irg: ARRAY-STACK_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n32" label: "ProjX 0 32" info1: "mode: X -visited: 11 -irg: ARRAY-STACK_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n42" label: "0x3Iu 42" info1: "0x3 42 + mode: Iu + visited: 11 + irg: ARRAY-STACK_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 28 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n32" label: "ProjX 0 32" info1: "Proj 32 + mode: X + visited: 11 + irg: ARRAY-STACK_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 28 + 0: Start 29 + Private Attributes: +" +color: yellow} edge: {sourcename: "n32" targetname: "n29" label: "0" class:13 priority:60 color:red} -node: {title: "n29" label: "Start 29" info1: "mode: T -visited: 11 -irg: ARRAY-STACK_EXAMPLE_main -arity: 0 -start of method of type main_tp -"color: blue} +node: {title: "n29" label: "Start 29" info1: "Start 29 + mode: T + visited: 11 + irg: ARRAY-STACK_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 28 + Private Attributes: + 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 15d123db5..a4f8bc6a5 100644 --- a/testprograms/ref-results/All_graphs.vcg +++ b/testprograms/ref-results/All_graphs.vcg @@ -55,151 +55,264 @@ colorentry 125: 255 250 250 graph: { title: "g39" label: "OO_PROGRAM_EXAMPLE_main" status:clustered color:white graph: { title: "n28" label: "Block 28" status:clustered color:yellow edge: {sourcename: "n28" targetname: "n59" label: "0" class:13 priority:60 color:red} -node: {title: "n109" label: "End OO_PROGRAM_EXAMPLE_main 109" info1: "mode: X -visited: 51 -irg: OO_PROGRAM_EXAMPLE_main -arity: 2 -"color: blue} +node: {title: "n109" label: "End OO_PROGRAM_EXAMPLE_main 109" info1: "End OO_PROGRAM_EXAMPLE_main 109 + mode: X + visited: 52 + irg: OO_PROGRAM_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 28 + 0: Block 191 + 1: Block 197 + Private Attributes: +" +color: blue} } graph: { title: "n40" label: "Block 40" status:clustered color:yellow edge: {sourcename: "n40" targetname: "n200" label: "0" class:13 priority:60 color:red} -node: {title: "n59" label: "Return 59" info1: "mode: X -visited: 51 -irg: OO_PROGRAM_EXAMPLE_main -arity: 2 -"} +node: {title: "n59" label: "Return 59" info1: "Return 59 + mode: X + visited: 52 + irg: OO_PROGRAM_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 40 + 0: Filter 202 + 1: Filter 203 + Private Attributes: +" +} edge: {sourcename: "n59" targetname: "n202" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n59" targetname: "n203" label: "1" class:1 priority:50} -node: {title: "n202" label: "FilterM 0 202" info1: "mode: M -visited: 51 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -intra predecessor nodes: - CallT 54 -"color: yellow} +node: {title: "n202" label: "FilterM 0 202" info1: "Filter 202 + mode: M + visited: 52 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Call 54 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 104 + backedges: +" +color: yellow} edge: {sourcename: "n202" targetname: "n104" label: "0" class:17 priority:10 color:blue} -node: {title: "n203" label: "FilterIs 0 203" info1: "mode: Is -visited: 51 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -intra predecessor nodes: - ProjT 57 -"color: yellow} +node: {title: "n203" label: "FilterIs 0 203" info1: "Filter 203 + mode: Is + visited: 52 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Proj 57 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Add 106 + backedges: +" +color: yellow} edge: {sourcename: "n203" targetname: "n106" label: "0" class:16 priority:10} } graph: { title: "n197" label: "Block 197" status:clustered color:yellow edge: {sourcename: "n197" targetname: "n194" label: "0" class:13 priority:60 color:red} -node: {title: "n196" label: "FilterM 0 196" info1: "mode: M -visited: 51 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -intra predecessor nodes: - CallT 50 -"color: yellow} +node: {title: "n196" label: "FilterM 0 196" info1: "Filter 196 + mode: M + visited: 52 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 197 + 0: Call 50 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 81 + backedges: +" +color: yellow} edge: {sourcename: "n196" targetname: "n81" label: "0" class:17 priority:10 color:blue} -node: {title: "n201" label: "ProjX 0 201" info1: "mode: X -visited: 51 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n201" label: "ProjX 0 201" info1: "Proj 201 + mode: X + visited: 52 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 197 + 0: CallBegin c 199 + Private Attributes: +" +color: yellow} edge: {sourcename: "n201" targetname: "n199" label: "0" class:13 priority:60 color:red} -node: {title: "n199" label: "CallBegin c 199" info1: "mode: T -visited: 51 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -Call: 54 -possible callees: - 0: PRIMA_c -"} -node: {title: "n199n174" label: "SymC &c 174" info1: "mode: P -visited: 51 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -kind: addr_ent -entity PRIMA.c (23) +node: {title: "n199" label: "CallBegin c 199" info1: "CallBegin c 199 + mode: T + visited: 52 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 197 + 0: SymC &c 174 + Private Attributes: + Call: 54 + possible callees: + 0: PRIMA_c +" +} +node: {title: "n199n174" label: "SymC &c 174" info1: "SymC &c 174 + mode: P + visited: 52 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.c (23) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} edge: {sourcename: "n199" targetname: "n199n174" label: "0" class:16 priority:10} } graph: { title: "n191" label: "Block 191" status:clustered color:yellow edge: {sourcename: "n191" targetname: "n34" label: "0" class:13 priority:60 color:red} -node: {title: "n47" label: "ProjM 0 47" info1: "mode: M -visited: 51 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n47" label: "ProjM 0 47" info1: "Proj 47 + mode: M + visited: 52 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 191 + 0: Alloc 45 + Private Attributes: +" +color: yellow} edge: {sourcename: "n47" targetname: "n45" label: "0" class:17 priority:10 color:blue} -node: {title: "n48" label: "ProjP 2 48" info1: "mode: P -visited: 51 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n48" label: "ProjP 2 48" info1: "Proj 48 + mode: P + visited: 52 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 191 + 0: Alloc 45 + Private Attributes: +" +color: yellow} edge: {sourcename: "n48" targetname: "n45" label: "0" class:1 priority:50} -node: {title: "n45" label: "Alloc 45" info1: "mode: T -visited: 51 -irg: OO_PROGRAM_EXAMPLE_main -arity: 2 -allocating entity of type PRIMA -"} -node: {title: "n45n43" label: "SymC PRIMA size 43" info1: "mode: Iu -visited: 51 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -kind: size -SymConst of type: type_unknown -"} +node: {title: "n45" label: "Alloc 45" info1: "Alloc 45 + mode: T + visited: 52 + irg: OO_PROGRAM_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 191 + 0: Proj 37 + 1: SymC PRIMA size 43 + Private Attributes: + pinned state: op_pin_state_pinned + allocating entity of type: PRIMA + allocating on: the heap +" +} +node: {title: "n45n43" label: "SymC PRIMA size 43" info1: "SymC PRIMA size 43 + mode: Iu + visited: 52 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + kind: size + type: class type PRIMA (15) + type of value: type_unknown +" +} edge: {sourcename: "n45" targetname: "n37" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n45" targetname: "n45n43" label: "1" class:16 priority:10} -node: {title: "n195" label: "ProjX 0 195" info1: "mode: X -visited: 51 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n195" label: "ProjX 0 195" info1: "Proj 195 + mode: X + visited: 52 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 191 + 0: CallBegin set_a 193 + Private Attributes: +" +color: yellow} edge: {sourcename: "n195" targetname: "n193" label: "0" class:13 priority:60 color:red} -node: {title: "n193" label: "CallBegin set_a 193" info1: "mode: T -visited: 51 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -Call: 50 -possible callees: - 0: PRIMA_set_a -"} -node: {title: "n193n175" label: "SymC &set_a 175" info1: "mode: P -visited: 51 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -kind: addr_ent -entity PRIMA.set_a (20) +node: {title: "n193" label: "CallBegin set_a 193" info1: "CallBegin set_a 193 + mode: T + visited: 52 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 191 + 0: SymC &set_a 175 + Private Attributes: + Call: 50 + possible callees: + 0: PRIMA_set_a +" +} +node: {title: "n193n175" label: "SymC &set_a 175" info1: "SymC &set_a 175 + mode: P + visited: 52 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.set_a (20) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} edge: {sourcename: "n193" targetname: "n193n175" label: "0" class:16 priority:10} } graph: { title: "n30" label: "Block 30" status:clustered color:yellow edge: {sourcename: "n30" targetname: "n34" label: "0" class:13 priority:60 color:red} -node: {title: "n37" label: "ProjM 1 37" info1: "mode: M -visited: 51 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n37" label: "ProjM 1 37" info1: "Proj 37 + mode: M + visited: 52 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 30 + 0: Start OO_PROGRAM_EXAMPLE_main 31 + Private Attributes: +" +color: yellow} edge: {sourcename: "n37" targetname: "n31" label: "0" class:17 priority:10 color:blue} -node: {title: "n34" label: "ProjX 0 34" info1: "mode: X -visited: 51 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n34" label: "ProjX 0 34" info1: "Proj 34 + mode: X + visited: 52 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 30 + 0: Start OO_PROGRAM_EXAMPLE_main 31 + Private Attributes: +" +color: yellow} edge: {sourcename: "n34" targetname: "n31" label: "0" class:13 priority:60 color:red} -node: {title: "n31" label: "Start OO_PROGRAM_EXAMPLE_main 31" info1: "mode: T -visited: 51 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -start of method of type OO_PROGRAM_EXAMPLE_main -"color: blue} +node: {title: "n31" label: "Start OO_PROGRAM_EXAMPLE_main 31" info1: "Start OO_PROGRAM_EXAMPLE_main 31 + mode: T + visited: 52 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + start of method of type OO_PROGRAM_EXAMPLE_main +" +color: blue} } } @@ -207,98 +320,173 @@ start of method of type OO_PROGRAM_EXAMPLE_main graph: { title: "g73" label: "PRIMA_set_a" status:clustered color:white graph: { title: "n188" label: "Block 188" status:clustered color:yellow edge: {sourcename: "n188" targetname: "n187" label: "0" class:13 priority:60 color:red} -node: {title: "n194" label: "ProjX 0 194" info1: "mode: X -visited: 51 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n194" label: "ProjX 0 194" info1: "Proj 194 + mode: X + visited: 52 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 188 + 0: EndReg PRIMA_set_a 189 + Private Attributes: +" +color: yellow} edge: {sourcename: "n194" targetname: "n189" label: "0" class:13 priority:60 color:red} -node: {title: "n189" label: "EndReg PRIMA_set_a 189" info1: "mode: T -visited: 51 -irg: PRIMA_set_a -arity: 0 -"color: blue} +node: {title: "n189" label: "EndReg PRIMA_set_a 189" info1: "EndReg PRIMA_set_a 189 + mode: T + visited: 52 + irg: PRIMA_set_a + arity: 0 + pred nodes: + -1: Block 188 + Private Attributes: +" +color: blue} } graph: { title: "n74" label: "Block 74" status:clustered color:yellow edge: {sourcename: "n74" targetname: "n68" label: "0" class:13 priority:60 color:red} -node: {title: "n81" label: "ProjM 0 81" info1: "mode: M -visited: 51 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n81" label: "ProjM 0 81" info1: "Proj 81 + mode: M + visited: 52 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 74 + 0: Store 79 + Private Attributes: +" +color: yellow} edge: {sourcename: "n81" targetname: "n79" label: "0" class:17 priority:10 color:blue} -node: {title: "n79" label: "Store 79" info1: "mode: T -visited: 51 -irg: PRIMA_set_a -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n79" label: "Store 79" info1: "Store 79 + mode: T + visited: 52 + irg: PRIMA_set_a + arity: 3 + pred nodes: + -1: Block 74 + 0: Filter 184 + 1: Sel 78 + 2: Filter 186 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n79" targetname: "n184" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n79" targetname: "n78" label: "1" class:1 priority:50} edge: {sourcename: "n79" targetname: "n186" label: "2" class:16 priority:10} -node: {title: "n78" label: "Sel a 78" info1: "mode: P -visited: 51 -irg: PRIMA_set_a -arity: 2 -Selecting entity of type int - from entity of type PRIMA -"} +node: {title: "n78" label: "Sel a 78" info1: "Sel 78 + mode: P + visited: 52 + irg: PRIMA_set_a + arity: 2 + pred nodes: + -1: Block 74 + 0: Filter 184 + 1: Filter 185 + Private Attributes: + Selecting entity of type int + from entity of type PRIMA +" +} edge: {sourcename: "n78" targetname: "n184" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n78" targetname: "n185" label: "1" class:16 priority:10} -node: {title: "n187" label: "Jmp 187" info1: "mode: X -visited: 51 -irg: PRIMA_set_a -arity: 0 -"} +node: {title: "n187" label: "Jmp 187" info1: "Jmp 187 + mode: X + visited: 52 + irg: PRIMA_set_a + arity: 0 + pred nodes: + -1: Block 74 + Private Attributes: +" +} } graph: { title: "n64" label: "Block 64" status:clustered color:yellow edge: {sourcename: "n64" targetname: "n195" label: "0" class:13 priority:60 color:red} -node: {title: "n184" label: "FilterM 1 184" info1: "mode: M -visited: 51 -irg: PRIMA_set_a -arity: 1 backedges: -intra predecessor nodes: - StartT 65 -"color: yellow} +node: {title: "n184" label: "FilterM 1 184" info1: "Filter 184 + mode: M + visited: 52 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Start PRIMA_set_a 65 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 47 + backedges: +" +color: yellow} edge: {sourcename: "n184" targetname: "n47" label: "0" class:17 priority:10 color:blue} -node: {title: "n185" label: "FilterP 0 185" info1: "mode: P -visited: 51 -irg: PRIMA_set_a -arity: 1 backedges: -intra predecessor nodes: - ProjT 72 -"color: yellow} +node: {title: "n185" label: "FilterP 0 185" info1: "Filter 185 + mode: P + visited: 52 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Proj 72 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 48 + backedges: +" +color: yellow} edge: {sourcename: "n185" targetname: "n48" label: "0" class:16 priority:10} -node: {title: "n186" label: "FilterIs 1 186" info1: "mode: Is -visited: 51 -irg: PRIMA_set_a -arity: 1 backedges: -intra predecessor nodes: - ProjT 72 -"color: yellow} -node: {title: "n186n41" label: "0x2Is 41" info1: "mode: Is -visited: 51 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n186" label: "FilterIs 1 186" info1: "Filter 186 + mode: Is + visited: 52 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Proj 72 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: 0x2 41 + backedges: +" +color: yellow} +node: {title: "n186n41" label: "0x2Is 41" info1: "0x2 41 + mode: Is + visited: 52 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n186" targetname: "n186n41" label: "0" class:16 priority:10} -node: {title: "n68" label: "ProjX 0 68" info1: "mode: X -visited: 51 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n68" label: "ProjX 0 68" info1: "Proj 68 + mode: X + visited: 52 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Start PRIMA_set_a 65 + Private Attributes: +" +color: yellow} edge: {sourcename: "n68" targetname: "n65" label: "0" class:13 priority:60 color:red} -node: {title: "n65" label: "Start PRIMA_set_a 65" 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 -"color: blue} +node: {title: "n65" label: "Start PRIMA_set_a 65" info1: "Start PRIMA_set_a 65 + mode: T + visited: 52 + irg: PRIMA_set_a + arity: 0 + pred nodes: + -1: Block 64 + Private Attributes: + start of method of type set_a + param 0 type: class_prima_ptr + param 1 type: int +" +color: blue} } } @@ -306,110 +494,198 @@ start of method of type set_a graph: { title: "g96" label: "PRIMA_c" status:clustered color:white graph: { title: "n180" label: "Block 180" status:clustered color:yellow edge: {sourcename: "n180" targetname: "n179" label: "0" class:13 priority:60 color:red} -node: {title: "n200" label: "ProjX 0 200" info1: "mode: X -visited: 51 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n200" label: "ProjX 0 200" info1: "Proj 200 + mode: X + visited: 52 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 180 + 0: EndReg PRIMA_c 181 + Private Attributes: +" +color: yellow} edge: {sourcename: "n200" targetname: "n181" label: "0" class:13 priority:60 color:red} -node: {title: "n181" label: "EndReg PRIMA_c 181" info1: "mode: T -visited: 51 -irg: PRIMA_c -arity: 0 -"color: blue} +node: {title: "n181" label: "EndReg PRIMA_c 181" info1: "EndReg PRIMA_c 181 + mode: T + visited: 52 + irg: PRIMA_c + arity: 0 + pred nodes: + -1: Block 180 + Private Attributes: +" +color: blue} } graph: { title: "n97" label: "Block 97" status:clustered color:yellow edge: {sourcename: "n97" targetname: "n91" label: "0" class:13 priority:60 color:red} -node: {title: "n104" label: "ProjM 0 104" info1: "mode: M -visited: 51 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n104" label: "ProjM 0 104" info1: "Proj 104 + mode: M + visited: 52 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Load[Is] 102 + Private Attributes: +" +color: yellow} edge: {sourcename: "n104" targetname: "n102" label: "0" class:17 priority:10 color:blue} -node: {title: "n106" label: "AddIs 106" info1: "mode: Is -visited: 51 -irg: PRIMA_c -arity: 2 -"} +node: {title: "n106" label: "AddIs 106" info1: "Add 106 + mode: Is + visited: 52 + irg: PRIMA_c + arity: 2 + pred nodes: + -1: Block 97 + 0: Proj 105 + 1: Filter 178 + Private Attributes: +" +} edge: {sourcename: "n106" targetname: "n105" label: "0" class:1 priority:50} edge: {sourcename: "n106" targetname: "n178" label: "1" class:16 priority:10} -node: {title: "n105" label: "ProjIs 2 105" info1: "mode: Is -visited: 51 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n105" label: "ProjIs 2 105" info1: "Proj 105 + mode: Is + visited: 52 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Load[Is] 102 + Private Attributes: +" +color: yellow} edge: {sourcename: "n105" targetname: "n102" label: "0" class:1 priority:50} -node: {title: "n102" label: "Load[Is] 102" info1: "mode: T -visited: 51 -irg: PRIMA_c -arity: 2 -volatility: volatility_non_volatile -"} +node: {title: "n102" label: "Load[Is] 102" info1: "Load[Is] 102 + mode: T + visited: 52 + irg: PRIMA_c + arity: 2 + pred nodes: + -1: Block 97 + 0: Filter 176 + 1: Sel 101 + Private Attributes: + pinned state: op_pin_state_pinned + mode of loaded value: Is + volatility: volatility_non_volatile +" +} edge: {sourcename: "n102" targetname: "n176" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n102" targetname: "n101" label: "1" class:1 priority:50} -node: {title: "n101" label: "Sel a 101" info1: "mode: P -visited: 51 -irg: PRIMA_c -arity: 2 -Selecting entity of type int - from entity of type PRIMA -"} +node: {title: "n101" label: "Sel a 101" info1: "Sel 101 + mode: P + visited: 52 + irg: PRIMA_c + arity: 2 + pred nodes: + -1: Block 97 + 0: Filter 176 + 1: Filter 177 + Private Attributes: + Selecting entity of type int + from entity of type PRIMA +" +} edge: {sourcename: "n101" targetname: "n176" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n101" targetname: "n177" label: "1" class:16 priority:10} -node: {title: "n179" label: "Jmp 179" info1: "mode: X -visited: 51 -irg: PRIMA_c -arity: 0 -"} +node: {title: "n179" label: "Jmp 179" info1: "Jmp 179 + mode: X + visited: 52 + irg: PRIMA_c + arity: 0 + pred nodes: + -1: Block 97 + Private Attributes: +" +} } graph: { title: "n87" label: "Block 87" status:clustered color:yellow edge: {sourcename: "n87" targetname: "n201" label: "0" class:13 priority:60 color:red} -node: {title: "n176" label: "FilterM 1 176" info1: "mode: M -visited: 51 -irg: PRIMA_c -arity: 1 backedges: -intra predecessor nodes: - StartT 88 -"color: yellow} +node: {title: "n176" label: "FilterM 1 176" info1: "Filter 176 + mode: M + visited: 52 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Start PRIMA_c 88 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Filter 196 + backedges: +" +color: yellow} edge: {sourcename: "n176" targetname: "n196" label: "0" class:17 priority:10 color:blue} -node: {title: "n177" label: "FilterP 0 177" info1: "mode: P -visited: 51 -irg: PRIMA_c -arity: 1 backedges: -intra predecessor nodes: - ProjT 95 -"color: yellow} +node: {title: "n177" label: "FilterP 0 177" info1: "Filter 177 + mode: P + visited: 52 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Proj 95 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 48 + backedges: +" +color: yellow} edge: {sourcename: "n177" targetname: "n48" label: "0" class:16 priority:10} -node: {title: "n178" label: "FilterIs 1 178" info1: "mode: Is -visited: 51 -irg: PRIMA_c -arity: 1 backedges: -intra predecessor nodes: - ProjT 95 -"color: yellow} -node: {title: "n178n42" label: "0x5Is 42" info1: "mode: Is -visited: 51 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n178" label: "FilterIs 1 178" info1: "Filter 178 + mode: Is + visited: 52 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Proj 95 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: 0x5 42 + backedges: +" +color: yellow} +node: {title: "n178n42" label: "0x5Is 42" info1: "0x5 42 + mode: Is + visited: 52 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n178" targetname: "n178n42" label: "0" class:16 priority:10} -node: {title: "n91" label: "ProjX 0 91" info1: "mode: X -visited: 51 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n91" label: "ProjX 0 91" info1: "Proj 91 + mode: X + visited: 52 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Start PRIMA_c 88 + Private Attributes: +" +color: yellow} edge: {sourcename: "n91" targetname: "n88" label: "0" class:13 priority:60 color:red} -node: {title: "n88" label: "Start PRIMA_c 88" 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 -"color: blue} +node: {title: "n88" label: "Start PRIMA_c 88" info1: "Start PRIMA_c 88 + mode: T + visited: 52 + irg: PRIMA_c + arity: 0 + pred nodes: + -1: Block 87 + Private Attributes: + start of method of type c + param 0 type: class_prima_ptr + param 1 type: int +" +color: blue} } } diff --git a/testprograms/ref-results/All_types.vcg b/testprograms/ref-results/All_types.vcg index acc874bb7..e44bc6768 100644 --- a/testprograms/ref-results/All_types.vcg +++ b/testprograms/ref-results/All_types.vcg @@ -90,14 +90,19 @@ node: {title: "e18" label: "ent WHILE_EXAMPLE_main" color: yellow } edge: { sourcename: "e18" targetname: "t15"class: 3 label: "type" color: red} edge: { sourcename: "e18" targetname: "n17"label: "value 0"} -node: {title: "n17" label: "SymC &main 17" info1: "mode: P -visited: 1 -arity: 0 -kind: addr_ent -entity WHILE_EXAMPLE.main (18) +node: {title: "n17" label: "SymC &main 17" info1: "SymC &main 17 + mode: P + visited: 1 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity WHILE_EXAMPLE.main (18) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined size: -1b, peculiarity: peculiarity_existent diff --git a/testprograms/ref-results/CALL_STR_EXAMPLE_main.vcg b/testprograms/ref-results/CALL_STR_EXAMPLE_main.vcg index 2fc37782d..b52cf39a4 100644 --- a/testprograms/ref-results/CALL_STR_EXAMPLE_main.vcg +++ b/testprograms/ref-results/CALL_STR_EXAMPLE_main.vcg @@ -55,35 +55,61 @@ colorentry 125: 255 250 250 graph: { title: "g49" label: "CALL_STR_EXAMPLE_main" status:clustered color:white graph: { title: "n38" label: "Block 38" status:clustered color:yellow edge: {sourcename: "n38" targetname: "n57" label: "0" class:13 priority:60 color:red} -node: {title: "n59" label: "End 59" info1: "mode: X -visited: 9 -irg: CALL_STR_EXAMPLE_main -arity: 0 -"color: blue} +node: {title: "n59" label: "End 59" info1: "End 59 + mode: X + visited: 9 + irg: CALL_STR_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 38 + Private Attributes: +" +color: blue} } graph: { title: "n50" label: "Block 50" status:clustered color:yellow edge: {sourcename: "n50" targetname: "n44" 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 -"} +node: {title: "n57" label: "Return 57" info1: "Return 57 + mode: X + visited: 9 + irg: CALL_STR_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 50 + 0: Proj 56 + Private Attributes: + return in method of type CALL_STR_EXAMPLE_main +" +} edge: {sourcename: "n57" targetname: "n56" label: "0" class:14 priority:50 color:blue} -node: {title: "n56" label: "ProjM 0 56" info1: "mode: M -visited: 9 -irg: CALL_STR_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n56" label: "ProjM 0 56" info1: "Proj 56 + mode: M + visited: 9 + irg: CALL_STR_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 50 + 0: Call 54 + Private Attributes: +" +color: yellow} edge: {sourcename: "n56" targetname: "n54" label: "0" class:17 priority:10 color:blue} -node: {title: "n54" label: "Call 54" info1: "mode: T -visited: 9 -irg: CALL_STR_EXAMPLE_main -arity: 3 -calling method of type f - param 0 type: ptr_to_string -"} +node: {title: "n54" label: "Call 54" info1: "Call 54 + mode: T + visited: 9 + irg: CALL_STR_EXAMPLE_main + arity: 3 + pred nodes: + -1: Block 50 + 0: Proj 47 + 1: SymC f 52 + 2: SymC &constStr 51 + Private Attributes: + pinned state: op_pin_state_pinned + calling method of type f + param 0 type: ptr_to_string +" +} edge: {sourcename: "n54" targetname: "n47" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n54" targetname: "n52" label: "1" class:16 priority:10} edge: {sourcename: "n54" targetname: "n51" label: "2" class:16 priority:10} @@ -91,40 +117,68 @@ edge: {sourcename: "n54" targetname: "n51" label: "2" class:16 priority:10} graph: { title: "n40" label: "Block 40" status:clustered color:yellow edge: {sourcename: "n40" targetname: "n44" label: "0" class:13 priority:60 color:red} -node: {title: "n47" label: "ProjM 1 47" info1: "mode: M -visited: 9 -irg: CALL_STR_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n47" label: "ProjM 1 47" info1: "Proj 47 + mode: M + visited: 9 + irg: CALL_STR_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Start 41 + Private Attributes: +" +color: yellow} edge: {sourcename: "n47" targetname: "n41" label: "0" class:17 priority:10 color:blue} -node: {title: "n52" label: "SymC f 52" info1: "mode: P -visited: 9 -irg: CALL_STR_EXAMPLE_main -arity: 0 -kind: addr_name -SymConst of type: type_unknown -"} -node: {title: "n51" label: "SymC &constStr 51" info1: "mode: P -visited: 9 -irg: CALL_STR_EXAMPLE_main -arity: 0 -kind: addr_ent -entity GlobalType.constStr (20) +node: {title: "n52" label: "SymC f 52" info1: "SymC f 52 + mode: P + visited: 9 + irg: CALL_STR_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 40 + Private Attributes: + kind: addr_name + name: f + type of value: type_unknown +" +} +node: {title: "n51" label: "SymC &constStr 51" info1: "SymC &constStr 51 + mode: P + visited: 9 + irg: CALL_STR_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 40 + Private Attributes: + kind: addr_ent + entity: entity GlobalType.constStr (20) -SymConst of type: type_unknown -"} -node: {title: "n44" label: "ProjX 0 44" info1: "mode: X -visited: 9 -irg: CALL_STR_EXAMPLE_main -arity: 1 -"color: yellow} + type of value: type_unknown +" +} +node: {title: "n44" label: "ProjX 0 44" info1: "Proj 44 + mode: X + visited: 9 + irg: CALL_STR_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Start 41 + Private Attributes: +" +color: yellow} edge: {sourcename: "n44" targetname: "n41" label: "0" class:13 priority:60 color:red} -node: {title: "n41" label: "Start 41" info1: "mode: T -visited: 9 -irg: CALL_STR_EXAMPLE_main -arity: 0 -start of method of type CALL_STR_EXAMPLE_main -"color: blue} +node: {title: "n41" label: "Start 41" info1: "Start 41 + mode: T + visited: 9 + irg: CALL_STR_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 40 + Private Attributes: + start of method of type CALL_STR_EXAMPLE_main +" +color: blue} } } diff --git a/testprograms/ref-results/COND_EXAMPLE_main.vcg b/testprograms/ref-results/COND_EXAMPLE_main.vcg index 7112e6e51..d2df28621 100644 --- a/testprograms/ref-results/COND_EXAMPLE_main.vcg +++ b/testprograms/ref-results/COND_EXAMPLE_main.vcg @@ -55,180 +55,332 @@ colorentry 125: 255 250 250 graph: { title: "g31" label: "COND_EXAMPLE_main" status:clustered color:white graph: { title: "n20" label: "Block 20" status:clustered color:yellow edge: {sourcename: "n20" targetname: "n55" label: "0" class:13 priority:60 color:red} -node: {title: "n62" label: "End 62" info1: "mode: X -visited: 12 -irg: COND_EXAMPLE_main -arity: 0 -"color: blue} +node: {title: "n62" label: "End 62" info1: "End 62 + mode: X + visited: 12 + irg: COND_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 20 + Private Attributes: +" +color: blue} } graph: { title: "n52" label: "Block 52" status:clustered color:yellow edge: {sourcename: "n52" targetname: "n51" label: "0" class:13 priority:60 color:red} edge: {sourcename: "n52" targetname: "n47" label: "1" class:13 priority:60 color:red} -node: {title: "n55" label: "Return 55" info1: "mode: X -visited: 12 -irg: COND_EXAMPLE_main -arity: 2 -return in method of type main - res 0 type: int -"} +node: {title: "n55" label: "Return 55" info1: "Return 55 + mode: X + visited: 12 + irg: COND_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 52 + 0: Proj 29 + 1: Phi 61 + Private Attributes: + return in method of type main + res 0 type: int +" +} edge: {sourcename: "n55" targetname: "n29" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n55" targetname: "n61" label: "1" class:1 priority:50} -node: {title: "n61" label: "PhiIs 61" info1: "mode: Is -visited: 12 -irg: COND_EXAMPLE_main -arity: 2 backedges: -"color: green} +node: {title: "n61" label: "PhiIs 61" info1: "Phi 61 + mode: Is + visited: 12 + irg: COND_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 52 + 0: 0x1 50 + 1: Proj 33 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n61" targetname: "n50" label: "0" class:16 priority:10} edge: {sourcename: "n61" targetname: "n33" label: "1" 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: "n51" label: "Jmp 51" info1: "mode: X -visited: 12 -irg: COND_EXAMPLE_main -arity: 0 -"} +node: {title: "n51" label: "Jmp 51" info1: "Jmp 51 + mode: X + visited: 12 + irg: COND_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 49 + Private Attributes: +" +} } graph: { title: "n32" label: "Block 32" status:clustered color:yellow edge: {sourcename: "n32" targetname: "n26" label: "0" class:13 priority:60 color:red} -node: {title: "n48" label: "ProjX 1 48" info1: "mode: X -visited: 12 -irg: COND_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n48" label: "ProjX 1 48" info1: "Proj 48 + mode: X + visited: 12 + irg: COND_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 32 + 0: Cond 46 + Private Attributes: +" +color: yellow} edge: {sourcename: "n48" targetname: "n46" label: "0" class:13 priority:60 color:red} -node: {title: "n47" label: "ProjX 0 47" info1: "mode: X -visited: 12 -irg: COND_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n47" label: "ProjX 0 47" info1: "Proj 47 + mode: X + visited: 12 + irg: COND_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 32 + 0: Cond 46 + Private Attributes: +" +color: yellow} edge: {sourcename: "n47" targetname: "n46" label: "0" class:13 priority:60 color:red} -node: {title: "n46" label: "Cond 46" info1: "mode: T -visited: 12 -irg: COND_EXAMPLE_main -arity: 1 -"} +node: {title: "n46" label: "Cond 46" info1: "Cond 46 + mode: T + visited: 12 + irg: COND_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 32 + 0: Proj 45 + Private Attributes: + condition kind: dense + default ProjNr: 0 +" +} edge: {sourcename: "n46" targetname: "n45" label: "0" class:1 priority:50} -node: {title: "n45" label: "Projb Ne 45" info1: "mode: b -visited: 12 -irg: COND_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n45" label: "Projb Ne 45" info1: "Proj 45 + mode: b + visited: 12 + irg: COND_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 32 + 0: Cmp 44 + Private Attributes: +" +color: yellow} edge: {sourcename: "n45" targetname: "n44" label: "0" class:1 priority:50} -node: {title: "n44" label: "Cmp 44" info1: "mode: T -visited: 12 -irg: COND_EXAMPLE_main -arity: 2 -"} +node: {title: "n44" label: "Cmp 44" info1: "Cmp 44 + mode: T + visited: 12 + irg: COND_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 32 + 0: And 42 + 1: 0x0 43 + Private Attributes: +" +} edge: {sourcename: "n44" targetname: "n42" label: "0" class:1 priority:50} edge: {sourcename: "n44" targetname: "n43" label: "1" class:16 priority:10} -node: {title: "n42" label: "AndIs 42" info1: "mode: Is -visited: 12 -irg: COND_EXAMPLE_main -arity: 2 -"} +node: {title: "n42" label: "AndIs 42" info1: "And 42 + mode: Is + visited: 12 + irg: COND_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 32 + 0: Conv 41 + 1: Conv 37 + Private Attributes: +" +} edge: {sourcename: "n42" targetname: "n41" label: "0" class:1 priority:50} edge: {sourcename: "n42" targetname: "n37" label: "1" class:1 priority:50} -node: {title: "n41" label: "ConvIs 41" info1: "mode: Is -visited: 12 -irg: COND_EXAMPLE_main -arity: 1 -"} +node: {title: "n41" label: "ConvIs 41" info1: "Conv 41 + mode: Is + visited: 12 + irg: COND_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 32 + 0: Proj 40 + Private Attributes: +" +} edge: {sourcename: "n41" targetname: "n40" label: "0" class:1 priority:50} -node: {title: "n40" label: "Projb Lt 40" info1: "mode: b -visited: 12 -irg: COND_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n40" label: "Projb Lt 40" info1: "Proj 40 + mode: b + visited: 12 + irg: COND_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 32 + 0: Cmp 39 + Private Attributes: +" +color: yellow} edge: {sourcename: "n40" targetname: "n39" label: "0" class:1 priority:50} -node: {title: "n39" label: "Cmp 39" info1: "mode: T -visited: 12 -irg: COND_EXAMPLE_main -arity: 2 -"} +node: {title: "n39" label: "Cmp 39" info1: "Cmp 39 + mode: T + visited: 12 + irg: COND_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 32 + 0: Proj 33 + 1: 0xA 38 + Private Attributes: +" +} edge: {sourcename: "n39" targetname: "n33" label: "0" class:1 priority:50} edge: {sourcename: "n39" targetname: "n38" label: "1" class:16 priority:10} -node: {title: "n37" label: "ConvIs 37" info1: "mode: Is -visited: 12 -irg: COND_EXAMPLE_main -arity: 1 -"} +node: {title: "n37" label: "ConvIs 37" info1: "Conv 37 + mode: Is + visited: 12 + irg: COND_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 32 + 0: Proj 36 + Private Attributes: +" +} edge: {sourcename: "n37" targetname: "n36" label: "0" class:1 priority:50} -node: {title: "n36" label: "Projb Gt 36" info1: "mode: b -visited: 12 -irg: COND_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n36" label: "Projb Gt 36" info1: "Proj 36 + mode: b + visited: 12 + irg: COND_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 32 + 0: Cmp 35 + Private Attributes: +" +color: yellow} edge: {sourcename: "n36" targetname: "n35" label: "0" class:1 priority:50} -node: {title: "n35" label: "Cmp 35" info1: "mode: T -visited: 12 -irg: COND_EXAMPLE_main -arity: 2 -"} +node: {title: "n35" label: "Cmp 35" info1: "Cmp 35 + mode: T + visited: 12 + irg: COND_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 32 + 0: Proj 33 + 1: 0x2 34 + Private Attributes: +" +} edge: {sourcename: "n35" targetname: "n33" label: "0" class:1 priority:50} edge: {sourcename: "n35" targetname: "n34" label: "1" class:16 priority:10} -node: {title: "n33" label: "ProjIs 0 33" info1: "mode: Is -visited: 12 -irg: COND_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n33" label: "ProjIs 0 33" info1: "Proj 33 + mode: Is + visited: 12 + irg: COND_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 32 + 0: Proj 30 + Private Attributes: +" +color: yellow} edge: {sourcename: "n33" targetname: "n30" label: "0" class:16 priority:10} } graph: { title: "n22" label: "Block 22" status:clustered color:yellow edge: {sourcename: "n22" targetname: "n26" label: "0" class:13 priority:60 color:red} -node: {title: "n29" label: "ProjM 1 29" info1: "mode: M -visited: 12 -irg: COND_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n29" label: "ProjM 1 29" info1: "Proj 29 + mode: M + visited: 12 + irg: COND_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 22 + 0: Start 23 + Private Attributes: +" +color: yellow} edge: {sourcename: "n29" targetname: "n23" label: "0" class:17 priority:10 color:blue} -node: {title: "n50" label: "0x1Is 50" info1: "mode: Is -visited: 12 -irg: COND_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n38" label: "0xAIs 38" info1: "mode: Is -visited: 12 -irg: COND_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n30" label: "ProjT 4 30" info1: "mode: T -visited: 12 -irg: COND_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n50" label: "0x1Is 50" info1: "0x1 50 + mode: Is + visited: 12 + irg: COND_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 22 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n38" label: "0xAIs 38" info1: "0xA 38 + mode: Is + visited: 12 + irg: COND_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 22 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n30" label: "ProjT 4 30" info1: "Proj 30 + mode: T + visited: 12 + irg: COND_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 22 + 0: Start 23 + Private Attributes: +" +color: yellow} edge: {sourcename: "n30" targetname: "n23" label: "0" class:1 priority:50} -node: {title: "n34" label: "0x2Is 34" info1: "mode: Is -visited: 12 -irg: COND_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n43" label: "0x0Is 43" info1: "mode: Is -visited: 12 -irg: COND_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n26" label: "ProjX 0 26" info1: "mode: X -visited: 12 -irg: COND_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n34" label: "0x2Is 34" info1: "0x2 34 + mode: Is + visited: 12 + irg: COND_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 22 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n43" label: "0x0Is 43" info1: "0x0 43 + mode: Is + visited: 12 + irg: COND_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 22 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n26" label: "ProjX 0 26" info1: "Proj 26 + mode: X + visited: 12 + irg: COND_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 22 + 0: Start 23 + Private Attributes: +" +color: yellow} edge: {sourcename: "n26" targetname: "n23" label: "0" class:13 priority:60 color:red} -node: {title: "n23" label: "Start 23" info1: "mode: T -visited: 12 -irg: COND_EXAMPLE_main -arity: 0 -start of method of type main - param 0 type: int -"color: blue} +node: {title: "n23" label: "Start 23" info1: "Start 23 + mode: T + visited: 12 + irg: COND_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 22 + Private Attributes: + start of method of type main + param 0 type: int +" +color: blue} } } diff --git a/testprograms/ref-results/CONST_EVAL_EXAMPLE_main.vcg b/testprograms/ref-results/CONST_EVAL_EXAMPLE_main.vcg index 4a50d3ee3..48e080f44 100644 --- a/testprograms/ref-results/CONST_EVAL_EXAMPLE_main.vcg +++ b/testprograms/ref-results/CONST_EVAL_EXAMPLE_main.vcg @@ -55,23 +55,36 @@ colorentry 125: 255 250 250 graph: { title: "g31" label: "CONST_EVAL_EXAMPLE_main" status:clustered color:white graph: { title: "n20" label: "Block 20" status:clustered color:yellow edge: {sourcename: "n20" targetname: "n46" label: "0" class:13 priority:60 color:red} -node: {title: "n47" label: "End 47" info1: "mode: X -visited: 7 -irg: CONST_EVAL_EXAMPLE_main -arity: 0 -"color: blue} +node: {title: "n47" label: "End 47" info1: "End 47 + mode: X + visited: 7 + irg: CONST_EVAL_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 20 + Private Attributes: +" +color: blue} } graph: { title: "n32" label: "Block 32" status:clustered color:yellow edge: {sourcename: "n32" targetname: "n26" label: "0" class:13 priority:60 color:red} -node: {title: "n46" label: "Return 46" 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 -"} +node: {title: "n46" label: "Return 46" info1: "Return 46 + mode: X + visited: 7 + irg: CONST_EVAL_EXAMPLE_main + arity: 3 + pred nodes: + -1: Block 32 + 0: Proj 29 + 1: 0xC 39 + 2: 0xC 39 + Private Attributes: + return in method of type main + res 0 type: int + res 1 type: int +" +} edge: {sourcename: "n46" targetname: "n29" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n46" targetname: "n39" label: "1" class:16 priority:10} edge: {sourcename: "n46" targetname: "n39" label: "2" class:16 priority:10} @@ -79,30 +92,52 @@ edge: {sourcename: "n46" targetname: "n39" label: "2" class:16 priority:10} graph: { title: "n22" label: "Block 22" status:clustered color:yellow edge: {sourcename: "n22" targetname: "n26" label: "0" class:13 priority:60 color:red} -node: {title: "n29" label: "ProjM 1 29" info1: "mode: M -visited: 7 -irg: CONST_EVAL_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n29" label: "ProjM 1 29" info1: "Proj 29 + mode: M + visited: 7 + irg: CONST_EVAL_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 22 + 0: Start 23 + Private Attributes: +" +color: yellow} edge: {sourcename: "n29" targetname: "n23" label: "0" class:17 priority:10 color:blue} -node: {title: "n39" label: "0xCIs 39" info1: "mode: Is -visited: 7 -irg: CONST_EVAL_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n26" label: "ProjX 0 26" info1: "mode: X -visited: 7 -irg: CONST_EVAL_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n39" label: "0xCIs 39" info1: "0xC 39 + mode: Is + visited: 7 + irg: CONST_EVAL_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 22 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n26" label: "ProjX 0 26" info1: "Proj 26 + mode: X + visited: 7 + irg: CONST_EVAL_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 22 + 0: Start 23 + Private Attributes: +" +color: yellow} edge: {sourcename: "n26" targetname: "n23" label: "0" class:13 priority:60 color:red} -node: {title: "n23" label: "Start 23" info1: "mode: T -visited: 7 -irg: CONST_EVAL_EXAMPLE_main -arity: 0 -start of method of type main -"color: blue} +node: {title: "n23" label: "Start 23" info1: "Start 23 + mode: T + visited: 7 + irg: CONST_EVAL_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 22 + Private Attributes: + start of method of type main +" +color: blue} } } diff --git a/testprograms/ref-results/DEAD_BLOCK_main-cfg.vcg b/testprograms/ref-results/DEAD_BLOCK_main-cfg.vcg index 1470698d2..7ae03b3ca 100644 --- a/testprograms/ref-results/DEAD_BLOCK_main-cfg.vcg +++ b/testprograms/ref-results/DEAD_BLOCK_main-cfg.vcg @@ -61,9 +61,15 @@ edge: { sourcename: "n32" targetname: "n22"} node: {title: "n22" label: "Start Block n22" info1:"arity: 1 " color:blue } edge: { sourcename: "n22" targetname: "n22"} -node: {title: "n61" label: "Bad 61" info1: "mode: T -visited: 0 -irg: DEAD_BLOCK_main -arity: 0 -"} +node: {title: "n61" label: "Bad 61" info1: "Bad 61 + mode: T + visited: 0 + irg: DEAD_BLOCK_main + arity: 0 + pred nodes: + -1: Block 22 + Private Attributes: + pinned state: op_pin_state_pinned +" +} } diff --git a/testprograms/ref-results/DEAD_BLOCK_main.vcg b/testprograms/ref-results/DEAD_BLOCK_main.vcg index 3282197a3..f3bb3b917 100644 --- a/testprograms/ref-results/DEAD_BLOCK_main.vcg +++ b/testprograms/ref-results/DEAD_BLOCK_main.vcg @@ -55,52 +55,86 @@ colorentry 125: 255 250 250 graph: { title: "g31" label: "DEAD_BLOCK_main" status:clustered color:white graph: { title: "n20" label: "Block 20" status:clustered color:yellow edge: {sourcename: "n20" targetname: "n51" label: "0" class:13 priority:60 color:red} -node: {title: "n60" label: "End 60" info1: "mode: X -visited: 12 -irg: DEAD_BLOCK_main -arity: 0 -"color: blue} +node: {title: "n60" label: "End 60" info1: "End 60 + mode: X + visited: 12 + irg: DEAD_BLOCK_main + arity: 0 + pred nodes: + -1: Block 20 + Private Attributes: +" +color: blue} } graph: { title: "n32" label: "Block 32" status:clustered color:yellow edge: {sourcename: "n32" targetname: "n26" label: "0" class:13 priority:60 color:red} -node: {title: "n51" label: "Return 51" info1: "mode: X -visited: 12 -irg: DEAD_BLOCK_main -arity: 2 -return in method of type main - res 0 type: int -"} +node: {title: "n51" label: "Return 51" info1: "Return 51 + mode: X + visited: 12 + irg: DEAD_BLOCK_main + arity: 2 + pred nodes: + -1: Block 32 + 0: Proj 29 + 1: 0x2 34 + Private Attributes: + return in method of type main + res 0 type: int +" +} edge: {sourcename: "n51" targetname: "n29" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n51" targetname: "n34" label: "1" class:16 priority:10} } graph: { title: "n22" label: "Block 22" status:clustered color:yellow edge: {sourcename: "n22" targetname: "n26" label: "0" class:13 priority:60 color:red} -node: {title: "n29" label: "ProjM 1 29" info1: "mode: M -visited: 12 -irg: DEAD_BLOCK_main -arity: 1 -"color: yellow} +node: {title: "n29" label: "ProjM 1 29" info1: "Proj 29 + mode: M + visited: 12 + irg: DEAD_BLOCK_main + arity: 1 + pred nodes: + -1: Block 22 + 0: Start 23 + Private Attributes: +" +color: yellow} edge: {sourcename: "n29" targetname: "n23" label: "0" class:17 priority:10 color:blue} -node: {title: "n34" label: "0x2Is 34" info1: "mode: Is -visited: 12 -irg: DEAD_BLOCK_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n26" label: "ProjX 0 26" info1: "mode: X -visited: 12 -irg: DEAD_BLOCK_main -arity: 1 -"color: yellow} +node: {title: "n34" label: "0x2Is 34" info1: "0x2 34 + mode: Is + visited: 12 + irg: DEAD_BLOCK_main + arity: 0 + pred nodes: + -1: Block 22 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n26" label: "ProjX 0 26" info1: "Proj 26 + mode: X + visited: 12 + irg: DEAD_BLOCK_main + arity: 1 + pred nodes: + -1: Block 22 + 0: Start 23 + Private Attributes: +" +color: yellow} edge: {sourcename: "n26" targetname: "n23" label: "0" class:13 priority:60 color:red} -node: {title: "n23" label: "Start 23" info1: "mode: T -visited: 12 -irg: DEAD_BLOCK_main -arity: 0 -start of method of type main -"color: blue} +node: {title: "n23" label: "Start 23" info1: "Start 23 + mode: T + visited: 12 + irg: DEAD_BLOCK_main + arity: 0 + pred nodes: + -1: Block 22 + Private Attributes: + start of method of type main +" +color: blue} } } diff --git a/testprograms/ref-results/EMPTY_main.vcg b/testprograms/ref-results/EMPTY_main.vcg index 60479bad7..52b42ecd1 100644 --- a/testprograms/ref-results/EMPTY_main.vcg +++ b/testprograms/ref-results/EMPTY_main.vcg @@ -55,44 +55,72 @@ colorentry 125: 255 250 250 graph: { title: "g29" label: "EMPTY_main" status:clustered color:white graph: { title: "n18" label: "Block 18" status:clustered color:yellow edge: {sourcename: "n18" targetname: "n32" label: "0" class:13 priority:60 color:red} -node: {title: "n19" label: "End 19" info1: "mode: X -visited: 4 -irg: EMPTY_main -arity: 0 -"color: blue} +node: {title: "n19" label: "End 19" info1: "End 19 + mode: X + visited: 4 + irg: EMPTY_main + arity: 0 + pred nodes: + -1: Block 18 + Private Attributes: +" +color: blue} } graph: { title: "n30" label: "Block 30" status:clustered color:yellow edge: {sourcename: "n30" targetname: "n24" label: "0" class:13 priority:60 color:red} -node: {title: "n32" label: "Return 32" info1: "mode: X -visited: 4 -irg: EMPTY_main -arity: 1 -return in method of type EMPTY_main -"} +node: {title: "n32" label: "Return 32" info1: "Return 32 + mode: X + visited: 4 + irg: EMPTY_main + arity: 1 + pred nodes: + -1: Block 30 + 0: Proj 27 + Private Attributes: + return in method of type EMPTY_main +" +} edge: {sourcename: "n32" targetname: "n27" label: "0" class:17 priority:10 color:blue} } graph: { title: "n20" label: "Block 20" status:clustered color:yellow edge: {sourcename: "n20" targetname: "n24" label: "0" class:13 priority:60 color:red} -node: {title: "n27" label: "ProjM 1 27" info1: "mode: M -visited: 4 -irg: EMPTY_main -arity: 1 -"color: yellow} +node: {title: "n27" label: "ProjM 1 27" info1: "Proj 27 + mode: M + visited: 4 + irg: EMPTY_main + arity: 1 + pred nodes: + -1: Block 20 + 0: Start 21 + Private Attributes: +" +color: yellow} edge: {sourcename: "n27" targetname: "n21" label: "0" class:17 priority:10 color:blue} -node: {title: "n24" label: "ProjX 0 24" info1: "mode: X -visited: 4 -irg: EMPTY_main -arity: 1 -"color: yellow} +node: {title: "n24" label: "ProjX 0 24" info1: "Proj 24 + mode: X + visited: 4 + irg: EMPTY_main + arity: 1 + pred nodes: + -1: Block 20 + 0: Start 21 + Private Attributes: +" +color: yellow} edge: {sourcename: "n24" targetname: "n21" label: "0" class:13 priority:60 color:red} -node: {title: "n21" label: "Start 21" info1: "mode: T -visited: 4 -irg: EMPTY_main -arity: 0 -start of method of type EMPTY_main -"color: blue} +node: {title: "n21" label: "Start 21" info1: "Start 21 + mode: T + visited: 4 + irg: EMPTY_main + arity: 0 + pred nodes: + -1: Block 20 + Private Attributes: + start of method of type EMPTY_main +" +color: blue} } } diff --git a/testprograms/ref-results/ENDLESS_LOOP_EXAMPLE_main.vcg b/testprograms/ref-results/ENDLESS_LOOP_EXAMPLE_main.vcg index 237d4963a..b9524878f 100644 --- a/testprograms/ref-results/ENDLESS_LOOP_EXAMPLE_main.vcg +++ b/testprograms/ref-results/ENDLESS_LOOP_EXAMPLE_main.vcg @@ -56,120 +56,223 @@ graph: { title: "g31" label: "ENDLESS_LOOP_EXAMPLE_main" status:clustered color: graph: { title: "n36" label: "Block 36" status:clustered color:yellow edge: {sourcename: "n36" targetname: "n35" label: "0" class:13 priority:60 color:red} edge: {sourcename: "n36" targetname: "n47" label: "1" class:13 priority:60 color:red} -node: {title: "n66" label: "PhiM 66" info1: "mode: M -visited: 22 -irg: ENDLESS_LOOP_EXAMPLE_main -arity: 2 backedges: -"color: green} +node: {title: "n66" label: "PhiM 66" info1: "Phi 66 + mode: M + visited: 22 + irg: ENDLESS_LOOP_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 36 + 0: Proj 29 + 1: Proj 55 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n66" targetname: "n29" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n66" targetname: "n55" label: "1" class:17 priority:10 color:blue} -node: {title: "n55" label: "ProjM 0 55" info1: "mode: M -visited: 22 -irg: ENDLESS_LOOP_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n55" label: "ProjM 0 55" info1: "Proj 55 + mode: M + visited: 22 + irg: ENDLESS_LOOP_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 36 + 0: Store 53 + Private Attributes: +" +color: yellow} edge: {sourcename: "n55" targetname: "n53" label: "0" class:17 priority:10 color:blue} -node: {title: "n53" label: "Store 53" info1: "mode: T -visited: 22 -irg: ENDLESS_LOOP_EXAMPLE_main -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n53" label: "Store 53" info1: "Store 53 + mode: T + visited: 22 + irg: ENDLESS_LOOP_EXAMPLE_main + arity: 3 + pred nodes: + -1: Block 36 + 0: Phi 66 + 1: Sel 52 + 2: Phi 62 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n53" targetname: "n66" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n53" targetname: "n52" label: "1" class:1 priority:50} edge: {sourcename: "n53" targetname: "n62" label: "2" class:1 priority:50} -node: {title: "n52" label: "Sel VAR_A 52" info1: "mode: P -visited: 22 -irg: ENDLESS_LOOP_EXAMPLE_main -arity: 2 -Selecting entity of type int - from entity of type GlobalType -"} +node: {title: "n52" label: "Sel VAR_A 52" info1: "Sel 52 + mode: P + visited: 22 + irg: ENDLESS_LOOP_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 36 + 0: Phi 66 + 1: Proj 28 + Private Attributes: + Selecting entity of type int + from entity of type GlobalType +" +} edge: {sourcename: "n52" targetname: "n66" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n52" targetname: "n28" label: "1" class:16 priority:10} -node: {title: "n62" label: "PhiIs 62" info1: "mode: Is -visited: 22 -irg: ENDLESS_LOOP_EXAMPLE_main -arity: 2 backedges: -"color: green} +node: {title: "n62" label: "PhiIs 62" info1: "Phi 62 + mode: Is + visited: 22 + irg: ENDLESS_LOOP_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 36 + 0: Proj 33 + 1: Phi 63 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n62" targetname: "n33" label: "0" class:16 priority:10} edge: {sourcename: "n62" targetname: "n63" label: "1" class:1 priority:50} -node: {title: "n63" label: "PhiIs 63" info1: "mode: Is -visited: 22 -irg: ENDLESS_LOOP_EXAMPLE_main -arity: 2 backedges: -"color: green} +node: {title: "n63" label: "PhiIs 63" info1: "Phi 63 + mode: Is + visited: 22 + irg: ENDLESS_LOOP_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 36 + 0: 0x1 34 + 1: Phi 62 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n63" targetname: "n34" label: "0" class:16 priority:10} edge: {sourcename: "n63" targetname: "n62" label: "1" class:1 priority:50} -node: {title: "n47" label: "Jmp 47" info1: "mode: X -visited: 22 -irg: ENDLESS_LOOP_EXAMPLE_main -arity: 0 -"} +node: {title: "n47" label: "Jmp 47" info1: "Jmp 47 + mode: X + visited: 22 + irg: ENDLESS_LOOP_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 36 + Private Attributes: +" +} } graph: { title: "n32" label: "Block 32" status:clustered color:yellow edge: {sourcename: "n32" targetname: "n26" label: "0" class:13 priority:60 color:red} -node: {title: "n33" label: "ProjIs 0 33" info1: "mode: Is -visited: 22 -irg: ENDLESS_LOOP_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n33" label: "ProjIs 0 33" info1: "Proj 33 + mode: Is + visited: 22 + irg: ENDLESS_LOOP_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 32 + 0: Proj 30 + Private Attributes: +" +color: yellow} edge: {sourcename: "n33" targetname: "n30" label: "0" class:16 priority:10} -node: {title: "n35" label: "Jmp 35" info1: "mode: X -visited: 22 -irg: ENDLESS_LOOP_EXAMPLE_main -arity: 0 -"} +node: {title: "n35" label: "Jmp 35" info1: "Jmp 35 + mode: X + visited: 22 + irg: ENDLESS_LOOP_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 32 + Private Attributes: +" +} } graph: { title: "n22" label: "Block 22" status:clustered color:yellow edge: {sourcename: "n22" targetname: "n26" label: "0" class:13 priority:60 color:red} -node: {title: "n29" label: "ProjM 1 29" info1: "mode: M -visited: 22 -irg: ENDLESS_LOOP_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n29" label: "ProjM 1 29" info1: "Proj 29 + mode: M + visited: 22 + irg: ENDLESS_LOOP_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 22 + 0: Start 23 + Private Attributes: +" +color: yellow} edge: {sourcename: "n29" targetname: "n23" label: "0" class:17 priority:10 color:blue} -node: {title: "n28" label: "ProjP 3 28" info1: "mode: P -visited: 22 -irg: ENDLESS_LOOP_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n28" label: "ProjP 3 28" info1: "Proj 28 + mode: P + visited: 22 + irg: ENDLESS_LOOP_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 22 + 0: Start 23 + Private Attributes: +" +color: yellow} edge: {sourcename: "n28" targetname: "n23" label: "0" class:1 priority:50} -node: {title: "n30" label: "ProjT 4 30" info1: "mode: T -visited: 22 -irg: ENDLESS_LOOP_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n30" label: "ProjT 4 30" info1: "Proj 30 + mode: T + visited: 22 + irg: ENDLESS_LOOP_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 22 + 0: Start 23 + Private Attributes: +" +color: yellow} edge: {sourcename: "n30" targetname: "n23" label: "0" class:1 priority:50} -node: {title: "n34" label: "0x1Is 34" info1: "mode: Is -visited: 22 -irg: ENDLESS_LOOP_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n26" label: "ProjX 0 26" info1: "mode: X -visited: 22 -irg: ENDLESS_LOOP_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n34" label: "0x1Is 34" info1: "0x1 34 + mode: Is + visited: 22 + irg: ENDLESS_LOOP_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 22 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n26" label: "ProjX 0 26" info1: "Proj 26 + mode: X + visited: 22 + irg: ENDLESS_LOOP_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 22 + 0: Start 23 + Private Attributes: +" +color: yellow} edge: {sourcename: "n26" targetname: "n23" label: "0" class:13 priority:60 color:red} -node: {title: "n23" label: "Start 23" info1: "mode: T -visited: 22 -irg: ENDLESS_LOOP_EXAMPLE_main -arity: 0 -start of method of type main_tp - param 0 type: int -"color: blue} +node: {title: "n23" label: "Start 23" info1: "Start 23 + mode: T + visited: 22 + irg: ENDLESS_LOOP_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 22 + Private Attributes: + start of method of type main_tp + param 0 type: int +" +color: blue} } graph: { title: "n20" label: "Block 20" status:clustered color:yellow -node: {title: "n76" label: "End 76" info1: "mode: X -visited: 22 -irg: ENDLESS_LOOP_EXAMPLE_main -arity: 2 -"color: blue} +node: {title: "n76" label: "End 76" info1: "End 76 + mode: X + visited: 22 + irg: ENDLESS_LOOP_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 20 + 0: Block 36 + 1: Phi 66 + Private Attributes: +" +color: blue} edge: {sourcename: "n76" targetname: "n36" label: "0" class:13 priority:60 color:red} edge: {sourcename: "n76" targetname: "n66" label: "1" } } diff --git a/testprograms/ref-results/FLOAT_EXAMPLE_main.vcg b/testprograms/ref-results/FLOAT_EXAMPLE_main.vcg index 5872bcab2..fa4461a1b 100644 --- a/testprograms/ref-results/FLOAT_EXAMPLE_main.vcg +++ b/testprograms/ref-results/FLOAT_EXAMPLE_main.vcg @@ -55,52 +55,86 @@ colorentry 125: 255 250 250 graph: { title: "g30" label: "FLOAT_EXAMPLE_main" status:clustered color:white graph: { title: "n19" label: "Block 19" status:clustered color:yellow edge: {sourcename: "n19" targetname: "n34" label: "0" class:13 priority:60 color:red} -node: {title: "n20" label: "End 20" info1: "mode: X -visited: 4 -irg: FLOAT_EXAMPLE_main -arity: 0 -"color: blue} +node: {title: "n20" label: "End 20" info1: "End 20 + mode: X + visited: 4 + irg: FLOAT_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 19 + Private Attributes: +" +color: blue} } graph: { title: "n31" label: "Block 31" status:clustered color:yellow edge: {sourcename: "n31" targetname: "n25" label: "0" class:13 priority:60 color:red} -node: {title: "n34" label: "Return 34" info1: "mode: X -visited: 4 -irg: FLOAT_EXAMPLE_main -arity: 2 -return in method of type FLOAT_EXAMPLE_main - res 0 type: dbl -"} +node: {title: "n34" label: "Return 34" info1: "Return 34 + mode: X + visited: 4 + irg: FLOAT_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 31 + 0: Proj 28 + 1: 1.234567890123456716800000000000E+19 32 + Private Attributes: + return in method of type FLOAT_EXAMPLE_main + res 0 type: dbl +" +} edge: {sourcename: "n34" targetname: "n28" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n34" targetname: "n32" label: "1" class:16 priority:10} } graph: { title: "n21" label: "Block 21" status:clustered color:yellow edge: {sourcename: "n21" targetname: "n25" label: "0" class:13 priority:60 color:red} -node: {title: "n28" label: "ProjM 1 28" info1: "mode: M -visited: 4 -irg: FLOAT_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n28" label: "ProjM 1 28" info1: "Proj 28 + mode: M + visited: 4 + irg: FLOAT_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 21 + 0: Start 22 + Private Attributes: +" +color: yellow} edge: {sourcename: "n28" targetname: "n22" label: "0" class:17 priority:10 color:blue} -node: {title: "n32" label: "1.234567890123456716800000000000E+19D 32" info1: "mode: D -visited: 4 -irg: FLOAT_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n25" label: "ProjX 0 25" info1: "mode: X -visited: 4 -irg: FLOAT_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n32" label: "1.234567890123456716800000000000E+19D 32" info1: "1.234567890123456716800000000000E+19 32 + mode: D + visited: 4 + irg: FLOAT_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 21 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n25" label: "ProjX 0 25" info1: "Proj 25 + mode: X + visited: 4 + irg: FLOAT_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 21 + 0: Start 22 + Private Attributes: +" +color: yellow} edge: {sourcename: "n25" targetname: "n22" label: "0" class:13 priority:60 color:red} -node: {title: "n22" label: "Start 22" info1: "mode: T -visited: 4 -irg: FLOAT_EXAMPLE_main -arity: 0 -start of method of type FLOAT_EXAMPLE_main -"color: blue} +node: {title: "n22" label: "Start 22" info1: "Start 22 + mode: T + visited: 4 + irg: FLOAT_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 21 + Private Attributes: + start of method of type FLOAT_EXAMPLE_main +" +color: blue} } } diff --git a/testprograms/ref-results/GLOBAL_CSE_EXAMPLE_main.vcg b/testprograms/ref-results/GLOBAL_CSE_EXAMPLE_main.vcg index f531d4a13..d12410da1 100644 --- a/testprograms/ref-results/GLOBAL_CSE_EXAMPLE_main.vcg +++ b/testprograms/ref-results/GLOBAL_CSE_EXAMPLE_main.vcg @@ -55,165 +55,286 @@ colorentry 125: 255 250 250 graph: { title: "g30" label: "GLOBAL_CSE_EXAMPLE_main" status:clustered color:white graph: { title: "n19" label: "Block 19" status:clustered color:yellow edge: {sourcename: "n19" targetname: "n64" label: "0" class:13 priority:60 color:red} -node: {title: "n65" label: "End 65" info1: "mode: X -visited: 15 -irg: GLOBAL_CSE_EXAMPLE_main -arity: 0 -"color: blue} +node: {title: "n65" label: "End 65" info1: "End 65 + mode: X + visited: 15 + irg: GLOBAL_CSE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 19 + Private Attributes: +" +color: blue} } -node: {title: "n28" label: "ProjM 1 28" info1: "mode: M -visited: 15 -irg: GLOBAL_CSE_EXAMPLE_main -node was pinned in Block 21 -arity: 1 -"color: yellow} +node: {title: "n28" label: "ProjM 1 28" info1: "Proj 28 + mode: M + visited: 15 + irg: GLOBAL_CSE_EXAMPLE_main + node was pinned in Block 21 + arity: 1 + pred nodes: + -1: Block 21 + 0: Start 22 + Private Attributes: +" +color: yellow} edge: {sourcename: "n28" targetname: "n22" label: "0" class:17 priority:10 color:blue} -node: {title: "n50" label: "AddIs 50" info1: "mode: Is -visited: 15 -irg: GLOBAL_CSE_EXAMPLE_main -node was pinned in Block 45 -arity: 2 -"} +node: {title: "n50" label: "AddIs 50" info1: "Add 50 + mode: Is + visited: 15 + irg: GLOBAL_CSE_EXAMPLE_main + node was pinned in Block 45 + arity: 2 + pred nodes: + -1: Block 45 + 0: Sub 42 + 1: 0x5 49 + Private Attributes: +" +} edge: {sourcename: "n50" targetname: "n42" label: "0" class:16 priority:10} edge: {sourcename: "n50" targetname: "n49" label: "1" class:16 priority:10} -node: {title: "n49" label: "0x5Is 49" info1: "mode: Is -visited: 15 -irg: GLOBAL_CSE_EXAMPLE_main -node was pinned in Block 21 -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n42" label: "SubIs 42" info1: "mode: Is -visited: 15 -irg: GLOBAL_CSE_EXAMPLE_main -node was pinned in Block 39 -arity: 2 -"} +node: {title: "n49" label: "0x5Is 49" info1: "0x5 49 + mode: Is + visited: 15 + irg: GLOBAL_CSE_EXAMPLE_main + node was pinned in Block 21 + arity: 0 + pred nodes: + -1: Block 21 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n42" label: "SubIs 42" info1: "Sub 42 + mode: Is + visited: 15 + irg: GLOBAL_CSE_EXAMPLE_main + node was pinned in Block 39 + arity: 2 + pred nodes: + -1: Block 39 + 0: Proj 32 + 1: 0x3 40 + Private Attributes: +" +} edge: {sourcename: "n42" targetname: "n32" label: "0" class:16 priority:10} edge: {sourcename: "n42" targetname: "n40" label: "1" class:16 priority:10} -node: {title: "n40" label: "0x3Is 40" info1: "mode: Is -visited: 15 -irg: GLOBAL_CSE_EXAMPLE_main -node was pinned in Block 21 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n40" label: "0x3Is 40" info1: "0x3 40 + mode: Is + visited: 15 + irg: GLOBAL_CSE_EXAMPLE_main + node was pinned in Block 21 + arity: 0 + pred nodes: + -1: Block 21 + Private Attributes: + Const of type type_unknown +" +color: yellow} graph: { title: "n53" label: "Block 53" status:clustered color:yellow edge: {sourcename: "n53" targetname: "n52" label: "0" class:13 priority:60 color:red} edge: {sourcename: "n53" targetname: "n44" label: "1" class:13 priority:60 color:red} -node: {title: "n64" label: "Return 64" 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 -"} +node: {title: "n64" label: "Return 64" info1: "Return 64 + mode: X + visited: 15 + irg: GLOBAL_CSE_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 53 + 0: Proj 28 + 1: Phi 55 + Private Attributes: + return in method of type GLOBAL_CSE_EXAMPLE_main + res 0 type: int +" +} edge: {sourcename: "n64" targetname: "n28" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n64" targetname: "n55" label: "1" class:1 priority:50} -node: {title: "n55" label: "PhiIs 55" info1: "mode: Is -visited: 15 -irg: GLOBAL_CSE_EXAMPLE_main -arity: 2 backedges: -"color: green} +node: {title: "n55" label: "PhiIs 55" info1: "Phi 55 + mode: Is + visited: 15 + irg: GLOBAL_CSE_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 53 + 0: Add 50 + 1: Sub 42 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n55" targetname: "n50" label: "0" class:16 priority:10} edge: {sourcename: "n55" targetname: "n42" label: "1" class:16 priority:10} } graph: { title: "n45" label: "Block 45" status:clustered color:yellow edge: {sourcename: "n45" targetname: "n37" label: "0" class:13 priority:60 color:red} -node: {title: "n52" label: "Jmp 52" info1: "mode: X -visited: 15 -irg: GLOBAL_CSE_EXAMPLE_main -arity: 0 -"} +node: {title: "n52" label: "Jmp 52" info1: "Jmp 52 + mode: X + visited: 15 + irg: GLOBAL_CSE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 45 + Private Attributes: +" +} } -node: {title: "n37" label: "ProjX 0 37" info1: "mode: X -visited: 15 -irg: GLOBAL_CSE_EXAMPLE_main -node was pinned in Block 31 -arity: 1 -"color: yellow} +node: {title: "n37" label: "ProjX 0 37" info1: "Proj 37 + mode: X + visited: 15 + irg: GLOBAL_CSE_EXAMPLE_main + node was pinned in Block 31 + arity: 1 + pred nodes: + -1: Block 31 + 0: Cond 36 + Private Attributes: +" +color: yellow} edge: {sourcename: "n37" targetname: "n36" label: "0" class:13 priority:60 color:red} graph: { title: "n39" label: "Block 39" status:clustered color:yellow edge: {sourcename: "n39" targetname: "n38" label: "0" class:13 priority:60 color:red} -node: {title: "n44" label: "Jmp 44" info1: "mode: X -visited: 15 -irg: GLOBAL_CSE_EXAMPLE_main -arity: 0 -"} +node: {title: "n44" label: "Jmp 44" info1: "Jmp 44 + mode: X + visited: 15 + irg: GLOBAL_CSE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 39 + Private Attributes: +" +} } -node: {title: "n38" label: "ProjX 1 38" info1: "mode: X -visited: 15 -irg: GLOBAL_CSE_EXAMPLE_main -node was pinned in Block 31 -arity: 1 -"color: yellow} +node: {title: "n38" label: "ProjX 1 38" info1: "Proj 38 + mode: X + visited: 15 + irg: GLOBAL_CSE_EXAMPLE_main + node was pinned in Block 31 + arity: 1 + pred nodes: + -1: Block 31 + 0: Cond 36 + Private Attributes: +" +color: yellow} edge: {sourcename: "n38" targetname: "n36" label: "0" class:13 priority:60 color:red} -node: {title: "n35" label: "Projb Eq 35" info1: "mode: b -visited: 15 -irg: GLOBAL_CSE_EXAMPLE_main -node was pinned in Block 31 -arity: 1 -"color: yellow} +node: {title: "n35" label: "Projb Eq 35" info1: "Proj 35 + mode: b + visited: 15 + irg: GLOBAL_CSE_EXAMPLE_main + node was pinned in Block 31 + arity: 1 + pred nodes: + -1: Block 31 + 0: Cmp 34 + Private Attributes: +" +color: yellow} edge: {sourcename: "n35" targetname: "n34" label: "0" class:1 priority:50} -node: {title: "n34" label: "Cmp 34" info1: "mode: T -visited: 15 -irg: GLOBAL_CSE_EXAMPLE_main -node was pinned in Block 31 -arity: 2 -"} +node: {title: "n34" label: "Cmp 34" info1: "Cmp 34 + mode: T + visited: 15 + irg: GLOBAL_CSE_EXAMPLE_main + node was pinned in Block 31 + arity: 2 + pred nodes: + -1: Block 31 + 0: Proj 32 + 1: 0x2 33 + Private Attributes: +" +} edge: {sourcename: "n34" targetname: "n32" label: "0" class:1 priority:50} edge: {sourcename: "n34" targetname: "n33" label: "1" class:16 priority:10} -node: {title: "n32" label: "ProjIs 0 32" info1: "mode: Is -visited: 15 -irg: GLOBAL_CSE_EXAMPLE_main -node was pinned in Block 31 -arity: 1 -"color: yellow} +node: {title: "n32" label: "ProjIs 0 32" info1: "Proj 32 + mode: Is + visited: 15 + irg: GLOBAL_CSE_EXAMPLE_main + node was pinned in Block 31 + arity: 1 + pred nodes: + -1: Block 31 + 0: Proj 29 + Private Attributes: +" +color: yellow} edge: {sourcename: "n32" targetname: "n29" label: "0" class:16 priority:10} -node: {title: "n29" label: "ProjT 4 29" info1: "mode: T -visited: 15 -irg: GLOBAL_CSE_EXAMPLE_main -node was pinned in Block 21 -arity: 1 -"color: yellow} +node: {title: "n29" label: "ProjT 4 29" info1: "Proj 29 + mode: T + visited: 15 + irg: GLOBAL_CSE_EXAMPLE_main + node was pinned in Block 21 + arity: 1 + pred nodes: + -1: Block 21 + 0: Start 22 + Private Attributes: +" +color: yellow} edge: {sourcename: "n29" targetname: "n22" label: "0" class:1 priority:50} -node: {title: "n33" label: "0x2Is 33" info1: "mode: Is -visited: 15 -irg: GLOBAL_CSE_EXAMPLE_main -node was pinned in Block 21 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n33" label: "0x2Is 33" info1: "0x2 33 + mode: Is + visited: 15 + irg: GLOBAL_CSE_EXAMPLE_main + node was pinned in Block 21 + arity: 0 + pred nodes: + -1: Block 21 + Private Attributes: + Const of type type_unknown +" +color: yellow} graph: { title: "n31" label: "Block 31" status:clustered color:yellow edge: {sourcename: "n31" targetname: "n25" label: "0" class:13 priority:60 color:red} -node: {title: "n36" label: "Cond 36" info1: "mode: T -visited: 15 -irg: GLOBAL_CSE_EXAMPLE_main -arity: 1 -"} +node: {title: "n36" label: "Cond 36" info1: "Cond 36 + mode: T + visited: 15 + irg: GLOBAL_CSE_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 31 + 0: Proj 35 + Private Attributes: + condition kind: dense + default ProjNr: 0 +" +} edge: {sourcename: "n36" targetname: "n35" label: "0" class:1 priority:50} } -node: {title: "n25" label: "ProjX 0 25" info1: "mode: X -visited: 15 -irg: GLOBAL_CSE_EXAMPLE_main -node was pinned in Block 21 -arity: 1 -"color: yellow} +node: {title: "n25" label: "ProjX 0 25" info1: "Proj 25 + mode: X + visited: 15 + irg: GLOBAL_CSE_EXAMPLE_main + node was pinned in Block 21 + arity: 1 + pred nodes: + -1: Block 21 + 0: Start 22 + Private Attributes: +" +color: yellow} edge: {sourcename: "n25" targetname: "n22" label: "0" class:13 priority:60 color:red} graph: { title: "n21" label: "Block 21" status:clustered color:yellow edge: {sourcename: "n21" targetname: "n25" label: "0" class:13 priority:60 color:red} -node: {title: "n22" label: "Start 22" 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 -"color: blue} +node: {title: "n22" label: "Start 22" info1: "Start 22 + mode: T + visited: 15 + irg: GLOBAL_CSE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 21 + Private Attributes: + start of method of type GLOBAL_CSE_EXAMPLE_main + param 0 type: int +" +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 abab3fc00..0c6317317 100644 --- a/testprograms/ref-results/GLOBAL_VAR_main-pure-wtypes.vcg +++ b/testprograms/ref-results/GLOBAL_VAR_main-pure-wtypes.vcg @@ -52,99 +52,181 @@ colorentry 123: 255 220 220 colorentry 124: 255 240 240 colorentry 125: 255 250 250 -node: {title: "n22" label: "Block 22" info1: "mode: BB -visited: 11 -irg: GLOBAL_VAR_main -arity: 1 backedges: -"color: lightyellow} +node: {title: "n22" label: "Block 22" info1: "Block 22 + mode: BB + visited: 11 + irg: GLOBAL_VAR_main + arity: 1 + pred nodes: + 0: Proj 26 + Private Attributes: + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n22" targetname: "n26" label: "0" class:13 priority:60 color:red} -node: {title: "n23" label: "Start 23" info1: "mode: T -visited: 11 -irg: GLOBAL_VAR_main -arity: 0 -start of method of type GLOBAL_VAR_main -"color: blue} +node: {title: "n23" label: "Start 23" info1: "Start 23 + mode: T + visited: 11 + irg: GLOBAL_VAR_main + arity: 0 + pred nodes: + -1: Block 22 + Private Attributes: + start of method of type GLOBAL_VAR_main +" +color: blue} edge: { sourcename: "n23" targetname: "n22" class:2 priority:50 linestyle:dotted} -node: {title: "n26" label: "ProjX 0 26" info1: "mode: X -visited: 11 -irg: GLOBAL_VAR_main -arity: 1 -"color: yellow} +node: {title: "n26" label: "ProjX 0 26" info1: "Proj 26 + mode: X + visited: 11 + irg: GLOBAL_VAR_main + arity: 1 + pred nodes: + -1: Block 22 + 0: Start 23 + Private Attributes: +" +color: yellow} edge: {sourcename: "n26" targetname: "n23" label: "0" class:13 priority:60 color:red} edge: { sourcename: "n26" targetname: "n22" class:2 priority:50 linestyle:dotted} -node: {title: "n32" label: "Block 32" info1: "mode: BB -visited: 11 -irg: GLOBAL_VAR_main -arity: 1 backedges: -"color: lightyellow} +node: {title: "n32" label: "Block 32" info1: "Block 32 + mode: BB + visited: 11 + irg: GLOBAL_VAR_main + arity: 1 + pred nodes: + 0: Proj 26 + Private Attributes: + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n32" targetname: "n26" label: "0" class:13 priority:60 color:red} -node: {title: "n35" label: "0x2Is 35" info1: "mode: Is -visited: 11 -irg: GLOBAL_VAR_main -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n35" label: "0x2Is 35" info1: "0x2 35 + mode: Is + visited: 11 + irg: GLOBAL_VAR_main + arity: 0 + pred nodes: + -1: Block 22 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: { sourcename: "n35" targetname: "n22" class:2 priority:50 linestyle:dotted} -node: {title: "n28" label: "ProjP 3 28" info1: "mode: P -visited: 11 -irg: GLOBAL_VAR_main -arity: 1 -"color: yellow} +node: {title: "n28" label: "ProjP 3 28" info1: "Proj 28 + mode: P + visited: 11 + irg: GLOBAL_VAR_main + arity: 1 + pred nodes: + -1: Block 22 + 0: Start 23 + Private Attributes: +" +color: yellow} edge: {sourcename: "n28" targetname: "n23" label: "0" class:1 priority:50} edge: { sourcename: "n28" targetname: "n22" class:2 priority:50 linestyle:dotted} -node: {title: "n29" label: "ProjM 1 29" info1: "mode: M -visited: 11 -irg: GLOBAL_VAR_main -arity: 1 -"color: yellow} +node: {title: "n29" label: "ProjM 1 29" info1: "Proj 29 + mode: M + visited: 11 + irg: GLOBAL_VAR_main + arity: 1 + pred nodes: + -1: Block 22 + 0: Start 23 + Private Attributes: +" +color: yellow} edge: {sourcename: "n29" targetname: "n23" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n29" targetname: "n22" class:2 priority:50 linestyle:dotted} -node: {title: "n34" label: "Sel i 34" info1: "mode: P -visited: 11 -irg: GLOBAL_VAR_main -arity: 2 -Selecting entity of type int - from entity of type GlobalType -"} +node: {title: "n34" label: "Sel i 34" info1: "Sel 34 + mode: P + visited: 11 + irg: GLOBAL_VAR_main + arity: 2 + pred nodes: + -1: Block 32 + 0: Proj 29 + 1: Proj 28 + Private Attributes: + Selecting entity of type int + from entity of type GlobalType +" +} edge: {sourcename: "n34" targetname: "n29" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n34" targetname: "n28" label: "1" class:16 priority:10} edge: { sourcename: "n34" targetname: "n32" class:2 priority:50 linestyle:dotted} -node: {title: "n36" label: "Store 36" info1: "mode: T -visited: 11 -irg: GLOBAL_VAR_main -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n36" label: "Store 36" info1: "Store 36 + mode: T + visited: 11 + irg: GLOBAL_VAR_main + arity: 3 + pred nodes: + -1: Block 32 + 0: Proj 29 + 1: Sel 34 + 2: 0x2 35 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n36" targetname: "n29" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n36" targetname: "n34" label: "1" class:1 priority:50} edge: {sourcename: "n36" targetname: "n35" label: "2" class:16 priority:10} edge: { sourcename: "n36" targetname: "n32" class:2 priority:50 linestyle:dotted} -node: {title: "n38" label: "ProjM 0 38" info1: "mode: M -visited: 11 -irg: GLOBAL_VAR_main -arity: 1 -"color: yellow} +node: {title: "n38" label: "ProjM 0 38" info1: "Proj 38 + mode: M + visited: 11 + irg: GLOBAL_VAR_main + arity: 1 + pred nodes: + -1: Block 32 + 0: Store 36 + Private Attributes: +" +color: yellow} edge: {sourcename: "n38" targetname: "n36" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n38" targetname: "n32" 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 -"} +node: {title: "n39" label: "Return 39" info1: "Return 39 + mode: X + visited: 11 + irg: GLOBAL_VAR_main + arity: 1 + pred nodes: + -1: Block 32 + 0: Proj 38 + Private Attributes: + return in method of type GLOBAL_VAR_main +" +} edge: {sourcename: "n39" targetname: "n38" label: "0" class:14 priority:50 color:blue} edge: { sourcename: "n39" targetname: "n32" class:2 priority:50 linestyle:dotted} -node: {title: "n20" label: "Block 20" info1: "mode: BB -visited: 11 -irg: GLOBAL_VAR_main -arity: 1 backedges: -"color: lightyellow} +node: {title: "n20" label: "Block 20" info1: "Block 20 + mode: BB + visited: 11 + irg: GLOBAL_VAR_main + arity: 1 + pred nodes: + 0: Return 39 + Private Attributes: + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n20" targetname: "n39" label: "0" class:13 priority:60 color:red} -node: {title: "n41" label: "End 41" info1: "mode: X -visited: 11 -irg: GLOBAL_VAR_main -arity: 0 -"color: blue} +node: {title: "n41" label: "End 41" info1: "End 41 + mode: X + visited: 11 + irg: GLOBAL_VAR_main + arity: 0 + pred nodes: + -1: Block 20 + Private Attributes: +" +color: blue} edge: { sourcename: "n41" targetname: "n20" class:2 priority:50 linestyle:dotted} node: {title: "e18" label: "ent i" color: yellow info1: "entity i (18) @@ -189,14 +271,19 @@ node: {title: "e17" label: "ent GLOBAL_VAR_main" color: yellow } edge: { sourcename: "e17" targetname: "t15"class: 3 label: "type" color: red} edge: { sourcename: "e17" targetname: "n16"label: "value 0"} -node: {title: "n16" label: "SymC &GLOBAL_VAR_main 16" info1: "mode: P -visited: 1 -arity: 0 -kind: addr_ent -entity GlobalType.GLOBAL_VAR_main (17) +node: {title: "n16" label: "SymC &GLOBAL_VAR_main 16" info1: "SymC &GLOBAL_VAR_main 16 + mode: P + visited: 1 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity GlobalType.GLOBAL_VAR_main (17) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t15" label: "method GLOBAL_VAR_main" info1: "state: layout_fixed, mode: P, size: 32b, diff --git a/testprograms/ref-results/GLOBAL_VAR_main.vcg b/testprograms/ref-results/GLOBAL_VAR_main.vcg index f9d999024..de1630e24 100644 --- a/testprograms/ref-results/GLOBAL_VAR_main.vcg +++ b/testprograms/ref-results/GLOBAL_VAR_main.vcg @@ -55,80 +55,141 @@ colorentry 125: 255 250 250 graph: { title: "g31" label: "GLOBAL_VAR_main" status:clustered color:white graph: { title: "n20" label: "Block 20" status:clustered color:yellow edge: {sourcename: "n20" targetname: "n39" label: "0" class:13 priority:60 color:red} -node: {title: "n41" label: "End 41" info1: "mode: X -visited: 10 -irg: GLOBAL_VAR_main -arity: 0 -"color: blue} +node: {title: "n41" label: "End 41" info1: "End 41 + mode: X + visited: 10 + irg: GLOBAL_VAR_main + arity: 0 + pred nodes: + -1: Block 20 + Private Attributes: +" +color: blue} } graph: { title: "n32" label: "Block 32" status:clustered color:yellow edge: {sourcename: "n32" targetname: "n26" 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 -"} +node: {title: "n39" label: "Return 39" info1: "Return 39 + mode: X + visited: 10 + irg: GLOBAL_VAR_main + arity: 1 + pred nodes: + -1: Block 32 + 0: Proj 38 + Private Attributes: + return in method of type GLOBAL_VAR_main +" +} edge: {sourcename: "n39" targetname: "n38" label: "0" class:14 priority:50 color:blue} -node: {title: "n38" label: "ProjM 0 38" info1: "mode: M -visited: 10 -irg: GLOBAL_VAR_main -arity: 1 -"color: yellow} +node: {title: "n38" label: "ProjM 0 38" info1: "Proj 38 + mode: M + visited: 10 + irg: GLOBAL_VAR_main + arity: 1 + pred nodes: + -1: Block 32 + 0: Store 36 + Private Attributes: +" +color: yellow} edge: {sourcename: "n38" targetname: "n36" label: "0" class:17 priority:10 color:blue} -node: {title: "n36" label: "Store 36" info1: "mode: T -visited: 10 -irg: GLOBAL_VAR_main -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n36" label: "Store 36" info1: "Store 36 + mode: T + visited: 10 + irg: GLOBAL_VAR_main + arity: 3 + pred nodes: + -1: Block 32 + 0: Proj 29 + 1: Sel 34 + 2: 0x2 35 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n36" targetname: "n29" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n36" targetname: "n34" label: "1" class:1 priority:50} edge: {sourcename: "n36" targetname: "n35" label: "2" class:16 priority:10} -node: {title: "n34" label: "Sel i 34" info1: "mode: P -visited: 10 -irg: GLOBAL_VAR_main -arity: 2 -Selecting entity of type int - from entity of type GlobalType -"} +node: {title: "n34" label: "Sel i 34" info1: "Sel 34 + mode: P + visited: 10 + irg: GLOBAL_VAR_main + arity: 2 + pred nodes: + -1: Block 32 + 0: Proj 29 + 1: Proj 28 + Private Attributes: + Selecting entity of type int + from entity of type GlobalType +" +} edge: {sourcename: "n34" targetname: "n29" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n34" targetname: "n28" label: "1" class:16 priority:10} } graph: { title: "n22" label: "Block 22" status:clustered color:yellow edge: {sourcename: "n22" targetname: "n26" label: "0" class:13 priority:60 color:red} -node: {title: "n29" label: "ProjM 1 29" info1: "mode: M -visited: 10 -irg: GLOBAL_VAR_main -arity: 1 -"color: yellow} +node: {title: "n29" label: "ProjM 1 29" info1: "Proj 29 + mode: M + visited: 10 + irg: GLOBAL_VAR_main + arity: 1 + pred nodes: + -1: Block 22 + 0: Start 23 + Private Attributes: +" +color: yellow} edge: {sourcename: "n29" targetname: "n23" label: "0" class:17 priority:10 color:blue} -node: {title: "n28" label: "ProjP 3 28" info1: "mode: P -visited: 10 -irg: GLOBAL_VAR_main -arity: 1 -"color: yellow} +node: {title: "n28" label: "ProjP 3 28" info1: "Proj 28 + mode: P + visited: 10 + irg: GLOBAL_VAR_main + arity: 1 + pred nodes: + -1: Block 22 + 0: Start 23 + Private Attributes: +" +color: yellow} edge: {sourcename: "n28" targetname: "n23" label: "0" class:1 priority:50} -node: {title: "n35" label: "0x2Is 35" info1: "mode: Is -visited: 10 -irg: GLOBAL_VAR_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n26" label: "ProjX 0 26" info1: "mode: X -visited: 10 -irg: GLOBAL_VAR_main -arity: 1 -"color: yellow} +node: {title: "n35" label: "0x2Is 35" info1: "0x2 35 + mode: Is + visited: 10 + irg: GLOBAL_VAR_main + arity: 0 + pred nodes: + -1: Block 22 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n26" label: "ProjX 0 26" info1: "Proj 26 + mode: X + visited: 10 + irg: GLOBAL_VAR_main + arity: 1 + pred nodes: + -1: Block 22 + 0: Start 23 + Private Attributes: +" +color: yellow} edge: {sourcename: "n26" targetname: "n23" label: "0" class:13 priority:60 color:red} -node: {title: "n23" label: "Start 23" info1: "mode: T -visited: 10 -irg: GLOBAL_VAR_main -arity: 0 -start of method of type GLOBAL_VAR_main -"color: blue} +node: {title: "n23" label: "Start 23" info1: "Start 23 + mode: T + visited: 10 + irg: GLOBAL_VAR_main + arity: 0 + pred nodes: + -1: Block 22 + Private Attributes: + start of method of type GLOBAL_VAR_main +" +color: blue} } } diff --git a/testprograms/ref-results/IF_ELSE_EXAMPLE_main.vcg b/testprograms/ref-results/IF_ELSE_EXAMPLE_main.vcg index 15d1ec97f..c1089f7d7 100644 --- a/testprograms/ref-results/IF_ELSE_EXAMPLE_main.vcg +++ b/testprograms/ref-results/IF_ELSE_EXAMPLE_main.vcg @@ -55,23 +55,36 @@ colorentry 125: 255 250 250 graph: { title: "g30" label: "IF_ELSE_EXAMPLE_main" status:clustered color:white graph: { title: "n19" label: "Block 19" status:clustered color:yellow edge: {sourcename: "n19" targetname: "n53" label: "0" class:13 priority:60 color:red} -node: {title: "n63" label: "End 63" info1: "mode: X -visited: 16 -irg: IF_ELSE_EXAMPLE_main -arity: 0 -"color: blue} +node: {title: "n63" label: "End 63" info1: "End 63 + mode: X + visited: 16 + irg: IF_ELSE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 19 + Private Attributes: +" +color: blue} } graph: { title: "n31" label: "Block 31" status:clustered color:yellow edge: {sourcename: "n31" targetname: "n25" label: "0" class:13 priority:60 color:red} -node: {title: "n53" label: "Return 53" 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 -"} +node: {title: "n53" label: "Return 53" info1: "Return 53 + mode: X + visited: 16 + irg: IF_ELSE_EXAMPLE_main + arity: 3 + pred nodes: + -1: Block 31 + 0: Proj 28 + 1: 0x0 32 + 2: 0x2 34 + Private Attributes: + return in method of type IF_ELSE_EXAMPLE_main + res 0 type: int + res 1 type: int +" +} edge: {sourcename: "n53" targetname: "n28" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n53" targetname: "n32" label: "1" class:16 priority:10} edge: {sourcename: "n53" targetname: "n34" label: "2" class:16 priority:10} @@ -79,36 +92,63 @@ edge: {sourcename: "n53" targetname: "n34" label: "2" class:16 priority:10} graph: { title: "n21" label: "Block 21" status:clustered color:yellow edge: {sourcename: "n21" targetname: "n25" label: "0" class:13 priority:60 color:red} -node: {title: "n28" label: "ProjM 1 28" info1: "mode: M -visited: 16 -irg: IF_ELSE_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n28" label: "ProjM 1 28" info1: "Proj 28 + mode: M + visited: 16 + irg: IF_ELSE_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 21 + 0: Start 22 + Private Attributes: +" +color: yellow} edge: {sourcename: "n28" targetname: "n22" label: "0" class:17 priority:10 color:blue} -node: {title: "n32" label: "0x0Is 32" info1: "mode: Is -visited: 16 -irg: IF_ELSE_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n34" label: "0x2Is 34" info1: "mode: Is -visited: 16 -irg: IF_ELSE_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n25" label: "ProjX 0 25" info1: "mode: X -visited: 16 -irg: IF_ELSE_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n32" label: "0x0Is 32" info1: "0x0 32 + mode: Is + visited: 16 + irg: IF_ELSE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 21 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n34" label: "0x2Is 34" info1: "0x2 34 + mode: Is + visited: 16 + irg: IF_ELSE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 21 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n25" label: "ProjX 0 25" info1: "Proj 25 + mode: X + visited: 16 + irg: IF_ELSE_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 21 + 0: Start 22 + Private Attributes: +" +color: yellow} edge: {sourcename: "n25" targetname: "n22" label: "0" class:13 priority:60 color:red} -node: {title: "n22" label: "Start 22" info1: "mode: T -visited: 16 -irg: IF_ELSE_EXAMPLE_main -arity: 0 -start of method of type IF_ELSE_EXAMPLE_main -"color: blue} +node: {title: "n22" label: "Start 22" info1: "Start 22 + mode: T + visited: 16 + irg: IF_ELSE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 21 + Private Attributes: + start of method of type IF_ELSE_EXAMPLE_main +" +color: blue} } } diff --git a/testprograms/ref-results/IF_EXAMPLE_main.vcg b/testprograms/ref-results/IF_EXAMPLE_main.vcg index e9aab0deb..2b357b839 100644 --- a/testprograms/ref-results/IF_EXAMPLE_main.vcg +++ b/testprograms/ref-results/IF_EXAMPLE_main.vcg @@ -55,130 +55,234 @@ colorentry 125: 255 250 250 graph: { title: "g30" label: "IF_EXAMPLE_main" status:clustered color:white graph: { title: "n19" label: "Block 19" status:clustered color:yellow edge: {sourcename: "n19" targetname: "n54" label: "0" class:13 priority:60 color:red} -node: {title: "n20" label: "End 20" info1: "mode: X -visited: 8 -irg: IF_EXAMPLE_main -arity: 0 -"color: blue} +node: {title: "n20" label: "End 20" info1: "End 20 + mode: X + visited: 8 + irg: IF_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 19 + Private Attributes: +" +color: blue} } graph: { title: "n45" label: "Block 45" status:clustered color:yellow edge: {sourcename: "n45" targetname: "n37" label: "0" class:13 priority:60 color:red} edge: {sourcename: "n45" targetname: "n44" label: "1" class:13 priority:60 color:red} -node: {title: "n54" label: "Return 54" info1: "mode: X -visited: 8 -irg: IF_EXAMPLE_main -arity: 2 -return in method of type IF_EXAMPLE_main - res 0 type: int -"} +node: {title: "n54" label: "Return 54" info1: "Return 54 + mode: X + visited: 8 + irg: IF_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 45 + 0: Proj 28 + 1: Phi 47 + Private Attributes: + return in method of type IF_EXAMPLE_main + res 0 type: int +" +} edge: {sourcename: "n54" targetname: "n28" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n54" targetname: "n47" label: "1" class:1 priority:50} -node: {title: "n47" label: "PhiIs 47" info1: "mode: Is -visited: 8 -irg: IF_EXAMPLE_main -arity: 2 backedges: -"color: green} +node: {title: "n47" label: "PhiIs 47" info1: "Phi 47 + mode: Is + visited: 8 + irg: IF_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 45 + 0: Proj 32 + 1: Sub 42 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n47" targetname: "n32" label: "0" class:16 priority:10} edge: {sourcename: "n47" targetname: "n42" label: "1" class:16 priority:10} } graph: { title: "n39" label: "Block 39" status:clustered color:yellow edge: {sourcename: "n39" targetname: "n38" label: "0" class:13 priority:60 color:red} -node: {title: "n42" label: "SubIs 42" info1: "mode: Is -visited: 8 -irg: IF_EXAMPLE_main -arity: 2 -"} +node: {title: "n42" label: "SubIs 42" info1: "Sub 42 + mode: Is + visited: 8 + irg: IF_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 39 + 0: Proj 32 + 1: 0x3 40 + Private Attributes: +" +} edge: {sourcename: "n42" targetname: "n32" label: "0" class:16 priority:10} edge: {sourcename: "n42" targetname: "n40" label: "1" class:16 priority:10} -node: {title: "n44" label: "Jmp 44" info1: "mode: X -visited: 8 -irg: IF_EXAMPLE_main -arity: 0 -"} +node: {title: "n44" label: "Jmp 44" info1: "Jmp 44 + mode: X + visited: 8 + irg: IF_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 39 + Private Attributes: +" +} } graph: { title: "n31" label: "Block 31" status:clustered color:yellow edge: {sourcename: "n31" targetname: "n25" label: "0" class:13 priority:60 color:red} -node: {title: "n37" label: "ProjX 0 37" info1: "mode: X -visited: 8 -irg: IF_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n37" label: "ProjX 0 37" info1: "Proj 37 + mode: X + visited: 8 + irg: IF_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 31 + 0: Cond 36 + Private Attributes: +" +color: yellow} edge: {sourcename: "n37" targetname: "n36" label: "0" class:13 priority:60 color:red} -node: {title: "n38" label: "ProjX 1 38" info1: "mode: X -visited: 8 -irg: IF_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n38" label: "ProjX 1 38" info1: "Proj 38 + mode: X + visited: 8 + irg: IF_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 31 + 0: Cond 36 + Private Attributes: +" +color: yellow} edge: {sourcename: "n38" targetname: "n36" label: "0" class:13 priority:60 color:red} -node: {title: "n36" label: "Cond 36" info1: "mode: T -visited: 8 -irg: IF_EXAMPLE_main -arity: 1 -"} +node: {title: "n36" label: "Cond 36" info1: "Cond 36 + mode: T + visited: 8 + irg: IF_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 31 + 0: Proj 35 + Private Attributes: + condition kind: dense + default ProjNr: 0 +" +} edge: {sourcename: "n36" targetname: "n35" label: "0" class:1 priority:50} -node: {title: "n35" label: "Projb Eq 35" info1: "mode: b -visited: 8 -irg: IF_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n35" label: "Projb Eq 35" info1: "Proj 35 + mode: b + visited: 8 + irg: IF_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 31 + 0: Cmp 34 + Private Attributes: +" +color: yellow} edge: {sourcename: "n35" targetname: "n34" label: "0" class:1 priority:50} -node: {title: "n34" label: "Cmp 34" info1: "mode: T -visited: 8 -irg: IF_EXAMPLE_main -arity: 2 -"} +node: {title: "n34" label: "Cmp 34" info1: "Cmp 34 + mode: T + visited: 8 + irg: IF_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 31 + 0: Proj 32 + 1: 0x2 33 + Private Attributes: +" +} edge: {sourcename: "n34" targetname: "n32" label: "0" class:1 priority:50} edge: {sourcename: "n34" targetname: "n33" label: "1" class:16 priority:10} -node: {title: "n32" label: "ProjIs 0 32" info1: "mode: Is -visited: 8 -irg: IF_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n32" label: "ProjIs 0 32" info1: "Proj 32 + mode: Is + visited: 8 + irg: IF_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 31 + 0: Proj 29 + Private Attributes: +" +color: yellow} edge: {sourcename: "n32" targetname: "n29" label: "0" class:16 priority:10} } graph: { title: "n21" label: "Block 21" status:clustered color:yellow edge: {sourcename: "n21" targetname: "n25" label: "0" class:13 priority:60 color:red} -node: {title: "n28" label: "ProjM 1 28" info1: "mode: M -visited: 8 -irg: IF_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n28" label: "ProjM 1 28" info1: "Proj 28 + mode: M + visited: 8 + irg: IF_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 21 + 0: Start 22 + Private Attributes: +" +color: yellow} edge: {sourcename: "n28" targetname: "n22" label: "0" class:17 priority:10 color:blue} -node: {title: "n40" label: "0x3Is 40" info1: "mode: Is -visited: 8 -irg: IF_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n29" label: "ProjT 4 29" info1: "mode: T -visited: 8 -irg: IF_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n40" label: "0x3Is 40" info1: "0x3 40 + mode: Is + visited: 8 + irg: IF_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 21 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n29" label: "ProjT 4 29" info1: "Proj 29 + mode: T + visited: 8 + irg: IF_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 21 + 0: Start 22 + Private Attributes: +" +color: yellow} edge: {sourcename: "n29" targetname: "n22" label: "0" class:1 priority:50} -node: {title: "n33" label: "0x2Is 33" info1: "mode: Is -visited: 8 -irg: IF_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n25" label: "ProjX 0 25" info1: "mode: X -visited: 8 -irg: IF_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n33" label: "0x2Is 33" info1: "0x2 33 + mode: Is + visited: 8 + irg: IF_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 21 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n25" label: "ProjX 0 25" info1: "Proj 25 + mode: X + visited: 8 + irg: IF_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 21 + 0: Start 22 + Private Attributes: +" +color: yellow} edge: {sourcename: "n25" targetname: "n22" label: "0" class:13 priority:60 color:red} -node: {title: "n22" label: "Start 22" info1: "mode: T -visited: 8 -irg: IF_EXAMPLE_main -arity: 0 -start of method of type IF_EXAMPLE_main - param 0 type: int -"color: blue} +node: {title: "n22" label: "Start 22" info1: "Start 22 + mode: T + visited: 8 + irg: IF_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 21 + Private Attributes: + start of method of type IF_EXAMPLE_main + param 0 type: int +" +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 66c6fbce2..4d3e4b943 100644 --- a/testprograms/ref-results/IF_WHILE_EXAMPLE_main-pure.vcg +++ b/testprograms/ref-results/IF_WHILE_EXAMPLE_main-pure.vcg @@ -52,172 +52,325 @@ colorentry 123: 255 220 220 colorentry 124: 255 240 240 colorentry 125: 255 250 250 -node: {title: "n23" label: "Start 23" info1: "mode: T -visited: 17 -irg: IF_WHILE_EXAMPLE_main -arity: 0 -start of method of type main -"color: blue} +node: {title: "n23" label: "Start 23" info1: "Start 23 + mode: T + visited: 17 + irg: IF_WHILE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 22 + Private Attributes: + start of method of type main +" +color: blue} edge: { sourcename: "n23" targetname: "n22" class:2 priority:50 linestyle:dotted} -node: {title: "n26" label: "ProjX 0 26" info1: "mode: X -visited: 17 -irg: IF_WHILE_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n26" label: "ProjX 0 26" info1: "Proj 26 + mode: X + visited: 17 + irg: IF_WHILE_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 22 + 0: Start 23 + Private Attributes: +" +color: yellow} edge: {sourcename: "n26" targetname: "n23" label: "0" class:13 priority:60 color:red} edge: { sourcename: "n26" targetname: "n22" class:2 priority:50 linestyle:dotted} -node: {title: "n22" label: "Block 22" info1: "mode: BB -visited: 17 -irg: IF_WHILE_EXAMPLE_main -arity: 1 backedges: -"color: lightyellow} +node: {title: "n22" label: "Block 22" info1: "Block 22 + mode: BB + visited: 17 + irg: IF_WHILE_EXAMPLE_main + arity: 1 + pred nodes: + 0: Proj 26 + Private Attributes: + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n22" targetname: "n26" label: "0" class:13 priority:60 color:red} -node: {title: "n39" label: "0x0Iu 39" info1: "mode: Iu -visited: 17 -irg: IF_WHILE_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n39" label: "0x0Iu 39" info1: "0x0 39 + mode: Iu + visited: 17 + irg: IF_WHILE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 22 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: { sourcename: "n39" targetname: "n22" class:2 priority:50 linestyle:dotted} -node: {title: "n41" label: "Cmp 41" info1: "mode: T -visited: 17 -irg: IF_WHILE_EXAMPLE_main -arity: 2 -"} +node: {title: "n41" label: "Cmp 41" info1: "Cmp 41 + mode: T + visited: 17 + irg: IF_WHILE_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 38 + 0: 0x0 39 + 1: 0x0 39 + Private Attributes: +" +} edge: {sourcename: "n41" targetname: "n39" label: "0" class:16 priority:10} edge: {sourcename: "n41" targetname: "n39" label: "1" class:16 priority:10} edge: { sourcename: "n41" targetname: "n38" class:2 priority:50 linestyle:dotted} -node: {title: "n42" label: "Projb Eq 42" info1: "mode: b -visited: 17 -irg: IF_WHILE_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n42" label: "Projb Eq 42" info1: "Proj 42 + mode: b + visited: 17 + irg: IF_WHILE_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 38 + 0: Cmp 41 + Private Attributes: +" +color: yellow} edge: {sourcename: "n42" targetname: "n41" label: "0" class:1 priority:50} edge: { sourcename: "n42" targetname: "n38" class:2 priority:50 linestyle:dotted} -node: {title: "n43" label: "Cond 43" info1: "mode: T -visited: 17 -irg: IF_WHILE_EXAMPLE_main -arity: 1 -"} +node: {title: "n43" label: "Cond 43" info1: "Cond 43 + mode: T + visited: 17 + irg: IF_WHILE_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 38 + 0: Proj 42 + Private Attributes: + condition kind: dense + default ProjNr: 0 +" +} edge: {sourcename: "n43" targetname: "n42" label: "0" class:1 priority:50} edge: { sourcename: "n43" targetname: "n38" class:2 priority:50 linestyle:dotted} -node: {title: "n45" label: "ProjX 1 45" info1: "mode: X -visited: 17 -irg: IF_WHILE_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n45" label: "ProjX 1 45" info1: "Proj 45 + mode: X + visited: 17 + irg: IF_WHILE_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 38 + 0: Cond 43 + Private Attributes: +" +color: yellow} edge: {sourcename: "n45" targetname: "n43" label: "0" class:13 priority:60 color:red} edge: { sourcename: "n45" targetname: "n38" class:2 priority:50 linestyle:dotted} -node: {title: "n46" label: "Block 46" info1: "mode: BB -visited: 17 -irg: IF_WHILE_EXAMPLE_main -arity: 1 backedges: -"color: lightyellow} +node: {title: "n46" label: "Block 46" info1: "Block 46 + mode: BB + visited: 17 + irg: IF_WHILE_EXAMPLE_main + arity: 1 + pred nodes: + 0: Proj 45 + Private Attributes: + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n46" targetname: "n45" label: "0" class:13 priority:60 color:red} -node: {title: "n47" label: "Jmp 47" info1: "mode: X -visited: 17 -irg: IF_WHILE_EXAMPLE_main -arity: 0 -"} +node: {title: "n47" label: "Jmp 47" info1: "Jmp 47 + mode: X + visited: 17 + irg: IF_WHILE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 46 + Private Attributes: +" +} edge: { sourcename: "n47" targetname: "n46" class:2 priority:50 linestyle:dotted} -node: {title: "n32" label: "Block 32" info1: "mode: BB -visited: 17 -irg: IF_WHILE_EXAMPLE_main -arity: 1 backedges: -"color: lightyellow} +node: {title: "n32" label: "Block 32" info1: "Block 32 + mode: BB + visited: 17 + irg: IF_WHILE_EXAMPLE_main + arity: 1 + pred nodes: + 0: Proj 26 + Private Attributes: + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n32" targetname: "n26" label: "0" class:13 priority:60 color:red} -node: {title: "n35" label: "Jmp 35" info1: "mode: X -visited: 17 -irg: IF_WHILE_EXAMPLE_main -arity: 0 -"} +node: {title: "n35" label: "Jmp 35" info1: "Jmp 35 + mode: X + visited: 17 + irg: IF_WHILE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 32 + Private Attributes: +" +} edge: { sourcename: "n35" targetname: "n32" class:2 priority:50 linestyle:dotted} -node: {title: "n38" label: "Block 38" info1: "mode: BB -visited: 17 -irg: IF_WHILE_EXAMPLE_main -arity: 2 backedges: -"color: lightyellow} +node: {title: "n38" label: "Block 38" info1: "Block 38 + mode: BB + visited: 17 + irg: IF_WHILE_EXAMPLE_main + arity: 2 + pred nodes: + 0: Jmp 35 + 1: Jmp 47 + Private Attributes: + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n38" targetname: "n35" label: "0" class:13 priority:60 color:red} edge: {sourcename: "n38" targetname: "n47" label: "1" class:13 priority:60 color:red} -node: {title: "n44" label: "ProjX 0 44" info1: "mode: X -visited: 17 -irg: IF_WHILE_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n44" label: "ProjX 0 44" info1: "Proj 44 + mode: X + visited: 17 + irg: IF_WHILE_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 38 + 0: Cond 43 + Private Attributes: +" +color: yellow} edge: {sourcename: "n44" targetname: "n43" label: "0" class:13 priority:60 color:red} edge: { sourcename: "n44" targetname: "n38" class:2 priority:50 linestyle:dotted} -node: {title: "n60" label: "Block 60" info1: "mode: BB -visited: 17 -irg: IF_WHILE_EXAMPLE_main -arity: 1 backedges: -"color: lightyellow} +node: {title: "n60" label: "Block 60" info1: "Block 60 + mode: BB + visited: 17 + irg: IF_WHILE_EXAMPLE_main + arity: 1 + pred nodes: + 0: Proj 44 + Private Attributes: + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n60" targetname: "n44" label: "0" class:13 priority:60 color:red} -node: {title: "n33" label: "0x0Iu 33" info1: "mode: Iu -visited: 17 -irg: IF_WHILE_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n33" label: "0x0Iu 33" info1: "0x0 33 + mode: Iu + visited: 17 + irg: IF_WHILE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 22 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: { sourcename: "n33" targetname: "n22" class:2 priority:50 linestyle:dotted} -node: {title: "n58" label: "PhiIu 58" info1: "mode: Iu -visited: 17 -irg: IF_WHILE_EXAMPLE_main -arity: 2 backedges: -"color: green} +node: {title: "n58" label: "PhiIu 58" info1: "Phi 58 + mode: Iu + visited: 17 + irg: IF_WHILE_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 38 + 0: 0x0 33 + 1: Phi 53 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n58" targetname: "n33" label: "0" class:16 priority:10} edge: {sourcename: "n58" targetname: "n53" label: "1" class:1 priority:50} edge: { sourcename: "n58" targetname: "n38" class:2 priority:50 linestyle:dotted} -node: {title: "n34" label: "0x1Iu 34" info1: "mode: Iu -visited: 17 -irg: IF_WHILE_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n34" label: "0x1Iu 34" info1: "0x1 34 + mode: Iu + visited: 17 + irg: IF_WHILE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 22 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: { sourcename: "n34" targetname: "n22" class:2 priority:50 linestyle:dotted} -node: {title: "n53" label: "PhiIu 53" info1: "mode: Iu -visited: 17 -irg: IF_WHILE_EXAMPLE_main -arity: 2 backedges: -"color: green} +node: {title: "n53" label: "PhiIu 53" info1: "Phi 53 + mode: Iu + visited: 17 + irg: IF_WHILE_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 38 + 0: 0x1 34 + 1: Phi 58 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n53" targetname: "n34" label: "0" class:16 priority:10} edge: {sourcename: "n53" targetname: "n58" label: "1" class:1 priority:50} edge: { sourcename: "n53" targetname: "n38" class:2 priority:50 linestyle:dotted} -node: {title: "n65" label: "SubIu 65" info1: "mode: Iu -visited: 17 -irg: IF_WHILE_EXAMPLE_main -arity: 2 -"} +node: {title: "n65" label: "SubIu 65" info1: "Sub 65 + mode: Iu + visited: 17 + irg: IF_WHILE_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 60 + 0: Phi 58 + 1: Phi 53 + Private Attributes: +" +} edge: {sourcename: "n65" targetname: "n58" label: "0" class:16 priority:10} edge: {sourcename: "n65" targetname: "n53" label: "1" class:16 priority:10} edge: { sourcename: "n65" targetname: "n60" class:2 priority:50 linestyle:dotted} -node: {title: "n29" label: "ProjM 1 29" info1: "mode: M -visited: 17 -irg: IF_WHILE_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n29" label: "ProjM 1 29" info1: "Proj 29 + mode: M + visited: 17 + irg: IF_WHILE_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 22 + 0: Start 23 + Private Attributes: +" +color: yellow} edge: {sourcename: "n29" targetname: "n23" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n29" targetname: "n22" class:2 priority:50 linestyle:dotted} -node: {title: "n76" label: "Return 76" info1: "mode: X -visited: 17 -irg: IF_WHILE_EXAMPLE_main -arity: 2 -return in method of type main - res 0 type: int -"} +node: {title: "n76" label: "Return 76" info1: "Return 76 + mode: X + visited: 17 + irg: IF_WHILE_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 60 + 0: Proj 29 + 1: Sub 65 + Private Attributes: + return in method of type main + res 0 type: int +" +} edge: {sourcename: "n76" targetname: "n29" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n76" targetname: "n65" label: "1" class:1 priority:50} edge: { sourcename: "n76" targetname: "n60" class:2 priority:50 linestyle:dotted} -node: {title: "n20" label: "Block 20" info1: "mode: BB -visited: 17 -irg: IF_WHILE_EXAMPLE_main -arity: 1 backedges: -"color: lightyellow} +node: {title: "n20" label: "Block 20" info1: "Block 20 + mode: BB + visited: 17 + irg: IF_WHILE_EXAMPLE_main + arity: 1 + pred nodes: + 0: Return 76 + Private Attributes: + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n20" targetname: "n76" label: "0" class:13 priority:60 color:red} -node: {title: "n77" label: "End 77" info1: "mode: X -visited: 17 -irg: IF_WHILE_EXAMPLE_main -arity: 0 -"color: blue} +node: {title: "n77" label: "End 77" info1: "End 77 + mode: X + visited: 17 + irg: IF_WHILE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 20 + Private Attributes: +" +color: blue} edge: { sourcename: "n77" targetname: "n20" class:2 priority:50 linestyle:dotted} edge: {sourcename: "n23" targetname: "n26" color: red linestyle: dashed} edge: {sourcename: "n23" targetname: "n29" 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 14a0a7365..a2e4f32b0 100644 --- a/testprograms/ref-results/IRREGULAR_CF_main-cfg.vcg +++ b/testprograms/ref-results/IRREGULAR_CF_main-cfg.vcg @@ -78,9 +78,15 @@ edge: { sourcename: "n42" targetname: "n31"} node: {title: "n50" label: "Block n50" info1:"arity: 1 "} edge: { sourcename: "n50" targetname: "n42"} -node: {title: "n67" label: "Bad 67" info1: "mode: T -visited: 0 -irg: IRREGULAR_CF_main -arity: 0 -"} +node: {title: "n67" label: "Bad 67" info1: "Bad 67 + mode: T + visited: 0 + irg: IRREGULAR_CF_main + arity: 0 + pred nodes: + -1: Block 21 + Private Attributes: + pinned state: op_pin_state_pinned +" +} } diff --git a/testprograms/ref-results/IRREGULAR_CF_main.vcg b/testprograms/ref-results/IRREGULAR_CF_main.vcg index d4e65fff4..846ad5c9c 100644 --- a/testprograms/ref-results/IRREGULAR_CF_main.vcg +++ b/testprograms/ref-results/IRREGULAR_CF_main.vcg @@ -55,161 +55,285 @@ colorentry 125: 255 250 250 graph: { title: "g30" label: "IRREGULAR_CF_main" status:clustered color:white graph: { title: "n19" label: "Block 19" status:clustered color:yellow edge: {sourcename: "n19" targetname: "n54" label: "0" class:13 priority:60 color:red} -node: {title: "n66" label: "End 66" info1: "mode: X -visited: 8 -irg: IRREGULAR_CF_main -arity: 0 -"color: blue} +node: {title: "n66" label: "End 66" info1: "End 66 + mode: X + visited: 8 + irg: IRREGULAR_CF_main + arity: 0 + pred nodes: + -1: Block 19 + Private Attributes: +" +color: blue} } graph: { title: "n52" label: "Block 52" status:clustered color:yellow edge: {sourcename: "n52" targetname: "n51" label: "0" class:13 priority:60 color:red} edge: {sourcename: "n52" targetname: "n49" label: "1" class:13 priority:60 color:red} -node: {title: "n54" label: "Return 54" info1: "mode: X -visited: 8 -irg: IRREGULAR_CF_main -arity: 1 -return in method of type main -"} +node: {title: "n54" label: "Return 54" info1: "Return 54 + mode: X + visited: 8 + irg: IRREGULAR_CF_main + arity: 1 + pred nodes: + -1: Block 52 + 0: Proj 28 + Private Attributes: + return in method of type main +" +} edge: {sourcename: "n54" targetname: "n28" label: "0" class:17 priority:10 color:blue} } graph: { title: "n50" label: "Block 50" status:clustered color:yellow edge: {sourcename: "n50" targetname: "n46" label: "0" class:13 priority:60 color:red} -node: {title: "n51" label: "Jmp 51" info1: "mode: X -visited: 8 -irg: IRREGULAR_CF_main -arity: 0 -"} +node: {title: "n51" label: "Jmp 51" info1: "Jmp 51 + mode: X + visited: 8 + irg: IRREGULAR_CF_main + arity: 0 + pred nodes: + -1: Block 50 + Private Attributes: +" +} } graph: { title: "n48" label: "Block 48" status:clustered color:yellow edge: {sourcename: "n48" targetname: "n47" label: "0" class:13 priority:60 color:red} edge: {sourcename: "n48" targetname: "n41" label: "1" class:13 priority:60 color:red} -node: {title: "n49" label: "Jmp 49" info1: "mode: X -visited: 8 -irg: IRREGULAR_CF_main -arity: 0 -"} +node: {title: "n49" label: "Jmp 49" info1: "Jmp 49 + mode: X + visited: 8 + irg: IRREGULAR_CF_main + arity: 0 + pred nodes: + -1: Block 48 + Private Attributes: +" +} } graph: { title: "n42" label: "Block 42" status:clustered color:yellow edge: {sourcename: "n42" targetname: "n38" label: "0" class:13 priority:60 color:red} -node: {title: "n46" label: "ProjX 0 46" info1: "mode: X -visited: 8 -irg: IRREGULAR_CF_main -arity: 1 -"color: yellow} +node: {title: "n46" label: "ProjX 0 46" info1: "Proj 46 + mode: X + visited: 8 + irg: IRREGULAR_CF_main + arity: 1 + pred nodes: + -1: Block 42 + 0: Cond 45 + Private Attributes: +" +color: yellow} edge: {sourcename: "n46" targetname: "n45" label: "0" class:13 priority:60 color:red} -node: {title: "n47" label: "ProjX 1 47" info1: "mode: X -visited: 8 -irg: IRREGULAR_CF_main -arity: 1 -"color: yellow} +node: {title: "n47" label: "ProjX 1 47" info1: "Proj 47 + mode: X + visited: 8 + irg: IRREGULAR_CF_main + arity: 1 + pred nodes: + -1: Block 42 + 0: Cond 45 + Private Attributes: +" +color: yellow} edge: {sourcename: "n47" targetname: "n45" label: "0" class:13 priority:60 color:red} -node: {title: "n45" label: "Cond 45" info1: "mode: T -visited: 8 -irg: IRREGULAR_CF_main -arity: 1 -"} +node: {title: "n45" label: "Cond 45" info1: "Cond 45 + mode: T + visited: 8 + irg: IRREGULAR_CF_main + arity: 1 + pred nodes: + -1: Block 42 + 0: Proj 44 + Private Attributes: + condition kind: dense + default ProjNr: 0 +" +} edge: {sourcename: "n45" targetname: "n44" label: "0" class:1 priority:50} -node: {title: "n44" label: "Projb Eq 44" info1: "mode: b -visited: 8 -irg: IRREGULAR_CF_main -arity: 1 -"color: yellow} +node: {title: "n44" label: "Projb Eq 44" info1: "Proj 44 + mode: b + visited: 8 + irg: IRREGULAR_CF_main + arity: 1 + pred nodes: + -1: Block 42 + 0: Cmp 43 + Private Attributes: +" +color: yellow} edge: {sourcename: "n44" targetname: "n43" label: "0" class:1 priority:50} -node: {title: "n43" label: "Cmp 43" info1: "mode: T -visited: 8 -irg: IRREGULAR_CF_main -arity: 2 -"} +node: {title: "n43" label: "Cmp 43" info1: "Cmp 43 + mode: T + visited: 8 + irg: IRREGULAR_CF_main + arity: 2 + pred nodes: + -1: Block 42 + 0: 0x0 32 + 1: 0x2 34 + Private Attributes: +" +} edge: {sourcename: "n43" targetname: "n32" label: "0" class:16 priority:10} edge: {sourcename: "n43" targetname: "n34" label: "1" class:16 priority:10} } graph: { title: "n40" label: "Block 40" status:clustered color:yellow edge: {sourcename: "n40" targetname: "n39" label: "0" class:13 priority:60 color:red} -node: {title: "n41" label: "Jmp 41" info1: "mode: X -visited: 8 -irg: IRREGULAR_CF_main -arity: 0 -"} +node: {title: "n41" label: "Jmp 41" info1: "Jmp 41 + mode: X + visited: 8 + irg: IRREGULAR_CF_main + arity: 0 + pred nodes: + -1: Block 40 + Private Attributes: +" +} } graph: { title: "n31" label: "Block 31" status:clustered color:yellow edge: {sourcename: "n31" targetname: "n25" label: "0" class:13 priority:60 color:red} -node: {title: "n38" label: "ProjX 0 38" info1: "mode: X -visited: 8 -irg: IRREGULAR_CF_main -arity: 1 -"color: yellow} +node: {title: "n38" label: "ProjX 0 38" info1: "Proj 38 + mode: X + visited: 8 + irg: IRREGULAR_CF_main + arity: 1 + pred nodes: + -1: Block 31 + 0: Cond 37 + Private Attributes: +" +color: yellow} edge: {sourcename: "n38" targetname: "n37" label: "0" class:13 priority:60 color:red} -node: {title: "n39" label: "ProjX 1 39" info1: "mode: X -visited: 8 -irg: IRREGULAR_CF_main -arity: 1 -"color: yellow} +node: {title: "n39" label: "ProjX 1 39" info1: "Proj 39 + mode: X + visited: 8 + irg: IRREGULAR_CF_main + arity: 1 + pred nodes: + -1: Block 31 + 0: Cond 37 + Private Attributes: +" +color: yellow} edge: {sourcename: "n39" targetname: "n37" label: "0" class:13 priority:60 color:red} -node: {title: "n37" label: "Cond 37" info1: "mode: T -visited: 8 -irg: IRREGULAR_CF_main -arity: 1 -"} +node: {title: "n37" label: "Cond 37" info1: "Cond 37 + mode: T + visited: 8 + irg: IRREGULAR_CF_main + arity: 1 + pred nodes: + -1: Block 31 + 0: Proj 36 + Private Attributes: + condition kind: dense + default ProjNr: 0 +" +} edge: {sourcename: "n37" targetname: "n36" label: "0" class:1 priority:50} -node: {title: "n36" label: "Projb Eq 36" info1: "mode: b -visited: 8 -irg: IRREGULAR_CF_main -arity: 1 -"color: yellow} +node: {title: "n36" label: "Projb Eq 36" info1: "Proj 36 + mode: b + visited: 8 + irg: IRREGULAR_CF_main + arity: 1 + pred nodes: + -1: Block 31 + 0: Cmp 35 + Private Attributes: +" +color: yellow} edge: {sourcename: "n36" targetname: "n35" label: "0" class:1 priority:50} -node: {title: "n35" label: "Cmp 35" info1: "mode: T -visited: 8 -irg: IRREGULAR_CF_main -arity: 2 -"} +node: {title: "n35" label: "Cmp 35" info1: "Cmp 35 + mode: T + visited: 8 + irg: IRREGULAR_CF_main + arity: 2 + pred nodes: + -1: Block 31 + 0: 0x0 32 + 1: 0x1 33 + Private Attributes: +" +} edge: {sourcename: "n35" targetname: "n32" label: "0" class:16 priority:10} edge: {sourcename: "n35" targetname: "n33" label: "1" class:16 priority:10} } graph: { title: "n21" label: "Block 21" status:clustered color:yellow edge: {sourcename: "n21" targetname: "n25" label: "0" class:13 priority:60 color:red} -node: {title: "n28" label: "ProjM 1 28" info1: "mode: M -visited: 8 -irg: IRREGULAR_CF_main -arity: 1 -"color: yellow} +node: {title: "n28" label: "ProjM 1 28" info1: "Proj 28 + mode: M + visited: 8 + irg: IRREGULAR_CF_main + arity: 1 + pred nodes: + -1: Block 21 + 0: Start 22 + Private Attributes: +" +color: yellow} edge: {sourcename: "n28" targetname: "n22" label: "0" class:17 priority:10 color:blue} -node: {title: "n34" label: "0x2Is 34" info1: "mode: Is -visited: 8 -irg: IRREGULAR_CF_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n32" label: "0x0Is 32" info1: "mode: Is -visited: 8 -irg: IRREGULAR_CF_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n33" label: "0x1Is 33" info1: "mode: Is -visited: 8 -irg: IRREGULAR_CF_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n25" label: "ProjX 0 25" info1: "mode: X -visited: 8 -irg: IRREGULAR_CF_main -arity: 1 -"color: yellow} +node: {title: "n34" label: "0x2Is 34" info1: "0x2 34 + mode: Is + visited: 8 + irg: IRREGULAR_CF_main + arity: 0 + pred nodes: + -1: Block 21 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n32" label: "0x0Is 32" info1: "0x0 32 + mode: Is + visited: 8 + irg: IRREGULAR_CF_main + arity: 0 + pred nodes: + -1: Block 21 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n33" label: "0x1Is 33" info1: "0x1 33 + mode: Is + visited: 8 + irg: IRREGULAR_CF_main + arity: 0 + pred nodes: + -1: Block 21 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n25" label: "ProjX 0 25" info1: "Proj 25 + mode: X + visited: 8 + irg: IRREGULAR_CF_main + arity: 1 + pred nodes: + -1: Block 21 + 0: Start 22 + Private Attributes: +" +color: yellow} edge: {sourcename: "n25" targetname: "n22" label: "0" class:13 priority:60 color:red} -node: {title: "n22" label: "Start 22" info1: "mode: T -visited: 8 -irg: IRREGULAR_CF_main -arity: 0 -start of method of type main -"color: blue} +node: {title: "n22" label: "Start 22" info1: "Start 22 + mode: T + visited: 8 + irg: IRREGULAR_CF_main + arity: 0 + pred nodes: + -1: Block 21 + Private Attributes: + start of method of type main +" +color: blue} } } diff --git a/testprograms/ref-results/IRR_LOOP_loop1-cfg.vcg b/testprograms/ref-results/IRR_LOOP_loop1-cfg.vcg index a2b47fb54..7f40b4b85 100644 --- a/testprograms/ref-results/IRR_LOOP_loop1-cfg.vcg +++ b/testprograms/ref-results/IRR_LOOP_loop1-cfg.vcg @@ -73,9 +73,15 @@ edge: { sourcename: "n31" targetname: "n21"} node: {title: "n21" label: "Start Block n21" info1:"arity: 1 " color:blue } edge: { sourcename: "n21" targetname: "n21"} -node: {title: "n23" label: "Bad 23" info1: "mode: T -visited: 0 -irg: IRR_LOOP_loop1 -arity: 0 -"} +node: {title: "n23" label: "Bad 23" info1: "Bad 23 + mode: T + visited: 0 + irg: IRR_LOOP_loop1 + arity: 0 + pred nodes: + -1: Block 21 + Private Attributes: + pinned state: op_pin_state_pinned +" +} } diff --git a/testprograms/ref-results/IRR_LOOP_loop1.vcg b/testprograms/ref-results/IRR_LOOP_loop1.vcg index 05d341780..aa588f5f2 100644 --- a/testprograms/ref-results/IRR_LOOP_loop1.vcg +++ b/testprograms/ref-results/IRR_LOOP_loop1.vcg @@ -55,28 +55,50 @@ colorentry 125: 255 250 250 graph: { title: "g30" label: "IRR_LOOP_loop1" status:clustered color:white graph: { title: "n19" label: "Block 19" status:clustered color:yellow edge: {sourcename: "n19" targetname: "n55" label: "0" class:13 priority:60 color:red} -node: {title: "n20" label: "End 20" info1: "mode: X -visited: 6 -irg: IRR_LOOP_loop1 -arity: 3 -"color: blue} +node: {title: "n20" label: "End 20" info1: "End 20 + mode: X + visited: 6 + irg: IRR_LOOP_loop1 + arity: 3 + pred nodes: + -1: Block 19 + 0: Phi 60 + 1: Phi 61 + 2: Phi 62 + Private Attributes: +" +color: blue} } graph: { title: "n53" label: "Block 53" status:clustered color:yellow edge: {sourcename: "n53" targetname: "n51" label: "0" class:13 priority:60 color:red} edge: {sourcename: "n53" targetname: "n45" label: "1" class:13 priority:60 color:red} -node: {title: "n55" label: "Return 55" info1: "mode: X -visited: 6 -irg: IRR_LOOP_loop1 -arity: 1 -return in method of type METH_TP_NOARG_NORES -"} +node: {title: "n55" label: "Return 55" info1: "Return 55 + mode: X + visited: 6 + irg: IRR_LOOP_loop1 + arity: 1 + pred nodes: + -1: Block 53 + 0: Phi 62 + Private Attributes: + return in method of type METH_TP_NOARG_NORES +" +} edge: {sourcename: "n55" targetname: "n62" label: "0" class:14 priority:50 color:blue} -node: {title: "n62" label: "PhiM 62" info1: "mode: M -visited: 6 -irg: IRR_LOOP_loop1 -arity: 2 backedges: -"color: green} +node: {title: "n62" label: "PhiM 62" info1: "Phi 62 + mode: M + visited: 6 + irg: IRR_LOOP_loop1 + arity: 2 + pred nodes: + -1: Block 53 + 0: Phi 61 + 1: Phi 60 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n62" targetname: "n61" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n62" targetname: "n60" label: "1" class:17 priority:10 color:blue} } @@ -84,42 +106,83 @@ edge: {sourcename: "n62" targetname: "n60" label: "1" class:17 priority:10 color graph: { title: "n41" label: "Block 41" status:clustered color:yellow edge: {sourcename: "n41" targetname: "n40" label: "0" class:13 priority:60 color:red} backedge: {sourcename: "n41" targetname: "n52" label: "1" linestyle:dashed class:13 priority:60 color:red} -node: {title: "n60" label: "PhiM 60" info1: "mode: M -visited: 6 -irg: IRR_LOOP_loop1 -arity: 2 backedges: -"color: green} +node: {title: "n60" label: "PhiM 60" info1: "Phi 60 + mode: M + visited: 6 + irg: IRR_LOOP_loop1 + arity: 2 + pred nodes: + -1: Block 41 + 0: Proj 28 + 1: Phi 61 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n60" targetname: "n28" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n60" targetname: "n61" label: "1" class:17 priority:10 color:blue} -node: {title: "n45" label: "ProjX 0 45" info1: "mode: X -visited: 6 -irg: IRR_LOOP_loop1 -arity: 1 -"color: yellow} +node: {title: "n45" label: "ProjX 0 45" info1: "Proj 45 + mode: X + visited: 6 + irg: IRR_LOOP_loop1 + arity: 1 + pred nodes: + -1: Block 41 + 0: Cond 44 + Private Attributes: +" +color: yellow} edge: {sourcename: "n45" targetname: "n44" label: "0" class:13 priority:60 color:red} -node: {title: "n46" label: "ProjX 1 46" info1: "mode: X -visited: 6 -irg: IRR_LOOP_loop1 -arity: 1 -"color: yellow} +node: {title: "n46" label: "ProjX 1 46" info1: "Proj 46 + mode: X + visited: 6 + irg: IRR_LOOP_loop1 + arity: 1 + pred nodes: + -1: Block 41 + 0: Cond 44 + Private Attributes: +" +color: yellow} edge: {sourcename: "n46" targetname: "n44" label: "0" class:13 priority:60 color:red} -node: {title: "n44" label: "Cond 44" info1: "mode: T -visited: 6 -irg: IRR_LOOP_loop1 -arity: 1 -"} +node: {title: "n44" label: "Cond 44" info1: "Cond 44 + mode: T + visited: 6 + irg: IRR_LOOP_loop1 + arity: 1 + pred nodes: + -1: Block 41 + 0: Proj 43 + Private Attributes: + condition kind: dense + default ProjNr: 0 +" +} edge: {sourcename: "n44" targetname: "n43" label: "0" class:1 priority:50} -node: {title: "n43" label: "Projb Eq 43" info1: "mode: b -visited: 6 -irg: IRR_LOOP_loop1 -arity: 1 -"color: yellow} +node: {title: "n43" label: "Projb Eq 43" info1: "Proj 43 + mode: b + visited: 6 + irg: IRR_LOOP_loop1 + arity: 1 + pred nodes: + -1: Block 41 + 0: Cmp 42 + Private Attributes: +" +color: yellow} edge: {sourcename: "n43" targetname: "n42" label: "0" class:1 priority:50} -node: {title: "n42" label: "Cmp 42" info1: "mode: T -visited: 6 -irg: IRR_LOOP_loop1 -arity: 2 -"} +node: {title: "n42" label: "Cmp 42" info1: "Cmp 42 + mode: T + visited: 6 + irg: IRR_LOOP_loop1 + arity: 2 + pred nodes: + -1: Block 41 + 0: 0x0 32 + 1: 0x2 34 + Private Attributes: +" +} edge: {sourcename: "n42" targetname: "n32" label: "0" class:16 priority:10} edge: {sourcename: "n42" targetname: "n34" label: "1" class:16 priority:10} } @@ -127,119 +190,225 @@ edge: {sourcename: "n42" targetname: "n34" label: "1" class:16 priority:10} graph: { title: "n47" label: "Block 47" status:clustered color:yellow edge: {sourcename: "n47" targetname: "n39" label: "0" class:13 priority:60 color:red} edge: {sourcename: "n47" targetname: "n46" label: "1" class:13 priority:60 color:red} -node: {title: "n61" label: "PhiM 61" info1: "mode: M -visited: 6 -irg: IRR_LOOP_loop1 -arity: 2 backedges: -"color: green} +node: {title: "n61" label: "PhiM 61" info1: "Phi 61 + mode: M + visited: 6 + irg: IRR_LOOP_loop1 + arity: 2 + pred nodes: + -1: Block 47 + 0: Proj 28 + 1: Phi 60 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n61" targetname: "n28" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n61" targetname: "n60" label: "1" class:17 priority:10 color:blue} -node: {title: "n51" label: "ProjX 0 51" info1: "mode: X -visited: 6 -irg: IRR_LOOP_loop1 -arity: 1 -"color: yellow} +node: {title: "n51" label: "ProjX 0 51" info1: "Proj 51 + mode: X + visited: 6 + irg: IRR_LOOP_loop1 + arity: 1 + pred nodes: + -1: Block 47 + 0: Cond 50 + Private Attributes: +" +color: yellow} edge: {sourcename: "n51" targetname: "n50" label: "0" class:13 priority:60 color:red} -node: {title: "n52" label: "ProjX 1 52" info1: "mode: X -visited: 6 -irg: IRR_LOOP_loop1 -arity: 1 -"color: yellow} +node: {title: "n52" label: "ProjX 1 52" info1: "Proj 52 + mode: X + visited: 6 + irg: IRR_LOOP_loop1 + arity: 1 + pred nodes: + -1: Block 47 + 0: Cond 50 + Private Attributes: +" +color: yellow} edge: {sourcename: "n52" targetname: "n50" label: "0" class:13 priority:60 color:red} -node: {title: "n50" label: "Cond 50" info1: "mode: T -visited: 6 -irg: IRR_LOOP_loop1 -arity: 1 -"} +node: {title: "n50" label: "Cond 50" info1: "Cond 50 + mode: T + visited: 6 + irg: IRR_LOOP_loop1 + arity: 1 + pred nodes: + -1: Block 47 + 0: Proj 49 + Private Attributes: + condition kind: dense + default ProjNr: 0 +" +} edge: {sourcename: "n50" targetname: "n49" label: "0" class:1 priority:50} -node: {title: "n49" label: "Projb Eq 49" info1: "mode: b -visited: 6 -irg: IRR_LOOP_loop1 -arity: 1 -"color: yellow} +node: {title: "n49" label: "Projb Eq 49" info1: "Proj 49 + mode: b + visited: 6 + irg: IRR_LOOP_loop1 + arity: 1 + pred nodes: + -1: Block 47 + 0: Cmp 48 + Private Attributes: +" +color: yellow} edge: {sourcename: "n49" targetname: "n48" label: "0" class:1 priority:50} -node: {title: "n48" label: "Cmp 48" info1: "mode: T -visited: 6 -irg: IRR_LOOP_loop1 -arity: 2 -"} +node: {title: "n48" label: "Cmp 48" info1: "Cmp 48 + mode: T + visited: 6 + irg: IRR_LOOP_loop1 + arity: 2 + pred nodes: + -1: Block 47 + 0: 0x0 32 + 1: 0x2 34 + Private Attributes: +" +} edge: {sourcename: "n48" targetname: "n32" label: "0" class:16 priority:10} edge: {sourcename: "n48" targetname: "n34" label: "1" class:16 priority:10} } graph: { title: "n31" label: "Block 31" status:clustered color:yellow edge: {sourcename: "n31" targetname: "n25" label: "0" class:13 priority:60 color:red} -node: {title: "n40" label: "ProjX 1 40" info1: "mode: X -visited: 6 -irg: IRR_LOOP_loop1 -arity: 1 -"color: yellow} +node: {title: "n40" label: "ProjX 1 40" info1: "Proj 40 + mode: X + visited: 6 + irg: IRR_LOOP_loop1 + arity: 1 + pred nodes: + -1: Block 31 + 0: Cond 38 + Private Attributes: +" +color: yellow} edge: {sourcename: "n40" targetname: "n38" label: "0" class:13 priority:60 color:red} -node: {title: "n39" label: "ProjX 0 39" info1: "mode: X -visited: 6 -irg: IRR_LOOP_loop1 -arity: 1 -"color: yellow} +node: {title: "n39" label: "ProjX 0 39" info1: "Proj 39 + mode: X + visited: 6 + irg: IRR_LOOP_loop1 + arity: 1 + pred nodes: + -1: Block 31 + 0: Cond 38 + Private Attributes: +" +color: yellow} edge: {sourcename: "n39" targetname: "n38" label: "0" class:13 priority:60 color:red} -node: {title: "n38" label: "Cond 38" info1: "mode: T -visited: 6 -irg: IRR_LOOP_loop1 -arity: 1 -"} +node: {title: "n38" label: "Cond 38" info1: "Cond 38 + mode: T + visited: 6 + irg: IRR_LOOP_loop1 + arity: 1 + pred nodes: + -1: Block 31 + 0: Proj 37 + Private Attributes: + condition kind: dense + default ProjNr: 0 +" +} edge: {sourcename: "n38" targetname: "n37" label: "0" class:1 priority:50} -node: {title: "n37" label: "Projb Eq 37" info1: "mode: b -visited: 6 -irg: IRR_LOOP_loop1 -arity: 1 -"color: yellow} +node: {title: "n37" label: "Projb Eq 37" info1: "Proj 37 + mode: b + visited: 6 + irg: IRR_LOOP_loop1 + arity: 1 + pred nodes: + -1: Block 31 + 0: Cmp 36 + Private Attributes: +" +color: yellow} edge: {sourcename: "n37" targetname: "n36" label: "0" class:1 priority:50} -node: {title: "n36" label: "Cmp 36" info1: "mode: T -visited: 6 -irg: IRR_LOOP_loop1 -arity: 2 -"} +node: {title: "n36" label: "Cmp 36" info1: "Cmp 36 + mode: T + visited: 6 + irg: IRR_LOOP_loop1 + arity: 2 + pred nodes: + -1: Block 31 + 0: 0x0 32 + 1: 0x1 33 + Private Attributes: +" +} edge: {sourcename: "n36" targetname: "n32" label: "0" class:16 priority:10} edge: {sourcename: "n36" targetname: "n33" label: "1" class:16 priority:10} } graph: { title: "n21" label: "Block 21" status:clustered color:yellow edge: {sourcename: "n21" targetname: "n25" label: "0" class:13 priority:60 color:red} -node: {title: "n28" label: "ProjM 1 28" info1: "mode: M -visited: 6 -irg: IRR_LOOP_loop1 -arity: 1 -"color: yellow} +node: {title: "n28" label: "ProjM 1 28" info1: "Proj 28 + mode: M + visited: 6 + irg: IRR_LOOP_loop1 + arity: 1 + pred nodes: + -1: Block 21 + 0: Start 22 + Private Attributes: +" +color: yellow} edge: {sourcename: "n28" targetname: "n22" label: "0" class:17 priority:10 color:blue} -node: {title: "n33" label: "0x1Is 33" info1: "mode: Is -visited: 6 -irg: IRR_LOOP_loop1 -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n32" label: "0x0Is 32" info1: "mode: Is -visited: 6 -irg: IRR_LOOP_loop1 -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n34" label: "0x2Is 34" info1: "mode: Is -visited: 6 -irg: IRR_LOOP_loop1 -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n25" label: "ProjX 0 25" info1: "mode: X -visited: 6 -irg: IRR_LOOP_loop1 -arity: 1 -"color: yellow} +node: {title: "n33" label: "0x1Is 33" info1: "0x1 33 + mode: Is + visited: 6 + irg: IRR_LOOP_loop1 + arity: 0 + pred nodes: + -1: Block 21 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n32" label: "0x0Is 32" info1: "0x0 32 + mode: Is + visited: 6 + irg: IRR_LOOP_loop1 + arity: 0 + pred nodes: + -1: Block 21 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n34" label: "0x2Is 34" info1: "0x2 34 + mode: Is + visited: 6 + irg: IRR_LOOP_loop1 + arity: 0 + pred nodes: + -1: Block 21 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n25" label: "ProjX 0 25" info1: "Proj 25 + mode: X + visited: 6 + irg: IRR_LOOP_loop1 + arity: 1 + pred nodes: + -1: Block 21 + 0: Start 22 + Private Attributes: +" +color: yellow} edge: {sourcename: "n25" targetname: "n22" label: "0" class:13 priority:60 color:red} -node: {title: "n22" label: "Start 22" info1: "mode: T -visited: 6 -irg: IRR_LOOP_loop1 -arity: 0 -start of method of type METH_TP_NOARG_NORES -"color: blue} +node: {title: "n22" label: "Start 22" info1: "Start 22 + mode: T + visited: 6 + irg: IRR_LOOP_loop1 + arity: 0 + pred nodes: + -1: Block 21 + Private Attributes: + start of method of type METH_TP_NOARG_NORES +" +color: blue} } } diff --git a/testprograms/ref-results/IRR_LOOP_loop2-cfg.vcg b/testprograms/ref-results/IRR_LOOP_loop2-cfg.vcg index 77b6dd74b..6f66e75ec 100644 --- a/testprograms/ref-results/IRR_LOOP_loop2-cfg.vcg +++ b/testprograms/ref-results/IRR_LOOP_loop2-cfg.vcg @@ -81,9 +81,15 @@ edge: { sourcename: "n78" targetname: "n68"} node: {title: "n68" label: "Start Block n68" info1:"arity: 1 " color:blue } edge: { sourcename: "n68" targetname: "n68"} -node: {title: "n70" label: "Bad 70" info1: "mode: T -visited: 0 -irg: IRR_LOOP_loop2 -arity: 0 -"} +node: {title: "n70" label: "Bad 70" info1: "Bad 70 + mode: T + visited: 0 + irg: IRR_LOOP_loop2 + arity: 0 + pred nodes: + -1: Block 68 + Private Attributes: + pinned state: op_pin_state_pinned +" +} } diff --git a/testprograms/ref-results/IRR_LOOP_loop2.vcg b/testprograms/ref-results/IRR_LOOP_loop2.vcg index 9f76aca4a..5be567118 100644 --- a/testprograms/ref-results/IRR_LOOP_loop2.vcg +++ b/testprograms/ref-results/IRR_LOOP_loop2.vcg @@ -55,28 +55,51 @@ colorentry 125: 255 250 250 graph: { title: "g77" label: "IRR_LOOP_loop2" status:clustered color:white graph: { title: "n66" label: "Block 66" status:clustered color:yellow edge: {sourcename: "n66" targetname: "n116" label: "0" class:13 priority:60 color:red} -node: {title: "n67" label: "End 67" info1: "mode: X -visited: 6 -irg: IRR_LOOP_loop2 -arity: 4 -"color: blue} +node: {title: "n67" label: "End 67" info1: "End 67 + mode: X + visited: 6 + irg: IRR_LOOP_loop2 + arity: 4 + pred nodes: + -1: Block 66 + 0: Phi 124 + 1: Phi 125 + 2: Phi 126 + 3: Phi 127 + Private Attributes: +" +color: blue} } graph: { title: "n114" label: "Block 114" status:clustered color:yellow edge: {sourcename: "n114" targetname: "n100" label: "0" class:13 priority:60 color:red} edge: {sourcename: "n114" targetname: "n112" label: "1" class:13 priority:60 color:red} -node: {title: "n116" label: "Return 116" info1: "mode: X -visited: 6 -irg: IRR_LOOP_loop2 -arity: 1 -return in method of type METH_TP_NOARG_NORES -"} +node: {title: "n116" label: "Return 116" info1: "Return 116 + mode: X + visited: 6 + irg: IRR_LOOP_loop2 + arity: 1 + pred nodes: + -1: Block 114 + 0: Phi 127 + Private Attributes: + return in method of type METH_TP_NOARG_NORES +" +} edge: {sourcename: "n116" targetname: "n127" label: "0" class:14 priority:50 color:blue} -node: {title: "n127" label: "PhiM 127" info1: "mode: M -visited: 6 -irg: IRR_LOOP_loop2 -arity: 2 backedges: -"color: green} +node: {title: "n127" label: "PhiM 127" info1: "Phi 127 + mode: M + visited: 6 + irg: IRR_LOOP_loop2 + arity: 2 + pred nodes: + -1: Block 114 + 0: Phi 126 + 1: Phi 124 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n127" targetname: "n126" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n127" targetname: "n124" label: "1" class:17 priority:10 color:blue} } @@ -84,42 +107,83 @@ edge: {sourcename: "n127" targetname: "n124" label: "1" class:17 priority:10 col graph: { title: "n108" label: "Block 108" status:clustered color:yellow edge: {sourcename: "n108" targetname: "n88" label: "0" class:13 priority:60 color:red} backedge: {sourcename: "n108" targetname: "n106" label: "1" linestyle:dashed class:13 priority:60 color:red} -node: {title: "n124" label: "PhiM 124" info1: "mode: M -visited: 6 -irg: IRR_LOOP_loop2 -arity: 2 backedges: -"color: green} +node: {title: "n124" label: "PhiM 124" info1: "Phi 124 + mode: M + visited: 6 + irg: IRR_LOOP_loop2 + arity: 2 + pred nodes: + -1: Block 108 + 0: Proj 75 + 1: Phi 125 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n124" targetname: "n75" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n124" targetname: "n125" label: "1" class:17 priority:10 color:blue} -node: {title: "n112" label: "ProjX 0 112" info1: "mode: X -visited: 6 -irg: IRR_LOOP_loop2 -arity: 1 -"color: yellow} +node: {title: "n112" label: "ProjX 0 112" info1: "Proj 112 + mode: X + visited: 6 + irg: IRR_LOOP_loop2 + arity: 1 + pred nodes: + -1: Block 108 + 0: Cond 111 + Private Attributes: +" +color: yellow} edge: {sourcename: "n112" targetname: "n111" label: "0" class:13 priority:60 color:red} -node: {title: "n113" label: "ProjX 1 113" info1: "mode: X -visited: 6 -irg: IRR_LOOP_loop2 -arity: 1 -"color: yellow} +node: {title: "n113" label: "ProjX 1 113" info1: "Proj 113 + mode: X + visited: 6 + irg: IRR_LOOP_loop2 + arity: 1 + pred nodes: + -1: Block 108 + 0: Cond 111 + Private Attributes: +" +color: yellow} edge: {sourcename: "n113" targetname: "n111" label: "0" class:13 priority:60 color:red} -node: {title: "n111" label: "Cond 111" info1: "mode: T -visited: 6 -irg: IRR_LOOP_loop2 -arity: 1 -"} +node: {title: "n111" label: "Cond 111" info1: "Cond 111 + mode: T + visited: 6 + irg: IRR_LOOP_loop2 + arity: 1 + pred nodes: + -1: Block 108 + 0: Proj 110 + Private Attributes: + condition kind: dense + default ProjNr: 0 +" +} edge: {sourcename: "n111" targetname: "n110" label: "0" class:1 priority:50} -node: {title: "n110" label: "Projb Eq 110" info1: "mode: b -visited: 6 -irg: IRR_LOOP_loop2 -arity: 1 -"color: yellow} +node: {title: "n110" label: "Projb Eq 110" info1: "Proj 110 + mode: b + visited: 6 + irg: IRR_LOOP_loop2 + arity: 1 + pred nodes: + -1: Block 108 + 0: Cmp 109 + Private Attributes: +" +color: yellow} edge: {sourcename: "n110" targetname: "n109" label: "0" class:1 priority:50} -node: {title: "n109" label: "Cmp 109" info1: "mode: T -visited: 6 -irg: IRR_LOOP_loop2 -arity: 2 -"} +node: {title: "n109" label: "Cmp 109" info1: "Cmp 109 + mode: T + visited: 6 + irg: IRR_LOOP_loop2 + arity: 2 + pred nodes: + -1: Block 108 + 0: 0x0 79 + 1: 0x4 83 + Private Attributes: +" +} edge: {sourcename: "n109" targetname: "n79" label: "0" class:16 priority:10} edge: {sourcename: "n109" targetname: "n83" label: "1" class:16 priority:10} } @@ -128,43 +192,85 @@ graph: { title: "n102" label: "Block 102" status:clustered color:yellow edge: {sourcename: "n102" targetname: "n94" label: "0" class:13 priority:60 color:red} edge: {sourcename: "n102" targetname: "n101" label: "1" class:13 priority:60 color:red} edge: {sourcename: "n102" targetname: "n113" label: "2" class:13 priority:60 color:red} -node: {title: "n125" label: "PhiM 125" info1: "mode: M -visited: 6 -irg: IRR_LOOP_loop2 -arity: 3 backedges: -"color: green} +node: {title: "n125" label: "PhiM 125" info1: "Phi 125 + mode: M + visited: 6 + irg: IRR_LOOP_loop2 + arity: 3 + pred nodes: + -1: Block 102 + 0: Proj 75 + 1: Phi 126 + 2: Phi 124 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n125" targetname: "n75" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n125" targetname: "n126" label: "1" class:17 priority:10 color:blue} edge: {sourcename: "n125" targetname: "n124" label: "2" class:17 priority:10 color:blue} -node: {title: "n106" label: "ProjX 0 106" info1: "mode: X -visited: 6 -irg: IRR_LOOP_loop2 -arity: 1 -"color: yellow} +node: {title: "n106" label: "ProjX 0 106" info1: "Proj 106 + mode: X + visited: 6 + irg: IRR_LOOP_loop2 + arity: 1 + pred nodes: + -1: Block 102 + 0: Cond 105 + Private Attributes: +" +color: yellow} edge: {sourcename: "n106" targetname: "n105" label: "0" class:13 priority:60 color:red} -node: {title: "n107" label: "ProjX 1 107" info1: "mode: X -visited: 6 -irg: IRR_LOOP_loop2 -arity: 1 -"color: yellow} +node: {title: "n107" label: "ProjX 1 107" info1: "Proj 107 + mode: X + visited: 6 + irg: IRR_LOOP_loop2 + arity: 1 + pred nodes: + -1: Block 102 + 0: Cond 105 + Private Attributes: +" +color: yellow} edge: {sourcename: "n107" targetname: "n105" label: "0" class:13 priority:60 color:red} -node: {title: "n105" label: "Cond 105" info1: "mode: T -visited: 6 -irg: IRR_LOOP_loop2 -arity: 1 -"} +node: {title: "n105" label: "Cond 105" info1: "Cond 105 + mode: T + visited: 6 + irg: IRR_LOOP_loop2 + arity: 1 + pred nodes: + -1: Block 102 + 0: Proj 104 + Private Attributes: + condition kind: dense + default ProjNr: 0 +" +} edge: {sourcename: "n105" targetname: "n104" label: "0" class:1 priority:50} -node: {title: "n104" label: "Projb Eq 104" info1: "mode: b -visited: 6 -irg: IRR_LOOP_loop2 -arity: 1 -"color: yellow} +node: {title: "n104" label: "Projb Eq 104" info1: "Proj 104 + mode: b + visited: 6 + irg: IRR_LOOP_loop2 + arity: 1 + pred nodes: + -1: Block 102 + 0: Cmp 103 + Private Attributes: +" +color: yellow} edge: {sourcename: "n104" targetname: "n103" label: "0" class:1 priority:50} -node: {title: "n103" label: "Cmp 103" info1: "mode: T -visited: 6 -irg: IRR_LOOP_loop2 -arity: 2 -"} +node: {title: "n103" label: "Cmp 103" info1: "Cmp 103 + mode: T + visited: 6 + irg: IRR_LOOP_loop2 + arity: 2 + pred nodes: + -1: Block 102 + 0: 0x0 79 + 1: 0x3 82 + Private Attributes: +" +} edge: {sourcename: "n103" targetname: "n79" label: "0" class:16 priority:10} edge: {sourcename: "n103" targetname: "n82" label: "1" class:16 priority:10} } @@ -172,172 +278,326 @@ edge: {sourcename: "n103" targetname: "n82" label: "1" class:16 priority:10} graph: { title: "n96" label: "Block 96" status:clustered color:yellow edge: {sourcename: "n96" targetname: "n95" label: "0" class:13 priority:60 color:red} backedge: {sourcename: "n96" targetname: "n107" label: "1" linestyle:dashed class:13 priority:60 color:red} -node: {title: "n126" label: "PhiM 126" info1: "mode: M -visited: 6 -irg: IRR_LOOP_loop2 -arity: 2 backedges: -"color: green} +node: {title: "n126" label: "PhiM 126" info1: "Phi 126 + mode: M + visited: 6 + irg: IRR_LOOP_loop2 + arity: 2 + pred nodes: + -1: Block 96 + 0: Proj 75 + 1: Phi 125 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n126" targetname: "n75" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n126" targetname: "n125" label: "1" class:17 priority:10 color:blue} -node: {title: "n100" label: "ProjX 0 100" info1: "mode: X -visited: 6 -irg: IRR_LOOP_loop2 -arity: 1 -"color: yellow} +node: {title: "n100" label: "ProjX 0 100" info1: "Proj 100 + mode: X + visited: 6 + irg: IRR_LOOP_loop2 + arity: 1 + pred nodes: + -1: Block 96 + 0: Cond 99 + Private Attributes: +" +color: yellow} edge: {sourcename: "n100" targetname: "n99" label: "0" class:13 priority:60 color:red} -node: {title: "n101" label: "ProjX 1 101" info1: "mode: X -visited: 6 -irg: IRR_LOOP_loop2 -arity: 1 -"color: yellow} +node: {title: "n101" label: "ProjX 1 101" info1: "Proj 101 + mode: X + visited: 6 + irg: IRR_LOOP_loop2 + arity: 1 + pred nodes: + -1: Block 96 + 0: Cond 99 + Private Attributes: +" +color: yellow} edge: {sourcename: "n101" targetname: "n99" label: "0" class:13 priority:60 color:red} -node: {title: "n99" label: "Cond 99" info1: "mode: T -visited: 6 -irg: IRR_LOOP_loop2 -arity: 1 -"} +node: {title: "n99" label: "Cond 99" info1: "Cond 99 + mode: T + visited: 6 + irg: IRR_LOOP_loop2 + arity: 1 + pred nodes: + -1: Block 96 + 0: Proj 98 + Private Attributes: + condition kind: dense + default ProjNr: 0 +" +} edge: {sourcename: "n99" targetname: "n98" label: "0" class:1 priority:50} -node: {title: "n98" label: "Projb Eq 98" info1: "mode: b -visited: 6 -irg: IRR_LOOP_loop2 -arity: 1 -"color: yellow} +node: {title: "n98" label: "Projb Eq 98" info1: "Proj 98 + mode: b + visited: 6 + irg: IRR_LOOP_loop2 + arity: 1 + pred nodes: + -1: Block 96 + 0: Cmp 97 + Private Attributes: +" +color: yellow} edge: {sourcename: "n98" targetname: "n97" label: "0" class:1 priority:50} -node: {title: "n97" label: "Cmp 97" info1: "mode: T -visited: 6 -irg: IRR_LOOP_loop2 -arity: 2 -"} +node: {title: "n97" label: "Cmp 97" info1: "Cmp 97 + mode: T + visited: 6 + irg: IRR_LOOP_loop2 + arity: 2 + pred nodes: + -1: Block 96 + 0: 0x0 79 + 1: 0x2 81 + Private Attributes: +" +} edge: {sourcename: "n97" targetname: "n79" label: "0" class:16 priority:10} edge: {sourcename: "n97" targetname: "n81" label: "1" class:16 priority:10} } 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: "n94" label: "ProjX 0 94" info1: "mode: X -visited: 6 -irg: IRR_LOOP_loop2 -arity: 1 -"color: yellow} +node: {title: "n94" label: "ProjX 0 94" info1: "Proj 94 + mode: X + visited: 6 + irg: IRR_LOOP_loop2 + arity: 1 + pred nodes: + -1: Block 90 + 0: Cond 93 + Private Attributes: +" +color: yellow} edge: {sourcename: "n94" targetname: "n93" label: "0" class:13 priority:60 color:red} -node: {title: "n95" label: "ProjX 1 95" info1: "mode: X -visited: 6 -irg: IRR_LOOP_loop2 -arity: 1 -"color: yellow} +node: {title: "n95" label: "ProjX 1 95" info1: "Proj 95 + mode: X + visited: 6 + irg: IRR_LOOP_loop2 + arity: 1 + pred nodes: + -1: Block 90 + 0: Cond 93 + Private Attributes: +" +color: yellow} edge: {sourcename: "n95" targetname: "n93" label: "0" class:13 priority:60 color:red} -node: {title: "n93" label: "Cond 93" info1: "mode: T -visited: 6 -irg: IRR_LOOP_loop2 -arity: 1 -"} +node: {title: "n93" label: "Cond 93" info1: "Cond 93 + mode: T + visited: 6 + irg: IRR_LOOP_loop2 + arity: 1 + pred nodes: + -1: Block 90 + 0: Proj 92 + Private Attributes: + condition kind: dense + default ProjNr: 0 +" +} edge: {sourcename: "n93" targetname: "n92" label: "0" class:1 priority:50} -node: {title: "n92" label: "Projb Eq 92" info1: "mode: b -visited: 6 -irg: IRR_LOOP_loop2 -arity: 1 -"color: yellow} +node: {title: "n92" label: "Projb Eq 92" info1: "Proj 92 + mode: b + visited: 6 + irg: IRR_LOOP_loop2 + arity: 1 + pred nodes: + -1: Block 90 + 0: Cmp 91 + Private Attributes: +" +color: yellow} edge: {sourcename: "n92" targetname: "n91" label: "0" class:1 priority:50} -node: {title: "n91" label: "Cmp 91" info1: "mode: T -visited: 6 -irg: IRR_LOOP_loop2 -arity: 2 -"} +node: {title: "n91" label: "Cmp 91" info1: "Cmp 91 + mode: T + visited: 6 + irg: IRR_LOOP_loop2 + arity: 2 + pred nodes: + -1: Block 90 + 0: 0x0 79 + 1: 0x5 84 + Private Attributes: +" +} edge: {sourcename: "n91" targetname: "n79" label: "0" class:16 priority:10} edge: {sourcename: "n91" targetname: "n84" label: "1" class:16 priority:10} } graph: { title: "n78" label: "Block 78" status:clustered color:yellow edge: {sourcename: "n78" targetname: "n72" label: "0" class:13 priority:60 color:red} -node: {title: "n88" label: "ProjX 0 88" info1: "mode: X -visited: 6 -irg: IRR_LOOP_loop2 -arity: 1 -"color: yellow} +node: {title: "n88" label: "ProjX 0 88" info1: "Proj 88 + mode: X + visited: 6 + irg: IRR_LOOP_loop2 + arity: 1 + pred nodes: + -1: Block 78 + 0: Cond 87 + Private Attributes: +" +color: yellow} edge: {sourcename: "n88" targetname: "n87" label: "0" class:13 priority:60 color:red} -node: {title: "n89" label: "ProjX 1 89" info1: "mode: X -visited: 6 -irg: IRR_LOOP_loop2 -arity: 1 -"color: yellow} +node: {title: "n89" label: "ProjX 1 89" info1: "Proj 89 + mode: X + visited: 6 + irg: IRR_LOOP_loop2 + arity: 1 + pred nodes: + -1: Block 78 + 0: Cond 87 + Private Attributes: +" +color: yellow} edge: {sourcename: "n89" targetname: "n87" label: "0" class:13 priority:60 color:red} -node: {title: "n87" label: "Cond 87" info1: "mode: T -visited: 6 -irg: IRR_LOOP_loop2 -arity: 1 -"} +node: {title: "n87" label: "Cond 87" info1: "Cond 87 + mode: T + visited: 6 + irg: IRR_LOOP_loop2 + arity: 1 + pred nodes: + -1: Block 78 + 0: Proj 86 + Private Attributes: + condition kind: dense + default ProjNr: 0 +" +} edge: {sourcename: "n87" targetname: "n86" label: "0" class:1 priority:50} -node: {title: "n86" label: "Projb Eq 86" info1: "mode: b -visited: 6 -irg: IRR_LOOP_loop2 -arity: 1 -"color: yellow} +node: {title: "n86" label: "Projb Eq 86" info1: "Proj 86 + mode: b + visited: 6 + irg: IRR_LOOP_loop2 + arity: 1 + pred nodes: + -1: Block 78 + 0: Cmp 85 + Private Attributes: +" +color: yellow} edge: {sourcename: "n86" targetname: "n85" label: "0" class:1 priority:50} -node: {title: "n85" label: "Cmp 85" info1: "mode: T -visited: 6 -irg: IRR_LOOP_loop2 -arity: 2 -"} +node: {title: "n85" label: "Cmp 85" info1: "Cmp 85 + mode: T + visited: 6 + irg: IRR_LOOP_loop2 + arity: 2 + pred nodes: + -1: Block 78 + 0: 0x0 79 + 1: 0x1 80 + Private Attributes: +" +} edge: {sourcename: "n85" targetname: "n79" label: "0" class:16 priority:10} edge: {sourcename: "n85" targetname: "n80" label: "1" class:16 priority:10} } graph: { title: "n68" label: "Block 68" status:clustered color:yellow edge: {sourcename: "n68" targetname: "n72" label: "0" class:13 priority:60 color:red} -node: {title: "n75" label: "ProjM 1 75" info1: "mode: M -visited: 6 -irg: IRR_LOOP_loop2 -arity: 1 -"color: yellow} +node: {title: "n75" label: "ProjM 1 75" info1: "Proj 75 + mode: M + visited: 6 + irg: IRR_LOOP_loop2 + arity: 1 + pred nodes: + -1: Block 68 + 0: Start 69 + Private Attributes: +" +color: yellow} edge: {sourcename: "n75" targetname: "n69" label: "0" class:17 priority:10 color:blue} -node: {title: "n81" label: "0x2Is 81" info1: "mode: Is -visited: 6 -irg: IRR_LOOP_loop2 -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n84" label: "0x5Is 84" info1: "mode: Is -visited: 6 -irg: IRR_LOOP_loop2 -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n80" label: "0x1Is 80" info1: "mode: Is -visited: 6 -irg: IRR_LOOP_loop2 -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n82" label: "0x3Is 82" info1: "mode: Is -visited: 6 -irg: IRR_LOOP_loop2 -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n79" label: "0x0Is 79" info1: "mode: Is -visited: 6 -irg: IRR_LOOP_loop2 -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n83" label: "0x4Is 83" info1: "mode: Is -visited: 6 -irg: IRR_LOOP_loop2 -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n72" label: "ProjX 0 72" info1: "mode: X -visited: 6 -irg: IRR_LOOP_loop2 -arity: 1 -"color: yellow} +node: {title: "n81" label: "0x2Is 81" info1: "0x2 81 + mode: Is + visited: 6 + irg: IRR_LOOP_loop2 + arity: 0 + pred nodes: + -1: Block 68 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n84" label: "0x5Is 84" info1: "0x5 84 + mode: Is + visited: 6 + irg: IRR_LOOP_loop2 + arity: 0 + pred nodes: + -1: Block 68 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n80" label: "0x1Is 80" info1: "0x1 80 + mode: Is + visited: 6 + irg: IRR_LOOP_loop2 + arity: 0 + pred nodes: + -1: Block 68 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n82" label: "0x3Is 82" info1: "0x3 82 + mode: Is + visited: 6 + irg: IRR_LOOP_loop2 + arity: 0 + pred nodes: + -1: Block 68 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n79" label: "0x0Is 79" info1: "0x0 79 + mode: Is + visited: 6 + irg: IRR_LOOP_loop2 + arity: 0 + pred nodes: + -1: Block 68 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n83" label: "0x4Is 83" info1: "0x4 83 + mode: Is + visited: 6 + irg: IRR_LOOP_loop2 + arity: 0 + pred nodes: + -1: Block 68 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n72" label: "ProjX 0 72" info1: "Proj 72 + mode: X + visited: 6 + irg: IRR_LOOP_loop2 + arity: 1 + pred nodes: + -1: Block 68 + 0: Start 69 + Private Attributes: +" +color: yellow} edge: {sourcename: "n72" targetname: "n69" label: "0" class:13 priority:60 color:red} -node: {title: "n69" label: "Start 69" info1: "mode: T -visited: 6 -irg: IRR_LOOP_loop2 -arity: 0 -start of method of type METH_TP_NOARG_NORES -"color: blue} +node: {title: "n69" label: "Start 69" info1: "Start 69 + mode: T + visited: 6 + irg: IRR_LOOP_loop2 + arity: 0 + pred nodes: + -1: Block 68 + Private Attributes: + start of method of type METH_TP_NOARG_NORES +" +color: blue} } } diff --git a/testprograms/ref-results/MEMORY_EXAMPLE_main.vcg b/testprograms/ref-results/MEMORY_EXAMPLE_main.vcg index c6a65ba9c..c7393ba46 100644 --- a/testprograms/ref-results/MEMORY_EXAMPLE_main.vcg +++ b/testprograms/ref-results/MEMORY_EXAMPLE_main.vcg @@ -55,42 +55,76 @@ colorentry 125: 255 250 250 graph: { title: "g31" label: "MEMORY_EXAMPLE_main" status:clustered color:white graph: { title: "n20" label: "Block 20" status:clustered color:yellow edge: {sourcename: "n20" targetname: "n77" label: "0" class:13 priority:60 color:red} -node: {title: "n79" label: "End 79" info1: "mode: X -visited: 18 -irg: MEMORY_EXAMPLE_main -arity: 1 -"color: blue} +node: {title: "n79" label: "End 79" info1: "End 79 + mode: X + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 20 + 0: Phi 70 + Private Attributes: +" +color: blue} } graph: { title: "n71" label: "Block 71" status:clustered color:yellow edge: {sourcename: "n71" targetname: "n69" 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 -"} +node: {title: "n77" label: "Return 77" info1: "Return 77 + mode: X + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 71 + 0: Proj 76 + 1: Proj 75 + Private Attributes: + return in method of type main + res 0 type: int +" +} edge: {sourcename: "n77" targetname: "n76" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n77" targetname: "n75" label: "1" class:1 priority:50} -node: {title: "n76" label: "ProjM 0 76" info1: "mode: M -visited: 18 -irg: MEMORY_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n76" label: "ProjM 0 76" info1: "Proj 76 + mode: M + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 71 + 0: Load[Iu] 73 + Private Attributes: +" +color: yellow} edge: {sourcename: "n76" targetname: "n73" label: "0" class:17 priority:10 color:blue} -node: {title: "n75" label: "ProjIu 2 75" info1: "mode: Iu -visited: 18 -irg: MEMORY_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n75" label: "ProjIu 2 75" info1: "Proj 75 + mode: Iu + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 71 + 0: Load[Iu] 73 + Private Attributes: +" +color: yellow} edge: {sourcename: "n75" targetname: "n73" label: "0" class:1 priority:50} -node: {title: "n73" label: "Load[Iu] 73" info1: "mode: T -visited: 18 -irg: MEMORY_EXAMPLE_main -arity: 2 -volatility: volatility_non_volatile -"} +node: {title: "n73" label: "Load[Iu] 73" info1: "Load[Iu] 73 + mode: T + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 71 + 0: Proj 63 + 1: Sel 35 + Private Attributes: + pinned state: op_pin_state_pinned + mode of loaded value: Iu + volatility: volatility_non_volatile +" +} edge: {sourcename: "n73" targetname: "n63" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n73" targetname: "n35" label: "1" class:16 priority:10} } @@ -98,211 +132,406 @@ edge: {sourcename: "n73" targetname: "n35" label: "1" class:16 priority:10} graph: { title: "n48" label: "Block 48" status:clustered color:yellow edge: {sourcename: "n48" targetname: "n46" label: "0" class:13 priority:60 color:red} edge: {sourcename: "n48" targetname: "n68" label: "1" class:13 priority:60 color:red} -node: {title: "n69" label: "ProjX 1 69" info1: "mode: X -visited: 18 -irg: MEMORY_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n69" label: "ProjX 1 69" info1: "Proj 69 + mode: X + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 48 + 0: Cond 67 + Private Attributes: +" +color: yellow} edge: {sourcename: "n69" targetname: "n67" label: "0" class:13 priority:60 color:red} -node: {title: "n68" label: "ProjX 0 68" info1: "mode: X -visited: 18 -irg: MEMORY_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n68" label: "ProjX 0 68" info1: "Proj 68 + mode: X + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 48 + 0: Cond 67 + Private Attributes: +" +color: yellow} edge: {sourcename: "n68" targetname: "n67" label: "0" class:13 priority:60 color:red} -node: {title: "n67" label: "Cond 67" info1: "mode: T -visited: 18 -irg: MEMORY_EXAMPLE_main -arity: 1 -"} +node: {title: "n67" label: "Cond 67" info1: "Cond 67 + mode: T + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 48 + 0: Proj 66 + Private Attributes: + condition kind: dense + default ProjNr: 0 +" +} edge: {sourcename: "n67" targetname: "n66" label: "0" class:1 priority:50} -node: {title: "n66" label: "Projb Gt 66" info1: "mode: b -visited: 18 -irg: MEMORY_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n66" label: "Projb Gt 66" info1: "Proj 66 + mode: b + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 48 + 0: Cmp 65 + Private Attributes: +" +color: yellow} edge: {sourcename: "n66" targetname: "n65" label: "0" class:1 priority:50} -node: {title: "n65" label: "Cmp 65" info1: "mode: T -visited: 18 -irg: MEMORY_EXAMPLE_main -arity: 2 -"} +node: {title: "n65" label: "Cmp 65" info1: "Cmp 65 + mode: T + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 48 + 0: 0x0 38 + 1: Proj 53 + Private Attributes: +" +} edge: {sourcename: "n65" targetname: "n38" label: "0" class:16 priority:10} edge: {sourcename: "n65" targetname: "n53" label: "1" class:1 priority:50} -node: {title: "n53" label: "ProjIu 2 53" info1: "mode: Iu -visited: 18 -irg: MEMORY_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n53" label: "ProjIu 2 53" info1: "Proj 53 + mode: Iu + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 48 + 0: Load[Iu] 50 + Private Attributes: +" +color: yellow} edge: {sourcename: "n53" targetname: "n50" label: "0" class:1 priority:50} -node: {title: "n50" label: "Load[Iu] 50" info1: "mode: T -visited: 18 -irg: MEMORY_EXAMPLE_main -arity: 2 -volatility: volatility_non_volatile -"} +node: {title: "n50" label: "Load[Iu] 50" info1: "Load[Iu] 50 + mode: T + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 48 + 0: Phi 70 + 1: Sel 35 + Private Attributes: + pinned state: op_pin_state_pinned + mode of loaded value: Iu + volatility: volatility_non_volatile +" +} edge: {sourcename: "n50" targetname: "n70" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n50" targetname: "n35" label: "1" class:16 priority:10} -node: {title: "n70" label: "PhiM 70" info1: "mode: M -visited: 18 -irg: MEMORY_EXAMPLE_main -arity: 2 backedges: -"color: green} +node: {title: "n70" label: "PhiM 70" info1: "Phi 70 + mode: M + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 48 + 0: Proj 45 + 1: Proj 63 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n70" targetname: "n45" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n70" targetname: "n63" label: "1" class:17 priority:10 color:blue} -node: {title: "n63" label: "ProjM 0 63" info1: "mode: M -visited: 18 -irg: MEMORY_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n63" label: "ProjM 0 63" info1: "Proj 63 + mode: M + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 48 + 0: Store 61 + Private Attributes: +" +color: yellow} edge: {sourcename: "n63" targetname: "n61" label: "0" class:17 priority:10 color:blue} -node: {title: "n61" label: "Store 61" info1: "mode: T -visited: 18 -irg: MEMORY_EXAMPLE_main -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n61" label: "Store 61" info1: "Store 61 + mode: T + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 3 + pred nodes: + -1: Block 48 + 0: Proj 60 + 1: Sel 37 + 2: Proj 53 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n61" targetname: "n60" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n61" targetname: "n37" label: "1" class:16 priority:10} edge: {sourcename: "n61" targetname: "n53" label: "2" class:1 priority:50} -node: {title: "n60" label: "ProjM 0 60" info1: "mode: M -visited: 18 -irg: MEMORY_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n60" label: "ProjM 0 60" info1: "Proj 60 + mode: M + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 48 + 0: Store 58 + Private Attributes: +" +color: yellow} edge: {sourcename: "n60" targetname: "n58" label: "0" class:17 priority:10 color:blue} -node: {title: "n58" label: "Store 58" info1: "mode: T -visited: 18 -irg: MEMORY_EXAMPLE_main -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n58" label: "Store 58" info1: "Store 58 + mode: T + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 3 + pred nodes: + -1: Block 48 + 0: Proj 56 + 1: Sel 35 + 2: Proj 57 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n58" targetname: "n56" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n58" targetname: "n35" label: "1" class:16 priority:10} edge: {sourcename: "n58" targetname: "n57" label: "2" class:1 priority:50} -node: {title: "n56" label: "ProjM 0 56" info1: "mode: M -visited: 18 -irg: MEMORY_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n56" label: "ProjM 0 56" info1: "Proj 56 + mode: M + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 48 + 0: Load[Iu] 54 + Private Attributes: +" +color: yellow} edge: {sourcename: "n56" targetname: "n54" label: "0" class:17 priority:10 color:blue} -node: {title: "n57" label: "ProjIu 2 57" info1: "mode: Iu -visited: 18 -irg: MEMORY_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n57" label: "ProjIu 2 57" info1: "Proj 57 + mode: Iu + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 48 + 0: Load[Iu] 54 + Private Attributes: +" +color: yellow} edge: {sourcename: "n57" targetname: "n54" label: "0" class:1 priority:50} -node: {title: "n54" label: "Load[Iu] 54" info1: "mode: T -visited: 18 -irg: MEMORY_EXAMPLE_main -arity: 2 -volatility: volatility_non_volatile -"} +node: {title: "n54" label: "Load[Iu] 54" info1: "Load[Iu] 54 + mode: T + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 48 + 0: Proj 52 + 1: Sel 37 + Private Attributes: + pinned state: op_pin_state_pinned + mode of loaded value: Iu + volatility: volatility_non_volatile +" +} edge: {sourcename: "n54" targetname: "n52" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n54" targetname: "n37" label: "1" class:16 priority:10} -node: {title: "n52" label: "ProjM 0 52" info1: "mode: M -visited: 18 -irg: MEMORY_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n52" label: "ProjM 0 52" info1: "Proj 52 + mode: M + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 48 + 0: Load[Iu] 50 + Private Attributes: +" +color: yellow} edge: {sourcename: "n52" targetname: "n50" label: "0" class:17 priority:10 color:blue} } graph: { title: "n32" label: "Block 32" status:clustered color:yellow edge: {sourcename: "n32" targetname: "n26" label: "0" class:13 priority:60 color:red} -node: {title: "n46" label: "Jmp 46" info1: "mode: X -visited: 18 -irg: MEMORY_EXAMPLE_main -arity: 0 -"} -node: {title: "n45" label: "ProjM 0 45" info1: "mode: M -visited: 18 -irg: MEMORY_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n46" label: "Jmp 46" info1: "Jmp 46 + mode: X + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 32 + Private Attributes: +" +} +node: {title: "n45" label: "ProjM 0 45" info1: "Proj 45 + mode: M + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 32 + 0: Store 43 + Private Attributes: +" +color: yellow} edge: {sourcename: "n45" targetname: "n43" label: "0" class:17 priority:10 color:blue} -node: {title: "n43" label: "Store 43" info1: "mode: T -visited: 18 -irg: MEMORY_EXAMPLE_main -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n43" label: "Store 43" info1: "Store 43 + mode: T + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 3 + pred nodes: + -1: Block 32 + 0: Proj 41 + 1: Sel 37 + 2: 0x1 42 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n43" targetname: "n41" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n43" targetname: "n37" label: "1" class:1 priority:50} edge: {sourcename: "n43" targetname: "n42" label: "2" class:16 priority:10} -node: {title: "n41" label: "ProjM 0 41" info1: "mode: M -visited: 18 -irg: MEMORY_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n41" label: "ProjM 0 41" info1: "Proj 41 + mode: M + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 32 + 0: Store 39 + Private Attributes: +" +color: yellow} edge: {sourcename: "n41" targetname: "n39" label: "0" class:17 priority:10 color:blue} -node: {title: "n39" label: "Store 39" info1: "mode: T -visited: 18 -irg: MEMORY_EXAMPLE_main -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n39" label: "Store 39" info1: "Store 39 + mode: T + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 3 + pred nodes: + -1: Block 32 + 0: Proj 29 + 1: Sel 35 + 2: 0x0 38 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n39" targetname: "n29" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n39" targetname: "n35" label: "1" class:1 priority:50} edge: {sourcename: "n39" targetname: "n38" label: "2" class:16 priority:10} -node: {title: "n37" label: "Sel VAR_B 37" info1: "mode: P -visited: 18 -irg: MEMORY_EXAMPLE_main -arity: 2 -Selecting entity of type int - from entity of type GlobalType -"} +node: {title: "n37" label: "Sel VAR_B 37" info1: "Sel 37 + mode: P + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 32 + 0: Proj 29 + 1: Proj 28 + Private Attributes: + Selecting entity of type int + from entity of type GlobalType +" +} edge: {sourcename: "n37" targetname: "n29" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n37" targetname: "n28" label: "1" class:16 priority:10} -node: {title: "n35" label: "Sel VAR_A 35" info1: "mode: P -visited: 18 -irg: MEMORY_EXAMPLE_main -arity: 2 -Selecting entity of type int - from entity of type GlobalType -"} +node: {title: "n35" label: "Sel VAR_A 35" info1: "Sel 35 + mode: P + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 32 + 0: Proj 29 + 1: Proj 28 + Private Attributes: + Selecting entity of type int + from entity of type GlobalType +" +} edge: {sourcename: "n35" targetname: "n29" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n35" targetname: "n28" label: "1" class:16 priority:10} } graph: { title: "n22" label: "Block 22" status:clustered color:yellow edge: {sourcename: "n22" targetname: "n26" label: "0" class:13 priority:60 color:red} -node: {title: "n38" label: "0x0Iu 38" info1: "mode: Iu -visited: 18 -irg: MEMORY_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n42" label: "0x1Iu 42" info1: "mode: Iu -visited: 18 -irg: MEMORY_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n29" label: "ProjM 1 29" info1: "mode: M -visited: 18 -irg: MEMORY_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n38" label: "0x0Iu 38" info1: "0x0 38 + mode: Iu + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 22 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n42" label: "0x1Iu 42" info1: "0x1 42 + mode: Iu + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 22 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n29" label: "ProjM 1 29" info1: "Proj 29 + mode: M + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 22 + 0: Start 23 + Private Attributes: +" +color: yellow} edge: {sourcename: "n29" targetname: "n23" label: "0" class:17 priority:10 color:blue} -node: {title: "n28" label: "ProjP 3 28" info1: "mode: P -visited: 18 -irg: MEMORY_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n28" label: "ProjP 3 28" info1: "Proj 28 + mode: P + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 22 + 0: Start 23 + Private Attributes: +" +color: yellow} edge: {sourcename: "n28" targetname: "n23" label: "0" class:1 priority:50} -node: {title: "n26" label: "ProjX 0 26" info1: "mode: X -visited: 18 -irg: MEMORY_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n26" label: "ProjX 0 26" info1: "Proj 26 + mode: X + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 22 + 0: Start 23 + Private Attributes: +" +color: yellow} edge: {sourcename: "n26" targetname: "n23" label: "0" class:13 priority:60 color:red} -node: {title: "n23" label: "Start 23" info1: "mode: T -visited: 18 -irg: MEMORY_EXAMPLE_main -arity: 0 -start of method of type main -"color: blue} +node: {title: "n23" label: "Start 23" info1: "Start 23 + mode: T + visited: 18 + irg: MEMORY_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 22 + Private Attributes: + start of method of type main +" +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 ed6163907..e6c94c977 100644 --- a/testprograms/ref-results/OO_INLINE_EXAMPLE_main-wtypes.vcg +++ b/testprograms/ref-results/OO_INLINE_EXAMPLE_main-wtypes.vcg @@ -56,158 +56,296 @@ graph: { title: "g39" label: "OO_INLINE_EXAMPLE_main" status:clustered color:whi graph: { title: "n180" label: "Block 180" status:clustered color:yellow edge: {sourcename: "n180" targetname: "n141" label: "0" class:13 priority:60 color:red} edge: {sourcename: "n180" targetname: "n181" label: "1" class:13 priority:60 color:red} -node: {title: "n179" label: "PhiM 179" info1: "mode: M -visited: 26 -irg: OO_INLINE_EXAMPLE_main -arity: 2 backedges: -"color: green} +node: {title: "n179" label: "PhiM 179" info1: "Phi 179 + mode: M + visited: 26 + irg: OO_INLINE_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 180 + 0: Proj 151 + 1: Store 185 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n179" targetname: "n151" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n179" targetname: "n185" label: "1" class:17 priority:10 color:blue} -node: {title: "n185" label: "Store 185" info1: "mode: T -visited: 26 -irg: OO_INLINE_EXAMPLE_main -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n185" label: "Store 185" info1: "Store 185 + mode: T + visited: 26 + irg: OO_INLINE_EXAMPLE_main + arity: 3 + pred nodes: + -1: Block 180 + 0: Phi 179 + 1: Sel 189 + 2: Phi 186 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n185" targetname: "n179" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n185" targetname: "n189" label: "1" class:1 priority:50} edge: {sourcename: "n185" targetname: "n186" label: "2" class:1 priority:50} -node: {title: "n189" label: "Sel a 189" info1: "mode: P -visited: 26 -irg: OO_INLINE_EXAMPLE_main -arity: 2 -Selecting entity of type int - from entity of type PRIMA_INLINE -"} +node: {title: "n189" label: "Sel a 189" info1: "Sel 189 + mode: P + visited: 26 + irg: OO_INLINE_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 180 + 0: Phi 179 + 1: Proj 48 + Private Attributes: + Selecting entity of type int + from entity of type PRIMA_INLINE +" +} edge: {sourcename: "n189" targetname: "n179" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n189" targetname: "n48" label: "1" class:16 priority:10} -node: {title: "n186" label: "PhiIs 186" info1: "mode: Is -visited: 26 -irg: OO_INLINE_EXAMPLE_main -arity: 2 backedges: -"color: green} +node: {title: "n186" label: "PhiIs 186" info1: "Phi 186 + mode: Is + visited: 26 + irg: OO_INLINE_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 180 + 0: 0x5 42 + 1: Phi 187 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n186" targetname: "n42" label: "0" class:16 priority:10} edge: {sourcename: "n186" targetname: "n187" label: "1" class:1 priority:50} -node: {title: "n187" label: "PhiIs 187" info1: "mode: Is -visited: 26 -irg: OO_INLINE_EXAMPLE_main -arity: 2 backedges: -"color: green} +node: {title: "n187" label: "PhiIs 187" info1: "Phi 187 + mode: Is + visited: 26 + irg: OO_INLINE_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 180 + 0: 0x0 188 + 1: Phi 186 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n187" targetname: "n188" label: "0" class:16 priority:10} edge: {sourcename: "n187" targetname: "n186" label: "1" class:1 priority:50} -node: {title: "n181" label: "Jmp 181" info1: "mode: X -visited: 26 -irg: OO_INLINE_EXAMPLE_main -arity: 0 -"} +node: {title: "n181" label: "Jmp 181" info1: "Jmp 181 + mode: X + visited: 26 + irg: OO_INLINE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 180 + Private Attributes: +" +} } graph: { title: "n144" label: "Block 144" status:clustered color:yellow edge: {sourcename: "n144" targetname: "n34" label: "0" class:13 priority:60 color:red} -node: {title: "n151" label: "ProjM 0 151" info1: "mode: M -visited: 26 -irg: OO_INLINE_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n151" label: "ProjM 0 151" info1: "Proj 151 + mode: M + visited: 26 + irg: OO_INLINE_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 144 + 0: Store 152 + Private Attributes: +" +color: yellow} edge: {sourcename: "n151" targetname: "n152" label: "0" class:17 priority:10 color:blue} -node: {title: "n152" label: "Store 152" info1: "mode: T -visited: 26 -irg: OO_INLINE_EXAMPLE_main -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n152" label: "Store 152" info1: "Store 152 + mode: T + visited: 26 + irg: OO_INLINE_EXAMPLE_main + arity: 3 + pred nodes: + -1: Block 144 + 0: Proj 47 + 1: Sel 155 + 2: 0x2 41 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n152" targetname: "n47" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n152" targetname: "n155" label: "1" class:1 priority:50} edge: {sourcename: "n152" targetname: "n41" label: "2" class:16 priority:10} -node: {title: "n155" label: "Sel a 155" info1: "mode: P -visited: 26 -irg: OO_INLINE_EXAMPLE_main -arity: 2 -Selecting entity of type int - from entity of type PRIMA_INLINE -"} +node: {title: "n155" label: "Sel a 155" info1: "Sel 155 + mode: P + visited: 26 + irg: OO_INLINE_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 144 + 0: Proj 47 + 1: Proj 48 + Private Attributes: + Selecting entity of type int + from entity of type PRIMA_INLINE +" +} edge: {sourcename: "n155" targetname: "n47" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n155" targetname: "n48" label: "1" class:1 priority:50} -node: {title: "n47" label: "ProjM 0 47" info1: "mode: M -visited: 26 -irg: OO_INLINE_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n47" label: "ProjM 0 47" info1: "Proj 47 + mode: M + visited: 26 + irg: OO_INLINE_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 144 + 0: Alloc 45 + Private Attributes: +" +color: yellow} edge: {sourcename: "n47" targetname: "n45" label: "0" class:17 priority:10 color:blue} -node: {title: "n48" label: "ProjP 2 48" info1: "mode: P -visited: 26 -irg: OO_INLINE_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n48" label: "ProjP 2 48" info1: "Proj 48 + mode: P + visited: 26 + irg: OO_INLINE_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 144 + 0: Alloc 45 + Private Attributes: +" +color: yellow} edge: {sourcename: "n48" targetname: "n45" label: "0" class:1 priority:50} -node: {title: "n45" label: "Alloc 45" info1: "mode: T -visited: 26 -irg: OO_INLINE_EXAMPLE_main -arity: 2 -allocating entity of type PRIMA_INLINE -"} +node: {title: "n45" label: "Alloc 45" info1: "Alloc 45 + mode: T + visited: 26 + irg: OO_INLINE_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 144 + 0: Proj 37 + 1: SymC PRIMA_INLINE size 43 + Private Attributes: + pinned state: op_pin_state_pinned + allocating entity of type: PRIMA_INLINE + allocating on: the heap +" +} edge: {sourcename: "n45" targetname: "n37" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n45" targetname: "n43" label: "1" class:16 priority:10} -node: {title: "n188" label: "0x0Is 188" info1: "mode: Is -visited: 26 -irg: OO_INLINE_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n141" label: "Jmp 141" info1: "mode: X -visited: 26 -irg: OO_INLINE_EXAMPLE_main -arity: 0 -"} +node: {title: "n188" label: "0x0Is 188" info1: "0x0 188 + mode: Is + visited: 26 + irg: OO_INLINE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 144 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n141" label: "Jmp 141" info1: "Jmp 141 + mode: X + visited: 26 + irg: OO_INLINE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 144 + Private Attributes: +" +} } graph: { title: "n30" label: "Block 30" status:clustered color:yellow edge: {sourcename: "n30" targetname: "n34" label: "0" class:13 priority:60 color:red} -node: {title: "n41" label: "0x2Is 41" info1: "mode: Is -visited: 26 -irg: OO_INLINE_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n37" label: "ProjM 1 37" info1: "mode: M -visited: 26 -irg: OO_INLINE_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n41" label: "0x2Is 41" info1: "0x2 41 + mode: Is + visited: 26 + irg: OO_INLINE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n37" label: "ProjM 1 37" info1: "Proj 37 + mode: M + visited: 26 + irg: OO_INLINE_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 30 + 0: Start 31 + Private Attributes: +" +color: yellow} edge: {sourcename: "n37" targetname: "n31" label: "0" class:17 priority:10 color:blue} -node: {title: "n43" label: "SymC PRIMA_INLINE size 43" info1: "mode: Iu -visited: 26 -irg: OO_INLINE_EXAMPLE_main -arity: 0 -kind: size -SymConst of type: type_unknown -"} -node: {title: "n42" label: "0x5Is 42" info1: "mode: Is -visited: 26 -irg: OO_INLINE_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n34" label: "ProjX 0 34" info1: "mode: X -visited: 26 -irg: OO_INLINE_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n43" label: "SymC PRIMA_INLINE size 43" info1: "SymC PRIMA_INLINE size 43 + mode: Iu + visited: 26 + irg: OO_INLINE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + kind: size + type: class type PRIMA_INLINE (15) + type of value: type_unknown +" +} +node: {title: "n42" label: "0x5Is 42" info1: "0x5 42 + mode: Is + visited: 26 + irg: OO_INLINE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n34" label: "ProjX 0 34" info1: "Proj 34 + mode: X + visited: 26 + irg: OO_INLINE_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 30 + 0: Start 31 + Private Attributes: +" +color: yellow} edge: {sourcename: "n34" targetname: "n31" label: "0" class:13 priority:60 color:red} -node: {title: "n31" label: "Start 31" info1: "mode: T -visited: 26 -irg: OO_INLINE_EXAMPLE_main -arity: 0 -start of method of type OO_INLINE_EXAMPLE_main -"color: blue} +node: {title: "n31" label: "Start 31" info1: "Start 31 + mode: T + visited: 26 + irg: OO_INLINE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + start of method of type OO_INLINE_EXAMPLE_main +" +color: blue} } graph: { title: "n28" label: "Block 28" status:clustered color:yellow -node: {title: "n195" label: "End 195" info1: "mode: X -visited: 26 -irg: OO_INLINE_EXAMPLE_main -arity: 2 -"color: blue} +node: {title: "n195" label: "End 195" info1: "End 195 + mode: X + visited: 26 + irg: OO_INLINE_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 28 + 0: Block 180 + 1: Phi 179 + Private Attributes: +" +color: blue} } } @@ -256,14 +394,19 @@ node: {title: "e20" label: "ent PRIMA_INLINE_set_a" color: yellow } edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red} edge: { sourcename: "e20" targetname: "n19"label: "value 0"} -node: {title: "n19" label: "SymC &set_a 19" info1: "mode: P -visited: 1 -arity: 0 -kind: addr_ent -entity PRIMA_INLINE.set_a (20) +node: {title: "n19" label: "SymC &set_a 19" info1: "SymC &set_a 19 + mode: P + visited: 1 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity PRIMA_INLINE.set_a (20) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t18" label: "method set_a" info1: "state: layout_fixed, mode: P, size: 32b, @@ -302,14 +445,19 @@ node: {title: "e23" label: "ent PRIMA_INLINE_c" color: yellow } edge: { sourcename: "e23" targetname: "t21"class: 3 label: "type" color: red} edge: { sourcename: "e23" targetname: "n22"label: "value 0"} -node: {title: "n22" label: "SymC &c 22" info1: "mode: P -visited: 1 -arity: 0 -kind: addr_ent -entity PRIMA_INLINE.c (23) +node: {title: "n22" label: "SymC &c 22" info1: "SymC &c 22 + mode: P + visited: 1 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity PRIMA_INLINE.c (23) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t21" label: "method c" info1: "state: layout_fixed, mode: P, size: 32b, @@ -340,14 +488,19 @@ node: {title: "e26" label: "ent OO_INLINE_EXAMPLE_main" color: yellow } edge: { sourcename: "e26" targetname: "t24"class: 3 label: "type" color: red} edge: { sourcename: "e26" targetname: "n25"label: "value 0"} -node: {title: "n25" label: "SymC &OO_INLINE_EXAMPLE_main 25" info1: "mode: P -visited: 1 -arity: 0 -kind: addr_ent -entity GlobalType.OO_INLINE_EXAMPLE_main (26) +node: {title: "n25" label: "SymC &OO_INLINE_EXAMPLE_main 25" info1: "SymC &OO_INLINE_EXAMPLE_main 25 + mode: P + visited: 1 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity GlobalType.OO_INLINE_EXAMPLE_main (26) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined size: -1b, peculiarity: peculiarity_existent diff --git a/testprograms/ref-results/OO_INLINE_EXAMPLE_main.vcg b/testprograms/ref-results/OO_INLINE_EXAMPLE_main.vcg index ff2037765..dd6cd5bc4 100644 --- a/testprograms/ref-results/OO_INLINE_EXAMPLE_main.vcg +++ b/testprograms/ref-results/OO_INLINE_EXAMPLE_main.vcg @@ -56,158 +56,296 @@ graph: { title: "g39" label: "OO_INLINE_EXAMPLE_main" status:clustered color:whi graph: { title: "n180" label: "Block 180" status:clustered color:yellow edge: {sourcename: "n180" targetname: "n141" label: "0" class:13 priority:60 color:red} edge: {sourcename: "n180" targetname: "n181" label: "1" class:13 priority:60 color:red} -node: {title: "n179" label: "PhiM 179" info1: "mode: M -visited: 25 -irg: OO_INLINE_EXAMPLE_main -arity: 2 backedges: -"color: green} +node: {title: "n179" label: "PhiM 179" info1: "Phi 179 + mode: M + visited: 25 + irg: OO_INLINE_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 180 + 0: Proj 151 + 1: Store 185 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n179" targetname: "n151" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n179" targetname: "n185" label: "1" class:17 priority:10 color:blue} -node: {title: "n185" label: "Store 185" info1: "mode: T -visited: 25 -irg: OO_INLINE_EXAMPLE_main -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n185" label: "Store 185" info1: "Store 185 + mode: T + visited: 25 + irg: OO_INLINE_EXAMPLE_main + arity: 3 + pred nodes: + -1: Block 180 + 0: Phi 179 + 1: Sel 189 + 2: Phi 186 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n185" targetname: "n179" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n185" targetname: "n189" label: "1" class:1 priority:50} edge: {sourcename: "n185" targetname: "n186" label: "2" class:1 priority:50} -node: {title: "n189" label: "Sel a 189" info1: "mode: P -visited: 25 -irg: OO_INLINE_EXAMPLE_main -arity: 2 -Selecting entity of type int - from entity of type PRIMA_INLINE -"} +node: {title: "n189" label: "Sel a 189" info1: "Sel 189 + mode: P + visited: 25 + irg: OO_INLINE_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 180 + 0: Phi 179 + 1: Proj 48 + Private Attributes: + Selecting entity of type int + from entity of type PRIMA_INLINE +" +} edge: {sourcename: "n189" targetname: "n179" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n189" targetname: "n48" label: "1" class:16 priority:10} -node: {title: "n186" label: "PhiIs 186" info1: "mode: Is -visited: 25 -irg: OO_INLINE_EXAMPLE_main -arity: 2 backedges: -"color: green} +node: {title: "n186" label: "PhiIs 186" info1: "Phi 186 + mode: Is + visited: 25 + irg: OO_INLINE_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 180 + 0: 0x5 42 + 1: Phi 187 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n186" targetname: "n42" label: "0" class:16 priority:10} edge: {sourcename: "n186" targetname: "n187" label: "1" class:1 priority:50} -node: {title: "n187" label: "PhiIs 187" info1: "mode: Is -visited: 25 -irg: OO_INLINE_EXAMPLE_main -arity: 2 backedges: -"color: green} +node: {title: "n187" label: "PhiIs 187" info1: "Phi 187 + mode: Is + visited: 25 + irg: OO_INLINE_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 180 + 0: 0x0 188 + 1: Phi 186 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n187" targetname: "n188" label: "0" class:16 priority:10} edge: {sourcename: "n187" targetname: "n186" label: "1" class:1 priority:50} -node: {title: "n181" label: "Jmp 181" info1: "mode: X -visited: 25 -irg: OO_INLINE_EXAMPLE_main -arity: 0 -"} +node: {title: "n181" label: "Jmp 181" info1: "Jmp 181 + mode: X + visited: 25 + irg: OO_INLINE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 180 + Private Attributes: +" +} } graph: { title: "n144" label: "Block 144" status:clustered color:yellow edge: {sourcename: "n144" targetname: "n34" label: "0" class:13 priority:60 color:red} -node: {title: "n151" label: "ProjM 0 151" info1: "mode: M -visited: 25 -irg: OO_INLINE_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n151" label: "ProjM 0 151" info1: "Proj 151 + mode: M + visited: 25 + irg: OO_INLINE_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 144 + 0: Store 152 + Private Attributes: +" +color: yellow} edge: {sourcename: "n151" targetname: "n152" label: "0" class:17 priority:10 color:blue} -node: {title: "n152" label: "Store 152" info1: "mode: T -visited: 25 -irg: OO_INLINE_EXAMPLE_main -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n152" label: "Store 152" info1: "Store 152 + mode: T + visited: 25 + irg: OO_INLINE_EXAMPLE_main + arity: 3 + pred nodes: + -1: Block 144 + 0: Proj 47 + 1: Sel 155 + 2: 0x2 41 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n152" targetname: "n47" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n152" targetname: "n155" label: "1" class:1 priority:50} edge: {sourcename: "n152" targetname: "n41" label: "2" class:16 priority:10} -node: {title: "n155" label: "Sel a 155" info1: "mode: P -visited: 25 -irg: OO_INLINE_EXAMPLE_main -arity: 2 -Selecting entity of type int - from entity of type PRIMA_INLINE -"} +node: {title: "n155" label: "Sel a 155" info1: "Sel 155 + mode: P + visited: 25 + irg: OO_INLINE_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 144 + 0: Proj 47 + 1: Proj 48 + Private Attributes: + Selecting entity of type int + from entity of type PRIMA_INLINE +" +} edge: {sourcename: "n155" targetname: "n47" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n155" targetname: "n48" label: "1" class:1 priority:50} -node: {title: "n47" label: "ProjM 0 47" info1: "mode: M -visited: 25 -irg: OO_INLINE_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n47" label: "ProjM 0 47" info1: "Proj 47 + mode: M + visited: 25 + irg: OO_INLINE_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 144 + 0: Alloc 45 + Private Attributes: +" +color: yellow} edge: {sourcename: "n47" targetname: "n45" label: "0" class:17 priority:10 color:blue} -node: {title: "n48" label: "ProjP 2 48" info1: "mode: P -visited: 25 -irg: OO_INLINE_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n48" label: "ProjP 2 48" info1: "Proj 48 + mode: P + visited: 25 + irg: OO_INLINE_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 144 + 0: Alloc 45 + Private Attributes: +" +color: yellow} edge: {sourcename: "n48" targetname: "n45" label: "0" class:1 priority:50} -node: {title: "n45" label: "Alloc 45" info1: "mode: T -visited: 25 -irg: OO_INLINE_EXAMPLE_main -arity: 2 -allocating entity of type PRIMA_INLINE -"} +node: {title: "n45" label: "Alloc 45" info1: "Alloc 45 + mode: T + visited: 25 + irg: OO_INLINE_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 144 + 0: Proj 37 + 1: SymC PRIMA_INLINE size 43 + Private Attributes: + pinned state: op_pin_state_pinned + allocating entity of type: PRIMA_INLINE + allocating on: the heap +" +} edge: {sourcename: "n45" targetname: "n37" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n45" targetname: "n43" label: "1" class:16 priority:10} -node: {title: "n188" label: "0x0Is 188" info1: "mode: Is -visited: 25 -irg: OO_INLINE_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n141" label: "Jmp 141" info1: "mode: X -visited: 25 -irg: OO_INLINE_EXAMPLE_main -arity: 0 -"} +node: {title: "n188" label: "0x0Is 188" info1: "0x0 188 + mode: Is + visited: 25 + irg: OO_INLINE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 144 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n141" label: "Jmp 141" info1: "Jmp 141 + mode: X + visited: 25 + irg: OO_INLINE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 144 + Private Attributes: +" +} } graph: { title: "n30" label: "Block 30" status:clustered color:yellow edge: {sourcename: "n30" targetname: "n34" label: "0" class:13 priority:60 color:red} -node: {title: "n41" label: "0x2Is 41" info1: "mode: Is -visited: 25 -irg: OO_INLINE_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n37" label: "ProjM 1 37" info1: "mode: M -visited: 25 -irg: OO_INLINE_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n41" label: "0x2Is 41" info1: "0x2 41 + mode: Is + visited: 25 + irg: OO_INLINE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n37" label: "ProjM 1 37" info1: "Proj 37 + mode: M + visited: 25 + irg: OO_INLINE_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 30 + 0: Start 31 + Private Attributes: +" +color: yellow} edge: {sourcename: "n37" targetname: "n31" label: "0" class:17 priority:10 color:blue} -node: {title: "n43" label: "SymC PRIMA_INLINE size 43" info1: "mode: Iu -visited: 25 -irg: OO_INLINE_EXAMPLE_main -arity: 0 -kind: size -SymConst of type: type_unknown -"} -node: {title: "n42" label: "0x5Is 42" info1: "mode: Is -visited: 25 -irg: OO_INLINE_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n34" label: "ProjX 0 34" info1: "mode: X -visited: 25 -irg: OO_INLINE_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n43" label: "SymC PRIMA_INLINE size 43" info1: "SymC PRIMA_INLINE size 43 + mode: Iu + visited: 25 + irg: OO_INLINE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + kind: size + type: class type PRIMA_INLINE (15) + type of value: type_unknown +" +} +node: {title: "n42" label: "0x5Is 42" info1: "0x5 42 + mode: Is + visited: 25 + irg: OO_INLINE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n34" label: "ProjX 0 34" info1: "Proj 34 + mode: X + visited: 25 + irg: OO_INLINE_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 30 + 0: Start 31 + Private Attributes: +" +color: yellow} edge: {sourcename: "n34" targetname: "n31" label: "0" class:13 priority:60 color:red} -node: {title: "n31" label: "Start 31" info1: "mode: T -visited: 25 -irg: OO_INLINE_EXAMPLE_main -arity: 0 -start of method of type OO_INLINE_EXAMPLE_main -"color: blue} +node: {title: "n31" label: "Start 31" info1: "Start 31 + mode: T + visited: 25 + irg: OO_INLINE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + start of method of type OO_INLINE_EXAMPLE_main +" +color: blue} } graph: { title: "n28" label: "Block 28" status:clustered color:yellow -node: {title: "n195" label: "End 195" info1: "mode: X -visited: 25 -irg: OO_INLINE_EXAMPLE_main -arity: 2 -"color: blue} +node: {title: "n195" label: "End 195" info1: "End 195 + mode: X + visited: 25 + irg: OO_INLINE_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 28 + 0: Block 180 + 1: Phi 179 + Private Attributes: +" +color: blue} } } diff --git a/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-ip.vcg b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-ip.vcg index dd50d8663..ef737fd4f 100644 --- a/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-ip.vcg +++ b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-ip.vcg @@ -55,151 +55,264 @@ colorentry 125: 255 250 250 graph: { title: "g39" label: "OO_PROGRAM_EXAMPLE_main" status:clustered color:white graph: { title: "n28" label: "Block 28" status:clustered color:yellow edge: {sourcename: "n28" targetname: "n59" label: "0" class:13 priority:60 color:red} -node: {title: "n109" label: "End OO_PROGRAM_EXAMPLE_main 109" info1: "mode: X -visited: 34 -irg: OO_PROGRAM_EXAMPLE_main -arity: 2 -"color: blue} +node: {title: "n109" label: "End OO_PROGRAM_EXAMPLE_main 109" info1: "End OO_PROGRAM_EXAMPLE_main 109 + mode: X + visited: 35 + irg: OO_PROGRAM_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 28 + 0: Block 191 + 1: Block 197 + Private Attributes: +" +color: blue} } graph: { title: "n40" label: "Block 40" status:clustered color:yellow edge: {sourcename: "n40" targetname: "n200" label: "0" class:13 priority:60 color:red} -node: {title: "n59" label: "Return 59" info1: "mode: X -visited: 34 -irg: OO_PROGRAM_EXAMPLE_main -arity: 2 -"} +node: {title: "n59" label: "Return 59" info1: "Return 59 + mode: X + visited: 35 + irg: OO_PROGRAM_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 40 + 0: Filter 202 + 1: Filter 203 + Private Attributes: +" +} edge: {sourcename: "n59" targetname: "n202" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n59" targetname: "n203" label: "1" class:1 priority:50} -node: {title: "n202" label: "FilterM 0 202" info1: "mode: M -visited: 34 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -intra predecessor nodes: - CallT 54 -"color: yellow} +node: {title: "n202" label: "FilterM 0 202" info1: "Filter 202 + mode: M + visited: 35 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Call 54 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 104 + backedges: +" +color: yellow} edge: {sourcename: "n202" targetname: "n104" label: "0" class:17 priority:10 color:blue} -node: {title: "n203" label: "FilterIs 0 203" info1: "mode: Is -visited: 34 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -intra predecessor nodes: - ProjT 57 -"color: yellow} +node: {title: "n203" label: "FilterIs 0 203" info1: "Filter 203 + mode: Is + visited: 35 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Proj 57 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Add 106 + backedges: +" +color: yellow} edge: {sourcename: "n203" targetname: "n106" label: "0" class:16 priority:10} } graph: { title: "n197" label: "Block 197" status:clustered color:yellow edge: {sourcename: "n197" targetname: "n194" label: "0" class:13 priority:60 color:red} -node: {title: "n196" label: "FilterM 0 196" info1: "mode: M -visited: 34 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -intra predecessor nodes: - CallT 50 -"color: yellow} +node: {title: "n196" label: "FilterM 0 196" info1: "Filter 196 + mode: M + visited: 35 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 197 + 0: Call 50 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 81 + backedges: +" +color: yellow} edge: {sourcename: "n196" targetname: "n81" label: "0" class:17 priority:10 color:blue} -node: {title: "n201" label: "ProjX 0 201" info1: "mode: X -visited: 34 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n201" label: "ProjX 0 201" info1: "Proj 201 + mode: X + visited: 35 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 197 + 0: CallBegin c 199 + Private Attributes: +" +color: yellow} edge: {sourcename: "n201" targetname: "n199" label: "0" class:13 priority:60 color:red} -node: {title: "n199" label: "CallBegin c 199" info1: "mode: T -visited: 34 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -Call: 54 -possible callees: - 0: PRIMA_c -"} -node: {title: "n199n174" label: "SymC &c 174" info1: "mode: P -visited: 34 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -kind: addr_ent -entity PRIMA.c (23) +node: {title: "n199" label: "CallBegin c 199" info1: "CallBegin c 199 + mode: T + visited: 35 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 197 + 0: SymC &c 174 + Private Attributes: + Call: 54 + possible callees: + 0: PRIMA_c +" +} +node: {title: "n199n174" label: "SymC &c 174" info1: "SymC &c 174 + mode: P + visited: 35 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.c (23) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} edge: {sourcename: "n199" targetname: "n199n174" label: "0" class:16 priority:10} } graph: { title: "n191" label: "Block 191" status:clustered color:yellow edge: {sourcename: "n191" targetname: "n34" label: "0" class:13 priority:60 color:red} -node: {title: "n47" label: "ProjM 0 47" info1: "mode: M -visited: 34 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n47" label: "ProjM 0 47" info1: "Proj 47 + mode: M + visited: 35 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 191 + 0: Alloc 45 + Private Attributes: +" +color: yellow} edge: {sourcename: "n47" targetname: "n45" label: "0" class:17 priority:10 color:blue} -node: {title: "n48" label: "ProjP 2 48" info1: "mode: P -visited: 34 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n48" label: "ProjP 2 48" info1: "Proj 48 + mode: P + visited: 35 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 191 + 0: Alloc 45 + Private Attributes: +" +color: yellow} edge: {sourcename: "n48" targetname: "n45" label: "0" class:1 priority:50} -node: {title: "n45" label: "Alloc 45" info1: "mode: T -visited: 34 -irg: OO_PROGRAM_EXAMPLE_main -arity: 2 -allocating entity of type PRIMA -"} -node: {title: "n45n43" label: "SymC PRIMA size 43" info1: "mode: Iu -visited: 34 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -kind: size -SymConst of type: type_unknown -"} +node: {title: "n45" label: "Alloc 45" info1: "Alloc 45 + mode: T + visited: 35 + irg: OO_PROGRAM_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 191 + 0: Proj 37 + 1: SymC PRIMA size 43 + Private Attributes: + pinned state: op_pin_state_pinned + allocating entity of type: PRIMA + allocating on: the heap +" +} +node: {title: "n45n43" label: "SymC PRIMA size 43" info1: "SymC PRIMA size 43 + mode: Iu + visited: 35 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + kind: size + type: class type PRIMA (15) + type of value: type_unknown +" +} edge: {sourcename: "n45" targetname: "n37" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n45" targetname: "n45n43" label: "1" class:16 priority:10} -node: {title: "n195" label: "ProjX 0 195" info1: "mode: X -visited: 34 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n195" label: "ProjX 0 195" info1: "Proj 195 + mode: X + visited: 35 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 191 + 0: CallBegin set_a 193 + Private Attributes: +" +color: yellow} edge: {sourcename: "n195" targetname: "n193" label: "0" class:13 priority:60 color:red} -node: {title: "n193" label: "CallBegin set_a 193" info1: "mode: T -visited: 34 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -Call: 50 -possible callees: - 0: PRIMA_set_a -"} -node: {title: "n193n175" label: "SymC &set_a 175" info1: "mode: P -visited: 34 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -kind: addr_ent -entity PRIMA.set_a (20) +node: {title: "n193" label: "CallBegin set_a 193" info1: "CallBegin set_a 193 + mode: T + visited: 35 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 191 + 0: SymC &set_a 175 + Private Attributes: + Call: 50 + possible callees: + 0: PRIMA_set_a +" +} +node: {title: "n193n175" label: "SymC &set_a 175" info1: "SymC &set_a 175 + mode: P + visited: 35 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.set_a (20) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} edge: {sourcename: "n193" targetname: "n193n175" label: "0" class:16 priority:10} } graph: { title: "n30" label: "Block 30" status:clustered color:yellow edge: {sourcename: "n30" targetname: "n34" label: "0" class:13 priority:60 color:red} -node: {title: "n37" label: "ProjM 1 37" info1: "mode: M -visited: 34 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n37" label: "ProjM 1 37" info1: "Proj 37 + mode: M + visited: 35 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 30 + 0: Start OO_PROGRAM_EXAMPLE_main 31 + Private Attributes: +" +color: yellow} edge: {sourcename: "n37" targetname: "n31" label: "0" class:17 priority:10 color:blue} -node: {title: "n34" label: "ProjX 0 34" info1: "mode: X -visited: 34 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n34" label: "ProjX 0 34" info1: "Proj 34 + mode: X + visited: 35 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 30 + 0: Start OO_PROGRAM_EXAMPLE_main 31 + Private Attributes: +" +color: yellow} edge: {sourcename: "n34" targetname: "n31" label: "0" class:13 priority:60 color:red} -node: {title: "n31" label: "Start OO_PROGRAM_EXAMPLE_main 31" info1: "mode: T -visited: 34 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -start of method of type OO_PROGRAM_EXAMPLE_main -"color: blue} +node: {title: "n31" label: "Start OO_PROGRAM_EXAMPLE_main 31" info1: "Start OO_PROGRAM_EXAMPLE_main 31 + mode: T + visited: 35 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + start of method of type OO_PROGRAM_EXAMPLE_main +" +color: blue} } } @@ -207,98 +320,173 @@ start of method of type OO_PROGRAM_EXAMPLE_main graph: { title: "g73" label: "PRIMA_set_a" status:clustered color:white graph: { title: "n188" label: "Block 188" status:clustered color:yellow edge: {sourcename: "n188" targetname: "n187" label: "0" class:13 priority:60 color:red} -node: {title: "n194" label: "ProjX 0 194" info1: "mode: X -visited: 34 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n194" label: "ProjX 0 194" info1: "Proj 194 + mode: X + visited: 35 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 188 + 0: EndReg PRIMA_set_a 189 + Private Attributes: +" +color: yellow} edge: {sourcename: "n194" targetname: "n189" label: "0" class:13 priority:60 color:red} -node: {title: "n189" label: "EndReg PRIMA_set_a 189" info1: "mode: T -visited: 34 -irg: PRIMA_set_a -arity: 0 -"color: blue} +node: {title: "n189" label: "EndReg PRIMA_set_a 189" info1: "EndReg PRIMA_set_a 189 + mode: T + visited: 35 + irg: PRIMA_set_a + arity: 0 + pred nodes: + -1: Block 188 + Private Attributes: +" +color: blue} } graph: { title: "n74" label: "Block 74" status:clustered color:yellow edge: {sourcename: "n74" targetname: "n68" label: "0" class:13 priority:60 color:red} -node: {title: "n81" label: "ProjM 0 81" info1: "mode: M -visited: 34 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n81" label: "ProjM 0 81" info1: "Proj 81 + mode: M + visited: 35 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 74 + 0: Store 79 + Private Attributes: +" +color: yellow} edge: {sourcename: "n81" targetname: "n79" label: "0" class:17 priority:10 color:blue} -node: {title: "n79" label: "Store 79" info1: "mode: T -visited: 34 -irg: PRIMA_set_a -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n79" label: "Store 79" info1: "Store 79 + mode: T + visited: 35 + irg: PRIMA_set_a + arity: 3 + pred nodes: + -1: Block 74 + 0: Filter 184 + 1: Sel 78 + 2: Filter 186 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n79" targetname: "n184" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n79" targetname: "n78" label: "1" class:1 priority:50} edge: {sourcename: "n79" targetname: "n186" label: "2" class:16 priority:10} -node: {title: "n78" label: "Sel a 78" info1: "mode: P -visited: 34 -irg: PRIMA_set_a -arity: 2 -Selecting entity of type int - from entity of type PRIMA -"} +node: {title: "n78" label: "Sel a 78" info1: "Sel 78 + mode: P + visited: 35 + irg: PRIMA_set_a + arity: 2 + pred nodes: + -1: Block 74 + 0: Filter 184 + 1: Filter 185 + Private Attributes: + Selecting entity of type int + from entity of type PRIMA +" +} edge: {sourcename: "n78" targetname: "n184" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n78" targetname: "n185" label: "1" class:16 priority:10} -node: {title: "n187" label: "Jmp 187" info1: "mode: X -visited: 34 -irg: PRIMA_set_a -arity: 0 -"} +node: {title: "n187" label: "Jmp 187" info1: "Jmp 187 + mode: X + visited: 35 + irg: PRIMA_set_a + arity: 0 + pred nodes: + -1: Block 74 + Private Attributes: +" +} } graph: { title: "n64" label: "Block 64" status:clustered color:yellow edge: {sourcename: "n64" targetname: "n195" label: "0" class:13 priority:60 color:red} -node: {title: "n184" label: "FilterM 1 184" info1: "mode: M -visited: 34 -irg: PRIMA_set_a -arity: 1 backedges: -intra predecessor nodes: - StartT 65 -"color: yellow} +node: {title: "n184" label: "FilterM 1 184" info1: "Filter 184 + mode: M + visited: 35 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Start PRIMA_set_a 65 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 47 + backedges: +" +color: yellow} edge: {sourcename: "n184" targetname: "n47" label: "0" class:17 priority:10 color:blue} -node: {title: "n185" label: "FilterP 0 185" info1: "mode: P -visited: 34 -irg: PRIMA_set_a -arity: 1 backedges: -intra predecessor nodes: - ProjT 72 -"color: yellow} +node: {title: "n185" label: "FilterP 0 185" info1: "Filter 185 + mode: P + visited: 35 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Proj 72 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 48 + backedges: +" +color: yellow} edge: {sourcename: "n185" targetname: "n48" label: "0" class:16 priority:10} -node: {title: "n186" label: "FilterIs 1 186" info1: "mode: Is -visited: 34 -irg: PRIMA_set_a -arity: 1 backedges: -intra predecessor nodes: - ProjT 72 -"color: yellow} -node: {title: "n186n41" label: "0x2Is 41" info1: "mode: Is -visited: 34 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n186" label: "FilterIs 1 186" info1: "Filter 186 + mode: Is + visited: 35 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Proj 72 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: 0x2 41 + backedges: +" +color: yellow} +node: {title: "n186n41" label: "0x2Is 41" info1: "0x2 41 + mode: Is + visited: 35 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n186" targetname: "n186n41" label: "0" class:16 priority:10} -node: {title: "n68" label: "ProjX 0 68" info1: "mode: X -visited: 34 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n68" label: "ProjX 0 68" info1: "Proj 68 + mode: X + visited: 35 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Start PRIMA_set_a 65 + Private Attributes: +" +color: yellow} edge: {sourcename: "n68" targetname: "n65" label: "0" class:13 priority:60 color:red} -node: {title: "n65" label: "Start PRIMA_set_a 65" 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} +node: {title: "n65" label: "Start PRIMA_set_a 65" info1: "Start PRIMA_set_a 65 + mode: T + visited: 35 + irg: PRIMA_set_a + arity: 0 + pred nodes: + -1: Block 64 + Private Attributes: + start of method of type set_a + param 0 type: class_prima_ptr + param 1 type: int +" +color: blue} } } @@ -306,110 +494,198 @@ start of method of type set_a graph: { title: "g96" label: "PRIMA_c" status:clustered color:white graph: { title: "n180" label: "Block 180" status:clustered color:yellow edge: {sourcename: "n180" targetname: "n179" label: "0" class:13 priority:60 color:red} -node: {title: "n200" label: "ProjX 0 200" info1: "mode: X -visited: 34 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n200" label: "ProjX 0 200" info1: "Proj 200 + mode: X + visited: 35 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 180 + 0: EndReg PRIMA_c 181 + Private Attributes: +" +color: yellow} edge: {sourcename: "n200" targetname: "n181" label: "0" class:13 priority:60 color:red} -node: {title: "n181" label: "EndReg PRIMA_c 181" info1: "mode: T -visited: 34 -irg: PRIMA_c -arity: 0 -"color: blue} +node: {title: "n181" label: "EndReg PRIMA_c 181" info1: "EndReg PRIMA_c 181 + mode: T + visited: 35 + irg: PRIMA_c + arity: 0 + pred nodes: + -1: Block 180 + Private Attributes: +" +color: blue} } graph: { title: "n97" label: "Block 97" status:clustered color:yellow edge: {sourcename: "n97" targetname: "n91" label: "0" class:13 priority:60 color:red} -node: {title: "n104" label: "ProjM 0 104" info1: "mode: M -visited: 34 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n104" label: "ProjM 0 104" info1: "Proj 104 + mode: M + visited: 35 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Load[Is] 102 + Private Attributes: +" +color: yellow} edge: {sourcename: "n104" targetname: "n102" label: "0" class:17 priority:10 color:blue} -node: {title: "n106" label: "AddIs 106" info1: "mode: Is -visited: 34 -irg: PRIMA_c -arity: 2 -"} +node: {title: "n106" label: "AddIs 106" info1: "Add 106 + mode: Is + visited: 35 + irg: PRIMA_c + arity: 2 + pred nodes: + -1: Block 97 + 0: Proj 105 + 1: Filter 178 + Private Attributes: +" +} edge: {sourcename: "n106" targetname: "n105" label: "0" class:1 priority:50} edge: {sourcename: "n106" targetname: "n178" label: "1" class:16 priority:10} -node: {title: "n105" label: "ProjIs 2 105" info1: "mode: Is -visited: 34 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n105" label: "ProjIs 2 105" info1: "Proj 105 + mode: Is + visited: 35 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Load[Is] 102 + Private Attributes: +" +color: yellow} edge: {sourcename: "n105" targetname: "n102" label: "0" class:1 priority:50} -node: {title: "n102" label: "Load[Is] 102" info1: "mode: T -visited: 34 -irg: PRIMA_c -arity: 2 -volatility: volatility_non_volatile -"} +node: {title: "n102" label: "Load[Is] 102" info1: "Load[Is] 102 + mode: T + visited: 35 + irg: PRIMA_c + arity: 2 + pred nodes: + -1: Block 97 + 0: Filter 176 + 1: Sel 101 + Private Attributes: + pinned state: op_pin_state_pinned + mode of loaded value: Is + volatility: volatility_non_volatile +" +} edge: {sourcename: "n102" targetname: "n176" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n102" targetname: "n101" label: "1" class:1 priority:50} -node: {title: "n101" label: "Sel a 101" info1: "mode: P -visited: 34 -irg: PRIMA_c -arity: 2 -Selecting entity of type int - from entity of type PRIMA -"} +node: {title: "n101" label: "Sel a 101" info1: "Sel 101 + mode: P + visited: 35 + irg: PRIMA_c + arity: 2 + pred nodes: + -1: Block 97 + 0: Filter 176 + 1: Filter 177 + Private Attributes: + Selecting entity of type int + from entity of type PRIMA +" +} edge: {sourcename: "n101" targetname: "n176" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n101" targetname: "n177" label: "1" class:16 priority:10} -node: {title: "n179" label: "Jmp 179" info1: "mode: X -visited: 34 -irg: PRIMA_c -arity: 0 -"} +node: {title: "n179" label: "Jmp 179" info1: "Jmp 179 + mode: X + visited: 35 + irg: PRIMA_c + arity: 0 + pred nodes: + -1: Block 97 + Private Attributes: +" +} } graph: { title: "n87" label: "Block 87" status:clustered color:yellow edge: {sourcename: "n87" targetname: "n201" label: "0" class:13 priority:60 color:red} -node: {title: "n176" label: "FilterM 1 176" info1: "mode: M -visited: 34 -irg: PRIMA_c -arity: 1 backedges: -intra predecessor nodes: - StartT 88 -"color: yellow} +node: {title: "n176" label: "FilterM 1 176" info1: "Filter 176 + mode: M + visited: 35 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Start PRIMA_c 88 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Filter 196 + backedges: +" +color: yellow} edge: {sourcename: "n176" targetname: "n196" label: "0" class:17 priority:10 color:blue} -node: {title: "n177" label: "FilterP 0 177" info1: "mode: P -visited: 34 -irg: PRIMA_c -arity: 1 backedges: -intra predecessor nodes: - ProjT 95 -"color: yellow} +node: {title: "n177" label: "FilterP 0 177" info1: "Filter 177 + mode: P + visited: 35 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Proj 95 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 48 + backedges: +" +color: yellow} edge: {sourcename: "n177" targetname: "n48" label: "0" class:16 priority:10} -node: {title: "n178" label: "FilterIs 1 178" info1: "mode: Is -visited: 34 -irg: PRIMA_c -arity: 1 backedges: -intra predecessor nodes: - ProjT 95 -"color: yellow} -node: {title: "n178n42" label: "0x5Is 42" info1: "mode: Is -visited: 34 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n178" label: "FilterIs 1 178" info1: "Filter 178 + mode: Is + visited: 35 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Proj 95 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: 0x5 42 + backedges: +" +color: yellow} +node: {title: "n178n42" label: "0x5Is 42" info1: "0x5 42 + mode: Is + visited: 35 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n178" targetname: "n178n42" label: "0" class:16 priority:10} -node: {title: "n91" label: "ProjX 0 91" info1: "mode: X -visited: 34 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n91" label: "ProjX 0 91" info1: "Proj 91 + mode: X + visited: 35 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Start PRIMA_c 88 + Private Attributes: +" +color: yellow} edge: {sourcename: "n91" targetname: "n88" label: "0" class:13 priority:60 color:red} -node: {title: "n88" label: "Start PRIMA_c 88" 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} +node: {title: "n88" label: "Start PRIMA_c 88" info1: "Start PRIMA_c 88 + mode: T + visited: 35 + irg: PRIMA_c + arity: 0 + pred nodes: + -1: Block 87 + Private Attributes: + 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 index 18b6fa3a3..6299ed319 100644 --- a/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-pure-ip.vcg +++ b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-pure-ip.vcg @@ -52,418 +52,793 @@ colorentry 123: 255 220 220 colorentry 124: 255 240 240 colorentry 125: 255 250 250 -node: {title: "n30" label: "Block 30" info1: "mode: BB -visited: 32 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -"color: lightyellow} +node: {title: "n30" label: "Block 30" info1: "Block 30 + mode: BB + visited: 33 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + 0: Proj 34 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 34 + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n30" targetname: "n34" label: "0" class:13 priority:60 color:red} -node: {title: "n31" label: "Start OO_PROGRAM_EXAMPLE_main 31" info1: "mode: T -visited: 32 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -start of method of type OO_PROGRAM_EXAMPLE_main -"color: blue} +node: {title: "n31" label: "Start OO_PROGRAM_EXAMPLE_main 31" info1: "Start OO_PROGRAM_EXAMPLE_main 31 + mode: T + visited: 33 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + start of method of type OO_PROGRAM_EXAMPLE_main +" +color: blue} edge: { sourcename: "n31" targetname: "n30" class:2 priority:50 linestyle:dotted} -node: {title: "n34" label: "ProjX 0 34" info1: "mode: X -visited: 32 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n34" label: "ProjX 0 34" info1: "Proj 34 + mode: X + visited: 33 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 30 + 0: Start OO_PROGRAM_EXAMPLE_main 31 + Private Attributes: +" +color: yellow} edge: {sourcename: "n34" targetname: "n31" label: "0" class:13 priority:60 color:red} edge: { sourcename: "n34" targetname: "n30" class:2 priority:50 linestyle:dotted} -node: {title: "n191" label: "Block 191" info1: "mode: BB -visited: 32 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -"color: lightyellow} +node: {title: "n191" label: "Block 191" info1: "Block 191 + mode: BB + visited: 33 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + 0: Proj 34 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 34 + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n191" targetname: "n34" label: "0" class:13 priority:60 color:red} -node: {title: "n193" label: "CallBegin set_a 193" info1: "mode: T -visited: 32 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -Call: 50 -possible callees: - 0: PRIMA_set_a -"} -node: {title: "n193n175" label: "SymC &set_a 175" info1: "mode: P -visited: 32 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -kind: addr_ent -entity PRIMA.set_a (20) +node: {title: "n193" label: "CallBegin set_a 193" info1: "CallBegin set_a 193 + mode: T + visited: 33 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 191 + 0: SymC &set_a 175 + Private Attributes: + Call: 50 + possible callees: + 0: PRIMA_set_a +" +} +node: {title: "n193n175" label: "SymC &set_a 175" info1: "SymC &set_a 175 + mode: P + visited: 33 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.set_a (20) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} edge: {sourcename: "n193" targetname: "n193n175" label: "0" class:16 priority:10} edge: { sourcename: "n193" targetname: "n191" class:2 priority:50 linestyle:dotted} -node: {title: "n195" label: "ProjX 0 195" info1: "mode: X -visited: 32 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n195" label: "ProjX 0 195" info1: "Proj 195 + mode: X + visited: 33 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 191 + 0: CallBegin set_a 193 + Private Attributes: +" +color: yellow} edge: {sourcename: "n195" targetname: "n193" label: "0" class:13 priority:60 color:red} edge: { sourcename: "n195" targetname: "n191" class:2 priority:50 linestyle:dotted} -node: {title: "n64" label: "Block 64" info1: "mode: BB -visited: 32 -irg: PRIMA_set_a -arity: 1 backedges: -"color: lightyellow} +node: {title: "n64" label: "Block 64" info1: "Block 64 + mode: BB + visited: 33 + irg: PRIMA_set_a + arity: 1 + pred nodes: + 0: Proj 68 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 195 + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n64" targetname: "n195" label: "0" class:13 priority:60 color:red} -node: {title: "n65" label: "Start PRIMA_set_a 65" 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} +node: {title: "n65" label: "Start PRIMA_set_a 65" info1: "Start PRIMA_set_a 65 + mode: T + visited: 33 + irg: PRIMA_set_a + arity: 0 + pred nodes: + -1: Block 64 + Private Attributes: + start of method of type set_a + param 0 type: class_prima_ptr + param 1 type: int +" +color: blue} edge: { sourcename: "n65" targetname: "n64" class:2 priority:50 linestyle:dotted} -node: {title: "n68" label: "ProjX 0 68" info1: "mode: X -visited: 32 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n68" label: "ProjX 0 68" info1: "Proj 68 + mode: X + visited: 33 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Start PRIMA_set_a 65 + Private Attributes: +" +color: yellow} edge: {sourcename: "n68" targetname: "n65" label: "0" class:13 priority:60 color:red} edge: { sourcename: "n68" targetname: "n64" class:2 priority:50 linestyle:dotted} -node: {title: "n74" label: "Block 74" info1: "mode: BB -visited: 32 -irg: PRIMA_set_a -arity: 1 backedges: -"color: lightyellow} +node: {title: "n74" label: "Block 74" info1: "Block 74 + mode: BB + visited: 33 + irg: PRIMA_set_a + arity: 1 + pred nodes: + 0: Proj 68 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 68 + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n74" targetname: "n68" label: "0" class:13 priority:60 color:red} -node: {title: "n187" label: "Jmp 187" info1: "mode: X -visited: 32 -irg: PRIMA_set_a -arity: 0 -"} +node: {title: "n187" label: "Jmp 187" info1: "Jmp 187 + mode: X + visited: 33 + irg: PRIMA_set_a + arity: 0 + pred nodes: + -1: Block 74 + Private Attributes: +" +} edge: { sourcename: "n187" targetname: "n74" class:2 priority:50 linestyle:dotted} -node: {title: "n188" label: "Block 188" info1: "mode: BB -visited: 32 -irg: PRIMA_set_a -arity: 1 backedges: -"color: lightyellow} +node: {title: "n188" label: "Block 188" info1: "Block 188 + mode: BB + visited: 33 + irg: PRIMA_set_a + arity: 1 + pred nodes: + 0: Jmp 187 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Jmp 187 + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n188" targetname: "n187" label: "0" class:13 priority:60 color:red} -node: {title: "n189" label: "EndReg PRIMA_set_a 189" info1: "mode: T -visited: 32 -irg: PRIMA_set_a -arity: 0 -"color: blue} +node: {title: "n189" label: "EndReg PRIMA_set_a 189" info1: "EndReg PRIMA_set_a 189 + mode: T + visited: 33 + irg: PRIMA_set_a + arity: 0 + pred nodes: + -1: Block 188 + Private Attributes: +" +color: blue} edge: { sourcename: "n189" targetname: "n188" class:2 priority:50 linestyle:dotted} -node: {title: "n194" label: "ProjX 0 194" info1: "mode: X -visited: 32 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n194" label: "ProjX 0 194" info1: "Proj 194 + mode: X + visited: 33 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 188 + 0: EndReg PRIMA_set_a 189 + Private Attributes: +" +color: yellow} edge: {sourcename: "n194" targetname: "n189" label: "0" class:13 priority:60 color:red} edge: { sourcename: "n194" targetname: "n188" class:2 priority:50 linestyle:dotted} -node: {title: "n197" label: "Block 197" info1: "mode: BB -visited: 32 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -"color: lightyellow} +node: {title: "n197" label: "Block 197" info1: "Block 197 + mode: BB + visited: 33 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + 0: Break 192 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 194 + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n197" targetname: "n194" label: "0" class:13 priority:60 color:red} -node: {title: "n199" label: "CallBegin c 199" info1: "mode: T -visited: 32 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -Call: 54 -possible callees: - 0: PRIMA_c -"} -node: {title: "n199n174" label: "SymC &c 174" info1: "mode: P -visited: 32 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -kind: addr_ent -entity PRIMA.c (23) +node: {title: "n199" label: "CallBegin c 199" info1: "CallBegin c 199 + mode: T + visited: 33 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 197 + 0: SymC &c 174 + Private Attributes: + Call: 54 + possible callees: + 0: PRIMA_c +" +} +node: {title: "n199n174" label: "SymC &c 174" info1: "SymC &c 174 + mode: P + visited: 33 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.c (23) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} edge: {sourcename: "n199" targetname: "n199n174" label: "0" class:16 priority:10} edge: { sourcename: "n199" targetname: "n197" class:2 priority:50 linestyle:dotted} -node: {title: "n201" label: "ProjX 0 201" info1: "mode: X -visited: 32 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n201" label: "ProjX 0 201" info1: "Proj 201 + mode: X + visited: 33 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 197 + 0: CallBegin c 199 + Private Attributes: +" +color: yellow} edge: {sourcename: "n201" targetname: "n199" label: "0" class:13 priority:60 color:red} edge: { sourcename: "n201" targetname: "n197" class:2 priority:50 linestyle:dotted} -node: {title: "n87" label: "Block 87" info1: "mode: BB -visited: 32 -irg: PRIMA_c -arity: 1 backedges: -"color: lightyellow} +node: {title: "n87" label: "Block 87" info1: "Block 87 + mode: BB + visited: 33 + irg: PRIMA_c + arity: 1 + pred nodes: + 0: Proj 91 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 201 + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n87" targetname: "n201" label: "0" class:13 priority:60 color:red} -node: {title: "n88" label: "Start PRIMA_c 88" 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} +node: {title: "n88" label: "Start PRIMA_c 88" info1: "Start PRIMA_c 88 + mode: T + visited: 33 + irg: PRIMA_c + arity: 0 + pred nodes: + -1: Block 87 + Private Attributes: + start of method of type c + param 0 type: class_prima_ptr + param 1 type: int +" +color: blue} edge: { sourcename: "n88" targetname: "n87" class:2 priority:50 linestyle:dotted} -node: {title: "n91" label: "ProjX 0 91" info1: "mode: X -visited: 32 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n91" label: "ProjX 0 91" info1: "Proj 91 + mode: X + visited: 33 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Start PRIMA_c 88 + Private Attributes: +" +color: yellow} edge: {sourcename: "n91" targetname: "n88" label: "0" class:13 priority:60 color:red} edge: { sourcename: "n91" targetname: "n87" class:2 priority:50 linestyle:dotted} -node: {title: "n97" label: "Block 97" info1: "mode: BB -visited: 32 -irg: PRIMA_c -arity: 1 backedges: -"color: lightyellow} +node: {title: "n97" label: "Block 97" info1: "Block 97 + mode: BB + visited: 33 + irg: PRIMA_c + arity: 1 + pred nodes: + 0: Proj 91 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 91 + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n97" targetname: "n91" label: "0" class:13 priority:60 color:red} -node: {title: "n179" label: "Jmp 179" info1: "mode: X -visited: 32 -irg: PRIMA_c -arity: 0 -"} +node: {title: "n179" label: "Jmp 179" info1: "Jmp 179 + mode: X + visited: 33 + irg: PRIMA_c + arity: 0 + pred nodes: + -1: Block 97 + Private Attributes: +" +} edge: { sourcename: "n179" targetname: "n97" class:2 priority:50 linestyle:dotted} -node: {title: "n180" label: "Block 180" info1: "mode: BB -visited: 32 -irg: PRIMA_c -arity: 1 backedges: -"color: lightyellow} +node: {title: "n180" label: "Block 180" info1: "Block 180 + mode: BB + visited: 33 + irg: PRIMA_c + arity: 1 + pred nodes: + 0: Jmp 179 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Jmp 179 + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n180" targetname: "n179" label: "0" class:13 priority:60 color:red} -node: {title: "n181" label: "EndReg PRIMA_c 181" info1: "mode: T -visited: 32 -irg: PRIMA_c -arity: 0 -"color: blue} +node: {title: "n181" label: "EndReg PRIMA_c 181" info1: "EndReg PRIMA_c 181 + mode: T + visited: 33 + irg: PRIMA_c + arity: 0 + pred nodes: + -1: Block 180 + Private Attributes: +" +color: blue} edge: { sourcename: "n181" targetname: "n180" class:2 priority:50 linestyle:dotted} -node: {title: "n200" label: "ProjX 0 200" info1: "mode: X -visited: 32 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n200" label: "ProjX 0 200" info1: "Proj 200 + mode: X + visited: 33 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 180 + 0: EndReg PRIMA_c 181 + Private Attributes: +" +color: yellow} edge: {sourcename: "n200" targetname: "n181" label: "0" class:13 priority:60 color:red} edge: { sourcename: "n200" targetname: "n180" class:2 priority:50 linestyle:dotted} -node: {title: "n40" label: "Block 40" info1: "mode: BB -visited: 32 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -"color: lightyellow} +node: {title: "n40" label: "Block 40" info1: "Block 40 + mode: BB + visited: 33 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + 0: Break 198 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 200 + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n40" targetname: "n200" label: "0" class:13 priority:60 color:red} -node: {title: "n178" label: "FilterIs 1 178" info1: "mode: Is -visited: 32 -irg: PRIMA_c -arity: 1 backedges: -intra predecessor nodes: - ProjT 95 -"color: yellow} -node: {title: "n178n42" label: "0x5Is 42" info1: "mode: Is -visited: 32 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n178" label: "FilterIs 1 178" info1: "Filter 178 + mode: Is + visited: 33 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Proj 95 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: 0x5 42 + backedges: +" +color: yellow} +node: {title: "n178n42" label: "0x5Is 42" info1: "0x5 42 + mode: Is + visited: 33 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n178" targetname: "n178n42" label: "0" class:16 priority:10} edge: { sourcename: "n178" targetname: "n87" class:2 priority:50 linestyle:dotted} -node: {title: "n37" label: "ProjM 1 37" info1: "mode: M -visited: 32 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n37" label: "ProjM 1 37" info1: "Proj 37 + mode: M + visited: 33 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 30 + 0: Start OO_PROGRAM_EXAMPLE_main 31 + Private Attributes: +" +color: yellow} edge: {sourcename: "n37" targetname: "n31" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n37" targetname: "n30" class:2 priority:50 linestyle:dotted} -node: {title: "n45" label: "Alloc 45" info1: "mode: T -visited: 32 -irg: OO_PROGRAM_EXAMPLE_main -arity: 2 -allocating entity of type PRIMA -"} -node: {title: "n45n43" label: "SymC PRIMA size 43" info1: "mode: Iu -visited: 32 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -kind: size -SymConst of type: type_unknown -"} +node: {title: "n45" label: "Alloc 45" info1: "Alloc 45 + mode: T + visited: 33 + irg: OO_PROGRAM_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 191 + 0: Proj 37 + 1: SymC PRIMA size 43 + Private Attributes: + pinned state: op_pin_state_pinned + allocating entity of type: PRIMA + allocating on: the heap +" +} +node: {title: "n45n43" label: "SymC PRIMA size 43" info1: "SymC PRIMA size 43 + mode: Iu + visited: 33 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + kind: size + type: class type PRIMA (15) + type of value: type_unknown +" +} edge: {sourcename: "n45" targetname: "n37" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n45" targetname: "n45n43" label: "1" class:16 priority:10} edge: { sourcename: "n45" targetname: "n191" class:2 priority:50 linestyle:dotted} -node: {title: "n48" label: "ProjP 2 48" info1: "mode: P -visited: 32 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n48" label: "ProjP 2 48" info1: "Proj 48 + mode: P + visited: 33 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 191 + 0: Alloc 45 + Private Attributes: +" +color: yellow} edge: {sourcename: "n48" targetname: "n45" label: "0" class:1 priority:50} edge: { sourcename: "n48" targetname: "n191" class:2 priority:50 linestyle:dotted} -node: {title: "n177" label: "FilterP 0 177" info1: "mode: P -visited: 32 -irg: PRIMA_c -arity: 1 backedges: -intra predecessor nodes: - ProjT 95 -"color: yellow} +node: {title: "n177" label: "FilterP 0 177" info1: "Filter 177 + mode: P + visited: 33 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Proj 95 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 48 + backedges: +" +color: yellow} edge: {sourcename: "n177" targetname: "n48" label: "0" class:16 priority:10} edge: { sourcename: "n177" targetname: "n87" class:2 priority:50 linestyle:dotted} -node: {title: "n186" label: "FilterIs 1 186" info1: "mode: Is -visited: 32 -irg: PRIMA_set_a -arity: 1 backedges: -intra predecessor nodes: - ProjT 72 -"color: yellow} -node: {title: "n186n41" label: "0x2Is 41" info1: "mode: Is -visited: 32 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n186" label: "FilterIs 1 186" info1: "Filter 186 + mode: Is + visited: 33 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Proj 72 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: 0x2 41 + backedges: +" +color: yellow} +node: {title: "n186n41" label: "0x2Is 41" info1: "0x2 41 + mode: Is + visited: 33 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n186" targetname: "n186n41" label: "0" class:16 priority:10} edge: { sourcename: "n186" targetname: "n64" class:2 priority:50 linestyle:dotted} -node: {title: "n185" label: "FilterP 0 185" info1: "mode: P -visited: 32 -irg: PRIMA_set_a -arity: 1 backedges: -intra predecessor nodes: - ProjT 72 -"color: yellow} +node: {title: "n185" label: "FilterP 0 185" info1: "Filter 185 + mode: P + visited: 33 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Proj 72 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 48 + backedges: +" +color: yellow} edge: {sourcename: "n185" targetname: "n48" label: "0" class:16 priority:10} edge: { sourcename: "n185" targetname: "n64" class:2 priority:50 linestyle:dotted} -node: {title: "n47" label: "ProjM 0 47" info1: "mode: M -visited: 32 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n47" label: "ProjM 0 47" info1: "Proj 47 + mode: M + visited: 33 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 191 + 0: Alloc 45 + Private Attributes: +" +color: yellow} edge: {sourcename: "n47" targetname: "n45" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n47" targetname: "n191" class:2 priority:50 linestyle:dotted} -node: {title: "n184" label: "FilterM 1 184" info1: "mode: M -visited: 32 -irg: PRIMA_set_a -arity: 1 backedges: -intra predecessor nodes: - StartT 65 -"color: yellow} +node: {title: "n184" label: "FilterM 1 184" info1: "Filter 184 + mode: M + visited: 33 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Start PRIMA_set_a 65 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 47 + backedges: +" +color: yellow} edge: {sourcename: "n184" targetname: "n47" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n184" targetname: "n64" class:2 priority:50 linestyle:dotted} -node: {title: "n78" label: "Sel a 78" info1: "mode: P -visited: 32 -irg: PRIMA_set_a -arity: 2 -Selecting entity of type int - from entity of type PRIMA -"} +node: {title: "n78" label: "Sel a 78" info1: "Sel 78 + mode: P + visited: 33 + irg: PRIMA_set_a + arity: 2 + pred nodes: + -1: Block 74 + 0: Filter 184 + 1: Filter 185 + Private Attributes: + Selecting entity of type int + from entity of type PRIMA +" +} edge: {sourcename: "n78" targetname: "n184" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n78" targetname: "n185" label: "1" class:16 priority:10} edge: { sourcename: "n78" targetname: "n74" class:2 priority:50 linestyle:dotted} -node: {title: "n79" label: "Store 79" info1: "mode: T -visited: 32 -irg: PRIMA_set_a -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n79" label: "Store 79" info1: "Store 79 + mode: T + visited: 33 + irg: PRIMA_set_a + arity: 3 + pred nodes: + -1: Block 74 + 0: Filter 184 + 1: Sel 78 + 2: Filter 186 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n79" targetname: "n184" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n79" targetname: "n78" label: "1" class:1 priority:50} edge: {sourcename: "n79" targetname: "n186" label: "2" class:16 priority:10} edge: { sourcename: "n79" targetname: "n74" class:2 priority:50 linestyle:dotted} -node: {title: "n81" label: "ProjM 0 81" info1: "mode: M -visited: 32 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n81" label: "ProjM 0 81" info1: "Proj 81 + mode: M + visited: 33 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 74 + 0: Store 79 + Private Attributes: +" +color: yellow} edge: {sourcename: "n81" targetname: "n79" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n81" targetname: "n74" class:2 priority:50 linestyle:dotted} -node: {title: "n196" label: "FilterM 0 196" info1: "mode: M -visited: 32 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -intra predecessor nodes: - CallT 50 -"color: yellow} +node: {title: "n196" label: "FilterM 0 196" info1: "Filter 196 + mode: M + visited: 33 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 197 + 0: Call 50 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 81 + backedges: +" +color: yellow} edge: {sourcename: "n196" targetname: "n81" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n196" targetname: "n197" class:2 priority:50 linestyle:dotted} -node: {title: "n176" label: "FilterM 1 176" info1: "mode: M -visited: 32 -irg: PRIMA_c -arity: 1 backedges: -intra predecessor nodes: - StartT 88 -"color: yellow} +node: {title: "n176" label: "FilterM 1 176" info1: "Filter 176 + mode: M + visited: 33 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Start PRIMA_c 88 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Filter 196 + backedges: +" +color: yellow} edge: {sourcename: "n176" targetname: "n196" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n176" targetname: "n87" class:2 priority:50 linestyle:dotted} -node: {title: "n101" label: "Sel a 101" info1: "mode: P -visited: 32 -irg: PRIMA_c -arity: 2 -Selecting entity of type int - from entity of type PRIMA -"} +node: {title: "n101" label: "Sel a 101" info1: "Sel 101 + mode: P + visited: 33 + irg: PRIMA_c + arity: 2 + pred nodes: + -1: Block 97 + 0: Filter 176 + 1: Filter 177 + Private Attributes: + Selecting entity of type int + from entity of type PRIMA +" +} edge: {sourcename: "n101" targetname: "n176" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n101" targetname: "n177" label: "1" class:16 priority:10} edge: { sourcename: "n101" targetname: "n97" class:2 priority:50 linestyle:dotted} -node: {title: "n102" label: "Load[Is] 102" info1: "mode: T -visited: 32 -irg: PRIMA_c -arity: 2 -volatility: volatility_non_volatile -"} +node: {title: "n102" label: "Load[Is] 102" info1: "Load[Is] 102 + mode: T + visited: 33 + irg: PRIMA_c + arity: 2 + pred nodes: + -1: Block 97 + 0: Filter 176 + 1: Sel 101 + Private Attributes: + pinned state: op_pin_state_pinned + mode of loaded value: Is + volatility: volatility_non_volatile +" +} edge: {sourcename: "n102" targetname: "n176" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n102" targetname: "n101" label: "1" class:1 priority:50} edge: { sourcename: "n102" targetname: "n97" class:2 priority:50 linestyle:dotted} -node: {title: "n105" label: "ProjIs 2 105" info1: "mode: Is -visited: 32 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n105" label: "ProjIs 2 105" info1: "Proj 105 + mode: Is + visited: 33 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Load[Is] 102 + Private Attributes: +" +color: yellow} edge: {sourcename: "n105" targetname: "n102" label: "0" class:1 priority:50} edge: { sourcename: "n105" targetname: "n97" class:2 priority:50 linestyle:dotted} -node: {title: "n106" label: "AddIs 106" info1: "mode: Is -visited: 32 -irg: PRIMA_c -arity: 2 -"} +node: {title: "n106" label: "AddIs 106" info1: "Add 106 + mode: Is + visited: 33 + irg: PRIMA_c + arity: 2 + pred nodes: + -1: Block 97 + 0: Proj 105 + 1: Filter 178 + Private Attributes: +" +} edge: {sourcename: "n106" targetname: "n105" label: "0" class:1 priority:50} edge: {sourcename: "n106" targetname: "n178" label: "1" class:16 priority:10} edge: { sourcename: "n106" targetname: "n97" class:2 priority:50 linestyle:dotted} -node: {title: "n203" label: "FilterIs 0 203" info1: "mode: Is -visited: 32 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -intra predecessor nodes: - ProjT 57 -"color: yellow} +node: {title: "n203" label: "FilterIs 0 203" info1: "Filter 203 + mode: Is + visited: 33 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Proj 57 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Add 106 + backedges: +" +color: yellow} edge: {sourcename: "n203" targetname: "n106" label: "0" class:16 priority:10} edge: { sourcename: "n203" targetname: "n40" class:2 priority:50 linestyle:dotted} -node: {title: "n104" label: "ProjM 0 104" info1: "mode: M -visited: 32 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n104" label: "ProjM 0 104" info1: "Proj 104 + mode: M + visited: 33 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Load[Is] 102 + Private Attributes: +" +color: yellow} edge: {sourcename: "n104" targetname: "n102" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n104" targetname: "n97" class:2 priority:50 linestyle:dotted} -node: {title: "n202" label: "FilterM 0 202" info1: "mode: M -visited: 32 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -intra predecessor nodes: - CallT 54 -"color: yellow} +node: {title: "n202" label: "FilterM 0 202" info1: "Filter 202 + mode: M + visited: 33 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Call 54 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 104 + backedges: +" +color: yellow} edge: {sourcename: "n202" targetname: "n104" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n202" targetname: "n40" class:2 priority:50 linestyle:dotted} -node: {title: "n59" label: "Return 59" info1: "mode: X -visited: 32 -irg: OO_PROGRAM_EXAMPLE_main -arity: 2 -"} +node: {title: "n59" label: "Return 59" info1: "Return 59 + mode: X + visited: 33 + irg: OO_PROGRAM_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 40 + 0: Filter 202 + 1: Filter 203 + Private Attributes: +" +} edge: {sourcename: "n59" targetname: "n202" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n59" targetname: "n203" label: "1" class:1 priority:50} edge: { sourcename: "n59" targetname: "n40" class:2 priority:50 linestyle:dotted} -node: {title: "n28" label: "Block 28" info1: "mode: BB -visited: 32 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -"color: lightyellow} +node: {title: "n28" label: "Block 28" info1: "Block 28 + mode: BB + visited: 33 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + 0: Return 59 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Return 59 + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n28" targetname: "n59" label: "0" class:13 priority:60 color:red} -node: {title: "n109" label: "End OO_PROGRAM_EXAMPLE_main 109" info1: "mode: X -visited: 32 -irg: OO_PROGRAM_EXAMPLE_main -arity: 2 -"color: blue} +node: {title: "n109" label: "End OO_PROGRAM_EXAMPLE_main 109" info1: "End OO_PROGRAM_EXAMPLE_main 109 + mode: X + visited: 33 + irg: OO_PROGRAM_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 28 + 0: Block 191 + 1: Block 197 + Private Attributes: +" +color: blue} edge: { sourcename: "n109" targetname: "n28" 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 index 6af7bd7f6..03655dd89 100644 --- a/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-pure-wtypes-ip.vcg +++ b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-pure-wtypes-ip.vcg @@ -52,419 +52,794 @@ colorentry 123: 255 220 220 colorentry 124: 255 240 240 colorentry 125: 255 250 250 -node: {title: "n30" label: "Block 30" info1: "mode: BB -visited: 36 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -"color: lightyellow} +node: {title: "n30" label: "Block 30" info1: "Block 30 + mode: BB + visited: 37 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + 0: Proj 34 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 34 + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n30" targetname: "n34" label: "0" class:13 priority:60 color:red} -node: {title: "n31" label: "Start OO_PROGRAM_EXAMPLE_main 31" info1: "mode: T -visited: 36 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -start of method of type OO_PROGRAM_EXAMPLE_main -"color: blue} +node: {title: "n31" label: "Start OO_PROGRAM_EXAMPLE_main 31" info1: "Start OO_PROGRAM_EXAMPLE_main 31 + mode: T + visited: 37 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + start of method of type OO_PROGRAM_EXAMPLE_main +" +color: blue} edge: { sourcename: "n31" targetname: "n30" class:2 priority:50 linestyle:dotted} -node: {title: "n34" label: "ProjX 0 34" info1: "mode: X -visited: 36 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n34" label: "ProjX 0 34" info1: "Proj 34 + mode: X + visited: 37 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 30 + 0: Start OO_PROGRAM_EXAMPLE_main 31 + Private Attributes: +" +color: yellow} edge: {sourcename: "n34" targetname: "n31" label: "0" class:13 priority:60 color:red} edge: { sourcename: "n34" targetname: "n30" class:2 priority:50 linestyle:dotted} -node: {title: "n191" label: "Block 191" info1: "mode: BB -visited: 36 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -"color: lightyellow} +node: {title: "n191" label: "Block 191" info1: "Block 191 + mode: BB + visited: 37 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + 0: Proj 34 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 34 + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n191" targetname: "n34" label: "0" class:13 priority:60 color:red} -node: {title: "n193" label: "CallBegin set_a 193" info1: "mode: T -visited: 36 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -Call: 50 -possible callees: - 0: PRIMA_set_a -"} -node: {title: "n193n175" label: "SymC &set_a 175" info1: "mode: P -visited: 36 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -kind: addr_ent -entity PRIMA.set_a (20) +node: {title: "n193" label: "CallBegin set_a 193" info1: "CallBegin set_a 193 + mode: T + visited: 37 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 191 + 0: SymC &set_a 175 + Private Attributes: + Call: 50 + possible callees: + 0: PRIMA_set_a +" +} +node: {title: "n193n175" label: "SymC &set_a 175" info1: "SymC &set_a 175 + mode: P + visited: 37 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.set_a (20) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} edge: {sourcename: "n193" targetname: "n193n175" label: "0" class:16 priority:10} edge: { sourcename: "n193" targetname: "n191" class:2 priority:50 linestyle:dotted} -node: {title: "n195" label: "ProjX 0 195" info1: "mode: X -visited: 36 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n195" label: "ProjX 0 195" info1: "Proj 195 + mode: X + visited: 37 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 191 + 0: CallBegin set_a 193 + Private Attributes: +" +color: yellow} edge: {sourcename: "n195" targetname: "n193" label: "0" class:13 priority:60 color:red} edge: { sourcename: "n195" targetname: "n191" class:2 priority:50 linestyle:dotted} -node: {title: "n64" label: "Block 64" info1: "mode: BB -visited: 36 -irg: PRIMA_set_a -arity: 1 backedges: -"color: lightyellow} +node: {title: "n64" label: "Block 64" info1: "Block 64 + mode: BB + visited: 37 + irg: PRIMA_set_a + arity: 1 + pred nodes: + 0: Proj 68 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 195 + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n64" targetname: "n195" label: "0" class:13 priority:60 color:red} -node: {title: "n65" label: "Start PRIMA_set_a 65" 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} +node: {title: "n65" label: "Start PRIMA_set_a 65" info1: "Start PRIMA_set_a 65 + mode: T + visited: 37 + irg: PRIMA_set_a + arity: 0 + pred nodes: + -1: Block 64 + Private Attributes: + start of method of type set_a + param 0 type: class_prima_ptr + param 1 type: int +" +color: blue} edge: { sourcename: "n65" targetname: "n64" class:2 priority:50 linestyle:dotted} -node: {title: "n68" label: "ProjX 0 68" info1: "mode: X -visited: 36 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n68" label: "ProjX 0 68" info1: "Proj 68 + mode: X + visited: 37 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Start PRIMA_set_a 65 + Private Attributes: +" +color: yellow} edge: {sourcename: "n68" targetname: "n65" label: "0" class:13 priority:60 color:red} edge: { sourcename: "n68" targetname: "n64" class:2 priority:50 linestyle:dotted} -node: {title: "n74" label: "Block 74" info1: "mode: BB -visited: 36 -irg: PRIMA_set_a -arity: 1 backedges: -"color: lightyellow} +node: {title: "n74" label: "Block 74" info1: "Block 74 + mode: BB + visited: 37 + irg: PRIMA_set_a + arity: 1 + pred nodes: + 0: Proj 68 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 68 + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n74" targetname: "n68" label: "0" class:13 priority:60 color:red} -node: {title: "n187" label: "Jmp 187" info1: "mode: X -visited: 36 -irg: PRIMA_set_a -arity: 0 -"} +node: {title: "n187" label: "Jmp 187" info1: "Jmp 187 + mode: X + visited: 37 + irg: PRIMA_set_a + arity: 0 + pred nodes: + -1: Block 74 + Private Attributes: +" +} edge: { sourcename: "n187" targetname: "n74" class:2 priority:50 linestyle:dotted} -node: {title: "n188" label: "Block 188" info1: "mode: BB -visited: 36 -irg: PRIMA_set_a -arity: 1 backedges: -"color: lightyellow} +node: {title: "n188" label: "Block 188" info1: "Block 188 + mode: BB + visited: 37 + irg: PRIMA_set_a + arity: 1 + pred nodes: + 0: Jmp 187 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Jmp 187 + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n188" targetname: "n187" label: "0" class:13 priority:60 color:red} -node: {title: "n189" label: "EndReg PRIMA_set_a 189" info1: "mode: T -visited: 36 -irg: PRIMA_set_a -arity: 0 -"color: blue} +node: {title: "n189" label: "EndReg PRIMA_set_a 189" info1: "EndReg PRIMA_set_a 189 + mode: T + visited: 37 + irg: PRIMA_set_a + arity: 0 + pred nodes: + -1: Block 188 + Private Attributes: +" +color: blue} edge: { sourcename: "n189" targetname: "n188" class:2 priority:50 linestyle:dotted} -node: {title: "n194" label: "ProjX 0 194" info1: "mode: X -visited: 36 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n194" label: "ProjX 0 194" info1: "Proj 194 + mode: X + visited: 37 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 188 + 0: EndReg PRIMA_set_a 189 + Private Attributes: +" +color: yellow} edge: {sourcename: "n194" targetname: "n189" label: "0" class:13 priority:60 color:red} edge: { sourcename: "n194" targetname: "n188" class:2 priority:50 linestyle:dotted} -node: {title: "n197" label: "Block 197" info1: "mode: BB -visited: 36 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -"color: lightyellow} +node: {title: "n197" label: "Block 197" info1: "Block 197 + mode: BB + visited: 37 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + 0: Break 192 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 194 + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n197" targetname: "n194" label: "0" class:13 priority:60 color:red} -node: {title: "n199" label: "CallBegin c 199" info1: "mode: T -visited: 36 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -Call: 54 -possible callees: - 0: PRIMA_c -"} -node: {title: "n199n174" label: "SymC &c 174" info1: "mode: P -visited: 36 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -kind: addr_ent -entity PRIMA.c (23) +node: {title: "n199" label: "CallBegin c 199" info1: "CallBegin c 199 + mode: T + visited: 37 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 197 + 0: SymC &c 174 + Private Attributes: + Call: 54 + possible callees: + 0: PRIMA_c +" +} +node: {title: "n199n174" label: "SymC &c 174" info1: "SymC &c 174 + mode: P + visited: 37 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.c (23) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} edge: {sourcename: "n199" targetname: "n199n174" label: "0" class:16 priority:10} edge: { sourcename: "n199" targetname: "n197" class:2 priority:50 linestyle:dotted} -node: {title: "n201" label: "ProjX 0 201" info1: "mode: X -visited: 36 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n201" label: "ProjX 0 201" info1: "Proj 201 + mode: X + visited: 37 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 197 + 0: CallBegin c 199 + Private Attributes: +" +color: yellow} edge: {sourcename: "n201" targetname: "n199" label: "0" class:13 priority:60 color:red} edge: { sourcename: "n201" targetname: "n197" class:2 priority:50 linestyle:dotted} -node: {title: "n87" label: "Block 87" info1: "mode: BB -visited: 36 -irg: PRIMA_c -arity: 1 backedges: -"color: lightyellow} +node: {title: "n87" label: "Block 87" info1: "Block 87 + mode: BB + visited: 37 + irg: PRIMA_c + arity: 1 + pred nodes: + 0: Proj 91 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 201 + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n87" targetname: "n201" label: "0" class:13 priority:60 color:red} -node: {title: "n88" label: "Start PRIMA_c 88" 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} +node: {title: "n88" label: "Start PRIMA_c 88" info1: "Start PRIMA_c 88 + mode: T + visited: 37 + irg: PRIMA_c + arity: 0 + pred nodes: + -1: Block 87 + Private Attributes: + start of method of type c + param 0 type: class_prima_ptr + param 1 type: int +" +color: blue} edge: { sourcename: "n88" targetname: "n87" class:2 priority:50 linestyle:dotted} -node: {title: "n91" label: "ProjX 0 91" info1: "mode: X -visited: 36 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n91" label: "ProjX 0 91" info1: "Proj 91 + mode: X + visited: 37 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Start PRIMA_c 88 + Private Attributes: +" +color: yellow} edge: {sourcename: "n91" targetname: "n88" label: "0" class:13 priority:60 color:red} edge: { sourcename: "n91" targetname: "n87" class:2 priority:50 linestyle:dotted} -node: {title: "n97" label: "Block 97" info1: "mode: BB -visited: 36 -irg: PRIMA_c -arity: 1 backedges: -"color: lightyellow} +node: {title: "n97" label: "Block 97" info1: "Block 97 + mode: BB + visited: 37 + irg: PRIMA_c + arity: 1 + pred nodes: + 0: Proj 91 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 91 + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n97" targetname: "n91" label: "0" class:13 priority:60 color:red} -node: {title: "n179" label: "Jmp 179" info1: "mode: X -visited: 36 -irg: PRIMA_c -arity: 0 -"} +node: {title: "n179" label: "Jmp 179" info1: "Jmp 179 + mode: X + visited: 37 + irg: PRIMA_c + arity: 0 + pred nodes: + -1: Block 97 + Private Attributes: +" +} edge: { sourcename: "n179" targetname: "n97" class:2 priority:50 linestyle:dotted} -node: {title: "n180" label: "Block 180" info1: "mode: BB -visited: 36 -irg: PRIMA_c -arity: 1 backedges: -"color: lightyellow} +node: {title: "n180" label: "Block 180" info1: "Block 180 + mode: BB + visited: 37 + irg: PRIMA_c + arity: 1 + pred nodes: + 0: Jmp 179 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Jmp 179 + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n180" targetname: "n179" label: "0" class:13 priority:60 color:red} -node: {title: "n181" label: "EndReg PRIMA_c 181" info1: "mode: T -visited: 36 -irg: PRIMA_c -arity: 0 -"color: blue} +node: {title: "n181" label: "EndReg PRIMA_c 181" info1: "EndReg PRIMA_c 181 + mode: T + visited: 37 + irg: PRIMA_c + arity: 0 + pred nodes: + -1: Block 180 + Private Attributes: +" +color: blue} edge: { sourcename: "n181" targetname: "n180" class:2 priority:50 linestyle:dotted} -node: {title: "n200" label: "ProjX 0 200" info1: "mode: X -visited: 36 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n200" label: "ProjX 0 200" info1: "Proj 200 + mode: X + visited: 37 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 180 + 0: EndReg PRIMA_c 181 + Private Attributes: +" +color: yellow} edge: {sourcename: "n200" targetname: "n181" label: "0" class:13 priority:60 color:red} edge: { sourcename: "n200" targetname: "n180" class:2 priority:50 linestyle:dotted} -node: {title: "n40" label: "Block 40" info1: "mode: BB -visited: 36 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -"color: lightyellow} +node: {title: "n40" label: "Block 40" info1: "Block 40 + mode: BB + visited: 37 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + 0: Break 198 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 200 + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n40" targetname: "n200" label: "0" class:13 priority:60 color:red} -node: {title: "n178" label: "FilterIs 1 178" info1: "mode: Is -visited: 36 -irg: PRIMA_c -arity: 1 backedges: -intra predecessor nodes: - ProjT 95 -"color: yellow} -node: {title: "n178n42" label: "0x5Is 42" info1: "mode: Is -visited: 36 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n178" label: "FilterIs 1 178" info1: "Filter 178 + mode: Is + visited: 37 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Proj 95 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: 0x5 42 + backedges: +" +color: yellow} +node: {title: "n178n42" label: "0x5Is 42" info1: "0x5 42 + mode: Is + visited: 37 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n178" targetname: "n178n42" label: "0" class:16 priority:10} edge: { sourcename: "n178" targetname: "n87" class:2 priority:50 linestyle:dotted} -node: {title: "n37" label: "ProjM 1 37" info1: "mode: M -visited: 36 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n37" label: "ProjM 1 37" info1: "Proj 37 + mode: M + visited: 37 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 30 + 0: Start OO_PROGRAM_EXAMPLE_main 31 + Private Attributes: +" +color: yellow} edge: {sourcename: "n37" targetname: "n31" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n37" targetname: "n30" class:2 priority:50 linestyle:dotted} -node: {title: "n45" label: "Alloc 45" info1: "mode: T -visited: 36 -irg: OO_PROGRAM_EXAMPLE_main -arity: 2 -allocating entity of type PRIMA -"} -node: {title: "n45n43" label: "SymC PRIMA size 43" info1: "mode: Iu -visited: 36 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -kind: size -SymConst of type: type_unknown -"} +node: {title: "n45" label: "Alloc 45" info1: "Alloc 45 + mode: T + visited: 37 + irg: OO_PROGRAM_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 191 + 0: Proj 37 + 1: SymC PRIMA size 43 + Private Attributes: + pinned state: op_pin_state_pinned + allocating entity of type: PRIMA + allocating on: the heap +" +} +node: {title: "n45n43" label: "SymC PRIMA size 43" info1: "SymC PRIMA size 43 + mode: Iu + visited: 37 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + kind: size + type: class type PRIMA (15) + type of value: type_unknown +" +} edge: {sourcename: "n45" targetname: "n37" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n45" targetname: "n45n43" label: "1" class:16 priority:10} edge: { sourcename: "n45" targetname: "n191" class:2 priority:50 linestyle:dotted} -node: {title: "n48" label: "ProjP 2 48" info1: "mode: P -visited: 36 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n48" label: "ProjP 2 48" info1: "Proj 48 + mode: P + visited: 37 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 191 + 0: Alloc 45 + Private Attributes: +" +color: yellow} edge: {sourcename: "n48" targetname: "n45" label: "0" class:1 priority:50} edge: { sourcename: "n48" targetname: "n191" class:2 priority:50 linestyle:dotted} -node: {title: "n177" label: "FilterP 0 177" info1: "mode: P -visited: 36 -irg: PRIMA_c -arity: 1 backedges: -intra predecessor nodes: - ProjT 95 -"color: yellow} +node: {title: "n177" label: "FilterP 0 177" info1: "Filter 177 + mode: P + visited: 37 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Proj 95 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 48 + backedges: +" +color: yellow} edge: {sourcename: "n177" targetname: "n48" label: "0" class:16 priority:10} edge: { sourcename: "n177" targetname: "n87" class:2 priority:50 linestyle:dotted} -node: {title: "n186" label: "FilterIs 1 186" info1: "mode: Is -visited: 36 -irg: PRIMA_set_a -arity: 1 backedges: -intra predecessor nodes: - ProjT 72 -"color: yellow} -node: {title: "n186n41" label: "0x2Is 41" info1: "mode: Is -visited: 36 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n186" label: "FilterIs 1 186" info1: "Filter 186 + mode: Is + visited: 37 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Proj 72 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: 0x2 41 + backedges: +" +color: yellow} +node: {title: "n186n41" label: "0x2Is 41" info1: "0x2 41 + mode: Is + visited: 37 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n186" targetname: "n186n41" label: "0" class:16 priority:10} edge: { sourcename: "n186" targetname: "n64" class:2 priority:50 linestyle:dotted} -node: {title: "n185" label: "FilterP 0 185" info1: "mode: P -visited: 36 -irg: PRIMA_set_a -arity: 1 backedges: -intra predecessor nodes: - ProjT 72 -"color: yellow} +node: {title: "n185" label: "FilterP 0 185" info1: "Filter 185 + mode: P + visited: 37 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Proj 72 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 48 + backedges: +" +color: yellow} edge: {sourcename: "n185" targetname: "n48" label: "0" class:16 priority:10} edge: { sourcename: "n185" targetname: "n64" class:2 priority:50 linestyle:dotted} -node: {title: "n47" label: "ProjM 0 47" info1: "mode: M -visited: 36 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n47" label: "ProjM 0 47" info1: "Proj 47 + mode: M + visited: 37 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 191 + 0: Alloc 45 + Private Attributes: +" +color: yellow} edge: {sourcename: "n47" targetname: "n45" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n47" targetname: "n191" class:2 priority:50 linestyle:dotted} -node: {title: "n184" label: "FilterM 1 184" info1: "mode: M -visited: 36 -irg: PRIMA_set_a -arity: 1 backedges: -intra predecessor nodes: - StartT 65 -"color: yellow} +node: {title: "n184" label: "FilterM 1 184" info1: "Filter 184 + mode: M + visited: 37 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Start PRIMA_set_a 65 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 47 + backedges: +" +color: yellow} edge: {sourcename: "n184" targetname: "n47" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n184" targetname: "n64" class:2 priority:50 linestyle:dotted} -node: {title: "n78" label: "Sel a 78" info1: "mode: P -visited: 36 -irg: PRIMA_set_a -arity: 2 -Selecting entity of type int - from entity of type PRIMA -"} +node: {title: "n78" label: "Sel a 78" info1: "Sel 78 + mode: P + visited: 37 + irg: PRIMA_set_a + arity: 2 + pred nodes: + -1: Block 74 + 0: Filter 184 + 1: Filter 185 + Private Attributes: + Selecting entity of type int + from entity of type PRIMA +" +} edge: {sourcename: "n78" targetname: "n184" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n78" targetname: "n185" label: "1" class:16 priority:10} edge: { sourcename: "n78" targetname: "n74" class:2 priority:50 linestyle:dotted} -node: {title: "n79" label: "Store 79" info1: "mode: T -visited: 36 -irg: PRIMA_set_a -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n79" label: "Store 79" info1: "Store 79 + mode: T + visited: 37 + irg: PRIMA_set_a + arity: 3 + pred nodes: + -1: Block 74 + 0: Filter 184 + 1: Sel 78 + 2: Filter 186 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n79" targetname: "n184" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n79" targetname: "n78" label: "1" class:1 priority:50} edge: {sourcename: "n79" targetname: "n186" label: "2" class:16 priority:10} edge: { sourcename: "n79" targetname: "n74" class:2 priority:50 linestyle:dotted} -node: {title: "n81" label: "ProjM 0 81" info1: "mode: M -visited: 36 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n81" label: "ProjM 0 81" info1: "Proj 81 + mode: M + visited: 37 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 74 + 0: Store 79 + Private Attributes: +" +color: yellow} edge: {sourcename: "n81" targetname: "n79" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n81" targetname: "n74" class:2 priority:50 linestyle:dotted} -node: {title: "n196" label: "FilterM 0 196" info1: "mode: M -visited: 36 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -intra predecessor nodes: - CallT 50 -"color: yellow} +node: {title: "n196" label: "FilterM 0 196" info1: "Filter 196 + mode: M + visited: 37 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 197 + 0: Call 50 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 81 + backedges: +" +color: yellow} edge: {sourcename: "n196" targetname: "n81" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n196" targetname: "n197" class:2 priority:50 linestyle:dotted} -node: {title: "n176" label: "FilterM 1 176" info1: "mode: M -visited: 36 -irg: PRIMA_c -arity: 1 backedges: -intra predecessor nodes: - StartT 88 -"color: yellow} +node: {title: "n176" label: "FilterM 1 176" info1: "Filter 176 + mode: M + visited: 37 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Start PRIMA_c 88 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Filter 196 + backedges: +" +color: yellow} edge: {sourcename: "n176" targetname: "n196" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n176" targetname: "n87" class:2 priority:50 linestyle:dotted} -node: {title: "n101" label: "Sel a 101" info1: "mode: P -visited: 36 -irg: PRIMA_c -arity: 2 -Selecting entity of type int - from entity of type PRIMA -"} +node: {title: "n101" label: "Sel a 101" info1: "Sel 101 + mode: P + visited: 37 + irg: PRIMA_c + arity: 2 + pred nodes: + -1: Block 97 + 0: Filter 176 + 1: Filter 177 + Private Attributes: + Selecting entity of type int + from entity of type PRIMA +" +} edge: {sourcename: "n101" targetname: "n176" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n101" targetname: "n177" label: "1" class:16 priority:10} edge: { sourcename: "n101" targetname: "n97" class:2 priority:50 linestyle:dotted} -node: {title: "n102" label: "Load[Is] 102" info1: "mode: T -visited: 36 -irg: PRIMA_c -arity: 2 -volatility: volatility_non_volatile -"} +node: {title: "n102" label: "Load[Is] 102" info1: "Load[Is] 102 + mode: T + visited: 37 + irg: PRIMA_c + arity: 2 + pred nodes: + -1: Block 97 + 0: Filter 176 + 1: Sel 101 + Private Attributes: + pinned state: op_pin_state_pinned + mode of loaded value: Is + volatility: volatility_non_volatile +" +} edge: {sourcename: "n102" targetname: "n176" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n102" targetname: "n101" label: "1" class:1 priority:50} edge: { sourcename: "n102" targetname: "n97" class:2 priority:50 linestyle:dotted} -node: {title: "n105" label: "ProjIs 2 105" info1: "mode: Is -visited: 36 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n105" label: "ProjIs 2 105" info1: "Proj 105 + mode: Is + visited: 37 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Load[Is] 102 + Private Attributes: +" +color: yellow} edge: {sourcename: "n105" targetname: "n102" label: "0" class:1 priority:50} edge: { sourcename: "n105" targetname: "n97" class:2 priority:50 linestyle:dotted} -node: {title: "n106" label: "AddIs 106" info1: "mode: Is -visited: 36 -irg: PRIMA_c -arity: 2 -"} +node: {title: "n106" label: "AddIs 106" info1: "Add 106 + mode: Is + visited: 37 + irg: PRIMA_c + arity: 2 + pred nodes: + -1: Block 97 + 0: Proj 105 + 1: Filter 178 + Private Attributes: +" +} edge: {sourcename: "n106" targetname: "n105" label: "0" class:1 priority:50} edge: {sourcename: "n106" targetname: "n178" label: "1" class:16 priority:10} edge: { sourcename: "n106" targetname: "n97" class:2 priority:50 linestyle:dotted} -node: {title: "n203" label: "FilterIs 0 203" info1: "mode: Is -visited: 36 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -intra predecessor nodes: - ProjT 57 -"color: yellow} +node: {title: "n203" label: "FilterIs 0 203" info1: "Filter 203 + mode: Is + visited: 37 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Proj 57 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Add 106 + backedges: +" +color: yellow} edge: {sourcename: "n203" targetname: "n106" label: "0" class:16 priority:10} edge: { sourcename: "n203" targetname: "n40" class:2 priority:50 linestyle:dotted} -node: {title: "n104" label: "ProjM 0 104" info1: "mode: M -visited: 36 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n104" label: "ProjM 0 104" info1: "Proj 104 + mode: M + visited: 37 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Load[Is] 102 + Private Attributes: +" +color: yellow} edge: {sourcename: "n104" targetname: "n102" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n104" targetname: "n97" class:2 priority:50 linestyle:dotted} -node: {title: "n202" label: "FilterM 0 202" info1: "mode: M -visited: 36 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -intra predecessor nodes: - CallT 54 -"color: yellow} +node: {title: "n202" label: "FilterM 0 202" info1: "Filter 202 + mode: M + visited: 37 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Call 54 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 104 + backedges: +" +color: yellow} edge: {sourcename: "n202" targetname: "n104" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n202" targetname: "n40" class:2 priority:50 linestyle:dotted} -node: {title: "n59" label: "Return 59" info1: "mode: X -visited: 36 -irg: OO_PROGRAM_EXAMPLE_main -arity: 2 -"} +node: {title: "n59" label: "Return 59" info1: "Return 59 + mode: X + visited: 37 + irg: OO_PROGRAM_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 40 + 0: Filter 202 + 1: Filter 203 + Private Attributes: +" +} edge: {sourcename: "n59" targetname: "n202" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n59" targetname: "n203" label: "1" class:1 priority:50} edge: { sourcename: "n59" targetname: "n40" class:2 priority:50 linestyle:dotted} -node: {title: "n28" label: "Block 28" info1: "mode: BB -visited: 36 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -"color: lightyellow} +node: {title: "n28" label: "Block 28" info1: "Block 28 + mode: BB + visited: 37 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + 0: Return 59 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Return 59 + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n28" targetname: "n59" label: "0" class:13 priority:60 color:red} -node: {title: "n109" label: "End OO_PROGRAM_EXAMPLE_main 109" info1: "mode: X -visited: 36 -irg: OO_PROGRAM_EXAMPLE_main -arity: 2 -"color: blue} +node: {title: "n109" label: "End OO_PROGRAM_EXAMPLE_main 109" info1: "End OO_PROGRAM_EXAMPLE_main 109 + mode: X + visited: 37 + irg: OO_PROGRAM_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 28 + 0: Block 191 + 1: Block 197 + Private Attributes: +" +color: blue} edge: { sourcename: "n109" targetname: "n28" class:2 priority:50 linestyle:dotted} node: {title: "e17" label: "ent a" color: yellow info1: "entity a (17) @@ -510,14 +885,19 @@ node: {title: "e20" label: "ent PRIMA_set_a" color: yellow } edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red} edge: { sourcename: "e20" targetname: "n19"label: "value 0"} -node: {title: "n19" label: "SymC &set_a 19" info1: "mode: P -visited: 39 -arity: 0 -kind: addr_ent -entity PRIMA.set_a (20) +node: {title: "n19" label: "SymC &set_a 19" info1: "SymC &set_a 19 + mode: P + visited: 40 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.set_a (20) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t18" label: "method set_a" info1: "state: layout_fixed, mode: P, size: 32b, @@ -556,14 +936,19 @@ node: {title: "e23" label: "ent PRIMA_c" color: yellow } edge: { sourcename: "e23" targetname: "t21"class: 3 label: "type" color: red} edge: { sourcename: "e23" targetname: "n22"label: "value 0"} -node: {title: "n22" label: "SymC &c 22" info1: "mode: P -visited: 40 -arity: 0 -kind: addr_ent -entity PRIMA.c (23) +node: {title: "n22" label: "SymC &c 22" info1: "SymC &c 22 + mode: P + visited: 41 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.c (23) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t21" label: "method c" info1: "state: layout_fixed, mode: P, size: 32b, @@ -594,14 +979,19 @@ node: {title: "e26" label: "ent OO_PROGRAM_EXAMPLE_main" color: yellow } edge: { sourcename: "e26" targetname: "t24"class: 3 label: "type" color: red} edge: { sourcename: "e26" targetname: "n25"label: "value 0"} -node: {title: "n25" label: "SymC &OO_PROGRAM_EXAMPLE_main 25" info1: "mode: P -visited: 41 -arity: 0 -kind: addr_ent -entity GlobalType.OO_PROGRAM_EXAMPLE_main (26) +node: {title: "n25" label: "SymC &OO_PROGRAM_EXAMPLE_main 25" info1: "SymC &OO_PROGRAM_EXAMPLE_main 25 + mode: P + visited: 42 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity GlobalType.OO_PROGRAM_EXAMPLE_main (26) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined size: -1b, peculiarity: peculiarity_existent 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 c6c92ccd4..fbabc63f5 100644 --- a/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-pure-wtypes.vcg +++ b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-pure-wtypes.vcg @@ -52,177 +52,322 @@ colorentry 123: 255 220 220 colorentry 124: 255 240 240 colorentry 125: 255 250 250 -node: {title: "n30" label: "Block 30" info1: "mode: BB -visited: 20 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -"color: lightyellow} +node: {title: "n30" label: "Block 30" info1: "Block 30 + mode: BB + visited: 20 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + 0: Proj 34 + Private Attributes: + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n30" targetname: "n34" label: "0" class:13 priority:60 color:red} -node: {title: "n31" label: "Start 31" info1: "mode: T -visited: 20 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -start of method of type OO_PROGRAM_EXAMPLE_main -"color: blue} +node: {title: "n31" label: "Start 31" info1: "Start 31 + mode: T + visited: 20 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + start of method of type OO_PROGRAM_EXAMPLE_main +" +color: blue} edge: { sourcename: "n31" targetname: "n30" class:2 priority:50 linestyle:dotted} -node: {title: "n34" label: "ProjX 0 34" info1: "mode: X -visited: 20 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n34" label: "ProjX 0 34" info1: "Proj 34 + mode: X + visited: 20 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 30 + 0: Start 31 + Private Attributes: +" +color: yellow} edge: {sourcename: "n34" targetname: "n31" label: "0" class:13 priority:60 color:red} edge: { sourcename: "n34" targetname: "n30" class:2 priority:50 linestyle:dotted} -node: {title: "n40" label: "Block 40" info1: "mode: BB -visited: 20 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -"color: lightyellow} +node: {title: "n40" label: "Block 40" info1: "Block 40 + mode: BB + visited: 20 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + 0: Proj 34 + Private Attributes: + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n40" targetname: "n34" label: "0" class:13 priority:60 color:red} -node: {title: "n37" label: "ProjM 1 37" info1: "mode: M -visited: 20 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n37" label: "ProjM 1 37" info1: "Proj 37 + mode: M + visited: 20 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 30 + 0: Start 31 + Private Attributes: +" +color: yellow} edge: {sourcename: "n37" targetname: "n31" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n37" targetname: "n30" class:2 priority:50 linestyle:dotted} -node: {title: "n45" label: "Alloc 45" info1: "mode: T -visited: 20 -irg: OO_PROGRAM_EXAMPLE_main -arity: 2 -allocating entity of type PRIMA -"} -node: {title: "n45n43" label: "SymC PRIMA size 43" info1: "mode: Iu -visited: 20 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -kind: size -SymConst of type: type_unknown -"} +node: {title: "n45" label: "Alloc 45" info1: "Alloc 45 + mode: T + visited: 20 + irg: OO_PROGRAM_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 40 + 0: Proj 37 + 1: SymC PRIMA size 43 + Private Attributes: + pinned state: op_pin_state_pinned + allocating entity of type: PRIMA + allocating on: the heap +" +} +node: {title: "n45n43" label: "SymC PRIMA size 43" info1: "SymC PRIMA size 43 + mode: Iu + visited: 20 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + kind: size + type: class type PRIMA (15) + type of value: type_unknown +" +} edge: {sourcename: "n45" targetname: "n37" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n45" targetname: "n45n43" label: "1" class:16 priority:10} edge: { sourcename: "n45" targetname: "n40" class:2 priority:50 linestyle:dotted} -node: {title: "n48" label: "ProjP 2 48" info1: "mode: P -visited: 20 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n48" label: "ProjP 2 48" info1: "Proj 48 + mode: P + visited: 20 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Alloc 45 + Private Attributes: +" +color: yellow} edge: {sourcename: "n48" targetname: "n45" label: "0" class:1 priority:50} edge: { sourcename: "n48" targetname: "n40" class:2 priority:50 linestyle:dotted} -node: {title: "n47" label: "ProjM 0 47" info1: "mode: M -visited: 20 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n47" label: "ProjM 0 47" info1: "Proj 47 + mode: M + visited: 20 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Alloc 45 + Private Attributes: +" +color: yellow} edge: {sourcename: "n47" targetname: "n45" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n47" targetname: "n40" class:2 priority:50 linestyle:dotted} -node: {title: "n49" label: "Sel PRIMA_set_a 49" info1: "mode: P -visited: 20 -irg: OO_PROGRAM_EXAMPLE_main -arity: 2 -Selecting entity of type set_a - from entity of type PRIMA -"} +node: {title: "n49" label: "Sel PRIMA_set_a 49" info1: "Sel 49 + mode: P + visited: 20 + irg: OO_PROGRAM_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 40 + 0: Proj 47 + 1: Proj 48 + Private Attributes: + Selecting entity of type set_a + from entity of type PRIMA +" +} edge: {sourcename: "n49" targetname: "n47" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n49" targetname: "n48" label: "1" class:1 priority:50} edge: { sourcename: "n49" targetname: "n40" class:2 priority:50 linestyle:dotted} -node: {title: "n50" label: "Call 50" 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 -"} -node: {title: "n50n41" label: "0x2Is 41" info1: "mode: Is -visited: 20 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n50" label: "Call 50" info1: "Call 50 + mode: T + visited: 20 + irg: OO_PROGRAM_EXAMPLE_main + arity: 4 + pred nodes: + -1: Block 40 + 0: Proj 47 + 1: Sel 49 + 2: Proj 48 + 3: 0x2 41 + Private Attributes: + pinned state: op_pin_state_pinned + calling method of type set_a + param 0 type: class_prima_ptr + param 1 type: int +" +} +node: {title: "n50n41" label: "0x2Is 41" info1: "0x2 41 + mode: Is + visited: 20 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n50" targetname: "n47" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n50" targetname: "n49" label: "1" class:1 priority:50} edge: {sourcename: "n50" targetname: "n48" label: "2" class:1 priority:50} edge: {sourcename: "n50" targetname: "n50n41" label: "3" class:16 priority:10} edge: { sourcename: "n50" targetname: "n40" class:2 priority:50 linestyle:dotted} -node: {title: "n52" label: "ProjM 0 52" info1: "mode: M -visited: 20 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n52" label: "ProjM 0 52" info1: "Proj 52 + mode: M + visited: 20 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Call 50 + Private Attributes: +" +color: yellow} edge: {sourcename: "n52" targetname: "n50" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n52" targetname: "n40" class:2 priority:50 linestyle:dotted} -node: {title: "n53" label: "Sel PRIMA_c 53" info1: "mode: P -visited: 20 -irg: OO_PROGRAM_EXAMPLE_main -arity: 2 -Selecting entity of type c - from entity of type PRIMA -"} +node: {title: "n53" label: "Sel PRIMA_c 53" info1: "Sel 53 + mode: P + visited: 20 + irg: OO_PROGRAM_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 40 + 0: Proj 52 + 1: Proj 48 + Private Attributes: + Selecting entity of type c + from entity of type PRIMA +" +} edge: {sourcename: "n53" targetname: "n52" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n53" targetname: "n48" label: "1" class:1 priority:50} edge: { sourcename: "n53" targetname: "n40" class:2 priority:50 linestyle:dotted} -node: {title: "n54" label: "Call 54" 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 -"} -node: {title: "n54n42" label: "0x5Is 42" info1: "mode: Is -visited: 20 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n54" label: "Call 54" info1: "Call 54 + mode: T + visited: 20 + irg: OO_PROGRAM_EXAMPLE_main + arity: 4 + pred nodes: + -1: Block 40 + 0: Proj 52 + 1: Sel 53 + 2: Proj 48 + 3: 0x5 42 + Private Attributes: + pinned state: op_pin_state_pinned + calling method of type c + param 0 type: class_prima_ptr + param 1 type: int + resul 0 type: int +" +} +node: {title: "n54n42" label: "0x5Is 42" info1: "0x5 42 + mode: Is + visited: 20 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n54" targetname: "n52" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n54" targetname: "n53" label: "1" class:1 priority:50} edge: {sourcename: "n54" targetname: "n48" label: "2" class:1 priority:50} edge: {sourcename: "n54" targetname: "n54n42" label: "3" class:16 priority:10} edge: { sourcename: "n54" targetname: "n40" class:2 priority:50 linestyle:dotted} -node: {title: "n57" label: "ProjT 2 57" info1: "mode: T -visited: 20 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n57" label: "ProjT 2 57" info1: "Proj 57 + mode: T + visited: 20 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Call 54 + Private Attributes: +" +color: yellow} edge: {sourcename: "n57" targetname: "n54" label: "0" class:1 priority:50} edge: { sourcename: "n57" targetname: "n40" class:2 priority:50 linestyle:dotted} -node: {title: "n58" label: "ProjIs 0 58" info1: "mode: Is -visited: 20 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n58" label: "ProjIs 0 58" info1: "Proj 58 + mode: Is + visited: 20 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Proj 57 + Private Attributes: +" +color: yellow} edge: {sourcename: "n58" targetname: "n57" label: "0" class:1 priority:50} edge: { sourcename: "n58" targetname: "n40" class:2 priority:50 linestyle:dotted} -node: {title: "n56" label: "ProjM 0 56" info1: "mode: M -visited: 20 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n56" label: "ProjM 0 56" info1: "Proj 56 + mode: M + visited: 20 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Call 54 + Private Attributes: +" +color: yellow} edge: {sourcename: "n56" targetname: "n54" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n56" targetname: "n40" class:2 priority:50 linestyle:dotted} -node: {title: "n59" label: "Return 59" 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 -"} +node: {title: "n59" label: "Return 59" info1: "Return 59 + mode: X + visited: 20 + irg: OO_PROGRAM_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 40 + 0: Proj 56 + 1: Proj 58 + Private Attributes: + return in method of type OO_PROGRAM_EXAMPLE_main + res 0 type: int +" +} edge: {sourcename: "n59" targetname: "n56" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n59" targetname: "n58" label: "1" class:1 priority:50} edge: { sourcename: "n59" targetname: "n40" class:2 priority:50 linestyle:dotted} -node: {title: "n28" label: "Block 28" info1: "mode: BB -visited: 20 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -"color: lightyellow} +node: {title: "n28" label: "Block 28" info1: "Block 28 + mode: BB + visited: 20 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + 0: Return 59 + Private Attributes: + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n28" targetname: "n59" label: "0" class:13 priority:60 color:red} -node: {title: "n109" label: "End 109" info1: "mode: X -visited: 20 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -"color: blue} +node: {title: "n109" label: "End 109" info1: "End 109 + mode: X + visited: 20 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 28 + Private Attributes: +" +color: blue} edge: { sourcename: "n109" targetname: "n28" class:2 priority:50 linestyle:dotted} node: {title: "t21" label: "method c" info1: "state: layout_fixed, mode: P, @@ -287,14 +432,19 @@ node: {title: "e20" label: "ent PRIMA_set_a" color: yellow } edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red} edge: { sourcename: "e20" targetname: "n19"label: "value 0"} -node: {title: "n19" label: "SymC &set_a 19" info1: "mode: P -visited: 1 -arity: 0 -kind: addr_ent -entity PRIMA.set_a (20) +node: {title: "n19" label: "SymC &set_a 19" info1: "SymC &set_a 19 + mode: P + visited: 1 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.set_a (20) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t18" label: "method set_a" info1: "state: layout_fixed, mode: P, size: 32b, @@ -324,14 +474,19 @@ node: {title: "e23" label: "ent PRIMA_c" color: yellow } edge: { sourcename: "e23" targetname: "t21"class: 3 label: "type" color: red} edge: { sourcename: "e23" targetname: "n22"label: "value 0"} -node: {title: "n22" label: "SymC &c 22" info1: "mode: P -visited: 1 -arity: 0 -kind: addr_ent -entity PRIMA.c (23) +node: {title: "n22" label: "SymC &c 22" info1: "SymC &c 22 + mode: P + visited: 1 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.c (23) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "e26" label: "ent OO_PROGRAM_EXAMPLE_main" color: yellow info1: "entity OO_PROGRAM_EXAMPLE_main (26) type: OO_PROGRAM_EXAMPLE_main (24) @@ -352,14 +507,19 @@ node: {title: "e26" label: "ent OO_PROGRAM_EXAMPLE_main" color: yellow } edge: { sourcename: "e26" targetname: "t24"class: 3 label: "type" color: red} edge: { sourcename: "e26" targetname: "n25"label: "value 0"} -node: {title: "n25" label: "SymC &OO_PROGRAM_EXAMPLE_main 25" info1: "mode: P -visited: 1 -arity: 0 -kind: addr_ent -entity GlobalType.OO_PROGRAM_EXAMPLE_main (26) +node: {title: "n25" label: "SymC &OO_PROGRAM_EXAMPLE_main 25" info1: "SymC &OO_PROGRAM_EXAMPLE_main 25 + mode: P + visited: 1 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity GlobalType.OO_PROGRAM_EXAMPLE_main (26) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined size: -1b, peculiarity: peculiarity_existent diff --git a/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-pure.vcg b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-pure.vcg index 64875968e..246b0717d 100644 --- a/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-pure.vcg +++ b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-pure.vcg @@ -52,176 +52,321 @@ colorentry 123: 255 220 220 colorentry 124: 255 240 240 colorentry 125: 255 250 250 -node: {title: "n30" label: "Block 30" info1: "mode: BB -visited: 18 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -"color: lightyellow} +node: {title: "n30" label: "Block 30" info1: "Block 30 + mode: BB + visited: 18 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + 0: Proj 34 + Private Attributes: + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n30" targetname: "n34" label: "0" class:13 priority:60 color:red} -node: {title: "n31" label: "Start 31" info1: "mode: T -visited: 18 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -start of method of type OO_PROGRAM_EXAMPLE_main -"color: blue} +node: {title: "n31" label: "Start 31" info1: "Start 31 + mode: T + visited: 18 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + start of method of type OO_PROGRAM_EXAMPLE_main +" +color: blue} edge: { sourcename: "n31" targetname: "n30" class:2 priority:50 linestyle:dotted} -node: {title: "n34" label: "ProjX 0 34" info1: "mode: X -visited: 18 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n34" label: "ProjX 0 34" info1: "Proj 34 + mode: X + visited: 18 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 30 + 0: Start 31 + Private Attributes: +" +color: yellow} edge: {sourcename: "n34" targetname: "n31" label: "0" class:13 priority:60 color:red} edge: { sourcename: "n34" targetname: "n30" class:2 priority:50 linestyle:dotted} -node: {title: "n40" label: "Block 40" info1: "mode: BB -visited: 18 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -"color: lightyellow} +node: {title: "n40" label: "Block 40" info1: "Block 40 + mode: BB + visited: 18 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + 0: Proj 34 + Private Attributes: + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n40" targetname: "n34" label: "0" class:13 priority:60 color:red} -node: {title: "n37" label: "ProjM 1 37" info1: "mode: M -visited: 18 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n37" label: "ProjM 1 37" info1: "Proj 37 + mode: M + visited: 18 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 30 + 0: Start 31 + Private Attributes: +" +color: yellow} edge: {sourcename: "n37" targetname: "n31" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n37" targetname: "n30" class:2 priority:50 linestyle:dotted} -node: {title: "n45" label: "Alloc 45" info1: "mode: T -visited: 18 -irg: OO_PROGRAM_EXAMPLE_main -arity: 2 -allocating entity of type PRIMA -"} -node: {title: "n45n43" label: "SymC PRIMA size 43" info1: "mode: Iu -visited: 18 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -kind: size -SymConst of type: type_unknown -"} +node: {title: "n45" label: "Alloc 45" info1: "Alloc 45 + mode: T + visited: 18 + irg: OO_PROGRAM_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 40 + 0: Proj 37 + 1: SymC PRIMA size 43 + Private Attributes: + pinned state: op_pin_state_pinned + allocating entity of type: PRIMA + allocating on: the heap +" +} +node: {title: "n45n43" label: "SymC PRIMA size 43" info1: "SymC PRIMA size 43 + mode: Iu + visited: 18 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + kind: size + type: class type PRIMA (15) + type of value: type_unknown +" +} edge: {sourcename: "n45" targetname: "n37" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n45" targetname: "n45n43" label: "1" class:16 priority:10} edge: { sourcename: "n45" targetname: "n40" class:2 priority:50 linestyle:dotted} -node: {title: "n48" label: "ProjP 2 48" info1: "mode: P -visited: 18 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n48" label: "ProjP 2 48" info1: "Proj 48 + mode: P + visited: 18 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Alloc 45 + Private Attributes: +" +color: yellow} edge: {sourcename: "n48" targetname: "n45" label: "0" class:1 priority:50} edge: { sourcename: "n48" targetname: "n40" class:2 priority:50 linestyle:dotted} -node: {title: "n47" label: "ProjM 0 47" info1: "mode: M -visited: 18 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n47" label: "ProjM 0 47" info1: "Proj 47 + mode: M + visited: 18 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Alloc 45 + Private Attributes: +" +color: yellow} edge: {sourcename: "n47" targetname: "n45" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n47" targetname: "n40" class:2 priority:50 linestyle:dotted} -node: {title: "n49" label: "Sel PRIMA_set_a 49" info1: "mode: P -visited: 18 -irg: OO_PROGRAM_EXAMPLE_main -arity: 2 -Selecting entity of type set_a - from entity of type PRIMA -"} +node: {title: "n49" label: "Sel PRIMA_set_a 49" info1: "Sel 49 + mode: P + visited: 18 + irg: OO_PROGRAM_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 40 + 0: Proj 47 + 1: Proj 48 + Private Attributes: + Selecting entity of type set_a + from entity of type PRIMA +" +} edge: {sourcename: "n49" targetname: "n47" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n49" targetname: "n48" label: "1" class:1 priority:50} edge: { sourcename: "n49" targetname: "n40" class:2 priority:50 linestyle:dotted} -node: {title: "n50" label: "Call 50" 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 -"} -node: {title: "n50n41" label: "0x2Is 41" info1: "mode: Is -visited: 18 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n50" label: "Call 50" info1: "Call 50 + mode: T + visited: 18 + irg: OO_PROGRAM_EXAMPLE_main + arity: 4 + pred nodes: + -1: Block 40 + 0: Proj 47 + 1: Sel 49 + 2: Proj 48 + 3: 0x2 41 + Private Attributes: + pinned state: op_pin_state_pinned + calling method of type set_a + param 0 type: class_prima_ptr + param 1 type: int +" +} +node: {title: "n50n41" label: "0x2Is 41" info1: "0x2 41 + mode: Is + visited: 18 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n50" targetname: "n47" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n50" targetname: "n49" label: "1" class:1 priority:50} edge: {sourcename: "n50" targetname: "n48" label: "2" class:1 priority:50} edge: {sourcename: "n50" targetname: "n50n41" label: "3" class:16 priority:10} edge: { sourcename: "n50" targetname: "n40" class:2 priority:50 linestyle:dotted} -node: {title: "n52" label: "ProjM 0 52" info1: "mode: M -visited: 18 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n52" label: "ProjM 0 52" info1: "Proj 52 + mode: M + visited: 18 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Call 50 + Private Attributes: +" +color: yellow} edge: {sourcename: "n52" targetname: "n50" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n52" targetname: "n40" class:2 priority:50 linestyle:dotted} -node: {title: "n53" label: "Sel PRIMA_c 53" info1: "mode: P -visited: 18 -irg: OO_PROGRAM_EXAMPLE_main -arity: 2 -Selecting entity of type c - from entity of type PRIMA -"} +node: {title: "n53" label: "Sel PRIMA_c 53" info1: "Sel 53 + mode: P + visited: 18 + irg: OO_PROGRAM_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 40 + 0: Proj 52 + 1: Proj 48 + Private Attributes: + Selecting entity of type c + from entity of type PRIMA +" +} edge: {sourcename: "n53" targetname: "n52" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n53" targetname: "n48" label: "1" class:1 priority:50} edge: { sourcename: "n53" targetname: "n40" class:2 priority:50 linestyle:dotted} -node: {title: "n54" label: "Call 54" 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 -"} -node: {title: "n54n42" label: "0x5Is 42" info1: "mode: Is -visited: 18 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n54" label: "Call 54" info1: "Call 54 + mode: T + visited: 18 + irg: OO_PROGRAM_EXAMPLE_main + arity: 4 + pred nodes: + -1: Block 40 + 0: Proj 52 + 1: Sel 53 + 2: Proj 48 + 3: 0x5 42 + Private Attributes: + pinned state: op_pin_state_pinned + calling method of type c + param 0 type: class_prima_ptr + param 1 type: int + resul 0 type: int +" +} +node: {title: "n54n42" label: "0x5Is 42" info1: "0x5 42 + mode: Is + visited: 18 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n54" targetname: "n52" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n54" targetname: "n53" label: "1" class:1 priority:50} edge: {sourcename: "n54" targetname: "n48" label: "2" class:1 priority:50} edge: {sourcename: "n54" targetname: "n54n42" label: "3" class:16 priority:10} edge: { sourcename: "n54" targetname: "n40" class:2 priority:50 linestyle:dotted} -node: {title: "n57" label: "ProjT 2 57" info1: "mode: T -visited: 18 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n57" label: "ProjT 2 57" info1: "Proj 57 + mode: T + visited: 18 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Call 54 + Private Attributes: +" +color: yellow} edge: {sourcename: "n57" targetname: "n54" label: "0" class:1 priority:50} edge: { sourcename: "n57" targetname: "n40" class:2 priority:50 linestyle:dotted} -node: {title: "n58" label: "ProjIs 0 58" info1: "mode: Is -visited: 18 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n58" label: "ProjIs 0 58" info1: "Proj 58 + mode: Is + visited: 18 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Proj 57 + Private Attributes: +" +color: yellow} edge: {sourcename: "n58" targetname: "n57" label: "0" class:1 priority:50} edge: { sourcename: "n58" targetname: "n40" class:2 priority:50 linestyle:dotted} -node: {title: "n56" label: "ProjM 0 56" info1: "mode: M -visited: 18 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n56" label: "ProjM 0 56" info1: "Proj 56 + mode: M + visited: 18 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Call 54 + Private Attributes: +" +color: yellow} edge: {sourcename: "n56" targetname: "n54" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n56" targetname: "n40" class:2 priority:50 linestyle:dotted} -node: {title: "n59" label: "Return 59" 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 -"} +node: {title: "n59" label: "Return 59" info1: "Return 59 + mode: X + visited: 18 + irg: OO_PROGRAM_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 40 + 0: Proj 56 + 1: Proj 58 + Private Attributes: + return in method of type OO_PROGRAM_EXAMPLE_main + res 0 type: int +" +} edge: {sourcename: "n59" targetname: "n56" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n59" targetname: "n58" label: "1" class:1 priority:50} edge: { sourcename: "n59" targetname: "n40" class:2 priority:50 linestyle:dotted} -node: {title: "n28" label: "Block 28" info1: "mode: BB -visited: 18 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -"color: lightyellow} +node: {title: "n28" label: "Block 28" info1: "Block 28 + mode: BB + visited: 18 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + 0: Return 59 + Private Attributes: + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n28" targetname: "n59" label: "0" class:13 priority:60 color:red} -node: {title: "n109" label: "End 109" info1: "mode: X -visited: 18 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -"color: blue} +node: {title: "n109" label: "End 109" info1: "End 109 + mode: X + visited: 18 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 28 + Private Attributes: +" +color: blue} edge: { sourcename: "n109" targetname: "n28" 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 index f1760f7e9..185c3d3be 100644 --- a/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-type.vcg +++ b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-type.vcg @@ -115,14 +115,19 @@ node: {title: "e20" label: "ent PRIMA_set_a" color: yellow } edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red} edge: { sourcename: "e20" targetname: "n19"label: "value 0"} -node: {title: "n19" label: "SymC &set_a 19" info1: "mode: P -visited: 7 -arity: 0 -kind: addr_ent -entity PRIMA.set_a (20) +node: {title: "n19" label: "SymC &set_a 19" info1: "SymC &set_a 19 + mode: P + visited: 7 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.set_a (20) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t18" label: "method set_a" info1: "state: layout_fixed, mode: P, size: 32b, @@ -152,14 +157,19 @@ node: {title: "e23" label: "ent PRIMA_c" color: yellow } edge: { sourcename: "e23" targetname: "t21"class: 3 label: "type" color: red} edge: { sourcename: "e23" targetname: "n22"label: "value 0"} -node: {title: "n22" label: "SymC &c 22" info1: "mode: P -visited: 7 -arity: 0 -kind: addr_ent -entity PRIMA.c (23) +node: {title: "n22" label: "SymC &c 22" info1: "SymC &c 22 + mode: P + visited: 7 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.c (23) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "e26" label: "ent OO_PROGRAM_EXAMPLE_main" color: yellow info1: "entity OO_PROGRAM_EXAMPLE_main (26) type: OO_PROGRAM_EXAMPLE_main (24) @@ -180,14 +190,19 @@ node: {title: "e26" label: "ent OO_PROGRAM_EXAMPLE_main" color: yellow } edge: { sourcename: "e26" targetname: "t24"class: 3 label: "type" color: red} edge: { sourcename: "e26" targetname: "n25"label: "value 0"} -node: {title: "n25" label: "SymC &OO_PROGRAM_EXAMPLE_main 25" info1: "mode: P -visited: 7 -arity: 0 -kind: addr_ent -entity GlobalType.OO_PROGRAM_EXAMPLE_main (26) +node: {title: "n25" label: "SymC &OO_PROGRAM_EXAMPLE_main 25" info1: "SymC &OO_PROGRAM_EXAMPLE_main 25 + mode: P + visited: 7 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity GlobalType.OO_PROGRAM_EXAMPLE_main (26) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined size: -1b, peculiarity: peculiarity_existent diff --git a/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-wtypes-ip.vcg b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-wtypes-ip.vcg index 608f196af..9e7641412 100644 --- a/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-wtypes-ip.vcg +++ b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-wtypes-ip.vcg @@ -55,151 +55,264 @@ colorentry 125: 255 250 250 graph: { title: "g39" label: "OO_PROGRAM_EXAMPLE_main" status:clustered color:white graph: { title: "n28" label: "Block 28" status:clustered color:yellow edge: {sourcename: "n28" targetname: "n59" label: "0" class:13 priority:60 color:red} -node: {title: "n109" label: "End OO_PROGRAM_EXAMPLE_main 109" info1: "mode: X -visited: 44 -irg: OO_PROGRAM_EXAMPLE_main -arity: 2 -"color: blue} +node: {title: "n109" label: "End OO_PROGRAM_EXAMPLE_main 109" info1: "End OO_PROGRAM_EXAMPLE_main 109 + mode: X + visited: 45 + irg: OO_PROGRAM_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 28 + 0: Block 191 + 1: Block 197 + Private Attributes: +" +color: blue} } graph: { title: "n40" label: "Block 40" status:clustered color:yellow edge: {sourcename: "n40" targetname: "n200" label: "0" class:13 priority:60 color:red} -node: {title: "n59" label: "Return 59" info1: "mode: X -visited: 44 -irg: OO_PROGRAM_EXAMPLE_main -arity: 2 -"} +node: {title: "n59" label: "Return 59" info1: "Return 59 + mode: X + visited: 45 + irg: OO_PROGRAM_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 40 + 0: Filter 202 + 1: Filter 203 + Private Attributes: +" +} edge: {sourcename: "n59" targetname: "n202" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n59" targetname: "n203" label: "1" class:1 priority:50} -node: {title: "n202" label: "FilterM 0 202" info1: "mode: M -visited: 44 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -intra predecessor nodes: - CallT 54 -"color: yellow} +node: {title: "n202" label: "FilterM 0 202" info1: "Filter 202 + mode: M + visited: 45 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Call 54 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 104 + backedges: +" +color: yellow} edge: {sourcename: "n202" targetname: "n104" label: "0" class:17 priority:10 color:blue} -node: {title: "n203" label: "FilterIs 0 203" info1: "mode: Is -visited: 44 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -intra predecessor nodes: - ProjT 57 -"color: yellow} +node: {title: "n203" label: "FilterIs 0 203" info1: "Filter 203 + mode: Is + visited: 45 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Proj 57 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Add 106 + backedges: +" +color: yellow} edge: {sourcename: "n203" targetname: "n106" label: "0" class:16 priority:10} } graph: { title: "n197" label: "Block 197" status:clustered color:yellow edge: {sourcename: "n197" targetname: "n194" label: "0" class:13 priority:60 color:red} -node: {title: "n196" label: "FilterM 0 196" info1: "mode: M -visited: 44 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 backedges: -intra predecessor nodes: - CallT 50 -"color: yellow} +node: {title: "n196" label: "FilterM 0 196" info1: "Filter 196 + mode: M + visited: 45 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 197 + 0: Call 50 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 81 + backedges: +" +color: yellow} edge: {sourcename: "n196" targetname: "n81" label: "0" class:17 priority:10 color:blue} -node: {title: "n201" label: "ProjX 0 201" info1: "mode: X -visited: 44 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n201" label: "ProjX 0 201" info1: "Proj 201 + mode: X + visited: 45 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 197 + 0: CallBegin c 199 + Private Attributes: +" +color: yellow} edge: {sourcename: "n201" targetname: "n199" label: "0" class:13 priority:60 color:red} -node: {title: "n199" label: "CallBegin c 199" info1: "mode: T -visited: 44 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -Call: 54 -possible callees: - 0: PRIMA_c -"} -node: {title: "n199n174" label: "SymC &c 174" info1: "mode: P -visited: 44 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -kind: addr_ent -entity PRIMA.c (23) +node: {title: "n199" label: "CallBegin c 199" info1: "CallBegin c 199 + mode: T + visited: 45 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 197 + 0: SymC &c 174 + Private Attributes: + Call: 54 + possible callees: + 0: PRIMA_c +" +} +node: {title: "n199n174" label: "SymC &c 174" info1: "SymC &c 174 + mode: P + visited: 45 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.c (23) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} edge: {sourcename: "n199" targetname: "n199n174" label: "0" class:16 priority:10} } graph: { title: "n191" label: "Block 191" status:clustered color:yellow edge: {sourcename: "n191" targetname: "n34" label: "0" class:13 priority:60 color:red} -node: {title: "n47" label: "ProjM 0 47" info1: "mode: M -visited: 44 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n47" label: "ProjM 0 47" info1: "Proj 47 + mode: M + visited: 45 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 191 + 0: Alloc 45 + Private Attributes: +" +color: yellow} edge: {sourcename: "n47" targetname: "n45" label: "0" class:17 priority:10 color:blue} -node: {title: "n48" label: "ProjP 2 48" info1: "mode: P -visited: 44 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n48" label: "ProjP 2 48" info1: "Proj 48 + mode: P + visited: 45 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 191 + 0: Alloc 45 + Private Attributes: +" +color: yellow} edge: {sourcename: "n48" targetname: "n45" label: "0" class:1 priority:50} -node: {title: "n45" label: "Alloc 45" info1: "mode: T -visited: 44 -irg: OO_PROGRAM_EXAMPLE_main -arity: 2 -allocating entity of type PRIMA -"} -node: {title: "n45n43" label: "SymC PRIMA size 43" info1: "mode: Iu -visited: 44 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -kind: size -SymConst of type: type_unknown -"} +node: {title: "n45" label: "Alloc 45" info1: "Alloc 45 + mode: T + visited: 45 + irg: OO_PROGRAM_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 191 + 0: Proj 37 + 1: SymC PRIMA size 43 + Private Attributes: + pinned state: op_pin_state_pinned + allocating entity of type: PRIMA + allocating on: the heap +" +} +node: {title: "n45n43" label: "SymC PRIMA size 43" info1: "SymC PRIMA size 43 + mode: Iu + visited: 45 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + kind: size + type: class type PRIMA (15) + type of value: type_unknown +" +} edge: {sourcename: "n45" targetname: "n37" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n45" targetname: "n45n43" label: "1" class:16 priority:10} -node: {title: "n195" label: "ProjX 0 195" info1: "mode: X -visited: 44 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n195" label: "ProjX 0 195" info1: "Proj 195 + mode: X + visited: 45 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 191 + 0: CallBegin set_a 193 + Private Attributes: +" +color: yellow} edge: {sourcename: "n195" targetname: "n193" label: "0" class:13 priority:60 color:red} -node: {title: "n193" label: "CallBegin set_a 193" info1: "mode: T -visited: 44 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -Call: 50 -possible callees: - 0: PRIMA_set_a -"} -node: {title: "n193n175" label: "SymC &set_a 175" info1: "mode: P -visited: 44 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -kind: addr_ent -entity PRIMA.set_a (20) +node: {title: "n193" label: "CallBegin set_a 193" info1: "CallBegin set_a 193 + mode: T + visited: 45 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 191 + 0: SymC &set_a 175 + Private Attributes: + Call: 50 + possible callees: + 0: PRIMA_set_a +" +} +node: {title: "n193n175" label: "SymC &set_a 175" info1: "SymC &set_a 175 + mode: P + visited: 45 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.set_a (20) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} edge: {sourcename: "n193" targetname: "n193n175" label: "0" class:16 priority:10} } graph: { title: "n30" label: "Block 30" status:clustered color:yellow edge: {sourcename: "n30" targetname: "n34" label: "0" class:13 priority:60 color:red} -node: {title: "n37" label: "ProjM 1 37" info1: "mode: M -visited: 44 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n37" label: "ProjM 1 37" info1: "Proj 37 + mode: M + visited: 45 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 30 + 0: Start OO_PROGRAM_EXAMPLE_main 31 + Private Attributes: +" +color: yellow} edge: {sourcename: "n37" targetname: "n31" label: "0" class:17 priority:10 color:blue} -node: {title: "n34" label: "ProjX 0 34" info1: "mode: X -visited: 44 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n34" label: "ProjX 0 34" info1: "Proj 34 + mode: X + visited: 45 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 30 + 0: Start OO_PROGRAM_EXAMPLE_main 31 + Private Attributes: +" +color: yellow} edge: {sourcename: "n34" targetname: "n31" label: "0" class:13 priority:60 color:red} -node: {title: "n31" label: "Start OO_PROGRAM_EXAMPLE_main 31" info1: "mode: T -visited: 44 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -start of method of type OO_PROGRAM_EXAMPLE_main -"color: blue} +node: {title: "n31" label: "Start OO_PROGRAM_EXAMPLE_main 31" info1: "Start OO_PROGRAM_EXAMPLE_main 31 + mode: T + visited: 45 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + start of method of type OO_PROGRAM_EXAMPLE_main +" +color: blue} } } @@ -207,98 +320,173 @@ start of method of type OO_PROGRAM_EXAMPLE_main graph: { title: "g73" label: "PRIMA_set_a" status:clustered color:white graph: { title: "n188" label: "Block 188" status:clustered color:yellow edge: {sourcename: "n188" targetname: "n187" label: "0" class:13 priority:60 color:red} -node: {title: "n194" label: "ProjX 0 194" info1: "mode: X -visited: 44 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n194" label: "ProjX 0 194" info1: "Proj 194 + mode: X + visited: 45 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 188 + 0: EndReg PRIMA_set_a 189 + Private Attributes: +" +color: yellow} edge: {sourcename: "n194" targetname: "n189" label: "0" class:13 priority:60 color:red} -node: {title: "n189" label: "EndReg PRIMA_set_a 189" info1: "mode: T -visited: 44 -irg: PRIMA_set_a -arity: 0 -"color: blue} +node: {title: "n189" label: "EndReg PRIMA_set_a 189" info1: "EndReg PRIMA_set_a 189 + mode: T + visited: 45 + irg: PRIMA_set_a + arity: 0 + pred nodes: + -1: Block 188 + Private Attributes: +" +color: blue} } graph: { title: "n74" label: "Block 74" status:clustered color:yellow edge: {sourcename: "n74" targetname: "n68" label: "0" class:13 priority:60 color:red} -node: {title: "n81" label: "ProjM 0 81" info1: "mode: M -visited: 44 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n81" label: "ProjM 0 81" info1: "Proj 81 + mode: M + visited: 45 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 74 + 0: Store 79 + Private Attributes: +" +color: yellow} edge: {sourcename: "n81" targetname: "n79" label: "0" class:17 priority:10 color:blue} -node: {title: "n79" label: "Store 79" info1: "mode: T -visited: 44 -irg: PRIMA_set_a -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n79" label: "Store 79" info1: "Store 79 + mode: T + visited: 45 + irg: PRIMA_set_a + arity: 3 + pred nodes: + -1: Block 74 + 0: Filter 184 + 1: Sel 78 + 2: Filter 186 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n79" targetname: "n184" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n79" targetname: "n78" label: "1" class:1 priority:50} edge: {sourcename: "n79" targetname: "n186" label: "2" class:16 priority:10} -node: {title: "n78" label: "Sel a 78" info1: "mode: P -visited: 44 -irg: PRIMA_set_a -arity: 2 -Selecting entity of type int - from entity of type PRIMA -"} +node: {title: "n78" label: "Sel a 78" info1: "Sel 78 + mode: P + visited: 45 + irg: PRIMA_set_a + arity: 2 + pred nodes: + -1: Block 74 + 0: Filter 184 + 1: Filter 185 + Private Attributes: + Selecting entity of type int + from entity of type PRIMA +" +} edge: {sourcename: "n78" targetname: "n184" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n78" targetname: "n185" label: "1" class:16 priority:10} -node: {title: "n187" label: "Jmp 187" info1: "mode: X -visited: 44 -irg: PRIMA_set_a -arity: 0 -"} +node: {title: "n187" label: "Jmp 187" info1: "Jmp 187 + mode: X + visited: 45 + irg: PRIMA_set_a + arity: 0 + pred nodes: + -1: Block 74 + Private Attributes: +" +} } graph: { title: "n64" label: "Block 64" status:clustered color:yellow edge: {sourcename: "n64" targetname: "n195" label: "0" class:13 priority:60 color:red} -node: {title: "n184" label: "FilterM 1 184" info1: "mode: M -visited: 44 -irg: PRIMA_set_a -arity: 1 backedges: -intra predecessor nodes: - StartT 65 -"color: yellow} +node: {title: "n184" label: "FilterM 1 184" info1: "Filter 184 + mode: M + visited: 45 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Start PRIMA_set_a 65 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 47 + backedges: +" +color: yellow} edge: {sourcename: "n184" targetname: "n47" label: "0" class:17 priority:10 color:blue} -node: {title: "n185" label: "FilterP 0 185" info1: "mode: P -visited: 44 -irg: PRIMA_set_a -arity: 1 backedges: -intra predecessor nodes: - ProjT 72 -"color: yellow} +node: {title: "n185" label: "FilterP 0 185" info1: "Filter 185 + mode: P + visited: 45 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Proj 72 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 48 + backedges: +" +color: yellow} edge: {sourcename: "n185" targetname: "n48" label: "0" class:16 priority:10} -node: {title: "n186" label: "FilterIs 1 186" info1: "mode: Is -visited: 44 -irg: PRIMA_set_a -arity: 1 backedges: -intra predecessor nodes: - ProjT 72 -"color: yellow} -node: {title: "n186n41" label: "0x2Is 41" info1: "mode: Is -visited: 44 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n186" label: "FilterIs 1 186" info1: "Filter 186 + mode: Is + visited: 45 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Proj 72 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: 0x2 41 + backedges: +" +color: yellow} +node: {title: "n186n41" label: "0x2Is 41" info1: "0x2 41 + mode: Is + visited: 45 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n186" targetname: "n186n41" label: "0" class:16 priority:10} -node: {title: "n68" label: "ProjX 0 68" info1: "mode: X -visited: 44 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n68" label: "ProjX 0 68" info1: "Proj 68 + mode: X + visited: 45 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Start PRIMA_set_a 65 + Private Attributes: +" +color: yellow} edge: {sourcename: "n68" targetname: "n65" label: "0" class:13 priority:60 color:red} -node: {title: "n65" label: "Start PRIMA_set_a 65" 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} +node: {title: "n65" label: "Start PRIMA_set_a 65" info1: "Start PRIMA_set_a 65 + mode: T + visited: 45 + irg: PRIMA_set_a + arity: 0 + pred nodes: + -1: Block 64 + Private Attributes: + start of method of type set_a + param 0 type: class_prima_ptr + param 1 type: int +" +color: blue} } } @@ -306,110 +494,198 @@ start of method of type set_a graph: { title: "g96" label: "PRIMA_c" status:clustered color:white graph: { title: "n180" label: "Block 180" status:clustered color:yellow edge: {sourcename: "n180" targetname: "n179" label: "0" class:13 priority:60 color:red} -node: {title: "n200" label: "ProjX 0 200" info1: "mode: X -visited: 44 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n200" label: "ProjX 0 200" info1: "Proj 200 + mode: X + visited: 45 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 180 + 0: EndReg PRIMA_c 181 + Private Attributes: +" +color: yellow} edge: {sourcename: "n200" targetname: "n181" label: "0" class:13 priority:60 color:red} -node: {title: "n181" label: "EndReg PRIMA_c 181" info1: "mode: T -visited: 44 -irg: PRIMA_c -arity: 0 -"color: blue} +node: {title: "n181" label: "EndReg PRIMA_c 181" info1: "EndReg PRIMA_c 181 + mode: T + visited: 45 + irg: PRIMA_c + arity: 0 + pred nodes: + -1: Block 180 + Private Attributes: +" +color: blue} } graph: { title: "n97" label: "Block 97" status:clustered color:yellow edge: {sourcename: "n97" targetname: "n91" label: "0" class:13 priority:60 color:red} -node: {title: "n104" label: "ProjM 0 104" info1: "mode: M -visited: 44 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n104" label: "ProjM 0 104" info1: "Proj 104 + mode: M + visited: 45 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Load[Is] 102 + Private Attributes: +" +color: yellow} edge: {sourcename: "n104" targetname: "n102" label: "0" class:17 priority:10 color:blue} -node: {title: "n106" label: "AddIs 106" info1: "mode: Is -visited: 44 -irg: PRIMA_c -arity: 2 -"} +node: {title: "n106" label: "AddIs 106" info1: "Add 106 + mode: Is + visited: 45 + irg: PRIMA_c + arity: 2 + pred nodes: + -1: Block 97 + 0: Proj 105 + 1: Filter 178 + Private Attributes: +" +} edge: {sourcename: "n106" targetname: "n105" label: "0" class:1 priority:50} edge: {sourcename: "n106" targetname: "n178" label: "1" class:16 priority:10} -node: {title: "n105" label: "ProjIs 2 105" info1: "mode: Is -visited: 44 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n105" label: "ProjIs 2 105" info1: "Proj 105 + mode: Is + visited: 45 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Load[Is] 102 + Private Attributes: +" +color: yellow} edge: {sourcename: "n105" targetname: "n102" label: "0" class:1 priority:50} -node: {title: "n102" label: "Load[Is] 102" info1: "mode: T -visited: 44 -irg: PRIMA_c -arity: 2 -volatility: volatility_non_volatile -"} +node: {title: "n102" label: "Load[Is] 102" info1: "Load[Is] 102 + mode: T + visited: 45 + irg: PRIMA_c + arity: 2 + pred nodes: + -1: Block 97 + 0: Filter 176 + 1: Sel 101 + Private Attributes: + pinned state: op_pin_state_pinned + mode of loaded value: Is + volatility: volatility_non_volatile +" +} edge: {sourcename: "n102" targetname: "n176" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n102" targetname: "n101" label: "1" class:1 priority:50} -node: {title: "n101" label: "Sel a 101" info1: "mode: P -visited: 44 -irg: PRIMA_c -arity: 2 -Selecting entity of type int - from entity of type PRIMA -"} +node: {title: "n101" label: "Sel a 101" info1: "Sel 101 + mode: P + visited: 45 + irg: PRIMA_c + arity: 2 + pred nodes: + -1: Block 97 + 0: Filter 176 + 1: Filter 177 + Private Attributes: + Selecting entity of type int + from entity of type PRIMA +" +} edge: {sourcename: "n101" targetname: "n176" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n101" targetname: "n177" label: "1" class:16 priority:10} -node: {title: "n179" label: "Jmp 179" info1: "mode: X -visited: 44 -irg: PRIMA_c -arity: 0 -"} +node: {title: "n179" label: "Jmp 179" info1: "Jmp 179 + mode: X + visited: 45 + irg: PRIMA_c + arity: 0 + pred nodes: + -1: Block 97 + Private Attributes: +" +} } graph: { title: "n87" label: "Block 87" status:clustered color:yellow edge: {sourcename: "n87" targetname: "n201" label: "0" class:13 priority:60 color:red} -node: {title: "n176" label: "FilterM 1 176" info1: "mode: M -visited: 44 -irg: PRIMA_c -arity: 1 backedges: -intra predecessor nodes: - StartT 88 -"color: yellow} +node: {title: "n176" label: "FilterM 1 176" info1: "Filter 176 + mode: M + visited: 45 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Start PRIMA_c 88 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Filter 196 + backedges: +" +color: yellow} edge: {sourcename: "n176" targetname: "n196" label: "0" class:17 priority:10 color:blue} -node: {title: "n177" label: "FilterP 0 177" info1: "mode: P -visited: 44 -irg: PRIMA_c -arity: 1 backedges: -intra predecessor nodes: - ProjT 95 -"color: yellow} +node: {title: "n177" label: "FilterP 0 177" info1: "Filter 177 + mode: P + visited: 45 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Proj 95 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: Proj 48 + backedges: +" +color: yellow} edge: {sourcename: "n177" targetname: "n48" label: "0" class:16 priority:10} -node: {title: "n178" label: "FilterIs 1 178" info1: "mode: Is -visited: 44 -irg: PRIMA_c -arity: 1 backedges: -intra predecessor nodes: - ProjT 95 -"color: yellow} -node: {title: "n178n42" label: "0x5Is 42" info1: "mode: Is -visited: 44 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n178" label: "FilterIs 1 178" info1: "Filter 178 + mode: Is + visited: 45 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Proj 95 + Private Attributes: + inter arity: 1 inter pred nodes: + 0: 0x5 42 + backedges: +" +color: yellow} +node: {title: "n178n42" label: "0x5Is 42" info1: "0x5 42 + mode: Is + visited: 45 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n178" targetname: "n178n42" label: "0" class:16 priority:10} -node: {title: "n91" label: "ProjX 0 91" info1: "mode: X -visited: 44 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n91" label: "ProjX 0 91" info1: "Proj 91 + mode: X + visited: 45 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Start PRIMA_c 88 + Private Attributes: +" +color: yellow} edge: {sourcename: "n91" targetname: "n88" label: "0" class:13 priority:60 color:red} -node: {title: "n88" label: "Start PRIMA_c 88" 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: "n88" label: "Start PRIMA_c 88" info1: "Start PRIMA_c 88 + mode: T + visited: 45 + irg: PRIMA_c + arity: 0 + pred nodes: + -1: Block 87 + Private Attributes: + start of method of type c + param 0 type: class_prima_ptr + param 1 type: int +" +color: blue} } } @@ -458,14 +734,19 @@ node: {title: "e20" label: "ent PRIMA_set_a" color: yellow } edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red} edge: { sourcename: "e20" targetname: "n19"label: "value 0"} -node: {title: "n19" label: "SymC &set_a 19" info1: "mode: P -visited: 47 -arity: 0 -kind: addr_ent -entity PRIMA.set_a (20) +node: {title: "n19" label: "SymC &set_a 19" info1: "SymC &set_a 19 + mode: P + visited: 48 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.set_a (20) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t18" label: "method set_a" info1: "state: layout_fixed, mode: P, size: 32b, @@ -504,14 +785,19 @@ node: {title: "e23" label: "ent PRIMA_c" color: yellow } edge: { sourcename: "e23" targetname: "t21"class: 3 label: "type" color: red} edge: { sourcename: "e23" targetname: "n22"label: "value 0"} -node: {title: "n22" label: "SymC &c 22" info1: "mode: P -visited: 48 -arity: 0 -kind: addr_ent -entity PRIMA.c (23) +node: {title: "n22" label: "SymC &c 22" info1: "SymC &c 22 + mode: P + visited: 49 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.c (23) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t21" label: "method c" info1: "state: layout_fixed, mode: P, size: 32b, @@ -542,14 +828,19 @@ node: {title: "e26" label: "ent OO_PROGRAM_EXAMPLE_main" color: yellow } edge: { sourcename: "e26" targetname: "t24"class: 3 label: "type" color: red} edge: { sourcename: "e26" targetname: "n25"label: "value 0"} -node: {title: "n25" label: "SymC &OO_PROGRAM_EXAMPLE_main 25" info1: "mode: P -visited: 49 -arity: 0 -kind: addr_ent -entity GlobalType.OO_PROGRAM_EXAMPLE_main (26) +node: {title: "n25" label: "SymC &OO_PROGRAM_EXAMPLE_main 25" info1: "SymC &OO_PROGRAM_EXAMPLE_main 25 + mode: P + visited: 50 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity GlobalType.OO_PROGRAM_EXAMPLE_main (26) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined size: -1b, peculiarity: peculiarity_existent diff --git a/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-wtypes.vcg b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-wtypes.vcg index 9b4a12dff..bc61cf4c4 100644 --- a/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-wtypes.vcg +++ b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-wtypes.vcg @@ -55,152 +55,276 @@ colorentry 125: 255 250 250 graph: { title: "g39" label: "OO_PROGRAM_EXAMPLE_main" status:clustered color:white graph: { title: "n28" label: "Block 28" status:clustered color:yellow edge: {sourcename: "n28" targetname: "n59" label: "0" class:13 priority:60 color:red} -node: {title: "n109" label: "End 109" info1: "mode: X -visited: 23 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -"color: blue} +node: {title: "n109" label: "End 109" info1: "End 109 + mode: X + visited: 23 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 28 + Private Attributes: +" +color: blue} } graph: { title: "n40" label: "Block 40" status:clustered color:yellow edge: {sourcename: "n40" targetname: "n34" label: "0" class:13 priority:60 color:red} -node: {title: "n59" label: "Return 59" 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 -"} +node: {title: "n59" label: "Return 59" info1: "Return 59 + mode: X + visited: 23 + irg: OO_PROGRAM_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 40 + 0: Proj 56 + 1: Proj 58 + Private Attributes: + return in method of type OO_PROGRAM_EXAMPLE_main + res 0 type: int +" +} edge: {sourcename: "n59" targetname: "n56" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n59" targetname: "n58" label: "1" class:1 priority:50} -node: {title: "n56" label: "ProjM 0 56" info1: "mode: M -visited: 23 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n56" label: "ProjM 0 56" info1: "Proj 56 + mode: M + visited: 23 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Call 54 + Private Attributes: +" +color: yellow} edge: {sourcename: "n56" targetname: "n54" label: "0" class:17 priority:10 color:blue} -node: {title: "n58" label: "ProjIs 0 58" info1: "mode: Is -visited: 23 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n58" label: "ProjIs 0 58" info1: "Proj 58 + mode: Is + visited: 23 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Proj 57 + Private Attributes: +" +color: yellow} edge: {sourcename: "n58" targetname: "n57" label: "0" class:1 priority:50} -node: {title: "n57" label: "ProjT 2 57" info1: "mode: T -visited: 23 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n57" label: "ProjT 2 57" info1: "Proj 57 + mode: T + visited: 23 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Call 54 + Private Attributes: +" +color: yellow} edge: {sourcename: "n57" targetname: "n54" label: "0" class:1 priority:50} -node: {title: "n54" label: "Call 54" 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: "n54n42" label: "0x5Is 42" info1: "mode: Is -visited: 23 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n54" label: "Call 54" info1: "Call 54 + mode: T + visited: 23 + irg: OO_PROGRAM_EXAMPLE_main + arity: 4 + pred nodes: + -1: Block 40 + 0: Proj 52 + 1: Sel 53 + 2: Proj 48 + 3: 0x5 42 + Private Attributes: + pinned state: op_pin_state_pinned + calling method of type c + param 0 type: class_prima_ptr + param 1 type: int + resul 0 type: int +" +} +node: {title: "n54n42" label: "0x5Is 42" info1: "0x5 42 + mode: Is + visited: 23 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n54" targetname: "n52" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n54" targetname: "n53" label: "1" class:1 priority:50} edge: {sourcename: "n54" targetname: "n48" label: "2" class:1 priority:50} edge: {sourcename: "n54" targetname: "n54n42" label: "3" class:16 priority:10} -node: {title: "n53" label: "Sel PRIMA_c 53" info1: "mode: P -visited: 23 -irg: OO_PROGRAM_EXAMPLE_main -arity: 2 -Selecting entity of type c - from entity of type PRIMA -"} +node: {title: "n53" label: "Sel PRIMA_c 53" info1: "Sel 53 + mode: P + visited: 23 + irg: OO_PROGRAM_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 40 + 0: Proj 52 + 1: Proj 48 + Private Attributes: + Selecting entity of type c + from entity of type PRIMA +" +} edge: {sourcename: "n53" targetname: "n52" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n53" targetname: "n48" label: "1" class:1 priority:50} -node: {title: "n52" label: "ProjM 0 52" info1: "mode: M -visited: 23 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n52" label: "ProjM 0 52" info1: "Proj 52 + mode: M + visited: 23 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Call 50 + Private Attributes: +" +color: yellow} edge: {sourcename: "n52" targetname: "n50" label: "0" class:17 priority:10 color:blue} -node: {title: "n50" label: "Call 50" 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: "n50n41" label: "0x2Is 41" info1: "mode: Is -visited: 23 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n50" label: "Call 50" info1: "Call 50 + mode: T + visited: 23 + irg: OO_PROGRAM_EXAMPLE_main + arity: 4 + pred nodes: + -1: Block 40 + 0: Proj 47 + 1: Sel 49 + 2: Proj 48 + 3: 0x2 41 + Private Attributes: + pinned state: op_pin_state_pinned + calling method of type set_a + param 0 type: class_prima_ptr + param 1 type: int +" +} +node: {title: "n50n41" label: "0x2Is 41" info1: "0x2 41 + mode: Is + visited: 23 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n50" targetname: "n47" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n50" targetname: "n49" label: "1" class:1 priority:50} edge: {sourcename: "n50" targetname: "n48" label: "2" class:1 priority:50} edge: {sourcename: "n50" targetname: "n50n41" label: "3" class:16 priority:10} -node: {title: "n49" label: "Sel PRIMA_set_a 49" info1: "mode: P -visited: 23 -irg: OO_PROGRAM_EXAMPLE_main -arity: 2 -Selecting entity of type set_a - from entity of type PRIMA -"} +node: {title: "n49" label: "Sel PRIMA_set_a 49" info1: "Sel 49 + mode: P + visited: 23 + irg: OO_PROGRAM_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 40 + 0: Proj 47 + 1: Proj 48 + Private Attributes: + Selecting entity of type set_a + from entity of type PRIMA +" +} edge: {sourcename: "n49" targetname: "n47" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n49" targetname: "n48" label: "1" class:1 priority:50} -node: {title: "n47" label: "ProjM 0 47" info1: "mode: M -visited: 23 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n47" label: "ProjM 0 47" info1: "Proj 47 + mode: M + visited: 23 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Alloc 45 + Private Attributes: +" +color: yellow} edge: {sourcename: "n47" targetname: "n45" label: "0" class:17 priority:10 color:blue} -node: {title: "n48" label: "ProjP 2 48" info1: "mode: P -visited: 23 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n48" label: "ProjP 2 48" info1: "Proj 48 + mode: P + visited: 23 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Alloc 45 + Private Attributes: +" +color: yellow} edge: {sourcename: "n48" targetname: "n45" label: "0" class:1 priority:50} -node: {title: "n45" label: "Alloc 45" info1: "mode: T -visited: 23 -irg: OO_PROGRAM_EXAMPLE_main -arity: 2 -allocating entity of type PRIMA -"} -node: {title: "n45n43" label: "SymC PRIMA size 43" info1: "mode: Iu -visited: 23 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -kind: size -SymConst of type: type_unknown -"} +node: {title: "n45" label: "Alloc 45" info1: "Alloc 45 + mode: T + visited: 23 + irg: OO_PROGRAM_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 40 + 0: Proj 37 + 1: SymC PRIMA size 43 + Private Attributes: + pinned state: op_pin_state_pinned + allocating entity of type: PRIMA + allocating on: the heap +" +} +node: {title: "n45n43" label: "SymC PRIMA size 43" info1: "SymC PRIMA size 43 + mode: Iu + visited: 23 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + kind: size + type: class type PRIMA (15) + type of value: type_unknown +" +} edge: {sourcename: "n45" targetname: "n37" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n45" targetname: "n45n43" label: "1" class:16 priority:10} } graph: { title: "n30" label: "Block 30" status:clustered color:yellow edge: {sourcename: "n30" targetname: "n34" label: "0" class:13 priority:60 color:red} -node: {title: "n37" label: "ProjM 1 37" info1: "mode: M -visited: 23 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n37" label: "ProjM 1 37" info1: "Proj 37 + mode: M + visited: 23 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 30 + 0: Start 31 + Private Attributes: +" +color: yellow} edge: {sourcename: "n37" targetname: "n31" label: "0" class:17 priority:10 color:blue} -node: {title: "n34" label: "ProjX 0 34" info1: "mode: X -visited: 23 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n34" label: "ProjX 0 34" info1: "Proj 34 + mode: X + visited: 23 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 30 + 0: Start 31 + Private Attributes: +" +color: yellow} edge: {sourcename: "n34" targetname: "n31" label: "0" class:13 priority:60 color:red} -node: {title: "n31" label: "Start 31" 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: "n31" label: "Start 31" info1: "Start 31 + mode: T + visited: 23 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + start of method of type OO_PROGRAM_EXAMPLE_main +" +color: blue} } } @@ -268,14 +392,19 @@ node: {title: "e20" label: "ent PRIMA_set_a" color: yellow } edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red} edge: { sourcename: "e20" targetname: "n19"label: "value 0"} -node: {title: "n19" label: "SymC &set_a 19" info1: "mode: P -visited: 4 -arity: 0 -kind: addr_ent -entity PRIMA.set_a (20) +node: {title: "n19" label: "SymC &set_a 19" info1: "SymC &set_a 19 + mode: P + visited: 4 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.set_a (20) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t18" label: "method set_a" info1: "state: layout_fixed, mode: P, size: 32b, @@ -305,14 +434,19 @@ node: {title: "e23" label: "ent PRIMA_c" color: yellow } edge: { sourcename: "e23" targetname: "t21"class: 3 label: "type" color: red} edge: { sourcename: "e23" targetname: "n22"label: "value 0"} -node: {title: "n22" label: "SymC &c 22" info1: "mode: P -visited: 4 -arity: 0 -kind: addr_ent -entity PRIMA.c (23) +node: {title: "n22" label: "SymC &c 22" info1: "SymC &c 22 + mode: P + visited: 4 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.c (23) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "e26" label: "ent OO_PROGRAM_EXAMPLE_main" color: yellow info1: "entity OO_PROGRAM_EXAMPLE_main (26) type: OO_PROGRAM_EXAMPLE_main (24) @@ -333,14 +467,19 @@ node: {title: "e26" label: "ent OO_PROGRAM_EXAMPLE_main" color: yellow } edge: { sourcename: "e26" targetname: "t24"class: 3 label: "type" color: red} edge: { sourcename: "e26" targetname: "n25"label: "value 0"} -node: {title: "n25" label: "SymC &OO_PROGRAM_EXAMPLE_main 25" info1: "mode: P -visited: 4 -arity: 0 -kind: addr_ent -entity GlobalType.OO_PROGRAM_EXAMPLE_main (26) +node: {title: "n25" label: "SymC &OO_PROGRAM_EXAMPLE_main 25" info1: "SymC &OO_PROGRAM_EXAMPLE_main 25 + mode: P + visited: 4 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity GlobalType.OO_PROGRAM_EXAMPLE_main (26) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined size: -1b, peculiarity: peculiarity_existent diff --git a/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main.vcg b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main.vcg index ef420fe6a..188f30104 100644 --- a/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main.vcg +++ b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main.vcg @@ -55,152 +55,276 @@ colorentry 125: 255 250 250 graph: { title: "g39" label: "OO_PROGRAM_EXAMPLE_main" status:clustered color:white graph: { title: "n28" label: "Block 28" status:clustered color:yellow edge: {sourcename: "n28" targetname: "n59" label: "0" class:13 priority:60 color:red} -node: {title: "n109" label: "End 109" info1: "mode: X -visited: 19 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -"color: blue} +node: {title: "n109" label: "End 109" info1: "End 109 + mode: X + visited: 19 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 28 + Private Attributes: +" +color: blue} } graph: { title: "n40" label: "Block 40" status:clustered color:yellow edge: {sourcename: "n40" targetname: "n34" label: "0" class:13 priority:60 color:red} -node: {title: "n59" label: "Return 59" 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 -"} +node: {title: "n59" label: "Return 59" info1: "Return 59 + mode: X + visited: 19 + irg: OO_PROGRAM_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 40 + 0: Proj 56 + 1: Proj 58 + Private Attributes: + return in method of type OO_PROGRAM_EXAMPLE_main + res 0 type: int +" +} edge: {sourcename: "n59" targetname: "n56" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n59" targetname: "n58" label: "1" class:1 priority:50} -node: {title: "n56" label: "ProjM 0 56" info1: "mode: M -visited: 19 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n56" label: "ProjM 0 56" info1: "Proj 56 + mode: M + visited: 19 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Call 54 + Private Attributes: +" +color: yellow} edge: {sourcename: "n56" targetname: "n54" label: "0" class:17 priority:10 color:blue} -node: {title: "n58" label: "ProjIs 0 58" info1: "mode: Is -visited: 19 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n58" label: "ProjIs 0 58" info1: "Proj 58 + mode: Is + visited: 19 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Proj 57 + Private Attributes: +" +color: yellow} edge: {sourcename: "n58" targetname: "n57" label: "0" class:1 priority:50} -node: {title: "n57" label: "ProjT 2 57" info1: "mode: T -visited: 19 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n57" label: "ProjT 2 57" info1: "Proj 57 + mode: T + visited: 19 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Call 54 + Private Attributes: +" +color: yellow} edge: {sourcename: "n57" targetname: "n54" label: "0" class:1 priority:50} -node: {title: "n54" label: "Call 54" 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 -"} -node: {title: "n54n42" label: "0x5Is 42" info1: "mode: Is -visited: 19 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n54" label: "Call 54" info1: "Call 54 + mode: T + visited: 19 + irg: OO_PROGRAM_EXAMPLE_main + arity: 4 + pred nodes: + -1: Block 40 + 0: Proj 52 + 1: Sel 53 + 2: Proj 48 + 3: 0x5 42 + Private Attributes: + pinned state: op_pin_state_pinned + calling method of type c + param 0 type: class_prima_ptr + param 1 type: int + resul 0 type: int +" +} +node: {title: "n54n42" label: "0x5Is 42" info1: "0x5 42 + mode: Is + visited: 19 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n54" targetname: "n52" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n54" targetname: "n53" label: "1" class:1 priority:50} edge: {sourcename: "n54" targetname: "n48" label: "2" class:1 priority:50} edge: {sourcename: "n54" targetname: "n54n42" label: "3" class:16 priority:10} -node: {title: "n53" label: "Sel PRIMA_c 53" info1: "mode: P -visited: 19 -irg: OO_PROGRAM_EXAMPLE_main -arity: 2 -Selecting entity of type c - from entity of type PRIMA -"} +node: {title: "n53" label: "Sel PRIMA_c 53" info1: "Sel 53 + mode: P + visited: 19 + irg: OO_PROGRAM_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 40 + 0: Proj 52 + 1: Proj 48 + Private Attributes: + Selecting entity of type c + from entity of type PRIMA +" +} edge: {sourcename: "n53" targetname: "n52" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n53" targetname: "n48" label: "1" class:1 priority:50} -node: {title: "n52" label: "ProjM 0 52" info1: "mode: M -visited: 19 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n52" label: "ProjM 0 52" info1: "Proj 52 + mode: M + visited: 19 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Call 50 + Private Attributes: +" +color: yellow} edge: {sourcename: "n52" targetname: "n50" label: "0" class:17 priority:10 color:blue} -node: {title: "n50" label: "Call 50" 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 -"} -node: {title: "n50n41" label: "0x2Is 41" info1: "mode: Is -visited: 19 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n50" label: "Call 50" info1: "Call 50 + mode: T + visited: 19 + irg: OO_PROGRAM_EXAMPLE_main + arity: 4 + pred nodes: + -1: Block 40 + 0: Proj 47 + 1: Sel 49 + 2: Proj 48 + 3: 0x2 41 + Private Attributes: + pinned state: op_pin_state_pinned + calling method of type set_a + param 0 type: class_prima_ptr + param 1 type: int +" +} +node: {title: "n50n41" label: "0x2Is 41" info1: "0x2 41 + mode: Is + visited: 19 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n50" targetname: "n47" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n50" targetname: "n49" label: "1" class:1 priority:50} edge: {sourcename: "n50" targetname: "n48" label: "2" class:1 priority:50} edge: {sourcename: "n50" targetname: "n50n41" label: "3" class:16 priority:10} -node: {title: "n49" label: "Sel PRIMA_set_a 49" info1: "mode: P -visited: 19 -irg: OO_PROGRAM_EXAMPLE_main -arity: 2 -Selecting entity of type set_a - from entity of type PRIMA -"} +node: {title: "n49" label: "Sel PRIMA_set_a 49" info1: "Sel 49 + mode: P + visited: 19 + irg: OO_PROGRAM_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 40 + 0: Proj 47 + 1: Proj 48 + Private Attributes: + Selecting entity of type set_a + from entity of type PRIMA +" +} edge: {sourcename: "n49" targetname: "n47" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n49" targetname: "n48" label: "1" class:1 priority:50} -node: {title: "n47" label: "ProjM 0 47" info1: "mode: M -visited: 19 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n47" label: "ProjM 0 47" info1: "Proj 47 + mode: M + visited: 19 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Alloc 45 + Private Attributes: +" +color: yellow} edge: {sourcename: "n47" targetname: "n45" label: "0" class:17 priority:10 color:blue} -node: {title: "n48" label: "ProjP 2 48" info1: "mode: P -visited: 19 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n48" label: "ProjP 2 48" info1: "Proj 48 + mode: P + visited: 19 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 40 + 0: Alloc 45 + Private Attributes: +" +color: yellow} edge: {sourcename: "n48" targetname: "n45" label: "0" class:1 priority:50} -node: {title: "n45" label: "Alloc 45" info1: "mode: T -visited: 19 -irg: OO_PROGRAM_EXAMPLE_main -arity: 2 -allocating entity of type PRIMA -"} -node: {title: "n45n43" label: "SymC PRIMA size 43" info1: "mode: Iu -visited: 19 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -kind: size -SymConst of type: type_unknown -"} +node: {title: "n45" label: "Alloc 45" info1: "Alloc 45 + mode: T + visited: 19 + irg: OO_PROGRAM_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 40 + 0: Proj 37 + 1: SymC PRIMA size 43 + Private Attributes: + pinned state: op_pin_state_pinned + allocating entity of type: PRIMA + allocating on: the heap +" +} +node: {title: "n45n43" label: "SymC PRIMA size 43" info1: "SymC PRIMA size 43 + mode: Iu + visited: 19 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + kind: size + type: class type PRIMA (15) + type of value: type_unknown +" +} edge: {sourcename: "n45" targetname: "n37" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n45" targetname: "n45n43" label: "1" class:16 priority:10} } graph: { title: "n30" label: "Block 30" status:clustered color:yellow edge: {sourcename: "n30" targetname: "n34" label: "0" class:13 priority:60 color:red} -node: {title: "n37" label: "ProjM 1 37" info1: "mode: M -visited: 19 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n37" label: "ProjM 1 37" info1: "Proj 37 + mode: M + visited: 19 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 30 + 0: Start 31 + Private Attributes: +" +color: yellow} edge: {sourcename: "n37" targetname: "n31" label: "0" class:17 priority:10 color:blue} -node: {title: "n34" label: "ProjX 0 34" info1: "mode: X -visited: 19 -irg: OO_PROGRAM_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n34" label: "ProjX 0 34" info1: "Proj 34 + mode: X + visited: 19 + irg: OO_PROGRAM_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 30 + 0: Start 31 + Private Attributes: +" +color: yellow} edge: {sourcename: "n34" targetname: "n31" label: "0" class:13 priority:60 color:red} -node: {title: "n31" label: "Start 31" info1: "mode: T -visited: 19 -irg: OO_PROGRAM_EXAMPLE_main -arity: 0 -start of method of type OO_PROGRAM_EXAMPLE_main -"color: blue} +node: {title: "n31" label: "Start 31" info1: "Start 31 + mode: T + visited: 19 + irg: OO_PROGRAM_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 30 + Private Attributes: + start of method of type OO_PROGRAM_EXAMPLE_main +" +color: blue} } } diff --git a/testprograms/ref-results/PRIMA_INLINE_c-wtypes.vcg b/testprograms/ref-results/PRIMA_INLINE_c-wtypes.vcg index 31adfa6d5..3c1e505e3 100644 --- a/testprograms/ref-results/PRIMA_INLINE_c-wtypes.vcg +++ b/testprograms/ref-results/PRIMA_INLINE_c-wtypes.vcg @@ -56,115 +56,212 @@ graph: { title: "g96" label: "PRIMA_INLINE_c" status:clustered color:white graph: { title: "n102" label: "Block 102" status:clustered color:yellow edge: {sourcename: "n102" targetname: "n101" label: "0" class:13 priority:60 color:red} edge: {sourcename: "n102" targetname: "n109" label: "1" class:13 priority:60 color:red} -node: {title: "n130" label: "PhiM 130" info1: "mode: M -visited: 26 -irg: PRIMA_INLINE_c -arity: 2 backedges: -"color: green} +node: {title: "n130" label: "PhiM 130" info1: "Phi 130 + mode: M + visited: 26 + irg: PRIMA_INLINE_c + arity: 2 + pred nodes: + -1: Block 102 + 0: Proj 94 + 1: Store 117 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n130" targetname: "n94" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n130" targetname: "n117" label: "1" class:17 priority:10 color:blue} -node: {title: "n117" label: "Store 117" info1: "mode: T -visited: 26 -irg: PRIMA_INLINE_c -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n117" label: "Store 117" info1: "Store 117 + mode: T + visited: 26 + irg: PRIMA_INLINE_c + arity: 3 + pred nodes: + -1: Block 102 + 0: Phi 130 + 1: Sel 116 + 2: Phi 126 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n117" targetname: "n130" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n117" targetname: "n116" label: "1" class:1 priority:50} edge: {sourcename: "n117" targetname: "n126" label: "2" class:1 priority:50} -node: {title: "n116" label: "Sel a 116" info1: "mode: P -visited: 26 -irg: PRIMA_INLINE_c -arity: 2 -Selecting entity of type int - from entity of type PRIMA_INLINE -"} +node: {title: "n116" label: "Sel a 116" info1: "Sel 116 + mode: P + visited: 26 + irg: PRIMA_INLINE_c + arity: 2 + pred nodes: + -1: Block 102 + 0: Phi 130 + 1: Proj 98 + Private Attributes: + Selecting entity of type int + from entity of type PRIMA_INLINE +" +} edge: {sourcename: "n116" targetname: "n130" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n116" targetname: "n98" label: "1" class:16 priority:10} -node: {title: "n126" label: "PhiIs 126" info1: "mode: Is -visited: 26 -irg: PRIMA_INLINE_c -arity: 2 backedges: -"color: green} +node: {title: "n126" label: "PhiIs 126" info1: "Phi 126 + mode: Is + visited: 26 + irg: PRIMA_INLINE_c + arity: 2 + pred nodes: + -1: Block 102 + 0: Proj 99 + 1: Phi 127 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n126" targetname: "n99" label: "0" class:16 priority:10} edge: {sourcename: "n126" targetname: "n127" label: "1" class:1 priority:50} -node: {title: "n127" label: "PhiIs 127" info1: "mode: Is -visited: 26 -irg: PRIMA_INLINE_c -arity: 2 backedges: -"color: green} +node: {title: "n127" label: "PhiIs 127" info1: "Phi 127 + mode: Is + visited: 26 + irg: PRIMA_INLINE_c + arity: 2 + pred nodes: + -1: Block 102 + 0: 0x0 100 + 1: Phi 126 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n127" targetname: "n100" label: "0" class:16 priority:10} edge: {sourcename: "n127" targetname: "n126" label: "1" class:1 priority:50} -node: {title: "n109" label: "Jmp 109" info1: "mode: X -visited: 26 -irg: PRIMA_INLINE_c -arity: 0 -"} +node: {title: "n109" label: "Jmp 109" info1: "Jmp 109 + mode: X + visited: 26 + irg: PRIMA_INLINE_c + arity: 0 + pred nodes: + -1: Block 102 + Private Attributes: +" +} } graph: { title: "n97" label: "Block 97" status:clustered color:yellow edge: {sourcename: "n97" targetname: "n91" label: "0" class:13 priority:60 color:red} -node: {title: "n98" label: "ProjP 0 98" info1: "mode: P -visited: 26 -irg: PRIMA_INLINE_c -arity: 1 -"color: yellow} +node: {title: "n98" label: "ProjP 0 98" info1: "Proj 98 + mode: P + visited: 26 + irg: PRIMA_INLINE_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Proj 95 + Private Attributes: +" +color: yellow} edge: {sourcename: "n98" targetname: "n95" label: "0" class:16 priority:10} -node: {title: "n99" label: "ProjIs 1 99" info1: "mode: Is -visited: 26 -irg: PRIMA_INLINE_c -arity: 1 -"color: yellow} +node: {title: "n99" label: "ProjIs 1 99" info1: "Proj 99 + mode: Is + visited: 26 + irg: PRIMA_INLINE_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Proj 95 + Private Attributes: +" +color: yellow} edge: {sourcename: "n99" targetname: "n95" label: "0" class:16 priority:10} -node: {title: "n101" label: "Jmp 101" info1: "mode: X -visited: 26 -irg: PRIMA_INLINE_c -arity: 0 -"} +node: {title: "n101" label: "Jmp 101" info1: "Jmp 101 + mode: X + visited: 26 + irg: PRIMA_INLINE_c + arity: 0 + pred nodes: + -1: Block 97 + Private Attributes: +" +} } graph: { title: "n87" label: "Block 87" status:clustered color:yellow edge: {sourcename: "n87" targetname: "n91" label: "0" class:13 priority:60 color:red} -node: {title: "n94" label: "ProjM 1 94" info1: "mode: M -visited: 26 -irg: PRIMA_INLINE_c -arity: 1 -"color: yellow} +node: {title: "n94" label: "ProjM 1 94" info1: "Proj 94 + mode: M + visited: 26 + irg: PRIMA_INLINE_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Start 88 + Private Attributes: +" +color: yellow} edge: {sourcename: "n94" targetname: "n88" label: "0" class:17 priority:10 color:blue} -node: {title: "n95" label: "ProjT 4 95" info1: "mode: T -visited: 26 -irg: PRIMA_INLINE_c -arity: 1 -"color: yellow} +node: {title: "n95" label: "ProjT 4 95" info1: "Proj 95 + mode: T + visited: 26 + irg: PRIMA_INLINE_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Start 88 + Private Attributes: +" +color: yellow} edge: {sourcename: "n95" targetname: "n88" label: "0" class:1 priority:50} -node: {title: "n100" label: "0x0Is 100" info1: "mode: Is -visited: 26 -irg: PRIMA_INLINE_c -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n91" label: "ProjX 0 91" info1: "mode: X -visited: 26 -irg: PRIMA_INLINE_c -arity: 1 -"color: yellow} +node: {title: "n100" label: "0x0Is 100" info1: "0x0 100 + mode: Is + visited: 26 + irg: PRIMA_INLINE_c + arity: 0 + pred nodes: + -1: Block 87 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n91" label: "ProjX 0 91" info1: "Proj 91 + mode: X + visited: 26 + irg: PRIMA_INLINE_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Start 88 + Private Attributes: +" +color: yellow} edge: {sourcename: "n91" targetname: "n88" label: "0" class:13 priority:60 color:red} -node: {title: "n88" label: "Start 88" 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 -"color: blue} +node: {title: "n88" label: "Start 88" info1: "Start 88 + mode: T + visited: 26 + irg: PRIMA_INLINE_c + arity: 0 + pred nodes: + -1: Block 87 + Private Attributes: + start of method of type c + param 0 type: class_prima_ptr + param 1 type: int +" +color: blue} } graph: { title: "n85" label: "Block 85" status:clustered color:yellow -node: {title: "n243" label: "End 243" info1: "mode: X -visited: 26 -irg: PRIMA_INLINE_c -arity: 2 -"color: blue} +node: {title: "n243" label: "End 243" info1: "End 243 + mode: X + visited: 26 + irg: PRIMA_INLINE_c + arity: 2 + pred nodes: + -1: Block 85 + 0: Block 102 + 1: Phi 130 + Private Attributes: +" +color: blue} } } @@ -213,14 +310,19 @@ node: {title: "e20" label: "ent PRIMA_INLINE_set_a" color: yellow } edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red} edge: { sourcename: "e20" targetname: "n19"label: "value 0"} -node: {title: "n19" label: "SymC &set_a 19" info1: "mode: P -visited: 3 -arity: 0 -kind: addr_ent -entity PRIMA_INLINE.set_a (20) +node: {title: "n19" label: "SymC &set_a 19" info1: "SymC &set_a 19 + mode: P + visited: 3 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity PRIMA_INLINE.set_a (20) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t18" label: "method set_a" info1: "state: layout_fixed, mode: P, size: 32b, @@ -259,14 +361,19 @@ node: {title: "e23" label: "ent PRIMA_INLINE_c" color: yellow } edge: { sourcename: "e23" targetname: "t21"class: 3 label: "type" color: red} edge: { sourcename: "e23" targetname: "n22"label: "value 0"} -node: {title: "n22" label: "SymC &c 22" info1: "mode: P -visited: 3 -arity: 0 -kind: addr_ent -entity PRIMA_INLINE.c (23) +node: {title: "n22" label: "SymC &c 22" info1: "SymC &c 22 + mode: P + visited: 3 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity PRIMA_INLINE.c (23) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t21" label: "method c" info1: "state: layout_fixed, mode: P, size: 32b, diff --git a/testprograms/ref-results/PRIMA_INLINE_c.vcg b/testprograms/ref-results/PRIMA_INLINE_c.vcg index b24ccb46e..577555cd2 100644 --- a/testprograms/ref-results/PRIMA_INLINE_c.vcg +++ b/testprograms/ref-results/PRIMA_INLINE_c.vcg @@ -56,115 +56,212 @@ graph: { title: "g96" label: "PRIMA_INLINE_c" status:clustered color:white graph: { title: "n102" label: "Block 102" status:clustered color:yellow edge: {sourcename: "n102" targetname: "n101" label: "0" class:13 priority:60 color:red} edge: {sourcename: "n102" targetname: "n109" label: "1" class:13 priority:60 color:red} -node: {title: "n130" label: "PhiM 130" info1: "mode: M -visited: 25 -irg: PRIMA_INLINE_c -arity: 2 backedges: -"color: green} +node: {title: "n130" label: "PhiM 130" info1: "Phi 130 + mode: M + visited: 25 + irg: PRIMA_INLINE_c + arity: 2 + pred nodes: + -1: Block 102 + 0: Proj 94 + 1: Store 117 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n130" targetname: "n94" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n130" targetname: "n117" label: "1" class:17 priority:10 color:blue} -node: {title: "n117" label: "Store 117" info1: "mode: T -visited: 25 -irg: PRIMA_INLINE_c -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n117" label: "Store 117" info1: "Store 117 + mode: T + visited: 25 + irg: PRIMA_INLINE_c + arity: 3 + pred nodes: + -1: Block 102 + 0: Phi 130 + 1: Sel 116 + 2: Phi 126 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n117" targetname: "n130" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n117" targetname: "n116" label: "1" class:1 priority:50} edge: {sourcename: "n117" targetname: "n126" label: "2" class:1 priority:50} -node: {title: "n116" label: "Sel a 116" info1: "mode: P -visited: 25 -irg: PRIMA_INLINE_c -arity: 2 -Selecting entity of type int - from entity of type PRIMA_INLINE -"} +node: {title: "n116" label: "Sel a 116" info1: "Sel 116 + mode: P + visited: 25 + irg: PRIMA_INLINE_c + arity: 2 + pred nodes: + -1: Block 102 + 0: Phi 130 + 1: Proj 98 + Private Attributes: + Selecting entity of type int + from entity of type PRIMA_INLINE +" +} edge: {sourcename: "n116" targetname: "n130" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n116" targetname: "n98" label: "1" class:16 priority:10} -node: {title: "n126" label: "PhiIs 126" info1: "mode: Is -visited: 25 -irg: PRIMA_INLINE_c -arity: 2 backedges: -"color: green} +node: {title: "n126" label: "PhiIs 126" info1: "Phi 126 + mode: Is + visited: 25 + irg: PRIMA_INLINE_c + arity: 2 + pred nodes: + -1: Block 102 + 0: Proj 99 + 1: Phi 127 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n126" targetname: "n99" label: "0" class:16 priority:10} edge: {sourcename: "n126" targetname: "n127" label: "1" class:1 priority:50} -node: {title: "n127" label: "PhiIs 127" info1: "mode: Is -visited: 25 -irg: PRIMA_INLINE_c -arity: 2 backedges: -"color: green} +node: {title: "n127" label: "PhiIs 127" info1: "Phi 127 + mode: Is + visited: 25 + irg: PRIMA_INLINE_c + arity: 2 + pred nodes: + -1: Block 102 + 0: 0x0 100 + 1: Phi 126 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n127" targetname: "n100" label: "0" class:16 priority:10} edge: {sourcename: "n127" targetname: "n126" label: "1" class:1 priority:50} -node: {title: "n109" label: "Jmp 109" info1: "mode: X -visited: 25 -irg: PRIMA_INLINE_c -arity: 0 -"} +node: {title: "n109" label: "Jmp 109" info1: "Jmp 109 + mode: X + visited: 25 + irg: PRIMA_INLINE_c + arity: 0 + pred nodes: + -1: Block 102 + Private Attributes: +" +} } graph: { title: "n97" label: "Block 97" status:clustered color:yellow edge: {sourcename: "n97" targetname: "n91" label: "0" class:13 priority:60 color:red} -node: {title: "n98" label: "ProjP 0 98" info1: "mode: P -visited: 25 -irg: PRIMA_INLINE_c -arity: 1 -"color: yellow} +node: {title: "n98" label: "ProjP 0 98" info1: "Proj 98 + mode: P + visited: 25 + irg: PRIMA_INLINE_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Proj 95 + Private Attributes: +" +color: yellow} edge: {sourcename: "n98" targetname: "n95" label: "0" class:16 priority:10} -node: {title: "n99" label: "ProjIs 1 99" info1: "mode: Is -visited: 25 -irg: PRIMA_INLINE_c -arity: 1 -"color: yellow} +node: {title: "n99" label: "ProjIs 1 99" info1: "Proj 99 + mode: Is + visited: 25 + irg: PRIMA_INLINE_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Proj 95 + Private Attributes: +" +color: yellow} edge: {sourcename: "n99" targetname: "n95" label: "0" class:16 priority:10} -node: {title: "n101" label: "Jmp 101" info1: "mode: X -visited: 25 -irg: PRIMA_INLINE_c -arity: 0 -"} +node: {title: "n101" label: "Jmp 101" info1: "Jmp 101 + mode: X + visited: 25 + irg: PRIMA_INLINE_c + arity: 0 + pred nodes: + -1: Block 97 + Private Attributes: +" +} } graph: { title: "n87" label: "Block 87" status:clustered color:yellow edge: {sourcename: "n87" targetname: "n91" label: "0" class:13 priority:60 color:red} -node: {title: "n94" label: "ProjM 1 94" info1: "mode: M -visited: 25 -irg: PRIMA_INLINE_c -arity: 1 -"color: yellow} +node: {title: "n94" label: "ProjM 1 94" info1: "Proj 94 + mode: M + visited: 25 + irg: PRIMA_INLINE_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Start 88 + Private Attributes: +" +color: yellow} edge: {sourcename: "n94" targetname: "n88" label: "0" class:17 priority:10 color:blue} -node: {title: "n95" label: "ProjT 4 95" info1: "mode: T -visited: 25 -irg: PRIMA_INLINE_c -arity: 1 -"color: yellow} +node: {title: "n95" label: "ProjT 4 95" info1: "Proj 95 + mode: T + visited: 25 + irg: PRIMA_INLINE_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Start 88 + Private Attributes: +" +color: yellow} edge: {sourcename: "n95" targetname: "n88" label: "0" class:1 priority:50} -node: {title: "n100" label: "0x0Is 100" info1: "mode: Is -visited: 25 -irg: PRIMA_INLINE_c -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n91" label: "ProjX 0 91" info1: "mode: X -visited: 25 -irg: PRIMA_INLINE_c -arity: 1 -"color: yellow} +node: {title: "n100" label: "0x0Is 100" info1: "0x0 100 + mode: Is + visited: 25 + irg: PRIMA_INLINE_c + arity: 0 + pred nodes: + -1: Block 87 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n91" label: "ProjX 0 91" info1: "Proj 91 + mode: X + visited: 25 + irg: PRIMA_INLINE_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Start 88 + Private Attributes: +" +color: yellow} edge: {sourcename: "n91" targetname: "n88" label: "0" class:13 priority:60 color:red} -node: {title: "n88" label: "Start 88" 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 -"color: blue} +node: {title: "n88" label: "Start 88" info1: "Start 88 + mode: T + visited: 25 + irg: PRIMA_INLINE_c + arity: 0 + pred nodes: + -1: Block 87 + Private Attributes: + start of method of type c + param 0 type: class_prima_ptr + param 1 type: int +" +color: blue} } graph: { title: "n85" label: "Block 85" status:clustered color:yellow -node: {title: "n243" label: "End 243" info1: "mode: X -visited: 25 -irg: PRIMA_INLINE_c -arity: 2 -"color: blue} +node: {title: "n243" label: "End 243" info1: "End 243 + mode: X + visited: 25 + irg: PRIMA_INLINE_c + arity: 2 + pred nodes: + -1: Block 85 + 0: Block 102 + 1: Phi 130 + Private Attributes: +" +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 0a3dd6ca3..a0daafa16 100644 --- a/testprograms/ref-results/PRIMA_INLINE_set_a-wtypes.vcg +++ b/testprograms/ref-results/PRIMA_INLINE_set_a-wtypes.vcg @@ -55,88 +55,156 @@ colorentry 125: 255 250 250 graph: { title: "g73" label: "PRIMA_INLINE_set_a" status:clustered color:white graph: { title: "n62" label: "Block 62" status:clustered color:yellow edge: {sourcename: "n62" targetname: "n82" label: "0" class:13 priority:60 color:red} -node: {title: "n225" label: "End 225" info1: "mode: X -visited: 20 -irg: PRIMA_INLINE_set_a -arity: 0 -"color: blue} +node: {title: "n225" label: "End 225" info1: "End 225 + mode: X + visited: 20 + irg: PRIMA_INLINE_set_a + arity: 0 + pred nodes: + -1: Block 62 + Private Attributes: +" +color: blue} } graph: { title: "n74" label: "Block 74" status:clustered color:yellow edge: {sourcename: "n74" targetname: "n68" label: "0" class:13 priority:60 color:red} -node: {title: "n82" label: "Return 82" info1: "mode: X -visited: 20 -irg: PRIMA_INLINE_set_a -arity: 1 -return in method of type set_a -"} +node: {title: "n82" label: "Return 82" info1: "Return 82 + mode: X + visited: 20 + irg: PRIMA_INLINE_set_a + arity: 1 + pred nodes: + -1: Block 74 + 0: Proj 81 + Private Attributes: + return in method of type set_a +" +} edge: {sourcename: "n82" targetname: "n81" label: "0" class:14 priority:50 color:blue} -node: {title: "n81" label: "ProjM 0 81" info1: "mode: M -visited: 20 -irg: PRIMA_INLINE_set_a -arity: 1 -"color: yellow} +node: {title: "n81" label: "ProjM 0 81" info1: "Proj 81 + mode: M + visited: 20 + irg: PRIMA_INLINE_set_a + arity: 1 + pred nodes: + -1: Block 74 + 0: Store 79 + Private Attributes: +" +color: yellow} edge: {sourcename: "n81" targetname: "n79" label: "0" class:17 priority:10 color:blue} -node: {title: "n79" label: "Store 79" info1: "mode: T -visited: 20 -irg: PRIMA_INLINE_set_a -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n79" label: "Store 79" info1: "Store 79 + mode: T + visited: 20 + irg: PRIMA_INLINE_set_a + arity: 3 + pred nodes: + -1: Block 74 + 0: Proj 71 + 1: Sel 78 + 2: Proj 76 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n79" targetname: "n71" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n79" targetname: "n78" label: "1" class:1 priority:50} edge: {sourcename: "n79" targetname: "n76" label: "2" class:1 priority:50} -node: {title: "n78" label: "Sel a 78" info1: "mode: P -visited: 20 -irg: PRIMA_INLINE_set_a -arity: 2 -Selecting entity of type int - from entity of type PRIMA_INLINE -"} +node: {title: "n78" label: "Sel a 78" info1: "Sel 78 + mode: P + visited: 20 + irg: PRIMA_INLINE_set_a + arity: 2 + pred nodes: + -1: Block 74 + 0: Proj 71 + 1: Proj 75 + Private Attributes: + Selecting entity of type int + from entity of type PRIMA_INLINE +" +} edge: {sourcename: "n78" targetname: "n71" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n78" targetname: "n75" label: "1" class:1 priority:50} -node: {title: "n75" label: "ProjP 0 75" info1: "mode: P -visited: 20 -irg: PRIMA_INLINE_set_a -arity: 1 -"color: yellow} +node: {title: "n75" label: "ProjP 0 75" info1: "Proj 75 + mode: P + visited: 20 + irg: PRIMA_INLINE_set_a + arity: 1 + pred nodes: + -1: Block 74 + 0: Proj 72 + Private Attributes: +" +color: yellow} edge: {sourcename: "n75" targetname: "n72" label: "0" class:16 priority:10} -node: {title: "n76" label: "ProjIs 1 76" info1: "mode: Is -visited: 20 -irg: PRIMA_INLINE_set_a -arity: 1 -"color: yellow} +node: {title: "n76" label: "ProjIs 1 76" info1: "Proj 76 + mode: Is + visited: 20 + irg: PRIMA_INLINE_set_a + arity: 1 + pred nodes: + -1: Block 74 + 0: Proj 72 + Private Attributes: +" +color: yellow} edge: {sourcename: "n76" targetname: "n72" label: "0" class:16 priority:10} } graph: { title: "n64" label: "Block 64" status:clustered color:yellow edge: {sourcename: "n64" targetname: "n68" label: "0" class:13 priority:60 color:red} -node: {title: "n71" label: "ProjM 1 71" info1: "mode: M -visited: 20 -irg: PRIMA_INLINE_set_a -arity: 1 -"color: yellow} +node: {title: "n71" label: "ProjM 1 71" info1: "Proj 71 + mode: M + visited: 20 + irg: PRIMA_INLINE_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Start 65 + Private Attributes: +" +color: yellow} edge: {sourcename: "n71" targetname: "n65" label: "0" class:17 priority:10 color:blue} -node: {title: "n72" label: "ProjT 4 72" info1: "mode: T -visited: 20 -irg: PRIMA_INLINE_set_a -arity: 1 -"color: yellow} +node: {title: "n72" label: "ProjT 4 72" info1: "Proj 72 + mode: T + visited: 20 + irg: PRIMA_INLINE_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Start 65 + Private Attributes: +" +color: yellow} edge: {sourcename: "n72" targetname: "n65" label: "0" class:1 priority:50} -node: {title: "n68" label: "ProjX 0 68" info1: "mode: X -visited: 20 -irg: PRIMA_INLINE_set_a -arity: 1 -"color: yellow} +node: {title: "n68" label: "ProjX 0 68" info1: "Proj 68 + mode: X + visited: 20 + irg: PRIMA_INLINE_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Start 65 + Private Attributes: +" +color: yellow} edge: {sourcename: "n68" targetname: "n65" label: "0" class:13 priority:60 color:red} -node: {title: "n65" label: "Start 65" 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 -"color: blue} +node: {title: "n65" label: "Start 65" info1: "Start 65 + mode: T + visited: 20 + irg: PRIMA_INLINE_set_a + arity: 0 + pred nodes: + -1: Block 64 + Private Attributes: + start of method of type set_a + param 0 type: class_prima_ptr + param 1 type: int +" +color: blue} } } @@ -185,14 +253,19 @@ node: {title: "e20" label: "ent PRIMA_INLINE_set_a" color: yellow } edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red} edge: { sourcename: "e20" targetname: "n19"label: "value 0"} -node: {title: "n19" label: "SymC &set_a 19" info1: "mode: P -visited: 2 -arity: 0 -kind: addr_ent -entity PRIMA_INLINE.set_a (20) +node: {title: "n19" label: "SymC &set_a 19" info1: "SymC &set_a 19 + mode: P + visited: 2 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity PRIMA_INLINE.set_a (20) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t18" label: "method set_a" info1: "state: layout_fixed, mode: P, size: 32b, @@ -231,14 +304,19 @@ node: {title: "e23" label: "ent PRIMA_INLINE_c" color: yellow } edge: { sourcename: "e23" targetname: "t21"class: 3 label: "type" color: red} edge: { sourcename: "e23" targetname: "n22"label: "value 0"} -node: {title: "n22" label: "SymC &c 22" info1: "mode: P -visited: 2 -arity: 0 -kind: addr_ent -entity PRIMA_INLINE.c (23) +node: {title: "n22" label: "SymC &c 22" info1: "SymC &c 22 + mode: P + visited: 2 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity PRIMA_INLINE.c (23) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t21" label: "method c" info1: "state: layout_fixed, mode: P, size: 32b, diff --git a/testprograms/ref-results/PRIMA_INLINE_set_a.vcg b/testprograms/ref-results/PRIMA_INLINE_set_a.vcg index 2af52ce1d..37129f086 100644 --- a/testprograms/ref-results/PRIMA_INLINE_set_a.vcg +++ b/testprograms/ref-results/PRIMA_INLINE_set_a.vcg @@ -55,88 +55,156 @@ colorentry 125: 255 250 250 graph: { title: "g73" label: "PRIMA_INLINE_set_a" status:clustered color:white graph: { title: "n62" label: "Block 62" status:clustered color:yellow edge: {sourcename: "n62" targetname: "n82" label: "0" class:13 priority:60 color:red} -node: {title: "n225" label: "End 225" info1: "mode: X -visited: 19 -irg: PRIMA_INLINE_set_a -arity: 0 -"color: blue} +node: {title: "n225" label: "End 225" info1: "End 225 + mode: X + visited: 19 + irg: PRIMA_INLINE_set_a + arity: 0 + pred nodes: + -1: Block 62 + Private Attributes: +" +color: blue} } graph: { title: "n74" label: "Block 74" status:clustered color:yellow edge: {sourcename: "n74" targetname: "n68" label: "0" class:13 priority:60 color:red} -node: {title: "n82" label: "Return 82" info1: "mode: X -visited: 19 -irg: PRIMA_INLINE_set_a -arity: 1 -return in method of type set_a -"} +node: {title: "n82" label: "Return 82" info1: "Return 82 + mode: X + visited: 19 + irg: PRIMA_INLINE_set_a + arity: 1 + pred nodes: + -1: Block 74 + 0: Proj 81 + Private Attributes: + return in method of type set_a +" +} edge: {sourcename: "n82" targetname: "n81" label: "0" class:14 priority:50 color:blue} -node: {title: "n81" label: "ProjM 0 81" info1: "mode: M -visited: 19 -irg: PRIMA_INLINE_set_a -arity: 1 -"color: yellow} +node: {title: "n81" label: "ProjM 0 81" info1: "Proj 81 + mode: M + visited: 19 + irg: PRIMA_INLINE_set_a + arity: 1 + pred nodes: + -1: Block 74 + 0: Store 79 + Private Attributes: +" +color: yellow} edge: {sourcename: "n81" targetname: "n79" label: "0" class:17 priority:10 color:blue} -node: {title: "n79" label: "Store 79" info1: "mode: T -visited: 19 -irg: PRIMA_INLINE_set_a -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n79" label: "Store 79" info1: "Store 79 + mode: T + visited: 19 + irg: PRIMA_INLINE_set_a + arity: 3 + pred nodes: + -1: Block 74 + 0: Proj 71 + 1: Sel 78 + 2: Proj 76 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n79" targetname: "n71" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n79" targetname: "n78" label: "1" class:1 priority:50} edge: {sourcename: "n79" targetname: "n76" label: "2" class:1 priority:50} -node: {title: "n78" label: "Sel a 78" info1: "mode: P -visited: 19 -irg: PRIMA_INLINE_set_a -arity: 2 -Selecting entity of type int - from entity of type PRIMA_INLINE -"} +node: {title: "n78" label: "Sel a 78" info1: "Sel 78 + mode: P + visited: 19 + irg: PRIMA_INLINE_set_a + arity: 2 + pred nodes: + -1: Block 74 + 0: Proj 71 + 1: Proj 75 + Private Attributes: + Selecting entity of type int + from entity of type PRIMA_INLINE +" +} edge: {sourcename: "n78" targetname: "n71" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n78" targetname: "n75" label: "1" class:1 priority:50} -node: {title: "n75" label: "ProjP 0 75" info1: "mode: P -visited: 19 -irg: PRIMA_INLINE_set_a -arity: 1 -"color: yellow} +node: {title: "n75" label: "ProjP 0 75" info1: "Proj 75 + mode: P + visited: 19 + irg: PRIMA_INLINE_set_a + arity: 1 + pred nodes: + -1: Block 74 + 0: Proj 72 + Private Attributes: +" +color: yellow} edge: {sourcename: "n75" targetname: "n72" label: "0" class:16 priority:10} -node: {title: "n76" label: "ProjIs 1 76" info1: "mode: Is -visited: 19 -irg: PRIMA_INLINE_set_a -arity: 1 -"color: yellow} +node: {title: "n76" label: "ProjIs 1 76" info1: "Proj 76 + mode: Is + visited: 19 + irg: PRIMA_INLINE_set_a + arity: 1 + pred nodes: + -1: Block 74 + 0: Proj 72 + Private Attributes: +" +color: yellow} edge: {sourcename: "n76" targetname: "n72" label: "0" class:16 priority:10} } graph: { title: "n64" label: "Block 64" status:clustered color:yellow edge: {sourcename: "n64" targetname: "n68" label: "0" class:13 priority:60 color:red} -node: {title: "n71" label: "ProjM 1 71" info1: "mode: M -visited: 19 -irg: PRIMA_INLINE_set_a -arity: 1 -"color: yellow} +node: {title: "n71" label: "ProjM 1 71" info1: "Proj 71 + mode: M + visited: 19 + irg: PRIMA_INLINE_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Start 65 + Private Attributes: +" +color: yellow} edge: {sourcename: "n71" targetname: "n65" label: "0" class:17 priority:10 color:blue} -node: {title: "n72" label: "ProjT 4 72" info1: "mode: T -visited: 19 -irg: PRIMA_INLINE_set_a -arity: 1 -"color: yellow} +node: {title: "n72" label: "ProjT 4 72" info1: "Proj 72 + mode: T + visited: 19 + irg: PRIMA_INLINE_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Start 65 + Private Attributes: +" +color: yellow} edge: {sourcename: "n72" targetname: "n65" label: "0" class:1 priority:50} -node: {title: "n68" label: "ProjX 0 68" info1: "mode: X -visited: 19 -irg: PRIMA_INLINE_set_a -arity: 1 -"color: yellow} +node: {title: "n68" label: "ProjX 0 68" info1: "Proj 68 + mode: X + visited: 19 + irg: PRIMA_INLINE_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Start 65 + Private Attributes: +" +color: yellow} edge: {sourcename: "n68" targetname: "n65" label: "0" class:13 priority:60 color:red} -node: {title: "n65" label: "Start 65" 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 -"color: blue} +node: {title: "n65" label: "Start 65" info1: "Start 65 + mode: T + visited: 19 + irg: PRIMA_INLINE_set_a + arity: 0 + pred nodes: + -1: Block 64 + Private Attributes: + start of method of type set_a + param 0 type: class_prima_ptr + param 1 type: int +" +color: blue} } } diff --git a/testprograms/ref-results/PRIMA_c-pure-wtypes.vcg b/testprograms/ref-results/PRIMA_c-pure-wtypes.vcg index 464135c90..4d201e1e3 100644 --- a/testprograms/ref-results/PRIMA_c-pure-wtypes.vcg +++ b/testprograms/ref-results/PRIMA_c-pure-wtypes.vcg @@ -52,124 +52,227 @@ colorentry 123: 255 220 220 colorentry 124: 255 240 240 colorentry 125: 255 250 250 -node: {title: "n87" label: "Block 87" info1: "mode: BB -visited: 13 -irg: PRIMA_c -arity: 1 backedges: -"color: lightyellow} +node: {title: "n87" label: "Block 87" info1: "Block 87 + mode: BB + visited: 13 + irg: PRIMA_c + arity: 1 + pred nodes: + 0: Proj 91 + Private Attributes: + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n87" targetname: "n91" label: "0" class:13 priority:60 color:red} -node: {title: "n88" label: "Start 88" 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 -"color: blue} +node: {title: "n88" label: "Start 88" info1: "Start 88 + mode: T + visited: 13 + irg: PRIMA_c + arity: 0 + pred nodes: + -1: Block 87 + Private Attributes: + start of method of type c + param 0 type: class_prima_ptr + param 1 type: int +" +color: blue} edge: { sourcename: "n88" targetname: "n87" class:2 priority:50 linestyle:dotted} -node: {title: "n91" label: "ProjX 0 91" info1: "mode: X -visited: 13 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n91" label: "ProjX 0 91" info1: "Proj 91 + mode: X + visited: 13 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Start 88 + Private Attributes: +" +color: yellow} edge: {sourcename: "n91" targetname: "n88" label: "0" class:13 priority:60 color:red} edge: { sourcename: "n91" targetname: "n87" class:2 priority:50 linestyle:dotted} -node: {title: "n97" label: "Block 97" info1: "mode: BB -visited: 13 -irg: PRIMA_c -arity: 1 backedges: -"color: lightyellow} +node: {title: "n97" label: "Block 97" info1: "Block 97 + mode: BB + visited: 13 + irg: PRIMA_c + arity: 1 + pred nodes: + 0: Proj 91 + Private Attributes: + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n97" targetname: "n91" label: "0" class:13 priority:60 color:red} -node: {title: "n95" label: "ProjT 4 95" info1: "mode: T -visited: 13 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n95" label: "ProjT 4 95" info1: "Proj 95 + mode: T + visited: 13 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Start 88 + Private Attributes: +" +color: yellow} edge: {sourcename: "n95" targetname: "n88" label: "0" class:1 priority:50} edge: { sourcename: "n95" targetname: "n87" class:2 priority:50 linestyle:dotted} -node: {title: "n99" label: "ProjIs 1 99" info1: "mode: Is -visited: 13 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n99" label: "ProjIs 1 99" info1: "Proj 99 + mode: Is + visited: 13 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Proj 95 + Private Attributes: +" +color: yellow} edge: {sourcename: "n99" targetname: "n95" label: "0" class:16 priority:10} edge: { sourcename: "n99" targetname: "n97" class:2 priority:50 linestyle:dotted} -node: {title: "n98" label: "ProjP 0 98" info1: "mode: P -visited: 13 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n98" label: "ProjP 0 98" info1: "Proj 98 + mode: P + visited: 13 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Proj 95 + Private Attributes: +" +color: yellow} edge: {sourcename: "n98" targetname: "n95" label: "0" class:16 priority:10} edge: { sourcename: "n98" targetname: "n97" class:2 priority:50 linestyle:dotted} -node: {title: "n94" label: "ProjM 1 94" info1: "mode: M -visited: 13 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n94" label: "ProjM 1 94" info1: "Proj 94 + mode: M + visited: 13 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Start 88 + Private Attributes: +" +color: yellow} edge: {sourcename: "n94" targetname: "n88" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n94" targetname: "n87" class:2 priority:50 linestyle:dotted} -node: {title: "n101" label: "Sel a 101" info1: "mode: P -visited: 13 -irg: PRIMA_c -arity: 2 -Selecting entity of type int - from entity of type PRIMA -"} +node: {title: "n101" label: "Sel a 101" info1: "Sel 101 + mode: P + visited: 13 + irg: PRIMA_c + arity: 2 + pred nodes: + -1: Block 97 + 0: Proj 94 + 1: Proj 98 + Private Attributes: + Selecting entity of type int + from entity of type PRIMA +" +} edge: {sourcename: "n101" targetname: "n94" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n101" targetname: "n98" label: "1" class:1 priority:50} edge: { sourcename: "n101" targetname: "n97" class:2 priority:50 linestyle:dotted} -node: {title: "n102" label: "Load[Is] 102" info1: "mode: T -visited: 13 -irg: PRIMA_c -arity: 2 -volatility: volatility_non_volatile -"} +node: {title: "n102" label: "Load[Is] 102" info1: "Load[Is] 102 + mode: T + visited: 13 + irg: PRIMA_c + arity: 2 + pred nodes: + -1: Block 97 + 0: Proj 94 + 1: Sel 101 + Private Attributes: + pinned state: op_pin_state_pinned + mode of loaded value: Is + volatility: volatility_non_volatile +" +} edge: {sourcename: "n102" targetname: "n94" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n102" targetname: "n101" label: "1" class:1 priority:50} edge: { sourcename: "n102" targetname: "n97" class:2 priority:50 linestyle:dotted} -node: {title: "n105" label: "ProjIs 2 105" info1: "mode: Is -visited: 13 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n105" label: "ProjIs 2 105" info1: "Proj 105 + mode: Is + visited: 13 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Load[Is] 102 + Private Attributes: +" +color: yellow} edge: {sourcename: "n105" targetname: "n102" label: "0" class:1 priority:50} edge: { sourcename: "n105" targetname: "n97" class:2 priority:50 linestyle:dotted} -node: {title: "n106" label: "AddIs 106" info1: "mode: Is -visited: 13 -irg: PRIMA_c -arity: 2 -"} +node: {title: "n106" label: "AddIs 106" info1: "Add 106 + mode: Is + visited: 13 + irg: PRIMA_c + arity: 2 + pred nodes: + -1: Block 97 + 0: Proj 105 + 1: Proj 99 + Private Attributes: +" +} edge: {sourcename: "n106" targetname: "n105" label: "0" class:1 priority:50} edge: {sourcename: "n106" targetname: "n99" label: "1" class:1 priority:50} edge: { sourcename: "n106" targetname: "n97" class:2 priority:50 linestyle:dotted} -node: {title: "n104" label: "ProjM 0 104" info1: "mode: M -visited: 13 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n104" label: "ProjM 0 104" info1: "Proj 104 + mode: M + visited: 13 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Load[Is] 102 + Private Attributes: +" +color: yellow} edge: {sourcename: "n104" targetname: "n102" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n104" targetname: "n97" class:2 priority:50 linestyle:dotted} -node: {title: "n107" label: "Return 107" info1: "mode: X -visited: 13 -irg: PRIMA_c -arity: 2 -return in method of type c - res 0 type: int -"} +node: {title: "n107" label: "Return 107" info1: "Return 107 + mode: X + visited: 13 + irg: PRIMA_c + arity: 2 + pred nodes: + -1: Block 97 + 0: Proj 104 + 1: Add 106 + Private Attributes: + return in method of type c + res 0 type: int +" +} edge: {sourcename: "n107" targetname: "n104" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n107" targetname: "n106" label: "1" class:1 priority:50} edge: { sourcename: "n107" targetname: "n97" class:2 priority:50 linestyle:dotted} -node: {title: "n85" label: "Block 85" info1: "mode: BB -visited: 13 -irg: PRIMA_c -arity: 1 backedges: -"color: lightyellow} +node: {title: "n85" label: "Block 85" info1: "Block 85 + mode: BB + visited: 13 + irg: PRIMA_c + arity: 1 + pred nodes: + 0: Return 107 + Private Attributes: + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n85" targetname: "n107" label: "0" class:13 priority:60 color:red} -node: {title: "n154" label: "End 154" info1: "mode: X -visited: 13 -irg: PRIMA_c -arity: 0 -"color: blue} +node: {title: "n154" label: "End 154" info1: "End 154 + mode: X + visited: 13 + irg: PRIMA_c + arity: 0 + pred nodes: + -1: Block 85 + Private Attributes: +" +color: blue} edge: { sourcename: "n154" targetname: "n85" class:2 priority:50 linestyle:dotted} node: {title: "e17" label: "ent a" color: yellow info1: "entity a (17) @@ -215,14 +318,19 @@ node: {title: "e20" label: "ent PRIMA_set_a" color: yellow } edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red} edge: { sourcename: "e20" targetname: "n19"label: "value 0"} -node: {title: "n19" label: "SymC &set_a 19" info1: "mode: P -visited: 3 -arity: 0 -kind: addr_ent -entity PRIMA.set_a (20) +node: {title: "n19" label: "SymC &set_a 19" info1: "SymC &set_a 19 + mode: P + visited: 3 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.set_a (20) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t18" label: "method set_a" info1: "state: layout_fixed, mode: P, size: 32b, @@ -261,14 +369,19 @@ node: {title: "e23" label: "ent PRIMA_c" color: yellow } edge: { sourcename: "e23" targetname: "t21"class: 3 label: "type" color: red} edge: { sourcename: "e23" targetname: "n22"label: "value 0"} -node: {title: "n22" label: "SymC &c 22" info1: "mode: P -visited: 3 -arity: 0 -kind: addr_ent -entity PRIMA.c (23) +node: {title: "n22" label: "SymC &c 22" info1: "SymC &c 22 + mode: P + visited: 3 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.c (23) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t21" label: "method c" info1: "state: layout_fixed, mode: P, size: 32b, diff --git a/testprograms/ref-results/PRIMA_c-pure.vcg b/testprograms/ref-results/PRIMA_c-pure.vcg index 8d0ad055d..c8859dd64 100644 --- a/testprograms/ref-results/PRIMA_c-pure.vcg +++ b/testprograms/ref-results/PRIMA_c-pure.vcg @@ -52,123 +52,226 @@ colorentry 123: 255 220 220 colorentry 124: 255 240 240 colorentry 125: 255 250 250 -node: {title: "n87" label: "Block 87" info1: "mode: BB -visited: 11 -irg: PRIMA_c -arity: 1 backedges: -"color: lightyellow} +node: {title: "n87" label: "Block 87" info1: "Block 87 + mode: BB + visited: 11 + irg: PRIMA_c + arity: 1 + pred nodes: + 0: Proj 91 + Private Attributes: + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n87" targetname: "n91" label: "0" class:13 priority:60 color:red} -node: {title: "n88" label: "Start 88" 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 -"color: blue} +node: {title: "n88" label: "Start 88" info1: "Start 88 + mode: T + visited: 11 + irg: PRIMA_c + arity: 0 + pred nodes: + -1: Block 87 + Private Attributes: + start of method of type c + param 0 type: class_prima_ptr + param 1 type: int +" +color: blue} edge: { sourcename: "n88" targetname: "n87" class:2 priority:50 linestyle:dotted} -node: {title: "n91" label: "ProjX 0 91" info1: "mode: X -visited: 11 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n91" label: "ProjX 0 91" info1: "Proj 91 + mode: X + visited: 11 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Start 88 + Private Attributes: +" +color: yellow} edge: {sourcename: "n91" targetname: "n88" label: "0" class:13 priority:60 color:red} edge: { sourcename: "n91" targetname: "n87" class:2 priority:50 linestyle:dotted} -node: {title: "n97" label: "Block 97" info1: "mode: BB -visited: 11 -irg: PRIMA_c -arity: 1 backedges: -"color: lightyellow} +node: {title: "n97" label: "Block 97" info1: "Block 97 + mode: BB + visited: 11 + irg: PRIMA_c + arity: 1 + pred nodes: + 0: Proj 91 + Private Attributes: + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n97" targetname: "n91" label: "0" class:13 priority:60 color:red} -node: {title: "n95" label: "ProjT 4 95" info1: "mode: T -visited: 11 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n95" label: "ProjT 4 95" info1: "Proj 95 + mode: T + visited: 11 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Start 88 + Private Attributes: +" +color: yellow} edge: {sourcename: "n95" targetname: "n88" label: "0" class:1 priority:50} edge: { sourcename: "n95" targetname: "n87" class:2 priority:50 linestyle:dotted} -node: {title: "n99" label: "ProjIs 1 99" info1: "mode: Is -visited: 11 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n99" label: "ProjIs 1 99" info1: "Proj 99 + mode: Is + visited: 11 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Proj 95 + Private Attributes: +" +color: yellow} edge: {sourcename: "n99" targetname: "n95" label: "0" class:16 priority:10} edge: { sourcename: "n99" targetname: "n97" class:2 priority:50 linestyle:dotted} -node: {title: "n98" label: "ProjP 0 98" info1: "mode: P -visited: 11 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n98" label: "ProjP 0 98" info1: "Proj 98 + mode: P + visited: 11 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Proj 95 + Private Attributes: +" +color: yellow} edge: {sourcename: "n98" targetname: "n95" label: "0" class:16 priority:10} edge: { sourcename: "n98" targetname: "n97" class:2 priority:50 linestyle:dotted} -node: {title: "n94" label: "ProjM 1 94" info1: "mode: M -visited: 11 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n94" label: "ProjM 1 94" info1: "Proj 94 + mode: M + visited: 11 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Start 88 + Private Attributes: +" +color: yellow} edge: {sourcename: "n94" targetname: "n88" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n94" targetname: "n87" class:2 priority:50 linestyle:dotted} -node: {title: "n101" label: "Sel a 101" info1: "mode: P -visited: 11 -irg: PRIMA_c -arity: 2 -Selecting entity of type int - from entity of type PRIMA -"} +node: {title: "n101" label: "Sel a 101" info1: "Sel 101 + mode: P + visited: 11 + irg: PRIMA_c + arity: 2 + pred nodes: + -1: Block 97 + 0: Proj 94 + 1: Proj 98 + Private Attributes: + Selecting entity of type int + from entity of type PRIMA +" +} edge: {sourcename: "n101" targetname: "n94" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n101" targetname: "n98" label: "1" class:1 priority:50} edge: { sourcename: "n101" targetname: "n97" class:2 priority:50 linestyle:dotted} -node: {title: "n102" label: "Load[Is] 102" info1: "mode: T -visited: 11 -irg: PRIMA_c -arity: 2 -volatility: volatility_non_volatile -"} +node: {title: "n102" label: "Load[Is] 102" info1: "Load[Is] 102 + mode: T + visited: 11 + irg: PRIMA_c + arity: 2 + pred nodes: + -1: Block 97 + 0: Proj 94 + 1: Sel 101 + Private Attributes: + pinned state: op_pin_state_pinned + mode of loaded value: Is + volatility: volatility_non_volatile +" +} edge: {sourcename: "n102" targetname: "n94" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n102" targetname: "n101" label: "1" class:1 priority:50} edge: { sourcename: "n102" targetname: "n97" class:2 priority:50 linestyle:dotted} -node: {title: "n105" label: "ProjIs 2 105" info1: "mode: Is -visited: 11 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n105" label: "ProjIs 2 105" info1: "Proj 105 + mode: Is + visited: 11 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Load[Is] 102 + Private Attributes: +" +color: yellow} edge: {sourcename: "n105" targetname: "n102" label: "0" class:1 priority:50} edge: { sourcename: "n105" targetname: "n97" class:2 priority:50 linestyle:dotted} -node: {title: "n106" label: "AddIs 106" info1: "mode: Is -visited: 11 -irg: PRIMA_c -arity: 2 -"} +node: {title: "n106" label: "AddIs 106" info1: "Add 106 + mode: Is + visited: 11 + irg: PRIMA_c + arity: 2 + pred nodes: + -1: Block 97 + 0: Proj 105 + 1: Proj 99 + Private Attributes: +" +} edge: {sourcename: "n106" targetname: "n105" label: "0" class:1 priority:50} edge: {sourcename: "n106" targetname: "n99" label: "1" class:1 priority:50} edge: { sourcename: "n106" targetname: "n97" class:2 priority:50 linestyle:dotted} -node: {title: "n104" label: "ProjM 0 104" info1: "mode: M -visited: 11 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n104" label: "ProjM 0 104" info1: "Proj 104 + mode: M + visited: 11 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Load[Is] 102 + Private Attributes: +" +color: yellow} edge: {sourcename: "n104" targetname: "n102" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n104" targetname: "n97" class:2 priority:50 linestyle:dotted} -node: {title: "n107" label: "Return 107" info1: "mode: X -visited: 11 -irg: PRIMA_c -arity: 2 -return in method of type c - res 0 type: int -"} +node: {title: "n107" label: "Return 107" info1: "Return 107 + mode: X + visited: 11 + irg: PRIMA_c + arity: 2 + pred nodes: + -1: Block 97 + 0: Proj 104 + 1: Add 106 + Private Attributes: + return in method of type c + res 0 type: int +" +} edge: {sourcename: "n107" targetname: "n104" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n107" targetname: "n106" label: "1" class:1 priority:50} edge: { sourcename: "n107" targetname: "n97" class:2 priority:50 linestyle:dotted} -node: {title: "n85" label: "Block 85" info1: "mode: BB -visited: 11 -irg: PRIMA_c -arity: 1 backedges: -"color: lightyellow} +node: {title: "n85" label: "Block 85" info1: "Block 85 + mode: BB + visited: 11 + irg: PRIMA_c + arity: 1 + pred nodes: + 0: Return 107 + Private Attributes: + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n85" targetname: "n107" label: "0" class:13 priority:60 color:red} -node: {title: "n154" label: "End 154" info1: "mode: X -visited: 11 -irg: PRIMA_c -arity: 0 -"color: blue} +node: {title: "n154" label: "End 154" info1: "End 154 + mode: X + visited: 11 + irg: PRIMA_c + arity: 0 + pred nodes: + -1: Block 85 + Private Attributes: +" +color: blue} edge: { sourcename: "n154" targetname: "n85" 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 ff2493f57..cd8111aaa 100644 --- a/testprograms/ref-results/PRIMA_c-type.vcg +++ b/testprograms/ref-results/PRIMA_c-type.vcg @@ -96,14 +96,19 @@ node: {title: "e20" label: "ent PRIMA_set_a" color: yellow } edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red} edge: { sourcename: "e20" targetname: "n19"label: "value 0"} -node: {title: "n19" label: "SymC &set_a 19" info1: "mode: P -visited: 9 -arity: 0 -kind: addr_ent -entity PRIMA.set_a (20) +node: {title: "n19" label: "SymC &set_a 19" info1: "SymC &set_a 19 + mode: P + visited: 9 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.set_a (20) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t18" label: "method set_a" info1: "state: layout_fixed, mode: P, size: 32b, @@ -142,14 +147,19 @@ node: {title: "e23" label: "ent PRIMA_c" color: yellow } edge: { sourcename: "e23" targetname: "t21"class: 3 label: "type" color: red} edge: { sourcename: "e23" targetname: "n22"label: "value 0"} -node: {title: "n22" label: "SymC &c 22" info1: "mode: P -visited: 9 -arity: 0 -kind: addr_ent -entity PRIMA.c (23) +node: {title: "n22" label: "SymC &c 22" info1: "SymC &c 22 + mode: P + visited: 9 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.c (23) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t21" label: "method c" info1: "state: layout_fixed, mode: P, size: 32b, diff --git a/testprograms/ref-results/PRIMA_c-wtypes.vcg b/testprograms/ref-results/PRIMA_c-wtypes.vcg index 9380ed796..b81de240b 100644 --- a/testprograms/ref-results/PRIMA_c-wtypes.vcg +++ b/testprograms/ref-results/PRIMA_c-wtypes.vcg @@ -55,102 +55,184 @@ colorentry 125: 255 250 250 graph: { title: "g96" label: "PRIMA_c" status:clustered color:white graph: { title: "n85" label: "Block 85" status:clustered color:yellow edge: {sourcename: "n85" targetname: "n107" label: "0" class:13 priority:60 color:red} -node: {title: "n154" label: "End 154" info1: "mode: X -visited: 16 -irg: PRIMA_c -arity: 0 -"color: blue} +node: {title: "n154" label: "End 154" info1: "End 154 + mode: X + visited: 16 + irg: PRIMA_c + arity: 0 + pred nodes: + -1: Block 85 + Private Attributes: +" +color: blue} } graph: { title: "n97" label: "Block 97" status:clustered color:yellow edge: {sourcename: "n97" targetname: "n91" label: "0" class:13 priority:60 color:red} -node: {title: "n107" label: "Return 107" info1: "mode: X -visited: 16 -irg: PRIMA_c -arity: 2 -return in method of type c - res 0 type: int -"} +node: {title: "n107" label: "Return 107" info1: "Return 107 + mode: X + visited: 16 + irg: PRIMA_c + arity: 2 + pred nodes: + -1: Block 97 + 0: Proj 104 + 1: Add 106 + Private Attributes: + return in method of type c + res 0 type: int +" +} edge: {sourcename: "n107" targetname: "n104" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n107" targetname: "n106" label: "1" class:1 priority:50} -node: {title: "n104" label: "ProjM 0 104" info1: "mode: M -visited: 16 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n104" label: "ProjM 0 104" info1: "Proj 104 + mode: M + visited: 16 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Load[Is] 102 + Private Attributes: +" +color: yellow} edge: {sourcename: "n104" targetname: "n102" label: "0" class:17 priority:10 color:blue} -node: {title: "n106" label: "AddIs 106" info1: "mode: Is -visited: 16 -irg: PRIMA_c -arity: 2 -"} +node: {title: "n106" label: "AddIs 106" info1: "Add 106 + mode: Is + visited: 16 + irg: PRIMA_c + arity: 2 + pred nodes: + -1: Block 97 + 0: Proj 105 + 1: Proj 99 + Private Attributes: +" +} edge: {sourcename: "n106" targetname: "n105" label: "0" class:1 priority:50} edge: {sourcename: "n106" targetname: "n99" label: "1" class:1 priority:50} -node: {title: "n105" label: "ProjIs 2 105" info1: "mode: Is -visited: 16 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n105" label: "ProjIs 2 105" info1: "Proj 105 + mode: Is + visited: 16 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Load[Is] 102 + Private Attributes: +" +color: yellow} edge: {sourcename: "n105" targetname: "n102" label: "0" class:1 priority:50} -node: {title: "n102" label: "Load[Is] 102" info1: "mode: T -visited: 16 -irg: PRIMA_c -arity: 2 -volatility: volatility_non_volatile -"} +node: {title: "n102" label: "Load[Is] 102" info1: "Load[Is] 102 + mode: T + visited: 16 + irg: PRIMA_c + arity: 2 + pred nodes: + -1: Block 97 + 0: Proj 94 + 1: Sel 101 + Private Attributes: + pinned state: op_pin_state_pinned + mode of loaded value: Is + volatility: volatility_non_volatile +" +} edge: {sourcename: "n102" targetname: "n94" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n102" targetname: "n101" label: "1" class:1 priority:50} -node: {title: "n101" label: "Sel a 101" info1: "mode: P -visited: 16 -irg: PRIMA_c -arity: 2 -Selecting entity of type int - from entity of type PRIMA -"} +node: {title: "n101" label: "Sel a 101" info1: "Sel 101 + mode: P + visited: 16 + irg: PRIMA_c + arity: 2 + pred nodes: + -1: Block 97 + 0: Proj 94 + 1: Proj 98 + Private Attributes: + Selecting entity of type int + from entity of type PRIMA +" +} edge: {sourcename: "n101" targetname: "n94" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n101" targetname: "n98" label: "1" class:1 priority:50} -node: {title: "n98" label: "ProjP 0 98" info1: "mode: P -visited: 16 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n98" label: "ProjP 0 98" info1: "Proj 98 + mode: P + visited: 16 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Proj 95 + Private Attributes: +" +color: yellow} edge: {sourcename: "n98" targetname: "n95" label: "0" class:16 priority:10} -node: {title: "n99" label: "ProjIs 1 99" info1: "mode: Is -visited: 16 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n99" label: "ProjIs 1 99" info1: "Proj 99 + mode: Is + visited: 16 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Proj 95 + Private Attributes: +" +color: yellow} edge: {sourcename: "n99" targetname: "n95" label: "0" class:16 priority:10} } graph: { title: "n87" label: "Block 87" status:clustered color:yellow edge: {sourcename: "n87" targetname: "n91" label: "0" class:13 priority:60 color:red} -node: {title: "n94" label: "ProjM 1 94" info1: "mode: M -visited: 16 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n94" label: "ProjM 1 94" info1: "Proj 94 + mode: M + visited: 16 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Start 88 + Private Attributes: +" +color: yellow} edge: {sourcename: "n94" targetname: "n88" label: "0" class:17 priority:10 color:blue} -node: {title: "n95" label: "ProjT 4 95" info1: "mode: T -visited: 16 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n95" label: "ProjT 4 95" info1: "Proj 95 + mode: T + visited: 16 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Start 88 + Private Attributes: +" +color: yellow} edge: {sourcename: "n95" targetname: "n88" label: "0" class:1 priority:50} -node: {title: "n91" label: "ProjX 0 91" info1: "mode: X -visited: 16 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n91" label: "ProjX 0 91" info1: "Proj 91 + mode: X + visited: 16 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Start 88 + Private Attributes: +" +color: yellow} edge: {sourcename: "n91" targetname: "n88" label: "0" class:13 priority:60 color:red} -node: {title: "n88" label: "Start 88" 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 -"color: blue} +node: {title: "n88" label: "Start 88" info1: "Start 88 + mode: T + visited: 16 + irg: PRIMA_c + arity: 0 + pred nodes: + -1: Block 87 + Private Attributes: + start of method of type c + param 0 type: class_prima_ptr + param 1 type: int +" +color: blue} } } @@ -199,14 +281,19 @@ node: {title: "e20" label: "ent PRIMA_set_a" color: yellow } edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red} edge: { sourcename: "e20" targetname: "n19"label: "value 0"} -node: {title: "n19" label: "SymC &set_a 19" info1: "mode: P -visited: 6 -arity: 0 -kind: addr_ent -entity PRIMA.set_a (20) +node: {title: "n19" label: "SymC &set_a 19" info1: "SymC &set_a 19 + mode: P + visited: 6 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.set_a (20) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t18" label: "method set_a" info1: "state: layout_fixed, mode: P, size: 32b, @@ -245,14 +332,19 @@ node: {title: "e23" label: "ent PRIMA_c" color: yellow } edge: { sourcename: "e23" targetname: "t21"class: 3 label: "type" color: red} edge: { sourcename: "e23" targetname: "n22"label: "value 0"} -node: {title: "n22" label: "SymC &c 22" info1: "mode: P -visited: 6 -arity: 0 -kind: addr_ent -entity PRIMA.c (23) +node: {title: "n22" label: "SymC &c 22" info1: "SymC &c 22 + mode: P + visited: 6 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.c (23) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t21" label: "method c" info1: "state: layout_fixed, mode: P, size: 32b, diff --git a/testprograms/ref-results/PRIMA_c.vcg b/testprograms/ref-results/PRIMA_c.vcg index 6325531dd..1962ed9dd 100644 --- a/testprograms/ref-results/PRIMA_c.vcg +++ b/testprograms/ref-results/PRIMA_c.vcg @@ -55,102 +55,184 @@ colorentry 125: 255 250 250 graph: { title: "g96" label: "PRIMA_c" status:clustered color:white graph: { title: "n85" label: "Block 85" status:clustered color:yellow edge: {sourcename: "n85" targetname: "n107" label: "0" class:13 priority:60 color:red} -node: {title: "n154" label: "End 154" info1: "mode: X -visited: 12 -irg: PRIMA_c -arity: 0 -"color: blue} +node: {title: "n154" label: "End 154" info1: "End 154 + mode: X + visited: 12 + irg: PRIMA_c + arity: 0 + pred nodes: + -1: Block 85 + Private Attributes: +" +color: blue} } graph: { title: "n97" label: "Block 97" status:clustered color:yellow edge: {sourcename: "n97" targetname: "n91" label: "0" class:13 priority:60 color:red} -node: {title: "n107" label: "Return 107" info1: "mode: X -visited: 12 -irg: PRIMA_c -arity: 2 -return in method of type c - res 0 type: int -"} +node: {title: "n107" label: "Return 107" info1: "Return 107 + mode: X + visited: 12 + irg: PRIMA_c + arity: 2 + pred nodes: + -1: Block 97 + 0: Proj 104 + 1: Add 106 + Private Attributes: + return in method of type c + res 0 type: int +" +} edge: {sourcename: "n107" targetname: "n104" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n107" targetname: "n106" label: "1" class:1 priority:50} -node: {title: "n104" label: "ProjM 0 104" info1: "mode: M -visited: 12 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n104" label: "ProjM 0 104" info1: "Proj 104 + mode: M + visited: 12 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Load[Is] 102 + Private Attributes: +" +color: yellow} edge: {sourcename: "n104" targetname: "n102" label: "0" class:17 priority:10 color:blue} -node: {title: "n106" label: "AddIs 106" info1: "mode: Is -visited: 12 -irg: PRIMA_c -arity: 2 -"} +node: {title: "n106" label: "AddIs 106" info1: "Add 106 + mode: Is + visited: 12 + irg: PRIMA_c + arity: 2 + pred nodes: + -1: Block 97 + 0: Proj 105 + 1: Proj 99 + Private Attributes: +" +} edge: {sourcename: "n106" targetname: "n105" label: "0" class:1 priority:50} edge: {sourcename: "n106" targetname: "n99" label: "1" class:1 priority:50} -node: {title: "n105" label: "ProjIs 2 105" info1: "mode: Is -visited: 12 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n105" label: "ProjIs 2 105" info1: "Proj 105 + mode: Is + visited: 12 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Load[Is] 102 + Private Attributes: +" +color: yellow} edge: {sourcename: "n105" targetname: "n102" label: "0" class:1 priority:50} -node: {title: "n102" label: "Load[Is] 102" info1: "mode: T -visited: 12 -irg: PRIMA_c -arity: 2 -volatility: volatility_non_volatile -"} +node: {title: "n102" label: "Load[Is] 102" info1: "Load[Is] 102 + mode: T + visited: 12 + irg: PRIMA_c + arity: 2 + pred nodes: + -1: Block 97 + 0: Proj 94 + 1: Sel 101 + Private Attributes: + pinned state: op_pin_state_pinned + mode of loaded value: Is + volatility: volatility_non_volatile +" +} edge: {sourcename: "n102" targetname: "n94" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n102" targetname: "n101" label: "1" class:1 priority:50} -node: {title: "n101" label: "Sel a 101" info1: "mode: P -visited: 12 -irg: PRIMA_c -arity: 2 -Selecting entity of type int - from entity of type PRIMA -"} +node: {title: "n101" label: "Sel a 101" info1: "Sel 101 + mode: P + visited: 12 + irg: PRIMA_c + arity: 2 + pred nodes: + -1: Block 97 + 0: Proj 94 + 1: Proj 98 + Private Attributes: + Selecting entity of type int + from entity of type PRIMA +" +} edge: {sourcename: "n101" targetname: "n94" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n101" targetname: "n98" label: "1" class:1 priority:50} -node: {title: "n98" label: "ProjP 0 98" info1: "mode: P -visited: 12 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n98" label: "ProjP 0 98" info1: "Proj 98 + mode: P + visited: 12 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Proj 95 + Private Attributes: +" +color: yellow} edge: {sourcename: "n98" targetname: "n95" label: "0" class:16 priority:10} -node: {title: "n99" label: "ProjIs 1 99" info1: "mode: Is -visited: 12 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n99" label: "ProjIs 1 99" info1: "Proj 99 + mode: Is + visited: 12 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Proj 95 + Private Attributes: +" +color: yellow} edge: {sourcename: "n99" targetname: "n95" label: "0" class:16 priority:10} } graph: { title: "n87" label: "Block 87" status:clustered color:yellow edge: {sourcename: "n87" targetname: "n91" label: "0" class:13 priority:60 color:red} -node: {title: "n94" label: "ProjM 1 94" info1: "mode: M -visited: 12 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n94" label: "ProjM 1 94" info1: "Proj 94 + mode: M + visited: 12 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Start 88 + Private Attributes: +" +color: yellow} edge: {sourcename: "n94" targetname: "n88" label: "0" class:17 priority:10 color:blue} -node: {title: "n95" label: "ProjT 4 95" info1: "mode: T -visited: 12 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n95" label: "ProjT 4 95" info1: "Proj 95 + mode: T + visited: 12 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Start 88 + Private Attributes: +" +color: yellow} edge: {sourcename: "n95" targetname: "n88" label: "0" class:1 priority:50} -node: {title: "n91" label: "ProjX 0 91" info1: "mode: X -visited: 12 -irg: PRIMA_c -arity: 1 -"color: yellow} +node: {title: "n91" label: "ProjX 0 91" info1: "Proj 91 + mode: X + visited: 12 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Start 88 + Private Attributes: +" +color: yellow} edge: {sourcename: "n91" targetname: "n88" label: "0" class:13 priority:60 color:red} -node: {title: "n88" label: "Start 88" 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 -"color: blue} +node: {title: "n88" label: "Start 88" info1: "Start 88 + mode: T + visited: 12 + irg: PRIMA_c + arity: 0 + pred nodes: + -1: Block 87 + Private Attributes: + start of method of type c + param 0 type: class_prima_ptr + param 1 type: int +" +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 9c775cf77..cc8d52d78 100644 --- a/testprograms/ref-results/PRIMA_set_a-pure-wtypes.vcg +++ b/testprograms/ref-results/PRIMA_set_a-pure-wtypes.vcg @@ -52,108 +52,197 @@ colorentry 123: 255 220 220 colorentry 124: 255 240 240 colorentry 125: 255 250 250 -node: {title: "n64" label: "Block 64" info1: "mode: BB -visited: 13 -irg: PRIMA_set_a -arity: 1 backedges: -"color: lightyellow} +node: {title: "n64" label: "Block 64" info1: "Block 64 + mode: BB + visited: 13 + irg: PRIMA_set_a + arity: 1 + pred nodes: + 0: Proj 68 + Private Attributes: + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n64" targetname: "n68" label: "0" class:13 priority:60 color:red} -node: {title: "n65" label: "Start 65" 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 -"color: blue} +node: {title: "n65" label: "Start 65" info1: "Start 65 + mode: T + visited: 13 + irg: PRIMA_set_a + arity: 0 + pred nodes: + -1: Block 64 + Private Attributes: + start of method of type set_a + param 0 type: class_prima_ptr + param 1 type: int +" +color: blue} edge: { sourcename: "n65" targetname: "n64" class:2 priority:50 linestyle:dotted} -node: {title: "n68" label: "ProjX 0 68" info1: "mode: X -visited: 13 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n68" label: "ProjX 0 68" info1: "Proj 68 + mode: X + visited: 13 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Start 65 + Private Attributes: +" +color: yellow} edge: {sourcename: "n68" targetname: "n65" label: "0" class:13 priority:60 color:red} edge: { sourcename: "n68" targetname: "n64" class:2 priority:50 linestyle:dotted} -node: {title: "n74" label: "Block 74" info1: "mode: BB -visited: 13 -irg: PRIMA_set_a -arity: 1 backedges: -"color: lightyellow} +node: {title: "n74" label: "Block 74" info1: "Block 74 + mode: BB + visited: 13 + irg: PRIMA_set_a + arity: 1 + pred nodes: + 0: Proj 68 + Private Attributes: + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n74" targetname: "n68" label: "0" class:13 priority:60 color:red} -node: {title: "n72" label: "ProjT 4 72" info1: "mode: T -visited: 13 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n72" label: "ProjT 4 72" info1: "Proj 72 + mode: T + visited: 13 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Start 65 + Private Attributes: +" +color: yellow} edge: {sourcename: "n72" targetname: "n65" label: "0" class:1 priority:50} edge: { sourcename: "n72" targetname: "n64" class:2 priority:50 linestyle:dotted} -node: {title: "n76" label: "ProjIs 1 76" info1: "mode: Is -visited: 13 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n76" label: "ProjIs 1 76" info1: "Proj 76 + mode: Is + visited: 13 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 74 + 0: Proj 72 + Private Attributes: +" +color: yellow} edge: {sourcename: "n76" targetname: "n72" label: "0" class:16 priority:10} edge: { sourcename: "n76" targetname: "n74" class:2 priority:50 linestyle:dotted} -node: {title: "n75" label: "ProjP 0 75" info1: "mode: P -visited: 13 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n75" label: "ProjP 0 75" info1: "Proj 75 + mode: P + visited: 13 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 74 + 0: Proj 72 + Private Attributes: +" +color: yellow} edge: {sourcename: "n75" targetname: "n72" label: "0" class:16 priority:10} edge: { sourcename: "n75" targetname: "n74" class:2 priority:50 linestyle:dotted} -node: {title: "n71" label: "ProjM 1 71" info1: "mode: M -visited: 13 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n71" label: "ProjM 1 71" info1: "Proj 71 + mode: M + visited: 13 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Start 65 + Private Attributes: +" +color: yellow} edge: {sourcename: "n71" targetname: "n65" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n71" targetname: "n64" class:2 priority:50 linestyle:dotted} -node: {title: "n78" label: "Sel a 78" info1: "mode: P -visited: 13 -irg: PRIMA_set_a -arity: 2 -Selecting entity of type int - from entity of type PRIMA -"} +node: {title: "n78" label: "Sel a 78" info1: "Sel 78 + mode: P + visited: 13 + irg: PRIMA_set_a + arity: 2 + pred nodes: + -1: Block 74 + 0: Proj 71 + 1: Proj 75 + Private Attributes: + Selecting entity of type int + from entity of type PRIMA +" +} edge: {sourcename: "n78" targetname: "n71" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n78" targetname: "n75" label: "1" class:1 priority:50} edge: { sourcename: "n78" targetname: "n74" class:2 priority:50 linestyle:dotted} -node: {title: "n79" label: "Store 79" info1: "mode: T -visited: 13 -irg: PRIMA_set_a -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n79" label: "Store 79" info1: "Store 79 + mode: T + visited: 13 + irg: PRIMA_set_a + arity: 3 + pred nodes: + -1: Block 74 + 0: Proj 71 + 1: Sel 78 + 2: Proj 76 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n79" targetname: "n71" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n79" targetname: "n78" label: "1" class:1 priority:50} edge: {sourcename: "n79" targetname: "n76" label: "2" class:1 priority:50} edge: { sourcename: "n79" targetname: "n74" class:2 priority:50 linestyle:dotted} -node: {title: "n81" label: "ProjM 0 81" info1: "mode: M -visited: 13 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n81" label: "ProjM 0 81" info1: "Proj 81 + mode: M + visited: 13 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 74 + 0: Store 79 + Private Attributes: +" +color: yellow} edge: {sourcename: "n81" targetname: "n79" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n81" targetname: "n74" class:2 priority:50 linestyle:dotted} -node: {title: "n82" label: "Return 82" info1: "mode: X -visited: 13 -irg: PRIMA_set_a -arity: 1 -return in method of type set_a -"} +node: {title: "n82" label: "Return 82" info1: "Return 82 + mode: X + visited: 13 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 74 + 0: Proj 81 + Private Attributes: + return in method of type set_a +" +} edge: {sourcename: "n82" targetname: "n81" label: "0" class:14 priority:50 color:blue} edge: { sourcename: "n82" targetname: "n74" class:2 priority:50 linestyle:dotted} -node: {title: "n62" label: "Block 62" info1: "mode: BB -visited: 13 -irg: PRIMA_set_a -arity: 1 backedges: -"color: lightyellow} +node: {title: "n62" label: "Block 62" info1: "Block 62 + mode: BB + visited: 13 + irg: PRIMA_set_a + arity: 1 + pred nodes: + 0: Return 82 + Private Attributes: + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n62" targetname: "n82" label: "0" class:13 priority:60 color:red} -node: {title: "n136" label: "End 136" info1: "mode: X -visited: 13 -irg: PRIMA_set_a -arity: 0 -"color: blue} +node: {title: "n136" label: "End 136" info1: "End 136 + mode: X + visited: 13 + irg: PRIMA_set_a + arity: 0 + pred nodes: + -1: Block 62 + Private Attributes: +" +color: blue} edge: { sourcename: "n136" targetname: "n62" class:2 priority:50 linestyle:dotted} node: {title: "e17" label: "ent a" color: yellow info1: "entity a (17) @@ -199,14 +288,19 @@ node: {title: "e20" label: "ent PRIMA_set_a" color: yellow } edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red} edge: { sourcename: "e20" targetname: "n19"label: "value 0"} -node: {title: "n19" label: "SymC &set_a 19" info1: "mode: P -visited: 2 -arity: 0 -kind: addr_ent -entity PRIMA.set_a (20) +node: {title: "n19" label: "SymC &set_a 19" info1: "SymC &set_a 19 + mode: P + visited: 2 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.set_a (20) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t18" label: "method set_a" info1: "state: layout_fixed, mode: P, size: 32b, @@ -245,14 +339,19 @@ node: {title: "e23" label: "ent PRIMA_c" color: yellow } edge: { sourcename: "e23" targetname: "t21"class: 3 label: "type" color: red} edge: { sourcename: "e23" targetname: "n22"label: "value 0"} -node: {title: "n22" label: "SymC &c 22" info1: "mode: P -visited: 2 -arity: 0 -kind: addr_ent -entity PRIMA.c (23) +node: {title: "n22" label: "SymC &c 22" info1: "SymC &c 22 + mode: P + visited: 2 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.c (23) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t21" label: "method c" info1: "state: layout_fixed, mode: P, size: 32b, diff --git a/testprograms/ref-results/PRIMA_set_a-pure.vcg b/testprograms/ref-results/PRIMA_set_a-pure.vcg index 5080e8348..47261c0e3 100644 --- a/testprograms/ref-results/PRIMA_set_a-pure.vcg +++ b/testprograms/ref-results/PRIMA_set_a-pure.vcg @@ -52,107 +52,196 @@ colorentry 123: 255 220 220 colorentry 124: 255 240 240 colorentry 125: 255 250 250 -node: {title: "n64" label: "Block 64" info1: "mode: BB -visited: 11 -irg: PRIMA_set_a -arity: 1 backedges: -"color: lightyellow} +node: {title: "n64" label: "Block 64" info1: "Block 64 + mode: BB + visited: 11 + irg: PRIMA_set_a + arity: 1 + pred nodes: + 0: Proj 68 + Private Attributes: + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n64" targetname: "n68" label: "0" class:13 priority:60 color:red} -node: {title: "n65" label: "Start 65" 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 -"color: blue} +node: {title: "n65" label: "Start 65" info1: "Start 65 + mode: T + visited: 11 + irg: PRIMA_set_a + arity: 0 + pred nodes: + -1: Block 64 + Private Attributes: + start of method of type set_a + param 0 type: class_prima_ptr + param 1 type: int +" +color: blue} edge: { sourcename: "n65" targetname: "n64" class:2 priority:50 linestyle:dotted} -node: {title: "n68" label: "ProjX 0 68" info1: "mode: X -visited: 11 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n68" label: "ProjX 0 68" info1: "Proj 68 + mode: X + visited: 11 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Start 65 + Private Attributes: +" +color: yellow} edge: {sourcename: "n68" targetname: "n65" label: "0" class:13 priority:60 color:red} edge: { sourcename: "n68" targetname: "n64" class:2 priority:50 linestyle:dotted} -node: {title: "n74" label: "Block 74" info1: "mode: BB -visited: 11 -irg: PRIMA_set_a -arity: 1 backedges: -"color: lightyellow} +node: {title: "n74" label: "Block 74" info1: "Block 74 + mode: BB + visited: 11 + irg: PRIMA_set_a + arity: 1 + pred nodes: + 0: Proj 68 + Private Attributes: + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n74" targetname: "n68" label: "0" class:13 priority:60 color:red} -node: {title: "n72" label: "ProjT 4 72" info1: "mode: T -visited: 11 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n72" label: "ProjT 4 72" info1: "Proj 72 + mode: T + visited: 11 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Start 65 + Private Attributes: +" +color: yellow} edge: {sourcename: "n72" targetname: "n65" label: "0" class:1 priority:50} edge: { sourcename: "n72" targetname: "n64" class:2 priority:50 linestyle:dotted} -node: {title: "n76" label: "ProjIs 1 76" info1: "mode: Is -visited: 11 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n76" label: "ProjIs 1 76" info1: "Proj 76 + mode: Is + visited: 11 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 74 + 0: Proj 72 + Private Attributes: +" +color: yellow} edge: {sourcename: "n76" targetname: "n72" label: "0" class:16 priority:10} edge: { sourcename: "n76" targetname: "n74" class:2 priority:50 linestyle:dotted} -node: {title: "n75" label: "ProjP 0 75" info1: "mode: P -visited: 11 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n75" label: "ProjP 0 75" info1: "Proj 75 + mode: P + visited: 11 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 74 + 0: Proj 72 + Private Attributes: +" +color: yellow} edge: {sourcename: "n75" targetname: "n72" label: "0" class:16 priority:10} edge: { sourcename: "n75" targetname: "n74" class:2 priority:50 linestyle:dotted} -node: {title: "n71" label: "ProjM 1 71" info1: "mode: M -visited: 11 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n71" label: "ProjM 1 71" info1: "Proj 71 + mode: M + visited: 11 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Start 65 + Private Attributes: +" +color: yellow} edge: {sourcename: "n71" targetname: "n65" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n71" targetname: "n64" class:2 priority:50 linestyle:dotted} -node: {title: "n78" label: "Sel a 78" info1: "mode: P -visited: 11 -irg: PRIMA_set_a -arity: 2 -Selecting entity of type int - from entity of type PRIMA -"} +node: {title: "n78" label: "Sel a 78" info1: "Sel 78 + mode: P + visited: 11 + irg: PRIMA_set_a + arity: 2 + pred nodes: + -1: Block 74 + 0: Proj 71 + 1: Proj 75 + Private Attributes: + Selecting entity of type int + from entity of type PRIMA +" +} edge: {sourcename: "n78" targetname: "n71" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n78" targetname: "n75" label: "1" class:1 priority:50} edge: { sourcename: "n78" targetname: "n74" class:2 priority:50 linestyle:dotted} -node: {title: "n79" label: "Store 79" info1: "mode: T -visited: 11 -irg: PRIMA_set_a -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n79" label: "Store 79" info1: "Store 79 + mode: T + visited: 11 + irg: PRIMA_set_a + arity: 3 + pred nodes: + -1: Block 74 + 0: Proj 71 + 1: Sel 78 + 2: Proj 76 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n79" targetname: "n71" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n79" targetname: "n78" label: "1" class:1 priority:50} edge: {sourcename: "n79" targetname: "n76" label: "2" class:1 priority:50} edge: { sourcename: "n79" targetname: "n74" class:2 priority:50 linestyle:dotted} -node: {title: "n81" label: "ProjM 0 81" info1: "mode: M -visited: 11 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n81" label: "ProjM 0 81" info1: "Proj 81 + mode: M + visited: 11 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 74 + 0: Store 79 + Private Attributes: +" +color: yellow} edge: {sourcename: "n81" targetname: "n79" label: "0" class:17 priority:10 color:blue} edge: { sourcename: "n81" targetname: "n74" class:2 priority:50 linestyle:dotted} -node: {title: "n82" label: "Return 82" info1: "mode: X -visited: 11 -irg: PRIMA_set_a -arity: 1 -return in method of type set_a -"} +node: {title: "n82" label: "Return 82" info1: "Return 82 + mode: X + visited: 11 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 74 + 0: Proj 81 + Private Attributes: + return in method of type set_a +" +} edge: {sourcename: "n82" targetname: "n81" label: "0" class:14 priority:50 color:blue} edge: { sourcename: "n82" targetname: "n74" class:2 priority:50 linestyle:dotted} -node: {title: "n62" label: "Block 62" info1: "mode: BB -visited: 11 -irg: PRIMA_set_a -arity: 1 backedges: -"color: lightyellow} +node: {title: "n62" label: "Block 62" info1: "Block 62 + mode: BB + visited: 11 + irg: PRIMA_set_a + arity: 1 + pred nodes: + 0: Return 82 + Private Attributes: + backedges: + block visited: 0 dominator info: not implemented +" +color: lightyellow} edge: {sourcename: "n62" targetname: "n82" label: "0" class:13 priority:60 color:red} -node: {title: "n136" label: "End 136" info1: "mode: X -visited: 11 -irg: PRIMA_set_a -arity: 0 -"color: blue} +node: {title: "n136" label: "End 136" info1: "End 136 + mode: X + visited: 11 + irg: PRIMA_set_a + arity: 0 + pred nodes: + -1: Block 62 + Private Attributes: +" +color: blue} edge: { sourcename: "n136" targetname: "n62" 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 05bc58d49..3e4e52359 100644 --- a/testprograms/ref-results/PRIMA_set_a-type.vcg +++ b/testprograms/ref-results/PRIMA_set_a-type.vcg @@ -96,14 +96,19 @@ node: {title: "e20" label: "ent PRIMA_set_a" color: yellow } edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red} edge: { sourcename: "e20" targetname: "n19"label: "value 0"} -node: {title: "n19" label: "SymC &set_a 19" info1: "mode: P -visited: 8 -arity: 0 -kind: addr_ent -entity PRIMA.set_a (20) +node: {title: "n19" label: "SymC &set_a 19" info1: "SymC &set_a 19 + mode: P + visited: 8 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.set_a (20) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t18" label: "method set_a" info1: "state: layout_fixed, mode: P, size: 32b, @@ -142,14 +147,19 @@ node: {title: "e23" label: "ent PRIMA_c" color: yellow } edge: { sourcename: "e23" targetname: "t21"class: 3 label: "type" color: red} edge: { sourcename: "e23" targetname: "n22"label: "value 0"} -node: {title: "n22" label: "SymC &c 22" info1: "mode: P -visited: 8 -arity: 0 -kind: addr_ent -entity PRIMA.c (23) +node: {title: "n22" label: "SymC &c 22" info1: "SymC &c 22 + mode: P + visited: 8 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.c (23) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t21" label: "method c" info1: "state: layout_fixed, mode: P, size: 32b, diff --git a/testprograms/ref-results/PRIMA_set_a-wtypes.vcg b/testprograms/ref-results/PRIMA_set_a-wtypes.vcg index 8d8a544c1..7badfee5f 100644 --- a/testprograms/ref-results/PRIMA_set_a-wtypes.vcg +++ b/testprograms/ref-results/PRIMA_set_a-wtypes.vcg @@ -55,88 +55,156 @@ colorentry 125: 255 250 250 graph: { title: "g73" label: "PRIMA_set_a" status:clustered color:white graph: { title: "n62" label: "Block 62" status:clustered color:yellow edge: {sourcename: "n62" targetname: "n82" label: "0" class:13 priority:60 color:red} -node: {title: "n136" label: "End 136" info1: "mode: X -visited: 16 -irg: PRIMA_set_a -arity: 0 -"color: blue} +node: {title: "n136" label: "End 136" info1: "End 136 + mode: X + visited: 16 + irg: PRIMA_set_a + arity: 0 + pred nodes: + -1: Block 62 + Private Attributes: +" +color: blue} } graph: { title: "n74" label: "Block 74" status:clustered color:yellow edge: {sourcename: "n74" targetname: "n68" label: "0" class:13 priority:60 color:red} -node: {title: "n82" label: "Return 82" info1: "mode: X -visited: 16 -irg: PRIMA_set_a -arity: 1 -return in method of type set_a -"} +node: {title: "n82" label: "Return 82" info1: "Return 82 + mode: X + visited: 16 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 74 + 0: Proj 81 + Private Attributes: + return in method of type set_a +" +} edge: {sourcename: "n82" targetname: "n81" label: "0" class:14 priority:50 color:blue} -node: {title: "n81" label: "ProjM 0 81" info1: "mode: M -visited: 16 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n81" label: "ProjM 0 81" info1: "Proj 81 + mode: M + visited: 16 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 74 + 0: Store 79 + Private Attributes: +" +color: yellow} edge: {sourcename: "n81" targetname: "n79" label: "0" class:17 priority:10 color:blue} -node: {title: "n79" label: "Store 79" info1: "mode: T -visited: 16 -irg: PRIMA_set_a -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n79" label: "Store 79" info1: "Store 79 + mode: T + visited: 16 + irg: PRIMA_set_a + arity: 3 + pred nodes: + -1: Block 74 + 0: Proj 71 + 1: Sel 78 + 2: Proj 76 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n79" targetname: "n71" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n79" targetname: "n78" label: "1" class:1 priority:50} edge: {sourcename: "n79" targetname: "n76" label: "2" class:1 priority:50} -node: {title: "n78" label: "Sel a 78" info1: "mode: P -visited: 16 -irg: PRIMA_set_a -arity: 2 -Selecting entity of type int - from entity of type PRIMA -"} +node: {title: "n78" label: "Sel a 78" info1: "Sel 78 + mode: P + visited: 16 + irg: PRIMA_set_a + arity: 2 + pred nodes: + -1: Block 74 + 0: Proj 71 + 1: Proj 75 + Private Attributes: + Selecting entity of type int + from entity of type PRIMA +" +} edge: {sourcename: "n78" targetname: "n71" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n78" targetname: "n75" label: "1" class:1 priority:50} -node: {title: "n75" label: "ProjP 0 75" info1: "mode: P -visited: 16 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n75" label: "ProjP 0 75" info1: "Proj 75 + mode: P + visited: 16 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 74 + 0: Proj 72 + Private Attributes: +" +color: yellow} edge: {sourcename: "n75" targetname: "n72" label: "0" class:16 priority:10} -node: {title: "n76" label: "ProjIs 1 76" info1: "mode: Is -visited: 16 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n76" label: "ProjIs 1 76" info1: "Proj 76 + mode: Is + visited: 16 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 74 + 0: Proj 72 + Private Attributes: +" +color: yellow} edge: {sourcename: "n76" targetname: "n72" label: "0" class:16 priority:10} } graph: { title: "n64" label: "Block 64" status:clustered color:yellow edge: {sourcename: "n64" targetname: "n68" label: "0" class:13 priority:60 color:red} -node: {title: "n71" label: "ProjM 1 71" info1: "mode: M -visited: 16 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n71" label: "ProjM 1 71" info1: "Proj 71 + mode: M + visited: 16 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Start 65 + Private Attributes: +" +color: yellow} edge: {sourcename: "n71" targetname: "n65" label: "0" class:17 priority:10 color:blue} -node: {title: "n72" label: "ProjT 4 72" info1: "mode: T -visited: 16 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n72" label: "ProjT 4 72" info1: "Proj 72 + mode: T + visited: 16 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Start 65 + Private Attributes: +" +color: yellow} edge: {sourcename: "n72" targetname: "n65" label: "0" class:1 priority:50} -node: {title: "n68" label: "ProjX 0 68" info1: "mode: X -visited: 16 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n68" label: "ProjX 0 68" info1: "Proj 68 + mode: X + visited: 16 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Start 65 + Private Attributes: +" +color: yellow} edge: {sourcename: "n68" targetname: "n65" label: "0" class:13 priority:60 color:red} -node: {title: "n65" label: "Start 65" 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 -"color: blue} +node: {title: "n65" label: "Start 65" info1: "Start 65 + mode: T + visited: 16 + irg: PRIMA_set_a + arity: 0 + pred nodes: + -1: Block 64 + Private Attributes: + start of method of type set_a + param 0 type: class_prima_ptr + param 1 type: int +" +color: blue} } } @@ -185,14 +253,19 @@ node: {title: "e20" label: "ent PRIMA_set_a" color: yellow } edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red} edge: { sourcename: "e20" targetname: "n19"label: "value 0"} -node: {title: "n19" label: "SymC &set_a 19" info1: "mode: P -visited: 5 -arity: 0 -kind: addr_ent -entity PRIMA.set_a (20) +node: {title: "n19" label: "SymC &set_a 19" info1: "SymC &set_a 19 + mode: P + visited: 5 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.set_a (20) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t18" label: "method set_a" info1: "state: layout_fixed, mode: P, size: 32b, @@ -231,14 +304,19 @@ node: {title: "e23" label: "ent PRIMA_c" color: yellow } edge: { sourcename: "e23" targetname: "t21"class: 3 label: "type" color: red} edge: { sourcename: "e23" targetname: "n22"label: "value 0"} -node: {title: "n22" label: "SymC &c 22" info1: "mode: P -visited: 5 -arity: 0 -kind: addr_ent -entity PRIMA.c (23) +node: {title: "n22" label: "SymC &c 22" info1: "SymC &c 22 + mode: P + visited: 5 + arity: 0 + pred nodes: + -1: Block 1 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.c (23) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} node: {title: "t21" label: "method c" info1: "state: layout_fixed, mode: P, size: 32b, diff --git a/testprograms/ref-results/PRIMA_set_a.vcg b/testprograms/ref-results/PRIMA_set_a.vcg index 89cf0fd36..cd848e4c3 100644 --- a/testprograms/ref-results/PRIMA_set_a.vcg +++ b/testprograms/ref-results/PRIMA_set_a.vcg @@ -55,88 +55,156 @@ colorentry 125: 255 250 250 graph: { title: "g73" label: "PRIMA_set_a" status:clustered color:white graph: { title: "n62" label: "Block 62" status:clustered color:yellow edge: {sourcename: "n62" targetname: "n82" label: "0" class:13 priority:60 color:red} -node: {title: "n136" label: "End 136" info1: "mode: X -visited: 12 -irg: PRIMA_set_a -arity: 0 -"color: blue} +node: {title: "n136" label: "End 136" info1: "End 136 + mode: X + visited: 12 + irg: PRIMA_set_a + arity: 0 + pred nodes: + -1: Block 62 + Private Attributes: +" +color: blue} } graph: { title: "n74" label: "Block 74" status:clustered color:yellow edge: {sourcename: "n74" targetname: "n68" label: "0" class:13 priority:60 color:red} -node: {title: "n82" label: "Return 82" info1: "mode: X -visited: 12 -irg: PRIMA_set_a -arity: 1 -return in method of type set_a -"} +node: {title: "n82" label: "Return 82" info1: "Return 82 + mode: X + visited: 12 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 74 + 0: Proj 81 + Private Attributes: + return in method of type set_a +" +} edge: {sourcename: "n82" targetname: "n81" label: "0" class:14 priority:50 color:blue} -node: {title: "n81" label: "ProjM 0 81" info1: "mode: M -visited: 12 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n81" label: "ProjM 0 81" info1: "Proj 81 + mode: M + visited: 12 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 74 + 0: Store 79 + Private Attributes: +" +color: yellow} edge: {sourcename: "n81" targetname: "n79" label: "0" class:17 priority:10 color:blue} -node: {title: "n79" label: "Store 79" info1: "mode: T -visited: 12 -irg: PRIMA_set_a -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n79" label: "Store 79" info1: "Store 79 + mode: T + visited: 12 + irg: PRIMA_set_a + arity: 3 + pred nodes: + -1: Block 74 + 0: Proj 71 + 1: Sel 78 + 2: Proj 76 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n79" targetname: "n71" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n79" targetname: "n78" label: "1" class:1 priority:50} edge: {sourcename: "n79" targetname: "n76" label: "2" class:1 priority:50} -node: {title: "n78" label: "Sel a 78" info1: "mode: P -visited: 12 -irg: PRIMA_set_a -arity: 2 -Selecting entity of type int - from entity of type PRIMA -"} +node: {title: "n78" label: "Sel a 78" info1: "Sel 78 + mode: P + visited: 12 + irg: PRIMA_set_a + arity: 2 + pred nodes: + -1: Block 74 + 0: Proj 71 + 1: Proj 75 + Private Attributes: + Selecting entity of type int + from entity of type PRIMA +" +} edge: {sourcename: "n78" targetname: "n71" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n78" targetname: "n75" label: "1" class:1 priority:50} -node: {title: "n75" label: "ProjP 0 75" info1: "mode: P -visited: 12 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n75" label: "ProjP 0 75" info1: "Proj 75 + mode: P + visited: 12 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 74 + 0: Proj 72 + Private Attributes: +" +color: yellow} edge: {sourcename: "n75" targetname: "n72" label: "0" class:16 priority:10} -node: {title: "n76" label: "ProjIs 1 76" info1: "mode: Is -visited: 12 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n76" label: "ProjIs 1 76" info1: "Proj 76 + mode: Is + visited: 12 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 74 + 0: Proj 72 + Private Attributes: +" +color: yellow} edge: {sourcename: "n76" targetname: "n72" label: "0" class:16 priority:10} } graph: { title: "n64" label: "Block 64" status:clustered color:yellow edge: {sourcename: "n64" targetname: "n68" label: "0" class:13 priority:60 color:red} -node: {title: "n71" label: "ProjM 1 71" info1: "mode: M -visited: 12 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n71" label: "ProjM 1 71" info1: "Proj 71 + mode: M + visited: 12 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Start 65 + Private Attributes: +" +color: yellow} edge: {sourcename: "n71" targetname: "n65" label: "0" class:17 priority:10 color:blue} -node: {title: "n72" label: "ProjT 4 72" info1: "mode: T -visited: 12 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n72" label: "ProjT 4 72" info1: "Proj 72 + mode: T + visited: 12 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Start 65 + Private Attributes: +" +color: yellow} edge: {sourcename: "n72" targetname: "n65" label: "0" class:1 priority:50} -node: {title: "n68" label: "ProjX 0 68" info1: "mode: X -visited: 12 -irg: PRIMA_set_a -arity: 1 -"color: yellow} +node: {title: "n68" label: "ProjX 0 68" info1: "Proj 68 + mode: X + visited: 12 + irg: PRIMA_set_a + arity: 1 + pred nodes: + -1: Block 64 + 0: Start 65 + Private Attributes: +" +color: yellow} edge: {sourcename: "n68" targetname: "n65" label: "0" class:13 priority:60 color:red} -node: {title: "n65" label: "Start 65" 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 -"color: blue} +node: {title: "n65" label: "Start 65" info1: "Start 65 + mode: T + visited: 12 + irg: PRIMA_set_a + arity: 0 + pred nodes: + -1: Block 64 + Private Attributes: + start of method of type set_a + param 0 type: class_prima_ptr + param 1 type: int +" +color: blue} } } diff --git a/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m1-strength_reduced.vcg b/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m1-strength_reduced.vcg index 5901ebb1d..e60c4af90 100644 --- a/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m1-strength_reduced.vcg +++ b/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m1-strength_reduced.vcg @@ -56,348 +56,652 @@ graph: { title: "g45" label: "STRENGTH_RED_EXAMPLE_m1" status:clustered color:wh graph: { title: "n93" label: "Block 93" status:clustered color:yellow edge: {sourcename: "n93" targetname: "n55" label: "0" class:13 priority:60 color:red} backedge: {sourcename: "n93" targetname: "n114" label: "1" linestyle:dashed class:13 priority:60 color:red} -node: {title: "n120" label: "PhiM 120" info1: "mode: M -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 2 backedges: -"color: green} +node: {title: "n120" label: "PhiM 120" info1: "Phi 120 + mode: M + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 2 + pred nodes: + -1: Block 93 + 0: Phi 91 + 1: Proj 112 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n120" targetname: "n91" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n120" targetname: "n112" label: "1" class:17 priority:10 color:blue} -node: {title: "n557" label: "PhiP 557" info1: "mode: P -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 2 backedges: -"color: green} +node: {title: "n557" label: "PhiP 557" info1: "Phi 557 + mode: P + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 2 + pred nodes: + -1: Block 93 + 0: Add 559 + 1: Add 558 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n557" targetname: "n559" label: "0" class:16 priority:10} edge: {sourcename: "n557" targetname: "n558" label: "1" class:16 priority:10} -node: {title: "n555" label: "MulIs 555" info1: "mode: Is -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 2 -"} -node: {title: "n555n59" label: "0x4Is 59" info1: "mode: Is -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n555" label: "MulIs 555" info1: "Mul 555 + mode: Is + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 2 + pred nodes: + -1: Block 93 + 0: 0x4 59 + 1: Phi 92 + Private Attributes: +" +} +node: {title: "n555n59" label: "0x4Is 59" info1: "0x4 59 + mode: Is + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 36 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n555" targetname: "n555n59" label: "0" class:16 priority:10} edge: {sourcename: "n555" targetname: "n92" label: "1" class:16 priority:10} -node: {title: "n100" label: "Jmp 100" info1: "mode: X -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -"} +node: {title: "n100" label: "Jmp 100" info1: "Jmp 100 + mode: X + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 93 + Private Attributes: +" +} } graph: { title: "n49" label: "Block 49" status:clustered color:yellow edge: {sourcename: "n49" targetname: "n48" label: "0" class:13 priority:60 color:red} backedge: {sourcename: "n49" targetname: "n85" label: "1" linestyle:dashed class:13 priority:60 color:red} -node: {title: "n91" label: "PhiM 91" info1: "mode: M -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 2 backedges: -"color: green} +node: {title: "n91" label: "PhiM 91" info1: "Phi 91 + mode: M + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 2 + pred nodes: + -1: Block 49 + 0: Proj 43 + 1: Proj 83 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n91" targetname: "n43" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n91" targetname: "n83" label: "1" class:17 priority:10 color:blue} -node: {title: "n550" label: "PhiP 550" info1: "mode: P -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 2 backedges: -"color: green} -node: {title: "n550n62" label: "SymC &a2 62" info1: "mode: P -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -kind: addr_ent -entity GlobalType.a2 (32) +node: {title: "n550" label: "PhiP 550" info1: "Phi 550 + mode: P + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 2 + pred nodes: + -1: Block 49 + 0: SymC &a2 62 + 1: Add 551 + Private Attributes: + backedges: +" +color: green} +node: {title: "n550n62" label: "SymC &a2 62" info1: "SymC &a2 62 + mode: P + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 36 + Private Attributes: + kind: addr_ent + entity: entity GlobalType.a2 (32) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} edge: {sourcename: "n550" targetname: "n550n62" label: "0" class:16 priority:10} edge: {sourcename: "n550" targetname: "n551" label: "1" class:16 priority:10} -node: {title: "n542" label: "PhiP 542" info1: "mode: P -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 2 backedges: -"color: green} -node: {title: "n542n61" label: "SymC &a 61" info1: "mode: P -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -kind: addr_ent -entity GlobalType.a (31) +node: {title: "n542" label: "PhiP 542" info1: "Phi 542 + mode: P + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 2 + pred nodes: + -1: Block 49 + 0: SymC &a 61 + 1: Add 543 + Private Attributes: + backedges: +" +color: green} +node: {title: "n542n61" label: "SymC &a 61" info1: "SymC &a 61 + mode: P + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 36 + Private Attributes: + kind: addr_ent + entity: entity GlobalType.a (31) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} edge: {sourcename: "n542" targetname: "n542n61" label: "0" class:16 priority:10} edge: {sourcename: "n542" targetname: "n543" label: "1" class:16 priority:10} -node: {title: "n559" label: "AddP 559" info1: "mode: P -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 2 -"} -node: {title: "n559n61" label: "SymC &a 61" info1: "mode: P -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -kind: addr_ent -entity GlobalType.a (31) +node: {title: "n559" label: "AddP 559" info1: "Add 559 + mode: P + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 2 + pred nodes: + -1: Block 49 + 0: SymC &a 61 + 1: Mul 555 + Private Attributes: +" +} +node: {title: "n559n61" label: "SymC &a 61" info1: "SymC &a 61 + mode: P + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 36 + Private Attributes: + kind: addr_ent + entity: entity GlobalType.a (31) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} edge: {sourcename: "n559" targetname: "n559n61" label: "0" class:16 priority:10} edge: {sourcename: "n559" targetname: "n555" label: "1" class:16 priority:10} -node: {title: "n55" label: "ProjX 0 55" info1: "mode: X -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 1 -"color: yellow} +node: {title: "n55" label: "ProjX 0 55" info1: "Proj 55 + mode: X + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 1 + pred nodes: + -1: Block 49 + 0: Cond 54 + Private Attributes: +" +color: yellow} edge: {sourcename: "n55" targetname: "n54" label: "0" class:13 priority:60 color:red} -node: {title: "n56" label: "ProjX 1 56" info1: "mode: X -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 1 -"color: yellow} +node: {title: "n56" label: "ProjX 1 56" info1: "Proj 56 + mode: X + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 1 + pred nodes: + -1: Block 49 + 0: Cond 54 + Private Attributes: +" +color: yellow} edge: {sourcename: "n56" targetname: "n54" label: "0" class:13 priority:60 color:red} -node: {title: "n54" label: "Cond 54" info1: "mode: T -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 1 -"} +node: {title: "n54" label: "Cond 54" info1: "Cond 54 + mode: T + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 1 + pred nodes: + -1: Block 49 + 0: Proj 53 + Private Attributes: + condition kind: dense + default ProjNr: 0 +" +} edge: {sourcename: "n54" targetname: "n53" label: "0" class:1 priority:50} -node: {title: "n53" label: "Projb Gt 53" info1: "mode: b -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 1 -"color: yellow} +node: {title: "n53" label: "Projb Gt 53" info1: "Proj 53 + mode: b + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 1 + pred nodes: + -1: Block 49 + 0: Cmp 52 + Private Attributes: +" +color: yellow} edge: {sourcename: "n53" targetname: "n52" label: "0" class:1 priority:50} -node: {title: "n52" label: "Cmp 52" info1: "mode: T -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 2 -"} -node: {title: "n52n51" label: "0xAIs 51" info1: "mode: Is -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n52" label: "Cmp 52" info1: "Cmp 52 + mode: T + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 2 + pred nodes: + -1: Block 49 + 0: 0xA 51 + 1: Phi 92 + Private Attributes: +" +} +node: {title: "n52n51" label: "0xAIs 51" info1: "0xA 51 + mode: Is + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 36 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n52" targetname: "n52n51" label: "0" class:16 priority:10} edge: {sourcename: "n52" targetname: "n92" label: "1" class:1 priority:50} -node: {title: "n92" label: "PhiIs 92" info1: "mode: Is -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 2 backedges: -"color: green} -node: {title: "n92n47" label: "0x0Is 47" info1: "mode: Is -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n92" label: "PhiIs 92" info1: "Phi 92 + mode: Is + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 2 + pred nodes: + -1: Block 49 + 0: 0x0 47 + 1: Add 84 + Private Attributes: + backedges: +" +color: green} +node: {title: "n92n47" label: "0x0Is 47" info1: "0x0 47 + mode: Is + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 36 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n92" targetname: "n92n47" label: "0" class:16 priority:10} edge: {sourcename: "n92" targetname: "n84" label: "1" class:16 priority:10} } graph: { title: "n46" label: "Block 46" status:clustered color:yellow edge: {sourcename: "n46" targetname: "n40" label: "0" class:13 priority:60 color:red} -node: {title: "n48" label: "Jmp 48" info1: "mode: X -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -"} +node: {title: "n48" label: "Jmp 48" info1: "Jmp 48 + mode: X + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 46 + Private Attributes: +" +} } graph: { title: "n57" label: "Block 57" status:clustered color:yellow edge: {sourcename: "n57" targetname: "n56" label: "0" class:13 priority:60 color:red} -node: {title: "n83" label: "ProjM 0 83" info1: "mode: M -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 1 -"color: yellow} +node: {title: "n83" label: "ProjM 0 83" info1: "Proj 83 + mode: M + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 1 + pred nodes: + -1: Block 57 + 0: Store 81 + Private Attributes: +" +color: yellow} edge: {sourcename: "n83" targetname: "n81" label: "0" class:17 priority:10 color:blue} -node: {title: "n81" label: "Store 81" info1: "mode: T -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 3 -volatility: volatility_non_volatile -"} -node: {title: "n81n80" label: "0xFIs 80" info1: "mode: Is -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n81" label: "Store 81" info1: "Store 81 + mode: T + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 3 + pred nodes: + -1: Block 57 + 0: Proj 76 + 1: Phi 542 + 2: 0xF 80 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} +node: {title: "n81n80" label: "0xFIs 80" info1: "0xF 80 + mode: Is + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 36 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n81" targetname: "n76" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n81" targetname: "n542" label: "1" class:16 priority:10} edge: {sourcename: "n81" targetname: "n81n80" label: "2" class:16 priority:10} -node: {title: "n76" label: "ProjM 0 76" info1: "mode: M -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 1 -"color: yellow} +node: {title: "n76" label: "ProjM 0 76" info1: "Proj 76 + mode: M + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 1 + pred nodes: + -1: Block 57 + 0: Store 74 + Private Attributes: +" +color: yellow} edge: {sourcename: "n76" targetname: "n74" label: "0" class:17 priority:10 color:blue} -node: {title: "n74" label: "Store 74" info1: "mode: T -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 3 -volatility: volatility_non_volatile -"} -node: {title: "n74n73" label: "0x10Is 73" info1: "mode: Is -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n74" label: "Store 74" info1: "Store 74 + mode: T + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 3 + pred nodes: + -1: Block 57 + 0: Proj 72 + 1: Phi 550 + 2: 0x10 73 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} +node: {title: "n74n73" label: "0x10Is 73" info1: "0x10 73 + mode: Is + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 36 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n74" targetname: "n72" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n74" targetname: "n550" label: "1" class:16 priority:10} edge: {sourcename: "n74" targetname: "n74n73" label: "2" class:16 priority:10} -node: {title: "n72" label: "ProjM 0 72" info1: "mode: M -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 1 -"color: yellow} +node: {title: "n72" label: "ProjM 0 72" info1: "Proj 72 + mode: M + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 1 + pred nodes: + -1: Block 57 + 0: Store 70 + Private Attributes: +" +color: yellow} edge: {sourcename: "n72" targetname: "n70" label: "0" class:17 priority:10 color:blue} -node: {title: "n70" label: "Store 70" info1: "mode: T -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 3 -volatility: volatility_non_volatile -"} -node: {title: "n70n68" label: "0x13Is 68" info1: "mode: Is -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n70" label: "Store 70" info1: "Store 70 + mode: T + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 3 + pred nodes: + -1: Block 57 + 0: Phi 91 + 1: Phi 542 + 2: 0x13 68 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} +node: {title: "n70n68" label: "0x13Is 68" info1: "0x13 68 + mode: Is + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 36 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n70" targetname: "n91" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n70" targetname: "n542" label: "1" class:16 priority:10} edge: {sourcename: "n70" targetname: "n70n68" label: "2" class:16 priority:10} -node: {title: "n551" label: "AddP 551" info1: "mode: P -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 2 -"} -node: {title: "n551n60" label: "0xCIs 60" info1: "mode: Is -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n551" label: "AddP 551" info1: "Add 551 + mode: P + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 2 + pred nodes: + -1: Block 57 + 0: 0xC 60 + 1: Phi 550 + Private Attributes: +" +} +node: {title: "n551n60" label: "0xCIs 60" info1: "0xC 60 + mode: Is + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 36 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n551" targetname: "n551n60" label: "0" class:16 priority:10} edge: {sourcename: "n551" targetname: "n550" label: "1" class:16 priority:10} -node: {title: "n543" label: "AddP 543" info1: "mode: P -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 2 -"} -node: {title: "n543n59" label: "0x4Is 59" info1: "mode: Is -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n543" label: "AddP 543" info1: "Add 543 + mode: P + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 2 + pred nodes: + -1: Block 57 + 0: 0x4 59 + 1: Phi 542 + Private Attributes: +" +} +node: {title: "n543n59" label: "0x4Is 59" info1: "0x4 59 + mode: Is + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 36 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n543" targetname: "n543n59" label: "0" class:16 priority:10} edge: {sourcename: "n543" targetname: "n542" label: "1" class:16 priority:10} -node: {title: "n85" label: "Jmp 85" info1: "mode: X -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -"} -node: {title: "n84" label: "AddIs 84" info1: "mode: Is -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 2 -"} -node: {title: "n84n58" label: "0x1Is 58" info1: "mode: Is -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n85" label: "Jmp 85" info1: "Jmp 85 + mode: X + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 57 + Private Attributes: +" +} +node: {title: "n84" label: "AddIs 84" info1: "Add 84 + mode: Is + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 2 + pred nodes: + -1: Block 57 + 0: 0x1 58 + 1: Phi 92 + Private Attributes: +" +} +node: {title: "n84n58" label: "0x1Is 58" info1: "0x1 58 + mode: Is + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 36 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n84" targetname: "n84n58" label: "0" class:16 priority:10} edge: {sourcename: "n84" targetname: "n92" label: "1" class:16 priority:10} } graph: { title: "n103" label: "Block 103" status:clustered color:yellow edge: {sourcename: "n103" targetname: "n100" label: "0" class:13 priority:60 color:red} -node: {title: "n112" label: "ProjM 0 112" info1: "mode: M -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 1 -"color: yellow} +node: {title: "n112" label: "ProjM 0 112" info1: "Proj 112 + mode: M + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 1 + pred nodes: + -1: Block 103 + 0: Store 110 + Private Attributes: +" +color: yellow} edge: {sourcename: "n112" targetname: "n110" label: "0" class:17 priority:10 color:blue} -node: {title: "n110" label: "Store 110" info1: "mode: T -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 3 -volatility: volatility_non_volatile -"} -node: {title: "n110n68" label: "0x13Is 68" info1: "mode: Is -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n110" label: "Store 110" info1: "Store 110 + mode: T + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 3 + pred nodes: + -1: Block 103 + 0: Phi 120 + 1: Phi 557 + 2: 0x13 68 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} +node: {title: "n110n68" label: "0x13Is 68" info1: "0x13 68 + mode: Is + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 36 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n110" targetname: "n120" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n110" targetname: "n557" label: "1" class:16 priority:10} edge: {sourcename: "n110" targetname: "n110n68" label: "2" class:16 priority:10} -node: {title: "n558" label: "AddP 558" info1: "mode: P -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 2 -"} -node: {title: "n558n554" label: "0xFFFFFFFCIs 554" info1: "mode: Is -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n558" label: "AddP 558" info1: "Add 558 + mode: P + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 2 + pred nodes: + -1: Block 103 + 0: 0xFFFFFFFC 554 + 1: Phi 557 + Private Attributes: +" +} +node: {title: "n558n554" label: "0xFFFFFFFCIs 554" info1: "0xFFFFFFFC 554 + mode: Is + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 36 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n558" targetname: "n558n554" label: "0" class:16 priority:10} edge: {sourcename: "n558" targetname: "n557" label: "1" class:16 priority:10} -node: {title: "n114" label: "Jmp 114" info1: "mode: X -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -"} +node: {title: "n114" label: "Jmp 114" info1: "Jmp 114 + mode: X + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 103 + Private Attributes: +" +} } graph: { title: "n34" label: "Block 34" status:clustered color:yellow edge: {sourcename: "n34" targetname: "n34n38" label: "0" class:13 priority:60 color:red} -node: {title: "n35" label: "End 35" info1: "mode: X -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 3 -"color: blue} +node: {title: "n35" label: "End 35" info1: "End 35 + mode: X + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 3 + pred nodes: + -1: Block 34 + 0: Phi 91 + 1: Block 93 + 2: Phi 120 + Private Attributes: +" +color: blue} +} +node: {title: "n34n38" label: "Bad 38" info1: "Bad 38 + mode: T + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 36 + Private Attributes: + pinned state: op_pin_state_pinned +" } -node: {title: "n34n38" label: "Bad 38" info1: "mode: T -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -"} graph: { title: "n36" label: "Block 36" status:clustered color:yellow edge: {sourcename: "n36" targetname: "n40" label: "0" class:13 priority:60 color:red} -node: {title: "n43" label: "ProjM 1 43" info1: "mode: M -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 1 -"color: yellow} +node: {title: "n43" label: "ProjM 1 43" info1: "Proj 43 + mode: M + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 1 + pred nodes: + -1: Block 36 + 0: Start 37 + Private Attributes: +" +color: yellow} edge: {sourcename: "n43" targetname: "n37" label: "0" class:17 priority:10 color:blue} -node: {title: "n40" label: "ProjX 0 40" info1: "mode: X -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 1 -"color: yellow} +node: {title: "n40" label: "ProjX 0 40" info1: "Proj 40 + mode: X + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 1 + pred nodes: + -1: Block 36 + 0: Start 37 + Private Attributes: +" +color: yellow} edge: {sourcename: "n40" targetname: "n37" label: "0" class:13 priority:60 color:red} -node: {title: "n37" label: "Start 37" info1: "mode: T -visited: 37 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -start of method of type STRENGTH_RED_EXAMPLE_meth_tp - param 0 type: int -"color: blue} +node: {title: "n37" label: "Start 37" info1: "Start 37 + mode: T + visited: 37 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 36 + Private Attributes: + start of method of type STRENGTH_RED_EXAMPLE_meth_tp + param 0 type: int +" +color: blue} } } diff --git a/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m1.vcg b/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m1.vcg index 02c79d6fa..d09eb81a5 100644 --- a/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m1.vcg +++ b/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m1.vcg @@ -56,348 +56,650 @@ graph: { title: "g45" label: "STRENGTH_RED_EXAMPLE_m1" status:clustered color:wh graph: { title: "n93" label: "Block 93" status:clustered color:yellow edge: {sourcename: "n93" targetname: "n55" label: "0" class:13 priority:60 color:red} backedge: {sourcename: "n93" targetname: "n114" label: "1" linestyle:dashed class:13 priority:60 color:red} -node: {title: "n120" label: "PhiM 120" info1: "mode: M -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 2 backedges: 1 -"color: green} +node: {title: "n120" label: "PhiM 120" info1: "Phi 120 + mode: M + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 2 + pred nodes: + -1: Block 93 + 0: Phi 91 + 1: be Proj 112 + Private Attributes: + backedges: 1 +" +color: green} edge: {sourcename: "n120" targetname: "n91" label: "0" class:17 priority:10 color:blue} backedge: {sourcename: "n120" targetname: "n112" label: "1" linestyle:dashed class:17 priority:10 color:blue} -node: {title: "n119" label: "PhiIs 119" info1: "mode: Is -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 2 backedges: 1 -"color: green} +node: {title: "n119" label: "PhiIs 119" info1: "Phi 119 + mode: Is + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 2 + pred nodes: + -1: Block 93 + 0: Phi 92 + 1: be Sub 113 + Private Attributes: + backedges: 1 +" +color: green} edge: {sourcename: "n119" targetname: "n92" label: "0" class:16 priority:10} backedge: {sourcename: "n119" targetname: "n113" label: "1" linestyle:dashed class:16 priority:10} -node: {title: "n100" label: "Jmp 100" info1: "mode: X -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -"} +node: {title: "n100" label: "Jmp 100" info1: "Jmp 100 + mode: X + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 93 + Private Attributes: +" +} } graph: { title: "n49" label: "Block 49" status:clustered color:yellow edge: {sourcename: "n49" targetname: "n48" label: "0" class:13 priority:60 color:red} backedge: {sourcename: "n49" targetname: "n85" label: "1" linestyle:dashed class:13 priority:60 color:red} -node: {title: "n91" label: "PhiM 91" info1: "mode: M -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 2 backedges: 1 -"color: green} +node: {title: "n91" label: "PhiM 91" info1: "Phi 91 + mode: M + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 2 + pred nodes: + -1: Block 49 + 0: Proj 43 + 1: be Proj 83 + Private Attributes: + backedges: 1 +" +color: green} edge: {sourcename: "n91" targetname: "n43" label: "0" class:17 priority:10 color:blue} backedge: {sourcename: "n91" targetname: "n83" label: "1" linestyle:dashed class:17 priority:10 color:blue} -node: {title: "n55" label: "ProjX 0 55" info1: "mode: X -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 1 -"color: yellow} +node: {title: "n55" label: "ProjX 0 55" info1: "Proj 55 + mode: X + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 1 + pred nodes: + -1: Block 49 + 0: Cond 54 + Private Attributes: +" +color: yellow} edge: {sourcename: "n55" targetname: "n54" label: "0" class:13 priority:60 color:red} -node: {title: "n56" label: "ProjX 1 56" info1: "mode: X -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 1 -"color: yellow} +node: {title: "n56" label: "ProjX 1 56" info1: "Proj 56 + mode: X + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 1 + pred nodes: + -1: Block 49 + 0: Cond 54 + Private Attributes: +" +color: yellow} edge: {sourcename: "n56" targetname: "n54" label: "0" class:13 priority:60 color:red} -node: {title: "n54" label: "Cond 54" info1: "mode: T -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 1 -"} +node: {title: "n54" label: "Cond 54" info1: "Cond 54 + mode: T + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 1 + pred nodes: + -1: Block 49 + 0: Proj 53 + Private Attributes: + condition kind: dense + default ProjNr: 0 +" +} edge: {sourcename: "n54" targetname: "n53" label: "0" class:1 priority:50} -node: {title: "n53" label: "Projb Gt 53" info1: "mode: b -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 1 -"color: yellow} +node: {title: "n53" label: "Projb Gt 53" info1: "Proj 53 + mode: b + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 1 + pred nodes: + -1: Block 49 + 0: Cmp 52 + Private Attributes: +" +color: yellow} edge: {sourcename: "n53" targetname: "n52" label: "0" class:1 priority:50} -node: {title: "n52" label: "Cmp 52" info1: "mode: T -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 2 -"} -node: {title: "n52n51" label: "0xAIs 51" info1: "mode: Is -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n52" label: "Cmp 52" info1: "Cmp 52 + mode: T + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 2 + pred nodes: + -1: Block 49 + 0: 0xA 51 + 1: Phi 92 + Private Attributes: +" +} +node: {title: "n52n51" label: "0xAIs 51" info1: "0xA 51 + mode: Is + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 36 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n52" targetname: "n52n51" label: "0" class:16 priority:10} edge: {sourcename: "n52" targetname: "n92" label: "1" class:1 priority:50} -node: {title: "n92" label: "PhiIs 92" info1: "mode: Is -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 2 backedges: 1 -"color: green} -node: {title: "n92n47" label: "0x0Is 47" info1: "mode: Is -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n92" label: "PhiIs 92" info1: "Phi 92 + mode: Is + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 2 + pred nodes: + -1: Block 49 + 0: 0x0 47 + 1: be Add 84 + Private Attributes: + backedges: 1 +" +color: green} +node: {title: "n92n47" label: "0x0Is 47" info1: "0x0 47 + mode: Is + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 36 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n92" targetname: "n92n47" label: "0" class:16 priority:10} backedge: {sourcename: "n92" targetname: "n84" label: "1" linestyle:dashed class:16 priority:10} } graph: { title: "n46" label: "Block 46" status:clustered color:yellow edge: {sourcename: "n46" targetname: "n40" label: "0" class:13 priority:60 color:red} -node: {title: "n48" label: "Jmp 48" info1: "mode: X -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -"} +node: {title: "n48" label: "Jmp 48" info1: "Jmp 48 + mode: X + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 46 + Private Attributes: +" +} } graph: { title: "n57" label: "Block 57" status:clustered color:yellow edge: {sourcename: "n57" targetname: "n56" label: "0" class:13 priority:60 color:red} -node: {title: "n83" label: "ProjM 0 83" info1: "mode: M -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 1 -"color: yellow} +node: {title: "n83" label: "ProjM 0 83" info1: "Proj 83 + mode: M + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 1 + pred nodes: + -1: Block 57 + 0: Store 81 + Private Attributes: +" +color: yellow} edge: {sourcename: "n83" targetname: "n81" label: "0" class:17 priority:10 color:blue} -node: {title: "n81" label: "Store 81" info1: "mode: T -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 3 -volatility: volatility_non_volatile -"} -node: {title: "n81n80" label: "0xFIs 80" info1: "mode: Is -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n81" label: "Store 81" info1: "Store 81 + mode: T + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 3 + pred nodes: + -1: Block 57 + 0: Proj 76 + 1: Add 65 + 2: 0xF 80 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} +node: {title: "n81n80" label: "0xFIs 80" info1: "0xF 80 + mode: Is + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 36 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n81" targetname: "n76" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n81" targetname: "n65" label: "1" class:1 priority:50} edge: {sourcename: "n81" targetname: "n81n80" label: "2" class:16 priority:10} -node: {title: "n76" label: "ProjM 0 76" info1: "mode: M -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 1 -"color: yellow} +node: {title: "n76" label: "ProjM 0 76" info1: "Proj 76 + mode: M + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 1 + pred nodes: + -1: Block 57 + 0: Store 74 + Private Attributes: +" +color: yellow} edge: {sourcename: "n76" targetname: "n74" label: "0" class:17 priority:10 color:blue} -node: {title: "n74" label: "Store 74" info1: "mode: T -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 3 -volatility: volatility_non_volatile -"} -node: {title: "n74n73" label: "0x10Is 73" info1: "mode: Is -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n74" label: "Store 74" info1: "Store 74 + mode: T + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 3 + pred nodes: + -1: Block 57 + 0: Proj 72 + 1: Add 67 + 2: 0x10 73 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} +node: {title: "n74n73" label: "0x10Is 73" info1: "0x10 73 + mode: Is + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 36 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n74" targetname: "n72" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n74" targetname: "n67" label: "1" class:1 priority:50} edge: {sourcename: "n74" targetname: "n74n73" label: "2" class:16 priority:10} -node: {title: "n72" label: "ProjM 0 72" info1: "mode: M -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 1 -"color: yellow} +node: {title: "n72" label: "ProjM 0 72" info1: "Proj 72 + mode: M + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 1 + pred nodes: + -1: Block 57 + 0: Store 70 + Private Attributes: +" +color: yellow} edge: {sourcename: "n72" targetname: "n70" label: "0" class:17 priority:10 color:blue} -node: {title: "n70" label: "Store 70" info1: "mode: T -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 3 -volatility: volatility_non_volatile -"} -node: {title: "n70n68" label: "0x13Is 68" info1: "mode: Is -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n70" label: "Store 70" info1: "Store 70 + mode: T + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 3 + pred nodes: + -1: Block 57 + 0: Phi 91 + 1: Add 65 + 2: 0x13 68 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} +node: {title: "n70n68" label: "0x13Is 68" info1: "0x13 68 + mode: Is + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 36 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n70" targetname: "n91" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n70" targetname: "n65" label: "1" class:1 priority:50} edge: {sourcename: "n70" targetname: "n70n68" label: "2" class:16 priority:10} -node: {title: "n67" label: "AddP 67" info1: "mode: P -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 2 -"} -node: {title: "n67n62" label: "SymC &a2 62" info1: "mode: P -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -kind: addr_ent -entity GlobalType.a2 (32) +node: {title: "n67" label: "AddP 67" info1: "Add 67 + mode: P + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 2 + pred nodes: + -1: Block 57 + 0: SymC &a2 62 + 1: Mul 66 + Private Attributes: +" +} +node: {title: "n67n62" label: "SymC &a2 62" info1: "SymC &a2 62 + mode: P + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 36 + Private Attributes: + kind: addr_ent + entity: entity GlobalType.a2 (32) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} edge: {sourcename: "n67" targetname: "n67n62" label: "0" class:16 priority:10} edge: {sourcename: "n67" targetname: "n66" label: "1" class:1 priority:50} -node: {title: "n66" label: "MulIs 66" info1: "mode: Is -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 2 -"} -node: {title: "n66n60" label: "0xCIs 60" info1: "mode: Is -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n66" label: "MulIs 66" info1: "Mul 66 + mode: Is + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 2 + pred nodes: + -1: Block 57 + 0: 0xC 60 + 1: Phi 92 + Private Attributes: +" +} +node: {title: "n66n60" label: "0xCIs 60" info1: "0xC 60 + mode: Is + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 36 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n66" targetname: "n66n60" label: "0" class:16 priority:10} edge: {sourcename: "n66" targetname: "n92" label: "1" class:16 priority:10} -node: {title: "n65" label: "AddP 65" info1: "mode: P -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 2 -"} -node: {title: "n65n61" label: "SymC &a 61" info1: "mode: P -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -kind: addr_ent -entity GlobalType.a (31) +node: {title: "n65" label: "AddP 65" info1: "Add 65 + mode: P + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 2 + pred nodes: + -1: Block 57 + 0: SymC &a 61 + 1: Mul 64 + Private Attributes: +" +} +node: {title: "n65n61" label: "SymC &a 61" info1: "SymC &a 61 + mode: P + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 36 + Private Attributes: + kind: addr_ent + entity: entity GlobalType.a (31) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} edge: {sourcename: "n65" targetname: "n65n61" label: "0" class:16 priority:10} edge: {sourcename: "n65" targetname: "n64" label: "1" class:1 priority:50} -node: {title: "n64" label: "MulIs 64" info1: "mode: Is -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 2 -"} -node: {title: "n64n59" label: "0x4Is 59" info1: "mode: Is -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n64" label: "MulIs 64" info1: "Mul 64 + mode: Is + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 2 + pred nodes: + -1: Block 57 + 0: 0x4 59 + 1: Phi 92 + Private Attributes: +" +} +node: {title: "n64n59" label: "0x4Is 59" info1: "0x4 59 + mode: Is + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 36 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n64" targetname: "n64n59" label: "0" class:16 priority:10} edge: {sourcename: "n64" targetname: "n92" label: "1" class:16 priority:10} -node: {title: "n85" label: "Jmp 85" info1: "mode: X -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -"} -node: {title: "n84" label: "AddIs 84" info1: "mode: Is -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 2 -"} -node: {title: "n84n58" label: "0x1Is 58" info1: "mode: Is -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n85" label: "Jmp 85" info1: "Jmp 85 + mode: X + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 57 + Private Attributes: +" +} +node: {title: "n84" label: "AddIs 84" info1: "Add 84 + mode: Is + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 2 + pred nodes: + -1: Block 57 + 0: 0x1 58 + 1: Phi 92 + Private Attributes: +" +} +node: {title: "n84n58" label: "0x1Is 58" info1: "0x1 58 + mode: Is + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 36 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n84" targetname: "n84n58" label: "0" class:16 priority:10} edge: {sourcename: "n84" targetname: "n92" label: "1" class:16 priority:10} } graph: { title: "n103" label: "Block 103" status:clustered color:yellow edge: {sourcename: "n103" targetname: "n100" label: "0" class:13 priority:60 color:red} -node: {title: "n112" label: "ProjM 0 112" info1: "mode: M -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 1 -"color: yellow} +node: {title: "n112" label: "ProjM 0 112" info1: "Proj 112 + mode: M + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 1 + pred nodes: + -1: Block 103 + 0: Store 110 + Private Attributes: +" +color: yellow} edge: {sourcename: "n112" targetname: "n110" label: "0" class:17 priority:10 color:blue} -node: {title: "n110" label: "Store 110" info1: "mode: T -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 3 -volatility: volatility_non_volatile -"} -node: {title: "n110n68" label: "0x13Is 68" info1: "mode: Is -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n110" label: "Store 110" info1: "Store 110 + mode: T + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 3 + pred nodes: + -1: Block 103 + 0: Phi 120 + 1: Add 107 + 2: 0x13 68 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} +node: {title: "n110n68" label: "0x13Is 68" info1: "0x13 68 + mode: Is + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 36 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n110" targetname: "n120" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n110" targetname: "n107" label: "1" class:1 priority:50} edge: {sourcename: "n110" targetname: "n110n68" label: "2" class:16 priority:10} -node: {title: "n107" label: "AddP 107" info1: "mode: P -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 2 -"} -node: {title: "n107n61" label: "SymC &a 61" info1: "mode: P -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -kind: addr_ent -entity GlobalType.a (31) +node: {title: "n107" label: "AddP 107" info1: "Add 107 + mode: P + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 2 + pred nodes: + -1: Block 103 + 0: SymC &a 61 + 1: Mul 106 + Private Attributes: +" +} +node: {title: "n107n61" label: "SymC &a 61" info1: "SymC &a 61 + mode: P + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 36 + Private Attributes: + kind: addr_ent + entity: entity GlobalType.a (31) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} edge: {sourcename: "n107" targetname: "n107n61" label: "0" class:16 priority:10} edge: {sourcename: "n107" targetname: "n106" label: "1" class:1 priority:50} -node: {title: "n106" label: "MulIs 106" info1: "mode: Is -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 2 -"} -node: {title: "n106n59" label: "0x4Is 59" info1: "mode: Is -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n106" label: "MulIs 106" info1: "Mul 106 + mode: Is + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 2 + pred nodes: + -1: Block 103 + 0: 0x4 59 + 1: Phi 119 + Private Attributes: +" +} +node: {title: "n106n59" label: "0x4Is 59" info1: "0x4 59 + mode: Is + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 36 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n106" targetname: "n106n59" label: "0" class:16 priority:10} edge: {sourcename: "n106" targetname: "n119" label: "1" class:16 priority:10} -node: {title: "n113" label: "SubIs 113" info1: "mode: Is -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 2 -"} -node: {title: "n113n58" label: "0x1Is 58" info1: "mode: Is -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n113" label: "SubIs 113" info1: "Sub 113 + mode: Is + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 2 + pred nodes: + -1: Block 103 + 0: Phi 119 + 1: 0x1 58 + Private Attributes: +" +} +node: {title: "n113n58" label: "0x1Is 58" info1: "0x1 58 + mode: Is + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 36 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n113" targetname: "n119" label: "0" class:16 priority:10} edge: {sourcename: "n113" targetname: "n113n58" label: "1" class:16 priority:10} -node: {title: "n114" label: "Jmp 114" info1: "mode: X -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -"} +node: {title: "n114" label: "Jmp 114" info1: "Jmp 114 + mode: X + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 103 + Private Attributes: +" +} } graph: { title: "n34" label: "Block 34" status:clustered color:yellow edge: {sourcename: "n34" targetname: "n34n38" label: "0" class:13 priority:60 color:red} -node: {title: "n35" label: "End 35" info1: "mode: X -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 3 -"color: blue} +node: {title: "n35" label: "End 35" info1: "End 35 + mode: X + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 3 + pred nodes: + -1: Block 34 + 0: Phi 91 + 1: Block 93 + 2: Phi 120 + Private Attributes: +" +color: blue} +} +node: {title: "n34n38" label: "Bad 38" info1: "Bad 38 + mode: T + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 36 + Private Attributes: + pinned state: op_pin_state_pinned +" } -node: {title: "n34n38" label: "Bad 38" info1: "mode: T -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -"} graph: { title: "n36" label: "Block 36" status:clustered color:yellow edge: {sourcename: "n36" targetname: "n40" label: "0" class:13 priority:60 color:red} -node: {title: "n43" label: "ProjM 1 43" info1: "mode: M -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 1 -"color: yellow} +node: {title: "n43" label: "ProjM 1 43" info1: "Proj 43 + mode: M + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 1 + pred nodes: + -1: Block 36 + 0: Start 37 + Private Attributes: +" +color: yellow} edge: {sourcename: "n43" targetname: "n37" label: "0" class:17 priority:10 color:blue} -node: {title: "n40" label: "ProjX 0 40" info1: "mode: X -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 1 -"color: yellow} +node: {title: "n40" label: "ProjX 0 40" info1: "Proj 40 + mode: X + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 1 + pred nodes: + -1: Block 36 + 0: Start 37 + Private Attributes: +" +color: yellow} edge: {sourcename: "n40" targetname: "n37" label: "0" class:13 priority:60 color:red} -node: {title: "n37" label: "Start 37" info1: "mode: T -visited: 26 -irg: STRENGTH_RED_EXAMPLE_m1 -arity: 0 -start of method of type STRENGTH_RED_EXAMPLE_meth_tp - param 0 type: int -"color: blue} +node: {title: "n37" label: "Start 37" info1: "Start 37 + mode: T + visited: 26 + irg: STRENGTH_RED_EXAMPLE_m1 + arity: 0 + pred nodes: + -1: Block 36 + Private Attributes: + start of method of type STRENGTH_RED_EXAMPLE_meth_tp + param 0 type: int +" +color: blue} } } diff --git a/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m2-strength_reduced.vcg b/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m2-strength_reduced.vcg index 52dd0c2b9..e771bec95 100644 --- a/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m2-strength_reduced.vcg +++ b/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m2-strength_reduced.vcg @@ -55,28 +55,46 @@ colorentry 125: 255 250 250 graph: { title: "g148" label: "STRENGTH_RED_EXAMPLE_m2" status:clustered color:white graph: { title: "n137" label: "Block 137" status:clustered color:yellow edge: {sourcename: "n137" targetname: "n186" label: "0" class:13 priority:60 color:red} -node: {title: "n138" label: "End 138" info1: "mode: X -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 1 -"color: blue} +node: {title: "n138" label: "End 138" info1: "End 138 + mode: X + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 1 + pred nodes: + -1: Block 137 + 0: Phi 190 + Private Attributes: +" +color: blue} } graph: { title: "n183" label: "Block 183" status:clustered color:yellow edge: {sourcename: "n183" targetname: "n159" label: "0" class:13 priority:60 color:red} -node: {title: "n186" label: "Return 186" info1: "mode: X -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 2 -return in method of type STRENGTH_RED_EXAMPLE_meth_tp - res 0 type: int -"} -node: {title: "n186n165" label: "0x4Is 165" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n186" label: "Return 186" info1: "Return 186 + mode: X + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 2 + pred nodes: + -1: Block 183 + 0: Phi 190 + 1: 0x4 165 + Private Attributes: + return in method of type STRENGTH_RED_EXAMPLE_meth_tp + res 0 type: int +" +} +node: {title: "n186n165" label: "0x4Is 165" info1: "0x4 165 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 0 + pred nodes: + -1: Block 139 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n186" targetname: "n190" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n186" targetname: "n186n165" label: "1" class:16 priority:10} } @@ -84,213 +102,400 @@ edge: {sourcename: "n186" targetname: "n186n165" label: "1" class:16 priority:10 graph: { title: "n153" label: "Block 153" status:clustered color:yellow edge: {sourcename: "n153" targetname: "n152" label: "0" class:13 priority:60 color:red} backedge: {sourcename: "n153" targetname: "n177" label: "1" linestyle:dashed class:13 priority:60 color:red} -node: {title: "n190" label: "PhiM 190" info1: "mode: M -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 2 backedges: -"color: green} +node: {title: "n190" label: "PhiM 190" info1: "Phi 190 + mode: M + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 2 + pred nodes: + -1: Block 153 + 0: Proj 146 + 1: Proj 175 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n190" targetname: "n146" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n190" targetname: "n175" label: "1" class:17 priority:10 color:blue} -node: {title: "n573" label: "PhiIs 573" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 2 backedges: -"color: green} -node: {title: "n573n150" label: "0x0Is 150" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n573" label: "PhiIs 573" info1: "Phi 573 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 2 + pred nodes: + -1: Block 153 + 0: 0x0 150 + 1: Add 574 + Private Attributes: + backedges: +" +color: green} +node: {title: "n573n150" label: "0x0Is 150" info1: "0x0 150 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 0 + pred nodes: + -1: Block 139 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n573" targetname: "n573n150" label: "0" class:16 priority:10} edge: {sourcename: "n573" targetname: "n574" label: "1" class:16 priority:10} -node: {title: "n580" label: "PhiIs 580" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 2 backedges: -"color: green} -node: {title: "n580n150" label: "0x0Is 150" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n580" label: "PhiIs 580" info1: "Phi 580 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 2 + pred nodes: + -1: Block 153 + 0: 0x0 150 + 1: Add 581 + Private Attributes: + backedges: +" +color: green} +node: {title: "n580n150" label: "0x0Is 150" info1: "0x0 150 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 0 + pred nodes: + -1: Block 139 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n580" targetname: "n580n150" label: "0" class:16 priority:10} edge: {sourcename: "n580" targetname: "n581" label: "1" class:16 priority:10} -node: {title: "n159" label: "ProjX 0 159" info1: "mode: X -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 1 -"color: yellow} +node: {title: "n159" label: "ProjX 0 159" info1: "Proj 159 + mode: X + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 1 + pred nodes: + -1: Block 153 + 0: Cond 158 + Private Attributes: +" +color: yellow} edge: {sourcename: "n159" targetname: "n158" label: "0" class:13 priority:60 color:red} -node: {title: "n160" label: "ProjX 1 160" info1: "mode: X -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 1 -"color: yellow} +node: {title: "n160" label: "ProjX 1 160" info1: "Proj 160 + mode: X + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 1 + pred nodes: + -1: Block 153 + 0: Cond 158 + Private Attributes: +" +color: yellow} edge: {sourcename: "n160" targetname: "n158" label: "0" class:13 priority:60 color:red} -node: {title: "n158" label: "Cond 158" info1: "mode: T -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 1 -"} +node: {title: "n158" label: "Cond 158" info1: "Cond 158 + mode: T + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 1 + pred nodes: + -1: Block 153 + 0: Proj 157 + Private Attributes: + condition kind: dense + default ProjNr: 0 +" +} edge: {sourcename: "n158" targetname: "n157" label: "0" class:1 priority:50} -node: {title: "n157" label: "Projb Gt 157" info1: "mode: b -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 1 -"color: yellow} +node: {title: "n157" label: "Projb Gt 157" info1: "Proj 157 + mode: b + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 1 + pred nodes: + -1: Block 153 + 0: Cmp 156 + Private Attributes: +" +color: yellow} edge: {sourcename: "n157" targetname: "n156" label: "0" class:1 priority:50} -node: {title: "n156" label: "Cmp 156" info1: "mode: T -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 2 -"} -node: {title: "n156n155" label: "0xAIs 155" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n156" label: "Cmp 156" info1: "Cmp 156 + mode: T + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 2 + pred nodes: + -1: Block 153 + 0: 0xA 155 + 1: Phi 191 + Private Attributes: +" +} +node: {title: "n156n155" label: "0xAIs 155" info1: "0xA 155 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 0 + pred nodes: + -1: Block 139 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n156" targetname: "n156n155" label: "0" class:16 priority:10} edge: {sourcename: "n156" targetname: "n191" label: "1" class:1 priority:50} -node: {title: "n191" label: "PhiIs 191" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 2 backedges: -"color: green} -node: {title: "n191n150" label: "0x0Is 150" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n191" label: "PhiIs 191" info1: "Phi 191 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 2 + pred nodes: + -1: Block 153 + 0: 0x0 150 + 1: Add 176 + Private Attributes: + backedges: +" +color: green} +node: {title: "n191n150" label: "0x0Is 150" info1: "0x0 150 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 0 + pred nodes: + -1: Block 139 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n191" targetname: "n191n150" label: "0" class:16 priority:10} edge: {sourcename: "n191" targetname: "n176" label: "1" class:16 priority:10} } graph: { title: "n149" label: "Block 149" status:clustered color:yellow edge: {sourcename: "n149" targetname: "n143" label: "0" class:13 priority:60 color:red} -node: {title: "n152" label: "Jmp 152" info1: "mode: X -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 0 -"} +node: {title: "n152" label: "Jmp 152" info1: "Jmp 152 + mode: X + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 0 + pred nodes: + -1: Block 149 + Private Attributes: +" +} } graph: { title: "n161" label: "Block 161" status:clustered color:yellow edge: {sourcename: "n161" targetname: "n160" label: "0" class:13 priority:60 color:red} -node: {title: "n175" label: "ProjM 0 175" info1: "mode: M -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 1 -"color: yellow} +node: {title: "n175" label: "ProjM 0 175" info1: "Proj 175 + mode: M + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 1 + pred nodes: + -1: Block 161 + 0: Store 173 + Private Attributes: +" +color: yellow} edge: {sourcename: "n175" targetname: "n173" label: "0" class:17 priority:10 color:blue} -node: {title: "n173" label: "Store 173" info1: "mode: T -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n173" label: "Store 173" info1: "Store 173 + mode: T + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 3 + pred nodes: + -1: Block 161 + 0: Phi 190 + 1: Add 565 + 2: Phi 580 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n173" targetname: "n190" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n173" targetname: "n565" label: "1" class:1 priority:50} edge: {sourcename: "n173" targetname: "n580" label: "2" class:16 priority:10} -node: {title: "n565" label: "AddP 565" info1: "mode: P -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 2 -"} +node: {title: "n565" label: "AddP 565" info1: "Add 565 + mode: P + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 2 + pred nodes: + -1: Block 161 + 0: Phi 573 + 1: Add 564 + Private Attributes: +" +} edge: {sourcename: "n565" targetname: "n573" label: "0" class:16 priority:10} edge: {sourcename: "n565" targetname: "n564" label: "1" class:1 priority:50} -node: {title: "n574" label: "AddIs 574" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 2 -"} -node: {title: "n574n165" label: "0x4Is 165" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n574" label: "AddIs 574" info1: "Add 574 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 2 + pred nodes: + -1: Block 161 + 0: 0x4 165 + 1: Phi 573 + Private Attributes: +" +} +node: {title: "n574n165" label: "0x4Is 165" info1: "0x4 165 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 0 + pred nodes: + -1: Block 139 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n574" targetname: "n574n165" label: "0" class:16 priority:10} edge: {sourcename: "n574" targetname: "n573" label: "1" class:16 priority:10} -node: {title: "n564" label: "AddP 564" info1: "mode: P -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 2 -"} -node: {title: "n564n151" label: "SymC &a 151" info1: "mode: P -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 0 -kind: addr_ent -entity GlobalType.a (135) +node: {title: "n564" label: "AddP 564" info1: "Add 564 + mode: P + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 2 + pred nodes: + -1: Block 161 + 0: SymC &a 151 + 1: 0xD 163 + Private Attributes: +" +} +node: {title: "n564n151" label: "SymC &a 151" info1: "SymC &a 151 + mode: P + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 0 + pred nodes: + -1: Block 139 + Private Attributes: + kind: addr_ent + entity: entity GlobalType.a (135) -SymConst of type: type_unknown -"} -node: {title: "n564n163" label: "0xDIs 163" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 0 -Const of type type_unknown -"color: yellow} + type of value: type_unknown +" +} +node: {title: "n564n163" label: "0xDIs 163" info1: "0xD 163 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 0 + pred nodes: + -1: Block 139 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n564" targetname: "n564n151" label: "0" class:16 priority:10} edge: {sourcename: "n564" targetname: "n564n163" label: "1" class:16 priority:10} -node: {title: "n581" label: "AddIs 581" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 2 -"} -node: {title: "n581n162" label: "0xFIs 162" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n581" label: "AddIs 581" info1: "Add 581 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 2 + pred nodes: + -1: Block 161 + 0: 0xF 162 + 1: Phi 580 + Private Attributes: +" +} +node: {title: "n581n162" label: "0xFIs 162" info1: "0xF 162 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 0 + pred nodes: + -1: Block 139 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n581" targetname: "n581n162" label: "0" class:16 priority:10} edge: {sourcename: "n581" targetname: "n580" label: "1" class:16 priority:10} -node: {title: "n177" label: "Jmp 177" info1: "mode: X -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 0 -"} -node: {title: "n176" label: "AddIs 176" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 2 -"} -node: {title: "n176n164" label: "0x1Is 164" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n177" label: "Jmp 177" info1: "Jmp 177 + mode: X + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 0 + pred nodes: + -1: Block 161 + Private Attributes: +" +} +node: {title: "n176" label: "AddIs 176" info1: "Add 176 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 2 + pred nodes: + -1: Block 161 + 0: 0x1 164 + 1: Phi 191 + Private Attributes: +" +} +node: {title: "n176n164" label: "0x1Is 164" info1: "0x1 164 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 0 + pred nodes: + -1: Block 139 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n176" targetname: "n176n164" label: "0" class:16 priority:10} edge: {sourcename: "n176" targetname: "n191" label: "1" class:16 priority:10} } graph: { title: "n139" label: "Block 139" status:clustered color:yellow edge: {sourcename: "n139" targetname: "n143" label: "0" class:13 priority:60 color:red} -node: {title: "n146" label: "ProjM 1 146" info1: "mode: M -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 1 -"color: yellow} +node: {title: "n146" label: "ProjM 1 146" info1: "Proj 146 + mode: M + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 1 + pred nodes: + -1: Block 139 + 0: Start 140 + Private Attributes: +" +color: yellow} edge: {sourcename: "n146" targetname: "n140" label: "0" class:17 priority:10 color:blue} -node: {title: "n143" label: "ProjX 0 143" info1: "mode: X -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 1 -"color: yellow} +node: {title: "n143" label: "ProjX 0 143" info1: "Proj 143 + mode: X + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 1 + pred nodes: + -1: Block 139 + 0: Start 140 + Private Attributes: +" +color: yellow} edge: {sourcename: "n143" targetname: "n140" label: "0" class:13 priority:60 color:red} -node: {title: "n140" label: "Start 140" info1: "mode: T -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 0 -start of method of type STRENGTH_RED_EXAMPLE_meth_tp - param 0 type: int -"color: blue} +node: {title: "n140" label: "Start 140" info1: "Start 140 + mode: T + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 0 + pred nodes: + -1: Block 139 + Private Attributes: + start of method of type STRENGTH_RED_EXAMPLE_meth_tp + param 0 type: int +" +color: blue} } } diff --git a/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m2.vcg b/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m2.vcg index 2f54dab04..5bbef0ba2 100644 --- a/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m2.vcg +++ b/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m2.vcg @@ -55,28 +55,46 @@ colorentry 125: 255 250 250 graph: { title: "g148" label: "STRENGTH_RED_EXAMPLE_m2" status:clustered color:white graph: { title: "n137" label: "Block 137" status:clustered color:yellow edge: {sourcename: "n137" targetname: "n186" label: "0" class:13 priority:60 color:red} -node: {title: "n138" label: "End 138" info1: "mode: X -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 1 -"color: blue} +node: {title: "n138" label: "End 138" info1: "End 138 + mode: X + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 1 + pred nodes: + -1: Block 137 + 0: Phi 190 + Private Attributes: +" +color: blue} } graph: { title: "n183" label: "Block 183" status:clustered color:yellow edge: {sourcename: "n183" targetname: "n159" label: "0" class:13 priority:60 color:red} -node: {title: "n186" label: "Return 186" info1: "mode: X -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 2 -return in method of type STRENGTH_RED_EXAMPLE_meth_tp - res 0 type: int -"} -node: {title: "n186n165" label: "0x4Is 165" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n186" label: "Return 186" info1: "Return 186 + mode: X + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 2 + pred nodes: + -1: Block 183 + 0: Phi 190 + 1: 0x4 165 + Private Attributes: + return in method of type STRENGTH_RED_EXAMPLE_meth_tp + res 0 type: int +" +} +node: {title: "n186n165" label: "0x4Is 165" info1: "0x4 165 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 0 + pred nodes: + -1: Block 139 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n186" targetname: "n190" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n186" targetname: "n186n165" label: "1" class:16 priority:10} } @@ -84,187 +102,348 @@ edge: {sourcename: "n186" targetname: "n186n165" label: "1" class:16 priority:10 graph: { title: "n153" label: "Block 153" status:clustered color:yellow edge: {sourcename: "n153" targetname: "n152" label: "0" class:13 priority:60 color:red} backedge: {sourcename: "n153" targetname: "n177" label: "1" linestyle:dashed class:13 priority:60 color:red} -node: {title: "n190" label: "PhiM 190" info1: "mode: M -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 2 backedges: 1 -"color: green} +node: {title: "n190" label: "PhiM 190" info1: "Phi 190 + mode: M + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 2 + pred nodes: + -1: Block 153 + 0: Proj 146 + 1: be Proj 175 + Private Attributes: + backedges: 1 +" +color: green} edge: {sourcename: "n190" targetname: "n146" label: "0" class:17 priority:10 color:blue} backedge: {sourcename: "n190" targetname: "n175" label: "1" linestyle:dashed class:17 priority:10 color:blue} -node: {title: "n159" label: "ProjX 0 159" info1: "mode: X -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 1 -"color: yellow} +node: {title: "n159" label: "ProjX 0 159" info1: "Proj 159 + mode: X + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 1 + pred nodes: + -1: Block 153 + 0: Cond 158 + Private Attributes: +" +color: yellow} edge: {sourcename: "n159" targetname: "n158" label: "0" class:13 priority:60 color:red} -node: {title: "n160" label: "ProjX 1 160" info1: "mode: X -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 1 -"color: yellow} +node: {title: "n160" label: "ProjX 1 160" info1: "Proj 160 + mode: X + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 1 + pred nodes: + -1: Block 153 + 0: Cond 158 + Private Attributes: +" +color: yellow} edge: {sourcename: "n160" targetname: "n158" label: "0" class:13 priority:60 color:red} -node: {title: "n158" label: "Cond 158" info1: "mode: T -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 1 -"} +node: {title: "n158" label: "Cond 158" info1: "Cond 158 + mode: T + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 1 + pred nodes: + -1: Block 153 + 0: Proj 157 + Private Attributes: + condition kind: dense + default ProjNr: 0 +" +} edge: {sourcename: "n158" targetname: "n157" label: "0" class:1 priority:50} -node: {title: "n157" label: "Projb Gt 157" info1: "mode: b -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 1 -"color: yellow} +node: {title: "n157" label: "Projb Gt 157" info1: "Proj 157 + mode: b + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 1 + pred nodes: + -1: Block 153 + 0: Cmp 156 + Private Attributes: +" +color: yellow} edge: {sourcename: "n157" targetname: "n156" label: "0" class:1 priority:50} -node: {title: "n156" label: "Cmp 156" info1: "mode: T -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 2 -"} -node: {title: "n156n155" label: "0xAIs 155" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n156" label: "Cmp 156" info1: "Cmp 156 + mode: T + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 2 + pred nodes: + -1: Block 153 + 0: 0xA 155 + 1: Phi 191 + Private Attributes: +" +} +node: {title: "n156n155" label: "0xAIs 155" info1: "0xA 155 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 0 + pred nodes: + -1: Block 139 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n156" targetname: "n156n155" label: "0" class:16 priority:10} edge: {sourcename: "n156" targetname: "n191" label: "1" class:1 priority:50} -node: {title: "n191" label: "PhiIs 191" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 2 backedges: 1 -"color: green} -node: {title: "n191n150" label: "0x0Is 150" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n191" label: "PhiIs 191" info1: "Phi 191 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 2 + pred nodes: + -1: Block 153 + 0: 0x0 150 + 1: be Add 176 + Private Attributes: + backedges: 1 +" +color: green} +node: {title: "n191n150" label: "0x0Is 150" info1: "0x0 150 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 0 + pred nodes: + -1: Block 139 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n191" targetname: "n191n150" label: "0" class:16 priority:10} backedge: {sourcename: "n191" targetname: "n176" label: "1" linestyle:dashed class:16 priority:10} } graph: { title: "n149" label: "Block 149" status:clustered color:yellow edge: {sourcename: "n149" targetname: "n143" label: "0" class:13 priority:60 color:red} -node: {title: "n152" label: "Jmp 152" info1: "mode: X -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 0 -"} +node: {title: "n152" label: "Jmp 152" info1: "Jmp 152 + mode: X + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 0 + pred nodes: + -1: Block 149 + Private Attributes: +" +} } graph: { title: "n161" label: "Block 161" status:clustered color:yellow edge: {sourcename: "n161" targetname: "n160" label: "0" class:13 priority:60 color:red} -node: {title: "n175" label: "ProjM 0 175" info1: "mode: M -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 1 -"color: yellow} +node: {title: "n175" label: "ProjM 0 175" info1: "Proj 175 + mode: M + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 1 + pred nodes: + -1: Block 161 + 0: Store 173 + Private Attributes: +" +color: yellow} edge: {sourcename: "n175" targetname: "n173" label: "0" class:17 priority:10 color:blue} -node: {title: "n173" label: "Store 173" info1: "mode: T -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n173" label: "Store 173" info1: "Store 173 + mode: T + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 3 + pred nodes: + -1: Block 161 + 0: Phi 190 + 1: Add 171 + 2: Mul 167 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n173" targetname: "n190" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n173" targetname: "n171" label: "1" class:1 priority:50} edge: {sourcename: "n173" targetname: "n167" label: "2" class:1 priority:50} -node: {title: "n171" label: "AddP 171" info1: "mode: P -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 2 -"} -node: {title: "n171n163" label: "0xDIs 163" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n171" label: "AddP 171" info1: "Add 171 + mode: P + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 2 + pred nodes: + -1: Block 161 + 0: 0xD 163 + 1: Add 170 + Private Attributes: +" +} +node: {title: "n171n163" label: "0xDIs 163" info1: "0xD 163 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 0 + pred nodes: + -1: Block 139 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n171" targetname: "n171n163" label: "0" class:16 priority:10} edge: {sourcename: "n171" targetname: "n170" label: "1" class:1 priority:50} -node: {title: "n170" label: "AddP 170" info1: "mode: P -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 2 -"} -node: {title: "n170n151" label: "SymC &a 151" info1: "mode: P -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 0 -kind: addr_ent -entity GlobalType.a (135) +node: {title: "n170" label: "AddP 170" info1: "Add 170 + mode: P + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 2 + pred nodes: + -1: Block 161 + 0: Mul 168 + 1: SymC &a 151 + Private Attributes: +" +} +node: {title: "n170n151" label: "SymC &a 151" info1: "SymC &a 151 + mode: P + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 0 + pred nodes: + -1: Block 139 + Private Attributes: + kind: addr_ent + entity: entity GlobalType.a (135) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} edge: {sourcename: "n170" targetname: "n168" label: "0" class:1 priority:50} edge: {sourcename: "n170" targetname: "n170n151" label: "1" class:16 priority:10} -node: {title: "n168" label: "MulIs 168" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 2 -"} -node: {title: "n168n165" label: "0x4Is 165" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n168" label: "MulIs 168" info1: "Mul 168 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 2 + pred nodes: + -1: Block 161 + 0: 0x4 165 + 1: Phi 191 + Private Attributes: +" +} +node: {title: "n168n165" label: "0x4Is 165" info1: "0x4 165 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 0 + pred nodes: + -1: Block 139 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n168" targetname: "n168n165" label: "0" class:16 priority:10} edge: {sourcename: "n168" targetname: "n191" label: "1" class:16 priority:10} -node: {title: "n167" label: "MulIs 167" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 2 -"} -node: {title: "n167n162" label: "0xFIs 162" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n167" label: "MulIs 167" info1: "Mul 167 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 2 + pred nodes: + -1: Block 161 + 0: 0xF 162 + 1: Phi 191 + Private Attributes: +" +} +node: {title: "n167n162" label: "0xFIs 162" info1: "0xF 162 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 0 + pred nodes: + -1: Block 139 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n167" targetname: "n167n162" label: "0" class:16 priority:10} edge: {sourcename: "n167" targetname: "n191" label: "1" class:16 priority:10} -node: {title: "n177" label: "Jmp 177" info1: "mode: X -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 0 -"} -node: {title: "n176" label: "AddIs 176" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 2 -"} -node: {title: "n176n164" label: "0x1Is 164" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n177" label: "Jmp 177" info1: "Jmp 177 + mode: X + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 0 + pred nodes: + -1: Block 161 + Private Attributes: +" +} +node: {title: "n176" label: "AddIs 176" info1: "Add 176 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 2 + pred nodes: + -1: Block 161 + 0: 0x1 164 + 1: Phi 191 + Private Attributes: +" +} +node: {title: "n176n164" label: "0x1Is 164" info1: "0x1 164 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 0 + pred nodes: + -1: Block 139 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n176" targetname: "n176n164" label: "0" class:16 priority:10} edge: {sourcename: "n176" targetname: "n191" label: "1" class:16 priority:10} } graph: { title: "n139" label: "Block 139" status:clustered color:yellow edge: {sourcename: "n139" targetname: "n143" label: "0" class:13 priority:60 color:red} -node: {title: "n146" label: "ProjM 1 146" info1: "mode: M -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 1 -"color: yellow} +node: {title: "n146" label: "ProjM 1 146" info1: "Proj 146 + mode: M + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 1 + pred nodes: + -1: Block 139 + 0: Start 140 + Private Attributes: +" +color: yellow} edge: {sourcename: "n146" targetname: "n140" label: "0" class:17 priority:10 color:blue} -node: {title: "n143" label: "ProjX 0 143" info1: "mode: X -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 1 -"color: yellow} +node: {title: "n143" label: "ProjX 0 143" info1: "Proj 143 + mode: X + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 1 + pred nodes: + -1: Block 139 + 0: Start 140 + Private Attributes: +" +color: yellow} edge: {sourcename: "n143" targetname: "n140" label: "0" class:13 priority:60 color:red} -node: {title: "n140" label: "Start 140" info1: "mode: T -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m2 -arity: 0 -start of method of type STRENGTH_RED_EXAMPLE_meth_tp - param 0 type: int -"color: blue} +node: {title: "n140" label: "Start 140" info1: "Start 140 + mode: T + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m2 + arity: 0 + pred nodes: + -1: Block 139 + Private Attributes: + start of method of type STRENGTH_RED_EXAMPLE_meth_tp + param 0 type: int +" +color: blue} } } diff --git a/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m3-strength_reduced.vcg b/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m3-strength_reduced.vcg index ad1bf0ece..7e73e3964 100644 --- a/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m3-strength_reduced.vcg +++ b/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m3-strength_reduced.vcg @@ -55,28 +55,46 @@ colorentry 125: 255 250 250 graph: { title: "g213" label: "STRENGTH_RED_EXAMPLE_m3" status:clustered color:white graph: { title: "n202" label: "Block 202" status:clustered color:yellow edge: {sourcename: "n202" targetname: "n252" label: "0" class:13 priority:60 color:red} -node: {title: "n203" label: "End 203" info1: "mode: X -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 1 -"color: blue} +node: {title: "n203" label: "End 203" info1: "End 203 + mode: X + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 1 + pred nodes: + -1: Block 202 + 0: Phi 256 + Private Attributes: +" +color: blue} } graph: { title: "n249" label: "Block 249" status:clustered color:yellow edge: {sourcename: "n249" targetname: "n224" label: "0" class:13 priority:60 color:red} -node: {title: "n252" label: "Return 252" info1: "mode: X -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 2 -return in method of type STRENGTH_RED_EXAMPLE_meth_tp - res 0 type: int -"} -node: {title: "n252n228" label: "0x4Is 228" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n252" label: "Return 252" info1: "Return 252 + mode: X + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 2 + pred nodes: + -1: Block 249 + 0: Phi 256 + 1: 0x4 228 + Private Attributes: + return in method of type STRENGTH_RED_EXAMPLE_meth_tp + res 0 type: int +" +} +node: {title: "n252n228" label: "0x4Is 228" info1: "0x4 228 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 0 + pred nodes: + -1: Block 204 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n252" targetname: "n256" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n252" targetname: "n252n228" label: "1" class:16 priority:10} } @@ -84,220 +102,413 @@ edge: {sourcename: "n252" targetname: "n252n228" label: "1" class:16 priority:10 graph: { title: "n218" label: "Block 218" status:clustered color:yellow edge: {sourcename: "n218" targetname: "n217" label: "0" class:13 priority:60 color:red} backedge: {sourcename: "n218" targetname: "n243" label: "1" linestyle:dashed class:13 priority:60 color:red} -node: {title: "n256" label: "PhiM 256" info1: "mode: M -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 2 backedges: -"color: green} +node: {title: "n256" label: "PhiM 256" info1: "Phi 256 + mode: M + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 2 + pred nodes: + -1: Block 218 + 0: Proj 211 + 1: Proj 241 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n256" targetname: "n211" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n256" targetname: "n241" label: "1" class:17 priority:10 color:blue} -node: {title: "n602" label: "PhiIs 602" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 2 backedges: -"color: green} -node: {title: "n602n600" label: "0x28Is 600" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n602" label: "PhiIs 602" info1: "Phi 602 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 2 + pred nodes: + -1: Block 218 + 0: 0x28 600 + 1: Add 603 + Private Attributes: + backedges: +" +color: green} +node: {title: "n602n600" label: "0x28Is 600" info1: "0x28 600 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 0 + pred nodes: + -1: Block 204 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n602" targetname: "n602n600" label: "0" class:16 priority:10} edge: {sourcename: "n602" targetname: "n603" label: "1" class:16 priority:10} -node: {title: "n224" label: "ProjX 0 224" info1: "mode: X -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 1 -"color: yellow} +node: {title: "n224" label: "ProjX 0 224" info1: "Proj 224 + mode: X + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 1 + pred nodes: + -1: Block 218 + 0: Cond 223 + Private Attributes: +" +color: yellow} edge: {sourcename: "n224" targetname: "n223" label: "0" class:13 priority:60 color:red} -node: {title: "n225" label: "ProjX 1 225" info1: "mode: X -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 1 -"color: yellow} +node: {title: "n225" label: "ProjX 1 225" info1: "Proj 225 + mode: X + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 1 + pred nodes: + -1: Block 218 + 0: Cond 223 + Private Attributes: +" +color: yellow} edge: {sourcename: "n225" targetname: "n223" label: "0" class:13 priority:60 color:red} -node: {title: "n223" label: "Cond 223" info1: "mode: T -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 1 -"} +node: {title: "n223" label: "Cond 223" info1: "Cond 223 + mode: T + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 1 + pred nodes: + -1: Block 218 + 0: Proj 222 + Private Attributes: + condition kind: dense + default ProjNr: 0 +" +} edge: {sourcename: "n223" targetname: "n222" label: "0" class:1 priority:50} -node: {title: "n222" label: "Projb Lt 222" info1: "mode: b -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 1 -"color: yellow} +node: {title: "n222" label: "Projb Lt 222" info1: "Proj 222 + mode: b + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 1 + pred nodes: + -1: Block 218 + 0: Cmp 221 + Private Attributes: +" +color: yellow} edge: {sourcename: "n222" targetname: "n221" label: "0" class:1 priority:50} -node: {title: "n221" label: "Cmp 221" info1: "mode: T -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 2 -"} -node: {title: "n221n220" label: "0x0Is 220" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n221" label: "Cmp 221" info1: "Cmp 221 + mode: T + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 2 + pred nodes: + -1: Block 218 + 0: 0x0 220 + 1: Phi 257 + Private Attributes: +" +} +node: {title: "n221n220" label: "0x0Is 220" info1: "0x0 220 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 0 + pred nodes: + -1: Block 204 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n221" targetname: "n221n220" label: "0" class:16 priority:10} edge: {sourcename: "n221" targetname: "n257" label: "1" class:1 priority:50} -node: {title: "n257" label: "PhiIs 257" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 2 backedges: -"color: green} -node: {title: "n257n215" label: "0xAIs 215" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n257" label: "PhiIs 257" info1: "Phi 257 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 2 + pred nodes: + -1: Block 218 + 0: 0xA 215 + 1: Add 589 + Private Attributes: + backedges: +" +color: green} +node: {title: "n257n215" label: "0xAIs 215" info1: "0xA 215 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 0 + pred nodes: + -1: Block 204 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n257" targetname: "n257n215" label: "0" class:16 priority:10} edge: {sourcename: "n257" targetname: "n589" label: "1" class:16 priority:10} } graph: { title: "n214" label: "Block 214" status:clustered color:yellow edge: {sourcename: "n214" targetname: "n208" label: "0" class:13 priority:60 color:red} -node: {title: "n217" label: "Jmp 217" info1: "mode: X -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 0 -"} +node: {title: "n217" label: "Jmp 217" info1: "Jmp 217 + mode: X + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 0 + pred nodes: + -1: Block 214 + Private Attributes: +" +} } graph: { title: "n226" label: "Block 226" status:clustered color:yellow edge: {sourcename: "n226" targetname: "n225" label: "0" class:13 priority:60 color:red} -node: {title: "n241" label: "ProjM 0 241" info1: "mode: M -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 1 -"color: yellow} +node: {title: "n241" label: "ProjM 0 241" info1: "Proj 241 + mode: M + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 1 + pred nodes: + -1: Block 226 + 0: Store 239 + Private Attributes: +" +color: yellow} edge: {sourcename: "n241" targetname: "n239" label: "0" class:17 priority:10 color:blue} -node: {title: "n239" label: "Store 239" info1: "mode: T -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n239" label: "Store 239" info1: "Store 239 + mode: T + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 3 + pred nodes: + -1: Block 226 + 0: Phi 256 + 1: Add 237 + 2: Phi 257 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n239" targetname: "n256" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n239" targetname: "n237" label: "1" class:1 priority:50} edge: {sourcename: "n239" targetname: "n257" label: "2" class:16 priority:10} -node: {title: "n237" label: "AddP 237" info1: "mode: P -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 2 -"} +node: {title: "n237" label: "AddP 237" info1: "Add 237 + mode: P + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 2 + pred nodes: + -1: Block 226 + 0: Add 235 + 1: Add 594 + Private Attributes: +" +} edge: {sourcename: "n237" targetname: "n235" label: "0" class:1 priority:50} edge: {sourcename: "n237" targetname: "n594" label: "1" class:1 priority:50} -node: {title: "n235" label: "AddP 235" info1: "mode: P -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 2 -"} -node: {title: "n235n229" label: "0x8Is 229" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n235" label: "AddP 235" info1: "Add 235 + mode: P + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 2 + pred nodes: + -1: Block 226 + 0: 0x8 229 + 1: Add 591 + Private Attributes: +" +} +node: {title: "n235n229" label: "0x8Is 229" info1: "0x8 229 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 0 + pred nodes: + -1: Block 204 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n235" targetname: "n235n229" label: "0" class:16 priority:10} edge: {sourcename: "n235" targetname: "n591" label: "1" class:1 priority:50} -node: {title: "n594" label: "AddP 594" info1: "mode: P -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 2 -"} -node: {title: "n594n593" label: "0x10Is 593" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n594" label: "AddP 594" info1: "Add 594 + mode: P + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 2 + pred nodes: + -1: Block 226 + 0: Add 591 + 1: 0x10 593 + Private Attributes: +" +} +node: {title: "n594n593" label: "0x10Is 593" info1: "0x10 593 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 0 + pred nodes: + -1: Block 204 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n594" targetname: "n591" label: "0" class:1 priority:50} edge: {sourcename: "n594" targetname: "n594n593" label: "1" class:16 priority:10} -node: {title: "n591" label: "AddP 591" info1: "mode: P -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 2 -"} +node: {title: "n591" label: "AddP 591" info1: "Add 591 + mode: P + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 2 + pred nodes: + -1: Block 226 + 0: Phi 602 + 1: Add 590 + Private Attributes: +" +} edge: {sourcename: "n591" targetname: "n602" label: "0" class:16 priority:10} edge: {sourcename: "n591" targetname: "n590" label: "1" class:1 priority:50} -node: {title: "n603" label: "AddIs 603" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 2 -"} -node: {title: "n603n598" label: "0xFFFFFFFCIs 598" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n603" label: "AddIs 603" info1: "Add 603 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 2 + pred nodes: + -1: Block 226 + 0: 0xFFFFFFFC 598 + 1: Phi 602 + Private Attributes: +" +} +node: {title: "n603n598" label: "0xFFFFFFFCIs 598" info1: "0xFFFFFFFC 598 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 0 + pred nodes: + -1: Block 204 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n603" targetname: "n603n598" label: "0" class:16 priority:10} edge: {sourcename: "n603" targetname: "n602" label: "1" class:16 priority:10} -node: {title: "n590" label: "AddP 590" info1: "mode: P -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 2 -"} -node: {title: "n590n216" label: "SymC &a 216" info1: "mode: P -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 0 -kind: addr_ent -entity GlobalType.a (200) +node: {title: "n590" label: "AddP 590" info1: "Add 590 + mode: P + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 2 + pred nodes: + -1: Block 226 + 0: SymC &a 216 + 1: 0x4 228 + Private Attributes: +" +} +node: {title: "n590n216" label: "SymC &a 216" info1: "SymC &a 216 + mode: P + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 0 + pred nodes: + -1: Block 204 + Private Attributes: + kind: addr_ent + entity: entity GlobalType.a (200) -SymConst of type: type_unknown -"} -node: {title: "n590n228" label: "0x4Is 228" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 0 -Const of type type_unknown -"color: yellow} + type of value: type_unknown +" +} +node: {title: "n590n228" label: "0x4Is 228" info1: "0x4 228 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 0 + pred nodes: + -1: Block 204 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n590" targetname: "n590n216" label: "0" class:16 priority:10} edge: {sourcename: "n590" targetname: "n590n228" label: "1" class:16 priority:10} -node: {title: "n243" label: "Jmp 243" info1: "mode: X -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 0 -"} -node: {title: "n589" label: "AddIs 589" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 2 -"} -node: {title: "n589n588" label: "0xFFFFFFFFIs 588" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n243" label: "Jmp 243" info1: "Jmp 243 + mode: X + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 0 + pred nodes: + -1: Block 226 + Private Attributes: +" +} +node: {title: "n589" label: "AddIs 589" info1: "Add 589 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 2 + pred nodes: + -1: Block 226 + 0: Phi 257 + 1: 0xFFFFFFFF 588 + Private Attributes: +" +} +node: {title: "n589n588" label: "0xFFFFFFFFIs 588" info1: "0xFFFFFFFF 588 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 0 + pred nodes: + -1: Block 204 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n589" targetname: "n257" label: "0" class:16 priority:10} edge: {sourcename: "n589" targetname: "n589n588" label: "1" class:16 priority:10} } graph: { title: "n204" label: "Block 204" status:clustered color:yellow edge: {sourcename: "n204" targetname: "n208" label: "0" class:13 priority:60 color:red} -node: {title: "n211" label: "ProjM 1 211" info1: "mode: M -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 1 -"color: yellow} +node: {title: "n211" label: "ProjM 1 211" info1: "Proj 211 + mode: M + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 1 + pred nodes: + -1: Block 204 + 0: Start 205 + Private Attributes: +" +color: yellow} edge: {sourcename: "n211" targetname: "n205" label: "0" class:17 priority:10 color:blue} -node: {title: "n208" label: "ProjX 0 208" info1: "mode: X -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 1 -"color: yellow} +node: {title: "n208" label: "ProjX 0 208" info1: "Proj 208 + mode: X + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 1 + pred nodes: + -1: Block 204 + 0: Start 205 + Private Attributes: +" +color: yellow} edge: {sourcename: "n208" targetname: "n205" label: "0" class:13 priority:60 color:red} -node: {title: "n205" label: "Start 205" info1: "mode: T -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 0 -start of method of type STRENGTH_RED_EXAMPLE_meth_tp - param 0 type: int -"color: blue} +node: {title: "n205" label: "Start 205" info1: "Start 205 + mode: T + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 0 + pred nodes: + -1: Block 204 + Private Attributes: + start of method of type STRENGTH_RED_EXAMPLE_meth_tp + param 0 type: int +" +color: blue} } } diff --git a/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m3.vcg b/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m3.vcg index 484ef7dab..af2d09f36 100644 --- a/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m3.vcg +++ b/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m3.vcg @@ -55,28 +55,46 @@ colorentry 125: 255 250 250 graph: { title: "g213" label: "STRENGTH_RED_EXAMPLE_m3" status:clustered color:white graph: { title: "n202" label: "Block 202" status:clustered color:yellow edge: {sourcename: "n202" targetname: "n252" label: "0" class:13 priority:60 color:red} -node: {title: "n203" label: "End 203" info1: "mode: X -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 1 -"color: blue} +node: {title: "n203" label: "End 203" info1: "End 203 + mode: X + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 1 + pred nodes: + -1: Block 202 + 0: Phi 256 + Private Attributes: +" +color: blue} } graph: { title: "n249" label: "Block 249" status:clustered color:yellow edge: {sourcename: "n249" targetname: "n224" label: "0" class:13 priority:60 color:red} -node: {title: "n252" label: "Return 252" info1: "mode: X -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 2 -return in method of type STRENGTH_RED_EXAMPLE_meth_tp - res 0 type: int -"} -node: {title: "n252n228" label: "0x4Is 228" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n252" label: "Return 252" info1: "Return 252 + mode: X + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 2 + pred nodes: + -1: Block 249 + 0: Phi 256 + 1: 0x4 228 + Private Attributes: + return in method of type STRENGTH_RED_EXAMPLE_meth_tp + res 0 type: int +" +} +node: {title: "n252n228" label: "0x4Is 228" info1: "0x4 228 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 0 + pred nodes: + -1: Block 204 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n252" targetname: "n256" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n252" targetname: "n252n228" label: "1" class:16 priority:10} } @@ -84,207 +102,387 @@ edge: {sourcename: "n252" targetname: "n252n228" label: "1" class:16 priority:10 graph: { title: "n218" label: "Block 218" status:clustered color:yellow edge: {sourcename: "n218" targetname: "n217" label: "0" class:13 priority:60 color:red} backedge: {sourcename: "n218" targetname: "n243" label: "1" linestyle:dashed class:13 priority:60 color:red} -node: {title: "n256" label: "PhiM 256" info1: "mode: M -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 2 backedges: 1 -"color: green} +node: {title: "n256" label: "PhiM 256" info1: "Phi 256 + mode: M + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 2 + pred nodes: + -1: Block 218 + 0: Proj 211 + 1: be Proj 241 + Private Attributes: + backedges: 1 +" +color: green} edge: {sourcename: "n256" targetname: "n211" label: "0" class:17 priority:10 color:blue} backedge: {sourcename: "n256" targetname: "n241" label: "1" linestyle:dashed class:17 priority:10 color:blue} -node: {title: "n224" label: "ProjX 0 224" info1: "mode: X -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 1 -"color: yellow} +node: {title: "n224" label: "ProjX 0 224" info1: "Proj 224 + mode: X + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 1 + pred nodes: + -1: Block 218 + 0: Cond 223 + Private Attributes: +" +color: yellow} edge: {sourcename: "n224" targetname: "n223" label: "0" class:13 priority:60 color:red} -node: {title: "n225" label: "ProjX 1 225" info1: "mode: X -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 1 -"color: yellow} +node: {title: "n225" label: "ProjX 1 225" info1: "Proj 225 + mode: X + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 1 + pred nodes: + -1: Block 218 + 0: Cond 223 + Private Attributes: +" +color: yellow} edge: {sourcename: "n225" targetname: "n223" label: "0" class:13 priority:60 color:red} -node: {title: "n223" label: "Cond 223" info1: "mode: T -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 1 -"} +node: {title: "n223" label: "Cond 223" info1: "Cond 223 + mode: T + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 1 + pred nodes: + -1: Block 218 + 0: Proj 222 + Private Attributes: + condition kind: dense + default ProjNr: 0 +" +} edge: {sourcename: "n223" targetname: "n222" label: "0" class:1 priority:50} -node: {title: "n222" label: "Projb Lt 222" info1: "mode: b -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 1 -"color: yellow} +node: {title: "n222" label: "Projb Lt 222" info1: "Proj 222 + mode: b + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 1 + pred nodes: + -1: Block 218 + 0: Cmp 221 + Private Attributes: +" +color: yellow} edge: {sourcename: "n222" targetname: "n221" label: "0" class:1 priority:50} -node: {title: "n221" label: "Cmp 221" info1: "mode: T -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 2 -"} -node: {title: "n221n220" label: "0x0Is 220" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n221" label: "Cmp 221" info1: "Cmp 221 + mode: T + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 2 + pred nodes: + -1: Block 218 + 0: 0x0 220 + 1: Phi 257 + Private Attributes: +" +} +node: {title: "n221n220" label: "0x0Is 220" info1: "0x0 220 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 0 + pred nodes: + -1: Block 204 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n221" targetname: "n221n220" label: "0" class:16 priority:10} edge: {sourcename: "n221" targetname: "n257" label: "1" class:1 priority:50} -node: {title: "n257" label: "PhiIs 257" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 2 backedges: 1 -"color: green} -node: {title: "n257n215" label: "0xAIs 215" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n257" label: "PhiIs 257" info1: "Phi 257 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 2 + pred nodes: + -1: Block 218 + 0: 0xA 215 + 1: be Sub 242 + Private Attributes: + backedges: 1 +" +color: green} +node: {title: "n257n215" label: "0xAIs 215" info1: "0xA 215 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 0 + pred nodes: + -1: Block 204 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n257" targetname: "n257n215" label: "0" class:16 priority:10} backedge: {sourcename: "n257" targetname: "n242" label: "1" linestyle:dashed class:16 priority:10} } graph: { title: "n214" label: "Block 214" status:clustered color:yellow edge: {sourcename: "n214" targetname: "n208" label: "0" class:13 priority:60 color:red} -node: {title: "n217" label: "Jmp 217" info1: "mode: X -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 0 -"} +node: {title: "n217" label: "Jmp 217" info1: "Jmp 217 + mode: X + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 0 + pred nodes: + -1: Block 214 + Private Attributes: +" +} } graph: { title: "n226" label: "Block 226" status:clustered color:yellow edge: {sourcename: "n226" targetname: "n225" label: "0" class:13 priority:60 color:red} -node: {title: "n241" label: "ProjM 0 241" info1: "mode: M -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 1 -"color: yellow} +node: {title: "n241" label: "ProjM 0 241" info1: "Proj 241 + mode: M + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 1 + pred nodes: + -1: Block 226 + 0: Store 239 + Private Attributes: +" +color: yellow} edge: {sourcename: "n241" targetname: "n239" label: "0" class:17 priority:10 color:blue} -node: {title: "n239" label: "Store 239" info1: "mode: T -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n239" label: "Store 239" info1: "Store 239 + mode: T + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 3 + pred nodes: + -1: Block 226 + 0: Phi 256 + 1: Add 237 + 2: Phi 257 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n239" targetname: "n256" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n239" targetname: "n237" label: "1" class:1 priority:50} edge: {sourcename: "n239" targetname: "n257" label: "2" class:16 priority:10} -node: {title: "n237" label: "AddP 237" info1: "mode: P -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 2 -"} +node: {title: "n237" label: "AddP 237" info1: "Add 237 + mode: P + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 2 + pred nodes: + -1: Block 226 + 0: Add 235 + 1: Add 236 + Private Attributes: +" +} edge: {sourcename: "n237" targetname: "n235" label: "0" class:1 priority:50} edge: {sourcename: "n237" targetname: "n236" label: "1" class:1 priority:50} -node: {title: "n236" label: "AddP 236" info1: "mode: P -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 2 -"} -node: {title: "n236n229" label: "0x8Is 229" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n236" label: "AddP 236" info1: "Add 236 + mode: P + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 2 + pred nodes: + -1: Block 226 + 0: 0x8 229 + 1: Add 235 + Private Attributes: +" +} +node: {title: "n236n229" label: "0x8Is 229" info1: "0x8 229 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 0 + pred nodes: + -1: Block 204 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n236" targetname: "n236n229" label: "0" class:16 priority:10} edge: {sourcename: "n236" targetname: "n235" label: "1" class:1 priority:50} -node: {title: "n235" label: "AddP 235" info1: "mode: P -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 2 -"} -node: {title: "n235n229" label: "0x8Is 229" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n235" label: "AddP 235" info1: "Add 235 + mode: P + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 2 + pred nodes: + -1: Block 226 + 0: 0x8 229 + 1: Add 234 + Private Attributes: +" +} +node: {title: "n235n229" label: "0x8Is 229" info1: "0x8 229 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 0 + pred nodes: + -1: Block 204 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n235" targetname: "n235n229" label: "0" class:16 priority:10} edge: {sourcename: "n235" targetname: "n234" label: "1" class:1 priority:50} -node: {title: "n234" label: "AddP 234" info1: "mode: P -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 2 -"} -node: {title: "n234n228" label: "0x4Is 228" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n234" label: "AddP 234" info1: "Add 234 + mode: P + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 2 + pred nodes: + -1: Block 226 + 0: 0x4 228 + 1: Add 233 + Private Attributes: +" +} +node: {title: "n234n228" label: "0x4Is 228" info1: "0x4 228 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 0 + pred nodes: + -1: Block 204 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n234" targetname: "n234n228" label: "0" class:16 priority:10} edge: {sourcename: "n234" targetname: "n233" label: "1" class:1 priority:50} -node: {title: "n233" label: "AddP 233" info1: "mode: P -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 2 -"} -node: {title: "n233n216" label: "SymC &a 216" info1: "mode: P -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 0 -kind: addr_ent -entity GlobalType.a (200) +node: {title: "n233" label: "AddP 233" info1: "Add 233 + mode: P + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 2 + pred nodes: + -1: Block 226 + 0: Mul 231 + 1: SymC &a 216 + Private Attributes: +" +} +node: {title: "n233n216" label: "SymC &a 216" info1: "SymC &a 216 + mode: P + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 0 + pred nodes: + -1: Block 204 + Private Attributes: + kind: addr_ent + entity: entity GlobalType.a (200) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} edge: {sourcename: "n233" targetname: "n231" label: "0" class:1 priority:50} edge: {sourcename: "n233" targetname: "n233n216" label: "1" class:16 priority:10} -node: {title: "n231" label: "MulIs 231" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 2 -"} -node: {title: "n231n228" label: "0x4Is 228" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n231" label: "MulIs 231" info1: "Mul 231 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 2 + pred nodes: + -1: Block 226 + 0: 0x4 228 + 1: Phi 257 + Private Attributes: +" +} +node: {title: "n231n228" label: "0x4Is 228" info1: "0x4 228 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 0 + pred nodes: + -1: Block 204 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n231" targetname: "n231n228" label: "0" class:16 priority:10} edge: {sourcename: "n231" targetname: "n257" label: "1" class:16 priority:10} -node: {title: "n243" label: "Jmp 243" info1: "mode: X -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 0 -"} -node: {title: "n242" label: "SubIs 242" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 2 -"} -node: {title: "n242n227" label: "0x1Is 227" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n243" label: "Jmp 243" info1: "Jmp 243 + mode: X + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 0 + pred nodes: + -1: Block 226 + Private Attributes: +" +} +node: {title: "n242" label: "SubIs 242" info1: "Sub 242 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 2 + pred nodes: + -1: Block 226 + 0: Phi 257 + 1: 0x1 227 + Private Attributes: +" +} +node: {title: "n242n227" label: "0x1Is 227" info1: "0x1 227 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 0 + pred nodes: + -1: Block 204 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n242" targetname: "n257" label: "0" class:16 priority:10} edge: {sourcename: "n242" targetname: "n242n227" label: "1" class:16 priority:10} } graph: { title: "n204" label: "Block 204" status:clustered color:yellow edge: {sourcename: "n204" targetname: "n208" label: "0" class:13 priority:60 color:red} -node: {title: "n211" label: "ProjM 1 211" info1: "mode: M -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 1 -"color: yellow} +node: {title: "n211" label: "ProjM 1 211" info1: "Proj 211 + mode: M + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 1 + pred nodes: + -1: Block 204 + 0: Start 205 + Private Attributes: +" +color: yellow} edge: {sourcename: "n211" targetname: "n205" label: "0" class:17 priority:10 color:blue} -node: {title: "n208" label: "ProjX 0 208" info1: "mode: X -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 1 -"color: yellow} +node: {title: "n208" label: "ProjX 0 208" info1: "Proj 208 + mode: X + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 1 + pred nodes: + -1: Block 204 + 0: Start 205 + Private Attributes: +" +color: yellow} edge: {sourcename: "n208" targetname: "n205" label: "0" class:13 priority:60 color:red} -node: {title: "n205" label: "Start 205" info1: "mode: T -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m3 -arity: 0 -start of method of type STRENGTH_RED_EXAMPLE_meth_tp - param 0 type: int -"color: blue} +node: {title: "n205" label: "Start 205" info1: "Start 205 + mode: T + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m3 + arity: 0 + pred nodes: + -1: Block 204 + Private Attributes: + start of method of type STRENGTH_RED_EXAMPLE_meth_tp + param 0 type: int +" +color: blue} } } diff --git a/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m4-strength_reduced.vcg b/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m4-strength_reduced.vcg index 2ed376ec7..72fe4527a 100644 --- a/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m4-strength_reduced.vcg +++ b/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m4-strength_reduced.vcg @@ -55,28 +55,46 @@ colorentry 125: 255 250 250 graph: { title: "g279" label: "STRENGTH_RED_EXAMPLE_m4" status:clustered color:white graph: { title: "n268" label: "Block 268" status:clustered color:yellow edge: {sourcename: "n268" targetname: "n319" label: "0" class:13 priority:60 color:red} -node: {title: "n269" label: "End 269" info1: "mode: X -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 1 -"color: blue} +node: {title: "n269" label: "End 269" info1: "End 269 + mode: X + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 1 + pred nodes: + -1: Block 268 + 0: Phi 323 + Private Attributes: +" +color: blue} } graph: { title: "n316" label: "Block 316" status:clustered color:yellow edge: {sourcename: "n316" targetname: "n290" label: "0" class:13 priority:60 color:red} -node: {title: "n319" label: "Return 319" info1: "mode: X -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 2 -return in method of type STRENGTH_RED_EXAMPLE_meth_tp - res 0 type: int -"} -node: {title: "n319n294" label: "0x4Is 294" info1: "mode: Is -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n319" label: "Return 319" info1: "Return 319 + mode: X + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 2 + pred nodes: + -1: Block 316 + 0: Phi 323 + 1: 0x4 294 + Private Attributes: + return in method of type STRENGTH_RED_EXAMPLE_meth_tp + res 0 type: int +" +} +node: {title: "n319n294" label: "0x4Is 294" info1: "0x4 294 + mode: Is + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 0 + pred nodes: + -1: Block 270 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n319" targetname: "n323" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n319" targetname: "n319n294" label: "1" class:16 priority:10} } @@ -84,257 +102,483 @@ edge: {sourcename: "n319" targetname: "n319n294" label: "1" class:16 priority:10 graph: { title: "n284" label: "Block 284" status:clustered color:yellow edge: {sourcename: "n284" targetname: "n283" label: "0" class:13 priority:60 color:red} backedge: {sourcename: "n284" targetname: "n310" label: "1" linestyle:dashed class:13 priority:60 color:red} -node: {title: "n323" label: "PhiM 323" info1: "mode: M -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 2 backedges: -"color: green} +node: {title: "n323" label: "PhiM 323" info1: "Phi 323 + mode: M + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 2 + pred nodes: + -1: Block 284 + 0: Proj 277 + 1: Proj 309 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n323" targetname: "n277" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n323" targetname: "n309" label: "1" class:17 priority:10 color:blue} -node: {title: "n627" label: "PhiIs 627" info1: "mode: Is -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 2 backedges: -"color: green} -node: {title: "n627n281" label: "0x0Is 281" info1: "mode: Is -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n627" label: "PhiIs 627" info1: "Phi 627 + mode: Is + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 2 + pred nodes: + -1: Block 284 + 0: 0x0 281 + 1: Add 628 + Private Attributes: + backedges: +" +color: green} +node: {title: "n627n281" label: "0x0Is 281" info1: "0x0 281 + mode: Is + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 0 + pred nodes: + -1: Block 270 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n627" targetname: "n627n281" label: "0" class:16 priority:10} edge: {sourcename: "n627" targetname: "n628" label: "1" class:16 priority:10} -node: {title: "n634" label: "PhiIs 634" info1: "mode: Is -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 2 backedges: -"color: green} -node: {title: "n634n281" label: "0x0Is 281" info1: "mode: Is -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n634" label: "PhiIs 634" info1: "Phi 634 + mode: Is + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 2 + pred nodes: + -1: Block 284 + 0: 0x0 281 + 1: Add 635 + Private Attributes: + backedges: +" +color: green} +node: {title: "n634n281" label: "0x0Is 281" info1: "0x0 281 + mode: Is + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 0 + pred nodes: + -1: Block 270 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n634" targetname: "n634n281" label: "0" class:16 priority:10} edge: {sourcename: "n634" targetname: "n635" label: "1" class:16 priority:10} -node: {title: "n290" label: "ProjX 0 290" info1: "mode: X -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 1 -"color: yellow} +node: {title: "n290" label: "ProjX 0 290" info1: "Proj 290 + mode: X + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 1 + pred nodes: + -1: Block 284 + 0: Cond 289 + Private Attributes: +" +color: yellow} edge: {sourcename: "n290" targetname: "n289" label: "0" class:13 priority:60 color:red} -node: {title: "n291" label: "ProjX 1 291" info1: "mode: X -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 1 -"color: yellow} +node: {title: "n291" label: "ProjX 1 291" info1: "Proj 291 + mode: X + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 1 + pred nodes: + -1: Block 284 + 0: Cond 289 + Private Attributes: +" +color: yellow} edge: {sourcename: "n291" targetname: "n289" label: "0" class:13 priority:60 color:red} -node: {title: "n289" label: "Cond 289" info1: "mode: T -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 1 -"} +node: {title: "n289" label: "Cond 289" info1: "Cond 289 + mode: T + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 1 + pred nodes: + -1: Block 284 + 0: Proj 288 + Private Attributes: + condition kind: dense + default ProjNr: 0 +" +} edge: {sourcename: "n289" targetname: "n288" label: "0" class:1 priority:50} -node: {title: "n288" label: "Projb Gt 288" info1: "mode: b -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 1 -"color: yellow} +node: {title: "n288" label: "Projb Gt 288" info1: "Proj 288 + mode: b + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 1 + pred nodes: + -1: Block 284 + 0: Cmp 287 + Private Attributes: +" +color: yellow} edge: {sourcename: "n288" targetname: "n287" label: "0" class:1 priority:50} -node: {title: "n287" label: "Cmp 287" info1: "mode: T -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 2 -"} -node: {title: "n287n286" label: "0xAIs 286" info1: "mode: Is -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n287" label: "Cmp 287" info1: "Cmp 287 + mode: T + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 2 + pred nodes: + -1: Block 284 + 0: 0xA 286 + 1: Phi 324 + Private Attributes: +" +} +node: {title: "n287n286" label: "0xAIs 286" info1: "0xA 286 + mode: Is + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 0 + pred nodes: + -1: Block 270 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n287" targetname: "n287n286" label: "0" class:16 priority:10} edge: {sourcename: "n287" targetname: "n324" label: "1" class:1 priority:50} -node: {title: "n324" label: "PhiIs 324" info1: "mode: Is -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 2 backedges: -"color: green} -node: {title: "n324n281" label: "0x0Is 281" info1: "mode: Is -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n324" label: "PhiIs 324" info1: "Phi 324 + mode: Is + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 2 + pred nodes: + -1: Block 284 + 0: 0x0 281 + 1: Add 297 + Private Attributes: + backedges: +" +color: green} +node: {title: "n324n281" label: "0x0Is 281" info1: "0x0 281 + mode: Is + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 0 + pred nodes: + -1: Block 270 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n324" targetname: "n324n281" label: "0" class:16 priority:10} edge: {sourcename: "n324" targetname: "n297" label: "1" class:16 priority:10} } graph: { title: "n280" label: "Block 280" status:clustered color:yellow edge: {sourcename: "n280" targetname: "n274" label: "0" class:13 priority:60 color:red} -node: {title: "n283" label: "Jmp 283" info1: "mode: X -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 0 -"} +node: {title: "n283" label: "Jmp 283" info1: "Jmp 283 + mode: X + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 0 + pred nodes: + -1: Block 280 + Private Attributes: +" +} } graph: { title: "n292" label: "Block 292" status:clustered color:yellow edge: {sourcename: "n292" targetname: "n291" label: "0" class:13 priority:60 color:red} -node: {title: "n309" label: "ProjM 0 309" info1: "mode: M -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 1 -"color: yellow} +node: {title: "n309" label: "ProjM 0 309" info1: "Proj 309 + mode: M + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 1 + pred nodes: + -1: Block 292 + 0: Store 307 + Private Attributes: +" +color: yellow} edge: {sourcename: "n309" targetname: "n307" label: "0" class:17 priority:10 color:blue} -node: {title: "n307" label: "Store 307" info1: "mode: T -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n307" label: "Store 307" info1: "Store 307 + mode: T + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 3 + pred nodes: + -1: Block 292 + 0: Proj 304 + 1: Add 613 + 2: Add 297 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n307" targetname: "n304" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n307" targetname: "n613" label: "1" class:1 priority:50} edge: {sourcename: "n307" targetname: "n297" label: "2" class:1 priority:50} -node: {title: "n304" label: "ProjM 0 304" info1: "mode: M -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 1 -"color: yellow} +node: {title: "n304" label: "ProjM 0 304" info1: "Proj 304 + mode: M + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 1 + pred nodes: + -1: Block 292 + 0: Store 302 + Private Attributes: +" +color: yellow} edge: {sourcename: "n304" targetname: "n302" label: "0" class:17 priority:10 color:blue} -node: {title: "n302" label: "Store 302" info1: "mode: T -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n302" label: "Store 302" info1: "Store 302 + mode: T + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 3 + pred nodes: + -1: Block 292 + 0: Phi 323 + 1: Add 619 + 2: Add 297 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n302" targetname: "n323" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n302" targetname: "n619" label: "1" class:1 priority:50} edge: {sourcename: "n302" targetname: "n297" label: "2" class:1 priority:50} -node: {title: "n619" label: "AddP 619" info1: "mode: P -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 2 -"} +node: {title: "n619" label: "AddP 619" info1: "Add 619 + mode: P + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 2 + pred nodes: + -1: Block 292 + 0: Phi 627 + 1: Add 618 + Private Attributes: +" +} edge: {sourcename: "n619" targetname: "n627" label: "0" class:16 priority:10} edge: {sourcename: "n619" targetname: "n618" label: "1" class:1 priority:50} -node: {title: "n628" label: "AddIs 628" info1: "mode: Is -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 2 -"} -node: {title: "n628n295" label: "0x8Is 295" info1: "mode: Is -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n628" label: "AddIs 628" info1: "Add 628 + mode: Is + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 2 + pred nodes: + -1: Block 292 + 0: 0x8 295 + 1: Phi 627 + Private Attributes: +" +} +node: {title: "n628n295" label: "0x8Is 295" info1: "0x8 295 + mode: Is + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 0 + pred nodes: + -1: Block 270 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n628" targetname: "n628n295" label: "0" class:16 priority:10} edge: {sourcename: "n628" targetname: "n627" label: "1" class:16 priority:10} -node: {title: "n618" label: "AddP 618" info1: "mode: P -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 2 -"} -node: {title: "n618n282" label: "SymC &a 282" info1: "mode: P -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 0 -kind: addr_ent -entity GlobalType.a (266) +node: {title: "n618" label: "AddP 618" info1: "Add 618 + mode: P + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 2 + pred nodes: + -1: Block 292 + 0: SymC &a 282 + 1: 0x8 295 + Private Attributes: +" +} +node: {title: "n618n282" label: "SymC &a 282" info1: "SymC &a 282 + mode: P + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 0 + pred nodes: + -1: Block 270 + Private Attributes: + kind: addr_ent + entity: entity GlobalType.a (266) -SymConst of type: type_unknown -"} -node: {title: "n618n295" label: "0x8Is 295" info1: "mode: Is -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 0 -Const of type type_unknown -"color: yellow} + type of value: type_unknown +" +} +node: {title: "n618n295" label: "0x8Is 295" info1: "0x8 295 + mode: Is + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 0 + pred nodes: + -1: Block 270 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n618" targetname: "n618n282" label: "0" class:16 priority:10} edge: {sourcename: "n618" targetname: "n618n295" label: "1" class:16 priority:10} -node: {title: "n613" label: "AddP 613" info1: "mode: P -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 2 -"} +node: {title: "n613" label: "AddP 613" info1: "Add 613 + mode: P + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 2 + pred nodes: + -1: Block 292 + 0: Phi 634 + 1: Add 612 + Private Attributes: +" +} edge: {sourcename: "n613" targetname: "n634" label: "0" class:16 priority:10} edge: {sourcename: "n613" targetname: "n612" label: "1" class:1 priority:50} -node: {title: "n635" label: "AddIs 635" info1: "mode: Is -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 2 -"} -node: {title: "n635n294" label: "0x4Is 294" info1: "mode: Is -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n635" label: "AddIs 635" info1: "Add 635 + mode: Is + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 2 + pred nodes: + -1: Block 292 + 0: 0x4 294 + 1: Phi 634 + Private Attributes: +" +} +node: {title: "n635n294" label: "0x4Is 294" info1: "0x4 294 + mode: Is + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 0 + pred nodes: + -1: Block 270 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n635" targetname: "n635n294" label: "0" class:16 priority:10} edge: {sourcename: "n635" targetname: "n634" label: "1" class:16 priority:10} -node: {title: "n612" label: "AddP 612" info1: "mode: P -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 2 -"} -node: {title: "n612n282" label: "SymC &a 282" info1: "mode: P -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 0 -kind: addr_ent -entity GlobalType.a (266) +node: {title: "n612" label: "AddP 612" info1: "Add 612 + mode: P + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 2 + pred nodes: + -1: Block 292 + 0: SymC &a 282 + 1: 0x4 294 + Private Attributes: +" +} +node: {title: "n612n282" label: "SymC &a 282" info1: "SymC &a 282 + mode: P + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 0 + pred nodes: + -1: Block 270 + Private Attributes: + kind: addr_ent + entity: entity GlobalType.a (266) -SymConst of type: type_unknown -"} -node: {title: "n612n294" label: "0x4Is 294" info1: "mode: Is -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 0 -Const of type type_unknown -"color: yellow} + type of value: type_unknown +" +} +node: {title: "n612n294" label: "0x4Is 294" info1: "0x4 294 + mode: Is + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 0 + pred nodes: + -1: Block 270 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n612" targetname: "n612n282" label: "0" class:16 priority:10} edge: {sourcename: "n612" targetname: "n612n294" label: "1" class:16 priority:10} -node: {title: "n310" label: "Jmp 310" info1: "mode: X -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 0 -"} -node: {title: "n297" label: "AddIs 297" info1: "mode: Is -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 2 -"} -node: {title: "n297n293" label: "0x1Is 293" info1: "mode: Is -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n310" label: "Jmp 310" info1: "Jmp 310 + mode: X + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 0 + pred nodes: + -1: Block 292 + Private Attributes: +" +} +node: {title: "n297" label: "AddIs 297" info1: "Add 297 + mode: Is + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 2 + pred nodes: + -1: Block 292 + 0: 0x1 293 + 1: Phi 324 + Private Attributes: +" +} +node: {title: "n297n293" label: "0x1Is 293" info1: "0x1 293 + mode: Is + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 0 + pred nodes: + -1: Block 270 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n297" targetname: "n297n293" label: "0" class:16 priority:10} edge: {sourcename: "n297" targetname: "n324" label: "1" class:16 priority:10} } graph: { title: "n270" label: "Block 270" status:clustered color:yellow edge: {sourcename: "n270" targetname: "n274" label: "0" class:13 priority:60 color:red} -node: {title: "n277" label: "ProjM 1 277" info1: "mode: M -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 1 -"color: yellow} +node: {title: "n277" label: "ProjM 1 277" info1: "Proj 277 + mode: M + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 1 + pred nodes: + -1: Block 270 + 0: Start 271 + Private Attributes: +" +color: yellow} edge: {sourcename: "n277" targetname: "n271" label: "0" class:17 priority:10 color:blue} -node: {title: "n274" label: "ProjX 0 274" info1: "mode: X -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 1 -"color: yellow} +node: {title: "n274" label: "ProjX 0 274" info1: "Proj 274 + mode: X + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 1 + pred nodes: + -1: Block 270 + 0: Start 271 + Private Attributes: +" +color: yellow} edge: {sourcename: "n274" targetname: "n271" label: "0" class:13 priority:60 color:red} -node: {title: "n271" label: "Start 271" info1: "mode: T -visited: 32 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 0 -start of method of type STRENGTH_RED_EXAMPLE_meth_tp - param 0 type: int -"color: blue} +node: {title: "n271" label: "Start 271" info1: "Start 271 + mode: T + visited: 32 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 0 + pred nodes: + -1: Block 270 + Private Attributes: + start of method of type STRENGTH_RED_EXAMPLE_meth_tp + param 0 type: int +" +color: blue} } } diff --git a/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m4.vcg b/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m4.vcg index 06a9b0cd7..40ed719a0 100644 --- a/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m4.vcg +++ b/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m4.vcg @@ -55,28 +55,46 @@ colorentry 125: 255 250 250 graph: { title: "g279" label: "STRENGTH_RED_EXAMPLE_m4" status:clustered color:white graph: { title: "n268" label: "Block 268" status:clustered color:yellow edge: {sourcename: "n268" targetname: "n319" label: "0" class:13 priority:60 color:red} -node: {title: "n269" label: "End 269" info1: "mode: X -visited: 21 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 1 -"color: blue} +node: {title: "n269" label: "End 269" info1: "End 269 + mode: X + visited: 21 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 1 + pred nodes: + -1: Block 268 + 0: Phi 323 + Private Attributes: +" +color: blue} } graph: { title: "n316" label: "Block 316" status:clustered color:yellow edge: {sourcename: "n316" targetname: "n290" label: "0" class:13 priority:60 color:red} -node: {title: "n319" label: "Return 319" info1: "mode: X -visited: 21 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 2 -return in method of type STRENGTH_RED_EXAMPLE_meth_tp - res 0 type: int -"} -node: {title: "n319n294" label: "0x4Is 294" info1: "mode: Is -visited: 21 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n319" label: "Return 319" info1: "Return 319 + mode: X + visited: 21 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 2 + pred nodes: + -1: Block 316 + 0: Phi 323 + 1: 0x4 294 + Private Attributes: + return in method of type STRENGTH_RED_EXAMPLE_meth_tp + res 0 type: int +" +} +node: {title: "n319n294" label: "0x4Is 294" info1: "0x4 294 + mode: Is + visited: 21 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 0 + pred nodes: + -1: Block 270 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n319" targetname: "n323" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n319" targetname: "n319n294" label: "1" class:16 priority:10} } @@ -84,205 +102,381 @@ edge: {sourcename: "n319" targetname: "n319n294" label: "1" class:16 priority:10 graph: { title: "n284" label: "Block 284" status:clustered color:yellow edge: {sourcename: "n284" targetname: "n283" label: "0" class:13 priority:60 color:red} backedge: {sourcename: "n284" targetname: "n310" label: "1" linestyle:dashed class:13 priority:60 color:red} -node: {title: "n323" label: "PhiM 323" info1: "mode: M -visited: 21 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 2 backedges: 1 -"color: green} +node: {title: "n323" label: "PhiM 323" info1: "Phi 323 + mode: M + visited: 21 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 2 + pred nodes: + -1: Block 284 + 0: Proj 277 + 1: be Proj 309 + Private Attributes: + backedges: 1 +" +color: green} edge: {sourcename: "n323" targetname: "n277" label: "0" class:17 priority:10 color:blue} backedge: {sourcename: "n323" targetname: "n309" label: "1" linestyle:dashed class:17 priority:10 color:blue} -node: {title: "n290" label: "ProjX 0 290" info1: "mode: X -visited: 21 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 1 -"color: yellow} +node: {title: "n290" label: "ProjX 0 290" info1: "Proj 290 + mode: X + visited: 21 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 1 + pred nodes: + -1: Block 284 + 0: Cond 289 + Private Attributes: +" +color: yellow} edge: {sourcename: "n290" targetname: "n289" label: "0" class:13 priority:60 color:red} -node: {title: "n291" label: "ProjX 1 291" info1: "mode: X -visited: 21 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 1 -"color: yellow} +node: {title: "n291" label: "ProjX 1 291" info1: "Proj 291 + mode: X + visited: 21 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 1 + pred nodes: + -1: Block 284 + 0: Cond 289 + Private Attributes: +" +color: yellow} edge: {sourcename: "n291" targetname: "n289" label: "0" class:13 priority:60 color:red} -node: {title: "n289" label: "Cond 289" info1: "mode: T -visited: 21 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 1 -"} +node: {title: "n289" label: "Cond 289" info1: "Cond 289 + mode: T + visited: 21 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 1 + pred nodes: + -1: Block 284 + 0: Proj 288 + Private Attributes: + condition kind: dense + default ProjNr: 0 +" +} edge: {sourcename: "n289" targetname: "n288" label: "0" class:1 priority:50} -node: {title: "n288" label: "Projb Gt 288" info1: "mode: b -visited: 21 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 1 -"color: yellow} +node: {title: "n288" label: "Projb Gt 288" info1: "Proj 288 + mode: b + visited: 21 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 1 + pred nodes: + -1: Block 284 + 0: Cmp 287 + Private Attributes: +" +color: yellow} edge: {sourcename: "n288" targetname: "n287" label: "0" class:1 priority:50} -node: {title: "n287" label: "Cmp 287" info1: "mode: T -visited: 21 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 2 -"} -node: {title: "n287n286" label: "0xAIs 286" info1: "mode: Is -visited: 21 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n287" label: "Cmp 287" info1: "Cmp 287 + mode: T + visited: 21 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 2 + pred nodes: + -1: Block 284 + 0: 0xA 286 + 1: Phi 324 + Private Attributes: +" +} +node: {title: "n287n286" label: "0xAIs 286" info1: "0xA 286 + mode: Is + visited: 21 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 0 + pred nodes: + -1: Block 270 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n287" targetname: "n287n286" label: "0" class:16 priority:10} edge: {sourcename: "n287" targetname: "n324" label: "1" class:1 priority:50} -node: {title: "n324" label: "PhiIs 324" info1: "mode: Is -visited: 21 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 2 backedges: 1 -"color: green} -node: {title: "n324n281" label: "0x0Is 281" info1: "mode: Is -visited: 21 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n324" label: "PhiIs 324" info1: "Phi 324 + mode: Is + visited: 21 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 2 + pred nodes: + -1: Block 284 + 0: 0x0 281 + 1: be Add 297 + Private Attributes: + backedges: 1 +" +color: green} +node: {title: "n324n281" label: "0x0Is 281" info1: "0x0 281 + mode: Is + visited: 21 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 0 + pred nodes: + -1: Block 270 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n324" targetname: "n324n281" label: "0" class:16 priority:10} backedge: {sourcename: "n324" targetname: "n297" label: "1" linestyle:dashed class:16 priority:10} } graph: { title: "n280" label: "Block 280" status:clustered color:yellow edge: {sourcename: "n280" targetname: "n274" label: "0" class:13 priority:60 color:red} -node: {title: "n283" label: "Jmp 283" info1: "mode: X -visited: 21 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 0 -"} +node: {title: "n283" label: "Jmp 283" info1: "Jmp 283 + mode: X + visited: 21 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 0 + pred nodes: + -1: Block 280 + Private Attributes: +" +} } graph: { title: "n292" label: "Block 292" status:clustered color:yellow edge: {sourcename: "n292" targetname: "n291" label: "0" class:13 priority:60 color:red} -node: {title: "n309" label: "ProjM 0 309" info1: "mode: M -visited: 21 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 1 -"color: yellow} +node: {title: "n309" label: "ProjM 0 309" info1: "Proj 309 + mode: M + visited: 21 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 1 + pred nodes: + -1: Block 292 + 0: Store 307 + Private Attributes: +" +color: yellow} edge: {sourcename: "n309" targetname: "n307" label: "0" class:17 priority:10 color:blue} -node: {title: "n307" label: "Store 307" info1: "mode: T -visited: 21 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n307" label: "Store 307" info1: "Store 307 + mode: T + visited: 21 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 3 + pred nodes: + -1: Block 292 + 0: Proj 304 + 1: Add 306 + 2: Add 297 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n307" targetname: "n304" label: "0" class:14 priority:50 color:blue} edge: {sourcename: "n307" targetname: "n306" label: "1" class:1 priority:50} edge: {sourcename: "n307" targetname: "n297" label: "2" class:1 priority:50} -node: {title: "n304" label: "ProjM 0 304" info1: "mode: M -visited: 21 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 1 -"color: yellow} +node: {title: "n304" label: "ProjM 0 304" info1: "Proj 304 + mode: M + visited: 21 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 1 + pred nodes: + -1: Block 292 + 0: Store 302 + Private Attributes: +" +color: yellow} edge: {sourcename: "n304" targetname: "n302" label: "0" class:17 priority:10 color:blue} -node: {title: "n302" label: "Store 302" info1: "mode: T -visited: 21 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n302" label: "Store 302" info1: "Store 302 + mode: T + visited: 21 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 3 + pred nodes: + -1: Block 292 + 0: Phi 323 + 1: Add 300 + 2: Add 297 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n302" targetname: "n323" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n302" targetname: "n300" label: "1" class:1 priority:50} edge: {sourcename: "n302" targetname: "n297" label: "2" class:1 priority:50} -node: {title: "n300" label: "AddP 300" info1: "mode: P -visited: 21 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 2 -"} -node: {title: "n300n282" label: "SymC &a 282" info1: "mode: P -visited: 21 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 0 -kind: addr_ent -entity GlobalType.a (266) +node: {title: "n300" label: "AddP 300" info1: "Add 300 + mode: P + visited: 21 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 2 + pred nodes: + -1: Block 292 + 0: Mul 298 + 1: SymC &a 282 + Private Attributes: +" +} +node: {title: "n300n282" label: "SymC &a 282" info1: "SymC &a 282 + mode: P + visited: 21 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 0 + pred nodes: + -1: Block 270 + Private Attributes: + kind: addr_ent + entity: entity GlobalType.a (266) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} edge: {sourcename: "n300" targetname: "n298" label: "0" class:1 priority:50} edge: {sourcename: "n300" targetname: "n300n282" label: "1" class:16 priority:10} -node: {title: "n298" label: "MulIs 298" info1: "mode: Is -visited: 21 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 2 -"} -node: {title: "n298n295" label: "0x8Is 295" info1: "mode: Is -visited: 21 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n298" label: "MulIs 298" info1: "Mul 298 + mode: Is + visited: 21 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 2 + pred nodes: + -1: Block 292 + 0: 0x8 295 + 1: Add 297 + Private Attributes: +" +} +node: {title: "n298n295" label: "0x8Is 295" info1: "0x8 295 + mode: Is + visited: 21 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 0 + pred nodes: + -1: Block 270 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n298" targetname: "n298n295" label: "0" class:16 priority:10} edge: {sourcename: "n298" targetname: "n297" label: "1" class:1 priority:50} -node: {title: "n306" label: "AddP 306" info1: "mode: P -visited: 21 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 2 -"} -node: {title: "n306n282" label: "SymC &a 282" info1: "mode: P -visited: 21 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 0 -kind: addr_ent -entity GlobalType.a (266) +node: {title: "n306" label: "AddP 306" info1: "Add 306 + mode: P + visited: 21 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 2 + pred nodes: + -1: Block 292 + 0: SymC &a 282 + 1: Mul 305 + Private Attributes: +" +} +node: {title: "n306n282" label: "SymC &a 282" info1: "SymC &a 282 + mode: P + visited: 21 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 0 + pred nodes: + -1: Block 270 + Private Attributes: + kind: addr_ent + entity: entity GlobalType.a (266) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} edge: {sourcename: "n306" targetname: "n306n282" label: "0" class:16 priority:10} edge: {sourcename: "n306" targetname: "n305" label: "1" class:1 priority:50} -node: {title: "n305" label: "MulIs 305" info1: "mode: Is -visited: 21 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 2 -"} -node: {title: "n305n294" label: "0x4Is 294" info1: "mode: Is -visited: 21 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n305" label: "MulIs 305" info1: "Mul 305 + mode: Is + visited: 21 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 2 + pred nodes: + -1: Block 292 + 0: 0x4 294 + 1: Add 297 + Private Attributes: +" +} +node: {title: "n305n294" label: "0x4Is 294" info1: "0x4 294 + mode: Is + visited: 21 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 0 + pred nodes: + -1: Block 270 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n305" targetname: "n305n294" label: "0" class:16 priority:10} edge: {sourcename: "n305" targetname: "n297" label: "1" class:1 priority:50} -node: {title: "n310" label: "Jmp 310" info1: "mode: X -visited: 21 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 0 -"} -node: {title: "n297" label: "AddIs 297" info1: "mode: Is -visited: 21 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 2 -"} -node: {title: "n297n293" label: "0x1Is 293" info1: "mode: Is -visited: 21 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n310" label: "Jmp 310" info1: "Jmp 310 + mode: X + visited: 21 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 0 + pred nodes: + -1: Block 292 + Private Attributes: +" +} +node: {title: "n297" label: "AddIs 297" info1: "Add 297 + mode: Is + visited: 21 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 2 + pred nodes: + -1: Block 292 + 0: 0x1 293 + 1: Phi 324 + Private Attributes: +" +} +node: {title: "n297n293" label: "0x1Is 293" info1: "0x1 293 + mode: Is + visited: 21 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 0 + pred nodes: + -1: Block 270 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n297" targetname: "n297n293" label: "0" class:16 priority:10} edge: {sourcename: "n297" targetname: "n324" label: "1" class:16 priority:10} } graph: { title: "n270" label: "Block 270" status:clustered color:yellow edge: {sourcename: "n270" targetname: "n274" label: "0" class:13 priority:60 color:red} -node: {title: "n277" label: "ProjM 1 277" info1: "mode: M -visited: 21 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 1 -"color: yellow} +node: {title: "n277" label: "ProjM 1 277" info1: "Proj 277 + mode: M + visited: 21 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 1 + pred nodes: + -1: Block 270 + 0: Start 271 + Private Attributes: +" +color: yellow} edge: {sourcename: "n277" targetname: "n271" label: "0" class:17 priority:10 color:blue} -node: {title: "n274" label: "ProjX 0 274" info1: "mode: X -visited: 21 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 1 -"color: yellow} +node: {title: "n274" label: "ProjX 0 274" info1: "Proj 274 + mode: X + visited: 21 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 1 + pred nodes: + -1: Block 270 + 0: Start 271 + Private Attributes: +" +color: yellow} edge: {sourcename: "n274" targetname: "n271" label: "0" class:13 priority:60 color:red} -node: {title: "n271" label: "Start 271" info1: "mode: T -visited: 21 -irg: STRENGTH_RED_EXAMPLE_m4 -arity: 0 -start of method of type STRENGTH_RED_EXAMPLE_meth_tp - param 0 type: int -"color: blue} +node: {title: "n271" label: "Start 271" info1: "Start 271 + mode: T + visited: 21 + irg: STRENGTH_RED_EXAMPLE_m4 + arity: 0 + pred nodes: + -1: Block 270 + Private Attributes: + start of method of type STRENGTH_RED_EXAMPLE_meth_tp + param 0 type: int +" +color: blue} } } diff --git a/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m5-strength_reduced.vcg b/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m5-strength_reduced.vcg index 1ba34929c..b04d2124d 100644 --- a/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m5-strength_reduced.vcg +++ b/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m5-strength_reduced.vcg @@ -55,28 +55,46 @@ colorentry 125: 255 250 250 graph: { title: "g346" label: "STRENGTH_RED_EXAMPLE_m5" status:clustered color:white graph: { title: "n335" label: "Block 335" status:clustered color:yellow edge: {sourcename: "n335" targetname: "n385" label: "0" class:13 priority:60 color:red} -node: {title: "n336" label: "End 336" info1: "mode: X -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 1 -"color: blue} +node: {title: "n336" label: "End 336" info1: "End 336 + mode: X + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 1 + pred nodes: + -1: Block 335 + 0: Phi 389 + Private Attributes: +" +color: blue} } graph: { title: "n382" label: "Block 382" status:clustered color:yellow edge: {sourcename: "n382" targetname: "n357" label: "0" class:13 priority:60 color:red} -node: {title: "n385" label: "Return 385" info1: "mode: X -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 2 -return in method of type STRENGTH_RED_EXAMPLE_meth_tp - res 0 type: int -"} -node: {title: "n385n361" label: "0x4Is 361" info1: "mode: Is -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n385" label: "Return 385" info1: "Return 385 + mode: X + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 2 + pred nodes: + -1: Block 382 + 0: Phi 389 + 1: 0x4 361 + Private Attributes: + return in method of type STRENGTH_RED_EXAMPLE_meth_tp + res 0 type: int +" +} +node: {title: "n385n361" label: "0x4Is 361" info1: "0x4 361 + mode: Is + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 0 + pred nodes: + -1: Block 337 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n385" targetname: "n389" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n385" targetname: "n385n361" label: "1" class:16 priority:10} } @@ -84,180 +102,334 @@ edge: {sourcename: "n385" targetname: "n385n361" label: "1" class:16 priority:10 graph: { title: "n351" label: "Block 351" status:clustered color:yellow edge: {sourcename: "n351" targetname: "n350" label: "0" class:13 priority:60 color:red} backedge: {sourcename: "n351" targetname: "n376" label: "1" linestyle:dashed class:13 priority:60 color:red} -node: {title: "n389" label: "PhiM 389" info1: "mode: M -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 2 backedges: -"color: green} +node: {title: "n389" label: "PhiM 389" info1: "Phi 389 + mode: M + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 2 + pred nodes: + -1: Block 351 + 0: Proj 344 + 1: Proj 375 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n389" targetname: "n344" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n389" targetname: "n375" label: "1" class:17 priority:10 color:blue} -node: {title: "n357" label: "ProjX 0 357" info1: "mode: X -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 1 -"color: yellow} +node: {title: "n357" label: "ProjX 0 357" info1: "Proj 357 + mode: X + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 1 + pred nodes: + -1: Block 351 + 0: Cond 356 + Private Attributes: +" +color: yellow} edge: {sourcename: "n357" targetname: "n356" label: "0" class:13 priority:60 color:red} -node: {title: "n358" label: "ProjX 1 358" info1: "mode: X -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 1 -"color: yellow} +node: {title: "n358" label: "ProjX 1 358" info1: "Proj 358 + mode: X + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 1 + pred nodes: + -1: Block 351 + 0: Cond 356 + Private Attributes: +" +color: yellow} edge: {sourcename: "n358" targetname: "n356" label: "0" class:13 priority:60 color:red} -node: {title: "n356" label: "Cond 356" info1: "mode: T -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 1 -"} +node: {title: "n356" label: "Cond 356" info1: "Cond 356 + mode: T + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 1 + pred nodes: + -1: Block 351 + 0: Proj 355 + Private Attributes: + condition kind: dense + default ProjNr: 0 +" +} edge: {sourcename: "n356" targetname: "n355" label: "0" class:1 priority:50} -node: {title: "n355" label: "Projb Lt 355" info1: "mode: b -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 1 -"color: yellow} +node: {title: "n355" label: "Projb Lt 355" info1: "Proj 355 + mode: b + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 1 + pred nodes: + -1: Block 351 + 0: Cmp 354 + Private Attributes: +" +color: yellow} edge: {sourcename: "n355" targetname: "n354" label: "0" class:1 priority:50} -node: {title: "n354" label: "Cmp 354" info1: "mode: T -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 2 -"} -node: {title: "n354n353" label: "0x0Is 353" info1: "mode: Is -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n354" label: "Cmp 354" info1: "Cmp 354 + mode: T + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 2 + pred nodes: + -1: Block 351 + 0: 0x0 353 + 1: Phi 390 + Private Attributes: +" +} +node: {title: "n354n353" label: "0x0Is 353" info1: "0x0 353 + mode: Is + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 0 + pred nodes: + -1: Block 337 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n354" targetname: "n354n353" label: "0" class:16 priority:10} edge: {sourcename: "n354" targetname: "n390" label: "1" class:1 priority:50} -node: {title: "n390" label: "PhiIs 390" info1: "mode: Is -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 2 backedges: -"color: green} -node: {title: "n390n656" label: "0x28Is 656" info1: "mode: Is -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n390" label: "PhiIs 390" info1: "Phi 390 + mode: Is + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 2 + pred nodes: + -1: Block 351 + 0: 0x28 656 + 1: Add 643 + Private Attributes: + backedges: +" +color: green} +node: {title: "n390n656" label: "0x28Is 656" info1: "0x28 656 + mode: Is + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 0 + pred nodes: + -1: Block 337 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n390" targetname: "n390n656" label: "0" class:16 priority:10} edge: {sourcename: "n390" targetname: "n643" label: "1" class:16 priority:10} } graph: { title: "n347" label: "Block 347" status:clustered color:yellow edge: {sourcename: "n347" targetname: "n341" label: "0" class:13 priority:60 color:red} -node: {title: "n350" label: "Jmp 350" info1: "mode: X -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 0 -"} +node: {title: "n350" label: "Jmp 350" info1: "Jmp 350 + mode: X + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 0 + pred nodes: + -1: Block 347 + Private Attributes: +" +} } graph: { title: "n359" label: "Block 359" status:clustered color:yellow edge: {sourcename: "n359" targetname: "n358" label: "0" class:13 priority:60 color:red} -node: {title: "n375" label: "ProjM 0 375" info1: "mode: M -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 1 -"color: yellow} +node: {title: "n375" label: "ProjM 0 375" info1: "Proj 375 + mode: M + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 1 + pred nodes: + -1: Block 359 + 0: Store 373 + Private Attributes: +" +color: yellow} edge: {sourcename: "n375" targetname: "n373" label: "0" class:17 priority:10 color:blue} -node: {title: "n373" label: "Store 373" info1: "mode: T -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 3 -volatility: volatility_non_volatile -"} -node: {title: "n373n371" label: "0x13Is 371" info1: "mode: Is -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n373" label: "Store 373" info1: "Store 373 + mode: T + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 3 + pred nodes: + -1: Block 359 + 0: Phi 389 + 1: Add 652 + 2: 0x13 371 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} +node: {title: "n373n371" label: "0x13Is 371" info1: "0x13 371 + mode: Is + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 0 + pred nodes: + -1: Block 337 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n373" targetname: "n389" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n373" targetname: "n652" label: "1" class:1 priority:50} edge: {sourcename: "n373" targetname: "n373n371" label: "2" class:16 priority:10} -node: {title: "n652" label: "AddP 652" info1: "mode: P -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 2 -"} -node: {title: "n652n651" label: "0x9Is 651" info1: "mode: Is -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n652" label: "AddP 652" info1: "Add 652 + mode: P + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 2 + pred nodes: + -1: Block 359 + 0: Add 649 + 1: 0x9 651 + Private Attributes: +" +} +node: {title: "n652n651" label: "0x9Is 651" info1: "0x9 651 + mode: Is + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 0 + pred nodes: + -1: Block 337 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n652" targetname: "n649" label: "0" class:1 priority:50} edge: {sourcename: "n652" targetname: "n652n651" label: "1" class:16 priority:10} -node: {title: "n649" label: "AddP 649" info1: "mode: P -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 2 -"} +node: {title: "n649" label: "AddP 649" info1: "Add 649 + mode: P + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 2 + pred nodes: + -1: Block 359 + 0: Phi 390 + 1: Add 648 + Private Attributes: +" +} edge: {sourcename: "n649" targetname: "n390" label: "0" class:16 priority:10} edge: {sourcename: "n649" targetname: "n648" label: "1" class:1 priority:50} -node: {title: "n648" label: "AddP 648" info1: "mode: P -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 2 -"} -node: {title: "n648n349" label: "SymC &a 349" info1: "mode: P -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 0 -kind: addr_ent -entity GlobalType.a (333) +node: {title: "n648" label: "AddP 648" info1: "Add 648 + mode: P + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 2 + pred nodes: + -1: Block 359 + 0: SymC &a 349 + 1: 0xFFFFFFFC 646 + Private Attributes: +" +} +node: {title: "n648n349" label: "SymC &a 349" info1: "SymC &a 349 + mode: P + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 0 + pred nodes: + -1: Block 337 + Private Attributes: + kind: addr_ent + entity: entity GlobalType.a (333) -SymConst of type: type_unknown -"} -node: {title: "n648n646" label: "0xFFFFFFFCIs 646" info1: "mode: Is -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 0 -Const of type type_unknown -"color: yellow} + type of value: type_unknown +" +} +node: {title: "n648n646" label: "0xFFFFFFFCIs 646" info1: "0xFFFFFFFC 646 + mode: Is + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 0 + pred nodes: + -1: Block 337 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n648" targetname: "n648n349" label: "0" class:16 priority:10} edge: {sourcename: "n648" targetname: "n648n646" label: "1" class:16 priority:10} -node: {title: "n376" label: "Jmp 376" info1: "mode: X -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 0 -"} -node: {title: "n643" label: "AddIs 643" info1: "mode: Is -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 2 -"} -node: {title: "n643n646" label: "0xFFFFFFFCIs 646" info1: "mode: Is -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n376" label: "Jmp 376" info1: "Jmp 376 + mode: X + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 0 + pred nodes: + -1: Block 359 + Private Attributes: +" +} +node: {title: "n643" label: "AddIs 643" info1: "Add 643 + mode: Is + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 2 + pred nodes: + -1: Block 359 + 0: Phi 390 + 1: 0xFFFFFFFC 646 + Private Attributes: +" +} +node: {title: "n643n646" label: "0xFFFFFFFCIs 646" info1: "0xFFFFFFFC 646 + mode: Is + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 0 + pred nodes: + -1: Block 337 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n643" targetname: "n390" label: "0" class:16 priority:10} edge: {sourcename: "n643" targetname: "n643n646" label: "1" class:16 priority:10} } graph: { title: "n337" label: "Block 337" status:clustered color:yellow edge: {sourcename: "n337" targetname: "n341" label: "0" class:13 priority:60 color:red} -node: {title: "n344" label: "ProjM 1 344" info1: "mode: M -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 1 -"color: yellow} +node: {title: "n344" label: "ProjM 1 344" info1: "Proj 344 + mode: M + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 1 + pred nodes: + -1: Block 337 + 0: Start 338 + Private Attributes: +" +color: yellow} edge: {sourcename: "n344" targetname: "n338" label: "0" class:17 priority:10 color:blue} -node: {title: "n341" label: "ProjX 0 341" info1: "mode: X -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 1 -"color: yellow} +node: {title: "n341" label: "ProjX 0 341" info1: "Proj 341 + mode: X + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 1 + pred nodes: + -1: Block 337 + 0: Start 338 + Private Attributes: +" +color: yellow} edge: {sourcename: "n341" targetname: "n338" label: "0" class:13 priority:60 color:red} -node: {title: "n338" label: "Start 338" info1: "mode: T -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 0 -start of method of type STRENGTH_RED_EXAMPLE_meth_tp - param 0 type: int -"color: blue} +node: {title: "n338" label: "Start 338" info1: "Start 338 + mode: T + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 0 + pred nodes: + -1: Block 337 + Private Attributes: + start of method of type STRENGTH_RED_EXAMPLE_meth_tp + param 0 type: int +" +color: blue} } } diff --git a/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m5.vcg b/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m5.vcg index 974026fd2..1934b05a9 100644 --- a/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m5.vcg +++ b/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m5.vcg @@ -55,28 +55,46 @@ colorentry 125: 255 250 250 graph: { title: "g346" label: "STRENGTH_RED_EXAMPLE_m5" status:clustered color:white graph: { title: "n335" label: "Block 335" status:clustered color:yellow edge: {sourcename: "n335" targetname: "n385" label: "0" class:13 priority:60 color:red} -node: {title: "n336" label: "End 336" info1: "mode: X -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 1 -"color: blue} +node: {title: "n336" label: "End 336" info1: "End 336 + mode: X + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 1 + pred nodes: + -1: Block 335 + 0: Phi 389 + Private Attributes: +" +color: blue} } graph: { title: "n382" label: "Block 382" status:clustered color:yellow edge: {sourcename: "n382" targetname: "n357" label: "0" class:13 priority:60 color:red} -node: {title: "n385" label: "Return 385" info1: "mode: X -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 2 -return in method of type STRENGTH_RED_EXAMPLE_meth_tp - res 0 type: int -"} -node: {title: "n385n361" label: "0x4Is 361" info1: "mode: Is -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n385" label: "Return 385" info1: "Return 385 + mode: X + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 2 + pred nodes: + -1: Block 382 + 0: Phi 389 + 1: 0x4 361 + Private Attributes: + return in method of type STRENGTH_RED_EXAMPLE_meth_tp + res 0 type: int +" +} +node: {title: "n385n361" label: "0x4Is 361" info1: "0x4 361 + mode: Is + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 0 + pred nodes: + -1: Block 337 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n385" targetname: "n389" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n385" targetname: "n385n361" label: "1" class:16 priority:10} } @@ -84,193 +102,359 @@ edge: {sourcename: "n385" targetname: "n385n361" label: "1" class:16 priority:10 graph: { title: "n351" label: "Block 351" status:clustered color:yellow edge: {sourcename: "n351" targetname: "n350" label: "0" class:13 priority:60 color:red} backedge: {sourcename: "n351" targetname: "n376" label: "1" linestyle:dashed class:13 priority:60 color:red} -node: {title: "n389" label: "PhiM 389" info1: "mode: M -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 2 backedges: 1 -"color: green} +node: {title: "n389" label: "PhiM 389" info1: "Phi 389 + mode: M + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 2 + pred nodes: + -1: Block 351 + 0: Proj 344 + 1: be Proj 375 + Private Attributes: + backedges: 1 +" +color: green} edge: {sourcename: "n389" targetname: "n344" label: "0" class:17 priority:10 color:blue} backedge: {sourcename: "n389" targetname: "n375" label: "1" linestyle:dashed class:17 priority:10 color:blue} -node: {title: "n357" label: "ProjX 0 357" info1: "mode: X -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 1 -"color: yellow} +node: {title: "n357" label: "ProjX 0 357" info1: "Proj 357 + mode: X + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 1 + pred nodes: + -1: Block 351 + 0: Cond 356 + Private Attributes: +" +color: yellow} edge: {sourcename: "n357" targetname: "n356" label: "0" class:13 priority:60 color:red} -node: {title: "n358" label: "ProjX 1 358" info1: "mode: X -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 1 -"color: yellow} +node: {title: "n358" label: "ProjX 1 358" info1: "Proj 358 + mode: X + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 1 + pred nodes: + -1: Block 351 + 0: Cond 356 + Private Attributes: +" +color: yellow} edge: {sourcename: "n358" targetname: "n356" label: "0" class:13 priority:60 color:red} -node: {title: "n356" label: "Cond 356" info1: "mode: T -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 1 -"} +node: {title: "n356" label: "Cond 356" info1: "Cond 356 + mode: T + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 1 + pred nodes: + -1: Block 351 + 0: Proj 355 + Private Attributes: + condition kind: dense + default ProjNr: 0 +" +} edge: {sourcename: "n356" targetname: "n355" label: "0" class:1 priority:50} -node: {title: "n355" label: "Projb Lt 355" info1: "mode: b -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 1 -"color: yellow} +node: {title: "n355" label: "Projb Lt 355" info1: "Proj 355 + mode: b + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 1 + pred nodes: + -1: Block 351 + 0: Cmp 354 + Private Attributes: +" +color: yellow} edge: {sourcename: "n355" targetname: "n354" label: "0" class:1 priority:50} -node: {title: "n354" label: "Cmp 354" info1: "mode: T -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 2 -"} -node: {title: "n354n353" label: "0x0Is 353" info1: "mode: Is -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n354" label: "Cmp 354" info1: "Cmp 354 + mode: T + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 2 + pred nodes: + -1: Block 351 + 0: 0x0 353 + 1: Phi 390 + Private Attributes: +" +} +node: {title: "n354n353" label: "0x0Is 353" info1: "0x0 353 + mode: Is + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 0 + pred nodes: + -1: Block 337 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n354" targetname: "n354n353" label: "0" class:16 priority:10} edge: {sourcename: "n354" targetname: "n390" label: "1" class:1 priority:50} -node: {title: "n390" label: "PhiIs 390" info1: "mode: Is -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 2 backedges: 1 -"color: green} -node: {title: "n390n348" label: "0xAIs 348" info1: "mode: Is -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n390" label: "PhiIs 390" info1: "Phi 390 + mode: Is + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 2 + pred nodes: + -1: Block 351 + 0: 0xA 348 + 1: be Sub 363 + Private Attributes: + backedges: 1 +" +color: green} +node: {title: "n390n348" label: "0xAIs 348" info1: "0xA 348 + mode: Is + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 0 + pred nodes: + -1: Block 337 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n390" targetname: "n390n348" label: "0" class:16 priority:10} backedge: {sourcename: "n390" targetname: "n363" label: "1" linestyle:dashed class:16 priority:10} } graph: { title: "n347" label: "Block 347" status:clustered color:yellow edge: {sourcename: "n347" targetname: "n341" label: "0" class:13 priority:60 color:red} -node: {title: "n350" label: "Jmp 350" info1: "mode: X -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 0 -"} +node: {title: "n350" label: "Jmp 350" info1: "Jmp 350 + mode: X + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 0 + pred nodes: + -1: Block 347 + Private Attributes: +" +} } graph: { title: "n359" label: "Block 359" status:clustered color:yellow edge: {sourcename: "n359" targetname: "n358" label: "0" class:13 priority:60 color:red} -node: {title: "n375" label: "ProjM 0 375" info1: "mode: M -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 1 -"color: yellow} +node: {title: "n375" label: "ProjM 0 375" info1: "Proj 375 + mode: M + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 1 + pred nodes: + -1: Block 359 + 0: Store 373 + Private Attributes: +" +color: yellow} edge: {sourcename: "n375" targetname: "n373" label: "0" class:17 priority:10 color:blue} -node: {title: "n373" label: "Store 373" info1: "mode: T -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 3 -volatility: volatility_non_volatile -"} -node: {title: "n373n371" label: "0x13Is 371" info1: "mode: Is -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n373" label: "Store 373" info1: "Store 373 + mode: T + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 3 + pred nodes: + -1: Block 359 + 0: Phi 389 + 1: Add 370 + 2: 0x13 371 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} +node: {title: "n373n371" label: "0x13Is 371" info1: "0x13 371 + mode: Is + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 0 + pred nodes: + -1: Block 337 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n373" targetname: "n389" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n373" targetname: "n370" label: "1" class:1 priority:50} edge: {sourcename: "n373" targetname: "n373n371" label: "2" class:16 priority:10} -node: {title: "n370" label: "AddP 370" info1: "mode: P -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 2 -"} -node: {title: "n370n365" label: "0x5Is 365" info1: "mode: Is -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n370" label: "AddP 370" info1: "Add 370 + mode: P + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 2 + pred nodes: + -1: Block 359 + 0: 0x5 365 + 1: Add 369 + Private Attributes: +" +} +node: {title: "n370n365" label: "0x5Is 365" info1: "0x5 365 + mode: Is + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 0 + pred nodes: + -1: Block 337 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n370" targetname: "n370n365" label: "0" class:16 priority:10} edge: {sourcename: "n370" targetname: "n369" label: "1" class:1 priority:50} -node: {title: "n369" label: "AddP 369" info1: "mode: P -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 2 -"} -node: {title: "n369n361" label: "0x4Is 361" info1: "mode: Is -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n369" label: "AddP 369" info1: "Add 369 + mode: P + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 2 + pred nodes: + -1: Block 359 + 0: 0x4 361 + 1: Add 368 + Private Attributes: +" +} +node: {title: "n369n361" label: "0x4Is 361" info1: "0x4 361 + mode: Is + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 0 + pred nodes: + -1: Block 337 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n369" targetname: "n369n361" label: "0" class:16 priority:10} edge: {sourcename: "n369" targetname: "n368" label: "1" class:1 priority:50} -node: {title: "n368" label: "AddP 368" info1: "mode: P -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 2 -"} -node: {title: "n368n349" label: "SymC &a 349" info1: "mode: P -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 0 -kind: addr_ent -entity GlobalType.a (333) +node: {title: "n368" label: "AddP 368" info1: "Add 368 + mode: P + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 2 + pred nodes: + -1: Block 359 + 0: Mul 366 + 1: SymC &a 349 + Private Attributes: +" +} +node: {title: "n368n349" label: "SymC &a 349" info1: "SymC &a 349 + mode: P + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 0 + pred nodes: + -1: Block 337 + Private Attributes: + kind: addr_ent + entity: entity GlobalType.a (333) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} edge: {sourcename: "n368" targetname: "n366" label: "0" class:1 priority:50} edge: {sourcename: "n368" targetname: "n368n349" label: "1" class:16 priority:10} -node: {title: "n366" label: "MulIs 366" info1: "mode: Is -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 2 -"} -node: {title: "n366n361" label: "0x4Is 361" info1: "mode: Is -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n366" label: "MulIs 366" info1: "Mul 366 + mode: Is + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 2 + pred nodes: + -1: Block 359 + 0: 0x4 361 + 1: Sub 363 + Private Attributes: +" +} +node: {title: "n366n361" label: "0x4Is 361" info1: "0x4 361 + mode: Is + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 0 + pred nodes: + -1: Block 337 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n366" targetname: "n366n361" label: "0" class:16 priority:10} edge: {sourcename: "n366" targetname: "n363" label: "1" class:1 priority:50} -node: {title: "n376" label: "Jmp 376" info1: "mode: X -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 0 -"} -node: {title: "n363" label: "SubIs 363" info1: "mode: Is -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 2 -"} -node: {title: "n363n360" label: "0x1Is 360" info1: "mode: Is -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n376" label: "Jmp 376" info1: "Jmp 376 + mode: X + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 0 + pred nodes: + -1: Block 359 + Private Attributes: +" +} +node: {title: "n363" label: "SubIs 363" info1: "Sub 363 + mode: Is + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 2 + pred nodes: + -1: Block 359 + 0: Phi 390 + 1: 0x1 360 + Private Attributes: +" +} +node: {title: "n363n360" label: "0x1Is 360" info1: "0x1 360 + mode: Is + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 0 + pred nodes: + -1: Block 337 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n363" targetname: "n390" label: "0" class:16 priority:10} edge: {sourcename: "n363" targetname: "n363n360" label: "1" class:16 priority:10} } graph: { title: "n337" label: "Block 337" status:clustered color:yellow edge: {sourcename: "n337" targetname: "n341" label: "0" class:13 priority:60 color:red} -node: {title: "n344" label: "ProjM 1 344" info1: "mode: M -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 1 -"color: yellow} +node: {title: "n344" label: "ProjM 1 344" info1: "Proj 344 + mode: M + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 1 + pred nodes: + -1: Block 337 + 0: Start 338 + Private Attributes: +" +color: yellow} edge: {sourcename: "n344" targetname: "n338" label: "0" class:17 priority:10 color:blue} -node: {title: "n341" label: "ProjX 0 341" info1: "mode: X -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 1 -"color: yellow} +node: {title: "n341" label: "ProjX 0 341" info1: "Proj 341 + mode: X + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 1 + pred nodes: + -1: Block 337 + 0: Start 338 + Private Attributes: +" +color: yellow} edge: {sourcename: "n341" targetname: "n338" label: "0" class:13 priority:60 color:red} -node: {title: "n338" label: "Start 338" info1: "mode: T -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m5 -arity: 0 -start of method of type STRENGTH_RED_EXAMPLE_meth_tp - param 0 type: int -"color: blue} +node: {title: "n338" label: "Start 338" info1: "Start 338 + mode: T + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m5 + arity: 0 + pred nodes: + -1: Block 337 + Private Attributes: + start of method of type STRENGTH_RED_EXAMPLE_meth_tp + param 0 type: int +" +color: blue} } } diff --git a/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m6-strength_reduced.vcg b/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m6-strength_reduced.vcg index 4a952d97d..9314d669b 100644 --- a/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m6-strength_reduced.vcg +++ b/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m6-strength_reduced.vcg @@ -55,28 +55,46 @@ colorentry 125: 255 250 250 graph: { title: "g412" label: "STRENGTH_RED_EXAMPLE_m6" status:clustered color:white graph: { title: "n401" label: "Block 401" status:clustered color:yellow edge: {sourcename: "n401" targetname: "n451" label: "0" class:13 priority:60 color:red} -node: {title: "n402" label: "End 402" info1: "mode: X -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 1 -"color: blue} +node: {title: "n402" label: "End 402" info1: "End 402 + mode: X + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 1 + pred nodes: + -1: Block 401 + 0: Phi 455 + Private Attributes: +" +color: blue} } graph: { title: "n448" label: "Block 448" status:clustered color:yellow edge: {sourcename: "n448" targetname: "n423" label: "0" class:13 priority:60 color:red} -node: {title: "n451" label: "Return 451" info1: "mode: X -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 2 -return in method of type STRENGTH_RED_EXAMPLE_meth_tp - res 0 type: int -"} -node: {title: "n451n428" label: "0x4Is 428" info1: "mode: Is -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n451" label: "Return 451" info1: "Return 451 + mode: X + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 2 + pred nodes: + -1: Block 448 + 0: Phi 455 + 1: 0x4 428 + Private Attributes: + return in method of type STRENGTH_RED_EXAMPLE_meth_tp + res 0 type: int +" +} +node: {title: "n451n428" label: "0x4Is 428" info1: "0x4 428 + mode: Is + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 0 + pred nodes: + -1: Block 403 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n451" targetname: "n455" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n451" targetname: "n451n428" label: "1" class:16 priority:10} } @@ -84,193 +102,359 @@ edge: {sourcename: "n451" targetname: "n451n428" label: "1" class:16 priority:10 graph: { title: "n417" label: "Block 417" status:clustered color:yellow edge: {sourcename: "n417" targetname: "n416" label: "0" class:13 priority:60 color:red} backedge: {sourcename: "n417" targetname: "n442" label: "1" linestyle:dashed class:13 priority:60 color:red} -node: {title: "n455" label: "PhiM 455" info1: "mode: M -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 2 backedges: -"color: green} +node: {title: "n455" label: "PhiM 455" info1: "Phi 455 + mode: M + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 2 + pred nodes: + -1: Block 417 + 0: Proj 410 + 1: Proj 441 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n455" targetname: "n410" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n455" targetname: "n441" label: "1" class:17 priority:10 color:blue} -node: {title: "n423" label: "ProjX 0 423" info1: "mode: X -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 1 -"color: yellow} +node: {title: "n423" label: "ProjX 0 423" info1: "Proj 423 + mode: X + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 1 + pred nodes: + -1: Block 417 + 0: Cond 422 + Private Attributes: +" +color: yellow} edge: {sourcename: "n423" targetname: "n422" label: "0" class:13 priority:60 color:red} -node: {title: "n424" label: "ProjX 1 424" info1: "mode: X -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 1 -"color: yellow} +node: {title: "n424" label: "ProjX 1 424" info1: "Proj 424 + mode: X + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 1 + pred nodes: + -1: Block 417 + 0: Cond 422 + Private Attributes: +" +color: yellow} edge: {sourcename: "n424" targetname: "n422" label: "0" class:13 priority:60 color:red} -node: {title: "n422" label: "Cond 422" info1: "mode: T -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 1 -"} +node: {title: "n422" label: "Cond 422" info1: "Cond 422 + mode: T + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 1 + pred nodes: + -1: Block 417 + 0: Proj 421 + Private Attributes: + condition kind: dense + default ProjNr: 0 +" +} edge: {sourcename: "n422" targetname: "n421" label: "0" class:1 priority:50} -node: {title: "n421" label: "Projb Gt 421" info1: "mode: b -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 1 -"color: yellow} +node: {title: "n421" label: "Projb Gt 421" info1: "Proj 421 + mode: b + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 1 + pred nodes: + -1: Block 417 + 0: Cmp 420 + Private Attributes: +" +color: yellow} edge: {sourcename: "n421" targetname: "n420" label: "0" class:1 priority:50} -node: {title: "n420" label: "Cmp 420" info1: "mode: T -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 2 -"} -node: {title: "n420n683" label: "0x28Is 683" info1: "mode: Is -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n420" label: "Cmp 420" info1: "Cmp 420 + mode: T + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 2 + pred nodes: + -1: Block 417 + 0: 0x28 683 + 1: Phi 456 + Private Attributes: +" +} +node: {title: "n420n683" label: "0x28Is 683" info1: "0x28 683 + mode: Is + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 0 + pred nodes: + -1: Block 403 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n420" targetname: "n420n683" label: "0" class:16 priority:10} edge: {sourcename: "n420" targetname: "n456" label: "1" class:1 priority:50} -node: {title: "n456" label: "PhiIs 456" info1: "mode: Is -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 2 backedges: -"color: green} -node: {title: "n456n414" label: "0x0Is 414" info1: "mode: Is -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n456" label: "PhiIs 456" info1: "Phi 456 + mode: Is + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 2 + pred nodes: + -1: Block 417 + 0: 0x0 414 + 1: Add 668 + Private Attributes: + backedges: +" +color: green} +node: {title: "n456n414" label: "0x0Is 414" info1: "0x0 414 + mode: Is + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 0 + pred nodes: + -1: Block 403 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n456" targetname: "n456n414" label: "0" class:16 priority:10} edge: {sourcename: "n456" targetname: "n668" label: "1" class:16 priority:10} } graph: { title: "n413" label: "Block 413" status:clustered color:yellow edge: {sourcename: "n413" targetname: "n407" label: "0" class:13 priority:60 color:red} -node: {title: "n416" label: "Jmp 416" info1: "mode: X -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 0 -"} +node: {title: "n416" label: "Jmp 416" info1: "Jmp 416 + mode: X + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 0 + pred nodes: + -1: Block 413 + Private Attributes: +" +} } graph: { title: "n425" label: "Block 425" status:clustered color:yellow edge: {sourcename: "n425" targetname: "n424" label: "0" class:13 priority:60 color:red} -node: {title: "n441" label: "ProjM 0 441" info1: "mode: M -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 1 -"color: yellow} +node: {title: "n441" label: "ProjM 0 441" info1: "Proj 441 + mode: M + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 1 + pred nodes: + -1: Block 425 + 0: Store 439 + Private Attributes: +" +color: yellow} edge: {sourcename: "n441" targetname: "n439" label: "0" class:17 priority:10 color:blue} -node: {title: "n439" label: "Store 439" info1: "mode: T -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 3 -volatility: volatility_non_volatile -"} -node: {title: "n439n437" label: "0x13Is 437" info1: "mode: Is -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n439" label: "Store 439" info1: "Store 439 + mode: T + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 3 + pred nodes: + -1: Block 425 + 0: Phi 455 + 1: Add 677 + 2: 0x13 437 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} +node: {title: "n439n437" label: "0x13Is 437" info1: "0x13 437 + mode: Is + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 0 + pred nodes: + -1: Block 403 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n439" targetname: "n455" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n439" targetname: "n677" label: "1" class:1 priority:50} edge: {sourcename: "n439" targetname: "n439n437" label: "2" class:16 priority:10} -node: {title: "n677" label: "AddP 677" info1: "mode: P -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 2 -"} -node: {title: "n677n676" label: "0x8Is 676" info1: "mode: Is -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n677" label: "AddP 677" info1: "Add 677 + mode: P + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 2 + pred nodes: + -1: Block 425 + 0: Sub 434 + 1: 0x8 676 + Private Attributes: +" +} +node: {title: "n677n676" label: "0x8Is 676" info1: "0x8 676 + mode: Is + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 0 + pred nodes: + -1: Block 403 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n677" targetname: "n434" label: "0" class:1 priority:50} edge: {sourcename: "n677" targetname: "n677n676" label: "1" class:16 priority:10} -node: {title: "n434" label: "SubP 434" info1: "mode: P -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 2 -"} -node: {title: "n434n427" label: "0x5Is 427" info1: "mode: Is -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n434" label: "SubP 434" info1: "Sub 434 + mode: P + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 2 + pred nodes: + -1: Block 425 + 0: 0x5 427 + 1: Add 674 + Private Attributes: +" +} +node: {title: "n434n427" label: "0x5Is 427" info1: "0x5 427 + mode: Is + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 0 + pred nodes: + -1: Block 403 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n434" targetname: "n434n427" label: "0" class:16 priority:10} edge: {sourcename: "n434" targetname: "n674" label: "1" class:1 priority:50} -node: {title: "n674" label: "AddP 674" info1: "mode: P -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 2 -"} +node: {title: "n674" label: "AddP 674" info1: "Add 674 + mode: P + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 2 + pred nodes: + -1: Block 425 + 0: Phi 456 + 1: Add 673 + Private Attributes: +" +} edge: {sourcename: "n674" targetname: "n456" label: "0" class:16 priority:10} edge: {sourcename: "n674" targetname: "n673" label: "1" class:1 priority:50} -node: {title: "n673" label: "AddP 673" info1: "mode: P -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 2 -"} -node: {title: "n673n415" label: "SymC &a 415" info1: "mode: P -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 0 -kind: addr_ent -entity GlobalType.a (399) +node: {title: "n673" label: "AddP 673" info1: "Add 673 + mode: P + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 2 + pred nodes: + -1: Block 425 + 0: SymC &a 415 + 1: 0xFFFFFFFC 671 + Private Attributes: +" +} +node: {title: "n673n415" label: "SymC &a 415" info1: "SymC &a 415 + mode: P + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 0 + pred nodes: + -1: Block 403 + Private Attributes: + kind: addr_ent + entity: entity GlobalType.a (399) -SymConst of type: type_unknown -"} -node: {title: "n673n671" label: "0xFFFFFFFCIs 671" info1: "mode: Is -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 0 -Const of type type_unknown -"color: yellow} + type of value: type_unknown +" +} +node: {title: "n673n671" label: "0xFFFFFFFCIs 671" info1: "0xFFFFFFFC 671 + mode: Is + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 0 + pred nodes: + -1: Block 403 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n673" targetname: "n673n415" label: "0" class:16 priority:10} edge: {sourcename: "n673" targetname: "n673n671" label: "1" class:16 priority:10} -node: {title: "n442" label: "Jmp 442" info1: "mode: X -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 0 -"} -node: {title: "n668" label: "AddIs 668" info1: "mode: Is -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 2 -"} -node: {title: "n668n671" label: "0xFFFFFFFCIs 671" info1: "mode: Is -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n442" label: "Jmp 442" info1: "Jmp 442 + mode: X + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 0 + pred nodes: + -1: Block 425 + Private Attributes: +" +} +node: {title: "n668" label: "AddIs 668" info1: "Add 668 + mode: Is + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 2 + pred nodes: + -1: Block 425 + 0: Phi 456 + 1: 0xFFFFFFFC 671 + Private Attributes: +" +} +node: {title: "n668n671" label: "0xFFFFFFFCIs 671" info1: "0xFFFFFFFC 671 + mode: Is + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 0 + pred nodes: + -1: Block 403 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n668" targetname: "n456" label: "0" class:16 priority:10} edge: {sourcename: "n668" targetname: "n668n671" label: "1" class:16 priority:10} } graph: { title: "n403" label: "Block 403" status:clustered color:yellow edge: {sourcename: "n403" targetname: "n407" label: "0" class:13 priority:60 color:red} -node: {title: "n410" label: "ProjM 1 410" info1: "mode: M -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 1 -"color: yellow} +node: {title: "n410" label: "ProjM 1 410" info1: "Proj 410 + mode: M + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 1 + pred nodes: + -1: Block 403 + 0: Start 404 + Private Attributes: +" +color: yellow} edge: {sourcename: "n410" targetname: "n404" label: "0" class:17 priority:10 color:blue} -node: {title: "n407" label: "ProjX 0 407" info1: "mode: X -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 1 -"color: yellow} +node: {title: "n407" label: "ProjX 0 407" info1: "Proj 407 + mode: X + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 1 + pred nodes: + -1: Block 403 + 0: Start 404 + Private Attributes: +" +color: yellow} edge: {sourcename: "n407" targetname: "n404" label: "0" class:13 priority:60 color:red} -node: {title: "n404" label: "Start 404" info1: "mode: T -visited: 27 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 0 -start of method of type STRENGTH_RED_EXAMPLE_meth_tp - param 0 type: int -"color: blue} +node: {title: "n404" label: "Start 404" info1: "Start 404 + mode: T + visited: 27 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 0 + pred nodes: + -1: Block 403 + Private Attributes: + start of method of type STRENGTH_RED_EXAMPLE_meth_tp + param 0 type: int +" +color: blue} } } diff --git a/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m6.vcg b/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m6.vcg index e6fc8a8a4..489af728a 100644 --- a/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m6.vcg +++ b/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m6.vcg @@ -55,28 +55,46 @@ colorentry 125: 255 250 250 graph: { title: "g412" label: "STRENGTH_RED_EXAMPLE_m6" status:clustered color:white graph: { title: "n401" label: "Block 401" status:clustered color:yellow edge: {sourcename: "n401" targetname: "n451" label: "0" class:13 priority:60 color:red} -node: {title: "n402" label: "End 402" info1: "mode: X -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 1 -"color: blue} +node: {title: "n402" label: "End 402" info1: "End 402 + mode: X + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 1 + pred nodes: + -1: Block 401 + 0: Phi 455 + Private Attributes: +" +color: blue} } graph: { title: "n448" label: "Block 448" status:clustered color:yellow edge: {sourcename: "n448" targetname: "n423" label: "0" class:13 priority:60 color:red} -node: {title: "n451" label: "Return 451" info1: "mode: X -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 2 -return in method of type STRENGTH_RED_EXAMPLE_meth_tp - res 0 type: int -"} -node: {title: "n451n428" label: "0x4Is 428" info1: "mode: Is -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n451" label: "Return 451" info1: "Return 451 + mode: X + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 2 + pred nodes: + -1: Block 448 + 0: Phi 455 + 1: 0x4 428 + Private Attributes: + return in method of type STRENGTH_RED_EXAMPLE_meth_tp + res 0 type: int +" +} +node: {title: "n451n428" label: "0x4Is 428" info1: "0x4 428 + mode: Is + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 0 + pred nodes: + -1: Block 403 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n451" targetname: "n455" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n451" targetname: "n451n428" label: "1" class:16 priority:10} } @@ -84,206 +102,384 @@ edge: {sourcename: "n451" targetname: "n451n428" label: "1" class:16 priority:10 graph: { title: "n417" label: "Block 417" status:clustered color:yellow edge: {sourcename: "n417" targetname: "n416" label: "0" class:13 priority:60 color:red} backedge: {sourcename: "n417" targetname: "n442" label: "1" linestyle:dashed class:13 priority:60 color:red} -node: {title: "n455" label: "PhiM 455" info1: "mode: M -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 2 backedges: 1 -"color: green} +node: {title: "n455" label: "PhiM 455" info1: "Phi 455 + mode: M + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 2 + pred nodes: + -1: Block 417 + 0: Proj 410 + 1: be Proj 441 + Private Attributes: + backedges: 1 +" +color: green} edge: {sourcename: "n455" targetname: "n410" label: "0" class:17 priority:10 color:blue} backedge: {sourcename: "n455" targetname: "n441" label: "1" linestyle:dashed class:17 priority:10 color:blue} -node: {title: "n423" label: "ProjX 0 423" info1: "mode: X -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 1 -"color: yellow} +node: {title: "n423" label: "ProjX 0 423" info1: "Proj 423 + mode: X + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 1 + pred nodes: + -1: Block 417 + 0: Cond 422 + Private Attributes: +" +color: yellow} edge: {sourcename: "n423" targetname: "n422" label: "0" class:13 priority:60 color:red} -node: {title: "n424" label: "ProjX 1 424" info1: "mode: X -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 1 -"color: yellow} +node: {title: "n424" label: "ProjX 1 424" info1: "Proj 424 + mode: X + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 1 + pred nodes: + -1: Block 417 + 0: Cond 422 + Private Attributes: +" +color: yellow} edge: {sourcename: "n424" targetname: "n422" label: "0" class:13 priority:60 color:red} -node: {title: "n422" label: "Cond 422" info1: "mode: T -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 1 -"} +node: {title: "n422" label: "Cond 422" info1: "Cond 422 + mode: T + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 1 + pred nodes: + -1: Block 417 + 0: Proj 421 + Private Attributes: + condition kind: dense + default ProjNr: 0 +" +} edge: {sourcename: "n422" targetname: "n421" label: "0" class:1 priority:50} -node: {title: "n421" label: "Projb Gt 421" info1: "mode: b -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 1 -"color: yellow} +node: {title: "n421" label: "Projb Gt 421" info1: "Proj 421 + mode: b + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 1 + pred nodes: + -1: Block 417 + 0: Cmp 420 + Private Attributes: +" +color: yellow} edge: {sourcename: "n421" targetname: "n420" label: "0" class:1 priority:50} -node: {title: "n420" label: "Cmp 420" info1: "mode: T -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 2 -"} -node: {title: "n420n419" label: "0xAIs 419" info1: "mode: Is -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n420" label: "Cmp 420" info1: "Cmp 420 + mode: T + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 2 + pred nodes: + -1: Block 417 + 0: 0xA 419 + 1: Phi 456 + Private Attributes: +" +} +node: {title: "n420n419" label: "0xAIs 419" info1: "0xA 419 + mode: Is + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 0 + pred nodes: + -1: Block 403 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n420" targetname: "n420n419" label: "0" class:16 priority:10} edge: {sourcename: "n420" targetname: "n456" label: "1" class:1 priority:50} -node: {title: "n456" label: "PhiIs 456" info1: "mode: Is -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 2 backedges: 1 -"color: green} -node: {title: "n456n414" label: "0x0Is 414" info1: "mode: Is -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n456" label: "PhiIs 456" info1: "Phi 456 + mode: Is + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 2 + pred nodes: + -1: Block 417 + 0: 0x0 414 + 1: be Sub 430 + Private Attributes: + backedges: 1 +" +color: green} +node: {title: "n456n414" label: "0x0Is 414" info1: "0x0 414 + mode: Is + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 0 + pred nodes: + -1: Block 403 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n456" targetname: "n456n414" label: "0" class:16 priority:10} backedge: {sourcename: "n456" targetname: "n430" label: "1" linestyle:dashed class:16 priority:10} } graph: { title: "n413" label: "Block 413" status:clustered color:yellow edge: {sourcename: "n413" targetname: "n407" label: "0" class:13 priority:60 color:red} -node: {title: "n416" label: "Jmp 416" info1: "mode: X -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 0 -"} +node: {title: "n416" label: "Jmp 416" info1: "Jmp 416 + mode: X + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 0 + pred nodes: + -1: Block 413 + Private Attributes: +" +} } graph: { title: "n425" label: "Block 425" status:clustered color:yellow edge: {sourcename: "n425" targetname: "n424" label: "0" class:13 priority:60 color:red} -node: {title: "n441" label: "ProjM 0 441" info1: "mode: M -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 1 -"color: yellow} +node: {title: "n441" label: "ProjM 0 441" info1: "Proj 441 + mode: M + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 1 + pred nodes: + -1: Block 425 + 0: Store 439 + Private Attributes: +" +color: yellow} edge: {sourcename: "n441" targetname: "n439" label: "0" class:17 priority:10 color:blue} -node: {title: "n439" label: "Store 439" info1: "mode: T -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 3 -volatility: volatility_non_volatile -"} -node: {title: "n439n437" label: "0x13Is 437" info1: "mode: Is -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n439" label: "Store 439" info1: "Store 439 + mode: T + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 3 + pred nodes: + -1: Block 425 + 0: Phi 455 + 1: Add 436 + 2: 0x13 437 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} +node: {title: "n439n437" label: "0x13Is 437" info1: "0x13 437 + mode: Is + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 0 + pred nodes: + -1: Block 403 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n439" targetname: "n455" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n439" targetname: "n436" label: "1" class:1 priority:50} edge: {sourcename: "n439" targetname: "n439n437" label: "2" class:16 priority:10} -node: {title: "n436" label: "AddP 436" info1: "mode: P -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 2 -"} -node: {title: "n436n428" label: "0x4Is 428" info1: "mode: Is -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n436" label: "AddP 436" info1: "Add 436 + mode: P + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 2 + pred nodes: + -1: Block 425 + 0: 0x4 428 + 1: Add 435 + Private Attributes: +" +} +node: {title: "n436n428" label: "0x4Is 428" info1: "0x4 428 + mode: Is + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 0 + pred nodes: + -1: Block 403 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n436" targetname: "n436n428" label: "0" class:16 priority:10} edge: {sourcename: "n436" targetname: "n435" label: "1" class:1 priority:50} -node: {title: "n435" label: "AddP 435" info1: "mode: P -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 2 -"} -node: {title: "n435n428" label: "0x4Is 428" info1: "mode: Is -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n435" label: "AddP 435" info1: "Add 435 + mode: P + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 2 + pred nodes: + -1: Block 425 + 0: 0x4 428 + 1: Sub 434 + Private Attributes: +" +} +node: {title: "n435n428" label: "0x4Is 428" info1: "0x4 428 + mode: Is + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 0 + pred nodes: + -1: Block 403 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n435" targetname: "n435n428" label: "0" class:16 priority:10} edge: {sourcename: "n435" targetname: "n434" label: "1" class:1 priority:50} -node: {title: "n434" label: "SubP 434" info1: "mode: P -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 2 -"} -node: {title: "n434n427" label: "0x5Is 427" info1: "mode: Is -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n434" label: "SubP 434" info1: "Sub 434 + mode: P + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 2 + pred nodes: + -1: Block 425 + 0: 0x5 427 + 1: Add 433 + Private Attributes: +" +} +node: {title: "n434n427" label: "0x5Is 427" info1: "0x5 427 + mode: Is + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 0 + pred nodes: + -1: Block 403 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n434" targetname: "n434n427" label: "0" class:16 priority:10} edge: {sourcename: "n434" targetname: "n433" label: "1" class:1 priority:50} -node: {title: "n433" label: "AddP 433" info1: "mode: P -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 2 -"} -node: {title: "n433n415" label: "SymC &a 415" info1: "mode: P -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 0 -kind: addr_ent -entity GlobalType.a (399) +node: {title: "n433" label: "AddP 433" info1: "Add 433 + mode: P + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 2 + pred nodes: + -1: Block 425 + 0: Mul 431 + 1: SymC &a 415 + Private Attributes: +" +} +node: {title: "n433n415" label: "SymC &a 415" info1: "SymC &a 415 + mode: P + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 0 + pred nodes: + -1: Block 403 + Private Attributes: + kind: addr_ent + entity: entity GlobalType.a (399) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} edge: {sourcename: "n433" targetname: "n431" label: "0" class:1 priority:50} edge: {sourcename: "n433" targetname: "n433n415" label: "1" class:16 priority:10} -node: {title: "n431" label: "MulIs 431" info1: "mode: Is -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 2 -"} -node: {title: "n431n428" label: "0x4Is 428" info1: "mode: Is -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n431" label: "MulIs 431" info1: "Mul 431 + mode: Is + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 2 + pred nodes: + -1: Block 425 + 0: 0x4 428 + 1: Sub 430 + Private Attributes: +" +} +node: {title: "n431n428" label: "0x4Is 428" info1: "0x4 428 + mode: Is + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 0 + pred nodes: + -1: Block 403 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n431" targetname: "n431n428" label: "0" class:16 priority:10} edge: {sourcename: "n431" targetname: "n430" label: "1" class:1 priority:50} -node: {title: "n442" label: "Jmp 442" info1: "mode: X -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 0 -"} -node: {title: "n430" label: "SubIs 430" info1: "mode: Is -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 2 -"} -node: {title: "n430n426" label: "0x1Is 426" info1: "mode: Is -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n442" label: "Jmp 442" info1: "Jmp 442 + mode: X + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 0 + pred nodes: + -1: Block 425 + Private Attributes: +" +} +node: {title: "n430" label: "SubIs 430" info1: "Sub 430 + mode: Is + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 2 + pred nodes: + -1: Block 425 + 0: Phi 456 + 1: 0x1 426 + Private Attributes: +" +} +node: {title: "n430n426" label: "0x1Is 426" info1: "0x1 426 + mode: Is + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 0 + pred nodes: + -1: Block 403 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n430" targetname: "n456" label: "0" class:16 priority:10} edge: {sourcename: "n430" targetname: "n430n426" label: "1" class:16 priority:10} } graph: { title: "n403" label: "Block 403" status:clustered color:yellow edge: {sourcename: "n403" targetname: "n407" label: "0" class:13 priority:60 color:red} -node: {title: "n410" label: "ProjM 1 410" info1: "mode: M -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 1 -"color: yellow} +node: {title: "n410" label: "ProjM 1 410" info1: "Proj 410 + mode: M + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 1 + pred nodes: + -1: Block 403 + 0: Start 404 + Private Attributes: +" +color: yellow} edge: {sourcename: "n410" targetname: "n404" label: "0" class:17 priority:10 color:blue} -node: {title: "n407" label: "ProjX 0 407" info1: "mode: X -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 1 -"color: yellow} +node: {title: "n407" label: "ProjX 0 407" info1: "Proj 407 + mode: X + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 1 + pred nodes: + -1: Block 403 + 0: Start 404 + Private Attributes: +" +color: yellow} edge: {sourcename: "n407" targetname: "n404" label: "0" class:13 priority:60 color:red} -node: {title: "n404" label: "Start 404" info1: "mode: T -visited: 16 -irg: STRENGTH_RED_EXAMPLE_m6 -arity: 0 -start of method of type STRENGTH_RED_EXAMPLE_meth_tp - param 0 type: int -"color: blue} +node: {title: "n404" label: "Start 404" info1: "Start 404 + mode: T + visited: 16 + irg: STRENGTH_RED_EXAMPLE_m6 + arity: 0 + pred nodes: + -1: Block 403 + Private Attributes: + start of method of type STRENGTH_RED_EXAMPLE_meth_tp + param 0 type: int +" +color: blue} } } diff --git a/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m7-strength_reduced.vcg b/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m7-strength_reduced.vcg index b43c7d563..05826b2ba 100644 --- a/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m7-strength_reduced.vcg +++ b/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m7-strength_reduced.vcg @@ -55,28 +55,46 @@ colorentry 125: 255 250 250 graph: { title: "g478" label: "STRENGTH_RED_EXAMPLE_m7" status:clustered color:white graph: { title: "n467" label: "Block 467" status:clustered color:yellow edge: {sourcename: "n467" targetname: "n517" label: "0" class:13 priority:60 color:red} -node: {title: "n468" label: "End 468" info1: "mode: X -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 1 -"color: blue} +node: {title: "n468" label: "End 468" info1: "End 468 + mode: X + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 1 + pred nodes: + -1: Block 467 + 0: Phi 521 + Private Attributes: +" +color: blue} } graph: { title: "n514" label: "Block 514" status:clustered color:yellow edge: {sourcename: "n514" targetname: "n490" label: "0" class:13 priority:60 color:red} -node: {title: "n517" label: "Return 517" info1: "mode: X -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 2 -return in method of type STRENGTH_RED_EXAMPLE_meth_tp - res 0 type: int -"} -node: {title: "n517n494" label: "0x4Is 494" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n517" label: "Return 517" info1: "Return 517 + mode: X + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 2 + pred nodes: + -1: Block 514 + 0: Phi 521 + 1: 0x4 494 + Private Attributes: + return in method of type STRENGTH_RED_EXAMPLE_meth_tp + res 0 type: int +" +} +node: {title: "n517n494" label: "0x4Is 494" info1: "0x4 494 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 0 + pred nodes: + -1: Block 469 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n517" targetname: "n521" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n517" targetname: "n517n494" label: "1" class:16 priority:10} } @@ -84,200 +102,374 @@ edge: {sourcename: "n517" targetname: "n517n494" label: "1" class:16 priority:10 graph: { title: "n484" label: "Block 484" status:clustered color:yellow edge: {sourcename: "n484" targetname: "n483" label: "0" class:13 priority:60 color:red} backedge: {sourcename: "n484" targetname: "n508" label: "1" linestyle:dashed class:13 priority:60 color:red} -node: {title: "n521" label: "PhiM 521" info1: "mode: M -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 2 backedges: -"color: green} +node: {title: "n521" label: "PhiM 521" info1: "Phi 521 + mode: M + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 2 + pred nodes: + -1: Block 484 + 0: Proj 476 + 1: Proj 506 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n521" targetname: "n476" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n521" targetname: "n506" label: "1" class:17 priority:10 color:blue} -node: {title: "n710" label: "PhiIs 710" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 2 backedges: -"color: green} -node: {title: "n710n708" label: "0x28Is 708" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n710" label: "PhiIs 710" info1: "Phi 710 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 2 + pred nodes: + -1: Block 484 + 0: 0x28 708 + 1: Add 711 + Private Attributes: + backedges: +" +color: green} +node: {title: "n710n708" label: "0x28Is 708" info1: "0x28 708 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 0 + pred nodes: + -1: Block 469 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n710" targetname: "n710n708" label: "0" class:16 priority:10} edge: {sourcename: "n710" targetname: "n711" label: "1" class:16 priority:10} -node: {title: "n490" label: "ProjX 0 490" info1: "mode: X -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 1 -"color: yellow} +node: {title: "n490" label: "ProjX 0 490" info1: "Proj 490 + mode: X + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 1 + pred nodes: + -1: Block 484 + 0: Cond 489 + Private Attributes: +" +color: yellow} edge: {sourcename: "n490" targetname: "n489" label: "0" class:13 priority:60 color:red} -node: {title: "n491" label: "ProjX 1 491" info1: "mode: X -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 1 -"color: yellow} +node: {title: "n491" label: "ProjX 1 491" info1: "Proj 491 + mode: X + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 1 + pred nodes: + -1: Block 484 + 0: Cond 489 + Private Attributes: +" +color: yellow} edge: {sourcename: "n491" targetname: "n489" label: "0" class:13 priority:60 color:red} -node: {title: "n489" label: "Cond 489" info1: "mode: T -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 1 -"} +node: {title: "n489" label: "Cond 489" info1: "Cond 489 + mode: T + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 1 + pred nodes: + -1: Block 484 + 0: Proj 488 + Private Attributes: + condition kind: dense + default ProjNr: 0 +" +} edge: {sourcename: "n489" targetname: "n488" label: "0" class:1 priority:50} -node: {title: "n488" label: "Projb Lt 488" info1: "mode: b -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 1 -"color: yellow} +node: {title: "n488" label: "Projb Lt 488" info1: "Proj 488 + mode: b + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 1 + pred nodes: + -1: Block 484 + 0: Cmp 487 + Private Attributes: +" +color: yellow} edge: {sourcename: "n488" targetname: "n487" label: "0" class:1 priority:50} -node: {title: "n487" label: "Cmp 487" info1: "mode: T -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 2 -"} -node: {title: "n487n486" label: "0x0Is 486" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n487" label: "Cmp 487" info1: "Cmp 487 + mode: T + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 2 + pred nodes: + -1: Block 484 + 0: 0x0 486 + 1: Phi 522 + Private Attributes: +" +} +node: {title: "n487n486" label: "0x0Is 486" info1: "0x0 486 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 0 + pred nodes: + -1: Block 469 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n487" targetname: "n487n486" label: "0" class:16 priority:10} edge: {sourcename: "n487" targetname: "n522" label: "1" class:1 priority:50} -node: {title: "n522" label: "PhiIs 522" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 2 backedges: -"color: green} -node: {title: "n522n481" label: "0xAIs 481" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n522" label: "PhiIs 522" info1: "Phi 522 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 2 + pred nodes: + -1: Block 484 + 0: 0xA 481 + 1: Add 693 + Private Attributes: + backedges: +" +color: green} +node: {title: "n522n481" label: "0xAIs 481" info1: "0xA 481 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 0 + pred nodes: + -1: Block 469 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n522" targetname: "n522n481" label: "0" class:16 priority:10} edge: {sourcename: "n522" targetname: "n693" label: "1" class:16 priority:10} } graph: { title: "n479" label: "Block 479" status:clustered color:yellow edge: {sourcename: "n479" targetname: "n473" label: "0" class:13 priority:60 color:red} -node: {title: "n483" label: "Jmp 483" info1: "mode: X -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 0 -"} +node: {title: "n483" label: "Jmp 483" info1: "Jmp 483 + mode: X + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 0 + pred nodes: + -1: Block 479 + Private Attributes: +" +} } graph: { title: "n492" label: "Block 492" status:clustered color:yellow edge: {sourcename: "n492" targetname: "n491" label: "0" class:13 priority:60 color:red} -node: {title: "n506" label: "ProjM 0 506" info1: "mode: M -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 1 -"color: yellow} +node: {title: "n506" label: "ProjM 0 506" info1: "Proj 506 + mode: M + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 1 + pred nodes: + -1: Block 492 + 0: Store 504 + Private Attributes: +" +color: yellow} edge: {sourcename: "n506" targetname: "n504" label: "0" class:17 priority:10 color:blue} -node: {title: "n504" label: "Store 504" info1: "mode: T -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n504" label: "Store 504" info1: "Store 504 + mode: T + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 3 + pred nodes: + -1: Block 492 + 0: Phi 521 + 1: Add 702 + 2: Add 502 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n504" targetname: "n521" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n504" targetname: "n702" label: "1" class:1 priority:50} edge: {sourcename: "n504" targetname: "n502" label: "2" class:1 priority:50} -node: {title: "n702" label: "AddP 702" info1: "mode: P -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 2 -"} +node: {title: "n702" label: "AddP 702" info1: "Add 702 + mode: P + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 2 + pred nodes: + -1: Block 492 + 0: Phi 710 + 1: Add 701 + Private Attributes: +" +} edge: {sourcename: "n702" targetname: "n710" label: "0" class:16 priority:10} edge: {sourcename: "n702" targetname: "n701" label: "1" class:1 priority:50} -node: {title: "n711" label: "AddIs 711" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 2 -"} -node: {title: "n711n706" label: "0xFFFFFFFCIs 706" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n711" label: "AddIs 711" info1: "Add 711 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 2 + pred nodes: + -1: Block 492 + 0: 0xFFFFFFFC 706 + 1: Phi 710 + Private Attributes: +" +} +node: {title: "n711n706" label: "0xFFFFFFFCIs 706" info1: "0xFFFFFFFC 706 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 0 + pred nodes: + -1: Block 469 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n711" targetname: "n711n706" label: "0" class:16 priority:10} edge: {sourcename: "n711" targetname: "n710" label: "1" class:16 priority:10} -node: {title: "n701" label: "AddP 701" info1: "mode: P -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 2 -"} -node: {title: "n701n482" label: "SymC &a 482" info1: "mode: P -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 0 -kind: addr_ent -entity GlobalType.a (465) +node: {title: "n701" label: "AddP 701" info1: "Add 701 + mode: P + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 2 + pred nodes: + -1: Block 492 + 0: SymC &a 482 + 1: 0x5C 699 + Private Attributes: +" +} +node: {title: "n701n482" label: "SymC &a 482" info1: "SymC &a 482 + mode: P + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 0 + pred nodes: + -1: Block 469 + Private Attributes: + kind: addr_ent + entity: entity GlobalType.a (465) -SymConst of type: type_unknown -"} -node: {title: "n701n699" label: "0x5CIs 699" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 0 -Const of type type_unknown -"color: yellow} + type of value: type_unknown +" +} +node: {title: "n701n699" label: "0x5CIs 699" info1: "0x5C 699 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 0 + pred nodes: + -1: Block 469 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n701" targetname: "n701n482" label: "0" class:16 priority:10} edge: {sourcename: "n701" targetname: "n701n699" label: "1" class:16 priority:10} -node: {title: "n502" label: "AddIs 502" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 2 -"} -node: {title: "n502n495" label: "0x13Is 495" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n502" label: "AddIs 502" info1: "Add 502 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 2 + pred nodes: + -1: Block 492 + 0: 0x13 495 + 1: Phi 522 + Private Attributes: +" +} +node: {title: "n502n495" label: "0x13Is 495" info1: "0x13 495 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 0 + pred nodes: + -1: Block 469 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n502" targetname: "n502n495" label: "0" class:16 priority:10} edge: {sourcename: "n502" targetname: "n522" label: "1" class:16 priority:10} -node: {title: "n508" label: "Jmp 508" info1: "mode: X -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 0 -"} -node: {title: "n693" label: "AddIs 693" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 2 -"} -node: {title: "n693n692" label: "0xFFFFFFFFIs 692" info1: "mode: Is -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n508" label: "Jmp 508" info1: "Jmp 508 + mode: X + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 0 + pred nodes: + -1: Block 492 + Private Attributes: +" +} +node: {title: "n693" label: "AddIs 693" info1: "Add 693 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 2 + pred nodes: + -1: Block 492 + 0: Phi 522 + 1: 0xFFFFFFFF 692 + Private Attributes: +" +} +node: {title: "n693n692" label: "0xFFFFFFFFIs 692" info1: "0xFFFFFFFF 692 + mode: Is + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 0 + pred nodes: + -1: Block 469 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n693" targetname: "n522" label: "0" class:16 priority:10} edge: {sourcename: "n693" targetname: "n693n692" label: "1" class:16 priority:10} } graph: { title: "n469" label: "Block 469" status:clustered color:yellow edge: {sourcename: "n469" targetname: "n473" label: "0" class:13 priority:60 color:red} -node: {title: "n476" label: "ProjM 1 476" info1: "mode: M -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 1 -"color: yellow} +node: {title: "n476" label: "ProjM 1 476" info1: "Proj 476 + mode: M + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 1 + pred nodes: + -1: Block 469 + 0: Start 470 + Private Attributes: +" +color: yellow} edge: {sourcename: "n476" targetname: "n470" label: "0" class:17 priority:10 color:blue} -node: {title: "n473" label: "ProjX 0 473" info1: "mode: X -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 1 -"color: yellow} +node: {title: "n473" label: "ProjX 0 473" info1: "Proj 473 + mode: X + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 1 + pred nodes: + -1: Block 469 + 0: Start 470 + Private Attributes: +" +color: yellow} edge: {sourcename: "n473" targetname: "n470" label: "0" class:13 priority:60 color:red} -node: {title: "n470" label: "Start 470" info1: "mode: T -visited: 28 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 0 -start of method of type STRENGTH_RED_EXAMPLE_meth_tp - param 0 type: int -"color: blue} +node: {title: "n470" label: "Start 470" info1: "Start 470 + mode: T + visited: 28 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 0 + pred nodes: + -1: Block 469 + Private Attributes: + start of method of type STRENGTH_RED_EXAMPLE_meth_tp + param 0 type: int +" +color: blue} } } diff --git a/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m7.vcg b/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m7.vcg index 1598e9124..d8a6f9e1e 100644 --- a/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m7.vcg +++ b/testprograms/ref-results/STRENGTH_RED_EXAMPLE_m7.vcg @@ -55,28 +55,46 @@ colorentry 125: 255 250 250 graph: { title: "g478" label: "STRENGTH_RED_EXAMPLE_m7" status:clustered color:white graph: { title: "n467" label: "Block 467" status:clustered color:yellow edge: {sourcename: "n467" targetname: "n517" label: "0" class:13 priority:60 color:red} -node: {title: "n468" label: "End 468" info1: "mode: X -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 1 -"color: blue} +node: {title: "n468" label: "End 468" info1: "End 468 + mode: X + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 1 + pred nodes: + -1: Block 467 + 0: Phi 521 + Private Attributes: +" +color: blue} } graph: { title: "n514" label: "Block 514" status:clustered color:yellow edge: {sourcename: "n514" targetname: "n490" label: "0" class:13 priority:60 color:red} -node: {title: "n517" label: "Return 517" info1: "mode: X -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 2 -return in method of type STRENGTH_RED_EXAMPLE_meth_tp - res 0 type: int -"} -node: {title: "n517n494" label: "0x4Is 494" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n517" label: "Return 517" info1: "Return 517 + mode: X + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 2 + pred nodes: + -1: Block 514 + 0: Phi 521 + 1: 0x4 494 + Private Attributes: + return in method of type STRENGTH_RED_EXAMPLE_meth_tp + res 0 type: int +" +} +node: {title: "n517n494" label: "0x4Is 494" info1: "0x4 494 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 0 + pred nodes: + -1: Block 469 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n517" targetname: "n521" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n517" targetname: "n517n494" label: "1" class:16 priority:10} } @@ -84,200 +102,373 @@ edge: {sourcename: "n517" targetname: "n517n494" label: "1" class:16 priority:10 graph: { title: "n484" label: "Block 484" status:clustered color:yellow edge: {sourcename: "n484" targetname: "n483" label: "0" class:13 priority:60 color:red} backedge: {sourcename: "n484" targetname: "n508" label: "1" linestyle:dashed class:13 priority:60 color:red} -node: {title: "n521" label: "PhiM 521" info1: "mode: M -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 2 backedges: 1 -"color: green} +node: {title: "n521" label: "PhiM 521" info1: "Phi 521 + mode: M + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 2 + pred nodes: + -1: Block 484 + 0: Proj 476 + 1: be Proj 506 + Private Attributes: + backedges: 1 +" +color: green} edge: {sourcename: "n521" targetname: "n476" label: "0" class:17 priority:10 color:blue} backedge: {sourcename: "n521" targetname: "n506" label: "1" linestyle:dashed class:17 priority:10 color:blue} -node: {title: "n490" label: "ProjX 0 490" info1: "mode: X -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 1 -"color: yellow} +node: {title: "n490" label: "ProjX 0 490" info1: "Proj 490 + mode: X + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 1 + pred nodes: + -1: Block 484 + 0: Cond 489 + Private Attributes: +" +color: yellow} edge: {sourcename: "n490" targetname: "n489" label: "0" class:13 priority:60 color:red} -node: {title: "n491" label: "ProjX 1 491" info1: "mode: X -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 1 -"color: yellow} +node: {title: "n491" label: "ProjX 1 491" info1: "Proj 491 + mode: X + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 1 + pred nodes: + -1: Block 484 + 0: Cond 489 + Private Attributes: +" +color: yellow} edge: {sourcename: "n491" targetname: "n489" label: "0" class:13 priority:60 color:red} -node: {title: "n489" label: "Cond 489" info1: "mode: T -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 1 -"} +node: {title: "n489" label: "Cond 489" info1: "Cond 489 + mode: T + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 1 + pred nodes: + -1: Block 484 + 0: Proj 488 + Private Attributes: + condition kind: dense + default ProjNr: 0 +" +} edge: {sourcename: "n489" targetname: "n488" label: "0" class:1 priority:50} -node: {title: "n488" label: "Projb Lt 488" info1: "mode: b -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 1 -"color: yellow} +node: {title: "n488" label: "Projb Lt 488" info1: "Proj 488 + mode: b + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 1 + pred nodes: + -1: Block 484 + 0: Cmp 487 + Private Attributes: +" +color: yellow} edge: {sourcename: "n488" targetname: "n487" label: "0" class:1 priority:50} -node: {title: "n487" label: "Cmp 487" info1: "mode: T -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 2 -"} -node: {title: "n487n486" label: "0x0Is 486" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n487" label: "Cmp 487" info1: "Cmp 487 + mode: T + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 2 + pred nodes: + -1: Block 484 + 0: 0x0 486 + 1: Phi 522 + Private Attributes: +" +} +node: {title: "n487n486" label: "0x0Is 486" info1: "0x0 486 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 0 + pred nodes: + -1: Block 469 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n487" targetname: "n487n486" label: "0" class:16 priority:10} edge: {sourcename: "n487" targetname: "n522" label: "1" class:1 priority:50} -node: {title: "n522" label: "PhiIs 522" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 2 backedges: 1 -"color: green} -node: {title: "n522n481" label: "0xAIs 481" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n522" label: "PhiIs 522" info1: "Phi 522 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 2 + pred nodes: + -1: Block 484 + 0: 0xA 481 + 1: be Sub 507 + Private Attributes: + backedges: 1 +" +color: green} +node: {title: "n522n481" label: "0xAIs 481" info1: "0xA 481 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 0 + pred nodes: + -1: Block 469 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n522" targetname: "n522n481" label: "0" class:16 priority:10} backedge: {sourcename: "n522" targetname: "n507" label: "1" linestyle:dashed class:16 priority:10} } graph: { title: "n479" label: "Block 479" status:clustered color:yellow edge: {sourcename: "n479" targetname: "n473" label: "0" class:13 priority:60 color:red} -node: {title: "n483" label: "Jmp 483" info1: "mode: X -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 0 -"} +node: {title: "n483" label: "Jmp 483" info1: "Jmp 483 + mode: X + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 0 + pred nodes: + -1: Block 479 + Private Attributes: +" +} } graph: { title: "n492" label: "Block 492" status:clustered color:yellow edge: {sourcename: "n492" targetname: "n491" label: "0" class:13 priority:60 color:red} -node: {title: "n506" label: "ProjM 0 506" info1: "mode: M -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 1 -"color: yellow} +node: {title: "n506" label: "ProjM 0 506" info1: "Proj 506 + mode: M + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 1 + pred nodes: + -1: Block 492 + 0: Store 504 + Private Attributes: +" +color: yellow} edge: {sourcename: "n506" targetname: "n504" label: "0" class:17 priority:10 color:blue} -node: {title: "n504" label: "Store 504" info1: "mode: T -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 3 -volatility: volatility_non_volatile -"} +node: {title: "n504" label: "Store 504" info1: "Store 504 + mode: T + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 3 + pred nodes: + -1: Block 492 + 0: Phi 521 + 1: Add 501 + 2: Add 502 + Private Attributes: + pinned state: op_pin_state_pinned + volatility: volatility_non_volatile +" +} edge: {sourcename: "n504" targetname: "n521" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n504" targetname: "n501" label: "1" class:1 priority:50} edge: {sourcename: "n504" targetname: "n502" label: "2" class:1 priority:50} -node: {title: "n501" label: "AddP 501" info1: "mode: P -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 2 -"} -node: {title: "n501n482" label: "SymC &a 482" info1: "mode: P -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 0 -kind: addr_ent -entity GlobalType.a (465) +node: {title: "n501" label: "AddP 501" info1: "Add 501 + mode: P + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 2 + pred nodes: + -1: Block 492 + 0: Mul 499 + 1: SymC &a 482 + Private Attributes: +" +} +node: {title: "n501n482" label: "SymC &a 482" info1: "SymC &a 482 + mode: P + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 0 + pred nodes: + -1: Block 469 + Private Attributes: + kind: addr_ent + entity: entity GlobalType.a (465) -SymConst of type: type_unknown -"} + type of value: type_unknown +" +} edge: {sourcename: "n501" targetname: "n499" label: "0" class:1 priority:50} edge: {sourcename: "n501" targetname: "n501n482" label: "1" class:16 priority:10} -node: {title: "n499" label: "MulIs 499" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 2 -"} -node: {title: "n499n494" label: "0x4Is 494" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n499" label: "MulIs 499" info1: "Mul 499 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 2 + pred nodes: + -1: Block 492 + 0: 0x4 494 + 1: Add 498 + Private Attributes: +" +} +node: {title: "n499n494" label: "0x4Is 494" info1: "0x4 494 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 0 + pred nodes: + -1: Block 469 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n499" targetname: "n499n494" label: "0" class:16 priority:10} edge: {sourcename: "n499" targetname: "n498" label: "1" class:1 priority:50} -node: {title: "n498" label: "AddIs 498" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 2 -"} -node: {title: "n498n495" label: "0x13Is 495" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n498" label: "AddIs 498" info1: "Add 498 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 2 + pred nodes: + -1: Block 492 + 0: 0x13 495 + 1: Add 497 + Private Attributes: +" +} +node: {title: "n498n495" label: "0x13Is 495" info1: "0x13 495 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 0 + pred nodes: + -1: Block 469 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n498" targetname: "n498n495" label: "0" class:16 priority:10} edge: {sourcename: "n498" targetname: "n497" label: "1" class:1 priority:50} -node: {title: "n497" label: "AddIs 497" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 2 -"} -node: {title: "n497n494" label: "0x4Is 494" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n497" label: "AddIs 497" info1: "Add 497 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 2 + pred nodes: + -1: Block 492 + 0: 0x4 494 + 1: Phi 522 + Private Attributes: +" +} +node: {title: "n497n494" label: "0x4Is 494" info1: "0x4 494 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 0 + pred nodes: + -1: Block 469 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n497" targetname: "n497n494" label: "0" class:16 priority:10} edge: {sourcename: "n497" targetname: "n522" label: "1" class:16 priority:10} -node: {title: "n502" label: "AddIs 502" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 2 -"} -node: {title: "n502n495" label: "0x13Is 495" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n502" label: "AddIs 502" info1: "Add 502 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 2 + pred nodes: + -1: Block 492 + 0: 0x13 495 + 1: Phi 522 + Private Attributes: +" +} +node: {title: "n502n495" label: "0x13Is 495" info1: "0x13 495 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 0 + pred nodes: + -1: Block 469 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n502" targetname: "n502n495" label: "0" class:16 priority:10} edge: {sourcename: "n502" targetname: "n522" label: "1" class:16 priority:10} -node: {title: "n508" label: "Jmp 508" info1: "mode: X -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 0 -"} -node: {title: "n507" label: "SubIs 507" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 2 -"} -node: {title: "n507n493" label: "0x1Is 493" info1: "mode: Is -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 0 -Const of type type_unknown -"color: yellow} +node: {title: "n508" label: "Jmp 508" info1: "Jmp 508 + mode: X + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 0 + pred nodes: + -1: Block 492 + Private Attributes: +" +} +node: {title: "n507" label: "SubIs 507" info1: "Sub 507 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 2 + pred nodes: + -1: Block 492 + 0: Phi 522 + 1: 0x1 493 + Private Attributes: +" +} +node: {title: "n507n493" label: "0x1Is 493" info1: "0x1 493 + mode: Is + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 0 + pred nodes: + -1: Block 469 + Private Attributes: + Const of type type_unknown +" +color: yellow} edge: {sourcename: "n507" targetname: "n522" label: "0" class:16 priority:10} edge: {sourcename: "n507" targetname: "n507n493" label: "1" class:16 priority:10} } graph: { title: "n469" label: "Block 469" status:clustered color:yellow edge: {sourcename: "n469" targetname: "n473" label: "0" class:13 priority:60 color:red} -node: {title: "n476" label: "ProjM 1 476" info1: "mode: M -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 1 -"color: yellow} +node: {title: "n476" label: "ProjM 1 476" info1: "Proj 476 + mode: M + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 1 + pred nodes: + -1: Block 469 + 0: Start 470 + Private Attributes: +" +color: yellow} edge: {sourcename: "n476" targetname: "n470" label: "0" class:17 priority:10 color:blue} -node: {title: "n473" label: "ProjX 0 473" info1: "mode: X -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 1 -"color: yellow} +node: {title: "n473" label: "ProjX 0 473" info1: "Proj 473 + mode: X + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 1 + pred nodes: + -1: Block 469 + 0: Start 470 + Private Attributes: +" +color: yellow} edge: {sourcename: "n473" targetname: "n470" label: "0" class:13 priority:60 color:red} -node: {title: "n470" label: "Start 470" info1: "mode: T -visited: 17 -irg: STRENGTH_RED_EXAMPLE_m7 -arity: 0 -start of method of type STRENGTH_RED_EXAMPLE_meth_tp - param 0 type: int -"color: blue} +node: {title: "n470" label: "Start 470" info1: "Start 470 + mode: T + visited: 17 + irg: STRENGTH_RED_EXAMPLE_m7 + arity: 0 + pred nodes: + -1: Block 469 + Private Attributes: + start of method of type STRENGTH_RED_EXAMPLE_meth_tp + param 0 type: int +" +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 24e63e2b4..6c0548843 100644 --- a/testprograms/ref-results/THREE_CFPRED_EXAMPLE_main-cfg.vcg +++ b/testprograms/ref-results/THREE_CFPRED_EXAMPLE_main-cfg.vcg @@ -78,9 +78,15 @@ edge: { sourcename: "n53" targetname: "n44"} node: {title: "n41" label: "Block n41" info1:"arity: 1 "} edge: { sourcename: "n41" targetname: "n31"} -node: {title: "n79" label: "Bad 79" info1: "mode: T -visited: 0 -irg: THREE_CFPRED_EXAMPLE_main -arity: 0 -"} +node: {title: "n79" label: "Bad 79" info1: "Bad 79 + mode: T + visited: 0 + irg: THREE_CFPRED_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 21 + Private Attributes: + pinned state: op_pin_state_pinned +" +} } diff --git a/testprograms/ref-results/THREE_CFPRED_EXAMPLE_main.vcg b/testprograms/ref-results/THREE_CFPRED_EXAMPLE_main.vcg index 89dda10f4..c16667495 100644 --- a/testprograms/ref-results/THREE_CFPRED_EXAMPLE_main.vcg +++ b/testprograms/ref-results/THREE_CFPRED_EXAMPLE_main.vcg @@ -55,31 +55,52 @@ colorentry 125: 255 250 250 graph: { title: "g30" label: "THREE_CFPRED_EXAMPLE_main" status:clustered color:white graph: { title: "n19" label: "Block 19" status:clustered color:yellow edge: {sourcename: "n19" targetname: "n59" label: "0" class:13 priority:60 color:red} -node: {title: "n78" label: "End 78" info1: "mode: X -visited: 11 -irg: THREE_CFPRED_EXAMPLE_main -arity: 0 -"color: blue} +node: {title: "n78" label: "End 78" info1: "End 78 + mode: X + visited: 11 + irg: THREE_CFPRED_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 19 + Private Attributes: +" +color: blue} } graph: { title: "n40" label: "Block 40" status:clustered color:yellow edge: {sourcename: "n40" targetname: "n43" label: "0" class:13 priority:60 color:red} edge: {sourcename: "n40" targetname: "n54" label: "1" class:13 priority:60 color:red} edge: {sourcename: "n40" targetname: "n56" label: "2" class:13 priority:60 color:red} -node: {title: "n59" label: "Return 59" 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 -"} +node: {title: "n59" label: "Return 59" info1: "Return 59 + mode: X + visited: 11 + irg: THREE_CFPRED_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 40 + 0: Proj 28 + 1: Phi 77 + Private Attributes: + return in method of type THREE_CFPRED_EXAMPLE_main + res 0 type: int +" +} edge: {sourcename: "n59" targetname: "n28" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n59" targetname: "n77" label: "1" class:1 priority:50} -node: {title: "n77" label: "PhiIs 77" info1: "mode: Is -visited: 11 -irg: THREE_CFPRED_EXAMPLE_main -arity: 3 backedges: -"color: green} +node: {title: "n77" label: "PhiIs 77" info1: "Phi 77 + mode: Is + visited: 11 + irg: THREE_CFPRED_EXAMPLE_main + arity: 3 + pred nodes: + -1: Block 40 + 0: 0x5 42 + 1: 0x6 37 + 2: 0x6 37 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n77" targetname: "n42" label: "0" class:16 priority:10} edge: {sourcename: "n77" targetname: "n37" label: "1" class:16 priority:10} edge: {sourcename: "n77" targetname: "n37" label: "2" class:16 priority:10} @@ -87,158 +108,288 @@ edge: {sourcename: "n77" targetname: "n37" label: "2" class:16 priority:10} graph: { title: "n41" label: "Block 41" status:clustered color:yellow edge: {sourcename: "n41" targetname: "n39" label: "0" class:13 priority:60 color:red} -node: {title: "n43" label: "Jmp 43" info1: "mode: X -visited: 11 -irg: THREE_CFPRED_EXAMPLE_main -arity: 0 -"} +node: {title: "n43" label: "Jmp 43" info1: "Jmp 43 + mode: X + visited: 11 + irg: THREE_CFPRED_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 41 + Private Attributes: +" +} } graph: { title: "n53" label: "Block 53" status:clustered color:yellow edge: {sourcename: "n53" targetname: "n51" label: "0" class:13 priority:60 color:red} -node: {title: "n54" label: "Jmp 54" info1: "mode: X -visited: 11 -irg: THREE_CFPRED_EXAMPLE_main -arity: 0 -"} +node: {title: "n54" label: "Jmp 54" info1: "Jmp 54 + mode: X + visited: 11 + irg: THREE_CFPRED_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 53 + Private Attributes: +" +} } graph: { title: "n55" label: "Block 55" status:clustered color:yellow edge: {sourcename: "n55" targetname: "n52" label: "0" class:13 priority:60 color:red} -node: {title: "n56" label: "Jmp 56" info1: "mode: X -visited: 11 -irg: THREE_CFPRED_EXAMPLE_main -arity: 0 -"} +node: {title: "n56" label: "Jmp 56" info1: "Jmp 56 + mode: X + visited: 11 + irg: THREE_CFPRED_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 55 + Private Attributes: +" +} } graph: { title: "n44" label: "Block 44" status:clustered color:yellow edge: {sourcename: "n44" targetname: "n38" label: "0" class:13 priority:60 color:red} -node: {title: "n51" label: "ProjX 0 51" info1: "mode: X -visited: 11 -irg: THREE_CFPRED_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n51" label: "ProjX 0 51" info1: "Proj 51 + mode: X + visited: 11 + irg: THREE_CFPRED_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 44 + 0: Cond 50 + Private Attributes: +" +color: yellow} edge: {sourcename: "n51" targetname: "n50" label: "0" class:13 priority:60 color:red} -node: {title: "n52" label: "ProjX 1 52" info1: "mode: X -visited: 11 -irg: THREE_CFPRED_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n52" label: "ProjX 1 52" info1: "Proj 52 + mode: X + visited: 11 + irg: THREE_CFPRED_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 44 + 0: Cond 50 + Private Attributes: +" +color: yellow} edge: {sourcename: "n52" targetname: "n50" label: "0" class:13 priority:60 color:red} -node: {title: "n50" label: "Cond 50" info1: "mode: T -visited: 11 -irg: THREE_CFPRED_EXAMPLE_main -arity: 1 -"} +node: {title: "n50" label: "Cond 50" info1: "Cond 50 + mode: T + visited: 11 + irg: THREE_CFPRED_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 44 + 0: Proj 49 + Private Attributes: + condition kind: dense + default ProjNr: 0 +" +} edge: {sourcename: "n50" targetname: "n49" label: "0" class:1 priority:50} -node: {title: "n49" label: "Projb Eq 49" info1: "mode: b -visited: 11 -irg: THREE_CFPRED_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n49" label: "Projb Eq 49" info1: "Proj 49 + mode: b + visited: 11 + irg: THREE_CFPRED_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 44 + 0: Cmp 48 + Private Attributes: +" +color: yellow} edge: {sourcename: "n49" targetname: "n48" label: "0" class:1 priority:50} -node: {title: "n48" label: "Cmp 48" info1: "mode: T -visited: 11 -irg: THREE_CFPRED_EXAMPLE_main -arity: 2 -"} +node: {title: "n48" label: "Cmp 48" info1: "Cmp 48 + mode: T + visited: 11 + irg: THREE_CFPRED_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 44 + 0: 0x3 45 + 1: Proj 33 + Private Attributes: +" +} edge: {sourcename: "n48" targetname: "n45" label: "0" class:16 priority:10} edge: {sourcename: "n48" targetname: "n33" label: "1" class:16 priority:10} } graph: { title: "n31" label: "Block 31" status:clustered color:yellow edge: {sourcename: "n31" targetname: "n25" label: "0" class:13 priority:60 color:red} -node: {title: "n39" label: "ProjX 1 39" info1: "mode: X -visited: 11 -irg: THREE_CFPRED_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n39" label: "ProjX 1 39" info1: "Proj 39 + mode: X + visited: 11 + irg: THREE_CFPRED_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 31 + 0: Cond 36 + Private Attributes: +" +color: yellow} edge: {sourcename: "n39" targetname: "n36" label: "0" class:13 priority:60 color:red} -node: {title: "n38" label: "ProjX 0 38" info1: "mode: X -visited: 11 -irg: THREE_CFPRED_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n38" label: "ProjX 0 38" info1: "Proj 38 + mode: X + visited: 11 + irg: THREE_CFPRED_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 31 + 0: Cond 36 + Private Attributes: +" +color: yellow} edge: {sourcename: "n38" targetname: "n36" label: "0" class:13 priority:60 color:red} -node: {title: "n36" label: "Cond 36" info1: "mode: T -visited: 11 -irg: THREE_CFPRED_EXAMPLE_main -arity: 1 -"} +node: {title: "n36" label: "Cond 36" info1: "Cond 36 + mode: T + visited: 11 + irg: THREE_CFPRED_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 31 + 0: Proj 35 + Private Attributes: + condition kind: dense + default ProjNr: 0 +" +} edge: {sourcename: "n36" targetname: "n35" label: "0" class:1 priority:50} -node: {title: "n35" label: "Projb Eq 35" info1: "mode: b -visited: 11 -irg: THREE_CFPRED_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n35" label: "Projb Eq 35" info1: "Proj 35 + mode: b + visited: 11 + irg: THREE_CFPRED_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 31 + 0: Cmp 34 + Private Attributes: +" +color: yellow} edge: {sourcename: "n35" targetname: "n34" label: "0" class:1 priority:50} -node: {title: "n34" label: "Cmp 34" info1: "mode: T -visited: 11 -irg: THREE_CFPRED_EXAMPLE_main -arity: 2 -"} +node: {title: "n34" label: "Cmp 34" info1: "Cmp 34 + mode: T + visited: 11 + irg: THREE_CFPRED_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 31 + 0: 0x1 32 + 1: Proj 33 + Private Attributes: +" +} edge: {sourcename: "n34" targetname: "n32" label: "0" class:16 priority:10} edge: {sourcename: "n34" targetname: "n33" label: "1" class:1 priority:50} -node: {title: "n33" label: "ProjIs 0 33" info1: "mode: Is -visited: 11 -irg: THREE_CFPRED_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n33" label: "ProjIs 0 33" info1: "Proj 33 + mode: Is + visited: 11 + irg: THREE_CFPRED_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 31 + 0: Proj 29 + Private Attributes: +" +color: yellow} edge: {sourcename: "n33" targetname: "n29" label: "0" class:16 priority:10} } graph: { title: "n21" label: "Block 21" status:clustered color:yellow edge: {sourcename: "n21" targetname: "n25" label: "0" class:13 priority:60 color:red} -node: {title: "n28" label: "ProjM 1 28" info1: "mode: M -visited: 11 -irg: THREE_CFPRED_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n28" label: "ProjM 1 28" info1: "Proj 28 + mode: M + visited: 11 + irg: THREE_CFPRED_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 21 + 0: Start 22 + Private Attributes: +" +color: yellow} edge: {sourcename: "n28" targetname: "n22" label: "0" class:17 priority:10 color:blue} -node: {title: "n42" label: "0x5Is 42" info1: "mode: Is -visited: 11 -irg: THREE_CFPRED_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n37" label: "0x6Is 37" info1: "mode: Is -visited: 11 -irg: THREE_CFPRED_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n45" label: "0x3Is 45" info1: "mode: Is -visited: 11 -irg: THREE_CFPRED_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n32" label: "0x1Is 32" info1: "mode: Is -visited: 11 -irg: THREE_CFPRED_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n29" label: "ProjT 4 29" info1: "mode: T -visited: 11 -irg: THREE_CFPRED_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n42" label: "0x5Is 42" info1: "0x5 42 + mode: Is + visited: 11 + irg: THREE_CFPRED_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 21 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n37" label: "0x6Is 37" info1: "0x6 37 + mode: Is + visited: 11 + irg: THREE_CFPRED_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 21 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n45" label: "0x3Is 45" info1: "0x3 45 + mode: Is + visited: 11 + irg: THREE_CFPRED_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 21 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n32" label: "0x1Is 32" info1: "0x1 32 + mode: Is + visited: 11 + irg: THREE_CFPRED_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 21 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n29" label: "ProjT 4 29" info1: "Proj 29 + mode: T + visited: 11 + irg: THREE_CFPRED_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 21 + 0: Start 22 + Private Attributes: +" +color: yellow} edge: {sourcename: "n29" targetname: "n22" label: "0" class:1 priority:50} -node: {title: "n25" label: "ProjX 0 25" info1: "mode: X -visited: 11 -irg: THREE_CFPRED_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n25" label: "ProjX 0 25" info1: "Proj 25 + mode: X + visited: 11 + irg: THREE_CFPRED_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 21 + 0: Start 22 + Private Attributes: +" +color: yellow} edge: {sourcename: "n25" targetname: "n22" label: "0" class:13 priority:60 color:red} -node: {title: "n22" label: "Start 22" 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 -"color: blue} +node: {title: "n22" label: "Start 22" info1: "Start 22 + mode: T + visited: 11 + irg: THREE_CFPRED_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 21 + Private Attributes: + start of method of type THREE_CFPRED_EXAMPLE_main + param 0 type: int +" +color: blue} } } diff --git a/testprograms/ref-results/WHILE_EXAMPLE_main.vcg b/testprograms/ref-results/WHILE_EXAMPLE_main.vcg index 891c870c4..452e72323 100644 --- a/testprograms/ref-results/WHILE_EXAMPLE_main.vcg +++ b/testprograms/ref-results/WHILE_EXAMPLE_main.vcg @@ -55,29 +55,48 @@ colorentry 125: 255 250 250 graph: { title: "g31" label: "WHILE_EXAMPLE_main" status:clustered color:white graph: { title: "n20" label: "Block 20" status:clustered color:yellow edge: {sourcename: "n20" targetname: "n67" label: "0" class:13 priority:60 color:red} -node: {title: "n68" label: "End 68" info1: "mode: X -visited: 18 -irg: WHILE_EXAMPLE_main -arity: 0 -"color: blue} +node: {title: "n68" label: "End 68" info1: "End 68 + mode: X + visited: 18 + irg: WHILE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 20 + Private Attributes: +" +color: blue} } graph: { title: "n53" label: "Block 53" status:clustered color:yellow edge: {sourcename: "n53" targetname: "n42" label: "0" class:13 priority:60 color:red} -node: {title: "n67" label: "Return 67" info1: "mode: X -visited: 18 -irg: WHILE_EXAMPLE_main -arity: 2 -return in method of type main_tp - res 0 type: int -"} +node: {title: "n67" label: "Return 67" info1: "Return 67 + mode: X + visited: 18 + irg: WHILE_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 53 + 0: Proj 29 + 1: Sub 58 + Private Attributes: + return in method of type main_tp + res 0 type: int +" +} edge: {sourcename: "n67" targetname: "n29" label: "0" class:17 priority:10 color:blue} edge: {sourcename: "n67" targetname: "n58" label: "1" class:1 priority:50} -node: {title: "n58" label: "SubIs 58" info1: "mode: Is -visited: 18 -irg: WHILE_EXAMPLE_main -arity: 2 -"} +node: {title: "n58" label: "SubIs 58" info1: "Sub 58 + mode: Is + visited: 18 + irg: WHILE_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 53 + 0: Phi 51 + 1: Phi 52 + Private Attributes: +" +} edge: {sourcename: "n58" targetname: "n51" label: "0" class:16 priority:10} edge: {sourcename: "n58" targetname: "n52" label: "1" class:16 priority:10} } @@ -85,116 +104,214 @@ edge: {sourcename: "n58" targetname: "n52" label: "1" class:16 priority:10} graph: { title: "n36" label: "Block 36" status:clustered color:yellow edge: {sourcename: "n36" targetname: "n35" label: "0" class:13 priority:60 color:red} edge: {sourcename: "n36" targetname: "n45" label: "1" class:13 priority:60 color:red} -node: {title: "n42" label: "ProjX 0 42" info1: "mode: X -visited: 18 -irg: WHILE_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n42" label: "ProjX 0 42" info1: "Proj 42 + mode: X + visited: 18 + irg: WHILE_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 36 + 0: Cond 41 + Private Attributes: +" +color: yellow} edge: {sourcename: "n42" targetname: "n41" label: "0" class:13 priority:60 color:red} -node: {title: "n43" label: "ProjX 1 43" info1: "mode: X -visited: 18 -irg: WHILE_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n43" label: "ProjX 1 43" info1: "Proj 43 + mode: X + visited: 18 + irg: WHILE_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 36 + 0: Cond 41 + Private Attributes: +" +color: yellow} edge: {sourcename: "n43" targetname: "n41" label: "0" class:13 priority:60 color:red} -node: {title: "n41" label: "Cond 41" info1: "mode: T -visited: 18 -irg: WHILE_EXAMPLE_main -arity: 1 -"} +node: {title: "n41" label: "Cond 41" info1: "Cond 41 + mode: T + visited: 18 + irg: WHILE_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 36 + 0: Proj 40 + Private Attributes: + condition kind: dense + default ProjNr: 0 +" +} edge: {sourcename: "n41" targetname: "n40" label: "0" class:1 priority:50} -node: {title: "n40" label: "Projb Eq 40" info1: "mode: b -visited: 18 -irg: WHILE_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n40" label: "Projb Eq 40" info1: "Proj 40 + mode: b + visited: 18 + irg: WHILE_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 36 + 0: Cmp 39 + Private Attributes: +" +color: yellow} edge: {sourcename: "n40" targetname: "n39" label: "0" class:1 priority:50} -node: {title: "n39" label: "Cmp 39" info1: "mode: T -visited: 18 -irg: WHILE_EXAMPLE_main -arity: 2 -"} +node: {title: "n39" label: "Cmp 39" info1: "Cmp 39 + mode: T + visited: 18 + irg: WHILE_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 36 + 0: 0x0 38 + 1: Phi 52 + Private Attributes: +" +} edge: {sourcename: "n39" targetname: "n38" label: "0" class:16 priority:10} edge: {sourcename: "n39" targetname: "n52" label: "1" class:1 priority:50} -node: {title: "n52" label: "PhiIs 52" info1: "mode: Is -visited: 18 -irg: WHILE_EXAMPLE_main -arity: 2 backedges: -"color: green} +node: {title: "n52" label: "PhiIs 52" info1: "Phi 52 + mode: Is + visited: 18 + irg: WHILE_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 36 + 0: 0x1 34 + 1: Phi 51 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n52" targetname: "n34" label: "0" class:16 priority:10} edge: {sourcename: "n52" targetname: "n51" label: "1" class:1 priority:50} -node: {title: "n51" label: "PhiIs 51" info1: "mode: Is -visited: 18 -irg: WHILE_EXAMPLE_main -arity: 2 backedges: -"color: green} +node: {title: "n51" label: "PhiIs 51" info1: "Phi 51 + mode: Is + visited: 18 + irg: WHILE_EXAMPLE_main + arity: 2 + pred nodes: + -1: Block 36 + 0: Proj 33 + 1: Phi 52 + Private Attributes: + backedges: +" +color: green} edge: {sourcename: "n51" targetname: "n33" label: "0" class:16 priority:10} edge: {sourcename: "n51" targetname: "n52" label: "1" class:1 priority:50} } graph: { title: "n44" label: "Block 44" status:clustered color:yellow edge: {sourcename: "n44" targetname: "n43" label: "0" class:13 priority:60 color:red} -node: {title: "n45" label: "Jmp 45" info1: "mode: X -visited: 18 -irg: WHILE_EXAMPLE_main -arity: 0 -"} +node: {title: "n45" label: "Jmp 45" info1: "Jmp 45 + mode: X + visited: 18 + irg: WHILE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 44 + Private Attributes: +" +} } graph: { title: "n32" label: "Block 32" status:clustered color:yellow edge: {sourcename: "n32" targetname: "n26" label: "0" class:13 priority:60 color:red} -node: {title: "n35" label: "Jmp 35" info1: "mode: X -visited: 18 -irg: WHILE_EXAMPLE_main -arity: 0 -"} -node: {title: "n33" label: "ProjIs 0 33" info1: "mode: Is -visited: 18 -irg: WHILE_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n35" label: "Jmp 35" info1: "Jmp 35 + mode: X + visited: 18 + irg: WHILE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 32 + Private Attributes: +" +} +node: {title: "n33" label: "ProjIs 0 33" info1: "Proj 33 + mode: Is + visited: 18 + irg: WHILE_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 32 + 0: Proj 30 + Private Attributes: +" +color: yellow} edge: {sourcename: "n33" targetname: "n30" label: "0" class:16 priority:10} } graph: { title: "n22" label: "Block 22" status:clustered color:yellow edge: {sourcename: "n22" targetname: "n26" label: "0" class:13 priority:60 color:red} -node: {title: "n29" label: "ProjM 1 29" info1: "mode: M -visited: 18 -irg: WHILE_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n29" label: "ProjM 1 29" info1: "Proj 29 + mode: M + visited: 18 + irg: WHILE_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 22 + 0: Start 23 + Private Attributes: +" +color: yellow} edge: {sourcename: "n29" targetname: "n23" label: "0" class:17 priority:10 color:blue} -node: {title: "n38" label: "0x0Is 38" info1: "mode: Is -visited: 18 -irg: WHILE_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n34" label: "0x1Is 34" info1: "mode: Is -visited: 18 -irg: WHILE_EXAMPLE_main -arity: 0 -Const of type type_unknown -"color: yellow} -node: {title: "n30" label: "ProjT 4 30" info1: "mode: T -visited: 18 -irg: WHILE_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n38" label: "0x0Is 38" info1: "0x0 38 + mode: Is + visited: 18 + irg: WHILE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 22 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n34" label: "0x1Is 34" info1: "0x1 34 + mode: Is + visited: 18 + irg: WHILE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 22 + Private Attributes: + Const of type type_unknown +" +color: yellow} +node: {title: "n30" label: "ProjT 4 30" info1: "Proj 30 + mode: T + visited: 18 + irg: WHILE_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 22 + 0: Start 23 + Private Attributes: +" +color: yellow} edge: {sourcename: "n30" targetname: "n23" label: "0" class:1 priority:50} -node: {title: "n26" label: "ProjX 0 26" info1: "mode: X -visited: 18 -irg: WHILE_EXAMPLE_main -arity: 1 -"color: yellow} +node: {title: "n26" label: "ProjX 0 26" info1: "Proj 26 + mode: X + visited: 18 + irg: WHILE_EXAMPLE_main + arity: 1 + pred nodes: + -1: Block 22 + 0: Start 23 + Private Attributes: +" +color: yellow} edge: {sourcename: "n26" targetname: "n23" label: "0" class:13 priority:60 color:red} -node: {title: "n23" label: "Start 23" info1: "mode: T -visited: 18 -irg: WHILE_EXAMPLE_main -arity: 0 -start of method of type main_tp - param 0 type: int -"color: blue} +node: {title: "n23" label: "Start 23" info1: "Start 23 + mode: T + visited: 18 + irg: WHILE_EXAMPLE_main + arity: 0 + pred nodes: + -1: Block 22 + Private Attributes: + start of method of type main_tp + param 0 type: int +" +color: blue} } } -- 2.20.1