numbering of start and end block excanged
[libfirm] / testprograms / ref-results / WHILE_EXAMPLE_main.vcg
index 8c058fd..452e723 100644 (file)
@@ -4,143 +4,314 @@ 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 18: "Exception Control Flow for Interval Analysis"
+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: "g27" label: "WHILE_EXAMPLE_main" status:clustered color:white
-graph: { title: "n65"  label: "Block 65" status:clustered color:yellow
-edge: {sourcename: "n65" targetname: "n66" label: "0" color: red}
-node: {title: "n64" label: "End  64" color: blue info1: "visited: 15
-irg:     WHILE_EXAMPLE_main
-arity: 0
-"}
+graph: { title: "g31" label: "WHILE_EXAMPLE_main" status:clustered color:white
+graph: { title: "n20"  label: "Block 20" status:clustered color:yellow
+edge: {sourcename: "n20" targetname: "n67" label: "0" class:13 priority:60 color:red}
+node: {title: "n68" label: "End  68"  info1: "End 68
+  mode:    X
+  visited: 18
+  irg:     WHILE_EXAMPLE_main
+  arity:   0
+  pred nodes:
+    -1:    Block 20
+  Private Attributes:
+"
+color: blue}
 }
 
-graph: { title: "n67"  label: "Block 67" status:clustered color:yellow
-edge: {sourcename: "n67" targetname: "n68" label: "0" color: red}
-node: {title: "n66" label: "Return  66"  info1: "visited: 15
-irg:     WHILE_EXAMPLE_main
-arity: 2
-return in method of type main_tp
-  res 0 type: int
-"}
-edge: {sourcename: "n66" targetname: "n88" label: "0" color: blue}
-edge: {sourcename: "n66" targetname: "n87" label: "1" }
-node: {title: "n87" label: "SubIs  87"  info1: "visited: 15
-irg:     WHILE_EXAMPLE_main
-arity: 2
-"}
-edge: {sourcename: "n87" targetname: "n77" label: "0" }
-edge: {sourcename: "n87" targetname: "n76" label: "1" }
+graph: { title: "n53"  label: "Block 53" status:clustered color:yellow
+edge: {sourcename: "n53" targetname: "n42" label: "0" class:13 priority:60 color:red}
+node: {title: "n67" label: "Return  67"  info1: "Return 67
+  mode:    X
+  visited: 18
+  irg:     WHILE_EXAMPLE_main
+  arity:   2
+  pred nodes:
+    -1:    Block 53
+     0:    Proj 29
+     1:    Sub 58
+  Private Attributes:
+  return in method of type main_tp
+    res 0 type: int
+"
+}
+edge: {sourcename: "n67" targetname: "n29" label: "0" class:17 priority:10 color:blue}
+edge: {sourcename: "n67" targetname: "n58" label: "1" class:1  priority:50}
+node: {title: "n58" label: "SubIs  58"  info1: "Sub 58
+  mode:    Is
+  visited: 18
+  irg:     WHILE_EXAMPLE_main
+  arity:   2
+  pred nodes:
+    -1:    Block 53
+     0:    Phi 51
+     1:    Phi 52
+  Private Attributes:
+"
+}
+edge: {sourcename: "n58" targetname: "n51" label: "0" class:16 priority:10}
+edge: {sourcename: "n58" targetname: "n52" label: "1" class:16 priority:10}
 }
 
-graph: { title: "n69"  label: "Block 69" status:clustered color:yellow
-edge: {sourcename: "n69" targetname: "n86" label: "0" color: red}
-edge: {sourcename: "n69" targetname: "n70" label: "1" color: red}
-node: {title: "n68" label: "ProjX 0 68" color: yellow info1: "visited: 15
-irg:     WHILE_EXAMPLE_main
-arity: 1
-"}
-edge: {sourcename: "n68" targetname: "n73" label: "0" color: red}
-node: {title: "n72" label: "ProjX 1 72" color: yellow info1: "visited: 15
-irg:     WHILE_EXAMPLE_main
-arity: 1
-"}
-edge: {sourcename: "n72" targetname: "n73" label: "0" color: red}
-node: {title: "n73" label: "Cond  73"  info1: "visited: 15
-irg:     WHILE_EXAMPLE_main
-arity: 1
-"}
-edge: {sourcename: "n73" targetname: "n74" label: "0" }
-node: {title: "n74" label: "Projb Eq 74" color: yellow info1: "visited: 15
-irg:     WHILE_EXAMPLE_main
-arity: 1
-"}
-edge: {sourcename: "n74" targetname: "n75" label: "0" }
-node: {title: "n75" label: "CmpT  75"  info1: "visited: 15
-irg:     WHILE_EXAMPLE_main
-arity: 2
-"}
-edge: {sourcename: "n75" targetname: "n85" label: "0" }
-edge: {sourcename: "n75" targetname: "n76" label: "1" }
-node: {title: "n76" label: "PhiIs  76" color: green info1: "visited: 15
-irg:     WHILE_EXAMPLE_main
-arity: 2 backedges:
-"}
-edge: {sourcename: "n76" targetname: "n84" label: "0" }
-edge: {sourcename: "n76" targetname: "n77" label: "1" }
-node: {title: "n77" label: "PhiIs  77" color: green info1: "visited: 15
-irg:     WHILE_EXAMPLE_main
-arity: 2 backedges:
-"}
-edge: {sourcename: "n77" targetname: "n78" label: "0" }
-edge: {sourcename: "n77" targetname: "n76" label: "1" }
+graph: { title: "n36"  label: "Block 36" status:clustered color:yellow
+edge: {sourcename: "n36" targetname: "n35" label: "0" class:13 priority:60 color:red}
+edge: {sourcename: "n36" targetname: "n45" label: "1" class:13 priority:60 color:red}
+node: {title: "n42" label: "ProjX 0 42"  info1: "Proj 42
+  mode:    X
+  visited: 18
+  irg:     WHILE_EXAMPLE_main
+  arity:   1
+  pred nodes:
+    -1:    Block 36
+     0:    Cond 41
+  Private Attributes:
+"
+color: yellow}
+edge: {sourcename: "n42" targetname: "n41" label: "0" class:13 priority:60 color:red}
+node: {title: "n43" label: "ProjX 1 43"  info1: "Proj 43
+  mode:    X
+  visited: 18
+  irg:     WHILE_EXAMPLE_main
+  arity:   1
+  pred nodes:
+    -1:    Block 36
+     0:    Cond 41
+  Private Attributes:
+"
+color: yellow}
+edge: {sourcename: "n43" targetname: "n41" label: "0" class:13 priority:60 color:red}
+node: {title: "n41" label: "Cond  41"  info1: "Cond 41
+  mode:    T
+  visited: 18
+  irg:     WHILE_EXAMPLE_main
+  arity:   1
+  pred nodes:
+    -1:    Block 36
+     0:    Proj 40
+  Private Attributes:
+  condition kind: dense
+  default ProjNr: 0
+"
+}
+edge: {sourcename: "n41" targetname: "n40" label: "0" class:1  priority:50}
+node: {title: "n40" label: "Projb Eq 40"  info1: "Proj 40
+  mode:    b
+  visited: 18
+  irg:     WHILE_EXAMPLE_main
+  arity:   1
+  pred nodes:
+    -1:    Block 36
+     0:    Cmp 39
+  Private Attributes:
+"
+color: yellow}
+edge: {sourcename: "n40" targetname: "n39" label: "0" class:1  priority:50}
+node: {title: "n39" label: "Cmp  39"  info1: "Cmp 39
+  mode:    T
+  visited: 18
+  irg:     WHILE_EXAMPLE_main
+  arity:   2
+  pred nodes:
+    -1:    Block 36
+     0:    0x0 38
+     1:    Phi 52
+  Private Attributes:
+"
+}
+edge: {sourcename: "n39" targetname: "n38" label: "0" class:16 priority:10}
+edge: {sourcename: "n39" targetname: "n52" label: "1" class:1  priority:50}
+node: {title: "n52" label: "PhiIs  52"  info1: "Phi 52
+  mode:    Is
+  visited: 18
+  irg:     WHILE_EXAMPLE_main
+  arity:   2
+  pred nodes:
+    -1:    Block 36
+     0:    0x1 34
+     1:    Phi 51
+  Private Attributes:
+  backedges:
+"
+color: green}
+edge: {sourcename: "n52" targetname: "n34" label: "0" class:16 priority:10}
+edge: {sourcename: "n52" targetname: "n51" label: "1" class:1  priority:50}
+node: {title: "n51" label: "PhiIs  51"  info1: "Phi 51
+  mode:    Is
+  visited: 18
+  irg:     WHILE_EXAMPLE_main
+  arity:   2
+  pred nodes:
+    -1:    Block 36
+     0:    Proj 33
+     1:    Phi 52
+  Private Attributes:
+  backedges:
+"
+color: green}
+edge: {sourcename: "n51" targetname: "n33" label: "0" class:16 priority:10}
+edge: {sourcename: "n51" targetname: "n52" label: "1" class:1  priority:50}
 }
 
-graph: { title: "n71"  label: "Block 71" status:clustered color:yellow
-edge: {sourcename: "n71" targetname: "n72" label: "0" color: red}
-node: {title: "n70" label: "Jmp  70"  info1: "visited: 15
-irg:     WHILE_EXAMPLE_main
-arity: 0
-"}
+graph: { title: "n44"  label: "Block 44" status:clustered color:yellow
+edge: {sourcename: "n44" targetname: "n43" label: "0" class:13 priority:60 color:red}
+node: {title: "n45" label: "Jmp  45"  info1: "Jmp 45
+  mode:    X
+  visited: 18
+  irg:     WHILE_EXAMPLE_main
+  arity:   0
+  pred nodes:
+    -1:    Block 44
+  Private Attributes:
+"
+}
 }
 
-graph: { title: "n79"  label: "Block 79" status:clustered color:yellow
-edge: {sourcename: "n79" targetname: "n80" label: "0" color: red}
-node: {title: "n86" label: "Jmp  86"  info1: "visited: 15
-irg:     WHILE_EXAMPLE_main
-arity: 0
-"}
-node: {title: "n78" label: "ProjIs 0 78" color: yellow info1: "visited: 15
-irg:     WHILE_EXAMPLE_main
-arity: 1
-"}
-edge: {sourcename: "n78" targetname: "n83" label: "0" }
+graph: { title: "n32"  label: "Block 32" status:clustered color:yellow
+edge: {sourcename: "n32" targetname: "n26" label: "0" class:13 priority:60 color:red}
+node: {title: "n35" label: "Jmp  35"  info1: "Jmp 35
+  mode:    X
+  visited: 18
+  irg:     WHILE_EXAMPLE_main
+  arity:   0
+  pred nodes:
+    -1:    Block 32
+  Private Attributes:
+"
+}
+node: {title: "n33" label: "ProjIs 0 33"  info1: "Proj 33
+  mode:    Is
+  visited: 18
+  irg:     WHILE_EXAMPLE_main
+  arity:   1
+  pred nodes:
+    -1:    Block 32
+     0:    Proj 30
+  Private Attributes:
+"
+color: yellow}
+edge: {sourcename: "n33" targetname: "n30" label: "0" class:16 priority:10}
 }
 
-graph: { title: "n81"  label: "Block 81" status:clustered color:yellow
-edge: {sourcename: "n81" targetname: "n80" label: "0" color: red}
-node: {title: "n88" label: "ProjM 1 88" color: yellow info1: "visited: 15
-irg:     WHILE_EXAMPLE_main
-arity: 1
-"}
-edge: {sourcename: "n88" targetname: "n82" label: "0" color: blue}
-node: {title: "n85" label: "0x0Is  85" color: yellow info1: "visited: 15
-irg:     WHILE_EXAMPLE_main
-arity: 0
-Const of type type_unknown
-"}
-node: {title: "n84" label: "0x1Is  84" color: yellow info1: "visited: 15
-irg:     WHILE_EXAMPLE_main
-arity: 0
-Const of type type_unknown
-"}
-node: {title: "n83" label: "ProjT 4 83" color: yellow info1: "visited: 15
-irg:     WHILE_EXAMPLE_main
-arity: 1
-"}
-edge: {sourcename: "n83" targetname: "n82" label: "0" }
-node: {title: "n80" label: "ProjX 0 80" color: yellow info1: "visited: 15
-irg:     WHILE_EXAMPLE_main
-arity: 1
-"}
-edge: {sourcename: "n80" targetname: "n82" label: "0" color: red}
-node: {title: "n82" label: "Start  82" color: blue info1: "visited: 15
-irg:     WHILE_EXAMPLE_main
-arity: 0
-start of method of type main_tp
-  param 0 type: int
-"}
+graph: { title: "n22"  label: "Block 22" status:clustered color:yellow
+edge: {sourcename: "n22" targetname: "n26" label: "0" class:13 priority:60 color:red}
+node: {title: "n29" label: "ProjM 1 29"  info1: "Proj 29
+  mode:    M
+  visited: 18
+  irg:     WHILE_EXAMPLE_main
+  arity:   1
+  pred nodes:
+    -1:    Block 22
+     0:    Start 23
+  Private Attributes:
+"
+color: yellow}
+edge: {sourcename: "n29" targetname: "n23" label: "0" class:17 priority:10 color:blue}
+node: {title: "n38" label: "0x0Is  38"  info1: "0x0 38
+  mode:    Is
+  visited: 18
+  irg:     WHILE_EXAMPLE_main
+  arity:   0
+  pred nodes:
+    -1:    Block 22
+  Private Attributes:
+  Const of type type_unknown
+"
+color: yellow}
+node: {title: "n34" label: "0x1Is  34"  info1: "0x1 34
+  mode:    Is
+  visited: 18
+  irg:     WHILE_EXAMPLE_main
+  arity:   0
+  pred nodes:
+    -1:    Block 22
+  Private Attributes:
+  Const of type type_unknown
+"
+color: yellow}
+node: {title: "n30" label: "ProjT 4 30"  info1: "Proj 30
+  mode:    T
+  visited: 18
+  irg:     WHILE_EXAMPLE_main
+  arity:   1
+  pred nodes:
+    -1:    Block 22
+     0:    Start 23
+  Private Attributes:
+"
+color: yellow}
+edge: {sourcename: "n30" targetname: "n23" label: "0" class:1  priority:50}
+node: {title: "n26" label: "ProjX 0 26"  info1: "Proj 26
+  mode:    X
+  visited: 18
+  irg:     WHILE_EXAMPLE_main
+  arity:   1
+  pred nodes:
+    -1:    Block 22
+     0:    Start 23
+  Private Attributes:
+"
+color: yellow}
+edge: {sourcename: "n26" targetname: "n23" label: "0" class:13 priority:60 color:red}
+node: {title: "n23" label: "Start  23"  info1: "Start 23
+  mode:    T
+  visited: 18
+  irg:     WHILE_EXAMPLE_main
+  arity:   0
+  pred nodes:
+    -1:    Block 22
+  Private Attributes:
+  start of method of type main_tp
+    param 0 type: int
+"
+color: blue}
 }
 
 }