Changed node numbers
[libfirm] / testprograms / ref-results / IF_EXAMPLE_main.vcg
index 0aea0a8..39e5794 100644 (file)
@@ -4,62 +4,182 @@ 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: "n6"  label: "6" status:clustered color:yellow
-edge: {sourcename: "n6" targetname: "n41" label: "0" color: red}
-node: {title: "n7" label: "End  7" 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: "g26" label: "IF_EXAMPLE_main" status:clustered color:white
+graph: { title: "n16"  label: "Block 16" status:clustered color:yellow
+edge: {sourcename: "n16" targetname: "n50" label: "0" class:13 priority:60 color:red}
+node: {title: "n17" label: "End  17"  info1: "mode:    X
+visited: 8
+irg:     IF_EXAMPLE_main
+arity: 0
+"color: blue}
+}
+
+graph: { title: "n41"  label: "Block 41" status:clustered color:yellow
+edge: {sourcename: "n41" targetname: "n33" label: "0" class:13 priority:60 color:red}
+edge: {sourcename: "n41" targetname: "n40" label: "1" class:13 priority:60 color:red}
+node: {title: "n50" label: "Return  50"  info1: "mode:    X
+visited: 8
+irg:     IF_EXAMPLE_main
+arity: 2
+return in method of type IF_EXAMPLE_main
+  res 0 type: int
+"}
+edge: {sourcename: "n50" targetname: "n24" label: "0" class:17 priority:10 color:blue}
+edge: {sourcename: "n50" targetname: "n43" label: "1" class:1  priority:50}
+node: {title: "n43" label: "PhiIs  43"  info1: "mode:    Is
+visited: 8
+irg:     IF_EXAMPLE_main
+arity: 2 backedges:
+"color: green}
+edge: {sourcename: "n43" targetname: "n28" label: "0" class:16 priority:10}
+edge: {sourcename: "n43" targetname: "n38" label: "1" class:16 priority:10}
 }
 
-graph: { title: "n32"  label: "32" status:clustered color:yellow
-edge: {sourcename: "n32" targetname: "n24" label: "0" color: red}
-edge: {sourcename: "n32" targetname: "n31" label: "1" color: red}
-node: {title: "n41" label: "Return  41" }
-edge: {sourcename: "n41" targetname: "n13" label: "0" color: blue}
-edge: {sourcename: "n41" targetname: "n34" label: "1" }
-node: {title: "n34" label: "PhiIs  34" color: green}
-edge: {sourcename: "n34" targetname: "n19" label: "0" }
-edge: {sourcename: "n34" targetname: "n29" label: "1" }
+graph: { title: "n35"  label: "Block 35" status:clustered color:yellow
+edge: {sourcename: "n35" targetname: "n34" label: "0" class:13 priority:60 color:red}
+node: {title: "n38" label: "SubIs  38"  info1: "mode:    Is
+visited: 8
+irg:     IF_EXAMPLE_main
+arity: 2
+"}
+edge: {sourcename: "n38" targetname: "n28" label: "0" class:16 priority:10}
+edge: {sourcename: "n38" targetname: "n36" label: "1" class:16 priority:10}
+node: {title: "n40" label: "Jmp  40"  info1: "mode:    X
+visited: 8
+irg:     IF_EXAMPLE_main
+arity: 0
+"}
 }
 
-graph: { title: "n26"  label: "26" status:clustered color:yellow
-edge: {sourcename: "n26" targetname: "n25" label: "0" color: red}
-node: {title: "n31" label: "Jmp  31" }
-node: {title: "n29" label: "SubIs  29" }
-edge: {sourcename: "n29" targetname: "n19" label: "0" }
-edge: {sourcename: "n29" targetname: "n27" label: "1" }
+graph: { title: "n27"  label: "Block 27" status:clustered color:yellow
+edge: {sourcename: "n27" targetname: "n21" label: "0" class:13 priority:60 color:red}
+node: {title: "n33" label: "ProjX 0 33"  info1: "mode:    X
+visited: 8
+irg:     IF_EXAMPLE_main
+arity: 1
+"color: yellow}
+edge: {sourcename: "n33" targetname: "n32" label: "0" class:13 priority:60 color:red}
+node: {title: "n34" label: "ProjX 1 34"  info1: "mode:    X
+visited: 8
+irg:     IF_EXAMPLE_main
+arity: 1
+"color: yellow}
+edge: {sourcename: "n34" targetname: "n32" label: "0" class:13 priority:60 color:red}
+node: {title: "n32" label: "Cond  32"  info1: "mode:    T
+visited: 8
+irg:     IF_EXAMPLE_main
+arity: 1
+"}
+edge: {sourcename: "n32" targetname: "n31" label: "0" class:1  priority:50}
+node: {title: "n31" label: "Projb Eq 31"  info1: "mode:    b
+visited: 8
+irg:     IF_EXAMPLE_main
+arity: 1
+"color: yellow}
+edge: {sourcename: "n31" targetname: "n30" label: "0" class:1  priority:50}
+node: {title: "n30" label: "CmpT  30"  info1: "mode:    T
+visited: 8
+irg:     IF_EXAMPLE_main
+arity: 2
+"}
+edge: {sourcename: "n30" targetname: "n28" label: "0" class:1  priority:50}
+edge: {sourcename: "n30" targetname: "n29" label: "1" class:16 priority:10}
+node: {title: "n28" label: "ProjIs 0 28"  info1: "mode:    Is
+visited: 8
+irg:     IF_EXAMPLE_main
+arity: 1
+"color: yellow}
+edge: {sourcename: "n28" targetname: "n25" label: "0" class:16 priority:10}
 }
 
-graph: { title: "n18"  label: "18" status:clustered color:yellow
-edge: {sourcename: "n18" targetname: "n12" label: "0" color: red}
-node: {title: "n25" label: "ProjX 1 25" color: yellow}
-edge: {sourcename: "n25" targetname: "n23" label: "0" color: red}
-node: {title: "n23" label: "Cond  23" }
-edge: {sourcename: "n23" targetname: "n22" label: "0" }
-node: {title: "n22" label: "Projb Eq 22" color: yellow}
-edge: {sourcename: "n22" targetname: "n21" label: "0" }
-node: {title: "n21" label: "CmpT  21" }
-edge: {sourcename: "n21" targetname: "n19" label: "0" }
-edge: {sourcename: "n21" targetname: "n20" label: "1" }
-node: {title: "n19" label: "ProjIs 0 19" color: yellow}
-edge: {sourcename: "n19" targetname: "n16" label: "0" }
-node: {title: "n24" label: "ProjX 0 24" color: yellow}
-edge: {sourcename: "n24" targetname: "n23" label: "0" color: red}
+graph: { title: "n18"  label: "Block 18" status:clustered color:yellow
+edge: {sourcename: "n18" targetname: "n21" label: "0" class:13 priority:60 color:red}
+node: {title: "n24" label: "ProjM 1 24"  info1: "mode:    M
+visited: 8
+irg:     IF_EXAMPLE_main
+arity: 1
+"color: yellow}
+edge: {sourcename: "n24" targetname: "n19" label: "0" class:17 priority:10 color:blue}
+node: {title: "n36" label: "0x3Is  36"  info1: "mode:    Is
+visited: 8
+irg:     IF_EXAMPLE_main
+arity: 0
+Const of type type_unknown
+"color: yellow}
+node: {title: "n25" label: "ProjT 4 25"  info1: "mode:    T
+visited: 8
+irg:     IF_EXAMPLE_main
+arity: 1
+"color: yellow}
+edge: {sourcename: "n25" targetname: "n19" label: "0" class:1  priority:50}
+node: {title: "n29" label: "0x2Is  29"  info1: "mode:    Is
+visited: 8
+irg:     IF_EXAMPLE_main
+arity: 0
+Const of type type_unknown
+"color: yellow}
+node: {title: "n21" label: "ProjX 0 21"  info1: "mode:    X
+visited: 8
+irg:     IF_EXAMPLE_main
+arity: 1
+"color: yellow}
+edge: {sourcename: "n21" targetname: "n19" label: "0" class:13 priority:60 color:red}
+node: {title: "n19" label: "Start  19"  info1: "mode:    T
+visited: 8
+irg:     IF_EXAMPLE_main
+arity: 0
+start of method of type IF_EXAMPLE_main
+  param 0 type: int
+"color: blue}
 }
 
-graph: { title: "n8"  label: "8" status:clustered color:yellow
-edge: {sourcename: "n8" targetname: "n12" label: "0" color: red}
-node: {title: "n12" label: "ProjX 0 12" color: yellow}
-edge: {sourcename: "n12" targetname: "n9" label: "0" color: red}
-node: {title: "n9" label: "Start  9" color: blue}
-node: {title: "n20" label: "0x00000002Is  20" color: yellow}
-node: {title: "n16" label: "ProjT 4 16" color: yellow}
-edge: {sourcename: "n16" targetname: "n9" label: "0" }
-node: {title: "n27" label: "0x00000003Is  27" color: yellow}
-node: {title: "n13" label: "ProjM 1 13" color: yellow}
-edge: {sourcename: "n13" targetname: "n9" label: "0" color: blue}
 }
 
-node: {title: "n10" label: "Bad  10" }
 }