llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpfwgwvlwd.c' source_filename = "/tmp/tmpfwgwvlwd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @priv_cred_setup(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfwgwvlwd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @priv_cred_setup(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgr1ez6nq.c' source_filename = "/tmp/tmpgr1ez6nq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ReadAndStoreWordIndex(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @ReadWord(ptr noundef %6, ptr noundef %7) %9 = load ptr, ptr %4, align 8 %10 = call i64 @feof(ptr noundef %9) %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %2 store i32 -1, ptr %3, align 4 br label %16 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = call i32 @SearchVocab(ptr noundef %14) store i32 %15, ptr %3, align 4 br label %16 16: ; preds = %13, %12 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i32 @ReadWord(ptr noundef, ptr noundef) #1 declare i64 @feof(ptr noundef) #1 declare i32 @SearchVocab(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgr1ez6nq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ReadAndStoreWordIndex(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @ReadWord(ptr noundef %6, ptr noundef %7) %9 = load ptr, ptr %4, align 8 %10 = call i64 @feof(ptr noundef %9) %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %2 store i32 -1, ptr %3, align 4 br label %16 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = call i32 @SearchVocab(ptr noundef %14) store i32 %15, ptr %3, align 4 br label %16 16: ; preds = %13, %12 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i32 @ReadWord(ptr noundef, ptr noundef) #1 declare i64 @feof(ptr noundef) #1 declare i32 @SearchVocab(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4ok84vws.c' source_filename = "/tmp/tmp4ok84vws.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Doing stuff\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"\09a : %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"Going to call back\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @call(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = load i32, ptr %4, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %6) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %4, align 4 %11 = mul nsw i32 %10, 2 call void %9(i32 noundef %11) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4ok84vws.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Doing stuff\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"\09a : %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"Going to call back\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @call(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = load i32, ptr %4, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %6) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %4, align 4 %11 = mul nsw i32 %10, 2 call void %9(i32 noundef %11) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgcmjgjdg.c' source_filename = "/tmp/tmpgcmjgjdg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1 @X_OK = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"/bin/sh.distrib\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"/usr/share/man/man1/sh.1.gz\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"/usr/share/man/man1/sh.distrib.1.gz\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"bash\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"/bin/sh.temp\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"bash.1.gz\00", align 1 @.str.7 = private unnamed_addr constant [33 x i8] c"/usr/share/man/man1/sh.1.gz.temp\00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c"dash\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr @X_OK, align 4 %7 = call i64 @access(ptr noundef @.str, i32 noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %14 9: ; preds = %2 %10 = call i32 @backup(ptr noundef @.str, ptr noundef @.str.1) %11 = call i32 @backup(ptr noundef @.str.2, ptr noundef @.str.3) %12 = call i32 @force_symlink(ptr noundef @.str.4, ptr noundef @.str, ptr noundef @.str.5) %13 = call i32 @force_symlink(ptr noundef @.str.6, ptr noundef @.str.2, ptr noundef @.str.7) br label %14 14: ; preds = %9, %2 %15 = call i32 @binsh_in_filelist(ptr noundef @.str.4) %16 = icmp ne i32 %15, 0 br i1 %16, label %18, label %17 17: ; preds = %14 store i32 0, ptr %3, align 4 br label %29 18: ; preds = %14 %19 = call i64 @undiverted(ptr noundef @.str) %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %18 %22 = call i32 @reset_diversion(ptr noundef @.str.8, ptr noundef @.str, ptr noundef @.str.1) br label %23 23: ; preds = %21, %18 %24 = call i64 @undiverted(ptr noundef @.str.2) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %23 %27 = call i32 @reset_diversion(ptr noundef @.str.8, ptr noundef @.str.2, ptr noundef @.str.3) br label %28 28: ; preds = %26, %23 store i32 0, ptr %3, align 4 br label %29 29: ; preds = %28, %17 %30 = load i32, ptr %3, align 4 ret i32 %30 } declare i64 @access(ptr noundef, i32 noundef) #1 declare i32 @backup(ptr noundef, ptr noundef) #1 declare i32 @force_symlink(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @binsh_in_filelist(ptr noundef) #1 declare i64 @undiverted(ptr noundef) #1 declare i32 @reset_diversion(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgcmjgjdg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1 @X_OK = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"/bin/sh.distrib\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"/usr/share/man/man1/sh.1.gz\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"/usr/share/man/man1/sh.distrib.1.gz\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"bash\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"/bin/sh.temp\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"bash.1.gz\00", align 1 @.str.7 = private unnamed_addr constant [33 x i8] c"/usr/share/man/man1/sh.1.gz.temp\00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c"dash\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr @X_OK, align 4 %7 = call i64 @access(ptr noundef @.str, i32 noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %14 9: ; preds = %2 %10 = call i32 @backup(ptr noundef @.str, ptr noundef @.str.1) %11 = call i32 @backup(ptr noundef @.str.2, ptr noundef @.str.3) %12 = call i32 @force_symlink(ptr noundef @.str.4, ptr noundef @.str, ptr noundef @.str.5) %13 = call i32 @force_symlink(ptr noundef @.str.6, ptr noundef @.str.2, ptr noundef @.str.7) br label %14 14: ; preds = %9, %2 %15 = call i32 @binsh_in_filelist(ptr noundef @.str.4) %16 = icmp ne i32 %15, 0 br i1 %16, label %18, label %17 17: ; preds = %14 store i32 0, ptr %3, align 4 br label %29 18: ; preds = %14 %19 = call i64 @undiverted(ptr noundef @.str) %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %18 %22 = call i32 @reset_diversion(ptr noundef @.str.8, ptr noundef @.str, ptr noundef @.str.1) br label %23 23: ; preds = %21, %18 %24 = call i64 @undiverted(ptr noundef @.str.2) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %23 %27 = call i32 @reset_diversion(ptr noundef @.str.8, ptr noundef @.str.2, ptr noundef @.str.3) br label %28 28: ; preds = %26, %23 store i32 0, ptr %3, align 4 br label %29 29: ; preds = %28, %17 %30 = load i32, ptr %3, align 4 ret i32 %30 } declare i64 @access(ptr noundef, i32 noundef) #1 declare i32 @backup(ptr noundef, ptr noundef) #1 declare i32 @force_symlink(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @binsh_in_filelist(ptr noundef) #1 declare i64 @undiverted(ptr noundef) #1 declare i32 @reset_diversion(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp51so2rf2.c' source_filename = "/tmp/tmp51so2rf2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @perror_exit(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @perror(ptr noundef %3) %5 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp51so2rf2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @perror_exit(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @perror(ptr noundef %3) %5 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5srurl_9.c' source_filename = "/tmp/tmp5srurl_9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @strlcat(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %10 = load ptr, ptr %6, align 8 %11 = call i64 @strlen(ptr noundef %10) store i64 %11, ptr %8, align 8 %12 = load ptr, ptr %5, align 8 %13 = load i64, ptr %7, align 8 %14 = call i64 @strnlen(ptr noundef %12, i64 noundef %13) store i64 %14, ptr %9, align 8 %15 = load i64, ptr %9, align 8 %16 = load i64, ptr %7, align 8 %17 = icmp eq i64 %15, %16 br i1 %17, label %18, label %22 18: ; preds = %3 %19 = load i64, ptr %7, align 8 %20 = load i64, ptr %8, align 8 %21 = add i64 %19, %20 store i64 %21, ptr %4, align 8 br label %54 22: ; preds = %3 %23 = load i64, ptr %8, align 8 %24 = load i64, ptr %7, align 8 %25 = load i64, ptr %9, align 8 %26 = sub i64 %24, %25 %27 = icmp ult i64 %23, %26 br i1 %27, label %28, label %36 28: ; preds = %22 %29 = load ptr, ptr %5, align 8 %30 = load i64, ptr %9, align 8 %31 = getelementptr inbounds i8, ptr %29, i64 %30 %32 = load ptr, ptr %6, align 8 %33 = load i64, ptr %8, align 8 %34 = add i64 %33, 1 %35 = call i32 @memcpy(ptr noundef %31, ptr noundef %32, i64 noundef %34) br label %50 36: ; preds = %22 %37 = load ptr, ptr %5, align 8 %38 = load i64, ptr %9, align 8 %39 = getelementptr inbounds i8, ptr %37, i64 %38 %40 = load ptr, ptr %6, align 8 %41 = load i64, ptr %7, align 8 %42 = load i64, ptr %9, align 8 %43 = sub i64 %41, %42 %44 = sub i64 %43, 1 %45 = call i32 @memcpy(ptr noundef %39, ptr noundef %40, i64 noundef %44) %46 = load ptr, ptr %5, align 8 %47 = load i64, ptr %7, align 8 %48 = sub i64 %47, 1 %49 = getelementptr inbounds i8, ptr %46, i64 %48 store i8 0, ptr %49, align 1 br label %50 50: ; preds = %36, %28 %51 = load i64, ptr %9, align 8 %52 = load i64, ptr %8, align 8 %53 = add i64 %51, %52 store i64 %53, ptr %4, align 8 br label %54 54: ; preds = %50, %18 %55 = load i64, ptr %4, align 8 ret i64 %55 } declare i64 @strlen(ptr noundef) #1 declare i64 @strnlen(ptr noundef, i64 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5srurl_9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @strlcat(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %10 = load ptr, ptr %6, align 8 %11 = call i64 @strlen(ptr noundef %10) store i64 %11, ptr %8, align 8 %12 = load ptr, ptr %5, align 8 %13 = load i64, ptr %7, align 8 %14 = call i64 @strnlen(ptr noundef %12, i64 noundef %13) store i64 %14, ptr %9, align 8 %15 = load i64, ptr %9, align 8 %16 = load i64, ptr %7, align 8 %17 = icmp eq i64 %15, %16 br i1 %17, label %18, label %22 18: ; preds = %3 %19 = load i64, ptr %7, align 8 %20 = load i64, ptr %8, align 8 %21 = add i64 %19, %20 store i64 %21, ptr %4, align 8 br label %54 22: ; preds = %3 %23 = load i64, ptr %8, align 8 %24 = load i64, ptr %7, align 8 %25 = load i64, ptr %9, align 8 %26 = sub i64 %24, %25 %27 = icmp ult i64 %23, %26 br i1 %27, label %28, label %36 28: ; preds = %22 %29 = load ptr, ptr %5, align 8 %30 = load i64, ptr %9, align 8 %31 = getelementptr inbounds i8, ptr %29, i64 %30 %32 = load ptr, ptr %6, align 8 %33 = load i64, ptr %8, align 8 %34 = add i64 %33, 1 %35 = call i32 @memcpy(ptr noundef %31, ptr noundef %32, i64 noundef %34) br label %50 36: ; preds = %22 %37 = load ptr, ptr %5, align 8 %38 = load i64, ptr %9, align 8 %39 = getelementptr inbounds i8, ptr %37, i64 %38 %40 = load ptr, ptr %6, align 8 %41 = load i64, ptr %7, align 8 %42 = load i64, ptr %9, align 8 %43 = sub i64 %41, %42 %44 = sub i64 %43, 1 %45 = call i32 @memcpy(ptr noundef %39, ptr noundef %40, i64 noundef %44) %46 = load ptr, ptr %5, align 8 %47 = load i64, ptr %7, align 8 %48 = sub i64 %47, 1 %49 = getelementptr inbounds i8, ptr %46, i64 %48 store i8 0, ptr %49, align 1 br label %50 50: ; preds = %36, %28 %51 = load i64, ptr %9, align 8 %52 = load i64, ptr %8, align 8 %53 = add i64 %51, %52 store i64 %53, ptr %4, align 8 br label %54 54: ; preds = %50, %18 %55 = load i64, ptr %4, align 8 ret i64 %55 } declare i64 @strlen(ptr noundef) #1 declare i64 @strnlen(ptr noundef, i64 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpecxxa5sm.c' source_filename = "/tmp/tmpecxxa5sm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @cJSON_Version.version = internal global [15 x i8] zeroinitializer, align 1 @.str = private unnamed_addr constant [9 x i8] c"%i.%i.%i\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @cJSON_Version() #0 { %1 = call i32 @sprintf(ptr noundef @cJSON_Version.version, ptr noundef @.str, i32 noundef 1, i32 noundef 7, i32 noundef 15) ret ptr @cJSON_Version.version } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpecxxa5sm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @cJSON_Version.version = internal global [15 x i8] zeroinitializer, align 1 @.str = private unnamed_addr constant [9 x i8] c"%i.%i.%i\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @cJSON_Version() #0 { %1 = call i32 @sprintf(ptr noundef @cJSON_Version.version, ptr noundef @.str, i32 noundef 1, i32 noundef 7, i32 noundef 15) ret ptr @cJSON_Version.version } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppscpcoui.c' source_filename = "/tmp/tmppscpcoui.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppscpcoui.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9bf_2s9u.c' source_filename = "/tmp/tmp9bf_2s9u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9bf_2s9u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpupiv02t4.c' source_filename = "/tmp/tmpupiv02t4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpupiv02t4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_m1spe8k.c' source_filename = "/tmp/tmp_m1spe8k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_m1spe8k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpass6nefl.c' source_filename = "/tmp/tmpass6nefl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [53 x i8] c"FAIL: Function instrumented in uninstrumented file.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @__kunmap_hook(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 br label %9 9: ; preds = %13, %4 %10 = load i32, ptr @stderr, align 4 %11 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str) %12 = call i32 @exit(i32 noundef 1) #3 unreachable 13: ; No predecessors! br i1 true, label %9, label %14 14: ; preds = %13 ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpass6nefl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [53 x i8] c"FAIL: Function instrumented in uninstrumented file.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @__kunmap_hook(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 br label %9 9: ; preds = %13, %4 %10 = load i32, ptr @stderr, align 4 %11 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str) %12 = call i32 @exit(i32 noundef 1) #3 unreachable 13: ; No predecessors! br i1 true, label %9, label %14 14: ; preds = %13 ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpksvmqode.c' source_filename = "/tmp/tmpksvmqode.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"One\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"Two\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"Three\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"Four\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"Five\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"Six\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"Seven\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"Eight\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"Nine\00", align 1 @__const.convert.num = private unnamed_addr constant [10 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9], align 16 @.str.10 = private unnamed_addr constant [7 x i8] c"Twenty\00", align 1 @.str.11 = private unnamed_addr constant [7 x i8] c"Thirty\00", align 1 @.str.12 = private unnamed_addr constant [7 x i8] c"Fourty\00", align 1 @.str.13 = private unnamed_addr constant [6 x i8] c"Fifty\00", align 1 @.str.14 = private unnamed_addr constant [6 x i8] c"Sixty\00", align 1 @.str.15 = private unnamed_addr constant [8 x i8] c"Seventy\00", align 1 @.str.16 = private unnamed_addr constant [7 x i8] c"Eighty\00", align 1 @.str.17 = private unnamed_addr constant [6 x i8] c"Ninty\00", align 1 @__const.convert.for_ten = private unnamed_addr constant [10 x ptr] [ptr @.str, ptr @.str, ptr @.str.10, ptr @.str.11, ptr @.str.12, ptr @.str.13, ptr @.str.14, ptr @.str.15, ptr @.str.16, ptr @.str.17], align 16 @.str.18 = private unnamed_addr constant [4 x i8] c"Ten\00", align 1 @.str.19 = private unnamed_addr constant [7 x i8] c"Eleven\00", align 1 @.str.20 = private unnamed_addr constant [7 x i8] c"Twelve\00", align 1 @.str.21 = private unnamed_addr constant [9 x i8] c"Thirteen\00", align 1 @.str.22 = private unnamed_addr constant [9 x i8] c"Fourteen\00", align 1 @.str.23 = private unnamed_addr constant [8 x i8] c"Fifteen\00", align 1 @.str.24 = private unnamed_addr constant [8 x i8] c"Sixteen\00", align 1 @.str.25 = private unnamed_addr constant [10 x i8] c"Seventeen\00", align 1 @.str.26 = private unnamed_addr constant [9 x i8] c"Eighteen\00", align 1 @.str.27 = private unnamed_addr constant [8 x i8] c"Ninteen\00", align 1 @__const.convert.af_ten = private unnamed_addr constant [10 x ptr] [ptr @.str.18, ptr @.str.19, ptr @.str.20, ptr @.str.21, ptr @.str.22, ptr @.str.23, ptr @.str.24, ptr @.str.25, ptr @.str.26, ptr @.str.27], align 16 @.str.28 = private unnamed_addr constant [24 x i8] c"\0AThe year in words is:\0A\00", align 1 @.str.29 = private unnamed_addr constant [12 x i8] c"%s thousand\00", align 1 @.str.30 = private unnamed_addr constant [12 x i8] c" %s hundred\00", align 1 @.str.31 = private unnamed_addr constant [7 x i8] c" %s %s\00", align 1 @.str.32 = private unnamed_addr constant [4 x i8] c" %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @convert(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [10 x ptr], align 16 %10 = alloca [10 x ptr], align 16 %11 = alloca [10 x ptr], align 16 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.convert.num, i64 80, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.convert.for_ten, i64 80, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const.convert.af_ten, i64 80, i1 false) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.28) %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [10 x ptr], ptr %9, i64 0, i64 %14 %16 = load ptr, ptr %15, align 8 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.29, ptr noundef %16) %18 = load i32, ptr %6, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %26 20: ; preds = %4 %21 = load i32, ptr %6, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [10 x ptr], ptr %9, i64 0, i64 %22 %24 = load ptr, ptr %23, align 8 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.30, ptr noundef %24) br label %26 26: ; preds = %20, %4 %27 = load i32, ptr %7, align 4 %28 = icmp ne i32 %27, 1 br i1 %28, label %29, label %39 29: ; preds = %26 %30 = load i32, ptr %7, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [10 x ptr], ptr %10, i64 0, i64 %31 %33 = load ptr, ptr %32, align 8 %34 = load i32, ptr %8, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [10 x ptr], ptr %9, i64 0, i64 %35 %37 = load ptr, ptr %36, align 8 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.31, ptr noundef %33, ptr noundef %37) br label %45 39: ; preds = %26 %40 = load i32, ptr %8, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [10 x ptr], ptr %11, i64 0, i64 %41 %43 = load ptr, ptr %42, align 8 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.32, ptr noundef %43) br label %45 45: ; preds = %39, %29 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpksvmqode.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"One\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"Two\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"Three\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"Four\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"Five\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"Six\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"Seven\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"Eight\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"Nine\00", align 1 @__const.convert.num = private unnamed_addr constant [10 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9], align 16 @.str.10 = private unnamed_addr constant [7 x i8] c"Twenty\00", align 1 @.str.11 = private unnamed_addr constant [7 x i8] c"Thirty\00", align 1 @.str.12 = private unnamed_addr constant [7 x i8] c"Fourty\00", align 1 @.str.13 = private unnamed_addr constant [6 x i8] c"Fifty\00", align 1 @.str.14 = private unnamed_addr constant [6 x i8] c"Sixty\00", align 1 @.str.15 = private unnamed_addr constant [8 x i8] c"Seventy\00", align 1 @.str.16 = private unnamed_addr constant [7 x i8] c"Eighty\00", align 1 @.str.17 = private unnamed_addr constant [6 x i8] c"Ninty\00", align 1 @__const.convert.for_ten = private unnamed_addr constant [10 x ptr] [ptr @.str, ptr @.str, ptr @.str.10, ptr @.str.11, ptr @.str.12, ptr @.str.13, ptr @.str.14, ptr @.str.15, ptr @.str.16, ptr @.str.17], align 16 @.str.18 = private unnamed_addr constant [4 x i8] c"Ten\00", align 1 @.str.19 = private unnamed_addr constant [7 x i8] c"Eleven\00", align 1 @.str.20 = private unnamed_addr constant [7 x i8] c"Twelve\00", align 1 @.str.21 = private unnamed_addr constant [9 x i8] c"Thirteen\00", align 1 @.str.22 = private unnamed_addr constant [9 x i8] c"Fourteen\00", align 1 @.str.23 = private unnamed_addr constant [8 x i8] c"Fifteen\00", align 1 @.str.24 = private unnamed_addr constant [8 x i8] c"Sixteen\00", align 1 @.str.25 = private unnamed_addr constant [10 x i8] c"Seventeen\00", align 1 @.str.26 = private unnamed_addr constant [9 x i8] c"Eighteen\00", align 1 @.str.27 = private unnamed_addr constant [8 x i8] c"Ninteen\00", align 1 @__const.convert.af_ten = private unnamed_addr constant [10 x ptr] [ptr @.str.18, ptr @.str.19, ptr @.str.20, ptr @.str.21, ptr @.str.22, ptr @.str.23, ptr @.str.24, ptr @.str.25, ptr @.str.26, ptr @.str.27], align 16 @.str.28 = private unnamed_addr constant [24 x i8] c"\0AThe year in words is:\0A\00", align 1 @.str.29 = private unnamed_addr constant [12 x i8] c"%s thousand\00", align 1 @.str.30 = private unnamed_addr constant [12 x i8] c" %s hundred\00", align 1 @.str.31 = private unnamed_addr constant [7 x i8] c" %s %s\00", align 1 @.str.32 = private unnamed_addr constant [4 x i8] c" %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @convert(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [10 x ptr], align 16 %10 = alloca [10 x ptr], align 16 %11 = alloca [10 x ptr], align 16 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.convert.num, i64 80, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.convert.for_ten, i64 80, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const.convert.af_ten, i64 80, i1 false) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.28) %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [10 x ptr], ptr %9, i64 0, i64 %14 %16 = load ptr, ptr %15, align 8 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.29, ptr noundef %16) %18 = load i32, ptr %6, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %26 20: ; preds = %4 %21 = load i32, ptr %6, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [10 x ptr], ptr %9, i64 0, i64 %22 %24 = load ptr, ptr %23, align 8 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.30, ptr noundef %24) br label %26 26: ; preds = %20, %4 %27 = load i32, ptr %7, align 4 %28 = icmp ne i32 %27, 1 br i1 %28, label %29, label %39 29: ; preds = %26 %30 = load i32, ptr %7, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [10 x ptr], ptr %10, i64 0, i64 %31 %33 = load ptr, ptr %32, align 8 %34 = load i32, ptr %8, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [10 x ptr], ptr %9, i64 0, i64 %35 %37 = load ptr, ptr %36, align 8 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.31, ptr noundef %33, ptr noundef %37) br label %45 39: ; preds = %26 %40 = load i32, ptr %8, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [10 x ptr], ptr %11, i64 0, i64 %41 %43 = load ptr, ptr %42, align 8 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.32, ptr noundef %43) br label %45 45: ; preds = %39, %29 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsag1h00p.c' source_filename = "/tmp/tmpsag1h00p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%c%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getNombreSeconde(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %10 = call ptr @malloc(i32 noundef 2) store ptr %10, ptr %5, align 8 %11 = call ptr @malloc(i32 noundef 2) store ptr %11, ptr %6, align 8 %12 = call ptr @malloc(i32 noundef 2) store ptr %12, ptr %7, align 8 %13 = call ptr @malloc(i32 noundef 2) store ptr %13, ptr %8, align 8 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 0 %17 = load i8, ptr %16, align 1 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 1 %20 = load i8, ptr %19, align 1 %21 = call i32 @sprintf(ptr noundef %14, ptr noundef @.str, i8 noundef signext %17, i8 noundef signext %20) %22 = load ptr, ptr %7, align 8 %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 3 %25 = load i8, ptr %24, align 1 %26 = load ptr, ptr %3, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 4 %28 = load i8, ptr %27, align 1 %29 = call i32 @sprintf(ptr noundef %22, ptr noundef @.str, i8 noundef signext %25, i8 noundef signext %28) %30 = load ptr, ptr %6, align 8 %31 = load ptr, ptr %4, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 0 %33 = load i8, ptr %32, align 1 %34 = load ptr, ptr %4, align 8 %35 = getelementptr inbounds i8, ptr %34, i64 1 %36 = load i8, ptr %35, align 1 %37 = call i32 @sprintf(ptr noundef %30, ptr noundef @.str, i8 noundef signext %33, i8 noundef signext %36) %38 = load ptr, ptr %8, align 8 %39 = load ptr, ptr %4, align 8 %40 = getelementptr inbounds i8, ptr %39, i64 3 %41 = load i8, ptr %40, align 1 %42 = load ptr, ptr %4, align 8 %43 = getelementptr inbounds i8, ptr %42, i64 4 %44 = load i8, ptr %43, align 1 %45 = call i32 @sprintf(ptr noundef %38, ptr noundef @.str, i8 noundef signext %41, i8 noundef signext %44) %46 = load ptr, ptr %6, align 8 %47 = call i32 @atoi(ptr noundef %46) %48 = mul nsw i32 %47, 3600 %49 = load ptr, ptr %8, align 8 %50 = call i32 @atoi(ptr noundef %49) %51 = mul nsw i32 %50, 60 %52 = add nsw i32 %48, %51 %53 = load ptr, ptr %5, align 8 %54 = call i32 @atoi(ptr noundef %53) %55 = mul nsw i32 %54, 3600 %56 = load ptr, ptr %7, align 8 %57 = call i32 @atoi(ptr noundef %56) %58 = mul nsw i32 %57, 60 %59 = add nsw i32 %55, %58 %60 = sub nsw i32 %52, %59 store i32 %60, ptr %9, align 4 %61 = load ptr, ptr %5, align 8 %62 = call i32 @free(ptr noundef %61) %63 = load ptr, ptr %7, align 8 %64 = call i32 @free(ptr noundef %63) %65 = load ptr, ptr %6, align 8 %66 = call i32 @free(ptr noundef %65) %67 = load ptr, ptr %8, align 8 %68 = call i32 @free(ptr noundef %67) %69 = load i32, ptr %9, align 4 ret i32 %69 } declare ptr @malloc(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef signext, i8 noundef signext) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsag1h00p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%c%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getNombreSeconde(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %10 = call ptr @malloc(i32 noundef 2) store ptr %10, ptr %5, align 8 %11 = call ptr @malloc(i32 noundef 2) store ptr %11, ptr %6, align 8 %12 = call ptr @malloc(i32 noundef 2) store ptr %12, ptr %7, align 8 %13 = call ptr @malloc(i32 noundef 2) store ptr %13, ptr %8, align 8 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 0 %17 = load i8, ptr %16, align 1 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 1 %20 = load i8, ptr %19, align 1 %21 = call i32 @sprintf(ptr noundef %14, ptr noundef @.str, i8 noundef signext %17, i8 noundef signext %20) %22 = load ptr, ptr %7, align 8 %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 3 %25 = load i8, ptr %24, align 1 %26 = load ptr, ptr %3, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 4 %28 = load i8, ptr %27, align 1 %29 = call i32 @sprintf(ptr noundef %22, ptr noundef @.str, i8 noundef signext %25, i8 noundef signext %28) %30 = load ptr, ptr %6, align 8 %31 = load ptr, ptr %4, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 0 %33 = load i8, ptr %32, align 1 %34 = load ptr, ptr %4, align 8 %35 = getelementptr inbounds i8, ptr %34, i64 1 %36 = load i8, ptr %35, align 1 %37 = call i32 @sprintf(ptr noundef %30, ptr noundef @.str, i8 noundef signext %33, i8 noundef signext %36) %38 = load ptr, ptr %8, align 8 %39 = load ptr, ptr %4, align 8 %40 = getelementptr inbounds i8, ptr %39, i64 3 %41 = load i8, ptr %40, align 1 %42 = load ptr, ptr %4, align 8 %43 = getelementptr inbounds i8, ptr %42, i64 4 %44 = load i8, ptr %43, align 1 %45 = call i32 @sprintf(ptr noundef %38, ptr noundef @.str, i8 noundef signext %41, i8 noundef signext %44) %46 = load ptr, ptr %6, align 8 %47 = call i32 @atoi(ptr noundef %46) %48 = mul nsw i32 %47, 3600 %49 = load ptr, ptr %8, align 8 %50 = call i32 @atoi(ptr noundef %49) %51 = mul nsw i32 %50, 60 %52 = add nsw i32 %48, %51 %53 = load ptr, ptr %5, align 8 %54 = call i32 @atoi(ptr noundef %53) %55 = mul nsw i32 %54, 3600 %56 = load ptr, ptr %7, align 8 %57 = call i32 @atoi(ptr noundef %56) %58 = mul nsw i32 %57, 60 %59 = add nsw i32 %55, %58 %60 = sub nsw i32 %52, %59 store i32 %60, ptr %9, align 4 %61 = load ptr, ptr %5, align 8 %62 = call i32 @free(ptr noundef %61) %63 = load ptr, ptr %7, align 8 %64 = call i32 @free(ptr noundef %63) %65 = load ptr, ptr %6, align 8 %66 = call i32 @free(ptr noundef %65) %67 = load ptr, ptr %8, align 8 %68 = call i32 @free(ptr noundef %67) %69 = load i32, ptr %9, align 4 ret i32 %69 } declare ptr @malloc(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef signext, i8 noundef signext) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfdbli7uw.c' source_filename = "/tmp/tmpfdbli7uw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"\0AGenerating a random system ...\0A\00", align 1 @.str.1 = private unnamed_addr constant [36 x i8] c"-> enter the number of variables : \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"-> enter the number of equations : \00", align 1 @.str.4 = private unnamed_addr constant [36 x i8] c"-> enter the number of monomials : \00", align 1 @.str.5 = private unnamed_addr constant [29 x i8] c"-> enter the degree bound : \00", align 1 @.str.6 = private unnamed_addr constant [33 x i8] c"-> enter the coefficient type : \00", align 1 @.str.7 = private unnamed_addr constant [38 x i8] c"Making of a random system succeeded.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_random_system() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = call i32 @printf(ptr noundef @.str) %8 = call i32 @printf(ptr noundef @.str.1) %9 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %1) %10 = call i32 @printf(ptr noundef @.str.3) %11 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %5) %12 = call i32 @printf(ptr noundef @.str.4) %13 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) %14 = call i32 @printf(ptr noundef @.str.5) %15 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3) %16 = call i32 @printf(ptr noundef @.str.6) %17 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %4) %18 = load i32, ptr %1, align 4 %19 = load i32, ptr %2, align 4 %20 = load i32, ptr %3, align 4 %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %5, align 4 %23 = call i32 @syscon_random_system(i32 noundef %18, i32 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef %22) store i32 %23, ptr %6, align 4 %24 = load i32, ptr %6, align 4 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %0 %27 = call i32 @printf(ptr noundef @.str.7) br label %28 28: ; preds = %26, %0 %29 = call i32 (...) @syscon_write_standard_system() ret void } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @syscon_random_system(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @syscon_write_standard_system(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfdbli7uw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"\0AGenerating a random system ...\0A\00", align 1 @.str.1 = private unnamed_addr constant [36 x i8] c"-> enter the number of variables : \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"-> enter the number of equations : \00", align 1 @.str.4 = private unnamed_addr constant [36 x i8] c"-> enter the number of monomials : \00", align 1 @.str.5 = private unnamed_addr constant [29 x i8] c"-> enter the degree bound : \00", align 1 @.str.6 = private unnamed_addr constant [33 x i8] c"-> enter the coefficient type : \00", align 1 @.str.7 = private unnamed_addr constant [38 x i8] c"Making of a random system succeeded.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_random_system() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = call i32 @printf(ptr noundef @.str) %8 = call i32 @printf(ptr noundef @.str.1) %9 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %1) %10 = call i32 @printf(ptr noundef @.str.3) %11 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %5) %12 = call i32 @printf(ptr noundef @.str.4) %13 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) %14 = call i32 @printf(ptr noundef @.str.5) %15 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3) %16 = call i32 @printf(ptr noundef @.str.6) %17 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %4) %18 = load i32, ptr %1, align 4 %19 = load i32, ptr %2, align 4 %20 = load i32, ptr %3, align 4 %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %5, align 4 %23 = call i32 @syscon_random_system(i32 noundef %18, i32 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef %22) store i32 %23, ptr %6, align 4 %24 = load i32, ptr %6, align 4 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %0 %27 = call i32 @printf(ptr noundef @.str.7) br label %28 28: ; preds = %26, %0 %29 = call i32 (...) @syscon_write_standard_system() ret void } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @syscon_random_system(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @syscon_write_standard_system(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6xc1hxoq.c' source_filename = "/tmp/tmp6xc1hxoq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"EOF is: %d\0A\00", align 1 @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = load i32, ptr @EOF, align 4 %2 = call i32 @printf(ptr noundef @.str, i32 noundef %1) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6xc1hxoq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"EOF is: %d\0A\00", align 1 @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = load i32, ptr @EOF, align 4 %2 = call i32 @printf(ptr noundef @.str, i32 noundef %1) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpts_a8xpi.c' source_filename = "/tmp/tmpts_a8xpi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"abc\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"abcdef\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"stringer = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 store ptr @.str.1, ptr %3, align 8 %4 = load ptr, ptr %2, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @stronger(ptr noundef %4, ptr noundef %5) %7 = call i32 @printf(ptr noundef @.str.2, i32 noundef %6) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @stronger(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpts_a8xpi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"abc\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"abcdef\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"stringer = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 store ptr @.str.1, ptr %3, align 8 %4 = load ptr, ptr %2, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @stronger(ptr noundef %4, ptr noundef %5) %7 = call i32 @printf(ptr noundef @.str.2, i32 noundef %6) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @stronger(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdk96rx0e.c' source_filename = "/tmp/tmpdk96rx0e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @lcd_escreve(i8 noundef zeroext %0, i8 noundef zeroext %1, ptr noundef %2) #0 { %4 = alloca i8, align 1 %5 = alloca i8, align 1 %6 = alloca ptr, align 8 %7 = alloca i8, align 1 store i8 %0, ptr %4, align 1 store i8 %1, ptr %5, align 1 store ptr %2, ptr %6, align 8 %8 = load i8, ptr %4, align 1 %9 = zext i8 %8 to i32 switch i32 %9, label %30 [ i32 1, label %10 i32 2, label %15 i32 3, label %20 i32 4, label %25 ] 10: ; preds = %3 %11 = load i8, ptr %5, align 1 %12 = zext i8 %11 to i32 %13 = add nsw i32 127, %12 %14 = trunc i32 %13 to i8 store i8 %14, ptr %7, align 1 br label %31 15: ; preds = %3 %16 = load i8, ptr %5, align 1 %17 = zext i8 %16 to i32 %18 = add nsw i32 191, %17 %19 = trunc i32 %18 to i8 store i8 %19, ptr %7, align 1 br label %31 20: ; preds = %3 %21 = load i8, ptr %5, align 1 %22 = zext i8 %21 to i32 %23 = add nsw i32 147, %22 %24 = trunc i32 %23 to i8 store i8 %24, ptr %7, align 1 br label %31 25: ; preds = %3 %26 = load i8, ptr %5, align 1 %27 = zext i8 %26 to i32 %28 = add nsw i32 211, %27 %29 = trunc i32 %28 to i8 store i8 %29, ptr %7, align 1 br label %31 30: ; preds = %3 br label %31 31: ; preds = %30, %25, %20, %15, %10 %32 = load i8, ptr %7, align 1 %33 = call i32 @Lcd_Cmd(i8 noundef zeroext %32) br label %34 34: ; preds = %38, %31 %35 = load ptr, ptr %6, align 8 %36 = load i8, ptr %35, align 1 %37 = icmp ne i8 %36, 0 br i1 %37, label %38, label %44 38: ; preds = %34 %39 = load ptr, ptr %6, align 8 %40 = load i8, ptr %39, align 1 %41 = call i32 @Lcd_Chr_CP(i8 noundef signext %40) %42 = load ptr, ptr %6, align 8 %43 = getelementptr inbounds i8, ptr %42, i32 1 store ptr %43, ptr %6, align 8 br label %34, !llvm.loop !6 44: ; preds = %34 ret void } declare i32 @Lcd_Cmd(i8 noundef zeroext) #1 declare i32 @Lcd_Chr_CP(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdk96rx0e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @lcd_escreve(i8 noundef zeroext %0, i8 noundef zeroext %1, ptr noundef %2) #0 { %4 = alloca i8, align 1 %5 = alloca i8, align 1 %6 = alloca ptr, align 8 %7 = alloca i8, align 1 store i8 %0, ptr %4, align 1 store i8 %1, ptr %5, align 1 store ptr %2, ptr %6, align 8 %8 = load i8, ptr %4, align 1 %9 = zext i8 %8 to i32 switch i32 %9, label %30 [ i32 1, label %10 i32 2, label %15 i32 3, label %20 i32 4, label %25 ] 10: ; preds = %3 %11 = load i8, ptr %5, align 1 %12 = zext i8 %11 to i32 %13 = add nsw i32 127, %12 %14 = trunc i32 %13 to i8 store i8 %14, ptr %7, align 1 br label %31 15: ; preds = %3 %16 = load i8, ptr %5, align 1 %17 = zext i8 %16 to i32 %18 = add nsw i32 191, %17 %19 = trunc i32 %18 to i8 store i8 %19, ptr %7, align 1 br label %31 20: ; preds = %3 %21 = load i8, ptr %5, align 1 %22 = zext i8 %21 to i32 %23 = add nsw i32 147, %22 %24 = trunc i32 %23 to i8 store i8 %24, ptr %7, align 1 br label %31 25: ; preds = %3 %26 = load i8, ptr %5, align 1 %27 = zext i8 %26 to i32 %28 = add nsw i32 211, %27 %29 = trunc i32 %28 to i8 store i8 %29, ptr %7, align 1 br label %31 30: ; preds = %3 br label %31 31: ; preds = %30, %25, %20, %15, %10 %32 = load i8, ptr %7, align 1 %33 = call i32 @Lcd_Cmd(i8 noundef zeroext %32) %34 = load ptr, ptr %6, align 8 %35 = load i8, ptr %34, align 1 %36 = icmp ne i8 %35, 0 br i1 %36, label %.lr.ph, label %46 .lr.ph: ; preds = %31 br label %37 37: ; preds = %.lr.ph, %37 %38 = load ptr, ptr %6, align 8 %39 = load i8, ptr %38, align 1 %40 = call i32 @Lcd_Chr_CP(i8 noundef signext %39) %41 = load ptr, ptr %6, align 8 %42 = getelementptr inbounds i8, ptr %41, i32 1 store ptr %42, ptr %6, align 8 %43 = load ptr, ptr %6, align 8 %44 = load i8, ptr %43, align 1 %45 = icmp ne i8 %44, 0 br i1 %45, label %37, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %46 46: ; preds = %._crit_edge, %31 ret void } declare i32 @Lcd_Cmd(i8 noundef zeroext) #1 declare i32 @Lcd_Chr_CP(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpw36mcqct.c' source_filename = "/tmp/tmpw36mcqct.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw36mcqct.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8ym24ibz.c' source_filename = "/tmp/tmp8ym24ibz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"Enter a number: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load float, ptr %2, align 4 %6 = fcmp ogt float %5, 0.000000e+00 br i1 %6, label %7, label %11 7: ; preds = %0 %8 = load float, ptr %2, align 4 %9 = fpext float %8 to double %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %9) br label %16 11: ; preds = %0 %12 = load float, ptr %2, align 4 %13 = fmul float %12, -1.000000e+00 %14 = fpext float %13 to double %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %14) br label %16 16: ; preds = %11, %7 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8ym24ibz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"Enter a number: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load float, ptr %2, align 4 %6 = fcmp ogt float %5, 0.000000e+00 br i1 %6, label %7, label %11 7: ; preds = %0 %8 = load float, ptr %2, align 4 %9 = fpext float %8 to double %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %9) br label %16 11: ; preds = %0 %12 = load float, ptr %2, align 4 %13 = fmul float %12, -1.000000e+00 %14 = fpext float %13 to double %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %14) br label %16 16: ; preds = %11, %7 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdzyqr6ao.c' source_filename = "/tmp/tmpdzyqr6ao.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @softfloat_mul128MTo256M(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds i32, ptr %12, i64 0 store ptr %13, ptr %5, align 8 %14 = load ptr, ptr %6, align 8 %15 = getelementptr inbounds i32, ptr %14, i64 3 store ptr %15, ptr %7, align 8 %16 = load ptr, ptr %6, align 8 %17 = getelementptr inbounds i32, ptr %16, i64 0 store ptr %17, ptr %6, align 8 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %18, align 4 store i32 %19, ptr %8, align 4 %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds i32, ptr %20, i64 0 %22 = load i32, ptr %21, align 4 %23 = load i32, ptr %8, align 4 %24 = mul nsw i32 %22, %23 store i32 %24, ptr %9, align 4 %25 = load i32, ptr %9, align 4 %26 = load ptr, ptr %6, align 8 %27 = getelementptr inbounds i32, ptr %26, i64 0 store i32 %25, ptr %27, align 4 %28 = load ptr, ptr %4, align 8 %29 = getelementptr inbounds i32, ptr %28, i64 1 %30 = load i32, ptr %29, align 4 %31 = load i32, ptr %8, align 4 %32 = mul nsw i32 %30, %31 %33 = load i32, ptr %9, align 4 %34 = ashr i32 %33, 32 %35 = add nsw i32 %32, %34 store i32 %35, ptr %9, align 4 %36 = load i32, ptr %9, align 4 %37 = load ptr, ptr %6, align 8 %38 = getelementptr inbounds i32, ptr %37, i64 1 store i32 %36, ptr %38, align 4 %39 = load ptr, ptr %4, align 8 %40 = getelementptr inbounds i32, ptr %39, i64 2 %41 = load i32, ptr %40, align 4 %42 = load i32, ptr %8, align 4 %43 = mul nsw i32 %41, %42 %44 = load i32, ptr %9, align 4 %45 = ashr i32 %44, 32 %46 = add nsw i32 %43, %45 store i32 %46, ptr %9, align 4 %47 = load i32, ptr %9, align 4 %48 = load ptr, ptr %6, align 8 %49 = getelementptr inbounds i32, ptr %48, i64 2 store i32 %47, ptr %49, align 4 %50 = load ptr, ptr %4, align 8 %51 = getelementptr inbounds i32, ptr %50, i64 3 %52 = load i32, ptr %51, align 4 %53 = load i32, ptr %8, align 4 %54 = mul nsw i32 %52, %53 %55 = load i32, ptr %9, align 4 %56 = ashr i32 %55, 32 %57 = add nsw i32 %54, %56 store i32 %57, ptr %9, align 4 %58 = load i32, ptr %9, align 4 %59 = load ptr, ptr %6, align 8 %60 = getelementptr inbounds i32, ptr %59, i64 3 store i32 %58, ptr %60, align 4 %61 = load i32, ptr %9, align 4 %62 = ashr i32 %61, 32 %63 = load ptr, ptr %6, align 8 %64 = getelementptr inbounds i32, ptr %63, i64 4 store i32 %62, ptr %64, align 4 br label %65 65: ; preds = %191, %3 %66 = load ptr, ptr %5, align 8 %67 = getelementptr inbounds i32, ptr %66, i64 1 store ptr %67, ptr %5, align 8 %68 = load ptr, ptr %6, align 8 %69 = getelementptr inbounds i32, ptr %68, i64 1 store ptr %69, ptr %6, align 8 %70 = load ptr, ptr %5, align 8 %71 = load i32, ptr %70, align 4 store i32 %71, ptr %8, align 4 %72 = load ptr, ptr %4, align 8 %73 = getelementptr inbounds i32, ptr %72, i64 0 %74 = load i32, ptr %73, align 4 %75 = load i32, ptr %8, align 4 %76 = mul nsw i32 %74, %75 store i32 %76, ptr %9, align 4 %77 = load ptr, ptr %6, align 8 %78 = getelementptr inbounds i32, ptr %77, i64 0 %79 = load i32, ptr %78, align 4 %80 = load i32, ptr %9, align 4 %81 = add nsw i32 %79, %80 store i32 %81, ptr %10, align 4 %82 = load i32, ptr %10, align 4 %83 = load ptr, ptr %6, align 8 %84 = getelementptr inbounds i32, ptr %83, i64 0 store i32 %82, ptr %84, align 4 %85 = load i32, ptr %10, align 4 %86 = load i32, ptr %9, align 4 %87 = icmp slt i32 %85, %86 %88 = zext i1 %87 to i32 store i32 %88, ptr %11, align 4 %89 = load ptr, ptr %4, align 8 %90 = getelementptr inbounds i32, ptr %89, i64 1 %91 = load i32, ptr %90, align 4 %92 = load i32, ptr %8, align 4 %93 = mul nsw i32 %91, %92 %94 = load i32, ptr %9, align 4 %95 = ashr i32 %94, 32 %96 = add nsw i32 %93, %95 store i32 %96, ptr %9, align 4 %97 = load ptr, ptr %6, align 8 %98 = getelementptr inbounds i32, ptr %97, i64 1 %99 = load i32, ptr %98, align 4 %100 = load i32, ptr %9, align 4 %101 = add nsw i32 %99, %100 %102 = load i32, ptr %11, align 4 %103 = add nsw i32 %101, %102 store i32 %103, ptr %10, align 4 %104 = load i32, ptr %10, align 4 %105 = load ptr, ptr %6, align 8 %106 = getelementptr inbounds i32, ptr %105, i64 1 store i32 %104, ptr %106, align 4 %107 = load i32, ptr %11, align 4 %108 = icmp ne i32 %107, 0 br i1 %108, label %109, label %114 109: ; preds = %65 %110 = load i32, ptr %10, align 4 %111 = load i32, ptr %9, align 4 %112 = icmp sle i32 %110, %111 %113 = zext i1 %112 to i32 br label %119 114: ; preds = %65 %115 = load i32, ptr %10, align 4 %116 = load i32, ptr %9, align 4 %117 = icmp slt i32 %115, %116 %118 = zext i1 %117 to i32 br label %119 119: ; preds = %114, %109 %120 = phi i32 [ %113, %109 ], [ %118, %114 ] store i32 %120, ptr %11, align 4 %121 = load ptr, ptr %4, align 8 %122 = getelementptr inbounds i32, ptr %121, i64 2 %123 = load i32, ptr %122, align 4 %124 = load i32, ptr %8, align 4 %125 = mul nsw i32 %123, %124 %126 = load i32, ptr %9, align 4 %127 = ashr i32 %126, 32 %128 = add nsw i32 %125, %127 store i32 %128, ptr %9, align 4 %129 = load ptr, ptr %6, align 8 %130 = getelementptr inbounds i32, ptr %129, i64 2 %131 = load i32, ptr %130, align 4 %132 = load i32, ptr %9, align 4 %133 = add nsw i32 %131, %132 %134 = load i32, ptr %11, align 4 %135 = add nsw i32 %133, %134 store i32 %135, ptr %10, align 4 %136 = load i32, ptr %10, align 4 %137 = load ptr, ptr %6, align 8 %138 = getelementptr inbounds i32, ptr %137, i64 2 store i32 %136, ptr %138, align 4 %139 = load i32, ptr %11, align 4 %140 = icmp ne i32 %139, 0 br i1 %140, label %141, label %146 141: ; preds = %119 %142 = load i32, ptr %10, align 4 %143 = load i32, ptr %9, align 4 %144 = icmp sle i32 %142, %143 %145 = zext i1 %144 to i32 br label %151 146: ; preds = %119 %147 = load i32, ptr %10, align 4 %148 = load i32, ptr %9, align 4 %149 = icmp slt i32 %147, %148 %150 = zext i1 %149 to i32 br label %151 151: ; preds = %146, %141 %152 = phi i32 [ %145, %141 ], [ %150, %146 ] store i32 %152, ptr %11, align 4 %153 = load ptr, ptr %4, align 8 %154 = getelementptr inbounds i32, ptr %153, i64 3 %155 = load i32, ptr %154, align 4 %156 = load i32, ptr %8, align 4 %157 = mul nsw i32 %155, %156 %158 = load i32, ptr %9, align 4 %159 = ashr i32 %158, 32 %160 = add nsw i32 %157, %159 store i32 %160, ptr %9, align 4 %161 = load ptr, ptr %6, align 8 %162 = getelementptr inbounds i32, ptr %161, i64 3 %163 = load i32, ptr %162, align 4 %164 = load i32, ptr %9, align 4 %165 = add nsw i32 %163, %164 %166 = load i32, ptr %11, align 4 %167 = add nsw i32 %165, %166 store i32 %167, ptr %10, align 4 %168 = load i32, ptr %10, align 4 %169 = load ptr, ptr %6, align 8 %170 = getelementptr inbounds i32, ptr %169, i64 3 store i32 %168, ptr %170, align 4 %171 = load i32, ptr %11, align 4 %172 = icmp ne i32 %171, 0 br i1 %172, label %173, label %178 173: ; preds = %151 %174 = load i32, ptr %10, align 4 %175 = load i32, ptr %9, align 4 %176 = icmp sle i32 %174, %175 %177 = zext i1 %176 to i32 br label %183 178: ; preds = %151 %179 = load i32, ptr %10, align 4 %180 = load i32, ptr %9, align 4 %181 = icmp slt i32 %179, %180 %182 = zext i1 %181 to i32 br label %183 183: ; preds = %178, %173 %184 = phi i32 [ %177, %173 ], [ %182, %178 ] store i32 %184, ptr %11, align 4 %185 = load i32, ptr %9, align 4 %186 = ashr i32 %185, 32 %187 = load i32, ptr %11, align 4 %188 = add nsw i32 %186, %187 %189 = load ptr, ptr %6, align 8 %190 = getelementptr inbounds i32, ptr %189, i64 4 store i32 %188, ptr %190, align 4 br label %191 191: ; preds = %183 %192 = load ptr, ptr %6, align 8 %193 = load ptr, ptr %7, align 8 %194 = icmp ne ptr %192, %193 br i1 %194, label %65, label %195, !llvm.loop !6 195: ; preds = %191 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdzyqr6ao.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @softfloat_mul128MTo256M(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds i32, ptr %12, i64 0 store ptr %13, ptr %5, align 8 %14 = load ptr, ptr %6, align 8 %15 = getelementptr inbounds i32, ptr %14, i64 3 store ptr %15, ptr %7, align 8 %16 = load ptr, ptr %6, align 8 %17 = getelementptr inbounds i32, ptr %16, i64 0 store ptr %17, ptr %6, align 8 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %18, align 4 store i32 %19, ptr %8, align 4 %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds i32, ptr %20, i64 0 %22 = load i32, ptr %21, align 4 %23 = load i32, ptr %8, align 4 %24 = mul nsw i32 %22, %23 store i32 %24, ptr %9, align 4 %25 = load i32, ptr %9, align 4 %26 = load ptr, ptr %6, align 8 %27 = getelementptr inbounds i32, ptr %26, i64 0 store i32 %25, ptr %27, align 4 %28 = load ptr, ptr %4, align 8 %29 = getelementptr inbounds i32, ptr %28, i64 1 %30 = load i32, ptr %29, align 4 %31 = load i32, ptr %8, align 4 %32 = mul nsw i32 %30, %31 %33 = load i32, ptr %9, align 4 %34 = ashr i32 %33, 32 %35 = add nsw i32 %32, %34 store i32 %35, ptr %9, align 4 %36 = load i32, ptr %9, align 4 %37 = load ptr, ptr %6, align 8 %38 = getelementptr inbounds i32, ptr %37, i64 1 store i32 %36, ptr %38, align 4 %39 = load ptr, ptr %4, align 8 %40 = getelementptr inbounds i32, ptr %39, i64 2 %41 = load i32, ptr %40, align 4 %42 = load i32, ptr %8, align 4 %43 = mul nsw i32 %41, %42 %44 = load i32, ptr %9, align 4 %45 = ashr i32 %44, 32 %46 = add nsw i32 %43, %45 store i32 %46, ptr %9, align 4 %47 = load i32, ptr %9, align 4 %48 = load ptr, ptr %6, align 8 %49 = getelementptr inbounds i32, ptr %48, i64 2 store i32 %47, ptr %49, align 4 %50 = load ptr, ptr %4, align 8 %51 = getelementptr inbounds i32, ptr %50, i64 3 %52 = load i32, ptr %51, align 4 %53 = load i32, ptr %8, align 4 %54 = mul nsw i32 %52, %53 %55 = load i32, ptr %9, align 4 %56 = ashr i32 %55, 32 %57 = add nsw i32 %54, %56 store i32 %57, ptr %9, align 4 %58 = load i32, ptr %9, align 4 %59 = load ptr, ptr %6, align 8 %60 = getelementptr inbounds i32, ptr %59, i64 3 store i32 %58, ptr %60, align 4 %61 = load i32, ptr %9, align 4 %62 = ashr i32 %61, 32 %63 = load ptr, ptr %6, align 8 %64 = getelementptr inbounds i32, ptr %63, i64 4 store i32 %62, ptr %64, align 4 br label %65 65: ; preds = %191, %3 %66 = load ptr, ptr %5, align 8 %67 = getelementptr inbounds i32, ptr %66, i64 1 store ptr %67, ptr %5, align 8 %68 = load ptr, ptr %6, align 8 %69 = getelementptr inbounds i32, ptr %68, i64 1 store ptr %69, ptr %6, align 8 %70 = load ptr, ptr %5, align 8 %71 = load i32, ptr %70, align 4 store i32 %71, ptr %8, align 4 %72 = load ptr, ptr %4, align 8 %73 = getelementptr inbounds i32, ptr %72, i64 0 %74 = load i32, ptr %73, align 4 %75 = load i32, ptr %8, align 4 %76 = mul nsw i32 %74, %75 store i32 %76, ptr %9, align 4 %77 = load ptr, ptr %6, align 8 %78 = getelementptr inbounds i32, ptr %77, i64 0 %79 = load i32, ptr %78, align 4 %80 = load i32, ptr %9, align 4 %81 = add nsw i32 %79, %80 store i32 %81, ptr %10, align 4 %82 = load i32, ptr %10, align 4 %83 = load ptr, ptr %6, align 8 %84 = getelementptr inbounds i32, ptr %83, i64 0 store i32 %82, ptr %84, align 4 %85 = load i32, ptr %10, align 4 %86 = load i32, ptr %9, align 4 %87 = icmp slt i32 %85, %86 %88 = zext i1 %87 to i32 store i32 %88, ptr %11, align 4 %89 = load ptr, ptr %4, align 8 %90 = getelementptr inbounds i32, ptr %89, i64 1 %91 = load i32, ptr %90, align 4 %92 = load i32, ptr %8, align 4 %93 = mul nsw i32 %91, %92 %94 = load i32, ptr %9, align 4 %95 = ashr i32 %94, 32 %96 = add nsw i32 %93, %95 store i32 %96, ptr %9, align 4 %97 = load ptr, ptr %6, align 8 %98 = getelementptr inbounds i32, ptr %97, i64 1 %99 = load i32, ptr %98, align 4 %100 = load i32, ptr %9, align 4 %101 = add nsw i32 %99, %100 %102 = load i32, ptr %11, align 4 %103 = add nsw i32 %101, %102 store i32 %103, ptr %10, align 4 %104 = load i32, ptr %10, align 4 %105 = load ptr, ptr %6, align 8 %106 = getelementptr inbounds i32, ptr %105, i64 1 store i32 %104, ptr %106, align 4 %107 = load i32, ptr %11, align 4 %108 = icmp ne i32 %107, 0 br i1 %108, label %109, label %114 109: ; preds = %65 %110 = load i32, ptr %10, align 4 %111 = load i32, ptr %9, align 4 %112 = icmp sle i32 %110, %111 %113 = zext i1 %112 to i32 br label %119 114: ; preds = %65 %115 = load i32, ptr %10, align 4 %116 = load i32, ptr %9, align 4 %117 = icmp slt i32 %115, %116 %118 = zext i1 %117 to i32 br label %119 119: ; preds = %114, %109 %120 = phi i32 [ %113, %109 ], [ %118, %114 ] store i32 %120, ptr %11, align 4 %121 = load ptr, ptr %4, align 8 %122 = getelementptr inbounds i32, ptr %121, i64 2 %123 = load i32, ptr %122, align 4 %124 = load i32, ptr %8, align 4 %125 = mul nsw i32 %123, %124 %126 = load i32, ptr %9, align 4 %127 = ashr i32 %126, 32 %128 = add nsw i32 %125, %127 store i32 %128, ptr %9, align 4 %129 = load ptr, ptr %6, align 8 %130 = getelementptr inbounds i32, ptr %129, i64 2 %131 = load i32, ptr %130, align 4 %132 = load i32, ptr %9, align 4 %133 = add nsw i32 %131, %132 %134 = load i32, ptr %11, align 4 %135 = add nsw i32 %133, %134 store i32 %135, ptr %10, align 4 %136 = load i32, ptr %10, align 4 %137 = load ptr, ptr %6, align 8 %138 = getelementptr inbounds i32, ptr %137, i64 2 store i32 %136, ptr %138, align 4 %139 = load i32, ptr %11, align 4 %140 = icmp ne i32 %139, 0 br i1 %140, label %141, label %146 141: ; preds = %119 %142 = load i32, ptr %10, align 4 %143 = load i32, ptr %9, align 4 %144 = icmp sle i32 %142, %143 %145 = zext i1 %144 to i32 br label %151 146: ; preds = %119 %147 = load i32, ptr %10, align 4 %148 = load i32, ptr %9, align 4 %149 = icmp slt i32 %147, %148 %150 = zext i1 %149 to i32 br label %151 151: ; preds = %146, %141 %152 = phi i32 [ %145, %141 ], [ %150, %146 ] store i32 %152, ptr %11, align 4 %153 = load ptr, ptr %4, align 8 %154 = getelementptr inbounds i32, ptr %153, i64 3 %155 = load i32, ptr %154, align 4 %156 = load i32, ptr %8, align 4 %157 = mul nsw i32 %155, %156 %158 = load i32, ptr %9, align 4 %159 = ashr i32 %158, 32 %160 = add nsw i32 %157, %159 store i32 %160, ptr %9, align 4 %161 = load ptr, ptr %6, align 8 %162 = getelementptr inbounds i32, ptr %161, i64 3 %163 = load i32, ptr %162, align 4 %164 = load i32, ptr %9, align 4 %165 = add nsw i32 %163, %164 %166 = load i32, ptr %11, align 4 %167 = add nsw i32 %165, %166 store i32 %167, ptr %10, align 4 %168 = load i32, ptr %10, align 4 %169 = load ptr, ptr %6, align 8 %170 = getelementptr inbounds i32, ptr %169, i64 3 store i32 %168, ptr %170, align 4 %171 = load i32, ptr %11, align 4 %172 = icmp ne i32 %171, 0 br i1 %172, label %173, label %178 173: ; preds = %151 %174 = load i32, ptr %10, align 4 %175 = load i32, ptr %9, align 4 %176 = icmp sle i32 %174, %175 %177 = zext i1 %176 to i32 br label %183 178: ; preds = %151 %179 = load i32, ptr %10, align 4 %180 = load i32, ptr %9, align 4 %181 = icmp slt i32 %179, %180 %182 = zext i1 %181 to i32 br label %183 183: ; preds = %178, %173 %184 = phi i32 [ %177, %173 ], [ %182, %178 ] store i32 %184, ptr %11, align 4 %185 = load i32, ptr %9, align 4 %186 = ashr i32 %185, 32 %187 = load i32, ptr %11, align 4 %188 = add nsw i32 %186, %187 %189 = load ptr, ptr %6, align 8 %190 = getelementptr inbounds i32, ptr %189, i64 4 store i32 %188, ptr %190, align 4 br label %191 191: ; preds = %183 %192 = load ptr, ptr %6, align 8 %193 = load ptr, ptr %7, align 8 %194 = icmp ne ptr %192, %193 br i1 %194, label %65, label %195, !llvm.loop !6 195: ; preds = %191 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp2yom03vj.c' source_filename = "/tmp/tmp2yom03vj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isascii.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isascii should be 0 for 0xba\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isascii_0xba() #0 { %1 = call i64 @isascii(i32 noundef 186) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 935, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isascii(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2yom03vj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isascii.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isascii should be 0 for 0xba\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isascii_0xba() #0 { %1 = call i64 @isascii(i32 noundef 186) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 935, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isascii(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpci_707vk.c' source_filename = "/tmp/tmpci_707vk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"Error creating socket\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"Error binding socket\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"Server listening on localhost:1337...\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"Error on incoming socket\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"server_file\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.6 = private unnamed_addr constant [22 x i8] c"Error writing to file\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"Bytes received %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [62 x i8] c"File read error. Client connected but file could not be read.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [256 x i8], align 16 %7 = alloca [10 x i8], align 1 %8 = alloca %struct.sockaddr_in, align 4 %9 = alloca %struct.sockaddr_in, align 4 %10 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 %11 = load i32, ptr @AF_INET, align 4 %12 = load i32, ptr @SOCK_STREAM, align 4 %13 = call i32 @socket(i32 noundef %11, i32 noundef %12, i32 noundef 0) store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %0 %17 = call i32 @error(ptr noundef @.str) br label %18 18: ; preds = %16, %0 %19 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 12) %20 = load i32, ptr @AF_INET, align 4 %21 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2 store i32 %20, ptr %21, align 4 %22 = load i32, ptr @INADDR_ANY, align 4 %23 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1 %24 = getelementptr inbounds %struct.TYPE_2__, ptr %23, i32 0, i32 0 store i32 %22, ptr %24, align 4 %25 = call i32 @htons(i32 noundef 1337) %26 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 store i32 %25, ptr %26, align 4 %27 = load i32, ptr %2, align 4 %28 = call i64 @bind(i32 noundef %27, ptr noundef %8, i32 noundef 12) %29 = icmp slt i64 %28, 0 br i1 %29, label %30, label %32 30: ; preds = %18 %31 = call i32 @error(ptr noundef @.str.1) br label %32 32: ; preds = %30, %18 %33 = load i32, ptr %2, align 4 %34 = call i32 @listen(i32 noundef %33, i32 noundef 5) %35 = call i32 @puts(ptr noundef @.str.2) store i32 12, ptr %4, align 4 %36 = load i32, ptr %2, align 4 %37 = call i32 @accept(i32 noundef %36, ptr noundef %9, ptr noundef %4) store i32 %37, ptr %3, align 4 %38 = load i32, ptr %3, align 4 %39 = icmp slt i32 %38, 0 br i1 %39, label %40, label %42 40: ; preds = %32 %41 = call i32 @error(ptr noundef @.str.3) br label %42 42: ; preds = %40, %32 %43 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0 %44 = call i32 @memset(ptr noundef %43, i32 noundef 0, i32 noundef 10) %45 = call ptr @fopen(ptr noundef @.str.4, ptr noundef @.str.5) store ptr %45, ptr %10, align 8 %46 = load ptr, ptr %10, align 8 %47 = icmp eq ptr %46, null br i1 %47, label %48, label %50 48: ; preds = %42 %49 = call i32 @error(ptr noundef @.str.6) br label %50 50: ; preds = %48, %42 br label %51 51: ; preds = %56, %50 %52 = load i32, ptr %3, align 4 %53 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0 %54 = call i32 @recv(i32 noundef %52, ptr noundef %53, i32 noundef 5, i32 noundef 0) store i32 %54, ptr %5, align 4 %55 = icmp sgt i32 %54, 0 br i1 %55, label %56, label %65 56: ; preds = %51 %57 = load i32, ptr %5, align 4 %58 = call i32 @printf(ptr noundef @.str.7, i32 noundef %57) %59 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0 %60 = load i32, ptr %5, align 4 %61 = load ptr, ptr %10, align 8 %62 = call i32 @fwrite(ptr noundef %59, i32 noundef 1, i32 noundef %60, ptr noundef %61) %63 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0 %64 = call i32 @memset(ptr noundef %63, i32 noundef 0, i32 noundef 10) br label %51, !llvm.loop !6 65: ; preds = %51 %66 = load i32, ptr %5, align 4 %67 = icmp slt i32 %66, 0 br i1 %67, label %68, label %70 68: ; preds = %65 %69 = call i32 @puts(ptr noundef @.str.8) br label %70 70: ; preds = %68, %65 %71 = load i32, ptr %2, align 4 %72 = call i32 @close(i32 noundef %71) ret i32 0 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @error(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 declare i32 @puts(ptr noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpci_707vk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"Error creating socket\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"Error binding socket\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"Server listening on localhost:1337...\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"Error on incoming socket\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"server_file\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.6 = private unnamed_addr constant [22 x i8] c"Error writing to file\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"Bytes received %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [62 x i8] c"File read error. Client connected but file could not be read.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [256 x i8], align 16 %7 = alloca [10 x i8], align 1 %8 = alloca %struct.sockaddr_in, align 4 %9 = alloca %struct.sockaddr_in, align 4 %10 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 %11 = load i32, ptr @AF_INET, align 4 %12 = load i32, ptr @SOCK_STREAM, align 4 %13 = call i32 @socket(i32 noundef %11, i32 noundef %12, i32 noundef 0) store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %0 %17 = call i32 @error(ptr noundef @.str) br label %18 18: ; preds = %16, %0 %19 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 12) %20 = load i32, ptr @AF_INET, align 4 %21 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2 store i32 %20, ptr %21, align 4 %22 = load i32, ptr @INADDR_ANY, align 4 %23 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1 %24 = getelementptr inbounds %struct.TYPE_2__, ptr %23, i32 0, i32 0 store i32 %22, ptr %24, align 4 %25 = call i32 @htons(i32 noundef 1337) %26 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 store i32 %25, ptr %26, align 4 %27 = load i32, ptr %2, align 4 %28 = call i64 @bind(i32 noundef %27, ptr noundef %8, i32 noundef 12) %29 = icmp slt i64 %28, 0 br i1 %29, label %30, label %32 30: ; preds = %18 %31 = call i32 @error(ptr noundef @.str.1) br label %32 32: ; preds = %30, %18 %33 = load i32, ptr %2, align 4 %34 = call i32 @listen(i32 noundef %33, i32 noundef 5) %35 = call i32 @puts(ptr noundef @.str.2) store i32 12, ptr %4, align 4 %36 = load i32, ptr %2, align 4 %37 = call i32 @accept(i32 noundef %36, ptr noundef %9, ptr noundef %4) store i32 %37, ptr %3, align 4 %38 = load i32, ptr %3, align 4 %39 = icmp slt i32 %38, 0 br i1 %39, label %40, label %42 40: ; preds = %32 %41 = call i32 @error(ptr noundef @.str.3) br label %42 42: ; preds = %40, %32 %43 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0 %44 = call i32 @memset(ptr noundef %43, i32 noundef 0, i32 noundef 10) %45 = call ptr @fopen(ptr noundef @.str.4, ptr noundef @.str.5) store ptr %45, ptr %10, align 8 %46 = load ptr, ptr %10, align 8 %47 = icmp eq ptr %46, null br i1 %47, label %48, label %50 48: ; preds = %42 %49 = call i32 @error(ptr noundef @.str.6) br label %50 50: ; preds = %48, %42 %51 = load i32, ptr %3, align 4 %52 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0 %53 = call i32 @recv(i32 noundef %51, ptr noundef %52, i32 noundef 5, i32 noundef 0) store i32 %53, ptr %5, align 4 %54 = icmp sgt i32 %53, 0 br i1 %54, label %.lr.ph, label %67 .lr.ph: ; preds = %50 br label %55 55: ; preds = %.lr.ph, %55 %56 = load i32, ptr %5, align 4 %57 = call i32 @printf(ptr noundef @.str.7, i32 noundef %56) %58 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0 %59 = load i32, ptr %5, align 4 %60 = load ptr, ptr %10, align 8 %61 = call i32 @fwrite(ptr noundef %58, i32 noundef 1, i32 noundef %59, ptr noundef %60) %62 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0 %63 = call i32 @memset(ptr noundef %62, i32 noundef 0, i32 noundef 10) %64 = load i32, ptr %3, align 4 %65 = call i32 @recv(i32 noundef %64, ptr noundef %52, i32 noundef 5, i32 noundef 0) store i32 %65, ptr %5, align 4 %66 = icmp sgt i32 %65, 0 br i1 %66, label %55, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %55 br label %67 67: ; preds = %._crit_edge, %50 %68 = load i32, ptr %5, align 4 %69 = icmp slt i32 %68, 0 br i1 %69, label %70, label %72 70: ; preds = %67 %71 = call i32 @puts(ptr noundef @.str.8) br label %72 72: ; preds = %70, %67 %73 = load i32, ptr %2, align 4 %74 = call i32 @close(i32 noundef %73) ret i32 0 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @error(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 declare i32 @puts(ptr noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp1odt6t6p.c' source_filename = "/tmp/tmp1odt6t6p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @gds_write_libname.pad = internal global i32 0, align 4 @gds_write_libname.ps = internal global ptr null, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gds_write_libname(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i16, align 2 %6 = alloca i16, align 2 %7 = alloca i16, align 2 %8 = alloca i16, align 2 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 %10 = call signext i16 @strlen(ptr noundef %9) store i16 %10, ptr %6, align 2 %11 = load i16, ptr %6, align 2 %12 = sext i16 %11 to i32 %13 = srem i32 %12, 2 %14 = icmp ne i32 %13, 0 %15 = zext i1 %14 to i32 store i32 %15, ptr @gds_write_libname.pad, align 4 %16 = load i32, ptr @gds_write_libname.pad, align 4 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %2 %19 = load i16, ptr %6, align 2 %20 = add i16 %19, 1 store i16 %20, ptr %6, align 2 br label %21 21: ; preds = %18, %2 %22 = load i16, ptr %6, align 2 %23 = call i64 @malloc(i16 noundef signext %22) %24 = inttoptr i64 %23 to ptr store ptr %24, ptr @gds_write_libname.ps, align 8 %25 = load i32, ptr @gds_write_libname.pad, align 4 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %55 27: ; preds = %21 store i16 0, ptr %7, align 2 br label %28 28: ; preds = %45, %27 %29 = load i16, ptr %7, align 2 %30 = sext i16 %29 to i32 %31 = load i16, ptr %6, align 2 %32 = sext i16 %31 to i32 %33 = sub nsw i32 %32, 1 %34 = icmp slt i32 %30, %33 br i1 %34, label %35, label %48 35: ; preds = %28 %36 = load ptr, ptr %4, align 8 %37 = load i16, ptr %7, align 2 %38 = sext i16 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 %40 = load i8, ptr %39, align 1 %41 = load ptr, ptr @gds_write_libname.ps, align 8 %42 = load i16, ptr %7, align 2 %43 = sext i16 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 store i8 %40, ptr %44, align 1 br label %45 45: ; preds = %35 %46 = load i16, ptr %7, align 2 %47 = add i16 %46, 1 store i16 %47, ptr %7, align 2 br label %28, !llvm.loop !6 48: ; preds = %28 %49 = load ptr, ptr @gds_write_libname.ps, align 8 %50 = load i16, ptr %6, align 2 %51 = sext i16 %50 to i32 %52 = sub nsw i32 %51, 1 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %49, i64 %53 store i8 0, ptr %54, align 1 br label %76 55: ; preds = %21 store i16 0, ptr %7, align 2 br label %56 56: ; preds = %72, %55 %57 = load i16, ptr %7, align 2 %58 = sext i16 %57 to i32 %59 = load i16, ptr %6, align 2 %60 = sext i16 %59 to i32 %61 = icmp slt i32 %58, %60 br i1 %61, label %62, label %75 62: ; preds = %56 %63 = load ptr, ptr %4, align 8 %64 = load i16, ptr %7, align 2 %65 = sext i16 %64 to i64 %66 = getelementptr inbounds i8, ptr %63, i64 %65 %67 = load i8, ptr %66, align 1 %68 = load ptr, ptr @gds_write_libname.ps, align 8 %69 = load i16, ptr %7, align 2 %70 = sext i16 %69 to i64 %71 = getelementptr inbounds i8, ptr %68, i64 %70 store i8 %67, ptr %71, align 1 br label %72 72: ; preds = %62 %73 = load i16, ptr %7, align 2 %74 = add i16 %73, 1 store i16 %74, ptr %7, align 2 br label %56, !llvm.loop !8 75: ; preds = %56 br label %76 76: ; preds = %75, %48 %77 = load i16, ptr %6, align 2 %78 = sext i16 %77 to i32 %79 = add nsw i32 4, %78 %80 = trunc i32 %79 to i16 store i16 %80, ptr %5, align 2 %81 = call i32 @gds_swap2bytes(ptr noundef %5) %82 = load i32, ptr %3, align 4 %83 = call i32 (i32, ...) @write(i32 noundef %82, ptr noundef %5, i32 noundef 2) store i16 518, ptr %8, align 2 %84 = call i32 @gds_swap2bytes(ptr noundef %8) %85 = load i32, ptr %3, align 4 %86 = call i32 (i32, ...) @write(i32 noundef %85, ptr noundef %8, i32 noundef 2) %87 = load i32, ptr %3, align 4 %88 = load ptr, ptr @gds_write_libname.ps, align 8 %89 = load i16, ptr %6, align 2 %90 = sext i16 %89 to i32 %91 = call i32 (i32, ...) @write(i32 noundef %87, ptr noundef %88, i32 noundef %90) ret void } declare signext i16 @strlen(ptr noundef) #1 declare i64 @malloc(i16 noundef signext) #1 declare i32 @gds_swap2bytes(ptr noundef) #1 declare i32 @write(i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1odt6t6p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @gds_write_libname.pad = internal global i32 0, align 4 @gds_write_libname.ps = internal global ptr null, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gds_write_libname(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i16, align 2 %6 = alloca i16, align 2 %7 = alloca i16, align 2 %8 = alloca i16, align 2 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 %10 = call signext i16 @strlen(ptr noundef %9) store i16 %10, ptr %6, align 2 %11 = load i16, ptr %6, align 2 %12 = sext i16 %11 to i32 %13 = srem i32 %12, 2 %14 = icmp ne i32 %13, 0 %15 = zext i1 %14 to i32 store i32 %15, ptr @gds_write_libname.pad, align 4 %16 = load i32, ptr @gds_write_libname.pad, align 4 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %2 %19 = load i16, ptr %6, align 2 %20 = add i16 %19, 1 store i16 %20, ptr %6, align 2 br label %21 21: ; preds = %18, %2 %22 = load i16, ptr %6, align 2 %23 = call i64 @malloc(i16 noundef signext %22) %24 = inttoptr i64 %23 to ptr store ptr %24, ptr @gds_write_libname.ps, align 8 %25 = load i32, ptr @gds_write_libname.pad, align 4 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %60 27: ; preds = %21 store i16 0, ptr %7, align 2 %28 = load i16, ptr %7, align 2 %29 = sext i16 %28 to i32 %30 = load i16, ptr %6, align 2 %31 = sext i16 %30 to i32 %32 = sub nsw i32 %31, 1 %33 = icmp slt i32 %29, %32 br i1 %33, label %.lr.ph2, label %53 .lr.ph2: ; preds = %27 br label %34 34: ; preds = %.lr.ph2, %44 %35 = load ptr, ptr %4, align 8 %36 = load i16, ptr %7, align 2 %37 = sext i16 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = load ptr, ptr @gds_write_libname.ps, align 8 %41 = load i16, ptr %7, align 2 %42 = sext i16 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 store i8 %39, ptr %43, align 1 br label %44 44: ; preds = %34 %45 = load i16, ptr %7, align 2 %46 = add i16 %45, 1 store i16 %46, ptr %7, align 2 %47 = load i16, ptr %7, align 2 %48 = sext i16 %47 to i32 %49 = load i16, ptr %6, align 2 %50 = sext i16 %49 to i32 %51 = sub nsw i32 %50, 1 %52 = icmp slt i32 %48, %51 br i1 %52, label %34, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %44 br label %53 53: ; preds = %._crit_edge3, %27 %54 = load ptr, ptr @gds_write_libname.ps, align 8 %55 = load i16, ptr %6, align 2 %56 = sext i16 %55 to i32 %57 = sub nsw i32 %56, 1 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %54, i64 %58 store i8 0, ptr %59, align 1 br label %85 60: ; preds = %21 store i16 0, ptr %7, align 2 %61 = load i16, ptr %7, align 2 %62 = sext i16 %61 to i32 %63 = load i16, ptr %6, align 2 %64 = sext i16 %63 to i32 %65 = icmp slt i32 %62, %64 br i1 %65, label %.lr.ph, label %84 .lr.ph: ; preds = %60 br label %66 66: ; preds = %.lr.ph, %76 %67 = load ptr, ptr %4, align 8 %68 = load i16, ptr %7, align 2 %69 = sext i16 %68 to i64 %70 = getelementptr inbounds i8, ptr %67, i64 %69 %71 = load i8, ptr %70, align 1 %72 = load ptr, ptr @gds_write_libname.ps, align 8 %73 = load i16, ptr %7, align 2 %74 = sext i16 %73 to i64 %75 = getelementptr inbounds i8, ptr %72, i64 %74 store i8 %71, ptr %75, align 1 br label %76 76: ; preds = %66 %77 = load i16, ptr %7, align 2 %78 = add i16 %77, 1 store i16 %78, ptr %7, align 2 %79 = load i16, ptr %7, align 2 %80 = sext i16 %79 to i32 %81 = load i16, ptr %6, align 2 %82 = sext i16 %81 to i32 %83 = icmp slt i32 %80, %82 br i1 %83, label %66, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %76 br label %84 84: ; preds = %._crit_edge, %60 br label %85 85: ; preds = %84, %53 %86 = load i16, ptr %6, align 2 %87 = sext i16 %86 to i32 %88 = add nsw i32 4, %87 %89 = trunc i32 %88 to i16 store i16 %89, ptr %5, align 2 %90 = call i32 @gds_swap2bytes(ptr noundef %5) %91 = load i32, ptr %3, align 4 %92 = call i32 (i32, ...) @write(i32 noundef %91, ptr noundef %5, i32 noundef 2) store i16 518, ptr %8, align 2 %93 = call i32 @gds_swap2bytes(ptr noundef %8) %94 = load i32, ptr %3, align 4 %95 = call i32 (i32, ...) @write(i32 noundef %94, ptr noundef %8, i32 noundef 2) %96 = load i32, ptr %3, align 4 %97 = load ptr, ptr @gds_write_libname.ps, align 8 %98 = load i16, ptr %6, align 2 %99 = sext i16 %98 to i32 %100 = call i32 (i32, ...) @write(i32 noundef %96, ptr noundef %97, i32 noundef %99) ret void } declare signext i16 @strlen(ptr noundef) #1 declare i64 @malloc(i16 noundef signext) #1 declare i32 @gds_swap2bytes(ptr noundef) #1 declare i32 @write(i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpsewh0_4f.c' source_filename = "/tmp/tmpsewh0_4f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) br label %6 6: ; preds = %10, %0 %7 = load i32, ptr %2, align 4 %8 = add nsw i32 %7, -1 store i32 %8, ptr %2, align 4 %9 = icmp sgt i32 %7, 0 br i1 %9, label %10, label %18 10: ; preds = %6 %11 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4) %12 = load i32, ptr %3, align 4 %13 = sdiv i32 %12, 3 %14 = load i32, ptr %4, align 4 %15 = sdiv i32 %14, 3 %16 = mul nsw i32 %13, %15 %17 = call i32 @printf(ptr noundef @.str, i32 noundef %16) br label %6, !llvm.loop !6 18: ; preds = %6 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsewh0_4f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = add nsw i32 %6, -1 store i32 %7, ptr %2, align 4 %8 = icmp sgt i32 %6, 0 br i1 %8, label %.lr.ph, label %20 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %9 %10 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4) %11 = load i32, ptr %3, align 4 %12 = sdiv i32 %11, 3 %13 = load i32, ptr %4, align 4 %14 = sdiv i32 %13, 3 %15 = mul nsw i32 %12, %14 %16 = call i32 @printf(ptr noundef @.str, i32 noundef %15) %17 = load i32, ptr %2, align 4 %18 = add nsw i32 %17, -1 store i32 %18, ptr %2, align 4 %19 = icmp sgt i32 %17, 0 br i1 %19, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %20 20: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpfryixq6b.c' source_filename = "/tmp/tmpfryixq6b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"GETENV_ADD\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"GETENV_ADD = %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"GETENV_ADD not found\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"GETENV_NUM\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"GETENV_NUM = %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [22 x i8] c"GETENV_NUM not found\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call ptr @getenv(ptr noundef @.str) store ptr %9, ptr %6, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load ptr, ptr %6, align 8 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %12) br label %16 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %16 16: ; preds = %14, %11 %17 = call ptr @getenv(ptr noundef @.str.3) store ptr %17, ptr %7, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %24 19: ; preds = %16 %20 = load ptr, ptr %7, align 8 %21 = call i32 @atoi(ptr noundef %20) store i32 %21, ptr %8, align 4 %22 = load i32, ptr %8, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %22) br label %26 24: ; preds = %16 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %26 26: ; preds = %24, %19 %27 = load i32, ptr %3, align 4 ret i32 %27 } declare ptr @getenv(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfryixq6b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"GETENV_ADD\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"GETENV_ADD = %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"GETENV_ADD not found\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"GETENV_NUM\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"GETENV_NUM = %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [22 x i8] c"GETENV_NUM not found\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call ptr @getenv(ptr noundef @.str) store ptr %9, ptr %6, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load ptr, ptr %6, align 8 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %12) br label %16 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %16 16: ; preds = %14, %11 %17 = call ptr @getenv(ptr noundef @.str.3) store ptr %17, ptr %7, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %24 19: ; preds = %16 %20 = load ptr, ptr %7, align 8 %21 = call i32 @atoi(ptr noundef %20) store i32 %21, ptr %8, align 4 %22 = load i32, ptr %8, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %22) br label %26 24: ; preds = %16 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %26 26: ; preds = %24, %19 %27 = load i32, ptr %3, align 4 ret i32 %27 } declare ptr @getenv(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnruh1ixz.c' source_filename = "/tmp/tmpnruh1ixz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnruh1ixz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa28ru7pr.c' source_filename = "/tmp/tmpa28ru7pr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [74 x i8] c"HTTP/1.1 200 OK\0D\0AConnection: close\0D\0AContent-Length:15 \0D\0A\0D\0A200 Bienvenue\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [81 x i8] c"HTTP/1.1 404 not found\0D\0AConnection: close\0D\0AContent-Length:15 \0D\0A\0D\0A404 not found\0D\0A\00", align 1 @.str.2 = private unnamed_addr constant [85 x i8] c"HTTP/1.1 400 Bad Request\0D\0AConnection: close\0D\0AContent-Length:17 \0D\0A\0D\0A400 Bad request\0D\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @send_status(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load i32, ptr %5, align 4 %8 = icmp eq i32 %7, 200 br i1 %8, label %9, label %10 9: ; preds = %3 store ptr @.str, ptr %6, align 8 br label %20 10: ; preds = %3 %11 = load i32, ptr %5, align 4 %12 = icmp eq i32 %11, 404 br i1 %12, label %13, label %14 13: ; preds = %10 store ptr @.str.1, ptr %6, align 8 br label %19 14: ; preds = %10 %15 = load i32, ptr %5, align 4 %16 = icmp eq i32 %15, 400 br i1 %16, label %17, label %18 17: ; preds = %14 store ptr @.str.2, ptr %6, align 8 br label %18 18: ; preds = %17, %14 br label %19 19: ; preds = %18, %13 br label %20 20: ; preds = %19, %9 %21 = load ptr, ptr %4, align 8 %22 = load ptr, ptr %6, align 8 %23 = call i32 @fprintf(ptr noundef %21, ptr noundef @.str.3, ptr noundef %22) %24 = load ptr, ptr %4, align 8 %25 = call i32 @fflush(ptr noundef %24) ret void } declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fflush(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa28ru7pr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [74 x i8] c"HTTP/1.1 200 OK\0D\0AConnection: close\0D\0AContent-Length:15 \0D\0A\0D\0A200 Bienvenue\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [81 x i8] c"HTTP/1.1 404 not found\0D\0AConnection: close\0D\0AContent-Length:15 \0D\0A\0D\0A404 not found\0D\0A\00", align 1 @.str.2 = private unnamed_addr constant [85 x i8] c"HTTP/1.1 400 Bad Request\0D\0AConnection: close\0D\0AContent-Length:17 \0D\0A\0D\0A400 Bad request\0D\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @send_status(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load i32, ptr %5, align 4 %8 = icmp eq i32 %7, 200 br i1 %8, label %9, label %10 9: ; preds = %3 store ptr @.str, ptr %6, align 8 br label %20 10: ; preds = %3 %11 = load i32, ptr %5, align 4 %12 = icmp eq i32 %11, 404 br i1 %12, label %13, label %14 13: ; preds = %10 store ptr @.str.1, ptr %6, align 8 br label %19 14: ; preds = %10 %15 = load i32, ptr %5, align 4 %16 = icmp eq i32 %15, 400 br i1 %16, label %17, label %18 17: ; preds = %14 store ptr @.str.2, ptr %6, align 8 br label %18 18: ; preds = %17, %14 br label %19 19: ; preds = %18, %13 br label %20 20: ; preds = %19, %9 %21 = load ptr, ptr %4, align 8 %22 = load ptr, ptr %6, align 8 %23 = call i32 @fprintf(ptr noundef %21, ptr noundef @.str.3, ptr noundef %22) %24 = load ptr, ptr %4, align 8 %25 = call i32 @fflush(ptr noundef %24) ret void } declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fflush(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpic7l6087.c' source_filename = "/tmp/tmpic7l6087.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rleCompress(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %18 = load ptr, ptr %4, align 8 store ptr %18, ptr %7, align 8 %19 = load ptr, ptr %7, align 8 %20 = load i32, ptr %5, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 store ptr %22, ptr %8, align 8 %23 = load ptr, ptr %7, align 8 store ptr %23, ptr %9, align 8 %24 = load ptr, ptr %6, align 8 store ptr %24, ptr %10, align 8 %25 = load ptr, ptr %7, align 8 store ptr %25, ptr %11, align 8 br label %26 26: ; preds = %101, %3 %27 = load ptr, ptr %8, align 8 %28 = load ptr, ptr %9, align 8 %29 = ptrtoint ptr %27 to i64 %30 = ptrtoint ptr %28 to i64 %31 = sub i64 %29, %30 %32 = trunc i64 %31 to i32 store i32 %32, ptr %14, align 4 %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %102 34: ; preds = %26 %35 = load ptr, ptr %9, align 8 %36 = load i32, ptr %14, align 4 %37 = call i32 @countSameAsStart(ptr noundef %35, i32 noundef %36) store i32 %37, ptr %13, align 4 %38 = load ptr, ptr %9, align 8 %39 = load ptr, ptr %11, align 8 %40 = ptrtoint ptr %38 to i64 %41 = ptrtoint ptr %39 to i64 %42 = sub i64 %40, %41 %43 = trunc i64 %42 to i32 store i32 %43, ptr %12, align 4 %44 = load i32, ptr %13, align 4 %45 = icmp sge i32 %44, 3 br i1 %45, label %46, label %96 46: ; preds = %34 %47 = load ptr, ptr %9, align 8 %48 = load ptr, ptr %11, align 8 %49 = ptrtoint ptr %47 to i64 %50 = ptrtoint ptr %48 to i64 %51 = sub i64 %49, %50 %52 = trunc i64 %51 to i32 store i32 %52, ptr %15, align 4 br label %53 53: ; preds = %61, %46 %54 = load i32, ptr %15, align 4 %55 = icmp sgt i32 %54, 0 br i1 %55, label %56, label %81 56: ; preds = %53 %57 = load i32, ptr %15, align 4 store i32 %57, ptr %16, align 4 %58 = load i32, ptr %16, align 4 %59 = icmp sgt i32 %58, 127 br i1 %59, label %60, label %61 60: ; preds = %56 store i32 127, ptr %16, align 4 br label %61 61: ; preds = %60, %56 %62 = load i32, ptr %16, align 4 %63 = trunc i32 %62 to i8 %64 = load ptr, ptr %10, align 8 %65 = getelementptr inbounds i8, ptr %64, i32 1 store ptr %65, ptr %10, align 8 store i8 %63, ptr %64, align 1 %66 = load ptr, ptr %10, align 8 %67 = load ptr, ptr %11, align 8 %68 = load i32, ptr %16, align 4 %69 = call i32 @memcpy(ptr noundef %66, ptr noundef %67, i32 noundef %68) %70 = load i32, ptr %16, align 4 %71 = load ptr, ptr %10, align 8 %72 = sext i32 %70 to i64 %73 = getelementptr inbounds i8, ptr %71, i64 %72 store ptr %73, ptr %10, align 8 %74 = load i32, ptr %16, align 4 %75 = load i32, ptr %15, align 4 %76 = sub nsw i32 %75, %74 store i32 %76, ptr %15, align 4 %77 = load i32, ptr %16, align 4 %78 = load ptr, ptr %11, align 8 %79 = sext i32 %77 to i64 %80 = getelementptr inbounds i8, ptr %78, i64 %79 store ptr %80, ptr %11, align 8 br label %53, !llvm.loop !6 81: ; preds = %53 %82 = load i32, ptr %13, align 4 %83 = sub nsw i32 0, %82 %84 = trunc i32 %83 to i8 %85 = load ptr, ptr %10, align 8 %86 = getelementptr inbounds i8, ptr %85, i32 1 store ptr %86, ptr %10, align 8 store i8 %84, ptr %85, align 1 %87 = load ptr, ptr %9, align 8 %88 = load i8, ptr %87, align 1 %89 = load ptr, ptr %10, align 8 %90 = getelementptr inbounds i8, ptr %89, i32 1 store ptr %90, ptr %10, align 8 store i8 %88, ptr %89, align 1 %91 = load i32, ptr %13, align 4 %92 = load ptr, ptr %9, align 8 %93 = sext i32 %91 to i64 %94 = getelementptr inbounds i8, ptr %92, i64 %93 store ptr %94, ptr %9, align 8 %95 = load ptr, ptr %9, align 8 store ptr %95, ptr %11, align 8 br label %101 96: ; preds = %34 %97 = load i32, ptr %13, align 4 %98 = load ptr, ptr %9, align 8 %99 = sext i32 %97 to i64 %100 = getelementptr inbounds i8, ptr %98, i64 %99 store ptr %100, ptr %9, align 8 br label %101 101: ; preds = %96, %81 br label %26, !llvm.loop !8 102: ; preds = %26 %103 = load ptr, ptr %9, align 8 %104 = load ptr, ptr %11, align 8 %105 = ptrtoint ptr %103 to i64 %106 = ptrtoint ptr %104 to i64 %107 = sub i64 %105, %106 %108 = trunc i64 %107 to i32 store i32 %108, ptr %12, align 4 br label %109 109: ; preds = %117, %102 %110 = load i32, ptr %12, align 4 %111 = icmp sgt i32 %110, 0 br i1 %111, label %112, label %137 112: ; preds = %109 %113 = load i32, ptr %12, align 4 store i32 %113, ptr %17, align 4 %114 = load i32, ptr %17, align 4 %115 = icmp sgt i32 %114, 127 br i1 %115, label %116, label %117 116: ; preds = %112 store i32 127, ptr %17, align 4 br label %117 117: ; preds = %116, %112 %118 = load i32, ptr %17, align 4 %119 = trunc i32 %118 to i8 %120 = load ptr, ptr %10, align 8 %121 = getelementptr inbounds i8, ptr %120, i32 1 store ptr %121, ptr %10, align 8 store i8 %119, ptr %120, align 1 %122 = load ptr, ptr %10, align 8 %123 = load ptr, ptr %11, align 8 %124 = load i32, ptr %17, align 4 %125 = call i32 @memcpy(ptr noundef %122, ptr noundef %123, i32 noundef %124) %126 = load i32, ptr %17, align 4 %127 = load ptr, ptr %10, align 8 %128 = sext i32 %126 to i64 %129 = getelementptr inbounds i8, ptr %127, i64 %128 store ptr %129, ptr %10, align 8 %130 = load i32, ptr %17, align 4 %131 = load i32, ptr %12, align 4 %132 = sub nsw i32 %131, %130 store i32 %132, ptr %12, align 4 %133 = load i32, ptr %17, align 4 %134 = load ptr, ptr %11, align 8 %135 = sext i32 %133 to i64 %136 = getelementptr inbounds i8, ptr %134, i64 %135 store ptr %136, ptr %11, align 8 br label %109, !llvm.loop !9 137: ; preds = %109 %138 = load ptr, ptr %10, align 8 %139 = load ptr, ptr %6, align 8 %140 = ptrtoint ptr %138 to i64 %141 = ptrtoint ptr %139 to i64 %142 = sub i64 %140, %141 %143 = trunc i64 %142 to i32 ret i32 %143 } declare i32 @countSameAsStart(ptr noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpic7l6087.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rleCompress(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %18 = load ptr, ptr %4, align 8 store ptr %18, ptr %7, align 8 %19 = load ptr, ptr %7, align 8 %20 = load i32, ptr %5, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 store ptr %22, ptr %8, align 8 %23 = load ptr, ptr %7, align 8 store ptr %23, ptr %9, align 8 %24 = load ptr, ptr %6, align 8 store ptr %24, ptr %10, align 8 %25 = load ptr, ptr %7, align 8 store ptr %25, ptr %11, align 8 %26 = load ptr, ptr %8, align 8 %27 = load ptr, ptr %9, align 8 %28 = ptrtoint ptr %26 to i64 %29 = ptrtoint ptr %27 to i64 %30 = sub i64 %28, %29 %31 = trunc i64 %30 to i32 store i32 %31, ptr %14, align 4 %32 = icmp ne i32 %31, 0 br i1 %32, label %.lr.ph2, label %109 .lr.ph2: ; preds = %3 br label %33 33: ; preds = %.lr.ph2, %101 %34 = load ptr, ptr %9, align 8 %35 = load i32, ptr %14, align 4 %36 = call i32 @countSameAsStart(ptr noundef %34, i32 noundef %35) store i32 %36, ptr %13, align 4 %37 = load ptr, ptr %9, align 8 %38 = load ptr, ptr %11, align 8 %39 = ptrtoint ptr %37 to i64 %40 = ptrtoint ptr %38 to i64 %41 = sub i64 %39, %40 %42 = trunc i64 %41 to i32 store i32 %42, ptr %12, align 4 %43 = load i32, ptr %13, align 4 %44 = icmp sge i32 %43, 3 br i1 %44, label %45, label %96 45: ; preds = %33 %46 = load ptr, ptr %9, align 8 %47 = load ptr, ptr %11, align 8 %48 = ptrtoint ptr %46 to i64 %49 = ptrtoint ptr %47 to i64 %50 = sub i64 %48, %49 %51 = trunc i64 %50 to i32 store i32 %51, ptr %15, align 4 %52 = load i32, ptr %15, align 4 %53 = icmp sgt i32 %52, 0 br i1 %53, label %.lr.ph, label %81 .lr.ph: ; preds = %45 br label %54 54: ; preds = %.lr.ph, %59 %55 = load i32, ptr %15, align 4 store i32 %55, ptr %16, align 4 %56 = load i32, ptr %16, align 4 %57 = icmp sgt i32 %56, 127 br i1 %57, label %58, label %59 58: ; preds = %54 store i32 127, ptr %16, align 4 br label %59 59: ; preds = %58, %54 %60 = load i32, ptr %16, align 4 %61 = trunc i32 %60 to i8 %62 = load ptr, ptr %10, align 8 %63 = getelementptr inbounds i8, ptr %62, i32 1 store ptr %63, ptr %10, align 8 store i8 %61, ptr %62, align 1 %64 = load ptr, ptr %10, align 8 %65 = load ptr, ptr %11, align 8 %66 = load i32, ptr %16, align 4 %67 = call i32 @memcpy(ptr noundef %64, ptr noundef %65, i32 noundef %66) %68 = load i32, ptr %16, align 4 %69 = load ptr, ptr %10, align 8 %70 = sext i32 %68 to i64 %71 = getelementptr inbounds i8, ptr %69, i64 %70 store ptr %71, ptr %10, align 8 %72 = load i32, ptr %16, align 4 %73 = load i32, ptr %15, align 4 %74 = sub nsw i32 %73, %72 store i32 %74, ptr %15, align 4 %75 = load i32, ptr %16, align 4 %76 = load ptr, ptr %11, align 8 %77 = sext i32 %75 to i64 %78 = getelementptr inbounds i8, ptr %76, i64 %77 store ptr %78, ptr %11, align 8 %79 = load i32, ptr %15, align 4 %80 = icmp sgt i32 %79, 0 br i1 %80, label %54, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %59 br label %81 81: ; preds = %._crit_edge, %45 %82 = load i32, ptr %13, align 4 %83 = sub nsw i32 0, %82 %84 = trunc i32 %83 to i8 %85 = load ptr, ptr %10, align 8 %86 = getelementptr inbounds i8, ptr %85, i32 1 store ptr %86, ptr %10, align 8 store i8 %84, ptr %85, align 1 %87 = load ptr, ptr %9, align 8 %88 = load i8, ptr %87, align 1 %89 = load ptr, ptr %10, align 8 %90 = getelementptr inbounds i8, ptr %89, i32 1 store ptr %90, ptr %10, align 8 store i8 %88, ptr %89, align 1 %91 = load i32, ptr %13, align 4 %92 = load ptr, ptr %9, align 8 %93 = sext i32 %91 to i64 %94 = getelementptr inbounds i8, ptr %92, i64 %93 store ptr %94, ptr %9, align 8 %95 = load ptr, ptr %9, align 8 store ptr %95, ptr %11, align 8 br label %101 96: ; preds = %33 %97 = load i32, ptr %13, align 4 %98 = load ptr, ptr %9, align 8 %99 = sext i32 %97 to i64 %100 = getelementptr inbounds i8, ptr %98, i64 %99 store ptr %100, ptr %9, align 8 br label %101 101: ; preds = %96, %81 %102 = load ptr, ptr %8, align 8 %103 = load ptr, ptr %9, align 8 %104 = ptrtoint ptr %102 to i64 %105 = ptrtoint ptr %103 to i64 %106 = sub i64 %104, %105 %107 = trunc i64 %106 to i32 store i32 %107, ptr %14, align 4 %108 = icmp ne i32 %107, 0 br i1 %108, label %33, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %101 br label %109 109: ; preds = %._crit_edge3, %3 %110 = load ptr, ptr %9, align 8 %111 = load ptr, ptr %11, align 8 %112 = ptrtoint ptr %110 to i64 %113 = ptrtoint ptr %111 to i64 %114 = sub i64 %112, %113 %115 = trunc i64 %114 to i32 store i32 %115, ptr %12, align 4 %116 = load i32, ptr %12, align 4 %117 = icmp sgt i32 %116, 0 br i1 %117, label %.lr.ph5, label %145 .lr.ph5: ; preds = %109 br label %118 118: ; preds = %.lr.ph5, %123 %119 = load i32, ptr %12, align 4 store i32 %119, ptr %17, align 4 %120 = load i32, ptr %17, align 4 %121 = icmp sgt i32 %120, 127 br i1 %121, label %122, label %123 122: ; preds = %118 store i32 127, ptr %17, align 4 br label %123 123: ; preds = %122, %118 %124 = load i32, ptr %17, align 4 %125 = trunc i32 %124 to i8 %126 = load ptr, ptr %10, align 8 %127 = getelementptr inbounds i8, ptr %126, i32 1 store ptr %127, ptr %10, align 8 store i8 %125, ptr %126, align 1 %128 = load ptr, ptr %10, align 8 %129 = load ptr, ptr %11, align 8 %130 = load i32, ptr %17, align 4 %131 = call i32 @memcpy(ptr noundef %128, ptr noundef %129, i32 noundef %130) %132 = load i32, ptr %17, align 4 %133 = load ptr, ptr %10, align 8 %134 = sext i32 %132 to i64 %135 = getelementptr inbounds i8, ptr %133, i64 %134 store ptr %135, ptr %10, align 8 %136 = load i32, ptr %17, align 4 %137 = load i32, ptr %12, align 4 %138 = sub nsw i32 %137, %136 store i32 %138, ptr %12, align 4 %139 = load i32, ptr %17, align 4 %140 = load ptr, ptr %11, align 8 %141 = sext i32 %139 to i64 %142 = getelementptr inbounds i8, ptr %140, i64 %141 store ptr %142, ptr %11, align 8 %143 = load i32, ptr %12, align 4 %144 = icmp sgt i32 %143, 0 br i1 %144, label %118, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %123 br label %145 145: ; preds = %._crit_edge6, %109 %146 = load ptr, ptr %10, align 8 %147 = load ptr, ptr %6, align 8 %148 = ptrtoint ptr %146 to i64 %149 = ptrtoint ptr %147 to i64 %150 = sub i64 %148, %149 %151 = trunc i64 %150 to i32 ret i32 %151 } declare i32 @countSameAsStart(ptr noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp8507nyz9.c' source_filename = "/tmp/tmp8507nyz9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"# c::%s:len=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"dmskabs2\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 @time(ptr noundef null) %9 = call i32 @srand(i32 noundef %8) %10 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 store i32 1, ptr %6, align 4 br label %11 11: ; preds = %41, %0 %12 = load i32, ptr %6, align 4 %13 = icmp sle i32 %12, 6 br i1 %13, label %14, label %44 14: ; preds = %11 %15 = load i32, ptr %6, align 4 %16 = call i32 @pow(i32 noundef 10, i32 noundef %15) store i32 %16, ptr %5, align 4 %17 = load i32, ptr %6, align 4 %18 = sub nsw i32 %17, 1 %19 = call i32 @pow(i32 noundef 10, i32 noundef %18) %20 = sdiv i32 10000000, %19 store i32 %20, ptr %4, align 4 store i32 0, ptr %7, align 4 br label %21 21: ; preds = %37, %14 %22 = load i32, ptr %7, align 4 %23 = icmp slt i32 %22, 3 br i1 %23, label %24, label %40 24: ; preds = %21 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %3, align 4 %27 = load i32, ptr %5, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %27) %29 = load i32, ptr %4, align 4 %30 = load i32, ptr %5, align 4 %31 = call double @benchmark(i32 noundef %29, i32 noundef %30) store double %31, ptr %2, align 8 %32 = load i32, ptr %4, align 4 %33 = load double, ptr %2, align 8 %34 = call i32 @print_results(i32 noundef %32, double noundef %33) %35 = load i32, ptr %3, align 4 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %35) br label %37 37: ; preds = %24 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %7, align 4 br label %21, !llvm.loop !6 40: ; preds = %21 br label %41 41: ; preds = %40 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %6, align 4 br label %11, !llvm.loop !8 44: ; preds = %11 %45 = load i32, ptr %3, align 4 %46 = load i32, ptr %3, align 4 %47 = call i32 @print_summary(i32 noundef %45, i32 noundef %46) %48 = load i32, ptr %1, align 4 ret i32 %48 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @pow(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(i32 noundef, i32 noundef) #1 declare i32 @print_results(i32 noundef, double noundef) #1 declare i32 @print_summary(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8507nyz9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"# c::%s:len=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"dmskabs2\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 @time(ptr noundef null) %9 = call i32 @srand(i32 noundef %8) %10 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 store i32 1, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp sle i32 %11, 6 br i1 %12, label %.lr.ph2, label %46 .lr.ph2: ; preds = %0 br label %13 13: ; preds = %.lr.ph2, %41 %14 = load i32, ptr %6, align 4 %15 = call i32 @pow(i32 noundef 10, i32 noundef %14) store i32 %15, ptr %5, align 4 %16 = load i32, ptr %6, align 4 %17 = sub nsw i32 %16, 1 %18 = call i32 @pow(i32 noundef 10, i32 noundef %17) %19 = sdiv i32 10000000, %18 store i32 %19, ptr %4, align 4 store i32 0, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp slt i32 %20, 3 br i1 %21, label %.lr.ph, label %40 .lr.ph: ; preds = %13 br label %22 22: ; preds = %.lr.ph, %35 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %3, align 4 %25 = load i32, ptr %5, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %25) %27 = load i32, ptr %4, align 4 %28 = load i32, ptr %5, align 4 %29 = call double @benchmark(i32 noundef %27, i32 noundef %28) store double %29, ptr %2, align 8 %30 = load i32, ptr %4, align 4 %31 = load double, ptr %2, align 8 %32 = call i32 @print_results(i32 noundef %30, double noundef %31) %33 = load i32, ptr %3, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %33) br label %35 35: ; preds = %22 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %7, align 4 %38 = load i32, ptr %7, align 4 %39 = icmp slt i32 %38, 3 br i1 %39, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %40 40: ; preds = %._crit_edge, %13 br label %41 41: ; preds = %40 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %6, align 4 %44 = load i32, ptr %6, align 4 %45 = icmp sle i32 %44, 6 br i1 %45, label %13, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %41 br label %46 46: ; preds = %._crit_edge3, %0 %47 = load i32, ptr %3, align 4 %48 = load i32, ptr %3, align 4 %49 = call i32 @print_summary(i32 noundef %47, i32 noundef %48) %50 = load i32, ptr %1, align 4 ret i32 %50 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @pow(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(i32 noundef, i32 noundef) #1 declare i32 @print_results(i32 noundef, double noundef) #1 declare i32 @print_summary(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp0ldtiizk.c' source_filename = "/tmp/tmp0ldtiizk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @UINT16_MAX = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0ldtiizk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @UINT16_MAX = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpswtdnbu3.c' source_filename = "/tmp/tmpswtdnbu3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @decode_juldaysec(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 { %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 store i32 %0, ptr %10, align 4 store i32 %1, ptr %11, align 4 store i32 %2, ptr %12, align 4 store ptr %3, ptr %13, align 8 store ptr %4, ptr %14, align 8 store ptr %5, ptr %15, align 8 store ptr %6, ptr %16, align 8 store ptr %7, ptr %17, align 8 store ptr %8, ptr %18, align 8 %19 = load i32, ptr %10, align 4 %20 = load i32, ptr %11, align 4 %21 = load ptr, ptr %13, align 8 %22 = load ptr, ptr %14, align 8 %23 = load ptr, ptr %15, align 8 %24 = call i32 @decode_julday(i32 noundef %19, i32 noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23) %25 = load i32, ptr %12, align 4 %26 = sdiv i32 %25, 3600 %27 = load ptr, ptr %16, align 8 store i32 %26, ptr %27, align 4 %28 = load i32, ptr %12, align 4 %29 = sdiv i32 %28, 60 %30 = load ptr, ptr %16, align 8 %31 = load i32, ptr %30, align 4 %32 = mul nsw i32 %31, 60 %33 = sub nsw i32 %29, %32 %34 = load ptr, ptr %17, align 8 store i32 %33, ptr %34, align 4 %35 = load i32, ptr %12, align 4 %36 = load ptr, ptr %16, align 8 %37 = load i32, ptr %36, align 4 %38 = mul nsw i32 %37, 3600 %39 = sub nsw i32 %35, %38 %40 = load ptr, ptr %17, align 8 %41 = load i32, ptr %40, align 4 %42 = mul nsw i32 %41, 60 %43 = sub nsw i32 %39, %42 %44 = load ptr, ptr %18, align 8 store i32 %43, ptr %44, align 4 ret void } declare i32 @decode_julday(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpswtdnbu3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @decode_juldaysec(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 { %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 store i32 %0, ptr %10, align 4 store i32 %1, ptr %11, align 4 store i32 %2, ptr %12, align 4 store ptr %3, ptr %13, align 8 store ptr %4, ptr %14, align 8 store ptr %5, ptr %15, align 8 store ptr %6, ptr %16, align 8 store ptr %7, ptr %17, align 8 store ptr %8, ptr %18, align 8 %19 = load i32, ptr %10, align 4 %20 = load i32, ptr %11, align 4 %21 = load ptr, ptr %13, align 8 %22 = load ptr, ptr %14, align 8 %23 = load ptr, ptr %15, align 8 %24 = call i32 @decode_julday(i32 noundef %19, i32 noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23) %25 = load i32, ptr %12, align 4 %26 = sdiv i32 %25, 3600 %27 = load ptr, ptr %16, align 8 store i32 %26, ptr %27, align 4 %28 = load i32, ptr %12, align 4 %29 = sdiv i32 %28, 60 %30 = load ptr, ptr %16, align 8 %31 = load i32, ptr %30, align 4 %32 = mul nsw i32 %31, 60 %33 = sub nsw i32 %29, %32 %34 = load ptr, ptr %17, align 8 store i32 %33, ptr %34, align 4 %35 = load i32, ptr %12, align 4 %36 = load ptr, ptr %16, align 8 %37 = load i32, ptr %36, align 4 %38 = mul nsw i32 %37, 3600 %39 = sub nsw i32 %35, %38 %40 = load ptr, ptr %17, align 8 %41 = load i32, ptr %40, align 4 %42 = mul nsw i32 %41, 60 %43 = sub nsw i32 %39, %42 %44 = load ptr, ptr %18, align 8 store i32 %43, ptr %44, align 4 ret void } declare i32 @decode_julday(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpez29ebrx.c' source_filename = "/tmp/tmpez29ebrx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local i64 @__read(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %6, align 8 ret i64 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpez29ebrx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local i64 @__read(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %6, align 8 ret i64 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwv4p9qa8.c' source_filename = "/tmp/tmpwv4p9qa8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"%c[%s;%sH\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @screenposition(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load i32, ptr @stdout, align 4 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, i32 noundef 27, ptr noundef %6, ptr noundef %7) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwv4p9qa8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"%c[%s;%sH\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @screenposition(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load i32, ptr @stdout, align 4 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, i32 noundef 27, ptr noundef %6, ptr noundef %7) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqteg62ld.c' source_filename = "/tmp/tmpqteg62ld.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [52 x i8] c"Usage: vznnc {-l|-c} -p PORT [-f FD] CMD [arg ...]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqteg62ld.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [52 x i8] c"Usage: vznnc {-l|-c} -p PORT [-f FD] CMD [arg ...]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5r_zilvb.c' source_filename = "/tmp/tmp5r_zilvb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"/home/george/Documents/C/pipe.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"a\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"/home/george/Documents/C/mmapped.bin\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [31 x i8] c"Error opening file for writing\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [44 x i8] c"Error calling lseek() to 'stretch' the file\00", align 1 @.str.5 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.6 = private unnamed_addr constant [36 x i8] c"Error writing last byte of the file\00", align 1 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @.str.7 = private unnamed_addr constant [24 x i8] c"Error mmapping the file\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.9 = private unnamed_addr constant [44 x i8] c"It took this time to do the for-loop: %Lf \0A\00", align 1 @.str.10 = private unnamed_addr constant [5 x i8] c"%Lf\0A\00", align 1 @.str.11 = private unnamed_addr constant [27 x i8] c"Error un-mmapping the file\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca x86_fp80, align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %13, align 4 %15 = load i32, ptr %13, align 4 br label %16 16: ; preds = %175, %2 %17 = load i32, ptr %13, align 4 %18 = icmp slt i32 %17, 100 br i1 %18, label %19, label %178 19: ; preds = %16 %20 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %20, ptr %12, align 8 %21 = load i32, ptr @O_RDWR, align 4 %22 = load i32, ptr @O_CREAT, align 4 %23 = or i32 %21, %22 %24 = load i32, ptr @O_TRUNC, align 4 %25 = or i32 %23, %24 %26 = call i32 @open(ptr noundef @.str.2, i32 noundef %25, i32 noundef 384) store i32 %26, ptr %7, align 4 %27 = load i32, ptr %7, align 4 %28 = icmp eq i32 %27, -1 br i1 %28, label %29, label %33 29: ; preds = %19 %30 = call i32 @perror(ptr noundef @.str.3) %31 = load i32, ptr @EXIT_FAILURE, align 4 %32 = call i32 @exit(i32 noundef %31) #3 unreachable 33: ; preds = %19 %34 = load i32, ptr %7, align 4 %35 = load i32, ptr @SEEK_SET, align 4 %36 = call i32 @lseek(i32 noundef %34, i32 noundef 15, i32 noundef %35) store i32 %36, ptr %8, align 4 %37 = load i32, ptr %8, align 4 %38 = icmp eq i32 %37, -1 br i1 %38, label %39, label %45 39: ; preds = %33 %40 = load i32, ptr %7, align 4 %41 = call i32 @close(i32 noundef %40) %42 = call i32 @perror(ptr noundef @.str.4) %43 = load i32, ptr @EXIT_FAILURE, align 4 %44 = call i32 @exit(i32 noundef %43) #3 unreachable 45: ; preds = %33 %46 = load i32, ptr %7, align 4 %47 = call i32 @write(i32 noundef %46, ptr noundef @.str.5, i32 noundef 1) store i32 %47, ptr %8, align 4 %48 = load i32, ptr %8, align 4 %49 = icmp ne i32 %48, 1 br i1 %49, label %50, label %56 50: ; preds = %45 %51 = load i32, ptr %7, align 4 %52 = call i32 @close(i32 noundef %51) %53 = call i32 @perror(ptr noundef @.str.6) %54 = load i32, ptr @EXIT_FAILURE, align 4 %55 = call i32 @exit(i32 noundef %54) #3 unreachable 56: ; preds = %45 %57 = load i32, ptr @PROT_READ, align 4 %58 = load i32, ptr @PROT_WRITE, align 4 %59 = or i32 %57, %58 %60 = load i32, ptr @MAP_SHARED, align 4 %61 = load i32, ptr %7, align 4 %62 = call ptr @mmap(i32 noundef 0, i32 noundef 16, i32 noundef %59, i32 noundef %60, i32 noundef %61, i32 noundef 0) store ptr %62, ptr %9, align 8 %63 = load ptr, ptr %9, align 8 %64 = load ptr, ptr @MAP_FAILED, align 8 %65 = icmp eq ptr %63, %64 br i1 %65, label %66, label %72 66: ; preds = %56 %67 = load i32, ptr %7, align 4 %68 = call i32 @close(i32 noundef %67) %69 = call i32 @perror(ptr noundef @.str.7) %70 = load i32, ptr @EXIT_FAILURE, align 4 %71 = call i32 @exit(i32 noundef %70) #3 unreachable 72: ; preds = %56 %73 = call i64 (...) @rdtsc() store i64 %73, ptr %10, align 8 store i32 1, ptr %6, align 4 br label %74 74: ; preds = %82, %72 %75 = load i32, ptr %6, align 4 %76 = icmp sle i32 %75, 4 br i1 %76, label %77, label %85 77: ; preds = %74 %78 = load ptr, ptr %9, align 8 %79 = load i32, ptr %6, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i32, ptr %78, i64 %80 store i32 1, ptr %81, align 4 br label %82 82: ; preds = %77 %83 = load i32, ptr %6, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %6, align 4 br label %74, !llvm.loop !6 85: ; preds = %74 %86 = load i32, ptr @PROT_READ, align 4 %87 = load i32, ptr @MAP_SHARED, align 4 %88 = load i32, ptr %7, align 4 %89 = call ptr @mmap(i32 noundef 0, i32 noundef 16, i32 noundef %86, i32 noundef %87, i32 noundef %88, i32 noundef 0) store ptr %89, ptr %9, align 8 %90 = load ptr, ptr %9, align 8 %91 = load ptr, ptr @MAP_FAILED, align 8 %92 = icmp eq ptr %90, %91 br i1 %92, label %93, label %99 93: ; preds = %85 %94 = load i32, ptr %7, align 4 %95 = call i32 @close(i32 noundef %94) %96 = call i32 @perror(ptr noundef @.str.7) %97 = load i32, ptr @EXIT_FAILURE, align 4 %98 = call i32 @exit(i32 noundef %97) #3 unreachable 99: ; preds = %85 store i32 1, ptr %6, align 4 br label %100 100: ; preds = %111, %99 %101 = load i32, ptr %6, align 4 %102 = icmp sle i32 %101, 3 br i1 %102, label %103, label %114 103: ; preds = %100 %104 = load ptr, ptr %9, align 8 %105 = load i32, ptr %6, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds i32, ptr %104, i64 %106 %108 = load i32, ptr %107, align 4 %109 = sitofp i32 %108 to x86_fp80 %110 = call i32 @printf(ptr noundef @.str.8, x86_fp80 noundef %109) br label %111 111: ; preds = %103 %112 = load i32, ptr %6, align 4 %113 = add nsw i32 %112, 2 store i32 %113, ptr %6, align 4 br label %100, !llvm.loop !8 114: ; preds = %100 %115 = load i32, ptr @PROT_READ, align 4 %116 = load i32, ptr @PROT_WRITE, align 4 %117 = or i32 %115, %116 %118 = load i32, ptr @MAP_SHARED, align 4 %119 = load i32, ptr %7, align 4 %120 = call ptr @mmap(i32 noundef 0, i32 noundef 16, i32 noundef %117, i32 noundef %118, i32 noundef %119, i32 noundef 0) store ptr %120, ptr %9, align 8 %121 = load ptr, ptr %9, align 8 %122 = load ptr, ptr @MAP_FAILED, align 8 %123 = icmp eq ptr %121, %122 br i1 %123, label %124, label %130 124: ; preds = %114 %125 = load i32, ptr %7, align 4 %126 = call i32 @close(i32 noundef %125) %127 = call i32 @perror(ptr noundef @.str.7) %128 = load i32, ptr @EXIT_FAILURE, align 4 %129 = call i32 @exit(i32 noundef %128) #3 unreachable 130: ; preds = %114 %131 = load ptr, ptr %9, align 8 %132 = getelementptr inbounds i32, ptr %131, i64 0 store i32 6, ptr %132, align 4 %133 = load i32, ptr @PROT_READ, align 4 %134 = load i32, ptr @MAP_SHARED, align 4 %135 = load i32, ptr %7, align 4 %136 = call ptr @mmap(i32 noundef 0, i32 noundef 16, i32 noundef %133, i32 noundef %134, i32 noundef %135, i32 noundef 0) store ptr %136, ptr %9, align 8 %137 = load ptr, ptr %9, align 8 %138 = load ptr, ptr @MAP_FAILED, align 8 %139 = icmp eq ptr %137, %138 br i1 %139, label %140, label %146 140: ; preds = %130 %141 = load i32, ptr %7, align 4 %142 = call i32 @close(i32 noundef %141) %143 = call i32 @perror(ptr noundef @.str.7) %144 = load i32, ptr @EXIT_FAILURE, align 4 %145 = call i32 @exit(i32 noundef %144) #3 unreachable 146: ; preds = %130 %147 = load ptr, ptr %9, align 8 %148 = getelementptr inbounds i32, ptr %147, i64 0 %149 = load i32, ptr %148, align 4 %150 = sitofp i32 %149 to x86_fp80 %151 = call i32 @printf(ptr noundef @.str.8, x86_fp80 noundef %150) %152 = call i64 (...) @rdtsc() store i64 %152, ptr %11, align 8 %153 = load i64, ptr %11, align 8 %154 = load i64, ptr %10, align 8 %155 = sub i64 %153, %154 %156 = uitofp i64 %155 to x86_fp80 %157 = fdiv x86_fp80 %156, 0xK401E9AF8DA0000000000 store x86_fp80 %157, ptr %14, align 16 %158 = load x86_fp80, ptr %14, align 16 %159 = call i32 @printf(ptr noundef @.str.9, x86_fp80 noundef %158) %160 = load i32, ptr %7, align 4 %161 = call i32 @close(i32 noundef %160) %162 = load ptr, ptr %12, align 8 %163 = load x86_fp80, ptr %14, align 16 %164 = call i32 @fprintf(ptr noundef %162, ptr noundef @.str.10, x86_fp80 noundef %163) %165 = load ptr, ptr %12, align 8 %166 = call i32 @fflush(ptr noundef %165) %167 = load ptr, ptr %9, align 8 %168 = call i32 @munmap(ptr noundef %167, i32 noundef 16) %169 = icmp eq i32 %168, -1 br i1 %169, label %170, label %172 170: ; preds = %146 %171 = call i32 @perror(ptr noundef @.str.11) br label %172 172: ; preds = %170, %146 %173 = load ptr, ptr %12, align 8 %174 = call i32 @fclose(ptr noundef %173) br label %175 175: ; preds = %172 %176 = load i32, ptr %13, align 4 %177 = add nsw i32 %176, 1 store i32 %177, ptr %13, align 4 br label %16, !llvm.loop !9 178: ; preds = %16 ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @mmap(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @rdtsc(...) #1 declare i32 @printf(ptr noundef, x86_fp80 noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, x86_fp80 noundef) #1 declare i32 @fflush(ptr noundef) #1 declare i32 @munmap(ptr noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5r_zilvb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"/home/george/Documents/C/pipe.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"a\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"/home/george/Documents/C/mmapped.bin\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [31 x i8] c"Error opening file for writing\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [44 x i8] c"Error calling lseek() to 'stretch' the file\00", align 1 @.str.5 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.6 = private unnamed_addr constant [36 x i8] c"Error writing last byte of the file\00", align 1 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @.str.7 = private unnamed_addr constant [24 x i8] c"Error mmapping the file\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.9 = private unnamed_addr constant [44 x i8] c"It took this time to do the for-loop: %Lf \0A\00", align 1 @.str.10 = private unnamed_addr constant [5 x i8] c"%Lf\0A\00", align 1 @.str.11 = private unnamed_addr constant [27 x i8] c"Error un-mmapping the file\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca x86_fp80, align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %13, align 4 %15 = load i32, ptr %13, align 4 %16 = load i32, ptr %13, align 4 %17 = icmp slt i32 %16, 100 br i1 %17, label %.lr.ph5, label %181 .lr.ph5: ; preds = %2 br label %18 18: ; preds = %.lr.ph5, %176 %19 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %19, ptr %12, align 8 %20 = load i32, ptr @O_RDWR, align 4 %21 = load i32, ptr @O_CREAT, align 4 %22 = or i32 %20, %21 %23 = load i32, ptr @O_TRUNC, align 4 %24 = or i32 %22, %23 %25 = call i32 @open(ptr noundef @.str.2, i32 noundef %24, i32 noundef 384) store i32 %25, ptr %7, align 4 %26 = load i32, ptr %7, align 4 %27 = icmp eq i32 %26, -1 br i1 %27, label %28, label %32 28: ; preds = %18 %29 = call i32 @perror(ptr noundef @.str.3) %30 = load i32, ptr @EXIT_FAILURE, align 4 %31 = call i32 @exit(i32 noundef %30) #3 unreachable 32: ; preds = %18 %33 = load i32, ptr %7, align 4 %34 = load i32, ptr @SEEK_SET, align 4 %35 = call i32 @lseek(i32 noundef %33, i32 noundef 15, i32 noundef %34) store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp eq i32 %36, -1 br i1 %37, label %38, label %44 38: ; preds = %32 %39 = load i32, ptr %7, align 4 %40 = call i32 @close(i32 noundef %39) %41 = call i32 @perror(ptr noundef @.str.4) %42 = load i32, ptr @EXIT_FAILURE, align 4 %43 = call i32 @exit(i32 noundef %42) #3 unreachable 44: ; preds = %32 %45 = load i32, ptr %7, align 4 %46 = call i32 @write(i32 noundef %45, ptr noundef @.str.5, i32 noundef 1) store i32 %46, ptr %8, align 4 %47 = load i32, ptr %8, align 4 %48 = icmp ne i32 %47, 1 br i1 %48, label %49, label %55 49: ; preds = %44 %50 = load i32, ptr %7, align 4 %51 = call i32 @close(i32 noundef %50) %52 = call i32 @perror(ptr noundef @.str.6) %53 = load i32, ptr @EXIT_FAILURE, align 4 %54 = call i32 @exit(i32 noundef %53) #3 unreachable 55: ; preds = %44 %56 = load i32, ptr @PROT_READ, align 4 %57 = load i32, ptr @PROT_WRITE, align 4 %58 = or i32 %56, %57 %59 = load i32, ptr @MAP_SHARED, align 4 %60 = load i32, ptr %7, align 4 %61 = call ptr @mmap(i32 noundef 0, i32 noundef 16, i32 noundef %58, i32 noundef %59, i32 noundef %60, i32 noundef 0) store ptr %61, ptr %9, align 8 %62 = load ptr, ptr %9, align 8 %63 = load ptr, ptr @MAP_FAILED, align 8 %64 = icmp eq ptr %62, %63 br i1 %64, label %65, label %71 65: ; preds = %55 %66 = load i32, ptr %7, align 4 %67 = call i32 @close(i32 noundef %66) %68 = call i32 @perror(ptr noundef @.str.7) %69 = load i32, ptr @EXIT_FAILURE, align 4 %70 = call i32 @exit(i32 noundef %69) #3 unreachable 71: ; preds = %55 %72 = call i64 (...) @rdtsc() store i64 %72, ptr %10, align 8 store i32 1, ptr %6, align 4 %73 = load i32, ptr %6, align 4 %74 = icmp sle i32 %73, 4 br i1 %74, label %.lr.ph, label %85 .lr.ph: ; preds = %71 br label %75 75: ; preds = %.lr.ph, %80 %76 = load ptr, ptr %9, align 8 %77 = load i32, ptr %6, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i32, ptr %76, i64 %78 store i32 1, ptr %79, align 4 br label %80 80: ; preds = %75 %81 = load i32, ptr %6, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %6, align 4 %83 = load i32, ptr %6, align 4 %84 = icmp sle i32 %83, 4 br i1 %84, label %75, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %80 br label %85 85: ; preds = %._crit_edge, %71 %86 = load i32, ptr @PROT_READ, align 4 %87 = load i32, ptr @MAP_SHARED, align 4 %88 = load i32, ptr %7, align 4 %89 = call ptr @mmap(i32 noundef 0, i32 noundef 16, i32 noundef %86, i32 noundef %87, i32 noundef %88, i32 noundef 0) store ptr %89, ptr %9, align 8 %90 = load ptr, ptr %9, align 8 %91 = load ptr, ptr @MAP_FAILED, align 8 %92 = icmp eq ptr %90, %91 br i1 %92, label %93, label %99 93: ; preds = %85 %94 = load i32, ptr %7, align 4 %95 = call i32 @close(i32 noundef %94) %96 = call i32 @perror(ptr noundef @.str.7) %97 = load i32, ptr @EXIT_FAILURE, align 4 %98 = call i32 @exit(i32 noundef %97) #3 unreachable 99: ; preds = %85 store i32 1, ptr %6, align 4 %100 = load i32, ptr %6, align 4 %101 = icmp sle i32 %100, 3 br i1 %101, label %.lr.ph2, label %115 .lr.ph2: ; preds = %99 br label %102 102: ; preds = %.lr.ph2, %110 %103 = load ptr, ptr %9, align 8 %104 = load i32, ptr %6, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds i32, ptr %103, i64 %105 %107 = load i32, ptr %106, align 4 %108 = sitofp i32 %107 to x86_fp80 %109 = call i32 @printf(ptr noundef @.str.8, x86_fp80 noundef %108) br label %110 110: ; preds = %102 %111 = load i32, ptr %6, align 4 %112 = add nsw i32 %111, 2 store i32 %112, ptr %6, align 4 %113 = load i32, ptr %6, align 4 %114 = icmp sle i32 %113, 3 br i1 %114, label %102, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %110 br label %115 115: ; preds = %._crit_edge3, %99 %116 = load i32, ptr @PROT_READ, align 4 %117 = load i32, ptr @PROT_WRITE, align 4 %118 = or i32 %116, %117 %119 = load i32, ptr @MAP_SHARED, align 4 %120 = load i32, ptr %7, align 4 %121 = call ptr @mmap(i32 noundef 0, i32 noundef 16, i32 noundef %118, i32 noundef %119, i32 noundef %120, i32 noundef 0) store ptr %121, ptr %9, align 8 %122 = load ptr, ptr %9, align 8 %123 = load ptr, ptr @MAP_FAILED, align 8 %124 = icmp eq ptr %122, %123 br i1 %124, label %125, label %131 125: ; preds = %115 %126 = load i32, ptr %7, align 4 %127 = call i32 @close(i32 noundef %126) %128 = call i32 @perror(ptr noundef @.str.7) %129 = load i32, ptr @EXIT_FAILURE, align 4 %130 = call i32 @exit(i32 noundef %129) #3 unreachable 131: ; preds = %115 %132 = load ptr, ptr %9, align 8 %133 = getelementptr inbounds i32, ptr %132, i64 0 store i32 6, ptr %133, align 4 %134 = load i32, ptr @PROT_READ, align 4 %135 = load i32, ptr @MAP_SHARED, align 4 %136 = load i32, ptr %7, align 4 %137 = call ptr @mmap(i32 noundef 0, i32 noundef 16, i32 noundef %134, i32 noundef %135, i32 noundef %136, i32 noundef 0) store ptr %137, ptr %9, align 8 %138 = load ptr, ptr %9, align 8 %139 = load ptr, ptr @MAP_FAILED, align 8 %140 = icmp eq ptr %138, %139 br i1 %140, label %141, label %147 141: ; preds = %131 %142 = load i32, ptr %7, align 4 %143 = call i32 @close(i32 noundef %142) %144 = call i32 @perror(ptr noundef @.str.7) %145 = load i32, ptr @EXIT_FAILURE, align 4 %146 = call i32 @exit(i32 noundef %145) #3 unreachable 147: ; preds = %131 %148 = load ptr, ptr %9, align 8 %149 = getelementptr inbounds i32, ptr %148, i64 0 %150 = load i32, ptr %149, align 4 %151 = sitofp i32 %150 to x86_fp80 %152 = call i32 @printf(ptr noundef @.str.8, x86_fp80 noundef %151) %153 = call i64 (...) @rdtsc() store i64 %153, ptr %11, align 8 %154 = load i64, ptr %11, align 8 %155 = load i64, ptr %10, align 8 %156 = sub i64 %154, %155 %157 = uitofp i64 %156 to x86_fp80 %158 = fdiv x86_fp80 %157, 0xK401E9AF8DA0000000000 store x86_fp80 %158, ptr %14, align 16 %159 = load x86_fp80, ptr %14, align 16 %160 = call i32 @printf(ptr noundef @.str.9, x86_fp80 noundef %159) %161 = load i32, ptr %7, align 4 %162 = call i32 @close(i32 noundef %161) %163 = load ptr, ptr %12, align 8 %164 = load x86_fp80, ptr %14, align 16 %165 = call i32 @fprintf(ptr noundef %163, ptr noundef @.str.10, x86_fp80 noundef %164) %166 = load ptr, ptr %12, align 8 %167 = call i32 @fflush(ptr noundef %166) %168 = load ptr, ptr %9, align 8 %169 = call i32 @munmap(ptr noundef %168, i32 noundef 16) %170 = icmp eq i32 %169, -1 br i1 %170, label %171, label %173 171: ; preds = %147 %172 = call i32 @perror(ptr noundef @.str.11) br label %173 173: ; preds = %171, %147 %174 = load ptr, ptr %12, align 8 %175 = call i32 @fclose(ptr noundef %174) br label %176 176: ; preds = %173 %177 = load i32, ptr %13, align 4 %178 = add nsw i32 %177, 1 store i32 %178, ptr %13, align 4 %179 = load i32, ptr %13, align 4 %180 = icmp slt i32 %179, 100 br i1 %180, label %18, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %176 br label %181 181: ; preds = %._crit_edge6, %2 ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @mmap(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @rdtsc(...) #1 declare i32 @printf(ptr noundef, x86_fp80 noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, x86_fp80 noundef) #1 declare i32 @fflush(ptr noundef) #1 declare i32 @munmap(ptr noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpx7z6czr6.c' source_filename = "/tmp/tmpx7z6czr6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1 @CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i64 (...) @clock() store i64 %6, ptr %2, align 8 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %15, %0 %8 = load i32, ptr %5, align 4 %9 = icmp slt i32 %8, 1000000 br i1 %9, label %10, label %18 10: ; preds = %7 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %5, align 4 %13 = add nsw i32 %11, %12 %14 = call i32 @abs(i32 noundef %13) #3 store i32 %14, ptr %4, align 4 br label %15 15: ; preds = %10 %16 = load i32, ptr %5, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %5, align 4 br label %7, !llvm.loop !6 18: ; preds = %7 %19 = call i64 (...) @clock() store i64 %19, ptr %3, align 8 %20 = load i64, ptr %3, align 8 %21 = load i64, ptr %2, align 8 %22 = sub nsw i64 %20, %21 %23 = sitofp i64 %22 to double %24 = load double, ptr @CLOCKS_PER_SEC, align 8 %25 = fdiv double %23, %24 %26 = call i32 @printf(ptr noundef @.str, double noundef %25) %27 = load i32, ptr %1, align 4 ret i32 %27 } declare i64 @clock(...) #1 ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(i32 noundef) #2 declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx7z6czr6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1 @CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i64 (...) @clock() store i64 %6, ptr %2, align 8 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = icmp slt i32 %7, 1000000 br i1 %8, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %14 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %5, align 4 %12 = add nsw i32 %10, %11 %13 = call i32 @abs(i32 noundef %12) #3 store i32 %13, ptr %4, align 4 br label %14 14: ; preds = %9 %15 = load i32, ptr %5, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %5, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp slt i32 %17, 1000000 br i1 %18, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %19 19: ; preds = %._crit_edge, %0 %20 = call i64 (...) @clock() store i64 %20, ptr %3, align 8 %21 = load i64, ptr %3, align 8 %22 = load i64, ptr %2, align 8 %23 = sub nsw i64 %21, %22 %24 = sitofp i64 %23 to double %25 = load double, ptr @CLOCKS_PER_SEC, align 8 %26 = fdiv double %24, %25 %27 = call i32 @printf(ptr noundef @.str, double noundef %26) %28 = load i32, ptr %1, align 4 ret i32 %28 } declare i64 @clock(...) #1 ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(i32 noundef) #2 declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbtkhgdah.c' source_filename = "/tmp/tmpbtkhgdah.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @i2c_set_slave_addr(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %5, align 4 %8 = call i64 @ioctl(i32 noundef %6, i32 noundef 1795, i32 noundef %7) %9 = icmp slt i64 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load i32, ptr @errno, align 4 %12 = sub nsw i32 0, %11 store i32 %12, ptr %3, align 4 br label %14 13: ; preds = %2 store i32 0, ptr %3, align 4 br label %14 14: ; preds = %13, %10 %15 = load i32, ptr %3, align 4 ret i32 %15 } declare i64 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbtkhgdah.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @i2c_set_slave_addr(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %5, align 4 %8 = call i64 @ioctl(i32 noundef %6, i32 noundef 1795, i32 noundef %7) %9 = icmp slt i64 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load i32, ptr @errno, align 4 %12 = sub nsw i32 0, %11 store i32 %12, ptr %3, align 4 br label %14 13: ; preds = %2 store i32 0, ptr %3, align 4 br label %14 14: ; preds = %13, %10 %15 = load i32, ptr %3, align 4 ret i32 %15 } declare i64 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpio210q9q.c' source_filename = "/tmp/tmpio210q9q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @zeroblog_extract_value(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %8, align 4 %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 0 store i8 0, ptr %10, align 1 store i32 0, ptr %5, align 4 br label %11 11: ; preds = %26, %2 %12 = load i32, ptr %5, align 4 %13 = load ptr, ptr %3, align 8 %14 = call i32 @strlen(ptr noundef %13) %15 = icmp slt i32 %12, %14 br i1 %15, label %16, label %29 16: ; preds = %11 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 58 br i1 %23, label %24, label %25 24: ; preds = %16 br label %29 25: ; preds = %16 br label %26 26: ; preds = %25 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %5, align 4 br label %11, !llvm.loop !6 29: ; preds = %24, %11 %30 = load i32, ptr %5, align 4 %31 = load ptr, ptr %3, align 8 %32 = call i32 @strlen(ptr noundef %31) %33 = icmp eq i32 %30, %32 br i1 %33, label %34, label %35 34: ; preds = %29 br label %142 35: ; preds = %29 %36 = load i32, ptr %5, align 4 store i32 %36, ptr %6, align 4 br label %37 37: ; preds = %52, %35 %38 = load i32, ptr %6, align 4 %39 = load ptr, ptr %3, align 8 %40 = call i32 @strlen(ptr noundef %39) %41 = icmp slt i32 %38, %40 br i1 %41, label %42, label %55 42: ; preds = %37 %43 = load ptr, ptr %3, align 8 %44 = load i32, ptr %6, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %43, i64 %45 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = icmp eq i32 %48, 34 br i1 %49, label %50, label %51 50: ; preds = %42 br label %55 51: ; preds = %42 br label %52 52: ; preds = %51 %53 = load i32, ptr %6, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %6, align 4 br label %37, !llvm.loop !8 55: ; preds = %50, %37 %56 = load i32, ptr %6, align 4 %57 = load ptr, ptr %3, align 8 %58 = call i32 @strlen(ptr noundef %57) %59 = icmp eq i32 %56, %58 br i1 %59, label %60, label %96 60: ; preds = %55 %61 = load i32, ptr %5, align 4 %62 = add nsw i32 %61, 2 store i32 %62, ptr %6, align 4 br label %63 63: ; preds = %88, %60 %64 = load i32, ptr %6, align 4 %65 = load ptr, ptr %3, align 8 %66 = call i32 @strlen(ptr noundef %65) %67 = icmp slt i32 %64, %66 br i1 %67, label %68, label %91 68: ; preds = %63 %69 = load ptr, ptr %3, align 8 %70 = load i32, ptr %6, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i8, ptr %69, i64 %71 %73 = load i8, ptr %72, align 1 %74 = sext i8 %73 to i32 %75 = icmp eq i32 %74, 44 br i1 %75, label %76, label %77 76: ; preds = %68 br label %91 77: ; preds = %68 %78 = load ptr, ptr %3, align 8 %79 = load i32, ptr %6, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i8, ptr %78, i64 %80 %82 = load i8, ptr %81, align 1 %83 = load ptr, ptr %4, align 8 %84 = load i32, ptr %8, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %8, align 4 %86 = sext i32 %84 to i64 %87 = getelementptr inbounds i8, ptr %83, i64 %86 store i8 %82, ptr %87, align 1 br label %88 88: ; preds = %77 %89 = load i32, ptr %6, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %6, align 4 br label %63, !llvm.loop !9 91: ; preds = %76, %63 %92 = load ptr, ptr %4, align 8 %93 = load i32, ptr %8, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds i8, ptr %92, i64 %94 store i8 0, ptr %95, align 1 br label %142 96: ; preds = %55 %97 = load i32, ptr %6, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %6, align 4 %99 = load i32, ptr %6, align 4 store i32 %99, ptr %7, align 4 br label %100 100: ; preds = %117, %96 %101 = load i32, ptr %7, align 4 %102 = load ptr, ptr %3, align 8 %103 = call i32 @strlen(ptr noundef %102) %104 = sub nsw i32 %103, 1 %105 = icmp slt i32 %101, %104 br i1 %105, label %106, label %120 106: ; preds = %100 %107 = load ptr, ptr %3, align 8 %108 = load i32, ptr %7, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds i8, ptr %107, i64 %109 %111 = load i8, ptr %110, align 1 %112 = load ptr, ptr %4, align 8 %113 = load i32, ptr %8, align 4 %114 = add nsw i32 %113, 1 store i32 %114, ptr %8, align 4 %115 = sext i32 %113 to i64 %116 = getelementptr inbounds i8, ptr %112, i64 %115 store i8 %111, ptr %116, align 1 br label %117 117: ; preds = %106 %118 = load i32, ptr %7, align 4 %119 = add nsw i32 %118, 1 store i32 %119, ptr %7, align 4 br label %100, !llvm.loop !10 120: ; preds = %100 br label %121 121: ; preds = %134, %120 %122 = load i32, ptr %8, align 4 %123 = icmp sgt i32 %122, 1 br i1 %123, label %124, label %132 124: ; preds = %121 %125 = load ptr, ptr %4, align 8 %126 = load i32, ptr %8, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds i8, ptr %125, i64 %127 %129 = load i8, ptr %128, align 1 %130 = sext i8 %129 to i32 %131 = icmp ne i32 %130, 34 br label %132 132: ; preds = %124, %121 %133 = phi i1 [ false, %121 ], [ %131, %124 ] br i1 %133, label %134, label %137 134: ; preds = %132 %135 = load i32, ptr %8, align 4 %136 = add nsw i32 %135, -1 store i32 %136, ptr %8, align 4 br label %121, !llvm.loop !11 137: ; preds = %132 %138 = load ptr, ptr %4, align 8 %139 = load i32, ptr %8, align 4 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds i8, ptr %138, i64 %140 store i8 0, ptr %141, align 1 br label %142 142: ; preds = %137, %91, %34 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpio210q9q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @zeroblog_extract_value(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %8, align 4 %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 0 store i8 0, ptr %10, align 1 store i32 0, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = load ptr, ptr %3, align 8 %13 = call i32 @strlen(ptr noundef %12) %14 = icmp slt i32 %11, %13 br i1 %14, label %.lr.ph, label %.loopexit2 .lr.ph: ; preds = %2 br label %15 15: ; preds = %.lr.ph, %25 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 58 br i1 %22, label %23, label %24 23: ; preds = %15 br label %32 24: ; preds = %15 br label %25 25: ; preds = %24 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %5, align 4 %28 = load i32, ptr %5, align 4 %29 = load ptr, ptr %3, align 8 %30 = call i32 @strlen(ptr noundef %29) %31 = icmp slt i32 %28, %30 br i1 %31, label %15, label %..loopexit2_crit_edge, !llvm.loop !6 ..loopexit2_crit_edge: ; preds = %25 br label %.loopexit2 .loopexit2: ; preds = %..loopexit2_crit_edge, %2 br label %32 32: ; preds = %.loopexit2, %23 %33 = load i32, ptr %5, align 4 %34 = load ptr, ptr %3, align 8 %35 = call i32 @strlen(ptr noundef %34) %36 = icmp eq i32 %33, %35 br i1 %36, label %37, label %38 37: ; preds = %32 br label %155 38: ; preds = %32 %39 = load i32, ptr %5, align 4 store i32 %39, ptr %6, align 4 %40 = load i32, ptr %6, align 4 %41 = load ptr, ptr %3, align 8 %42 = call i32 @strlen(ptr noundef %41) %43 = icmp slt i32 %40, %42 br i1 %43, label %.lr.ph3, label %.loopexit1 .lr.ph3: ; preds = %38 br label %44 44: ; preds = %.lr.ph3, %54 %45 = load ptr, ptr %3, align 8 %46 = load i32, ptr %6, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %45, i64 %47 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = icmp eq i32 %50, 34 br i1 %51, label %52, label %53 52: ; preds = %44 br label %61 53: ; preds = %44 br label %54 54: ; preds = %53 %55 = load i32, ptr %6, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %6, align 4 %57 = load i32, ptr %6, align 4 %58 = load ptr, ptr %3, align 8 %59 = call i32 @strlen(ptr noundef %58) %60 = icmp slt i32 %57, %59 br i1 %60, label %44, label %..loopexit1_crit_edge, !llvm.loop !8 ..loopexit1_crit_edge: ; preds = %54 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %38 br label %61 61: ; preds = %.loopexit1, %52 %62 = load i32, ptr %6, align 4 %63 = load ptr, ptr %3, align 8 %64 = call i32 @strlen(ptr noundef %63) %65 = icmp eq i32 %62, %64 br i1 %65, label %66, label %105 66: ; preds = %61 %67 = load i32, ptr %5, align 4 %68 = add nsw i32 %67, 2 store i32 %68, ptr %6, align 4 %69 = load i32, ptr %6, align 4 %70 = load ptr, ptr %3, align 8 %71 = call i32 @strlen(ptr noundef %70) %72 = icmp slt i32 %69, %71 br i1 %72, label %.lr.ph6, label %.loopexit .lr.ph6: ; preds = %66 br label %73 73: ; preds = %.lr.ph6, %93 %74 = load ptr, ptr %3, align 8 %75 = load i32, ptr %6, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i8, ptr %74, i64 %76 %78 = load i8, ptr %77, align 1 %79 = sext i8 %78 to i32 %80 = icmp eq i32 %79, 44 br i1 %80, label %81, label %82 81: ; preds = %73 br label %100 82: ; preds = %73 %83 = load ptr, ptr %3, align 8 %84 = load i32, ptr %6, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds i8, ptr %83, i64 %85 %87 = load i8, ptr %86, align 1 %88 = load ptr, ptr %4, align 8 %89 = load i32, ptr %8, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %8, align 4 %91 = sext i32 %89 to i64 %92 = getelementptr inbounds i8, ptr %88, i64 %91 store i8 %87, ptr %92, align 1 br label %93 93: ; preds = %82 %94 = load i32, ptr %6, align 4 %95 = add nsw i32 %94, 1 store i32 %95, ptr %6, align 4 %96 = load i32, ptr %6, align 4 %97 = load ptr, ptr %3, align 8 %98 = call i32 @strlen(ptr noundef %97) %99 = icmp slt i32 %96, %98 br i1 %99, label %73, label %..loopexit_crit_edge, !llvm.loop !9 ..loopexit_crit_edge: ; preds = %93 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %66 br label %100 100: ; preds = %.loopexit, %81 %101 = load ptr, ptr %4, align 8 %102 = load i32, ptr %8, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds i8, ptr %101, i64 %103 store i8 0, ptr %104, align 1 br label %155 105: ; preds = %61 %106 = load i32, ptr %6, align 4 %107 = add nsw i32 %106, 1 store i32 %107, ptr %6, align 4 %108 = load i32, ptr %6, align 4 store i32 %108, ptr %7, align 4 %109 = load i32, ptr %7, align 4 %110 = load ptr, ptr %3, align 8 %111 = call i32 @strlen(ptr noundef %110) %112 = sub nsw i32 %111, 1 %113 = icmp slt i32 %109, %112 br i1 %113, label %.lr.ph4, label %133 .lr.ph4: ; preds = %105 br label %114 114: ; preds = %.lr.ph4, %125 %115 = load ptr, ptr %3, align 8 %116 = load i32, ptr %7, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds i8, ptr %115, i64 %117 %119 = load i8, ptr %118, align 1 %120 = load ptr, ptr %4, align 8 %121 = load i32, ptr %8, align 4 %122 = add nsw i32 %121, 1 store i32 %122, ptr %8, align 4 %123 = sext i32 %121 to i64 %124 = getelementptr inbounds i8, ptr %120, i64 %123 store i8 %119, ptr %124, align 1 br label %125 125: ; preds = %114 %126 = load i32, ptr %7, align 4 %127 = add nsw i32 %126, 1 store i32 %127, ptr %7, align 4 %128 = load i32, ptr %7, align 4 %129 = load ptr, ptr %3, align 8 %130 = call i32 @strlen(ptr noundef %129) %131 = sub nsw i32 %130, 1 %132 = icmp slt i32 %128, %131 br i1 %132, label %114, label %._crit_edge, !llvm.loop !10 ._crit_edge: ; preds = %125 br label %133 133: ; preds = %._crit_edge, %105 br label %134 134: ; preds = %147, %133 %135 = load i32, ptr %8, align 4 %136 = icmp sgt i32 %135, 1 br i1 %136, label %137, label %145 137: ; preds = %134 %138 = load ptr, ptr %4, align 8 %139 = load i32, ptr %8, align 4 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds i8, ptr %138, i64 %140 %142 = load i8, ptr %141, align 1 %143 = sext i8 %142 to i32 %144 = icmp ne i32 %143, 34 br label %145 145: ; preds = %137, %134 %146 = phi i1 [ false, %134 ], [ %144, %137 ] br i1 %146, label %147, label %150 147: ; preds = %145 %148 = load i32, ptr %8, align 4 %149 = add nsw i32 %148, -1 store i32 %149, ptr %8, align 4 br label %134, !llvm.loop !11 150: ; preds = %145 %151 = load ptr, ptr %4, align 8 %152 = load i32, ptr %8, align 4 %153 = sext i32 %152 to i64 %154 = getelementptr inbounds i8, ptr %151, i64 %153 store i8 0, ptr %154, align 1 br label %155 155: ; preds = %150, %100, %37 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpl59aym4w.c' source_filename = "/tmp/tmpl59aym4w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%02x \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dump(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %27, %1 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 4 br i1 %7, label %8, label %30 8: ; preds = %5 store i32 0, ptr %3, align 4 br label %9 9: ; preds = %20, %8 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %10, 16 br i1 %11, label %12, label %23 12: ; preds = %9 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = zext i8 %17 to i32 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %18) br label %20 20: ; preds = %12 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %3, align 4 br label %9, !llvm.loop !6 23: ; preds = %9 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %25 = load ptr, ptr %2, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 16 store ptr %26, ptr %2, align 8 br label %27 27: ; preds = %23 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %4, align 4 br label %5, !llvm.loop !8 30: ; preds = %5 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl59aym4w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%02x \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dump(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp slt i32 %5, 4 br i1 %6, label %.lr.ph2, label %32 .lr.ph2: ; preds = %1 br label %7 7: ; preds = %.lr.ph2, %27 store i32 0, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 16 br i1 %9, label %.lr.ph, label %23 .lr.ph: ; preds = %7 br label %10 10: ; preds = %.lr.ph, %18 %11 = load ptr, ptr %2, align 8 %12 = load i32, ptr %3, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = zext i8 %15 to i32 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %16) br label %18 18: ; preds = %10 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 %21 = load i32, ptr %3, align 4 %22 = icmp slt i32 %21, 16 br i1 %22, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %23 23: ; preds = %._crit_edge, %7 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %25 = load ptr, ptr %2, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 16 store ptr %26, ptr %2, align 8 br label %27 27: ; preds = %23 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %4, align 4 %30 = load i32, ptr %4, align 4 %31 = icmp slt i32 %30, 4 br i1 %31, label %7, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %27 br label %32 32: ; preds = %._crit_edge3, %1 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpagxhvg3_.c' source_filename = "/tmp/tmpagxhvg3_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpagxhvg3_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfi_5c7sq.c' source_filename = "/tmp/tmpfi_5c7sq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"please input char a,b\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d,%d\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"YES,there is digit!\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"No,there is NO digit in a and b !\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i8, align 1 store i32 0, ptr %1, align 4 %4 = call i32 @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) %6 = load i8, ptr %2, align 1 %7 = sext i8 %6 to i32 %8 = icmp sgt i32 %7, 47 br i1 %8, label %9, label %13 9: ; preds = %0 %10 = load i8, ptr %2, align 1 %11 = sext i8 %10 to i32 %12 = icmp slt i32 %11, 78 br i1 %12, label %21, label %13 13: ; preds = %9, %0 %14 = load i8, ptr %3, align 1 %15 = sext i8 %14 to i32 %16 = icmp sgt i32 %15, 47 br i1 %16, label %17, label %23 17: ; preds = %13 %18 = load i8, ptr %3, align 1 %19 = sext i8 %18 to i32 %20 = icmp slt i32 %19, 58 br i1 %20, label %21, label %23 21: ; preds = %17, %9 %22 = call i32 @printf(ptr noundef @.str.2) br label %25 23: ; preds = %17, %13 %24 = call i32 @printf(ptr noundef @.str.3) br label %25 25: ; preds = %23, %21 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfi_5c7sq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"please input char a,b\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d,%d\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"YES,there is digit!\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"No,there is NO digit in a and b !\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i8, align 1 store i32 0, ptr %1, align 4 %4 = call i32 @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) %6 = load i8, ptr %2, align 1 %7 = sext i8 %6 to i32 %8 = icmp sgt i32 %7, 47 br i1 %8, label %9, label %13 9: ; preds = %0 %10 = load i8, ptr %2, align 1 %11 = sext i8 %10 to i32 %12 = icmp slt i32 %11, 78 br i1 %12, label %21, label %13 13: ; preds = %9, %0 %14 = load i8, ptr %3, align 1 %15 = sext i8 %14 to i32 %16 = icmp sgt i32 %15, 47 br i1 %16, label %17, label %23 17: ; preds = %13 %18 = load i8, ptr %3, align 1 %19 = sext i8 %18 to i32 %20 = icmp slt i32 %19, 58 br i1 %20, label %21, label %23 21: ; preds = %17, %9 %22 = call i32 @printf(ptr noundef @.str.2) br label %25 23: ; preds = %17, %13 %24 = call i32 @printf(ptr noundef @.str.3) br label %25 25: ; preds = %23, %21 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp58dvms8g.c' source_filename = "/tmp/tmp58dvms8g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"recv\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @read_wrapper(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %9 = load i32, ptr %5, align 4 %10 = load ptr, ptr %6, align 8 %11 = load i64, ptr %7, align 8 %12 = call i64 @recv(i32 noundef %9, ptr noundef %10, i64 noundef %11, i32 noundef 0) store i64 %12, ptr %8, align 8 %13 = load i64, ptr %8, align 8 %14 = icmp slt i64 %13, 0 br i1 %14, label %15, label %27 15: ; preds = %3 %16 = load i32, ptr @errno, align 4 switch i32 %16, label %22 [ i32 129, label %17 i32 128, label %18 ] 17: ; preds = %15 store i64 0, ptr %4, align 8 br label %33 18: ; preds = %15 %19 = load i32, ptr @errno, align 4 %20 = sub nsw i32 0, %19 %21 = sext i32 %20 to i64 store i64 %21, ptr %4, align 8 br label %33 22: ; preds = %15 %23 = call i32 @perror(ptr noundef @.str) %24 = load i32, ptr @errno, align 4 %25 = sub nsw i32 0, %24 %26 = sext i32 %25 to i64 store i64 %26, ptr %4, align 8 br label %33 27: ; preds = %3 %28 = load i64, ptr %8, align 8 %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %27 store i64 -128, ptr %4, align 8 br label %33 31: ; preds = %27 %32 = load i64, ptr %8, align 8 store i64 %32, ptr %4, align 8 br label %33 33: ; preds = %31, %30, %22, %18, %17 %34 = load i64, ptr %4, align 8 ret i64 %34 } declare i64 @recv(i32 noundef, ptr noundef, i64 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp58dvms8g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"recv\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @read_wrapper(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %9 = load i32, ptr %5, align 4 %10 = load ptr, ptr %6, align 8 %11 = load i64, ptr %7, align 8 %12 = call i64 @recv(i32 noundef %9, ptr noundef %10, i64 noundef %11, i32 noundef 0) store i64 %12, ptr %8, align 8 %13 = load i64, ptr %8, align 8 %14 = icmp slt i64 %13, 0 br i1 %14, label %15, label %27 15: ; preds = %3 %16 = load i32, ptr @errno, align 4 switch i32 %16, label %22 [ i32 129, label %17 i32 128, label %18 ] 17: ; preds = %15 store i64 0, ptr %4, align 8 br label %33 18: ; preds = %15 %19 = load i32, ptr @errno, align 4 %20 = sub nsw i32 0, %19 %21 = sext i32 %20 to i64 store i64 %21, ptr %4, align 8 br label %33 22: ; preds = %15 %23 = call i32 @perror(ptr noundef @.str) %24 = load i32, ptr @errno, align 4 %25 = sub nsw i32 0, %24 %26 = sext i32 %25 to i64 store i64 %26, ptr %4, align 8 br label %33 27: ; preds = %3 %28 = load i64, ptr %8, align 8 %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %27 store i64 -128, ptr %4, align 8 br label %33 31: ; preds = %27 %32 = load i64, ptr %8, align 8 store i64 %32, ptr %4, align 8 br label %33 33: ; preds = %31, %30, %22, %18, %17 %34 = load i64, ptr %4, align 8 ret i64 %34 } declare i64 @recv(i32 noundef, ptr noundef, i64 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc_a2y4s1.c' source_filename = "/tmp/tmpc_a2y4s1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%d%d%d\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"YES\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"NO\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %1, align 4 %10 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %3, align 4 br label %11 11: ; preds = %66, %0 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %69 15: ; preds = %11 %16 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5, ptr noundef %6) %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %6, align 4 %20 = call i32 @max(i32 noundef %18, i32 noundef %19) %21 = call i32 @max(i32 noundef %17, i32 noundef %20) store i32 %21, ptr %7, align 4 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %6, align 4 %25 = call i32 @min(i32 noundef %23, i32 noundef %24) %26 = call i32 @min(i32 noundef %22, i32 noundef %25) store i32 %26, ptr %9, align 4 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp eq i32 %27, %28 br i1 %29, label %30, label %34 30: ; preds = %15 %31 = load i32, ptr %5, align 4 %32 = load i32, ptr %6, align 4 %33 = call i32 @max(i32 noundef %31, i32 noundef %32) br label %48 34: ; preds = %15 %35 = load i32, ptr %7, align 4 %36 = load i32, ptr %5, align 4 %37 = icmp eq i32 %35, %36 br i1 %37, label %38, label %42 38: ; preds = %34 %39 = load i32, ptr %4, align 4 %40 = load i32, ptr %6, align 4 %41 = call i32 @max(i32 noundef %39, i32 noundef %40) br label %46 42: ; preds = %34 %43 = load i32, ptr %4, align 4 %44 = load i32, ptr %5, align 4 %45 = call i32 @max(i32 noundef %43, i32 noundef %44) br label %46 46: ; preds = %42, %38 %47 = phi i32 [ %41, %38 ], [ %45, %42 ] br label %48 48: ; preds = %46, %30 %49 = phi i32 [ %33, %30 ], [ %47, %46 ] store i32 %49, ptr %8, align 4 %50 = load i32, ptr %9, align 4 %51 = load i32, ptr %9, align 4 %52 = mul nsw i32 %50, %51 %53 = load i32, ptr %8, align 4 %54 = load i32, ptr %8, align 4 %55 = mul nsw i32 %53, %54 %56 = add nsw i32 %52, %55 %57 = load i32, ptr %7, align 4 %58 = load i32, ptr %7, align 4 %59 = mul nsw i32 %57, %58 %60 = icmp eq i32 %56, %59 br i1 %60, label %61, label %63 61: ; preds = %48 %62 = call i32 @printf(ptr noundef @.str.2) br label %65 63: ; preds = %48 %64 = call i32 @printf(ptr noundef @.str.3) br label %65 65: ; preds = %63, %61 br label %66 66: ; preds = %65 %67 = load i32, ptr %3, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %3, align 4 br label %11, !llvm.loop !6 69: ; preds = %11 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @max(i32 noundef, i32 noundef) #1 declare i32 @min(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc_a2y4s1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%d%d%d\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"YES\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"NO\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %1, align 4 %10 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %71 .lr.ph: ; preds = %0 br label %14 14: ; preds = %.lr.ph, %65 %15 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5, ptr noundef %6) %16 = load i32, ptr %4, align 4 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %6, align 4 %19 = call i32 @max(i32 noundef %17, i32 noundef %18) %20 = call i32 @max(i32 noundef %16, i32 noundef %19) store i32 %20, ptr %7, align 4 %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %6, align 4 %24 = call i32 @min(i32 noundef %22, i32 noundef %23) %25 = call i32 @min(i32 noundef %21, i32 noundef %24) store i32 %25, ptr %9, align 4 %26 = load i32, ptr %7, align 4 %27 = load i32, ptr %4, align 4 %28 = icmp eq i32 %26, %27 br i1 %28, label %29, label %33 29: ; preds = %14 %30 = load i32, ptr %5, align 4 %31 = load i32, ptr %6, align 4 %32 = call i32 @max(i32 noundef %30, i32 noundef %31) br label %47 33: ; preds = %14 %34 = load i32, ptr %7, align 4 %35 = load i32, ptr %5, align 4 %36 = icmp eq i32 %34, %35 br i1 %36, label %37, label %41 37: ; preds = %33 %38 = load i32, ptr %4, align 4 %39 = load i32, ptr %6, align 4 %40 = call i32 @max(i32 noundef %38, i32 noundef %39) br label %45 41: ; preds = %33 %42 = load i32, ptr %4, align 4 %43 = load i32, ptr %5, align 4 %44 = call i32 @max(i32 noundef %42, i32 noundef %43) br label %45 45: ; preds = %41, %37 %46 = phi i32 [ %40, %37 ], [ %44, %41 ] br label %47 47: ; preds = %45, %29 %48 = phi i32 [ %32, %29 ], [ %46, %45 ] store i32 %48, ptr %8, align 4 %49 = load i32, ptr %9, align 4 %50 = load i32, ptr %9, align 4 %51 = mul nsw i32 %49, %50 %52 = load i32, ptr %8, align 4 %53 = load i32, ptr %8, align 4 %54 = mul nsw i32 %52, %53 %55 = add nsw i32 %51, %54 %56 = load i32, ptr %7, align 4 %57 = load i32, ptr %7, align 4 %58 = mul nsw i32 %56, %57 %59 = icmp eq i32 %55, %58 br i1 %59, label %60, label %62 60: ; preds = %47 %61 = call i32 @printf(ptr noundef @.str.2) br label %64 62: ; preds = %47 %63 = call i32 @printf(ptr noundef @.str.3) br label %64 64: ; preds = %62, %60 br label %65 65: ; preds = %64 %66 = load i32, ptr %3, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %3, align 4 %68 = load i32, ptr %3, align 4 %69 = load i32, ptr %2, align 4 %70 = icmp slt i32 %68, %69 br i1 %70, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %65 br label %71 71: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @max(i32 noundef, i32 noundef) #1 declare i32 @min(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvsj1zyi1.c' source_filename = "/tmp/tmpvsj1zyi1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"alias\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"bind\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"builtin\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"caller\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"command\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"declare\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"echo\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"enable\00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c"help\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @notImplementedCommand(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str) %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 1, ptr %2, align 4 br label %49 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str.1) %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %8 store i32 1, ptr %2, align 4 br label %49 13: ; preds = %8 %14 = load ptr, ptr %3, align 8 %15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.2) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %13 store i32 1, ptr %2, align 4 br label %49 18: ; preds = %13 %19 = load ptr, ptr %3, align 8 %20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str.3) %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %18 store i32 1, ptr %2, align 4 br label %49 23: ; preds = %18 %24 = load ptr, ptr %3, align 8 %25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str.4) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %23 store i32 1, ptr %2, align 4 br label %49 28: ; preds = %23 %29 = load ptr, ptr %3, align 8 %30 = call i64 @strcmp(ptr noundef %29, ptr noundef @.str.5) %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %33 32: ; preds = %28 store i32 1, ptr %2, align 4 br label %49 33: ; preds = %28 %34 = load ptr, ptr %3, align 8 %35 = call i64 @strcmp(ptr noundef %34, ptr noundef @.str.6) %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %38 37: ; preds = %33 store i32 1, ptr %2, align 4 br label %49 38: ; preds = %33 %39 = load ptr, ptr %3, align 8 %40 = call i64 @strcmp(ptr noundef %39, ptr noundef @.str.7) %41 = icmp eq i64 %40, 0 br i1 %41, label %42, label %43 42: ; preds = %38 store i32 1, ptr %2, align 4 br label %49 43: ; preds = %38 %44 = load ptr, ptr %3, align 8 %45 = call i64 @strcmp(ptr noundef %44, ptr noundef @.str.8) %46 = icmp eq i64 %45, 0 br i1 %46, label %47, label %48 47: ; preds = %43 store i32 1, ptr %2, align 4 br label %49 48: ; preds = %43 store i32 0, ptr %2, align 4 br label %49 49: ; preds = %48, %47, %42, %37, %32, %27, %22, %17, %12, %7 %50 = load i32, ptr %2, align 4 ret i32 %50 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvsj1zyi1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"alias\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"bind\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"builtin\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"caller\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"command\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"declare\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"echo\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"enable\00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c"help\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @notImplementedCommand(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str) %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 1, ptr %2, align 4 br label %49 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str.1) %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %8 store i32 1, ptr %2, align 4 br label %49 13: ; preds = %8 %14 = load ptr, ptr %3, align 8 %15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.2) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %13 store i32 1, ptr %2, align 4 br label %49 18: ; preds = %13 %19 = load ptr, ptr %3, align 8 %20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str.3) %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %18 store i32 1, ptr %2, align 4 br label %49 23: ; preds = %18 %24 = load ptr, ptr %3, align 8 %25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str.4) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %23 store i32 1, ptr %2, align 4 br label %49 28: ; preds = %23 %29 = load ptr, ptr %3, align 8 %30 = call i64 @strcmp(ptr noundef %29, ptr noundef @.str.5) %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %33 32: ; preds = %28 store i32 1, ptr %2, align 4 br label %49 33: ; preds = %28 %34 = load ptr, ptr %3, align 8 %35 = call i64 @strcmp(ptr noundef %34, ptr noundef @.str.6) %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %38 37: ; preds = %33 store i32 1, ptr %2, align 4 br label %49 38: ; preds = %33 %39 = load ptr, ptr %3, align 8 %40 = call i64 @strcmp(ptr noundef %39, ptr noundef @.str.7) %41 = icmp eq i64 %40, 0 br i1 %41, label %42, label %43 42: ; preds = %38 store i32 1, ptr %2, align 4 br label %49 43: ; preds = %38 %44 = load ptr, ptr %3, align 8 %45 = call i64 @strcmp(ptr noundef %44, ptr noundef @.str.8) %46 = icmp eq i64 %45, 0 br i1 %46, label %47, label %48 47: ; preds = %43 store i32 1, ptr %2, align 4 br label %49 48: ; preds = %43 store i32 0, ptr %2, align 4 br label %49 49: ; preds = %48, %47, %42, %37, %32, %27, %22, %17, %12, %7 %50 = load i32, ptr %2, align 4 ret i32 %50 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpughf4o4f.c' source_filename = "/tmp/tmpughf4o4f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fn_ch_110(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = call i32 @next_utf8(ptr noundef %5, ptr noundef %4) %7 = icmp eq i32 %6, 110 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = load i32, ptr %4, align 4 store i32 %9, ptr %2, align 4 br label %11 10: ; preds = %1 store i32 -1, ptr %2, align 4 br label %11 11: ; preds = %10, %8 %12 = load i32, ptr %2, align 4 ret i32 %12 } declare i32 @next_utf8(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpughf4o4f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fn_ch_110(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = call i32 @next_utf8(ptr noundef %5, ptr noundef %4) %7 = icmp eq i32 %6, 110 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = load i32, ptr %4, align 4 store i32 %9, ptr %2, align 4 br label %11 10: ; preds = %1 store i32 -1, ptr %2, align 4 br label %11 11: ; preds = %10, %8 %12 = load i32, ptr %2, align 4 ret i32 %12 } declare i32 @next_utf8(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_z1s46v5.c' source_filename = "/tmp/tmp_z1s46v5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @heap_sort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr %4, align 4 %9 = call i32 @build_max_heap(ptr noundef %7, i32 noundef %8) %10 = load i32, ptr %4, align 4 %11 = sub nsw i32 %10, 1 store i32 %11, ptr %5, align 4 br label %12 12: ; preds = %26, %2 %13 = load i32, ptr %5, align 4 %14 = icmp sgt i32 %13, 0 br i1 %14, label %15, label %29 15: ; preds = %12 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds i32, ptr %20, i64 0 %22 = call i32 @swap(ptr noundef %19, ptr noundef %21) %23 = load ptr, ptr %3, align 8 %24 = load i32, ptr %5, align 4 %25 = call i32 @max_heapify(ptr noundef %23, i32 noundef 0, i32 noundef %24) br label %26 26: ; preds = %15 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, -1 store i32 %28, ptr %5, align 4 br label %12, !llvm.loop !6 29: ; preds = %12 ret void } declare i32 @build_max_heap(ptr noundef, i32 noundef) #1 declare i32 @swap(ptr noundef, ptr noundef) #1 declare i32 @max_heapify(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_z1s46v5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @heap_sort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr %4, align 4 %9 = call i32 @build_max_heap(ptr noundef %7, i32 noundef %8) %10 = load i32, ptr %4, align 4 %11 = sub nsw i32 %10, 1 store i32 %11, ptr %5, align 4 %12 = load i32, ptr %5, align 4 %13 = icmp sgt i32 %12, 0 br i1 %13, label %.lr.ph, label %30 .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %25 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %15, i64 %17 %19 = load ptr, ptr %3, align 8 %20 = getelementptr inbounds i32, ptr %19, i64 0 %21 = call i32 @swap(ptr noundef %18, ptr noundef %20) %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %5, align 4 %24 = call i32 @max_heapify(ptr noundef %22, i32 noundef 0, i32 noundef %23) br label %25 25: ; preds = %14 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, -1 store i32 %27, ptr %5, align 4 %28 = load i32, ptr %5, align 4 %29 = icmp sgt i32 %28, 0 br i1 %29, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %30 30: ; preds = %._crit_edge, %2 ret void } declare i32 @build_max_heap(ptr noundef, i32 noundef) #1 declare i32 @swap(ptr noundef, ptr noundef) #1 declare i32 @max_heapify(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8qc4knwi.c' source_filename = "/tmp/tmp8qc4knwi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8qc4knwi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx50c5tqa.c' source_filename = "/tmp/tmpx50c5tqa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.matrix = private unnamed_addr constant [2 x [5 x i32]] [[5 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5], [5 x i32] [i32 6, i32 7, i32 8, i32 9, i32 10]], align 16 @.str = private unnamed_addr constant [39 x i8] c"matrix[%d][%d] Adress:%p --> Value:%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [2 x [5 x i32]], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.matrix, i64 40, i1 false) store i32 0, ptr %3, align 4 br label %5 5: ; preds = %33, %0 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 2 br i1 %7, label %8, label %36 8: ; preds = %5 store i32 0, ptr %4, align 4 br label %9 9: ; preds = %29, %8 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 5 br i1 %11, label %12, label %32 12: ; preds = %9 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %3, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [2 x [5 x i32]], ptr %2, i64 0, i64 %16 %18 = load i32, ptr %4, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [5 x i32], ptr %17, i64 0, i64 %19 %21 = load i32, ptr %3, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [2 x [5 x i32]], ptr %2, i64 0, i64 %22 %24 = load i32, ptr %4, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [5 x i32], ptr %23, i64 0, i64 %25 %27 = load i32, ptr %26, align 4 %28 = call i32 @printf(ptr noundef @.str, i32 noundef %13, i32 noundef %14, ptr noundef %20, i32 noundef %27) br label %29 29: ; preds = %12 %30 = load i32, ptr %4, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %4, align 4 br label %9, !llvm.loop !6 32: ; preds = %9 br label %33 33: ; preds = %32 %34 = load i32, ptr %3, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %3, align 4 br label %5, !llvm.loop !8 36: ; preds = %5 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx50c5tqa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.matrix = private unnamed_addr constant [2 x [5 x i32]] [[5 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5], [5 x i32] [i32 6, i32 7, i32 8, i32 9, i32 10]], align 16 @.str = private unnamed_addr constant [39 x i8] c"matrix[%d][%d] Adress:%p --> Value:%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [2 x [5 x i32]], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.matrix, i64 40, i1 false) store i32 0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 2 br i1 %6, label %.lr.ph2, label %38 .lr.ph2: ; preds = %0 br label %7 7: ; preds = %.lr.ph2, %33 store i32 0, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 5 br i1 %9, label %.lr.ph, label %32 .lr.ph: ; preds = %7 br label %10 10: ; preds = %.lr.ph, %27 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [2 x [5 x i32]], ptr %2, i64 0, i64 %14 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [5 x i32], ptr %15, i64 0, i64 %17 %19 = load i32, ptr %3, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [2 x [5 x i32]], ptr %2, i64 0, i64 %20 %22 = load i32, ptr %4, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [5 x i32], ptr %21, i64 0, i64 %23 %25 = load i32, ptr %24, align 4 %26 = call i32 @printf(ptr noundef @.str, i32 noundef %11, i32 noundef %12, ptr noundef %18, i32 noundef %25) br label %27 27: ; preds = %10 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %4, align 4 %30 = load i32, ptr %4, align 4 %31 = icmp slt i32 %30, 5 br i1 %31, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %32 32: ; preds = %._crit_edge, %7 br label %33 33: ; preds = %32 %34 = load i32, ptr %3, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %3, align 4 %36 = load i32, ptr %3, align 4 %37 = icmp slt i32 %36, 2 br i1 %37, label %7, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %33 br label %38 38: ; preds = %._crit_edge3, %0 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp81ku04ef.c' source_filename = "/tmp/tmp81ku04ef.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"./logs\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"./logs/CDVDlog.txt\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @InitLog() #0 { %1 = call i32 @mkdir(ptr noundef @.str, i32 noundef 493) %2 = call i32 @unlink(ptr noundef @.str.1) ret void } declare i32 @mkdir(ptr noundef, i32 noundef) #1 declare i32 @unlink(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp81ku04ef.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"./logs\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"./logs/CDVDlog.txt\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @InitLog() #0 { %1 = call i32 @mkdir(ptr noundef @.str, i32 noundef 493) %2 = call i32 @unlink(ptr noundef @.str.1) ret void } declare i32 @mkdir(ptr noundef, i32 noundef) #1 declare i32 @unlink(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcsa5cu_h.c' source_filename = "/tmp/tmpcsa5cu_h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @RANDOMIZED_PARTITION(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %9 = load i32, ptr %5, align 4 %10 = call i32 (...) @rand() %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %5, align 4 %13 = sub nsw i32 %11, %12 %14 = add nsw i32 %13, 1 %15 = srem i32 %10, %14 %16 = add nsw i32 %9, %15 store i32 %16, ptr %7, align 4 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 %21 = load i32, ptr %20, align 4 store i32 %21, ptr %8, align 4 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %7, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %22, i64 %24 %26 = load i32, ptr %25, align 4 %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr %6, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 store i32 %26, ptr %30, align 4 %31 = load i32, ptr %8, align 4 %32 = load ptr, ptr %4, align 8 %33 = load i32, ptr %7, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %32, i64 %34 store i32 %31, ptr %35, align 4 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %5, align 4 %38 = load i32, ptr %6, align 4 %39 = call i32 @PARTITION(ptr noundef %36, i32 noundef %37, i32 noundef %38) ret i32 %39 } declare i32 @rand(...) #1 declare i32 @PARTITION(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcsa5cu_h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @RANDOMIZED_PARTITION(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %9 = load i32, ptr %5, align 4 %10 = call i32 (...) @rand() %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %5, align 4 %13 = sub nsw i32 %11, %12 %14 = add nsw i32 %13, 1 %15 = srem i32 %10, %14 %16 = add nsw i32 %9, %15 store i32 %16, ptr %7, align 4 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 %21 = load i32, ptr %20, align 4 store i32 %21, ptr %8, align 4 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %7, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %22, i64 %24 %26 = load i32, ptr %25, align 4 %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr %6, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 store i32 %26, ptr %30, align 4 %31 = load i32, ptr %8, align 4 %32 = load ptr, ptr %4, align 8 %33 = load i32, ptr %7, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %32, i64 %34 store i32 %31, ptr %35, align 4 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %5, align 4 %38 = load i32, ptr %6, align 4 %39 = call i32 @PARTITION(ptr noundef %36, i32 noundef %37, i32 noundef %38) ret i32 %39 } declare i32 @rand(...) #1 declare i32 @PARTITION(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpeds210b8.c' source_filename = "/tmp/tmpeds210b8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @getValue(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 store ptr %5, ptr %4, align 8 br label %6 6: ; preds = %11, %1 %7 = load ptr, ptr %4, align 8 %8 = load i8, ptr %7, align 1 %9 = call i64 @isWhite(i8 noundef signext %8) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %6 %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds i8, ptr %12, i32 1 store ptr %13, ptr %4, align 8 br label %6, !llvm.loop !6 14: ; preds = %6 %15 = load ptr, ptr %4, align 8 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 35 br i1 %18, label %19, label %20 19: ; preds = %14 store ptr null, ptr %2, align 8 br label %61 20: ; preds = %14 br label %21 21: ; preds = %38, %20 %22 = load ptr, ptr %4, align 8 %23 = load i8, ptr %22, align 1 %24 = call i64 @isUpper(i8 noundef signext %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %36, label %26 26: ; preds = %21 %27 = load ptr, ptr %4, align 8 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 95 br i1 %30, label %36, label %31 31: ; preds = %26 %32 = load ptr, ptr %4, align 8 %33 = load i8, ptr %32, align 1 %34 = call i64 @isWhite(i8 noundef signext %33) %35 = icmp ne i64 %34, 0 br label %36 36: ; preds = %31, %26, %21 %37 = phi i1 [ true, %26 ], [ true, %21 ], [ %35, %31 ] br i1 %37, label %38, label %41 38: ; preds = %36 %39 = load ptr, ptr %4, align 8 %40 = getelementptr inbounds i8, ptr %39, i32 1 store ptr %40, ptr %4, align 8 br label %21, !llvm.loop !8 41: ; preds = %36 %42 = load ptr, ptr %4, align 8 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp ne i32 %44, 61 br i1 %45, label %46, label %47 46: ; preds = %41 store ptr null, ptr %2, align 8 br label %61 47: ; preds = %41 %48 = load ptr, ptr %4, align 8 %49 = getelementptr inbounds i8, ptr %48, i32 1 store ptr %49, ptr %4, align 8 br label %50 50: ; preds = %47 br label %51 51: ; preds = %56, %50 %52 = load ptr, ptr %4, align 8 %53 = load i8, ptr %52, align 1 %54 = call i64 @isWhite(i8 noundef signext %53) %55 = icmp ne i64 %54, 0 br i1 %55, label %56, label %59 56: ; preds = %51 %57 = load ptr, ptr %4, align 8 %58 = getelementptr inbounds i8, ptr %57, i32 1 store ptr %58, ptr %4, align 8 br label %51, !llvm.loop !9 59: ; preds = %51 %60 = load ptr, ptr %4, align 8 store ptr %60, ptr %2, align 8 br label %61 61: ; preds = %59, %46, %19 %62 = load ptr, ptr %2, align 8 ret ptr %62 } declare i64 @isWhite(i8 noundef signext) #1 declare i64 @isUpper(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeds210b8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @getValue(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 store ptr %5, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = load i8, ptr %6, align 1 %8 = call i64 @isWhite(i8 noundef signext %7) %9 = icmp ne i64 %8, 0 br i1 %9, label %.lr.ph, label %17 .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %10 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds i8, ptr %11, i32 1 store ptr %12, ptr %4, align 8 %13 = load ptr, ptr %4, align 8 %14 = load i8, ptr %13, align 1 %15 = call i64 @isWhite(i8 noundef signext %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %17 17: ; preds = %._crit_edge, %1 %18 = load ptr, ptr %4, align 8 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 35 br i1 %21, label %22, label %23 22: ; preds = %17 store ptr null, ptr %2, align 8 br label %67 23: ; preds = %17 br label %24 24: ; preds = %41, %23 %25 = load ptr, ptr %4, align 8 %26 = load i8, ptr %25, align 1 %27 = call i64 @isUpper(i8 noundef signext %26) %28 = icmp ne i64 %27, 0 br i1 %28, label %39, label %29 29: ; preds = %24 %30 = load ptr, ptr %4, align 8 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %32, 95 br i1 %33, label %39, label %34 34: ; preds = %29 %35 = load ptr, ptr %4, align 8 %36 = load i8, ptr %35, align 1 %37 = call i64 @isWhite(i8 noundef signext %36) %38 = icmp ne i64 %37, 0 br label %39 39: ; preds = %34, %29, %24 %40 = phi i1 [ true, %29 ], [ true, %24 ], [ %38, %34 ] br i1 %40, label %41, label %44 41: ; preds = %39 %42 = load ptr, ptr %4, align 8 %43 = getelementptr inbounds i8, ptr %42, i32 1 store ptr %43, ptr %4, align 8 br label %24, !llvm.loop !8 44: ; preds = %39 %45 = load ptr, ptr %4, align 8 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp ne i32 %47, 61 br i1 %48, label %49, label %50 49: ; preds = %44 store ptr null, ptr %2, align 8 br label %67 50: ; preds = %44 %51 = load ptr, ptr %4, align 8 %52 = getelementptr inbounds i8, ptr %51, i32 1 store ptr %52, ptr %4, align 8 br label %53 53: ; preds = %50 %54 = load ptr, ptr %4, align 8 %55 = load i8, ptr %54, align 1 %56 = call i64 @isWhite(i8 noundef signext %55) %57 = icmp ne i64 %56, 0 br i1 %57, label %.lr.ph2, label %65 .lr.ph2: ; preds = %53 br label %58 58: ; preds = %.lr.ph2, %58 %59 = load ptr, ptr %4, align 8 %60 = getelementptr inbounds i8, ptr %59, i32 1 store ptr %60, ptr %4, align 8 %61 = load ptr, ptr %4, align 8 %62 = load i8, ptr %61, align 1 %63 = call i64 @isWhite(i8 noundef signext %62) %64 = icmp ne i64 %63, 0 br i1 %64, label %58, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %58 br label %65 65: ; preds = %._crit_edge3, %53 %66 = load ptr, ptr %4, align 8 store ptr %66, ptr %2, align 8 br label %67 67: ; preds = %65, %49, %22 %68 = load ptr, ptr %2, align 8 ret ptr %68 } declare i64 @isWhite(i8 noundef signext) #1 declare i64 @isUpper(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpalp1aaw6.c' source_filename = "/tmp/tmpalp1aaw6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"(data)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @hash_item_null_printer(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpalp1aaw6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"(data)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @hash_item_null_printer(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxam1rsxf.c' source_filename = "/tmp/tmpxam1rsxf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @polar2cart(double noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load double, ptr %5, align 8 %10 = load double, ptr %6, align 8 %11 = call double @cos(double noundef %10) #2 %12 = fmul double %9, %11 %13 = load ptr, ptr %7, align 8 store double %12, ptr %13, align 8 %14 = load double, ptr %5, align 8 %15 = load double, ptr %6, align 8 %16 = call double @sin(double noundef %15) #2 %17 = fmul double %14, %16 %18 = load ptr, ptr %8, align 8 store double %17, ptr %18, align 8 ret void } ; Function Attrs: nounwind declare double @cos(double noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxam1rsxf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @polar2cart(double noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load double, ptr %5, align 8 %10 = load double, ptr %6, align 8 %11 = call double @cos(double noundef %10) #2 %12 = fmul double %9, %11 %13 = load ptr, ptr %7, align 8 store double %12, ptr %13, align 8 %14 = load double, ptr %5, align 8 %15 = load double, ptr %6, align 8 %16 = call double @sin(double noundef %15) #2 %17 = fmul double %14, %16 %18 = load ptr, ptr %8, align 8 store double %17, ptr %18, align 8 ret void } ; Function Attrs: nounwind declare double @cos(double noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6lm98uid.c' source_filename = "/tmp/tmp6lm98uid.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RTC_VL_CLR = dso_local global i32 0, align 4 @RTC_VL_READ = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6lm98uid.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RTC_VL_CLR = dso_local global i32 0, align 4 @RTC_VL_READ = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjynwz3zs.c' source_filename = "/tmp/tmpjynwz3zs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Dayinmonth(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %4, align 4 switch i32 %6, label %15 [ i32 1, label %7 i32 3, label %7 i32 5, label %7 i32 7, label %7 i32 8, label %7 i32 10, label %7 i32 12, label %7 i32 4, label %8 i32 6, label %8 i32 9, label %8 i32 11, label %8 i32 2, label %9 ] 7: ; preds = %2, %2, %2, %2, %2, %2, %2 store i32 31, ptr %3, align 4 br label %16 8: ; preds = %2, %2, %2, %2 store i32 30, ptr %3, align 4 br label %16 9: ; preds = %2 %10 = load i32, ptr %5, align 4 %11 = call i32 @Checkleapyear(i32 noundef %10) %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %9 store i32 29, ptr %3, align 4 br label %16 14: ; preds = %9 store i32 28, ptr %3, align 4 br label %16 15: ; preds = %2 store i32 0, ptr %3, align 4 br label %16 16: ; preds = %15, %14, %13, %8, %7 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i32 @Checkleapyear(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjynwz3zs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Dayinmonth(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %4, align 4 switch i32 %6, label %15 [ i32 1, label %7 i32 3, label %7 i32 5, label %7 i32 7, label %7 i32 8, label %7 i32 10, label %7 i32 12, label %7 i32 4, label %8 i32 6, label %8 i32 9, label %8 i32 11, label %8 i32 2, label %9 ] 7: ; preds = %2, %2, %2, %2, %2, %2, %2 store i32 31, ptr %3, align 4 br label %16 8: ; preds = %2, %2, %2, %2 store i32 30, ptr %3, align 4 br label %16 9: ; preds = %2 %10 = load i32, ptr %5, align 4 %11 = call i32 @Checkleapyear(i32 noundef %10) %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %9 store i32 29, ptr %3, align 4 br label %16 14: ; preds = %9 store i32 28, ptr %3, align 4 br label %16 15: ; preds = %2 store i32 0, ptr %3, align 4 br label %16 16: ; preds = %15, %14, %13, %8, %7 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i32 @Checkleapyear(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi26z4gcj.c' source_filename = "/tmp/tmpi26z4gcj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.termios = type { i32 } @ICANON = dso_local global i32 0, align 4 @ECHO = dso_local global i32 0, align 4 @TCSANOW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i16 @getch() #0 { %1 = alloca %struct.termios, align 4 %2 = alloca %struct.termios, align 4 %3 = alloca i16, align 2 %4 = call i32 @tcgetattr(i32 noundef 1, ptr noundef %1) call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 %1, i64 4, i1 false) %5 = load i32, ptr @ICANON, align 4 %6 = load i32, ptr @ECHO, align 4 %7 = or i32 %5, %6 %8 = xor i32 %7, -1 %9 = getelementptr inbounds %struct.termios, ptr %2, i32 0, i32 0 %10 = load i32, ptr %9, align 4 %11 = and i32 %10, %8 store i32 %11, ptr %9, align 4 %12 = load i32, ptr @TCSANOW, align 4 %13 = call i32 @tcsetattr(i32 noundef 1, i32 noundef %12, ptr noundef %2) %14 = call signext i16 (...) @getchar() store i16 %14, ptr %3, align 2 %15 = load i32, ptr @TCSANOW, align 4 %16 = call i32 @tcsetattr(i32 noundef 1, i32 noundef %15, ptr noundef %1) %17 = load i16, ptr %3, align 2 %18 = call signext i16 @tolower(i16 noundef signext %17) ret i16 %18 } declare i32 @tcgetattr(i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 declare signext i16 @getchar(...) #1 declare signext i16 @tolower(i16 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi26z4gcj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.termios = type { i32 } @ICANON = dso_local global i32 0, align 4 @ECHO = dso_local global i32 0, align 4 @TCSANOW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i16 @getch() #0 { %1 = alloca %struct.termios, align 4 %2 = alloca %struct.termios, align 4 %3 = alloca i16, align 2 %4 = call i32 @tcgetattr(i32 noundef 1, ptr noundef %1) call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 %1, i64 4, i1 false) %5 = load i32, ptr @ICANON, align 4 %6 = load i32, ptr @ECHO, align 4 %7 = or i32 %5, %6 %8 = xor i32 %7, -1 %9 = getelementptr inbounds %struct.termios, ptr %2, i32 0, i32 0 %10 = load i32, ptr %9, align 4 %11 = and i32 %10, %8 store i32 %11, ptr %9, align 4 %12 = load i32, ptr @TCSANOW, align 4 %13 = call i32 @tcsetattr(i32 noundef 1, i32 noundef %12, ptr noundef %2) %14 = call signext i16 (...) @getchar() store i16 %14, ptr %3, align 2 %15 = load i32, ptr @TCSANOW, align 4 %16 = call i32 @tcsetattr(i32 noundef 1, i32 noundef %15, ptr noundef %1) %17 = load i16, ptr %3, align 2 %18 = call signext i16 @tolower(i16 noundef signext %17) ret i16 %18 } declare i32 @tcgetattr(i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 declare signext i16 @getchar(...) #1 declare signext i16 @tolower(i16 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpznim68u5.c' source_filename = "/tmp/tmpznim68u5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpznim68u5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgkidazx2.c' source_filename = "/tmp/tmpgkidazx2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgkidazx2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc96c75eo.c' source_filename = "/tmp/tmpc96c75eo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc96c75eo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpru29x2_n.c' source_filename = "/tmp/tmpru29x2_n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpru29x2_n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxsvtag0p.c' source_filename = "/tmp/tmpxsvtag0p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @be64getv(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds i32, ptr %6, i64 0 %8 = load i32, ptr %7, align 4 %9 = shl i32 %8, 56 store i32 %9, ptr %4, align 4 %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds i32, ptr %10, i64 1 %12 = load i32, ptr %11, align 4 %13 = shl i32 %12, 48 %14 = load i32, ptr %4, align 4 %15 = or i32 %14, %13 store i32 %15, ptr %4, align 4 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds i32, ptr %16, i64 2 %18 = load i32, ptr %17, align 4 %19 = shl i32 %18, 40 %20 = load i32, ptr %4, align 4 %21 = or i32 %20, %19 store i32 %21, ptr %4, align 4 %22 = load ptr, ptr %3, align 8 %23 = getelementptr inbounds i32, ptr %22, i64 3 %24 = load i32, ptr %23, align 4 %25 = shl i32 %24, 32 %26 = load i32, ptr %4, align 4 %27 = or i32 %26, %25 store i32 %27, ptr %4, align 4 %28 = load ptr, ptr %3, align 8 %29 = getelementptr inbounds i32, ptr %28, i64 4 %30 = load i32, ptr %29, align 4 %31 = shl i32 %30, 24 %32 = load i32, ptr %4, align 4 %33 = or i32 %32, %31 store i32 %33, ptr %4, align 4 %34 = load ptr, ptr %3, align 8 %35 = getelementptr inbounds i32, ptr %34, i64 5 %36 = load i32, ptr %35, align 4 %37 = shl i32 %36, 16 %38 = load i32, ptr %4, align 4 %39 = or i32 %38, %37 store i32 %39, ptr %4, align 4 %40 = load ptr, ptr %3, align 8 %41 = getelementptr inbounds i32, ptr %40, i64 6 %42 = load i32, ptr %41, align 4 %43 = shl i32 %42, 8 %44 = load i32, ptr %4, align 4 %45 = or i32 %44, %43 store i32 %45, ptr %4, align 4 %46 = load ptr, ptr %3, align 8 %47 = getelementptr inbounds i32, ptr %46, i64 7 %48 = load i32, ptr %47, align 4 %49 = load i32, ptr %4, align 4 %50 = or i32 %49, %48 store i32 %50, ptr %4, align 4 %51 = load i32, ptr %4, align 4 ret i32 %51 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxsvtag0p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @be64getv(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds i32, ptr %6, i64 0 %8 = load i32, ptr %7, align 4 %9 = shl i32 %8, 56 store i32 %9, ptr %4, align 4 %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds i32, ptr %10, i64 1 %12 = load i32, ptr %11, align 4 %13 = shl i32 %12, 48 %14 = load i32, ptr %4, align 4 %15 = or i32 %14, %13 store i32 %15, ptr %4, align 4 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds i32, ptr %16, i64 2 %18 = load i32, ptr %17, align 4 %19 = shl i32 %18, 40 %20 = load i32, ptr %4, align 4 %21 = or i32 %20, %19 store i32 %21, ptr %4, align 4 %22 = load ptr, ptr %3, align 8 %23 = getelementptr inbounds i32, ptr %22, i64 3 %24 = load i32, ptr %23, align 4 %25 = shl i32 %24, 32 %26 = load i32, ptr %4, align 4 %27 = or i32 %26, %25 store i32 %27, ptr %4, align 4 %28 = load ptr, ptr %3, align 8 %29 = getelementptr inbounds i32, ptr %28, i64 4 %30 = load i32, ptr %29, align 4 %31 = shl i32 %30, 24 %32 = load i32, ptr %4, align 4 %33 = or i32 %32, %31 store i32 %33, ptr %4, align 4 %34 = load ptr, ptr %3, align 8 %35 = getelementptr inbounds i32, ptr %34, i64 5 %36 = load i32, ptr %35, align 4 %37 = shl i32 %36, 16 %38 = load i32, ptr %4, align 4 %39 = or i32 %38, %37 store i32 %39, ptr %4, align 4 %40 = load ptr, ptr %3, align 8 %41 = getelementptr inbounds i32, ptr %40, i64 6 %42 = load i32, ptr %41, align 4 %43 = shl i32 %42, 8 %44 = load i32, ptr %4, align 4 %45 = or i32 %44, %43 store i32 %45, ptr %4, align 4 %46 = load ptr, ptr %3, align 8 %47 = getelementptr inbounds i32, ptr %46, i64 7 %48 = load i32, ptr %47, align 4 %49 = load i32, ptr %4, align 4 %50 = or i32 %49, %48 store i32 %50, ptr %4, align 4 %51 = load i32, ptr %4, align 4 ret i32 %51 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_ruukied.c' source_filename = "/tmp/tmp_ruukied.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_geno(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 store ptr null, ptr %9, align 8 %12 = load ptr, ptr %5, align 8 %13 = call ptr @fopen_write(ptr noundef %12) store ptr %13, ptr %9, align 8 store i32 0, ptr %11, align 4 br label %14 14: ; preds = %64, %4 %15 = load i32, ptr %11, align 4 %16 = load i32, ptr %7, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %67 18: ; preds = %14 store i32 0, ptr %10, align 4 br label %19 19: ; preds = %58, %18 %20 = load i32, ptr %10, align 4 %21 = load i32, ptr %6, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %61 23: ; preds = %19 %24 = load i32, ptr %10, align 4 %25 = load i32, ptr %6, align 4 %26 = sub nsw i32 %25, 1 %27 = icmp slt i32 %24, %26 br i1 %27, label %28, label %40 28: ; preds = %23 %29 = load ptr, ptr %9, align 8 %30 = load ptr, ptr %8, align 8 %31 = load i32, ptr %10, align 4 %32 = load i32, ptr %7, align 4 %33 = mul nsw i32 %31, %32 %34 = load i32, ptr %11, align 4 %35 = add nsw i32 %33, %34 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %30, i64 %36 %38 = load i32, ptr %37, align 4 %39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef @.str, i32 noundef %38) br label %40 40: ; preds = %28, %23 %41 = load i32, ptr %10, align 4 %42 = load i32, ptr %6, align 4 %43 = sub nsw i32 %42, 1 %44 = icmp eq i32 %41, %43 br i1 %44, label %45, label %57 45: ; preds = %40 %46 = load ptr, ptr %9, align 8 %47 = load ptr, ptr %8, align 8 %48 = load i32, ptr %10, align 4 %49 = load i32, ptr %7, align 4 %50 = mul nsw i32 %48, %49 %51 = load i32, ptr %11, align 4 %52 = add nsw i32 %50, %51 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %47, i64 %53 %55 = load i32, ptr %54, align 4 %56 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %46, ptr noundef @.str.1, i32 noundef %55) br label %57 57: ; preds = %45, %40 br label %58 58: ; preds = %57 %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 br label %19, !llvm.loop !6 61: ; preds = %19 %62 = load ptr, ptr %9, align 8 %63 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef @.str.2) br label %64 64: ; preds = %61 %65 = load i32, ptr %11, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %11, align 4 br label %14, !llvm.loop !8 67: ; preds = %14 %68 = load ptr, ptr %9, align 8 %69 = call i32 @fclose(ptr noundef %68) ret void } declare ptr @fopen_write(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_ruukied.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_geno(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 store ptr null, ptr %9, align 8 %12 = load ptr, ptr %5, align 8 %13 = call ptr @fopen_write(ptr noundef %12) store ptr %13, ptr %9, align 8 store i32 0, ptr %11, align 4 %14 = load i32, ptr %11, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph2, label %71 .lr.ph2: ; preds = %4 br label %17 17: ; preds = %.lr.ph2, %65 store i32 0, ptr %10, align 4 %18 = load i32, ptr %10, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph, label %62 .lr.ph: ; preds = %17 br label %21 21: ; preds = %.lr.ph, %56 %22 = load i32, ptr %10, align 4 %23 = load i32, ptr %6, align 4 %24 = sub nsw i32 %23, 1 %25 = icmp slt i32 %22, %24 br i1 %25, label %26, label %38 26: ; preds = %21 %27 = load ptr, ptr %9, align 8 %28 = load ptr, ptr %8, align 8 %29 = load i32, ptr %10, align 4 %30 = load i32, ptr %7, align 4 %31 = mul nsw i32 %29, %30 %32 = load i32, ptr %11, align 4 %33 = add nsw i32 %31, %32 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %28, i64 %34 %36 = load i32, ptr %35, align 4 %37 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %27, ptr noundef @.str, i32 noundef %36) br label %38 38: ; preds = %26, %21 %39 = load i32, ptr %10, align 4 %40 = load i32, ptr %6, align 4 %41 = sub nsw i32 %40, 1 %42 = icmp eq i32 %39, %41 br i1 %42, label %43, label %55 43: ; preds = %38 %44 = load ptr, ptr %9, align 8 %45 = load ptr, ptr %8, align 8 %46 = load i32, ptr %10, align 4 %47 = load i32, ptr %7, align 4 %48 = mul nsw i32 %46, %47 %49 = load i32, ptr %11, align 4 %50 = add nsw i32 %48, %49 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i32, ptr %45, i64 %51 %53 = load i32, ptr %52, align 4 %54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %44, ptr noundef @.str.1, i32 noundef %53) br label %55 55: ; preds = %43, %38 br label %56 56: ; preds = %55 %57 = load i32, ptr %10, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %10, align 4 %59 = load i32, ptr %10, align 4 %60 = load i32, ptr %6, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %56 br label %62 62: ; preds = %._crit_edge, %17 %63 = load ptr, ptr %9, align 8 %64 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef @.str.2) br label %65 65: ; preds = %62 %66 = load i32, ptr %11, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %11, align 4 %68 = load i32, ptr %11, align 4 %69 = load i32, ptr %7, align 4 %70 = icmp slt i32 %68, %69 br i1 %70, label %17, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %65 br label %71 71: ; preds = %._crit_edge3, %4 %72 = load ptr, ptr %9, align 8 %73 = call i32 @fclose(ptr noundef %72) ret void } declare ptr @fopen_write(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp7svpuapm.c' source_filename = "/tmp/tmp7svpuapm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @DISPLAYTEXT_it = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @d2i_DISPLAYTEXT(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = call i64 @ASN1_item_d2i(ptr noundef %7, ptr noundef %8, i64 noundef %9, ptr noundef @DISPLAYTEXT_it) %11 = inttoptr i64 %10 to ptr ret ptr %11 } declare i64 @ASN1_item_d2i(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7svpuapm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @DISPLAYTEXT_it = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @d2i_DISPLAYTEXT(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = call i64 @ASN1_item_d2i(ptr noundef %7, ptr noundef %8, i64 noundef %9, ptr noundef @DISPLAYTEXT_it) %11 = inttoptr i64 %10 to ptr ret ptr %11 } declare i64 @ASN1_item_d2i(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyrxj8pp_.c' source_filename = "/tmp/tmpyrxj8pp_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [4 x i8] c".B \00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c".BI \00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"-\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"--\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"%s , %s \00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"%s \22%s\22 \00", align 1 @.str.8 = private unnamed_addr constant [8 x i8] c"\22 %s\22\00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c".RS\0A%s\0A.RE\0A.PP\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @eca_opt_print_usage_long_nroff(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca [1000 x i8], align 16 %12 = alloca [55 x i8], align 16 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 %13 = load ptr, ptr %8, align 8 %14 = call i64 @strcmp(ptr noundef %13, ptr noundef @.str) %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %5 %17 = getelementptr inbounds [55 x i8], ptr %12, i64 0, i64 0 %18 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %17, ptr noundef @.str.1) br label %22 19: ; preds = %5 %20 = getelementptr inbounds [55 x i8], ptr %12, i64 0, i64 0 %21 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %20, ptr noundef @.str.2) br label %22 22: ; preds = %19, %16 %23 = load ptr, ptr %6, align 8 %24 = call i64 @strcmp(ptr noundef %23, ptr noundef @.str.3) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %35 26: ; preds = %22 %27 = load ptr, ptr %7, align 8 %28 = call i64 @strcmp(ptr noundef %27, ptr noundef @.str.4) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %35 30: ; preds = %26 %31 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 0 %32 = load ptr, ptr %6, align 8 %33 = load ptr, ptr %7, align 8 %34 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %31, ptr noundef @.str.5, ptr noundef %32, ptr noundef %33) br label %53 35: ; preds = %26, %22 %36 = load ptr, ptr %6, align 8 %37 = call i64 @strcmp(ptr noundef %36, ptr noundef @.str.3) %38 = icmp eq i64 %37, 0 br i1 %38, label %39, label %43 39: ; preds = %35 %40 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 0 %41 = load ptr, ptr %7, align 8 %42 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %40, ptr noundef @.str.6, ptr noundef %41) br label %52 43: ; preds = %35 %44 = load ptr, ptr %7, align 8 %45 = call i64 @strcmp(ptr noundef %44, ptr noundef @.str.4) %46 = icmp eq i64 %45, 0 br i1 %46, label %47, label %51 47: ; preds = %43 %48 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 0 %49 = load ptr, ptr %6, align 8 %50 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %48, ptr noundef @.str.6, ptr noundef %49) br label %51 51: ; preds = %47, %43 br label %52 52: ; preds = %51, %39 br label %53 53: ; preds = %52, %30 %54 = getelementptr inbounds [55 x i8], ptr %12, i64 0, i64 0 %55 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 0 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %54, ptr noundef %55) %57 = load ptr, ptr %8, align 8 %58 = call i64 @strcmp(ptr noundef %57, ptr noundef @.str) %59 = icmp ne i64 %58, 0 br i1 %59, label %60, label %63 60: ; preds = %53 %61 = load ptr, ptr %8, align 8 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %61) br label %63 63: ; preds = %60, %53 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %65 = load ptr, ptr %9, align 8 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %65) ret void } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyrxj8pp_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [4 x i8] c".B \00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c".BI \00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"-\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"--\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"%s , %s \00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"%s \22%s\22 \00", align 1 @.str.8 = private unnamed_addr constant [8 x i8] c"\22 %s\22\00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c".RS\0A%s\0A.RE\0A.PP\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @eca_opt_print_usage_long_nroff(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca [1000 x i8], align 16 %12 = alloca [55 x i8], align 16 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 %13 = load ptr, ptr %8, align 8 %14 = call i64 @strcmp(ptr noundef %13, ptr noundef @.str) %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %5 %17 = getelementptr inbounds [55 x i8], ptr %12, i64 0, i64 0 %18 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %17, ptr noundef @.str.1) br label %22 19: ; preds = %5 %20 = getelementptr inbounds [55 x i8], ptr %12, i64 0, i64 0 %21 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %20, ptr noundef @.str.2) br label %22 22: ; preds = %19, %16 %23 = load ptr, ptr %6, align 8 %24 = call i64 @strcmp(ptr noundef %23, ptr noundef @.str.3) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %35 26: ; preds = %22 %27 = load ptr, ptr %7, align 8 %28 = call i64 @strcmp(ptr noundef %27, ptr noundef @.str.4) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %35 30: ; preds = %26 %31 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 0 %32 = load ptr, ptr %6, align 8 %33 = load ptr, ptr %7, align 8 %34 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %31, ptr noundef @.str.5, ptr noundef %32, ptr noundef %33) br label %53 35: ; preds = %26, %22 %36 = load ptr, ptr %6, align 8 %37 = call i64 @strcmp(ptr noundef %36, ptr noundef @.str.3) %38 = icmp eq i64 %37, 0 br i1 %38, label %39, label %43 39: ; preds = %35 %40 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 0 %41 = load ptr, ptr %7, align 8 %42 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %40, ptr noundef @.str.6, ptr noundef %41) br label %52 43: ; preds = %35 %44 = load ptr, ptr %7, align 8 %45 = call i64 @strcmp(ptr noundef %44, ptr noundef @.str.4) %46 = icmp eq i64 %45, 0 br i1 %46, label %47, label %51 47: ; preds = %43 %48 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 0 %49 = load ptr, ptr %6, align 8 %50 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %48, ptr noundef @.str.6, ptr noundef %49) br label %51 51: ; preds = %47, %43 br label %52 52: ; preds = %51, %39 br label %53 53: ; preds = %52, %30 %54 = getelementptr inbounds [55 x i8], ptr %12, i64 0, i64 0 %55 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 0 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %54, ptr noundef %55) %57 = load ptr, ptr %8, align 8 %58 = call i64 @strcmp(ptr noundef %57, ptr noundef @.str) %59 = icmp ne i64 %58, 0 br i1 %59, label %60, label %63 60: ; preds = %53 %61 = load ptr, ptr %8, align 8 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %61) br label %63 63: ; preds = %60, %53 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %65 = load ptr, ptr %9, align 8 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %65) ret void } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb91bgf_f.c' source_filename = "/tmp/tmpb91bgf_f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"cg_disableHeadstuff\00", align 1 @.str.1 = private unnamed_addr constant [42 x i8] c"models/players/heads/accessoires/m_%s.md3\00", align 1 @.str.2 = private unnamed_addr constant [42 x i8] c"models/players/heads/accessoires/h_%s.md3\00", align 1 @.str.3 = private unnamed_addr constant [42 x i8] c"models/players/heads/accessoires/e_%s.md3\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @UI_RegisterHeadstyle(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [64 x i8], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = call i64 @trap_Cvar_VariableValue(ptr noundef @.str) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %3 br label %38 11: ; preds = %3 %12 = load ptr, ptr %4, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %20 14: ; preds = %11 %15 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %16 = load ptr, ptr %4, align 8 %17 = call i32 @Com_sprintf(ptr noundef %15, i32 noundef 64, ptr noundef @.str.1, ptr noundef %16) %18 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %19 = call i32 @trap_R_RegisterModel(ptr noundef %18) br label %20 20: ; preds = %14, %11 %21 = load ptr, ptr %6, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %23, label %29 23: ; preds = %20 %24 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %25 = load ptr, ptr %6, align 8 %26 = call i32 @Com_sprintf(ptr noundef %24, i32 noundef 64, ptr noundef @.str.2, ptr noundef %25) %27 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %28 = call i32 @trap_R_RegisterModel(ptr noundef %27) br label %29 29: ; preds = %23, %20 %30 = load ptr, ptr %5, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %32, label %38 32: ; preds = %29 %33 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %34 = load ptr, ptr %5, align 8 %35 = call i32 @Com_sprintf(ptr noundef %33, i32 noundef 64, ptr noundef @.str.3, ptr noundef %34) %36 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %37 = call i32 @trap_R_RegisterModel(ptr noundef %36) br label %38 38: ; preds = %10, %32, %29 ret void } declare i64 @trap_Cvar_VariableValue(ptr noundef) #1 declare i32 @Com_sprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @trap_R_RegisterModel(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb91bgf_f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"cg_disableHeadstuff\00", align 1 @.str.1 = private unnamed_addr constant [42 x i8] c"models/players/heads/accessoires/m_%s.md3\00", align 1 @.str.2 = private unnamed_addr constant [42 x i8] c"models/players/heads/accessoires/h_%s.md3\00", align 1 @.str.3 = private unnamed_addr constant [42 x i8] c"models/players/heads/accessoires/e_%s.md3\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @UI_RegisterHeadstyle(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [64 x i8], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = call i64 @trap_Cvar_VariableValue(ptr noundef @.str) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %3 br label %38 11: ; preds = %3 %12 = load ptr, ptr %4, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %20 14: ; preds = %11 %15 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %16 = load ptr, ptr %4, align 8 %17 = call i32 @Com_sprintf(ptr noundef %15, i32 noundef 64, ptr noundef @.str.1, ptr noundef %16) %18 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %19 = call i32 @trap_R_RegisterModel(ptr noundef %18) br label %20 20: ; preds = %14, %11 %21 = load ptr, ptr %6, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %23, label %29 23: ; preds = %20 %24 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %25 = load ptr, ptr %6, align 8 %26 = call i32 @Com_sprintf(ptr noundef %24, i32 noundef 64, ptr noundef @.str.2, ptr noundef %25) %27 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %28 = call i32 @trap_R_RegisterModel(ptr noundef %27) br label %29 29: ; preds = %23, %20 %30 = load ptr, ptr %5, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %32, label %38 32: ; preds = %29 %33 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %34 = load ptr, ptr %5, align 8 %35 = call i32 @Com_sprintf(ptr noundef %33, i32 noundef 64, ptr noundef @.str.3, ptr noundef %34) %36 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %37 = call i32 @trap_R_RegisterModel(ptr noundef %36) br label %38 38: ; preds = %32, %29, %10 ret void } declare i64 @trap_Cvar_VariableValue(ptr noundef) #1 declare i32 @Com_sprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @trap_R_RegisterModel(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphy8xjhsx.c' source_filename = "/tmp/tmphy8xjhsx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [57 x i8] c"\0AThere was an error reading parameters from the file %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [59 x i8] c"The file should contain the partition multiplier (e.g. 5)\0A\00", align 1 @.str.2 = private unnamed_addr constant [58 x i8] c" the trace level (e.g. 0), the cut fraction (e.g. 0.01)\0A\00", align 1 @.str.3 = private unnamed_addr constant [43 x i8] c" and the simulation tolerance (e.g. 0.5)\0A\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"Sample Contents:\0A 5 0 0.01 0.5\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Parms_Help(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %9 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphy8xjhsx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [57 x i8] c"\0AThere was an error reading parameters from the file %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [59 x i8] c"The file should contain the partition multiplier (e.g. 5)\0A\00", align 1 @.str.2 = private unnamed_addr constant [58 x i8] c" the trace level (e.g. 0), the cut fraction (e.g. 0.01)\0A\00", align 1 @.str.3 = private unnamed_addr constant [43 x i8] c" and the simulation tolerance (e.g. 0.5)\0A\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"Sample Contents:\0A 5 0 0.01 0.5\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Parms_Help(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %9 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx7sedovb.c' source_filename = "/tmp/tmpx7sedovb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [81 x i8] c" fileop [-f X ]|[-l # -u #] [-s Y] [-e] [-b] [-w] [-d <dir>] [-t] [-v] [-h]\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [69 x i8] c" -f # Force factor. X^3 files will be created and removed.\0A\00", align 1 @.str.3 = private unnamed_addr constant [62 x i8] c" -l # Lower limit on the value of the Force factor.\0A\00", align 1 @.str.4 = private unnamed_addr constant [62 x i8] c" -u # Upper limit on the value of the Force factor.\0A\00", align 1 @.str.5 = private unnamed_addr constant [89 x i8] c" -s # Optional. Sets filesize for the create/write. May use suffix 'K' or 'M'.\0A\00", align 1 @.str.6 = private unnamed_addr constant [41 x i8] c" -e Excel importable format.\0A\00", align 1 @.str.7 = private unnamed_addr constant [42 x i8] c" -b Output best case results.\0A\00", align 1 @.str.8 = private unnamed_addr constant [58 x i8] c" -i # Increment force factor by this increment.\0A\00", align 1 @.str.9 = private unnamed_addr constant [43 x i8] c" -w Output worst case results.\0A\00", align 1 @.str.10 = private unnamed_addr constant [44 x i8] c" -d <dir> Specify starting directory.\0A\00", align 1 @.str.11 = private unnamed_addr constant [54 x i8] c" -U <dir> Mount point to remount between tests.\0A\00", align 1 @.str.12 = private unnamed_addr constant [39 x i8] c" -t Verbose output option.\0A\00", align 1 @.str.13 = private unnamed_addr constant [37 x i8] c" -v Version information.\0A\00", align 1 @.str.14 = private unnamed_addr constant [27 x i8] c" -h Help text.\0A\00", align 1 @.str.15 = private unnamed_addr constant [41 x i8] c" The structure of the file tree is:\0A\00", align 1 @.str.16 = private unnamed_addr constant [56 x i8] c" X number of Level 1 directories, with X number of\0A\00", align 1 @.str.17 = private unnamed_addr constant [58 x i8] c" level 2 directories, with X number of files in each\0A\00", align 1 @.str.18 = private unnamed_addr constant [34 x i8] c" of the level 2 directories.\0A\00", align 1 @.str.19 = private unnamed_addr constant [25 x i8] c" Example: fileop 2\0A\00", align 1 @.str.20 = private unnamed_addr constant [49 x i8] c" dir_1 dir_2\0A\00", align 1 @.str.21 = private unnamed_addr constant [51 x i8] c" / \\ / \\ \0A\00", align 1 @.str.22 = private unnamed_addr constant [56 x i8] c" sdir_1 sdir_2 sdir_1 sdir_2\0A\00", align 1 @.str.23 = private unnamed_addr constant [58 x i8] c" / \\ / \\ / \\ / \\ \0A\00", align 1 @.str.24 = private unnamed_addr constant [62 x i8] c" file_1 file_2 file_1 file_2 file_1 file_2 file_1 file_2\0A\00", align 1 @.str.25 = private unnamed_addr constant [72 x i8] c" Each file will be created, and then Y bytes is written to the file.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 (...) @splash() %2 = call i32 @printf(ptr noundef @.str) %3 = call i32 @printf(ptr noundef @.str.1) %4 = call i32 @printf(ptr noundef @.str.2) %5 = call i32 @printf(ptr noundef @.str.3) %6 = call i32 @printf(ptr noundef @.str.4) %7 = call i32 @printf(ptr noundef @.str.5) %8 = call i32 @printf(ptr noundef @.str.6) %9 = call i32 @printf(ptr noundef @.str.7) %10 = call i32 @printf(ptr noundef @.str.8) %11 = call i32 @printf(ptr noundef @.str.9) %12 = call i32 @printf(ptr noundef @.str.10) %13 = call i32 @printf(ptr noundef @.str.11) %14 = call i32 @printf(ptr noundef @.str.12) %15 = call i32 @printf(ptr noundef @.str.13) %16 = call i32 @printf(ptr noundef @.str.14) %17 = call i32 @printf(ptr noundef @.str.1) %18 = call i32 @printf(ptr noundef @.str.15) %19 = call i32 @printf(ptr noundef @.str.16) %20 = call i32 @printf(ptr noundef @.str.17) %21 = call i32 @printf(ptr noundef @.str.18) %22 = call i32 @printf(ptr noundef @.str.1) %23 = call i32 @printf(ptr noundef @.str.19) %24 = call i32 @printf(ptr noundef @.str.1) %25 = call i32 @printf(ptr noundef @.str.20) %26 = call i32 @printf(ptr noundef @.str.21) %27 = call i32 @printf(ptr noundef @.str.22) %28 = call i32 @printf(ptr noundef @.str.23) %29 = call i32 @printf(ptr noundef @.str.24) %30 = call i32 @printf(ptr noundef @.str.1) %31 = call i32 @printf(ptr noundef @.str.25) %32 = call i32 @printf(ptr noundef @.str.1) ret void } declare i32 @splash(...) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx7sedovb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [81 x i8] c" fileop [-f X ]|[-l # -u #] [-s Y] [-e] [-b] [-w] [-d <dir>] [-t] [-v] [-h]\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [69 x i8] c" -f # Force factor. X^3 files will be created and removed.\0A\00", align 1 @.str.3 = private unnamed_addr constant [62 x i8] c" -l # Lower limit on the value of the Force factor.\0A\00", align 1 @.str.4 = private unnamed_addr constant [62 x i8] c" -u # Upper limit on the value of the Force factor.\0A\00", align 1 @.str.5 = private unnamed_addr constant [89 x i8] c" -s # Optional. Sets filesize for the create/write. May use suffix 'K' or 'M'.\0A\00", align 1 @.str.6 = private unnamed_addr constant [41 x i8] c" -e Excel importable format.\0A\00", align 1 @.str.7 = private unnamed_addr constant [42 x i8] c" -b Output best case results.\0A\00", align 1 @.str.8 = private unnamed_addr constant [58 x i8] c" -i # Increment force factor by this increment.\0A\00", align 1 @.str.9 = private unnamed_addr constant [43 x i8] c" -w Output worst case results.\0A\00", align 1 @.str.10 = private unnamed_addr constant [44 x i8] c" -d <dir> Specify starting directory.\0A\00", align 1 @.str.11 = private unnamed_addr constant [54 x i8] c" -U <dir> Mount point to remount between tests.\0A\00", align 1 @.str.12 = private unnamed_addr constant [39 x i8] c" -t Verbose output option.\0A\00", align 1 @.str.13 = private unnamed_addr constant [37 x i8] c" -v Version information.\0A\00", align 1 @.str.14 = private unnamed_addr constant [27 x i8] c" -h Help text.\0A\00", align 1 @.str.15 = private unnamed_addr constant [41 x i8] c" The structure of the file tree is:\0A\00", align 1 @.str.16 = private unnamed_addr constant [56 x i8] c" X number of Level 1 directories, with X number of\0A\00", align 1 @.str.17 = private unnamed_addr constant [58 x i8] c" level 2 directories, with X number of files in each\0A\00", align 1 @.str.18 = private unnamed_addr constant [34 x i8] c" of the level 2 directories.\0A\00", align 1 @.str.19 = private unnamed_addr constant [25 x i8] c" Example: fileop 2\0A\00", align 1 @.str.20 = private unnamed_addr constant [49 x i8] c" dir_1 dir_2\0A\00", align 1 @.str.21 = private unnamed_addr constant [51 x i8] c" / \\ / \\ \0A\00", align 1 @.str.22 = private unnamed_addr constant [56 x i8] c" sdir_1 sdir_2 sdir_1 sdir_2\0A\00", align 1 @.str.23 = private unnamed_addr constant [58 x i8] c" / \\ / \\ / \\ / \\ \0A\00", align 1 @.str.24 = private unnamed_addr constant [62 x i8] c" file_1 file_2 file_1 file_2 file_1 file_2 file_1 file_2\0A\00", align 1 @.str.25 = private unnamed_addr constant [72 x i8] c" Each file will be created, and then Y bytes is written to the file.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 (...) @splash() %2 = call i32 @printf(ptr noundef @.str) %3 = call i32 @printf(ptr noundef @.str.1) %4 = call i32 @printf(ptr noundef @.str.2) %5 = call i32 @printf(ptr noundef @.str.3) %6 = call i32 @printf(ptr noundef @.str.4) %7 = call i32 @printf(ptr noundef @.str.5) %8 = call i32 @printf(ptr noundef @.str.6) %9 = call i32 @printf(ptr noundef @.str.7) %10 = call i32 @printf(ptr noundef @.str.8) %11 = call i32 @printf(ptr noundef @.str.9) %12 = call i32 @printf(ptr noundef @.str.10) %13 = call i32 @printf(ptr noundef @.str.11) %14 = call i32 @printf(ptr noundef @.str.12) %15 = call i32 @printf(ptr noundef @.str.13) %16 = call i32 @printf(ptr noundef @.str.14) %17 = call i32 @printf(ptr noundef @.str.1) %18 = call i32 @printf(ptr noundef @.str.15) %19 = call i32 @printf(ptr noundef @.str.16) %20 = call i32 @printf(ptr noundef @.str.17) %21 = call i32 @printf(ptr noundef @.str.18) %22 = call i32 @printf(ptr noundef @.str.1) %23 = call i32 @printf(ptr noundef @.str.19) %24 = call i32 @printf(ptr noundef @.str.1) %25 = call i32 @printf(ptr noundef @.str.20) %26 = call i32 @printf(ptr noundef @.str.21) %27 = call i32 @printf(ptr noundef @.str.22) %28 = call i32 @printf(ptr noundef @.str.23) %29 = call i32 @printf(ptr noundef @.str.24) %30 = call i32 @printf(ptr noundef @.str.1) %31 = call i32 @printf(ptr noundef @.str.25) %32 = call i32 @printf(ptr noundef @.str.1) ret void } declare i32 @splash(...) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_d97saf_.c' source_filename = "/tmp/tmp_d97saf_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_d97saf_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpblz3da4j.c' source_filename = "/tmp/tmpblz3da4j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpblz3da4j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe838j864.c' source_filename = "/tmp/tmpe838j864.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"socket() failed\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [20 x i8] c"setsockopt() failed\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"bind() failed\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"getsockname() failed\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"listen() failed\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @startup(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca %struct.sockaddr_in, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %8 = load i32, ptr @AF_INET, align 4 %9 = load i32, ptr @SOCK_STREAM, align 4 %10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0) store i32 %10, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %15 13: ; preds = %1 %14 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %2, align 4 br label %72 15: ; preds = %1 %16 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 12) %17 = load i32, ptr @AF_INET, align 4 %18 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2 store i32 %17, ptr %18, align 4 %19 = load ptr, ptr %3, align 8 %20 = load i16, ptr %19, align 2 %21 = call i32 @htons(i16 noundef zeroext %20) %22 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0 store i32 %21, ptr %22, align 4 %23 = load i32, ptr @INADDR_ANY, align 4 %24 = call i32 @htonl(i32 noundef %23) %25 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1 %26 = getelementptr inbounds %struct.TYPE_2__, ptr %25, i32 0, i32 0 store i32 %24, ptr %26, align 4 store i32 1, ptr %5, align 4 %27 = load i32, ptr %4, align 4 %28 = load i32, ptr @SOL_SOCKET, align 4 %29 = load i32, ptr @SO_REUSEADDR, align 4 %30 = call i32 @setsockopt(i32 noundef %27, i32 noundef %28, i32 noundef %29, ptr noundef %5, i32 noundef 4) %31 = icmp eq i32 %30, -1 br i1 %31, label %32, label %36 32: ; preds = %15 %33 = call i32 @perror(ptr noundef @.str.1) %34 = load i32, ptr %4, align 4 %35 = call i32 @close(i32 noundef %34) store i32 -1, ptr %2, align 4 br label %72 36: ; preds = %15 %37 = load i32, ptr %4, align 4 %38 = call i32 @bind(i32 noundef %37, ptr noundef %6, i32 noundef 12) %39 = icmp eq i32 %38, -1 br i1 %39, label %40, label %44 40: ; preds = %36 %41 = call i32 @perror(ptr noundef @.str.2) %42 = load i32, ptr %4, align 4 %43 = call i32 @close(i32 noundef %42) store i32 -1, ptr %2, align 4 br label %72 44: ; preds = %36 %45 = load ptr, ptr %3, align 8 %46 = load i16, ptr %45, align 2 %47 = zext i16 %46 to i32 %48 = icmp eq i32 %47, 0 br i1 %48, label %49, label %62 49: ; preds = %44 store i32 12, ptr %7, align 4 %50 = load i32, ptr %4, align 4 %51 = call i32 @getsockname(i32 noundef %50, ptr noundef %6, ptr noundef %7) %52 = icmp eq i32 %51, -1 br i1 %52, label %53, label %57 53: ; preds = %49 %54 = call i32 @perror(ptr noundef @.str.3) %55 = load i32, ptr %4, align 4 %56 = call i32 @close(i32 noundef %55) store i32 -1, ptr %2, align 4 br label %72 57: ; preds = %49 %58 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0 %59 = load i32, ptr %58, align 4 %60 = call zeroext i16 @ntohs(i32 noundef %59) %61 = load ptr, ptr %3, align 8 store i16 %60, ptr %61, align 2 br label %62 62: ; preds = %57, %44 %63 = load i32, ptr %4, align 4 %64 = call i32 @listen(i32 noundef %63, i32 noundef 128) %65 = icmp eq i32 %64, -1 br i1 %65, label %66, label %70 66: ; preds = %62 %67 = call i32 @perror(ptr noundef @.str.4) %68 = load i32, ptr %4, align 4 %69 = call i32 @close(i32 noundef %68) store i32 -1, ptr %2, align 4 br label %72 70: ; preds = %62 %71 = load i32, ptr %4, align 4 store i32 %71, ptr %2, align 4 br label %72 72: ; preds = %70, %66, %53, %40, %32, %13 %73 = load i32, ptr %2, align 4 ret i32 %73 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i16 noundef zeroext) #1 declare i32 @htonl(i32 noundef) #1 declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @getsockname(i32 noundef, ptr noundef, ptr noundef) #1 declare zeroext i16 @ntohs(i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe838j864.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"socket() failed\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [20 x i8] c"setsockopt() failed\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"bind() failed\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"getsockname() failed\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"listen() failed\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @startup(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca %struct.sockaddr_in, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %8 = load i32, ptr @AF_INET, align 4 %9 = load i32, ptr @SOCK_STREAM, align 4 %10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0) store i32 %10, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %15 13: ; preds = %1 %14 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %2, align 4 br label %72 15: ; preds = %1 %16 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 12) %17 = load i32, ptr @AF_INET, align 4 %18 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2 store i32 %17, ptr %18, align 4 %19 = load ptr, ptr %3, align 8 %20 = load i16, ptr %19, align 2 %21 = call i32 @htons(i16 noundef zeroext %20) %22 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0 store i32 %21, ptr %22, align 4 %23 = load i32, ptr @INADDR_ANY, align 4 %24 = call i32 @htonl(i32 noundef %23) %25 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1 %26 = getelementptr inbounds %struct.TYPE_2__, ptr %25, i32 0, i32 0 store i32 %24, ptr %26, align 4 store i32 1, ptr %5, align 4 %27 = load i32, ptr %4, align 4 %28 = load i32, ptr @SOL_SOCKET, align 4 %29 = load i32, ptr @SO_REUSEADDR, align 4 %30 = call i32 @setsockopt(i32 noundef %27, i32 noundef %28, i32 noundef %29, ptr noundef %5, i32 noundef 4) %31 = icmp eq i32 %30, -1 br i1 %31, label %32, label %36 32: ; preds = %15 %33 = call i32 @perror(ptr noundef @.str.1) %34 = load i32, ptr %4, align 4 %35 = call i32 @close(i32 noundef %34) store i32 -1, ptr %2, align 4 br label %72 36: ; preds = %15 %37 = load i32, ptr %4, align 4 %38 = call i32 @bind(i32 noundef %37, ptr noundef %6, i32 noundef 12) %39 = icmp eq i32 %38, -1 br i1 %39, label %40, label %44 40: ; preds = %36 %41 = call i32 @perror(ptr noundef @.str.2) %42 = load i32, ptr %4, align 4 %43 = call i32 @close(i32 noundef %42) store i32 -1, ptr %2, align 4 br label %72 44: ; preds = %36 %45 = load ptr, ptr %3, align 8 %46 = load i16, ptr %45, align 2 %47 = zext i16 %46 to i32 %48 = icmp eq i32 %47, 0 br i1 %48, label %49, label %62 49: ; preds = %44 store i32 12, ptr %7, align 4 %50 = load i32, ptr %4, align 4 %51 = call i32 @getsockname(i32 noundef %50, ptr noundef %6, ptr noundef %7) %52 = icmp eq i32 %51, -1 br i1 %52, label %53, label %57 53: ; preds = %49 %54 = call i32 @perror(ptr noundef @.str.3) %55 = load i32, ptr %4, align 4 %56 = call i32 @close(i32 noundef %55) store i32 -1, ptr %2, align 4 br label %72 57: ; preds = %49 %58 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0 %59 = load i32, ptr %58, align 4 %60 = call zeroext i16 @ntohs(i32 noundef %59) %61 = load ptr, ptr %3, align 8 store i16 %60, ptr %61, align 2 br label %62 62: ; preds = %57, %44 %63 = load i32, ptr %4, align 4 %64 = call i32 @listen(i32 noundef %63, i32 noundef 128) %65 = icmp eq i32 %64, -1 br i1 %65, label %66, label %70 66: ; preds = %62 %67 = call i32 @perror(ptr noundef @.str.4) %68 = load i32, ptr %4, align 4 %69 = call i32 @close(i32 noundef %68) store i32 -1, ptr %2, align 4 br label %72 70: ; preds = %62 %71 = load i32, ptr %4, align 4 store i32 %71, ptr %2, align 4 br label %72 72: ; preds = %70, %66, %53, %40, %32, %13 %73 = load i32, ptr %2, align 4 ret i32 %73 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i16 noundef zeroext) #1 declare i32 @htonl(i32 noundef) #1 declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @getsockname(i32 noundef, ptr noundef, ptr noundef) #1 declare zeroext i16 @ntohs(i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmzmllkrv.c' source_filename = "/tmp/tmpmzmllkrv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmzmllkrv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjo1czpqw.c' source_filename = "/tmp/tmpjo1czpqw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @strcpy(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %5, align 8 br label %7 7: ; preds = %14, %2 %8 = load ptr, ptr %4, align 8 %9 = load i8, ptr %8, align 1 %10 = load ptr, ptr %3, align 8 store i8 %9, ptr %10, align 1 %11 = sext i8 %9 to i32 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %19 13: ; preds = %7 br label %14 14: ; preds = %13 %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %4, align 8 %17 = load ptr, ptr %3, align 8 %18 = getelementptr inbounds i8, ptr %17, i32 1 store ptr %18, ptr %3, align 8 br label %7, !llvm.loop !6 19: ; preds = %7 %20 = load ptr, ptr %5, align 8 ret ptr %20 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjo1czpqw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @strcpy(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i8, ptr %7, align 1 %9 = load ptr, ptr %3, align 8 store i8 %8, ptr %9, align 1 %10 = sext i8 %8 to i32 %11 = icmp ne i32 %10, 0 br i1 %11, label %.lr.ph, label %23 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %13 br label %13 13: ; preds = %12 %14 = load ptr, ptr %4, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %4, align 8 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds i8, ptr %16, i32 1 store ptr %17, ptr %3, align 8 %18 = load ptr, ptr %4, align 8 %19 = load i8, ptr %18, align 1 %20 = load ptr, ptr %3, align 8 store i8 %19, ptr %20, align 1 %21 = sext i8 %19 to i32 %22 = icmp ne i32 %21, 0 br i1 %22, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %23 23: ; preds = %._crit_edge, %2 %24 = load ptr, ptr %5, align 8 ret ptr %24 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpfbpuipwb.c' source_filename = "/tmp/tmpfbpuipwb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"U_EMRSETROP2\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"dwRop:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @U_EMRSETROP2_print(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @core3_print(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %3) ret void } declare i32 @core3_print(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfbpuipwb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"U_EMRSETROP2\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"dwRop:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @U_EMRSETROP2_print(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @core3_print(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %3) ret void } declare i32 @core3_print(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9lut1ust.c' source_filename = "/tmp/tmp9lut1ust.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [60 x i8] c"Usage: %s [-(1|2) host=h,port=p,format=(bin|dec|hex)] [-d]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_help(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9lut1ust.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [60 x i8] c"Usage: %s [-(1|2) host=h,port=p,format=(bin|dec|hex)] [-d]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_help(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvg55b7cc.c' source_filename = "/tmp/tmpvg55b7cc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @flowd_crc32(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = call i32 @flowd_crc32_start(ptr noundef %5) %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr %4, align 4 %9 = call i32 @flowd_crc32_update(ptr noundef %7, i32 noundef %8, ptr noundef %5) %10 = load i32, ptr %5, align 4 ret i32 %10 } declare i32 @flowd_crc32_start(ptr noundef) #1 declare i32 @flowd_crc32_update(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvg55b7cc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @flowd_crc32(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = call i32 @flowd_crc32_start(ptr noundef %5) %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr %4, align 4 %9 = call i32 @flowd_crc32_update(ptr noundef %7, i32 noundef %8, ptr noundef %5) %10 = load i32, ptr %5, align 4 ret i32 %10 } declare i32 @flowd_crc32_start(ptr noundef) #1 declare i32 @flowd_crc32_update(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpboexycvz.c' source_filename = "/tmp/tmpboexycvz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @tga_draw_hline(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 br label %9 9: ; preds = %29, %4 %10 = load i32, ptr %7, align 4 %11 = icmp ugt i32 %10, 0 br i1 %11, label %12, label %30 12: ; preds = %9 %13 = load i32, ptr %7, align 4 %14 = add i32 %13, -1 store i32 %14, ptr %7, align 4 %15 = load i32, ptr %8, align 4 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %23 17: ; preds = %12 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %7, align 4 %20 = add i32 %18, %19 %21 = load i32, ptr %6, align 4 %22 = call i32 @tga_set_pixel(i32 noundef %20, i32 noundef %21, i32 noundef 232, i32 noundef 232, i32 noundef 232) br label %29 23: ; preds = %12 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %7, align 4 %26 = add i32 %24, %25 %27 = load i32, ptr %6, align 4 %28 = call i32 @tga_set_pixel(i32 noundef %26, i32 noundef %27, i32 noundef 255, i32 noundef 0, i32 noundef 0) br label %29 29: ; preds = %23, %17 br label %9, !llvm.loop !6 30: ; preds = %9 ret void } declare i32 @tga_set_pixel(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpboexycvz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @tga_draw_hline(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %7, align 4 %10 = icmp ugt i32 %9, 0 br i1 %10, label %.lr.ph, label %31 .lr.ph: ; preds = %4 br label %11 11: ; preds = %.lr.ph, %28 %12 = load i32, ptr %7, align 4 %13 = add i32 %12, -1 store i32 %13, ptr %7, align 4 %14 = load i32, ptr %8, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %22 16: ; preds = %11 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %7, align 4 %19 = add i32 %17, %18 %20 = load i32, ptr %6, align 4 %21 = call i32 @tga_set_pixel(i32 noundef %19, i32 noundef %20, i32 noundef 232, i32 noundef 232, i32 noundef 232) br label %28 22: ; preds = %11 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %7, align 4 %25 = add i32 %23, %24 %26 = load i32, ptr %6, align 4 %27 = call i32 @tga_set_pixel(i32 noundef %25, i32 noundef %26, i32 noundef 255, i32 noundef 0, i32 noundef 0) br label %28 28: ; preds = %22, %16 %29 = load i32, ptr %7, align 4 %30 = icmp ugt i32 %29, 0 br i1 %30, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %31 31: ; preds = %._crit_edge, %4 ret void } declare i32 @tga_set_pixel(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmplkwaeegd.c' source_filename = "/tmp/tmplkwaeegd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplkwaeegd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv22rrph9.c' source_filename = "/tmp/tmpv22rrph9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @morse.buf = internal global [512 x i8] zeroinitializer, align 16 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"Morse translation of %s is too long\0A\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"No morse translation for %c in %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @morse(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i8 0, ptr @morse.buf, align 16 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %6, align 8 br label %9 9: ; preds = %45, %2 %10 = load ptr, ptr %6, align 8 %11 = load i8, ptr %10, align 1 %12 = icmp ne i8 %11, 0 br i1 %12, label %13, label %48 13: ; preds = %9 %14 = call i64 @strlen(ptr noundef @morse.buf) %15 = icmp sgt i64 %14, 0 br i1 %15, label %16, label %24 16: ; preds = %13 %17 = load ptr, ptr %5, align 8 %18 = call ptr @append(ptr noundef @morse.buf, ptr noundef %17, i32 noundef 512) %19 = icmp eq ptr %18, null br i1 %19, label %20, label %24 20: ; preds = %16 %21 = load i32, ptr @stderr, align 4 %22 = load ptr, ptr %4, align 8 %23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str, ptr noundef %22) store ptr null, ptr %3, align 8 br label %49 24: ; preds = %16, %13 %25 = load ptr, ptr %6, align 8 %26 = load i8, ptr %25, align 1 %27 = call ptr @translate(i8 noundef signext %26) store ptr %27, ptr %7, align 8 %28 = icmp eq ptr %27, null br i1 %28, label %29, label %36 29: ; preds = %24 %30 = load i32, ptr @stderr, align 4 %31 = load ptr, ptr %6, align 8 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = load ptr, ptr %4, align 8 %35 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %30, ptr noundef @.str.1, i32 noundef %33, ptr noundef %34) store ptr null, ptr %3, align 8 br label %49 36: ; preds = %24 %37 = load ptr, ptr %7, align 8 %38 = call ptr @append(ptr noundef @morse.buf, ptr noundef %37, i32 noundef 512) %39 = icmp eq ptr %38, null br i1 %39, label %40, label %44 40: ; preds = %36 %41 = load i32, ptr @stderr, align 4 %42 = load ptr, ptr %4, align 8 %43 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %41, ptr noundef @.str, ptr noundef %42) store ptr null, ptr %3, align 8 br label %49 44: ; preds = %36 br label %45 45: ; preds = %44 %46 = load ptr, ptr %6, align 8 %47 = getelementptr inbounds i8, ptr %46, i32 1 store ptr %47, ptr %6, align 8 br label %9, !llvm.loop !6 48: ; preds = %9 store ptr @morse.buf, ptr %3, align 8 br label %49 49: ; preds = %48, %40, %29, %20 %50 = load ptr, ptr %3, align 8 ret ptr %50 } declare i64 @strlen(ptr noundef) #1 declare ptr @append(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @translate(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv22rrph9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @morse.buf = internal global [512 x i8] zeroinitializer, align 16 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"Morse translation of %s is too long\0A\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"No morse translation for %c in %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @morse(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i8 0, ptr @morse.buf, align 16 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %6, align 8 %10 = load i8, ptr %9, align 1 %11 = icmp ne i8 %10, 0 br i1 %11, label %.lr.ph, label %50 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %44 %13 = call i64 @strlen(ptr noundef @morse.buf) %14 = icmp sgt i64 %13, 0 br i1 %14, label %15, label %23 15: ; preds = %12 %16 = load ptr, ptr %5, align 8 %17 = call ptr @append(ptr noundef @morse.buf, ptr noundef %16, i32 noundef 512) %18 = icmp eq ptr %17, null br i1 %18, label %19, label %23 19: ; preds = %15 %20 = load i32, ptr @stderr, align 4 %21 = load ptr, ptr %4, align 8 %22 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str, ptr noundef %21) store ptr null, ptr %3, align 8 br label %51 23: ; preds = %15, %12 %24 = load ptr, ptr %6, align 8 %25 = load i8, ptr %24, align 1 %26 = call ptr @translate(i8 noundef signext %25) store ptr %26, ptr %7, align 8 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %35 28: ; preds = %23 %29 = load i32, ptr @stderr, align 4 %30 = load ptr, ptr %6, align 8 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = load ptr, ptr %4, align 8 %34 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %29, ptr noundef @.str.1, i32 noundef %32, ptr noundef %33) store ptr null, ptr %3, align 8 br label %51 35: ; preds = %23 %36 = load ptr, ptr %7, align 8 %37 = call ptr @append(ptr noundef @morse.buf, ptr noundef %36, i32 noundef 512) %38 = icmp eq ptr %37, null br i1 %38, label %39, label %43 39: ; preds = %35 %40 = load i32, ptr @stderr, align 4 %41 = load ptr, ptr %4, align 8 %42 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %40, ptr noundef @.str, ptr noundef %41) store ptr null, ptr %3, align 8 br label %51 43: ; preds = %35 br label %44 44: ; preds = %43 %45 = load ptr, ptr %6, align 8 %46 = getelementptr inbounds i8, ptr %45, i32 1 store ptr %46, ptr %6, align 8 %47 = load ptr, ptr %6, align 8 %48 = load i8, ptr %47, align 1 %49 = icmp ne i8 %48, 0 br i1 %49, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %44 br label %50 50: ; preds = %._crit_edge, %2 store ptr @morse.buf, ptr %3, align 8 br label %51 51: ; preds = %50, %39, %28, %19 %52 = load ptr, ptr %3, align 8 ret ptr %52 } declare i64 @strlen(ptr noundef) #1 declare ptr @append(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @translate(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpc_rdg_ay.c' source_filename = "/tmp/tmpc_rdg_ay.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"Couldn't allocate memory - exiting.\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @term_malloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #4 store ptr %5, ptr %3, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %12 7: ; preds = %1 %8 = load i32, ptr @stderr, align 4 %9 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str) %10 = load i32, ptr @EXIT_FAILURE, align 4 %11 = call i32 @exit(i32 noundef %10) #5 unreachable 12: ; preds = %1 %13 = load ptr, ptr %3, align 8 ret ptr %13 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(0) } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc_rdg_ay.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"Couldn't allocate memory - exiting.\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @term_malloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #4 store ptr %5, ptr %3, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %12 7: ; preds = %1 %8 = load i32, ptr @stderr, align 4 %9 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str) %10 = load i32, ptr @EXIT_FAILURE, align 4 %11 = call i32 @exit(i32 noundef %10) #5 unreachable 12: ; preds = %1 %13 = load ptr, ptr %3, align 8 ret ptr %13 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(0) } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptqi2dbac.c' source_filename = "/tmp/tmptqi2dbac.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptqi2dbac.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2kf62rdo.c' source_filename = "/tmp/tmp2kf62rdo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @memset(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %11 = load ptr, ptr %4, align 8 store ptr %11, ptr %7, align 8 %12 = load i32, ptr %6, align 4 store i32 %12, ptr %8, align 4 %13 = load i32, ptr %5, align 4 store i32 %13, ptr %9, align 4 %14 = load i32, ptr %9, align 4 %15 = call i32 asm "movu.b $0,r13\09\09\09\09\09\09\0A\09 lslq 8,r13\09\09\09\09\09\09\09\0A\09 move.b $0,r13\09\09\09\09\09\09\0A\09 move.d r13,$0\09\09\09\09\09\09\0A\09 lslq 16,r13\09\09\09\09\09\09\09\0A\09 or.d r13,$0", "={r11},{r11},~{r13},~{dirflag},~{fpsr},~{flags}"(i32 %14) #1, !srcloc !6 store i32 %15, ptr %9, align 4 %16 = load ptr, ptr %4, align 8 store ptr %16, ptr %10, align 8 %17 = load ptr, ptr %4, align 8 %18 = ptrtoint ptr %17 to i64 %19 = and i64 %18, 3 %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %51 21: ; preds = %3 %22 = load i32, ptr %8, align 4 %23 = icmp sge i32 %22, 3 br i1 %23, label %24, label %51 24: ; preds = %21 %25 = load ptr, ptr %10, align 8 %26 = ptrtoint ptr %25 to i64 %27 = and i64 %26, 1 %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %37 29: ; preds = %24 %30 = load i32, ptr %9, align 4 %31 = trunc i32 %30 to i8 %32 = load ptr, ptr %10, align 8 store i8 %31, ptr %32, align 1 %33 = load i32, ptr %8, align 4 %34 = add nsw i32 %33, -1 store i32 %34, ptr %8, align 4 %35 = load ptr, ptr %10, align 8 %36 = getelementptr inbounds i8, ptr %35, i32 1 store ptr %36, ptr %10, align 8 br label %37 37: ; preds = %29, %24 %38 = load ptr, ptr %10, align 8 %39 = ptrtoint ptr %38 to i64 %40 = and i64 %39, 2 %41 = icmp ne i64 %40, 0 br i1 %41, label %42, label %50 42: ; preds = %37 %43 = load i32, ptr %9, align 4 %44 = trunc i32 %43 to i16 %45 = load ptr, ptr %10, align 8 store i16 %44, ptr %45, align 2 %46 = load i32, ptr %8, align 4 %47 = sub nsw i32 %46, 2 store i32 %47, ptr %8, align 4 %48 = load ptr, ptr %10, align 8 %49 = getelementptr inbounds i8, ptr %48, i64 2 store ptr %49, ptr %10, align 8 br label %50 50: ; preds = %42, %37 br label %51 51: ; preds = %50, %21, %3 %52 = load i32, ptr %8, align 4 %53 = icmp sge i32 %52, 48 br i1 %53, label %54, label %61 54: ; preds = %51 %55 = load ptr, ptr %10, align 8 %56 = load i32, ptr %8, align 4 %57 = load i32, ptr %9, align 4 %58 = call { ptr, i32 } asm sideeffect "\09 ;; GCC does promise correct register allocations, but let's\09\0A\09 ;; make sure it keeps its promises.\09\09\09\09\0A\09 .ifnc $0-$1-$4,$$r13-$$r12-$$r11\09\09\09\09\0A\09 .error \22GCC reg alloc bug: $0-$1-$4 != $$r13-$$r12-$$r11\22\09\0A\09 .endif\09\09\09\09\09\09\09\0A\09\09\09\09\09\09\09\09\09\0A\09 ;; Save the registers we'll clobber in the movem process\09\0A\09 ;; on the stack. Don't mention them to gcc, it will only be\09\0A\09 ;; upset.\09\09\09\09\09\09\09\0A\09 subq\09 11*4,sp\09\09\09\09\09\09\0A\09 movem r10,[sp]\09\09\09\09\09\09\0A\09\09\09\09\09\09\09\09\09\0A\09 move.d r11,r0\09\09\09\09\09\09\0A\09 move.d r11,r1\09\09\09\09\09\09\0A\09 move.d r11,r2\09\09\09\09\09\09\0A\09 move.d r11,r3\09\09\09\09\09\09\0A\09 move.d r11,r4\09\09\09\09\09\09\0A\09 move.d r11,r5\09\09\09\09\09\09\0A\09 move.d r11,r6\09\09\09\09\09\09\0A\09 move.d r11,r7\09\09\09\09\09\09\0A\09 move.d r11,r8\09\09\09\09\09\09\0A\09 move.d r11,r9\09\09\09\09\09\09\0A\09 move.d r11,r10\09\09\09\09\09\09\0A\09\09\09\09\09\09\09\09\09\0A\09 ;; Now we've got this:\09\09\09\09\09\0A\09 ;; r13 - dst\09\09\09\09\09\09\09\0A\09 ;; r12 - n\09\09\09\09\09\09\09\0A\09\09\09\09\09\09\09\09\09\0A\09 ;; Update n for the first loop\09\09\09\09\0A\09 subq\09 12*4,r12\09\09\09\09\09\09\0A0:\09\09\09\09\09\09\09\09\09\0A\09 subq\09 12*4,r12\09\09\09\09\09\09\0A\09 bge\09 0b\09\09\09\09\09\09\09\0A\09 movem\09r11,[r13+]\09\09\09\09\09\0A\09\09\09\09\09\09\09\09\09\0A\09 ;; Compensate for last loop underflowing n.\09\09\09\0A\09 addq\09 12*4,r12\09\09\09\09\09\09\0A\09\09\09\09\09\09\09\09\09\0A\09 ;; Restore registers from stack.\09\09\09\09\0A\09 movem [sp+],r10", "={r13},={r12},{r13},{r12},{r11},~{dirflag},~{fpsr},~{flags}"(ptr %55, i32 %56, i32 %57) #2, !srcloc !7 %59 = extractvalue { ptr, i32 } %58, 0 %60 = extractvalue { ptr, i32 } %58, 1 store ptr %59, ptr %10, align 8 store i32 %60, ptr %8, align 4 br label %61 61: ; preds = %54, %51 br label %62 62: ; preds = %65, %61 %63 = load i32, ptr %8, align 4 %64 = icmp sge i32 %63, 16 br i1 %64, label %65, label %88 65: ; preds = %62 %66 = load i32, ptr %9, align 4 %67 = sext i32 %66 to i64 %68 = load ptr, ptr %10, align 8 store i64 %67, ptr %68, align 8 %69 = load ptr, ptr %10, align 8 %70 = getelementptr inbounds i8, ptr %69, i64 4 store ptr %70, ptr %10, align 8 %71 = load i32, ptr %9, align 4 %72 = sext i32 %71 to i64 %73 = load ptr, ptr %10, align 8 store i64 %72, ptr %73, align 8 %74 = load ptr, ptr %10, align 8 %75 = getelementptr inbounds i8, ptr %74, i64 4 store ptr %75, ptr %10, align 8 %76 = load i32, ptr %9, align 4 %77 = sext i32 %76 to i64 %78 = load ptr, ptr %10, align 8 store i64 %77, ptr %78, align 8 %79 = load ptr, ptr %10, align 8 %80 = getelementptr inbounds i8, ptr %79, i64 4 store ptr %80, ptr %10, align 8 %81 = load i32, ptr %9, align 4 %82 = sext i32 %81 to i64 %83 = load ptr, ptr %10, align 8 store i64 %82, ptr %83, align 8 %84 = load ptr, ptr %10, align 8 %85 = getelementptr inbounds i8, ptr %84, i64 4 store ptr %85, ptr %10, align 8 %86 = load i32, ptr %8, align 4 %87 = sub nsw i32 %86, 16 store i32 %87, ptr %8, align 4 br label %62, !llvm.loop !8 88: ; preds = %62 %89 = load i32, ptr %8, align 4 switch i32 %89, label %276 [ i32 0, label %90 i32 1, label %91 i32 2, label %95 i32 3, label %99 i32 4, label %108 i32 5, label %112 i32 6, label %121 i32 7, label %130 i32 8, label %144 i32 9, label %153 i32 10, label %167 i32 11, label %181 i32 12, label %200 i32 13, label %214 i32 14, label %233 i32 15, label %252 ] 90: ; preds = %88 br label %276 91: ; preds = %88 %92 = load i32, ptr %9, align 4 %93 = trunc i32 %92 to i8 %94 = load ptr, ptr %10, align 8 store i8 %93, ptr %94, align 1 br label %276 95: ; preds = %88 %96 = load i32, ptr %9, align 4 %97 = trunc i32 %96 to i16 %98 = load ptr, ptr %10, align 8 store i16 %97, ptr %98, align 2 br label %276 99: ; preds = %88 %100 = load i32, ptr %9, align 4 %101 = trunc i32 %100 to i16 %102 = load ptr, ptr %10, align 8 store i16 %101, ptr %102, align 2 %103 = load ptr, ptr %10, align 8 %104 = getelementptr inbounds i8, ptr %103, i64 2 store ptr %104, ptr %10, align 8 %105 = load i32, ptr %9, align 4 %106 = trunc i32 %105 to i8 %107 = load ptr, ptr %10, align 8 store i8 %106, ptr %107, align 1 br label %276 108: ; preds = %88 %109 = load i32, ptr %9, align 4 %110 = sext i32 %109 to i64 %111 = load ptr, ptr %10, align 8 store i64 %110, ptr %111, align 8 br label %276 112: ; preds = %88 %113 = load i32, ptr %9, align 4 %114 = sext i32 %113 to i64 %115 = load ptr, ptr %10, align 8 store i64 %114, ptr %115, align 8 %116 = load ptr, ptr %10, align 8 %117 = getelementptr inbounds i8, ptr %116, i64 4 store ptr %117, ptr %10, align 8 %118 = load i32, ptr %9, align 4 %119 = trunc i32 %118 to i8 %120 = load ptr, ptr %10, align 8 store i8 %119, ptr %120, align 1 br label %276 121: ; preds = %88 %122 = load i32, ptr %9, align 4 %123 = sext i32 %122 to i64 %124 = load ptr, ptr %10, align 8 store i64 %123, ptr %124, align 8 %125 = load ptr, ptr %10, align 8 %126 = getelementptr inbounds i8, ptr %125, i64 4 store ptr %126, ptr %10, align 8 %127 = load i32, ptr %9, align 4 %128 = trunc i32 %127 to i16 %129 = load ptr, ptr %10, align 8 store i16 %128, ptr %129, align 2 br label %276 130: ; preds = %88 %131 = load i32, ptr %9, align 4 %132 = sext i32 %131 to i64 %133 = load ptr, ptr %10, align 8 store i64 %132, ptr %133, align 8 %134 = load ptr, ptr %10, align 8 %135 = getelementptr inbounds i8, ptr %134, i64 4 store ptr %135, ptr %10, align 8 %136 = load i32, ptr %9, align 4 %137 = trunc i32 %136 to i16 %138 = load ptr, ptr %10, align 8 store i16 %137, ptr %138, align 2 %139 = load ptr, ptr %10, align 8 %140 = getelementptr inbounds i8, ptr %139, i64 2 store ptr %140, ptr %10, align 8 %141 = load i32, ptr %9, align 4 %142 = trunc i32 %141 to i8 %143 = load ptr, ptr %10, align 8 store i8 %142, ptr %143, align 1 br label %276 144: ; preds = %88 %145 = load i32, ptr %9, align 4 %146 = sext i32 %145 to i64 %147 = load ptr, ptr %10, align 8 store i64 %146, ptr %147, align 8 %148 = load ptr, ptr %10, align 8 %149 = getelementptr inbounds i8, ptr %148, i64 4 store ptr %149, ptr %10, align 8 %150 = load i32, ptr %9, align 4 %151 = sext i32 %150 to i64 %152 = load ptr, ptr %10, align 8 store i64 %151, ptr %152, align 8 br label %276 153: ; preds = %88 %154 = load i32, ptr %9, align 4 %155 = sext i32 %154 to i64 %156 = load ptr, ptr %10, align 8 store i64 %155, ptr %156, align 8 %157 = load ptr, ptr %10, align 8 %158 = getelementptr inbounds i8, ptr %157, i64 4 store ptr %158, ptr %10, align 8 %159 = load i32, ptr %9, align 4 %160 = sext i32 %159 to i64 %161 = load ptr, ptr %10, align 8 store i64 %160, ptr %161, align 8 %162 = load ptr, ptr %10, align 8 %163 = getelementptr inbounds i8, ptr %162, i64 4 store ptr %163, ptr %10, align 8 %164 = load i32, ptr %9, align 4 %165 = trunc i32 %164 to i8 %166 = load ptr, ptr %10, align 8 store i8 %165, ptr %166, align 1 br label %276 167: ; preds = %88 %168 = load i32, ptr %9, align 4 %169 = sext i32 %168 to i64 %170 = load ptr, ptr %10, align 8 store i64 %169, ptr %170, align 8 %171 = load ptr, ptr %10, align 8 %172 = getelementptr inbounds i8, ptr %171, i64 4 store ptr %172, ptr %10, align 8 %173 = load i32, ptr %9, align 4 %174 = sext i32 %173 to i64 %175 = load ptr, ptr %10, align 8 store i64 %174, ptr %175, align 8 %176 = load ptr, ptr %10, align 8 %177 = getelementptr inbounds i8, ptr %176, i64 4 store ptr %177, ptr %10, align 8 %178 = load i32, ptr %9, align 4 %179 = trunc i32 %178 to i16 %180 = load ptr, ptr %10, align 8 store i16 %179, ptr %180, align 2 br label %276 181: ; preds = %88 %182 = load i32, ptr %9, align 4 %183 = sext i32 %182 to i64 %184 = load ptr, ptr %10, align 8 store i64 %183, ptr %184, align 8 %185 = load ptr, ptr %10, align 8 %186 = getelementptr inbounds i8, ptr %185, i64 4 store ptr %186, ptr %10, align 8 %187 = load i32, ptr %9, align 4 %188 = sext i32 %187 to i64 %189 = load ptr, ptr %10, align 8 store i64 %188, ptr %189, align 8 %190 = load ptr, ptr %10, align 8 %191 = getelementptr inbounds i8, ptr %190, i64 4 store ptr %191, ptr %10, align 8 %192 = load i32, ptr %9, align 4 %193 = trunc i32 %192 to i16 %194 = load ptr, ptr %10, align 8 store i16 %193, ptr %194, align 2 %195 = load ptr, ptr %10, align 8 %196 = getelementptr inbounds i8, ptr %195, i64 2 store ptr %196, ptr %10, align 8 %197 = load i32, ptr %9, align 4 %198 = trunc i32 %197 to i8 %199 = load ptr, ptr %10, align 8 store i8 %198, ptr %199, align 1 br label %276 200: ; preds = %88 %201 = load i32, ptr %9, align 4 %202 = sext i32 %201 to i64 %203 = load ptr, ptr %10, align 8 store i64 %202, ptr %203, align 8 %204 = load ptr, ptr %10, align 8 %205 = getelementptr inbounds i8, ptr %204, i64 4 store ptr %205, ptr %10, align 8 %206 = load i32, ptr %9, align 4 %207 = sext i32 %206 to i64 %208 = load ptr, ptr %10, align 8 store i64 %207, ptr %208, align 8 %209 = load ptr, ptr %10, align 8 %210 = getelementptr inbounds i8, ptr %209, i64 4 store ptr %210, ptr %10, align 8 %211 = load i32, ptr %9, align 4 %212 = sext i32 %211 to i64 %213 = load ptr, ptr %10, align 8 store i64 %212, ptr %213, align 8 br label %276 214: ; preds = %88 %215 = load i32, ptr %9, align 4 %216 = sext i32 %215 to i64 %217 = load ptr, ptr %10, align 8 store i64 %216, ptr %217, align 8 %218 = load ptr, ptr %10, align 8 %219 = getelementptr inbounds i8, ptr %218, i64 4 store ptr %219, ptr %10, align 8 %220 = load i32, ptr %9, align 4 %221 = sext i32 %220 to i64 %222 = load ptr, ptr %10, align 8 store i64 %221, ptr %222, align 8 %223 = load ptr, ptr %10, align 8 %224 = getelementptr inbounds i8, ptr %223, i64 4 store ptr %224, ptr %10, align 8 %225 = load i32, ptr %9, align 4 %226 = sext i32 %225 to i64 %227 = load ptr, ptr %10, align 8 store i64 %226, ptr %227, align 8 %228 = load ptr, ptr %10, align 8 %229 = getelementptr inbounds i8, ptr %228, i64 4 store ptr %229, ptr %10, align 8 %230 = load i32, ptr %9, align 4 %231 = trunc i32 %230 to i8 %232 = load ptr, ptr %10, align 8 store i8 %231, ptr %232, align 1 br label %276 233: ; preds = %88 %234 = load i32, ptr %9, align 4 %235 = sext i32 %234 to i64 %236 = load ptr, ptr %10, align 8 store i64 %235, ptr %236, align 8 %237 = load ptr, ptr %10, align 8 %238 = getelementptr inbounds i8, ptr %237, i64 4 store ptr %238, ptr %10, align 8 %239 = load i32, ptr %9, align 4 %240 = sext i32 %239 to i64 %241 = load ptr, ptr %10, align 8 store i64 %240, ptr %241, align 8 %242 = load ptr, ptr %10, align 8 %243 = getelementptr inbounds i8, ptr %242, i64 4 store ptr %243, ptr %10, align 8 %244 = load i32, ptr %9, align 4 %245 = sext i32 %244 to i64 %246 = load ptr, ptr %10, align 8 store i64 %245, ptr %246, align 8 %247 = load ptr, ptr %10, align 8 %248 = getelementptr inbounds i8, ptr %247, i64 4 store ptr %248, ptr %10, align 8 %249 = load i32, ptr %9, align 4 %250 = trunc i32 %249 to i16 %251 = load ptr, ptr %10, align 8 store i16 %250, ptr %251, align 2 br label %276 252: ; preds = %88 %253 = load i32, ptr %9, align 4 %254 = sext i32 %253 to i64 %255 = load ptr, ptr %10, align 8 store i64 %254, ptr %255, align 8 %256 = load ptr, ptr %10, align 8 %257 = getelementptr inbounds i8, ptr %256, i64 4 store ptr %257, ptr %10, align 8 %258 = load i32, ptr %9, align 4 %259 = sext i32 %258 to i64 %260 = load ptr, ptr %10, align 8 store i64 %259, ptr %260, align 8 %261 = load ptr, ptr %10, align 8 %262 = getelementptr inbounds i8, ptr %261, i64 4 store ptr %262, ptr %10, align 8 %263 = load i32, ptr %9, align 4 %264 = sext i32 %263 to i64 %265 = load ptr, ptr %10, align 8 store i64 %264, ptr %265, align 8 %266 = load ptr, ptr %10, align 8 %267 = getelementptr inbounds i8, ptr %266, i64 4 store ptr %267, ptr %10, align 8 %268 = load i32, ptr %9, align 4 %269 = trunc i32 %268 to i16 %270 = load ptr, ptr %10, align 8 store i16 %269, ptr %270, align 2 %271 = load ptr, ptr %10, align 8 %272 = getelementptr inbounds i8, ptr %271, i64 2 store ptr %272, ptr %10, align 8 %273 = load i32, ptr %9, align 4 %274 = trunc i32 %273 to i8 %275 = load ptr, ptr %10, align 8 store i8 %274, ptr %275, align 1 br label %276 276: ; preds = %88, %252, %233, %214, %200, %181, %167, %153, %144, %130, %121, %112, %108, %99, %95, %91, %90 %277 = load ptr, ptr %7, align 8 ret ptr %277 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind memory(none) } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = !{i64 207, i64 229, i64 252, i64 277, i64 302, i64 326} !7 = !{i64 758, i64 825, i64 870, i64 909, i64 972, i64 991, i64 1002, i64 1065, i64 1132, i64 1154, i64 1181, i64 1209, i64 1220, i64 1246, i64 1272, i64 1298, i64 1324, i64 1350, i64 1376, i64 1402, i64 1428, i64 1454, i64 1480, i64 1507, i64 1518, i64 1551, i64 1576, i64 1599, i64 1610, i64 1650, i64 1678, i64 1927, i64 1954, i64 1976, i64 2003, i64 2014, i64 2066, i64 2093, i64 2104, i64 2146} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2kf62rdo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @memset(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %11 = load ptr, ptr %4, align 8 store ptr %11, ptr %7, align 8 %12 = load i32, ptr %6, align 4 store i32 %12, ptr %8, align 4 %13 = load i32, ptr %5, align 4 store i32 %13, ptr %9, align 4 %14 = load i32, ptr %9, align 4 %15 = call i32 asm "movu.b $0,r13\09\09\09\09\09\09\0A\09 lslq 8,r13\09\09\09\09\09\09\09\0A\09 move.b $0,r13\09\09\09\09\09\09\0A\09 move.d r13,$0\09\09\09\09\09\09\0A\09 lslq 16,r13\09\09\09\09\09\09\09\0A\09 or.d r13,$0", "={r11},{r11},~{r13},~{dirflag},~{fpsr},~{flags}"(i32 %14) #1, !srcloc !6 store i32 %15, ptr %9, align 4 %16 = load ptr, ptr %4, align 8 store ptr %16, ptr %10, align 8 %17 = load ptr, ptr %4, align 8 %18 = ptrtoint ptr %17 to i64 %19 = and i64 %18, 3 %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %51 21: ; preds = %3 %22 = load i32, ptr %8, align 4 %23 = icmp sge i32 %22, 3 br i1 %23, label %24, label %51 24: ; preds = %21 %25 = load ptr, ptr %10, align 8 %26 = ptrtoint ptr %25 to i64 %27 = and i64 %26, 1 %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %37 29: ; preds = %24 %30 = load i32, ptr %9, align 4 %31 = trunc i32 %30 to i8 %32 = load ptr, ptr %10, align 8 store i8 %31, ptr %32, align 1 %33 = load i32, ptr %8, align 4 %34 = add nsw i32 %33, -1 store i32 %34, ptr %8, align 4 %35 = load ptr, ptr %10, align 8 %36 = getelementptr inbounds i8, ptr %35, i32 1 store ptr %36, ptr %10, align 8 br label %37 37: ; preds = %29, %24 %38 = load ptr, ptr %10, align 8 %39 = ptrtoint ptr %38 to i64 %40 = and i64 %39, 2 %41 = icmp ne i64 %40, 0 br i1 %41, label %42, label %50 42: ; preds = %37 %43 = load i32, ptr %9, align 4 %44 = trunc i32 %43 to i16 %45 = load ptr, ptr %10, align 8 store i16 %44, ptr %45, align 2 %46 = load i32, ptr %8, align 4 %47 = sub nsw i32 %46, 2 store i32 %47, ptr %8, align 4 %48 = load ptr, ptr %10, align 8 %49 = getelementptr inbounds i8, ptr %48, i64 2 store ptr %49, ptr %10, align 8 br label %50 50: ; preds = %42, %37 br label %51 51: ; preds = %50, %21, %3 %52 = load i32, ptr %8, align 4 %53 = icmp sge i32 %52, 48 br i1 %53, label %54, label %61 54: ; preds = %51 %55 = load ptr, ptr %10, align 8 %56 = load i32, ptr %8, align 4 %57 = load i32, ptr %9, align 4 %58 = call { ptr, i32 } asm sideeffect "\09 ;; GCC does promise correct register allocations, but let's\09\0A\09 ;; make sure it keeps its promises.\09\09\09\09\0A\09 .ifnc $0-$1-$4,$$r13-$$r12-$$r11\09\09\09\09\0A\09 .error \22GCC reg alloc bug: $0-$1-$4 != $$r13-$$r12-$$r11\22\09\0A\09 .endif\09\09\09\09\09\09\09\0A\09\09\09\09\09\09\09\09\09\0A\09 ;; Save the registers we'll clobber in the movem process\09\0A\09 ;; on the stack. Don't mention them to gcc, it will only be\09\0A\09 ;; upset.\09\09\09\09\09\09\09\0A\09 subq\09 11*4,sp\09\09\09\09\09\09\0A\09 movem r10,[sp]\09\09\09\09\09\09\0A\09\09\09\09\09\09\09\09\09\0A\09 move.d r11,r0\09\09\09\09\09\09\0A\09 move.d r11,r1\09\09\09\09\09\09\0A\09 move.d r11,r2\09\09\09\09\09\09\0A\09 move.d r11,r3\09\09\09\09\09\09\0A\09 move.d r11,r4\09\09\09\09\09\09\0A\09 move.d r11,r5\09\09\09\09\09\09\0A\09 move.d r11,r6\09\09\09\09\09\09\0A\09 move.d r11,r7\09\09\09\09\09\09\0A\09 move.d r11,r8\09\09\09\09\09\09\0A\09 move.d r11,r9\09\09\09\09\09\09\0A\09 move.d r11,r10\09\09\09\09\09\09\0A\09\09\09\09\09\09\09\09\09\0A\09 ;; Now we've got this:\09\09\09\09\09\0A\09 ;; r13 - dst\09\09\09\09\09\09\09\0A\09 ;; r12 - n\09\09\09\09\09\09\09\0A\09\09\09\09\09\09\09\09\09\0A\09 ;; Update n for the first loop\09\09\09\09\0A\09 subq\09 12*4,r12\09\09\09\09\09\09\0A0:\09\09\09\09\09\09\09\09\09\0A\09 subq\09 12*4,r12\09\09\09\09\09\09\0A\09 bge\09 0b\09\09\09\09\09\09\09\0A\09 movem\09r11,[r13+]\09\09\09\09\09\0A\09\09\09\09\09\09\09\09\09\0A\09 ;; Compensate for last loop underflowing n.\09\09\09\0A\09 addq\09 12*4,r12\09\09\09\09\09\09\0A\09\09\09\09\09\09\09\09\09\0A\09 ;; Restore registers from stack.\09\09\09\09\0A\09 movem [sp+],r10", "={r13},={r12},{r13},{r12},{r11},~{dirflag},~{fpsr},~{flags}"(ptr %55, i32 %56, i32 %57) #2, !srcloc !7 %59 = extractvalue { ptr, i32 } %58, 0 %60 = extractvalue { ptr, i32 } %58, 1 store ptr %59, ptr %10, align 8 store i32 %60, ptr %8, align 4 br label %61 61: ; preds = %54, %51 %62 = load i32, ptr %8, align 4 %63 = icmp sge i32 %62, 16 br i1 %63, label %.lr.ph, label %89 .lr.ph: ; preds = %61 br label %64 64: ; preds = %.lr.ph, %64 %65 = load i32, ptr %9, align 4 %66 = sext i32 %65 to i64 %67 = load ptr, ptr %10, align 8 store i64 %66, ptr %67, align 8 %68 = load ptr, ptr %10, align 8 %69 = getelementptr inbounds i8, ptr %68, i64 4 store ptr %69, ptr %10, align 8 %70 = load i32, ptr %9, align 4 %71 = sext i32 %70 to i64 %72 = load ptr, ptr %10, align 8 store i64 %71, ptr %72, align 8 %73 = load ptr, ptr %10, align 8 %74 = getelementptr inbounds i8, ptr %73, i64 4 store ptr %74, ptr %10, align 8 %75 = load i32, ptr %9, align 4 %76 = sext i32 %75 to i64 %77 = load ptr, ptr %10, align 8 store i64 %76, ptr %77, align 8 %78 = load ptr, ptr %10, align 8 %79 = getelementptr inbounds i8, ptr %78, i64 4 store ptr %79, ptr %10, align 8 %80 = load i32, ptr %9, align 4 %81 = sext i32 %80 to i64 %82 = load ptr, ptr %10, align 8 store i64 %81, ptr %82, align 8 %83 = load ptr, ptr %10, align 8 %84 = getelementptr inbounds i8, ptr %83, i64 4 store ptr %84, ptr %10, align 8 %85 = load i32, ptr %8, align 4 %86 = sub nsw i32 %85, 16 store i32 %86, ptr %8, align 4 %87 = load i32, ptr %8, align 4 %88 = icmp sge i32 %87, 16 br i1 %88, label %64, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %64 br label %89 89: ; preds = %._crit_edge, %61 %90 = load i32, ptr %8, align 4 switch i32 %90, label %277 [ i32 0, label %91 i32 1, label %92 i32 2, label %96 i32 3, label %100 i32 4, label %109 i32 5, label %113 i32 6, label %122 i32 7, label %131 i32 8, label %145 i32 9, label %154 i32 10, label %168 i32 11, label %182 i32 12, label %201 i32 13, label %215 i32 14, label %234 i32 15, label %253 ] 91: ; preds = %89 br label %277 92: ; preds = %89 %93 = load i32, ptr %9, align 4 %94 = trunc i32 %93 to i8 %95 = load ptr, ptr %10, align 8 store i8 %94, ptr %95, align 1 br label %277 96: ; preds = %89 %97 = load i32, ptr %9, align 4 %98 = trunc i32 %97 to i16 %99 = load ptr, ptr %10, align 8 store i16 %98, ptr %99, align 2 br label %277 100: ; preds = %89 %101 = load i32, ptr %9, align 4 %102 = trunc i32 %101 to i16 %103 = load ptr, ptr %10, align 8 store i16 %102, ptr %103, align 2 %104 = load ptr, ptr %10, align 8 %105 = getelementptr inbounds i8, ptr %104, i64 2 store ptr %105, ptr %10, align 8 %106 = load i32, ptr %9, align 4 %107 = trunc i32 %106 to i8 %108 = load ptr, ptr %10, align 8 store i8 %107, ptr %108, align 1 br label %277 109: ; preds = %89 %110 = load i32, ptr %9, align 4 %111 = sext i32 %110 to i64 %112 = load ptr, ptr %10, align 8 store i64 %111, ptr %112, align 8 br label %277 113: ; preds = %89 %114 = load i32, ptr %9, align 4 %115 = sext i32 %114 to i64 %116 = load ptr, ptr %10, align 8 store i64 %115, ptr %116, align 8 %117 = load ptr, ptr %10, align 8 %118 = getelementptr inbounds i8, ptr %117, i64 4 store ptr %118, ptr %10, align 8 %119 = load i32, ptr %9, align 4 %120 = trunc i32 %119 to i8 %121 = load ptr, ptr %10, align 8 store i8 %120, ptr %121, align 1 br label %277 122: ; preds = %89 %123 = load i32, ptr %9, align 4 %124 = sext i32 %123 to i64 %125 = load ptr, ptr %10, align 8 store i64 %124, ptr %125, align 8 %126 = load ptr, ptr %10, align 8 %127 = getelementptr inbounds i8, ptr %126, i64 4 store ptr %127, ptr %10, align 8 %128 = load i32, ptr %9, align 4 %129 = trunc i32 %128 to i16 %130 = load ptr, ptr %10, align 8 store i16 %129, ptr %130, align 2 br label %277 131: ; preds = %89 %132 = load i32, ptr %9, align 4 %133 = sext i32 %132 to i64 %134 = load ptr, ptr %10, align 8 store i64 %133, ptr %134, align 8 %135 = load ptr, ptr %10, align 8 %136 = getelementptr inbounds i8, ptr %135, i64 4 store ptr %136, ptr %10, align 8 %137 = load i32, ptr %9, align 4 %138 = trunc i32 %137 to i16 %139 = load ptr, ptr %10, align 8 store i16 %138, ptr %139, align 2 %140 = load ptr, ptr %10, align 8 %141 = getelementptr inbounds i8, ptr %140, i64 2 store ptr %141, ptr %10, align 8 %142 = load i32, ptr %9, align 4 %143 = trunc i32 %142 to i8 %144 = load ptr, ptr %10, align 8 store i8 %143, ptr %144, align 1 br label %277 145: ; preds = %89 %146 = load i32, ptr %9, align 4 %147 = sext i32 %146 to i64 %148 = load ptr, ptr %10, align 8 store i64 %147, ptr %148, align 8 %149 = load ptr, ptr %10, align 8 %150 = getelementptr inbounds i8, ptr %149, i64 4 store ptr %150, ptr %10, align 8 %151 = load i32, ptr %9, align 4 %152 = sext i32 %151 to i64 %153 = load ptr, ptr %10, align 8 store i64 %152, ptr %153, align 8 br label %277 154: ; preds = %89 %155 = load i32, ptr %9, align 4 %156 = sext i32 %155 to i64 %157 = load ptr, ptr %10, align 8 store i64 %156, ptr %157, align 8 %158 = load ptr, ptr %10, align 8 %159 = getelementptr inbounds i8, ptr %158, i64 4 store ptr %159, ptr %10, align 8 %160 = load i32, ptr %9, align 4 %161 = sext i32 %160 to i64 %162 = load ptr, ptr %10, align 8 store i64 %161, ptr %162, align 8 %163 = load ptr, ptr %10, align 8 %164 = getelementptr inbounds i8, ptr %163, i64 4 store ptr %164, ptr %10, align 8 %165 = load i32, ptr %9, align 4 %166 = trunc i32 %165 to i8 %167 = load ptr, ptr %10, align 8 store i8 %166, ptr %167, align 1 br label %277 168: ; preds = %89 %169 = load i32, ptr %9, align 4 %170 = sext i32 %169 to i64 %171 = load ptr, ptr %10, align 8 store i64 %170, ptr %171, align 8 %172 = load ptr, ptr %10, align 8 %173 = getelementptr inbounds i8, ptr %172, i64 4 store ptr %173, ptr %10, align 8 %174 = load i32, ptr %9, align 4 %175 = sext i32 %174 to i64 %176 = load ptr, ptr %10, align 8 store i64 %175, ptr %176, align 8 %177 = load ptr, ptr %10, align 8 %178 = getelementptr inbounds i8, ptr %177, i64 4 store ptr %178, ptr %10, align 8 %179 = load i32, ptr %9, align 4 %180 = trunc i32 %179 to i16 %181 = load ptr, ptr %10, align 8 store i16 %180, ptr %181, align 2 br label %277 182: ; preds = %89 %183 = load i32, ptr %9, align 4 %184 = sext i32 %183 to i64 %185 = load ptr, ptr %10, align 8 store i64 %184, ptr %185, align 8 %186 = load ptr, ptr %10, align 8 %187 = getelementptr inbounds i8, ptr %186, i64 4 store ptr %187, ptr %10, align 8 %188 = load i32, ptr %9, align 4 %189 = sext i32 %188 to i64 %190 = load ptr, ptr %10, align 8 store i64 %189, ptr %190, align 8 %191 = load ptr, ptr %10, align 8 %192 = getelementptr inbounds i8, ptr %191, i64 4 store ptr %192, ptr %10, align 8 %193 = load i32, ptr %9, align 4 %194 = trunc i32 %193 to i16 %195 = load ptr, ptr %10, align 8 store i16 %194, ptr %195, align 2 %196 = load ptr, ptr %10, align 8 %197 = getelementptr inbounds i8, ptr %196, i64 2 store ptr %197, ptr %10, align 8 %198 = load i32, ptr %9, align 4 %199 = trunc i32 %198 to i8 %200 = load ptr, ptr %10, align 8 store i8 %199, ptr %200, align 1 br label %277 201: ; preds = %89 %202 = load i32, ptr %9, align 4 %203 = sext i32 %202 to i64 %204 = load ptr, ptr %10, align 8 store i64 %203, ptr %204, align 8 %205 = load ptr, ptr %10, align 8 %206 = getelementptr inbounds i8, ptr %205, i64 4 store ptr %206, ptr %10, align 8 %207 = load i32, ptr %9, align 4 %208 = sext i32 %207 to i64 %209 = load ptr, ptr %10, align 8 store i64 %208, ptr %209, align 8 %210 = load ptr, ptr %10, align 8 %211 = getelementptr inbounds i8, ptr %210, i64 4 store ptr %211, ptr %10, align 8 %212 = load i32, ptr %9, align 4 %213 = sext i32 %212 to i64 %214 = load ptr, ptr %10, align 8 store i64 %213, ptr %214, align 8 br label %277 215: ; preds = %89 %216 = load i32, ptr %9, align 4 %217 = sext i32 %216 to i64 %218 = load ptr, ptr %10, align 8 store i64 %217, ptr %218, align 8 %219 = load ptr, ptr %10, align 8 %220 = getelementptr inbounds i8, ptr %219, i64 4 store ptr %220, ptr %10, align 8 %221 = load i32, ptr %9, align 4 %222 = sext i32 %221 to i64 %223 = load ptr, ptr %10, align 8 store i64 %222, ptr %223, align 8 %224 = load ptr, ptr %10, align 8 %225 = getelementptr inbounds i8, ptr %224, i64 4 store ptr %225, ptr %10, align 8 %226 = load i32, ptr %9, align 4 %227 = sext i32 %226 to i64 %228 = load ptr, ptr %10, align 8 store i64 %227, ptr %228, align 8 %229 = load ptr, ptr %10, align 8 %230 = getelementptr inbounds i8, ptr %229, i64 4 store ptr %230, ptr %10, align 8 %231 = load i32, ptr %9, align 4 %232 = trunc i32 %231 to i8 %233 = load ptr, ptr %10, align 8 store i8 %232, ptr %233, align 1 br label %277 234: ; preds = %89 %235 = load i32, ptr %9, align 4 %236 = sext i32 %235 to i64 %237 = load ptr, ptr %10, align 8 store i64 %236, ptr %237, align 8 %238 = load ptr, ptr %10, align 8 %239 = getelementptr inbounds i8, ptr %238, i64 4 store ptr %239, ptr %10, align 8 %240 = load i32, ptr %9, align 4 %241 = sext i32 %240 to i64 %242 = load ptr, ptr %10, align 8 store i64 %241, ptr %242, align 8 %243 = load ptr, ptr %10, align 8 %244 = getelementptr inbounds i8, ptr %243, i64 4 store ptr %244, ptr %10, align 8 %245 = load i32, ptr %9, align 4 %246 = sext i32 %245 to i64 %247 = load ptr, ptr %10, align 8 store i64 %246, ptr %247, align 8 %248 = load ptr, ptr %10, align 8 %249 = getelementptr inbounds i8, ptr %248, i64 4 store ptr %249, ptr %10, align 8 %250 = load i32, ptr %9, align 4 %251 = trunc i32 %250 to i16 %252 = load ptr, ptr %10, align 8 store i16 %251, ptr %252, align 2 br label %277 253: ; preds = %89 %254 = load i32, ptr %9, align 4 %255 = sext i32 %254 to i64 %256 = load ptr, ptr %10, align 8 store i64 %255, ptr %256, align 8 %257 = load ptr, ptr %10, align 8 %258 = getelementptr inbounds i8, ptr %257, i64 4 store ptr %258, ptr %10, align 8 %259 = load i32, ptr %9, align 4 %260 = sext i32 %259 to i64 %261 = load ptr, ptr %10, align 8 store i64 %260, ptr %261, align 8 %262 = load ptr, ptr %10, align 8 %263 = getelementptr inbounds i8, ptr %262, i64 4 store ptr %263, ptr %10, align 8 %264 = load i32, ptr %9, align 4 %265 = sext i32 %264 to i64 %266 = load ptr, ptr %10, align 8 store i64 %265, ptr %266, align 8 %267 = load ptr, ptr %10, align 8 %268 = getelementptr inbounds i8, ptr %267, i64 4 store ptr %268, ptr %10, align 8 %269 = load i32, ptr %9, align 4 %270 = trunc i32 %269 to i16 %271 = load ptr, ptr %10, align 8 store i16 %270, ptr %271, align 2 %272 = load ptr, ptr %10, align 8 %273 = getelementptr inbounds i8, ptr %272, i64 2 store ptr %273, ptr %10, align 8 %274 = load i32, ptr %9, align 4 %275 = trunc i32 %274 to i8 %276 = load ptr, ptr %10, align 8 store i8 %275, ptr %276, align 1 br label %277 277: ; preds = %253, %234, %215, %201, %182, %168, %154, %145, %131, %122, %113, %109, %100, %96, %92, %91, %89 %278 = load ptr, ptr %7, align 8 ret ptr %278 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind memory(none) } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = !{i64 207, i64 229, i64 252, i64 277, i64 302, i64 326} !7 = !{i64 758, i64 825, i64 870, i64 909, i64 972, i64 991, i64 1002, i64 1065, i64 1132, i64 1154, i64 1181, i64 1209, i64 1220, i64 1246, i64 1272, i64 1298, i64 1324, i64 1350, i64 1376, i64 1402, i64 1428, i64 1454, i64 1480, i64 1507, i64 1518, i64 1551, i64 1576, i64 1599, i64 1610, i64 1650, i64 1678, i64 1927, i64 1954, i64 1976, i64 2003, i64 2014, i64 2066, i64 2093, i64 2104, i64 2146} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpdnkj7ji8.c' source_filename = "/tmp/tmpdnkj7ji8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @foo(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = call i32 @proxy(i32 noundef 1) store i32 %7, ptr %2, align 4 br label %15 8: ; preds = %1 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %8 %12 = call i32 @proxy(i32 noundef -1) store i32 %12, ptr %2, align 4 br label %15 13: ; preds = %8 %14 = call i32 @proxy(i32 noundef 0) store i32 %14, ptr %2, align 4 br label %15 15: ; preds = %13, %11, %6 %16 = load i32, ptr %2, align 4 ret i32 %16 } declare i32 @proxy(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdnkj7ji8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @foo(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = call i32 @proxy(i32 noundef 1) store i32 %7, ptr %2, align 4 br label %15 8: ; preds = %1 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %8 %12 = call i32 @proxy(i32 noundef -1) store i32 %12, ptr %2, align 4 br label %15 13: ; preds = %8 %14 = call i32 @proxy(i32 noundef 0) store i32 %14, ptr %2, align 4 br label %15 15: ; preds = %13, %11, %6 %16 = load i32, ptr %2, align 4 ret i32 %16 } declare i32 @proxy(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_qc689tn.c' source_filename = "/tmp/tmp_qc689tn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_qc689tn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpg7x79xjk.c' source_filename = "/tmp/tmpg7x79xjk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @update_surface(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @api1(i32 noundef 1002, i32 noundef %3) ret void } declare i32 @api1(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg7x79xjk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @update_surface(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @api1(i32 noundef 1002, i32 noundef %3) ret void } declare i32 @api1(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp27364xh2.c' source_filename = "/tmp/tmp27364xh2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp27364xh2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpby9luojm.c' source_filename = "/tmp/tmpby9luojm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @repl() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @init_repl() %3 = call i32 (...) @init_int() %4 = call i32 (...) @repl_loop() %5 = load i32, ptr %1, align 4 ret i32 %5 } declare i32 @init_repl(...) #1 declare i32 @init_int(...) #1 declare i32 @repl_loop(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpby9luojm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @repl() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @init_repl() %3 = call i32 (...) @init_int() %4 = call i32 (...) @repl_loop() %5 = load i32, ptr %1, align 4 ret i32 %5 } declare i32 @init_repl(...) #1 declare i32 @init_int(...) #1 declare i32 @repl_loop(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgmbiqvpn.c' source_filename = "/tmp/tmpgmbiqvpn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"target started. will run '%s'\0A\00", align 1 @PTRACE_TRACEME = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"ptrace\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @run_target(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @procmsg(ptr noundef @.str, ptr noundef %3) %5 = load i32, ptr @PTRACE_TRACEME, align 4 %6 = call i64 @ptrace(i32 noundef %5, i32 noundef 0, i32 noundef 0, i32 noundef 0) %7 = icmp slt i64 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 @perror(ptr noundef @.str.1) br label %14 10: ; preds = %1 %11 = load ptr, ptr %2, align 8 %12 = load ptr, ptr %2, align 8 %13 = call i32 @execl(ptr noundef %11, ptr noundef %12, i32 noundef 0) br label %14 14: ; preds = %10, %8 ret void } declare i32 @procmsg(ptr noundef, ptr noundef) #1 declare i64 @ptrace(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @execl(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgmbiqvpn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"target started. will run '%s'\0A\00", align 1 @PTRACE_TRACEME = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"ptrace\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @run_target(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @procmsg(ptr noundef @.str, ptr noundef %3) %5 = load i32, ptr @PTRACE_TRACEME, align 4 %6 = call i64 @ptrace(i32 noundef %5, i32 noundef 0, i32 noundef 0, i32 noundef 0) %7 = icmp slt i64 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 @perror(ptr noundef @.str.1) br label %14 10: ; preds = %1 %11 = load ptr, ptr %2, align 8 %12 = load ptr, ptr %2, align 8 %13 = call i32 @execl(ptr noundef %11, ptr noundef %12, i32 noundef 0) br label %14 14: ; preds = %10, %8 ret void } declare i32 @procmsg(ptr noundef, ptr noundef) #1 declare i64 @ptrace(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @execl(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw2alm7pu.c' source_filename = "/tmp/tmpw2alm7pu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"Float:\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"%i. %f => %e\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"Double:\0A\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"Long double:\0A\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"%i. %Lf => %Le\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca float, align 4 %4 = alloca double, align 8 %5 = alloca x86_fp80, align 16 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store float 1.000000e+00, ptr %3, align 4 br label %7 7: ; preds = %12, %0 %8 = load float, ptr %3, align 4 %9 = fpext float %8 to double %10 = fadd double 1.000000e+00, %9 %11 = fcmp ogt double %10, 1.000000e+00 br i1 %11, label %12, label %25 12: ; preds = %7 %13 = load float, ptr %3, align 4 %14 = fpext float %13 to double %15 = fdiv double %14, 2.000000e+00 %16 = fptrunc double %15 to float store float %16, ptr %3, align 4 %17 = load i32, ptr %2, align 4 %18 = load float, ptr %3, align 4 %19 = fpext float %18 to double %20 = load float, ptr %3, align 4 %21 = fpext float %20 to double %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %17, double noundef %19, double noundef %21) %23 = load i32, ptr %2, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %2, align 4 br label %7, !llvm.loop !6 25: ; preds = %7 store i32 1, ptr %2, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store double 1.000000e+00, ptr %4, align 8 br label %27 27: ; preds = %31, %25 %28 = load double, ptr %4, align 8 %29 = fadd double 1.000000e+00, %28 %30 = fcmp ogt double %29, 1.000000e+00 br i1 %30, label %31, label %40 31: ; preds = %27 %32 = load double, ptr %4, align 8 %33 = fdiv double %32, 2.000000e+00 store double %33, ptr %4, align 8 %34 = load i32, ptr %2, align 4 %35 = load double, ptr %4, align 8 %36 = load double, ptr %4, align 8 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %34, double noundef %35, double noundef %36) %38 = load i32, ptr %2, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %2, align 4 br label %27, !llvm.loop !8 40: ; preds = %27 store i32 1, ptr %2, align 4 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store x86_fp80 0xK3FFF8000000000000000, ptr %5, align 16 br label %42 42: ; preds = %46, %40 %43 = load x86_fp80, ptr %5, align 16 %44 = fadd x86_fp80 0xK3FFF8000000000000000, %43 %45 = fcmp ogt x86_fp80 %44, 0xK3FFF8000000000000000 br i1 %45, label %46, label %55 46: ; preds = %42 %47 = load x86_fp80, ptr %5, align 16 %48 = fdiv x86_fp80 %47, 0xK40008000000000000000 store x86_fp80 %48, ptr %5, align 16 %49 = load i32, ptr %2, align 4 %50 = load x86_fp80, ptr %5, align 16 %51 = load x86_fp80, ptr %5, align 16 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %49, x86_fp80 noundef %50, x86_fp80 noundef %51) %53 = load i32, ptr %2, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %2, align 4 br label %42, !llvm.loop !9 55: ; preds = %42 %56 = load i32, ptr %1, align 4 ret i32 %56 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw2alm7pu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"Float:\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"%i. %f => %e\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"Double:\0A\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"Long double:\0A\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"%i. %Lf => %Le\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca float, align 4 %4 = alloca double, align 8 %5 = alloca x86_fp80, align 16 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store float 1.000000e+00, ptr %3, align 4 %7 = load float, ptr %3, align 4 %8 = fpext float %7 to double %9 = fadd double 1.000000e+00, %8 %10 = fcmp ogt double %9, 1.000000e+00 br i1 %10, label %.lr.ph, label %28 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %11 %12 = load float, ptr %3, align 4 %13 = fpext float %12 to double %14 = fdiv double %13, 2.000000e+00 %15 = fptrunc double %14 to float store float %15, ptr %3, align 4 %16 = load i32, ptr %2, align 4 %17 = load float, ptr %3, align 4 %18 = fpext float %17 to double %19 = load float, ptr %3, align 4 %20 = fpext float %19 to double %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16, double noundef %18, double noundef %20) %22 = load i32, ptr %2, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %2, align 4 %24 = load float, ptr %3, align 4 %25 = fpext float %24 to double %26 = fadd double 1.000000e+00, %25 %27 = fcmp ogt double %26, 1.000000e+00 br i1 %27, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %28 28: ; preds = %._crit_edge, %0 store i32 1, ptr %2, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store double 1.000000e+00, ptr %4, align 8 %30 = load double, ptr %4, align 8 %31 = fadd double 1.000000e+00, %30 %32 = fcmp ogt double %31, 1.000000e+00 br i1 %32, label %.lr.ph2, label %45 .lr.ph2: ; preds = %28 br label %33 33: ; preds = %.lr.ph2, %33 %34 = load double, ptr %4, align 8 %35 = fdiv double %34, 2.000000e+00 store double %35, ptr %4, align 8 %36 = load i32, ptr %2, align 4 %37 = load double, ptr %4, align 8 %38 = load double, ptr %4, align 8 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %36, double noundef %37, double noundef %38) %40 = load i32, ptr %2, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %2, align 4 %42 = load double, ptr %4, align 8 %43 = fadd double 1.000000e+00, %42 %44 = fcmp ogt double %43, 1.000000e+00 br i1 %44, label %33, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %33 br label %45 45: ; preds = %._crit_edge3, %28 store i32 1, ptr %2, align 4 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store x86_fp80 0xK3FFF8000000000000000, ptr %5, align 16 %47 = load x86_fp80, ptr %5, align 16 %48 = fadd x86_fp80 0xK3FFF8000000000000000, %47 %49 = fcmp ogt x86_fp80 %48, 0xK3FFF8000000000000000 br i1 %49, label %.lr.ph5, label %62 .lr.ph5: ; preds = %45 br label %50 50: ; preds = %.lr.ph5, %50 %51 = load x86_fp80, ptr %5, align 16 %52 = fdiv x86_fp80 %51, 0xK40008000000000000000 store x86_fp80 %52, ptr %5, align 16 %53 = load i32, ptr %2, align 4 %54 = load x86_fp80, ptr %5, align 16 %55 = load x86_fp80, ptr %5, align 16 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %53, x86_fp80 noundef %54, x86_fp80 noundef %55) %57 = load i32, ptr %2, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %2, align 4 %59 = load x86_fp80, ptr %5, align 16 %60 = fadd x86_fp80 0xK3FFF8000000000000000, %59 %61 = fcmp ogt x86_fp80 %60, 0xK3FFF8000000000000000 br i1 %61, label %50, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %50 br label %62 62: ; preds = %._crit_edge6, %45 %63 = load i32, ptr %1, align 4 ret i32 %63 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmponw7xmii.c' source_filename = "/tmp/tmponw7xmii.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @qtrap(ptr noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca i32, align 4 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 store ptr %0, ptr %6, align 8 store double %1, ptr %7, align 8 store double %2, ptr %8, align 8 store double %3, ptr %9, align 8 store double -1.000000e+30, ptr %12, align 8 store i32 1, ptr %10, align 4 br label %15 15: ; preds = %37, %4 %16 = load i32, ptr %10, align 4 %17 = icmp sle i32 %16, 20 br i1 %17, label %18, label %40 18: ; preds = %15 %19 = load ptr, ptr %6, align 8 %20 = load double, ptr %7, align 8 %21 = load double, ptr %8, align 8 %22 = load i32, ptr %10, align 4 %23 = call double @trapzd(ptr noundef %19, double noundef %20, double noundef %21, i32 noundef %22) store double %23, ptr %11, align 8 %24 = load double, ptr %11, align 8 %25 = load double, ptr %12, align 8 %26 = fsub double %24, %25 %27 = call double @llvm.fabs.f64(double %26) %28 = load double, ptr %9, align 8 %29 = load double, ptr %12, align 8 %30 = call double @llvm.fabs.f64(double %29) %31 = fmul double %28, %30 %32 = fcmp olt double %27, %31 br i1 %32, label %33, label %35 33: ; preds = %18 %34 = load double, ptr %11, align 8 store double %34, ptr %5, align 8 br label %42 35: ; preds = %18 %36 = load double, ptr %11, align 8 store double %36, ptr %12, align 8 br label %37 37: ; preds = %35 %38 = load i32, ptr %10, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %10, align 4 br label %15, !llvm.loop !6 40: ; preds = %15 %41 = load double, ptr %11, align 8 store double %41, ptr %5, align 8 br label %42 42: ; preds = %40, %33 %43 = load double, ptr %5, align 8 ret double %43 } declare double @trapzd(ptr noundef, double noundef, double noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmponw7xmii.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @qtrap(ptr noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca i32, align 4 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 store ptr %0, ptr %6, align 8 store double %1, ptr %7, align 8 store double %2, ptr %8, align 8 store double %3, ptr %9, align 8 store double -1.000000e+30, ptr %12, align 8 store i32 1, ptr %10, align 4 %15 = load i32, ptr %10, align 4 %16 = icmp sle i32 %15, 20 br i1 %16, label %.lr.ph, label %41 .lr.ph: ; preds = %4 br label %17 17: ; preds = %.lr.ph, %36 %18 = load ptr, ptr %6, align 8 %19 = load double, ptr %7, align 8 %20 = load double, ptr %8, align 8 %21 = load i32, ptr %10, align 4 %22 = call double @trapzd(ptr noundef %18, double noundef %19, double noundef %20, i32 noundef %21) store double %22, ptr %11, align 8 %23 = load double, ptr %11, align 8 %24 = load double, ptr %12, align 8 %25 = fsub double %23, %24 %26 = call double @llvm.fabs.f64(double %25) %27 = load double, ptr %9, align 8 %28 = load double, ptr %12, align 8 %29 = call double @llvm.fabs.f64(double %28) %30 = fmul double %27, %29 %31 = fcmp olt double %26, %30 br i1 %31, label %32, label %34 32: ; preds = %17 %33 = load double, ptr %11, align 8 store double %33, ptr %5, align 8 br label %43 34: ; preds = %17 %35 = load double, ptr %11, align 8 store double %35, ptr %12, align 8 br label %36 36: ; preds = %34 %37 = load i32, ptr %10, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %10, align 4 %39 = load i32, ptr %10, align 4 %40 = icmp sle i32 %39, 20 br i1 %40, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %41 41: ; preds = %._crit_edge, %4 %42 = load double, ptr %11, align 8 store double %42, ptr %5, align 8 br label %43 43: ; preds = %41, %32 %44 = load double, ptr %5, align 8 ret double %44 } declare double @trapzd(ptr noundef, double noundef, double noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp4knfeo1l.c' source_filename = "/tmp/tmp4knfeo1l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"rgba(\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"rgb(\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"hsla(\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"hsl(\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @color_parse(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i64 @strncmp(ptr noundef %6, ptr noundef @.str, i32 noundef 5) %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %2 store i32 0, ptr %3, align 4 br label %42 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = call i64 @strncmp(ptr noundef %11, ptr noundef @.str.1, i32 noundef 4) %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %10 store i32 0, ptr %3, align 4 br label %42 15: ; preds = %10 %16 = load ptr, ptr %4, align 8 %17 = call i64 @strncmp(ptr noundef %16, ptr noundef @.str.2, i32 noundef 5) %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %15 store i32 0, ptr %3, align 4 br label %42 20: ; preds = %15 %21 = load ptr, ptr %4, align 8 %22 = call i64 @strncmp(ptr noundef %21, ptr noundef @.str.3, i32 noundef 4) %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %25 24: ; preds = %20 store i32 0, ptr %3, align 4 br label %42 25: ; preds = %20 %26 = load ptr, ptr %4, align 8 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %28, 35 br i1 %29, label %30, label %34 30: ; preds = %25 %31 = load ptr, ptr %4, align 8 %32 = load ptr, ptr %5, align 8 %33 = call i32 @parse_hex_color(ptr noundef %31, ptr noundef %32) store i32 %33, ptr %3, align 4 br label %42 34: ; preds = %25 br label %35 35: ; preds = %34 br label %36 36: ; preds = %35 br label %37 37: ; preds = %36 br label %38 38: ; preds = %37 %39 = load ptr, ptr %4, align 8 %40 = load ptr, ptr %5, align 8 %41 = call i32 @get_named_color(ptr noundef %39, ptr noundef %40) store i32 %41, ptr %3, align 4 br label %42 42: ; preds = %38, %30, %24, %19, %14, %9 %43 = load i32, ptr %3, align 4 ret i32 %43 } declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @parse_hex_color(ptr noundef, ptr noundef) #1 declare i32 @get_named_color(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4knfeo1l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"rgba(\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"rgb(\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"hsla(\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"hsl(\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @color_parse(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i64 @strncmp(ptr noundef %6, ptr noundef @.str, i32 noundef 5) %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %2 store i32 0, ptr %3, align 4 br label %42 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = call i64 @strncmp(ptr noundef %11, ptr noundef @.str.1, i32 noundef 4) %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %10 store i32 0, ptr %3, align 4 br label %42 15: ; preds = %10 %16 = load ptr, ptr %4, align 8 %17 = call i64 @strncmp(ptr noundef %16, ptr noundef @.str.2, i32 noundef 5) %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %15 store i32 0, ptr %3, align 4 br label %42 20: ; preds = %15 %21 = load ptr, ptr %4, align 8 %22 = call i64 @strncmp(ptr noundef %21, ptr noundef @.str.3, i32 noundef 4) %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %25 24: ; preds = %20 store i32 0, ptr %3, align 4 br label %42 25: ; preds = %20 %26 = load ptr, ptr %4, align 8 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %28, 35 br i1 %29, label %30, label %34 30: ; preds = %25 %31 = load ptr, ptr %4, align 8 %32 = load ptr, ptr %5, align 8 %33 = call i32 @parse_hex_color(ptr noundef %31, ptr noundef %32) store i32 %33, ptr %3, align 4 br label %42 34: ; preds = %25 br label %35 35: ; preds = %34 br label %36 36: ; preds = %35 br label %37 37: ; preds = %36 br label %38 38: ; preds = %37 %39 = load ptr, ptr %4, align 8 %40 = load ptr, ptr %5, align 8 %41 = call i32 @get_named_color(ptr noundef %39, ptr noundef %40) store i32 %41, ptr %3, align 4 br label %42 42: ; preds = %38, %30, %24, %19, %14, %9 %43 = load i32, ptr %3, align 4 ret i32 %43 } declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @parse_hex_color(ptr noundef, ptr noundef) #1 declare i32 @get_named_color(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw5w9cz11.c' source_filename = "/tmp/tmpw5w9cz11.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw5w9cz11.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9icyboi8.c' source_filename = "/tmp/tmp9icyboi8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dashf(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca %struct.stat, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %8 7: ; preds = %1 store i32 0, ptr %2, align 4 br label %20 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call i64 @stat(ptr noundef %9, ptr noundef %4) %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %17 12: ; preds = %8 %13 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %14 = load i32, ptr %13, align 4 %15 = call i64 @S_ISREG(i32 noundef %14) %16 = icmp ne i64 %15, 0 br label %17 17: ; preds = %12, %8 %18 = phi i1 [ false, %8 ], [ %16, %12 ] %19 = zext i1 %18 to i32 store i32 %19, ptr %2, align 4 br label %20 20: ; preds = %17, %7 %21 = load i32, ptr %2, align 4 ret i32 %21 } declare i64 @stat(ptr noundef, ptr noundef) #1 declare i64 @S_ISREG(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9icyboi8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dashf(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca %struct.stat, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %8 7: ; preds = %1 store i32 0, ptr %2, align 4 br label %20 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call i64 @stat(ptr noundef %9, ptr noundef %4) %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %17 12: ; preds = %8 %13 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %14 = load i32, ptr %13, align 4 %15 = call i64 @S_ISREG(i32 noundef %14) %16 = icmp ne i64 %15, 0 br label %17 17: ; preds = %12, %8 %18 = phi i1 [ false, %8 ], [ %16, %12 ] %19 = zext i1 %18 to i32 store i32 %19, ptr %2, align 4 br label %20 20: ; preds = %17, %7 %21 = load i32, ptr %2, align 4 ret i32 %21 } declare i64 @stat(ptr noundef, ptr noundef) #1 declare i64 @S_ISREG(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpaf_4a_yc.c' source_filename = "/tmp/tmpaf_4a_yc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [57 x i8] c"*** libast: Fatal: Memory allocation failed. Abort. ***\0A\00", align 1 @stderr = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xmalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #4 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %12 8: ; preds = %1 %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fputs(ptr noundef @.str, i32 noundef %9) %11 = call i32 (...) @abort() #5 unreachable 12: ; preds = %1 %13 = load ptr, ptr %3, align 8 ret ptr %13 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @fputs(ptr noundef, i32 noundef) #2 ; Function Attrs: noreturn declare i32 @abort(...) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(0) } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaf_4a_yc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [57 x i8] c"*** libast: Fatal: Memory allocation failed. Abort. ***\0A\00", align 1 @stderr = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xmalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #4 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %12 8: ; preds = %1 %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fputs(ptr noundef @.str, i32 noundef %9) %11 = call i32 (...) @abort() #5 unreachable 12: ; preds = %1 %13 = load ptr, ptr %3, align 8 ret ptr %13 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @fputs(ptr noundef, i32 noundef) #2 ; Function Attrs: noreturn declare i32 @abort(...) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(0) } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo9nsaqla.c' source_filename = "/tmp/tmpo9nsaqla.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @set_security_bridge(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [16 x i8], align 16 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 16, i1 false) %6 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 0 %7 = call i32 @construct_bridge(ptr noundef %6) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @construct_bridge(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo9nsaqla.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @set_security_bridge(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [16 x i8], align 16 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 16, i1 false) %6 = getelementptr inbounds [16 x i8], ptr %5, i64 0, i64 0 %7 = call i32 @construct_bridge(ptr noundef %6) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @construct_bridge(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnz8rkw45.c' source_filename = "/tmp/tmpnz8rkw45.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @__putshort(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = getelementptr inbounds i32, ptr %6, i64 1 store i32 %5, ptr %7, align 4 %8 = load i32, ptr %3, align 4 %9 = ashr i32 %8, 8 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds i32, ptr %10, i64 0 store i32 %9, ptr %11, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnz8rkw45.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @__putshort(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = getelementptr inbounds i32, ptr %6, i64 1 store i32 %5, ptr %7, align 4 %8 = load i32, ptr %3, align 4 %9 = ashr i32 %8, 8 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds i32, ptr %10, i64 0 store i32 %9, ptr %11, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpznv3y2yb.c' source_filename = "/tmp/tmpznv3y2yb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpznv3y2yb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjcx4giwc.c' source_filename = "/tmp/tmpjcx4giwc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%10.5f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @integral(float noundef %0, float noundef %1, ptr noundef %2) #0 { %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca ptr, align 8 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 store float %0, ptr %4, align 4 store float %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 store float 0.000000e+00, ptr %8, align 4 store float 0x3F50624DE0000000, ptr %9, align 4 %10 = load float, ptr %4, align 4 store float %10, ptr %7, align 4 br label %11 11: ; preds = %15, %3 %12 = load float, ptr %7, align 4 %13 = load float, ptr %5, align 4 %14 = fcmp olt float %12, %13 br i1 %14, label %15, label %25 15: ; preds = %11 %16 = load float, ptr %8, align 4 %17 = load ptr, ptr %6, align 8 %18 = load float, ptr %7, align 4 %19 = call float %17(float noundef %18) %20 = load float, ptr %9, align 4 %21 = call float @llvm.fmuladd.f32(float %19, float %20, float %16) store float %21, ptr %8, align 4 %22 = load float, ptr %7, align 4 %23 = load float, ptr %9, align 4 %24 = fadd float %22, %23 store float %24, ptr %7, align 4 br label %11, !llvm.loop !6 25: ; preds = %11 %26 = load float, ptr %8, align 4 %27 = call i32 @printf(ptr noundef @.str, float noundef %26) %28 = load float, ptr %8, align 4 ret float %28 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #1 declare i32 @printf(ptr noundef, float noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjcx4giwc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%10.5f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @integral(float noundef %0, float noundef %1, ptr noundef %2) #0 { %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca ptr, align 8 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 store float %0, ptr %4, align 4 store float %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 store float 0.000000e+00, ptr %8, align 4 store float 0x3F50624DE0000000, ptr %9, align 4 %10 = load float, ptr %4, align 4 store float %10, ptr %7, align 4 %11 = load float, ptr %7, align 4 %12 = load float, ptr %5, align 4 %13 = fcmp olt float %11, %12 br i1 %13, label %.lr.ph, label %27 .lr.ph: ; preds = %3 br label %14 14: ; preds = %.lr.ph, %14 %15 = load float, ptr %8, align 4 %16 = load ptr, ptr %6, align 8 %17 = load float, ptr %7, align 4 %18 = call float %16(float noundef %17) %19 = load float, ptr %9, align 4 %20 = call float @llvm.fmuladd.f32(float %18, float %19, float %15) store float %20, ptr %8, align 4 %21 = load float, ptr %7, align 4 %22 = load float, ptr %9, align 4 %23 = fadd float %21, %22 store float %23, ptr %7, align 4 %24 = load float, ptr %7, align 4 %25 = load float, ptr %5, align 4 %26 = fcmp olt float %24, %25 br i1 %26, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %27 27: ; preds = %._crit_edge, %3 %28 = load float, ptr %8, align 4 %29 = call i32 @printf(ptr noundef @.str, float noundef %28) %30 = load float, ptr %8, align 4 ret float %30 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #1 declare i32 @printf(ptr noundef, float noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpypwvsrop.c' source_filename = "/tmp/tmpypwvsrop.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpypwvsrop.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpso3ky668.c' source_filename = "/tmp/tmpso3ky668.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @_IONBF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"in1.bmp\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"in2.bmp\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"blend.bmp\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"wr\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"checker.bmp\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [1 x [54 x i8]], align 16 %6 = alloca [1 x [54 x i8]], align 16 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca i64, align 8 %19 = alloca i64, align 8 store i32 0, ptr %1, align 4 %20 = load i32, ptr @stdout, align 4 %21 = load i32, ptr @_IONBF, align 4 %22 = call i32 @setvbuf(i32 noundef %20, ptr noundef null, i32 noundef %21, i32 noundef 0) %23 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %23, ptr %7, align 8 %24 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.1) store ptr %24, ptr %8, align 8 %25 = load ptr, ptr %7, align 8 %26 = getelementptr inbounds [1 x [54 x i8]], ptr %5, i64 0, i64 0 %27 = call i32 @buff(ptr noundef %25, i32 noundef 54, ptr noundef %26) %28 = load ptr, ptr %8, align 8 %29 = getelementptr inbounds [1 x [54 x i8]], ptr %6, i64 0, i64 0 %30 = call i32 @buff(ptr noundef %28, i32 noundef 54, ptr noundef %29) %31 = getelementptr inbounds [1 x [54 x i8]], ptr %5, i64 0, i64 0 %32 = call i32 @getThingy(ptr noundef %31, i32 noundef 18, ptr noundef %2) %33 = getelementptr inbounds [1 x [54 x i8]], ptr %5, i64 0, i64 0 %34 = call i32 @getThingy(ptr noundef %33, i32 noundef 22, ptr noundef %3) %35 = getelementptr inbounds [1 x [54 x i8]], ptr %5, i64 0, i64 0 %36 = call i32 @getThingy(ptr noundef %35, i32 noundef 34, ptr noundef %4) %37 = load i32, ptr %2, align 4 %38 = mul nsw i32 %37, 3 store i32 %38, ptr %2, align 4 %39 = load i32, ptr %3, align 4 %40 = zext i32 %39 to i64 %41 = load i32, ptr %2, align 4 %42 = zext i32 %41 to i64 %43 = call ptr @llvm.stacksave() store ptr %43, ptr %11, align 8 %44 = mul nuw i64 %40, %42 %45 = alloca i8, i64 %44, align 16 store i64 %40, ptr %12, align 8 store i64 %42, ptr %13, align 8 %46 = load i32, ptr %3, align 4 %47 = zext i32 %46 to i64 %48 = load i32, ptr %2, align 4 %49 = zext i32 %48 to i64 %50 = mul nuw i64 %47, %49 %51 = alloca i8, i64 %50, align 16 store i64 %47, ptr %14, align 8 store i64 %49, ptr %15, align 8 %52 = load ptr, ptr %7, align 8 %53 = load i32, ptr %4, align 4 %54 = call i32 @buff(ptr noundef %52, i32 noundef %53, ptr noundef %45) %55 = load ptr, ptr %8, align 8 %56 = load i32, ptr %4, align 4 %57 = call i32 @buff(ptr noundef %55, i32 noundef %56, ptr noundef %51) %58 = load ptr, ptr %7, align 8 %59 = call i32 @fclose(ptr noundef %58) %60 = load ptr, ptr %8, align 8 %61 = call i32 @fclose(ptr noundef %60) %62 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.4) store ptr %62, ptr %9, align 8 %63 = load i32, ptr %3, align 4 %64 = zext i32 %63 to i64 %65 = load i32, ptr %2, align 4 %66 = zext i32 %65 to i64 %67 = mul nuw i64 %64, %66 %68 = alloca i8, i64 %67, align 16 store i64 %64, ptr %16, align 8 store i64 %66, ptr %17, align 8 %69 = load i32, ptr %3, align 4 %70 = load i32, ptr %2, align 4 %71 = call i32 @blend(i32 noundef %69, i32 noundef %70, ptr noundef %68, ptr noundef %45, ptr noundef %51) %72 = getelementptr inbounds [1 x [54 x i8]], ptr %5, i64 0, i64 0 %73 = load ptr, ptr %9, align 8 %74 = call i32 @fwrite(ptr noundef %72, i32 noundef 1, i32 noundef 54, ptr noundef %73) %75 = load i32, ptr %4, align 4 %76 = load ptr, ptr %9, align 8 %77 = call i32 @fwrite(ptr noundef %68, i32 noundef 1, i32 noundef %75, ptr noundef %76) %78 = load ptr, ptr %9, align 8 %79 = call i32 @fclose(ptr noundef %78) %80 = call ptr @fopen(ptr noundef @.str.5, ptr noundef @.str.4) store ptr %80, ptr %10, align 8 %81 = load i32, ptr %3, align 4 %82 = zext i32 %81 to i64 %83 = load i32, ptr %2, align 4 %84 = zext i32 %83 to i64 %85 = mul nuw i64 %82, %84 %86 = alloca i8, i64 %85, align 16 store i64 %82, ptr %18, align 8 store i64 %84, ptr %19, align 8 %87 = load i32, ptr %3, align 4 %88 = load i32, ptr %2, align 4 %89 = call i32 @check(i32 noundef %87, i32 noundef %88, ptr noundef %86, ptr noundef %45, ptr noundef %51) %90 = getelementptr inbounds [1 x [54 x i8]], ptr %6, i64 0, i64 0 %91 = load ptr, ptr %10, align 8 %92 = call i32 @fwrite(ptr noundef %90, i32 noundef 1, i32 noundef 54, ptr noundef %91) %93 = load i32, ptr %4, align 4 %94 = load ptr, ptr %10, align 8 %95 = call i32 @fwrite(ptr noundef %86, i32 noundef 1, i32 noundef %93, ptr noundef %94) %96 = load ptr, ptr %10, align 8 %97 = call i32 @fclose(ptr noundef %96) store i32 0, ptr %1, align 4 %98 = load ptr, ptr %11, align 8 call void @llvm.stackrestore(ptr %98) %99 = load i32, ptr %1, align 4 ret i32 %99 } declare i32 @setvbuf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @buff(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @getThingy(ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @fclose(ptr noundef) #1 declare i32 @blend(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @check(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpso3ky668.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @_IONBF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"in1.bmp\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"in2.bmp\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"blend.bmp\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"wr\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"checker.bmp\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [1 x [54 x i8]], align 16 %6 = alloca [1 x [54 x i8]], align 16 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca i64, align 8 %19 = alloca i64, align 8 store i32 0, ptr %1, align 4 %20 = load i32, ptr @stdout, align 4 %21 = load i32, ptr @_IONBF, align 4 %22 = call i32 @setvbuf(i32 noundef %20, ptr noundef null, i32 noundef %21, i32 noundef 0) %23 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %23, ptr %7, align 8 %24 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.1) store ptr %24, ptr %8, align 8 %25 = load ptr, ptr %7, align 8 %26 = getelementptr inbounds [1 x [54 x i8]], ptr %5, i64 0, i64 0 %27 = call i32 @buff(ptr noundef %25, i32 noundef 54, ptr noundef %26) %28 = load ptr, ptr %8, align 8 %29 = getelementptr inbounds [1 x [54 x i8]], ptr %6, i64 0, i64 0 %30 = call i32 @buff(ptr noundef %28, i32 noundef 54, ptr noundef %29) %31 = getelementptr inbounds [1 x [54 x i8]], ptr %5, i64 0, i64 0 %32 = call i32 @getThingy(ptr noundef %31, i32 noundef 18, ptr noundef %2) %33 = getelementptr inbounds [1 x [54 x i8]], ptr %5, i64 0, i64 0 %34 = call i32 @getThingy(ptr noundef %33, i32 noundef 22, ptr noundef %3) %35 = getelementptr inbounds [1 x [54 x i8]], ptr %5, i64 0, i64 0 %36 = call i32 @getThingy(ptr noundef %35, i32 noundef 34, ptr noundef %4) %37 = load i32, ptr %2, align 4 %38 = mul nsw i32 %37, 3 store i32 %38, ptr %2, align 4 %39 = load i32, ptr %3, align 4 %40 = zext i32 %39 to i64 %41 = load i32, ptr %2, align 4 %42 = zext i32 %41 to i64 %43 = call ptr @llvm.stacksave() store ptr %43, ptr %11, align 8 %44 = mul nuw i64 %40, %42 %45 = alloca i8, i64 %44, align 16 store i64 %40, ptr %12, align 8 store i64 %42, ptr %13, align 8 %46 = load i32, ptr %3, align 4 %47 = zext i32 %46 to i64 %48 = load i32, ptr %2, align 4 %49 = zext i32 %48 to i64 %50 = mul nuw i64 %47, %49 %51 = alloca i8, i64 %50, align 16 store i64 %47, ptr %14, align 8 store i64 %49, ptr %15, align 8 %52 = load ptr, ptr %7, align 8 %53 = load i32, ptr %4, align 4 %54 = call i32 @buff(ptr noundef %52, i32 noundef %53, ptr noundef %45) %55 = load ptr, ptr %8, align 8 %56 = load i32, ptr %4, align 4 %57 = call i32 @buff(ptr noundef %55, i32 noundef %56, ptr noundef %51) %58 = load ptr, ptr %7, align 8 %59 = call i32 @fclose(ptr noundef %58) %60 = load ptr, ptr %8, align 8 %61 = call i32 @fclose(ptr noundef %60) %62 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.4) store ptr %62, ptr %9, align 8 %63 = load i32, ptr %3, align 4 %64 = zext i32 %63 to i64 %65 = load i32, ptr %2, align 4 %66 = zext i32 %65 to i64 %67 = mul nuw i64 %64, %66 %68 = alloca i8, i64 %67, align 16 store i64 %64, ptr %16, align 8 store i64 %66, ptr %17, align 8 %69 = load i32, ptr %3, align 4 %70 = load i32, ptr %2, align 4 %71 = call i32 @blend(i32 noundef %69, i32 noundef %70, ptr noundef %68, ptr noundef %45, ptr noundef %51) %72 = getelementptr inbounds [1 x [54 x i8]], ptr %5, i64 0, i64 0 %73 = load ptr, ptr %9, align 8 %74 = call i32 @fwrite(ptr noundef %72, i32 noundef 1, i32 noundef 54, ptr noundef %73) %75 = load i32, ptr %4, align 4 %76 = load ptr, ptr %9, align 8 %77 = call i32 @fwrite(ptr noundef %68, i32 noundef 1, i32 noundef %75, ptr noundef %76) %78 = load ptr, ptr %9, align 8 %79 = call i32 @fclose(ptr noundef %78) %80 = call ptr @fopen(ptr noundef @.str.5, ptr noundef @.str.4) store ptr %80, ptr %10, align 8 %81 = load i32, ptr %3, align 4 %82 = zext i32 %81 to i64 %83 = load i32, ptr %2, align 4 %84 = zext i32 %83 to i64 %85 = mul nuw i64 %82, %84 %86 = alloca i8, i64 %85, align 16 store i64 %82, ptr %18, align 8 store i64 %84, ptr %19, align 8 %87 = load i32, ptr %3, align 4 %88 = load i32, ptr %2, align 4 %89 = call i32 @check(i32 noundef %87, i32 noundef %88, ptr noundef %86, ptr noundef %45, ptr noundef %51) %90 = getelementptr inbounds [1 x [54 x i8]], ptr %6, i64 0, i64 0 %91 = load ptr, ptr %10, align 8 %92 = call i32 @fwrite(ptr noundef %90, i32 noundef 1, i32 noundef 54, ptr noundef %91) %93 = load i32, ptr %4, align 4 %94 = load ptr, ptr %10, align 8 %95 = call i32 @fwrite(ptr noundef %86, i32 noundef 1, i32 noundef %93, ptr noundef %94) %96 = load ptr, ptr %10, align 8 %97 = call i32 @fclose(ptr noundef %96) store i32 0, ptr %1, align 4 %98 = load ptr, ptr %11, align 8 call void @llvm.stackrestore(ptr %98) %99 = load i32, ptr %1, align 4 ret i32 %99 } declare i32 @setvbuf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @buff(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @getThingy(ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @fclose(ptr noundef) #1 declare i32 @blend(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @check(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}