1 ; RUN: llc < %s -mtriple=arm-apple-darwin
3 @numBinsY = external global i32 ; <i32*> [#uses=1]
5 declare double @pow(double, double)
7 define void @main(i32 %argc, i8** %argv) noreturn nounwind {
9 br i1 false, label %bb34.outer.i.i.i, label %cond_false674
10 bb34.outer.i.i.i: ; preds = %entry
11 br i1 false, label %bb2.i.i.i, label %bb47.i.i.i
12 bb2.i.i.i: ; preds = %bb34.outer.i.i.i
13 %tmp24.i.i.i = call double @pow( double 0.000000e+00, double 2.000000e+00 ) ; <double> [#uses=0]
15 bb47.i.i.i: ; preds = %bb34.outer.i.i.i
16 br i1 false, label %bb220.i.i.i, label %bb62.preheader.i.i.i
17 bb62.preheader.i.i.i: ; preds = %bb47.i.i.i
19 bb220.i.i.i: ; preds = %bb47.i.i.i
20 br i1 false, label %bb248.i.i.i, label %cond_next232.i.i.i
21 cond_next232.i.i.i: ; preds = %bb220.i.i.i
23 bb248.i.i.i: ; preds = %bb220.i.i.i
24 br i1 false, label %bb300.i.i.i, label %cond_false256.i.i.i
25 cond_false256.i.i.i: ; preds = %bb248.i.i.i
27 bb300.i.i.i: ; preds = %bb248.i.i.i
28 store i32 undef, i32* @numBinsY, align 4
30 cond_false674: ; preds = %entry
34 %struct.anon = type { %struct.rnode*, %struct.rnode* }
35 %struct.ch_set = type { { i8, i8 }*, %struct.ch_set* }
36 %struct.pat_list = type { i32, %struct.pat_list* }
37 %struct.rnode = type { i16, { %struct.anon }, i16, %struct.pat_list*, %struct.pat_list* }
39 define fastcc { i16, %struct.rnode* }* @get_token(i8** %s) nounwind {
41 br i1 false, label %bb42, label %bb78
42 bb42: ; preds = %entry
43 br label %cond_next119.i
44 bb17.i: ; preds = %cond_next119.i
45 br i1 false, label %cond_true53.i, label %cond_false99.i
46 cond_true53.i: ; preds = %bb17.i
47 ret { i16, %struct.rnode* }* null
48 cond_false99.i: ; preds = %bb17.i
49 %malloccall = tail call i8* @malloc(i32 trunc (i64 mul nuw (i64 ptrtoint (i1** getelementptr (i1** null, i32 1) to i64), i64 2) to i32))
50 %tmp106.i = bitcast i8* %malloccall to %struct.ch_set*
51 br i1 false, label %bb126.i, label %cond_next119.i
52 cond_next119.i: ; preds = %cond_false99.i, %bb42
53 %curr_ptr.0.reg2mem.0.i = phi %struct.ch_set* [ %tmp106.i, %cond_false99.i ], [ null, %bb42 ] ; <%struct.ch_set*> [#uses=2]
54 %prev_ptr.0.reg2mem.0.i = phi %struct.ch_set* [ %curr_ptr.0.reg2mem.0.i, %cond_false99.i ], [ undef, %bb42 ] ; <%struct.ch_set*> [#uses=1]
55 br i1 false, label %bb126.i, label %bb17.i
56 bb126.i: ; preds = %cond_next119.i, %cond_false99.i
57 %prev_ptr.0.reg2mem.1.i = phi %struct.ch_set* [ %prev_ptr.0.reg2mem.0.i, %cond_next119.i ], [ %curr_ptr.0.reg2mem.0.i, %cond_false99.i ] ; <%struct.ch_set*> [#uses=0]
58 ret { i16, %struct.rnode* }* null
59 bb78: ; preds = %entry
60 ret { i16, %struct.rnode* }* null
63 declare noalias i8* @malloc(i32)