X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=testprograms%2Fref-results%2FPRIMA_c-pure-wtypes.vcg;h=101f9c3b682230cf824dd189cd2556b57e0cc4a5;hb=1ec30d95387eb392ba5a1adc7958ebd91383d59c;hp=6565fb57aed60c1af52a8adf4174e4e3059d1dd7;hpb=9e804b703e9941faf2723ebdd1b8232b7ba42c1c;p=libfirm diff --git a/testprograms/ref-results/PRIMA_c-pure-wtypes.vcg b/testprograms/ref-results/PRIMA_c-pure-wtypes.vcg index 6565fb57a..101f9c3b6 100644 --- a/testprograms/ref-results/PRIMA_c-pure-wtypes.vcg +++ b/testprograms/ref-results/PRIMA_c-pure-wtypes.vcg @@ -4,186 +4,502 @@ layoutalgorithm: mindepth manhattan_edges: yes port_sharing: no orientation: bottom_to_top -classname 1: "Data" -classname 2: "Block" -classname 3: "Entity type" -classname 4: "Entity owner" -classname 5: "Method Param" -classname 6: "Method Res" -classname 7: "Super" -classname 8: "Union" -classname 9: "Points-to" +classname 1: "intrablock Data" +classname 2: "Block" +classname 3: "Entity type" +classname 4: "Entity owner" +classname 5: "Method Param" +classname 6: "Method Res" +classname 7: "Super" +classname 8: "Union" +classname 9: "Points-to" classname 10: "Array Element Type" classname 11: "Overwrites" classname 12: "Member" +classname 13: "Control Flow" +classname 14: "intrablock Memory" +classname 15: "Dominators" +classname 16: "interblock Data" +classname 17: "interblock Memory" +classname 18: "Exception Control Flow for Interval Analysis" +classname 19: "Postdominators" +infoname 1: "Attribute" +infoname 2: "Verification errors" +infoname 3: "Debug info" +colorentry 100: 0 0 0 +colorentry 101: 20 0 0 +colorentry 102: 40 0 0 +colorentry 103: 60 0 0 +colorentry 104: 80 0 0 +colorentry 105: 100 0 0 +colorentry 106: 120 0 0 +colorentry 107: 140 0 0 +colorentry 108: 150 0 0 +colorentry 109: 180 0 0 +colorentry 110: 200 0 0 +colorentry 111: 220 0 0 +colorentry 112: 240 0 0 +colorentry 113: 255 0 0 +colorentry 113: 255 20 20 +colorentry 114: 255 40 40 +colorentry 115: 255 60 60 +colorentry 116: 255 80 80 +colorentry 117: 255 100 100 +colorentry 118: 255 120 120 +colorentry 119: 255 140 140 +colorentry 120: 255 150 150 +colorentry 121: 255 180 180 +colorentry 122: 255 200 200 +colorentry 123: 255 220 220 +colorentry 124: 255 240 240 +colorentry 125: 255 250 250 -node: {title: "n157" label: "Block 157" color: lightyellow info1: "visited: 10 -irg: PRIMA_c -"} -edge: {sourcename: "n157" targetname: "n156" label: "0" color: red} -node: {title: "n158" label: "Start 158" color: blue info1: "visited: 10 -irg: PRIMA_c -start of method of type c - param 0 type: class_prima_ptr - param 1 type: int -"} -edge: { sourcename: "n158" targetname: "n157" class: 2 priority: 2 linestyle: dotted} -node: {title: "n156" label: "ProjX 0 156" color: yellow info1: "visited: 10 -irg: PRIMA_c -"} -edge: {sourcename: "n156" targetname: "n158" label: "0" color: red} -edge: { sourcename: "n156" targetname: "n157" class: 2 priority: 2 linestyle: dotted} -node: {title: "n155" label: "Block 155" color: lightyellow info1: "visited: 10 -irg: PRIMA_c -"} -edge: {sourcename: "n155" targetname: "n156" label: "0" color: red} -node: {title: "n164" label: "ProjT 4 164" color: yellow info1: "visited: 10 -irg: PRIMA_c -"} -edge: {sourcename: "n164" targetname: "n158" label: "0" } -edge: { sourcename: "n164" targetname: "n157" class: 2 priority: 2 linestyle: dotted} -node: {title: "n163" label: "ProjP 0 163" color: yellow info1: "visited: 10 -irg: PRIMA_c -"} -edge: {sourcename: "n163" targetname: "n164" label: "0" } -edge: { sourcename: "n163" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n165" label: "ProjM 1 165" color: yellow info1: "visited: 10 -irg: PRIMA_c -"} -edge: {sourcename: "n165" targetname: "n158" label: "0" color: blue} -edge: { sourcename: "n165" targetname: "n157" class: 2 priority: 2 linestyle: dotted} -node: {title: "n162" label: "Sel a 162" info1: "visited: 10 -irg: PRIMA_c -Selecting entity of type int - from entity of type PRIMA -"} -edge: {sourcename: "n162" targetname: "n165" label: "0" color: blue} -edge: {sourcename: "n162" targetname: "n163" label: "1" } -edge: { sourcename: "n162" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n161" label: "Load 161" info1: "visited: 10 -irg: PRIMA_c -"} -edge: {sourcename: "n161" targetname: "n165" label: "0" color: blue} -edge: {sourcename: "n161" targetname: "n162" label: "1" } -edge: { sourcename: "n161" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n160" label: "ProjIs 2 160" color: yellow info1: "visited: 10 -irg: PRIMA_c -"} -edge: {sourcename: "n160" targetname: "n161" label: "0" } -edge: { sourcename: "n160" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n166" label: "ProjIs 1 166" color: yellow info1: "visited: 10 -irg: PRIMA_c -"} -edge: {sourcename: "n166" targetname: "n164" label: "0" } -edge: { sourcename: "n166" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n159" label: "AddIs 159" info1: "visited: 10 -irg: PRIMA_c -"} -edge: {sourcename: "n159" targetname: "n166" label: "0" } -edge: {sourcename: "n159" targetname: "n160" label: "1" } -edge: { sourcename: "n159" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n167" label: "ProjM 0 167" color: yellow info1: "visited: 10 -irg: PRIMA_c -"} -edge: {sourcename: "n167" targetname: "n161" label: "0" color: blue} -edge: { sourcename: "n167" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n154" label: "Return 154" info1: "visited: 10 -irg: PRIMA_c -return in method of type c - res 0 type: int -"} -edge: {sourcename: "n154" targetname: "n167" label: "0" color: blue} -edge: {sourcename: "n154" targetname: "n159" label: "1" } -edge: { sourcename: "n154" targetname: "n155" class: 2 priority: 2 linestyle: dotted} -node: {title: "n153" label: "Block 153" color: lightyellow info1: "visited: 10 -irg: PRIMA_c -"} -edge: {sourcename: "n153" targetname: "n154" label: "0" color: red} -node: {title: "n152" label: "End 152" color: blue info1: "visited: 10 -irg: PRIMA_c -"} -edge: { sourcename: "n152" targetname: "n153" class: 2 priority: 2 linestyle: dotted} -node: {title: "e15" label: "ent a" color: yellow - info1: " -id: e15 -allocation: allocation_automatic -visibility: visibility_local -variability: variability_uninitialized -volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: a -ld_name: no yet set -offset: -1" +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 + Execution freqency statistics: +" +color:lightyellow} +edge: {sourcename: "n87" targetname: "n91" label: "0" class:13 priority:60 color:red} +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 X_initial_exec 91" info1: "Proj 91 + mode: X + visited: 13 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Start 88 + Private Attributes: + proj nr: 0 +" +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: "Block 97 + mode: BB + visited: 13 + irg: PRIMA_c + arity: 1 + pred nodes: + 0: Proj 91 + Private Attributes: + backedges: + block visited: 0 + Execution freqency statistics: +" +color:lightyellow} +edge: {sourcename: "n97" targetname: "n91" label: "0" class:13 priority:60 color:red} +node: {title: "n95" label: "ProjT T_args 95" info1: "Proj 95 + mode: T + visited: 13 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Start 88 + Private Attributes: + proj nr: 4 +" +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 Arg 1 99" info1: "Proj 99 + mode: Is + visited: 13 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Proj 95 + Private Attributes: + proj nr: 1 +" +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 Arg 0 98" info1: "Proj 98 + mode: P + visited: 13 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Proj 95 + Private Attributes: + proj nr: 0 +" +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: "Proj 94 + mode: M + visited: 13 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 87 + 0: Start 88 + Private Attributes: + proj nr: 1 +" +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: "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 a (17) + of type int + with owner PRIMA. +" } -edge: { sourcename: "e15" targetname: "t12"class: 3 label: "type" color: red} -node: {title: "t13" label: "class PRIMA" info1: "state: layout_undefined -size: -1B, -peculiarity: peculiarity_existent -" color: green} -edge: { sourcename: "t13" targetname: "e15"class: 12 label: "member" color:blue} -edge: { sourcename: "t13" targetname: "e18"class: 12 label: "member" color:blue} -edge: { sourcename: "t13" targetname: "e21"class: 12 label: "member" color:blue} -node: {title: "e18" label: "ent PRIMA_set_a" color: yellow - info1: " -id: e18 -allocation: allocation_static -visibility: visibility_local -variability: variability_constant -volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: PRIMA_set_a -ld_name: PRIMA_set_a -offset: -1 -irg = g71" +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: "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: "e18" targetname: "t16"class: 3 label: "type" color: red} -edge: { sourcename: "e18" targetname: "n17"label: "value 0"} -node: {title: "n17" label: "&(PRIMA_set_a)P 17" color: yellow info1: "visited: 3 -Const of type type_unknown -"} -node: {title: "t16" label: "method set_a" info1: "state: layout_fixed, -mode: P, -size: 4B, -"} -edge: { sourcename: "t16" targetname: "t14"class: 5 label: "param 0" color: green} -edge: { sourcename: "t16" targetname: "t12"class: 5 label: "param 1" color: green} -node: {title: "t14" label: "pointer class_prima_ptr" info1: "state: layout_fixed, -mode: P, -size: 4B, -"} -edge: { sourcename: "t14" targetname: "t13"class: 9 label: "points to" color:green} -node: {title: "t12" label: "primitive int" info1: "state: layout_fixed, -mode: Is, -size: 4B, -"} -node: {title: "e21" label: "ent PRIMA_c" color: yellow - info1: " -id: e21 -allocation: allocation_static -visibility: visibility_local -variability: variability_constant -volatility: volatility_non_volatile -peculiarity: peculiarity_existent -name: PRIMA_c -ld_name: PRIMA_c -offset: -1 -irg = g94" +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 res 105" info1: "Proj 105 + mode: Is + visited: 13 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Load[Is] 102 + Private Attributes: + proj nr: 2 +" +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: "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: "e21" targetname: "t19"class: 3 label: "type" color: red} -edge: { sourcename: "e21" targetname: "n20"label: "value 0"} -node: {title: "n20" label: "&(PRIMA_c)P 20" color: yellow info1: "visited: 3 -Const of type type_unknown -"} -node: {title: "t19" label: "method c" info1: "state: layout_fixed, -mode: P, -size: 4B, -"} -edge: { sourcename: "t19" targetname: "t14"class: 5 label: "param 0" color: green} -edge: { sourcename: "t19" targetname: "t12"class: 5 label: "param 1" color: green} -edge: { sourcename: "t19" targetname: "t12"class: 6 label: "res 0" color: green} -node: {title: "t82" label: "class cframe_tp" info1: "state: layout_undefined -size: -1B, -peculiarity: peculiarity_existent -" color: green} -edge: { sourcename: "n162" targetname: "e15"class: 2 priority: 2 linestyle: dotted} +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 M 104" info1: "Proj 104 + mode: M + visited: 13 + irg: PRIMA_c + arity: 1 + pred nodes: + -1: Block 97 + 0: Load[Is] 102 + Private Attributes: + proj nr: 0 +" +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: "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: "Block 85 + mode: BB + visited: 13 + irg: PRIMA_c + arity: 1 + pred nodes: + 0: Return 107 + Private Attributes: + backedges: + block visited: 0 + Execution freqency statistics: +" +color:lightyellow} +edge: {sourcename: "n85" targetname: "n107" label: "0" class:13 priority:60 color:red} +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) + type: int (14) + owner: PRIMA (15) + Does not overwrite other entities. + Is not overwritten by other entities. + allocation: allocation_automatic + visibility: visibility_local + variability: variability_uninitialized + volatility: volatility_non_volatile + peculiarity: peculiarity_existent + ld_name: no yet set + offset: -1 bits, -1 bytes + +" +} +edge: { sourcename: "e17" targetname: "t14"class: 3 label: "type" color: red} +node: {title: "t15" label: "class PRIMA" info1: "class type PRIMA (15) + members: + entity a (17) + type: int (14) + owner: PRIMA (15) + Does not overwrite other entities. + Is not overwritten by other entities. + allocation: allocation_automatic + visibility: visibility_local + variability: variability_uninitialized + volatility: volatility_non_volatile + peculiarity: peculiarity_existent + ld_name: no yet set + offset: -1 bits, -1 bytes + entity set_a (20) + type: set_a (18) + owner: PRIMA (15) + Does not overwrite other entities. + Is not overwritten by other entities. + allocation: allocation_static + visibility: visibility_local + variability: variability_constant + calling convention: cdecl + atomic value: SymC &set_a + volatility: volatility_non_volatile + peculiarity: peculiarity_existent + ld_name: PRIMA_set_a + offset: -1 bits, -1 bytes + irg = 73 + entity c (23) + type: c (21) + owner: PRIMA (15) + Does not overwrite other entities. + Is not overwritten by other entities. + allocation: allocation_static + visibility: visibility_local + variability: variability_constant + calling convention: cdecl + atomic value: SymC &c + volatility: volatility_non_volatile + peculiarity: peculiarity_existent + ld_name: PRIMA_c + offset: -1 bits, -1 bytes + irg = 96 + supertypes: + subtypes: + peculiarity: peculiarity_existent + visibility: visibility_external_allocated, + state: layout_undefined, + size: -1 Bits, + alignment: 32 Bits, + + +" + color: green} +edge: { sourcename: "t15" targetname: "e17"class: 12 label: "member" color:blue} +edge: { sourcename: "t15" targetname: "e20"class: 12 label: "member" color:blue} +edge: { sourcename: "t15" targetname: "e23"class: 12 label: "member" color:blue} +node: {title: "e20" label: "ent PRIMA_set_a" color: yellow + info1: "entity set_a (20) + type: set_a (18) + owner: PRIMA (15) + Does not overwrite other entities. + Is not overwritten by other entities. + allocation: allocation_static + visibility: visibility_local + variability: variability_constant + calling convention: cdecl + atomic value: SymC &set_a + volatility: volatility_non_volatile + peculiarity: peculiarity_existent + ld_name: PRIMA_set_a + offset: -1 bits, -1 bytes + irg = 73 + +" +} +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: "SymC &set_a 19 + mode: P + visited: 1 + arity: 0 + pred nodes: + -1: Block 3 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.set_a (20) + + type of value: type_unknown +" +} +node: {title: "t18" label: "method set_a" info1: "method type set_a (18) + variadicity: variadicity_non_variadic + return types: 0 + parameter types: 2 + class_prima_ptr + int + visibility: visibility_external_allocated, + state: layout_fixed, + size: 32 Bits, + alignment: 32 Bits, + mode: P, + + +" +} +edge: { sourcename: "t18" targetname: "t16"class: 5 label: "param 0" color: green} +edge: { sourcename: "t18" targetname: "t14"class: 5 label: "param 1" color: green} +node: {title: "t16" label: "pointer class_prima_ptr" info1: "pointer type class_prima_ptr (16) + points to PRIMA (15) + visibility: visibility_external_allocated, + state: layout_fixed, + size: 32 Bits, + alignment: 32 Bits, + mode: P, + + +" +} +edge: { sourcename: "t16" targetname: "t15"class: 9 label: "points to" color:green} +node: {title: "t14" label: "primitive int" info1: "primitive type int (14) + visibility: visibility_external_allocated, + state: layout_fixed, + size: 32 Bits, + alignment: 32 Bits, + mode: Is, + + +" +} +node: {title: "e23" label: "ent PRIMA_c" color: yellow + info1: "entity c (23) + type: c (21) + owner: PRIMA (15) + Does not overwrite other entities. + Is not overwritten by other entities. + allocation: allocation_static + visibility: visibility_local + variability: variability_constant + calling convention: cdecl + atomic value: SymC &c + volatility: volatility_non_volatile + peculiarity: peculiarity_existent + ld_name: PRIMA_c + offset: -1 bits, -1 bytes + irg = 96 + +" +} +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: "SymC &c 22 + mode: P + visited: 1 + arity: 0 + pred nodes: + -1: Block 3 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.c (23) + + type of value: type_unknown +" +} +node: {title: "t21" label: "method c" info1: "method type c (21) + variadicity: variadicity_non_variadic + return types: 1 + int + parameter types: 2 + class_prima_ptr + int + visibility: visibility_external_allocated, + state: layout_fixed, + size: 32 Bits, + alignment: 32 Bits, + mode: P, + + +" +} +edge: { sourcename: "t21" targetname: "t16"class: 5 label: "param 0" color: green} +edge: { sourcename: "t21" targetname: "t14"class: 5 label: "param 1" color: green} +edge: { sourcename: "t21" targetname: "t14"class: 6 label: "res 0" color: green} +node: {title: "t84" label: "class cframe_tp" info1: "class type cframe_tp (84) + members: + supertypes: + subtypes: + peculiarity: peculiarity_existent + visibility: visibility_external_allocated, + state: layout_undefined, + size: -1 Bits, + alignment: 0 Bits, + + +" + color: green} +edge: { sourcename: "n101" targetname: "e17"class:2 priority:2 linestyle:dotted} }