added new output in irdump
[libfirm] / testprograms / ref-results / OO_INLINE_EXAMPLE_main-wtypes.vcg
index 86cae8d..1a41405 100644 (file)
@@ -4,224 +4,356 @@ 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 16: "interblock Data"
+classname 2:  "Block"
+classname 13: "Control Flow"
+classname 14: "intrablock Memory"
+classname 17: "interblock Memory"
+classname 15: "Dominators"
+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"
+infoname 1: "Attribute"
+infoname 2: "Verification errors"
+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
 
-graph: { title: "g37" label: "OO_INLINE_EXAMPLE_main" status:clustered color:white
-graph: { title: "n200"  label: "Block 200" status:clustered color:yellow
-edge: {sourcename: "n200" targetname: "n202" label: "0" color: red}
-edge: {sourcename: "n200" targetname: "n201" label: "1" color: red}
-node: {title: "n204" label: "PhiM  204" color: green info1: "visited: 22
-"}
-edge: {sourcename: "n204" targetname: "n215" label: "0" color: blue}
-edge: {sourcename: "n204" targetname: "n205" label: "1" color: blue}
-node: {title: "n205" label: "Store  205"  info1: "visited: 22
-"}
-edge: {sourcename: "n205" targetname: "n204" label: "0" color: blue}
-edge: {sourcename: "n205" targetname: "n210" label: "1" }
-edge: {sourcename: "n205" targetname: "n206" label: "2" }
-node: {title: "n210" label: "Sel a 210"  info1: "visited: 22
+graph: { title: "g35" label: "OO_INLINE_EXAMPLE_main" status:clustered color:white
+graph: { title: "n174"  label: "Block 174" status:clustered color:yellow
+edge: {sourcename: "n174" targetname: "n135" label: "0" class:13 priority:60 color:red}
+edge: {sourcename: "n174" targetname: "n175" label: "1" class:13 priority:60 color:red}
+node: {title: "n173" label: "PhiM  173"  info1: "mode:    M
+visited: 26
+irg:     OO_INLINE_EXAMPLE_main
+arity: 2 backedges:
+"color: green}
+edge: {sourcename: "n173" targetname: "n145" label: "0" class:17 priority:10 color:blue}
+edge: {sourcename: "n173" targetname: "n179" label: "1" class:17 priority:10 color:blue}
+node: {title: "n179" label: "Store  179"  info1: "mode:    T
+visited: 26
+irg:     OO_INLINE_EXAMPLE_main
+arity: 3
+"}
+edge: {sourcename: "n179" targetname: "n173" label: "0" class:14 priority:50 color:blue}
+edge: {sourcename: "n179" targetname: "n183" label: "1" class:1  priority:50}
+edge: {sourcename: "n179" targetname: "n180" label: "2" class:1  priority:50}
+node: {title: "n183" label: "Sel a 183"  info1: "mode:    P
+visited: 26
+irg:     OO_INLINE_EXAMPLE_main
+arity: 2
 Selecting entity of type int
   from entity of type PRIMA_INLINE
 "}
-edge: {sourcename: "n210" targetname: "n204" label: "0" color: blue}
-edge: {sourcename: "n210" targetname: "n211" label: "1" }
-node: {title: "n206" label: "PhiIs  206" color: green info1: "visited: 22
-"}
-edge: {sourcename: "n206" targetname: "n209" label: "0" }
-edge: {sourcename: "n206" targetname: "n207" label: "1" }
-node: {title: "n207" label: "PhiIs  207" color: green info1: "visited: 22
-"}
-edge: {sourcename: "n207" targetname: "n208" label: "0" }
-edge: {sourcename: "n207" targetname: "n206" label: "1" }
-node: {title: "n201" label: "Jmp  201"  info1: "visited: 22
+edge: {sourcename: "n183" targetname: "n173" label: "0" class:14 priority:50 color:blue}
+edge: {sourcename: "n183" targetname: "n44" label: "1" class:16 priority:10}
+node: {title: "n180" label: "PhiIs  180"  info1: "mode:    Is
+visited: 26
+irg:     OO_INLINE_EXAMPLE_main
+arity: 2 backedges:
+"color: green}
+edge: {sourcename: "n180" targetname: "n38" label: "0" class:16 priority:10}
+edge: {sourcename: "n180" targetname: "n181" label: "1" class:1  priority:50}
+node: {title: "n181" label: "PhiIs  181"  info1: "mode:    Is
+visited: 26
+irg:     OO_INLINE_EXAMPLE_main
+arity: 2 backedges:
+"color: green}
+edge: {sourcename: "n181" targetname: "n182" label: "0" class:16 priority:10}
+edge: {sourcename: "n181" targetname: "n180" label: "1" class:1  priority:50}
+node: {title: "n175" label: "Jmp  175"  info1: "mode:    X
+visited: 26
+irg:     OO_INLINE_EXAMPLE_main
+arity: 0
 "}
 }
 
-graph: { title: "n203"  label: "Block 203" status:clustered color:yellow
-edge: {sourcename: "n203" targetname: "n198" label: "0" color: red}
-node: {title: "n215" label: "ProjM 0 215" color: yellow info1: "visited: 22
-"}
-edge: {sourcename: "n215" targetname: "n216" label: "0" color: blue}
-node: {title: "n216" label: "Store  216"  info1: "visited: 22
+graph: { title: "n138"  label: "Block 138" status:clustered color:yellow
+edge: {sourcename: "n138" targetname: "n30" label: "0" class:13 priority:60 color:red}
+node: {title: "n145" label: "ProjM 0 145"  info1: "mode:    M
+visited: 26
+irg:     OO_INLINE_EXAMPLE_main
+arity: 1
+"color: yellow}
+edge: {sourcename: "n145" targetname: "n146" label: "0" class:17 priority:10 color:blue}
+node: {title: "n146" label: "Store  146"  info1: "mode:    T
+visited: 26
+irg:     OO_INLINE_EXAMPLE_main
+arity: 3
 "}
-edge: {sourcename: "n216" targetname: "n219" label: "0" color: blue}
-edge: {sourcename: "n216" targetname: "n218" label: "1" }
-edge: {sourcename: "n216" targetname: "n217" label: "2" }
-node: {title: "n218" label: "Sel a 218"  info1: "visited: 22
+edge: {sourcename: "n146" targetname: "n43" label: "0" class:14 priority:50 color:blue}
+edge: {sourcename: "n146" targetname: "n149" label: "1" class:1  priority:50}
+edge: {sourcename: "n146" targetname: "n37" label: "2" class:16 priority:10}
+node: {title: "n149" label: "Sel a 149"  info1: "mode:    P
+visited: 26
+irg:     OO_INLINE_EXAMPLE_main
+arity: 2
 Selecting entity of type int
   from entity of type PRIMA_INLINE
 "}
-edge: {sourcename: "n218" targetname: "n219" label: "0" color: blue}
-edge: {sourcename: "n218" targetname: "n211" label: "1" }
-node: {title: "n219" label: "ProjM 0 219" color: yellow info1: "visited: 22
-"}
-edge: {sourcename: "n219" targetname: "n212" label: "0" color: blue}
-node: {title: "n211" label: "ProjP 2 211" color: yellow info1: "visited: 22
-"}
-edge: {sourcename: "n211" targetname: "n212" label: "0" }
-node: {title: "n212" label: "Alloc  212"  info1: "visited: 22
+edge: {sourcename: "n149" targetname: "n43" label: "0" class:14 priority:50 color:blue}
+edge: {sourcename: "n149" targetname: "n44" label: "1" class:1  priority:50}
+node: {title: "n43" label: "ProjM 0 43"  info1: "mode:    M
+visited: 26
+irg:     OO_INLINE_EXAMPLE_main
+arity: 1
+"color: yellow}
+edge: {sourcename: "n43" targetname: "n41" label: "0" class:17 priority:10 color:blue}
+node: {title: "n44" label: "ProjP 2 44"  info1: "mode:    P
+visited: 26
+irg:     OO_INLINE_EXAMPLE_main
+arity: 1
+"color: yellow}
+edge: {sourcename: "n44" targetname: "n41" label: "0" class:1  priority:50}
+node: {title: "n41" label: "Alloc  41"  info1: "mode:    T
+visited: 26
+irg:     OO_INLINE_EXAMPLE_main
+arity: 2
 allocating entity of type PRIMA_INLINE
 "}
-edge: {sourcename: "n212" targetname: "n214" label: "0" color: blue}
-edge: {sourcename: "n212" targetname: "n213" label: "1" }
-node: {title: "n208" label: "0x0Is  208" color: yellow info1: "visited: 22
+edge: {sourcename: "n41" targetname: "n33" label: "0" class:17 priority:10 color:blue}
+edge: {sourcename: "n41" targetname: "n39" label: "1" class:16 priority:10}
+node: {title: "n182" label: "0x0Is  182"  info1: "mode:    Is
+visited: 26
+irg:     OO_INLINE_EXAMPLE_main
+arity: 0
 Const of type type_unknown
-"}
-node: {title: "n202" label: "Jmp  202"  info1: "visited: 22
+"color: yellow}
+node: {title: "n135" label: "Jmp  135"  info1: "mode:    X
+visited: 26
+irg:     OO_INLINE_EXAMPLE_main
+arity: 0
 "}
 }
 
-graph: { title: "n197"  label: "Block 197" status:clustered color:yellow
-edge: {sourcename: "n197" targetname: "n198" label: "0" color: red}
-node: {title: "n217" label: "0x2Is  217" color: yellow info1: "visited: 22
+graph: { title: "n27"  label: "Block 27" status:clustered color:yellow
+edge: {sourcename: "n27" targetname: "n30" label: "0" class:13 priority:60 color:red}
+node: {title: "n37" label: "0x2Is  37"  info1: "mode:    Is
+visited: 26
+irg:     OO_INLINE_EXAMPLE_main
+arity: 0
 Const of type type_unknown
+"color: yellow}
+node: {title: "n33" label: "ProjM 1 33"  info1: "mode:    M
+visited: 26
+irg:     OO_INLINE_EXAMPLE_main
+arity: 1
+"color: yellow}
+edge: {sourcename: "n33" targetname: "n28" label: "0" class:17 priority:10 color:blue}
+node: {title: "n39" label: "SymC PRIMA_INLINE size  39"  info1: "mode:    Iu
+visited: 26
+irg:     OO_INLINE_EXAMPLE_main
+arity: 0
+kind size
 "}
-node: {title: "n214" label: "ProjM 1 214" color: yellow info1: "visited: 22
-"}
-edge: {sourcename: "n214" targetname: "n199" label: "0" color: blue}
-node: {title: "n213" label: "SymC PRIMA_INLINE size  213"  info1: "visited: 22
-"}
-node: {title: "n209" label: "0x5Is  209" color: yellow info1: "visited: 22
+node: {title: "n38" label: "0x5Is  38"  info1: "mode:    Is
+visited: 26
+irg:     OO_INLINE_EXAMPLE_main
+arity: 0
 Const of type type_unknown
-"}
-node: {title: "n198" label: "ProjX 0 198" color: yellow info1: "visited: 22
-"}
-edge: {sourcename: "n198" targetname: "n199" label: "0" color: red}
-node: {title: "n199" label: "Start  199" color: blue info1: "visited: 22
+"color: yellow}
+node: {title: "n30" label: "ProjX 0 30"  info1: "mode:    X
+visited: 26
+irg:     OO_INLINE_EXAMPLE_main
+arity: 1
+"color: yellow}
+edge: {sourcename: "n30" targetname: "n28" label: "0" class:13 priority:60 color:red}
+node: {title: "n28" label: "Start  28"  info1: "mode:    T
+visited: 26
+irg:     OO_INLINE_EXAMPLE_main
+arity: 0
 start of method of type OO_INLINE_EXAMPLE_main
-"}
+"color: blue}
 }
 
-graph: { title: "n195"  label: "Block 195" status:clustered color:yellow
-node: {title: "n194" label: "End  194" color: blue info1: "visited: 22
-"}
+graph: { title: "n25"  label: "Block 25" status:clustered color:yellow
+node: {title: "n189" label: "End  189"  info1: "mode:    X
+visited: 26
+irg:     OO_INLINE_EXAMPLE_main
+arity: 2
+"color: blue}
 }
 
 }
 
-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: "e14" label: "ent a" color: yellow
+ info1: "entity a (14)
+  type:  int (11)
+  owner: PRIMA_INLINE (12)
+  Does not overwrite other entities.
+  Is not overwriten 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
+
+"
 }
-edge: { sourcename: "e15" targetname: "t12"class: 3 label: "type" color: red}
-node: {title: "t13" label: "class PRIMA_INLINE" info1: "state: layout_undefined
-size: -1B,
+edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red}
+node: {title: "t12" label: "class PRIMA_INLINE" 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
- info1: "
-id: e18
-allocation:  allocation_static
-visibility:  visibility_local
-variability: variability_constant
-volatility:  volatility_non_volatile
-peculiarity: peculiarity_existent
-name:    set_a
-ld_name: PRIMA_INLINE_set_a
-offset:  -1
-irg = g71"
+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_INLINE_set_a" color: yellow
+ info1: "entity set_a (17)
+  type:  set_a (15)
+  owner: PRIMA_INLINE (12)
+  Does not overwrite other entities.
+  Is not overwriten 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_INLINE_set_a
+  offset:  -1
+  irg = 68
+
+"
 }
-edge: { sourcename: "e18" targetname: "t16"class: 3 label: "type" color: red}
-edge: { sourcename: "e18" targetname: "n17"label: "value 0"}
-node: {title: "n17" label: "&(PRIMA_INLINE_set_a)P  17" color: yellow info1: "visited: 1
-Const of type type_unknown
+edge: { sourcename: "e17" targetname: "t15"class: 3 label: "type" color: red}
+edge: { sourcename: "e17" targetname: "n16"label: "value 0"}
+node: {title: "n16" label: "SymC &set_a  16"  info1: "mode:    P
+visited: 1
+arity: 0
+kind addr_ent
 "}
-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,
+size: 32b,
+variadicity: variadicity_non_variadic
+params: 2
+results: 0
 "}
-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,
+size: 32b,
 "}
-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
- info1: "
-id: e21
-allocation:  allocation_static
-visibility:  visibility_local
-variability: variability_constant
-volatility:  volatility_non_volatile
-peculiarity: peculiarity_existent
-name:    c
-ld_name: PRIMA_INLINE_c
-offset:  -1
-irg = g94"
+size: 32b,
+"}
+node: {title: "e20" label: "ent PRIMA_INLINE_c" color: yellow
+ info1: "entity c (20)
+  type:  c (18)
+  owner: PRIMA_INLINE (12)
+  Does not overwrite other entities.
+  Is not overwriten 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_INLINE_c
+  offset:  -1
+  irg = 90
+
+"
 }
-edge: { sourcename: "e21" targetname: "t19"class: 3 label: "type" color: red}
-edge: { sourcename: "e21" targetname: "n20"label: "value 0"}
-node: {title: "n20" label: "&(PRIMA_INLINE_c)P  20" color: yellow info1: "visited: 1
-Const of type type_unknown
+edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red}
+edge: { sourcename: "e20" targetname: "n19"label: "value 0"}
+node: {title: "n19" label: "SymC &c  19"  info1: "mode:    P
+visited: 1
+arity: 0
+kind addr_ent
 "}
-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: "e24" label: "ent OO_INLINE_EXAMPLE_main" color: yellow
- info1: "
-id: e24
-allocation:  allocation_static
-visibility:  visibility_local
-variability: variability_constant
-volatility:  volatility_non_volatile
-peculiarity: peculiarity_existent
-name:    OO_INLINE_EXAMPLE_main
-ld_name: no yet set
-offset:  -1
-irg = g37"
+size: 32b,
+variadicity: variadicity_non_variadic
+params: 2
+results: 1
+"}
+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: "e23" label: "ent OO_INLINE_EXAMPLE_main" color: yellow
+ info1: "entity OO_INLINE_EXAMPLE_main (23)
+  type:  OO_INLINE_EXAMPLE_main (21)
+  owner: GlobalType (0)
+  Does not overwrite other entities.
+  Is not overwriten by other entities.
+  allocation:  allocation_static
+  visibility:  visibility_local
+  variability: variability_constant
+  atomic value: SymC &OO_INLINE_EXAMPLE_main
+  volatility:  volatility_non_volatile
+  peculiarity: peculiarity_existent
+  ld_name: no yet set
+  offset:  -1
+  irg = 35
+
+"
 }
-edge: { sourcename: "e24" targetname: "t22"class: 3 label: "type" color: red}
-edge: { sourcename: "e24" targetname: "n23"label: "value 0"}
-node: {title: "n23" label: "&(GlobalType_OO_INLINE_EXAMPLE_main)P  23" color: yellow info1: "visited: 1
-Const of type type_unknown
+edge: { sourcename: "e23" targetname: "t21"class: 3 label: "type" color: red}
+edge: { sourcename: "e23" targetname: "n22"label: "value 0"}
+node: {title: "n22" label: "SymC &OO_INLINE_EXAMPLE_main  22"  info1: "mode:    P
+visited: 1
+arity: 0
+kind addr_ent
 "}
 node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined
-size: -1B,
+size: -1b,
 peculiarity: peculiarity_existent
 " color: green}
-edge: { sourcename: "t0" targetname: "e24"class: 12 label: "member" color:blue}
-node: {title: "t22" label: "method OO_INLINE_EXAMPLE_main" info1: "state: layout_fixed,
+edge: { sourcename: "t0" targetname: "e23"class: 12 label: "member" color:blue}
+node: {title: "t21" label: "method OO_INLINE_EXAMPLE_main" info1: "state: layout_fixed,
 mode: P,
-size: 4B,
+size: 32b,
+variadicity: variadicity_non_variadic
+params: 0
+results: 1
 "}
-edge: { sourcename: "t22" targetname: "t12"class: 6 label: "res 0" color: green}
-node: {title: "t25" label: "class OO_INLINE_EXAMPLE_mainframe_tp" info1: "state: layout_undefined
-size: -1B,
+edge: { sourcename: "t21" targetname: "t11"class: 6 label: "res 0" color: green}
+node: {title: "t24" label: "class OO_INLINE_EXAMPLE_mainframe_tp" info1: "state: layout_undefined
+size: -1b,
 peculiarity: peculiarity_existent
 " color: green}
-edge: { sourcename: "n210" targetname: "e15"class: 2 priority: 2 linestyle: dotted}
-edge: { sourcename: "n212" targetname: "t13"class: 2 priority: 2 linestyle: dotted}
-edge: { sourcename: "n213" targetname: "t13"class: 2 priority: 2 linestyle: dotted}
-edge: { sourcename: "n218" targetname: "e15"class: 2 priority: 2 linestyle: dotted}
+edge: { sourcename: "n183" targetname: "e14"class:2 priority:2 linestyle:dotted}
+edge: { sourcename: "n41" targetname: "t12"class:2 priority:2 linestyle:dotted}
+edge: { sourcename: "n39" targetname: "t12"class:2 priority:2 linestyle:dotted}
+edge: { sourcename: "n149" targetname: "e14"class:2 priority:2 linestyle:dotted}
 }