more headers
[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
27 graph: { title: "g26" label: "IF_EXAMPLE_main" status:clustered color:white
28 graph: { title: "n16"  label: "Block 16" status:clustered color:yellow
29 edge: {sourcename: "n16" targetname: "n50" label: "0" class:13 priority:60 color:red}
30 node: {title: "n17" label: "End  17"  info1: "visited: 8
31 irg:     IF_EXAMPLE_main
32 arity: 0
33 "color: blue}
34 }
35
36 graph: { title: "n41"  label: "Block 41" status:clustered color:yellow
37 edge: {sourcename: "n41" targetname: "n33" label: "0" class:13 priority:60 color:red}
38 edge: {sourcename: "n41" targetname: "n40" label: "1" class:13 priority:60 color:red}
39 node: {title: "n50" label: "Return  50"  info1: "visited: 8
40 irg:     IF_EXAMPLE_main
41 arity: 2
42 return in method of type IF_EXAMPLE_main
43   res 0 type: int
44 " info2: "mymode == mode_X && Result X"}
45 edge: {sourcename: "n50" targetname: "n22" label: "0" class:17 priority:10 color:blue}
46 edge: {sourcename: "n50" targetname: "n43" label: "1" class:1  priority:50}
47 node: {title: "n43" label: "PhiIs  43"  info1: "visited: 8
48 irg:     IF_EXAMPLE_main
49 arity: 2 backedges:
50 " info2: "mode_is_dataM(mymode) && Phi node"color: green}
51 edge: {sourcename: "n43" targetname: "n28" label: "0" class:16 priority:10}
52 edge: {sourcename: "n43" targetname: "n38" label: "1" class:16 priority:10}
53 }
54
55 graph: { title: "n35"  label: "Block 35" status:clustered color:yellow
56 edge: {sourcename: "n35" targetname: "n34" label: "0" class:13 priority:60 color:red}
57 node: {title: "n38" label: "SubIs  38"  info1: "visited: 8
58 irg:     IF_EXAMPLE_main
59 arity: 2
60 "}
61 edge: {sourcename: "n38" targetname: "n28" label: "0" class:16 priority:10}
62 edge: {sourcename: "n38" targetname: "n36" label: "1" class:16 priority:10}
63 node: {title: "n40" label: "Jmp  40"  info1: "visited: 8
64 irg:     IF_EXAMPLE_main
65 arity: 0
66 " info2: "mymode == mode_X && Jmp node"}
67 }
68
69 graph: { title: "n27"  label: "Block 27" status:clustered color:yellow
70 edge: {sourcename: "n27" targetname: "n21" label: "0" class:13 priority:60 color:red}
71 node: {title: "n33" label: "ProjX 0 33"  info1: "visited: 8
72 irg:     IF_EXAMPLE_main
73 arity: 1
74 "color: yellow}
75 edge: {sourcename: "n33" targetname: "n32" label: "0" class:13 priority:60 color:red}
76 node: {title: "n34" label: "ProjX 1 34"  info1: "visited: 8
77 irg:     IF_EXAMPLE_main
78 arity: 1
79 "color: yellow}
80 edge: {sourcename: "n34" targetname: "n32" label: "0" class:13 priority:60 color:red}
81 node: {title: "n32" label: "Cond  32"  info1: "visited: 8
82 irg:     IF_EXAMPLE_main
83 arity: 1
84 " info2: "mymode == mode_T && Cond mode is not a tuple"}
85 edge: {sourcename: "n32" targetname: "n31" label: "0" class:1  priority:50}
86 node: {title: "n31" label: "Projb Eq 31"  info1: "visited: 8
87 irg:     IF_EXAMPLE_main
88 arity: 1
89 "color: yellow}
90 edge: {sourcename: "n31" targetname: "n30" label: "0" class:1  priority:50}
91 node: {title: "n30" label: "CmpT  30"  info1: "visited: 8
92 irg:     IF_EXAMPLE_main
93 arity: 2
94 "}
95 edge: {sourcename: "n30" targetname: "n28" label: "0" class:1  priority:50}
96 edge: {sourcename: "n30" targetname: "n29" label: "1" class:16 priority:10}
97 node: {title: "n28" label: "ProjIs 0 28"  info1: "visited: 8
98 irg:     IF_EXAMPLE_main
99 arity: 1
100 " 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}
101 edge: {sourcename: "n28" targetname: "n25" label: "0" class:16 priority:10}
102 }
103
104 graph: { title: "n18"  label: "Block 18" status:clustered color:yellow
105 edge: {sourcename: "n18" targetname: "n21" label: "0" class:13 priority:60 color:red}
106 node: {title: "n22" label: "ProjM 1 22"  info1: "visited: 8
107 irg:     IF_EXAMPLE_main
108 arity: 1
109 "color: yellow}
110 edge: {sourcename: "n22" targetname: "n19" label: "0" class:17 priority:10 color:blue}
111 node: {title: "n36" label: "0x3Is  36"  info1: "visited: 8
112 irg:     IF_EXAMPLE_main
113 arity: 0
114 Const of type type_unknown
115 " info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow}
116 node: {title: "n25" label: "ProjT 4 25"  info1: "visited: 8
117 irg:     IF_EXAMPLE_main
118 arity: 1
119 "color: yellow}
120 edge: {sourcename: "n25" targetname: "n19" label: "0" class:1  priority:50}
121 node: {title: "n29" label: "0x2Is  29"  info1: "visited: 8
122 irg:     IF_EXAMPLE_main
123 arity: 0
124 Const of type type_unknown
125 " info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow}
126 node: {title: "n21" label: "ProjX 0 21"  info1: "visited: 8
127 irg:     IF_EXAMPLE_main
128 arity: 1
129 "color: yellow}
130 edge: {sourcename: "n21" targetname: "n19" label: "0" class:13 priority:60 color:red}
131 node: {title: "n19" label: "Start  19"  info1: "visited: 8
132 irg:     IF_EXAMPLE_main
133 arity: 0
134 start of method of type IF_EXAMPLE_main
135   param 0 type: int
136 " info2: "mymode == mode_T && Start node"color: blue}
137 }
138
139 }
140
141 }