make opt_names more rebust, added more flags
[libfirm] / testprograms / ref-results / PRIMA_set_a-wtypes.vcg
index 7badfee..a11068e 100644 (file)
@@ -55,7 +55,7 @@ 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: "End 136
+node: {title: "n136" label: "End 136"  info1: "End 136
   mode:    X
   visited: 16
   irg:     PRIMA_set_a
@@ -69,7 +69,7 @@ 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: "Return 82
+node: {title: "n82" label: "Return 82"  info1: "Return 82
   mode:    X
   visited: 16
   irg:     PRIMA_set_a
@@ -94,7 +94,7 @@ node: {title: "n81" label: "ProjM 0 81"  info1: "Proj 81
 "
 color: yellow}
 edge: {sourcename: "n81" targetname: "n79" label: "0" class:17 priority:10 color:blue}
-node: {title: "n79" label: "Store  79"  info1: "Store 79
+node: {title: "n79" label: "Store 79"  info1: "Store 79
   mode:    T
   visited: 16
   irg:     PRIMA_set_a
@@ -123,7 +123,8 @@ node: {title: "n78" label: "Sel a 78"  info1: "Sel 78
      1:    Proj 75
   Private Attributes:
   Selecting entity of type int
-    from entity of type PRIMA
+    from entity a (17)
+    of type PRIMA
 "
 }
 edge: {sourcename: "n78" targetname: "n71" label: "0" class:17 priority:10 color:blue}
@@ -192,7 +193,7 @@ node: {title: "n68" label: "ProjX 0 68"  info1: "Proj 68
 "
 color: yellow}
 edge: {sourcename: "n68" targetname: "n65" label: "0" class:13 priority:60 color:red}
-node: {title: "n65" label: "Start  65"  info1: "Start 65
+node: {title: "n65" label: "Start 65"  info1: "Start 65
   mode:    T
   visited: 16
   irg:     PRIMA_set_a
@@ -226,9 +227,58 @@ node: {title: "e17" label: "ent a" color: yellow
 "
 }
 edge: { sourcename: "e17" targetname: "t14"class: 3 label: "type" color: red}
-node: {title: "t15" label: "class PRIMA" info1: "state: layout_undefined
-size: -1b,
-peculiarity: peculiarity_existent
+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
+    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
+      atomic value: SymC &set_a
+      volatility:  volatility_non_volatile
+      peculiarity: peculiarity_existent
+      ld_name: PRIMA_set_a
+      offset:  -1
+      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
+      atomic value: SymC &c
+      volatility:  volatility_non_volatile
+      peculiarity: peculiarity_existent
+      ld_name: PRIMA_c
+      offset:  -1
+      irg = 96
+  supertypes:
+  subtypes:
+  peculiarity: peculiarity_existent
+  visibility: visibility_external_allocated,
+  state:      layout_undefined,
+  size:       -1 Bits,
+  alignment:  32 Bits,
+  dbg info:   (nil),
+
+
 " color: green}
 edge: { sourcename: "t15" targetname: "e17"class: 12 label: "member" color:blue}
 edge: { sourcename: "t15" targetname: "e20"class: 12 label: "member" color:blue}
@@ -253,12 +303,12 @@ 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: "SymC &set_a 19
+node: {title: "n19" label: "SymC &set_a 19"  info1: "SymC &set_a 19
   mode:    P
   visited: 5
   arity:   0
   pred nodes:
-    -1:    Block 1
+    -1:    Block 3
   Private Attributes:
   kind:   addr_ent
   entity: entity PRIMA.set_a (20)
@@ -266,23 +316,44 @@ node: {title: "n19" label: "SymC &set_a  19"  info1: "SymC &set_a 19
   type of value: type_unknown
 "
 }
-node: {title: "t18" label: "method set_a" info1: "state: layout_fixed,
-mode: P,
-size: 32b,
-variadicity: variadicity_non_variadic
-params: 2
-results: 0
+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,
+  dbg info:   (nil),
+
+
 "}
 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: "state: layout_fixed,
-mode: P,
-size: 32b,
+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,
+  dbg info:   (nil),
+
+
 "}
 edge: { sourcename: "t16" targetname: "t15"class: 9 label: "points to" color:green}
-node: {title: "t14" label: "primitive int" info1: "state: layout_fixed,
-mode: Is,
-size: 32b,
+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,
+  dbg info:   (nil),
+
+
 "}
 node: {title: "e23" label: "ent PRIMA_c" color: yellow
  info1: "entity c (23)
@@ -304,12 +375,12 @@ 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: "SymC &c 22
+node: {title: "n22" label: "SymC &c 22"  info1: "SymC &c 22
   mode:    P
   visited: 5
   arity:   0
   pred nodes:
-    -1:    Block 1
+    -1:    Block 3
   Private Attributes:
   kind:   addr_ent
   entity: entity PRIMA.c (23)
@@ -317,19 +388,37 @@ node: {title: "n22" label: "SymC &c  22"  info1: "SymC &c 22
   type of value: type_unknown
 "
 }
-node: {title: "t21" label: "method c" info1: "state: layout_fixed,
-mode: P,
-size: 32b,
-variadicity: variadicity_non_variadic
-params: 2
-results: 1
+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,
+  dbg info:   (nil),
+
+
 "}
 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: "t61" label: "class set_aframe_tp" info1: "state: layout_undefined
-size: -1b,
-peculiarity: peculiarity_existent
+node: {title: "t61" label: "class set_aframe_tp" info1: "class type set_aframe_tp (61)
+  members:
+  supertypes:
+  subtypes:
+  peculiarity: peculiarity_existent
+  visibility: visibility_external_allocated,
+  state:      layout_undefined,
+  size:       -1 Bits,
+  alignment:   0 Bits,
+  dbg info:   (nil),
+
+
 " color: green}
 edge: { sourcename: "n78" targetname: "e17"class:2 priority:2 linestyle:dotted}
 }