brintos

brintos / llvm-project-archived public Read only

0
0
Text · 983 B · f88bce1 Raw
29 lines · plain
1; RUN: llc < %s	2%struct.FILE = type { ptr, i32, i32, i16, i16, %struct.__sbuf, i32, ptr, ptr, ptr, ptr, ptr, %struct.__sbuf, ptr, 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, ptr }4	%struct.__sFILEX = type opaque5	%struct.__sbuf = type { ptr, i32 }6@str14 = external global [6 x i8]		; <ptr> [#uses=0]7 8declare void @fprintf(i32, ...)9 10define void @OUTPUT_TABLE(ptr %SYM_TAB) {11entry:12	%tmp11 = getelementptr %struct.SYMBOL_TABLE_ENTRY, ptr %SYM_TAB, i32 0, i32 1, i32 0		; <ptr> [#uses=2]13	br label %bb.i14 15bb.i:		; preds = %cond_next.i, %entry16	%s1.0.i = phi ptr [ %tmp11, %entry ], [ null, %cond_next.i ]		; <ptr> [#uses=0]17	br i1 false, label %cond_true.i31, label %cond_next.i18 19cond_true.i31:		; preds = %bb.i20	call void (i32, ...) @fprintf( i32 0, ptr %tmp11, ptr null )21	ret void22 23cond_next.i:		; preds = %bb.i24	br i1 false, label %bb.i, label %bb19.i25 26bb19.i:		; preds = %cond_next.i27	ret void28}29