1 ; RUN: llvm-as < %s | opt -inline -tailduplicate -condprop -simplifycfg -disable-output
3 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
4 target triple = "i686-pc-linux-gnu"
5 %struct.DCTtab = type { i8, i8, i8 }
6 %struct.FILE = type { i32, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, %struct._IO_marker*, %struct.FILE*, i32, i32, i32, i16, i8, [1 x i8], i8*, i64, i8*, i8*, i8*, i8*, i32, i32, [40 x i8] }
7 %struct.VLCtab = type { i8, i8 }
8 %struct._IO_FILE = type { i32, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, %struct._IO_marker*, %struct.FILE*, i32, i32, i32, i16, i8, [1 x i8], i8*, i64, i8*, i8*, i8*, i8*, i32, i32, [40 x i8] }
9 %struct._IO_marker = type { %struct._IO_marker*, %struct.FILE*, i32 }
10 %struct.layer_data = type { i32, [2048 x i8], i8*, [16 x i8], i32, i8*, i32, i32, [64 x i32], [64 x i32], [64 x i32], [64 x i32], i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [12 x [64 x i16]] }
11 @ld = external global %struct.layer_data* ; <%struct.layer_data**> [#uses=1]
12 @System_Stream_Flag = external global i32 ; <i32*> [#uses=0]
13 @Fault_Flag = external global i32 ; <i32*> [#uses=2]
14 @picture_coding_type = external global i32 ; <i32*> [#uses=1]
15 @DCTtabnext = external global [12 x %struct.DCTtab] ; <[12 x %struct.DCTtab]*> [#uses=0]
16 @DCTtab0 = external global [60 x %struct.DCTtab] ; <[60 x %struct.DCTtab]*> [#uses=0]
17 @DCTtab1 = external global [8 x %struct.DCTtab] ; <[8 x %struct.DCTtab]*> [#uses=0]
18 @DCTtab2 = external global [16 x %struct.DCTtab] ; <[16 x %struct.DCTtab]*> [#uses=0]
19 @DCTtab3 = external global [16 x %struct.DCTtab] ; <[16 x %struct.DCTtab]*> [#uses=0]
20 @DCTtab4 = external global [16 x %struct.DCTtab] ; <[16 x %struct.DCTtab]*> [#uses=0]
21 @DCTtab5 = external global [16 x %struct.DCTtab] ; <[16 x %struct.DCTtab]*> [#uses=0]
22 @DCTtab6 = external global [16 x %struct.DCTtab] ; <[16 x %struct.DCTtab]*> [#uses=0]
23 @Quiet_Flag = external global i32 ; <i32*> [#uses=0]
24 @.str = external constant [51 x i8] ; <[51 x i8]*> [#uses=0]
25 @stderr = external global %struct.FILE* ; <%struct.FILE**> [#uses=0]
26 @.str1 = external constant [43 x i8] ; <[43 x i8]*> [#uses=0]
27 @scan = external global [2 x [64 x i8]] ; <[2 x [64 x i8]]*> [#uses=0]
28 @DCTtabfirst = external global [12 x %struct.DCTtab] ; <[12 x %struct.DCTtab]*> [#uses=0]
29 @.str2 = external constant [55 x i8] ; <[55 x i8]*> [#uses=0]
30 @.str3 = external constant [43 x i8] ; <[43 x i8]*> [#uses=0]
31 @base = external global %struct.layer_data ; <%struct.layer_data*> [#uses=1]
32 @enhan = external global %struct.layer_data ; <%struct.layer_data*> [#uses=0]
33 @chroma_format = external global i32 ; <i32*> [#uses=2]
34 @intra_dc_precision = external global i32 ; <i32*> [#uses=0]
35 @intra_vlc_format = external global i32 ; <i32*> [#uses=0]
36 @DCTtab0a = external global [252 x %struct.DCTtab] ; <[252 x %struct.DCTtab]*> [#uses=0]
37 @DCTtab1a = external global [8 x %struct.DCTtab] ; <[8 x %struct.DCTtab]*> [#uses=0]
38 @.str4 = external constant [51 x i8] ; <[51 x i8]*> [#uses=0]
39 @.str5 = external constant [45 x i8] ; <[45 x i8]*> [#uses=0]
40 @.str6 = external constant [44 x i8] ; <[44 x i8]*> [#uses=0]
41 @.str7 = external constant [55 x i8] ; <[55 x i8]*> [#uses=0]
42 @.str8 = external constant [44 x i8] ; <[44 x i8]*> [#uses=0]
43 @Temporal_Reference_Base = external global i32 ; <i32*> [#uses=0]
44 @True_Framenum_max = external global i32 ; <i32*> [#uses=0]
45 @Temporal_Reference_GOP_Reset.b = external global i1 ; <i1*> [#uses=0]
46 @frame_rate_Table = external constant [16 x double] ; <[16 x double]*> [#uses=0]
47 @.str9 = external constant [43 x i8] ; <[43 x i8]*> [#uses=0]
48 @horizontal_size = external global i32 ; <i32*> [#uses=0]
49 @vertical_size = external global i32 ; <i32*> [#uses=0]
50 @aspect_ratio_information = external global i32 ; <i32*> [#uses=0]
51 @frame_rate_code = external global i32 ; <i32*> [#uses=0]
52 @bit_rate_value = external global i32 ; <i32*> [#uses=0]
53 @.str110 = external constant [18 x i8] ; <[18 x i8]*> [#uses=0]
54 @vbv_buffer_size = external global i32 ; <i32*> [#uses=0]
55 @constrained_parameters_flag = external global i32 ; <i32*> [#uses=0]
56 @default_intra_quantizer_matrix = external global [64 x i8] ; <[64 x i8]*> [#uses=0]
57 @drop_flag = external global i32 ; <i32*> [#uses=0]
58 @hour = external global i32 ; <i32*> [#uses=0]
59 @minute = external global i32 ; <i32*> [#uses=0]
60 @.str211 = external constant [27 x i8] ; <[27 x i8]*> [#uses=0]
61 @sec = external global i32 ; <i32*> [#uses=0]
62 @frame = external global i32 ; <i32*> [#uses=0]
63 @closed_gop = external global i32 ; <i32*> [#uses=0]
64 @broken_link = external global i32 ; <i32*> [#uses=0]
65 @temporal_reference = external global i32 ; <i32*> [#uses=0]
66 @vbv_delay = external global i32 ; <i32*> [#uses=0]
67 @full_pel_forward_vector = external global i32 ; <i32*> [#uses=0]
68 @forward_f_code = external global i32 ; <i32*> [#uses=0]
69 @full_pel_backward_vector = external global i32 ; <i32*> [#uses=0]
70 @backward_f_code = external global i32 ; <i32*> [#uses=1]
71 @Non_Linear_quantizer_scale = external global [32 x i8] ; <[32 x i8]*> [#uses=0]
72 @.str312 = external constant [37 x i8] ; <[37 x i8]*> [#uses=0]
73 @layer_id = external global i32 ; <i32*> [#uses=0]
74 @profile_and_level_indication = external global i32 ; <i32*> [#uses=0]
75 @progressive_sequence = external global i32 ; <i32*> [#uses=0]
76 @.str413 = external constant [19 x i8] ; <[19 x i8]*> [#uses=0]
77 @low_delay = external global i32 ; <i32*> [#uses=0]
78 @frame_rate_extension_n = external global i32 ; <i32*> [#uses=0]
79 @frame_rate_extension_d = external global i32 ; <i32*> [#uses=0]
80 @frame_rate = external global double ; <double*> [#uses=0]
81 @profile = external global i32 ; <i32*> [#uses=0]
82 @level = external global i32 ; <i32*> [#uses=0]
83 @bit_rate = external global double ; <double*> [#uses=0]
84 @video_format = external global i32 ; <i32*> [#uses=0]
85 @color_description = external global i32 ; <i32*> [#uses=0]
86 @color_primaries = external global i32 ; <i32*> [#uses=0]
87 @transfer_characteristics = external global i32 ; <i32*> [#uses=0]
88 @matrix_coefficients = external global i32 ; <i32*> [#uses=0]
89 @display_horizontal_size = external global i32 ; <i32*> [#uses=0]
90 @.str514 = external constant [27 x i8] ; <[27 x i8]*> [#uses=0]
91 @display_vertical_size = external global i32 ; <i32*> [#uses=0]
92 @lower_layer_prediction_horizontal_size = external global i32 ; <i32*> [#uses=0]
93 @.str615 = external constant [30 x i8] ; <[30 x i8]*> [#uses=0]
94 @lower_layer_prediction_vertical_size = external global i32 ; <i32*> [#uses=0]
95 @horizontal_subsampling_factor_m = external global i32 ; <i32*> [#uses=0]
96 @horizontal_subsampling_factor_n = external global i32 ; <i32*> [#uses=0]
97 @vertical_subsampling_factor_m = external global i32 ; <i32*> [#uses=0]
98 @vertical_subsampling_factor_n = external global i32 ; <i32*> [#uses=0]
99 @.str716 = external constant [38 x i8] ; <[38 x i8]*> [#uses=0]
100 @repeat_first_field = external global i32 ; <i32*> [#uses=0]
101 @top_field_first = external global i32 ; <i32*> [#uses=0]
102 @picture_structure = external global i32 ; <i32*> [#uses=0]
103 @frame_center_horizontal_offset = external global [3 x i32] ; <[3 x i32]*> [#uses=0]
104 @.str817 = external constant [44 x i8] ; <[44 x i8]*> [#uses=0]
105 @frame_center_vertical_offset = external global [3 x i32] ; <[3 x i32]*> [#uses=0]
106 @.str918 = external constant [45 x i8] ; <[45 x i8]*> [#uses=0]
107 @f_code = external global [2 x [2 x i32]] ; <[2 x [2 x i32]]*> [#uses=0]
108 @frame_pred_frame_dct = external global i32 ; <i32*> [#uses=0]
109 @concealment_motion_vectors = external global i32 ; <i32*> [#uses=1]
110 @chroma_420_type = external global i32 ; <i32*> [#uses=0]
111 @progressive_frame = external global i32 ; <i32*> [#uses=0]
112 @composite_display_flag = external global i32 ; <i32*> [#uses=0]
113 @v_axis = external global i32 ; <i32*> [#uses=0]
114 @field_sequence = external global i32 ; <i32*> [#uses=0]
115 @sub_carrier = external global i32 ; <i32*> [#uses=0]
116 @burst_amplitude = external global i32 ; <i32*> [#uses=0]
117 @sub_carrier_phase = external global i32 ; <i32*> [#uses=0]
118 @lower_layer_temporal_reference = external global i32 ; <i32*> [#uses=0]
119 @.str10 = external constant [55 x i8] ; <[55 x i8]*> [#uses=0]
120 @lower_layer_horizontal_offset = external global i32 ; <i32*> [#uses=0]
121 @.str11 = external constant [56 x i8] ; <[56 x i8]*> [#uses=0]
122 @lower_layer_vertical_offset = external global i32 ; <i32*> [#uses=0]
123 @spatial_temporal_weight_code_table_index = external global i32 ; <i32*> [#uses=0]
124 @lower_layer_progressive_frame = external global i32 ; <i32*> [#uses=0]
125 @lower_layer_deinterlaced_field_select = external global i32 ; <i32*> [#uses=0]
126 @.str12 = external constant [36 x i8] ; <[36 x i8]*> [#uses=0]
127 @copyright_flag = external global i32 ; <i32*> [#uses=0]
128 @copyright_identifier = external global i32 ; <i32*> [#uses=0]
129 @original_or_copy = external global i32 ; <i32*> [#uses=0]
130 @.str13 = external constant [40 x i8] ; <[40 x i8]*> [#uses=0]
131 @copyright_number_1 = external global i32 ; <i32*> [#uses=0]
132 @.str14 = external constant [41 x i8] ; <[41 x i8]*> [#uses=0]
133 @copyright_number_2 = external global i32 ; <i32*> [#uses=0]
134 @.str15 = external constant [40 x i8] ; <[40 x i8]*> [#uses=0]
135 @copyright_number_3 = external global i32 ; <i32*> [#uses=0]
136 @Verbose_Flag = external global i32 ; <i32*> [#uses=0]
137 @.str16 = external constant [31 x i8] ; <[31 x i8]*> [#uses=0]
138 @.str17 = external constant [22 x i8] ; <[22 x i8]*> [#uses=0]
139 @.str18 = external constant [27 x i8] ; <[27 x i8]*> [#uses=0]
140 @.str19 = external constant [46 x i8] ; <[46 x i8]*> [#uses=0]
141 @.str20 = external constant [25 x i8] ; <[25 x i8]*> [#uses=0]
142 @.str21 = external constant [25 x i8] ; <[25 x i8]*> [#uses=0]
143 @.str22 = external constant [25 x i8] ; <[25 x i8]*> [#uses=0]
144 @temporal_reference_old.2592 = external global i32 ; <i32*> [#uses=0]
145 @temporal_reference_wrap.2591.b = external global i1 ; <i1*> [#uses=0]
146 @True_Framenum = external global i32 ; <i32*> [#uses=0]
147 @Second_Field = external global i32 ; <i32*> [#uses=0]
148 @.str23 = external constant [29 x i8] ; <[29 x i8]*> [#uses=0]
149 @Ersatz_Flag = external global i32 ; <i32*> [#uses=0]
150 @mb_width = external global i32 ; <i32*> [#uses=0]
151 @mb_height = external global i32 ; <i32*> [#uses=0]
152 @Two_Streams = external global i32 ; <i32*> [#uses=0]
153 @.str124 = external constant [32 x i8] ; <[32 x i8]*> [#uses=0]
154 @stwc_table.2193 = external constant [3 x [4 x i8]] ; <[3 x [4 x i8]]*> [#uses=0]
155 @stwclass_table.2194 = external constant [9 x i8] ; <[9 x i8]*> [#uses=0]
156 @current_frame = external global [3 x i8*] ; <[3 x i8*]*> [#uses=0]
157 @Coded_Picture_Width = external global i32 ; <i32*> [#uses=0]
158 @Chroma_Width = external global i32 ; <i32*> [#uses=0]
159 @Clip = external global i8* ; <i8**> [#uses=0]
160 @.str225 = external constant [30 x i8] ; <[30 x i8]*> [#uses=0]
161 @.str326 = external constant [27 x i8] ; <[27 x i8]*> [#uses=0]
162 @block_count = external global i32 ; <i32*> [#uses=1]
163 @auxframe = external global [3 x i8*] ; <[3 x i8*]*> [#uses=0]
164 @forward_reference_frame = external global [3 x i8*] ; <[3 x i8*]*> [#uses=0]
165 @backward_reference_frame = external global [3 x i8*] ; <[3 x i8*]*> [#uses=0]
166 @.str427 = external constant [34 x i8] ; <[34 x i8]*> [#uses=0]
167 @Newref_progressive_frame.2631 = external global i32 ; <i32*> [#uses=0]
168 @Oldref_progressive_frame.2630 = external global i32 ; <i32*> [#uses=0]
169 @Reference_IDCT_Flag = external global i32 ; <i32*> [#uses=0]
170 @.str528 = external constant [43 x i8] ; <[43 x i8]*> [#uses=0]
171 @.str629 = external constant [29 x i8] ; <[29 x i8]*> [#uses=0]
172 @.str730 = external constant [38 x i8] ; <[38 x i8]*> [#uses=0]
173 @.str831 = external constant [32 x i8] ; <[32 x i8]*> [#uses=0]
174 @PMBtab0 = external constant [8 x %struct.VLCtab] ; <[8 x %struct.VLCtab]*> [#uses=0]
175 @PMBtab1 = external constant [8 x %struct.VLCtab] ; <[8 x %struct.VLCtab]*> [#uses=0]
176 @BMBtab0 = external constant [16 x %struct.VLCtab] ; <[16 x %struct.VLCtab]*> [#uses=0]
177 @BMBtab1 = external constant [8 x %struct.VLCtab] ; <[8 x %struct.VLCtab]*> [#uses=0]
178 @spIMBtab = external constant [16 x %struct.VLCtab] ; <[16 x %struct.VLCtab]*> [#uses=0]
179 @spPMBtab0 = external constant [16 x %struct.VLCtab] ; <[16 x %struct.VLCtab]*> [#uses=0]
180 @spPMBtab1 = external constant [16 x %struct.VLCtab] ; <[16 x %struct.VLCtab]*> [#uses=0]
181 @spBMBtab0 = external constant [14 x %struct.VLCtab] ; <[14 x %struct.VLCtab]*> [#uses=0]
182 @spBMBtab1 = external constant [12 x %struct.VLCtab] ; <[12 x %struct.VLCtab]*> [#uses=0]
183 @spBMBtab2 = external constant [8 x %struct.VLCtab] ; <[8 x %struct.VLCtab]*> [#uses=0]
184 @SNRMBtab = external constant [8 x %struct.VLCtab] ; <[8 x %struct.VLCtab]*> [#uses=0]
185 @MVtab0 = external constant [8 x %struct.VLCtab] ; <[8 x %struct.VLCtab]*> [#uses=0]
186 @MVtab1 = external constant [8 x %struct.VLCtab] ; <[8 x %struct.VLCtab]*> [#uses=0]
187 @MVtab2 = external constant [12 x %struct.VLCtab] ; <[12 x %struct.VLCtab]*> [#uses=0]
188 @CBPtab0 = external constant [32 x %struct.VLCtab] ; <[32 x %struct.VLCtab]*> [#uses=0]
189 @CBPtab1 = external constant [64 x %struct.VLCtab] ; <[64 x %struct.VLCtab]*> [#uses=0]
190 @CBPtab2 = external constant [8 x %struct.VLCtab] ; <[8 x %struct.VLCtab]*> [#uses=0]
191 @MBAtab1 = external constant [16 x %struct.VLCtab] ; <[16 x %struct.VLCtab]*> [#uses=0]
192 @MBAtab2 = external constant [104 x %struct.VLCtab] ; <[104 x %struct.VLCtab]*> [#uses=0]
193 @DClumtab0 = external constant [32 x %struct.VLCtab] ; <[32 x %struct.VLCtab]*> [#uses=0]
194 @DClumtab1 = external constant [16 x %struct.VLCtab] ; <[16 x %struct.VLCtab]*> [#uses=0]
195 @DCchromtab0 = external constant [32 x %struct.VLCtab] ; <[32 x %struct.VLCtab]*> [#uses=0]
196 @DCchromtab1 = external constant [32 x %struct.VLCtab] ; <[32 x %struct.VLCtab]*> [#uses=0]
197 @.str32 = external constant [56 x i8] ; <[56 x i8]*> [#uses=0]
198 @.str133 = external constant [29 x i8] ; <[29 x i8]*> [#uses=0]
199 @global_pic = external global i32 ; <i32*> [#uses=0]
200 @global_MBA = external global i32 ; <i32*> [#uses=0]
201 @.str1648 = external constant [45 x i8] ; <[45 x i8]*> [#uses=0]
202 @.str1749 = external constant [33 x i8] ; <[33 x i8]*> [#uses=0]
203 @.str1850 = external constant [42 x i8] ; <[42 x i8]*> [#uses=0]
204 @iclp = external global i16* ; <i16**> [#uses=0]
205 @iclip = external global [1024 x i16] ; <[1024 x i16]*> [#uses=0]
206 @c = external global [8 x [8 x double]] ; <[8 x [8 x double]]*> [#uses=0]
207 @Version = external global [28 x i8] ; <[28 x i8]*> [#uses=0]
208 @Author = external global [41 x i8] ; <[41 x i8]*> [#uses=0]
209 @Inverse_Table_6_9 = external global [8 x [4 x i32]] ; <[8 x [4 x i32]]*> [#uses=0]
210 @Main_Bitstream_Filename = external global i8* ; <i8**> [#uses=0]
211 @.str51 = external constant [36 x i8] ; <[36 x i8]*> [#uses=0]
212 @Error_Text = external global [256 x i8] ; <[256 x i8]*> [#uses=0]
213 @.str152 = external constant [52 x i8] ; <[52 x i8]*> [#uses=0]
214 @.str253 = external constant [33 x i8] ; <[33 x i8]*> [#uses=0]
215 @Enhancement_Layer_Bitstream_Filename = external global i8* ; <i8**> [#uses=0]
216 @.str354 = external constant [46 x i8] ; <[46 x i8]*> [#uses=0]
217 @.str455 = external constant [22 x i8] ; <[22 x i8]*> [#uses=0]
218 @.str556 = external constant [30 x i8] ; <[30 x i8]*> [#uses=0]
219 @Coded_Picture_Height = external global i32 ; <i32*> [#uses=0]
220 @Chroma_Height = external global i32 ; <i32*> [#uses=0]
221 @Table_6_20.3737 = external constant [3 x i32] ; <[3 x i32]*> [#uses=0]
222 @.str657 = external constant [42 x i8] ; <[42 x i8]*> [#uses=0]
223 @.str758 = external constant [41 x i8] ; <[41 x i8]*> [#uses=0]
224 @.str859 = external constant [26 x i8] ; <[26 x i8]*> [#uses=0]
225 @substitute_frame = external global [3 x i8*] ; <[3 x i8*]*> [#uses=0]
226 @.str960 = external constant [34 x i8] ; <[34 x i8]*> [#uses=0]
227 @llframe0 = external global [3 x i8*] ; <[3 x i8*]*> [#uses=0]
228 @.str1061 = external constant [24 x i8] ; <[24 x i8]*> [#uses=0]
229 @llframe1 = external global [3 x i8*] ; <[3 x i8*]*> [#uses=0]
230 @.str1162 = external constant [24 x i8] ; <[24 x i8]*> [#uses=0]
231 @lltmp = external global i16* ; <i16**> [#uses=0]
232 @.str1263 = external constant [21 x i8] ; <[21 x i8]*> [#uses=0]
233 @.str1364 = external constant [3 x i8] ; <[3 x i8]*> [#uses=0]
234 @.str1465 = external constant [9 x i8] ; <[9 x i8]*> [#uses=0]
235 @.str1566 = external constant [1195 x i8] ; <[1195 x i8]*> [#uses=0]
236 @Output_Type = external global i32 ; <i32*> [#uses=0]
237 @Main_Bitstream_Flag = external global i32 ; <i32*> [#uses=0]
238 @.str1667 = external constant [55 x i8] ; <[55 x i8]*> [#uses=0]
239 @.str1768 = external constant [49 x i8] ; <[49 x i8]*> [#uses=0]
240 @.str1869 = external constant [39 x i8] ; <[39 x i8]*> [#uses=0]
241 @Frame_Store_Flag = external global i32 ; <i32*> [#uses=0]
242 @Big_Picture_Flag = external global i32 ; <i32*> [#uses=0]
243 @.str1970 = external constant [49 x i8] ; <[49 x i8]*> [#uses=0]
244 @Spatial_Flag = external global i32 ; <i32*> [#uses=0]
245 @.str2071 = external constant [39 x i8] ; <[39 x i8]*> [#uses=0]
246 @Lower_Layer_Picture_Filename = external global i8* ; <i8**> [#uses=0]
247 @Output_Picture_Filename = external global i8* ; <i8**> [#uses=0]
248 @.str2172 = external constant [1 x i8] ; <[1 x i8]*> [#uses=0]
249 @.str2273 = external constant [39 x i8] ; <[39 x i8]*> [#uses=0]
250 @.str2374 = external constant [49 x i8] ; <[49 x i8]*> [#uses=0]
251 @User_Data_Flag = external global i32 ; <i32*> [#uses=0]
252 @.str24 = external constant [40 x i8] ; <[40 x i8]*> [#uses=0]
253 @.str25 = external constant [39 x i8] ; <[39 x i8]*> [#uses=0]
254 @Substitute_Picture_Filename = external global i8* ; <i8**> [#uses=0]
255 @.str26 = external constant [47 x i8] ; <[47 x i8]*> [#uses=0]
256 @.str27 = external constant [55 x i8] ; <[55 x i8]*> [#uses=0]
257 @Display_Progressive_Flag = external global i32 ; <i32*> [#uses=0]
258 @.str28 = external constant [21 x i8] ; <[21 x i8]*> [#uses=0]
259 @.str29 = external constant [2 x i8] ; <[2 x i8]*> [#uses=0]
260 @hiQdither = external global i32 ; <i32*> [#uses=0]
261 @Trace_Flag = external global i32 ; <i32*> [#uses=0]
262 @Verify_Flag = external global i32 ; <i32*> [#uses=0]
263 @Stats_Flag = external global i32 ; <i32*> [#uses=0]
264 @Decode_Layer = external global i32 ; <i32*> [#uses=0]
265 @.str75 = external constant [20 x i8] ; <[20 x i8]*> [#uses=0]
266 @C.53.2124 = external constant [3 x [3 x i8]] ; <[3 x [3 x i8]]*> [#uses=0]
267 @.str76 = external constant [3 x i8] ; <[3 x i8]*> [#uses=0]
268 @C.60.2169 = external constant [3 x [3 x i8]] ; <[3 x [3 x i8]]*> [#uses=0]
269 @.str77 = external constant [5 x i8] ; <[5 x i8]*> [#uses=0]
270 @.str178 = external constant [5 x i8] ; <[5 x i8]*> [#uses=0]
271 @.str279 = external constant [5 x i8] ; <[5 x i8]*> [#uses=0]
272 @.str380 = external constant [11 x i8] ; <[11 x i8]*> [#uses=0]
273 @outfile = external global i32 ; <i32*> [#uses=0]
274 @.str481 = external constant [20 x i8] ; <[20 x i8]*> [#uses=0]
275 @optr = external global i8* ; <i8**> [#uses=0]
276 @obfr = external global [4096 x i8] ; <[4096 x i8]*> [#uses=0]
277 @.str582 = external constant [35 x i8] ; <[35 x i8]*> [#uses=0]
278 @u422.3075 = external global i8* ; <i8**> [#uses=0]
279 @v422.3076 = external global i8* ; <i8**> [#uses=0]
280 @.str683 = external constant [14 x i8] ; <[14 x i8]*> [#uses=0]
281 @.str784 = external constant [5 x i8] ; <[5 x i8]*> [#uses=0]
282 @u444.3185 = external global i8* ; <i8**> [#uses=0]
283 @v444.3186 = external global i8* ; <i8**> [#uses=0]
284 @u422.3183 = external global i8* ; <i8**> [#uses=0]
285 @v422.3184 = external global i8* ; <i8**> [#uses=0]
286 @.str885 = external constant [5 x i8] ; <[5 x i8]*> [#uses=0]
287 @.str986 = external constant [5 x i8] ; <[5 x i8]*> [#uses=0]
288 @tga24.3181 = external constant [14 x i8] ; <[14 x i8]*> [#uses=0]
289 @.str1087 = external constant [14 x i8] ; <[14 x i8]*> [#uses=0]
290 @bgate.2952.b = external global i1 ; <i1*> [#uses=0]
291 @previous_temporal_reference.2947 = external global i32 ; <i32*> [#uses=0]
292 @previous_picture_coding_type.2951 = external global i32 ; <i32*> [#uses=0]
293 @previous_anchor_temporal_reference.2949 = external global i32 ; <i32*> [#uses=0]
294 @.str88 = external constant [40 x i8] ; <[40 x i8]*> [#uses=0]
295 @.str189 = external constant [31 x i8] ; <[31 x i8]*> [#uses=0]
296 @.str290 = external constant [5 x i8] ; <[5 x i8]*> [#uses=0]
297 @.str391 = external constant [5 x i8] ; <[5 x i8]*> [#uses=0]
298 @.str492 = external constant [5 x i8] ; <[5 x i8]*> [#uses=0]
299 @.str593 = external constant [49 x i8] ; <[49 x i8]*> [#uses=0]
300 @.str694 = external constant [3 x i8] ; <[3 x i8]*> [#uses=0]
301 @.str795 = external constant [18 x i8] ; <[18 x i8]*> [#uses=0]
302 @.str896 = external constant [42 x i8] ; <[42 x i8]*> [#uses=0]
303 @.str97 = external constant [18 x i8] ; <[18 x i8]*> [#uses=0]
304 @.str198 = external constant [24 x i8] ; <[24 x i8]*> [#uses=0]
305 @.str299 = external constant [43 x i8] ; <[43 x i8]*> [#uses=0]
307 declare void @Initialize_Buffer()
309 declare void @Fill_Buffer()
311 declare i32 @read(...)
313 declare i32 @Get_Byte()
315 declare i32 @Get_Word()
317 declare i32 @Show_Bits(i32)
319 declare i32 @Get_Bits1()
321 declare void @Flush_Buffer(i32)
323 declare void @Next_Packet()
325 declare i32 @Get_Bits(i32)
327 declare void @Decode_MPEG1_Intra_Block(i32, i32*)
329 declare i32 @Get_Luma_DC_dct_diff()
331 declare i32 @Get_Chroma_DC_dct_diff()
333 declare i32 @puts(i8*)
335 declare i32 @fwrite(i8*, i32, i32, i8*)
337 declare void @Decode_MPEG1_Non_Intra_Block(i32)
339 declare void @Decode_MPEG2_Intra_Block(i32, i32*)
341 declare void @Decode_MPEG2_Non_Intra_Block(i32)
343 declare i32 @Get_Hdr()
345 declare i32 @Get_Bits32()
347 declare i32 @fprintf(%struct.FILE*, i8*, ...)
349 declare void @next_start_code()
351 declare fastcc void @sequence_header()
353 define internal fastcc void @group_of_pictures_header() {
358 define internal fastcc void @picture_header() {
363 declare i32 @slice_header()
365 declare fastcc void @extension_and_user_data()
367 declare void @Flush_Buffer32()
369 declare fastcc void @sequence_extension()
371 declare fastcc void @sequence_display_extension()
373 declare fastcc void @quant_matrix_extension()
375 declare fastcc void @sequence_scalable_extension()
377 declare void @Error(i8*)
379 declare fastcc void @picture_display_extension()
381 declare fastcc void @picture_coding_extension()
383 declare fastcc void @picture_spatial_scalable_extension()
385 declare fastcc void @picture_temporal_scalable_extension()
387 declare fastcc void @extra_bit_information()
389 declare void @marker_bit(i8*)
391 declare fastcc void @user_data()
393 declare fastcc void @copyright_extension()
395 declare i32 @printf(i8*, ...)
397 declare fastcc void @Update_Temporal_Reference_Tacking_Data()
399 define void @Decode_Picture(i32 %bitstream_framenum, i32 %sequence_framenum) {
401 %tmp16 = icmp eq i32 0, 0 ; <i1> [#uses=1]
402 br i1 %tmp16, label %bb43, label %bb22
404 bb22: ; preds = %entry
407 bb43: ; preds = %entry
408 call fastcc void @picture_data( )
412 declare void @Substitute_Frame_Buffer(i32, i32)
414 define void @Spatial_Prediction() {
419 define internal fastcc void @picture_data() {
421 %tmp4 = icmp eq i32 0, 3 ; <i1> [#uses=1]
422 br i1 %tmp4, label %bb8, label %bb
427 bb8: ; preds = %entry
428 %tmp11 = call fastcc i32 @slice( i32 0 ) ; <i32> [#uses=0]
432 define internal fastcc i32 @slice(i32 %MBAmax) {
434 %tmp6 = icmp eq i32 0, 1 ; <i1> [#uses=1]
435 br i1 %tmp6, label %bb9, label %bb231
437 bb9: ; preds = %entry
438 %tmp11 = icmp eq i32 0, 0 ; <i1> [#uses=1]
439 br i1 %tmp11, label %bb27, label %bb17
445 %tmp31 = icmp slt i32 0, %MBAmax ; <i1> [#uses=1]
446 br i1 %tmp31, label %bb110, label %bb231
448 resync: ; preds = %bb139
451 bb110: ; preds = %bb27
452 %tmp113 = icmp slt i32 0, %MBAmax ; <i1> [#uses=1]
453 br i1 %tmp113, label %bb131, label %bb119
455 bb119: ; preds = %bb110
458 bb131: ; preds = %bb110
459 %tmp133 = icmp eq i32 0, 1 ; <i1> [#uses=1]
460 br i1 %tmp133, label %bb139, label %bb166
462 bb139: ; preds = %bb131
463 %tmp144 = call fastcc i32 @decode_macroblock( i32* null, i32* null, i32* null, i32* null, i32* null, [2 x [2 x i32]]* null, i32* null, [2 x i32]* null, i32* null ) ; <i32> [#uses=1]
464 switch i32 %tmp144, label %bb166 [
469 bb166: ; preds = %bb139, %bb131
472 bb231: ; preds = %bb139, %bb27, %entry
476 declare i32 @Get_macroblock_address_increment()
478 declare fastcc void @macroblock_modes(i32*, i32*, i32*, i32*, i32*, i32*, i32*, i32*, i32*)
480 declare i32 @Get_macroblock_type()
482 declare fastcc void @Add_Block(i32, i32, i32, i32, i32)
484 declare fastcc void @Decode_SNR_Macroblock(i32*, i32*, i32, i32, i32*)
486 declare i32 @Get_coded_block_pattern()
488 declare fastcc void @Clear_Block(i32)
490 declare fastcc void @Sum_Block(i32)
492 declare fastcc void @Saturate(i16*)
494 declare fastcc void @Update_Picture_Buffers()
496 declare void @Output_Last_Frame_of_Sequence(i32)
498 declare void @Write_Frame(i8**, i32)
500 declare fastcc void @frame_reorder(i32, i32)
502 declare fastcc void @motion_compensation(i32, i32, i32, [2 x [2 x i32]]*, [2 x i32]*, i32*, i32, i32)
504 declare void @form_predictions(i32, i32, i32, i32, [2 x [2 x i32]]*, [2 x i32]*, i32*, i32)
506 declare void @Reference_IDCT(i16*)
508 declare void @Fast_IDCT(i16*)
510 declare fastcc void @skipped_macroblock(i32*, [2 x [2 x i32]]*, i32*, [2 x i32]*, i32*, i32*)
512 declare fastcc i32 @start_of_slice(i32*, i32*, i32*, [2 x [2 x i32]]*)
514 define internal fastcc i32 @decode_macroblock(i32* %macroblock_type, i32* %stwtype, i32* %stwclass, i32* %motion_type, i32* %dct_type, [2 x [2 x i32]]* %PMV, i32* %dc_dct_pred, [2 x i32]* %motion_vertical_field_select, i32* %dmvector) {
516 %tmp3 = icmp eq i32 0, 1 ; <i1> [#uses=1]
517 br i1 %tmp3, label %bb, label %bb15
520 %tmp7 = icmp slt i32 0, 3 ; <i1> [#uses=1]
521 br i1 %tmp7, label %bb13, label %bb14
529 bb15: ; preds = %bb13, %entry
530 %tmp21 = load i32* @Fault_Flag, align 4 ; <i32> [#uses=1]
531 %tmp22 = icmp eq i32 %tmp21, 0 ; <i1> [#uses=1]
532 br i1 %tmp22, label %bb29, label %bb630
534 bb29: ; preds = %bb15
535 %tmp33 = icmp eq i32 0, 0 ; <i1> [#uses=1]
536 br i1 %tmp33, label %bb91, label %bb39
538 bb39: ; preds = %bb29
541 bb91: ; preds = %bb29
542 %tmp94 = and i32 0, 8 ; <i32> [#uses=0]
543 %tmp121 = load %struct.layer_data** @ld, align 4 ; <%struct.layer_data*> [#uses=0]
544 %tmp123 = load i32* null ; <i32> [#uses=1]
545 %tmp124 = icmp eq i32 %tmp123, 0 ; <i1> [#uses=1]
546 br i1 %tmp124, label %bb146, label %bb130
548 bb130: ; preds = %bb91
549 call void @motion_vectors( [2 x [2 x i32]]* %PMV, i32* %dmvector, [2 x i32]* %motion_vertical_field_select, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0 )
552 bb146: ; preds = %bb91
555 bb157: ; preds = %bb146, %bb130
556 %tmp159 = icmp eq i32 0, 0 ; <i1> [#uses=1]
557 br i1 %tmp159, label %bb166, label %bb630
559 bb166: ; preds = %bb157
560 %tmp180 = icmp eq i32 0, 0 ; <i1> [#uses=1]
561 br i1 %tmp180, label %bb201, label %bb186
563 bb186: ; preds = %bb166
566 bb201: ; preds = %bb166
567 %tmp205 = load i32* @backward_f_code, align 4 ; <i32> [#uses=0]
570 bb212: ; preds = %bb201, %bb186
571 %tmp214 = icmp eq i32 0, 0 ; <i1> [#uses=1]
572 br i1 %tmp214, label %bb221, label %bb630
574 bb221: ; preds = %bb212
575 %tmp22422511 = and i32 0, 1 ; <i32> [#uses=1]
576 %toBool226 = icmp eq i32 %tmp22422511, 0 ; <i1> [#uses=1]
577 br i1 %toBool226, label %bb239, label %bb230
579 bb230: ; preds = %bb221
582 bb239: ; preds = %bb221
583 %tmp241 = load i32* getelementptr (%struct.layer_data* @base, i32 0, i32 17), align 4 ; <i32> [#uses=0]
584 %tmp262 = icmp eq i32 0, 0 ; <i1> [#uses=1]
585 br i1 %tmp262, label %bb296, label %bb268
587 bb268: ; preds = %bb239
588 %tmp270 = load i32* @chroma_format, align 4 ; <i32> [#uses=1]
589 %tmp271 = icmp eq i32 %tmp270, 2 ; <i1> [#uses=1]
590 br i1 %tmp271, label %bb277, label %bb282
592 bb277: ; preds = %bb268
595 bb282: ; preds = %bb268
596 %tmp283 = load i32* @chroma_format, align 4 ; <i32> [#uses=0]
599 bb296: ; preds = %bb239
600 %tmp298 = load i32* %macroblock_type ; <i32> [#uses=1]
601 %tmp2993009 = and i32 %tmp298, 1 ; <i32> [#uses=1]
602 %toBool301 = icmp eq i32 %tmp2993009, 0 ; <i1> [#uses=1]
603 br i1 %toBool301, label %bb312, label %bb305
605 bb305: ; preds = %bb296
606 %tmp306 = load i32* @block_count, align 4 ; <i32> [#uses=0]
607 %tmp308 = add i32 0, -1 ; <i32> [#uses=0]
610 bb312: ; preds = %bb305, %bb296, %bb282, %bb277
611 %tmp313 = load i32* @Fault_Flag, align 4 ; <i32> [#uses=1]
612 %tmp314 = icmp eq i32 %tmp313, 0 ; <i1> [#uses=1]
613 br i1 %tmp314, label %bb398, label %bb630
615 bb346: ; preds = %cond_true404
616 %toBool351 = icmp eq i32 0, 0 ; <i1> [#uses=1]
617 %tmp359 = icmp ne i32 0, 0 ; <i1> [#uses=2]
618 br i1 %toBool351, label %bb372, label %bb355
620 bb355: ; preds = %bb346
621 br i1 %tmp359, label %bb365, label %bb368
623 bb365: ; preds = %bb355
626 bb368: ; preds = %bb355
627 call void @Decode_MPEG1_Intra_Block( i32 0, i32* %dc_dct_pred )
630 bb372: ; preds = %bb346
631 br i1 %tmp359, label %bb382, label %bb384
633 bb382: ; preds = %bb372
636 bb384: ; preds = %bb372
637 call void @Decode_MPEG1_Non_Intra_Block( i32 0 )
640 bb386: ; preds = %bb384, %bb382, %bb368, %bb365
641 %tmp388 = icmp eq i32 0, 0 ; <i1> [#uses=1]
642 br i1 %tmp388, label %bb395, label %bb630
644 bb395: ; preds = %cond_true404, %bb386
645 %tmp397 = add i32 0, 1 ; <i32> [#uses=0]
648 bb398: ; preds = %bb312
649 %tmp401 = icmp slt i32 0, 0 ; <i1> [#uses=1]
650 br i1 %tmp401, label %cond_true404, label %bb407
652 cond_true404: ; preds = %bb398
653 %tmp340341514 = and i32 0, 0 ; <i32> [#uses=1]
654 %toBool342 = icmp eq i32 %tmp340341514, 0 ; <i1> [#uses=1]
655 br i1 %toBool342, label %bb395, label %bb346
657 bb407: ; preds = %bb398
658 %tmp408 = load i32* @picture_coding_type, align 4 ; <i32> [#uses=0]
659 %tmp419 = load i32* %macroblock_type ; <i32> [#uses=1]
660 %tmp420 = and i32 %tmp419, 1 ; <i32> [#uses=1]
661 %tmp421 = icmp eq i32 %tmp420, 0 ; <i1> [#uses=0]
662 %tmp442 = load i32* %macroblock_type ; <i32> [#uses=1]
663 %tmp4434447 = and i32 %tmp442, 1 ; <i32> [#uses=0]
664 %tmp450 = load i32* @concealment_motion_vectors, align 4 ; <i32> [#uses=0]
665 %tmp572 = icmp eq i32 0, 4 ; <i1> [#uses=1]
666 br i1 %tmp572, label %bb578, label %bb630
668 bb578: ; preds = %bb407
669 %tmp613 = getelementptr [2 x [2 x i32]]* %PMV, i32 1, i32 1, i32 1 ; <i32*> [#uses=0]
670 %tmp618 = getelementptr [2 x [2 x i32]]* %PMV, i32 1, i32 1, i32 0 ; <i32*> [#uses=0]
671 %tmp623 = getelementptr [2 x [2 x i32]]* %PMV, i32 0, i32 1, i32 1 ; <i32*> [#uses=0]
672 %tmp628 = getelementptr [2 x [2 x i32]]* %PMV, i32 0, i32 1, i32 0 ; <i32*> [#uses=0]
675 bb630: ; preds = %bb407, %bb386, %bb312, %bb212, %bb157, %bb15
676 %tmp.0 = phi i32 [ 0, %bb15 ], [ 0, %bb157 ], [ 0, %bb212 ], [ 0, %bb312 ], [ 0, %bb386 ], [ 1, %bb407 ] ; <i32> [#uses=1]
680 declare void @motion_vectors([2 x [2 x i32]]*, i32*, [2 x i32]*, i32, i32, i32, i32, i32, i32, i32)
682 declare void @motion_vector(i32*, i32*, i32, i32, i32, i32, i32)
684 declare fastcc i32 @Get_I_macroblock_type()
686 declare fastcc i32 @Get_P_macroblock_type()
688 declare fastcc i32 @Get_B_macroblock_type()
690 declare fastcc void @Get_D_macroblock_type()
692 declare fastcc i32 @Get_I_Spatial_macroblock_type()
694 declare fastcc i32 @Get_P_Spatial_macroblock_type()
696 declare fastcc i32 @Get_B_Spatial_macroblock_type()
698 declare fastcc i32 @Get_SNR_macroblock_type()
700 declare i32 @Get_motion_code()
702 declare i32 @Get_dmvector()
704 declare fastcc void @idctrow(i16*)
706 declare fastcc void @idctcol(i16*)
708 declare void @Initialize_Fast_IDCT()
710 declare void @Initialize_Reference_IDCT()
712 declare double @cos(double)
714 declare double @floor(double)
716 declare fastcc void @decode_motion_vector(i32*, i32, i32, i32, i32)
718 declare void @Dual_Prime_Arithmetic([2 x i32]*, i32*, i32, i32)
720 declare i32 @main(i32, i8**)
722 declare i32 @open(i8*, i32, ...)
724 declare void @exit(i32)
726 declare void @llvm.memcpy.i32(i8*, i8*, i32, i32)
728 declare i32 @lseek(i32, i32, i32)
730 declare i32 @sprintf(i8*, i8*, ...)
732 declare i32 @close(i32)
734 declare fastcc void @Initialize_Decoder()
736 declare fastcc void @Initialize_Sequence()
738 declare void @Print_Bits(i32, i32, i32)
740 declare fastcc void @Process_Options(i32, i8**)
742 declare i32 @toupper(i32)
744 declare i32 @atoi(i8*)
746 declare fastcc i32 @Headers()
748 declare fastcc void @Decode_Bitstream()
750 declare fastcc void @Deinitialize_Sequence()
752 declare fastcc i32 @video_sequence(i32*)
754 declare void @Clear_Options()
756 declare fastcc void @form_prediction(i8**, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)
758 declare fastcc void @form_component_prediction(i8*, i8*, i32, i32, i32, i32, i32, i32, i32, i32, i32)
760 declare fastcc void @Read_Lower_Layer_Component_Framewise(i32, i32, i32)
762 declare i8* @strcat(i8*, i8*)
764 declare %struct.FILE* @fopen(i8*, i8*)
766 declare i32 @_IO_getc(%struct.FILE*)
768 declare i32 @fclose(%struct.FILE*)
770 declare fastcc void @Read_Lower_Layer_Component_Fieldwise(i32, i32, i32)
772 declare fastcc void @Make_Spatial_Prediction_Frame(i32, i32, i8*, i8*, i16*, i8*, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)
774 declare fastcc void @Deinterlace(i8*, i8*, i32, i32, i32, i32)
776 declare fastcc void @Subsample_Vertical(i8*, i16*, i32, i32, i32, i32, i32, i32, i32)
778 declare fastcc void @Subsample_Horizontal(i16*, i8*, i32, i32, i32, i32, i32, i32, i32)
780 declare fastcc void @store_one(i8*, i8**, i32, i32, i32)
782 declare fastcc void @store_yuv(i8*, i8**, i32, i32, i32)
784 declare fastcc void @store_yuv1(i8*, i8*, i32, i32, i32, i32)
786 declare i32 @write(...)
788 declare fastcc void @store_sif(i8*, i8**, i32, i32, i32)
790 declare fastcc void @store_ppm_tga(i8*, i8**, i32, i32, i32, i32)
792 declare fastcc void @putbyte(i32)
794 declare fastcc void @putword(i32)
796 declare fastcc void @conv422to444(i8*, i8*)
798 declare fastcc void @conv420to422(i8*, i8*)
800 declare fastcc void @Read_Frame(i8*, i8**, i32)
802 declare fastcc i32 @Read_Components(i8*, i32)
804 declare fastcc void @Read_Component(i8*, i8*, i32, i32)
806 declare fastcc i32 @Extract_Components(i8*, i32)
808 declare i32 @fseek(%struct.FILE*, i32, i32)
810 declare i32 @fread(i8*, i32, i32, %struct.FILE*)
812 declare fastcc void @Copy_Frame(i8*, i8*, i32, i32, i32, i32)
814 declare i32 @Get_Long()