blob: 1a9fa9f5de6b4ed93bd80755d69c40ef266f35b9 [file] [log] [blame]
Dan Gohmanfce288f2009-09-09 00:09:15 +00001; RUN: llc < %s
Tanya Lattner53a66d12008-02-19 01:41:04 +00002%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 }
3 %struct.SYMBOL_TABLE_ENTRY = type { [9 x i8], [9 x i8], i32, i32, i32, %struct.SYMBOL_TABLE_ENTRY* }
4 %struct.__sFILEX = type opaque
5 %struct.__sbuf = type { i8*, i32 }
6@str14 = external global [6 x i8] ; <[6 x i8]*> [#uses=0]
Chris Lattner707f4132006-05-06 09:09:47 +00007
Tanya Lattner53a66d12008-02-19 01:41:04 +00008declare void @fprintf(i32, ...)
Chris Lattner707f4132006-05-06 09:09:47 +00009
Tanya Lattner53a66d12008-02-19 01:41:04 +000010define void @OUTPUT_TABLE(%struct.SYMBOL_TABLE_ENTRY* %SYM_TAB) {
Chris Lattner707f4132006-05-06 09:09:47 +000011entry:
Tanya Lattner53a66d12008-02-19 01:41:04 +000012 %tmp11 = getelementptr %struct.SYMBOL_TABLE_ENTRY* %SYM_TAB, i32 0, i32 1, i32 0 ; <i8*> [#uses=2]
13 %tmp.i = bitcast i8* %tmp11 to i8* ; <i8*> [#uses=1]
14 br label %bb.i
Chris Lattner707f4132006-05-06 09:09:47 +000015
Tanya Lattner53a66d12008-02-19 01:41:04 +000016bb.i: ; preds = %cond_next.i, %entry
17 %s1.0.i = phi i8* [ %tmp.i, %entry ], [ null, %cond_next.i ] ; <i8*> [#uses=0]
18 br i1 false, label %cond_true.i31, label %cond_next.i
Chris Lattner707f4132006-05-06 09:09:47 +000019
Tanya Lattner53a66d12008-02-19 01:41:04 +000020cond_true.i31: ; preds = %bb.i
21 call void (i32, ...)* @fprintf( i32 0, i8* %tmp11, i8* null )
22 ret void
Chris Lattner707f4132006-05-06 09:09:47 +000023
Tanya Lattner53a66d12008-02-19 01:41:04 +000024cond_next.i: ; preds = %bb.i
25 br i1 false, label %bb.i, label %bb19.i
Chris Lattner707f4132006-05-06 09:09:47 +000026
Tanya Lattner53a66d12008-02-19 01:41:04 +000027bb19.i: ; preds = %cond_next.i
28 ret void
Chris Lattner707f4132006-05-06 09:09:47 +000029}