1 ; RUN: llc < %s -mtriple=thumbv7-apple-darwin10 -mcpu=cortex-a8
3 %struct.FILE = type { ptr, i32, i32, i16, i16, %struct.__sbuf, i32, ptr, ptr, ptr, ptr, ptr, %struct.__sbuf, ptr, i32, [3 x i8], [1 x i8], %struct.__sbuf, i32, i64 }
4 %struct.JHUFF_TBL = type { [17 x i8], [256 x i8], i32 }
5 %struct.JQUANT_TBL = type { [64 x i16], i32 }
6 %struct.__sFILEX = type opaque
7 %struct.__sbuf = type { ptr, i32 }
8 %struct.anon = type { [8 x i32], [48 x i8] }
9 %struct.backing_store_info = type { ptr, ptr, ptr, ptr, [64 x i8] }
10 %struct.jpeg_color_deconverter = type { ptr, ptr }
11 %struct.jpeg_color_quantizer = type { ptr, ptr, ptr, ptr }
12 %struct.jpeg_common_struct = type { ptr, ptr, ptr, i32, i32 }
13 %struct.jpeg_component_info = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr }
14 %struct.jpeg_d_coef_controller = type { ptr, ptr, ptr, ptr, ptr }
15 %struct.jpeg_d_main_controller = type { ptr, ptr }
16 %struct.jpeg_d_post_controller = type { ptr, ptr }
17 %struct.jpeg_decomp_master = type { ptr, ptr, i32 }
18 %struct.jpeg_decompress_struct = type { ptr, ptr, ptr, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, i32, i32, i32, i32, i32, ptr, [4 x ptr], [4 x ptr], [4 x ptr], i32, ptr, i32, i32, [16 x i8], [16 x i8], [16 x i8], i32, i32, i8, i16, i16, i32, i8, i32, i32, i32, i32, i32, ptr, i32, [4 x ptr], i32, i32, i32, [10 x i32], i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
19 %struct.jpeg_entropy_decoder = type { ptr, ptr }
20 %struct.jpeg_error_mgr = type { ptr, ptr, ptr, ptr, ptr, i32, %struct.anon, i32, i32, ptr, i32, ptr, i32, i32 }
21 %struct.jpeg_input_controller = type { ptr, ptr, ptr, ptr, i32, i32 }
22 %struct.jpeg_inverse_dct = type { ptr, [10 x ptr] }
23 %struct.jpeg_marker_reader = type { ptr, ptr, ptr, ptr, [16 x ptr], i32, i32, i32, i32 }
24 %struct.jpeg_memory_mgr = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32 }
25 %struct.jpeg_progress_mgr = type { ptr, i32, i32, i32, i32 }
26 %struct.jpeg_source_mgr = type { ptr, i32, ptr, ptr, ptr, ptr, ptr }
27 %struct.jpeg_upsampler = type { ptr, ptr, i32 }
28 %struct.jvirt_barray_control = type { ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, %struct.backing_store_info }
29 %struct.jvirt_sarray_control = type { ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, %struct.backing_store_info }
31 define void @jpeg_idct_float(ptr nocapture %cinfo, ptr nocapture %compptr, ptr nocapture %coef_block, ptr nocapture %output_buf, i32 %output_col) nounwind {
35 bb: ; preds = %bb, %entry
36 %0 = load float, ptr undef, align 4 ; <float> [#uses=1]
37 %1 = fmul float undef, %0 ; <float> [#uses=2]
38 %tmp73 = add i32 0, 224 ; <i32> [#uses=1]
39 %scevgep74 = getelementptr i8, ptr null, i32 %tmp73 ; <ptr> [#uses=1]
40 %2 = load float, ptr null, align 4 ; <float> [#uses=1]
41 %3 = fmul float 0.000000e+00, %2 ; <float> [#uses=2]
42 %4 = fadd float %1, %3 ; <float> [#uses=1]
43 %5 = fsub float %1, %3 ; <float> [#uses=2]
44 %6 = fadd float undef, 0.000000e+00 ; <float> [#uses=2]
45 %7 = fmul float undef, 0x3FF6A09E60000000 ; <float> [#uses=1]
46 %8 = fsub float %7, %6 ; <float> [#uses=2]
47 %9 = fsub float %4, %6 ; <float> [#uses=1]
48 %10 = fadd float %5, %8 ; <float> [#uses=2]
49 %11 = fsub float %5, %8 ; <float> [#uses=1]
50 %12 = sitofp i16 undef to float ; <float> [#uses=1]
51 %13 = fmul float %12, 0.000000e+00 ; <float> [#uses=2]
52 %14 = sitofp i16 undef to float ; <float> [#uses=1]
53 %15 = load float, ptr %scevgep74, align 4 ; <float> [#uses=1]
54 %16 = fmul float %14, %15 ; <float> [#uses=2]
55 %17 = fadd float undef, undef ; <float> [#uses=2]
56 %18 = fadd float %13, %16 ; <float> [#uses=2]
57 %19 = fsub float %13, %16 ; <float> [#uses=1]
58 %20 = fadd float %18, %17 ; <float> [#uses=2]
59 %21 = fsub float %18, %17 ; <float> [#uses=1]
60 %22 = fmul float %21, 0x3FF6A09E60000000 ; <float> [#uses=1]
61 %23 = fmul float undef, 0x3FFD906BC0000000 ; <float> [#uses=2]
62 %24 = fmul float %19, 0x3FF1517A80000000 ; <float> [#uses=1]
63 %25 = fsub float %24, %23 ; <float> [#uses=1]
64 %26 = fadd float undef, %23 ; <float> [#uses=1]
65 %27 = fsub float %26, %20 ; <float> [#uses=3]
66 %28 = fsub float %22, %27 ; <float> [#uses=2]
67 %29 = fadd float %25, %28 ; <float> [#uses=1]
68 %30 = fadd float undef, %20 ; <float> [#uses=1]
69 store float %30, ptr undef, align 4
70 %31 = fadd float %10, %27 ; <float> [#uses=1]
71 store float %31, ptr undef, align 4
72 %32 = fsub float %10, %27 ; <float> [#uses=1]
73 store float %32, ptr undef, align 4
74 %33 = fadd float %11, %28 ; <float> [#uses=1]
75 store float %33, ptr undef, align 4
76 %34 = fsub float %9, %29 ; <float> [#uses=1]
77 store float %34, ptr undef, align 4