1 ; RUN: opt < %s -basicaa -slp-vectorizer -dce -S -mtriple=x86_64-apple-macosx10.8.0 -mcpu=corei7
3 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-n8:16:32:64-S128"
4 target triple = "x86_64-apple-macosx10.8.0"
6 ; Function Attrs: nounwind ssp uwtable
7 define void @RCModelEstimator() {
9 br i1 undef, label %for.body.lr.ph, label %for.end.thread
11 for.end.thread: ; preds = %entry
14 for.body.lr.ph: ; preds = %entry
15 br i1 undef, label %for.end, label %for.body
17 for.body: ; preds = %for.body, %for.body.lr.ph
18 br i1 undef, label %for.end, label %for.body
20 for.end: ; preds = %for.body, %for.body.lr.ph
21 br i1 undef, label %for.body3, label %if.end103
23 for.cond14.preheader: ; preds = %for.inc11
24 br i1 undef, label %for.body16.lr.ph, label %if.end103
26 for.body16.lr.ph: ; preds = %for.cond14.preheader
29 for.body3: ; preds = %for.inc11, %for.end
30 br i1 undef, label %if.then7, label %for.inc11
32 if.then7: ; preds = %for.body3
35 for.inc11: ; preds = %if.then7, %for.body3
36 br i1 false, label %for.cond14.preheader, label %for.body3
38 for.body16: ; preds = %for.body16, %for.body16.lr.ph
39 br i1 undef, label %for.end39, label %for.body16
41 for.end39: ; preds = %for.body16
42 br i1 undef, label %if.end103, label %for.cond45.preheader
44 for.cond45.preheader: ; preds = %for.end39
45 br i1 undef, label %if.then88, label %if.else
47 if.then88: ; preds = %for.cond45.preheader
48 %mul89 = fmul double 0.000000e+00, 0.000000e+00
49 %mul90 = fmul double 0.000000e+00, 0.000000e+00
50 %sub91 = fsub double %mul89, %mul90
51 %div92 = fdiv double %sub91, undef
52 %mul94 = fmul double 0.000000e+00, 0.000000e+00
53 %mul95 = fmul double 0.000000e+00, 0.000000e+00
54 %sub96 = fsub double %mul94, %mul95
55 %div97 = fdiv double %sub96, undef
58 if.else: ; preds = %for.cond45.preheader
61 if.end103: ; preds = %if.else, %if.then88, %for.end39, %for.cond14.preheader, %for.end
62 %0 = phi double [ 0.000000e+00, %for.end39 ], [ %div97, %if.then88 ], [ 0.000000e+00, %if.else ], [ 0.000000e+00, %for.cond14.preheader ], [ 0.000000e+00, %for.end ]
63 %1 = phi double [ undef, %for.end39 ], [ %div92, %if.then88 ], [ undef, %if.else ], [ 0.000000e+00, %for.cond14.preheader ], [ 0.000000e+00, %for.end ]
68 define void @intrapred_luma() {
70 %conv153 = trunc i32 undef to i16
71 %arrayidx154 = getelementptr inbounds [13 x i16]* undef, i64 0, i64 12
72 store i16 %conv153, i16* %arrayidx154, align 8
73 %arrayidx155 = getelementptr inbounds [13 x i16]* undef, i64 0, i64 11
74 store i16 %conv153, i16* %arrayidx155, align 2
75 %arrayidx156 = getelementptr inbounds [13 x i16]* undef, i64 0, i64 10
76 store i16 %conv153, i16* %arrayidx156, align 4
80 define fastcc void @dct36(double* %inbuf) {
82 %arrayidx41 = getelementptr inbounds double* %inbuf, i64 2
83 %arrayidx44 = getelementptr inbounds double* %inbuf, i64 1
84 %0 = load double* %arrayidx44, align 8
85 %add46 = fadd double %0, undef
86 store double %add46, double* %arrayidx41, align 8
87 %1 = load double* %inbuf, align 8
88 %add49 = fadd double %1, %0
89 store double %add49, double* %arrayidx44, align 8