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