Lines Matching refs:FILE
8 %FILE = type { }
16 declare i32 @fprintf(%FILE*, i8*, ...)
20 define void @test_simplify1(%FILE* %fp) {
23 call i32 (%FILE*, i8*, ...) @fprintf(%FILE* %fp, i8* %fmt)
24 …telementptr inbounds ([13 x i8], [13 x i8]* @hello_world, i32 0, i32 0), i32 12, i32 1, %FILE* %fp)
31 define void @test_simplify2(%FILE* %fp) {
34 call i32 (%FILE*, i8*, ...) @fprintf(%FILE* %fp, i8* %fmt, i8 104)
35 ; CHECK-NEXT: call i32 @fputc(i32 104, %FILE* %fp)
43 define void @test_simplify3(%FILE* %fp) {
47 call i32 (%FILE*, i8*, ...) @fprintf(%FILE* %fp, i8* %fmt, i8* %str)
48 …telementptr inbounds ([13 x i8], [13 x i8]* @hello_world, i32 0, i32 0), i32 12, i32 1, %FILE* %fp)
55 define void @test_simplify4(%FILE* %fp) {
58 call i32 (%FILE*, i8*, ...) @fprintf(%FILE* %fp, i8* %fmt, i32 187)
59 ; CHECK-IPRINTF-NEXT: call i32 (%FILE*, i8*, ...) @fiprintf(%FILE* %fp, i8* getelementptr inbounds …
64 define void @test_simplify5(%FILE* %fp) {
67 call i32 (%FILE*, i8*, ...) @fprintf(%FILE* %fp, i8* %fmt) [ "deopt"() ]
68 …bounds ([13 x i8], [13 x i8]* @hello_world, i32 0, i32 0), i32 12, i32 1, %FILE* %fp) [ "deopt"() ]
73 define void @test_no_simplify1(%FILE* %fp) {
76 call i32 (%FILE*, i8*, ...) @fprintf(%FILE* %fp, i8* %fmt, double 1.87)
77 ; CHECK-IPRINTF-NEXT: call i32 (%FILE*, i8*, ...) @fprintf(%FILE* %fp, i8* getelementptr inbounds (…
82 define void @test_no_simplify2(%FILE* %fp, double %d) {
85 call i32 (%FILE*, i8*, ...) @fprintf(%FILE* %fp, i8* %fmt, double %d)
86 ; CHECK-NEXT: call i32 (%FILE*, i8*, ...) @fprintf(%FILE* %fp, i8* getelementptr inbounds ([3 x i8]…
91 define i32 @test_no_simplify3(%FILE* %fp) {
94 %1 = call i32 (%FILE*, i8*, ...) @fprintf(%FILE* %fp, i8* %fmt)
95 ; CHECK-NEXT: call i32 (%FILE*, i8*, ...) @fprintf(%FILE* %fp, i8* getelementptr inbounds ([13 x i8…