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