new reference after adding class to edges
[libfirm] / testprograms / ref-results / PRIMA_set_a-pure-wtypes.vcg
index 807eb04..76ae01a 100644 (file)
@@ -6,6 +6,9 @@ port_sharing: no
 orientation: bottom_to_top
 classname 1: "Data"
 classname 2: "Block"
+classname 13:"Control Flow"
+classname 14:"Memory"
+classname 15:"Dominators"
 classname 3: "Entity type"
 classname 4: "Entity owner"
 classname 5: "Method Param"
@@ -17,83 +20,97 @@ classname 10: "Array Element Type"
 classname 11: "Overwrites"
 classname 12: "Member"
 
-node: {title: "n139" label: "Block  139" color: lightyellow info1: "visited: 10
-irg:     set_a
-"}
-edge: {sourcename: "n139" targetname: "n138" label: "0" color: red}
-node: {title: "n140" label: "Start  140" color: blue info1: "visited: 10
-irg:     set_a
+node: {title: "n134" label: "Block  134" color: lightyellow info1: "visited: 10
+irg:     PRIMA_set_a
+arity: 1 backedges:
+"}
+edge: {sourcename: "n134" targetname: "n133" label: "0" class:13 color:red}
+node: {title: "n135" label: "Start  135" color: blue info1: "visited: 10
+irg:     PRIMA_set_a
+arity: 0
 start of method of type set_a
   param 0 type: class_prima_ptr
   param 1 type: int
 "}
-edge: { sourcename: "n140" targetname: "n139" class: 2 priority: 2 linestyle: dotted}
-node: {title: "n138" label: "ProjX 0 138" color: yellow info1: "visited: 10
-irg:     set_a
-"}
-edge: {sourcename: "n138" targetname: "n140" label: "0" color: red}
-edge: { sourcename: "n138" targetname: "n139" class: 2 priority: 2 linestyle: dotted}
-node: {title: "n137" label: "Block  137" color: lightyellow info1: "visited: 10
-irg:     set_a
-"}
-edge: {sourcename: "n137" targetname: "n138" label: "0" color: red}
-node: {title: "n144" label: "ProjT 4 144" color: yellow info1: "visited: 10
-irg:     set_a
-"}
-edge: {sourcename: "n144" targetname: "n140" label: "0" }
-edge: { sourcename: "n144" targetname: "n139" class: 2 priority: 2 linestyle: dotted}
-node: {title: "n143" label: "ProjIs 1 143" color: yellow info1: "visited: 10
-irg:     set_a
-"}
-edge: {sourcename: "n143" targetname: "n144" label: "0" }
-edge: { sourcename: "n143" targetname: "n137" class: 2 priority: 2 linestyle: dotted}
-node: {title: "n146" label: "ProjP 0 146" color: yellow info1: "visited: 10
-irg:     set_a
-"}
-edge: {sourcename: "n146" targetname: "n144" label: "0" }
-edge: { sourcename: "n146" targetname: "n137" class: 2 priority: 2 linestyle: dotted}
-node: {title: "n147" label: "ProjM 1 147" color: yellow info1: "visited: 10
-irg:     set_a
-"}
-edge: {sourcename: "n147" targetname: "n140" label: "0" color: blue}
-edge: { sourcename: "n147" targetname: "n139" class: 2 priority: 2 linestyle: dotted}
-node: {title: "n145" label: "Sel a 145"  info1: "visited: 10
-irg:     set_a
+edge: { sourcename: "n135" targetname: "n134" class:2 priority:2 linestyle:dotted}
+node: {title: "n133" label: "ProjX 0 133" color: yellow info1: "visited: 10
+irg:     PRIMA_set_a
+arity: 1
+"}
+edge: {sourcename: "n133" targetname: "n135" label: "0" class:13 color:red}
+edge: { sourcename: "n133" targetname: "n134" class:2 priority:2 linestyle:dotted}
+node: {title: "n132" label: "Block  132" color: lightyellow info1: "visited: 10
+irg:     PRIMA_set_a
+arity: 1 backedges:
+"}
+edge: {sourcename: "n132" targetname: "n133" label: "0" class:13 color:red}
+node: {title: "n139" label: "ProjT 4 139" color: yellow info1: "visited: 10
+irg:     PRIMA_set_a
+arity: 1
+"}
+edge: {sourcename: "n139" targetname: "n135" label: "0" }
+edge: { sourcename: "n139" targetname: "n134" class:2 priority:2 linestyle:dotted}
+node: {title: "n138" label: "ProjIs 1 138" color: yellow info1: "visited: 10
+irg:     PRIMA_set_a
+arity: 1
+"}
+edge: {sourcename: "n138" targetname: "n139" label: "0" }
+edge: { sourcename: "n138" targetname: "n132" class:2 priority:2 linestyle:dotted}
+node: {title: "n141" label: "ProjP 0 141" color: yellow info1: "visited: 10
+irg:     PRIMA_set_a
+arity: 1
+"}
+edge: {sourcename: "n141" targetname: "n139" label: "0" }
+edge: { sourcename: "n141" targetname: "n132" class:2 priority:2 linestyle:dotted}
+node: {title: "n142" label: "ProjM 1 142" color: yellow info1: "visited: 10
+irg:     PRIMA_set_a
+arity: 1
+"}
+edge: {sourcename: "n142" targetname: "n135" label: "0" class:14 color:blue}
+edge: { sourcename: "n142" targetname: "n134" class:2 priority:2 linestyle:dotted}
+node: {title: "n140" label: "Sel a 140"  info1: "visited: 10
+irg:     PRIMA_set_a
+arity: 2
 Selecting entity of type int
   from entity of type PRIMA
 "}
-edge: {sourcename: "n145" targetname: "n147" label: "0" color: blue}
-edge: {sourcename: "n145" targetname: "n146" label: "1" }
-edge: { sourcename: "n145" targetname: "n137" class: 2 priority: 2 linestyle: dotted}
-node: {title: "n142" label: "Store  142"  info1: "visited: 10
-irg:     set_a
-"}
-edge: {sourcename: "n142" targetname: "n147" label: "0" color: blue}
-edge: {sourcename: "n142" targetname: "n145" label: "1" }
-edge: {sourcename: "n142" targetname: "n143" label: "2" }
-edge: { sourcename: "n142" targetname: "n137" class: 2 priority: 2 linestyle: dotted}
-node: {title: "n141" label: "ProjM 0 141" color: yellow info1: "visited: 10
-irg:     set_a
-"}
-edge: {sourcename: "n141" targetname: "n142" label: "0" color: blue}
-edge: { sourcename: "n141" targetname: "n137" class: 2 priority: 2 linestyle: dotted}
-node: {title: "n136" label: "Return  136"  info1: "visited: 10
-irg:     set_a
+edge: {sourcename: "n140" targetname: "n142" label: "0" class:14 color:blue}
+edge: {sourcename: "n140" targetname: "n141" label: "1" }
+edge: { sourcename: "n140" targetname: "n132" class:2 priority:2 linestyle:dotted}
+node: {title: "n137" label: "Store  137"  info1: "visited: 10
+irg:     PRIMA_set_a
+arity: 3
+"}
+edge: {sourcename: "n137" targetname: "n142" label: "0" class:14 color:blue}
+edge: {sourcename: "n137" targetname: "n140" label: "1" }
+edge: {sourcename: "n137" targetname: "n138" label: "2" }
+edge: { sourcename: "n137" targetname: "n132" class:2 priority:2 linestyle:dotted}
+node: {title: "n136" label: "ProjM 0 136" color: yellow info1: "visited: 10
+irg:     PRIMA_set_a
+arity: 1
+"}
+edge: {sourcename: "n136" targetname: "n137" label: "0" class:14 color:blue}
+edge: { sourcename: "n136" targetname: "n132" class:2 priority:2 linestyle:dotted}
+node: {title: "n131" label: "Return  131"  info1: "visited: 10
+irg:     PRIMA_set_a
+arity: 1
 return in method of type set_a
 "}
-edge: {sourcename: "n136" targetname: "n141" label: "0" color: blue}
-edge: { sourcename: "n136" targetname: "n137" class: 2 priority: 2 linestyle: dotted}
-node: {title: "n135" label: "Block  135" color: lightyellow info1: "visited: 10
-irg:     set_a
+edge: {sourcename: "n131" targetname: "n136" label: "0" class:14 color:blue}
+edge: { sourcename: "n131" targetname: "n132" class:2 priority:2 linestyle:dotted}
+node: {title: "n130" label: "Block  130" color: lightyellow info1: "visited: 10
+irg:     PRIMA_set_a
+arity: 1 backedges:
 "}
-edge: {sourcename: "n135" targetname: "n136" label: "0" color: red}
-node: {title: "n134" label: "End  134" color: blue info1: "visited: 10
-irg:     set_a
+edge: {sourcename: "n130" targetname: "n131" label: "0" class:13 color:red}
+node: {title: "n129" label: "End  129" color: blue info1: "visited: 10
+irg:     PRIMA_set_a
+arity: 0
 "}
-edge: { sourcename: "n134" targetname: "n135" class: 2 priority: 2 linestyle: dotted}
-node: {title: "e15" label: "ent a" color: yellow
+edge: { sourcename: "n129" targetname: "n130" class:2 priority:2 linestyle:dotted}
+node: {title: "e14" label: "ent a" color: yellow
  info1: "
-id: e15
+id: e14
 allocation:  allocation_automatic
 visibility:  visibility_local
 variability: variability_uninitialized
@@ -103,75 +120,77 @@ name:    a
 ld_name: no yet set
 offset:  -1"
 }
-edge: { sourcename: "e15" targetname: "t12"class: 3 label: "type" color: red}
-node: {title: "t13" label: "class PRIMA" info1: "state: layout_undefined
+edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red}
+node: {title: "t12" label: "class PRIMA" info1: "state: layout_undefined
 size: -1B,
 peculiarity: peculiarity_existent
 " color: green}
-edge: { sourcename: "t13" targetname: "e15"class: 12 label: "member" color:blue}
-edge: { sourcename: "t13" targetname: "e18"class: 12 label: "member" color:blue}
-edge: { sourcename: "t13" targetname: "e21"class: 12 label: "member" color:blue}
-node: {title: "e18" label: "ent set_a" color: yellow
+edge: { sourcename: "t12" targetname: "e14"class: 12 label: "member" color:blue}
+edge: { sourcename: "t12" targetname: "e17"class: 12 label: "member" color:blue}
+edge: { sourcename: "t12" targetname: "e20"class: 12 label: "member" color:blue}
+node: {title: "e17" label: "ent PRIMA_set_a" color: yellow
  info1: "
-id: e18
+id: e17
 allocation:  allocation_static
 visibility:  visibility_local
 variability: variability_constant
 volatility:  volatility_non_volatile
 peculiarity: peculiarity_existent
-name:    set_a
+name:    PRIMA_set_a
 ld_name: PRIMA_set_a
 offset:  -1
-irg = g71"
+irg = g68"
 }
-edge: { sourcename: "e18" targetname: "t16"class: 3 label: "type" color: red}
-edge: { sourcename: "e18" targetname: "n17"label: "value 0"}
-node: {title: "n17" label: "&(PRIMA_set_a)P  17" color: yellow info1: "visited: 2
+edge: { sourcename: "e17" targetname: "t15"class: 3 label: "type" color: red}
+edge: { sourcename: "e17" targetname: "n16"label: "value 0"}
+node: {title: "n16" label: "&(PRIMA_set_a)P  16" color: yellow info1: "visited: 2
+arity: 0
 Const of type type_unknown
 "}
-node: {title: "t16" label: "method set_a" info1: "state: layout_fixed,
+node: {title: "t15" label: "method set_a" info1: "state: layout_fixed,
 mode: P,
 size: 4B,
 "}
-edge: { sourcename: "t16" targetname: "t14"class: 5 label: "param 0" color: green}
-edge: { sourcename: "t16" targetname: "t12"class: 5 label: "param 1" color: green}
-node: {title: "t14" label: "pointer class_prima_ptr" info1: "state: layout_fixed,
+edge: { sourcename: "t15" targetname: "t13"class: 5 label: "param 0" color: green}
+edge: { sourcename: "t15" targetname: "t11"class: 5 label: "param 1" color: green}
+node: {title: "t13" label: "pointer class_prima_ptr" info1: "state: layout_fixed,
 mode: P,
 size: 4B,
 "}
-edge: { sourcename: "t14" targetname: "t13"class: 9 label: "points to" color:green}
-node: {title: "t12" label: "primitive int" info1: "state: layout_fixed,
+edge: { sourcename: "t13" targetname: "t12"class: 9 label: "points to" color:green}
+node: {title: "t11" label: "primitive int" info1: "state: layout_fixed,
 mode: Is,
 size: 4B,
 "}
-node: {title: "e21" label: "ent c" color: yellow
+node: {title: "e20" label: "ent PRIMA_c" color: yellow
  info1: "
-id: e21
+id: e20
 allocation:  allocation_static
 visibility:  visibility_local
 variability: variability_constant
 volatility:  volatility_non_volatile
 peculiarity: peculiarity_existent
-name:    c
+name:    PRIMA_c
 ld_name: PRIMA_c
 offset:  -1
-irg = g94"
+irg = g90"
 }
-edge: { sourcename: "e21" targetname: "t19"class: 3 label: "type" color: red}
-edge: { sourcename: "e21" targetname: "n20"label: "value 0"}
-node: {title: "n20" label: "&(PRIMA_c)P  20" color: yellow info1: "visited: 2
+edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red}
+edge: { sourcename: "e20" targetname: "n19"label: "value 0"}
+node: {title: "n19" label: "&(PRIMA_c)P  19" color: yellow info1: "visited: 2
+arity: 0
 Const of type type_unknown
 "}
-node: {title: "t19" label: "method c" info1: "state: layout_fixed,
+node: {title: "t18" label: "method c" info1: "state: layout_fixed,
 mode: P,
 size: 4B,
 "}
-edge: { sourcename: "t19" targetname: "t14"class: 5 label: "param 0" color: green}
-edge: { sourcename: "t19" targetname: "t12"class: 5 label: "param 1" color: green}
-edge: { sourcename: "t19" targetname: "t12"class: 6 label: "res 0" color: green}
-node: {title: "t59" label: "class set_aframe_tp" info1: "state: layout_undefined
+edge: { sourcename: "t18" targetname: "t13"class: 5 label: "param 0" color: green}
+edge: { sourcename: "t18" targetname: "t11"class: 5 label: "param 1" color: green}
+edge: { sourcename: "t18" targetname: "t11"class: 6 label: "res 0" color: green}
+node: {title: "t57" label: "class set_aframe_tp" info1: "state: layout_undefined
 size: -1B,
 peculiarity: peculiarity_existent
 " color: green}
-edge: { sourcename: "n145" targetname: "e15"class: 2 priority: 2 linestyle: dotted}
+edge: { sourcename: "n140" targetname: "e14"class:2 priority:2 linestyle:dotted}
 }