1 ; RUN: llvm-as < %s | llc
4 target datalayout = "e-p:32:32:32-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"
5 target triple = "arm-linux-gnueabi"
6 %struct.AVClass = type { i8*, i8* (i8*)*, %struct.AVOption* }
7 %struct.AVCodec = type { i8*, i32, i32, i32, i32 (%struct.AVCodecContext*)*, i32 (%struct.AVCodecContext*, i8*, i32, i8*)*, i32 (%struct.AVCodecContext*)*, i32 (%struct.AVCodecContext*, i8*, i32*, i8*, i32)*, i32, %struct.AVCodec*, void (%struct.AVCodecContext*)*, %struct.AVRational*, i32* }
8 %struct.AVCodecContext = type { %struct.AVClass*, i32, i32, i32, i32, i32, i8*, i32, %struct.AVRational, i32, i32, i32, i32, i32, void (%struct.AVCodecContext*, %struct.AVFrame*, i32*, i32, i32, i32)*, i32, i32, i32, i32, i32, i32, i32, float, float, i32, i32, i32, i32, float, i32, i32, i32, %struct.AVCodec*, i8*, i32, i32, void (%struct.AVCodecContext*, i8*, i32, i32)*, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8*, [32 x i8], i32, i32, i32, i32, i32, i32, i32, float, i32, i32 (%struct.AVCodecContext*, %struct.AVFrame*)*, void (%struct.AVCodecContext*, %struct.AVFrame*)*, i32, i32, i32, i32, i8*, i8*, float, float, i32, %struct.RcOverride*, i32, i8*, i32, i32, i32, float, float, float, float, i32, float, float, float, float, float, i32, i32, i32, i32*, i32, i32, i32, i32, %struct.AVRational, %struct.AVFrame*, i32, i32, [4 x i64], i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 (%struct.AVCodecContext*, i32*)*, i32, i32, i32, i32, i32, i32, i8*, i32, i32, i32, i32, i32, i32, i16*, i16*, i32, i32, i32, i32, %struct.AVPaletteControl*, i32, i32 (%struct.AVCodecContext*, %struct.AVFrame*)*, i32, i32, i32, i32, i32, i32, i32, i32 (%struct.AVCodecContext*, i32 (%struct.AVCodecContext*, i8*)*, i8**, i32*, i32)*, i8*, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, float, i32, i32, i32, i32, i32, i32, i32, i32, float, i32, i32, i32, i32, i32, i32, float, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64 }
9 %struct.AVEvalExpr = type opaque
10 %struct.AVFrame = type { [4 x i8*], [4 x i32], [4 x i8*], i32, i32, i64, i32, i32, i32, i32, i32, i8*, i32, i8*, [2 x [2 x i16]*], i32*, i8, i8*, [4 x i64], i32, i32, i32, i32, i32, %struct.AVPanScan*, i32, i32, i16*, [2 x i8*] }
11 %struct.AVOption = type opaque
12 %struct.AVPaletteControl = type { i32, [256 x i32] }
13 %struct.AVPanScan = type { i32, i32, i32, [3 x [2 x i16]] }
14 %struct.AVRational = type { i32, i32 }
15 %struct.BlockNode = type { i16, i16, i8, [3 x i8], i8, i8 }
16 %struct.DSPContext = type { void (i16*, i8*, i32)*, void (i16*, i8*, i8*, i32)*, void (i16*, i8*, i32)*, void (i16*, i8*, i32)*, void (i16*, i8*, i32)*, void (i8*, i16*, i32)*, void (i8*, i16*, i32)*, i32 (i16*)*, void (i8*, i8*, i32, i32, i32, i32, i32)*, void (i8*, i8*, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)*, void (i16*)*, i32 (i8*, i32)*, i32 (i8*, i32)*, [5 x i32 (i8*, i8*, i8*, i32, i32)*], [5 x i32 (i8*, i8*, i8*, i32, i32)*], [5 x i32 (i8*, i8*, i8*, i32, i32)*], [5 x i32 (i8*, i8*, i8*, i32, i32)*], [5 x i32 (i8*, i8*, i8*, i32, i32)*], [5 x i32 (i8*, i8*, i8*, i32, i32)*], [5 x i32 (i8*, i8*, i8*, i32, i32)*], [5 x i32 (i8*, i8*, i8*, i32, i32)*], [5 x i32 (i8*, i8*, i8*, i32, i32)*], [5 x i32 (i8*, i8*, i8*, i32, i32)*], [5 x i32 (i8*, i8*, i8*, i32, i32)*], [5 x i32 (i8*, i8*, i8*, i32, i32)*], [5 x i32 (i8*, i8*, i8*, i32, i32)*], [5 x i32 (i8*, i8*, i8*, i32, i32)*], [5 x i32 (i8*, i8*, i8*, i32, i32)*], [5 x i32 (i8*, i8*, i8*, i32, i32)*], [5 x i32 (i8*, i8*, i8*, i32, i32)*], [5 x i32 (i8*, i8*, i8*, i32, i32)*], [5 x i32 (i8*, i8*, i8*, i32, i32)*], [5 x i32 (i8*, i8*, i8*, i32, i32)*], i32 (i8*, i16*, i32)*, [4 x [4 x void (i8*, i8*, i32, i32)*]], [4 x [4 x void (i8*, i8*, i32, i32)*]], [4 x [4 x void (i8*, i8*, i32, i32)*]], [4 x [4 x void (i8*, i8*, i32, i32)*]], [2 x void (i8*, i8*, i8*, i32, i32)*], [11 x void (i8*, i8*, i32, i32, i32)*], [11 x void (i8*, i8*, i32, i32, i32)*], [2 x [16 x void (i8*, i8*, i32)*]], [2 x [16 x void (i8*, i8*, i32)*]], [2 x [16 x void (i8*, i8*, i32)*]], [2 x [16 x void (i8*, i8*, i32)*]], [8 x void (i8*, i8*, i32)*], [3 x void (i8*, i8*, i32, i32, i32, i32)*], [3 x void (i8*, i8*, i32, i32, i32, i32)*], [3 x void (i8*, i8*, i32, i32, i32, i32)*], [4 x [16 x void (i8*, i8*, i32)*]], [4 x [16 x void (i8*, i8*, i32)*]], [4 x [16 x void (i8*, i8*, i32)*]], [4 x [16 x void (i8*, i8*, i32)*]], [10 x void (i8*, i32, i32, i32, i32)*], [10 x void (i8*, i8*, i32, i32, i32, i32, i32)*], [2 x [16 x void (i8*, i8*, i32)*]], [2 x [16 x void (i8*, i8*, i32)*]], void (i8*, i32, i32, i32, i32, i32, i32)*, void (i8*, i32, i32, i32, i32, i32, i32)*, void (i8*, i32, i32, i32, i32, i32, i32)*, void (i8*, i32, i32, i32, i32, i32, i32)*, void (i8*, i16*, i32)*, [2 x [4 x i32 (i8*, i8*, i8*, i32, i32)*]], void (i8*, i8*, i32)*, void (i8*, i8*, i8*, i32)*, void (i8*, i8*, i8*, i32, i32*, i32*)*, void (i32*, i32*, i32)*, void (i8*, i32, i32, i32, i8*)*, void (i8*, i32, i32, i32, i8*)*, void (i8*, i32, i32, i32, i8*)*, void (i8*, i32, i32, i32, i8*)*, void (i8*, i32, i32, i32)*, void (i8*, i32, i32, i32)*, void ([4 x [4 x i16]]*, i8*, [40 x i8]*, [40 x [2 x i16]]*, i32, i32, i32, i32, i32)*, void (i8*, i32, i32)*, void (i8*, i32, i32)*, void (i8*, i32)*, void (float*, float*, i32)*, void (float*, float*, i32)*, void (float*, float*, float*, i32)*, void (float*, float*, float*, float*, i32, i32, i32)*, void (i16*, float*, i32)*, void (i16*)*, void (i16*)*, void (i16*)*, void (i8*, i32, i16*)*, void (i8*, i32, i16*)*, [64 x i8], i32, i32 (i16*, i16*, i16*, i32)*, void (i16*, i16*, i32)*, void (i8*, i16*, i32)*, void (i8*, i16*, i32)*, void (i8*, i16*, i32)*, void (i8*, i16*, i32)*, void ([4 x i16]*)*, void (i32*, i32*, i32*, i32*, i32*, i32*, i32)*, void (i32*, i32)*, void (i8*, i32, i8**, i32, i32, i32, i32, i32, %struct.slice_buffer*, i32, i8*)*, void (i8*, i32, i32)*, [4 x void (i8*, i32, i8*, i32, i32, i32)*], void (i16*)*, void (i16*, i32)*, void (i16*, i32)*, void (i16*, i32)*, void (i8*, i32)*, void (i8*, i32)*, [16 x void (i8*, i8*, i32, i32)*] }
17 %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] }
18 %struct.GetBitContext = type { i8*, i8*, i32*, i32, i32, i32, i32 }
19 %struct.MJpegContext = type opaque
20 %struct.MotionEstContext = type { %struct.AVCodecContext*, i32, [4 x [2 x i32]], [4 x [2 x i32]], i8*, i8*, [2 x i8*], i8*, i32, i32*, i32*, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [4 x [4 x i8*]], [4 x [4 x i8*]], i32, i32, i32, i32, i32, [4 x void (i8*, i8*, i32, i32)*]*, [4 x void (i8*, i8*, i32, i32)*]*, [16 x void (i8*, i8*, i32)*]*, [16 x void (i8*, i8*, i32)*]*, [4097 x i8]*, i8*, i32 (%struct.MpegEncContext*, i32*, i32*, i32, i32, i32, i32, i32)* }
21 %struct.MpegEncContext = type { %struct.AVCodecContext*, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.PutBitContext, i32, i32, i32, i32, i32, i32, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.Picture*, %struct.Picture**, %struct.Picture**, i32, i32, [8 x %struct.MpegEncContext*], %struct.Picture, %struct.Picture, %struct.Picture, %struct.Picture, %struct.Picture*, %struct.Picture*, %struct.Picture*, [3 x i8*], [3 x i32], i16*, [3 x i16*], [20 x i16], i32, i32, i8*, i8*, i8*, i8*, i8*, [16 x i16]*, [3 x [16 x i16]*], i32, i8*, i32, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i32, i32, i32, i32, i32*, i32, i32, i32, i32, i32, i32, i32, [5 x i32], i32, i32, i32, i32, %struct.DSPContext, i32, i32, [2 x i16]*, [2 x i16]*, [2 x i16]*, [2 x i16]*, [2 x i16]*, [2 x i16]*, [2 x [2 x [2 x i16]*]], [2 x [2 x [2 x [2 x i16]*]]], [2 x i16]*, [2 x i16]*, [2 x i16]*, [2 x i16]*, [2 x i16]*, [2 x i16]*, [2 x [2 x [2 x i16]*]], [2 x [2 x [2 x [2 x i16]*]]], [2 x i8*], [2 x [2 x i8*]], i32, i32, i32, [2 x [4 x [2 x i32]]], [2 x [2 x i32]], [2 x [2 x [2 x i32]]], i8*, [2 x [64 x i16]], %struct.MotionEstContext, i32, i32, i32, i32, i32, i32, i16*, [6 x i32], [6 x i32], [3 x i8*], i32*, [64 x i16], [64 x i16], [64 x i16], [64 x i16], i32, i32, i32, i32, i32, i8*, i8*, i8*, i8*, i8*, i8*, [8 x i32], [64 x i32]*, [64 x i32]*, [2 x [64 x i16]]*, [2 x [64 x i16]]*, [12 x i32], %struct.ScanTable, %struct.ScanTable, %struct.ScanTable, %struct.ScanTable, [64 x i32]*, [2 x i32], [64 x i16]*, i8*, i64, i64, i32, i32, %struct.RateControlContext, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8*, i32, i32, %struct.GetBitContext, i32, i32, i32, %struct.ParseContext, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i64, i16, i16, i16, i16, i32, i32, i32, i32, i32, i32, i32, i32, i32, [2 x [2 x i32]], [2 x [2 x i32]], [2 x i32], i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.PutBitContext, %struct.PutBitContext, i32, i32, i32, i32, i32, i32, i8*, i32, i32, i32, i32, i32, [3 x i32], %struct.MJpegContext*, [3 x i32], [3 x i32], i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [2 x [65 x [65 x [2 x i32]]]]*, i32, i32, %struct.GetBitContext, i32, i32, i32, i8*, i32, [2 x [2 x i32]], i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [2 x i32], i32, i32, i32, i32, i8*, i32, [12 x i16*], [64 x i16]*, [8 x [64 x i16]]*, i32 (%struct.MpegEncContext*, [64 x i16]*)*, void (%struct.MpegEncContext*, i16*, i32, i32)*, void (%struct.MpegEncContext*, i16*, i32, i32)*, void (%struct.MpegEncContext*, i16*, i32, i32)*, void (%struct.MpegEncContext*, i16*, i32, i32)*, void (%struct.MpegEncContext*, i16*, i32, i32)*, void (%struct.MpegEncContext*, i16*, i32, i32)*, void (%struct.MpegEncContext*, i16*, i32, i32)*, void (%struct.MpegEncContext*, i16*, i32, i32)*, void (%struct.MpegEncContext*, i16*, i32, i32)*, void (%struct.MpegEncContext*, i16*, i32, i32)*, i32 (%struct.MpegEncContext*, i16*, i32, i32, i32*)*, i32 (%struct.MpegEncContext*, i16*, i32, i32, i32*)*, void (%struct.MpegEncContext*, i16*)* }
22 %struct.ParseContext = type { i8*, i32, i32, i32, i32, i32, i32, i32 }
23 %struct.Picture = type { [4 x i8*], [4 x i32], [4 x i8*], i32, i32, i64, i32, i32, i32, i32, i32, i8*, i32, i8*, [2 x [2 x i16]*], i32*, i8, i8*, [4 x i64], i32, i32, i32, i32, i32, %struct.AVPanScan*, i32, i32, i16*, [2 x i8*], [3 x i8*], [2 x [2 x i16]*], i32*, [2 x i32], i32, i32, i32, i32, [2 x [16 x i32]], [2 x i32], i32, i32, i16*, i16*, i8*, i32*, i32 }
24 %struct.Plane = type { i32, i32, [8 x [4 x %struct.SubBand]] }
25 %struct.Predictor = type { double, double, double }
26 %struct.PutBitContext = type { i32, i32, i8*, i8*, i8* }
27 %struct.RangeCoder = type { i32, i32, i32, i32, [256 x i8], [256 x i8], i8*, i8*, i8* }
28 %struct.RateControlContext = type { %struct.FILE*, i32, %struct.RateControlEntry*, double, [5 x %struct.Predictor], double, double, double, double, double, [5 x double], i32, i32, [5 x i64], [5 x i64], [5 x i64], [5 x i64], [5 x i32], i32, i8*, float, i32, %struct.AVEvalExpr* }
29 %struct.RateControlEntry = type { i32, float, i32, i32, i32, i32, i32, i64, i32, float, i32, i32, i32, i32, i32, i32 }
30 %struct.RcOverride = type { i32, i32, i32, float }
31 %struct.ScanTable = type { i8*, [64 x i8], [64 x i8] }
32 %struct.SnowContext = type { %struct.AVCodecContext*, %struct.RangeCoder, %struct.DSPContext, %struct.AVFrame, %struct.AVFrame, %struct.AVFrame, [8 x %struct.AVFrame], %struct.AVFrame, [32 x i8], [4224 x i8], i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [8 x [2 x i16]*], [8 x i32*], i32*, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [4 x %struct.Plane], %struct.BlockNode*, [1024 x i32], i32, %struct.slice_buffer, %struct.MpegEncContext }
33 %struct.SubBand = type { i32, i32, i32, i32, i32, i32*, i32, i32, i32, %struct.x_and_coeff*, %struct.SubBand*, [519 x [32 x i8]] }
34 %struct._IO_marker = type { %struct._IO_marker*, %struct.FILE*, i32 }
35 %struct.slice_buffer = type { i32**, i32**, i32, i32, i32, i32, i32* }
36 %struct.x_and_coeff = type { i16, i16 }
38 define fastcc void @iterative_me(%struct.SnowContext* %s) {
40 %state = alloca [4224 x i8], align 8 ; <[4224 x i8]*> [#uses=0]
41 %best_rd4233 = alloca i32, align 4 ; <i32*> [#uses=0]
42 %tmp21 = getelementptr %struct.SnowContext* %s, i32 0, i32 36 ; <i32*> [#uses=2]
45 bb79: ; preds = %bb4189.preheader
46 br i1 false, label %cond_next239, label %cond_true
48 cond_true: ; preds = %bb79
51 cond_next239: ; preds = %bb79
52 %tmp286 = alloca i8, i32 0 ; <i8*> [#uses=0]
55 bb4198: ; preds = %bb4189.preheader, %entry
56 br i1 false, label %bb4189.preheader, label %bb4204
58 bb4189.preheader: ; preds = %bb4198
59 br i1 false, label %bb79, label %bb4198
61 bb4204: ; preds = %bb4198
62 br i1 false, label %bb4221, label %cond_next4213
64 cond_next4213: ; preds = %bb4204
67 bb4221: ; preds = %bb4204
68 br i1 false, label %bb5242.preheader, label %UnifiedReturnBlock
70 bb5242.preheader: ; preds = %bb4221
73 bb4231: ; preds = %bb5233
74 %tmp4254.sum = add i32 0, 1 ; <i32> [#uses=2]
75 br i1 false, label %bb4559, label %cond_next4622
77 bb4559: ; preds = %bb4231
80 cond_next4622: ; preds = %bb4231
81 %tmp4637 = load i16* null ; <i16> [#uses=1]
82 %tmp46374638 = sext i16 %tmp4637 to i32 ; <i32> [#uses=1]
83 %tmp4642 = load i16* null ; <i16> [#uses=1]
84 %tmp46424643 = sext i16 %tmp4642 to i32 ; <i32> [#uses=1]
85 %tmp4648 = load i16* null ; <i16> [#uses=1]
86 %tmp46484649 = sext i16 %tmp4648 to i32 ; <i32> [#uses=1]
87 %tmp4653 = getelementptr %struct.BlockNode* null, i32 %tmp4254.sum, i32 0 ; <i16*> [#uses=1]
88 %tmp4654 = load i16* %tmp4653 ; <i16> [#uses=1]
89 %tmp46544655 = sext i16 %tmp4654 to i32 ; <i32> [#uses=1]
90 %tmp4644 = add i32 %tmp46374638, 2 ; <i32> [#uses=1]
91 %tmp4650 = add i32 %tmp4644, %tmp46424643 ; <i32> [#uses=1]
92 %tmp4656 = add i32 %tmp4650, %tmp46484649 ; <i32> [#uses=1]
93 %tmp4657 = add i32 %tmp4656, %tmp46544655 ; <i32> [#uses=2]
94 %tmp4658 = ashr i32 %tmp4657, 2 ; <i32> [#uses=1]
95 %tmp4662 = load i16* null ; <i16> [#uses=1]
96 %tmp46624663 = sext i16 %tmp4662 to i32 ; <i32> [#uses=1]
97 %tmp4672 = getelementptr %struct.BlockNode* null, i32 0, i32 1 ; <i16*> [#uses=1]
98 %tmp4673 = load i16* %tmp4672 ; <i16> [#uses=1]
99 %tmp46734674 = sext i16 %tmp4673 to i32 ; <i32> [#uses=1]
100 %tmp4678 = getelementptr %struct.BlockNode* null, i32 %tmp4254.sum, i32 1 ; <i16*> [#uses=1]
101 %tmp4679 = load i16* %tmp4678 ; <i16> [#uses=1]
102 %tmp46794680 = sext i16 %tmp4679 to i32 ; <i32> [#uses=1]
103 %tmp4669 = add i32 %tmp46624663, 2 ; <i32> [#uses=1]
104 %tmp4675 = add i32 %tmp4669, 0 ; <i32> [#uses=1]
105 %tmp4681 = add i32 %tmp4675, %tmp46734674 ; <i32> [#uses=1]
106 %tmp4682 = add i32 %tmp4681, %tmp46794680 ; <i32> [#uses=2]
107 %tmp4683 = ashr i32 %tmp4682, 2 ; <i32> [#uses=1]
108 %tmp4703 = load i32* %tmp21 ; <i32> [#uses=1]
109 %tmp4707 = shl i32 %tmp4703, 0 ; <i32> [#uses=4]
110 %tmp4710 = load %struct.BlockNode** null ; <%struct.BlockNode*> [#uses=6]
111 %tmp4713 = mul i32 %tmp4707, %mb_y.4 ; <i32> [#uses=1]
112 %tmp4715 = add i32 %tmp4713, %mb_x.7 ; <i32> [#uses=7]
115 %tmp47594761 = bitcast %struct.BlockNode* null to i8* ; <i8*> [#uses=2]
116 call void @llvm.memcpy.i32( i8* null, i8* %tmp47594761, i32 10, i32 0 )
117 %tmp4716.sum5775 = add i32 %tmp4715, 1 ; <i32> [#uses=1]
118 %tmp4764 = getelementptr %struct.BlockNode* %tmp4710, i32 %tmp4716.sum5775 ; <%struct.BlockNode*> [#uses=1]
119 %tmp47644766 = bitcast %struct.BlockNode* %tmp4764 to i8* ; <i8*> [#uses=1]
120 %tmp4716.sum5774 = add i32 %tmp4715, %tmp4707 ; <i32> [#uses=0]
121 %tmp47704772 = bitcast %struct.BlockNode* null to i8* ; <i8*> [#uses=1]
122 %tmp4774 = add i32 %tmp4707, 1 ; <i32> [#uses=1]
123 %tmp4716.sum5773 = add i32 %tmp4774, %tmp4715 ; <i32> [#uses=1]
124 %tmp4777 = getelementptr %struct.BlockNode* %tmp4710, i32 %tmp4716.sum5773 ; <%struct.BlockNode*> [#uses=1]
125 %tmp47774779 = bitcast %struct.BlockNode* %tmp4777 to i8* ; <i8*> [#uses=1]
126 %tmp4781 = icmp slt i32 %mb_x.7, 0 ; <i1> [#uses=1]
127 %tmp4788 = or i1 %tmp4781, %tmp4784 ; <i1> [#uses=2]
128 br i1 %tmp4788, label %cond_true4791, label %cond_next4794
130 cond_true4791: ; preds = %cond_next4622
133 cond_next4794: ; preds = %cond_next4622
134 %tmp4797 = icmp slt i32 %mb_x.7, %tmp4707 ; <i1> [#uses=1]
135 br i1 %tmp4797, label %cond_next4803, label %cond_true4800
137 cond_true4800: ; preds = %cond_next4794
140 cond_next4803: ; preds = %cond_next4794
141 %tmp4825 = ashr i32 %tmp4657, 12 ; <i32> [#uses=1]
142 shl i32 %tmp4682, 4 ; <i32>:0 [#uses=1]
143 %tmp4828 = and i32 %0, -64 ; <i32> [#uses=1]
144 %tmp4831 = getelementptr %struct.BlockNode* %tmp4710, i32 %tmp4715, i32 2 ; <i8*> [#uses=0]
145 %tmp4826 = add i32 %tmp4828, %tmp4825 ; <i32> [#uses=1]
146 %tmp4829 = add i32 %tmp4826, 0 ; <i32> [#uses=1]
147 %tmp4835 = add i32 %tmp4829, 0 ; <i32> [#uses=1]
148 store i32 %tmp4835, i32* null
149 %tmp48534854 = trunc i32 %tmp4658 to i16 ; <i16> [#uses=1]
150 %tmp4856 = getelementptr %struct.BlockNode* %tmp4710, i32 %tmp4715, i32 0 ; <i16*> [#uses=1]
151 store i16 %tmp48534854, i16* %tmp4856
152 %tmp48574858 = trunc i32 %tmp4683 to i16 ; <i16> [#uses=1]
153 %tmp4860 = getelementptr %struct.BlockNode* %tmp4710, i32 %tmp4715, i32 1 ; <i16*> [#uses=1]
154 store i16 %tmp48574858, i16* %tmp4860
155 %tmp4866 = getelementptr %struct.BlockNode* %tmp4710, i32 %tmp4715, i32 4 ; <i8*> [#uses=0]
156 br i1 false, label %bb4933, label %cond_false4906
158 cond_false4906: ; preds = %cond_next4803
159 call void @llvm.memcpy.i32( i8* %tmp47594761, i8* null, i32 10, i32 0 )
160 call void @llvm.memcpy.i32( i8* %tmp47644766, i8* null, i32 10, i32 0 )
161 call void @llvm.memcpy.i32( i8* %tmp47704772, i8* null, i32 10, i32 0 )
162 call void @llvm.memcpy.i32( i8* %tmp47774779, i8* null, i32 10, i32 0 )
165 bb4933: ; preds = %bb5215, %cond_next4803
166 br i1 false, label %cond_true4944, label %bb5215
168 cond_true4944: ; preds = %bb4933
169 %tmp4982 = load i32* %tmp21 ; <i32> [#uses=1]
170 %tmp4986 = shl i32 %tmp4982, 0 ; <i32> [#uses=2]
171 %tmp4992 = mul i32 %tmp4986, %mb_y.4 ; <i32> [#uses=1]
172 %tmp4994 = add i32 %tmp4992, %mb_x.7 ; <i32> [#uses=5]
173 %tmp4995.sum5765 = add i32 %tmp4994, 1 ; <i32> [#uses=1]
174 %tmp5043 = getelementptr %struct.BlockNode* null, i32 %tmp4995.sum5765 ; <%struct.BlockNode*> [#uses=1]
175 %tmp50435045 = bitcast %struct.BlockNode* %tmp5043 to i8* ; <i8*> [#uses=2]
176 call void @llvm.memcpy.i32( i8* null, i8* %tmp50435045, i32 10, i32 0 )
177 %tmp4995.sum5764 = add i32 %tmp4994, %tmp4986 ; <i32> [#uses=1]
178 %tmp5049 = getelementptr %struct.BlockNode* null, i32 %tmp4995.sum5764 ; <%struct.BlockNode*> [#uses=1]
179 %tmp50495051 = bitcast %struct.BlockNode* %tmp5049 to i8* ; <i8*> [#uses=2]
180 call void @llvm.memcpy.i32( i8* null, i8* %tmp50495051, i32 10, i32 0 )
181 %tmp4995.sum5763 = add i32 0, %tmp4994 ; <i32> [#uses=1]
182 %tmp5056 = getelementptr %struct.BlockNode* null, i32 %tmp4995.sum5763 ; <%struct.BlockNode*> [#uses=1]
183 %tmp50565058 = bitcast %struct.BlockNode* %tmp5056 to i8* ; <i8*> [#uses=1]
184 br i1 %tmp4788, label %cond_true5070, label %cond_next5073
186 cond_true5070: ; preds = %cond_true4944
189 cond_next5073: ; preds = %cond_true4944
190 %tmp5139 = getelementptr %struct.BlockNode* null, i32 %tmp4994, i32 1 ; <i16*> [#uses=0]
191 %tmp5145 = getelementptr %struct.BlockNode* null, i32 %tmp4994, i32 4 ; <i8*> [#uses=0]
192 call void @llvm.memcpy.i32( i8* %tmp50435045, i8* null, i32 10, i32 0 )
193 call void @llvm.memcpy.i32( i8* %tmp50495051, i8* null, i32 10, i32 0 )
194 call void @llvm.memcpy.i32( i8* %tmp50565058, i8* null, i32 10, i32 0 )
197 bb5215: ; preds = %cond_next5073, %bb4933, %cond_false4906
198 %i4232.3 = phi i32 [ 0, %cond_false4906 ], [ 0, %cond_next5073 ], [ 0, %bb4933 ] ; <i32> [#uses=1]
199 %tmp5217 = icmp slt i32 %i4232.3, 4 ; <i1> [#uses=1]
200 br i1 %tmp5217, label %bb4933, label %bb5220
202 bb5220: ; preds = %bb5215
203 br i1 false, label %bb5230, label %cond_true5226
205 cond_true5226: ; preds = %bb5220
208 bb5230: ; preds = %bb5220
209 %indvar.next = add i32 %indvar, 1 ; <i32> [#uses=1]
212 bb5233: ; preds = %bb5233.preheader, %bb5230
213 %indvar = phi i32 [ 0, %bb5233.preheader ], [ %indvar.next, %bb5230 ] ; <i32> [#uses=2]
214 %mb_x.7 = shl i32 %indvar, 1 ; <i32> [#uses=4]
215 br i1 false, label %bb4231, label %bb5239
217 bb5239: ; preds = %bb5233
218 %indvar.next37882 = add i32 %indvar37881, 1 ; <i32> [#uses=1]
221 bb5242: ; preds = %bb5239, %bb5242.preheader
222 %indvar37881 = phi i32 [ 0, %bb5242.preheader ], [ %indvar.next37882, %bb5239 ] ; <i32> [#uses=2]
223 %mb_y.4 = shl i32 %indvar37881, 1 ; <i32> [#uses=3]
224 br i1 false, label %bb5233.preheader, label %bb5248
226 bb5233.preheader: ; preds = %bb5242
227 %tmp4784 = icmp slt i32 %mb_y.4, 0 ; <i1> [#uses=1]
230 bb5248: ; preds = %bb5242
233 UnifiedReturnBlock: ; preds = %bb4221
237 declare void @llvm.memcpy.i32(i8*, i8*, i32, i32)