First implementation of lowering for calls with compound return values
[libfirm] / testprograms / ref-results / OO_INLINE_EXAMPLE_main.vcg
index a949be0..693bc27 100644 (file)
@@ -5,12 +5,7 @@ manhattan_edges: yes
 port_sharing: no
 orientation: bottom_to_top
 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"
@@ -21,8 +16,16 @@ 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
@@ -51,159 +54,385 @@ colorentry 123:  255 220  220
 colorentry 124:  255 240  240
 colorentry 125:  255 250  250
 
-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: 25
-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: 25
-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: 25
-irg:     OO_INLINE_EXAMPLE_main
-arity: 2
-Selecting entity of type int
-  from entity of type PRIMA_INLINE
-"}
-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: 25
-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: 25
-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: 25
-irg:     OO_INLINE_EXAMPLE_main
-arity: 0
-"}
+graph: { title: "g39" label: "OO_INLINE_EXAMPLE_main" status:clustered color:white
+info1: "entity OO_INLINE_EXAMPLE_main (26)
+  type:  OO_INLINE_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
+  calling convention: cdecl
+  atomic value: SymC &OO_INLINE_EXAMPLE_main
+  volatility:  volatility_non_volatile
+  peculiarity: peculiarity_existent
+  ld_name: no yet set
+  offset:  -1 bits, -1 bytes
+  irg = 39
+
+"
+graph: { title: "n181"  label: "Block 181" status:clustered color:yellow
+ info1: "Block 181
+  mode:    BB
+  visited: 25
+  irg:     OO_INLINE_EXAMPLE_main
+  arity:   2
+  pred nodes:
+     0:    Jmp 142
+     1:    Jmp 182
+  Private Attributes:
+  backedges:
+  block visited: 0
+  Execution freqency statistics:
+"
+edge: {sourcename: "n181" targetname: "n142" label: "0" class:13 priority:60 color:red}
+edge: {sourcename: "n181" targetname: "n182" label: "1" class:13 priority:60 color:red}
+node: {title: "n180" label: "PhiM 180"  info1: "Phi 180
+  mode:    M
+  visited: 25
+  irg:     OO_INLINE_EXAMPLE_main
+  arity:   2
+  pred nodes:
+    -1:    Block 181
+     0:    Proj 152
+     1:    Proj 186
+  Private Attributes:
+  backedges:
+"
+color:green}
+edge: {sourcename: "n180" targetname: "n152" label: "0" class:17 priority:10 color:blue}
+edge: {sourcename: "n180" targetname: "n186" label: "1" class:17 priority:10 color:blue}
+node: {title: "n186" label: "ProjM M 186"  info1: "Proj 186
+  mode:    M
+  visited: 25
+  irg:     OO_INLINE_EXAMPLE_main
+  arity:   1
+  pred nodes:
+    -1:    Block 181
+     0:    Store 187
+  Private Attributes:
+  proj nr: 0
+"
+color:yellow}
+edge: {sourcename: "n186" targetname: "n187" label: "0" class:17 priority:10 color:blue}
+node: {title: "n187" label: "Store 187"  info1: "Store 187
+  mode:    T
+  visited: 25
+  irg:     OO_INLINE_EXAMPLE_main
+  arity:   3
+  pred nodes:
+    -1:    Block 181
+     0:    Phi 180
+     1:    Sel 191
+     2:    Phi 188
+  Private Attributes:
+  pinned state: op_pin_state_pinned
+  volatility: volatility_non_volatile
+"
+}
+edge: {sourcename: "n187" targetname: "n180" label: "0" class:14 priority:50 color:blue}
+edge: {sourcename: "n187" targetname: "n191" label: "1" class:1  priority:50}
+edge: {sourcename: "n187" targetname: "n188" label: "2" class:1  priority:50}
+node: {title: "n191" label: "Sel a 191"  info1: "Sel 191
+  mode:    P
+  visited: 25
+  irg:     OO_INLINE_EXAMPLE_main
+  arity:   2
+  pred nodes:
+    -1:    Block 181
+     0:    Phi 180
+     1:    Proj 48
+  Private Attributes:
+  Selecting entity a (17)
+    of type    int
+    with owner PRIMA_INLINE.
+"
+}
+edge: {sourcename: "n191" targetname: "n180" label: "0" class:14 priority:50 color:blue}
+edge: {sourcename: "n191" targetname: "n48" label: "1" class:16 priority:10}
+node: {title: "n188" label: "PhiIs 188"  info1: "Phi 188
+  mode:    Is
+  visited: 25
+  irg:     OO_INLINE_EXAMPLE_main
+  arity:   2
+  pred nodes:
+    -1:    Block 181
+     0:    0x5 42
+     1:    Phi 189
+  Private Attributes:
+  backedges:
+"
+color:green}
+edge: {sourcename: "n188" targetname: "n42" label: "0" class:16 priority:10}
+edge: {sourcename: "n188" targetname: "n189" label: "1" class:1  priority:50}
+node: {title: "n189" label: "PhiIs 189"  info1: "Phi 189
+  mode:    Is
+  visited: 25
+  irg:     OO_INLINE_EXAMPLE_main
+  arity:   2
+  pred nodes:
+    -1:    Block 181
+     0:    0x0 190
+     1:    Phi 188
+  Private Attributes:
+  backedges:
+"
+color:green}
+edge: {sourcename: "n189" targetname: "n190" label: "0" class:16 priority:10}
+edge: {sourcename: "n189" targetname: "n188" label: "1" class:1  priority:50}
+node: {title: "n182" label: "Jmp 182"  info1: "Jmp 182
+  mode:    X
+  visited: 25
+  irg:     OO_INLINE_EXAMPLE_main
+  arity:   0
+  pred nodes:
+    -1:    Block 181
+  Private Attributes:
+"
+}
 }
 
-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: 25
-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: 25
-irg:     OO_INLINE_EXAMPLE_main
-arity: 3
-"}
-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: 25
-irg:     OO_INLINE_EXAMPLE_main
-arity: 2
-Selecting entity of type int
-  from entity of type PRIMA_INLINE
-"}
-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: 25
-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: 25
-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: 25
-irg:     OO_INLINE_EXAMPLE_main
-arity: 2
-allocating entity of type PRIMA_INLINE
-"}
-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: 25
-irg:     OO_INLINE_EXAMPLE_main
-arity: 0
-Const of type type_unknown
-"color: yellow}
-node: {title: "n135" label: "Jmp  135"  info1: "mode:    X
-visited: 25
-irg:     OO_INLINE_EXAMPLE_main
-arity: 0
-"}
+graph: { title: "n145"  label: "Block 145" status:clustered color:yellow
+ info1: "Block 145
+  mode:    BB
+  visited: 25
+  irg:     OO_INLINE_EXAMPLE_main
+  arity:   1
+  pred nodes:
+     0:    Proj 34
+  Private Attributes:
+  backedges:
+  block visited: 0
+  Execution freqency statistics:
+"
+edge: {sourcename: "n145" targetname: "n34" label: "0" class:13 priority:60 color:red}
+node: {title: "n152" label: "ProjM M 152"  info1: "Proj 152
+  mode:    M
+  visited: 25
+  irg:     OO_INLINE_EXAMPLE_main
+  arity:   1
+  pred nodes:
+    -1:    Block 145
+     0:    Store 153
+  Private Attributes:
+  proj nr: 0
+"
+color:yellow}
+edge: {sourcename: "n152" targetname: "n153" label: "0" class:17 priority:10 color:blue}
+node: {title: "n153" label: "Store 153"  info1: "Store 153
+  mode:    T
+  visited: 25
+  irg:     OO_INLINE_EXAMPLE_main
+  arity:   3
+  pred nodes:
+    -1:    Block 145
+     0:    Proj 47
+     1:    Sel 156
+     2:    0x2 41
+  Private Attributes:
+  pinned state: op_pin_state_pinned
+  volatility: volatility_non_volatile
+"
+}
+edge: {sourcename: "n153" targetname: "n47" label: "0" class:14 priority:50 color:blue}
+edge: {sourcename: "n153" targetname: "n156" label: "1" class:1  priority:50}
+edge: {sourcename: "n153" targetname: "n41" label: "2" class:16 priority:10}
+node: {title: "n156" label: "Sel a 156"  info1: "Sel 156
+  mode:    P
+  visited: 25
+  irg:     OO_INLINE_EXAMPLE_main
+  arity:   2
+  pred nodes:
+    -1:    Block 145
+     0:    Proj 47
+     1:    Proj 48
+  Private Attributes:
+  Selecting entity a (17)
+    of type    int
+    with owner PRIMA_INLINE.
+"
+}
+edge: {sourcename: "n156" targetname: "n47" label: "0" class:14 priority:50 color:blue}
+edge: {sourcename: "n156" targetname: "n48" label: "1" class:1  priority:50}
+node: {title: "n47" label: "ProjM M 47"  info1: "Proj 47
+  mode:    M
+  visited: 25
+  irg:     OO_INLINE_EXAMPLE_main
+  arity:   1
+  pred nodes:
+    -1:    Block 145
+     0:    Alloc 45
+  Private Attributes:
+  proj nr: 0
+"
+color:yellow}
+edge: {sourcename: "n47" targetname: "n45" label: "0" class:17 priority:10 color:blue}
+node: {title: "n48" label: "ProjP res 48"  info1: "Proj 48
+  mode:    P
+  visited: 25
+  irg:     OO_INLINE_EXAMPLE_main
+  arity:   1
+  pred nodes:
+    -1:    Block 145
+     0:    Alloc 45
+  Private Attributes:
+  proj nr: 2
+"
+color:yellow}
+edge: {sourcename: "n48" targetname: "n45" label: "0" class:1  priority:50}
+node: {title: "n45" label: "Alloc 45"  info1: "Alloc 45
+  mode:    T
+  visited: 25
+  irg:     OO_INLINE_EXAMPLE_main
+  arity:   2
+  pred nodes:
+    -1:    Block 145
+     0:    Proj 37
+     1:    SymC PRIMA_INLINE size 43
+  Private Attributes:
+  pinned state: op_pin_state_pinned
+  allocating entity of type: PRIMA_INLINE
+  allocating on: the heap
+"
+}
+edge: {sourcename: "n45" targetname: "n37" label: "0" class:17 priority:10 color:blue}
+edge: {sourcename: "n45" targetname: "n43" label: "1" class:16 priority:10}
+node: {title: "n190" label: "0x0Is 190"  info1: "0x0 190
+  mode:    Is
+  visited: 25
+  irg:     OO_INLINE_EXAMPLE_main
+  arity:   0
+  pred nodes:
+    -1:    Block 145
+  Private Attributes:
+  Const of type type_unknown
+"
+color:yellow}
+node: {title: "n142" label: "Jmp 142"  info1: "Jmp 142
+  mode:    X
+  visited: 25
+  irg:     OO_INLINE_EXAMPLE_main
+  arity:   0
+  pred nodes:
+    -1:    Block 145
+  Private Attributes:
+"
+}
 }
 
-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: 25
-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: 25
-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: 25
-irg:     OO_INLINE_EXAMPLE_main
-arity: 0
-kind size
-"}
-node: {title: "n38" label: "0x5Is  38"  info1: "mode:    Is
-visited: 25
-irg:     OO_INLINE_EXAMPLE_main
-arity: 0
-Const of type type_unknown
-"color: yellow}
-node: {title: "n30" label: "ProjX 0 30"  info1: "mode:    X
-visited: 25
-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: 25
-irg:     OO_INLINE_EXAMPLE_main
-arity: 0
-start of method of type OO_INLINE_EXAMPLE_main
-"color: blue}
+graph: { title: "n30"  label: "Block 30" status:clustered color:yellow
+ info1: "Block 30
+  mode:    BB
+  visited: 25
+  irg:     OO_INLINE_EXAMPLE_main
+  arity:   1
+  pred nodes:
+     0:    Proj 34
+  Private Attributes:
+  backedges:
+  block visited: 0
+  Execution freqency statistics:
+"
+edge: {sourcename: "n30" targetname: "n34" label: "0" class:13 priority:60 color:red}
+node: {title: "n41" label: "0x2Is 41"  info1: "0x2 41
+  mode:    Is
+  visited: 25
+  irg:     OO_INLINE_EXAMPLE_main
+  arity:   0
+  pred nodes:
+    -1:    Block 30
+  Private Attributes:
+  Const of type type_unknown
+"
+color:yellow}
+node: {title: "n37" label: "ProjM 1 37"  info1: "Proj 37
+  mode:    M
+  visited: 25
+  irg:     OO_INLINE_EXAMPLE_main
+  arity:   1
+  pred nodes:
+    -1:    Block 30
+     0:    Start 31
+  Private Attributes:
+  proj nr: 1
+"
+color:yellow}
+edge: {sourcename: "n37" targetname: "n31" label: "0" class:17 priority:10 color:blue}
+node: {title: "n43" label: "SymC PRIMA_INLINE size 43"  info1: "SymC PRIMA_INLINE size 43
+  mode:    Iu
+  visited: 25
+  irg:     OO_INLINE_EXAMPLE_main
+  arity:   0
+  pred nodes:
+    -1:    Block 30
+  Private Attributes:
+  kind: size
+  type: class type PRIMA_INLINE (15)
+  type of value: type_unknown
+"
+}
+node: {title: "n42" label: "0x5Is 42"  info1: "0x5 42
+  mode:    Is
+  visited: 25
+  irg:     OO_INLINE_EXAMPLE_main
+  arity:   0
+  pred nodes:
+    -1:    Block 30
+  Private Attributes:
+  Const of type type_unknown
+"
+color:yellow}
+node: {title: "n34" label: "ProjX X_initial_exec 34"  info1: "Proj 34
+  mode:    X
+  visited: 25
+  irg:     OO_INLINE_EXAMPLE_main
+  arity:   1
+  pred nodes:
+    -1:    Block 30
+     0:    Start 31
+  Private Attributes:
+  proj nr: 0
+"
+color:yellow}
+edge: {sourcename: "n34" targetname: "n31" label: "0" class:13 priority:60 color:red}
+node: {title: "n31" label: "Start 31"  info1: "Start 31
+  mode:    T
+  visited: 25
+  irg:     OO_INLINE_EXAMPLE_main
+  arity:   0
+  pred nodes:
+    -1:    Block 30
+  Private Attributes:
+  start of method of type OO_INLINE_EXAMPLE_main
+"
+color:blue}
 }
 
-graph: { title: "n25"  label: "Block 25" status:clustered color:yellow
-node: {title: "n189" label: "End  189"  info1: "mode:    X
-visited: 25
-irg:     OO_INLINE_EXAMPLE_main
-arity: 2
-"color: blue}
+graph: { title: "n28"  label: "Block 28" status:clustered color:yellow
+ info1: "Block 28
+  mode:    BB
+  visited: 25
+  irg:     OO_INLINE_EXAMPLE_main
+  arity:   0
+  pred nodes:
+  Private Attributes:
+  backedges:
+  block visited: 0
+  Execution freqency statistics:
+"
+node: {title: "n197" label: "End 197"  info1: "End 197
+  mode:    X
+  visited: 25
+  irg:     OO_INLINE_EXAMPLE_main
+  arity:   2
+  pred nodes:
+    -1:    Block 28
+     0:    Block 181
+     1:    Phi 180
+  Private Attributes:
+"
+color:blue}
 }
 
 }