make opt_names more rebust, added more flags
[libfirm] / testprograms / ref-results / OO_PROGRAM_EXAMPLE_main-wtypes-ip.vcg
index 9e76414..9516498 100644 (file)
@@ -55,7 +55,7 @@ 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: "End OO_PROGRAM_EXAMPLE_main 109
+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
@@ -71,7 +71,7 @@ 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: "Return 59
+node: {title: "n59" label: "Return 59"  info1: "Return 59
   mode:    X
   visited: 45
   irg:     OO_PROGRAM_EXAMPLE_main
@@ -94,7 +94,8 @@ node: {title: "n202" label: "FilterM 0 202"  info1: "Filter 202
     -1:    Block 40
      0:    Call 54
   Private Attributes:
-  inter arity: 1  inter pred nodes:
+  inter arity: 1
+  inter pred nodes:
      0:    Proj 104
   backedges:
 "
@@ -109,7 +110,8 @@ node: {title: "n203" label: "FilterIs 0 203"  info1: "Filter 203
     -1:    Block 40
      0:    Proj 57
   Private Attributes:
-  inter arity: 1  inter pred nodes:
+  inter arity: 1
+  inter pred nodes:
      0:    Add 106
   backedges:
 "
@@ -128,7 +130,8 @@ node: {title: "n196" label: "FilterM 0 196"  info1: "Filter 196
     -1:    Block 197
      0:    Call 50
   Private Attributes:
-  inter arity: 1  inter pred nodes:
+  inter arity: 1
+  inter pred nodes:
      0:    Proj 81
   backedges:
 "
@@ -146,7 +149,7 @@ node: {title: "n201" label: "ProjX 0 201"  info1: "Proj 201
 "
 color: yellow}
 edge: {sourcename: "n201" targetname: "n199" label: "0" class:13 priority:60 color:red}
-node: {title: "n199" label: "CallBegin c  199"  info1: "CallBegin c 199
+node: {title: "n199" label: "CallBegin c 199"  info1: "CallBegin c 199
   mode:    T
   visited: 45
   irg:     OO_PROGRAM_EXAMPLE_main
@@ -160,7 +163,7 @@ node: {title: "n199" label: "CallBegin c  199"  info1: "CallBegin c 199
     0: PRIMA_c
 "
 }
-node: {title: "n199n174" label: "SymC &c  174"  info1: "SymC &c 174
+node: {title: "n199n174" label: "SymC &c 174"  info1: "SymC &c 174
   mode:    P
   visited: 45
   irg:     OO_PROGRAM_EXAMPLE_main
@@ -203,7 +206,7 @@ node: {title: "n48" label: "ProjP 2 48"  info1: "Proj 48
 "
 color: yellow}
 edge: {sourcename: "n48" targetname: "n45" label: "0" class:1  priority:50}
-node: {title: "n45" label: "Alloc  45"  info1: "Alloc 45
+node: {title: "n45" label: "Alloc 45"  info1: "Alloc 45
   mode:    T
   visited: 45
   irg:     OO_PROGRAM_EXAMPLE_main
@@ -218,7 +221,7 @@ node: {title: "n45" label: "Alloc  45"  info1: "Alloc 45
   allocating on: the heap
 "
 }
-node: {title: "n45n43" label: "SymC PRIMA size  43"  info1: "SymC PRIMA size 43
+node: {title: "n45n43" label: "SymC PRIMA size 43"  info1: "SymC PRIMA size 43
   mode:    Iu
   visited: 45
   irg:     OO_PROGRAM_EXAMPLE_main
@@ -245,7 +248,7 @@ node: {title: "n195" label: "ProjX 0 195"  info1: "Proj 195
 "
 color: yellow}
 edge: {sourcename: "n195" targetname: "n193" label: "0" class:13 priority:60 color:red}
-node: {title: "n193" label: "CallBegin set_a  193"  info1: "CallBegin set_a 193
+node: {title: "n193" label: "CallBegin set_a 193"  info1: "CallBegin set_a 193
   mode:    T
   visited: 45
   irg:     OO_PROGRAM_EXAMPLE_main
@@ -259,7 +262,7 @@ node: {title: "n193" label: "CallBegin set_a  193"  info1: "CallBegin set_a 193
     0: PRIMA_set_a
 "
 }
-node: {title: "n193n175" label: "SymC &set_a  175"  info1: "SymC &set_a 175
+node: {title: "n193n175" label: "SymC &set_a 175"  info1: "SymC &set_a 175
   mode:    P
   visited: 45
   irg:     OO_PROGRAM_EXAMPLE_main
@@ -302,7 +305,7 @@ node: {title: "n34" label: "ProjX 0 34"  info1: "Proj 34
 "
 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: "Start OO_PROGRAM_EXAMPLE_main 31
+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
@@ -332,7 +335,7 @@ node: {title: "n194" label: "ProjX 0 194"  info1: "Proj 194
 "
 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: "EndReg PRIMA_set_a 189
+node: {title: "n189" label: "EndReg PRIMA_set_a 189"  info1: "EndReg PRIMA_set_a 189
   mode:    T
   visited: 45
   irg:     PRIMA_set_a
@@ -358,7 +361,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: 45
   irg:     PRIMA_set_a
@@ -387,12 +390,13 @@ node: {title: "n78" label: "Sel a 78"  info1: "Sel 78
      1:    Filter 185
   Private Attributes:
   Selecting entity of type int
-    from entity of type PRIMA
+    from entity a (17)
+    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: "Jmp 187
+node: {title: "n187" label: "Jmp 187"  info1: "Jmp 187
   mode:    X
   visited: 45
   irg:     PRIMA_set_a
@@ -415,7 +419,8 @@ node: {title: "n184" label: "FilterM 1 184"  info1: "Filter 184
     -1:    Block 64
      0:    Start PRIMA_set_a 65
   Private Attributes:
-  inter arity: 1  inter pred nodes:
+  inter arity: 1
+  inter pred nodes:
      0:    Proj 47
   backedges:
 "
@@ -430,7 +435,8 @@ node: {title: "n185" label: "FilterP 0 185"  info1: "Filter 185
     -1:    Block 64
      0:    Proj 72
   Private Attributes:
-  inter arity: 1  inter pred nodes:
+  inter arity: 1
+  inter pred nodes:
      0:    Proj 48
   backedges:
 "
@@ -445,12 +451,13 @@ node: {title: "n186" label: "FilterIs 1 186"  info1: "Filter 186
     -1:    Block 64
      0:    Proj 72
   Private Attributes:
-  inter arity: 1  inter pred nodes:
+  inter arity: 1
+  inter pred nodes:
      0:    0x2 41
   backedges:
 "
 color: yellow}
-node: {title: "n186n41" label: "0x2Is  41"  info1: "0x2 41
+node: {title: "n186n41" label: "0x2Is 41"  info1: "0x2 41
   mode:    Is
   visited: 45
   irg:     OO_PROGRAM_EXAMPLE_main
@@ -474,7 +481,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 PRIMA_set_a  65"  info1: "Start PRIMA_set_a 65
+node: {title: "n65" label: "Start PRIMA_set_a 65"  info1: "Start PRIMA_set_a 65
   mode:    T
   visited: 45
   irg:     PRIMA_set_a
@@ -506,7 +513,7 @@ node: {title: "n200" label: "ProjX 0 200"  info1: "Proj 200
 "
 color: yellow}
 edge: {sourcename: "n200" targetname: "n181" label: "0" class:13 priority:60 color:red}
-node: {title: "n181" label: "EndReg PRIMA_c  181"  info1: "EndReg PRIMA_c 181
+node: {title: "n181" label: "EndReg PRIMA_c 181"  info1: "EndReg PRIMA_c 181
   mode:    T
   visited: 45
   irg:     PRIMA_c
@@ -532,7 +539,7 @@ node: {title: "n104" label: "ProjM 0 104"  info1: "Proj 104
 "
 color: yellow}
 edge: {sourcename: "n104" targetname: "n102" label: "0" class:17 priority:10 color:blue}
-node: {title: "n106" label: "AddIs  106"  info1: "Add 106
+node: {title: "n106" label: "AddIs 106"  info1: "Add 106
   mode:    Is
   visited: 45
   irg:     PRIMA_c
@@ -558,7 +565,7 @@ node: {title: "n105" label: "ProjIs 2 105"  info1: "Proj 105
 "
 color: yellow}
 edge: {sourcename: "n105" targetname: "n102" label: "0" class:1  priority:50}
-node: {title: "n102" label: "Load[Is]  102"  info1: "Load[Is] 102
+node: {title: "n102" label: "Load[Is] 102"  info1: "Load[Is] 102
   mode:    T
   visited: 45
   irg:     PRIMA_c
@@ -586,12 +593,13 @@ node: {title: "n101" label: "Sel a 101"  info1: "Sel 101
      1:    Filter 177
   Private Attributes:
   Selecting entity of type int
-    from entity of type PRIMA
+    from entity a (17)
+    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: "Jmp 179
+node: {title: "n179" label: "Jmp 179"  info1: "Jmp 179
   mode:    X
   visited: 45
   irg:     PRIMA_c
@@ -614,7 +622,8 @@ node: {title: "n176" label: "FilterM 1 176"  info1: "Filter 176
     -1:    Block 87
      0:    Start PRIMA_c 88
   Private Attributes:
-  inter arity: 1  inter pred nodes:
+  inter arity: 1
+  inter pred nodes:
      0:    Filter 196
   backedges:
 "
@@ -629,7 +638,8 @@ node: {title: "n177" label: "FilterP 0 177"  info1: "Filter 177
     -1:    Block 87
      0:    Proj 95
   Private Attributes:
-  inter arity: 1  inter pred nodes:
+  inter arity: 1
+  inter pred nodes:
      0:    Proj 48
   backedges:
 "
@@ -644,12 +654,13 @@ node: {title: "n178" label: "FilterIs 1 178"  info1: "Filter 178
     -1:    Block 87
      0:    Proj 95
   Private Attributes:
-  inter arity: 1  inter pred nodes:
+  inter arity: 1
+  inter pred nodes:
      0:    0x5 42
   backedges:
 "
 color: yellow}
-node: {title: "n178n42" label: "0x5Is  42"  info1: "0x5 42
+node: {title: "n178n42" label: "0x5Is 42"  info1: "0x5 42
   mode:    Is
   visited: 45
   irg:     OO_PROGRAM_EXAMPLE_main
@@ -673,7 +684,7 @@ node: {title: "n91" label: "ProjX 0 91"  info1: "Proj 91
 "
 color: yellow}
 edge: {sourcename: "n91" targetname: "n88" label: "0" class:13 priority:60 color:red}
-node: {title: "n88" label: "Start PRIMA_c  88"  info1: "Start PRIMA_c 88
+node: {title: "n88" label: "Start PRIMA_c 88"  info1: "Start PRIMA_c 88
   mode:    T
   visited: 45
   irg:     PRIMA_c
@@ -707,9 +718,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}
@@ -734,12 +794,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: 48
   arity:   0
   pred nodes:
-    -1:    Block 1
+    -1:    Block 3
   Private Attributes:
   kind:   addr_ent
   entity: entity PRIMA.set_a (20)
@@ -747,23 +807,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)
@@ -785,12 +866,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: 49
   arity:   0
   pred nodes:
-    -1:    Block 1
+    -1:    Block 3
   Private Attributes:
   kind:   addr_ent
   entity: entity PRIMA.c (23)
@@ -798,12 +879,21 @@ 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}
@@ -828,12 +918,12 @@ 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: "SymC &OO_PROGRAM_EXAMPLE_main 25
+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
+    -1:    Block 3
   Private Attributes:
   kind:   addr_ent
   entity: entity GlobalType.OO_PROGRAM_EXAMPLE_main (26)
@@ -841,22 +931,61 @@ node: {title: "n25" label: "SymC &OO_PROGRAM_EXAMPLE_main  25"  info1: "SymC &OO
   type of value: type_unknown
 "
 }
-node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined
-size: -1b,
-peculiarity: peculiarity_existent
+node: {title: "t0" label: "class GlobalType" info1: "class type GlobalType (0)
+  members:
+    entity OO_PROGRAM_EXAMPLE_main (26)
+      type:  OO_PROGRAM_EXAMPLE_main (24)
+      owner: GlobalType (0)
+      Does not overwrite other entities.
+      Is not overwritten by other entities.
+      allocation:  allocation_static
+      visibility:  visibility_local
+      variability: variability_constant
+      atomic value: SymC &OO_PROGRAM_EXAMPLE_main
+      volatility:  volatility_non_volatile
+      peculiarity: peculiarity_existent
+      ld_name: no yet set
+      offset:  -1
+      irg = 39
+  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: "t0" targetname: "e26"class: 12 label: "member" color:blue}
-node: {title: "t24" label: "method OO_PROGRAM_EXAMPLE_main" info1: "state: layout_fixed,
-mode: P,
-size: 32b,
-variadicity: variadicity_non_variadic
-params: 0
-results: 1
+node: {title: "t24" label: "method OO_PROGRAM_EXAMPLE_main" info1: "method type OO_PROGRAM_EXAMPLE_main (24)
+  variadicity: variadicity_non_variadic
+  return types: 1
+    int
+  parameter types: 0
+  visibility: visibility_external_allocated,
+  state:      layout_fixed,
+  size:       32 Bits,
+  alignment:  32 Bits,
+  mode:       P,
+  dbg info:   (nil),
+
+
 "}
 edge: { sourcename: "t24" targetname: "t14"class: 6 label: "res 0" color: green}
-node: {title: "t27" label: "class OO_PROGRAM_EXAMPLE_mainframe_tp" info1: "state: layout_undefined
-size: -1b,
-peculiarity: peculiarity_existent
+node: {title: "t27" label: "class OO_PROGRAM_EXAMPLE_mainframe_tp" info1: "class type OO_PROGRAM_EXAMPLE_mainframe_tp (27)
+  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: "n101" targetname: "e17"class:2 priority:2 linestyle:dotted}
 edge: { sourcename: "n45" targetname: "t15"class:2 priority:2 linestyle:dotted}