1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
| ; RUN: llc < %s | grep LJT
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
target triple = "x86_64-apple-darwin10"
declare void @f1() nounwind readnone
declare void @f2() nounwind readnone
declare void @f3() nounwind readnone
declare void @f4() nounwind readnone
declare void @f5() nounwind readnone
declare void @f6() nounwind readnone
declare void @f7() nounwind readnone
declare void @f8() nounwind readnone
declare void @f9() nounwind readnone
declare void @f10() nounwind readnone
declare void @f11() nounwind readnone
declare void @f12() nounwind readnone
declare void @f13() nounwind readnone
declare void @f14() nounwind readnone
declare void @f15() nounwind readnone
declare void @f16() nounwind readnone
declare void @f17() nounwind readnone
declare void @f18() nounwind readnone
declare void @f19() nounwind readnone
declare void @f20() nounwind readnone
declare void @f21() nounwind readnone
declare void @f22() nounwind readnone
declare void @f23() nounwind readnone
declare void @f24() nounwind readnone
declare void @f25() nounwind readnone
declare void @f26() nounwind readnone
define internal fastcc i32 @foo(i64 %bar) nounwind ssp {
entry:
br label %bb49
bb49:
switch i64 %bar, label %RETURN [
i64 2, label %RRETURN_2
i64 3, label %RRETURN_6
i64 4, label %RRETURN_7
i64 5, label %RRETURN_14
i64 6, label %RRETURN_15
i64 7, label %RRETURN_16
i64 8, label %RRETURN_17
i64 9, label %RRETURN_18
i64 10, label %RRETURN_19
i64 11, label %RRETURN_20
i64 12, label %RRETURN_21
i64 13, label %RRETURN_22
i64 14, label %RRETURN_24
i64 15, label %RRETURN_26
i64 16, label %RRETURN_27
i64 17, label %RRETURN_28
i64 18, label %RRETURN_29
i64 19, label %RRETURN_30
i64 20, label %RRETURN_31
i64 21, label %RRETURN_38
i64 22, label %RRETURN_40
i64 23, label %RRETURN_42
i64 24, label %RRETURN_44
i64 25, label %RRETURN_48
i64 26, label %RRETURN_52
i64 27, label %RRETURN_1
]
RETURN:
call void @f1()
br label %EXIT
RRETURN_2: ; preds = %bb49
call void @f2()
br label %EXIT
RRETURN_6: ; preds = %bb49
call void @f2()
br label %EXIT
RRETURN_7: ; preds = %bb49
call void @f3()
br label %EXIT
RRETURN_14: ; preds = %bb49
call void @f4()
br label %EXIT
RRETURN_15: ; preds = %bb49
call void @f5()
br label %EXIT
RRETURN_16: ; preds = %bb49
call void @f6()
br label %EXIT
RRETURN_17: ; preds = %bb49
call void @f7()
br label %EXIT
RRETURN_18: ; preds = %bb49
call void @f8()
br label %EXIT
RRETURN_19: ; preds = %bb49
call void @f9()
br label %EXIT
RRETURN_20: ; preds = %bb49
call void @f10()
br label %EXIT
RRETURN_21: ; preds = %bb49
call void @f11()
br label %EXIT
RRETURN_22: ; preds = %bb49
call void @f12()
br label %EXIT
RRETURN_24: ; preds = %bb49
call void @f13()
br label %EXIT
RRETURN_26: ; preds = %bb49
call void @f14()
br label %EXIT
RRETURN_27: ; preds = %bb49
call void @f15()
br label %EXIT
RRETURN_28: ; preds = %bb49
call void @f16()
br label %EXIT
RRETURN_29: ; preds = %bb49
call void @f17()
br label %EXIT
RRETURN_30: ; preds = %bb49
call void @f18()
br label %EXIT
RRETURN_31: ; preds = %bb49
call void @f19()
br label %EXIT
RRETURN_38: ; preds = %bb49
call void @f20()
br label %EXIT
RRETURN_40: ; preds = %bb49
call void @f21()
br label %EXIT
RRETURN_42: ; preds = %bb49
call void @f22()
br label %EXIT
RRETURN_44: ; preds = %bb49
call void @f23()
br label %EXIT
RRETURN_48: ; preds = %bb49
call void @f24()
br label %EXIT
RRETURN_52: ; preds = %bb49
call void @f25()
br label %EXIT
RRETURN_1: ; preds = %bb49
call void @f26()
br label %EXIT
EXIT:
ret i32 0
}
|