Added graph identifiction: leaf, recursive, chain
[libfirm] / testprograms / ref-results / IF_EXAMPLE_main.vcg
1 graph: { title: "ir graph of IF_EXAMPLE_main"
2 display_edge_labels: yes
3 layoutalgorithm: mindepth
4 manhattan_edges: yes
5 port_sharing: no
6 orientation: bottom_to_top
7 classname 1:  "intrablock Data"
8 classname 16: "interblock Data"
9 classname 2:  "Block"
10 classname 13: "Control Flow"
11 classname 14: "intrablock Memory"
12 classname 17: "interblock Memory"
13 classname 15: "Dominators"
14 classname 3:  "Entity type"
15 classname 4:  "Entity owner"
16 classname 5:  "Method Param"
17 classname 6:  "Method Res"
18 classname 7:  "Super"
19 classname 8:  "Union"
20 classname 9:  "Points-to"
21 classname 10: "Array Element Type"
22 classname 11: "Overwrites"
23 classname 12: "Member"
24 infoname 1: "Attribute"
25 infoname 2: "Verification errors"
26 colorentry 100:    0   0    0
27 colorentry 101:   20   0    0
28 colorentry 102:   40   0    0
29 colorentry 103:   60   0    0
30 colorentry 104:   80   0    0
31 colorentry 105:  100   0    0
32 colorentry 106:  120   0    0
33 colorentry 107:  140   0    0
34 colorentry 108:  150   0    0
35 colorentry 109:  180   0    0
36 colorentry 110:  200   0    0
37 colorentry 111:  220   0    0
38 colorentry 112:  240   0    0
39 colorentry 113:  255   0    0
40 colorentry 113:  255  20   20
41 colorentry 114:  255  40   40
42 colorentry 115:  255  60   60
43 colorentry 116:  255  80   80
44 colorentry 117:  255 100  100
45 colorentry 118:  255 120  120
46 colorentry 119:  255 140  140
47 colorentry 120:  255 150  150
48 colorentry 121:  255 180  180
49 colorentry 122:  255 200  200
50 colorentry 123:  255 220  220
51 colorentry 124:  255 240  240
52 colorentry 125:  255 250  250
53
54 graph: { title: "g26" label: "IF_EXAMPLE_main" status:clustered color:white
55 graph: { title: "n16"  label: "Block 16" status:clustered color:yellow
56 edge: {sourcename: "n16" targetname: "n50" label: "0" class:13 priority:60 color:red}
57 node: {title: "n17" label: "End  17"  info1: "mode:    X
58 visited: 8
59 irg:     IF_EXAMPLE_main
60 arity: 0
61 "color: blue}
62 }
63
64 graph: { title: "n41"  label: "Block 41" status:clustered color:yellow
65 edge: {sourcename: "n41" targetname: "n33" label: "0" class:13 priority:60 color:red}
66 edge: {sourcename: "n41" targetname: "n40" label: "1" class:13 priority:60 color:red}
67 node: {title: "n50" label: "Return  50"  info1: "mode:    X
68 visited: 8
69 irg:     IF_EXAMPLE_main
70 arity: 2
71 return in method of type IF_EXAMPLE_main
72   res 0 type: int
73 "}
74 edge: {sourcename: "n50" targetname: "n24" label: "0" class:17 priority:10 color:blue}
75 edge: {sourcename: "n50" targetname: "n43" label: "1" class:1  priority:50}
76 node: {title: "n43" label: "PhiIs  43"  info1: "mode:    Is
77 visited: 8
78 irg:     IF_EXAMPLE_main
79 arity: 2 backedges:
80 "color: green}
81 edge: {sourcename: "n43" targetname: "n28" label: "0" class:16 priority:10}
82 edge: {sourcename: "n43" targetname: "n38" label: "1" class:16 priority:10}
83 }
84
85 graph: { title: "n35"  label: "Block 35" status:clustered color:yellow
86 edge: {sourcename: "n35" targetname: "n34" label: "0" class:13 priority:60 color:red}
87 node: {title: "n38" label: "SubIs  38"  info1: "mode:    Is
88 visited: 8
89 irg:     IF_EXAMPLE_main
90 arity: 2
91 "}
92 edge: {sourcename: "n38" targetname: "n28" label: "0" class:16 priority:10}
93 edge: {sourcename: "n38" targetname: "n36" label: "1" class:16 priority:10}
94 node: {title: "n40" label: "Jmp  40"  info1: "mode:    X
95 visited: 8
96 irg:     IF_EXAMPLE_main
97 arity: 0
98 "}
99 }
100
101 graph: { title: "n27"  label: "Block 27" status:clustered color:yellow
102 edge: {sourcename: "n27" targetname: "n21" label: "0" class:13 priority:60 color:red}
103 node: {title: "n33" label: "ProjX 0 33"  info1: "mode:    X
104 visited: 8
105 irg:     IF_EXAMPLE_main
106 arity: 1
107 "color: yellow}
108 edge: {sourcename: "n33" targetname: "n32" label: "0" class:13 priority:60 color:red}
109 node: {title: "n34" label: "ProjX 1 34"  info1: "mode:    X
110 visited: 8
111 irg:     IF_EXAMPLE_main
112 arity: 1
113 "color: yellow}
114 edge: {sourcename: "n34" targetname: "n32" label: "0" class:13 priority:60 color:red}
115 node: {title: "n32" label: "Cond  32"  info1: "mode:    T
116 visited: 8
117 irg:     IF_EXAMPLE_main
118 arity: 1
119 "}
120 edge: {sourcename: "n32" targetname: "n31" label: "0" class:1  priority:50}
121 node: {title: "n31" label: "Projb Eq 31"  info1: "mode:    b
122 visited: 8
123 irg:     IF_EXAMPLE_main
124 arity: 1
125 "color: yellow}
126 edge: {sourcename: "n31" targetname: "n30" label: "0" class:1  priority:50}
127 node: {title: "n30" label: "CmpT  30"  info1: "mode:    T
128 visited: 8
129 irg:     IF_EXAMPLE_main
130 arity: 2
131 "}
132 edge: {sourcename: "n30" targetname: "n28" label: "0" class:1  priority:50}
133 edge: {sourcename: "n30" targetname: "n29" label: "1" class:16 priority:10}
134 node: {title: "n28" label: "ProjIs 0 28"  info1: "mode:    Is
135 visited: 8
136 irg:     IF_EXAMPLE_main
137 arity: 1
138 "color: yellow}
139 edge: {sourcename: "n28" targetname: "n25" label: "0" class:16 priority:10}
140 }
141
142 graph: { title: "n18"  label: "Block 18" status:clustered color:yellow
143 edge: {sourcename: "n18" targetname: "n21" label: "0" class:13 priority:60 color:red}
144 node: {title: "n24" label: "ProjM 1 24"  info1: "mode:    M
145 visited: 8
146 irg:     IF_EXAMPLE_main
147 arity: 1
148 "color: yellow}
149 edge: {sourcename: "n24" targetname: "n19" label: "0" class:17 priority:10 color:blue}
150 node: {title: "n36" label: "0x3Is  36"  info1: "mode:    Is
151 visited: 8
152 irg:     IF_EXAMPLE_main
153 arity: 0
154 Const of type type_unknown
155 "color: yellow}
156 node: {title: "n25" label: "ProjT 4 25"  info1: "mode:    T
157 visited: 8
158 irg:     IF_EXAMPLE_main
159 arity: 1
160 "color: yellow}
161 edge: {sourcename: "n25" targetname: "n19" label: "0" class:1  priority:50}
162 node: {title: "n29" label: "0x2Is  29"  info1: "mode:    Is
163 visited: 8
164 irg:     IF_EXAMPLE_main
165 arity: 0
166 Const of type type_unknown
167 "color: yellow}
168 node: {title: "n21" label: "ProjX 0 21"  info1: "mode:    X
169 visited: 8
170 irg:     IF_EXAMPLE_main
171 arity: 1
172 "color: yellow}
173 edge: {sourcename: "n21" targetname: "n19" label: "0" class:13 priority:60 color:red}
174 node: {title: "n19" label: "Start  19"  info1: "mode:    T
175 visited: 8
176 irg:     IF_EXAMPLE_main
177 arity: 0
178 start of method of type IF_EXAMPLE_main
179   param 0 type: int
180 "color: blue}
181 }
182
183 }
184
185 }