replaced char* by idents, minor fix in Firm codegen for call
[libfirm] / testprograms / ref-results / WHILE_EXAMPLE_main.vcg
index a2c6d6e..cfcb0ee 100644 (file)
@@ -23,131 +23,177 @@ 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: "g27" label: "WHILE_EXAMPLE_main" status:clustered color:white
-graph: { title: "n66"  label: "Block 66" status:clustered color:yellow
-edge: {sourcename: "n66" targetname: "n67" label: "0" class:13 priority:60 color:red}
-node: {title: "n64" label: "End  64"  info1: "visited: 18
+graph: { title: "n17"  label: "Block 17" status:clustered color:yellow
+edge: {sourcename: "n17" targetname: "n63" label: "0" class:13 priority:60 color:red}
+node: {title: "n64" label: "End  64"  info1: "mode:    X
+visited: 18
 irg:     WHILE_EXAMPLE_main
 arity: 0
 "color: blue}
 }
 
-graph: { title: "n68"  label: "Block 68" status:clustered color:yellow
-edge: {sourcename: "n68" targetname: "n69" label: "0" class:13 priority:60 color:red}
-node: {title: "n67" label: "Return  67"  info1: "visited: 18
+graph: { title: "n49"  label: "Block 49" status:clustered color:yellow
+edge: {sourcename: "n49" targetname: "n38" label: "0" class:13 priority:60 color:red}
+node: {title: "n63" label: "Return  63"  info1: "mode:    X
+visited: 18
 irg:     WHILE_EXAMPLE_main
 arity: 2
 return in method of type main_tp
   res 0 type: int
-" info2: "mymode == mode_X && Result X"}
-edge: {sourcename: "n67" targetname: "n89" label: "0" class:17 priority:10 color:blue}
-edge: {sourcename: "n67" targetname: "n88" label: "1" class:1  priority:50}
-node: {title: "n88" label: "SubIs  88"  info1: "visited: 18
+"}
+edge: {sourcename: "n63" targetname: "n25" label: "0" class:17 priority:10 color:blue}
+edge: {sourcename: "n63" targetname: "n54" label: "1" class:1  priority:50}
+node: {title: "n54" label: "SubIs  54"  info1: "mode:    Is
+visited: 18
 irg:     WHILE_EXAMPLE_main
 arity: 2
 "}
-edge: {sourcename: "n88" targetname: "n78" label: "0" class:16 priority:10}
-edge: {sourcename: "n88" targetname: "n77" label: "1" class:16 priority:10}
+edge: {sourcename: "n54" targetname: "n47" label: "0" class:16 priority:10}
+edge: {sourcename: "n54" targetname: "n48" label: "1" class:16 priority:10}
 }
 
-graph: { title: "n70"  label: "Block 70" status:clustered color:yellow
-edge: {sourcename: "n70" targetname: "n87" label: "0" class:13 priority:60 color:red}
-edge: {sourcename: "n70" targetname: "n71" label: "1" class:13 priority:60 color:red}
-node: {title: "n69" label: "ProjX 0 69"  info1: "visited: 18
+graph: { title: "n32"  label: "Block 32" status:clustered color:yellow
+edge: {sourcename: "n32" targetname: "n31" label: "0" class:13 priority:60 color:red}
+edge: {sourcename: "n32" targetname: "n41" label: "1" class:13 priority:60 color:red}
+node: {title: "n38" label: "ProjX 0 38"  info1: "mode:    X
+visited: 18
 irg:     WHILE_EXAMPLE_main
 arity: 1
 "color: yellow}
-edge: {sourcename: "n69" targetname: "n74" label: "0" class:13 priority:60 color:red}
-node: {title: "n73" label: "ProjX 1 73"  info1: "visited: 18
+edge: {sourcename: "n38" targetname: "n37" label: "0" class:13 priority:60 color:red}
+node: {title: "n39" label: "ProjX 1 39"  info1: "mode:    X
+visited: 18
 irg:     WHILE_EXAMPLE_main
 arity: 1
 "color: yellow}
-edge: {sourcename: "n73" targetname: "n74" label: "0" class:13 priority:60 color:red}
-node: {title: "n74" label: "Cond  74"  info1: "visited: 18
+edge: {sourcename: "n39" targetname: "n37" label: "0" class:13 priority:60 color:red}
+node: {title: "n37" label: "Cond  37"  info1: "mode:    T
+visited: 18
 irg:     WHILE_EXAMPLE_main
 arity: 1
-" info2: "mymode == mode_T && Cond mode is not a tuple"}
-edge: {sourcename: "n74" targetname: "n75" label: "0" class:1  priority:50}
-node: {title: "n75" label: "Projb Eq 75"  info1: "visited: 18
+"}
+edge: {sourcename: "n37" targetname: "n36" label: "0" class:1  priority:50}
+node: {title: "n36" label: "Projb Eq 36"  info1: "mode:    b
+visited: 18
 irg:     WHILE_EXAMPLE_main
 arity: 1
 "color: yellow}
-edge: {sourcename: "n75" targetname: "n76" label: "0" class:1  priority:50}
-node: {title: "n76" label: "CmpT  76"  info1: "visited: 18
+edge: {sourcename: "n36" targetname: "n35" label: "0" class:1  priority:50}
+node: {title: "n35" label: "Cmp  35"  info1: "mode:    T
+visited: 18
 irg:     WHILE_EXAMPLE_main
 arity: 2
 "}
-edge: {sourcename: "n76" targetname: "n86" label: "0" class:16 priority:10}
-edge: {sourcename: "n76" targetname: "n77" label: "1" class:1  priority:50}
-node: {title: "n77" label: "PhiIs  77"  info1: "visited: 18
+edge: {sourcename: "n35" targetname: "n34" label: "0" class:16 priority:10}
+edge: {sourcename: "n35" targetname: "n48" label: "1" class:1  priority:50}
+node: {title: "n48" label: "PhiIs  48"  info1: "mode:    Is
+visited: 18
 irg:     WHILE_EXAMPLE_main
 arity: 2 backedges:
-" info2: "mode_is_dataM(mymode) && Phi node"color: green}
-edge: {sourcename: "n77" targetname: "n85" label: "0" class:16 priority:10}
-edge: {sourcename: "n77" targetname: "n78" label: "1" class:1  priority:50}
-node: {title: "n78" label: "PhiIs  78"  info1: "visited: 18
+"color: green}
+edge: {sourcename: "n48" targetname: "n30" label: "0" class:16 priority:10}
+edge: {sourcename: "n48" targetname: "n47" label: "1" class:1  priority:50}
+node: {title: "n47" label: "PhiIs  47"  info1: "mode:    Is
+visited: 18
 irg:     WHILE_EXAMPLE_main
 arity: 2 backedges:
-" info2: "mode_is_dataM(mymode) && Phi node"color: green}
-edge: {sourcename: "n78" targetname: "n79" label: "0" class:16 priority:10}
-edge: {sourcename: "n78" targetname: "n77" label: "1" class:1  priority:50}
+"color: green}
+edge: {sourcename: "n47" targetname: "n29" label: "0" class:16 priority:10}
+edge: {sourcename: "n47" targetname: "n48" label: "1" class:1  priority:50}
 }
 
-graph: { title: "n72"  label: "Block 72" status:clustered color:yellow
-edge: {sourcename: "n72" targetname: "n73" label: "0" class:13 priority:60 color:red}
-node: {title: "n71" label: "Jmp  71"  info1: "visited: 18
+graph: { title: "n40"  label: "Block 40" status:clustered color:yellow
+edge: {sourcename: "n40" targetname: "n39" label: "0" class:13 priority:60 color:red}
+node: {title: "n41" label: "Jmp  41"  info1: "mode:    X
+visited: 18
 irg:     WHILE_EXAMPLE_main
 arity: 0
-" info2: "mymode == mode_X && Jmp node"}
+"}
 }
 
-graph: { title: "n80"  label: "Block 80" status:clustered color:yellow
-edge: {sourcename: "n80" targetname: "n81" label: "0" class:13 priority:60 color:red}
-node: {title: "n87" label: "Jmp  87"  info1: "visited: 18
+graph: { title: "n28"  label: "Block 28" status:clustered color:yellow
+edge: {sourcename: "n28" targetname: "n22" label: "0" class:13 priority:60 color:red}
+node: {title: "n31" label: "Jmp  31"  info1: "mode:    X
+visited: 18
 irg:     WHILE_EXAMPLE_main
 arity: 0
-" info2: "mymode == mode_X && Jmp node"}
-node: {title: "n79" label: "ProjIs 0 79"  info1: "visited: 18
+"}
+node: {title: "n29" label: "ProjIs 0 29"  info1: "mode:    Is
+visited: 18
 irg:     WHILE_EXAMPLE_main
 arity: 1
-" info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow}
-edge: {sourcename: "n79" targetname: "n84" label: "0" class:16 priority:10}
+"color: yellow}
+edge: {sourcename: "n29" targetname: "n26" label: "0" class:16 priority:10}
 }
 
-graph: { title: "n82"  label: "Block 82" status:clustered color:yellow
-edge: {sourcename: "n82" targetname: "n81" label: "0" class:13 priority:60 color:red}
-node: {title: "n89" label: "ProjM 1 89"  info1: "visited: 18
+graph: { title: "n19"  label: "Block 19" status:clustered color:yellow
+edge: {sourcename: "n19" targetname: "n22" label: "0" class:13 priority:60 color:red}
+node: {title: "n25" label: "ProjM 1 25"  info1: "mode:    M
+visited: 18
 irg:     WHILE_EXAMPLE_main
 arity: 1
 "color: yellow}
-edge: {sourcename: "n89" targetname: "n83" label: "0" class:17 priority:10 color:blue}
-node: {title: "n86" label: "0x0Is  86"  info1: "visited: 18
+edge: {sourcename: "n25" targetname: "n20" label: "0" class:17 priority:10 color:blue}
+node: {title: "n34" label: "0x0Is  34"  info1: "mode:    Is
+visited: 18
 irg:     WHILE_EXAMPLE_main
 arity: 0
 Const of type type_unknown
-" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow}
-node: {title: "n85" label: "0x1Is  85"  info1: "visited: 18
+"color: yellow}
+node: {title: "n30" label: "0x1Is  30"  info1: "mode:    Is
+visited: 18
 irg:     WHILE_EXAMPLE_main
 arity: 0
 Const of type type_unknown
-" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow}
-node: {title: "n84" label: "ProjT 4 84"  info1: "visited: 18
+"color: yellow}
+node: {title: "n26" label: "ProjT 4 26"  info1: "mode:    T
+visited: 18
 irg:     WHILE_EXAMPLE_main
 arity: 1
 "color: yellow}
-edge: {sourcename: "n84" targetname: "n83" label: "0" class:1  priority:50}
-node: {title: "n81" label: "ProjX 0 81"  info1: "visited: 18
+edge: {sourcename: "n26" targetname: "n20" label: "0" class:1  priority:50}
+node: {title: "n22" label: "ProjX 0 22"  info1: "mode:    X
+visited: 18
 irg:     WHILE_EXAMPLE_main
 arity: 1
 "color: yellow}
-edge: {sourcename: "n81" targetname: "n83" label: "0" class:13 priority:60 color:red}
-node: {title: "n83" label: "Start  83"  info1: "visited: 18
+edge: {sourcename: "n22" targetname: "n20" label: "0" class:13 priority:60 color:red}
+node: {title: "n20" label: "Start  20"  info1: "mode:    T
+visited: 18
 irg:     WHILE_EXAMPLE_main
 arity: 0
 start of method of type main_tp
   param 0 type: int
-" info2: "mymode == mode_T && Start node"color: blue}
+"color: blue}
 }
 
 }