replaced char* by idents, minor fix in Firm codegen for call
[libfirm] / testprograms / ref-results / OO_PROGRAM_EXAMPLE_main.vcg
index bb86a91..39419d1 100644 (file)
 graph: { title: "ir graph of OO_PROGRAM_EXAMPLE_main"
-display_edge_labels: yes
+display_edge_labels: no
 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 10: "Array Element Type"classname 11: "Overwrites"classname 12: "Member"
-graph: { title: "0x80a56d8"  label: "Block" status:clustered color:yellow
-edge: {sourcename: "0x80a56d8" targetname: "0x80a5750" label: "0" color: red}
-node: {title: "0x80a56b8" label: "End " color: blue}
+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: "g35" label: "OO_PROGRAM_EXAMPLE_main" status:clustered color:white
+graph: { title: "n25"  label: "Block 25" status:clustered color:yellow
+edge: {sourcename: "n25" targetname: "n55" label: "0" class:13 priority:60 color:red}
+node: {title: "n103" label: "End  103"  info1: "mode:    X
+visited: 19
+irg:     OO_PROGRAM_EXAMPLE_main
+arity: 0
+"color: blue}
+}
+
+graph: { title: "n36"  label: "Block 36" status:clustered color:yellow
+edge: {sourcename: "n36" targetname: "n30" label: "0" class:13 priority:60 color:red}
+node: {title: "n55" label: "Return  55"  info1: "mode:    X
+visited: 19
+irg:     OO_PROGRAM_EXAMPLE_main
+arity: 2
+return in method of type OO_PROGRAM_EXAMPLE_main
+  res 0 type: int
+"}
+edge: {sourcename: "n55" targetname: "n52" label: "0" class:14 priority:50 color:blue}
+edge: {sourcename: "n55" targetname: "n54" label: "1" class:1  priority:50}
+node: {title: "n52" label: "ProjM 0 52"  info1: "mode:    M
+visited: 19
+irg:     OO_PROGRAM_EXAMPLE_main
+arity: 1
+"color: yellow}
+edge: {sourcename: "n52" targetname: "n50" label: "0" class:17 priority:10 color:blue}
+node: {title: "n54" label: "ProjIs 0 54"  info1: "mode:    Is
+visited: 19
+irg:     OO_PROGRAM_EXAMPLE_main
+arity: 1
+"color: yellow}
+edge: {sourcename: "n54" targetname: "n53" label: "0" class:1  priority:50}
+node: {title: "n53" label: "ProjT 2 53"  info1: "mode:    T
+visited: 19
+irg:     OO_PROGRAM_EXAMPLE_main
+arity: 1
+"color: yellow}
+edge: {sourcename: "n53" targetname: "n50" label: "0" class:1  priority:50}
+node: {title: "n50" label: "Call  50"  info1: "mode:    T
+visited: 19
+irg:     OO_PROGRAM_EXAMPLE_main
+arity: 4
+calling method of type c
+  param 0 type: class_prima_ptr
+  param 1 type: int
+  resul 0 type: int
+"}
+node: {title: "n50n38" label: "0x5Is  38"  info1: "mode:    Is
+visited: 19
+irg:     OO_PROGRAM_EXAMPLE_main
+arity: 0
+Const of type type_unknown
+"color: yellow}
+edge: {sourcename: "n50" targetname: "n48" label: "0" class:14 priority:50 color:blue}
+edge: {sourcename: "n50" targetname: "n49" label: "1" class:1  priority:50}
+edge: {sourcename: "n50" targetname: "n44" label: "2" class:1  priority:50}
+edge: {sourcename: "n50" targetname: "n50n38" label: "3" class:16 priority:10}
+node: {title: "n49" label: "Sel PRIMA_c 49"  info1: "mode:    P
+visited: 19
+irg:     OO_PROGRAM_EXAMPLE_main
+arity: 2
+Selecting entity of type c
+  from entity of type PRIMA
+"}
+edge: {sourcename: "n49" targetname: "n48" label: "0" class:14 priority:50 color:blue}
+edge: {sourcename: "n49" targetname: "n44" label: "1" class:1  priority:50}
+node: {title: "n48" label: "ProjM 0 48"  info1: "mode:    M
+visited: 19
+irg:     OO_PROGRAM_EXAMPLE_main
+arity: 1
+"color: yellow}
+edge: {sourcename: "n48" targetname: "n46" label: "0" class:17 priority:10 color:blue}
+node: {title: "n46" label: "Call  46"  info1: "mode:    T
+visited: 19
+irg:     OO_PROGRAM_EXAMPLE_main
+arity: 4
+calling method of type set_a
+  param 0 type: class_prima_ptr
+  param 1 type: int
+"}
+node: {title: "n46n37" label: "0x2Is  37"  info1: "mode:    Is
+visited: 19
+irg:     OO_PROGRAM_EXAMPLE_main
+arity: 0
+Const of type type_unknown
+"color: yellow}
+edge: {sourcename: "n46" targetname: "n43" label: "0" class:14 priority:50 color:blue}
+edge: {sourcename: "n46" targetname: "n45" label: "1" class:1  priority:50}
+edge: {sourcename: "n46" targetname: "n44" label: "2" class:1  priority:50}
+edge: {sourcename: "n46" targetname: "n46n37" label: "3" class:16 priority:10}
+node: {title: "n45" label: "Sel PRIMA_set_a 45"  info1: "mode:    P
+visited: 19
+irg:     OO_PROGRAM_EXAMPLE_main
+arity: 2
+Selecting entity of type set_a
+  from entity of type PRIMA
+"}
+edge: {sourcename: "n45" targetname: "n43" label: "0" class:14 priority:50 color:blue}
+edge: {sourcename: "n45" targetname: "n44" label: "1" class:1  priority:50}
+node: {title: "n43" label: "ProjM 0 43"  info1: "mode:    M
+visited: 19
+irg:     OO_PROGRAM_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: 19
+irg:     OO_PROGRAM_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: 19
+irg:     OO_PROGRAM_EXAMPLE_main
+arity: 2
+allocating entity of type PRIMA
+"}
+node: {title: "n41n39" label: "SymC PRIMA size  39"  info1: "mode:    Iu
+visited: 19
+irg:     OO_PROGRAM_EXAMPLE_main
+arity: 0
+kind size
+"}
+edge: {sourcename: "n41" targetname: "n33" label: "0" class:17 priority:10 color:blue}
+edge: {sourcename: "n41" targetname: "n41n39" label: "1" class:16 priority:10}
 }
 
-graph: { title: "0x80a578c"  label: "Block" status:clustered color:yellow
-edge: {sourcename: "0x80a578c" targetname: "0x80a5804" label: "0" color: red}
-node: {title: "0x80a5750" label: "Return " }
-edge: {sourcename: "0x80a5750" targetname: "0x80a5c68" label: "0" color: blue}
-edge: {sourcename: "0x80a5750" targetname: "0x80a58ec" label: "1" }
-node: {title: "0x80a58ec" label: "ProjI 0" color: yellow}
-edge: {sourcename: "0x80a58ec" targetname: "0x80a5928" label: "0" }
-node: {title: "0x80a5928" label: "ProjT 2" color: yellow}
-edge: {sourcename: "0x80a5928" targetname: "0x80a5964" label: "0" }
-node: {title: "0x80a5964" label: "Call " }
-edge: {sourcename: "0x80a5964" targetname: "0x80a5b28" label: "0" color: blue}
-edge: {sourcename: "0x80a5964" targetname: "0x80a5ae8" label: "1" }
-edge: {sourcename: "0x80a5964" targetname: "0x80a59ec" label: "2" }
-edge: {sourcename: "0x80a5964" targetname: "0x80a59b4" label: "3" }
-node: {title: "0x80a59ec" label: "ProjP 2" color: yellow}
-edge: {sourcename: "0x80a59ec" targetname: "0x80a5a28" label: "0" }
-node: {title: "0x80a5a28" label: "Alloc " }
-edge: {sourcename: "0x80a5a28" targetname: "0x80a5aac" label: "0" color: blue}
-edge: {sourcename: "0x80a5a28" targetname: "0x80a5a70" label: "1" }
-node: {title: "0x80a5a70" label: "SymC PRIMA size " }
-node: {title: "0x80a5ae8" label: "Sel c" }
-edge: {sourcename: "0x80a5ae8" targetname: "0x80a5b28" label: "0" color: blue}
-edge: {sourcename: "0x80a5ae8" targetname: "0x80a59ec" label: "1" }
-node: {title: "0x80a5b28" label: "ProjM 0" color: yellow}
-edge: {sourcename: "0x80a5b28" targetname: "0x80a5b64" label: "0" color: blue}
-node: {title: "0x80a5b64" label: "Call " }
-edge: {sourcename: "0x80a5b64" targetname: "0x80a5c2c" label: "0" color: blue}
-edge: {sourcename: "0x80a5b64" targetname: "0x80a5bec" label: "1" }
-edge: {sourcename: "0x80a5b64" targetname: "0x80a59ec" label: "2" }
-edge: {sourcename: "0x80a5b64" targetname: "0x80a5bb4" label: "3" }
-node: {title: "0x80a5bec" label: "Sel set_a" }
-edge: {sourcename: "0x80a5bec" targetname: "0x80a5c2c" label: "0" color: blue}
-edge: {sourcename: "0x80a5bec" targetname: "0x80a59ec" label: "1" }
-node: {title: "0x80a5c2c" label: "ProjM 0" color: yellow}
-edge: {sourcename: "0x80a5c2c" targetname: "0x80a5a28" label: "0" color: blue}
-node: {title: "0x80a5c68" label: "ProjM 0" color: yellow}
-edge: {sourcename: "0x80a5c68" targetname: "0x80a5964" label: "0" color: blue}
+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: "n33" label: "ProjM 1 33"  info1: "mode:    M
+visited: 19
+irg:     OO_PROGRAM_EXAMPLE_main
+arity: 1
+"color: yellow}
+edge: {sourcename: "n33" targetname: "n28" label: "0" class:17 priority:10 color:blue}
+node: {title: "n30" label: "ProjX 0 30"  info1: "mode:    X
+visited: 19
+irg:     OO_PROGRAM_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: 19
+irg:     OO_PROGRAM_EXAMPLE_main
+arity: 0
+start of method of type OO_PROGRAM_EXAMPLE_main
+"color: blue}
 }
 
-graph: { title: "0x80a5840"  label: "Block" status:clustered color:yellow
-edge: {sourcename: "0x80a5840" targetname: "0x80a5804" label: "0" color: red}
-node: {title: "0x80a5804" label: "ProjX 0" color: yellow}
-edge: {sourcename: "0x80a5804" targetname: "0x80a58b8" label: "0" color: red}
-node: {title: "0x80a58b8" label: "Start " color: blue}
-node: {title: "0x80a59b4" label: "5I " color: yellow}
-node: {title: "0x80a5aac" label: "ProjM 1" color: yellow}
-edge: {sourcename: "0x80a5aac" targetname: "0x80a58b8" label: "0" color: blue}
-node: {title: "0x80a5bb4" label: "2I " color: yellow}
 }
 
-node: {title: "0x80a5d58" label: "Bad " }
 }