First implementation of lowering for calls with compound return values
[libfirm] / testprograms / ref-results / CALL_STR_EXAMPLE_main.vcg
index 4514807..d313f9e 100644 (file)
@@ -4,59 +4,241 @@ 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 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 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
+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: "n56" label: "56" status:clustered color:yellow
-edge: {sourcename: "n56" targetname: "n57" label: "0" color: red}
-node: {title: "n55" label: "End  55" color: blue info1: "visited: 6
-"}
+graph: { title: "g49" label: "CALL_STR_EXAMPLE_main" status:clustered color:white
+info1: "entity CALL_STR_EXAMPLE_main (36)
+  type:  CALL_STR_EXAMPLE_main (33)
+  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 &CALL_STR_EXAMPLE_main
+  volatility:  volatility_non_volatile
+  peculiarity: peculiarity_existent
+  ld_name: no yet set
+  offset:  -1 bits, -1 bytes
+  irg = 49
+
+"
+graph: { title: "n38"  label: "Block 38" status:clustered color:yellow
+ info1: "Block 38
+  mode:    BB
+  visited: 9
+  irg:     CALL_STR_EXAMPLE_main
+  arity:   1
+  pred nodes:
+     0:    Return 57
+  Private Attributes:
+  backedges:
+  block visited: 0
+  Execution freqency statistics:
+"
+edge: {sourcename: "n38" targetname: "n57" label: "0" class:13 priority:60 color:red}
+node: {title: "n59" label: "End 59"  info1: "End 59
+  mode:    X
+  visited: 9
+  irg:     CALL_STR_EXAMPLE_main
+  arity:   0
+  pred nodes:
+    -1:    Block 38
+  Private Attributes:
+"
+color:blue}
+}
+
+graph: { title: "n50"  label: "Block 50" status:clustered color:yellow
+ info1: "Block 50
+  mode:    BB
+  visited: 9
+  irg:     CALL_STR_EXAMPLE_main
+  arity:   1
+  pred nodes:
+     0:    Proj 44
+  Private Attributes:
+  backedges:
+  block visited: 0
+  Execution freqency statistics:
+"
+edge: {sourcename: "n50" targetname: "n44" label: "0" class:13 priority:60 color:red}
+node: {title: "n57" label: "Return 57"  info1: "Return 57
+  mode:    X
+  visited: 9
+  irg:     CALL_STR_EXAMPLE_main
+  arity:   1
+  pred nodes:
+    -1:    Block 50
+     0:    Proj 56
+  Private Attributes:
+  return in method of type CALL_STR_EXAMPLE_main
+"
+}
+edge: {sourcename: "n57" targetname: "n56" label: "0" class:14 priority:50 color:blue}
+node: {title: "n56" label: "ProjM M_regular 56"  info1: "Proj 56
+  mode:    M
+  visited: 9
+  irg:     CALL_STR_EXAMPLE_main
+  arity:   1
+  pred nodes:
+    -1:    Block 50
+     0:    Call 54
+  Private Attributes:
+  proj nr: 0
+"
+color:yellow}
+edge: {sourcename: "n56" targetname: "n54" label: "0" class:17 priority:10 color:blue}
+node: {title: "n54" label: "Call 54"  info1: "Call 54
+  mode:    T
+  visited: 9
+  irg:     CALL_STR_EXAMPLE_main
+  arity:   3
+  pred nodes:
+    -1:    Block 50
+     0:    Proj 47
+     1:    SymC f 52
+     2:    SymC &constStr 51
+  Private Attributes:
+  pinned state: op_pin_state_pinned
+  calling method of type f
+    param 0 type: ptr_to_string
+"
 }
+edge: {sourcename: "n54" targetname: "n47" label: "0" class:17 priority:10 color:blue}
+edge: {sourcename: "n54" targetname: "n52" label: "1" class:16 priority:10}
+edge: {sourcename: "n54" targetname: "n51" label: "2" class:16 priority:10}
+}
+
+graph: { title: "n40"  label: "Block 40" status:clustered color:yellow
+ info1: "Block 40
+  mode:    BB
+  visited: 9
+  irg:     CALL_STR_EXAMPLE_main
+  arity:   1
+  pred nodes:
+     0:    Proj 44
+  Private Attributes:
+  backedges:
+  block visited: 0
+  Execution freqency statistics:
+"
+edge: {sourcename: "n40" targetname: "n44" label: "0" class:13 priority:60 color:red}
+node: {title: "n47" label: "ProjM 1 47"  info1: "Proj 47
+  mode:    M
+  visited: 9
+  irg:     CALL_STR_EXAMPLE_main
+  arity:   1
+  pred nodes:
+    -1:    Block 40
+     0:    Start 41
+  Private Attributes:
+  proj nr: 1
+"
+color:yellow}
+edge: {sourcename: "n47" targetname: "n41" label: "0" class:17 priority:10 color:blue}
+node: {title: "n52" label: "SymC f 52"  info1: "SymC f 52
+  mode:    P
+  visited: 9
+  irg:     CALL_STR_EXAMPLE_main
+  arity:   0
+  pred nodes:
+    -1:    Block 40
+  Private Attributes:
+  kind: addr_name
+  name: f
+  type of value: type_unknown
+"
+}
+node: {title: "n51" label: "SymC &constStr 51"  info1: "SymC &constStr 51
+  mode:    P
+  visited: 9
+  irg:     CALL_STR_EXAMPLE_main
+  arity:   0
+  pred nodes:
+    -1:    Block 40
+  Private Attributes:
+  kind:   addr_ent
+  entity: entity GlobalType.constStr (20)
 
-graph: { title: "n58" label: "58" status:clustered color:yellow
-edge: {sourcename: "n58" targetname: "n59" label: "0" color: red}
-node: {title: "n57" label: "Return  57"  info1: "visited: 7
-"}
-edge: {sourcename: "n57" targetname: "n62" label: "0" color: blue}
-node: {title: "n62" label: "ProjM 0 62" color: yellow info1: "visited: 7
-"}
-edge: {sourcename: "n62" targetname: "n63" label: "0" color: blue}
-node: {title: "n63" label: "Call  63"  info1: "visited: 7
-calling method of type f
-  param 0 type: ptr_to_string
-"}
-edge: {sourcename: "n63" targetname: "n66" label: "0" color: blue}
-edge: {sourcename: "n63" targetname: "n65" label: "1" }
-edge: {sourcename: "n63" targetname: "n64" label: "2" }
+  type of value: type_unknown
+"
+}
+node: {title: "n44" label: "ProjX X_initial_exec 44"  info1: "Proj 44
+  mode:    X
+  visited: 9
+  irg:     CALL_STR_EXAMPLE_main
+  arity:   1
+  pred nodes:
+    -1:    Block 40
+     0:    Start 41
+  Private Attributes:
+  proj nr: 0
+"
+color:yellow}
+edge: {sourcename: "n44" targetname: "n41" label: "0" class:13 priority:60 color:red}
+node: {title: "n41" label: "Start 41"  info1: "Start 41
+  mode:    T
+  visited: 9
+  irg:     CALL_STR_EXAMPLE_main
+  arity:   0
+  pred nodes:
+    -1:    Block 40
+  Private Attributes:
+  start of method of type CALL_STR_EXAMPLE_main
+"
+color:blue}
 }
 
-graph: { title: "n60" label: "60" status:clustered color:yellow
-edge: {sourcename: "n60" targetname: "n59" label: "0" color: red}
-node: {title: "n59" label: "ProjX 0 59" color: yellow info1: "visited: 8
-"}
-edge: {sourcename: "n59" targetname: "n61" label: "0" color: red}
-node: {title: "n61" label: "Start  61" color: blue info1: "visited: 8
-start of method of type CALL_STR_EXAMPLE_main
-"}
-node: {title: "n64" label: "&(GlobalType_constStr)P  64" color: yellow info1: "visited: 8
-"}
-node: {title: "n65" label: "SymC f  65"  info1: "visited: 8
-"}
-node: {title: "n66" label: "ProjM 1 66" color: yellow info1: "visited: 8
-"}
-edge: {sourcename: "n66" targetname: "n61" label: "0" color: blue}
 }
 
-node: {title: "n70" label: "Bad  70"  info1: "visited: 0
-"}
 }