llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpalhqbr0g.c' source_filename = "/tmp/tmpalhqbr0g.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.rlimit = type { i64 } @RLIMIT_NOFILE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getmaxfds() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.rlimit, align 8 %3 = load i32, ptr @RLIMIT_NOFILE, align 4 %4 = call i64 @getrlimit(i32 noundef %3, ptr noundef %2) %5 = icmp slt i64 %4, 0 br i1 %5, label %6, label %7 6: ; preds = %0 store i32 -1, ptr %1, align 4 br label %11 7: ; preds = %0 %8 = getelementptr inbounds %struct.rlimit, ptr %2, i32 0, i32 0 %9 = load i64, ptr %8, align 8 %10 = trunc i64 %9 to i32 store i32 %10, ptr %1, align 4 br label %11 11: ; preds = %7, %6 %12 = load i32, ptr %1, align 4 ret i32 %12 } declare i64 @getrlimit(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/tmpalhqbr0g.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.rlimit = type { i64 } @RLIMIT_NOFILE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getmaxfds() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.rlimit, align 8 %3 = load i32, ptr @RLIMIT_NOFILE, align 4 %4 = call i64 @getrlimit(i32 noundef %3, ptr noundef %2) %5 = icmp slt i64 %4, 0 br i1 %5, label %6, label %7 6: ; preds = %0 store i32 -1, ptr %1, align 4 br label %11 7: ; preds = %0 %8 = getelementptr inbounds %struct.rlimit, ptr %2, i32 0, i32 0 %9 = load i64, ptr %8, align 8 %10 = trunc i64 %9 to i32 store i32 %10, ptr %1, align 4 br label %11 11: ; preds = %7, %6 %12 = load i32, ptr %1, align 4 ret i32 %12 } declare i64 @getrlimit(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/tmpp2pviqmn.c' source_filename = "/tmp/tmpp2pviqmn.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 [39 x i8] c"Constants: %g %g %g %g %g %g %g %g %g\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @testParseConsts() #0 { %1 = call i32 @printf(ptr noundef @.str, i32 noundef 0, i32 noundef 0, float noundef 0.000000e+00, float noundef 0x3F847AE140000000, float noundef 0x3F847AE140000000, double noundef 1.000000e-01, double noundef 1.000000e+01, double noundef 1.000000e+01, float noundef 0x3FB99999A0000000) ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, float noundef, float noundef, float noundef, double noundef, double noundef, double noundef, float 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/tmpp2pviqmn.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 [39 x i8] c"Constants: %g %g %g %g %g %g %g %g %g\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @testParseConsts() #0 { %1 = call i32 @printf(ptr noundef @.str, i32 noundef 0, i32 noundef 0, float noundef 0.000000e+00, float noundef 0x3F847AE140000000, float noundef 0x3F847AE140000000, double noundef 1.000000e-01, double noundef 1.000000e+01, double noundef 1.000000e+01, float noundef 0x3FB99999A0000000) ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, float noundef, float noundef, float noundef, double noundef, double noundef, double noundef, float 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/tmpa_c_2bae.c' source_filename = "/tmp/tmpa_c_2bae.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"Failed to dup2() fd %d to fd %d: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dup2_msg(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @dup2(i32 noundef %5, i32 noundef %6) %8 = icmp eq i32 %7, -1 br i1 %8, label %9, label %17 9: ; preds = %2 %10 = load i32, ptr @stderr, align 4 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr @errno, align 4 %14 = call ptr @strerror(i32 noundef %13) %15 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, i32 noundef %11, i32 noundef %12, ptr noundef %14) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 ret void } declare i32 @dup2(i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare ptr @strerror(i32 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/tmpa_c_2bae.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"Failed to dup2() fd %d to fd %d: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dup2_msg(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @dup2(i32 noundef %5, i32 noundef %6) %8 = icmp eq i32 %7, -1 br i1 %8, label %9, label %17 9: ; preds = %2 %10 = load i32, ptr @stderr, align 4 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr @errno, align 4 %14 = call ptr @strerror(i32 noundef %13) %15 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, i32 noundef %11, i32 noundef %12, ptr noundef %14) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 ret void } declare i32 @dup2(i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare ptr @strerror(i32 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/tmp26bqatno.c' source_filename = "/tmp/tmp26bqatno.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" @numa_bitmask_free = dso_local global ptr null, align 8 ; 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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr @numa_bitmask_free, align 8 store ptr %9, ptr %6, align 8 %10 = call i32 @exit(i32 noundef 0) #2 unreachable } ; Function Attrs: noreturn declare i32 @exit(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 = { 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 #2 = { 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/tmp26bqatno.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" @numa_bitmask_free = dso_local global ptr null, align 8 ; 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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr @numa_bitmask_free, align 8 store ptr %9, ptr %6, align 8 %10 = call i32 @exit(i32 noundef 0) #2 unreachable } ; Function Attrs: noreturn declare i32 @exit(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 = { 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 #2 = { 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/tmpzq05m5cn.c' source_filename = "/tmp/tmpzq05m5cn.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 @lower_case(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 br label %5 5: ; preds = %20, %1 %6 = load ptr, ptr %2, align 8 %7 = load i8, ptr %6, align 1 %8 = sext i8 %7 to i32 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %23 10: ; preds = %5 %11 = load ptr, ptr %2, align 8 %12 = load i8, ptr %11, align 1 %13 = call i64 @isupper(i8 noundef signext %12) %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %20 15: ; preds = %10 %16 = load ptr, ptr %2, align 8 %17 = load i8, ptr %16, align 1 %18 = call signext i8 @tolower(i8 noundef signext %17) %19 = load ptr, ptr %2, align 8 store i8 %18, ptr %19, align 1 br label %20 20: ; preds = %15, %10 %21 = load ptr, ptr %2, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %2, align 8 br label %5, !llvm.loop !6 23: ; preds = %5 %24 = load ptr, ptr %3, align 8 ret ptr %24 } declare i64 @isupper(i8 noundef signext) #1 declare signext i8 @tolower(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/tmpzq05m5cn.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 @lower_case(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %2, align 8 %6 = load i8, ptr %5, align 1 %7 = sext i8 %6 to i32 %8 = icmp ne i32 %7, 0 br i1 %8, label %.lr.ph, label %26 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %19 %10 = load ptr, ptr %2, align 8 %11 = load i8, ptr %10, align 1 %12 = call i64 @isupper(i8 noundef signext %11) %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %19 14: ; preds = %9 %15 = load ptr, ptr %2, align 8 %16 = load i8, ptr %15, align 1 %17 = call signext i8 @tolower(i8 noundef signext %16) %18 = load ptr, ptr %2, align 8 store i8 %17, ptr %18, align 1 br label %19 19: ; preds = %14, %9 %20 = load ptr, ptr %2, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %2, align 8 %22 = load ptr, ptr %2, align 8 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp ne i32 %24, 0 br i1 %25, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %26 26: ; preds = %._crit_edge, %1 %27 = load ptr, ptr %3, align 8 ret ptr %27 } declare i64 @isupper(i8 noundef signext) #1 declare signext i8 @tolower(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/tmp_hlsronm.c' source_filename = "/tmp/tmp_hlsronm.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 @calc_dBm(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = fmul double 2.000000e+00, %3 %5 = fmul double %4, 1.000000e+03 %6 = fdiv double %5, 6.000000e+02 %7 = fptosi double %6 to i32 %8 = call i32 @log10(i32 noundef %7) %9 = mul nsw i32 10, %8 %10 = sitofp i32 %9 to double ret double %10 } declare i32 @log10(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/tmp_hlsronm.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 @calc_dBm(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = fmul double 2.000000e+00, %3 %5 = fmul double %4, 1.000000e+03 %6 = fdiv double %5, 6.000000e+02 %7 = fptosi double %6 to i32 %8 = call i32 @log10(i32 noundef %7) %9 = mul nsw i32 10, %8 %10 = sitofp i32 %9 to double ret double %10 } declare i32 @log10(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/tmpsc76nmrt.c' source_filename = "/tmp/tmpsc76nmrt.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 @name_to_dev_t(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @name_to_dev_t_real(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 ret i32 %6 } declare i32 @name_to_dev_t_real(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/tmpsc76nmrt.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 @name_to_dev_t(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @name_to_dev_t_real(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 ret i32 %6 } declare i32 @name_to_dev_t_real(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/tmpif5nog8y.c' source_filename = "/tmp/tmpif5nog8y.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 [19 x i8] c"FAILED due to %s!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @die(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @stderr, align 4 %7 = call i32 @fflush(i32 noundef %6) %8 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fflush(i32 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/tmpif5nog8y.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 [19 x i8] c"FAILED due to %s!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @die(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @stderr, align 4 %7 = call i32 @fflush(i32 noundef %6) %8 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fflush(i32 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/tmpcwhh_34h.c' source_filename = "/tmp/tmpcwhh_34h.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" @EOF = 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/tmpcwhh_34h.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" @EOF = 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/tmpftfb0h6g.c' source_filename = "/tmp/tmpftfb0h6g.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 [9 x i8] c"BLASTMAT\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"/nfs/disk100/pubseq/blastdb/\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [46 x i8] c"ERROR in readMatrix: could not open %s or %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [40 x i8] c"ERROR in readMatrix: illegal symbol %c\0A\00", align 1 @.str.5 = private unnamed_addr constant [35 x i8] c"ERROR in readMatrix: bad line: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @readMatrix(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca [256 x i8], align 16 %9 = alloca [512 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca [1024 x i8], align 16 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca [128 x i32], align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 1024, i1 false) %18 = getelementptr inbounds [1024 x i8], ptr %11, i32 0, i32 0 store i8 35, ptr %18, align 16 store i32 0, ptr %16, align 4 %19 = call ptr @getenv(ptr noundef @.str) %20 = icmp ne ptr %19, null br i1 %20, label %21, label %25 21: ; preds = %3 %22 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %23 = call ptr @getenv(ptr noundef @.str) %24 = call i32 @strcpy(ptr noundef %22, ptr noundef %23) br label %28 25: ; preds = %3 %26 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %27 = call i32 @strcpy(ptr noundef %26, ptr noundef @.str.1) br label %28 28: ; preds = %25, %21 %29 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %30 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %31 = call i32 @strcpy(ptr noundef %29, ptr noundef %30) %32 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %33 = load ptr, ptr %5, align 8 %34 = call i32 @strcat(ptr noundef %32, ptr noundef %33) %35 = load ptr, ptr %5, align 8 %36 = call ptr @fopen(ptr noundef %35, ptr noundef @.str.2) store ptr %36, ptr %10, align 8 %37 = icmp ne ptr %36, null br i1 %37, label %47, label %38 38: ; preds = %28 %39 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %40 = call ptr @fopen(ptr noundef %39, ptr noundef @.str.2) store ptr %40, ptr %10, align 8 %41 = icmp ne ptr %40, null br i1 %41, label %47, label %42 42: ; preds = %38 %43 = load i32, ptr @stderr, align 4 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %46 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.3, ptr noundef %44, ptr noundef %45) store i32 0, ptr %4, align 4 br label %371 47: ; preds = %38, %28 br label %48 48: ; preds = %59, %47 %49 = load ptr, ptr %10, align 8 %50 = call i32 @feof(ptr noundef %49) %51 = icmp ne i32 %50, 0 br i1 %51, label %57, label %52 52: ; preds = %48 %53 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %54 = load i8, ptr %53, align 16 %55 = sext i8 %54 to i32 %56 = icmp eq i32 %55, 35 br label %57 57: ; preds = %52, %48 %58 = phi i1 [ false, %48 ], [ %56, %52 ] br i1 %58, label %59, label %63 59: ; preds = %57 %60 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %61 = load ptr, ptr %10, align 8 %62 = call i64 @fgets(ptr noundef %60, i32 noundef 1023, ptr noundef %61) br label %48, !llvm.loop !6 63: ; preds = %57 %64 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 store ptr %64, ptr %12, align 8 br label %65 65: ; preds = %82, %63 %66 = load ptr, ptr %12, align 8 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = icmp eq i32 %68, 32 br i1 %69, label %80, label %70 70: ; preds = %65 %71 = load ptr, ptr %12, align 8 %72 = load i8, ptr %71, align 1 %73 = sext i8 %72 to i32 %74 = icmp eq i32 %73, 9 br i1 %74, label %80, label %75 75: ; preds = %70 %76 = load ptr, ptr %12, align 8 %77 = load i8, ptr %76, align 1 %78 = sext i8 %77 to i32 %79 = icmp eq i32 %78, 10 br label %80 80: ; preds = %75, %70, %65 %81 = phi i1 [ true, %70 ], [ true, %65 ], [ %79, %75 ] br i1 %81, label %82, label %85 82: ; preds = %80 %83 = load ptr, ptr %12, align 8 %84 = getelementptr inbounds i8, ptr %83, i32 1 store ptr %84, ptr %12, align 8 br label %65, !llvm.loop !8 85: ; preds = %80 store i32 0, ptr %13, align 4 br label %86 86: ; preds = %155, %85 %87 = load ptr, ptr %12, align 8 %88 = load i8, ptr %87, align 1 %89 = sext i8 %88 to i32 %90 = icmp ne i32 %89, 0 br i1 %90, label %91, label %94 91: ; preds = %86 %92 = load i32, ptr %13, align 4 %93 = icmp slt i32 %92, 128 br label %94 94: ; preds = %91, %86 %95 = phi i1 [ false, %86 ], [ %93, %91 ] br i1 %95, label %96, label %158 96: ; preds = %94 %97 = load ptr, ptr %6, align 8 %98 = load ptr, ptr %12, align 8 %99 = load i8, ptr %98, align 1 %100 = sext i8 %99 to i64 %101 = getelementptr inbounds i32, ptr %97, i64 %100 %102 = load i32, ptr %101, align 4 %103 = load i32, ptr %13, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds [128 x i32], ptr %17, i64 0, i64 %104 store i32 %102, ptr %105, align 4 %106 = load i32, ptr %13, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds [128 x i32], ptr %17, i64 0, i64 %107 %109 = load i32, ptr %108, align 4 %110 = icmp slt i32 %109, -2 br i1 %110, label %111, label %119 111: ; preds = %96 %112 = load i32, ptr @stderr, align 4 %113 = load ptr, ptr %12, align 8 %114 = load i8, ptr %113, align 1 %115 = sext i8 %114 to i32 %116 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %112, ptr noundef @.str.4, i32 noundef %115) %117 = load ptr, ptr %10, align 8 %118 = call i32 @fclose(ptr noundef %117) store i32 0, ptr %4, align 4 br label %371 119: ; preds = %96 %120 = load i32, ptr %13, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds [128 x i32], ptr %17, i64 0, i64 %121 %123 = load i32, ptr %122, align 4 %124 = load i32, ptr %16, align 4 %125 = icmp sgt i32 %123, %124 br i1 %125, label %126, label %131 126: ; preds = %119 %127 = load i32, ptr %13, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds [128 x i32], ptr %17, i64 0, i64 %128 %130 = load i32, ptr %129, align 4 store i32 %130, ptr %16, align 4 br label %131 131: ; preds = %126, %119 %132 = load ptr, ptr %12, align 8 %133 = getelementptr inbounds i8, ptr %132, i32 1 store ptr %133, ptr %12, align 8 br label %134 134: ; preds = %151, %131 %135 = load ptr, ptr %12, align 8 %136 = load i8, ptr %135, align 1 %137 = sext i8 %136 to i32 %138 = icmp eq i32 %137, 32 br i1 %138, label %149, label %139 139: ; preds = %134 %140 = load ptr, ptr %12, align 8 %141 = load i8, ptr %140, align 1 %142 = sext i8 %141 to i32 %143 = icmp eq i32 %142, 9 br i1 %143, label %149, label %144 144: ; preds = %139 %145 = load ptr, ptr %12, align 8 %146 = load i8, ptr %145, align 1 %147 = sext i8 %146 to i32 %148 = icmp eq i32 %147, 10 br label %149 149: ; preds = %144, %139, %134 %150 = phi i1 [ true, %139 ], [ true, %134 ], [ %148, %144 ] br i1 %150, label %151, label %154 151: ; preds = %149 %152 = load ptr, ptr %12, align 8 %153 = getelementptr inbounds i8, ptr %152, i32 1 store ptr %153, ptr %12, align 8 br label %134, !llvm.loop !9 154: ; preds = %149 br label %155 155: ; preds = %154 %156 = load i32, ptr %13, align 4 %157 = add nsw i32 %156, 1 store i32 %157, ptr %13, align 4 br label %86, !llvm.loop !10 158: ; preds = %94 %159 = load i32, ptr %13, align 4 store i32 %159, ptr %15, align 4 %160 = load i32, ptr %16, align 4 %161 = add nsw i32 %160, 1 store i32 %161, ptr %16, align 4 %162 = load i32, ptr %16, align 4 %163 = sext i32 %162 to i64 %164 = mul i64 %163, 8 %165 = trunc i64 %164 to i32 %166 = call i64 @messalloc(i32 noundef %165) %167 = inttoptr i64 %166 to ptr %168 = load ptr, ptr %7, align 8 store ptr %167, ptr %168, align 8 store i32 0, ptr %13, align 4 br label %169 169: ; preds = %185, %158 %170 = load i32, ptr %13, align 4 %171 = load i32, ptr %16, align 4 %172 = icmp slt i32 %170, %171 br i1 %172, label %173, label %188 173: ; preds = %169 %174 = load i32, ptr %16, align 4 %175 = sext i32 %174 to i64 %176 = mul i64 %175, 4 %177 = trunc i64 %176 to i32 %178 = call i64 @messalloc(i32 noundef %177) %179 = inttoptr i64 %178 to ptr %180 = load ptr, ptr %7, align 8 %181 = load ptr, ptr %180, align 8 %182 = load i32, ptr %13, align 4 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds ptr, ptr %181, i64 %183 store ptr %179, ptr %184, align 8 br label %185 185: ; preds = %173 %186 = load i32, ptr %13, align 4 %187 = add nsw i32 %186, 1 store i32 %187, ptr %13, align 4 br label %169, !llvm.loop !11 188: ; preds = %169 store i32 0, ptr %13, align 4 br label %189 189: ; preds = %365, %188 %190 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %191 = load ptr, ptr %10, align 8 %192 = call i64 @fgets(ptr noundef %190, i32 noundef 1023, ptr noundef %191) %193 = icmp ne i64 %192, 0 br i1 %193, label %194, label %198 194: ; preds = %189 %195 = load i32, ptr %13, align 4 %196 = load i32, ptr %15, align 4 %197 = icmp slt i32 %195, %196 br label %198 198: ; preds = %194, %189 %199 = phi i1 [ false, %189 ], [ %197, %194 ] br i1 %199, label %200, label %368 200: ; preds = %198 %201 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 store ptr %201, ptr %12, align 8 br label %202 202: ; preds = %219, %200 %203 = load ptr, ptr %12, align 8 %204 = load i8, ptr %203, align 1 %205 = sext i8 %204 to i32 %206 = icmp eq i32 %205, 32 br i1 %206, label %217, label %207 207: ; preds = %202 %208 = load ptr, ptr %12, align 8 %209 = load i8, ptr %208, align 1 %210 = sext i8 %209 to i32 %211 = icmp eq i32 %210, 9 br i1 %211, label %217, label %212 212: ; preds = %207 %213 = load ptr, ptr %12, align 8 %214 = load i8, ptr %213, align 1 %215 = sext i8 %214 to i32 %216 = icmp eq i32 %215, 10 br label %217 217: ; preds = %212, %207, %202 %218 = phi i1 [ true, %207 ], [ true, %202 ], [ %216, %212 ] br i1 %218, label %219, label %222 219: ; preds = %217 %220 = load ptr, ptr %12, align 8 %221 = getelementptr inbounds i8, ptr %220, i32 1 store ptr %221, ptr %12, align 8 br label %202, !llvm.loop !12 222: ; preds = %217 %223 = load ptr, ptr %12, align 8 %224 = icmp ne ptr %223, null br i1 %224, label %225, label %261 225: ; preds = %222 %226 = load ptr, ptr %6, align 8 %227 = load ptr, ptr %12, align 8 %228 = load i8, ptr %227, align 1 %229 = sext i8 %228 to i64 %230 = getelementptr inbounds i32, ptr %226, i64 %229 %231 = load i32, ptr %230, align 4 %232 = load i32, ptr %13, align 4 %233 = sext i32 %232 to i64 %234 = getelementptr inbounds [128 x i32], ptr %17, i64 0, i64 %233 %235 = load i32, ptr %234, align 4 %236 = icmp eq i32 %231, %235 br i1 %236, label %237, label %261 237: ; preds = %225 %238 = load ptr, ptr %12, align 8 %239 = getelementptr inbounds i8, ptr %238, i32 1 store ptr %239, ptr %12, align 8 br label %240 240: ; preds = %257, %237 %241 = load ptr, ptr %12, align 8 %242 = load i8, ptr %241, align 1 %243 = sext i8 %242 to i32 %244 = icmp eq i32 %243, 32 br i1 %244, label %255, label %245 245: ; preds = %240 %246 = load ptr, ptr %12, align 8 %247 = load i8, ptr %246, align 1 %248 = sext i8 %247 to i32 %249 = icmp eq i32 %248, 9 br i1 %249, label %255, label %250 250: ; preds = %245 %251 = load ptr, ptr %12, align 8 %252 = load i8, ptr %251, align 1 %253 = sext i8 %252 to i32 %254 = icmp eq i32 %253, 10 br label %255 255: ; preds = %250, %245, %240 %256 = phi i1 [ true, %245 ], [ true, %240 ], [ %254, %250 ] br i1 %256, label %257, label %260 257: ; preds = %255 %258 = load ptr, ptr %12, align 8 %259 = getelementptr inbounds i8, ptr %258, i32 1 store ptr %259, ptr %12, align 8 br label %240, !llvm.loop !13 260: ; preds = %255 br label %261 261: ; preds = %260, %225, %222 store i32 0, ptr %14, align 4 br label %262 262: ; preds = %351, %261 %263 = load ptr, ptr %12, align 8 %264 = load i8, ptr %263, align 1 %265 = sext i8 %264 to i32 %266 = icmp ne i32 %265, 0 br i1 %266, label %267, label %270 267: ; preds = %262 %268 = load i32, ptr %14, align 4 %269 = icmp slt i32 %268, 128 br label %270 270: ; preds = %267, %262 %271 = phi i1 [ false, %262 ], [ %269, %267 ] br i1 %271, label %272, label %354 272: ; preds = %270 %273 = load i32, ptr %13, align 4 %274 = sext i32 %273 to i64 %275 = getelementptr inbounds [128 x i32], ptr %17, i64 0, i64 %274 %276 = load i32, ptr %275, align 4 %277 = icmp sge i32 %276, 0 br i1 %277, label %278, label %302 278: ; preds = %272 %279 = load i32, ptr %14, align 4 %280 = sext i32 %279 to i64 %281 = getelementptr inbounds [128 x i32], ptr %17, i64 0, i64 %280 %282 = load i32, ptr %281, align 4 %283 = icmp sge i32 %282, 0 br i1 %283, label %284, label %302 284: ; preds = %278 %285 = load ptr, ptr %12, align 8 %286 = call i32 @atoi(ptr noundef %285) %287 = load ptr, ptr %7, align 8 %288 = load ptr, ptr %287, align 8 %289 = load i32, ptr %13, align 4 %290 = sext i32 %289 to i64 %291 = getelementptr inbounds [128 x i32], ptr %17, i64 0, i64 %290 %292 = load i32, ptr %291, align 4 %293 = sext i32 %292 to i64 %294 = getelementptr inbounds ptr, ptr %288, i64 %293 %295 = load ptr, ptr %294, align 8 %296 = load i32, ptr %14, align 4 %297 = sext i32 %296 to i64 %298 = getelementptr inbounds [128 x i32], ptr %17, i64 0, i64 %297 %299 = load i32, ptr %298, align 4 %300 = sext i32 %299 to i64 %301 = getelementptr inbounds i32, ptr %295, i64 %300 store i32 %286, ptr %301, align 4 br label %302 302: ; preds = %284, %278, %272 %303 = load ptr, ptr %12, align 8 %304 = load i8, ptr %303, align 1 %305 = sext i8 %304 to i32 %306 = icmp eq i32 %305, 45 br i1 %306, label %307, label %310 307: ; preds = %302 %308 = load ptr, ptr %12, align 8 %309 = getelementptr inbounds i8, ptr %308, i32 1 store ptr %309, ptr %12, align 8 br label %310 310: ; preds = %307, %302 br label %311 311: ; preds = %326, %310 %312 = load ptr, ptr %12, align 8 %313 = icmp ne ptr %312, null br i1 %313, label %314, label %324 314: ; preds = %311 %315 = load ptr, ptr %12, align 8 %316 = load i8, ptr %315, align 1 %317 = sext i8 %316 to i32 %318 = icmp sge i32 %317, 48 br i1 %318, label %319, label %324 319: ; preds = %314 %320 = load ptr, ptr %12, align 8 %321 = load i8, ptr %320, align 1 %322 = sext i8 %321 to i32 %323 = icmp sle i32 %322, 57 br label %324 324: ; preds = %319, %314, %311 %325 = phi i1 [ false, %314 ], [ false, %311 ], [ %323, %319 ] br i1 %325, label %326, label %329 326: ; preds = %324 %327 = load ptr, ptr %12, align 8 %328 = getelementptr inbounds i8, ptr %327, i32 1 store ptr %328, ptr %12, align 8 br label %311, !llvm.loop !14 329: ; preds = %324 br label %330 330: ; preds = %347, %329 %331 = load ptr, ptr %12, align 8 %332 = load i8, ptr %331, align 1 %333 = sext i8 %332 to i32 %334 = icmp eq i32 %333, 32 br i1 %334, label %345, label %335 335: ; preds = %330 %336 = load ptr, ptr %12, align 8 %337 = load i8, ptr %336, align 1 %338 = sext i8 %337 to i32 %339 = icmp eq i32 %338, 9 br i1 %339, label %345, label %340 340: ; preds = %335 %341 = load ptr, ptr %12, align 8 %342 = load i8, ptr %341, align 1 %343 = sext i8 %342 to i32 %344 = icmp eq i32 %343, 10 br label %345 345: ; preds = %340, %335, %330 %346 = phi i1 [ true, %335 ], [ true, %330 ], [ %344, %340 ] br i1 %346, label %347, label %350 347: ; preds = %345 %348 = load ptr, ptr %12, align 8 %349 = getelementptr inbounds i8, ptr %348, i32 1 store ptr %349, ptr %12, align 8 br label %330, !llvm.loop !15 350: ; preds = %345 br label %351 351: ; preds = %350 %352 = load i32, ptr %14, align 4 %353 = add nsw i32 %352, 1 store i32 %353, ptr %14, align 4 br label %262, !llvm.loop !16 354: ; preds = %270 %355 = load i32, ptr %14, align 4 %356 = load i32, ptr %15, align 4 %357 = icmp ne i32 %355, %356 br i1 %357, label %358, label %364 358: ; preds = %354 %359 = load i32, ptr @stderr, align 4 %360 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %361 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %359, ptr noundef @.str.5, ptr noundef %360) %362 = load ptr, ptr %10, align 8 %363 = call i32 @fclose(ptr noundef %362) store i32 0, ptr %4, align 4 br label %371 364: ; preds = %354 br label %365 365: ; preds = %364 %366 = load i32, ptr %13, align 4 %367 = add nsw i32 %366, 1 store i32 %367, ptr %13, align 4 br label %189, !llvm.loop !17 368: ; preds = %198 %369 = load ptr, ptr %10, align 8 %370 = call i32 @fclose(ptr noundef %369) store i32 1, ptr %4, align 4 br label %371 371: ; preds = %368, %358, %111, %42 %372 = load i32, ptr %4, align 4 ret i32 %372 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare ptr @getenv(ptr noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare i32 @strcat(ptr noundef, ptr noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #2 declare i32 @feof(ptr noundef) #2 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 declare i64 @messalloc(i32 noundef) #2 declare i32 @atoi(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpftfb0h6g.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 [9 x i8] c"BLASTMAT\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"/nfs/disk100/pubseq/blastdb/\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [46 x i8] c"ERROR in readMatrix: could not open %s or %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [40 x i8] c"ERROR in readMatrix: illegal symbol %c\0A\00", align 1 @.str.5 = private unnamed_addr constant [35 x i8] c"ERROR in readMatrix: bad line: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @readMatrix(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca [256 x i8], align 16 %9 = alloca [512 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca [1024 x i8], align 16 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca [128 x i32], align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 1024, i1 false) %18 = getelementptr inbounds [1024 x i8], ptr %11, i32 0, i32 0 store i8 35, ptr %18, align 16 store i32 0, ptr %16, align 4 %19 = call ptr @getenv(ptr noundef @.str) %20 = icmp ne ptr %19, null br i1 %20, label %21, label %25 21: ; preds = %3 %22 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %23 = call ptr @getenv(ptr noundef @.str) %24 = call i32 @strcpy(ptr noundef %22, ptr noundef %23) br label %28 25: ; preds = %3 %26 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %27 = call i32 @strcpy(ptr noundef %26, ptr noundef @.str.1) br label %28 28: ; preds = %25, %21 %29 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %30 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %31 = call i32 @strcpy(ptr noundef %29, ptr noundef %30) %32 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %33 = load ptr, ptr %5, align 8 %34 = call i32 @strcat(ptr noundef %32, ptr noundef %33) %35 = load ptr, ptr %5, align 8 %36 = call ptr @fopen(ptr noundef %35, ptr noundef @.str.2) store ptr %36, ptr %10, align 8 %37 = icmp ne ptr %36, null br i1 %37, label %47, label %38 38: ; preds = %28 %39 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %40 = call ptr @fopen(ptr noundef %39, ptr noundef @.str.2) store ptr %40, ptr %10, align 8 %41 = icmp ne ptr %40, null br i1 %41, label %47, label %42 42: ; preds = %38 %43 = load i32, ptr @stderr, align 4 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %46 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.3, ptr noundef %44, ptr noundef %45) store i32 0, ptr %4, align 4 br label %373 47: ; preds = %38, %28 br label %48 48: ; preds = %59, %47 %49 = load ptr, ptr %10, align 8 %50 = call i32 @feof(ptr noundef %49) %51 = icmp ne i32 %50, 0 br i1 %51, label %57, label %52 52: ; preds = %48 %53 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %54 = load i8, ptr %53, align 16 %55 = sext i8 %54 to i32 %56 = icmp eq i32 %55, 35 br label %57 57: ; preds = %52, %48 %58 = phi i1 [ false, %48 ], [ %56, %52 ] br i1 %58, label %59, label %63 59: ; preds = %57 %60 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %61 = load ptr, ptr %10, align 8 %62 = call i64 @fgets(ptr noundef %60, i32 noundef 1023, ptr noundef %61) br label %48, !llvm.loop !6 63: ; preds = %57 %64 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 store ptr %64, ptr %12, align 8 br label %65 65: ; preds = %82, %63 %66 = load ptr, ptr %12, align 8 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = icmp eq i32 %68, 32 br i1 %69, label %80, label %70 70: ; preds = %65 %71 = load ptr, ptr %12, align 8 %72 = load i8, ptr %71, align 1 %73 = sext i8 %72 to i32 %74 = icmp eq i32 %73, 9 br i1 %74, label %80, label %75 75: ; preds = %70 %76 = load ptr, ptr %12, align 8 %77 = load i8, ptr %76, align 1 %78 = sext i8 %77 to i32 %79 = icmp eq i32 %78, 10 br label %80 80: ; preds = %75, %70, %65 %81 = phi i1 [ true, %70 ], [ true, %65 ], [ %79, %75 ] br i1 %81, label %82, label %85 82: ; preds = %80 %83 = load ptr, ptr %12, align 8 %84 = getelementptr inbounds i8, ptr %83, i32 1 store ptr %84, ptr %12, align 8 br label %65, !llvm.loop !8 85: ; preds = %80 store i32 0, ptr %13, align 4 br label %86 86: ; preds = %155, %85 %87 = load ptr, ptr %12, align 8 %88 = load i8, ptr %87, align 1 %89 = sext i8 %88 to i32 %90 = icmp ne i32 %89, 0 br i1 %90, label %91, label %94 91: ; preds = %86 %92 = load i32, ptr %13, align 4 %93 = icmp slt i32 %92, 128 br label %94 94: ; preds = %91, %86 %95 = phi i1 [ false, %86 ], [ %93, %91 ] br i1 %95, label %96, label %158 96: ; preds = %94 %97 = load ptr, ptr %6, align 8 %98 = load ptr, ptr %12, align 8 %99 = load i8, ptr %98, align 1 %100 = sext i8 %99 to i64 %101 = getelementptr inbounds i32, ptr %97, i64 %100 %102 = load i32, ptr %101, align 4 %103 = load i32, ptr %13, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds [128 x i32], ptr %17, i64 0, i64 %104 store i32 %102, ptr %105, align 4 %106 = load i32, ptr %13, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds [128 x i32], ptr %17, i64 0, i64 %107 %109 = load i32, ptr %108, align 4 %110 = icmp slt i32 %109, -2 br i1 %110, label %111, label %119 111: ; preds = %96 %112 = load i32, ptr @stderr, align 4 %113 = load ptr, ptr %12, align 8 %114 = load i8, ptr %113, align 1 %115 = sext i8 %114 to i32 %116 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %112, ptr noundef @.str.4, i32 noundef %115) %117 = load ptr, ptr %10, align 8 %118 = call i32 @fclose(ptr noundef %117) store i32 0, ptr %4, align 4 br label %373 119: ; preds = %96 %120 = load i32, ptr %13, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds [128 x i32], ptr %17, i64 0, i64 %121 %123 = load i32, ptr %122, align 4 %124 = load i32, ptr %16, align 4 %125 = icmp sgt i32 %123, %124 br i1 %125, label %126, label %131 126: ; preds = %119 %127 = load i32, ptr %13, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds [128 x i32], ptr %17, i64 0, i64 %128 %130 = load i32, ptr %129, align 4 store i32 %130, ptr %16, align 4 br label %131 131: ; preds = %126, %119 %132 = load ptr, ptr %12, align 8 %133 = getelementptr inbounds i8, ptr %132, i32 1 store ptr %133, ptr %12, align 8 br label %134 134: ; preds = %151, %131 %135 = load ptr, ptr %12, align 8 %136 = load i8, ptr %135, align 1 %137 = sext i8 %136 to i32 %138 = icmp eq i32 %137, 32 br i1 %138, label %149, label %139 139: ; preds = %134 %140 = load ptr, ptr %12, align 8 %141 = load i8, ptr %140, align 1 %142 = sext i8 %141 to i32 %143 = icmp eq i32 %142, 9 br i1 %143, label %149, label %144 144: ; preds = %139 %145 = load ptr, ptr %12, align 8 %146 = load i8, ptr %145, align 1 %147 = sext i8 %146 to i32 %148 = icmp eq i32 %147, 10 br label %149 149: ; preds = %144, %139, %134 %150 = phi i1 [ true, %139 ], [ true, %134 ], [ %148, %144 ] br i1 %150, label %151, label %154 151: ; preds = %149 %152 = load ptr, ptr %12, align 8 %153 = getelementptr inbounds i8, ptr %152, i32 1 store ptr %153, ptr %12, align 8 br label %134, !llvm.loop !9 154: ; preds = %149 br label %155 155: ; preds = %154 %156 = load i32, ptr %13, align 4 %157 = add nsw i32 %156, 1 store i32 %157, ptr %13, align 4 br label %86, !llvm.loop !10 158: ; preds = %94 %159 = load i32, ptr %13, align 4 store i32 %159, ptr %15, align 4 %160 = load i32, ptr %16, align 4 %161 = add nsw i32 %160, 1 store i32 %161, ptr %16, align 4 %162 = load i32, ptr %16, align 4 %163 = sext i32 %162 to i64 %164 = mul i64 %163, 8 %165 = trunc i64 %164 to i32 %166 = call i64 @messalloc(i32 noundef %165) %167 = inttoptr i64 %166 to ptr %168 = load ptr, ptr %7, align 8 store ptr %167, ptr %168, align 8 store i32 0, ptr %13, align 4 %169 = load i32, ptr %13, align 4 %170 = load i32, ptr %16, align 4 %171 = icmp slt i32 %169, %170 br i1 %171, label %.lr.ph, label %190 .lr.ph: ; preds = %158 br label %172 172: ; preds = %.lr.ph, %184 %173 = load i32, ptr %16, align 4 %174 = sext i32 %173 to i64 %175 = mul i64 %174, 4 %176 = trunc i64 %175 to i32 %177 = call i64 @messalloc(i32 noundef %176) %178 = inttoptr i64 %177 to ptr %179 = load ptr, ptr %7, align 8 %180 = load ptr, ptr %179, align 8 %181 = load i32, ptr %13, align 4 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds ptr, ptr %180, i64 %182 store ptr %178, ptr %183, align 8 br label %184 184: ; preds = %172 %185 = load i32, ptr %13, align 4 %186 = add nsw i32 %185, 1 store i32 %186, ptr %13, align 4 %187 = load i32, ptr %13, align 4 %188 = load i32, ptr %16, align 4 %189 = icmp slt i32 %187, %188 br i1 %189, label %172, label %._crit_edge, !llvm.loop !11 ._crit_edge: ; preds = %184 br label %190 190: ; preds = %._crit_edge, %158 store i32 0, ptr %13, align 4 br label %191 191: ; preds = %367, %190 %192 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %193 = load ptr, ptr %10, align 8 %194 = call i64 @fgets(ptr noundef %192, i32 noundef 1023, ptr noundef %193) %195 = icmp ne i64 %194, 0 br i1 %195, label %196, label %200 196: ; preds = %191 %197 = load i32, ptr %13, align 4 %198 = load i32, ptr %15, align 4 %199 = icmp slt i32 %197, %198 br label %200 200: ; preds = %196, %191 %201 = phi i1 [ false, %191 ], [ %199, %196 ] br i1 %201, label %202, label %370 202: ; preds = %200 %203 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 store ptr %203, ptr %12, align 8 br label %204 204: ; preds = %221, %202 %205 = load ptr, ptr %12, align 8 %206 = load i8, ptr %205, align 1 %207 = sext i8 %206 to i32 %208 = icmp eq i32 %207, 32 br i1 %208, label %219, label %209 209: ; preds = %204 %210 = load ptr, ptr %12, align 8 %211 = load i8, ptr %210, align 1 %212 = sext i8 %211 to i32 %213 = icmp eq i32 %212, 9 br i1 %213, label %219, label %214 214: ; preds = %209 %215 = load ptr, ptr %12, align 8 %216 = load i8, ptr %215, align 1 %217 = sext i8 %216 to i32 %218 = icmp eq i32 %217, 10 br label %219 219: ; preds = %214, %209, %204 %220 = phi i1 [ true, %209 ], [ true, %204 ], [ %218, %214 ] br i1 %220, label %221, label %224 221: ; preds = %219 %222 = load ptr, ptr %12, align 8 %223 = getelementptr inbounds i8, ptr %222, i32 1 store ptr %223, ptr %12, align 8 br label %204, !llvm.loop !12 224: ; preds = %219 %225 = load ptr, ptr %12, align 8 %226 = icmp ne ptr %225, null br i1 %226, label %227, label %263 227: ; preds = %224 %228 = load ptr, ptr %6, align 8 %229 = load ptr, ptr %12, align 8 %230 = load i8, ptr %229, align 1 %231 = sext i8 %230 to i64 %232 = getelementptr inbounds i32, ptr %228, i64 %231 %233 = load i32, ptr %232, align 4 %234 = load i32, ptr %13, align 4 %235 = sext i32 %234 to i64 %236 = getelementptr inbounds [128 x i32], ptr %17, i64 0, i64 %235 %237 = load i32, ptr %236, align 4 %238 = icmp eq i32 %233, %237 br i1 %238, label %239, label %263 239: ; preds = %227 %240 = load ptr, ptr %12, align 8 %241 = getelementptr inbounds i8, ptr %240, i32 1 store ptr %241, ptr %12, align 8 br label %242 242: ; preds = %259, %239 %243 = load ptr, ptr %12, align 8 %244 = load i8, ptr %243, align 1 %245 = sext i8 %244 to i32 %246 = icmp eq i32 %245, 32 br i1 %246, label %257, label %247 247: ; preds = %242 %248 = load ptr, ptr %12, align 8 %249 = load i8, ptr %248, align 1 %250 = sext i8 %249 to i32 %251 = icmp eq i32 %250, 9 br i1 %251, label %257, label %252 252: ; preds = %247 %253 = load ptr, ptr %12, align 8 %254 = load i8, ptr %253, align 1 %255 = sext i8 %254 to i32 %256 = icmp eq i32 %255, 10 br label %257 257: ; preds = %252, %247, %242 %258 = phi i1 [ true, %247 ], [ true, %242 ], [ %256, %252 ] br i1 %258, label %259, label %262 259: ; preds = %257 %260 = load ptr, ptr %12, align 8 %261 = getelementptr inbounds i8, ptr %260, i32 1 store ptr %261, ptr %12, align 8 br label %242, !llvm.loop !13 262: ; preds = %257 br label %263 263: ; preds = %262, %227, %224 store i32 0, ptr %14, align 4 br label %264 264: ; preds = %353, %263 %265 = load ptr, ptr %12, align 8 %266 = load i8, ptr %265, align 1 %267 = sext i8 %266 to i32 %268 = icmp ne i32 %267, 0 br i1 %268, label %269, label %272 269: ; preds = %264 %270 = load i32, ptr %14, align 4 %271 = icmp slt i32 %270, 128 br label %272 272: ; preds = %269, %264 %273 = phi i1 [ false, %264 ], [ %271, %269 ] br i1 %273, label %274, label %356 274: ; preds = %272 %275 = load i32, ptr %13, align 4 %276 = sext i32 %275 to i64 %277 = getelementptr inbounds [128 x i32], ptr %17, i64 0, i64 %276 %278 = load i32, ptr %277, align 4 %279 = icmp sge i32 %278, 0 br i1 %279, label %280, label %304 280: ; preds = %274 %281 = load i32, ptr %14, align 4 %282 = sext i32 %281 to i64 %283 = getelementptr inbounds [128 x i32], ptr %17, i64 0, i64 %282 %284 = load i32, ptr %283, align 4 %285 = icmp sge i32 %284, 0 br i1 %285, label %286, label %304 286: ; preds = %280 %287 = load ptr, ptr %12, align 8 %288 = call i32 @atoi(ptr noundef %287) %289 = load ptr, ptr %7, align 8 %290 = load ptr, ptr %289, align 8 %291 = load i32, ptr %13, align 4 %292 = sext i32 %291 to i64 %293 = getelementptr inbounds [128 x i32], ptr %17, i64 0, i64 %292 %294 = load i32, ptr %293, align 4 %295 = sext i32 %294 to i64 %296 = getelementptr inbounds ptr, ptr %290, i64 %295 %297 = load ptr, ptr %296, align 8 %298 = load i32, ptr %14, align 4 %299 = sext i32 %298 to i64 %300 = getelementptr inbounds [128 x i32], ptr %17, i64 0, i64 %299 %301 = load i32, ptr %300, align 4 %302 = sext i32 %301 to i64 %303 = getelementptr inbounds i32, ptr %297, i64 %302 store i32 %288, ptr %303, align 4 br label %304 304: ; preds = %286, %280, %274 %305 = load ptr, ptr %12, align 8 %306 = load i8, ptr %305, align 1 %307 = sext i8 %306 to i32 %308 = icmp eq i32 %307, 45 br i1 %308, label %309, label %312 309: ; preds = %304 %310 = load ptr, ptr %12, align 8 %311 = getelementptr inbounds i8, ptr %310, i32 1 store ptr %311, ptr %12, align 8 br label %312 312: ; preds = %309, %304 br label %313 313: ; preds = %328, %312 %314 = load ptr, ptr %12, align 8 %315 = icmp ne ptr %314, null br i1 %315, label %316, label %326 316: ; preds = %313 %317 = load ptr, ptr %12, align 8 %318 = load i8, ptr %317, align 1 %319 = sext i8 %318 to i32 %320 = icmp sge i32 %319, 48 br i1 %320, label %321, label %326 321: ; preds = %316 %322 = load ptr, ptr %12, align 8 %323 = load i8, ptr %322, align 1 %324 = sext i8 %323 to i32 %325 = icmp sle i32 %324, 57 br label %326 326: ; preds = %321, %316, %313 %327 = phi i1 [ false, %316 ], [ false, %313 ], [ %325, %321 ] br i1 %327, label %328, label %331 328: ; preds = %326 %329 = load ptr, ptr %12, align 8 %330 = getelementptr inbounds i8, ptr %329, i32 1 store ptr %330, ptr %12, align 8 br label %313, !llvm.loop !14 331: ; preds = %326 br label %332 332: ; preds = %349, %331 %333 = load ptr, ptr %12, align 8 %334 = load i8, ptr %333, align 1 %335 = sext i8 %334 to i32 %336 = icmp eq i32 %335, 32 br i1 %336, label %347, label %337 337: ; preds = %332 %338 = load ptr, ptr %12, align 8 %339 = load i8, ptr %338, align 1 %340 = sext i8 %339 to i32 %341 = icmp eq i32 %340, 9 br i1 %341, label %347, label %342 342: ; preds = %337 %343 = load ptr, ptr %12, align 8 %344 = load i8, ptr %343, align 1 %345 = sext i8 %344 to i32 %346 = icmp eq i32 %345, 10 br label %347 347: ; preds = %342, %337, %332 %348 = phi i1 [ true, %337 ], [ true, %332 ], [ %346, %342 ] br i1 %348, label %349, label %352 349: ; preds = %347 %350 = load ptr, ptr %12, align 8 %351 = getelementptr inbounds i8, ptr %350, i32 1 store ptr %351, ptr %12, align 8 br label %332, !llvm.loop !15 352: ; preds = %347 br label %353 353: ; preds = %352 %354 = load i32, ptr %14, align 4 %355 = add nsw i32 %354, 1 store i32 %355, ptr %14, align 4 br label %264, !llvm.loop !16 356: ; preds = %272 %357 = load i32, ptr %14, align 4 %358 = load i32, ptr %15, align 4 %359 = icmp ne i32 %357, %358 br i1 %359, label %360, label %366 360: ; preds = %356 %361 = load i32, ptr @stderr, align 4 %362 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %363 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %361, ptr noundef @.str.5, ptr noundef %362) %364 = load ptr, ptr %10, align 8 %365 = call i32 @fclose(ptr noundef %364) store i32 0, ptr %4, align 4 br label %373 366: ; preds = %356 br label %367 367: ; preds = %366 %368 = load i32, ptr %13, align 4 %369 = add nsw i32 %368, 1 store i32 %369, ptr %13, align 4 br label %191, !llvm.loop !17 370: ; preds = %200 %371 = load ptr, ptr %10, align 8 %372 = call i32 @fclose(ptr noundef %371) store i32 1, ptr %4, align 4 br label %373 373: ; preds = %370, %360, %111, %42 %374 = load i32, ptr %4, align 4 ret i32 %374 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare ptr @getenv(ptr noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare i32 @strcat(ptr noundef, ptr noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #2 declare i32 @feof(ptr noundef) #2 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 declare i64 @messalloc(i32 noundef) #2 declare i32 @atoi(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7}
; ModuleID = '/tmp/tmp8kg7mp89.c' source_filename = "/tmp/tmp8kg7mp89.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/tmp8kg7mp89.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/tmps_y9nfft.c' source_filename = "/tmp/tmps_y9nfft.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.grid = private unnamed_addr constant [3 x [3 x i32]] [[3 x i32] [i32 1, i32 1, i32 1], [3 x i32] [i32 1, i32 0, i32 1], [3 x i32] [i32 1, i32 1, i32 1]], align 16 @.str = private unnamed_addr constant [8 x i8] c"len %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x [3 x i32]], align 16 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = 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.grid, i64 36, i1 false) %6 = call i64 @malloc(i32 noundef 24) %7 = inttoptr i64 %6 to ptr store ptr %7, ptr %3, align 8 %8 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 0 %9 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 0 %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 0 store ptr %9, ptr %11, align 8 %12 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 1 %13 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 0 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 store ptr %13, ptr %15, align 8 %16 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 2 %17 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 0 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 2 store ptr %17, ptr %19, align 8 store i32 3, ptr %4, align 4 %20 = load ptr, ptr %3, align 8 %21 = call i32 @largest1BorderedSquare(ptr noundef %20, i32 noundef 3, ptr noundef %4) store i32 %21, ptr %5, align 4 %22 = load i32, ptr %5, align 4 %23 = call i32 @printf(ptr noundef @.str, i32 noundef %22) 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 i64 @malloc(i32 noundef) #2 declare i32 @largest1BorderedSquare(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @printf(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps_y9nfft.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.grid = private unnamed_addr constant [3 x [3 x i32]] [[3 x i32] [i32 1, i32 1, i32 1], [3 x i32] [i32 1, i32 0, i32 1], [3 x i32] [i32 1, i32 1, i32 1]], align 16 @.str = private unnamed_addr constant [8 x i8] c"len %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x [3 x i32]], align 16 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = 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.grid, i64 36, i1 false) %6 = call i64 @malloc(i32 noundef 24) %7 = inttoptr i64 %6 to ptr store ptr %7, ptr %3, align 8 %8 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 0 %9 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 0 %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 0 store ptr %9, ptr %11, align 8 %12 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 1 %13 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 0 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 store ptr %13, ptr %15, align 8 %16 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 2 %17 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 0 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 2 store ptr %17, ptr %19, align 8 store i32 3, ptr %4, align 4 %20 = load ptr, ptr %3, align 8 %21 = call i32 @largest1BorderedSquare(ptr noundef %20, i32 noundef 3, ptr noundef %4) store i32 %21, ptr %5, align 4 %22 = load i32, ptr %5, align 4 %23 = call i32 @printf(ptr noundef @.str, i32 noundef %22) 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 i64 @malloc(i32 noundef) #2 declare i32 @largest1BorderedSquare(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @printf(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"}
; ModuleID = '/tmp/tmpzpozdz_6.c' source_filename = "/tmp/tmpzpozdz_6.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 @falcom_EncodeData(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %13 = load i64, ptr %8, align 8 %14 = sdiv i64 %13, 65520 %15 = trunc i64 %14 to i32 store i32 %15, ptr %11, align 4 %16 = load i64, ptr %8, align 8 %17 = srem i64 %16, 65520 %18 = trunc i64 %17 to i32 store i32 %18, ptr %12, align 4 %19 = load i32, ptr %12, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %4 %22 = load i32, ptr %11, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %11, align 4 br label %24 24: ; preds = %21, %4 store i64 0, ptr %9, align 8 store i32 0, ptr %10, align 4 br label %25 25: ; preds = %64, %24 %26 = load i32, ptr %10, align 4 %27 = load i32, ptr %11, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %29, label %67 29: ; preds = %25 store i64 65520, ptr %8, align 8 %30 = load i32, ptr %12, align 4 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %40 32: ; preds = %29 %33 = load i32, ptr %10, align 4 %34 = add nsw i32 %33, 1 %35 = load i32, ptr %11, align 4 %36 = icmp eq i32 %34, %35 br i1 %36, label %37, label %40 37: ; preds = %32 %38 = load i32, ptr %12, align 4 %39 = sext i32 %38 to i64 store i64 %39, ptr %8, align 8 br label %40 40: ; preds = %37, %32, %29 %41 = load ptr, ptr %5, align 8 %42 = load i64, ptr %9, align 8 %43 = getelementptr inbounds i8, ptr %41, i64 %42 %44 = load i64, ptr %6, align 8 %45 = load i64, ptr %9, align 8 %46 = sub nsw i64 %44, %45 %47 = load ptr, ptr %7, align 8 %48 = load i64, ptr %8, align 8 %49 = load i32, ptr %11, align 4 %50 = load i32, ptr %10, align 4 %51 = sub nsw i32 %49, %50 %52 = sub nsw i32 %51, 1 %53 = call i64 @falcom_EncodeDataBlock(ptr noundef %43, i64 noundef %46, ptr noundef %47, i64 noundef %48, i32 noundef %52) %54 = load i64, ptr %9, align 8 %55 = add nsw i64 %54, %53 store i64 %55, ptr %9, align 8 %56 = load i64, ptr %8, align 8 %57 = load ptr, ptr %7, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 %56 store ptr %58, ptr %7, align 8 %59 = load i64, ptr %9, align 8 %60 = load i64, ptr %6, align 8 %61 = icmp sgt i64 %59, %60 br i1 %61, label %62, label %63 62: ; preds = %40 br label %67 63: ; preds = %40 br label %64 64: ; preds = %63 %65 = load i32, ptr %10, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %10, align 4 br label %25, !llvm.loop !6 67: ; preds = %62, %25 %68 = load i64, ptr %9, align 8 ret i64 %68 } declare i64 @falcom_EncodeDataBlock(ptr noundef, i64 noundef, ptr noundef, i64 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/tmpzpozdz_6.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 @falcom_EncodeData(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %13 = load i64, ptr %8, align 8 %14 = sdiv i64 %13, 65520 %15 = trunc i64 %14 to i32 store i32 %15, ptr %11, align 4 %16 = load i64, ptr %8, align 8 %17 = srem i64 %16, 65520 %18 = trunc i64 %17 to i32 store i32 %18, ptr %12, align 4 %19 = load i32, ptr %12, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %4 %22 = load i32, ptr %11, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %11, align 4 br label %24 24: ; preds = %21, %4 store i64 0, ptr %9, align 8 store i32 0, ptr %10, align 4 %25 = load i32, ptr %10, align 4 %26 = load i32, ptr %11, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %24 br label %28 28: ; preds = %.lr.ph, %63 store i64 65520, ptr %8, align 8 %29 = load i32, ptr %12, align 4 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %39 31: ; preds = %28 %32 = load i32, ptr %10, align 4 %33 = add nsw i32 %32, 1 %34 = load i32, ptr %11, align 4 %35 = icmp eq i32 %33, %34 br i1 %35, label %36, label %39 36: ; preds = %31 %37 = load i32, ptr %12, align 4 %38 = sext i32 %37 to i64 store i64 %38, ptr %8, align 8 br label %39 39: ; preds = %36, %31, %28 %40 = load ptr, ptr %5, align 8 %41 = load i64, ptr %9, align 8 %42 = getelementptr inbounds i8, ptr %40, i64 %41 %43 = load i64, ptr %6, align 8 %44 = load i64, ptr %9, align 8 %45 = sub nsw i64 %43, %44 %46 = load ptr, ptr %7, align 8 %47 = load i64, ptr %8, align 8 %48 = load i32, ptr %11, align 4 %49 = load i32, ptr %10, align 4 %50 = sub nsw i32 %48, %49 %51 = sub nsw i32 %50, 1 %52 = call i64 @falcom_EncodeDataBlock(ptr noundef %42, i64 noundef %45, ptr noundef %46, i64 noundef %47, i32 noundef %51) %53 = load i64, ptr %9, align 8 %54 = add nsw i64 %53, %52 store i64 %54, ptr %9, align 8 %55 = load i64, ptr %8, align 8 %56 = load ptr, ptr %7, align 8 %57 = getelementptr inbounds i8, ptr %56, i64 %55 store ptr %57, ptr %7, align 8 %58 = load i64, ptr %9, align 8 %59 = load i64, ptr %6, align 8 %60 = icmp sgt i64 %58, %59 br i1 %60, label %61, label %62 61: ; preds = %39 br label %69 62: ; preds = %39 br label %63 63: ; preds = %62 %64 = load i32, ptr %10, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %10, align 4 %66 = load i32, ptr %10, align 4 %67 = load i32, ptr %11, align 4 %68 = icmp slt i32 %66, %67 br i1 %68, label %28, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %63 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %24 br label %69 69: ; preds = %.loopexit, %61 %70 = load i64, ptr %9, align 8 ret i64 %70 } declare i64 @falcom_EncodeDataBlock(ptr noundef, i64 noundef, ptr noundef, i64 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/tmpbxls7dhs.c' source_filename = "/tmp/tmpbxls7dhs.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 [14 x i8] c" %d %d %d %d \00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"Ok =/\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"Ufa :)\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 %10 = alloca i32, align 4 %11 = alloca [1010 x i8], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 %12 = call i32 @scanf(ptr noundef @.str, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) %13 = getelementptr inbounds [1010 x i8], ptr %11, i64 0, i64 0 %14 = call i32 @gets(ptr noundef %13) %15 = getelementptr inbounds [1010 x i8], ptr %11, i64 0, i64 0 %16 = call i32 @strlen(ptr noundef %15) store i32 %16, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp sge i32 %17, %18 br i1 %19, label %20, label %61 20: ; preds = %0 br label %21 21: ; preds = %57, %20 %22 = load i32, ptr %2, align 4 %23 = load i32, ptr %3, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %60 25: ; preds = %21 %26 = load i32, ptr %2, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [1010 x i8], ptr %11, i64 0, i64 %27 %29 = load i8, ptr %28, align 1 %30 = call i64 @isdigit(i8 noundef signext %29) %31 = icmp ne i64 %30, 0 br i1 %31, label %32, label %35 32: ; preds = %25 %33 = load i32, ptr %10, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %10, align 4 br label %57 35: ; preds = %25 %36 = load i32, ptr %2, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [1010 x i8], ptr %11, i64 0, i64 %37 %39 = load i8, ptr %38, align 1 %40 = call i64 @islower(i8 noundef signext %39) %41 = icmp ne i64 %40, 0 br i1 %41, label %42, label %45 42: ; preds = %35 %43 = load i32, ptr %8, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %8, align 4 br label %56 45: ; preds = %35 %46 = load i32, ptr %2, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [1010 x i8], ptr %11, i64 0, i64 %47 %49 = load i8, ptr %48, align 1 %50 = call i64 @isupper(i8 noundef signext %49) %51 = icmp ne i64 %50, 0 br i1 %51, label %52, label %55 52: ; preds = %45 %53 = load i32, ptr %9, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %9, align 4 br label %55 55: ; preds = %52, %45 br label %56 56: ; preds = %55, %42 br label %57 57: ; preds = %56, %32 %58 = load i32, ptr %2, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %2, align 4 br label %21, !llvm.loop !6 60: ; preds = %21 br label %61 61: ; preds = %60, %0 %62 = load i32, ptr %10, align 4 %63 = load i32, ptr %7, align 4 %64 = icmp sge i32 %62, %63 br i1 %64, label %65, label %75 65: ; preds = %61 %66 = load i32, ptr %8, align 4 %67 = load i32, ptr %5, align 4 %68 = icmp sge i32 %66, %67 br i1 %68, label %69, label %75 69: ; preds = %65 %70 = load i32, ptr %9, align 4 %71 = load i32, ptr %6, align 4 %72 = icmp sge i32 %70, %71 br i1 %72, label %73, label %75 73: ; preds = %69 %74 = call i32 @printf(ptr noundef @.str.1) br label %77 75: ; preds = %69, %65, %61 %76 = call i32 @printf(ptr noundef @.str.2) br label %77 77: ; preds = %75, %73 %78 = phi i32 [ %74, %73 ], [ %76, %75 ] ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @gets(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @isdigit(i8 noundef signext) #1 declare i64 @islower(i8 noundef signext) #1 declare i64 @isupper(i8 noundef signext) #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/tmpbxls7dhs.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 [14 x i8] c" %d %d %d %d \00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"Ok =/\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"Ufa :)\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 %10 = alloca i32, align 4 %11 = alloca [1010 x i8], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 %12 = call i32 @scanf(ptr noundef @.str, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) %13 = getelementptr inbounds [1010 x i8], ptr %11, i64 0, i64 0 %14 = call i32 @gets(ptr noundef %13) %15 = getelementptr inbounds [1010 x i8], ptr %11, i64 0, i64 0 %16 = call i32 @strlen(ptr noundef %15) store i32 %16, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp sge i32 %17, %18 br i1 %19, label %20, label %63 20: ; preds = %0 %21 = load i32, ptr %2, align 4 %22 = load i32, ptr %3, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %.lr.ph, label %62 .lr.ph: ; preds = %20 br label %24 24: ; preds = %.lr.ph, %56 %25 = load i32, ptr %2, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [1010 x i8], ptr %11, i64 0, i64 %26 %28 = load i8, ptr %27, align 1 %29 = call i64 @isdigit(i8 noundef signext %28) %30 = icmp ne i64 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %24 %32 = load i32, ptr %10, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %10, align 4 br label %56 34: ; preds = %24 %35 = load i32, ptr %2, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [1010 x i8], ptr %11, i64 0, i64 %36 %38 = load i8, ptr %37, align 1 %39 = call i64 @islower(i8 noundef signext %38) %40 = icmp ne i64 %39, 0 br i1 %40, label %41, label %44 41: ; preds = %34 %42 = load i32, ptr %8, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %8, align 4 br label %55 44: ; preds = %34 %45 = load i32, ptr %2, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [1010 x i8], ptr %11, i64 0, i64 %46 %48 = load i8, ptr %47, align 1 %49 = call i64 @isupper(i8 noundef signext %48) %50 = icmp ne i64 %49, 0 br i1 %50, label %51, label %54 51: ; preds = %44 %52 = load i32, ptr %9, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %9, align 4 br label %54 54: ; preds = %51, %44 br label %55 55: ; preds = %54, %41 br label %56 56: ; preds = %55, %31 %57 = load i32, ptr %2, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %2, align 4 %59 = load i32, ptr %2, align 4 %60 = load i32, ptr %3, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %56 br label %62 62: ; preds = %._crit_edge, %20 br label %63 63: ; preds = %62, %0 %64 = load i32, ptr %10, align 4 %65 = load i32, ptr %7, align 4 %66 = icmp sge i32 %64, %65 br i1 %66, label %67, label %77 67: ; preds = %63 %68 = load i32, ptr %8, align 4 %69 = load i32, ptr %5, align 4 %70 = icmp sge i32 %68, %69 br i1 %70, label %71, label %77 71: ; preds = %67 %72 = load i32, ptr %9, align 4 %73 = load i32, ptr %6, align 4 %74 = icmp sge i32 %72, %73 br i1 %74, label %75, label %77 75: ; preds = %71 %76 = call i32 @printf(ptr noundef @.str.1) br label %79 77: ; preds = %71, %67, %63 %78 = call i32 @printf(ptr noundef @.str.2) br label %79 79: ; preds = %77, %75 %80 = phi i32 [ %76, %75 ], [ %78, %77 ] ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @gets(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @isdigit(i8 noundef signext) #1 declare i64 @islower(i8 noundef signext) #1 declare i64 @isupper(i8 noundef signext) #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/tmprya3flq4.c' source_filename = "/tmp/tmprya3flq4.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 [46 x i8] c"Syntax: bmp2cgb.exe [options] picture[.bmp]\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"Options:\0A\00", align 1 @.str.2 = private unnamed_addr constant [39 x i8] c"\09-c disable character optimization\0A\00", align 1 @.str.3 = private unnamed_addr constant [45 x i8] c"\09-x disable horizontal flip optimization\0A\00", align 1 @.str.4 = private unnamed_addr constant [43 x i8] c"\09-y disable vertical flip optimization\0A\00", align 1 @.str.5 = private unnamed_addr constant [56 x i8] c"\09-z disable horizontal & vertical flip optimization\0A\00", align 1 @.str.6 = private unnamed_addr constant [37 x i8] c"\09-o disable palette optimization\0A\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.8 = private unnamed_addr constant [62 x i8] c"\09-e# expand map width to 32 blocks using character (0-255)\0A\00", align 1 @.str.9 = private unnamed_addr constant [49 x i8] c"\09-m# map padding - starting character (1-511)\0A\00", align 1 @.str.10 = private unnamed_addr constant [46 x i8] c"\09-p# palette padding - starting slot (1-7)\0A\00", align 1 @.str.11 = private unnamed_addr constant [69 x i8] c"\09-r rebase character map to $8800-$97FF ($8000-$8FFF is default)\0A\00", align 1 @.str.12 = private unnamed_addr constant [55 x i8] c"\09-d extended debug information without data output\0A\00", align 1 @.str.13 = private unnamed_addr constant [68 x i8] c"\09-s# sprites output (transparent color RGB hex value ie. 4682b4)\0A\00", align 1 @.str.14 = private unnamed_addr constant [34 x i8] c"\09-t RGBTuner ROM image output\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 (...) @banner() %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.7) %15 = call i32 @printf(ptr noundef @.str.12) %16 = call i32 @printf(ptr noundef @.str.13) %17 = call i32 @printf(ptr noundef @.str.14) %18 = load i32, ptr @EXIT_FAILURE, align 4 %19 = call i32 @exit(i32 noundef %18) #3 unreachable } declare i32 @banner(...) #1 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/tmprya3flq4.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 [46 x i8] c"Syntax: bmp2cgb.exe [options] picture[.bmp]\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"Options:\0A\00", align 1 @.str.2 = private unnamed_addr constant [39 x i8] c"\09-c disable character optimization\0A\00", align 1 @.str.3 = private unnamed_addr constant [45 x i8] c"\09-x disable horizontal flip optimization\0A\00", align 1 @.str.4 = private unnamed_addr constant [43 x i8] c"\09-y disable vertical flip optimization\0A\00", align 1 @.str.5 = private unnamed_addr constant [56 x i8] c"\09-z disable horizontal & vertical flip optimization\0A\00", align 1 @.str.6 = private unnamed_addr constant [37 x i8] c"\09-o disable palette optimization\0A\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.8 = private unnamed_addr constant [62 x i8] c"\09-e# expand map width to 32 blocks using character (0-255)\0A\00", align 1 @.str.9 = private unnamed_addr constant [49 x i8] c"\09-m# map padding - starting character (1-511)\0A\00", align 1 @.str.10 = private unnamed_addr constant [46 x i8] c"\09-p# palette padding - starting slot (1-7)\0A\00", align 1 @.str.11 = private unnamed_addr constant [69 x i8] c"\09-r rebase character map to $8800-$97FF ($8000-$8FFF is default)\0A\00", align 1 @.str.12 = private unnamed_addr constant [55 x i8] c"\09-d extended debug information without data output\0A\00", align 1 @.str.13 = private unnamed_addr constant [68 x i8] c"\09-s# sprites output (transparent color RGB hex value ie. 4682b4)\0A\00", align 1 @.str.14 = private unnamed_addr constant [34 x i8] c"\09-t RGBTuner ROM image output\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 (...) @banner() %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.7) %15 = call i32 @printf(ptr noundef @.str.12) %16 = call i32 @printf(ptr noundef @.str.13) %17 = call i32 @printf(ptr noundef @.str.14) %18 = load i32, ptr @EXIT_FAILURE, align 4 %19 = call i32 @exit(i32 noundef %18) #3 unreachable } declare i32 @banner(...) #1 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/tmpd40w4leo.c' source_filename = "/tmp/tmpd40w4leo.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 @trim(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @trim_left(ptr noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call ptr @trim_right(ptr noundef %6) ret ptr %7 } declare ptr @trim_left(ptr noundef) #1 declare ptr @trim_right(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/tmpd40w4leo.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 @trim(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @trim_left(ptr noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call ptr @trim_right(ptr noundef %6) ret ptr %7 } declare ptr @trim_left(ptr noundef) #1 declare ptr @trim_right(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/tmpi3tx6zcn.c' source_filename = "/tmp/tmpi3tx6zcn.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"line\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @mu_init(ptr noundef @.str) %2 = call i32 @test_parse(i32 noundef -1) %3 = call i32 @test_parse(i32 noundef 1) %4 = call i32 @test_parse(i32 noundef 2) %5 = call i32 @test_parse(i32 noundef 11) %6 = call i32 (...) @sp_alloc_summary() ret i32 0 } declare i32 @mu_init(ptr noundef) #1 declare i32 @test_parse(i32 noundef) #1 declare i32 @sp_alloc_summary(...) #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/tmpi3tx6zcn.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"line\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @mu_init(ptr noundef @.str) %2 = call i32 @test_parse(i32 noundef -1) %3 = call i32 @test_parse(i32 noundef 1) %4 = call i32 @test_parse(i32 noundef 2) %5 = call i32 @test_parse(i32 noundef 11) %6 = call i32 (...) @sp_alloc_summary() ret i32 0 } declare i32 @mu_init(ptr noundef) #1 declare i32 @test_parse(i32 noundef) #1 declare i32 @sp_alloc_summary(...) #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/tmpzu03bhqz.c' source_filename = "/tmp/tmpzu03bhqz.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 !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/tmpzu03bhqz.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 !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/tmp4vhiqe60.c' source_filename = "/tmp/tmp4vhiqe60.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 @gaussSLESolve(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, 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 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca double, align 8 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 store i64 %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %19 = load i64, ptr %3, align 8 %20 = add i64 %19, 1 %21 = trunc i64 %20 to i32 store i32 %21, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %22 22: ; preds = %183, %2 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = load i64, ptr %3, align 8 %26 = icmp ult i64 %24, %25 br i1 %26, label %27, label %186 27: ; preds = %22 %28 = load i32, ptr %6, align 4 store i32 %28, ptr %7, align 4 %29 = load i64, ptr %3, align 8 %30 = sub i64 %29, 1 %31 = trunc i64 %30 to i32 store i32 %31, ptr %8, align 4 br label %32 32: ; preds = %93, %27 %33 = load ptr, ptr %4, align 8 %34 = load i32, ptr %6, align 4 %35 = load i32, ptr %5, align 4 %36 = mul nsw i32 %34, %35 %37 = load i32, ptr %7, align 4 %38 = add nsw i32 %36, %37 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds double, ptr %33, i64 %39 %41 = load double, ptr %40, align 8 %42 = fcmp oeq double %41, 0.000000e+00 br i1 %42, label %43, label %47 43: ; preds = %32 %44 = load i32, ptr %8, align 4 %45 = load i32, ptr %6, align 4 %46 = icmp sgt i32 %44, %45 br label %47 47: ; preds = %43, %32 %48 = phi i1 [ false, %32 ], [ %46, %43 ] br i1 %48, label %49, label %96 49: ; preds = %47 store i32 0, ptr %9, align 4 br label %50 50: ; preds = %90, %49 %51 = load i32, ptr %9, align 4 %52 = load i32, ptr %5, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %54, label %93 54: ; preds = %50 %55 = load ptr, ptr %4, align 8 %56 = load i32, ptr %6, align 4 %57 = load i32, ptr %5, align 4 %58 = mul nsw i32 %56, %57 %59 = load i32, ptr %9, align 4 %60 = add nsw i32 %58, %59 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds double, ptr %55, i64 %61 %63 = load double, ptr %62, align 8 store double %63, ptr %10, align 8 %64 = load ptr, ptr %4, align 8 %65 = load i32, ptr %8, align 4 %66 = load i32, ptr %5, align 4 %67 = mul nsw i32 %65, %66 %68 = load i32, ptr %9, align 4 %69 = add nsw i32 %67, %68 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds double, ptr %64, i64 %70 %72 = load double, ptr %71, align 8 %73 = load ptr, ptr %4, align 8 %74 = load i32, ptr %6, align 4 %75 = load i32, ptr %5, align 4 %76 = mul nsw i32 %74, %75 %77 = load i32, ptr %9, align 4 %78 = add nsw i32 %76, %77 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds double, ptr %73, i64 %79 store double %72, ptr %80, align 8 %81 = load double, ptr %10, align 8 %82 = load ptr, ptr %4, align 8 %83 = load i32, ptr %8, align 4 %84 = load i32, ptr %5, align 4 %85 = mul nsw i32 %83, %84 %86 = load i32, ptr %9, align 4 %87 = add nsw i32 %85, %86 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds double, ptr %82, i64 %88 store double %81, ptr %89, align 8 br label %90 90: ; preds = %54 %91 = load i32, ptr %9, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %9, align 4 br label %50, !llvm.loop !6 93: ; preds = %50 %94 = load i32, ptr %8, align 4 %95 = add nsw i32 %94, -1 store i32 %95, ptr %8, align 4 br label %32, !llvm.loop !8 96: ; preds = %47 %97 = load ptr, ptr %4, align 8 %98 = load i32, ptr %6, align 4 %99 = load i32, ptr %5, align 4 %100 = mul nsw i32 %98, %99 %101 = load i32, ptr %7, align 4 %102 = add nsw i32 %100, %101 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds double, ptr %97, i64 %103 %105 = load double, ptr %104, align 8 store double %105, ptr %11, align 8 store i32 0, ptr %12, align 4 br label %106 106: ; preds = %122, %96 %107 = load i32, ptr %12, align 4 %108 = load i32, ptr %5, align 4 %109 = icmp slt i32 %107, %108 br i1 %109, label %110, label %125 110: ; preds = %106 %111 = load double, ptr %11, align 8 %112 = load ptr, ptr %4, align 8 %113 = load i32, ptr %6, align 4 %114 = load i32, ptr %5, align 4 %115 = mul nsw i32 %113, %114 %116 = load i32, ptr %12, align 4 %117 = add nsw i32 %115, %116 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds double, ptr %112, i64 %118 %120 = load double, ptr %119, align 8 %121 = fdiv double %120, %111 store double %121, ptr %119, align 8 br label %122 122: ; preds = %110 %123 = load i32, ptr %12, align 4 %124 = add nsw i32 %123, 1 store i32 %124, ptr %12, align 4 br label %106, !llvm.loop !9 125: ; preds = %106 %126 = load i32, ptr %8, align 4 %127 = load i32, ptr %6, align 4 %128 = icmp sgt i32 %126, %127 br i1 %128, label %129, label %182 129: ; preds = %125 %130 = load i32, ptr %6, align 4 %131 = add nsw i32 %130, 1 store i32 %131, ptr %13, align 4 br label %132 132: ; preds = %178, %129 %133 = load i32, ptr %13, align 4 %134 = sext i32 %133 to i64 %135 = load i64, ptr %3, align 8 %136 = icmp ult i64 %134, %135 br i1 %136, label %137, label %181 137: ; preds = %132 %138 = load ptr, ptr %4, align 8 %139 = load i32, ptr %13, align 4 %140 = load i32, ptr %5, align 4 %141 = mul nsw i32 %139, %140 %142 = load i32, ptr %7, align 4 %143 = add nsw i32 %141, %142 %144 = sext i32 %143 to i64 %145 = getelementptr inbounds double, ptr %138, i64 %144 %146 = load double, ptr %145, align 8 %147 = fneg double %146 store double %147, ptr %14, align 8 %148 = load i32, ptr %7, align 4 store i32 %148, ptr %15, align 4 br label %149 149: ; preds = %174, %137 %150 = load i32, ptr %15, align 4 %151 = load i32, ptr %5, align 4 %152 = icmp slt i32 %150, %151 br i1 %152, label %153, label %177 153: ; preds = %149 %154 = load ptr, ptr %4, align 8 %155 = load i32, ptr %6, align 4 %156 = load i32, ptr %5, align 4 %157 = mul nsw i32 %155, %156 %158 = load i32, ptr %15, align 4 %159 = add nsw i32 %157, %158 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds double, ptr %154, i64 %160 %162 = load double, ptr %161, align 8 %163 = load double, ptr %14, align 8 %164 = load ptr, ptr %4, align 8 %165 = load i32, ptr %13, align 4 %166 = load i32, ptr %5, align 4 %167 = mul nsw i32 %165, %166 %168 = load i32, ptr %15, align 4 %169 = add nsw i32 %167, %168 %170 = sext i32 %169 to i64 %171 = getelementptr inbounds double, ptr %164, i64 %170 %172 = load double, ptr %171, align 8 %173 = call double @llvm.fmuladd.f64(double %162, double %163, double %172) store double %173, ptr %171, align 8 br label %174 174: ; preds = %153 %175 = load i32, ptr %15, align 4 %176 = add nsw i32 %175, 1 store i32 %176, ptr %15, align 4 br label %149, !llvm.loop !10 177: ; preds = %149 br label %178 178: ; preds = %177 %179 = load i32, ptr %13, align 4 %180 = add nsw i32 %179, 1 store i32 %180, ptr %13, align 4 br label %132, !llvm.loop !11 181: ; preds = %132 br label %182 182: ; preds = %181, %125 br label %183 183: ; preds = %182 %184 = load i32, ptr %6, align 4 %185 = add nsw i32 %184, 1 store i32 %185, ptr %6, align 4 br label %22, !llvm.loop !12 186: ; preds = %22 %187 = load i64, ptr %3, align 8 %188 = call i64 @calloc(i64 noundef %187, i32 noundef 8) %189 = inttoptr i64 %188 to ptr store ptr %189, ptr %16, align 8 %190 = load i64, ptr %3, align 8 %191 = sub i64 %190, 1 %192 = trunc i64 %191 to i32 store i32 %192, ptr %17, align 4 br label %193 193: ; preds = %243, %186 %194 = load i32, ptr %17, align 4 %195 = icmp sge i32 %194, 0 br i1 %195, label %196, label %246 196: ; preds = %193 %197 = load ptr, ptr %4, align 8 %198 = load i32, ptr %17, align 4 %199 = load i32, ptr %5, align 4 %200 = mul nsw i32 %198, %199 %201 = sext i32 %200 to i64 %202 = load i64, ptr %3, align 8 %203 = add i64 %201, %202 %204 = getelementptr inbounds double, ptr %197, i64 %203 %205 = load double, ptr %204, align 8 %206 = load ptr, ptr %16, align 8 %207 = load i32, ptr %17, align 4 %208 = sext i32 %207 to i64 %209 = getelementptr inbounds double, ptr %206, i64 %208 store double %205, ptr %209, align 8 %210 = load i64, ptr %3, align 8 %211 = sub i64 %210, 1 %212 = trunc i64 %211 to i32 store i32 %212, ptr %18, align 4 br label %213 213: ; preds = %239, %196 %214 = load i32, ptr %18, align 4 %215 = load i32, ptr %17, align 4 %216 = icmp sgt i32 %214, %215 br i1 %216, label %217, label %242 217: ; preds = %213 %218 = load ptr, ptr %16, align 8 %219 = load i32, ptr %18, align 4 %220 = sext i32 %219 to i64 %221 = getelementptr inbounds double, ptr %218, i64 %220 %222 = load double, ptr %221, align 8 %223 = load ptr, ptr %4, align 8 %224 = load i32, ptr %17, align 4 %225 = load i32, ptr %5, align 4 %226 = mul nsw i32 %224, %225 %227 = load i32, ptr %18, align 4 %228 = add nsw i32 %226, %227 %229 = sext i32 %228 to i64 %230 = getelementptr inbounds double, ptr %223, i64 %229 %231 = load double, ptr %230, align 8 %232 = load ptr, ptr %16, align 8 %233 = load i32, ptr %17, align 4 %234 = sext i32 %233 to i64 %235 = getelementptr inbounds double, ptr %232, i64 %234 %236 = load double, ptr %235, align 8 %237 = fneg double %222 %238 = call double @llvm.fmuladd.f64(double %237, double %231, double %236) store double %238, ptr %235, align 8 br label %239 239: ; preds = %217 %240 = load i32, ptr %18, align 4 %241 = add nsw i32 %240, -1 store i32 %241, ptr %18, align 4 br label %213, !llvm.loop !13 242: ; preds = %213 br label %243 243: ; preds = %242 %244 = load i32, ptr %17, align 4 %245 = add nsw i32 %244, -1 store i32 %245, ptr %17, align 4 br label %193, !llvm.loop !14 246: ; preds = %193 %247 = load ptr, ptr %16, align 8 ret ptr %247 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i64 @calloc(i64 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 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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4vhiqe60.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 @gaussSLESolve(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, 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 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca double, align 8 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 store i64 %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %19 = load i64, ptr %3, align 8 %20 = add i64 %19, 1 %21 = trunc i64 %20 to i32 store i32 %21, ptr %5, align 4 store i32 0, ptr %6, align 4 %22 = load i32, ptr %6, align 4 %23 = sext i32 %22 to i64 %24 = load i64, ptr %3, align 8 %25 = icmp ult i64 %23, %24 br i1 %25, label %.lr.ph11, label %198 .lr.ph11: ; preds = %2 br label %26 26: ; preds = %.lr.ph11, %191 %27 = load i32, ptr %6, align 4 store i32 %27, ptr %7, align 4 %28 = load i64, ptr %3, align 8 %29 = sub i64 %28, 1 %30 = trunc i64 %29 to i32 store i32 %30, ptr %8, align 4 br label %31 31: ; preds = %94, %26 %32 = load ptr, ptr %4, align 8 %33 = load i32, ptr %6, align 4 %34 = load i32, ptr %5, align 4 %35 = mul nsw i32 %33, %34 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %35, %36 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds double, ptr %32, i64 %38 %40 = load double, ptr %39, align 8 %41 = fcmp oeq double %40, 0.000000e+00 br i1 %41, label %42, label %46 42: ; preds = %31 %43 = load i32, ptr %8, align 4 %44 = load i32, ptr %6, align 4 %45 = icmp sgt i32 %43, %44 br label %46 46: ; preds = %42, %31 %47 = phi i1 [ false, %31 ], [ %45, %42 ] br i1 %47, label %48, label %97 48: ; preds = %46 store i32 0, ptr %9, align 4 %49 = load i32, ptr %9, align 4 %50 = load i32, ptr %5, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %.lr.ph, label %94 .lr.ph: ; preds = %48 br label %52 52: ; preds = %.lr.ph, %88 %53 = load ptr, ptr %4, align 8 %54 = load i32, ptr %6, align 4 %55 = load i32, ptr %5, align 4 %56 = mul nsw i32 %54, %55 %57 = load i32, ptr %9, align 4 %58 = add nsw i32 %56, %57 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds double, ptr %53, i64 %59 %61 = load double, ptr %60, align 8 store double %61, ptr %10, align 8 %62 = load ptr, ptr %4, align 8 %63 = load i32, ptr %8, align 4 %64 = load i32, ptr %5, align 4 %65 = mul nsw i32 %63, %64 %66 = load i32, ptr %9, align 4 %67 = add nsw i32 %65, %66 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds double, ptr %62, i64 %68 %70 = load double, ptr %69, align 8 %71 = load ptr, ptr %4, align 8 %72 = load i32, ptr %6, align 4 %73 = load i32, ptr %5, align 4 %74 = mul nsw i32 %72, %73 %75 = load i32, ptr %9, align 4 %76 = add nsw i32 %74, %75 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds double, ptr %71, i64 %77 store double %70, ptr %78, align 8 %79 = load double, ptr %10, align 8 %80 = load ptr, ptr %4, align 8 %81 = load i32, ptr %8, align 4 %82 = load i32, ptr %5, align 4 %83 = mul nsw i32 %81, %82 %84 = load i32, ptr %9, align 4 %85 = add nsw i32 %83, %84 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds double, ptr %80, i64 %86 store double %79, ptr %87, align 8 br label %88 88: ; preds = %52 %89 = load i32, ptr %9, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %9, align 4 %91 = load i32, ptr %9, align 4 %92 = load i32, ptr %5, align 4 %93 = icmp slt i32 %91, %92 br i1 %93, label %52, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %88 br label %94 94: ; preds = %._crit_edge, %48 %95 = load i32, ptr %8, align 4 %96 = add nsw i32 %95, -1 store i32 %96, ptr %8, align 4 br label %31, !llvm.loop !8 97: ; preds = %46 %98 = load ptr, ptr %4, align 8 %99 = load i32, ptr %6, align 4 %100 = load i32, ptr %5, align 4 %101 = mul nsw i32 %99, %100 %102 = load i32, ptr %7, align 4 %103 = add nsw i32 %101, %102 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds double, ptr %98, i64 %104 %106 = load double, ptr %105, align 8 store double %106, ptr %11, align 8 store i32 0, ptr %12, align 4 %107 = load i32, ptr %12, align 4 %108 = load i32, ptr %5, align 4 %109 = icmp slt i32 %107, %108 br i1 %109, label %.lr.ph2, label %128 .lr.ph2: ; preds = %97 br label %110 110: ; preds = %.lr.ph2, %122 %111 = load double, ptr %11, align 8 %112 = load ptr, ptr %4, align 8 %113 = load i32, ptr %6, align 4 %114 = load i32, ptr %5, align 4 %115 = mul nsw i32 %113, %114 %116 = load i32, ptr %12, align 4 %117 = add nsw i32 %115, %116 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds double, ptr %112, i64 %118 %120 = load double, ptr %119, align 8 %121 = fdiv double %120, %111 store double %121, ptr %119, align 8 br label %122 122: ; preds = %110 %123 = load i32, ptr %12, align 4 %124 = add nsw i32 %123, 1 store i32 %124, ptr %12, align 4 %125 = load i32, ptr %12, align 4 %126 = load i32, ptr %5, align 4 %127 = icmp slt i32 %125, %126 br i1 %127, label %110, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %122 br label %128 128: ; preds = %._crit_edge3, %97 %129 = load i32, ptr %8, align 4 %130 = load i32, ptr %6, align 4 %131 = icmp sgt i32 %129, %130 br i1 %131, label %132, label %190 132: ; preds = %128 %133 = load i32, ptr %6, align 4 %134 = add nsw i32 %133, 1 store i32 %134, ptr %13, align 4 %135 = load i32, ptr %13, align 4 %136 = sext i32 %135 to i64 %137 = load i64, ptr %3, align 8 %138 = icmp ult i64 %136, %137 br i1 %138, label %.lr.ph8, label %189 .lr.ph8: ; preds = %132 br label %139 139: ; preds = %.lr.ph8, %182 %140 = load ptr, ptr %4, align 8 %141 = load i32, ptr %13, align 4 %142 = load i32, ptr %5, align 4 %143 = mul nsw i32 %141, %142 %144 = load i32, ptr %7, align 4 %145 = add nsw i32 %143, %144 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds double, ptr %140, i64 %146 %148 = load double, ptr %147, align 8 %149 = fneg double %148 store double %149, ptr %14, align 8 %150 = load i32, ptr %7, align 4 store i32 %150, ptr %15, align 4 %151 = load i32, ptr %15, align 4 %152 = load i32, ptr %5, align 4 %153 = icmp slt i32 %151, %152 br i1 %153, label %.lr.ph5, label %181 .lr.ph5: ; preds = %139 br label %154 154: ; preds = %.lr.ph5, %175 %155 = load ptr, ptr %4, align 8 %156 = load i32, ptr %6, align 4 %157 = load i32, ptr %5, align 4 %158 = mul nsw i32 %156, %157 %159 = load i32, ptr %15, align 4 %160 = add nsw i32 %158, %159 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds double, ptr %155, i64 %161 %163 = load double, ptr %162, align 8 %164 = load double, ptr %14, align 8 %165 = load ptr, ptr %4, align 8 %166 = load i32, ptr %13, align 4 %167 = load i32, ptr %5, align 4 %168 = mul nsw i32 %166, %167 %169 = load i32, ptr %15, align 4 %170 = add nsw i32 %168, %169 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds double, ptr %165, i64 %171 %173 = load double, ptr %172, align 8 %174 = call double @llvm.fmuladd.f64(double %163, double %164, double %173) store double %174, ptr %172, align 8 br label %175 175: ; preds = %154 %176 = load i32, ptr %15, align 4 %177 = add nsw i32 %176, 1 store i32 %177, ptr %15, align 4 %178 = load i32, ptr %15, align 4 %179 = load i32, ptr %5, align 4 %180 = icmp slt i32 %178, %179 br i1 %180, label %154, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %175 br label %181 181: ; preds = %._crit_edge6, %139 br label %182 182: ; preds = %181 %183 = load i32, ptr %13, align 4 %184 = add nsw i32 %183, 1 store i32 %184, ptr %13, align 4 %185 = load i32, ptr %13, align 4 %186 = sext i32 %185 to i64 %187 = load i64, ptr %3, align 8 %188 = icmp ult i64 %186, %187 br i1 %188, label %139, label %._crit_edge9, !llvm.loop !11 ._crit_edge9: ; preds = %182 br label %189 189: ; preds = %._crit_edge9, %132 br label %190 190: ; preds = %189, %128 br label %191 191: ; preds = %190 %192 = load i32, ptr %6, align 4 %193 = add nsw i32 %192, 1 store i32 %193, ptr %6, align 4 %194 = load i32, ptr %6, align 4 %195 = sext i32 %194 to i64 %196 = load i64, ptr %3, align 8 %197 = icmp ult i64 %195, %196 br i1 %197, label %26, label %._crit_edge12, !llvm.loop !12 ._crit_edge12: ; preds = %191 br label %198 198: ; preds = %._crit_edge12, %2 %199 = load i64, ptr %3, align 8 %200 = call i64 @calloc(i64 noundef %199, i32 noundef 8) %201 = inttoptr i64 %200 to ptr store ptr %201, ptr %16, align 8 %202 = load i64, ptr %3, align 8 %203 = sub i64 %202, 1 %204 = trunc i64 %203 to i32 store i32 %204, ptr %17, align 4 %205 = load i32, ptr %17, align 4 %206 = icmp sge i32 %205, 0 br i1 %206, label %.lr.ph17, label %261 .lr.ph17: ; preds = %198 br label %207 207: ; preds = %.lr.ph17, %256 %208 = load ptr, ptr %4, align 8 %209 = load i32, ptr %17, align 4 %210 = load i32, ptr %5, align 4 %211 = mul nsw i32 %209, %210 %212 = sext i32 %211 to i64 %213 = load i64, ptr %3, align 8 %214 = add i64 %212, %213 %215 = getelementptr inbounds double, ptr %208, i64 %214 %216 = load double, ptr %215, align 8 %217 = load ptr, ptr %16, align 8 %218 = load i32, ptr %17, align 4 %219 = sext i32 %218 to i64 %220 = getelementptr inbounds double, ptr %217, i64 %219 store double %216, ptr %220, align 8 %221 = load i64, ptr %3, align 8 %222 = sub i64 %221, 1 %223 = trunc i64 %222 to i32 store i32 %223, ptr %18, align 4 %224 = load i32, ptr %18, align 4 %225 = load i32, ptr %17, align 4 %226 = icmp sgt i32 %224, %225 br i1 %226, label %.lr.ph14, label %255 .lr.ph14: ; preds = %207 br label %227 227: ; preds = %.lr.ph14, %249 %228 = load ptr, ptr %16, align 8 %229 = load i32, ptr %18, align 4 %230 = sext i32 %229 to i64 %231 = getelementptr inbounds double, ptr %228, i64 %230 %232 = load double, ptr %231, align 8 %233 = load ptr, ptr %4, align 8 %234 = load i32, ptr %17, align 4 %235 = load i32, ptr %5, align 4 %236 = mul nsw i32 %234, %235 %237 = load i32, ptr %18, align 4 %238 = add nsw i32 %236, %237 %239 = sext i32 %238 to i64 %240 = getelementptr inbounds double, ptr %233, i64 %239 %241 = load double, ptr %240, align 8 %242 = load ptr, ptr %16, align 8 %243 = load i32, ptr %17, align 4 %244 = sext i32 %243 to i64 %245 = getelementptr inbounds double, ptr %242, i64 %244 %246 = load double, ptr %245, align 8 %247 = fneg double %232 %248 = call double @llvm.fmuladd.f64(double %247, double %241, double %246) store double %248, ptr %245, align 8 br label %249 249: ; preds = %227 %250 = load i32, ptr %18, align 4 %251 = add nsw i32 %250, -1 store i32 %251, ptr %18, align 4 %252 = load i32, ptr %18, align 4 %253 = load i32, ptr %17, align 4 %254 = icmp sgt i32 %252, %253 br i1 %254, label %227, label %._crit_edge15, !llvm.loop !13 ._crit_edge15: ; preds = %249 br label %255 255: ; preds = %._crit_edge15, %207 br label %256 256: ; preds = %255 %257 = load i32, ptr %17, align 4 %258 = add nsw i32 %257, -1 store i32 %258, ptr %17, align 4 %259 = load i32, ptr %17, align 4 %260 = icmp sge i32 %259, 0 br i1 %260, label %207, label %._crit_edge18, !llvm.loop !14 ._crit_edge18: ; preds = %256 br label %261 261: ; preds = %._crit_edge18, %198 %262 = load ptr, ptr %16, align 8 ret ptr %262 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i64 @calloc(i64 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 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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '/tmp/tmpl3yzd3v1.c' source_filename = "/tmp/tmpl3yzd3v1.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" @EINVAL = dso_local global i32 0, align 4 @PTHREAD_MUTEX_ERRORCHECK = 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/tmpl3yzd3v1.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" @EINVAL = dso_local global i32 0, align 4 @PTHREAD_MUTEX_ERRORCHECK = 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/tmpzsewpz5l.c' source_filename = "/tmp/tmpzsewpz5l.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 @dev_redir_string_ends_with(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %5, align 4 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %5, align 4 %10 = sub nsw i32 %9, 1 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %8, i64 %11 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = load i8, ptr %4, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %14, %16 %18 = zext i1 %17 to i64 %19 = select i1 %17, i32 1, i32 0 ret i32 %19 } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzsewpz5l.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 @dev_redir_string_ends_with(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %5, align 4 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %5, align 4 %10 = sub nsw i32 %9, 1 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %8, i64 %11 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = load i8, ptr %4, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %14, %16 %18 = zext i1 %17 to i64 %19 = select i1 %17, i32 1, i32 0 ret i32 %19 } 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"}
; ModuleID = '/tmp/tmpu73u8prp.c' source_filename = "/tmp/tmpu73u8prp.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 [30 x i8] c"expression '%s' untrue at %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"r == 1\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"!strcmp(\220\22, out)\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"%c%c%cbar\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"r == 6\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"foobar\00", align 1 @.str.8 = private unnamed_addr constant [23 x i8] c"!strcmp(\22foobar\22, out)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_asprintf() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr null, ptr %2, align 8 %4 = call i32 (ptr, ptr, float, ...) @asprintf(ptr noundef %2, ptr noundef @.str, float noundef 0.000000e+00) store i32 %4, ptr %3, align 4 br label %5 5: ; preds = %0 %6 = load i32, ptr %3, align 4 %7 = icmp eq i32 %6, 1 br i1 %7, label %10, label %8 8: ; preds = %5 %9 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 144) store i32 0, ptr %1, align 4 br label %40 10: ; preds = %5 br label %11 11: ; preds = %10 br label %12 12: ; preds = %11 %13 = load ptr, ptr %2, align 8 %14 = call i32 @strcmp(ptr noundef @.str.3, ptr noundef %13) %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %12 %17 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.4, i32 noundef 145) store i32 0, ptr %1, align 4 br label %40 18: ; preds = %12 br label %19 19: ; preds = %18 %20 = load ptr, ptr %2, align 8 %21 = call i32 @free(ptr noundef %20) %22 = call i32 (ptr, ptr, float, ...) @asprintf(ptr noundef %2, ptr noundef @.str.5, float noundef 1.020000e+02, i32 noundef 111, i32 noundef 111) store i32 %22, ptr %3, align 4 br label %23 23: ; preds = %19 %24 = load i32, ptr %3, align 4 %25 = icmp eq i32 %24, 6 br i1 %25, label %28, label %26 26: ; preds = %23 %27 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.6, i32 noundef 149) store i32 0, ptr %1, align 4 br label %40 28: ; preds = %23 br label %29 29: ; preds = %28 br label %30 30: ; preds = %29 %31 = load ptr, ptr %2, align 8 %32 = call i32 @strcmp(ptr noundef @.str.7, ptr noundef %31) %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %30 %35 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.8, i32 noundef 150) store i32 0, ptr %1, align 4 br label %40 36: ; preds = %30 br label %37 37: ; preds = %36 %38 = load ptr, ptr %2, align 8 %39 = call i32 @free(ptr noundef %38) store i32 1, ptr %1, align 4 br label %40 40: ; preds = %37, %34, %26, %16, %8 %41 = load i32, ptr %1, align 4 ret i32 %41 } declare i32 @asprintf(ptr noundef, ptr noundef, float noundef, ...) #1 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcmp(ptr noundef, 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/tmpu73u8prp.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 [30 x i8] c"expression '%s' untrue at %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"r == 1\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"!strcmp(\220\22, out)\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"%c%c%cbar\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"r == 6\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"foobar\00", align 1 @.str.8 = private unnamed_addr constant [23 x i8] c"!strcmp(\22foobar\22, out)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_asprintf() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr null, ptr %2, align 8 %4 = call i32 (ptr, ptr, float, ...) @asprintf(ptr noundef %2, ptr noundef @.str, float noundef 0.000000e+00) store i32 %4, ptr %3, align 4 br label %5 5: ; preds = %0 %6 = load i32, ptr %3, align 4 %7 = icmp eq i32 %6, 1 br i1 %7, label %10, label %8 8: ; preds = %5 %9 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 144) store i32 0, ptr %1, align 4 br label %40 10: ; preds = %5 br label %11 11: ; preds = %10 br label %12 12: ; preds = %11 %13 = load ptr, ptr %2, align 8 %14 = call i32 @strcmp(ptr noundef @.str.3, ptr noundef %13) %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %12 %17 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.4, i32 noundef 145) store i32 0, ptr %1, align 4 br label %40 18: ; preds = %12 br label %19 19: ; preds = %18 %20 = load ptr, ptr %2, align 8 %21 = call i32 @free(ptr noundef %20) %22 = call i32 (ptr, ptr, float, ...) @asprintf(ptr noundef %2, ptr noundef @.str.5, float noundef 1.020000e+02, i32 noundef 111, i32 noundef 111) store i32 %22, ptr %3, align 4 br label %23 23: ; preds = %19 %24 = load i32, ptr %3, align 4 %25 = icmp eq i32 %24, 6 br i1 %25, label %28, label %26 26: ; preds = %23 %27 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.6, i32 noundef 149) store i32 0, ptr %1, align 4 br label %40 28: ; preds = %23 br label %29 29: ; preds = %28 br label %30 30: ; preds = %29 %31 = load ptr, ptr %2, align 8 %32 = call i32 @strcmp(ptr noundef @.str.7, ptr noundef %31) %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %30 %35 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.8, i32 noundef 150) store i32 0, ptr %1, align 4 br label %40 36: ; preds = %30 br label %37 37: ; preds = %36 %38 = load ptr, ptr %2, align 8 %39 = call i32 @free(ptr noundef %38) store i32 1, ptr %1, align 4 br label %40 40: ; preds = %37, %34, %26, %16, %8 %41 = load i32, ptr %1, align 4 ret i32 %41 } declare i32 @asprintf(ptr noundef, ptr noundef, float noundef, ...) #1 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcmp(ptr noundef, 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/tmpb9zxtgy9.c' source_filename = "/tmp/tmpb9zxtgy9.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 [53 x i8] c"\0AEnter the length, breadth and height of the cuboid\0A\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 [37 x i8] c"\0ASurface Area of cuboid is %d units\0A\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"\0AVolume of cuboid is %d cubic units\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 store i32 0, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4) %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = call i32 @fnCalcVolSurfArea(i32 noundef %9, i32 noundef %10, i32 noundef %11, ptr noundef %5, ptr noundef %6) %13 = load i32, ptr %5, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13) %15 = load i32, ptr %6, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %15) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fnCalcVolSurfArea(i32 noundef, i32 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/tmpb9zxtgy9.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 [53 x i8] c"\0AEnter the length, breadth and height of the cuboid\0A\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 [37 x i8] c"\0ASurface Area of cuboid is %d units\0A\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"\0AVolume of cuboid is %d cubic units\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 store i32 0, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4) %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = call i32 @fnCalcVolSurfArea(i32 noundef %9, i32 noundef %10, i32 noundef %11, ptr noundef %5, ptr noundef %6) %13 = load i32, ptr %5, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13) %15 = load i32, ptr %6, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %15) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fnCalcVolSurfArea(i32 noundef, i32 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/tmpxx5cvq3f.c' source_filename = "/tmp/tmpxx5cvq3f.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 float @triangle() #0 { %1 = alloca float, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = call float (...) @brrand() store float %4, ptr %1, align 4 %5 = call float (...) @brrand() store float %5, ptr %2, align 4 %6 = load float, ptr %1, align 4 %7 = load float, ptr %2, align 4 %8 = fadd float %6, %7 %9 = fpext float %8 to double %10 = fmul double 5.000000e-01, %9 %11 = fptrunc double %10 to float store float %11, ptr %3, align 4 %12 = load float, ptr %3, align 4 ret float %12 } declare float @brrand(...) #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/tmpxx5cvq3f.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 float @triangle() #0 { %1 = alloca float, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = call float (...) @brrand() store float %4, ptr %1, align 4 %5 = call float (...) @brrand() store float %5, ptr %2, align 4 %6 = load float, ptr %1, align 4 %7 = load float, ptr %2, align 4 %8 = fadd float %6, %7 %9 = fpext float %8 to double %10 = fmul double 5.000000e-01, %9 %11 = fptrunc double %10 to float store float %11, ptr %3, align 4 %12 = load float, ptr %3, align 4 ret float %12 } declare float @brrand(...) #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/tmpziasyqx6.c' source_filename = "/tmp/tmpziasyqx6.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 @FPUNaNModeSet(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load volatile i32, ptr inttoptr (i64 3758157628 to ptr), align 4 %4 = and i32 %3, -33554433 %5 = load i32, ptr %2, align 4 %6 = or i32 %4, %5 store volatile i32 %6, ptr inttoptr (i64 3758157628 to ptr), 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/tmpziasyqx6.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 @FPUNaNModeSet(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load volatile i32, ptr inttoptr (i64 3758157628 to ptr), align 4 %4 = and i32 %3, -33554433 %5 = load i32, ptr %2, align 4 %6 = or i32 %4, %5 store volatile i32 %6, ptr inttoptr (i64 3758157628 to ptr), 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/tmp0fcumbbn.c' source_filename = "/tmp/tmp0fcumbbn.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 @sshbuf_put(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 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 %5, align 8 %11 = load i64, ptr %7, align 8 %12 = call i32 @sshbuf_reserve(ptr noundef %10, i64 noundef %11, ptr noundef %8) store i32 %12, ptr %9, align 4 %13 = icmp slt i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %3 %15 = load i32, ptr %9, align 4 store i32 %15, ptr %4, align 4 br label %25 16: ; preds = %3 %17 = load i64, ptr %7, align 8 %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %24 19: ; preds = %16 %20 = load ptr, ptr %8, align 8 %21 = load ptr, ptr %6, align 8 %22 = load i64, ptr %7, align 8 %23 = call i32 @memcpy(ptr noundef %20, ptr noundef %21, i64 noundef %22) br label %24 24: ; preds = %19, %16 store i32 0, ptr %4, align 4 br label %25 25: ; preds = %24, %14 %26 = load i32, ptr %4, align 4 ret i32 %26 } declare i32 @sshbuf_reserve(ptr noundef, i64 noundef, ptr 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/tmp0fcumbbn.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 @sshbuf_put(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 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 %5, align 8 %11 = load i64, ptr %7, align 8 %12 = call i32 @sshbuf_reserve(ptr noundef %10, i64 noundef %11, ptr noundef %8) store i32 %12, ptr %9, align 4 %13 = icmp slt i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %3 %15 = load i32, ptr %9, align 4 store i32 %15, ptr %4, align 4 br label %25 16: ; preds = %3 %17 = load i64, ptr %7, align 8 %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %24 19: ; preds = %16 %20 = load ptr, ptr %8, align 8 %21 = load ptr, ptr %6, align 8 %22 = load i64, ptr %7, align 8 %23 = call i32 @memcpy(ptr noundef %20, ptr noundef %21, i64 noundef %22) br label %24 24: ; preds = %19, %16 store i32 0, ptr %4, align 4 br label %25 25: ; preds = %24, %14 %26 = load i32, ptr %4, align 4 ret i32 %26 } declare i32 @sshbuf_reserve(ptr noundef, i64 noundef, ptr 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/tmprz06h6u9.c' source_filename = "/tmp/tmprz06h6u9.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"%d * %d = %2d \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 i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 2, ptr %2, align 4 br label %4 4: ; preds = %22, %0 %5 = load i32, ptr %2, align 4 %6 = icmp sle i32 %5, 4 br i1 %6, label %7, label %26 7: ; preds = %4 store i32 1, ptr %3, align 4 br label %8 8: ; preds = %18, %7 %9 = load i32, ptr %3, align 4 %10 = icmp sle i32 %9, 5 br i1 %10, label %11, label %21 11: ; preds = %8 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %3, align 4 %16 = mul nsw i32 %14, %15 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %12, i32 noundef %13, i32 noundef %16) br label %18 18: ; preds = %11 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 br label %8, !llvm.loop !6 21: ; preds = %8 br label %22 22: ; preds = %21 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %24 = load i32, ptr %2, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %2, align 4 br label %4, !llvm.loop !8 26: ; preds = %4 %27 = load i32, ptr %1, align 4 ret i32 %27 } 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/tmprz06h6u9.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"%d * %d = %2d \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 i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 2, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp sle i32 %4, 4 br i1 %5, label %.lr.ph2, label %28 .lr.ph2: ; preds = %0 br label %6 6: ; preds = %.lr.ph2, %22 store i32 1, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp sle i32 %7, 5 br i1 %8, label %.lr.ph, label %21 .lr.ph: ; preds = %6 br label %9 9: ; preds = %.lr.ph, %16 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %3, align 4 %14 = mul nsw i32 %12, %13 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %11, i32 noundef %14) br label %16 16: ; preds = %9 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %3, align 4 %19 = load i32, ptr %3, align 4 %20 = icmp sle i32 %19, 5 br i1 %20, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %21 21: ; preds = %._crit_edge, %6 br label %22 22: ; preds = %21 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %24 = load i32, ptr %2, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %2, align 4 %26 = load i32, ptr %2, align 4 %27 = icmp sle i32 %26, 4 br i1 %27, label %6, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %22 br label %28 28: ; preds = %._crit_edge3, %0 %29 = load i32, ptr %1, align 4 ret i32 %29 } 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/tmp6pvybuov.c' source_filename = "/tmp/tmp6pvybuov.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 [45 x i8] c"Usage: %s [-r] [-c] [-w <savetype>] <file>\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [69 x i8] c"This program takes a big-endian N64 ROM and sets the header so that\0A\00", align 1 @.str.2 = private unnamed_addr constant [71 x i8] c"EverDrive64 will respect the declared save type, RTC, and region-free\0A\00", align 1 @.str.3 = private unnamed_addr constant [64 x i8] c"settings without needing to create a save_db.txt entry for it.\0A\00", align 1 @.str.4 = private unnamed_addr constant [96 x i8] c"See: https://github.com/krikzz/ED64/blob/master/docs/rom_config_database.md#developer-override\0A\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"Command-line flags:\0A\00", align 1 @.str.7 = private unnamed_addr constant [54 x i8] c"\09-w, --savetype <type> Declare cartridge save type.\0A\00", align 1 @.str.8 = private unnamed_addr constant [58 x i8] c"\09-c, --rtc Declare real-time clock support.\0A\00", align 1 @.str.9 = private unnamed_addr constant [50 x i8] c"\09-r, --regionfree Declare region-free ROM.\0A\00", align 1 @.str.10 = private unnamed_addr constant [33 x i8] c"Supported cartridge save types:\0A\00", align 1 @.str.11 = private unnamed_addr constant [57 x i8] c"\09none Game does not save or uses Controller Pak.\0A\00", align 1 @.str.12 = private unnamed_addr constant [46 x i8] c"\09eeprom4k Game saves to 4 kilobit EEPROM.\0A\00", align 1 @.str.13 = private unnamed_addr constant [47 x i8] c"\09eeprom16k Game saves to 16 kilobit EEPROM.\0A\00", align 1 @.str.14 = private unnamed_addr constant [45 x i8] c"\09sram256k Game saves to 256 kilobit SRAM\0A\00", align 1 @.str.15 = private unnamed_addr constant [45 x i8] c"\09sram768k Game saves to 768 kilobit SRAM\0A\00", align 1 @.str.16 = private unnamed_addr constant [43 x i8] c"\09sram1m Game saves to 1 megabit SRAM\0A\00", align 1 @.str.17 = private unnamed_addr constant [47 x i8] c"\09flashram Game saves to 1 megabit FlashRAM\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @print_usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @stderr, align 4 %7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1) %8 = load i32, ptr @stderr, align 4 %9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2) %10 = load i32, ptr @stderr, align 4 %11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.3) %12 = load i32, ptr @stderr, align 4 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.4) %14 = load i32, ptr @stderr, align 4 %15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.5) %16 = load i32, ptr @stderr, align 4 %17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.6) %18 = load i32, ptr @stderr, align 4 %19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.7) %20 = load i32, ptr @stderr, align 4 %21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.8) %22 = load i32, ptr @stderr, align 4 %23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.9) %24 = load i32, ptr @stderr, align 4 %25 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str.5) %26 = load i32, ptr @stderr, align 4 %27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.10) %28 = load i32, ptr @stderr, align 4 %29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %28, ptr noundef @.str.11) %30 = load i32, ptr @stderr, align 4 %31 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %30, ptr noundef @.str.12) %32 = load i32, ptr @stderr, align 4 %33 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %32, ptr noundef @.str.13) %34 = load i32, ptr @stderr, align 4 %35 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %34, ptr noundef @.str.14) %36 = load i32, ptr @stderr, align 4 %37 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %36, ptr noundef @.str.15) %38 = load i32, ptr @stderr, align 4 %39 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %38, ptr noundef @.str.16) %40 = load i32, ptr @stderr, align 4 %41 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %40, ptr noundef @.str.17) ret i32 2 } declare i32 @fprintf(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/tmp6pvybuov.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 [45 x i8] c"Usage: %s [-r] [-c] [-w <savetype>] <file>\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [69 x i8] c"This program takes a big-endian N64 ROM and sets the header so that\0A\00", align 1 @.str.2 = private unnamed_addr constant [71 x i8] c"EverDrive64 will respect the declared save type, RTC, and region-free\0A\00", align 1 @.str.3 = private unnamed_addr constant [64 x i8] c"settings without needing to create a save_db.txt entry for it.\0A\00", align 1 @.str.4 = private unnamed_addr constant [96 x i8] c"See: https://github.com/krikzz/ED64/blob/master/docs/rom_config_database.md#developer-override\0A\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"Command-line flags:\0A\00", align 1 @.str.7 = private unnamed_addr constant [54 x i8] c"\09-w, --savetype <type> Declare cartridge save type.\0A\00", align 1 @.str.8 = private unnamed_addr constant [58 x i8] c"\09-c, --rtc Declare real-time clock support.\0A\00", align 1 @.str.9 = private unnamed_addr constant [50 x i8] c"\09-r, --regionfree Declare region-free ROM.\0A\00", align 1 @.str.10 = private unnamed_addr constant [33 x i8] c"Supported cartridge save types:\0A\00", align 1 @.str.11 = private unnamed_addr constant [57 x i8] c"\09none Game does not save or uses Controller Pak.\0A\00", align 1 @.str.12 = private unnamed_addr constant [46 x i8] c"\09eeprom4k Game saves to 4 kilobit EEPROM.\0A\00", align 1 @.str.13 = private unnamed_addr constant [47 x i8] c"\09eeprom16k Game saves to 16 kilobit EEPROM.\0A\00", align 1 @.str.14 = private unnamed_addr constant [45 x i8] c"\09sram256k Game saves to 256 kilobit SRAM\0A\00", align 1 @.str.15 = private unnamed_addr constant [45 x i8] c"\09sram768k Game saves to 768 kilobit SRAM\0A\00", align 1 @.str.16 = private unnamed_addr constant [43 x i8] c"\09sram1m Game saves to 1 megabit SRAM\0A\00", align 1 @.str.17 = private unnamed_addr constant [47 x i8] c"\09flashram Game saves to 1 megabit FlashRAM\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @print_usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @stderr, align 4 %7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1) %8 = load i32, ptr @stderr, align 4 %9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2) %10 = load i32, ptr @stderr, align 4 %11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.3) %12 = load i32, ptr @stderr, align 4 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.4) %14 = load i32, ptr @stderr, align 4 %15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.5) %16 = load i32, ptr @stderr, align 4 %17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.6) %18 = load i32, ptr @stderr, align 4 %19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.7) %20 = load i32, ptr @stderr, align 4 %21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.8) %22 = load i32, ptr @stderr, align 4 %23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.9) %24 = load i32, ptr @stderr, align 4 %25 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str.5) %26 = load i32, ptr @stderr, align 4 %27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.10) %28 = load i32, ptr @stderr, align 4 %29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %28, ptr noundef @.str.11) %30 = load i32, ptr @stderr, align 4 %31 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %30, ptr noundef @.str.12) %32 = load i32, ptr @stderr, align 4 %33 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %32, ptr noundef @.str.13) %34 = load i32, ptr @stderr, align 4 %35 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %34, ptr noundef @.str.14) %36 = load i32, ptr @stderr, align 4 %37 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %36, ptr noundef @.str.15) %38 = load i32, ptr @stderr, align 4 %39 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %38, ptr noundef @.str.16) %40 = load i32, ptr @stderr, align 4 %41 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %40, ptr noundef @.str.17) ret i32 2 } declare i32 @fprintf(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/tmpzgu1_98c.c' source_filename = "/tmp/tmpzgu1_98c.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" @cdff.K1 = internal global i32 1, align 4 @cdff.K2 = internal global double 0.000000e+00, align 8 @cdff.K4 = internal global double 5.000000e-01, align 8 @cdff.K5 = internal global double 5.000000e+00, align 8 @cdff.pq = internal global double 0.000000e+00, align 8 @cdff.fx = internal global double 0.000000e+00, align 8 @cdff.cum = internal global double 0.000000e+00, align 8 @cdff.ccum = internal global double 0.000000e+00, align 8 @cdff.qhi = internal global i64 0, align 8 @cdff.qleft = internal global i64 0, align 8 @cdff.qporq = internal global i64 0, align 8 @cdff.T3 = internal global double 0.000000e+00, align 8 @cdff.T6 = internal global double 0.000000e+00, align 8 @cdff.T7 = internal global double 0.000000e+00, align 8 @cdff.T8 = internal global double 0.000000e+00, align 8 @cdff.T9 = internal global double 0.000000e+00, align 8 @cdff.T10 = internal global double 0.000000e+00, align 8 @cdff.T11 = internal global double 0.000000e+00, align 8 @cdff.T12 = internal global double 0.000000e+00, align 8 @cdff.T13 = internal global double 0.000000e+00, align 8 @cdff.T14 = internal global double 0.000000e+00, align 8 @cdff.T15 = internal global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cdff(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store ptr %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store ptr %7, ptr %16, align 8 %17 = load ptr, ptr %9, align 8 %18 = load i32, ptr %17, align 4 %19 = icmp slt i32 %18, 1 br i1 %19, label %25, label %20 20: ; preds = %8 %21 = load ptr, ptr %9, align 8 %22 = load i32, ptr %21, align 4 %23 = icmp sgt i32 %22, 4 br i1 %23, label %25, label %24 24: ; preds = %20 br label %36 25: ; preds = %20, %8 %26 = load ptr, ptr %9, align 8 %27 = load i32, ptr %26, align 4 %28 = icmp slt i32 %27, 1 br i1 %28, label %30, label %29 29: ; preds = %25 br label %32 30: ; preds = %25 %31 = load ptr, ptr %16, align 8 store double 1.000000e+00, ptr %31, align 8 br label %34 32: ; preds = %29 %33 = load ptr, ptr %16, align 8 store double 4.000000e+00, ptr %33, align 8 br label %34 34: ; preds = %32, %30 %35 = load ptr, ptr %15, align 8 store i32 -1, ptr %35, align 4 br label %353 36: ; preds = %24 %37 = load ptr, ptr %9, align 8 %38 = load i32, ptr %37, align 4 %39 = icmp eq i32 %38, 1 br i1 %39, label %40, label %41 40: ; preds = %36 br label %61 41: ; preds = %36 %42 = load ptr, ptr %10, align 8 %43 = load double, ptr %42, align 8 %44 = fcmp olt double %43, 0.000000e+00 br i1 %44, label %50, label %45 45: ; preds = %41 %46 = load ptr, ptr %10, align 8 %47 = load double, ptr %46, align 8 %48 = fcmp ogt double %47, 1.000000e+00 br i1 %48, label %50, label %49 49: ; preds = %45 br label %62 50: ; preds = %45, %41 %51 = load ptr, ptr %10, align 8 %52 = load double, ptr %51, align 8 %53 = fcmp olt double %52, 0.000000e+00 br i1 %53, label %55, label %54 54: ; preds = %50 br label %57 55: ; preds = %50 %56 = load ptr, ptr %16, align 8 store double 0.000000e+00, ptr %56, align 8 br label %59 57: ; preds = %54 %58 = load ptr, ptr %16, align 8 store double 1.000000e+00, ptr %58, align 8 br label %59 59: ; preds = %57, %55 %60 = load ptr, ptr %15, align 8 store i32 -2, ptr %60, align 4 br label %353 61: ; preds = %40 br label %62 62: ; preds = %61, %49 %63 = load ptr, ptr %9, align 8 %64 = load i32, ptr %63, align 4 %65 = icmp eq i32 %64, 1 br i1 %65, label %66, label %67 66: ; preds = %62 br label %87 67: ; preds = %62 %68 = load ptr, ptr %11, align 8 %69 = load double, ptr %68, align 8 %70 = fcmp ole double %69, 0.000000e+00 br i1 %70, label %76, label %71 71: ; preds = %67 %72 = load ptr, ptr %11, align 8 %73 = load double, ptr %72, align 8 %74 = fcmp ogt double %73, 1.000000e+00 br i1 %74, label %76, label %75 75: ; preds = %71 br label %88 76: ; preds = %71, %67 %77 = load ptr, ptr %11, align 8 %78 = load double, ptr %77, align 8 %79 = fcmp ole double %78, 0.000000e+00 br i1 %79, label %81, label %80 80: ; preds = %76 br label %83 81: ; preds = %76 %82 = load ptr, ptr %16, align 8 store double 0.000000e+00, ptr %82, align 8 br label %85 83: ; preds = %80 %84 = load ptr, ptr %16, align 8 store double 1.000000e+00, ptr %84, align 8 br label %85 85: ; preds = %83, %81 %86 = load ptr, ptr %15, align 8 store i32 -3, ptr %86, align 4 br label %353 87: ; preds = %66 br label %88 88: ; preds = %87, %75 %89 = load ptr, ptr %9, align 8 %90 = load i32, ptr %89, align 4 %91 = icmp eq i32 %90, 2 br i1 %91, label %92, label %93 92: ; preds = %88 br label %101 93: ; preds = %88 %94 = load ptr, ptr %12, align 8 %95 = load double, ptr %94, align 8 %96 = fcmp olt double %95, 0.000000e+00 br i1 %96, label %98, label %97 97: ; preds = %93 br label %102 98: ; preds = %93 %99 = load ptr, ptr %16, align 8 store double 0.000000e+00, ptr %99, align 8 %100 = load ptr, ptr %15, align 8 store i32 -4, ptr %100, align 4 br label %353 101: ; preds = %92 br label %102 102: ; preds = %101, %97 %103 = load ptr, ptr %9, align 8 %104 = load i32, ptr %103, align 4 %105 = icmp eq i32 %104, 3 br i1 %105, label %106, label %107 106: ; preds = %102 br label %115 107: ; preds = %102 %108 = load ptr, ptr %13, align 8 %109 = load double, ptr %108, align 8 %110 = fcmp ole double %109, 0.000000e+00 br i1 %110, label %112, label %111 111: ; preds = %107 br label %116 112: ; preds = %107 %113 = load ptr, ptr %16, align 8 store double 0.000000e+00, ptr %113, align 8 %114 = load ptr, ptr %15, align 8 store i32 -5, ptr %114, align 4 br label %353 115: ; preds = %106 br label %116 116: ; preds = %115, %111 %117 = load ptr, ptr %9, align 8 %118 = load i32, ptr %117, align 4 %119 = icmp eq i32 %118, 4 br i1 %119, label %120, label %121 120: ; preds = %116 br label %129 121: ; preds = %116 %122 = load ptr, ptr %14, align 8 %123 = load double, ptr %122, align 8 %124 = fcmp ole double %123, 0.000000e+00 br i1 %124, label %126, label %125 125: ; preds = %121 br label %130 126: ; preds = %121 %127 = load ptr, ptr %16, align 8 store double 0.000000e+00, ptr %127, align 8 %128 = load ptr, ptr %15, align 8 store i32 -6, ptr %128, align 4 br label %353 129: ; preds = %120 br label %130 130: ; preds = %129, %125 %131 = load ptr, ptr %9, align 8 %132 = load i32, ptr %131, align 4 %133 = icmp eq i32 %132, 1 br i1 %133, label %134, label %135 134: ; preds = %130 br label %159 135: ; preds = %130 %136 = load ptr, ptr %10, align 8 %137 = load double, ptr %136, align 8 %138 = load ptr, ptr %11, align 8 %139 = load double, ptr %138, align 8 %140 = fadd double %137, %139 store double %140, ptr @cdff.pq, align 8 %141 = load double, ptr @cdff.pq, align 8 %142 = fsub double %141, 5.000000e-01 %143 = fsub double %142, 5.000000e-01 %144 = call double @llvm.fabs.f64(double %143) %145 = call double @spmpar(ptr noundef @cdff.K1) %146 = fmul double 3.000000e+00, %145 %147 = fcmp ogt double %144, %146 br i1 %147, label %149, label %148 148: ; preds = %135 br label %160 149: ; preds = %135 %150 = load double, ptr @cdff.pq, align 8 %151 = fcmp olt double %150, 0.000000e+00 br i1 %151, label %153, label %152 152: ; preds = %149 br label %155 153: ; preds = %149 %154 = load ptr, ptr %16, align 8 store double 0.000000e+00, ptr %154, align 8 br label %157 155: ; preds = %152 %156 = load ptr, ptr %16, align 8 store double 1.000000e+00, ptr %156, align 8 br label %157 157: ; preds = %155, %153 %158 = load ptr, ptr %15, align 8 store i32 3, ptr %158, align 4 br label %353 159: ; preds = %134 br label %160 160: ; preds = %159, %148 %161 = load ptr, ptr %9, align 8 %162 = load i32, ptr %161, align 4 %163 = icmp eq i32 %162, 1 br i1 %163, label %172, label %164 164: ; preds = %160 %165 = load ptr, ptr %10, align 8 %166 = load double, ptr %165, align 8 %167 = load ptr, ptr %11, align 8 %168 = load double, ptr %167, align 8 %169 = fcmp ole double %166, %168 %170 = zext i1 %169 to i32 %171 = sext i32 %170 to i64 store i64 %171, ptr @cdff.qporq, align 8 br label %172 172: ; preds = %164, %160 %173 = load ptr, ptr %9, align 8 %174 = load i32, ptr %173, align 4 %175 = icmp eq i32 1, %174 br i1 %175, label %176, label %184 176: ; preds = %172 %177 = load ptr, ptr %12, align 8 %178 = load ptr, ptr %13, align 8 %179 = load ptr, ptr %14, align 8 %180 = load ptr, ptr %10, align 8 %181 = load ptr, ptr %11, align 8 %182 = call i32 @cumf(ptr noundef %177, ptr noundef %178, ptr noundef %179, ptr noundef %180, ptr noundef %181) %183 = load ptr, ptr %15, align 8 store i32 0, ptr %183, align 4 br label %351 184: ; preds = %172 %185 = load ptr, ptr %9, align 8 %186 = load i32, ptr %185, align 4 %187 = icmp eq i32 2, %186 br i1 %187, label %188, label %239 188: ; preds = %184 %189 = load ptr, ptr %12, align 8 store double 5.000000e+00, ptr %189, align 8 store double 1.000000e+300, ptr @cdff.T3, align 8 store double 1.000000e-50, ptr @cdff.T6, align 8 store double 1.000000e-08, ptr @cdff.T7, align 8 %190 = call i32 @dstinv(ptr noundef @cdff.K2, ptr noundef @cdff.T3, ptr noundef @cdff.K4, ptr noundef @cdff.K4, ptr noundef @cdff.K5, ptr noundef @cdff.T6, ptr noundef @cdff.T7) %191 = load ptr, ptr %15, align 8 store i32 0, ptr %191, align 4 %192 = load ptr, ptr %15, align 8 %193 = load ptr, ptr %12, align 8 %194 = call i32 @dinvr(ptr noundef %192, ptr noundef %193, ptr noundef @cdff.fx, ptr noundef @cdff.qleft, ptr noundef @cdff.qhi) br label %195 195: ; preds = %218, %188 %196 = load ptr, ptr %15, align 8 %197 = load i32, ptr %196, align 4 %198 = icmp eq i32 %197, 1 br i1 %198, label %200, label %199 199: ; preds = %195 br label %222 200: ; preds = %195 %201 = load ptr, ptr %12, align 8 %202 = load ptr, ptr %13, align 8 %203 = load ptr, ptr %14, align 8 %204 = call i32 @cumf(ptr noundef %201, ptr noundef %202, ptr noundef %203, ptr noundef @cdff.cum, ptr noundef @cdff.ccum) %205 = load i64, ptr @cdff.qporq, align 8 %206 = icmp ne i64 %205, 0 br i1 %206, label %208, label %207 207: ; preds = %200 br label %213 208: ; preds = %200 %209 = load double, ptr @cdff.cum, align 8 %210 = load ptr, ptr %10, align 8 %211 = load double, ptr %210, align 8 %212 = fsub double %209, %211 store double %212, ptr @cdff.fx, align 8 br label %218 213: ; preds = %207 %214 = load double, ptr @cdff.ccum, align 8 %215 = load ptr, ptr %11, align 8 %216 = load double, ptr %215, align 8 %217 = fsub double %214, %216 store double %217, ptr @cdff.fx, align 8 br label %218 218: ; preds = %213, %208 %219 = load ptr, ptr %15, align 8 %220 = load ptr, ptr %12, align 8 %221 = call i32 @dinvr(ptr noundef %219, ptr noundef %220, ptr noundef @cdff.fx, ptr noundef @cdff.qleft, ptr noundef @cdff.qhi) br label %195 222: ; preds = %199 %223 = load ptr, ptr %15, align 8 %224 = load i32, ptr %223, align 4 %225 = icmp eq i32 %224, -1 br i1 %225, label %227, label %226 226: ; preds = %222 br label %237 227: ; preds = %222 %228 = load i64, ptr @cdff.qleft, align 8 %229 = icmp ne i64 %228, 0 br i1 %229, label %231, label %230 230: ; preds = %227 br label %234 231: ; preds = %227 %232 = load ptr, ptr %15, align 8 store i32 1, ptr %232, align 4 %233 = load ptr, ptr %16, align 8 store double 0.000000e+00, ptr %233, align 8 br label %238 234: ; preds = %230 %235 = load ptr, ptr %15, align 8 store i32 2, ptr %235, align 4 %236 = load ptr, ptr %16, align 8 store double 1.000000e+300, ptr %236, align 8 br label %237 237: ; preds = %234, %226 br label %238 238: ; preds = %237, %231 br label %350 239: ; preds = %184 %240 = load ptr, ptr %9, align 8 %241 = load i32, ptr %240, align 4 %242 = icmp eq i32 3, %241 br i1 %242, label %243, label %294 243: ; preds = %239 %244 = load ptr, ptr %13, align 8 store double 5.000000e+00, ptr %244, align 8 store double 1.000000e-300, ptr @cdff.T8, align 8 store double 1.000000e+300, ptr @cdff.T9, align 8 store double 1.000000e-50, ptr @cdff.T10, align 8 store double 1.000000e-08, ptr @cdff.T11, align 8 %245 = call i32 @dstinv(ptr noundef @cdff.T8, ptr noundef @cdff.T9, ptr noundef @cdff.K4, ptr noundef @cdff.K4, ptr noundef @cdff.K5, ptr noundef @cdff.T10, ptr noundef @cdff.T11) %246 = load ptr, ptr %15, align 8 store i32 0, ptr %246, align 4 %247 = load ptr, ptr %15, align 8 %248 = load ptr, ptr %13, align 8 %249 = call i32 @dinvr(ptr noundef %247, ptr noundef %248, ptr noundef @cdff.fx, ptr noundef @cdff.qleft, ptr noundef @cdff.qhi) br label %250 250: ; preds = %273, %243 %251 = load ptr, ptr %15, align 8 %252 = load i32, ptr %251, align 4 %253 = icmp eq i32 %252, 1 br i1 %253, label %255, label %254 254: ; preds = %250 br label %277 255: ; preds = %250 %256 = load ptr, ptr %12, align 8 %257 = load ptr, ptr %13, align 8 %258 = load ptr, ptr %14, align 8 %259 = call i32 @cumf(ptr noundef %256, ptr noundef %257, ptr noundef %258, ptr noundef @cdff.cum, ptr noundef @cdff.ccum) %260 = load i64, ptr @cdff.qporq, align 8 %261 = icmp ne i64 %260, 0 br i1 %261, label %263, label %262 262: ; preds = %255 br label %268 263: ; preds = %255 %264 = load double, ptr @cdff.cum, align 8 %265 = load ptr, ptr %10, align 8 %266 = load double, ptr %265, align 8 %267 = fsub double %264, %266 store double %267, ptr @cdff.fx, align 8 br label %273 268: ; preds = %262 %269 = load double, ptr @cdff.ccum, align 8 %270 = load ptr, ptr %11, align 8 %271 = load double, ptr %270, align 8 %272 = fsub double %269, %271 store double %272, ptr @cdff.fx, align 8 br label %273 273: ; preds = %268, %263 %274 = load ptr, ptr %15, align 8 %275 = load ptr, ptr %13, align 8 %276 = call i32 @dinvr(ptr noundef %274, ptr noundef %275, ptr noundef @cdff.fx, ptr noundef @cdff.qleft, ptr noundef @cdff.qhi) br label %250 277: ; preds = %254 %278 = load ptr, ptr %15, align 8 %279 = load i32, ptr %278, align 4 %280 = icmp eq i32 %279, -1 br i1 %280, label %282, label %281 281: ; preds = %277 br label %292 282: ; preds = %277 %283 = load i64, ptr @cdff.qleft, align 8 %284 = icmp ne i64 %283, 0 br i1 %284, label %286, label %285 285: ; preds = %282 br label %289 286: ; preds = %282 %287 = load ptr, ptr %15, align 8 store i32 1, ptr %287, align 4 %288 = load ptr, ptr %16, align 8 store double 1.000000e-300, ptr %288, align 8 br label %293 289: ; preds = %285 %290 = load ptr, ptr %15, align 8 store i32 2, ptr %290, align 4 %291 = load ptr, ptr %16, align 8 store double 1.000000e+300, ptr %291, align 8 br label %292 292: ; preds = %289, %281 br label %293 293: ; preds = %292, %286 br label %349 294: ; preds = %239 %295 = load ptr, ptr %9, align 8 %296 = load i32, ptr %295, align 4 %297 = icmp eq i32 4, %296 br i1 %297, label %298, label %348 298: ; preds = %294 %299 = load ptr, ptr %14, align 8 store double 5.000000e+00, ptr %299, align 8 store double 1.000000e-300, ptr @cdff.T12, align 8 store double 1.000000e+300, ptr @cdff.T13, align 8 store double 1.000000e-50, ptr @cdff.T14, align 8 store double 1.000000e-08, ptr @cdff.T15, align 8 %300 = call i32 @dstinv(ptr noundef @cdff.T12, ptr noundef @cdff.T13, ptr noundef @cdff.K4, ptr noundef @cdff.K4, ptr noundef @cdff.K5, ptr noundef @cdff.T14, ptr noundef @cdff.T15) %301 = load ptr, ptr %15, align 8 store i32 0, ptr %301, align 4 %302 = load ptr, ptr %15, align 8 %303 = load ptr, ptr %14, align 8 %304 = call i32 @dinvr(ptr noundef %302, ptr noundef %303, ptr noundef @cdff.fx, ptr noundef @cdff.qleft, ptr noundef @cdff.qhi) br label %305 305: ; preds = %328, %298 %306 = load ptr, ptr %15, align 8 %307 = load i32, ptr %306, align 4 %308 = icmp eq i32 %307, 1 br i1 %308, label %310, label %309 309: ; preds = %305 br label %332 310: ; preds = %305 %311 = load ptr, ptr %12, align 8 %312 = load ptr, ptr %13, align 8 %313 = load ptr, ptr %14, align 8 %314 = call i32 @cumf(ptr noundef %311, ptr noundef %312, ptr noundef %313, ptr noundef @cdff.cum, ptr noundef @cdff.ccum) %315 = load i64, ptr @cdff.qporq, align 8 %316 = icmp ne i64 %315, 0 br i1 %316, label %318, label %317 317: ; preds = %310 br label %323 318: ; preds = %310 %319 = load double, ptr @cdff.cum, align 8 %320 = load ptr, ptr %10, align 8 %321 = load double, ptr %320, align 8 %322 = fsub double %319, %321 store double %322, ptr @cdff.fx, align 8 br label %328 323: ; preds = %317 %324 = load double, ptr @cdff.ccum, align 8 %325 = load ptr, ptr %11, align 8 %326 = load double, ptr %325, align 8 %327 = fsub double %324, %326 store double %327, ptr @cdff.fx, align 8 br label %328 328: ; preds = %323, %318 %329 = load ptr, ptr %15, align 8 %330 = load ptr, ptr %14, align 8 %331 = call i32 @dinvr(ptr noundef %329, ptr noundef %330, ptr noundef @cdff.fx, ptr noundef @cdff.qleft, ptr noundef @cdff.qhi) br label %305 332: ; preds = %309 %333 = load ptr, ptr %15, align 8 %334 = load i32, ptr %333, align 4 %335 = icmp eq i32 %334, -1 br i1 %335, label %337, label %336 336: ; preds = %332 br label %352 337: ; preds = %332 %338 = load i64, ptr @cdff.qleft, align 8 %339 = icmp ne i64 %338, 0 br i1 %339, label %341, label %340 340: ; preds = %337 br label %344 341: ; preds = %337 %342 = load ptr, ptr %15, align 8 store i32 1, ptr %342, align 4 %343 = load ptr, ptr %16, align 8 store double 1.000000e-300, ptr %343, align 8 br label %347 344: ; preds = %340 %345 = load ptr, ptr %15, align 8 store i32 2, ptr %345, align 4 %346 = load ptr, ptr %16, align 8 store double 1.000000e+300, ptr %346, align 8 br label %347 347: ; preds = %344, %341 br label %348 348: ; preds = %347, %294 br label %349 349: ; preds = %348, %293 br label %350 350: ; preds = %349, %238 br label %351 351: ; preds = %350, %176 br label %352 352: ; preds = %351, %336 br label %353 353: ; preds = %352, %157, %126, %112, %98, %85, %59, %34 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 declare double @spmpar(ptr noundef) #2 declare i32 @cumf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @dstinv(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @dinvr(ptr noundef, ptr noundef, ptr noundef, ptr noundef, 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 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzgu1_98c.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" @cdff.K1 = internal global i32 1, align 4 @cdff.K2 = internal global double 0.000000e+00, align 8 @cdff.K4 = internal global double 5.000000e-01, align 8 @cdff.K5 = internal global double 5.000000e+00, align 8 @cdff.pq = internal global double 0.000000e+00, align 8 @cdff.fx = internal global double 0.000000e+00, align 8 @cdff.cum = internal global double 0.000000e+00, align 8 @cdff.ccum = internal global double 0.000000e+00, align 8 @cdff.qhi = internal global i64 0, align 8 @cdff.qleft = internal global i64 0, align 8 @cdff.qporq = internal global i64 0, align 8 @cdff.T3 = internal global double 0.000000e+00, align 8 @cdff.T6 = internal global double 0.000000e+00, align 8 @cdff.T7 = internal global double 0.000000e+00, align 8 @cdff.T8 = internal global double 0.000000e+00, align 8 @cdff.T9 = internal global double 0.000000e+00, align 8 @cdff.T10 = internal global double 0.000000e+00, align 8 @cdff.T11 = internal global double 0.000000e+00, align 8 @cdff.T12 = internal global double 0.000000e+00, align 8 @cdff.T13 = internal global double 0.000000e+00, align 8 @cdff.T14 = internal global double 0.000000e+00, align 8 @cdff.T15 = internal global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cdff(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store ptr %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store ptr %7, ptr %16, align 8 %17 = load ptr, ptr %9, align 8 %18 = load i32, ptr %17, align 4 %19 = icmp slt i32 %18, 1 br i1 %19, label %25, label %20 20: ; preds = %8 %21 = load ptr, ptr %9, align 8 %22 = load i32, ptr %21, align 4 %23 = icmp sgt i32 %22, 4 br i1 %23, label %25, label %24 24: ; preds = %20 br label %36 25: ; preds = %20, %8 %26 = load ptr, ptr %9, align 8 %27 = load i32, ptr %26, align 4 %28 = icmp slt i32 %27, 1 br i1 %28, label %30, label %29 29: ; preds = %25 br label %32 30: ; preds = %25 %31 = load ptr, ptr %16, align 8 store double 1.000000e+00, ptr %31, align 8 br label %34 32: ; preds = %29 %33 = load ptr, ptr %16, align 8 store double 4.000000e+00, ptr %33, align 8 br label %34 34: ; preds = %32, %30 %35 = load ptr, ptr %15, align 8 store i32 -1, ptr %35, align 4 br label %359 36: ; preds = %24 %37 = load ptr, ptr %9, align 8 %38 = load i32, ptr %37, align 4 %39 = icmp eq i32 %38, 1 br i1 %39, label %40, label %41 40: ; preds = %36 br label %61 41: ; preds = %36 %42 = load ptr, ptr %10, align 8 %43 = load double, ptr %42, align 8 %44 = fcmp olt double %43, 0.000000e+00 br i1 %44, label %50, label %45 45: ; preds = %41 %46 = load ptr, ptr %10, align 8 %47 = load double, ptr %46, align 8 %48 = fcmp ogt double %47, 1.000000e+00 br i1 %48, label %50, label %49 49: ; preds = %45 br label %62 50: ; preds = %45, %41 %51 = load ptr, ptr %10, align 8 %52 = load double, ptr %51, align 8 %53 = fcmp olt double %52, 0.000000e+00 br i1 %53, label %55, label %54 54: ; preds = %50 br label %57 55: ; preds = %50 %56 = load ptr, ptr %16, align 8 store double 0.000000e+00, ptr %56, align 8 br label %59 57: ; preds = %54 %58 = load ptr, ptr %16, align 8 store double 1.000000e+00, ptr %58, align 8 br label %59 59: ; preds = %57, %55 %60 = load ptr, ptr %15, align 8 store i32 -2, ptr %60, align 4 br label %359 61: ; preds = %40 br label %62 62: ; preds = %61, %49 %63 = load ptr, ptr %9, align 8 %64 = load i32, ptr %63, align 4 %65 = icmp eq i32 %64, 1 br i1 %65, label %66, label %67 66: ; preds = %62 br label %87 67: ; preds = %62 %68 = load ptr, ptr %11, align 8 %69 = load double, ptr %68, align 8 %70 = fcmp ole double %69, 0.000000e+00 br i1 %70, label %76, label %71 71: ; preds = %67 %72 = load ptr, ptr %11, align 8 %73 = load double, ptr %72, align 8 %74 = fcmp ogt double %73, 1.000000e+00 br i1 %74, label %76, label %75 75: ; preds = %71 br label %88 76: ; preds = %71, %67 %77 = load ptr, ptr %11, align 8 %78 = load double, ptr %77, align 8 %79 = fcmp ole double %78, 0.000000e+00 br i1 %79, label %81, label %80 80: ; preds = %76 br label %83 81: ; preds = %76 %82 = load ptr, ptr %16, align 8 store double 0.000000e+00, ptr %82, align 8 br label %85 83: ; preds = %80 %84 = load ptr, ptr %16, align 8 store double 1.000000e+00, ptr %84, align 8 br label %85 85: ; preds = %83, %81 %86 = load ptr, ptr %15, align 8 store i32 -3, ptr %86, align 4 br label %359 87: ; preds = %66 br label %88 88: ; preds = %87, %75 %89 = load ptr, ptr %9, align 8 %90 = load i32, ptr %89, align 4 %91 = icmp eq i32 %90, 2 br i1 %91, label %92, label %93 92: ; preds = %88 br label %101 93: ; preds = %88 %94 = load ptr, ptr %12, align 8 %95 = load double, ptr %94, align 8 %96 = fcmp olt double %95, 0.000000e+00 br i1 %96, label %98, label %97 97: ; preds = %93 br label %102 98: ; preds = %93 %99 = load ptr, ptr %16, align 8 store double 0.000000e+00, ptr %99, align 8 %100 = load ptr, ptr %15, align 8 store i32 -4, ptr %100, align 4 br label %359 101: ; preds = %92 br label %102 102: ; preds = %101, %97 %103 = load ptr, ptr %9, align 8 %104 = load i32, ptr %103, align 4 %105 = icmp eq i32 %104, 3 br i1 %105, label %106, label %107 106: ; preds = %102 br label %115 107: ; preds = %102 %108 = load ptr, ptr %13, align 8 %109 = load double, ptr %108, align 8 %110 = fcmp ole double %109, 0.000000e+00 br i1 %110, label %112, label %111 111: ; preds = %107 br label %116 112: ; preds = %107 %113 = load ptr, ptr %16, align 8 store double 0.000000e+00, ptr %113, align 8 %114 = load ptr, ptr %15, align 8 store i32 -5, ptr %114, align 4 br label %359 115: ; preds = %106 br label %116 116: ; preds = %115, %111 %117 = load ptr, ptr %9, align 8 %118 = load i32, ptr %117, align 4 %119 = icmp eq i32 %118, 4 br i1 %119, label %120, label %121 120: ; preds = %116 br label %129 121: ; preds = %116 %122 = load ptr, ptr %14, align 8 %123 = load double, ptr %122, align 8 %124 = fcmp ole double %123, 0.000000e+00 br i1 %124, label %126, label %125 125: ; preds = %121 br label %130 126: ; preds = %121 %127 = load ptr, ptr %16, align 8 store double 0.000000e+00, ptr %127, align 8 %128 = load ptr, ptr %15, align 8 store i32 -6, ptr %128, align 4 br label %359 129: ; preds = %120 br label %130 130: ; preds = %129, %125 %131 = load ptr, ptr %9, align 8 %132 = load i32, ptr %131, align 4 %133 = icmp eq i32 %132, 1 br i1 %133, label %134, label %135 134: ; preds = %130 br label %159 135: ; preds = %130 %136 = load ptr, ptr %10, align 8 %137 = load double, ptr %136, align 8 %138 = load ptr, ptr %11, align 8 %139 = load double, ptr %138, align 8 %140 = fadd double %137, %139 store double %140, ptr @cdff.pq, align 8 %141 = load double, ptr @cdff.pq, align 8 %142 = fsub double %141, 5.000000e-01 %143 = fsub double %142, 5.000000e-01 %144 = call double @llvm.fabs.f64(double %143) %145 = call double @spmpar(ptr noundef @cdff.K1) %146 = fmul double 3.000000e+00, %145 %147 = fcmp ogt double %144, %146 br i1 %147, label %149, label %148 148: ; preds = %135 br label %160 149: ; preds = %135 %150 = load double, ptr @cdff.pq, align 8 %151 = fcmp olt double %150, 0.000000e+00 br i1 %151, label %153, label %152 152: ; preds = %149 br label %155 153: ; preds = %149 %154 = load ptr, ptr %16, align 8 store double 0.000000e+00, ptr %154, align 8 br label %157 155: ; preds = %152 %156 = load ptr, ptr %16, align 8 store double 1.000000e+00, ptr %156, align 8 br label %157 157: ; preds = %155, %153 %158 = load ptr, ptr %15, align 8 store i32 3, ptr %158, align 4 br label %359 159: ; preds = %134 br label %160 160: ; preds = %159, %148 %161 = load ptr, ptr %9, align 8 %162 = load i32, ptr %161, align 4 %163 = icmp eq i32 %162, 1 br i1 %163, label %172, label %164 164: ; preds = %160 %165 = load ptr, ptr %10, align 8 %166 = load double, ptr %165, align 8 %167 = load ptr, ptr %11, align 8 %168 = load double, ptr %167, align 8 %169 = fcmp ole double %166, %168 %170 = zext i1 %169 to i32 %171 = sext i32 %170 to i64 store i64 %171, ptr @cdff.qporq, align 8 br label %172 172: ; preds = %164, %160 %173 = load ptr, ptr %9, align 8 %174 = load i32, ptr %173, align 4 %175 = icmp eq i32 1, %174 br i1 %175, label %176, label %184 176: ; preds = %172 %177 = load ptr, ptr %12, align 8 %178 = load ptr, ptr %13, align 8 %179 = load ptr, ptr %14, align 8 %180 = load ptr, ptr %10, align 8 %181 = load ptr, ptr %11, align 8 %182 = call i32 @cumf(ptr noundef %177, ptr noundef %178, ptr noundef %179, ptr noundef %180, ptr noundef %181) %183 = load ptr, ptr %15, align 8 store i32 0, ptr %183, align 4 br label %357 184: ; preds = %172 %185 = load ptr, ptr %9, align 8 %186 = load i32, ptr %185, align 4 %187 = icmp eq i32 2, %186 br i1 %187, label %188, label %241 188: ; preds = %184 %189 = load ptr, ptr %12, align 8 store double 5.000000e+00, ptr %189, align 8 store double 1.000000e+300, ptr @cdff.T3, align 8 store double 1.000000e-50, ptr @cdff.T6, align 8 store double 1.000000e-08, ptr @cdff.T7, align 8 %190 = call i32 @dstinv(ptr noundef @cdff.K2, ptr noundef @cdff.T3, ptr noundef @cdff.K4, ptr noundef @cdff.K4, ptr noundef @cdff.K5, ptr noundef @cdff.T6, ptr noundef @cdff.T7) %191 = load ptr, ptr %15, align 8 store i32 0, ptr %191, align 4 %192 = load ptr, ptr %15, align 8 %193 = load ptr, ptr %12, align 8 %194 = call i32 @dinvr(ptr noundef %192, ptr noundef %193, ptr noundef @cdff.fx, ptr noundef @cdff.qleft, ptr noundef @cdff.qhi) %195 = load ptr, ptr %15, align 8 %196 = load i32, ptr %195, align 4 %197 = icmp eq i32 %196, 1 br i1 %197, label %.lr.ph5, label %198 .lr.ph5: ; preds = %188 br label %199 ._crit_edge6: ; preds = %217 br label %198 198: ; preds = %._crit_edge6, %188 br label %224 199: ; preds = %.lr.ph5, %217 %200 = load ptr, ptr %12, align 8 %201 = load ptr, ptr %13, align 8 %202 = load ptr, ptr %14, align 8 %203 = call i32 @cumf(ptr noundef %200, ptr noundef %201, ptr noundef %202, ptr noundef @cdff.cum, ptr noundef @cdff.ccum) %204 = load i64, ptr @cdff.qporq, align 8 %205 = icmp ne i64 %204, 0 br i1 %205, label %207, label %206 206: ; preds = %199 br label %212 207: ; preds = %199 %208 = load double, ptr @cdff.cum, align 8 %209 = load ptr, ptr %10, align 8 %210 = load double, ptr %209, align 8 %211 = fsub double %208, %210 store double %211, ptr @cdff.fx, align 8 br label %217 212: ; preds = %206 %213 = load double, ptr @cdff.ccum, align 8 %214 = load ptr, ptr %11, align 8 %215 = load double, ptr %214, align 8 %216 = fsub double %213, %215 store double %216, ptr @cdff.fx, align 8 br label %217 217: ; preds = %212, %207 %218 = load ptr, ptr %15, align 8 %219 = load ptr, ptr %12, align 8 %220 = call i32 @dinvr(ptr noundef %218, ptr noundef %219, ptr noundef @cdff.fx, ptr noundef @cdff.qleft, ptr noundef @cdff.qhi) %221 = load ptr, ptr %15, align 8 %222 = load i32, ptr %221, align 4 %223 = icmp eq i32 %222, 1 br i1 %223, label %199, label %._crit_edge6 224: ; preds = %198 %225 = load ptr, ptr %15, align 8 %226 = load i32, ptr %225, align 4 %227 = icmp eq i32 %226, -1 br i1 %227, label %229, label %228 228: ; preds = %224 br label %239 229: ; preds = %224 %230 = load i64, ptr @cdff.qleft, align 8 %231 = icmp ne i64 %230, 0 br i1 %231, label %233, label %232 232: ; preds = %229 br label %236 233: ; preds = %229 %234 = load ptr, ptr %15, align 8 store i32 1, ptr %234, align 4 %235 = load ptr, ptr %16, align 8 store double 0.000000e+00, ptr %235, align 8 br label %240 236: ; preds = %232 %237 = load ptr, ptr %15, align 8 store i32 2, ptr %237, align 4 %238 = load ptr, ptr %16, align 8 store double 1.000000e+300, ptr %238, align 8 br label %239 239: ; preds = %236, %228 br label %240 240: ; preds = %239, %233 br label %356 241: ; preds = %184 %242 = load ptr, ptr %9, align 8 %243 = load i32, ptr %242, align 4 %244 = icmp eq i32 3, %243 br i1 %244, label %245, label %298 245: ; preds = %241 %246 = load ptr, ptr %13, align 8 store double 5.000000e+00, ptr %246, align 8 store double 1.000000e-300, ptr @cdff.T8, align 8 store double 1.000000e+300, ptr @cdff.T9, align 8 store double 1.000000e-50, ptr @cdff.T10, align 8 store double 1.000000e-08, ptr @cdff.T11, align 8 %247 = call i32 @dstinv(ptr noundef @cdff.T8, ptr noundef @cdff.T9, ptr noundef @cdff.K4, ptr noundef @cdff.K4, ptr noundef @cdff.K5, ptr noundef @cdff.T10, ptr noundef @cdff.T11) %248 = load ptr, ptr %15, align 8 store i32 0, ptr %248, align 4 %249 = load ptr, ptr %15, align 8 %250 = load ptr, ptr %13, align 8 %251 = call i32 @dinvr(ptr noundef %249, ptr noundef %250, ptr noundef @cdff.fx, ptr noundef @cdff.qleft, ptr noundef @cdff.qhi) %252 = load ptr, ptr %15, align 8 %253 = load i32, ptr %252, align 4 %254 = icmp eq i32 %253, 1 br i1 %254, label %.lr.ph2, label %255 .lr.ph2: ; preds = %245 br label %256 ._crit_edge3: ; preds = %274 br label %255 255: ; preds = %._crit_edge3, %245 br label %281 256: ; preds = %.lr.ph2, %274 %257 = load ptr, ptr %12, align 8 %258 = load ptr, ptr %13, align 8 %259 = load ptr, ptr %14, align 8 %260 = call i32 @cumf(ptr noundef %257, ptr noundef %258, ptr noundef %259, ptr noundef @cdff.cum, ptr noundef @cdff.ccum) %261 = load i64, ptr @cdff.qporq, align 8 %262 = icmp ne i64 %261, 0 br i1 %262, label %264, label %263 263: ; preds = %256 br label %269 264: ; preds = %256 %265 = load double, ptr @cdff.cum, align 8 %266 = load ptr, ptr %10, align 8 %267 = load double, ptr %266, align 8 %268 = fsub double %265, %267 store double %268, ptr @cdff.fx, align 8 br label %274 269: ; preds = %263 %270 = load double, ptr @cdff.ccum, align 8 %271 = load ptr, ptr %11, align 8 %272 = load double, ptr %271, align 8 %273 = fsub double %270, %272 store double %273, ptr @cdff.fx, align 8 br label %274 274: ; preds = %269, %264 %275 = load ptr, ptr %15, align 8 %276 = load ptr, ptr %13, align 8 %277 = call i32 @dinvr(ptr noundef %275, ptr noundef %276, ptr noundef @cdff.fx, ptr noundef @cdff.qleft, ptr noundef @cdff.qhi) %278 = load ptr, ptr %15, align 8 %279 = load i32, ptr %278, align 4 %280 = icmp eq i32 %279, 1 br i1 %280, label %256, label %._crit_edge3 281: ; preds = %255 %282 = load ptr, ptr %15, align 8 %283 = load i32, ptr %282, align 4 %284 = icmp eq i32 %283, -1 br i1 %284, label %286, label %285 285: ; preds = %281 br label %296 286: ; preds = %281 %287 = load i64, ptr @cdff.qleft, align 8 %288 = icmp ne i64 %287, 0 br i1 %288, label %290, label %289 289: ; preds = %286 br label %293 290: ; preds = %286 %291 = load ptr, ptr %15, align 8 store i32 1, ptr %291, align 4 %292 = load ptr, ptr %16, align 8 store double 1.000000e-300, ptr %292, align 8 br label %297 293: ; preds = %289 %294 = load ptr, ptr %15, align 8 store i32 2, ptr %294, align 4 %295 = load ptr, ptr %16, align 8 store double 1.000000e+300, ptr %295, align 8 br label %296 296: ; preds = %293, %285 br label %297 297: ; preds = %296, %290 br label %355 298: ; preds = %241 %299 = load ptr, ptr %9, align 8 %300 = load i32, ptr %299, align 4 %301 = icmp eq i32 4, %300 br i1 %301, label %302, label %354 302: ; preds = %298 %303 = load ptr, ptr %14, align 8 store double 5.000000e+00, ptr %303, align 8 store double 1.000000e-300, ptr @cdff.T12, align 8 store double 1.000000e+300, ptr @cdff.T13, align 8 store double 1.000000e-50, ptr @cdff.T14, align 8 store double 1.000000e-08, ptr @cdff.T15, align 8 %304 = call i32 @dstinv(ptr noundef @cdff.T12, ptr noundef @cdff.T13, ptr noundef @cdff.K4, ptr noundef @cdff.K4, ptr noundef @cdff.K5, ptr noundef @cdff.T14, ptr noundef @cdff.T15) %305 = load ptr, ptr %15, align 8 store i32 0, ptr %305, align 4 %306 = load ptr, ptr %15, align 8 %307 = load ptr, ptr %14, align 8 %308 = call i32 @dinvr(ptr noundef %306, ptr noundef %307, ptr noundef @cdff.fx, ptr noundef @cdff.qleft, ptr noundef @cdff.qhi) %309 = load ptr, ptr %15, align 8 %310 = load i32, ptr %309, align 4 %311 = icmp eq i32 %310, 1 br i1 %311, label %.lr.ph, label %312 .lr.ph: ; preds = %302 br label %313 ._crit_edge: ; preds = %331 br label %312 312: ; preds = %._crit_edge, %302 br label %338 313: ; preds = %.lr.ph, %331 %314 = load ptr, ptr %12, align 8 %315 = load ptr, ptr %13, align 8 %316 = load ptr, ptr %14, align 8 %317 = call i32 @cumf(ptr noundef %314, ptr noundef %315, ptr noundef %316, ptr noundef @cdff.cum, ptr noundef @cdff.ccum) %318 = load i64, ptr @cdff.qporq, align 8 %319 = icmp ne i64 %318, 0 br i1 %319, label %321, label %320 320: ; preds = %313 br label %326 321: ; preds = %313 %322 = load double, ptr @cdff.cum, align 8 %323 = load ptr, ptr %10, align 8 %324 = load double, ptr %323, align 8 %325 = fsub double %322, %324 store double %325, ptr @cdff.fx, align 8 br label %331 326: ; preds = %320 %327 = load double, ptr @cdff.ccum, align 8 %328 = load ptr, ptr %11, align 8 %329 = load double, ptr %328, align 8 %330 = fsub double %327, %329 store double %330, ptr @cdff.fx, align 8 br label %331 331: ; preds = %326, %321 %332 = load ptr, ptr %15, align 8 %333 = load ptr, ptr %14, align 8 %334 = call i32 @dinvr(ptr noundef %332, ptr noundef %333, ptr noundef @cdff.fx, ptr noundef @cdff.qleft, ptr noundef @cdff.qhi) %335 = load ptr, ptr %15, align 8 %336 = load i32, ptr %335, align 4 %337 = icmp eq i32 %336, 1 br i1 %337, label %313, label %._crit_edge 338: ; preds = %312 %339 = load ptr, ptr %15, align 8 %340 = load i32, ptr %339, align 4 %341 = icmp eq i32 %340, -1 br i1 %341, label %343, label %342 342: ; preds = %338 br label %358 343: ; preds = %338 %344 = load i64, ptr @cdff.qleft, align 8 %345 = icmp ne i64 %344, 0 br i1 %345, label %347, label %346 346: ; preds = %343 br label %350 347: ; preds = %343 %348 = load ptr, ptr %15, align 8 store i32 1, ptr %348, align 4 %349 = load ptr, ptr %16, align 8 store double 1.000000e-300, ptr %349, align 8 br label %353 350: ; preds = %346 %351 = load ptr, ptr %15, align 8 store i32 2, ptr %351, align 4 %352 = load ptr, ptr %16, align 8 store double 1.000000e+300, ptr %352, align 8 br label %353 353: ; preds = %350, %347 br label %354 354: ; preds = %353, %298 br label %355 355: ; preds = %354, %297 br label %356 356: ; preds = %355, %240 br label %357 357: ; preds = %356, %176 br label %358 358: ; preds = %357, %342 br label %359 359: ; preds = %358, %157, %126, %112, %98, %85, %59, %34 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 declare double @spmpar(ptr noundef) #2 declare i32 @cumf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @dstinv(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @dinvr(ptr noundef, ptr noundef, ptr noundef, ptr noundef, 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 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"}
; ModuleID = '/tmp/tmp3m1g8nvn.c' source_filename = "/tmp/tmp3m1g8nvn.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 @buffio_init() #0 { %1 = call i32 (...) @buffio_reset() ret void } declare i32 @buffio_reset(...) #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/tmp3m1g8nvn.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 @buffio_init() #0 { %1 = call i32 (...) @buffio_reset() ret void } declare i32 @buffio_reset(...) #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/tmp1ybbpci3.c' source_filename = "/tmp/tmp1ybbpci3.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 [24 x i8] c"argc is %d, needs args\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"hello world\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 i64, align 8 %8 = 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 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 2 br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load i32, ptr %4, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %12) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %2 %16 = call i32 (...) @range_startup() %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %18 18: ; preds = %15, %18 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call ptr @range_expand(ptr noundef %21) store ptr %22, ptr %6, align 8 br label %18 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @range_startup(...) #1 declare ptr @range_expand(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1ybbpci3.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 [24 x i8] c"argc is %d, needs args\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"hello world\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 i64, align 8 %8 = 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 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 2 br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load i32, ptr %4, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %12) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %2 %16 = call i32 (...) @range_startup() %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %18 18: ; preds = %18, %15 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call ptr @range_expand(ptr noundef %21) store ptr %22, ptr %6, align 8 br label %18 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @range_startup(...) #1 declare ptr @range_expand(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"}
; ModuleID = '/tmp/tmpx_h4zy6o.c' source_filename = "/tmp/tmpx_h4zy6o.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 [22 x i8] c"This is function two\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @func_two() #0 { %1 = call i32 @printf(ptr noundef @.str) ret i32 2 } 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/tmpx_h4zy6o.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 [22 x i8] c"This is function two\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @func_two() #0 { %1 = call i32 @printf(ptr noundef @.str) ret i32 2 } 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/tmpfm4_5ttx.c' source_filename = "/tmp/tmpfm4_5ttx.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 @__my_memrchr(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i64 %2, ptr %7, align 8 %9 = load ptr, ptr %5, align 8 store ptr %9, ptr %8, align 8 %10 = load i32, ptr %6, align 4 %11 = trunc i32 %10 to i8 %12 = zext i8 %11 to i32 store i32 %12, ptr %6, align 4 br label %13 13: ; preds = %29, %3 %14 = load i64, ptr %7, align 8 %15 = add i64 %14, -1 store i64 %15, ptr %7, align 8 %16 = icmp ne i64 %14, 0 br i1 %16, label %17, label %30 17: ; preds = %13 %18 = load ptr, ptr %8, align 8 %19 = load i64, ptr %7, align 8 %20 = getelementptr inbounds i8, ptr %18, i64 %19 %21 = load i8, ptr %20, align 1 %22 = zext i8 %21 to i32 %23 = load i32, ptr %6, align 4 %24 = icmp eq i32 %22, %23 br i1 %24, label %25, label %29 25: ; preds = %17 %26 = load ptr, ptr %8, align 8 %27 = load i64, ptr %7, align 8 %28 = getelementptr inbounds i8, ptr %26, i64 %27 store ptr %28, ptr %4, align 8 br label %31 29: ; preds = %17 br label %13, !llvm.loop !6 30: ; preds = %13 store ptr null, ptr %4, align 8 br label %31 31: ; preds = %30, %25 %32 = load ptr, ptr %4, align 8 ret ptr %32 } 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/tmpfm4_5ttx.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 @__my_memrchr(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i64 %2, ptr %7, align 8 %9 = load ptr, ptr %5, align 8 store ptr %9, ptr %8, align 8 %10 = load i32, ptr %6, align 4 %11 = trunc i32 %10 to i8 %12 = zext i8 %11 to i32 store i32 %12, ptr %6, align 4 %13 = load i64, ptr %7, align 8 %14 = add i64 %13, -1 store i64 %14, ptr %7, align 8 %15 = icmp ne i64 %13, 0 br i1 %15, label %.lr.ph, label %32 .lr.ph: ; preds = %3 br label %20 16: ; preds = %20 %17 = load i64, ptr %7, align 8 %18 = add i64 %17, -1 store i64 %18, ptr %7, align 8 %19 = icmp ne i64 %17, 0 br i1 %19, label %20, label %._crit_edge, !llvm.loop !6 20: ; preds = %.lr.ph, %16 %21 = load ptr, ptr %8, align 8 %22 = load i64, ptr %7, align 8 %23 = getelementptr inbounds i8, ptr %21, i64 %22 %24 = load i8, ptr %23, align 1 %25 = zext i8 %24 to i32 %26 = load i32, ptr %6, align 4 %27 = icmp eq i32 %25, %26 br i1 %27, label %28, label %16 28: ; preds = %20 %29 = load ptr, ptr %8, align 8 %30 = load i64, ptr %7, align 8 %31 = getelementptr inbounds i8, ptr %29, i64 %30 store ptr %31, ptr %4, align 8 br label %33 ._crit_edge: ; preds = %16 br label %32 32: ; preds = %._crit_edge, %3 store ptr null, ptr %4, align 8 br label %33 33: ; preds = %32, %28 %34 = load ptr, ptr %4, align 8 ret ptr %34 } 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/tmp9393qv9f.c' source_filename = "/tmp/tmp9393qv9f.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 @silentSkipBytes(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 br label %5 5: ; preds = %11, %2 %6 = load i32, ptr %4, align 4 %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %14 8: ; preds = %5 %9 = load ptr, ptr %3, align 8 %10 = call i32 @readUInt8(ptr noundef %9) br label %11 11: ; preds = %8 %12 = load i32, ptr %4, align 4 %13 = add nsw i32 %12, -1 store i32 %13, ptr %4, align 4 br label %5, !llvm.loop !6 14: ; preds = %5 ret void } declare i32 @readUInt8(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/tmp9393qv9f.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 @silentSkipBytes(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 = load i32, ptr %4, align 4 %6 = icmp sgt i32 %5, 0 br i1 %6, label %.lr.ph, label %15 .lr.ph: ; preds = %2 br label %7 7: ; preds = %.lr.ph, %10 %8 = load ptr, ptr %3, align 8 %9 = call i32 @readUInt8(ptr noundef %8) br label %10 10: ; preds = %7 %11 = load i32, ptr %4, align 4 %12 = add nsw i32 %11, -1 store i32 %12, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp sgt i32 %13, 0 br i1 %14, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %15 15: ; preds = %._crit_edge, %2 ret void } declare i32 @readUInt8(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/tmp8jtdkbtp.c' source_filename = "/tmp/tmp8jtdkbtp.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/tmp8jtdkbtp.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/tmpaaxk_sdx.c' source_filename = "/tmp/tmpaaxk_sdx.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 [9 x i8] c"# c::%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"absf\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 store i32 0, ptr %1, align 4 %4 = call i32 @time(ptr noundef null) %5 = call i32 @srand(i32 noundef %4) %6 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 br label %7 7: ; preds = %18, %0 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 3 br i1 %9, label %10, label %21 10: ; preds = %7 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %12 = call double (...) @benchmark() store double %12, ptr %2, align 8 %13 = load double, ptr %2, align 8 %14 = call i32 @print_results(double noundef %13) %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, 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 br label %7, !llvm.loop !6 21: ; preds = %7 %22 = call i32 @print_summary(i32 noundef 3, i32 noundef 3) %23 = load i32, ptr %1, align 4 ret i32 %23 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(...) #1 declare i32 @print_results(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaaxk_sdx.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 [9 x i8] c"# c::%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"absf\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 store i32 0, ptr %1, align 4 %4 = call i32 @time(ptr noundef null) %5 = call i32 @srand(i32 noundef %4) %6 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 3 br i1 %8, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %17 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %11 = call double (...) @benchmark() store double %11, ptr %2, align 8 %12 = load double, ptr %2, align 8 %13 = call i32 @print_results(double noundef %12) %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15) br label %17 17: ; preds = %9 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp slt i32 %20, 3 br i1 %21, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %0 %23 = call i32 @print_summary(i32 noundef 3, i32 noundef 3) %24 = load i32, ptr %1, align 4 ret i32 %24 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(...) #1 declare i32 @print_results(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"}
; ModuleID = '/tmp/tmpsbbn8t5g.c' source_filename = "/tmp/tmpsbbn8t5g.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 @sj_calloc(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = mul i64 %5, %6 %8 = call ptr @sj_malloc(i64 noundef %7) ret ptr %8 } declare ptr @sj_malloc(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/tmpsbbn8t5g.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 @sj_calloc(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = mul i64 %5, %6 %8 = call ptr @sj_malloc(i64 noundef %7) ret ptr %8 } declare ptr @sj_malloc(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/tmpxqdac9i_.c' source_filename = "/tmp/tmpxqdac9i_.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 [19 x i8] c"usage: %s <fi|sv>\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"fi\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"sv\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\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 i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 2 br i1 %9, label %10, label %17 10: ; preds = %2 %11 = load i32, ptr @stderr, align 4 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %14) %16 = call i32 @exit(i32 noundef 1) #3 unreachable 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 store ptr %20, ptr %6, align 8 %21 = load ptr, ptr %6, align 8 %22 = call i32 @strcmp(ptr noundef %21, ptr noundef @.str.1) %23 = icmp ne i32 %22, 0 br i1 %23, label %26, label %24 24: ; preds = %17 %25 = call i32 @xcoll1(i32 noundef 0) br label %40 26: ; preds = %17 %27 = load ptr, ptr %6, align 8 %28 = call i32 @strcmp(ptr noundef %27, ptr noundef @.str.2) %29 = icmp ne i32 %28, 0 br i1 %29, label %32, label %30 30: ; preds = %26 %31 = call i32 @xcoll1(i32 noundef 1) br label %39 32: ; preds = %26 %33 = load i32, ptr @stderr, align 4 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 0 %36 = load ptr, ptr %35, align 8 %37 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str, ptr noundef %36) %38 = call i32 @exit(i32 noundef 1) #3 unreachable 39: ; preds = %30 br label %40 40: ; preds = %39, %24 %41 = call i32 @printf(ptr noundef @.str.3) %42 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @xcoll1(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" } 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/tmpxqdac9i_.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 [19 x i8] c"usage: %s <fi|sv>\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"fi\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"sv\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\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 i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 2 br i1 %9, label %10, label %17 10: ; preds = %2 %11 = load i32, ptr @stderr, align 4 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %14) %16 = call i32 @exit(i32 noundef 1) #3 unreachable 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 store ptr %20, ptr %6, align 8 %21 = load ptr, ptr %6, align 8 %22 = call i32 @strcmp(ptr noundef %21, ptr noundef @.str.1) %23 = icmp ne i32 %22, 0 br i1 %23, label %26, label %24 24: ; preds = %17 %25 = call i32 @xcoll1(i32 noundef 0) br label %40 26: ; preds = %17 %27 = load ptr, ptr %6, align 8 %28 = call i32 @strcmp(ptr noundef %27, ptr noundef @.str.2) %29 = icmp ne i32 %28, 0 br i1 %29, label %32, label %30 30: ; preds = %26 %31 = call i32 @xcoll1(i32 noundef 1) br label %39 32: ; preds = %26 %33 = load i32, ptr @stderr, align 4 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 0 %36 = load ptr, ptr %35, align 8 %37 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str, ptr noundef %36) %38 = call i32 @exit(i32 noundef 1) #3 unreachable 39: ; preds = %30 br label %40 40: ; preds = %39, %24 %41 = call i32 @printf(ptr noundef @.str.3) %42 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @xcoll1(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" } 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/tmpzngipyke.c' source_filename = "/tmp/tmpzngipyke.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.junk = private unnamed_addr constant [3 x [4 x i32]] [[4 x i32] [i32 2, i32 4, i32 6, i32 8], [4 x i32] [i32 3, i32 5, i32 7, i32 9], [4 x i32] [i32 12, i32 10, i32 8, i32 6]], align 16 @.str = private unnamed_addr constant [26 x i8] c"Sum of all elements = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x [4 x i32]], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.junk, i64 48, i1 false) %3 = getelementptr inbounds [3 x [4 x i32]], ptr %2, i64 0, i64 0 %4 = call i32 @sum_rows(ptr noundef %3, i32 noundef 3) %5 = getelementptr inbounds [3 x [4 x i32]], ptr %2, i64 0, i64 0 %6 = call i32 @sum_cols(ptr noundef %5, i32 noundef 3) %7 = getelementptr inbounds [3 x [4 x i32]], ptr %2, i64 0, i64 0 %8 = call i32 @sum2d(ptr noundef %7, i32 noundef 3) %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) 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 @sum_rows(ptr noundef, i32 noundef) #2 declare i32 @sum_cols(ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 declare i32 @sum2d(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzngipyke.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.junk = private unnamed_addr constant [3 x [4 x i32]] [[4 x i32] [i32 2, i32 4, i32 6, i32 8], [4 x i32] [i32 3, i32 5, i32 7, i32 9], [4 x i32] [i32 12, i32 10, i32 8, i32 6]], align 16 @.str = private unnamed_addr constant [26 x i8] c"Sum of all elements = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x [4 x i32]], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.junk, i64 48, i1 false) %3 = getelementptr inbounds [3 x [4 x i32]], ptr %2, i64 0, i64 0 %4 = call i32 @sum_rows(ptr noundef %3, i32 noundef 3) %5 = getelementptr inbounds [3 x [4 x i32]], ptr %2, i64 0, i64 0 %6 = call i32 @sum_cols(ptr noundef %5, i32 noundef 3) %7 = getelementptr inbounds [3 x [4 x i32]], ptr %2, i64 0, i64 0 %8 = call i32 @sum2d(ptr noundef %7, i32 noundef 3) %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) 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 @sum_rows(ptr noundef, i32 noundef) #2 declare i32 @sum_cols(ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 declare i32 @sum2d(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"}
; ModuleID = '/tmp/tmp7gfsks2j.c' source_filename = "/tmp/tmp7gfsks2j.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 [2 x i8] c"a\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = call i32 @input(ptr noundef @.str) store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = call i32 @fget_long(i32 noundef %3) %5 = call i32 @report(i32 noundef %4) %6 = load i32, ptr %1, align 4 %7 = call i32 @fget_long(i32 noundef %6) %8 = icmp eq i32 %7, 2 %9 = zext i1 %8 to i32 %10 = call i32 @assert(i32 noundef %9) %11 = load i32, ptr %1, align 4 %12 = call i32 @fget_long(i32 noundef %11) %13 = icmp eq i32 %12, 3 %14 = zext i1 %13 to i32 %15 = call i32 @assert(i32 noundef %14) %16 = load i32, ptr %1, align 4 %17 = call i32 @fget_long(i32 noundef %16) %18 = icmp eq i32 %17, 4 %19 = zext i1 %18 to i32 %20 = call i32 @assert(i32 noundef %19) %21 = load i32, ptr %1, align 4 %22 = call i32 @fget_long(i32 noundef %21) %23 = icmp eq i32 %22, 5 %24 = zext i1 %23 to i32 %25 = call i32 @assert(i32 noundef %24) %26 = load i32, ptr %1, align 4 %27 = call i32 @fget_long(i32 noundef %26) %28 = icmp eq i32 %27, 6 %29 = zext i1 %28 to i32 %30 = call i32 @assert(i32 noundef %29) %31 = load i32, ptr %1, align 4 %32 = call i32 @fget_long(i32 noundef %31) %33 = icmp eq i32 %32, 7 %34 = zext i1 %33 to i32 %35 = call i32 @assert(i32 noundef %34) %36 = load i32, ptr %1, align 4 %37 = call i32 @fget_long(i32 noundef %36) %38 = icmp eq i32 %37, 8 %39 = zext i1 %38 to i32 %40 = call i32 @assert(i32 noundef %39) %41 = load i32, ptr %1, align 4 %42 = call i32 @fget_long(i32 noundef %41) %43 = icmp eq i32 %42, 9 %44 = zext i1 %43 to i32 %45 = call i32 @assert(i32 noundef %44) %46 = load i32, ptr %1, align 4 %47 = call i32 @fget_long(i32 noundef %46) %48 = icmp eq i32 %47, 10 %49 = zext i1 %48 to i32 %50 = call i32 @assert(i32 noundef %49) %51 = call i32 @report(i32 noundef 1) ret void } declare i32 @input(ptr noundef) #1 declare i32 @report(i32 noundef) #1 declare i32 @fget_long(i32 noundef) #1 declare i32 @assert(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/tmp7gfsks2j.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 [2 x i8] c"a\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = call i32 @input(ptr noundef @.str) store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = call i32 @fget_long(i32 noundef %3) %5 = call i32 @report(i32 noundef %4) %6 = load i32, ptr %1, align 4 %7 = call i32 @fget_long(i32 noundef %6) %8 = icmp eq i32 %7, 2 %9 = zext i1 %8 to i32 %10 = call i32 @assert(i32 noundef %9) %11 = load i32, ptr %1, align 4 %12 = call i32 @fget_long(i32 noundef %11) %13 = icmp eq i32 %12, 3 %14 = zext i1 %13 to i32 %15 = call i32 @assert(i32 noundef %14) %16 = load i32, ptr %1, align 4 %17 = call i32 @fget_long(i32 noundef %16) %18 = icmp eq i32 %17, 4 %19 = zext i1 %18 to i32 %20 = call i32 @assert(i32 noundef %19) %21 = load i32, ptr %1, align 4 %22 = call i32 @fget_long(i32 noundef %21) %23 = icmp eq i32 %22, 5 %24 = zext i1 %23 to i32 %25 = call i32 @assert(i32 noundef %24) %26 = load i32, ptr %1, align 4 %27 = call i32 @fget_long(i32 noundef %26) %28 = icmp eq i32 %27, 6 %29 = zext i1 %28 to i32 %30 = call i32 @assert(i32 noundef %29) %31 = load i32, ptr %1, align 4 %32 = call i32 @fget_long(i32 noundef %31) %33 = icmp eq i32 %32, 7 %34 = zext i1 %33 to i32 %35 = call i32 @assert(i32 noundef %34) %36 = load i32, ptr %1, align 4 %37 = call i32 @fget_long(i32 noundef %36) %38 = icmp eq i32 %37, 8 %39 = zext i1 %38 to i32 %40 = call i32 @assert(i32 noundef %39) %41 = load i32, ptr %1, align 4 %42 = call i32 @fget_long(i32 noundef %41) %43 = icmp eq i32 %42, 9 %44 = zext i1 %43 to i32 %45 = call i32 @assert(i32 noundef %44) %46 = load i32, ptr %1, align 4 %47 = call i32 @fget_long(i32 noundef %46) %48 = icmp eq i32 %47, 10 %49 = zext i1 %48 to i32 %50 = call i32 @assert(i32 noundef %49) %51 = call i32 @report(i32 noundef 1) ret void } declare i32 @input(ptr noundef) #1 declare i32 @report(i32 noundef) #1 declare i32 @fget_long(i32 noundef) #1 declare i32 @assert(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/tmpswu54n7t.c' source_filename = "/tmp/tmpswu54n7t.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 [53 x i8] c"#include <stdio.h>\0A\0A int main(){ printf( return 0 };\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } 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/tmpswu54n7t.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 [53 x i8] c"#include <stdio.h>\0A\0A int main(){ printf( return 0 };\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } 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/tmpreo5cy91.c' source_filename = "/tmp/tmpreo5cy91.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.str = private unnamed_addr constant [7 x i8] c"9C5545\00", align 1 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [7 x i8], align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.main.str, i64 7, i1 false) %2 = getelementptr inbounds [7 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @basetodec(ptr noundef %2, i32 noundef 16) %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) %5 = call i32 @ctoi(i8 noundef signext 65) %6 = call i32 @printf(ptr noundef @.str, i32 noundef %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) #2 declare i32 @basetodec(ptr noundef, i32 noundef) #2 declare i32 @ctoi(i8 noundef signext) #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/tmpreo5cy91.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.str = private unnamed_addr constant [7 x i8] c"9C5545\00", align 1 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [7 x i8], align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.main.str, i64 7, i1 false) %2 = getelementptr inbounds [7 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @basetodec(ptr noundef %2, i32 noundef 16) %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) %5 = call i32 @ctoi(i8 noundef signext 65) %6 = call i32 @printf(ptr noundef @.str, i32 noundef %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) #2 declare i32 @basetodec(ptr noundef, i32 noundef) #2 declare i32 @ctoi(i8 noundef signext) #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/tmp6ip_yzj4.c' source_filename = "/tmp/tmp6ip_yzj4.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/tmp6ip_yzj4.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/tmppqic7774.c' source_filename = "/tmp/tmppqic7774.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 [15 x i8] c"%s version %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"corpus\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"0.6.0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @version() #0 { %1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2) ret void } declare i32 @printf(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/tmppqic7774.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 [15 x i8] c"%s version %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"corpus\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"0.6.0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @version() #0 { %1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2) ret void } declare i32 @printf(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/tmpfdpri6u7.c' source_filename = "/tmp/tmpfdpri6u7.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_isdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isdigit should be 0 for 0xfb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isdigit_0xfb() #0 { %1 = call i64 @isdigit(i32 noundef 251) %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 1260, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isdigit(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/tmpfdpri6u7.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_isdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isdigit should be 0 for 0xfb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isdigit_0xfb() #0 { %1 = call i64 @isdigit(i32 noundef 251) %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 1260, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isdigit(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/tmpffp4lv34.c' source_filename = "/tmp/tmpffp4lv34.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"0123456789abcde\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"0123456789abcd\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usr_alloc2_ir_ir_strcpy(i32 noundef %0, i32 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 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 3, %6 br i1 %7, label %8, label %9 8: ; preds = %2 br label %11 9: ; preds = %2 %10 = load i32, ptr %4, align 4 br label %11 11: ; preds = %9, %8 %12 = phi i32 [ 3, %8 ], [ %10, %9 ] %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 5, %13 br i1 %14, label %15, label %16 15: ; preds = %11 br label %18 16: ; preds = %11 %17 = load i32, ptr %4, align 4 br label %18 18: ; preds = %16, %15 %19 = phi i32 [ 5, %15 ], [ %17, %16 ] %20 = call ptr @usr_alloc2(i32 noundef %12, i32 noundef %19) store ptr %20, ptr %5, align 8 %21 = load ptr, ptr %5, align 8 %22 = call i32 @strcpy(ptr noundef %21, ptr noundef @.str) %23 = load ptr, ptr %5, align 8 %24 = call i32 @sink(ptr noundef %23) %25 = load ptr, ptr %5, align 8 %26 = call i32 @strcpy(ptr noundef %25, ptr noundef @.str.1) %27 = load ptr, ptr %5, align 8 %28 = call i32 @sink(ptr noundef %27) ret void } declare ptr @usr_alloc2(i32 noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @sink(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/tmpffp4lv34.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"0123456789abcde\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"0123456789abcd\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usr_alloc2_ir_ir_strcpy(i32 noundef %0, i32 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 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 3, %6 br i1 %7, label %8, label %9 8: ; preds = %2 br label %11 9: ; preds = %2 %10 = load i32, ptr %4, align 4 br label %11 11: ; preds = %9, %8 %12 = phi i32 [ 3, %8 ], [ %10, %9 ] %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 5, %13 br i1 %14, label %15, label %16 15: ; preds = %11 br label %18 16: ; preds = %11 %17 = load i32, ptr %4, align 4 br label %18 18: ; preds = %16, %15 %19 = phi i32 [ 5, %15 ], [ %17, %16 ] %20 = call ptr @usr_alloc2(i32 noundef %12, i32 noundef %19) store ptr %20, ptr %5, align 8 %21 = load ptr, ptr %5, align 8 %22 = call i32 @strcpy(ptr noundef %21, ptr noundef @.str) %23 = load ptr, ptr %5, align 8 %24 = call i32 @sink(ptr noundef %23) %25 = load ptr, ptr %5, align 8 %26 = call i32 @strcpy(ptr noundef %25, ptr noundef @.str.1) %27 = load ptr, ptr %5, align 8 %28 = call i32 @sink(ptr noundef %27) ret void } declare ptr @usr_alloc2(i32 noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @sink(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/tmp2vcibsqb.c' source_filename = "/tmp/tmp2vcibsqb.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] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"\FF\FF\FF\FF\FF\FF\FF\FF\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @find_lzma_header(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds i8, ptr %3, i64 0 %5 = load i8, ptr %4, align 1 %6 = zext i8 %5 to i32 %7 = icmp slt i32 %6, 225 br i1 %7, label %8, label %32 8: ; preds = %1 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 0 %11 = load i8, ptr %10, align 1 %12 = zext i8 %11 to i32 %13 = icmp eq i32 %12, 93 br i1 %13, label %14, label %32 14: ; preds = %8 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 4 %17 = load i8, ptr %16, align 1 %18 = zext i8 %17 to i32 %19 = icmp slt i32 %18, 32 br i1 %19, label %20, label %32 20: ; preds = %14 %21 = load ptr, ptr %2, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 10 %23 = call i64 @memcmp(ptr noundef %22, ptr noundef @.str, i32 noundef 3) %24 = icmp eq i64 %23, 0 br i1 %24, label %30, label %25 25: ; preds = %20 %26 = load ptr, ptr %2, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 5 %28 = call i64 @memcmp(ptr noundef %27, ptr noundef @.str.1, i32 noundef 8) %29 = icmp eq i64 %28, 0 br label %30 30: ; preds = %25, %20 %31 = phi i1 [ true, %20 ], [ %29, %25 ] br label %32 32: ; preds = %30, %14, %8, %1 %33 = phi i1 [ false, %14 ], [ false, %8 ], [ false, %1 ], [ %31, %30 ] %34 = zext i1 %33 to i32 ret i32 %34 } declare i64 @memcmp(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/tmp2vcibsqb.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] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"\FF\FF\FF\FF\FF\FF\FF\FF\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @find_lzma_header(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds i8, ptr %3, i64 0 %5 = load i8, ptr %4, align 1 %6 = zext i8 %5 to i32 %7 = icmp slt i32 %6, 225 br i1 %7, label %8, label %32 8: ; preds = %1 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 0 %11 = load i8, ptr %10, align 1 %12 = zext i8 %11 to i32 %13 = icmp eq i32 %12, 93 br i1 %13, label %14, label %32 14: ; preds = %8 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 4 %17 = load i8, ptr %16, align 1 %18 = zext i8 %17 to i32 %19 = icmp slt i32 %18, 32 br i1 %19, label %20, label %32 20: ; preds = %14 %21 = load ptr, ptr %2, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 10 %23 = call i64 @memcmp(ptr noundef %22, ptr noundef @.str, i32 noundef 3) %24 = icmp eq i64 %23, 0 br i1 %24, label %30, label %25 25: ; preds = %20 %26 = load ptr, ptr %2, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 5 %28 = call i64 @memcmp(ptr noundef %27, ptr noundef @.str.1, i32 noundef 8) %29 = icmp eq i64 %28, 0 br label %30 30: ; preds = %25, %20 %31 = phi i1 [ true, %20 ], [ %29, %25 ] br label %32 32: ; preds = %30, %14, %8, %1 %33 = phi i1 [ false, %14 ], [ false, %8 ], [ false, %1 ], [ %31, %30 ] %34 = zext i1 %33 to i32 ret i32 %34 } declare i64 @memcmp(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/tmpqzbh9z7a.c' source_filename = "/tmp/tmpqzbh9z7a.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/tmpqzbh9z7a.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/tmp5cviudn9.c' source_filename = "/tmp/tmp5cviudn9.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 [14 x i8] c"i'm child %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"running child %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"fork fail \00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"i'm father %d\0A\00", align 1 @WNOHANG = dso_local global i32 0, align 4 @SIGTERM = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [10 x i8] c"all done\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mp_example4() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = call i32 (...) @fork() store i32 %5, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %17 8: ; preds = %0 %9 = call i32 (...) @getpid() %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9) store i32 0, ptr %4, align 4 br label %11 11: ; preds = %8, %11 %12 = load i32, ptr %4, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %12) %14 = load i32, ptr %4, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %4, align 4 %16 = call i32 @sleep(i32 noundef 1) br label %11 17: ; preds = %0 %18 = load i32, ptr %2, align 4 %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %22 20: ; preds = %17 %21 = call i32 @perror(ptr noundef @.str.2) br label %38 22: ; preds = %17 %23 = call i32 (...) @getpid() store i32 %23, ptr %1, align 4 %24 = load i32, ptr %1, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %24) %26 = call i32 @sleep(i32 noundef 10) %27 = load i32, ptr %2, align 4 %28 = load i32, ptr @WNOHANG, align 4 %29 = call i32 @waitpid(i32 noundef %27, ptr noundef null, i32 noundef %28) store i32 %29, ptr %3, align 4 %30 = load i32, ptr %3, align 4 %31 = icmp ne i32 %30, 0 br i1 %31, label %36, label %32 32: ; preds = %22 %33 = load i32, ptr %2, align 4 %34 = load i32, ptr @SIGTERM, align 4 %35 = call i32 @kill(i32 noundef %33, i32 noundef %34) br label %36 36: ; preds = %32, %22 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %38 38: ; preds = %36, %20 br label %39 39: ; preds = %38 ret void } declare i32 @fork(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @getpid(...) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @kill(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/tmp5cviudn9.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 [14 x i8] c"i'm child %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"running child %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"fork fail \00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"i'm father %d\0A\00", align 1 @WNOHANG = dso_local global i32 0, align 4 @SIGTERM = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [10 x i8] c"all done\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mp_example4() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = call i32 (...) @fork() store i32 %5, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %17 8: ; preds = %0 %9 = call i32 (...) @getpid() %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9) store i32 0, ptr %4, align 4 br label %11 11: ; preds = %11, %8 %12 = load i32, ptr %4, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %12) %14 = load i32, ptr %4, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %4, align 4 %16 = call i32 @sleep(i32 noundef 1) br label %11 17: ; preds = %0 %18 = load i32, ptr %2, align 4 %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %22 20: ; preds = %17 %21 = call i32 @perror(ptr noundef @.str.2) br label %38 22: ; preds = %17 %23 = call i32 (...) @getpid() store i32 %23, ptr %1, align 4 %24 = load i32, ptr %1, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %24) %26 = call i32 @sleep(i32 noundef 10) %27 = load i32, ptr %2, align 4 %28 = load i32, ptr @WNOHANG, align 4 %29 = call i32 @waitpid(i32 noundef %27, ptr noundef null, i32 noundef %28) store i32 %29, ptr %3, align 4 %30 = load i32, ptr %3, align 4 %31 = icmp ne i32 %30, 0 br i1 %31, label %36, label %32 32: ; preds = %22 %33 = load i32, ptr %2, align 4 %34 = load i32, ptr @SIGTERM, align 4 %35 = call i32 @kill(i32 noundef %33, i32 noundef %34) br label %36 36: ; preds = %32, %22 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %38 38: ; preds = %36, %20 br label %39 39: ; preds = %38 ret void } declare i32 @fork(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @getpid(...) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @kill(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/tmpooiqcw28.c' source_filename = "/tmp/tmpooiqcw28.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 [47 x i8] c"usage: leak-userspace <kind-of-leak> [amount]\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; 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 i32, align 4 %8 = alloca i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 2 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = call i32 @printf(ptr noundef @.str) %13 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %13, ptr %3, align 4 br label %35 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 store ptr %17, ptr %6, align 8 store i32 30, ptr %7, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp sgt i32 %18, 2 br i1 %19, label %20, label %29 20: ; preds = %14 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 2 %23 = load ptr, ptr %22, align 8 %24 = call i32 @atoi(ptr noundef %23) store i32 %24, ptr %7, align 4 %25 = load i32, ptr %7, align 4 %26 = icmp slt i32 %25, 1 br i1 %26, label %27, label %28 27: ; preds = %20 store i32 1, ptr %7, align 4 br label %28 28: ; preds = %27, %20 br label %29 29: ; preds = %28, %14 %30 = call i32 @read(i32 noundef 0, ptr noundef %8, i32 noundef 1) %31 = load ptr, ptr %6, align 8 %32 = load i32, ptr %7, align 4 %33 = call i32 @generate_leak(ptr noundef %31, i32 noundef %32) %34 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %34, ptr %3, align 4 br label %35 35: ; preds = %29, %11 %36 = load i32, ptr %3, align 4 ret i32 %36 } declare i32 @printf(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @generate_leak(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/tmpooiqcw28.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 [47 x i8] c"usage: leak-userspace <kind-of-leak> [amount]\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; 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 i32, align 4 %8 = alloca i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 2 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = call i32 @printf(ptr noundef @.str) %13 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %13, ptr %3, align 4 br label %35 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 store ptr %17, ptr %6, align 8 store i32 30, ptr %7, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp sgt i32 %18, 2 br i1 %19, label %20, label %29 20: ; preds = %14 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 2 %23 = load ptr, ptr %22, align 8 %24 = call i32 @atoi(ptr noundef %23) store i32 %24, ptr %7, align 4 %25 = load i32, ptr %7, align 4 %26 = icmp slt i32 %25, 1 br i1 %26, label %27, label %28 27: ; preds = %20 store i32 1, ptr %7, align 4 br label %28 28: ; preds = %27, %20 br label %29 29: ; preds = %28, %14 %30 = call i32 @read(i32 noundef 0, ptr noundef %8, i32 noundef 1) %31 = load ptr, ptr %6, align 8 %32 = load i32, ptr %7, align 4 %33 = call i32 @generate_leak(ptr noundef %31, i32 noundef %32) %34 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %34, ptr %3, align 4 br label %35 35: ; preds = %29, %11 %36 = load i32, ptr %3, align 4 ret i32 %36 } declare i32 @printf(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @generate_leak(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/tmp7efypx_m.c' source_filename = "/tmp/tmp7efypx_m.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 @ksel(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr %8, align 4 %14 = call i32 @part(ptr noundef %11, i32 noundef %12, i32 noundef %13) store i32 %14, ptr %10, align 4 %15 = load i32, ptr %9, align 4 %16 = sub nsw i32 %15, 1 %17 = load i32, ptr %10, align 4 %18 = icmp sgt i32 %16, %17 br i1 %18, label %19, label %26 19: ; preds = %4 %20 = load ptr, ptr %6, align 8 %21 = load i32, ptr %10, align 4 %22 = add nsw i32 %21, 1 %23 = load i32, ptr %8, align 4 %24 = load i32, ptr %9, align 4 %25 = call i32 @ksel(ptr noundef %20, i32 noundef %22, i32 noundef %23, i32 noundef %24) store i32 %25, ptr %5, align 4 br label %40 26: ; preds = %4 %27 = load i32, ptr %9, align 4 %28 = sub nsw i32 %27, 1 %29 = load i32, ptr %10, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %37 31: ; preds = %26 %32 = load ptr, ptr %6, align 8 %33 = load i32, ptr %7, align 4 %34 = load i32, ptr %10, align 4 %35 = load i32, ptr %9, align 4 %36 = call i32 @ksel(ptr noundef %32, i32 noundef %33, i32 noundef %34, i32 noundef %35) store i32 %36, ptr %5, align 4 br label %40 37: ; preds = %26 br label %38 38: ; preds = %37 %39 = load i32, ptr %10, align 4 store i32 %39, ptr %5, align 4 br label %40 40: ; preds = %38, %31, %19 %41 = load i32, ptr %5, align 4 ret i32 %41 } declare i32 @part(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/tmp7efypx_m.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 @ksel(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr %8, align 4 %14 = call i32 @part(ptr noundef %11, i32 noundef %12, i32 noundef %13) store i32 %14, ptr %10, align 4 %15 = load i32, ptr %9, align 4 %16 = sub nsw i32 %15, 1 %17 = load i32, ptr %10, align 4 %18 = icmp sgt i32 %16, %17 br i1 %18, label %19, label %26 19: ; preds = %4 %20 = load ptr, ptr %6, align 8 %21 = load i32, ptr %10, align 4 %22 = add nsw i32 %21, 1 %23 = load i32, ptr %8, align 4 %24 = load i32, ptr %9, align 4 %25 = call i32 @ksel(ptr noundef %20, i32 noundef %22, i32 noundef %23, i32 noundef %24) store i32 %25, ptr %5, align 4 br label %40 26: ; preds = %4 %27 = load i32, ptr %9, align 4 %28 = sub nsw i32 %27, 1 %29 = load i32, ptr %10, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %37 31: ; preds = %26 %32 = load ptr, ptr %6, align 8 %33 = load i32, ptr %7, align 4 %34 = load i32, ptr %10, align 4 %35 = load i32, ptr %9, align 4 %36 = call i32 @ksel(ptr noundef %32, i32 noundef %33, i32 noundef %34, i32 noundef %35) store i32 %36, ptr %5, align 4 br label %40 37: ; preds = %26 br label %38 38: ; preds = %37 %39 = load i32, ptr %10, align 4 store i32 %39, ptr %5, align 4 br label %40 40: ; preds = %38, %31, %19 %41 = load i32, ptr %5, align 4 ret i32 %41 } declare i32 @part(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/tmpe6oxwraw.c' source_filename = "/tmp/tmpe6oxwraw.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 @bot_roll_pitch_yaw_to_angle_axis(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 [4 x double], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds [4 x double], ptr %7, i64 0, i64 0 %10 = call i32 @bot_roll_pitch_yaw_to_quat(ptr noundef %8, ptr noundef %9) %11 = getelementptr inbounds [4 x double], ptr %7, i64 0, i64 0 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %6, align 8 %14 = call i32 @bot_quat_to_angle_axis(ptr noundef %11, ptr noundef %12, ptr noundef %13) ret void } declare i32 @bot_roll_pitch_yaw_to_quat(ptr noundef, ptr noundef) #1 declare i32 @bot_quat_to_angle_axis(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/tmpe6oxwraw.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 @bot_roll_pitch_yaw_to_angle_axis(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 [4 x double], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds [4 x double], ptr %7, i64 0, i64 0 %10 = call i32 @bot_roll_pitch_yaw_to_quat(ptr noundef %8, ptr noundef %9) %11 = getelementptr inbounds [4 x double], ptr %7, i64 0, i64 0 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %6, align 8 %14 = call i32 @bot_quat_to_angle_axis(ptr noundef %11, ptr noundef %12, ptr noundef %13) ret void } declare i32 @bot_roll_pitch_yaw_to_quat(ptr noundef, ptr noundef) #1 declare i32 @bot_quat_to_angle_axis(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/tmpkpt9gk6l.c' source_filename = "/tmp/tmpkpt9gk6l.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" %union.anon = type { double } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @my_fabs(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca %union.anon, align 8 store double %0, ptr %2, align 8 %4 = load double, ptr %2, align 8 store double %4, ptr %3, align 8 %5 = load i64, ptr %3, align 8 %6 = and i64 %5, 9223372036854775807 store i64 %6, ptr %3, align 8 %7 = load double, ptr %3, align 8 ret double %7 } 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/tmpkpt9gk6l.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" %union.anon = type { double } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @my_fabs(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca %union.anon, align 8 store double %0, ptr %2, align 8 %4 = load double, ptr %2, align 8 store double %4, ptr %3, align 8 %5 = load i64, ptr %3, align 8 %6 = and i64 %5, 9223372036854775807 store i64 %6, ptr %3, align 8 %7 = load double, ptr %3, align 8 ret double %7 } 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/tmpx_okac4w.c' source_filename = "/tmp/tmpx_okac4w.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" @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @shutdown(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr @ENOSYS, align 4 %6 = call i32 @__set_errno(i32 noundef %5) ret i32 -1 } declare i32 @__set_errno(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/tmpx_okac4w.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" @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @shutdown(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr @ENOSYS, align 4 %6 = call i32 @__set_errno(i32 noundef %5) ret i32 -1 } declare i32 @__set_errno(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/tmpuqih5lv1.c' source_filename = "/tmp/tmpuqih5lv1.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 } %struct.group = type { i32 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"chgrp: not enough arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"chgrp\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 i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca %struct.stat, align 4 %11 = alloca i32, align 4 %12 = 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 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 3 br i1 %14, label %15, label %18 15: ; preds = %2 %16 = load i32, ptr @stderr, align 4 %17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str) store i32 1, ptr %3, align 4 br label %62 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call ptr @getgrnam(ptr noundef %21) store ptr %22, ptr %6, align 8 %23 = load ptr, ptr %6, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %27, label %25 25: ; preds = %18 %26 = call i32 @perror(ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %62 27: ; preds = %18 store i32 0, ptr %8, align 4 store i32 2, ptr %7, align 4 br label %28 28: ; preds = %57, %27 %29 = load i32, ptr %7, align 4 %30 = load i32, ptr %4, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %32, label %60 32: ; preds = %28 %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %7, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds ptr, ptr %33, i64 %35 %37 = load ptr, ptr %36, align 8 store ptr %37, ptr %9, align 8 %38 = load ptr, ptr %9, align 8 %39 = call i64 @stat(ptr noundef %38, ptr noundef %10) %40 = icmp slt i64 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %32 %42 = call i32 @perror(ptr noundef @.str.1) store i32 1, ptr %8, align 4 br label %57 43: ; preds = %32 %44 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0 %45 = load i32, ptr %44, align 4 store i32 %45, ptr %11, align 4 %46 = load ptr, ptr %6, align 8 %47 = getelementptr inbounds %struct.group, ptr %46, i32 0, i32 0 %48 = load i32, ptr %47, align 4 store i32 %48, ptr %12, align 4 %49 = load ptr, ptr %9, align 8 %50 = load i32, ptr %11, align 4 %51 = load i32, ptr %12, align 4 %52 = call i64 @chown(ptr noundef %49, i32 noundef %50, i32 noundef %51) %53 = icmp slt i64 %52, 0 br i1 %53, label %54, label %56 54: ; preds = %43 %55 = call i32 @perror(ptr noundef @.str.1) store i32 1, ptr %8, align 4 br label %57 56: ; preds = %43 br label %57 57: ; preds = %56, %54, %41 %58 = load i32, ptr %7, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %7, align 4 br label %28, !llvm.loop !6 60: ; preds = %28 %61 = load i32, ptr %8, align 4 store i32 %61, ptr %3, align 4 br label %62 62: ; preds = %60, %25, %15 %63 = load i32, ptr %3, align 4 ret i32 %63 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare ptr @getgrnam(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @stat(ptr noundef, ptr noundef) #1 declare i64 @chown(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/tmpuqih5lv1.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 } %struct.group = type { i32 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"chgrp: not enough arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"chgrp\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 i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca %struct.stat, align 4 %11 = alloca i32, align 4 %12 = 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 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 3 br i1 %14, label %15, label %18 15: ; preds = %2 %16 = load i32, ptr @stderr, align 4 %17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str) store i32 1, ptr %3, align 4 br label %64 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call ptr @getgrnam(ptr noundef %21) store ptr %22, ptr %6, align 8 %23 = load ptr, ptr %6, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %27, label %25 25: ; preds = %18 %26 = call i32 @perror(ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %64 27: ; preds = %18 store i32 0, ptr %8, align 4 store i32 2, ptr %7, align 4 %28 = load i32, ptr %7, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %.lr.ph, label %62 .lr.ph: ; preds = %27 br label %31 31: ; preds = %.lr.ph, %56 %32 = load ptr, ptr %5, align 8 %33 = load i32, ptr %7, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds ptr, ptr %32, i64 %34 %36 = load ptr, ptr %35, align 8 store ptr %36, ptr %9, align 8 %37 = load ptr, ptr %9, align 8 %38 = call i64 @stat(ptr noundef %37, ptr noundef %10) %39 = icmp slt i64 %38, 0 br i1 %39, label %40, label %42 40: ; preds = %31 %41 = call i32 @perror(ptr noundef @.str.1) store i32 1, ptr %8, align 4 br label %56 42: ; preds = %31 %43 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0 %44 = load i32, ptr %43, align 4 store i32 %44, ptr %11, align 4 %45 = load ptr, ptr %6, align 8 %46 = getelementptr inbounds %struct.group, ptr %45, i32 0, i32 0 %47 = load i32, ptr %46, align 4 store i32 %47, ptr %12, align 4 %48 = load ptr, ptr %9, align 8 %49 = load i32, ptr %11, align 4 %50 = load i32, ptr %12, align 4 %51 = call i64 @chown(ptr noundef %48, i32 noundef %49, i32 noundef %50) %52 = icmp slt i64 %51, 0 br i1 %52, label %53, label %55 53: ; preds = %42 %54 = call i32 @perror(ptr noundef @.str.1) store i32 1, ptr %8, align 4 br label %56 55: ; preds = %42 br label %56 56: ; preds = %55, %53, %40 %57 = load i32, ptr %7, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %7, align 4 %59 = load i32, ptr %7, align 4 %60 = load i32, ptr %4, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %31, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %56 br label %62 62: ; preds = %._crit_edge, %27 %63 = load i32, ptr %8, align 4 store i32 %63, ptr %3, align 4 br label %64 64: ; preds = %62, %25, %15 %65 = load i32, ptr %3, align 4 ret i32 %65 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare ptr @getgrnam(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @stat(ptr noundef, ptr noundef) #1 declare i64 @chown(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/tmpdrzh9vz7.c' source_filename = "/tmp/tmpdrzh9vz7.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 [26 x i8] c"menu/art_blueish/frame2_l\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"menu/art_blueish/frame1_r\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"menu/art_blueish/back_0\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"menu/art_blueish/back_1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @UI_SoundOptionsMenu_Cache() #0 { %1 = call i32 @trap_R_RegisterShaderNoMip(ptr noundef @.str) %2 = call i32 @trap_R_RegisterShaderNoMip(ptr noundef @.str.1) %3 = call i32 @trap_R_RegisterShaderNoMip(ptr noundef @.str.2) %4 = call i32 @trap_R_RegisterShaderNoMip(ptr noundef @.str.3) ret void } declare i32 @trap_R_RegisterShaderNoMip(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/tmpdrzh9vz7.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 [26 x i8] c"menu/art_blueish/frame2_l\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"menu/art_blueish/frame1_r\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"menu/art_blueish/back_0\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"menu/art_blueish/back_1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @UI_SoundOptionsMenu_Cache() #0 { %1 = call i32 @trap_R_RegisterShaderNoMip(ptr noundef @.str) %2 = call i32 @trap_R_RegisterShaderNoMip(ptr noundef @.str.1) %3 = call i32 @trap_R_RegisterShaderNoMip(ptr noundef @.str.2) %4 = call i32 @trap_R_RegisterShaderNoMip(ptr noundef @.str.3) ret void } declare i32 @trap_R_RegisterShaderNoMip(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/tmpkwdxjf3j.c' source_filename = "/tmp/tmpkwdxjf3j.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"</body></html>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_html_end() #0 { %1 = 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/tmpkwdxjf3j.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"</body></html>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_html_end() #0 { %1 = 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/tmp8dkdq8tk.c' source_filename = "/tmp/tmp8dkdq8tk.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 [18 x i8] c"wrong arguments!\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Can't open input file\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"Can't open output file\0A\00", align 1 @__const.main.result = private unnamed_addr constant [4 x i8] c"123\00", align 1 @SEEK_CUR = dso_local global i32 0, align 4 ; 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 float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca [4 x i8], align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 3 br i1 %13, label %14, label %16 14: ; preds = %2 %15 = call i32 @printf(ptr noundef @.str) br label %16 16: ; preds = %14, %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str.1) store ptr %20, ptr %6, align 8 %21 = load ptr, ptr %6, align 8 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %25 23: ; preds = %16 %24 = call i32 @printf(ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %80 25: ; preds = %16 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 2 %28 = load ptr, ptr %27, align 8 %29 = call ptr @fopen(ptr noundef %28, ptr noundef @.str.3) store ptr %29, ptr %7, align 8 %30 = load ptr, ptr %7, align 8 %31 = icmp eq ptr %30, null br i1 %31, label %32, label %34 32: ; preds = %25 %33 = call i32 @printf(ptr noundef @.str.4) store i32 1, ptr %3, align 4 br label %80 34: ; preds = %25 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %11, ptr align 1 @__const.main.result, i64 4, i1 false) br label %35 35: ; preds = %34, %71 %36 = load ptr, ptr %6, align 8 %37 = call i64 @getc(ptr noundef %36) %38 = trunc i64 %37 to i8 %39 = uitofp i8 %38 to float store float %39, ptr %8, align 4 %40 = load ptr, ptr %6, align 8 %41 = call i64 @getc(ptr noundef %40) %42 = trunc i64 %41 to i8 %43 = uitofp i8 %42 to float store float %43, ptr %9, align 4 %44 = load ptr, ptr %6, align 8 %45 = call i64 @getc(ptr noundef %44) %46 = trunc i64 %45 to i8 %47 = uitofp i8 %46 to float store float %47, ptr %10, align 4 %48 = load float, ptr %8, align 4 %49 = load float, ptr %9, align 4 %50 = load float, ptr %10, align 4 %51 = getelementptr inbounds [4 x i8], ptr %11, i64 0, i64 0 %52 = call i32 @convertColor(float noundef %48, float noundef %49, float noundef %50, ptr noundef %51) %53 = getelementptr inbounds [4 x i8], ptr %11, i64 0, i64 0 %54 = load i8, ptr %53, align 1 %55 = load ptr, ptr %7, align 8 %56 = call i32 @putc(i8 noundef signext %54, ptr noundef %55) %57 = getelementptr inbounds [4 x i8], ptr %11, i64 0, i64 1 %58 = load i8, ptr %57, align 1 %59 = load ptr, ptr %7, align 8 %60 = call i32 @putc(i8 noundef signext %58, ptr noundef %59) %61 = getelementptr inbounds [4 x i8], ptr %11, i64 0, i64 2 %62 = load i8, ptr %61, align 1 %63 = load ptr, ptr %7, align 8 %64 = call i32 @putc(i8 noundef signext %62, ptr noundef %63) %65 = load ptr, ptr %6, align 8 %66 = call i64 @getc(ptr noundef %65) %67 = load ptr, ptr %6, align 8 %68 = call i64 @feof(ptr noundef %67) %69 = icmp ne i64 %68, 0 br i1 %69, label %70, label %71 70: ; preds = %35 br label %75 71: ; preds = %35 %72 = load ptr, ptr %6, align 8 %73 = load i32, ptr @SEEK_CUR, align 4 %74 = call i32 @fseek(ptr noundef %72, i32 noundef -1, i32 noundef %73) br label %35 75: ; preds = %70 %76 = load ptr, ptr %6, align 8 %77 = call i32 @fclose(ptr noundef %76) %78 = load ptr, ptr %7, align 8 %79 = call i32 @fclose(ptr noundef %78) store i32 0, ptr %3, align 4 br label %80 80: ; preds = %75, %32, %23 %81 = load i32, ptr %3, align 4 ret i32 %81 } declare i32 @printf(ptr noundef) #1 declare ptr @fopen(ptr 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 i64 @getc(ptr noundef) #1 declare i32 @convertColor(float noundef, float noundef, float noundef, ptr noundef) #1 declare i32 @putc(i8 noundef signext, ptr noundef) #1 declare i64 @feof(ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 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 = { 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/tmp8dkdq8tk.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 [18 x i8] c"wrong arguments!\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Can't open input file\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"Can't open output file\0A\00", align 1 @__const.main.result = private unnamed_addr constant [4 x i8] c"123\00", align 1 @SEEK_CUR = dso_local global i32 0, align 4 ; 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 float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca [4 x i8], align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 3 br i1 %13, label %14, label %16 14: ; preds = %2 %15 = call i32 @printf(ptr noundef @.str) br label %16 16: ; preds = %14, %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str.1) store ptr %20, ptr %6, align 8 %21 = load ptr, ptr %6, align 8 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %25 23: ; preds = %16 %24 = call i32 @printf(ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %80 25: ; preds = %16 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 2 %28 = load ptr, ptr %27, align 8 %29 = call ptr @fopen(ptr noundef %28, ptr noundef @.str.3) store ptr %29, ptr %7, align 8 %30 = load ptr, ptr %7, align 8 %31 = icmp eq ptr %30, null br i1 %31, label %32, label %34 32: ; preds = %25 %33 = call i32 @printf(ptr noundef @.str.4) store i32 1, ptr %3, align 4 br label %80 34: ; preds = %25 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %11, ptr align 1 @__const.main.result, i64 4, i1 false) br label %35 35: ; preds = %71, %34 %36 = load ptr, ptr %6, align 8 %37 = call i64 @getc(ptr noundef %36) %38 = trunc i64 %37 to i8 %39 = uitofp i8 %38 to float store float %39, ptr %8, align 4 %40 = load ptr, ptr %6, align 8 %41 = call i64 @getc(ptr noundef %40) %42 = trunc i64 %41 to i8 %43 = uitofp i8 %42 to float store float %43, ptr %9, align 4 %44 = load ptr, ptr %6, align 8 %45 = call i64 @getc(ptr noundef %44) %46 = trunc i64 %45 to i8 %47 = uitofp i8 %46 to float store float %47, ptr %10, align 4 %48 = load float, ptr %8, align 4 %49 = load float, ptr %9, align 4 %50 = load float, ptr %10, align 4 %51 = getelementptr inbounds [4 x i8], ptr %11, i64 0, i64 0 %52 = call i32 @convertColor(float noundef %48, float noundef %49, float noundef %50, ptr noundef %51) %53 = getelementptr inbounds [4 x i8], ptr %11, i64 0, i64 0 %54 = load i8, ptr %53, align 1 %55 = load ptr, ptr %7, align 8 %56 = call i32 @putc(i8 noundef signext %54, ptr noundef %55) %57 = getelementptr inbounds [4 x i8], ptr %11, i64 0, i64 1 %58 = load i8, ptr %57, align 1 %59 = load ptr, ptr %7, align 8 %60 = call i32 @putc(i8 noundef signext %58, ptr noundef %59) %61 = getelementptr inbounds [4 x i8], ptr %11, i64 0, i64 2 %62 = load i8, ptr %61, align 1 %63 = load ptr, ptr %7, align 8 %64 = call i32 @putc(i8 noundef signext %62, ptr noundef %63) %65 = load ptr, ptr %6, align 8 %66 = call i64 @getc(ptr noundef %65) %67 = load ptr, ptr %6, align 8 %68 = call i64 @feof(ptr noundef %67) %69 = icmp ne i64 %68, 0 br i1 %69, label %70, label %71 70: ; preds = %35 br label %75 71: ; preds = %35 %72 = load ptr, ptr %6, align 8 %73 = load i32, ptr @SEEK_CUR, align 4 %74 = call i32 @fseek(ptr noundef %72, i32 noundef -1, i32 noundef %73) br label %35 75: ; preds = %70 %76 = load ptr, ptr %6, align 8 %77 = call i32 @fclose(ptr noundef %76) %78 = load ptr, ptr %7, align 8 %79 = call i32 @fclose(ptr noundef %78) store i32 0, ptr %3, align 4 br label %80 80: ; preds = %75, %32, %23 %81 = load i32, ptr %3, align 4 ret i32 %81 } declare i32 @printf(ptr noundef) #1 declare ptr @fopen(ptr 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 i64 @getc(ptr noundef) #1 declare i32 @convertColor(float noundef, float noundef, float noundef, ptr noundef) #1 declare i32 @putc(i8 noundef signext, ptr noundef) #1 declare i64 @feof(ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 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 = { 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/tmpob4zcrl0.c' source_filename = "/tmp/tmpob4zcrl0.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 @fddupopen(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %7, align 8 %8 = load ptr, ptr %5, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %11 10: ; preds = %2 store ptr null, ptr %3, align 8 br label %26 11: ; preds = %2 %12 = load i32, ptr %4, align 4 %13 = call i32 @dup(i32 noundef %12) store i32 %13, ptr %6, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %11 store ptr null, ptr %3, align 8 br label %26 16: ; preds = %11 %17 = load i32, ptr %6, align 4 %18 = load ptr, ptr %5, align 8 %19 = call ptr @fdopen(i32 noundef %17, ptr noundef %18) store ptr %19, ptr %7, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %24 21: ; preds = %16 %22 = load i32, ptr %6, align 4 %23 = call i32 @close(i32 noundef %22) br label %24 24: ; preds = %21, %16 %25 = load ptr, ptr %7, align 8 store ptr %25, ptr %3, align 8 br label %26 26: ; preds = %24, %15, %10 %27 = load ptr, ptr %3, align 8 ret ptr %27 } declare i32 @dup(i32 noundef) #1 declare ptr @fdopen(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpob4zcrl0.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 @fddupopen(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %7, align 8 %8 = load ptr, ptr %5, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %11 10: ; preds = %2 store ptr null, ptr %3, align 8 br label %26 11: ; preds = %2 %12 = load i32, ptr %4, align 4 %13 = call i32 @dup(i32 noundef %12) store i32 %13, ptr %6, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %11 store ptr null, ptr %3, align 8 br label %26 16: ; preds = %11 %17 = load i32, ptr %6, align 4 %18 = load ptr, ptr %5, align 8 %19 = call ptr @fdopen(i32 noundef %17, ptr noundef %18) store ptr %19, ptr %7, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %24 21: ; preds = %16 %22 = load i32, ptr %6, align 4 %23 = call i32 @close(i32 noundef %22) br label %24 24: ; preds = %21, %16 %25 = load ptr, ptr %7, align 8 store ptr %25, ptr %3, align 8 br label %26 26: ; preds = %24, %15, %10 %27 = load ptr, ptr %3, align 8 ret ptr %27 } declare i32 @dup(i32 noundef) #1 declare ptr @fdopen(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"}
; ModuleID = '/tmp/tmp4f1icboj.c' source_filename = "/tmp/tmp4f1icboj.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/tmp4f1icboj.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/tmp3q7rq4i3.c' source_filename = "/tmp/tmp3q7rq4i3.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" @LOG_NOWAIT = dso_local global i32 0, align 4 @LOG_PID = dso_local global i32 0, align 4 @LOG_DAEMON = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @logging_set_prefix(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (...) @closelog() %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr @LOG_NOWAIT, align 4 %6 = load i32, ptr @LOG_PID, align 4 %7 = or i32 %5, %6 %8 = load i32, ptr @LOG_DAEMON, align 4 %9 = call i32 @openlog(ptr noundef %4, i32 noundef %7, i32 noundef %8) ret void } declare i32 @closelog(...) #1 declare i32 @openlog(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/tmp3q7rq4i3.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" @LOG_NOWAIT = dso_local global i32 0, align 4 @LOG_PID = dso_local global i32 0, align 4 @LOG_DAEMON = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @logging_set_prefix(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (...) @closelog() %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr @LOG_NOWAIT, align 4 %6 = load i32, ptr @LOG_PID, align 4 %7 = or i32 %5, %6 %8 = load i32, ptr @LOG_DAEMON, align 4 %9 = call i32 @openlog(ptr noundef %4, i32 noundef %7, i32 noundef %8) ret void } declare i32 @closelog(...) #1 declare i32 @openlog(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/tmp_ysq2vsi.c' source_filename = "/tmp/tmp_ysq2vsi.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 @f06(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 @f05(i32 noundef %3) %5 = call i32 @f05(i32 noundef %4) ret i32 %5 } declare i32 @f05(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/tmp_ysq2vsi.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 @f06(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 @f05(i32 noundef %3) %5 = call i32 @f05(i32 noundef %4) ret i32 %5 } declare i32 @f05(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/tmp7aiz5zyl.c' source_filename = "/tmp/tmp7aiz5zyl.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 @IF_gplot_replace() #0 { %1 = alloca i64, align 8 %2 = call i64 @getParLong(ptr noundef %1) %3 = icmp ne i64 %2, 0 br i1 %3, label %4, label %13 4: ; preds = %0 %5 = call i32 (...) @is1Tab() %6 = icmp ne i32 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %4 %8 = call i32 @messErr(i32 noundef 12) br label %13 9: ; preds = %4 %10 = load i64, ptr %1, align 8 %11 = trunc i64 %10 to i16 %12 = call i32 @GP_replData(i16 noundef signext %11) br label %13 13: ; preds = %7, %9, %0 ret void } declare i64 @getParLong(ptr noundef) #1 declare i32 @is1Tab(...) #1 declare i32 @messErr(i32 noundef) #1 declare i32 @GP_replData(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" } !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/tmp7aiz5zyl.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 @IF_gplot_replace() #0 { %1 = alloca i64, align 8 %2 = call i64 @getParLong(ptr noundef %1) %3 = icmp ne i64 %2, 0 br i1 %3, label %4, label %13 4: ; preds = %0 %5 = call i32 (...) @is1Tab() %6 = icmp ne i32 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %4 %8 = call i32 @messErr(i32 noundef 12) br label %13 9: ; preds = %4 %10 = load i64, ptr %1, align 8 %11 = trunc i64 %10 to i16 %12 = call i32 @GP_replData(i16 noundef signext %11) br label %13 13: ; preds = %9, %7, %0 ret void } declare i64 @getParLong(ptr noundef) #1 declare i32 @is1Tab(...) #1 declare i32 @messErr(i32 noundef) #1 declare i32 @GP_replData(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" } !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/tmp7nkgipiw.c' source_filename = "/tmp/tmp7nkgipiw.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 { i64, i32 } @.str = private unnamed_addr constant [7 x i8] c"%*s %s\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%.2f MB\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 i32, align 4 %7 = alloca [512 x i8], align 16 %8 = alloca %struct.stat, align 8 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 %6, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp sgt i32 %9, 1 br i1 %10, label %11, label %16 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i32 @chdir(ptr noundef %14) br label %16 16: ; preds = %11, %2 br label %17 17: ; preds = %38, %25, %16 %18 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0 %19 = call i32 @scanf(ptr noundef @.str, ptr noundef %18) %20 = icmp eq i32 %19, 1 br i1 %20, label %21, label %41 21: ; preds = %17 %22 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0 %23 = call i64 @lstat(ptr noundef %22, ptr noundef %8) %24 = icmp ne i64 %23, 0 br i1 %24, label %25, label %26 25: ; preds = %21 br label %17, !llvm.loop !6 26: ; preds = %21 %27 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 1 %28 = load i32, ptr %27, align 8 %29 = call i64 @S_ISREG(i32 noundef %28) %30 = icmp ne i64 %29, 0 br i1 %30, label %31, label %38 31: ; preds = %26 %32 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0 %33 = load i64, ptr %32, align 8 %34 = load i32, ptr %6, align 4 %35 = sext i32 %34 to i64 %36 = add nsw i64 %35, %33 %37 = trunc i64 %36 to i32 store i32 %37, ptr %6, align 4 br label %38 38: ; preds = %31, %26 %39 = load i32, ptr %6, align 4 %40 = add nsw i32 %39, 512 store i32 %40, ptr %6, align 4 br label %17, !llvm.loop !6 41: ; preds = %17 %42 = load i32, ptr %6, align 4 %43 = sitofp i32 %42 to double %44 = fdiv double %43, 0x4130000000000000 %45 = fadd double %44, 1.000000e-02 %46 = fptosi double %45 to i32 %47 = call i32 @printf(ptr noundef @.str.1, i32 noundef %46) ret i32 0 } declare i32 @chdir(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @lstat(ptr noundef, ptr noundef) #1 declare i64 @S_ISREG(i32 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/tmp7nkgipiw.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 { i64, i32 } @.str = private unnamed_addr constant [7 x i8] c"%*s %s\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%.2f MB\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 i32, align 4 %7 = alloca [512 x i8], align 16 %8 = alloca %struct.stat, align 8 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 %6, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp sgt i32 %9, 1 br i1 %10, label %11, label %16 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i32 @chdir(ptr noundef %14) br label %16 16: ; preds = %11, %2 %17 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0 %18 = call i32 @scanf(ptr noundef @.str, ptr noundef %17) %19 = icmp eq i32 %18, 1 br i1 %19, label %.lr.ph, label %42 .lr.ph: ; preds = %16 br label %20 20: ; preds = %.lr.ph, %.backedge %21 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0 %22 = call i64 @lstat(ptr noundef %21, ptr noundef %8) %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %27 24: ; preds = %20 br label %.backedge .backedge: ; preds = %24, %39 %25 = call i32 @scanf(ptr noundef @.str, ptr noundef %17) %26 = icmp eq i32 %25, 1 br i1 %26, label %20, label %._crit_edge, !llvm.loop !6 27: ; preds = %20 %28 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 1 %29 = load i32, ptr %28, align 8 %30 = call i64 @S_ISREG(i32 noundef %29) %31 = icmp ne i64 %30, 0 br i1 %31, label %32, label %39 32: ; preds = %27 %33 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0 %34 = load i64, ptr %33, align 8 %35 = load i32, ptr %6, align 4 %36 = sext i32 %35 to i64 %37 = add nsw i64 %36, %34 %38 = trunc i64 %37 to i32 store i32 %38, ptr %6, align 4 br label %39 39: ; preds = %32, %27 %40 = load i32, ptr %6, align 4 %41 = add nsw i32 %40, 512 store i32 %41, ptr %6, align 4 br label %.backedge ._crit_edge: ; preds = %.backedge br label %42 42: ; preds = %._crit_edge, %16 %43 = load i32, ptr %6, align 4 %44 = sitofp i32 %43 to double %45 = fdiv double %44, 0x4130000000000000 %46 = fadd double %45, 1.000000e-02 %47 = fptosi double %46 to i32 %48 = call i32 @printf(ptr noundef @.str.1, i32 noundef %47) ret i32 0 } declare i32 @chdir(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @lstat(ptr noundef, ptr noundef) #1 declare i64 @S_ISREG(i32 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/tmpai00w5r1.c' source_filename = "/tmp/tmpai00w5r1.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.timeval = type { i64, i32 } %struct.tm = type { i32 } @.str = private unnamed_addr constant [20 x i8] c"gettimeofday error\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"localtime_r error\0A\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"%Y-%b-%d %H:%M:%S\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"strftime error\0A\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"strftime overflow\0A\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c".%06ld\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printTimeString() #0 { %1 = alloca i64, align 8 %2 = alloca [80 x i8], align 16 %3 = alloca %struct.timeval, align 8 %4 = alloca %struct.tm, align 4 %5 = call i64 @gettimeofday(ptr noundef %3, ptr noundef null) %6 = icmp slt i64 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %0 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 (...) @abort() #3 unreachable 10: ; preds = %0 %11 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1 %12 = call i32 @localtime_r(ptr noundef %11, ptr noundef %4) %13 = icmp ne i32 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %10 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %16 = call i32 (...) @abort() #3 unreachable 17: ; preds = %10 %18 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %19 = call i64 @strftime(ptr noundef %18, i32 noundef 80, ptr noundef @.str.2, ptr noundef %4) store i64 %19, ptr %1, align 8 %20 = load i64, ptr %1, align 8 %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %17 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %24 = call i32 (...) @abort() #3 unreachable 25: ; preds = %17 %26 = load i64, ptr %1, align 8 %27 = icmp ugt i64 %26, 72 br i1 %27, label %28, label %31 28: ; preds = %25 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %30 = call i32 (...) @abort() #3 unreachable 31: ; preds = %25 br label %32 32: ; preds = %31 %33 = load i64, ptr %1, align 8 %34 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 %33 %35 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 %36 = load i64, ptr %35, align 8 %37 = call i32 @snprintf(ptr noundef %34, i32 noundef 8, ptr noundef @.str.5, i64 noundef %36) %38 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %38) ret void } declare i64 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare i32 @localtime_r(ptr noundef, ptr noundef) #1 declare i64 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 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" } 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/tmpai00w5r1.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.timeval = type { i64, i32 } %struct.tm = type { i32 } @.str = private unnamed_addr constant [20 x i8] c"gettimeofday error\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"localtime_r error\0A\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"%Y-%b-%d %H:%M:%S\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"strftime error\0A\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"strftime overflow\0A\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c".%06ld\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printTimeString() #0 { %1 = alloca i64, align 8 %2 = alloca [80 x i8], align 16 %3 = alloca %struct.timeval, align 8 %4 = alloca %struct.tm, align 4 %5 = call i64 @gettimeofday(ptr noundef %3, ptr noundef null) %6 = icmp slt i64 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %0 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 (...) @abort() #3 unreachable 10: ; preds = %0 %11 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1 %12 = call i32 @localtime_r(ptr noundef %11, ptr noundef %4) %13 = icmp ne i32 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %10 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %16 = call i32 (...) @abort() #3 unreachable 17: ; preds = %10 %18 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %19 = call i64 @strftime(ptr noundef %18, i32 noundef 80, ptr noundef @.str.2, ptr noundef %4) store i64 %19, ptr %1, align 8 %20 = load i64, ptr %1, align 8 %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %17 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %24 = call i32 (...) @abort() #3 unreachable 25: ; preds = %17 %26 = load i64, ptr %1, align 8 %27 = icmp ugt i64 %26, 72 br i1 %27, label %28, label %31 28: ; preds = %25 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %30 = call i32 (...) @abort() #3 unreachable 31: ; preds = %25 br label %32 32: ; preds = %31 %33 = load i64, ptr %1, align 8 %34 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 %33 %35 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 %36 = load i64, ptr %35, align 8 %37 = call i32 @snprintf(ptr noundef %34, i32 noundef 8, ptr noundef @.str.5, i64 noundef %36) %38 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %38) ret void } declare i64 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare i32 @localtime_r(ptr noundef, ptr noundef) #1 declare i64 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 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" } 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/tmpaxnzrbs6.c' source_filename = "/tmp/tmpaxnzrbs6.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/tmpaxnzrbs6.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/tmp0eq9gw4m.c' source_filename = "/tmp/tmp0eq9gw4m.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.in_addr = type { i64 } %struct.ifreq = type { %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } %struct.sockaddr_in = type { %struct.in_addr } @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @SIOCGIFADDR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @get_ipaddr(ptr noundef %0) #0 { %2 = alloca %struct.in_addr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca %struct.ifreq, align 4 store ptr %0, ptr %3, align 8 %6 = getelementptr inbounds %struct.in_addr, ptr %2, i32 0, i32 0 store i64 0, ptr %6, align 8 %7 = load i32, ptr @AF_INET, align 4 %8 = load i32, ptr @SOCK_DGRAM, align 4 %9 = call i32 @socket(i32 noundef %7, i32 noundef %8, i32 noundef 0) store i32 %9, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %1 br label %32 13: ; preds = %1 %14 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 8) %15 = load i32, ptr @AF_INET, align 4 %16 = getelementptr inbounds %struct.ifreq, ptr %5, i32 0, i32 0 %17 = getelementptr inbounds %struct.TYPE_2__, ptr %16, i32 0, i32 0 store i32 %15, ptr %17, align 4 %18 = getelementptr inbounds %struct.ifreq, ptr %5, i32 0, i32 1 %19 = load i32, ptr %18, align 4 %20 = load ptr, ptr %3, align 8 %21 = call i32 @strcpy(i32 noundef %19, ptr noundef %20) %22 = load i32, ptr %4, align 4 %23 = load i32, ptr @SIOCGIFADDR, align 4 %24 = call i64 @ioctl(i32 noundef %22, i32 noundef %23, ptr noundef %5) %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %13 %27 = getelementptr inbounds %struct.ifreq, ptr %5, i32 0, i32 0 %28 = getelementptr inbounds %struct.sockaddr_in, ptr %27, i32 0, i32 0 call void @llvm.memcpy.p0.p0.i64(ptr align 8 %2, ptr align 4 %28, i64 8, i1 false) br label %29 29: ; preds = %26, %13 %30 = load i32, ptr %4, align 4 %31 = call i32 @close(i32 noundef %30) br label %32 32: ; preds = %29, %12 %33 = getelementptr inbounds %struct.in_addr, ptr %2, i32 0, i32 0 %34 = load i64, ptr %33, align 8 ret i64 %34 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strcpy(i32 noundef, ptr noundef) #1 declare i64 @ioctl(i32 noundef, 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 @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" } 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/tmp0eq9gw4m.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.in_addr = type { i64 } %struct.ifreq = type { %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } %struct.sockaddr_in = type { %struct.in_addr } @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @SIOCGIFADDR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @get_ipaddr(ptr noundef %0) #0 { %2 = alloca %struct.in_addr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca %struct.ifreq, align 4 store ptr %0, ptr %3, align 8 %6 = getelementptr inbounds %struct.in_addr, ptr %2, i32 0, i32 0 store i64 0, ptr %6, align 8 %7 = load i32, ptr @AF_INET, align 4 %8 = load i32, ptr @SOCK_DGRAM, align 4 %9 = call i32 @socket(i32 noundef %7, i32 noundef %8, i32 noundef 0) store i32 %9, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %1 br label %32 13: ; preds = %1 %14 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 8) %15 = load i32, ptr @AF_INET, align 4 %16 = getelementptr inbounds %struct.ifreq, ptr %5, i32 0, i32 0 %17 = getelementptr inbounds %struct.TYPE_2__, ptr %16, i32 0, i32 0 store i32 %15, ptr %17, align 4 %18 = getelementptr inbounds %struct.ifreq, ptr %5, i32 0, i32 1 %19 = load i32, ptr %18, align 4 %20 = load ptr, ptr %3, align 8 %21 = call i32 @strcpy(i32 noundef %19, ptr noundef %20) %22 = load i32, ptr %4, align 4 %23 = load i32, ptr @SIOCGIFADDR, align 4 %24 = call i64 @ioctl(i32 noundef %22, i32 noundef %23, ptr noundef %5) %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %13 %27 = getelementptr inbounds %struct.ifreq, ptr %5, i32 0, i32 0 %28 = getelementptr inbounds %struct.sockaddr_in, ptr %27, i32 0, i32 0 call void @llvm.memcpy.p0.p0.i64(ptr align 8 %2, ptr align 4 %28, i64 8, i1 false) br label %29 29: ; preds = %26, %13 %30 = load i32, ptr %4, align 4 %31 = call i32 @close(i32 noundef %30) br label %32 32: ; preds = %29, %12 %33 = getelementptr inbounds %struct.in_addr, ptr %2, i32 0, i32 0 %34 = load i64, ptr %33, align 8 ret i64 %34 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strcpy(i32 noundef, ptr noundef) #1 declare i64 @ioctl(i32 noundef, 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 @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" } 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/tmpjxmdx09k.c' source_filename = "/tmp/tmpjxmdx09k.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/tmpjxmdx09k.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_gimae4a.c' source_filename = "/tmp/tmp_gimae4a.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 @str_is_printable(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load i64, ptr %5, align 8 %10 = icmp ne i64 %9, 0 br i1 %10, label %12, label %11 11: ; preds = %8, %2 store i32 0, ptr %3, align 4 br label %41 12: ; preds = %8 %13 = load ptr, ptr %4, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %12 store i32 0, ptr %3, align 4 br label %41 18: ; preds = %12 br label %19 19: ; preds = %35, %18 %20 = load i64, ptr %5, align 8 %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %27 22: ; preds = %19 %23 = load ptr, ptr %4, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp ne i32 %25, 0 br label %27 27: ; preds = %22, %19 %28 = phi i1 [ false, %19 ], [ %26, %22 ] br i1 %28, label %29, label %40 29: ; preds = %27 %30 = load ptr, ptr %4, align 8 %31 = load i8, ptr %30, align 1 %32 = call i32 @isprint(i8 noundef signext %31) %33 = icmp ne i32 %32, 0 br i1 %33, label %35, label %34 34: ; preds = %29 store i32 0, ptr %3, align 4 br label %41 35: ; preds = %29 %36 = load ptr, ptr %4, align 8 %37 = getelementptr inbounds i8, ptr %36, i32 1 store ptr %37, ptr %4, align 8 %38 = load i64, ptr %5, align 8 %39 = add i64 %38, -1 store i64 %39, ptr %5, align 8 br label %19, !llvm.loop !6 40: ; preds = %27 store i32 1, ptr %3, align 4 br label %41 41: ; preds = %40, %34, %17, %11 %42 = load i32, ptr %3, align 4 ret i32 %42 } declare i32 @isprint(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/tmp_gimae4a.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 @str_is_printable(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load i64, ptr %5, align 8 %10 = icmp ne i64 %9, 0 br i1 %10, label %12, label %11 11: ; preds = %8, %2 store i32 0, ptr %3, align 4 br label %41 12: ; preds = %8 %13 = load ptr, ptr %4, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %12 store i32 0, ptr %3, align 4 br label %41 18: ; preds = %12 br label %19 19: ; preds = %35, %18 %20 = load i64, ptr %5, align 8 %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %27 22: ; preds = %19 %23 = load ptr, ptr %4, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp ne i32 %25, 0 br label %27 27: ; preds = %22, %19 %28 = phi i1 [ false, %19 ], [ %26, %22 ] br i1 %28, label %29, label %40 29: ; preds = %27 %30 = load ptr, ptr %4, align 8 %31 = load i8, ptr %30, align 1 %32 = call i32 @isprint(i8 noundef signext %31) %33 = icmp ne i32 %32, 0 br i1 %33, label %35, label %34 34: ; preds = %29 store i32 0, ptr %3, align 4 br label %41 35: ; preds = %29 %36 = load ptr, ptr %4, align 8 %37 = getelementptr inbounds i8, ptr %36, i32 1 store ptr %37, ptr %4, align 8 %38 = load i64, ptr %5, align 8 %39 = add i64 %38, -1 store i64 %39, ptr %5, align 8 br label %19, !llvm.loop !6 40: ; preds = %27 store i32 1, ptr %3, align 4 br label %41 41: ; preds = %40, %34, %17, %11 %42 = load i32, ptr %3, align 4 ret i32 %42 } declare i32 @isprint(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/tmphyw9nvdz.c' source_filename = "/tmp/tmphyw9nvdz.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 [62 x i8] c"MMU stats: TLB hits: %d TLB misses: %d page faults: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_mmu_stats() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i32 @reconos_mmu_stats(ptr noundef %1, ptr noundef %2, ptr noundef %3) %5 = load i32, ptr %1, align 4 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %3, align 4 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6, i32 noundef %7) ret void } declare i32 @reconos_mmu_stats(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(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/tmphyw9nvdz.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 [62 x i8] c"MMU stats: TLB hits: %d TLB misses: %d page faults: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_mmu_stats() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i32 @reconos_mmu_stats(ptr noundef %1, ptr noundef %2, ptr noundef %3) %5 = load i32, ptr %1, align 4 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %3, align 4 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6, i32 noundef %7) ret void } declare i32 @reconos_mmu_stats(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(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/tmpnuh9l5tz.c' source_filename = "/tmp/tmpnuh9l5tz.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 @ENGINE_load_rsa() #0 { %1 = alloca ptr, align 8 %2 = call ptr (...) @ENGINE_rsa() store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %6, label %5 5: ; preds = %0 br label %12 6: ; preds = %0 %7 = load ptr, ptr %1, align 8 %8 = call i32 @ENGINE_add(ptr noundef %7) %9 = load ptr, ptr %1, align 8 %10 = call i32 @ENGINE_free(ptr noundef %9) %11 = call i32 (...) @ERR_clear_error() br label %12 12: ; preds = %6, %5 ret void } declare ptr @ENGINE_rsa(...) #1 declare i32 @ENGINE_add(ptr noundef) #1 declare i32 @ENGINE_free(ptr noundef) #1 declare i32 @ERR_clear_error(...) #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/tmpnuh9l5tz.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 @ENGINE_load_rsa() #0 { %1 = alloca ptr, align 8 %2 = call ptr (...) @ENGINE_rsa() store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %6, label %5 5: ; preds = %0 br label %12 6: ; preds = %0 %7 = load ptr, ptr %1, align 8 %8 = call i32 @ENGINE_add(ptr noundef %7) %9 = load ptr, ptr %1, align 8 %10 = call i32 @ENGINE_free(ptr noundef %9) %11 = call i32 (...) @ERR_clear_error() br label %12 12: ; preds = %6, %5 ret void } declare ptr @ENGINE_rsa(...) #1 declare i32 @ENGINE_add(ptr noundef) #1 declare i32 @ENGINE_free(ptr noundef) #1 declare i32 @ERR_clear_error(...) #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/tmpkmo4qaig.c' source_filename = "/tmp/tmpkmo4qaig.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"program\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%s %s\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call ptr @Reverse(ptr noundef @.str) store ptr %7, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 %9 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str, ptr noundef %8) %10 = load ptr, ptr %6, align 8 %11 = call i32 @free(ptr noundef %10) ret i32 0 } declare ptr @Reverse(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, 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/tmpkmo4qaig.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"program\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%s %s\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call ptr @Reverse(ptr noundef @.str) store ptr %7, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 %9 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str, ptr noundef %8) %10 = load ptr, ptr %6, align 8 %11 = call i32 @free(ptr noundef %10) ret i32 0 } declare ptr @Reverse(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, 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/tmpiy0ue4ph.c' source_filename = "/tmp/tmpiy0ue4ph.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 [169 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_isbdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isbdigit should be 0 for 0xd1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isbdigit_0xd1() #0 { %1 = call i64 @isbdigit(i32 noundef 209) %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 1050, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isbdigit(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/tmpiy0ue4ph.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 [169 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_isbdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isbdigit should be 0 for 0xd1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isbdigit_0xd1() #0 { %1 = call i64 @isbdigit(i32 noundef 209) %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 1050, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isbdigit(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/tmpi7qddcnz.c' source_filename = "/tmp/tmpi7qddcnz.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.TYPE_3__ = type { i64, i64 } @REG_EXTENDED = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @match_ext2(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i64 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca [100 x %struct.TYPE_3__], align 16 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store i64 %4, ptr %11, align 8 %15 = load ptr, ptr %10, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 0 store i8 0, ptr %16, align 1 %17 = load ptr, ptr %8, align 8 %18 = load i32, ptr @REG_EXTENDED, align 4 %19 = call i32 @regcomp(ptr noundef %13, ptr noundef %17, i32 noundef %18) store i32 %19, ptr %12, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %5 store i32 0, ptr %6, align 4 br label %79 22: ; preds = %5 %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds [100 x %struct.TYPE_3__], ptr %14, i64 0, i64 0 %25 = call i32 @regexec(ptr noundef %13, ptr noundef %23, i32 noundef 100, ptr noundef %24, i32 noundef 0) store i32 %25, ptr %12, align 4 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %22 %28 = call i32 @regfree(ptr noundef %13) store i32 0, ptr %6, align 4 br label %79 29: ; preds = %22 %30 = load i32, ptr %9, align 4 %31 = icmp slt i32 %30, 100 br i1 %31, label %32, label %77 32: ; preds = %29 %33 = load i32, ptr %9, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [100 x %struct.TYPE_3__], ptr %14, i64 0, i64 %34 %36 = getelementptr inbounds %struct.TYPE_3__, ptr %35, i32 0, i32 0 %37 = load i64, ptr %36, align 16 %38 = icmp uge i64 %37, 0 br i1 %38, label %39, label %77 39: ; preds = %32 %40 = load i32, ptr %9, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [100 x %struct.TYPE_3__], ptr %14, i64 0, i64 %41 %43 = getelementptr inbounds %struct.TYPE_3__, ptr %42, i32 0, i32 1 %44 = load i64, ptr %43, align 8 %45 = load i32, ptr %9, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [100 x %struct.TYPE_3__], ptr %14, i64 0, i64 %46 %48 = getelementptr inbounds %struct.TYPE_3__, ptr %47, i32 0, i32 0 %49 = load i64, ptr %48, align 16 %50 = sub i64 %44, %49 %51 = load i64, ptr %11, align 8 %52 = icmp ult i64 %50, %51 br i1 %52, label %53, label %77 53: ; preds = %39 %54 = load ptr, ptr %10, align 8 %55 = load ptr, ptr %7, align 8 %56 = load i32, ptr %9, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [100 x %struct.TYPE_3__], ptr %14, i64 0, i64 %57 %59 = getelementptr inbounds %struct.TYPE_3__, ptr %58, i32 0, i32 0 %60 = load i64, ptr %59, align 16 %61 = getelementptr inbounds i8, ptr %55, i64 %60 %62 = load i64, ptr %11, align 8 %63 = call i32 @strncpy(ptr noundef %54, ptr noundef %61, i64 noundef %62) %64 = load ptr, ptr %10, align 8 %65 = load i32, ptr %9, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [100 x %struct.TYPE_3__], ptr %14, i64 0, i64 %66 %68 = getelementptr inbounds %struct.TYPE_3__, ptr %67, i32 0, i32 1 %69 = load i64, ptr %68, align 8 %70 = load i32, ptr %9, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [100 x %struct.TYPE_3__], ptr %14, i64 0, i64 %71 %73 = getelementptr inbounds %struct.TYPE_3__, ptr %72, i32 0, i32 0 %74 = load i64, ptr %73, align 16 %75 = sub i64 %69, %74 %76 = getelementptr inbounds i8, ptr %64, i64 %75 store i8 0, ptr %76, align 1 br label %77 77: ; preds = %53, %39, %32, %29 %78 = call i32 @regfree(ptr noundef %13) store i32 1, ptr %6, align 4 br label %79 79: ; preds = %77, %27, %21 %80 = load i32, ptr %6, align 4 ret i32 %80 } declare i32 @regcomp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @regexec(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @regfree(ptr noundef) #1 declare i32 @strncpy(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/tmpi7qddcnz.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.TYPE_3__ = type { i64, i64 } @REG_EXTENDED = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @match_ext2(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i64 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca [100 x %struct.TYPE_3__], align 16 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store i64 %4, ptr %11, align 8 %15 = load ptr, ptr %10, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 0 store i8 0, ptr %16, align 1 %17 = load ptr, ptr %8, align 8 %18 = load i32, ptr @REG_EXTENDED, align 4 %19 = call i32 @regcomp(ptr noundef %13, ptr noundef %17, i32 noundef %18) store i32 %19, ptr %12, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %5 store i32 0, ptr %6, align 4 br label %79 22: ; preds = %5 %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds [100 x %struct.TYPE_3__], ptr %14, i64 0, i64 0 %25 = call i32 @regexec(ptr noundef %13, ptr noundef %23, i32 noundef 100, ptr noundef %24, i32 noundef 0) store i32 %25, ptr %12, align 4 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %22 %28 = call i32 @regfree(ptr noundef %13) store i32 0, ptr %6, align 4 br label %79 29: ; preds = %22 %30 = load i32, ptr %9, align 4 %31 = icmp slt i32 %30, 100 br i1 %31, label %32, label %77 32: ; preds = %29 %33 = load i32, ptr %9, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [100 x %struct.TYPE_3__], ptr %14, i64 0, i64 %34 %36 = getelementptr inbounds %struct.TYPE_3__, ptr %35, i32 0, i32 0 %37 = load i64, ptr %36, align 16 %38 = icmp uge i64 %37, 0 br i1 %38, label %39, label %77 39: ; preds = %32 %40 = load i32, ptr %9, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [100 x %struct.TYPE_3__], ptr %14, i64 0, i64 %41 %43 = getelementptr inbounds %struct.TYPE_3__, ptr %42, i32 0, i32 1 %44 = load i64, ptr %43, align 8 %45 = load i32, ptr %9, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [100 x %struct.TYPE_3__], ptr %14, i64 0, i64 %46 %48 = getelementptr inbounds %struct.TYPE_3__, ptr %47, i32 0, i32 0 %49 = load i64, ptr %48, align 16 %50 = sub i64 %44, %49 %51 = load i64, ptr %11, align 8 %52 = icmp ult i64 %50, %51 br i1 %52, label %53, label %77 53: ; preds = %39 %54 = load ptr, ptr %10, align 8 %55 = load ptr, ptr %7, align 8 %56 = load i32, ptr %9, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [100 x %struct.TYPE_3__], ptr %14, i64 0, i64 %57 %59 = getelementptr inbounds %struct.TYPE_3__, ptr %58, i32 0, i32 0 %60 = load i64, ptr %59, align 16 %61 = getelementptr inbounds i8, ptr %55, i64 %60 %62 = load i64, ptr %11, align 8 %63 = call i32 @strncpy(ptr noundef %54, ptr noundef %61, i64 noundef %62) %64 = load ptr, ptr %10, align 8 %65 = load i32, ptr %9, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [100 x %struct.TYPE_3__], ptr %14, i64 0, i64 %66 %68 = getelementptr inbounds %struct.TYPE_3__, ptr %67, i32 0, i32 1 %69 = load i64, ptr %68, align 8 %70 = load i32, ptr %9, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [100 x %struct.TYPE_3__], ptr %14, i64 0, i64 %71 %73 = getelementptr inbounds %struct.TYPE_3__, ptr %72, i32 0, i32 0 %74 = load i64, ptr %73, align 16 %75 = sub i64 %69, %74 %76 = getelementptr inbounds i8, ptr %64, i64 %75 store i8 0, ptr %76, align 1 br label %77 77: ; preds = %53, %39, %32, %29 %78 = call i32 @regfree(ptr noundef %13) store i32 1, ptr %6, align 4 br label %79 79: ; preds = %77, %27, %21 %80 = load i32, ptr %6, align 4 ret i32 %80 } declare i32 @regcomp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @regexec(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @regfree(ptr noundef) #1 declare i32 @strncpy(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/tmpyxp_ewjz.c' source_filename = "/tmp/tmpyxp_ewjz.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"fncval.dat\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Data file fncval.dat not found\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"Bessel Function Y1\00", align 1 @.str.4 = private unnamed_addr constant [30 x i8] c"Data not found in fncval.dat\0A\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"%d %*s\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"\0A%s\0A\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"%5s %12s %13s \0A\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"x\00", align 1 @.str.9 = private unnamed_addr constant [7 x i8] c"actual\00", align 1 @.str.10 = private unnamed_addr constant [10 x i8] c"bessy1(x)\00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"%f %f\00", align 1 @.str.12 = private unnamed_addr constant [21 x i8] c"%6.2f %12.7f %12.7f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [80 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %8 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %8, ptr %7, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %12 10: ; preds = %0 %11 = call i32 @nrerror(ptr noundef @.str.2) br label %12 12: ; preds = %10, %0 %13 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %14 = load ptr, ptr %7, align 8 %15 = call i32 @fgets(ptr noundef %13, i32 noundef 80, ptr noundef %14) br label %16 16: ; preds = %29, %12 %17 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %18 = call i64 @strncmp(ptr noundef %17, ptr noundef @.str.3, i32 noundef 18) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %30 20: ; preds = %16 %21 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %22 = load ptr, ptr %7, align 8 %23 = call i32 @fgets(ptr noundef %21, i32 noundef 80, ptr noundef %22) %24 = load ptr, ptr %7, align 8 %25 = call i64 @feof(ptr noundef %24) %26 = icmp ne i64 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %20 %28 = call i32 @nrerror(ptr noundef @.str.4) br label %29 29: ; preds = %27, %20 br label %16, !llvm.loop !6 30: ; preds = %16 %31 = load ptr, ptr %7, align 8 %32 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %31, ptr noundef @.str.5, ptr noundef %4) %33 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %33) %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef @.str.10) store i32 1, ptr %3, align 4 br label %36 36: ; preds = %50, %30 %37 = load i32, ptr %3, align 4 %38 = load i32, ptr %4, align 4 %39 = icmp sle i32 %37, %38 br i1 %39, label %40, label %53 40: ; preds = %36 %41 = load ptr, ptr %7, align 8 %42 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %41, ptr noundef @.str.11, ptr noundef %6, ptr noundef %5) %43 = load float, ptr %6, align 4 %44 = fpext float %43 to double %45 = load float, ptr %5, align 4 %46 = fpext float %45 to double %47 = load float, ptr %6, align 4 %48 = call double @bessy1(float noundef %47) %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, double noundef %44, double noundef %46, double noundef %48) br label %50 50: ; preds = %40 %51 = load i32, ptr %3, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %3, align 4 br label %36, !llvm.loop !8 53: ; preds = %36 %54 = load ptr, ptr %7, align 8 %55 = call i32 @fclose(ptr noundef %54) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @nrerror(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @feof(ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @bessy1(float 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/tmpyxp_ewjz.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"fncval.dat\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Data file fncval.dat not found\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"Bessel Function Y1\00", align 1 @.str.4 = private unnamed_addr constant [30 x i8] c"Data not found in fncval.dat\0A\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"%d %*s\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"\0A%s\0A\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"%5s %12s %13s \0A\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"x\00", align 1 @.str.9 = private unnamed_addr constant [7 x i8] c"actual\00", align 1 @.str.10 = private unnamed_addr constant [10 x i8] c"bessy1(x)\00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"%f %f\00", align 1 @.str.12 = private unnamed_addr constant [21 x i8] c"%6.2f %12.7f %12.7f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [80 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %8 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %8, ptr %7, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %12 10: ; preds = %0 %11 = call i32 @nrerror(ptr noundef @.str.2) br label %12 12: ; preds = %10, %0 %13 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %14 = load ptr, ptr %7, align 8 %15 = call i32 @fgets(ptr noundef %13, i32 noundef 80, ptr noundef %14) %16 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %17 = call i64 @strncmp(ptr noundef %16, ptr noundef @.str.3, i32 noundef 18) %18 = icmp ne i64 %17, 0 br i1 %18, label %.lr.ph, label %31 .lr.ph: ; preds = %12 br label %19 19: ; preds = %.lr.ph, %28 %20 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %21 = load ptr, ptr %7, align 8 %22 = call i32 @fgets(ptr noundef %20, i32 noundef 80, ptr noundef %21) %23 = load ptr, ptr %7, align 8 %24 = call i64 @feof(ptr noundef %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %19 %27 = call i32 @nrerror(ptr noundef @.str.4) br label %28 28: ; preds = %26, %19 %29 = call i64 @strncmp(ptr noundef %16, ptr noundef @.str.3, i32 noundef 18) %30 = icmp ne i64 %29, 0 br i1 %30, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %31 31: ; preds = %._crit_edge, %12 %32 = load ptr, ptr %7, align 8 %33 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %32, ptr noundef @.str.5, ptr noundef %4) %34 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %34) %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef @.str.10) store i32 1, ptr %3, align 4 %37 = load i32, ptr %3, align 4 %38 = load i32, ptr %4, align 4 %39 = icmp sle i32 %37, %38 br i1 %39, label %.lr.ph2, label %56 .lr.ph2: ; preds = %31 br label %40 40: ; preds = %.lr.ph2, %50 %41 = load ptr, ptr %7, align 8 %42 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %41, ptr noundef @.str.11, ptr noundef %6, ptr noundef %5) %43 = load float, ptr %6, align 4 %44 = fpext float %43 to double %45 = load float, ptr %5, align 4 %46 = fpext float %45 to double %47 = load float, ptr %6, align 4 %48 = call double @bessy1(float noundef %47) %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, double noundef %44, double noundef %46, double noundef %48) br label %50 50: ; preds = %40 %51 = load i32, ptr %3, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %3, align 4 %53 = load i32, ptr %3, align 4 %54 = load i32, ptr %4, align 4 %55 = icmp sle i32 %53, %54 br i1 %55, label %40, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %50 br label %56 56: ; preds = %._crit_edge3, %31 %57 = load ptr, ptr %7, align 8 %58 = call i32 @fclose(ptr noundef %57) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @nrerror(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @feof(ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @bessy1(float 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/tmph0gxoud2.c' source_filename = "/tmp/tmph0gxoud2.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 [10 x i8] c"array.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"array before sort:\0A\00", align 1 @.str.5 = private unnamed_addr constant [20 x i8] c"\0Aarray after sort:\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 i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %6, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %68 9: ; preds = %0 %10 = load ptr, ptr %2, align 8 %11 = call i32 @fscanf(ptr noundef %10, ptr noundef @.str.2, ptr noundef %3) %12 = load i32, ptr %3, align 4 %13 = sext i32 %12 to i64 %14 = mul i64 4, %13 %15 = trunc i64 %14 to i32 %16 = call i64 @malloc(i32 noundef %15) %17 = inttoptr i64 %16 to ptr store ptr %17, ptr %5, align 8 store i32 0, ptr %4, align 4 br label %18 18: ; preds = %29, %9 %19 = load i32, ptr %4, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %32 22: ; preds = %18 %23 = load ptr, ptr %2, align 8 %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr %4, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = call i32 @fscanf(ptr noundef %23, ptr noundef @.str.3, ptr noundef %27) br label %29 29: ; preds = %22 %30 = load i32, ptr %4, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %4, align 4 br label %18, !llvm.loop !6 32: ; preds = %18 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %4, align 4 br label %34 34: ; preds = %45, %32 %35 = load i32, ptr %4, align 4 %36 = load i32, ptr %3, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %38, label %48 38: ; preds = %34 %39 = load ptr, ptr %5, align 8 %40 = load i32, ptr %4, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 %43 = load i32, ptr %42, align 4 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %43) br label %45 45: ; preds = %38 %46 = load i32, ptr %4, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %4, align 4 br label %34, !llvm.loop !8 48: ; preds = %34 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %50 = load ptr, ptr %5, align 8 %51 = load i32, ptr %3, align 4 %52 = call i32 @radixsort(ptr noundef %50, i32 noundef %51) store i32 0, ptr %4, align 4 br label %53 53: ; preds = %64, %48 %54 = load i32, ptr %4, align 4 %55 = load i32, ptr %3, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %57, label %67 57: ; preds = %53 %58 = load ptr, ptr %5, align 8 %59 = load i32, ptr %4, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %58, i64 %60 %62 = load i32, ptr %61, align 4 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %62) br label %64 64: ; preds = %57 %65 = load i32, ptr %4, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %4, align 4 br label %53, !llvm.loop !9 67: ; preds = %53 br label %68 68: ; preds = %67, %0 ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @radixsort(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/tmph0gxoud2.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 [10 x i8] c"array.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"array before sort:\0A\00", align 1 @.str.5 = private unnamed_addr constant [20 x i8] c"\0Aarray after sort:\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 i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %6, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %74 9: ; preds = %0 %10 = load ptr, ptr %2, align 8 %11 = call i32 @fscanf(ptr noundef %10, ptr noundef @.str.2, ptr noundef %3) %12 = load i32, ptr %3, align 4 %13 = sext i32 %12 to i64 %14 = mul i64 4, %13 %15 = trunc i64 %14 to i32 %16 = call i64 @malloc(i32 noundef %15) %17 = inttoptr i64 %16 to ptr store ptr %17, ptr %5, align 8 store i32 0, ptr %4, align 4 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %3, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph, label %34 .lr.ph: ; preds = %9 br label %21 21: ; preds = %.lr.ph, %28 %22 = load ptr, ptr %2, align 8 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %4, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 %27 = call i32 @fscanf(ptr noundef %22, ptr noundef @.str.3, ptr noundef %26) br label %28 28: ; preds = %21 %29 = load i32, ptr %4, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %4, align 4 %31 = load i32, ptr %4, align 4 %32 = load i32, ptr %3, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %34 34: ; preds = %._crit_edge, %9 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %4, align 4 %36 = load i32, ptr %4, align 4 %37 = load i32, ptr %3, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %.lr.ph2, label %52 .lr.ph2: ; preds = %34 br label %39 39: ; preds = %.lr.ph2, %46 %40 = load ptr, ptr %5, align 8 %41 = load i32, ptr %4, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %40, i64 %42 %44 = load i32, ptr %43, align 4 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %44) br label %46 46: ; preds = %39 %47 = load i32, ptr %4, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %4, align 4 %49 = load i32, ptr %4, align 4 %50 = load i32, ptr %3, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %39, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %46 br label %52 52: ; preds = %._crit_edge3, %34 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %54 = load ptr, ptr %5, align 8 %55 = load i32, ptr %3, align 4 %56 = call i32 @radixsort(ptr noundef %54, i32 noundef %55) store i32 0, ptr %4, align 4 %57 = load i32, ptr %4, align 4 %58 = load i32, ptr %3, align 4 %59 = icmp slt i32 %57, %58 br i1 %59, label %.lr.ph5, label %73 .lr.ph5: ; preds = %52 br label %60 60: ; preds = %.lr.ph5, %67 %61 = load ptr, ptr %5, align 8 %62 = load i32, ptr %4, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i32, ptr %61, i64 %63 %65 = load i32, ptr %64, align 4 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %65) br label %67 67: ; preds = %60 %68 = load i32, ptr %4, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %4, align 4 %70 = load i32, ptr %4, align 4 %71 = load i32, ptr %3, align 4 %72 = icmp slt i32 %70, %71 br i1 %72, label %60, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %67 br label %73 73: ; preds = %._crit_edge6, %52 br label %74 74: ; preds = %73, %0 ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @radixsort(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/tmpasxm2kh5.c' source_filename = "/tmp/tmpasxm2kh5.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 @is_sequence(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds i8, ptr %3, i64 0 %5 = load i8, ptr %4, align 1 %6 = call i64 @isdigit(i8 noundef signext %5) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %54 8: ; preds = %1 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 0 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = load ptr, ptr %2, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 1 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %12, %16 br i1 %17, label %18, label %54 18: ; preds = %8 %19 = load ptr, ptr %2, align 8 %20 = getelementptr inbounds i8, ptr %19, i64 2 %21 = load i8, ptr %20, align 1 %22 = call i64 @isalpha(i8 noundef signext %21) %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %54 24: ; preds = %18 %25 = load ptr, ptr %2, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 2 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = load ptr, ptr %2, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 3 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %28, %32 br i1 %33, label %34, label %54 34: ; preds = %24 %35 = load ptr, ptr %2, align 8 %36 = getelementptr inbounds i8, ptr %35, i64 3 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = load ptr, ptr %2, align 8 %40 = getelementptr inbounds i8, ptr %39, i64 4 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = icmp eq i32 %38, %42 br i1 %43, label %44, label %54 44: ; preds = %34 %45 = load ptr, ptr %2, align 8 %46 = getelementptr inbounds i8, ptr %45, i64 4 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = load ptr, ptr %2, align 8 %50 = getelementptr inbounds i8, ptr %49, i64 5 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = icmp eq i32 %48, %52 br label %54 54: ; preds = %44, %34, %24, %18, %8, %1 %55 = phi i1 [ false, %34 ], [ false, %24 ], [ false, %18 ], [ false, %8 ], [ false, %1 ], [ %53, %44 ] %56 = zext i1 %55 to i32 ret i32 %56 } declare i64 @isdigit(i8 noundef signext) #1 declare i64 @isalpha(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpasxm2kh5.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 @is_sequence(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds i8, ptr %3, i64 0 %5 = load i8, ptr %4, align 1 %6 = call i64 @isdigit(i8 noundef signext %5) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %54 8: ; preds = %1 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 0 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = load ptr, ptr %2, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 1 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %12, %16 br i1 %17, label %18, label %54 18: ; preds = %8 %19 = load ptr, ptr %2, align 8 %20 = getelementptr inbounds i8, ptr %19, i64 2 %21 = load i8, ptr %20, align 1 %22 = call i64 @isalpha(i8 noundef signext %21) %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %54 24: ; preds = %18 %25 = load ptr, ptr %2, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 2 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = load ptr, ptr %2, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 3 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %28, %32 br i1 %33, label %34, label %54 34: ; preds = %24 %35 = load ptr, ptr %2, align 8 %36 = getelementptr inbounds i8, ptr %35, i64 3 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = load ptr, ptr %2, align 8 %40 = getelementptr inbounds i8, ptr %39, i64 4 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = icmp eq i32 %38, %42 br i1 %43, label %44, label %54 44: ; preds = %34 %45 = load ptr, ptr %2, align 8 %46 = getelementptr inbounds i8, ptr %45, i64 4 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = load ptr, ptr %2, align 8 %50 = getelementptr inbounds i8, ptr %49, i64 5 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = icmp eq i32 %48, %52 br label %54 54: ; preds = %44, %34, %24, %18, %8, %1 %55 = phi i1 [ false, %34 ], [ false, %24 ], [ false, %18 ], [ false, %8 ], [ false, %1 ], [ %53, %44 ] %56 = zext i1 %55 to i32 ret i32 %56 } declare i64 @isdigit(i8 noundef signext) #1 declare i64 @isalpha(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"}
; ModuleID = '/tmp/tmplt6ueza7.c' source_filename = "/tmp/tmplt6ueza7.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" @ERANGE = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @logb(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 store double %0, ptr %3, align 8 %4 = load double, ptr %3, align 8 %5 = call i64 @isnan(double noundef %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = load double, ptr %3, align 8 store double %8, ptr %2, align 8 br label %23 9: ; preds = %1 %10 = load double, ptr %3, align 8 %11 = call i64 @isinf(double noundef %10) %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %9 %14 = load double, ptr %3, align 8 store double %14, ptr %2, align 8 br label %23 15: ; preds = %9 %16 = load double, ptr %3, align 8 %17 = fcmp une double %16, 0.000000e+00 br i1 %17, label %20, label %18 18: ; preds = %15 %19 = load i32, ptr @ERANGE, align 4 store i32 %19, ptr @errno, align 4 store double 0.000000e+00, ptr %2, align 8 br label %23 20: ; preds = %15 %21 = load double, ptr %3, align 8 %22 = call double @__approx_log2(double noundef %21) store double %22, ptr %2, align 8 br label %23 23: ; preds = %20, %18, %13, %7 %24 = load double, ptr %2, align 8 ret double %24 } declare i64 @isnan(double noundef) #1 declare i64 @isinf(double noundef) #1 declare double @__approx_log2(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" } !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/tmplt6ueza7.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" @ERANGE = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @logb(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 store double %0, ptr %3, align 8 %4 = load double, ptr %3, align 8 %5 = call i64 @isnan(double noundef %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = load double, ptr %3, align 8 store double %8, ptr %2, align 8 br label %23 9: ; preds = %1 %10 = load double, ptr %3, align 8 %11 = call i64 @isinf(double noundef %10) %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %9 %14 = load double, ptr %3, align 8 store double %14, ptr %2, align 8 br label %23 15: ; preds = %9 %16 = load double, ptr %3, align 8 %17 = fcmp une double %16, 0.000000e+00 br i1 %17, label %20, label %18 18: ; preds = %15 %19 = load i32, ptr @ERANGE, align 4 store i32 %19, ptr @errno, align 4 store double 0.000000e+00, ptr %2, align 8 br label %23 20: ; preds = %15 %21 = load double, ptr %3, align 8 %22 = call double @__approx_log2(double noundef %21) store double %22, ptr %2, align 8 br label %23 23: ; preds = %20, %18, %13, %7 %24 = load double, ptr %2, align 8 ret double %24 } declare i64 @isnan(double noundef) #1 declare i64 @isinf(double noundef) #1 declare double @__approx_log2(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" } !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/tmpvzie0htr.c' source_filename = "/tmp/tmpvzie0htr.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"user is %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"USER\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 = call ptr @getenv(ptr noundef @.str.1) %7 = call i32 @printf(ptr noundef @.str, ptr noundef %6) ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @getenv(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/tmpvzie0htr.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"user is %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"USER\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 = call ptr @getenv(ptr noundef @.str.1) %7 = call i32 @printf(ptr noundef @.str, ptr noundef %6) ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @getenv(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/tmp620gqrge.c' source_filename = "/tmp/tmp620gqrge.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 @InitScanner(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 @NewInputFile(ptr noundef %3) ret void } declare i32 @NewInputFile(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/tmp620gqrge.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 @InitScanner(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 @NewInputFile(ptr noundef %3) ret void } declare i32 @NewInputFile(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/tmpage8_3lp.c' source_filename = "/tmp/tmpage8_3lp.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/tmpage8_3lp.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/tmptvaj00mm.c' source_filename = "/tmp/tmptvaj00mm.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 [2 x i8] c"-\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"SELECT\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"FROM\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"TestCase\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"WHERE\00", align 1 @.str.6 = private unnamed_addr constant [17 x i8] c"TestCase.passing\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"is\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"TRUE;\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @run_shout_lace_tool_pipem_callback(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 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %8 = load i32, ptr %4, align 4 %9 = load i32, ptr %5, align 4 %10 = load ptr, ptr %6, align 8 %11 = call i32 @lace_compat_fd_spawnlp_wait(i32 noundef %8, i32 noundef %9, i32 noundef 2, ptr noundef null, ptr noundef %10, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.5, ptr noundef @.str.6, ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef null) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp eq i32 %12, 0 %14 = zext i1 %13 to i32 %15 = call i32 @assert(i32 noundef %14) ret void } declare i32 @lace_compat_fd_spawnlp_wait(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @assert(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/tmptvaj00mm.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 [2 x i8] c"-\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"SELECT\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"FROM\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"TestCase\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"WHERE\00", align 1 @.str.6 = private unnamed_addr constant [17 x i8] c"TestCase.passing\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"is\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"TRUE;\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @run_shout_lace_tool_pipem_callback(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 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %8 = load i32, ptr %4, align 4 %9 = load i32, ptr %5, align 4 %10 = load ptr, ptr %6, align 8 %11 = call i32 @lace_compat_fd_spawnlp_wait(i32 noundef %8, i32 noundef %9, i32 noundef 2, ptr noundef null, ptr noundef %10, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.5, ptr noundef @.str.6, ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef null) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp eq i32 %12, 0 %14 = zext i1 %13 to i32 %15 = call i32 @assert(i32 noundef %14) ret void } declare i32 @lace_compat_fd_spawnlp_wait(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @assert(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/tmp5ux8bra5.c' source_filename = "/tmp/tmp5ux8bra5.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"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%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 store i32 0, ptr %4, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %2) br label %6 6: ; preds = %10, %0 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %17 10: ; preds = %6 %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %11, 3 store i32 %12, ptr %2, align 4 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %13, 2 store i32 %14, ptr %3, align 4 %15 = load i32, ptr %4, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %4, align 4 br label %6, !llvm.loop !6 17: ; preds = %6 %18 = load i32, ptr %4, align 4 %19 = call i32 @printf(ptr noundef @.str.1, i32 noundef %18) ret i32 0 } declare i32 @scanf(ptr noundef, 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/tmp5ux8bra5.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"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%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 store i32 0, ptr %4, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %9 %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, 3 store i32 %11, ptr %2, align 4 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %12, 2 store i32 %13, ptr %3, align 4 %14 = load i32, ptr %4, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %4, align 4 %16 = load i32, ptr %2, align 4 %17 = load i32, ptr %3, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %19 19: ; preds = %._crit_edge, %0 %20 = load i32, ptr %4, align 4 %21 = call i32 @printf(ptr noundef @.str.1, i32 noundef %20) ret i32 0 } declare i32 @scanf(ptr noundef, 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/tmpqmh1udoe.c' source_filename = "/tmp/tmpqmh1udoe.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"Supply successfull\0A\00", align 1 @.str.1 = private unnamed_addr constant [51 x i8] c"Amount given is less than value of stock supplied.\00", align 1 @.str.2 = private unnamed_addr constant [78 x i8] c"Whatever in stock is given. Remaining balance would be returned in two days.\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 i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = 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 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %9, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %19 13: ; preds = %2 %14 = load i32, ptr %8, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp sge i32 %14, %15 br i1 %16, label %17, label %19 17: ; preds = %13 %18 = call i32 @printf(ptr noundef @.str) br label %41 19: ; preds = %13, %2 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %9, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %29 23: ; preds = %19 %24 = load i32, ptr %8, align 4 %25 = load i32, ptr %7, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %29 27: ; preds = %23 %28 = call i32 @printf(ptr noundef @.str.1) br label %40 29: ; preds = %23, %19 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr %9, align 4 %32 = icmp sgt i32 %30, %31 br i1 %32, label %33, label %39 33: ; preds = %29 %34 = load i32, ptr %8, align 4 %35 = load i32, ptr %7, align 4 %36 = icmp sge i32 %34, %35 br i1 %36, label %37, label %39 37: ; preds = %33 %38 = call i32 @printf(ptr noundef @.str.2) br label %39 39: ; preds = %37, %33, %29 br label %40 40: ; preds = %39, %27 br label %41 41: ; preds = %40, %17 %42 = load i32, ptr %3, align 4 ret i32 %42 } 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/tmpqmh1udoe.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"Supply successfull\0A\00", align 1 @.str.1 = private unnamed_addr constant [51 x i8] c"Amount given is less than value of stock supplied.\00", align 1 @.str.2 = private unnamed_addr constant [78 x i8] c"Whatever in stock is given. Remaining balance would be returned in two days.\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 i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = 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 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %9, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %19 13: ; preds = %2 %14 = load i32, ptr %8, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp sge i32 %14, %15 br i1 %16, label %17, label %19 17: ; preds = %13 %18 = call i32 @printf(ptr noundef @.str) br label %41 19: ; preds = %13, %2 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %9, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %29 23: ; preds = %19 %24 = load i32, ptr %8, align 4 %25 = load i32, ptr %7, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %29 27: ; preds = %23 %28 = call i32 @printf(ptr noundef @.str.1) br label %40 29: ; preds = %23, %19 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr %9, align 4 %32 = icmp sgt i32 %30, %31 br i1 %32, label %33, label %39 33: ; preds = %29 %34 = load i32, ptr %8, align 4 %35 = load i32, ptr %7, align 4 %36 = icmp sge i32 %34, %35 br i1 %36, label %37, label %39 37: ; preds = %33 %38 = call i32 @printf(ptr noundef @.str.2) br label %39 39: ; preds = %37, %33, %29 br label %40 40: ; preds = %39, %27 br label %41 41: ; preds = %40, %17 %42 = load i32, ptr %3, align 4 ret i32 %42 } 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/tmpxiq6o0j1.c' source_filename = "/tmp/tmpxiq6o0j1.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"cs2qocb\00", align 1 @.str.1 = private unnamed_addr constant [45 x i8] c"function not available / useful from FORTRAN\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @cs2qocb_() #0 { %1 = call i32 @_s2warn(ptr noundef @.str, ptr noundef @.str.1) ret ptr null } declare i32 @_s2warn(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/tmpxiq6o0j1.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"cs2qocb\00", align 1 @.str.1 = private unnamed_addr constant [45 x i8] c"function not available / useful from FORTRAN\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @cs2qocb_() #0 { %1 = call i32 @_s2warn(ptr noundef @.str, ptr noundef @.str.1) ret ptr null } declare i32 @_s2warn(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/tmp6h7lk9cx.c' source_filename = "/tmp/tmp6h7lk9cx.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" @CLOCKS_PER_SEC = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mydelay(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i64, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr @CLOCKS_PER_SEC, align 4 %6 = mul i32 %4, %5 %7 = udiv i32 %6, 1000 %8 = zext i32 %7 to i64 %9 = call i64 (...) @clock() %10 = add nsw i64 %8, %9 store i64 %10, ptr %3, align 8 br label %11 11: ; preds = %15, %1 %12 = load i64, ptr %3, align 8 %13 = call i64 (...) @clock() %14 = icmp sgt i64 %12, %13 br i1 %14, label %15, label %16 15: ; preds = %11 br label %11, !llvm.loop !6 16: ; preds = %11 ret void } declare i64 @clock(...) #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/tmp6h7lk9cx.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" @CLOCKS_PER_SEC = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mydelay(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i64, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr @CLOCKS_PER_SEC, align 4 %6 = mul i32 %4, %5 %7 = udiv i32 %6, 1000 %8 = zext i32 %7 to i64 %9 = call i64 (...) @clock() %10 = add nsw i64 %8, %9 store i64 %10, ptr %3, align 8 br label %11 11: ; preds = %11, %1 %12 = load i64, ptr %3, align 8 %13 = call i64 (...) @clock() %14 = icmp sgt i64 %12, %13 br i1 %14, label %11, label %15, !llvm.loop !6 15: ; preds = %11 ret void } declare i64 @clock(...) #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/tmp1aj7jrcl.c' source_filename = "/tmp/tmp1aj7jrcl.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 [80 x i8] c"Controls:\0A\0AW to move forward.\0AA to turn left.\0AS to backstep.\0AD to turn right.\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"You move forward.\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"You turn left.\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"You turn right.\0A\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"Your location is: %d,%d\0A\0A\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 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i8 110, ptr %3, align 1 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %8 8: ; preds = %59, %0 %9 = call signext i8 (...) @mygetch() store i8 %9, ptr %2, align 1 %10 = load i8, ptr %2, align 1 %11 = sext i8 %10 to i32 switch i32 %11, label %55 [ i32 119, label %12 i32 97, label %29 i32 100, label %42 ] 12: ; preds = %8 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %14 = load i32, ptr %4, align 4 switch i32 %14, label %27 [ i32 0, label %15 i32 1, label %18 i32 2, label %21 i32 3, label %24 ] 15: ; preds = %12 %16 = load i32, ptr %6, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %6, align 4 br label %28 18: ; preds = %12 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 br label %28 21: ; preds = %12 %22 = load i32, ptr %6, align 4 %23 = sub nsw i32 %22, 1 store i32 %23, ptr %6, align 4 br label %28 24: ; preds = %12 %25 = load i32, ptr %5, align 4 %26 = sub nsw i32 %25, 1 store i32 %26, ptr %5, align 4 br label %28 27: ; preds = %12 br label %28 28: ; preds = %27, %24, %21, %18, %15 br label %55 29: ; preds = %8 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %31 = load i32, ptr %4, align 4 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %34 33: ; preds = %29 store i32 3, ptr %4, align 4 br label %41 34: ; preds = %29 %35 = load i32, ptr %4, align 4 %36 = icmp sgt i32 %35, 0 br i1 %36, label %37, label %40 37: ; preds = %34 %38 = load i32, ptr %4, align 4 %39 = sub nsw i32 %38, 1 store i32 %39, ptr %4, align 4 br label %40 40: ; preds = %37, %34 br label %41 41: ; preds = %40, %33 br label %55 42: ; preds = %8 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %44 = load i32, ptr %4, align 4 %45 = icmp eq i32 %44, 3 br i1 %45, label %46, label %47 46: ; preds = %42 store i32 0, ptr %4, align 4 br label %54 47: ; preds = %42 %48 = load i32, ptr %4, align 4 %49 = icmp slt i32 %48, 3 br i1 %49, label %50, label %53 50: ; preds = %47 %51 = load i32, ptr %4, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %4, align 4 br label %53 53: ; preds = %50, %47 br label %54 54: ; preds = %53, %46 br label %55 55: ; preds = %54, %8, %41, %28 %56 = load i32, ptr %5, align 4 %57 = load i32, ptr %6, align 4 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %56, i32 noundef %57) br label %59 59: ; preds = %55 %60 = load i8, ptr %3, align 1 %61 = sext i8 %60 to i32 %62 = load i32, ptr %6, align 4 %63 = icmp ne i32 %61, %62 br i1 %63, label %8, label %64, !llvm.loop !6 64: ; preds = %59 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare signext i8 @mygetch(...) #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/tmp1aj7jrcl.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 [80 x i8] c"Controls:\0A\0AW to move forward.\0AA to turn left.\0AS to backstep.\0AD to turn right.\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"You move forward.\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"You turn left.\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"You turn right.\0A\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"Your location is: %d,%d\0A\0A\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 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i8 110, ptr %3, align 1 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %8 8: ; preds = %59, %0 %9 = call signext i8 (...) @mygetch() store i8 %9, ptr %2, align 1 %10 = load i8, ptr %2, align 1 %11 = sext i8 %10 to i32 switch i32 %11, label %55 [ i32 119, label %12 i32 97, label %29 i32 100, label %42 ] 12: ; preds = %8 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %14 = load i32, ptr %4, align 4 switch i32 %14, label %27 [ i32 0, label %15 i32 1, label %18 i32 2, label %21 i32 3, label %24 ] 15: ; preds = %12 %16 = load i32, ptr %6, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %6, align 4 br label %28 18: ; preds = %12 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 br label %28 21: ; preds = %12 %22 = load i32, ptr %6, align 4 %23 = sub nsw i32 %22, 1 store i32 %23, ptr %6, align 4 br label %28 24: ; preds = %12 %25 = load i32, ptr %5, align 4 %26 = sub nsw i32 %25, 1 store i32 %26, ptr %5, align 4 br label %28 27: ; preds = %12 br label %28 28: ; preds = %27, %24, %21, %18, %15 br label %55 29: ; preds = %8 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %31 = load i32, ptr %4, align 4 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %34 33: ; preds = %29 store i32 3, ptr %4, align 4 br label %41 34: ; preds = %29 %35 = load i32, ptr %4, align 4 %36 = icmp sgt i32 %35, 0 br i1 %36, label %37, label %40 37: ; preds = %34 %38 = load i32, ptr %4, align 4 %39 = sub nsw i32 %38, 1 store i32 %39, ptr %4, align 4 br label %40 40: ; preds = %37, %34 br label %41 41: ; preds = %40, %33 br label %55 42: ; preds = %8 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %44 = load i32, ptr %4, align 4 %45 = icmp eq i32 %44, 3 br i1 %45, label %46, label %47 46: ; preds = %42 store i32 0, ptr %4, align 4 br label %54 47: ; preds = %42 %48 = load i32, ptr %4, align 4 %49 = icmp slt i32 %48, 3 br i1 %49, label %50, label %53 50: ; preds = %47 %51 = load i32, ptr %4, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %4, align 4 br label %53 53: ; preds = %50, %47 br label %54 54: ; preds = %53, %46 br label %55 55: ; preds = %54, %41, %28, %8 %56 = load i32, ptr %5, align 4 %57 = load i32, ptr %6, align 4 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %56, i32 noundef %57) br label %59 59: ; preds = %55 %60 = load i8, ptr %3, align 1 %61 = sext i8 %60 to i32 %62 = load i32, ptr %6, align 4 %63 = icmp ne i32 %61, %62 br i1 %63, label %8, label %64, !llvm.loop !6 64: ; preds = %59 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare signext i8 @mygetch(...) #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/tmpvmahg8fr.c' source_filename = "/tmp/tmpvmahg8fr.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: alwaysinline nounwind sspstrong uwtable define weak dso_local i32 @softboundmpx_rmdir(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 @rmdir(ptr noundef %3) ret i32 %4 } declare i32 @rmdir(ptr noundef) #1 attributes #0 = { alwaysinline 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/tmpvmahg8fr.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: alwaysinline nounwind sspstrong uwtable define weak dso_local i32 @softboundmpx_rmdir(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 @rmdir(ptr noundef %3) ret i32 %4 } declare i32 @rmdir(ptr noundef) #1 attributes #0 = { alwaysinline 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/tmpr_fmc18g.c' source_filename = "/tmp/tmpr_fmc18g.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/tmpr_fmc18g.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/tmpgixy7y7d.c' source_filename = "/tmp/tmpgixy7y7d.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"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_string(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i8, align 1 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) br label %6 6: ; preds = %34, %1 %7 = load i8, ptr %4, align 1 %8 = sext i8 %7 to i32 %9 = icmp sge i32 %8, 65 br i1 %9, label %10, label %14 10: ; preds = %6 %11 = load i8, ptr %4, align 1 %12 = sext i8 %11 to i32 %13 = icmp sle i32 %12, 90 br i1 %13, label %32, label %14 14: ; preds = %10, %6 %15 = load i8, ptr %4, align 1 %16 = sext i8 %15 to i32 %17 = icmp sge i32 %16, 97 br i1 %17, label %18, label %22 18: ; preds = %14 %19 = load i8, ptr %4, align 1 %20 = sext i8 %19 to i32 %21 = icmp sle i32 %20, 122 br i1 %21, label %32, label %22 22: ; preds = %18, %14 %23 = load i8, ptr %4, align 1 %24 = sext i8 %23 to i32 %25 = icmp sge i32 %24, 48 br i1 %25, label %26, label %30 26: ; preds = %22 %27 = load i8, ptr %4, align 1 %28 = sext i8 %27 to i32 %29 = icmp sle i32 %28, 57 br label %30 30: ; preds = %26, %22 %31 = phi i1 [ false, %22 ], [ %29, %26 ] br label %32 32: ; preds = %30, %18, %10 %33 = phi i1 [ true, %18 ], [ true, %10 ], [ %31, %30 ] br i1 %33, label %34, label %43 34: ; preds = %32 %35 = load i8, ptr %4, align 1 %36 = load ptr, ptr %2, align 8 %37 = load i32, ptr %3, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 store i8 %35, ptr %39, align 1 %40 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %41 = load i32, ptr %3, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %3, align 4 br label %6, !llvm.loop !6 43: ; preds = %32 %44 = load ptr, ptr %2, align 8 %45 = load i32, ptr %3, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 store i8 0, ptr %47, align 1 %48 = load i32, ptr %3, align 4 ret i32 %48 } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgixy7y7d.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"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_string(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i8, align 1 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) br label %6 6: ; preds = %34, %1 %7 = load i8, ptr %4, align 1 %8 = sext i8 %7 to i32 %9 = icmp sge i32 %8, 65 br i1 %9, label %10, label %14 10: ; preds = %6 %11 = load i8, ptr %4, align 1 %12 = sext i8 %11 to i32 %13 = icmp sle i32 %12, 90 br i1 %13, label %32, label %14 14: ; preds = %10, %6 %15 = load i8, ptr %4, align 1 %16 = sext i8 %15 to i32 %17 = icmp sge i32 %16, 97 br i1 %17, label %18, label %22 18: ; preds = %14 %19 = load i8, ptr %4, align 1 %20 = sext i8 %19 to i32 %21 = icmp sle i32 %20, 122 br i1 %21, label %32, label %22 22: ; preds = %18, %14 %23 = load i8, ptr %4, align 1 %24 = sext i8 %23 to i32 %25 = icmp sge i32 %24, 48 br i1 %25, label %26, label %30 26: ; preds = %22 %27 = load i8, ptr %4, align 1 %28 = sext i8 %27 to i32 %29 = icmp sle i32 %28, 57 br label %30 30: ; preds = %26, %22 %31 = phi i1 [ false, %22 ], [ %29, %26 ] br label %32 32: ; preds = %30, %18, %10 %33 = phi i1 [ true, %18 ], [ true, %10 ], [ %31, %30 ] br i1 %33, label %34, label %43 34: ; preds = %32 %35 = load i8, ptr %4, align 1 %36 = load ptr, ptr %2, align 8 %37 = load i32, ptr %3, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 store i8 %35, ptr %39, align 1 %40 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %41 = load i32, ptr %3, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %3, align 4 br label %6, !llvm.loop !6 43: ; preds = %32 %44 = load ptr, ptr %2, align 8 %45 = load i32, ptr %3, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 store i8 0, ptr %47, align 1 %48 = load i32, ptr %3, align 4 ret i32 %48 } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp58k08u_k.c' source_filename = "/tmp/tmp58k08u_k.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 [28 x i8] c"Error: argument is too long\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"Error: Can't replace an empty substring\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [31 x i8] c"Error: input line is too long\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @DoReplace(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [1025 x i8], align 16 %7 = alloca ptr, align 8 %8 = alloca [1025 x i8], align 16 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %15 = getelementptr inbounds [1025 x i8], ptr %6, i64 0, i64 0 store ptr %15, ptr %7, align 8 %16 = getelementptr inbounds [1025 x i8], ptr %8, i64 0, i64 0 store ptr %16, ptr %9, align 8 %17 = load ptr, ptr %4, align 8 %18 = call i64 @StrGetLength(ptr noundef %17) store i64 %18, ptr %12, align 8 %19 = load ptr, ptr %5, align 8 %20 = call i64 @StrGetLength(ptr noundef %19) store i64 %20, ptr %13, align 8 %21 = load i64, ptr %12, align 8 %22 = icmp ugt i64 %21, 1023 br i1 %22, label %26, label %23 23: ; preds = %2 %24 = load i64, ptr %13, align 8 %25 = icmp ugt i64 %24, 1023 br i1 %25, label %26, label %29 26: ; preds = %23, %2 %27 = load i32, ptr @stderr, align 4 %28 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %27, ptr noundef @.str) store i32 0, ptr %3, align 4 br label %102 29: ; preds = %23 %30 = load i64, ptr %12, align 8 %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %35 32: ; preds = %29 %33 = load i32, ptr @stderr, align 4 %34 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %33, ptr noundef @.str.1) store i32 0, ptr %3, align 4 br label %102 35: ; preds = %29 br label %36 36: ; preds = %100, %35 %37 = getelementptr inbounds [1025 x i8], ptr %6, i64 0, i64 0 %38 = load i32, ptr @stdin, align 4 %39 = call i64 @fgets(ptr noundef %37, i32 noundef 1025, i32 noundef %38) %40 = icmp ne i64 %39, 0 br i1 %40, label %41, label %101 41: ; preds = %36 %42 = getelementptr inbounds [1025 x i8], ptr %6, i64 0, i64 0 %43 = call i64 @StrGetLength(ptr noundef %42) store i64 %43, ptr %11, align 8 %44 = icmp ugt i64 %43, 1023 br i1 %44, label %45, label %48 45: ; preds = %41 %46 = load i32, ptr @stderr, align 4 %47 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %46, ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %102 48: ; preds = %41 %49 = getelementptr inbounds [1025 x i8], ptr %6, i64 0, i64 0 store ptr %49, ptr %7, align 8 %50 = getelementptr inbounds [1025 x i8], ptr %8, i64 0, i64 0 store i8 0, ptr %50, align 16 %51 = getelementptr inbounds [1025 x i8], ptr %8, i64 0, i64 0 store ptr %51, ptr %9, align 8 store i32 0, ptr %14, align 4 br label %52 52: ; preds = %92, %48 %53 = load ptr, ptr %7, align 8 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = icmp ne i32 %55, 0 br i1 %56, label %57, label %93 57: ; preds = %52 %58 = load ptr, ptr %7, align 8 %59 = load ptr, ptr %4, align 8 %60 = call ptr @StrSearch(ptr noundef %58, ptr noundef %59) store ptr %60, ptr %10, align 8 %61 = icmp ne ptr %60, null br i1 %61, label %62, label %88 62: ; preds = %57 %63 = load ptr, ptr %9, align 8 %64 = load ptr, ptr %7, align 8 %65 = load ptr, ptr %10, align 8 %66 = load ptr, ptr %7, align 8 %67 = ptrtoint ptr %65 to i64 %68 = ptrtoint ptr %66 to i64 %69 = sub i64 %67, %68 %70 = call i32 @StrNConcat(ptr noundef %63, ptr noundef %64, i64 noundef %69) %71 = load ptr, ptr %9, align 8 %72 = load ptr, ptr %10, align 8 %73 = load ptr, ptr %7, align 8 %74 = ptrtoint ptr %72 to i64 %75 = ptrtoint ptr %73 to i64 %76 = sub i64 %74, %75 %77 = getelementptr inbounds i8, ptr %71, i64 %76 store ptr %77, ptr %9, align 8 %78 = load ptr, ptr %9, align 8 %79 = load ptr, ptr %5, align 8 %80 = load i64, ptr %13, align 8 %81 = call i32 @StrNConcat(ptr noundef %78, ptr noundef %79, i64 noundef %80) %82 = load ptr, ptr %9, align 8 %83 = load i64, ptr %13, align 8 %84 = getelementptr inbounds i8, ptr %82, i64 %83 store ptr %84, ptr %9, align 8 %85 = load ptr, ptr %10, align 8 %86 = load i64, ptr %12, align 8 %87 = getelementptr inbounds i8, ptr %85, i64 %86 store ptr %87, ptr %7, align 8 store i32 1, ptr %14, align 4 br label %92 88: ; preds = %57 %89 = load ptr, ptr %9, align 8 %90 = load ptr, ptr %7, align 8 %91 = call i32 @StrConcat(ptr noundef %89, ptr noundef %90) br label %93 92: ; preds = %62 br label %52, !llvm.loop !6 93: ; preds = %88, %52 %94 = load i32, ptr %14, align 4 %95 = icmp ne i32 %94, 0 br i1 %95, label %96, label %100 96: ; preds = %93 %97 = load i32, ptr @stdout, align 4 %98 = getelementptr inbounds [1025 x i8], ptr %8, i64 0, i64 0 %99 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %97, ptr noundef @.str.3, ptr noundef %98) br label %100 100: ; preds = %96, %93 br label %36, !llvm.loop !8 101: ; preds = %36 store i32 1, ptr %3, align 4 br label %102 102: ; preds = %101, %45, %32, %26 %103 = load i32, ptr %3, align 4 ret i32 %103 } declare i64 @StrGetLength(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i64 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @StrSearch(ptr noundef, ptr noundef) #1 declare i32 @StrNConcat(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @StrConcat(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp58k08u_k.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 [28 x i8] c"Error: argument is too long\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"Error: Can't replace an empty substring\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [31 x i8] c"Error: input line is too long\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @DoReplace(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [1025 x i8], align 16 %7 = alloca ptr, align 8 %8 = alloca [1025 x i8], align 16 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %15 = getelementptr inbounds [1025 x i8], ptr %6, i64 0, i64 0 store ptr %15, ptr %7, align 8 %16 = getelementptr inbounds [1025 x i8], ptr %8, i64 0, i64 0 store ptr %16, ptr %9, align 8 %17 = load ptr, ptr %4, align 8 %18 = call i64 @StrGetLength(ptr noundef %17) store i64 %18, ptr %12, align 8 %19 = load ptr, ptr %5, align 8 %20 = call i64 @StrGetLength(ptr noundef %19) store i64 %20, ptr %13, align 8 %21 = load i64, ptr %12, align 8 %22 = icmp ugt i64 %21, 1023 br i1 %22, label %26, label %23 23: ; preds = %2 %24 = load i64, ptr %13, align 8 %25 = icmp ugt i64 %24, 1023 br i1 %25, label %26, label %29 26: ; preds = %23, %2 %27 = load i32, ptr @stderr, align 4 %28 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %27, ptr noundef @.str) store i32 0, ptr %3, align 4 br label %107 29: ; preds = %23 %30 = load i64, ptr %12, align 8 %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %35 32: ; preds = %29 %33 = load i32, ptr @stderr, align 4 %34 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %33, ptr noundef @.str.1) store i32 0, ptr %3, align 4 br label %107 35: ; preds = %29 %36 = getelementptr inbounds [1025 x i8], ptr %6, i64 0, i64 0 %37 = load i32, ptr @stdin, align 4 %38 = call i64 @fgets(ptr noundef %36, i32 noundef 1025, i32 noundef %37) %39 = icmp ne i64 %38, 0 br i1 %39, label %.lr.ph1, label %106 .lr.ph1: ; preds = %35 br label %40 40: ; preds = %.lr.ph1, %102 %41 = getelementptr inbounds [1025 x i8], ptr %6, i64 0, i64 0 %42 = call i64 @StrGetLength(ptr noundef %41) store i64 %42, ptr %11, align 8 %43 = icmp ugt i64 %42, 1023 br i1 %43, label %44, label %47 44: ; preds = %40 %45 = load i32, ptr @stderr, align 4 %46 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %45, ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %107 47: ; preds = %40 %48 = getelementptr inbounds [1025 x i8], ptr %6, i64 0, i64 0 store ptr %48, ptr %7, align 8 %49 = getelementptr inbounds [1025 x i8], ptr %8, i64 0, i64 0 store i8 0, ptr %49, align 16 %50 = getelementptr inbounds [1025 x i8], ptr %8, i64 0, i64 0 store ptr %50, ptr %9, align 8 store i32 0, ptr %14, align 4 %51 = load ptr, ptr %7, align 8 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = icmp ne i32 %53, 0 br i1 %54, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %47 br label %55 55: ; preds = %.lr.ph, %90 %56 = load ptr, ptr %7, align 8 %57 = load ptr, ptr %4, align 8 %58 = call ptr @StrSearch(ptr noundef %56, ptr noundef %57) store ptr %58, ptr %10, align 8 %59 = icmp ne ptr %58, null br i1 %59, label %60, label %86 60: ; preds = %55 %61 = load ptr, ptr %9, align 8 %62 = load ptr, ptr %7, align 8 %63 = load ptr, ptr %10, align 8 %64 = load ptr, ptr %7, align 8 %65 = ptrtoint ptr %63 to i64 %66 = ptrtoint ptr %64 to i64 %67 = sub i64 %65, %66 %68 = call i32 @StrNConcat(ptr noundef %61, ptr noundef %62, i64 noundef %67) %69 = load ptr, ptr %9, align 8 %70 = load ptr, ptr %10, align 8 %71 = load ptr, ptr %7, align 8 %72 = ptrtoint ptr %70 to i64 %73 = ptrtoint ptr %71 to i64 %74 = sub i64 %72, %73 %75 = getelementptr inbounds i8, ptr %69, i64 %74 store ptr %75, ptr %9, align 8 %76 = load ptr, ptr %9, align 8 %77 = load ptr, ptr %5, align 8 %78 = load i64, ptr %13, align 8 %79 = call i32 @StrNConcat(ptr noundef %76, ptr noundef %77, i64 noundef %78) %80 = load ptr, ptr %9, align 8 %81 = load i64, ptr %13, align 8 %82 = getelementptr inbounds i8, ptr %80, i64 %81 store ptr %82, ptr %9, align 8 %83 = load ptr, ptr %10, align 8 %84 = load i64, ptr %12, align 8 %85 = getelementptr inbounds i8, ptr %83, i64 %84 store ptr %85, ptr %7, align 8 store i32 1, ptr %14, align 4 br label %90 86: ; preds = %55 %87 = load ptr, ptr %9, align 8 %88 = load ptr, ptr %7, align 8 %89 = call i32 @StrConcat(ptr noundef %87, ptr noundef %88) br label %95 90: ; preds = %60 %91 = load ptr, ptr %7, align 8 %92 = load i8, ptr %91, align 1 %93 = sext i8 %92 to i32 %94 = icmp ne i32 %93, 0 br i1 %94, label %55, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %90 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %47 br label %95 95: ; preds = %.loopexit, %86 %96 = load i32, ptr %14, align 4 %97 = icmp ne i32 %96, 0 br i1 %97, label %98, label %102 98: ; preds = %95 %99 = load i32, ptr @stdout, align 4 %100 = getelementptr inbounds [1025 x i8], ptr %8, i64 0, i64 0 %101 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %99, ptr noundef @.str.3, ptr noundef %100) br label %102 102: ; preds = %98, %95 %103 = load i32, ptr @stdin, align 4 %104 = call i64 @fgets(ptr noundef %36, i32 noundef 1025, i32 noundef %103) %105 = icmp ne i64 %104, 0 br i1 %105, label %40, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %102 br label %106 106: ; preds = %._crit_edge, %35 store i32 1, ptr %3, align 4 br label %107 107: ; preds = %106, %44, %32, %26 %108 = load i32, ptr %3, align 4 ret i32 %108 } declare i64 @StrGetLength(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i64 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @StrSearch(ptr noundef, ptr noundef) #1 declare i32 @StrNConcat(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @StrConcat(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp7hat1l73.c' source_filename = "/tmp/tmp7hat1l73.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 @gk_vector_mutate(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = call i32 (...) @rand() %5 = sext i32 %4 to i64 %6 = urem i64 %5, 32 %7 = trunc i64 %6 to i32 store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = shl i32 1, %8 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %10, align 4 %12 = xor i32 %11, %9 store i32 %12, ptr %10, align 4 ret void } declare i32 @rand(...) #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/tmp7hat1l73.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 @gk_vector_mutate(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = call i32 (...) @rand() %5 = sext i32 %4 to i64 %6 = urem i64 %5, 32 %7 = trunc i64 %6 to i32 store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = shl i32 1, %8 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %10, align 4 %12 = xor i32 %11, %9 store i32 %12, ptr %10, align 4 ret void } declare i32 @rand(...) #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_v0i_wqu.c' source_filename = "/tmp/tmp_v0i_wqu.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 @fdatasync(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 @fsync(i32 noundef %3) ret i32 %4 } declare i32 @fsync(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/tmp_v0i_wqu.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 @fdatasync(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 @fsync(i32 noundef %3) ret i32 %4 } declare i32 @fsync(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/tmperphe32_.c' source_filename = "/tmp/tmperphe32_.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" @EDOM = dso_local global i32 0, align 4 @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/tmperphe32_.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" @EDOM = dso_local global i32 0, align 4 @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/tmpkzeoohsm.c' source_filename = "/tmp/tmpkzeoohsm.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 @stdfree(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 @free(ptr noundef %3) ret void } 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/tmpkzeoohsm.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 @stdfree(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 @free(ptr noundef %3) ret void } 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/tmptbcunt38.c' source_filename = "/tmp/tmptbcunt38.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 [70 x i8] c"******* JOGO DA VELHA *****\0A\0A1. Multiplayer\0A2. Single Player\0A3. Exit\0A\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"Dificuldade: \0A2. Easy\0A3. Hard\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"/usr/bin/clear\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"Digite a jogada jogador 2\0A\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"Digite a jogada jogador 1\0A\00", align 1 @.str.5 = private unnamed_addr constant [20 x i8] c"Posicao invalida! \0A\00", align 1 @.str.6 = private unnamed_addr constant [24 x i8] c"Jogador 2 o 'O' ganhou\0A\00", align 1 @.str.7 = private unnamed_addr constant [24 x i8] c"Jogador 1 o 'X' ganhou\0A\00", align 1 @.str.8 = private unnamed_addr constant [9 x i8] c"\0AVelhou\0A\00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"O\00", align 1 @.str.10 = private unnamed_addr constant [9 x i8] c"\0ASaindo\0A\00", align 1 @.str.11 = private unnamed_addr constant [13 x i8] c"Joguei no %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @saida(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 switch i32 %5, label %31 [ i32 1, label %6 i32 2, label %8 i32 3, label %10 i32 4, label %12 i32 5, label %14 i32 6, label %16 i32 7, label %18 i32 8, label %20 i32 9, label %22 i32 10, label %24 i32 11, label %26 i32 12, label %28 ] 6: ; preds = %2 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %31 8: ; preds = %2 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %31 10: ; preds = %2 %11 = call i32 @system(ptr noundef @.str.2) br label %31 12: ; preds = %2 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %31 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %31 16: ; preds = %2 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %31 18: ; preds = %2 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %31 20: ; preds = %2 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %31 22: ; preds = %2 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %31 24: ; preds = %2 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %31 26: ; preds = %2 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) br label %31 28: ; preds = %2 %29 = load i32, ptr %4, align 4 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %29) br label %31 31: ; preds = %2, %28, %26, %24, %22, %20, %18, %16, %14, %12, %10, %8, %6 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @system(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/tmptbcunt38.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 [70 x i8] c"******* JOGO DA VELHA *****\0A\0A1. Multiplayer\0A2. Single Player\0A3. Exit\0A\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"Dificuldade: \0A2. Easy\0A3. Hard\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"/usr/bin/clear\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"Digite a jogada jogador 2\0A\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"Digite a jogada jogador 1\0A\00", align 1 @.str.5 = private unnamed_addr constant [20 x i8] c"Posicao invalida! \0A\00", align 1 @.str.6 = private unnamed_addr constant [24 x i8] c"Jogador 2 o 'O' ganhou\0A\00", align 1 @.str.7 = private unnamed_addr constant [24 x i8] c"Jogador 1 o 'X' ganhou\0A\00", align 1 @.str.8 = private unnamed_addr constant [9 x i8] c"\0AVelhou\0A\00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"O\00", align 1 @.str.10 = private unnamed_addr constant [9 x i8] c"\0ASaindo\0A\00", align 1 @.str.11 = private unnamed_addr constant [13 x i8] c"Joguei no %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @saida(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 switch i32 %5, label %31 [ i32 1, label %6 i32 2, label %8 i32 3, label %10 i32 4, label %12 i32 5, label %14 i32 6, label %16 i32 7, label %18 i32 8, label %20 i32 9, label %22 i32 10, label %24 i32 11, label %26 i32 12, label %28 ] 6: ; preds = %2 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %31 8: ; preds = %2 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %31 10: ; preds = %2 %11 = call i32 @system(ptr noundef @.str.2) br label %31 12: ; preds = %2 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %31 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %31 16: ; preds = %2 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %31 18: ; preds = %2 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %31 20: ; preds = %2 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %31 22: ; preds = %2 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %31 24: ; preds = %2 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %31 26: ; preds = %2 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) br label %31 28: ; preds = %2 %29 = load i32, ptr %4, align 4 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %29) br label %31 31: ; preds = %28, %26, %24, %22, %20, %18, %16, %14, %12, %10, %8, %6, %2 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @system(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/tmpzn0mb4g2.c' source_filename = "/tmp/tmpzn0mb4g2.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 @papif_perror(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %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 [128 x i8], align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %11 = load ptr, ptr %5, align 8 %12 = load i32, ptr %11, align 4 %13 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0 %14 = call i32 @PAPI_perror(i32 noundef %12, ptr noundef %13, i32 noundef 128) %15 = load ptr, ptr %7, align 8 store i32 %14, ptr %15, align 4 %16 = load ptr, ptr %6, align 8 %17 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0 %18 = load i32, ptr %8, align 4 %19 = call i32 @strncpy(ptr noundef %16, ptr noundef %17, i32 noundef %18) %20 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0 %21 = call i32 @strlen(ptr noundef %20) store i32 %21, ptr %9, align 4 br label %22 22: ; preds = %27, %4 %23 = load i32, ptr %9, align 4 %24 = load i32, ptr %8, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %33 26: ; preds = %22 br label %27 27: ; preds = %26 %28 = load ptr, ptr %6, align 8 %29 = load i32, ptr %9, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %9, align 4 %31 = sext i32 %29 to i64 %32 = getelementptr inbounds i8, ptr %28, i64 %31 store i8 32, ptr %32, align 1 br label %22, !llvm.loop !6 33: ; preds = %22 ret void } declare i32 @PAPI_perror(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzn0mb4g2.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 @papif_perror(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %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 [128 x i8], align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %11 = load ptr, ptr %5, align 8 %12 = load i32, ptr %11, align 4 %13 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0 %14 = call i32 @PAPI_perror(i32 noundef %12, ptr noundef %13, i32 noundef 128) %15 = load ptr, ptr %7, align 8 store i32 %14, ptr %15, align 4 %16 = load ptr, ptr %6, align 8 %17 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0 %18 = load i32, ptr %8, align 4 %19 = call i32 @strncpy(ptr noundef %16, ptr noundef %17, i32 noundef %18) %20 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0 %21 = call i32 @strlen(ptr noundef %20) store i32 %21, ptr %9, align 4 %22 = load i32, ptr %9, align 4 %23 = load i32, ptr %8, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %.lr.ph, label %35 .lr.ph: ; preds = %4 br label %25 25: ; preds = %.lr.ph, %26 br label %26 26: ; preds = %25 %27 = load ptr, ptr %6, align 8 %28 = load i32, ptr %9, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %9, align 4 %30 = sext i32 %28 to i64 %31 = getelementptr inbounds i8, ptr %27, i64 %30 store i8 32, ptr %31, align 1 %32 = load i32, ptr %9, align 4 %33 = load i32, ptr %8, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %35 35: ; preds = %._crit_edge, %4 ret void } declare i32 @PAPI_perror(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 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"}
; ModuleID = '/tmp/tmpd61lywwr.c' source_filename = "/tmp/tmpd61lywwr.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 [18 x i8] c"WCHAR_T//TRANSLIT\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"ASCII\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"%d characters not converted\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"iconv\00", align 1 @errno = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [30 x i8] c"%zu characters not converted\0A\00", align 1 @.str.5 = private unnamed_addr constant [27 x i8] c"%zu characters not filled\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @fatchartows(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %14 = load i32, ptr %7, align 4 %15 = icmp eq i32 %14, -1 br i1 %15, label %16, label %20 16: ; preds = %4 %17 = load ptr, ptr %6, align 8 %18 = call i32 @strlen(ptr noundef %17) %19 = add nsw i32 %18, 1 store i32 %19, ptr %7, align 4 br label %20 20: ; preds = %16, %4 %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = mul i64 %22, 1 store i64 %23, ptr %10, align 8 %24 = load i32, ptr %7, align 4 %25 = sext i32 %24 to i64 %26 = mul i64 %25, 4 store i64 %26, ptr %11, align 8 %27 = load ptr, ptr %5, align 8 %28 = icmp eq ptr %27, null br i1 %28, label %29, label %32 29: ; preds = %20 %30 = load i64, ptr %11, align 8 %31 = call ptr @malloc(i64 noundef %30) store ptr %31, ptr %5, align 8 br label %32 32: ; preds = %29, %20 %33 = load ptr, ptr %5, align 8 store ptr %33, ptr %9, align 8 %34 = call i32 @iconv_open(ptr noundef @.str, ptr noundef @.str.1) store i32 %34, ptr %12, align 4 %35 = load i32, ptr %12, align 4 %36 = call i32 @iconv(i32 noundef %35, ptr noundef %6, ptr noundef %10, ptr noundef %9, ptr noundef %11) store i32 %36, ptr %13, align 4 %37 = load i32, ptr %13, align 4 %38 = icmp sgt i32 %37, 0 br i1 %38, label %39, label %51 39: ; preds = %32 %40 = load i32, ptr %13, align 4 %41 = sext i32 %40 to i64 %42 = call i32 @printf(ptr noundef @.str.2, i64 noundef %41) %43 = load ptr, ptr %8, align 8 %44 = icmp ne ptr %43, null br i1 %44, label %45, label %50 45: ; preds = %39 %46 = load i32, ptr %13, align 4 %47 = load ptr, ptr %8, align 8 %48 = load i32, ptr %47, align 4 %49 = add nsw i32 %48, %46 store i32 %49, ptr %47, align 4 br label %50 50: ; preds = %45, %39 br label %66 51: ; preds = %32 %52 = load i32, ptr %13, align 4 %53 = icmp eq i32 %52, -1 br i1 %53, label %54, label %65 54: ; preds = %51 %55 = call i32 @perror(ptr noundef @.str.3) %56 = load ptr, ptr %8, align 8 %57 = icmp ne ptr %56, null br i1 %57, label %58, label %64 58: ; preds = %54 %59 = load i32, ptr @errno, align 4 %60 = mul nsw i32 1000, %59 %61 = load ptr, ptr %8, align 8 %62 = load i32, ptr %61, align 4 %63 = add nsw i32 %62, %60 store i32 %63, ptr %61, align 4 br label %64 64: ; preds = %58, %54 br label %65 65: ; preds = %64, %51 br label %66 66: ; preds = %65, %50 %67 = load i32, ptr %12, align 4 %68 = call i32 @iconv_close(i32 noundef %67) %69 = load i64, ptr %10, align 8 %70 = icmp ne i64 %69, 0 br i1 %70, label %71, label %74 71: ; preds = %66 %72 = load i64, ptr %10, align 8 %73 = call i32 @printf(ptr noundef @.str.4, i64 noundef %72) br label %74 74: ; preds = %71, %66 %75 = load i64, ptr %11, align 8 %76 = icmp ne i64 %75, 0 br i1 %76, label %77, label %80 77: ; preds = %74 %78 = load i64, ptr %11, align 8 %79 = call i32 @printf(ptr noundef @.str.5, i64 noundef %78) br label %80 80: ; preds = %77, %74 %81 = load ptr, ptr %5, align 8 ret ptr %81 } declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @iconv_open(ptr noundef, ptr noundef) #1 declare i32 @iconv(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @iconv_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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd61lywwr.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 [18 x i8] c"WCHAR_T//TRANSLIT\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"ASCII\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"%d characters not converted\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"iconv\00", align 1 @errno = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [30 x i8] c"%zu characters not converted\0A\00", align 1 @.str.5 = private unnamed_addr constant [27 x i8] c"%zu characters not filled\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @fatchartows(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %14 = load i32, ptr %7, align 4 %15 = icmp eq i32 %14, -1 br i1 %15, label %16, label %20 16: ; preds = %4 %17 = load ptr, ptr %6, align 8 %18 = call i32 @strlen(ptr noundef %17) %19 = add nsw i32 %18, 1 store i32 %19, ptr %7, align 4 br label %20 20: ; preds = %16, %4 %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = mul i64 %22, 1 store i64 %23, ptr %10, align 8 %24 = load i32, ptr %7, align 4 %25 = sext i32 %24 to i64 %26 = mul i64 %25, 4 store i64 %26, ptr %11, align 8 %27 = load ptr, ptr %5, align 8 %28 = icmp eq ptr %27, null br i1 %28, label %29, label %32 29: ; preds = %20 %30 = load i64, ptr %11, align 8 %31 = call ptr @malloc(i64 noundef %30) store ptr %31, ptr %5, align 8 br label %32 32: ; preds = %29, %20 %33 = load ptr, ptr %5, align 8 store ptr %33, ptr %9, align 8 %34 = call i32 @iconv_open(ptr noundef @.str, ptr noundef @.str.1) store i32 %34, ptr %12, align 4 %35 = load i32, ptr %12, align 4 %36 = call i32 @iconv(i32 noundef %35, ptr noundef %6, ptr noundef %10, ptr noundef %9, ptr noundef %11) store i32 %36, ptr %13, align 4 %37 = load i32, ptr %13, align 4 %38 = icmp sgt i32 %37, 0 br i1 %38, label %39, label %51 39: ; preds = %32 %40 = load i32, ptr %13, align 4 %41 = sext i32 %40 to i64 %42 = call i32 @printf(ptr noundef @.str.2, i64 noundef %41) %43 = load ptr, ptr %8, align 8 %44 = icmp ne ptr %43, null br i1 %44, label %45, label %50 45: ; preds = %39 %46 = load i32, ptr %13, align 4 %47 = load ptr, ptr %8, align 8 %48 = load i32, ptr %47, align 4 %49 = add nsw i32 %48, %46 store i32 %49, ptr %47, align 4 br label %50 50: ; preds = %45, %39 br label %66 51: ; preds = %32 %52 = load i32, ptr %13, align 4 %53 = icmp eq i32 %52, -1 br i1 %53, label %54, label %65 54: ; preds = %51 %55 = call i32 @perror(ptr noundef @.str.3) %56 = load ptr, ptr %8, align 8 %57 = icmp ne ptr %56, null br i1 %57, label %58, label %64 58: ; preds = %54 %59 = load i32, ptr @errno, align 4 %60 = mul nsw i32 1000, %59 %61 = load ptr, ptr %8, align 8 %62 = load i32, ptr %61, align 4 %63 = add nsw i32 %62, %60 store i32 %63, ptr %61, align 4 br label %64 64: ; preds = %58, %54 br label %65 65: ; preds = %64, %51 br label %66 66: ; preds = %65, %50 %67 = load i32, ptr %12, align 4 %68 = call i32 @iconv_close(i32 noundef %67) %69 = load i64, ptr %10, align 8 %70 = icmp ne i64 %69, 0 br i1 %70, label %71, label %74 71: ; preds = %66 %72 = load i64, ptr %10, align 8 %73 = call i32 @printf(ptr noundef @.str.4, i64 noundef %72) br label %74 74: ; preds = %71, %66 %75 = load i64, ptr %11, align 8 %76 = icmp ne i64 %75, 0 br i1 %76, label %77, label %80 77: ; preds = %74 %78 = load i64, ptr %11, align 8 %79 = call i32 @printf(ptr noundef @.str.5, i64 noundef %78) br label %80 80: ; preds = %77, %74 %81 = load ptr, ptr %5, align 8 ret ptr %81 } declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @iconv_open(ptr noundef, ptr noundef) #1 declare i32 @iconv(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @iconv_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"}
; ModuleID = '/tmp/tmp65hitoag.c' source_filename = "/tmp/tmp65hitoag.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 @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 = call i32 (...) @init_pmus() %7 = call i32 (...) @dump_pmus() ret i32 0 } declare i32 @init_pmus(...) #1 declare i32 @dump_pmus(...) #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/tmp65hitoag.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 @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 = call i32 (...) @init_pmus() %7 = call i32 (...) @dump_pmus() ret i32 0 } declare i32 @init_pmus(...) #1 declare i32 @dump_pmus(...) #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/tmph8j4xksa.c' source_filename = "/tmp/tmph8j4xksa.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"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%.5f\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; 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 double, align 8 %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca double, align 8 store i32 0, ptr %1, align 4 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) store double 1.000000e+00, ptr %4, align 8 store double 1.000000e+00, ptr %6, align 8 store double 1.000000e+00, ptr %7, align 8 store i32 1, ptr %5, align 4 br label %9 9: ; preds = %27, %0 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp sle i32 %10, %11 br i1 %12, label %13, label %30 13: ; preds = %9 %14 = load i32, ptr %5, align 4 %15 = sitofp i32 %14 to double %16 = load double, ptr %6, align 8 %17 = fmul double %16, %15 store double %17, ptr %6, align 8 %18 = load i32, ptr %3, align 4 %19 = sitofp i32 %18 to double %20 = load double, ptr %7, align 8 %21 = fmul double %20, %19 store double %21, ptr %7, align 8 %22 = load double, ptr %6, align 8 %23 = load double, ptr %7, align 8 %24 = fdiv double %22, %23 %25 = load double, ptr %4, align 8 %26 = fadd double %25, %24 store double %26, ptr %4, align 8 br label %27 27: ; preds = %13 %28 = load i32, ptr %5, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %5, align 4 br label %9, !llvm.loop !6 30: ; preds = %9 %31 = load double, ptr %4, align 8 %32 = call i32 @printf(ptr noundef @.str.1, double noundef %31) %33 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %33 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 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" } !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/tmph8j4xksa.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"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%.5f\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; 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 double, align 8 %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca double, align 8 store i32 0, ptr %1, align 4 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) store double 1.000000e+00, ptr %4, align 8 store double 1.000000e+00, ptr %6, align 8 store double 1.000000e+00, ptr %7, align 8 store i32 1, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp sle i32 %9, %10 br i1 %11, label %.lr.ph, label %32 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %26 %13 = load i32, ptr %5, align 4 %14 = sitofp i32 %13 to double %15 = load double, ptr %6, align 8 %16 = fmul double %15, %14 store double %16, ptr %6, align 8 %17 = load i32, ptr %3, align 4 %18 = sitofp i32 %17 to double %19 = load double, ptr %7, align 8 %20 = fmul double %19, %18 store double %20, ptr %7, align 8 %21 = load double, ptr %6, align 8 %22 = load double, ptr %7, align 8 %23 = fdiv double %21, %22 %24 = load double, ptr %4, align 8 %25 = fadd double %24, %23 store double %25, ptr %4, align 8 br label %26 26: ; preds = %12 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %5, align 4 %29 = load i32, ptr %5, align 4 %30 = load i32, ptr %2, align 4 %31 = icmp sle i32 %29, %30 br i1 %31, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %0 %33 = load double, ptr %4, align 8 %34 = call i32 @printf(ptr noundef @.str.1, double noundef %33) %35 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %35 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 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" } !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"}