• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -mtriple=i386-apple-darwin9
2
3	%struct.ogg_stream_state = type { i8*, i32, i32, i32, i32*, i64*, i32, i32, i32, i32, [282 x i8], i32, i32, i32, i32, i32, i64, i64 }
4	%struct.res_state = type { i32, i32, i32, i32, float*, float*, i32, i32 }
5	%struct.vorbis_comment = type { i8**, i32*, i32, i8* }
6
7declare i32 @strlen(i8*) nounwind readonly
8
9define i32 @res_init(%struct.res_state* %state, i32 %channels, i32 %outfreq, i32 %infreq, i32 %op1, ...) nounwind  {
10entry:
11	br i1 false, label %bb95, label %bb
12
13bb:		; preds = %entry
14	br i1 false, label %bb95, label %bb24
15
16bb24:		; preds = %bb
17	br i1 false, label %bb40.preheader, label %bb26
18
19bb26:		; preds = %bb24
20	ret i32 -1
21
22bb40.preheader:		; preds = %bb24
23	br i1 false, label %bb39, label %bb49.outer
24
25bb39:		; preds = %bb39, %bb40.preheader
26	shl i32 0, 1		; <i32>:0 [#uses=0]
27	br i1 false, label %bb39, label %bb49.outer
28
29bb49.outer:		; preds = %bb39, %bb40.preheader
30	getelementptr %struct.res_state, %struct.res_state* %state, i32 0, i32 3		; <i32*>:1 [#uses=0]
31	getelementptr %struct.res_state, %struct.res_state* %state, i32 0, i32 7		; <i32*>:2 [#uses=0]
32	%base10.1 = select i1 false, float* null, float* null		; <float*> [#uses=1]
33	br label %bb74
34
35bb69:		; preds = %bb74
36	br label %bb71
37
38bb71:		; preds = %bb74, %bb69
39	store float 0.000000e+00, float* null, align 4
40	add i32 0, 1		; <i32>:3 [#uses=1]
41	%indvar.next137 = add i32 %indvar136, 1		; <i32> [#uses=1]
42	br i1 false, label %bb74, label %bb73
43
44bb73:		; preds = %bb71
45	%.rec = add i32 %base10.2.ph.rec, 1		; <i32> [#uses=2]
46	getelementptr float, float* %base10.1, i32 %.rec		; <float*>:4 [#uses=1]
47	br label %bb74
48
49bb74:		; preds = %bb73, %bb71, %bb49.outer
50	%N13.1.ph = phi i32 [ 0, %bb49.outer ], [ 0, %bb73 ], [ %N13.1.ph, %bb71 ]		; <i32> [#uses=1]
51	%dest12.2.ph = phi float* [ null, %bb49.outer ], [ %4, %bb73 ], [ %dest12.2.ph, %bb71 ]		; <float*> [#uses=1]
52	%x8.0.ph = phi i32 [ 0, %bb49.outer ], [ %3, %bb73 ], [ %x8.0.ph, %bb71 ]		; <i32> [#uses=1]
53	%base10.2.ph.rec = phi i32 [ 0, %bb49.outer ], [ %.rec, %bb73 ], [ %base10.2.ph.rec, %bb71 ]		; <i32> [#uses=2]
54	%indvar136 = phi i32 [ %indvar.next137, %bb71 ], [ 0, %bb73 ], [ 0, %bb49.outer ]		; <i32> [#uses=1]
55	br i1 false, label %bb71, label %bb69
56
57bb95:		; preds = %bb, %entry
58	ret i32 -1
59}
60
61define i32 @read_resampled(i8* %d, float** %buffer, i32 %samples) nounwind  {
62entry:
63	br i1 false, label %bb17.preheader, label %bb30
64
65bb17.preheader:		; preds = %entry
66	load i32, i32* null, align 4		; <i32>:0 [#uses=0]
67	br label %bb16
68
69bb16:		; preds = %bb16, %bb17.preheader
70	%i1.036 = phi i32 [ 0, %bb17.preheader ], [ %1, %bb16 ]		; <i32> [#uses=1]
71	add i32 %i1.036, 1		; <i32>:1 [#uses=2]
72	icmp ult i32 %1, 0		; <i1>:2 [#uses=0]
73	br label %bb16
74
75bb30:		; preds = %entry
76	ret i32 0
77}
78
79define i32 @ogg_stream_reset_serialno(%struct.ogg_stream_state* %os, i32 %serialno) nounwind  {
80entry:
81	unreachable
82}
83
84define void @vorbis_lsp_to_curve(float* %curve, i32* %map, i32 %n, i32 %ln, float* %lsp, i32 %m, float %amp, float %ampoffset) nounwind  {
85entry:
86	unreachable
87}
88
89define i32 @vorbis_comment_query_count(%struct.vorbis_comment* %vc, i8* %tag) nounwind  {
90entry:
91	%strlen = call i32 @strlen( i8* null )		; <i32> [#uses=1]
92	%endptr = getelementptr i8, i8* null, i32 %strlen		; <i8*> [#uses=0]
93	unreachable
94}
95
96define fastcc i32 @push(%struct.res_state* %state, float* %pool, i32* %poolfill, i32* %offset, float* %dest, i32 %dststep, float* %source, i32 %srcstep, i32 %srclen) nounwind  {
97entry:
98	unreachable
99}
100