llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpui4t65p4.c' source_filename = "/tmp/tmpui4t65p4.c" target datalayout = "e-m:e-p270: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 @game_error(ptr noundef %0, ...) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @assert(i32 noundef 0) ret void } 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/tmpui4t65p4.c" target datalayout = "e-m:e-p270: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 @game_error(ptr noundef %0, ...) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @assert(i32 noundef 0) ret void } 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/tmpmysdag99.c' source_filename = "/tmp/tmpmysdag99.c" target datalayout = "e-m:e-p270: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 @__aeabi_uidiv(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 i64 @__aeabi_uidivmod(i32 noundef %5, i32 noundef %6) %8 = trunc i64 %7 to i32 ret i32 %8 } declare i64 @__aeabi_uidivmod(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/tmpmysdag99.c" target datalayout = "e-m:e-p270: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 @__aeabi_uidiv(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 i64 @__aeabi_uidivmod(i32 noundef %5, i32 noundef %6) %8 = trunc i64 %7 to i32 ret i32 %8 } declare i64 @__aeabi_uidivmod(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/tmpd_iflkcc.c' source_filename = "/tmp/tmpd_iflkcc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGCHLD = dso_local global i32 0, align 4 @SIG_BLOCK = dso_local global i32 0, align 4 @LOG_WARNING = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [19 x i8] c"siglock failed: %s\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @siglock() #0 { %1 = alloca i32, align 4 %2 = call i32 @sigemptyset(ptr noundef %1) %3 = load i32, ptr @SIGCHLD, align 4 %4 = call i32 @sigaddset(ptr noundef %1, i32 noundef %3) %5 = load i32, ptr @SIG_BLOCK, align 4 %6 = call i64 @sigprocmask(i32 noundef %5, ptr noundef %1, ptr noundef null) %7 = icmp slt i64 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %0 %9 = load i32, ptr @LOG_WARNING, align 4 %10 = load i32, ptr @errno, align 4 %11 = call i32 @strerror(i32 noundef %10) %12 = call i32 @syslog(i32 noundef %9, ptr noundef @.str, i32 noundef %11) br label %13 13: ; preds = %8, %0 ret void } declare i32 @sigemptyset(ptr noundef) #1 declare i32 @sigaddset(ptr noundef, i32 noundef) #1 declare i64 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @syslog(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strerror(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/tmpd_iflkcc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGCHLD = dso_local global i32 0, align 4 @SIG_BLOCK = dso_local global i32 0, align 4 @LOG_WARNING = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [19 x i8] c"siglock failed: %s\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @siglock() #0 { %1 = alloca i32, align 4 %2 = call i32 @sigemptyset(ptr noundef %1) %3 = load i32, ptr @SIGCHLD, align 4 %4 = call i32 @sigaddset(ptr noundef %1, i32 noundef %3) %5 = load i32, ptr @SIG_BLOCK, align 4 %6 = call i64 @sigprocmask(i32 noundef %5, ptr noundef %1, ptr noundef null) %7 = icmp slt i64 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %0 %9 = load i32, ptr @LOG_WARNING, align 4 %10 = load i32, ptr @errno, align 4 %11 = call i32 @strerror(i32 noundef %10) %12 = call i32 @syslog(i32 noundef %9, ptr noundef @.str, i32 noundef %11) br label %13 13: ; preds = %8, %0 ret void } declare i32 @sigemptyset(ptr noundef) #1 declare i32 @sigaddset(ptr noundef, i32 noundef) #1 declare i64 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @syslog(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strerror(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/tmpwmm0m4r7.c' source_filename = "/tmp/tmpwmm0m4r7.c" target datalayout = "e-m:e-p270: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 @FileAccessOpStub() #0 { ret i64 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwmm0m4r7.c" target datalayout = "e-m:e-p270: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 @FileAccessOpStub() #0 { ret i64 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp298v17o_.c' source_filename = "/tmp/tmp298v17o_.c" target datalayout = "e-m:e-p270: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"1\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"2\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @f_pong() #0 { br label %1 1: ; preds = %0, %1 %2 = call i32 @printf(ptr noundef @.str) %3 = call i32 @printf(ptr noundef @.str.1) %4 = call i32 (...) @yield() br label %1 } declare i32 @printf(ptr noundef) #1 declare i32 @yield(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmp298v17o_.c" target datalayout = "e-m:e-p270: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"1\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"2\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @f_pong() #0 { br label %1 1: ; preds = %1, %0 %2 = call i32 @printf(ptr noundef @.str) %3 = call i32 @printf(ptr noundef @.str.1) %4 = call i32 (...) @yield() br label %1 } declare i32 @printf(ptr noundef) #1 declare i32 @yield(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpbmjscyf7.c' source_filename = "/tmp/tmpbmjscyf7.c" target datalayout = "e-m:e-p270: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 @mu(i64 noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca double, align 8 store i64 %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 %11 = load i64, ptr %5, align 8 %12 = load i64, ptr %6, align 8 store double 0.000000e+00, ptr %10, align 8 store i64 0, ptr %9, align 8 br label %13 13: ; preds = %27, %4 %14 = load i64, ptr %9, align 8 %15 = load i64, ptr %5, align 8 %16 = icmp ult i64 %14, %15 br i1 %16, label %17, label %30 17: ; preds = %13 %18 = load ptr, ptr %7, align 8 %19 = load i64, ptr %9, align 8 %20 = mul nsw i64 %19, %12 %21 = getelementptr inbounds double, ptr %18, i64 %20 %22 = load i64, ptr %8, align 8 %23 = getelementptr inbounds double, ptr %21, i64 %22 %24 = load double, ptr %23, align 8 %25 = load double, ptr %10, align 8 %26 = fadd double %25, %24 store double %26, ptr %10, align 8 br label %27 27: ; preds = %17 %28 = load i64, ptr %9, align 8 %29 = add i64 %28, 1 store i64 %29, ptr %9, align 8 br label %13, !llvm.loop !6 30: ; preds = %13 %31 = load double, ptr %10, align 8 %32 = load i64, ptr %5, align 8 %33 = uitofp i64 %32 to double %34 = fdiv double %31, %33 ret double %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 = '<stdin>' source_filename = "/tmp/tmpbmjscyf7.c" target datalayout = "e-m:e-p270: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 @mu(i64 noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca double, align 8 store i64 %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 %11 = load i64, ptr %5, align 8 %12 = load i64, ptr %6, align 8 store double 0.000000e+00, ptr %10, align 8 store i64 0, ptr %9, align 8 %13 = load i64, ptr %9, align 8 %14 = load i64, ptr %5, align 8 %15 = icmp ult i64 %13, %14 br i1 %15, label %.lr.ph, label %32 .lr.ph: ; preds = %4 br label %16 16: ; preds = %.lr.ph, %26 %17 = load ptr, ptr %7, align 8 %18 = load i64, ptr %9, align 8 %19 = mul nsw i64 %18, %12 %20 = getelementptr inbounds double, ptr %17, i64 %19 %21 = load i64, ptr %8, align 8 %22 = getelementptr inbounds double, ptr %20, i64 %21 %23 = load double, ptr %22, align 8 %24 = load double, ptr %10, align 8 %25 = fadd double %24, %23 store double %25, ptr %10, align 8 br label %26 26: ; preds = %16 %27 = load i64, ptr %9, align 8 %28 = add i64 %27, 1 store i64 %28, ptr %9, align 8 %29 = load i64, ptr %9, align 8 %30 = load i64, ptr %5, align 8 %31 = icmp ult i64 %29, %30 br i1 %31, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %4 %33 = load double, ptr %10, align 8 %34 = load i64, ptr %5, align 8 %35 = uitofp i64 %34 to double %36 = fdiv double %33, %35 ret double %36 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmptya2jcw0.c' source_filename = "/tmp/tmptya2jcw0.c" target datalayout = "e-m:e-p270: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 @libm_sqrtf(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call float @sqrtf(float noundef %3) #2 ret float %4 } ; Function Attrs: nounwind declare float @sqrtf(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptya2jcw0.c" target datalayout = "e-m:e-p270: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 @libm_sqrtf(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call float @sqrtf(float noundef %3) #2 ret float %4 } ; Function Attrs: nounwind declare float @sqrtf(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7a99dikm.c' source_filename = "/tmp/tmp7a99dikm.c" target datalayout = "e-m:e-p270: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/tmp7a99dikm.c" target datalayout = "e-m:e-p270: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/tmp2na19zlx.c' source_filename = "/tmp/tmp2na19zlx.c" target datalayout = "e-m:e-p270: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/tmp2na19zlx.c" target datalayout = "e-m:e-p270: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/tmpxtmcpvjp.c' source_filename = "/tmp/tmpxtmcpvjp.c" target datalayout = "e-m:e-p270: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 @hash(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 br label %6 6: ; preds = %20, %1 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strlen(ptr noundef %8) %10 = icmp slt i32 %7, %9 br i1 %10, label %11, label %23 11: ; preds = %6 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %4, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, %17 store i32 %19, ptr %5, align 4 br label %20 20: ; preds = %11 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %4, align 4 br label %6, !llvm.loop !6 23: ; preds = %6 %24 = load i32, ptr %5, align 4 %25 = srem i32 %24, 1024 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %23 store i32 7, ptr %2, align 4 br label %31 28: ; preds = %23 %29 = load i32, ptr %5, align 4 %30 = srem i32 %29, 1024 store i32 %30, ptr %2, align 4 br label %31 31: ; preds = %28, %27 %32 = load i32, ptr %2, align 4 ret i32 %32 } 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/tmpxtmcpvjp.c" target datalayout = "e-m:e-p270: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 @hash(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = icmp slt i32 %6, %8 br i1 %9, label %.lr.ph, label %26 .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %19 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %4, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, %16 store i32 %18, ptr %5, align 4 br label %19 19: ; preds = %10 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %4, align 4 %22 = load i32, ptr %4, align 4 %23 = load ptr, ptr %3, align 8 %24 = call i32 @strlen(ptr noundef %23) %25 = icmp slt i32 %22, %24 br i1 %25, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %26 26: ; preds = %._crit_edge, %1 %27 = load i32, ptr %5, align 4 %28 = srem i32 %27, 1024 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %26 store i32 7, ptr %2, align 4 br label %34 31: ; preds = %26 %32 = load i32, ptr %5, align 4 %33 = srem i32 %32, 1024 store i32 %33, ptr %2, align 4 br label %34 34: ; preds = %31, %30 %35 = load i32, ptr %2, align 4 ret i32 %35 } 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/tmp4146r9q6.c' source_filename = "/tmp/tmp4146r9q6.c" target datalayout = "e-m:e-p270: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 [11 x i8] c"NOT MAGIC\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"MAGIC\0A\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() #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 [20 x [20 x i32]], align 16 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %6, align 4 %12 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %7, align 4 %13 = load i32, ptr %2, align 4 %14 = zext i32 %13 to i64 %15 = call ptr @llvm.stacksave() store ptr %15, ptr %9, align 8 %16 = alloca i32, i64 %14, align 16 store i64 %14, ptr %10, align 8 %17 = load i32, ptr %2, align 4 %18 = zext i32 %17 to i64 %19 = alloca i32, i64 %18, align 16 store i64 %18, ptr %11, align 8 store i32 0, ptr %3, align 4 br label %20 20: ; preds = %31, %0 %21 = load i32, ptr %3, align 4 %22 = load i32, ptr %2, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %34 24: ; preds = %20 %25 = load i32, ptr %3, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %16, i64 %26 store i32 0, ptr %27, align 4 %28 = load i32, ptr %3, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %19, i64 %29 store i32 0, ptr %30, align 4 br label %31 31: ; preds = %24 %32 = load i32, ptr %3, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %3, align 4 br label %20, !llvm.loop !6 34: ; preds = %20 store i32 0, ptr %4, align 4 br label %35 35: ; preds = %116, %34 %36 = load i32, ptr %4, align 4 %37 = load i32, ptr %2, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %39, label %119 39: ; preds = %35 store i32 0, ptr %5, align 4 br label %40 40: ; preds = %67, %39 %41 = load i32, ptr %5, align 4 %42 = load i32, ptr %2, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %44, label %70 44: ; preds = %40 %45 = load i32, ptr %4, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [20 x [20 x i32]], ptr %8, i64 0, i64 %46 %48 = load i32, ptr %5, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [20 x i32], ptr %47, i64 0, i64 %49 %51 = call i32 @scanf(ptr noundef @.str, ptr noundef %50) %52 = load i32, ptr %4, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %16, i64 %53 %55 = load i32, ptr %54, align 4 %56 = load i32, ptr %4, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [20 x [20 x i32]], ptr %8, i64 0, i64 %57 %59 = load i32, ptr %5, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [20 x i32], ptr %58, i64 0, i64 %60 %62 = load i32, ptr %61, align 4 %63 = add nsw i32 %55, %62 %64 = load i32, ptr %4, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i32, ptr %16, i64 %65 store i32 %63, ptr %66, align 4 br label %67 67: ; preds = %44 %68 = load i32, ptr %5, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %5, align 4 br label %40, !llvm.loop !8 70: ; preds = %40 %71 = load i32, ptr %6, align 4 %72 = load i32, ptr %4, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds [20 x [20 x i32]], ptr %8, i64 0, i64 %73 %75 = load i32, ptr %4, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds [20 x i32], ptr %74, i64 0, i64 %76 %78 = load i32, ptr %77, align 4 %79 = add nsw i32 %71, %78 store i32 %79, ptr %6, align 4 %80 = load i32, ptr %7, align 4 %81 = load i32, ptr %4, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds [20 x [20 x i32]], ptr %8, i64 0, i64 %82 %84 = load i32, ptr %5, align 4 %85 = load i32, ptr %4, align 4 %86 = add nsw i32 %85, 1 %87 = sub nsw i32 %84, %86 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [20 x i32], ptr %83, i64 0, i64 %88 %90 = load i32, ptr %89, align 4 %91 = add nsw i32 %80, %90 store i32 %91, ptr %7, align 4 store i32 0, ptr %3, align 4 br label %92 92: ; preds = %112, %70 %93 = load i32, ptr %3, align 4 %94 = load i32, ptr %2, align 4 %95 = icmp slt i32 %93, %94 br i1 %95, label %96, label %115 96: ; preds = %92 %97 = load i32, ptr %3, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds i32, ptr %19, i64 %98 %100 = load i32, ptr %99, align 4 %101 = load i32, ptr %4, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds [20 x [20 x i32]], ptr %8, i64 0, i64 %102 %104 = load i32, ptr %3, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds [20 x i32], ptr %103, i64 0, i64 %105 %107 = load i32, ptr %106, align 4 %108 = add nsw i32 %100, %107 %109 = load i32, ptr %3, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds i32, ptr %19, i64 %110 store i32 %108, ptr %111, align 4 br label %112 112: ; preds = %96 %113 = load i32, ptr %3, align 4 %114 = add nsw i32 %113, 1 store i32 %114, ptr %3, align 4 br label %92, !llvm.loop !9 115: ; preds = %92 br label %116 116: ; preds = %115 %117 = load i32, ptr %4, align 4 %118 = add nsw i32 %117, 1 store i32 %118, ptr %4, align 4 br label %35, !llvm.loop !10 119: ; preds = %35 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %120 120: ; preds = %153, %119 %121 = load i32, ptr %3, align 4 %122 = load i32, ptr %2, align 4 %123 = icmp slt i32 %121, %122 br i1 %123, label %124, label %156 124: ; preds = %120 %125 = load i32, ptr %4, align 4 %126 = load i32, ptr %3, align 4 %127 = add nsw i32 %125, %126 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds i32, ptr %16, i64 %128 %130 = load i32, ptr %129, align 4 %131 = icmp ne i32 %130, 0 br i1 %131, label %132, label %144 132: ; preds = %124 %133 = load i32, ptr %3, align 4 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds i32, ptr %19, i64 %134 %136 = load i32, ptr %135, align 4 %137 = load i32, ptr %3, align 4 %138 = load i32, ptr %4, align 4 %139 = add nsw i32 %137, %138 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds i32, ptr %19, i64 %140 %142 = load i32, ptr %141, align 4 %143 = icmp ne i32 %136, %142 br label %144 144: ; preds = %132, %124 %145 = phi i1 [ true, %124 ], [ %143, %132 ] %146 = zext i1 %145 to i32 %147 = load i32, ptr %4, align 4 %148 = sext i32 %147 to i64 %149 = getelementptr inbounds i32, ptr %16, i64 %148 store i32 %146, ptr %149, align 4 br i1 %145, label %150, label %152 150: ; preds = %144 %151 = call i32 @printf(ptr noundef @.str.1) br label %156 152: ; preds = %144 br label %153 153: ; preds = %152 %154 = load i32, ptr %3, align 4 %155 = add nsw i32 %154, 1 store i32 %155, ptr %3, align 4 br label %120, !llvm.loop !11 156: ; preds = %150, %120 %157 = load i32, ptr %6, align 4 %158 = getelementptr inbounds i32, ptr %16, i64 1 %159 = load i32, ptr %158, align 4 %160 = icmp ne i32 %157, %159 br i1 %160, label %170, label %161 161: ; preds = %156 %162 = load i32, ptr %6, align 4 %163 = getelementptr inbounds i32, ptr %19, i64 1 %164 = load i32, ptr %163, align 4 %165 = icmp ne i32 %162, %164 br i1 %165, label %170, label %166 166: ; preds = %161 %167 = load i32, ptr %6, align 4 %168 = load i32, ptr %7, align 4 %169 = icmp ne i32 %167, %168 br i1 %169, label %170, label %172 170: ; preds = %166, %161, %156 %171 = call i32 @printf(ptr noundef @.str.1) br label %174 172: ; preds = %166 %173 = call i32 @printf(ptr noundef @.str.2) br label %174 174: ; preds = %172, %170 %175 = call i32 @printf(ptr noundef @.str.3) store i32 0, ptr %1, align 4 %176 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %176) %177 = load i32, ptr %1, align 4 ret i32 %177 } declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @printf(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4146r9q6.c" target datalayout = "e-m:e-p270: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 [11 x i8] c"NOT MAGIC\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"MAGIC\0A\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() #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 [20 x [20 x i32]], align 16 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %6, align 4 %12 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %7, align 4 %13 = load i32, ptr %2, align 4 %14 = zext i32 %13 to i64 %15 = call ptr @llvm.stacksave() store ptr %15, ptr %9, align 8 %16 = alloca i32, i64 %14, align 16 store i64 %14, ptr %10, align 8 %17 = load i32, ptr %2, align 4 %18 = zext i32 %17 to i64 %19 = alloca i32, i64 %18, align 16 store i64 %18, ptr %11, align 8 store i32 0, ptr %3, align 4 %20 = load i32, ptr %3, align 4 %21 = load i32, ptr %2, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph, label %36 .lr.ph: ; preds = %0 br label %23 23: ; preds = %.lr.ph, %30 %24 = load i32, ptr %3, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %16, i64 %25 store i32 0, ptr %26, align 4 %27 = load i32, ptr %3, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %19, i64 %28 store i32 0, ptr %29, align 4 br label %30 30: ; preds = %23 %31 = load i32, ptr %3, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %3, align 4 %33 = load i32, ptr %3, align 4 %34 = load i32, ptr %2, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %36 36: ; preds = %._crit_edge, %0 store i32 0, ptr %4, align 4 %37 = load i32, ptr %4, align 4 %38 = load i32, ptr %2, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %.lr.ph8, label %127 .lr.ph8: ; preds = %36 br label %40 40: ; preds = %.lr.ph8, %121 store i32 0, ptr %5, align 4 %41 = load i32, ptr %5, align 4 %42 = load i32, ptr %2, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %.lr.ph2, label %73 .lr.ph2: ; preds = %40 br label %44 44: ; preds = %.lr.ph2, %67 %45 = load i32, ptr %4, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [20 x [20 x i32]], ptr %8, i64 0, i64 %46 %48 = load i32, ptr %5, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [20 x i32], ptr %47, i64 0, i64 %49 %51 = call i32 @scanf(ptr noundef @.str, ptr noundef %50) %52 = load i32, ptr %4, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %16, i64 %53 %55 = load i32, ptr %54, align 4 %56 = load i32, ptr %4, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [20 x [20 x i32]], ptr %8, i64 0, i64 %57 %59 = load i32, ptr %5, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [20 x i32], ptr %58, i64 0, i64 %60 %62 = load i32, ptr %61, align 4 %63 = add nsw i32 %55, %62 %64 = load i32, ptr %4, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i32, ptr %16, i64 %65 store i32 %63, ptr %66, align 4 br label %67 67: ; preds = %44 %68 = load i32, ptr %5, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %5, align 4 %70 = load i32, ptr %5, align 4 %71 = load i32, ptr %2, align 4 %72 = icmp slt i32 %70, %71 br i1 %72, label %44, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %67 br label %73 73: ; preds = %._crit_edge3, %40 %74 = load i32, ptr %6, align 4 %75 = load i32, ptr %4, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds [20 x [20 x i32]], ptr %8, i64 0, i64 %76 %78 = load i32, ptr %4, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [20 x i32], ptr %77, i64 0, i64 %79 %81 = load i32, ptr %80, align 4 %82 = add nsw i32 %74, %81 store i32 %82, ptr %6, align 4 %83 = load i32, ptr %7, align 4 %84 = load i32, ptr %4, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds [20 x [20 x i32]], ptr %8, i64 0, i64 %85 %87 = load i32, ptr %5, align 4 %88 = load i32, ptr %4, align 4 %89 = add nsw i32 %88, 1 %90 = sub nsw i32 %87, %89 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds [20 x i32], ptr %86, i64 0, i64 %91 %93 = load i32, ptr %92, align 4 %94 = add nsw i32 %83, %93 store i32 %94, ptr %7, align 4 store i32 0, ptr %3, align 4 %95 = load i32, ptr %3, align 4 %96 = load i32, ptr %2, align 4 %97 = icmp slt i32 %95, %96 br i1 %97, label %.lr.ph5, label %120 .lr.ph5: ; preds = %73 br label %98 98: ; preds = %.lr.ph5, %114 %99 = load i32, ptr %3, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds i32, ptr %19, i64 %100 %102 = load i32, ptr %101, align 4 %103 = load i32, ptr %4, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds [20 x [20 x i32]], ptr %8, i64 0, i64 %104 %106 = load i32, ptr %3, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds [20 x i32], ptr %105, i64 0, i64 %107 %109 = load i32, ptr %108, align 4 %110 = add nsw i32 %102, %109 %111 = load i32, ptr %3, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds i32, ptr %19, i64 %112 store i32 %110, ptr %113, align 4 br label %114 114: ; preds = %98 %115 = load i32, ptr %3, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %3, align 4 %117 = load i32, ptr %3, align 4 %118 = load i32, ptr %2, align 4 %119 = icmp slt i32 %117, %118 br i1 %119, label %98, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %114 br label %120 120: ; preds = %._crit_edge6, %73 br label %121 121: ; preds = %120 %122 = load i32, ptr %4, align 4 %123 = add nsw i32 %122, 1 store i32 %123, ptr %4, align 4 %124 = load i32, ptr %4, align 4 %125 = load i32, ptr %2, align 4 %126 = icmp slt i32 %124, %125 br i1 %126, label %40, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %121 br label %127 127: ; preds = %._crit_edge9, %36 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 %128 = load i32, ptr %3, align 4 %129 = load i32, ptr %2, align 4 %130 = icmp slt i32 %128, %129 br i1 %130, label %.lr.ph11, label %.loopexit .lr.ph11: ; preds = %127 br label %131 131: ; preds = %.lr.ph11, %160 %132 = load i32, ptr %4, align 4 %133 = load i32, ptr %3, align 4 %134 = add nsw i32 %132, %133 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds i32, ptr %16, i64 %135 %137 = load i32, ptr %136, align 4 %138 = icmp ne i32 %137, 0 br i1 %138, label %139, label %151 139: ; preds = %131 %140 = load i32, ptr %3, align 4 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds i32, ptr %19, i64 %141 %143 = load i32, ptr %142, align 4 %144 = load i32, ptr %3, align 4 %145 = load i32, ptr %4, align 4 %146 = add nsw i32 %144, %145 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds i32, ptr %19, i64 %147 %149 = load i32, ptr %148, align 4 %150 = icmp ne i32 %143, %149 br label %151 151: ; preds = %139, %131 %152 = phi i1 [ true, %131 ], [ %150, %139 ] %153 = zext i1 %152 to i32 %154 = load i32, ptr %4, align 4 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds i32, ptr %16, i64 %155 store i32 %153, ptr %156, align 4 br i1 %152, label %157, label %159 157: ; preds = %151 %158 = call i32 @printf(ptr noundef @.str.1) br label %166 159: ; preds = %151 br label %160 160: ; preds = %159 %161 = load i32, ptr %3, align 4 %162 = add nsw i32 %161, 1 store i32 %162, ptr %3, align 4 %163 = load i32, ptr %3, align 4 %164 = load i32, ptr %2, align 4 %165 = icmp slt i32 %163, %164 br i1 %165, label %131, label %..loopexit_crit_edge, !llvm.loop !11 ..loopexit_crit_edge: ; preds = %160 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %127 br label %166 166: ; preds = %.loopexit, %157 %167 = load i32, ptr %6, align 4 %168 = getelementptr inbounds i32, ptr %16, i64 1 %169 = load i32, ptr %168, align 4 %170 = icmp ne i32 %167, %169 br i1 %170, label %180, label %171 171: ; preds = %166 %172 = load i32, ptr %6, align 4 %173 = getelementptr inbounds i32, ptr %19, i64 1 %174 = load i32, ptr %173, align 4 %175 = icmp ne i32 %172, %174 br i1 %175, label %180, label %176 176: ; preds = %171 %177 = load i32, ptr %6, align 4 %178 = load i32, ptr %7, align 4 %179 = icmp ne i32 %177, %178 br i1 %179, label %180, label %182 180: ; preds = %176, %171, %166 %181 = call i32 @printf(ptr noundef @.str.1) br label %184 182: ; preds = %176 %183 = call i32 @printf(ptr noundef @.str.2) br label %184 184: ; preds = %182, %180 %185 = call i32 @printf(ptr noundef @.str.3) store i32 0, ptr %1, align 4 %186 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %186) %187 = load i32, ptr %1, align 4 ret i32 %187 } declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @printf(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpg7l8ggg4.c' source_filename = "/tmp/tmpg7l8ggg4.c" target datalayout = "e-m:e-p270: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"fork error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Fork() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @fork() store i32 %2, ptr %1, align 4 %3 = icmp eq i32 %2, -1 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = call i32 @err_sys(ptr noundef @.str) br label %6 6: ; preds = %4, %0 %7 = load i32, ptr %1, align 4 ret i32 %7 } declare i32 @fork(...) #1 declare i32 @err_sys(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/tmpg7l8ggg4.c" target datalayout = "e-m:e-p270: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"fork error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Fork() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @fork() store i32 %2, ptr %1, align 4 %3 = icmp eq i32 %2, -1 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = call i32 @err_sys(ptr noundef @.str) br label %6 6: ; preds = %4, %0 %7 = load i32, ptr %1, align 4 ret i32 %7 } declare i32 @fork(...) #1 declare i32 @err_sys(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/tmp6lgi0isq.c' source_filename = "/tmp/tmp6lgi0isq.c" target datalayout = "e-m:e-p270: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"Please input a number: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"The number your input is %d \0A \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 (ptr, ...) @printf(ptr noundef @.str) %3 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) %4 = load i32, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %4) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6lgi0isq.c" target datalayout = "e-m:e-p270: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"Please input a number: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"The number your input is %d \0A \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 (ptr, ...) @printf(ptr noundef @.str) %3 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) %4 = load i32, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %4) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps8s7ioow.c' source_filename = "/tmp/tmps8s7ioow.c" target datalayout = "e-m:e-p270: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/tmps8s7ioow.c" target datalayout = "e-m:e-p270: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/tmp13_7zhh5.c' source_filename = "/tmp/tmp13_7zhh5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [81 x i8] c"calculate area of square which permiter a and the area of circle whose radius b\0A\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"please input a,b\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%f,%f\00", align 1 @.str.3 = private unnamed_addr constant [35 x i8] c"area square %.2f >area circle %.2f\00", align 1 @.str.4 = private unnamed_addr constant [35 x i8] c"area square %.2f <area circle %.2f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 store i32 0, ptr %1, align 4 store float 0.000000e+00, ptr %2, align 4 store float 0.000000e+00, ptr %3, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %6 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2, ptr noundef %3) %7 = load float, ptr %2, align 4 %8 = fdiv float %7, 4.000000e+00 %9 = load float, ptr %2, align 4 %10 = fdiv float %9, 4.000000e+00 %11 = fmul float %8, %10 %12 = fpext float %11 to double %13 = load float, ptr %3, align 4 %14 = fpext float %13 to double %15 = fmul double 3.140000e+00, %14 %16 = load float, ptr %3, align 4 %17 = fpext float %16 to double %18 = fmul double %15, %17 %19 = fcmp ogt double %12, %18 br i1 %19, label %20, label %34 20: ; preds = %0 %21 = load float, ptr %2, align 4 %22 = fdiv float %21, 4.000000e+00 %23 = load float, ptr %2, align 4 %24 = fdiv float %23, 4.000000e+00 %25 = fmul float %22, %24 %26 = fpext float %25 to double %27 = load float, ptr %3, align 4 %28 = fpext float %27 to double %29 = fmul double 3.140000e+00, %28 %30 = load float, ptr %3, align 4 %31 = fpext float %30 to double %32 = fmul double %29, %31 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %26, double noundef %32) br label %48 34: ; preds = %0 %35 = load float, ptr %2, align 4 %36 = fdiv float %35, 4.000000e+00 %37 = load float, ptr %2, align 4 %38 = fdiv float %37, 4.000000e+00 %39 = fmul float %36, %38 %40 = fpext float %39 to double %41 = load float, ptr %3, align 4 %42 = fpext float %41 to double %43 = fmul double 3.140000e+00, %42 %44 = load float, ptr %3, align 4 %45 = fpext float %44 to double %46 = fmul double %43, %45 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %40, double noundef %46) br label %48 48: ; preds = %34, %20 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp13_7zhh5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [81 x i8] c"calculate area of square which permiter a and the area of circle whose radius b\0A\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"please input a,b\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%f,%f\00", align 1 @.str.3 = private unnamed_addr constant [35 x i8] c"area square %.2f >area circle %.2f\00", align 1 @.str.4 = private unnamed_addr constant [35 x i8] c"area square %.2f <area circle %.2f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 store i32 0, ptr %1, align 4 store float 0.000000e+00, ptr %2, align 4 store float 0.000000e+00, ptr %3, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %6 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2, ptr noundef %3) %7 = load float, ptr %2, align 4 %8 = fdiv float %7, 4.000000e+00 %9 = load float, ptr %2, align 4 %10 = fdiv float %9, 4.000000e+00 %11 = fmul float %8, %10 %12 = fpext float %11 to double %13 = load float, ptr %3, align 4 %14 = fpext float %13 to double %15 = fmul double 3.140000e+00, %14 %16 = load float, ptr %3, align 4 %17 = fpext float %16 to double %18 = fmul double %15, %17 %19 = fcmp ogt double %12, %18 br i1 %19, label %20, label %34 20: ; preds = %0 %21 = load float, ptr %2, align 4 %22 = fdiv float %21, 4.000000e+00 %23 = load float, ptr %2, align 4 %24 = fdiv float %23, 4.000000e+00 %25 = fmul float %22, %24 %26 = fpext float %25 to double %27 = load float, ptr %3, align 4 %28 = fpext float %27 to double %29 = fmul double 3.140000e+00, %28 %30 = load float, ptr %3, align 4 %31 = fpext float %30 to double %32 = fmul double %29, %31 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %26, double noundef %32) br label %48 34: ; preds = %0 %35 = load float, ptr %2, align 4 %36 = fdiv float %35, 4.000000e+00 %37 = load float, ptr %2, align 4 %38 = fdiv float %37, 4.000000e+00 %39 = fmul float %36, %38 %40 = fpext float %39 to double %41 = load float, ptr %3, align 4 %42 = fpext float %41 to double %43 = fmul double 3.140000e+00, %42 %44 = load float, ptr %3, align 4 %45 = fpext float %44 to double %46 = fmul double %43, %45 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %40, double noundef %46) br label %48 48: ; preds = %34, %20 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqm24q4ly.c' source_filename = "/tmp/tmpqm24q4ly.c" target datalayout = "e-m:e-p270: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/tmpqm24q4ly.c" target datalayout = "e-m:e-p270: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/tmpww9d8njt.c' source_filename = "/tmp/tmpww9d8njt.c" target datalayout = "e-m:e-p270: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 @tred2(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca double, align 8 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 store i32 0, ptr %16, align 4 br label %20 20: ; preds = %52, %5 %21 = load i32, ptr %16, align 4 %22 = load i32, ptr %6, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %55 24: ; preds = %20 %25 = load i32, ptr %16, align 4 store i32 %25, ptr %15, align 4 br label %26 26: ; preds = %48, %24 %27 = load i32, ptr %15, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %51 30: ; preds = %26 %31 = load ptr, ptr %7, align 8 %32 = load i32, ptr %15, align 4 %33 = load i32, ptr %16, align 4 %34 = load i32, ptr %6, align 4 %35 = mul nsw i32 %33, %34 %36 = add nsw i32 %32, %35 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds double, ptr %31, i64 %37 %39 = load double, ptr %38, align 8 %40 = load ptr, ptr %10, align 8 %41 = load i32, ptr %15, align 4 %42 = load i32, ptr %16, align 4 %43 = load i32, ptr %6, align 4 %44 = mul nsw i32 %42, %43 %45 = add nsw i32 %41, %44 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds double, ptr %40, i64 %46 store double %39, ptr %47, align 8 br label %48 48: ; preds = %30 %49 = load i32, ptr %15, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %15, align 4 br label %26, !llvm.loop !6 51: ; preds = %26 br label %52 52: ; preds = %51 %53 = load i32, ptr %16, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %16, align 4 br label %20, !llvm.loop !8 55: ; preds = %20 store i32 0, ptr %16, align 4 br label %56 56: ; preds = %75, %55 %57 = load i32, ptr %16, align 4 %58 = load i32, ptr %6, align 4 %59 = icmp slt i32 %57, %58 br i1 %59, label %60, label %78 60: ; preds = %56 %61 = load ptr, ptr %7, align 8 %62 = load i32, ptr %6, align 4 %63 = sub nsw i32 %62, 1 %64 = load i32, ptr %16, align 4 %65 = load i32, ptr %6, align 4 %66 = mul nsw i32 %64, %65 %67 = add nsw i32 %63, %66 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds double, ptr %61, i64 %68 %70 = load double, ptr %69, align 8 %71 = load ptr, ptr %8, align 8 %72 = load i32, ptr %16, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds double, ptr %71, i64 %73 store double %70, ptr %74, align 8 br label %75 75: ; preds = %60 %76 = load i32, ptr %16, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %16, align 4 br label %56, !llvm.loop !9 78: ; preds = %56 %79 = load i32, ptr %6, align 4 %80 = sub nsw i32 %79, 1 store i32 %80, ptr %15, align 4 br label %81 81: ; preds = %493, %78 %82 = load i32, ptr %15, align 4 %83 = icmp sle i32 1, %82 br i1 %83, label %84, label %496 84: ; preds = %81 %85 = load i32, ptr %15, align 4 %86 = sub nsw i32 %85, 1 store i32 %86, ptr %18, align 4 store double 0.000000e+00, ptr %13, align 8 store double 0.000000e+00, ptr %19, align 8 store i32 0, ptr %17, align 4 br label %87 87: ; preds = %100, %84 %88 = load i32, ptr %17, align 4 %89 = load i32, ptr %18, align 4 %90 = icmp sle i32 %88, %89 br i1 %90, label %91, label %103 91: ; preds = %87 %92 = load double, ptr %19, align 8 %93 = load ptr, ptr %8, align 8 %94 = load i32, ptr %17, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds double, ptr %93, i64 %95 %97 = load double, ptr %96, align 8 %98 = call double @r8_abs(double noundef %97) %99 = fadd double %92, %98 store double %99, ptr %19, align 8 br label %100 100: ; preds = %91 %101 = load i32, ptr %17, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %17, align 4 br label %87, !llvm.loop !10 103: ; preds = %87 %104 = load double, ptr %19, align 8 %105 = fcmp oeq double %104, 0.000000e+00 br i1 %105, label %106, label %158 106: ; preds = %103 %107 = load ptr, ptr %8, align 8 %108 = load i32, ptr %18, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds double, ptr %107, i64 %109 %111 = load double, ptr %110, align 8 %112 = load ptr, ptr %9, align 8 %113 = load i32, ptr %15, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds double, ptr %112, i64 %114 store double %111, ptr %115, align 8 store i32 0, ptr %16, align 4 br label %116 116: ; preds = %150, %106 %117 = load i32, ptr %16, align 4 %118 = load i32, ptr %18, align 4 %119 = icmp sle i32 %117, %118 br i1 %119, label %120, label %153 120: ; preds = %116 %121 = load ptr, ptr %10, align 8 %122 = load i32, ptr %18, align 4 %123 = load i32, ptr %16, align 4 %124 = load i32, ptr %6, align 4 %125 = mul nsw i32 %123, %124 %126 = add nsw i32 %122, %125 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds double, ptr %121, i64 %127 %129 = load double, ptr %128, align 8 %130 = load ptr, ptr %8, align 8 %131 = load i32, ptr %16, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds double, ptr %130, i64 %132 store double %129, ptr %133, align 8 %134 = load ptr, ptr %10, align 8 %135 = load i32, ptr %15, align 4 %136 = load i32, ptr %16, align 4 %137 = load i32, ptr %6, align 4 %138 = mul nsw i32 %136, %137 %139 = add nsw i32 %135, %138 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds double, ptr %134, i64 %140 store double 0.000000e+00, ptr %141, align 8 %142 = load ptr, ptr %10, align 8 %143 = load i32, ptr %16, align 4 %144 = load i32, ptr %15, align 4 %145 = load i32, ptr %6, align 4 %146 = mul nsw i32 %144, %145 %147 = add nsw i32 %143, %146 %148 = sext i32 %147 to i64 %149 = getelementptr inbounds double, ptr %142, i64 %148 store double 0.000000e+00, ptr %149, align 8 br label %150 150: ; preds = %120 %151 = load i32, ptr %16, align 4 %152 = add nsw i32 %151, 1 store i32 %152, ptr %16, align 4 br label %116, !llvm.loop !11 153: ; preds = %116 %154 = load ptr, ptr %8, align 8 %155 = load i32, ptr %15, align 4 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds double, ptr %154, i64 %156 store double 0.000000e+00, ptr %157, align 8 br label %493 158: ; preds = %103 store i32 0, ptr %17, align 4 br label %159 159: ; preds = %175, %158 %160 = load i32, ptr %17, align 4 %161 = load i32, ptr %18, align 4 %162 = icmp sle i32 %160, %161 br i1 %162, label %163, label %178 163: ; preds = %159 %164 = load ptr, ptr %8, align 8 %165 = load i32, ptr %17, align 4 %166 = sext i32 %165 to i64 %167 = getelementptr inbounds double, ptr %164, i64 %166 %168 = load double, ptr %167, align 8 %169 = load double, ptr %19, align 8 %170 = fdiv double %168, %169 %171 = load ptr, ptr %8, align 8 %172 = load i32, ptr %17, align 4 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds double, ptr %171, i64 %173 store double %170, ptr %174, align 8 br label %175 175: ; preds = %163 %176 = load i32, ptr %17, align 4 %177 = add nsw i32 %176, 1 store i32 %177, ptr %17, align 4 br label %159, !llvm.loop !12 178: ; preds = %159 store double 0.000000e+00, ptr %13, align 8 store i32 0, ptr %17, align 4 br label %179 179: ; preds = %196, %178 %180 = load i32, ptr %17, align 4 %181 = load i32, ptr %18, align 4 %182 = icmp sle i32 %180, %181 br i1 %182, label %183, label %199 183: ; preds = %179 %184 = load double, ptr %13, align 8 %185 = load ptr, ptr %8, align 8 %186 = load i32, ptr %17, align 4 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds double, ptr %185, i64 %187 %189 = load double, ptr %188, align 8 %190 = load ptr, ptr %8, align 8 %191 = load i32, ptr %17, align 4 %192 = sext i32 %191 to i64 %193 = getelementptr inbounds double, ptr %190, i64 %192 %194 = load double, ptr %193, align 8 %195 = call double @llvm.fmuladd.f64(double %189, double %194, double %184) store double %195, ptr %13, align 8 br label %196 196: ; preds = %183 %197 = load i32, ptr %17, align 4 %198 = add nsw i32 %197, 1 store i32 %198, ptr %17, align 4 br label %179, !llvm.loop !13 199: ; preds = %179 %200 = load ptr, ptr %8, align 8 %201 = load i32, ptr %18, align 4 %202 = sext i32 %201 to i64 %203 = getelementptr inbounds double, ptr %200, i64 %202 %204 = load double, ptr %203, align 8 store double %204, ptr %11, align 8 %205 = load double, ptr %13, align 8 %206 = call double @sqrt(double noundef %205) #4 %207 = fneg double %206 %208 = load double, ptr %11, align 8 %209 = call double @r8_sign(double noundef %208) %210 = fmul double %207, %209 store double %210, ptr %12, align 8 %211 = load double, ptr %19, align 8 %212 = load double, ptr %12, align 8 %213 = fmul double %211, %212 %214 = load ptr, ptr %9, align 8 %215 = load i32, ptr %15, align 4 %216 = sext i32 %215 to i64 %217 = getelementptr inbounds double, ptr %214, i64 %216 store double %213, ptr %217, align 8 %218 = load double, ptr %13, align 8 %219 = load double, ptr %11, align 8 %220 = load double, ptr %12, align 8 %221 = fneg double %219 %222 = call double @llvm.fmuladd.f64(double %221, double %220, double %218) store double %222, ptr %13, align 8 %223 = load double, ptr %11, align 8 %224 = load double, ptr %12, align 8 %225 = fsub double %223, %224 %226 = load ptr, ptr %8, align 8 %227 = load i32, ptr %18, align 4 %228 = sext i32 %227 to i64 %229 = getelementptr inbounds double, ptr %226, i64 %228 store double %225, ptr %229, align 8 store i32 0, ptr %17, align 4 br label %230 230: ; preds = %239, %199 %231 = load i32, ptr %17, align 4 %232 = load i32, ptr %18, align 4 %233 = icmp sle i32 %231, %232 br i1 %233, label %234, label %242 234: ; preds = %230 %235 = load ptr, ptr %9, align 8 %236 = load i32, ptr %17, align 4 %237 = sext i32 %236 to i64 %238 = getelementptr inbounds double, ptr %235, i64 %237 store double 0.000000e+00, ptr %238, align 8 br label %239 239: ; preds = %234 %240 = load i32, ptr %17, align 4 %241 = add nsw i32 %240, 1 store i32 %241, ptr %17, align 4 br label %230, !llvm.loop !14 242: ; preds = %230 store i32 0, ptr %16, align 4 br label %243 243: ; preds = %330, %242 %244 = load i32, ptr %16, align 4 %245 = load i32, ptr %18, align 4 %246 = icmp sle i32 %244, %245 br i1 %246, label %247, label %333 247: ; preds = %243 %248 = load ptr, ptr %8, align 8 %249 = load i32, ptr %16, align 4 %250 = sext i32 %249 to i64 %251 = getelementptr inbounds double, ptr %248, i64 %250 %252 = load double, ptr %251, align 8 store double %252, ptr %11, align 8 %253 = load double, ptr %11, align 8 %254 = load ptr, ptr %10, align 8 %255 = load i32, ptr %16, align 4 %256 = load i32, ptr %15, align 4 %257 = load i32, ptr %6, align 4 %258 = mul nsw i32 %256, %257 %259 = add nsw i32 %255, %258 %260 = sext i32 %259 to i64 %261 = getelementptr inbounds double, ptr %254, i64 %260 store double %253, ptr %261, align 8 %262 = load ptr, ptr %9, align 8 %263 = load i32, ptr %16, align 4 %264 = sext i32 %263 to i64 %265 = getelementptr inbounds double, ptr %262, i64 %264 %266 = load double, ptr %265, align 8 %267 = load ptr, ptr %10, align 8 %268 = load i32, ptr %16, align 4 %269 = load i32, ptr %16, align 4 %270 = load i32, ptr %6, align 4 %271 = mul nsw i32 %269, %270 %272 = add nsw i32 %268, %271 %273 = sext i32 %272 to i64 %274 = getelementptr inbounds double, ptr %267, i64 %273 %275 = load double, ptr %274, align 8 %276 = load double, ptr %11, align 8 %277 = call double @llvm.fmuladd.f64(double %275, double %276, double %266) store double %277, ptr %12, align 8 %278 = load i32, ptr %16, align 4 %279 = add nsw i32 %278, 1 store i32 %279, ptr %17, align 4 br label %280 280: ; preds = %321, %247 %281 = load i32, ptr %17, align 4 %282 = load i32, ptr %18, align 4 %283 = icmp sle i32 %281, %282 br i1 %283, label %284, label %324 284: ; preds = %280 %285 = load double, ptr %12, align 8 %286 = load ptr, ptr %10, align 8 %287 = load i32, ptr %17, align 4 %288 = load i32, ptr %16, align 4 %289 = load i32, ptr %6, align 4 %290 = mul nsw i32 %288, %289 %291 = add nsw i32 %287, %290 %292 = sext i32 %291 to i64 %293 = getelementptr inbounds double, ptr %286, i64 %292 %294 = load double, ptr %293, align 8 %295 = load ptr, ptr %8, align 8 %296 = load i32, ptr %17, align 4 %297 = sext i32 %296 to i64 %298 = getelementptr inbounds double, ptr %295, i64 %297 %299 = load double, ptr %298, align 8 %300 = call double @llvm.fmuladd.f64(double %294, double %299, double %285) store double %300, ptr %12, align 8 %301 = load ptr, ptr %9, align 8 %302 = load i32, ptr %17, align 4 %303 = sext i32 %302 to i64 %304 = getelementptr inbounds double, ptr %301, i64 %303 %305 = load double, ptr %304, align 8 %306 = load ptr, ptr %10, align 8 %307 = load i32, ptr %17, align 4 %308 = load i32, ptr %16, align 4 %309 = load i32, ptr %6, align 4 %310 = mul nsw i32 %308, %309 %311 = add nsw i32 %307, %310 %312 = sext i32 %311 to i64 %313 = getelementptr inbounds double, ptr %306, i64 %312 %314 = load double, ptr %313, align 8 %315 = load double, ptr %11, align 8 %316 = call double @llvm.fmuladd.f64(double %314, double %315, double %305) %317 = load ptr, ptr %9, align 8 %318 = load i32, ptr %17, align 4 %319 = sext i32 %318 to i64 %320 = getelementptr inbounds double, ptr %317, i64 %319 store double %316, ptr %320, align 8 br label %321 321: ; preds = %284 %322 = load i32, ptr %17, align 4 %323 = add nsw i32 %322, 1 store i32 %323, ptr %17, align 4 br label %280, !llvm.loop !15 324: ; preds = %280 %325 = load double, ptr %12, align 8 %326 = load ptr, ptr %9, align 8 %327 = load i32, ptr %16, align 4 %328 = sext i32 %327 to i64 %329 = getelementptr inbounds double, ptr %326, i64 %328 store double %325, ptr %329, align 8 br label %330 330: ; preds = %324 %331 = load i32, ptr %16, align 4 %332 = add nsw i32 %331, 1 store i32 %332, ptr %16, align 4 br label %243, !llvm.loop !16 333: ; preds = %243 store i32 0, ptr %17, align 4 br label %334 334: ; preds = %350, %333 %335 = load i32, ptr %17, align 4 %336 = load i32, ptr %18, align 4 %337 = icmp sle i32 %335, %336 br i1 %337, label %338, label %353 338: ; preds = %334 %339 = load ptr, ptr %9, align 8 %340 = load i32, ptr %17, align 4 %341 = sext i32 %340 to i64 %342 = getelementptr inbounds double, ptr %339, i64 %341 %343 = load double, ptr %342, align 8 %344 = load double, ptr %13, align 8 %345 = fdiv double %343, %344 %346 = load ptr, ptr %9, align 8 %347 = load i32, ptr %17, align 4 %348 = sext i32 %347 to i64 %349 = getelementptr inbounds double, ptr %346, i64 %348 store double %345, ptr %349, align 8 br label %350 350: ; preds = %338 %351 = load i32, ptr %17, align 4 %352 = add nsw i32 %351, 1 store i32 %352, ptr %17, align 4 br label %334, !llvm.loop !17 353: ; preds = %334 store double 0.000000e+00, ptr %11, align 8 store i32 0, ptr %17, align 4 br label %354 354: ; preds = %371, %353 %355 = load i32, ptr %17, align 4 %356 = load i32, ptr %18, align 4 %357 = icmp sle i32 %355, %356 br i1 %357, label %358, label %374 358: ; preds = %354 %359 = load double, ptr %11, align 8 %360 = load ptr, ptr %9, align 8 %361 = load i32, ptr %17, align 4 %362 = sext i32 %361 to i64 %363 = getelementptr inbounds double, ptr %360, i64 %362 %364 = load double, ptr %363, align 8 %365 = load ptr, ptr %8, align 8 %366 = load i32, ptr %17, align 4 %367 = sext i32 %366 to i64 %368 = getelementptr inbounds double, ptr %365, i64 %367 %369 = load double, ptr %368, align 8 %370 = call double @llvm.fmuladd.f64(double %364, double %369, double %359) store double %370, ptr %11, align 8 br label %371 371: ; preds = %358 %372 = load i32, ptr %17, align 4 %373 = add nsw i32 %372, 1 store i32 %373, ptr %17, align 4 br label %354, !llvm.loop !18 374: ; preds = %354 %375 = load double, ptr %11, align 8 %376 = fmul double 5.000000e-01, %375 %377 = load double, ptr %13, align 8 %378 = fdiv double %376, %377 store double %378, ptr %14, align 8 store i32 0, ptr %17, align 4 br label %379 379: ; preds = %401, %374 %380 = load i32, ptr %17, align 4 %381 = load i32, ptr %18, align 4 %382 = icmp sle i32 %380, %381 br i1 %382, label %383, label %404 383: ; preds = %379 %384 = load ptr, ptr %9, align 8 %385 = load i32, ptr %17, align 4 %386 = sext i32 %385 to i64 %387 = getelementptr inbounds double, ptr %384, i64 %386 %388 = load double, ptr %387, align 8 %389 = load double, ptr %14, align 8 %390 = load ptr, ptr %8, align 8 %391 = load i32, ptr %17, align 4 %392 = sext i32 %391 to i64 %393 = getelementptr inbounds double, ptr %390, i64 %392 %394 = load double, ptr %393, align 8 %395 = fneg double %389 %396 = call double @llvm.fmuladd.f64(double %395, double %394, double %388) %397 = load ptr, ptr %9, align 8 %398 = load i32, ptr %17, align 4 %399 = sext i32 %398 to i64 %400 = getelementptr inbounds double, ptr %397, i64 %399 store double %396, ptr %400, align 8 br label %401 401: ; preds = %383 %402 = load i32, ptr %17, align 4 %403 = add nsw i32 %402, 1 store i32 %403, ptr %17, align 4 br label %379, !llvm.loop !19 404: ; preds = %379 store i32 0, ptr %16, align 4 br label %405 405: ; preds = %484, %404 %406 = load i32, ptr %16, align 4 %407 = load i32, ptr %18, align 4 %408 = icmp sle i32 %406, %407 br i1 %408, label %409, label %487 409: ; preds = %405 %410 = load ptr, ptr %8, align 8 %411 = load i32, ptr %16, align 4 %412 = sext i32 %411 to i64 %413 = getelementptr inbounds double, ptr %410, i64 %412 %414 = load double, ptr %413, align 8 store double %414, ptr %11, align 8 %415 = load ptr, ptr %9, align 8 %416 = load i32, ptr %16, align 4 %417 = sext i32 %416 to i64 %418 = getelementptr inbounds double, ptr %415, i64 %417 %419 = load double, ptr %418, align 8 store double %419, ptr %12, align 8 %420 = load i32, ptr %16, align 4 store i32 %420, ptr %17, align 4 br label %421 421: ; preds = %459, %409 %422 = load i32, ptr %17, align 4 %423 = load i32, ptr %18, align 4 %424 = icmp sle i32 %422, %423 br i1 %424, label %425, label %462 425: ; preds = %421 %426 = load ptr, ptr %10, align 8 %427 = load i32, ptr %17, align 4 %428 = load i32, ptr %16, align 4 %429 = load i32, ptr %6, align 4 %430 = mul nsw i32 %428, %429 %431 = add nsw i32 %427, %430 %432 = sext i32 %431 to i64 %433 = getelementptr inbounds double, ptr %426, i64 %432 %434 = load double, ptr %433, align 8 %435 = load double, ptr %11, align 8 %436 = load ptr, ptr %9, align 8 %437 = load i32, ptr %17, align 4 %438 = sext i32 %437 to i64 %439 = getelementptr inbounds double, ptr %436, i64 %438 %440 = load double, ptr %439, align 8 %441 = fneg double %435 %442 = call double @llvm.fmuladd.f64(double %441, double %440, double %434) %443 = load double, ptr %12, align 8 %444 = load ptr, ptr %8, align 8 %445 = load i32, ptr %17, align 4 %446 = sext i32 %445 to i64 %447 = getelementptr inbounds double, ptr %444, i64 %446 %448 = load double, ptr %447, align 8 %449 = fneg double %443 %450 = call double @llvm.fmuladd.f64(double %449, double %448, double %442) %451 = load ptr, ptr %10, align 8 %452 = load i32, ptr %17, align 4 %453 = load i32, ptr %16, align 4 %454 = load i32, ptr %6, align 4 %455 = mul nsw i32 %453, %454 %456 = add nsw i32 %452, %455 %457 = sext i32 %456 to i64 %458 = getelementptr inbounds double, ptr %451, i64 %457 store double %450, ptr %458, align 8 br label %459 459: ; preds = %425 %460 = load i32, ptr %17, align 4 %461 = add nsw i32 %460, 1 store i32 %461, ptr %17, align 4 br label %421, !llvm.loop !20 462: ; preds = %421 %463 = load ptr, ptr %10, align 8 %464 = load i32, ptr %18, align 4 %465 = load i32, ptr %16, align 4 %466 = load i32, ptr %6, align 4 %467 = mul nsw i32 %465, %466 %468 = add nsw i32 %464, %467 %469 = sext i32 %468 to i64 %470 = getelementptr inbounds double, ptr %463, i64 %469 %471 = load double, ptr %470, align 8 %472 = load ptr, ptr %8, align 8 %473 = load i32, ptr %16, align 4 %474 = sext i32 %473 to i64 %475 = getelementptr inbounds double, ptr %472, i64 %474 store double %471, ptr %475, align 8 %476 = load ptr, ptr %10, align 8 %477 = load i32, ptr %15, align 4 %478 = load i32, ptr %16, align 4 %479 = load i32, ptr %6, align 4 %480 = mul nsw i32 %478, %479 %481 = add nsw i32 %477, %480 %482 = sext i32 %481 to i64 %483 = getelementptr inbounds double, ptr %476, i64 %482 store double 0.000000e+00, ptr %483, align 8 br label %484 484: ; preds = %462 %485 = load i32, ptr %16, align 4 %486 = add nsw i32 %485, 1 store i32 %486, ptr %16, align 4 br label %405, !llvm.loop !21 487: ; preds = %405 %488 = load double, ptr %13, align 8 %489 = load ptr, ptr %8, align 8 %490 = load i32, ptr %15, align 4 %491 = sext i32 %490 to i64 %492 = getelementptr inbounds double, ptr %489, i64 %491 store double %488, ptr %492, align 8 br label %493 493: ; preds = %487, %153 %494 = load i32, ptr %15, align 4 %495 = add nsw i32 %494, -1 store i32 %495, ptr %15, align 4 br label %81, !llvm.loop !22 496: ; preds = %81 store i32 1, ptr %15, align 4 br label %497 497: ; preds = %652, %496 %498 = load i32, ptr %15, align 4 %499 = load i32, ptr %6, align 4 %500 = icmp slt i32 %498, %499 br i1 %500, label %501, label %655 501: ; preds = %497 %502 = load i32, ptr %15, align 4 %503 = sub nsw i32 %502, 1 store i32 %503, ptr %18, align 4 %504 = load ptr, ptr %10, align 8 %505 = load i32, ptr %18, align 4 %506 = load i32, ptr %18, align 4 %507 = load i32, ptr %6, align 4 %508 = mul nsw i32 %506, %507 %509 = add nsw i32 %505, %508 %510 = sext i32 %509 to i64 %511 = getelementptr inbounds double, ptr %504, i64 %510 %512 = load double, ptr %511, align 8 %513 = load ptr, ptr %10, align 8 %514 = load i32, ptr %6, align 4 %515 = sub nsw i32 %514, 1 %516 = load i32, ptr %18, align 4 %517 = load i32, ptr %6, align 4 %518 = mul nsw i32 %516, %517 %519 = add nsw i32 %515, %518 %520 = sext i32 %519 to i64 %521 = getelementptr inbounds double, ptr %513, i64 %520 store double %512, ptr %521, align 8 %522 = load ptr, ptr %10, align 8 %523 = load i32, ptr %18, align 4 %524 = load i32, ptr %18, align 4 %525 = load i32, ptr %6, align 4 %526 = mul nsw i32 %524, %525 %527 = add nsw i32 %523, %526 %528 = sext i32 %527 to i64 %529 = getelementptr inbounds double, ptr %522, i64 %528 store double 1.000000e+00, ptr %529, align 8 %530 = load ptr, ptr %8, align 8 %531 = load i32, ptr %15, align 4 %532 = sext i32 %531 to i64 %533 = getelementptr inbounds double, ptr %530, i64 %532 %534 = load double, ptr %533, align 8 store double %534, ptr %13, align 8 %535 = load double, ptr %13, align 8 %536 = fcmp une double %535, 0.000000e+00 br i1 %536, label %537, label %634 537: ; preds = %501 store i32 0, ptr %17, align 4 br label %538 538: ; preds = %558, %537 %539 = load i32, ptr %17, align 4 %540 = load i32, ptr %18, align 4 %541 = icmp sle i32 %539, %540 br i1 %541, label %542, label %561 542: ; preds = %538 %543 = load ptr, ptr %10, align 8 %544 = load i32, ptr %17, align 4 %545 = load i32, ptr %15, align 4 %546 = load i32, ptr %6, align 4 %547 = mul nsw i32 %545, %546 %548 = add nsw i32 %544, %547 %549 = sext i32 %548 to i64 %550 = getelementptr inbounds double, ptr %543, i64 %549 %551 = load double, ptr %550, align 8 %552 = load double, ptr %13, align 8 %553 = fdiv double %551, %552 %554 = load ptr, ptr %8, align 8 %555 = load i32, ptr %17, align 4 %556 = sext i32 %555 to i64 %557 = getelementptr inbounds double, ptr %554, i64 %556 store double %553, ptr %557, align 8 br label %558 558: ; preds = %542 %559 = load i32, ptr %17, align 4 %560 = add nsw i32 %559, 1 store i32 %560, ptr %17, align 4 br label %538, !llvm.loop !23 561: ; preds = %538 store i32 0, ptr %16, align 4 br label %562 562: ; preds = %630, %561 %563 = load i32, ptr %16, align 4 %564 = load i32, ptr %18, align 4 %565 = icmp sle i32 %563, %564 br i1 %565, label %566, label %633 566: ; preds = %562 store double 0.000000e+00, ptr %12, align 8 store i32 0, ptr %17, align 4 br label %567 567: ; preds = %592, %566 %568 = load i32, ptr %17, align 4 %569 = load i32, ptr %18, align 4 %570 = icmp sle i32 %568, %569 br i1 %570, label %571, label %595 571: ; preds = %567 %572 = load double, ptr %12, align 8 %573 = load ptr, ptr %10, align 8 %574 = load i32, ptr %17, align 4 %575 = load i32, ptr %15, align 4 %576 = load i32, ptr %6, align 4 %577 = mul nsw i32 %575, %576 %578 = add nsw i32 %574, %577 %579 = sext i32 %578 to i64 %580 = getelementptr inbounds double, ptr %573, i64 %579 %581 = load double, ptr %580, align 8 %582 = load ptr, ptr %10, align 8 %583 = load i32, ptr %17, align 4 %584 = load i32, ptr %16, align 4 %585 = load i32, ptr %6, align 4 %586 = mul nsw i32 %584, %585 %587 = add nsw i32 %583, %586 %588 = sext i32 %587 to i64 %589 = getelementptr inbounds double, ptr %582, i64 %588 %590 = load double, ptr %589, align 8 %591 = call double @llvm.fmuladd.f64(double %581, double %590, double %572) store double %591, ptr %12, align 8 br label %592 592: ; preds = %571 %593 = load i32, ptr %17, align 4 %594 = add nsw i32 %593, 1 store i32 %594, ptr %17, align 4 br label %567, !llvm.loop !24 595: ; preds = %567 store i32 0, ptr %17, align 4 br label %596 596: ; preds = %626, %595 %597 = load i32, ptr %17, align 4 %598 = load i32, ptr %18, align 4 %599 = icmp sle i32 %597, %598 br i1 %599, label %600, label %629 600: ; preds = %596 %601 = load ptr, ptr %10, align 8 %602 = load i32, ptr %17, align 4 %603 = load i32, ptr %16, align 4 %604 = load i32, ptr %6, align 4 %605 = mul nsw i32 %603, %604 %606 = add nsw i32 %602, %605 %607 = sext i32 %606 to i64 %608 = getelementptr inbounds double, ptr %601, i64 %607 %609 = load double, ptr %608, align 8 %610 = load double, ptr %12, align 8 %611 = load ptr, ptr %8, align 8 %612 = load i32, ptr %17, align 4 %613 = sext i32 %612 to i64 %614 = getelementptr inbounds double, ptr %611, i64 %613 %615 = load double, ptr %614, align 8 %616 = fneg double %610 %617 = call double @llvm.fmuladd.f64(double %616, double %615, double %609) %618 = load ptr, ptr %10, align 8 %619 = load i32, ptr %17, align 4 %620 = load i32, ptr %16, align 4 %621 = load i32, ptr %6, align 4 %622 = mul nsw i32 %620, %621 %623 = add nsw i32 %619, %622 %624 = sext i32 %623 to i64 %625 = getelementptr inbounds double, ptr %618, i64 %624 store double %617, ptr %625, align 8 br label %626 626: ; preds = %600 %627 = load i32, ptr %17, align 4 %628 = add nsw i32 %627, 1 store i32 %628, ptr %17, align 4 br label %596, !llvm.loop !25 629: ; preds = %596 br label %630 630: ; preds = %629 %631 = load i32, ptr %16, align 4 %632 = add nsw i32 %631, 1 store i32 %632, ptr %16, align 4 br label %562, !llvm.loop !26 633: ; preds = %562 br label %634 634: ; preds = %633, %501 store i32 0, ptr %17, align 4 br label %635 635: ; preds = %648, %634 %636 = load i32, ptr %17, align 4 %637 = load i32, ptr %18, align 4 %638 = icmp sle i32 %636, %637 br i1 %638, label %639, label %651 639: ; preds = %635 %640 = load ptr, ptr %10, align 8 %641 = load i32, ptr %17, align 4 %642 = load i32, ptr %15, align 4 %643 = load i32, ptr %6, align 4 %644 = mul nsw i32 %642, %643 %645 = add nsw i32 %641, %644 %646 = sext i32 %645 to i64 %647 = getelementptr inbounds double, ptr %640, i64 %646 store double 0.000000e+00, ptr %647, align 8 br label %648 648: ; preds = %639 %649 = load i32, ptr %17, align 4 %650 = add nsw i32 %649, 1 store i32 %650, ptr %17, align 4 br label %635, !llvm.loop !27 651: ; preds = %635 br label %652 652: ; preds = %651 %653 = load i32, ptr %15, align 4 %654 = add nsw i32 %653, 1 store i32 %654, ptr %15, align 4 br label %497, !llvm.loop !28 655: ; preds = %497 store i32 0, ptr %16, align 4 br label %656 656: ; preds = %675, %655 %657 = load i32, ptr %16, align 4 %658 = load i32, ptr %6, align 4 %659 = icmp slt i32 %657, %658 br i1 %659, label %660, label %678 660: ; preds = %656 %661 = load ptr, ptr %10, align 8 %662 = load i32, ptr %6, align 4 %663 = sub nsw i32 %662, 1 %664 = load i32, ptr %16, align 4 %665 = load i32, ptr %6, align 4 %666 = mul nsw i32 %664, %665 %667 = add nsw i32 %663, %666 %668 = sext i32 %667 to i64 %669 = getelementptr inbounds double, ptr %661, i64 %668 %670 = load double, ptr %669, align 8 %671 = load ptr, ptr %8, align 8 %672 = load i32, ptr %16, align 4 %673 = sext i32 %672 to i64 %674 = getelementptr inbounds double, ptr %671, i64 %673 store double %670, ptr %674, align 8 br label %675 675: ; preds = %660 %676 = load i32, ptr %16, align 4 %677 = add nsw i32 %676, 1 store i32 %677, ptr %16, align 4 br label %656, !llvm.loop !29 678: ; preds = %656 store i32 0, ptr %16, align 4 br label %679 679: ; preds = %694, %678 %680 = load i32, ptr %16, align 4 %681 = load i32, ptr %6, align 4 %682 = sub nsw i32 %681, 1 %683 = icmp slt i32 %680, %682 br i1 %683, label %684, label %697 684: ; preds = %679 %685 = load ptr, ptr %10, align 8 %686 = load i32, ptr %6, align 4 %687 = sub nsw i32 %686, 1 %688 = load i32, ptr %16, align 4 %689 = load i32, ptr %6, align 4 %690 = mul nsw i32 %688, %689 %691 = add nsw i32 %687, %690 %692 = sext i32 %691 to i64 %693 = getelementptr inbounds double, ptr %685, i64 %692 store double 0.000000e+00, ptr %693, align 8 br label %694 694: ; preds = %684 %695 = load i32, ptr %16, align 4 %696 = add nsw i32 %695, 1 store i32 %696, ptr %16, align 4 br label %679, !llvm.loop !30 697: ; preds = %679 %698 = load ptr, ptr %10, align 8 %699 = load i32, ptr %6, align 4 %700 = sub nsw i32 %699, 1 %701 = load i32, ptr %6, align 4 %702 = sub nsw i32 %701, 1 %703 = load i32, ptr %6, align 4 %704 = mul nsw i32 %702, %703 %705 = add nsw i32 %700, %704 %706 = sext i32 %705 to i64 %707 = getelementptr inbounds double, ptr %698, i64 %706 store double 1.000000e+00, ptr %707, align 8 %708 = load ptr, ptr %9, align 8 %709 = getelementptr inbounds double, ptr %708, i64 0 store double 0.000000e+00, ptr %709, align 8 ret void } declare double @r8_abs(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #3 declare double @r8_sign(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = 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} !18 = distinct !{!18, !7} !19 = distinct !{!19, !7} !20 = distinct !{!20, !7} !21 = distinct !{!21, !7} !22 = distinct !{!22, !7} !23 = distinct !{!23, !7} !24 = distinct !{!24, !7} !25 = distinct !{!25, !7} !26 = distinct !{!26, !7} !27 = distinct !{!27, !7} !28 = distinct !{!28, !7} !29 = distinct !{!29, !7} !30 = distinct !{!30, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpww9d8njt.c" target datalayout = "e-m:e-p270: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 @tred2(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca double, align 8 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 store i32 0, ptr %16, align 4 %20 = load i32, ptr %16, align 4 %21 = load i32, ptr %6, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph2, label %59 .lr.ph2: ; preds = %5 br label %23 23: ; preds = %.lr.ph2, %53 %24 = load i32, ptr %16, align 4 store i32 %24, ptr %15, align 4 %25 = load i32, ptr %15, align 4 %26 = load i32, ptr %6, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %.lr.ph, label %52 .lr.ph: ; preds = %23 br label %28 28: ; preds = %.lr.ph, %46 %29 = load ptr, ptr %7, align 8 %30 = load i32, ptr %15, align 4 %31 = load i32, ptr %16, align 4 %32 = load i32, ptr %6, align 4 %33 = mul nsw i32 %31, %32 %34 = add nsw i32 %30, %33 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds double, ptr %29, i64 %35 %37 = load double, ptr %36, align 8 %38 = load ptr, ptr %10, align 8 %39 = load i32, ptr %15, align 4 %40 = load i32, ptr %16, align 4 %41 = load i32, ptr %6, align 4 %42 = mul nsw i32 %40, %41 %43 = add nsw i32 %39, %42 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds double, ptr %38, i64 %44 store double %37, ptr %45, align 8 br label %46 46: ; preds = %28 %47 = load i32, ptr %15, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %15, align 4 %49 = load i32, ptr %15, align 4 %50 = load i32, ptr %6, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %46 br label %52 52: ; preds = %._crit_edge, %23 br label %53 53: ; preds = %52 %54 = load i32, ptr %16, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %16, align 4 %56 = load i32, ptr %16, align 4 %57 = load i32, ptr %6, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %23, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %53 br label %59 59: ; preds = %._crit_edge3, %5 store i32 0, ptr %16, align 4 %60 = load i32, ptr %16, align 4 %61 = load i32, ptr %6, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %.lr.ph5, label %84 .lr.ph5: ; preds = %59 br label %63 63: ; preds = %.lr.ph5, %78 %64 = load ptr, ptr %7, align 8 %65 = load i32, ptr %6, align 4 %66 = sub nsw i32 %65, 1 %67 = load i32, ptr %16, align 4 %68 = load i32, ptr %6, align 4 %69 = mul nsw i32 %67, %68 %70 = add nsw i32 %66, %69 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds double, ptr %64, i64 %71 %73 = load double, ptr %72, align 8 %74 = load ptr, ptr %8, align 8 %75 = load i32, ptr %16, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds double, ptr %74, i64 %76 store double %73, ptr %77, align 8 br label %78 78: ; preds = %63 %79 = load i32, ptr %16, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %16, align 4 %81 = load i32, ptr %16, align 4 %82 = load i32, ptr %6, align 4 %83 = icmp slt i32 %81, %82 br i1 %83, label %63, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %78 br label %84 84: ; preds = %._crit_edge6, %59 %85 = load i32, ptr %6, align 4 %86 = sub nsw i32 %85, 1 store i32 %86, ptr %15, align 4 %87 = load i32, ptr %15, align 4 %88 = icmp sle i32 1, %87 br i1 %88, label %.lr.ph44, label %527 .lr.ph44: ; preds = %84 br label %89 89: ; preds = %.lr.ph44, %522 %90 = load i32, ptr %15, align 4 %91 = sub nsw i32 %90, 1 store i32 %91, ptr %18, align 4 store double 0.000000e+00, ptr %13, align 8 store double 0.000000e+00, ptr %19, align 8 store i32 0, ptr %17, align 4 %92 = load i32, ptr %17, align 4 %93 = load i32, ptr %18, align 4 %94 = icmp sle i32 %92, %93 br i1 %94, label %.lr.ph8, label %110 .lr.ph8: ; preds = %89 br label %95 95: ; preds = %.lr.ph8, %104 %96 = load double, ptr %19, align 8 %97 = load ptr, ptr %8, align 8 %98 = load i32, ptr %17, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds double, ptr %97, i64 %99 %101 = load double, ptr %100, align 8 %102 = call double @r8_abs(double noundef %101) %103 = fadd double %96, %102 store double %103, ptr %19, align 8 br label %104 104: ; preds = %95 %105 = load i32, ptr %17, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %17, align 4 %107 = load i32, ptr %17, align 4 %108 = load i32, ptr %18, align 4 %109 = icmp sle i32 %107, %108 br i1 %109, label %95, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %104 br label %110 110: ; preds = %._crit_edge9, %89 %111 = load double, ptr %19, align 8 %112 = fcmp oeq double %111, 0.000000e+00 br i1 %112, label %113, label %167 113: ; preds = %110 %114 = load ptr, ptr %8, align 8 %115 = load i32, ptr %18, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds double, ptr %114, i64 %116 %118 = load double, ptr %117, align 8 %119 = load ptr, ptr %9, align 8 %120 = load i32, ptr %15, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds double, ptr %119, i64 %121 store double %118, ptr %122, align 8 store i32 0, ptr %16, align 4 %123 = load i32, ptr %16, align 4 %124 = load i32, ptr %18, align 4 %125 = icmp sle i32 %123, %124 br i1 %125, label %.lr.ph41, label %162 .lr.ph41: ; preds = %113 br label %126 126: ; preds = %.lr.ph41, %156 %127 = load ptr, ptr %10, align 8 %128 = load i32, ptr %18, align 4 %129 = load i32, ptr %16, align 4 %130 = load i32, ptr %6, align 4 %131 = mul nsw i32 %129, %130 %132 = add nsw i32 %128, %131 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds double, ptr %127, i64 %133 %135 = load double, ptr %134, align 8 %136 = load ptr, ptr %8, align 8 %137 = load i32, ptr %16, align 4 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds double, ptr %136, i64 %138 store double %135, ptr %139, align 8 %140 = load ptr, ptr %10, align 8 %141 = load i32, ptr %15, align 4 %142 = load i32, ptr %16, align 4 %143 = load i32, ptr %6, align 4 %144 = mul nsw i32 %142, %143 %145 = add nsw i32 %141, %144 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds double, ptr %140, i64 %146 store double 0.000000e+00, ptr %147, align 8 %148 = load ptr, ptr %10, align 8 %149 = load i32, ptr %16, align 4 %150 = load i32, ptr %15, align 4 %151 = load i32, ptr %6, align 4 %152 = mul nsw i32 %150, %151 %153 = add nsw i32 %149, %152 %154 = sext i32 %153 to i64 %155 = getelementptr inbounds double, ptr %148, i64 %154 store double 0.000000e+00, ptr %155, align 8 br label %156 156: ; preds = %126 %157 = load i32, ptr %16, align 4 %158 = add nsw i32 %157, 1 store i32 %158, ptr %16, align 4 %159 = load i32, ptr %16, align 4 %160 = load i32, ptr %18, align 4 %161 = icmp sle i32 %159, %160 br i1 %161, label %126, label %._crit_edge42, !llvm.loop !11 ._crit_edge42: ; preds = %156 br label %162 162: ; preds = %._crit_edge42, %113 %163 = load ptr, ptr %8, align 8 %164 = load i32, ptr %15, align 4 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds double, ptr %163, i64 %165 store double 0.000000e+00, ptr %166, align 8 br label %522 167: ; preds = %110 store i32 0, ptr %17, align 4 %168 = load i32, ptr %17, align 4 %169 = load i32, ptr %18, align 4 %170 = icmp sle i32 %168, %169 br i1 %170, label %.lr.ph11, label %189 .lr.ph11: ; preds = %167 br label %171 171: ; preds = %.lr.ph11, %183 %172 = load ptr, ptr %8, align 8 %173 = load i32, ptr %17, align 4 %174 = sext i32 %173 to i64 %175 = getelementptr inbounds double, ptr %172, i64 %174 %176 = load double, ptr %175, align 8 %177 = load double, ptr %19, align 8 %178 = fdiv double %176, %177 %179 = load ptr, ptr %8, align 8 %180 = load i32, ptr %17, align 4 %181 = sext i32 %180 to i64 %182 = getelementptr inbounds double, ptr %179, i64 %181 store double %178, ptr %182, align 8 br label %183 183: ; preds = %171 %184 = load i32, ptr %17, align 4 %185 = add nsw i32 %184, 1 store i32 %185, ptr %17, align 4 %186 = load i32, ptr %17, align 4 %187 = load i32, ptr %18, align 4 %188 = icmp sle i32 %186, %187 br i1 %188, label %171, label %._crit_edge12, !llvm.loop !12 ._crit_edge12: ; preds = %183 br label %189 189: ; preds = %._crit_edge12, %167 store double 0.000000e+00, ptr %13, align 8 store i32 0, ptr %17, align 4 %190 = load i32, ptr %17, align 4 %191 = load i32, ptr %18, align 4 %192 = icmp sle i32 %190, %191 br i1 %192, label %.lr.ph14, label %212 .lr.ph14: ; preds = %189 br label %193 193: ; preds = %.lr.ph14, %206 %194 = load double, ptr %13, align 8 %195 = load ptr, ptr %8, align 8 %196 = load i32, ptr %17, align 4 %197 = sext i32 %196 to i64 %198 = getelementptr inbounds double, ptr %195, i64 %197 %199 = load double, ptr %198, align 8 %200 = load ptr, ptr %8, align 8 %201 = load i32, ptr %17, align 4 %202 = sext i32 %201 to i64 %203 = getelementptr inbounds double, ptr %200, i64 %202 %204 = load double, ptr %203, align 8 %205 = call double @llvm.fmuladd.f64(double %199, double %204, double %194) store double %205, ptr %13, align 8 br label %206 206: ; preds = %193 %207 = load i32, ptr %17, align 4 %208 = add nsw i32 %207, 1 store i32 %208, ptr %17, align 4 %209 = load i32, ptr %17, align 4 %210 = load i32, ptr %18, align 4 %211 = icmp sle i32 %209, %210 br i1 %211, label %193, label %._crit_edge15, !llvm.loop !13 ._crit_edge15: ; preds = %206 br label %212 212: ; preds = %._crit_edge15, %189 %213 = load ptr, ptr %8, align 8 %214 = load i32, ptr %18, align 4 %215 = sext i32 %214 to i64 %216 = getelementptr inbounds double, ptr %213, i64 %215 %217 = load double, ptr %216, align 8 store double %217, ptr %11, align 8 %218 = load double, ptr %13, align 8 %219 = call double @sqrt(double noundef %218) #4 %220 = fneg double %219 %221 = load double, ptr %11, align 8 %222 = call double @r8_sign(double noundef %221) %223 = fmul double %220, %222 store double %223, ptr %12, align 8 %224 = load double, ptr %19, align 8 %225 = load double, ptr %12, align 8 %226 = fmul double %224, %225 %227 = load ptr, ptr %9, align 8 %228 = load i32, ptr %15, align 4 %229 = sext i32 %228 to i64 %230 = getelementptr inbounds double, ptr %227, i64 %229 store double %226, ptr %230, align 8 %231 = load double, ptr %13, align 8 %232 = load double, ptr %11, align 8 %233 = load double, ptr %12, align 8 %234 = fneg double %232 %235 = call double @llvm.fmuladd.f64(double %234, double %233, double %231) store double %235, ptr %13, align 8 %236 = load double, ptr %11, align 8 %237 = load double, ptr %12, align 8 %238 = fsub double %236, %237 %239 = load ptr, ptr %8, align 8 %240 = load i32, ptr %18, align 4 %241 = sext i32 %240 to i64 %242 = getelementptr inbounds double, ptr %239, i64 %241 store double %238, ptr %242, align 8 store i32 0, ptr %17, align 4 %243 = load i32, ptr %17, align 4 %244 = load i32, ptr %18, align 4 %245 = icmp sle i32 %243, %244 br i1 %245, label %.lr.ph17, label %257 .lr.ph17: ; preds = %212 br label %246 246: ; preds = %.lr.ph17, %251 %247 = load ptr, ptr %9, align 8 %248 = load i32, ptr %17, align 4 %249 = sext i32 %248 to i64 %250 = getelementptr inbounds double, ptr %247, i64 %249 store double 0.000000e+00, ptr %250, align 8 br label %251 251: ; preds = %246 %252 = load i32, ptr %17, align 4 %253 = add nsw i32 %252, 1 store i32 %253, ptr %17, align 4 %254 = load i32, ptr %17, align 4 %255 = load i32, ptr %18, align 4 %256 = icmp sle i32 %254, %255 br i1 %256, label %246, label %._crit_edge18, !llvm.loop !14 ._crit_edge18: ; preds = %251 br label %257 257: ; preds = %._crit_edge18, %212 store i32 0, ptr %16, align 4 %258 = load i32, ptr %16, align 4 %259 = load i32, ptr %18, align 4 %260 = icmp sle i32 %258, %259 br i1 %260, label %.lr.ph23, label %352 .lr.ph23: ; preds = %257 br label %261 261: ; preds = %.lr.ph23, %346 %262 = load ptr, ptr %8, align 8 %263 = load i32, ptr %16, align 4 %264 = sext i32 %263 to i64 %265 = getelementptr inbounds double, ptr %262, i64 %264 %266 = load double, ptr %265, align 8 store double %266, ptr %11, align 8 %267 = load double, ptr %11, align 8 %268 = load ptr, ptr %10, align 8 %269 = load i32, ptr %16, align 4 %270 = load i32, ptr %15, align 4 %271 = load i32, ptr %6, align 4 %272 = mul nsw i32 %270, %271 %273 = add nsw i32 %269, %272 %274 = sext i32 %273 to i64 %275 = getelementptr inbounds double, ptr %268, i64 %274 store double %267, ptr %275, align 8 %276 = load ptr, ptr %9, align 8 %277 = load i32, ptr %16, align 4 %278 = sext i32 %277 to i64 %279 = getelementptr inbounds double, ptr %276, i64 %278 %280 = load double, ptr %279, align 8 %281 = load ptr, ptr %10, align 8 %282 = load i32, ptr %16, align 4 %283 = load i32, ptr %16, align 4 %284 = load i32, ptr %6, align 4 %285 = mul nsw i32 %283, %284 %286 = add nsw i32 %282, %285 %287 = sext i32 %286 to i64 %288 = getelementptr inbounds double, ptr %281, i64 %287 %289 = load double, ptr %288, align 8 %290 = load double, ptr %11, align 8 %291 = call double @llvm.fmuladd.f64(double %289, double %290, double %280) store double %291, ptr %12, align 8 %292 = load i32, ptr %16, align 4 %293 = add nsw i32 %292, 1 store i32 %293, ptr %17, align 4 %294 = load i32, ptr %17, align 4 %295 = load i32, ptr %18, align 4 %296 = icmp sle i32 %294, %295 br i1 %296, label %.lr.ph20, label %340 .lr.ph20: ; preds = %261 br label %297 297: ; preds = %.lr.ph20, %334 %298 = load double, ptr %12, align 8 %299 = load ptr, ptr %10, align 8 %300 = load i32, ptr %17, align 4 %301 = load i32, ptr %16, align 4 %302 = load i32, ptr %6, align 4 %303 = mul nsw i32 %301, %302 %304 = add nsw i32 %300, %303 %305 = sext i32 %304 to i64 %306 = getelementptr inbounds double, ptr %299, i64 %305 %307 = load double, ptr %306, align 8 %308 = load ptr, ptr %8, align 8 %309 = load i32, ptr %17, align 4 %310 = sext i32 %309 to i64 %311 = getelementptr inbounds double, ptr %308, i64 %310 %312 = load double, ptr %311, align 8 %313 = call double @llvm.fmuladd.f64(double %307, double %312, double %298) store double %313, ptr %12, align 8 %314 = load ptr, ptr %9, align 8 %315 = load i32, ptr %17, align 4 %316 = sext i32 %315 to i64 %317 = getelementptr inbounds double, ptr %314, i64 %316 %318 = load double, ptr %317, align 8 %319 = load ptr, ptr %10, align 8 %320 = load i32, ptr %17, align 4 %321 = load i32, ptr %16, align 4 %322 = load i32, ptr %6, align 4 %323 = mul nsw i32 %321, %322 %324 = add nsw i32 %320, %323 %325 = sext i32 %324 to i64 %326 = getelementptr inbounds double, ptr %319, i64 %325 %327 = load double, ptr %326, align 8 %328 = load double, ptr %11, align 8 %329 = call double @llvm.fmuladd.f64(double %327, double %328, double %318) %330 = load ptr, ptr %9, align 8 %331 = load i32, ptr %17, align 4 %332 = sext i32 %331 to i64 %333 = getelementptr inbounds double, ptr %330, i64 %332 store double %329, ptr %333, align 8 br label %334 334: ; preds = %297 %335 = load i32, ptr %17, align 4 %336 = add nsw i32 %335, 1 store i32 %336, ptr %17, align 4 %337 = load i32, ptr %17, align 4 %338 = load i32, ptr %18, align 4 %339 = icmp sle i32 %337, %338 br i1 %339, label %297, label %._crit_edge21, !llvm.loop !15 ._crit_edge21: ; preds = %334 br label %340 340: ; preds = %._crit_edge21, %261 %341 = load double, ptr %12, align 8 %342 = load ptr, ptr %9, align 8 %343 = load i32, ptr %16, align 4 %344 = sext i32 %343 to i64 %345 = getelementptr inbounds double, ptr %342, i64 %344 store double %341, ptr %345, align 8 br label %346 346: ; preds = %340 %347 = load i32, ptr %16, align 4 %348 = add nsw i32 %347, 1 store i32 %348, ptr %16, align 4 %349 = load i32, ptr %16, align 4 %350 = load i32, ptr %18, align 4 %351 = icmp sle i32 %349, %350 br i1 %351, label %261, label %._crit_edge24, !llvm.loop !16 ._crit_edge24: ; preds = %346 br label %352 352: ; preds = %._crit_edge24, %257 store i32 0, ptr %17, align 4 %353 = load i32, ptr %17, align 4 %354 = load i32, ptr %18, align 4 %355 = icmp sle i32 %353, %354 br i1 %355, label %.lr.ph26, label %374 .lr.ph26: ; preds = %352 br label %356 356: ; preds = %.lr.ph26, %368 %357 = load ptr, ptr %9, align 8 %358 = load i32, ptr %17, align 4 %359 = sext i32 %358 to i64 %360 = getelementptr inbounds double, ptr %357, i64 %359 %361 = load double, ptr %360, align 8 %362 = load double, ptr %13, align 8 %363 = fdiv double %361, %362 %364 = load ptr, ptr %9, align 8 %365 = load i32, ptr %17, align 4 %366 = sext i32 %365 to i64 %367 = getelementptr inbounds double, ptr %364, i64 %366 store double %363, ptr %367, align 8 br label %368 368: ; preds = %356 %369 = load i32, ptr %17, align 4 %370 = add nsw i32 %369, 1 store i32 %370, ptr %17, align 4 %371 = load i32, ptr %17, align 4 %372 = load i32, ptr %18, align 4 %373 = icmp sle i32 %371, %372 br i1 %373, label %356, label %._crit_edge27, !llvm.loop !17 ._crit_edge27: ; preds = %368 br label %374 374: ; preds = %._crit_edge27, %352 store double 0.000000e+00, ptr %11, align 8 store i32 0, ptr %17, align 4 %375 = load i32, ptr %17, align 4 %376 = load i32, ptr %18, align 4 %377 = icmp sle i32 %375, %376 br i1 %377, label %.lr.ph29, label %397 .lr.ph29: ; preds = %374 br label %378 378: ; preds = %.lr.ph29, %391 %379 = load double, ptr %11, align 8 %380 = load ptr, ptr %9, align 8 %381 = load i32, ptr %17, align 4 %382 = sext i32 %381 to i64 %383 = getelementptr inbounds double, ptr %380, i64 %382 %384 = load double, ptr %383, align 8 %385 = load ptr, ptr %8, align 8 %386 = load i32, ptr %17, align 4 %387 = sext i32 %386 to i64 %388 = getelementptr inbounds double, ptr %385, i64 %387 %389 = load double, ptr %388, align 8 %390 = call double @llvm.fmuladd.f64(double %384, double %389, double %379) store double %390, ptr %11, align 8 br label %391 391: ; preds = %378 %392 = load i32, ptr %17, align 4 %393 = add nsw i32 %392, 1 store i32 %393, ptr %17, align 4 %394 = load i32, ptr %17, align 4 %395 = load i32, ptr %18, align 4 %396 = icmp sle i32 %394, %395 br i1 %396, label %378, label %._crit_edge30, !llvm.loop !18 ._crit_edge30: ; preds = %391 br label %397 397: ; preds = %._crit_edge30, %374 %398 = load double, ptr %11, align 8 %399 = fmul double 5.000000e-01, %398 %400 = load double, ptr %13, align 8 %401 = fdiv double %399, %400 store double %401, ptr %14, align 8 store i32 0, ptr %17, align 4 %402 = load i32, ptr %17, align 4 %403 = load i32, ptr %18, align 4 %404 = icmp sle i32 %402, %403 br i1 %404, label %.lr.ph32, label %429 .lr.ph32: ; preds = %397 br label %405 405: ; preds = %.lr.ph32, %423 %406 = load ptr, ptr %9, align 8 %407 = load i32, ptr %17, align 4 %408 = sext i32 %407 to i64 %409 = getelementptr inbounds double, ptr %406, i64 %408 %410 = load double, ptr %409, align 8 %411 = load double, ptr %14, align 8 %412 = load ptr, ptr %8, align 8 %413 = load i32, ptr %17, align 4 %414 = sext i32 %413 to i64 %415 = getelementptr inbounds double, ptr %412, i64 %414 %416 = load double, ptr %415, align 8 %417 = fneg double %411 %418 = call double @llvm.fmuladd.f64(double %417, double %416, double %410) %419 = load ptr, ptr %9, align 8 %420 = load i32, ptr %17, align 4 %421 = sext i32 %420 to i64 %422 = getelementptr inbounds double, ptr %419, i64 %421 store double %418, ptr %422, align 8 br label %423 423: ; preds = %405 %424 = load i32, ptr %17, align 4 %425 = add nsw i32 %424, 1 store i32 %425, ptr %17, align 4 %426 = load i32, ptr %17, align 4 %427 = load i32, ptr %18, align 4 %428 = icmp sle i32 %426, %427 br i1 %428, label %405, label %._crit_edge33, !llvm.loop !19 ._crit_edge33: ; preds = %423 br label %429 429: ; preds = %._crit_edge33, %397 store i32 0, ptr %16, align 4 %430 = load i32, ptr %16, align 4 %431 = load i32, ptr %18, align 4 %432 = icmp sle i32 %430, %431 br i1 %432, label %.lr.ph38, label %516 .lr.ph38: ; preds = %429 br label %433 433: ; preds = %.lr.ph38, %510 %434 = load ptr, ptr %8, align 8 %435 = load i32, ptr %16, align 4 %436 = sext i32 %435 to i64 %437 = getelementptr inbounds double, ptr %434, i64 %436 %438 = load double, ptr %437, align 8 store double %438, ptr %11, align 8 %439 = load ptr, ptr %9, align 8 %440 = load i32, ptr %16, align 4 %441 = sext i32 %440 to i64 %442 = getelementptr inbounds double, ptr %439, i64 %441 %443 = load double, ptr %442, align 8 store double %443, ptr %12, align 8 %444 = load i32, ptr %16, align 4 store i32 %444, ptr %17, align 4 %445 = load i32, ptr %17, align 4 %446 = load i32, ptr %18, align 4 %447 = icmp sle i32 %445, %446 br i1 %447, label %.lr.ph35, label %488 .lr.ph35: ; preds = %433 br label %448 448: ; preds = %.lr.ph35, %482 %449 = load ptr, ptr %10, align 8 %450 = load i32, ptr %17, align 4 %451 = load i32, ptr %16, align 4 %452 = load i32, ptr %6, align 4 %453 = mul nsw i32 %451, %452 %454 = add nsw i32 %450, %453 %455 = sext i32 %454 to i64 %456 = getelementptr inbounds double, ptr %449, i64 %455 %457 = load double, ptr %456, align 8 %458 = load double, ptr %11, align 8 %459 = load ptr, ptr %9, align 8 %460 = load i32, ptr %17, align 4 %461 = sext i32 %460 to i64 %462 = getelementptr inbounds double, ptr %459, i64 %461 %463 = load double, ptr %462, align 8 %464 = fneg double %458 %465 = call double @llvm.fmuladd.f64(double %464, double %463, double %457) %466 = load double, ptr %12, align 8 %467 = load ptr, ptr %8, align 8 %468 = load i32, ptr %17, align 4 %469 = sext i32 %468 to i64 %470 = getelementptr inbounds double, ptr %467, i64 %469 %471 = load double, ptr %470, align 8 %472 = fneg double %466 %473 = call double @llvm.fmuladd.f64(double %472, double %471, double %465) %474 = load ptr, ptr %10, align 8 %475 = load i32, ptr %17, align 4 %476 = load i32, ptr %16, align 4 %477 = load i32, ptr %6, align 4 %478 = mul nsw i32 %476, %477 %479 = add nsw i32 %475, %478 %480 = sext i32 %479 to i64 %481 = getelementptr inbounds double, ptr %474, i64 %480 store double %473, ptr %481, align 8 br label %482 482: ; preds = %448 %483 = load i32, ptr %17, align 4 %484 = add nsw i32 %483, 1 store i32 %484, ptr %17, align 4 %485 = load i32, ptr %17, align 4 %486 = load i32, ptr %18, align 4 %487 = icmp sle i32 %485, %486 br i1 %487, label %448, label %._crit_edge36, !llvm.loop !20 ._crit_edge36: ; preds = %482 br label %488 488: ; preds = %._crit_edge36, %433 %489 = load ptr, ptr %10, align 8 %490 = load i32, ptr %18, align 4 %491 = load i32, ptr %16, align 4 %492 = load i32, ptr %6, align 4 %493 = mul nsw i32 %491, %492 %494 = add nsw i32 %490, %493 %495 = sext i32 %494 to i64 %496 = getelementptr inbounds double, ptr %489, i64 %495 %497 = load double, ptr %496, align 8 %498 = load ptr, ptr %8, align 8 %499 = load i32, ptr %16, align 4 %500 = sext i32 %499 to i64 %501 = getelementptr inbounds double, ptr %498, i64 %500 store double %497, ptr %501, align 8 %502 = load ptr, ptr %10, align 8 %503 = load i32, ptr %15, align 4 %504 = load i32, ptr %16, align 4 %505 = load i32, ptr %6, align 4 %506 = mul nsw i32 %504, %505 %507 = add nsw i32 %503, %506 %508 = sext i32 %507 to i64 %509 = getelementptr inbounds double, ptr %502, i64 %508 store double 0.000000e+00, ptr %509, align 8 br label %510 510: ; preds = %488 %511 = load i32, ptr %16, align 4 %512 = add nsw i32 %511, 1 store i32 %512, ptr %16, align 4 %513 = load i32, ptr %16, align 4 %514 = load i32, ptr %18, align 4 %515 = icmp sle i32 %513, %514 br i1 %515, label %433, label %._crit_edge39, !llvm.loop !21 ._crit_edge39: ; preds = %510 br label %516 516: ; preds = %._crit_edge39, %429 %517 = load double, ptr %13, align 8 %518 = load ptr, ptr %8, align 8 %519 = load i32, ptr %15, align 4 %520 = sext i32 %519 to i64 %521 = getelementptr inbounds double, ptr %518, i64 %520 store double %517, ptr %521, align 8 br label %522 522: ; preds = %516, %162 %523 = load i32, ptr %15, align 4 %524 = add nsw i32 %523, -1 store i32 %524, ptr %15, align 4 %525 = load i32, ptr %15, align 4 %526 = icmp sle i32 1, %525 br i1 %526, label %89, label %._crit_edge45, !llvm.loop !22 ._crit_edge45: ; preds = %522 br label %527 527: ; preds = %._crit_edge45, %84 store i32 1, ptr %15, align 4 %528 = load i32, ptr %15, align 4 %529 = load i32, ptr %6, align 4 %530 = icmp slt i32 %528, %529 br i1 %530, label %.lr.ph62, label %698 .lr.ph62: ; preds = %527 br label %531 531: ; preds = %.lr.ph62, %692 %532 = load i32, ptr %15, align 4 %533 = sub nsw i32 %532, 1 store i32 %533, ptr %18, align 4 %534 = load ptr, ptr %10, align 8 %535 = load i32, ptr %18, align 4 %536 = load i32, ptr %18, align 4 %537 = load i32, ptr %6, align 4 %538 = mul nsw i32 %536, %537 %539 = add nsw i32 %535, %538 %540 = sext i32 %539 to i64 %541 = getelementptr inbounds double, ptr %534, i64 %540 %542 = load double, ptr %541, align 8 %543 = load ptr, ptr %10, align 8 %544 = load i32, ptr %6, align 4 %545 = sub nsw i32 %544, 1 %546 = load i32, ptr %18, align 4 %547 = load i32, ptr %6, align 4 %548 = mul nsw i32 %546, %547 %549 = add nsw i32 %545, %548 %550 = sext i32 %549 to i64 %551 = getelementptr inbounds double, ptr %543, i64 %550 store double %542, ptr %551, align 8 %552 = load ptr, ptr %10, align 8 %553 = load i32, ptr %18, align 4 %554 = load i32, ptr %18, align 4 %555 = load i32, ptr %6, align 4 %556 = mul nsw i32 %554, %555 %557 = add nsw i32 %553, %556 %558 = sext i32 %557 to i64 %559 = getelementptr inbounds double, ptr %552, i64 %558 store double 1.000000e+00, ptr %559, align 8 %560 = load ptr, ptr %8, align 8 %561 = load i32, ptr %15, align 4 %562 = sext i32 %561 to i64 %563 = getelementptr inbounds double, ptr %560, i64 %562 %564 = load double, ptr %563, align 8 store double %564, ptr %13, align 8 %565 = load double, ptr %13, align 8 %566 = fcmp une double %565, 0.000000e+00 br i1 %566, label %567, label %672 567: ; preds = %531 store i32 0, ptr %17, align 4 %568 = load i32, ptr %17, align 4 %569 = load i32, ptr %18, align 4 %570 = icmp sle i32 %568, %569 br i1 %570, label %.lr.ph47, label %593 .lr.ph47: ; preds = %567 br label %571 571: ; preds = %.lr.ph47, %587 %572 = load ptr, ptr %10, align 8 %573 = load i32, ptr %17, align 4 %574 = load i32, ptr %15, align 4 %575 = load i32, ptr %6, align 4 %576 = mul nsw i32 %574, %575 %577 = add nsw i32 %573, %576 %578 = sext i32 %577 to i64 %579 = getelementptr inbounds double, ptr %572, i64 %578 %580 = load double, ptr %579, align 8 %581 = load double, ptr %13, align 8 %582 = fdiv double %580, %581 %583 = load ptr, ptr %8, align 8 %584 = load i32, ptr %17, align 4 %585 = sext i32 %584 to i64 %586 = getelementptr inbounds double, ptr %583, i64 %585 store double %582, ptr %586, align 8 br label %587 587: ; preds = %571 %588 = load i32, ptr %17, align 4 %589 = add nsw i32 %588, 1 store i32 %589, ptr %17, align 4 %590 = load i32, ptr %17, align 4 %591 = load i32, ptr %18, align 4 %592 = icmp sle i32 %590, %591 br i1 %592, label %571, label %._crit_edge48, !llvm.loop !23 ._crit_edge48: ; preds = %587 br label %593 593: ; preds = %._crit_edge48, %567 store i32 0, ptr %16, align 4 %594 = load i32, ptr %16, align 4 %595 = load i32, ptr %18, align 4 %596 = icmp sle i32 %594, %595 br i1 %596, label %.lr.ph56, label %671 .lr.ph56: ; preds = %593 br label %597 597: ; preds = %.lr.ph56, %665 store double 0.000000e+00, ptr %12, align 8 store i32 0, ptr %17, align 4 %598 = load i32, ptr %17, align 4 %599 = load i32, ptr %18, align 4 %600 = icmp sle i32 %598, %599 br i1 %600, label %.lr.ph50, label %628 .lr.ph50: ; preds = %597 br label %601 601: ; preds = %.lr.ph50, %622 %602 = load double, ptr %12, align 8 %603 = load ptr, ptr %10, align 8 %604 = load i32, ptr %17, align 4 %605 = load i32, ptr %15, align 4 %606 = load i32, ptr %6, align 4 %607 = mul nsw i32 %605, %606 %608 = add nsw i32 %604, %607 %609 = sext i32 %608 to i64 %610 = getelementptr inbounds double, ptr %603, i64 %609 %611 = load double, ptr %610, align 8 %612 = load ptr, ptr %10, align 8 %613 = load i32, ptr %17, align 4 %614 = load i32, ptr %16, align 4 %615 = load i32, ptr %6, align 4 %616 = mul nsw i32 %614, %615 %617 = add nsw i32 %613, %616 %618 = sext i32 %617 to i64 %619 = getelementptr inbounds double, ptr %612, i64 %618 %620 = load double, ptr %619, align 8 %621 = call double @llvm.fmuladd.f64(double %611, double %620, double %602) store double %621, ptr %12, align 8 br label %622 622: ; preds = %601 %623 = load i32, ptr %17, align 4 %624 = add nsw i32 %623, 1 store i32 %624, ptr %17, align 4 %625 = load i32, ptr %17, align 4 %626 = load i32, ptr %18, align 4 %627 = icmp sle i32 %625, %626 br i1 %627, label %601, label %._crit_edge51, !llvm.loop !24 ._crit_edge51: ; preds = %622 br label %628 628: ; preds = %._crit_edge51, %597 store i32 0, ptr %17, align 4 %629 = load i32, ptr %17, align 4 %630 = load i32, ptr %18, align 4 %631 = icmp sle i32 %629, %630 br i1 %631, label %.lr.ph53, label %664 .lr.ph53: ; preds = %628 br label %632 632: ; preds = %.lr.ph53, %658 %633 = load ptr, ptr %10, align 8 %634 = load i32, ptr %17, align 4 %635 = load i32, ptr %16, align 4 %636 = load i32, ptr %6, align 4 %637 = mul nsw i32 %635, %636 %638 = add nsw i32 %634, %637 %639 = sext i32 %638 to i64 %640 = getelementptr inbounds double, ptr %633, i64 %639 %641 = load double, ptr %640, align 8 %642 = load double, ptr %12, align 8 %643 = load ptr, ptr %8, align 8 %644 = load i32, ptr %17, align 4 %645 = sext i32 %644 to i64 %646 = getelementptr inbounds double, ptr %643, i64 %645 %647 = load double, ptr %646, align 8 %648 = fneg double %642 %649 = call double @llvm.fmuladd.f64(double %648, double %647, double %641) %650 = load ptr, ptr %10, align 8 %651 = load i32, ptr %17, align 4 %652 = load i32, ptr %16, align 4 %653 = load i32, ptr %6, align 4 %654 = mul nsw i32 %652, %653 %655 = add nsw i32 %651, %654 %656 = sext i32 %655 to i64 %657 = getelementptr inbounds double, ptr %650, i64 %656 store double %649, ptr %657, align 8 br label %658 658: ; preds = %632 %659 = load i32, ptr %17, align 4 %660 = add nsw i32 %659, 1 store i32 %660, ptr %17, align 4 %661 = load i32, ptr %17, align 4 %662 = load i32, ptr %18, align 4 %663 = icmp sle i32 %661, %662 br i1 %663, label %632, label %._crit_edge54, !llvm.loop !25 ._crit_edge54: ; preds = %658 br label %664 664: ; preds = %._crit_edge54, %628 br label %665 665: ; preds = %664 %666 = load i32, ptr %16, align 4 %667 = add nsw i32 %666, 1 store i32 %667, ptr %16, align 4 %668 = load i32, ptr %16, align 4 %669 = load i32, ptr %18, align 4 %670 = icmp sle i32 %668, %669 br i1 %670, label %597, label %._crit_edge57, !llvm.loop !26 ._crit_edge57: ; preds = %665 br label %671 671: ; preds = %._crit_edge57, %593 br label %672 672: ; preds = %671, %531 store i32 0, ptr %17, align 4 %673 = load i32, ptr %17, align 4 %674 = load i32, ptr %18, align 4 %675 = icmp sle i32 %673, %674 br i1 %675, label %.lr.ph59, label %691 .lr.ph59: ; preds = %672 br label %676 676: ; preds = %.lr.ph59, %685 %677 = load ptr, ptr %10, align 8 %678 = load i32, ptr %17, align 4 %679 = load i32, ptr %15, align 4 %680 = load i32, ptr %6, align 4 %681 = mul nsw i32 %679, %680 %682 = add nsw i32 %678, %681 %683 = sext i32 %682 to i64 %684 = getelementptr inbounds double, ptr %677, i64 %683 store double 0.000000e+00, ptr %684, align 8 br label %685 685: ; preds = %676 %686 = load i32, ptr %17, align 4 %687 = add nsw i32 %686, 1 store i32 %687, ptr %17, align 4 %688 = load i32, ptr %17, align 4 %689 = load i32, ptr %18, align 4 %690 = icmp sle i32 %688, %689 br i1 %690, label %676, label %._crit_edge60, !llvm.loop !27 ._crit_edge60: ; preds = %685 br label %691 691: ; preds = %._crit_edge60, %672 br label %692 692: ; preds = %691 %693 = load i32, ptr %15, align 4 %694 = add nsw i32 %693, 1 store i32 %694, ptr %15, align 4 %695 = load i32, ptr %15, align 4 %696 = load i32, ptr %6, align 4 %697 = icmp slt i32 %695, %696 br i1 %697, label %531, label %._crit_edge63, !llvm.loop !28 ._crit_edge63: ; preds = %692 br label %698 698: ; preds = %._crit_edge63, %527 store i32 0, ptr %16, align 4 %699 = load i32, ptr %16, align 4 %700 = load i32, ptr %6, align 4 %701 = icmp slt i32 %699, %700 br i1 %701, label %.lr.ph65, label %723 .lr.ph65: ; preds = %698 br label %702 702: ; preds = %.lr.ph65, %717 %703 = load ptr, ptr %10, align 8 %704 = load i32, ptr %6, align 4 %705 = sub nsw i32 %704, 1 %706 = load i32, ptr %16, align 4 %707 = load i32, ptr %6, align 4 %708 = mul nsw i32 %706, %707 %709 = add nsw i32 %705, %708 %710 = sext i32 %709 to i64 %711 = getelementptr inbounds double, ptr %703, i64 %710 %712 = load double, ptr %711, align 8 %713 = load ptr, ptr %8, align 8 %714 = load i32, ptr %16, align 4 %715 = sext i32 %714 to i64 %716 = getelementptr inbounds double, ptr %713, i64 %715 store double %712, ptr %716, align 8 br label %717 717: ; preds = %702 %718 = load i32, ptr %16, align 4 %719 = add nsw i32 %718, 1 store i32 %719, ptr %16, align 4 %720 = load i32, ptr %16, align 4 %721 = load i32, ptr %6, align 4 %722 = icmp slt i32 %720, %721 br i1 %722, label %702, label %._crit_edge66, !llvm.loop !29 ._crit_edge66: ; preds = %717 br label %723 723: ; preds = %._crit_edge66, %698 store i32 0, ptr %16, align 4 %724 = load i32, ptr %16, align 4 %725 = load i32, ptr %6, align 4 %726 = sub nsw i32 %725, 1 %727 = icmp slt i32 %724, %726 br i1 %727, label %.lr.ph68, label %745 .lr.ph68: ; preds = %723 br label %728 728: ; preds = %.lr.ph68, %738 %729 = load ptr, ptr %10, align 8 %730 = load i32, ptr %6, align 4 %731 = sub nsw i32 %730, 1 %732 = load i32, ptr %16, align 4 %733 = load i32, ptr %6, align 4 %734 = mul nsw i32 %732, %733 %735 = add nsw i32 %731, %734 %736 = sext i32 %735 to i64 %737 = getelementptr inbounds double, ptr %729, i64 %736 store double 0.000000e+00, ptr %737, align 8 br label %738 738: ; preds = %728 %739 = load i32, ptr %16, align 4 %740 = add nsw i32 %739, 1 store i32 %740, ptr %16, align 4 %741 = load i32, ptr %16, align 4 %742 = load i32, ptr %6, align 4 %743 = sub nsw i32 %742, 1 %744 = icmp slt i32 %741, %743 br i1 %744, label %728, label %._crit_edge69, !llvm.loop !30 ._crit_edge69: ; preds = %738 br label %745 745: ; preds = %._crit_edge69, %723 %746 = load ptr, ptr %10, align 8 %747 = load i32, ptr %6, align 4 %748 = sub nsw i32 %747, 1 %749 = load i32, ptr %6, align 4 %750 = sub nsw i32 %749, 1 %751 = load i32, ptr %6, align 4 %752 = mul nsw i32 %750, %751 %753 = add nsw i32 %748, %752 %754 = sext i32 %753 to i64 %755 = getelementptr inbounds double, ptr %746, i64 %754 store double 1.000000e+00, ptr %755, align 8 %756 = load ptr, ptr %9, align 8 %757 = getelementptr inbounds double, ptr %756, i64 0 store double 0.000000e+00, ptr %757, align 8 ret void } declare double @r8_abs(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #3 declare double @r8_sign(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = 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} !18 = distinct !{!18, !7} !19 = distinct !{!19, !7} !20 = distinct !{!20, !7} !21 = distinct !{!21, !7} !22 = distinct !{!22, !7} !23 = distinct !{!23, !7} !24 = distinct !{!24, !7} !25 = distinct !{!25, !7} !26 = distinct !{!26, !7} !27 = distinct !{!27, !7} !28 = distinct !{!28, !7} !29 = distinct !{!29, !7} !30 = distinct !{!30, !7}
; ModuleID = '/tmp/tmp8tnkmfhz.c' source_filename = "/tmp/tmp8tnkmfhz.c" target datalayout = "e-m:e-p270: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 [13 x i8] c"MyError: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @MyError(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 = 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 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp8tnkmfhz.c" target datalayout = "e-m:e-p270: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 [13 x i8] c"MyError: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @MyError(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 = 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 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmps8yl507n.c' source_filename = "/tmp/tmps8yl507n.c" target datalayout = "e-m:e-p270: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/tmps8yl507n.c" target datalayout = "e-m:e-p270: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/tmp1l4sk3qn.c' source_filename = "/tmp/tmp1l4sk3qn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %7, align 8 store i64 0, ptr %8, align 8 br label %10 10: ; preds = %20, %3 %11 = load i64, ptr %8, align 8 %12 = load i64, ptr %6, align 8 %13 = icmp ult i64 %11, %12 br i1 %13, label %14, label %23 14: ; preds = %10 %15 = load i32, ptr %5, align 4 %16 = trunc i32 %15 to i8 %17 = load ptr, ptr %7, align 8 %18 = load i64, ptr %8, align 8 %19 = getelementptr inbounds i8, ptr %17, i64 %18 store i8 %16, ptr %19, align 1 br label %20 20: ; preds = %14 %21 = load i64, ptr %8, align 8 %22 = add i64 %21, 1 store i64 %22, ptr %8, align 8 br label %10, !llvm.loop !6 23: ; preds = %10 %24 = load ptr, ptr %4, align 8 ret ptr %24 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1l4sk3qn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %7, align 8 store i64 0, ptr %8, align 8 %10 = load i64, ptr %8, align 8 %11 = load i64, ptr %6, align 8 %12 = icmp ult i64 %10, %11 br i1 %12, label %.lr.ph, label %25 .lr.ph: ; preds = %3 br label %13 13: ; preds = %.lr.ph, %19 %14 = load i32, ptr %5, align 4 %15 = trunc i32 %14 to i8 %16 = load ptr, ptr %7, align 8 %17 = load i64, ptr %8, align 8 %18 = getelementptr inbounds i8, ptr %16, i64 %17 store i8 %15, ptr %18, align 1 br label %19 19: ; preds = %13 %20 = load i64, ptr %8, align 8 %21 = add i64 %20, 1 store i64 %21, ptr %8, align 8 %22 = load i64, ptr %8, align 8 %23 = load i64, ptr %6, align 8 %24 = icmp ult i64 %22, %23 br i1 %24, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %25 25: ; preds = %._crit_edge, %3 %26 = load ptr, ptr %4, align 8 ret ptr %26 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpujlpqg5q.c' source_filename = "/tmp/tmpujlpqg5q.c" target datalayout = "e-m:e-p270: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.timespec = type { i32 } @CLOCK_MONOTONIC = dso_local global i64 0, align 8 @CLOCK_REALTIME = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [27 x i8] c"No system clocks available\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"Clock type: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"CLOCK_MONOTONIC\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"CLOCK_REALTIME\00", align 1 @.str.4 = private unnamed_addr constant [34 x i8] c"Reported Clock Resolution: %ldns\0A\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"Real clock resolution: %ldns\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.timespec, align 4 %3 = alloca %struct.timespec, align 4 %4 = alloca %struct.timespec, align 4 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = load i64, ptr @CLOCK_MONOTONIC, align 8 store i64 %7, ptr %5, align 8 %8 = load i64, ptr %5, align 8 %9 = call i32 @clock_getres(i64 noundef %8, ptr noundef %2) store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %22 12: ; preds = %0 %13 = load i64, ptr @CLOCK_REALTIME, align 8 store i64 %13, ptr %5, align 8 %14 = load i64, ptr %5, align 8 %15 = call i32 @clock_getres(i64 noundef %14, ptr noundef %2) store i32 %15, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %12 %19 = call i32 @perror(ptr noundef @.str) %20 = call i32 @exit(i32 noundef -1) #3 unreachable 21: ; preds = %12 br label %22 22: ; preds = %21, %0 %23 = load i64, ptr %5, align 8 %24 = load i64, ptr @CLOCK_MONOTONIC, align 8 %25 = icmp eq i64 %23, %24 %26 = zext i1 %25 to i64 %27 = select i1 %25, ptr @.str.2, ptr @.str.3 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %27) %29 = getelementptr inbounds %struct.timespec, ptr %2, i32 0, i32 0 %30 = load i32, ptr %29, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %30) %32 = load i64, ptr %5, align 8 %33 = call i32 @clock_gettime(i64 noundef %32, ptr noundef %3) %34 = load i64, ptr %5, align 8 %35 = call i32 @clock_gettime(i64 noundef %34, ptr noundef %4) %36 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 0 %37 = load i32, ptr %36, align 4 %38 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0 %39 = load i32, ptr %38, align 4 %40 = sub nsw i32 %37, %39 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %40) ret i32 0 } declare i32 @clock_getres(i64 noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #1 declare i32 @clock_gettime(i64 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpujlpqg5q.c" target datalayout = "e-m:e-p270: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.timespec = type { i32 } @CLOCK_MONOTONIC = dso_local global i64 0, align 8 @CLOCK_REALTIME = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [27 x i8] c"No system clocks available\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"Clock type: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"CLOCK_MONOTONIC\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"CLOCK_REALTIME\00", align 1 @.str.4 = private unnamed_addr constant [34 x i8] c"Reported Clock Resolution: %ldns\0A\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"Real clock resolution: %ldns\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.timespec, align 4 %3 = alloca %struct.timespec, align 4 %4 = alloca %struct.timespec, align 4 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = load i64, ptr @CLOCK_MONOTONIC, align 8 store i64 %7, ptr %5, align 8 %8 = load i64, ptr %5, align 8 %9 = call i32 @clock_getres(i64 noundef %8, ptr noundef %2) store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %22 12: ; preds = %0 %13 = load i64, ptr @CLOCK_REALTIME, align 8 store i64 %13, ptr %5, align 8 %14 = load i64, ptr %5, align 8 %15 = call i32 @clock_getres(i64 noundef %14, ptr noundef %2) store i32 %15, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %12 %19 = call i32 @perror(ptr noundef @.str) %20 = call i32 @exit(i32 noundef -1) #3 unreachable 21: ; preds = %12 br label %22 22: ; preds = %21, %0 %23 = load i64, ptr %5, align 8 %24 = load i64, ptr @CLOCK_MONOTONIC, align 8 %25 = icmp eq i64 %23, %24 %26 = zext i1 %25 to i64 %27 = select i1 %25, ptr @.str.2, ptr @.str.3 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %27) %29 = getelementptr inbounds %struct.timespec, ptr %2, i32 0, i32 0 %30 = load i32, ptr %29, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %30) %32 = load i64, ptr %5, align 8 %33 = call i32 @clock_gettime(i64 noundef %32, ptr noundef %3) %34 = load i64, ptr %5, align 8 %35 = call i32 @clock_gettime(i64 noundef %34, ptr noundef %4) %36 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 0 %37 = load i32, ptr %36, align 4 %38 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0 %39 = load i32, ptr %38, align 4 %40 = sub nsw i32 %37, %39 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %40) ret i32 0 } declare i32 @clock_getres(i64 noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #1 declare i32 @clock_gettime(i64 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpvh6gg5xs.c' source_filename = "/tmp/tmpvh6gg5xs.c" target datalayout = "e-m:e-p270: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"g_spAwards\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"a%i\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @UI_GetAwardLevel(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [16 x i8], align 16 %4 = alloca [1024 x i8], align 16 store i32 %0, ptr %2, align 4 %5 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %6 = call i32 @trap_Cvar_VariableStringBuffer(ptr noundef @.str, ptr noundef %5, i32 noundef 1024) %7 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 0 %8 = load i32, ptr %2, align 4 %9 = call i32 @Com_sprintf(ptr noundef %7, i32 noundef 16, ptr noundef @.str.1, i32 noundef %8) %10 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %11 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 0 %12 = call i32 @Info_ValueForKey(ptr noundef %10, ptr noundef %11) %13 = call i32 @atoi(i32 noundef %12) ret i32 %13 } declare i32 @trap_Cvar_VariableStringBuffer(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @Com_sprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @atoi(i32 noundef) #1 declare i32 @Info_ValueForKey(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/tmpvh6gg5xs.c" target datalayout = "e-m:e-p270: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"g_spAwards\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"a%i\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @UI_GetAwardLevel(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [16 x i8], align 16 %4 = alloca [1024 x i8], align 16 store i32 %0, ptr %2, align 4 %5 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %6 = call i32 @trap_Cvar_VariableStringBuffer(ptr noundef @.str, ptr noundef %5, i32 noundef 1024) %7 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 0 %8 = load i32, ptr %2, align 4 %9 = call i32 @Com_sprintf(ptr noundef %7, i32 noundef 16, ptr noundef @.str.1, i32 noundef %8) %10 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %11 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 0 %12 = call i32 @Info_ValueForKey(ptr noundef %10, ptr noundef %11) %13 = call i32 @atoi(i32 noundef %12) ret i32 %13 } declare i32 @trap_Cvar_VariableStringBuffer(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @Com_sprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @atoi(i32 noundef) #1 declare i32 @Info_ValueForKey(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/tmpycjlennl.c' source_filename = "/tmp/tmpycjlennl.c" target datalayout = "e-m:e-p270: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.arr = private unnamed_addr constant [10 x i32] [i32 3, i32 8, i32 11, i32 44, i32 55, i32 66, i32 77, i32 99, i32 100, i32 120], align 16 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"%d \E4\B8\8D\E5\9C\A8\E6\95\B0\E7\BB\84\E5\BD\93\E4\B8\AD.\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"%d \E5\9C\A8\E6\95\B0\E7\BB\84\E5\BD\93\E4\B8\AD.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.arr, i64 40, i1 false) %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %9 = load i32, ptr %4, align 4 %10 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %11 = load i32, ptr %10, align 16 %12 = icmp slt i32 %9, %11 br i1 %12, label %18, label %13 13: ; preds = %0 %14 = load i32, ptr %4, align 4 %15 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 9 %16 = load i32, ptr %15, align 4 %17 = icmp sgt i32 %14, %16 br i1 %17, label %18, label %21 18: ; preds = %13, %0 %19 = load i32, ptr %4, align 4 %20 = call i32 @printf(ptr noundef @.str.1, i32 noundef %19) br label %80 21: ; preds = %13 %22 = load i32, ptr %4, align 4 %23 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %24 = load i32, ptr %23, align 16 %25 = icmp eq i32 %22, %24 br i1 %25, label %31, label %26 26: ; preds = %21 %27 = load i32, ptr %4, align 4 %28 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 9 %29 = load i32, ptr %28, align 4 %30 = icmp eq i32 %27, %29 br i1 %30, label %31, label %34 31: ; preds = %26, %21 %32 = load i32, ptr %4, align 4 %33 = call i32 @printf(ptr noundef @.str.2, i32 noundef %32) store i32 0, ptr %1, align 4 br label %81 34: ; preds = %26 store i32 0, ptr %5, align 4 store i32 9, ptr %6, align 4 store i32 0, ptr %3, align 4 br label %35 35: ; preds = %69, %34 %36 = load i32, ptr %5, align 4 %37 = load i32, ptr %6, align 4 %38 = icmp ne i32 %36, %37 br i1 %38, label %39, label %72 39: ; preds = %35 %40 = load i32, ptr %5, align 4 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %40, %41 %43 = sdiv i32 %42, 2 store i32 %43, ptr %7, align 4 %44 = load i32, ptr %7, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %45 %47 = load i32, ptr %46, align 4 %48 = load i32, ptr %4, align 4 %49 = icmp sgt i32 %47, %48 br i1 %49, label %50, label %53 50: ; preds = %39 %51 = load i32, ptr %5, align 4 store i32 %51, ptr %5, align 4 %52 = load i32, ptr %7, align 4 store i32 %52, ptr %6, align 4 br label %68 53: ; preds = %39 %54 = load i32, ptr %7, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %55 %57 = load i32, ptr %56, align 4 %58 = load i32, ptr %4, align 4 %59 = icmp slt i32 %57, %58 br i1 %59, label %60, label %64 60: ; preds = %53 %61 = load i32, ptr %7, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %5, align 4 %63 = load i32, ptr %6, align 4 store i32 %63, ptr %6, align 4 br label %67 64: ; preds = %53 %65 = load i32, ptr %4, align 4 %66 = call i32 @printf(ptr noundef @.str.2, i32 noundef %65) br label %72 67: ; preds = %60 br label %68 68: ; preds = %67, %50 br label %69 69: ; preds = %68 %70 = load i32, ptr %3, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %3, align 4 br label %35, !llvm.loop !6 72: ; preds = %64, %35 %73 = load i32, ptr %5, align 4 %74 = load i32, ptr %6, align 4 %75 = icmp eq i32 %73, %74 br i1 %75, label %76, label %79 76: ; preds = %72 %77 = load i32, ptr %4, align 4 %78 = call i32 @printf(ptr noundef @.str.1, i32 noundef %77) br label %79 79: ; preds = %76, %72 br label %80 80: ; preds = %79, %18 store i32 0, ptr %1, align 4 br label %81 81: ; preds = %80, %31 %82 = load i32, ptr %1, align 4 ret i32 %82 } ; 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 @scanf(ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpycjlennl.c" target datalayout = "e-m:e-p270: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.arr = private unnamed_addr constant [10 x i32] [i32 3, i32 8, i32 11, i32 44, i32 55, i32 66, i32 77, i32 99, i32 100, i32 120], align 16 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"%d \E4\B8\8D\E5\9C\A8\E6\95\B0\E7\BB\84\E5\BD\93\E4\B8\AD.\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"%d \E5\9C\A8\E6\95\B0\E7\BB\84\E5\BD\93\E4\B8\AD.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.arr, i64 40, i1 false) %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %9 = load i32, ptr %4, align 4 %10 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %11 = load i32, ptr %10, align 16 %12 = icmp slt i32 %9, %11 br i1 %12, label %18, label %13 13: ; preds = %0 %14 = load i32, ptr %4, align 4 %15 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 9 %16 = load i32, ptr %15, align 4 %17 = icmp sgt i32 %14, %16 br i1 %17, label %18, label %21 18: ; preds = %13, %0 %19 = load i32, ptr %4, align 4 %20 = call i32 @printf(ptr noundef @.str.1, i32 noundef %19) br label %82 21: ; preds = %13 %22 = load i32, ptr %4, align 4 %23 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %24 = load i32, ptr %23, align 16 %25 = icmp eq i32 %22, %24 br i1 %25, label %31, label %26 26: ; preds = %21 %27 = load i32, ptr %4, align 4 %28 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 9 %29 = load i32, ptr %28, align 4 %30 = icmp eq i32 %27, %29 br i1 %30, label %31, label %34 31: ; preds = %26, %21 %32 = load i32, ptr %4, align 4 %33 = call i32 @printf(ptr noundef @.str.2, i32 noundef %32) store i32 0, ptr %1, align 4 br label %83 34: ; preds = %26 store i32 0, ptr %5, align 4 store i32 9, ptr %6, align 4 store i32 0, ptr %3, align 4 %35 = load i32, ptr %5, align 4 %36 = load i32, ptr %6, align 4 %37 = icmp ne i32 %35, %36 br i1 %37, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %34 br label %38 38: ; preds = %.lr.ph, %68 %39 = load i32, ptr %5, align 4 %40 = load i32, ptr %6, align 4 %41 = add nsw i32 %39, %40 %42 = sdiv i32 %41, 2 store i32 %42, ptr %7, align 4 %43 = load i32, ptr %7, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %44 %46 = load i32, ptr %45, align 4 %47 = load i32, ptr %4, align 4 %48 = icmp sgt i32 %46, %47 br i1 %48, label %49, label %52 49: ; preds = %38 %50 = load i32, ptr %5, align 4 store i32 %50, ptr %5, align 4 %51 = load i32, ptr %7, align 4 store i32 %51, ptr %6, align 4 br label %67 52: ; preds = %38 %53 = load i32, ptr %7, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %54 %56 = load i32, ptr %55, align 4 %57 = load i32, ptr %4, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %59, label %63 59: ; preds = %52 %60 = load i32, ptr %7, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %5, align 4 %62 = load i32, ptr %6, align 4 store i32 %62, ptr %6, align 4 br label %66 63: ; preds = %52 %64 = load i32, ptr %4, align 4 %65 = call i32 @printf(ptr noundef @.str.2, i32 noundef %64) br label %74 66: ; preds = %59 br label %67 67: ; preds = %66, %49 br label %68 68: ; preds = %67 %69 = load i32, ptr %3, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %3, align 4 %71 = load i32, ptr %5, align 4 %72 = load i32, ptr %6, align 4 %73 = icmp ne i32 %71, %72 br i1 %73, label %38, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %68 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %34 br label %74 74: ; preds = %.loopexit, %63 %75 = load i32, ptr %5, align 4 %76 = load i32, ptr %6, align 4 %77 = icmp eq i32 %75, %76 br i1 %77, label %78, label %81 78: ; preds = %74 %79 = load i32, ptr %4, align 4 %80 = call i32 @printf(ptr noundef @.str.1, i32 noundef %79) br label %81 81: ; preds = %78, %74 br label %82 82: ; preds = %81, %18 store i32 0, ptr %1, align 4 br label %83 83: ; preds = %82, %31 %84 = load i32, ptr %1, align 4 ret i32 %84 } ; 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 @scanf(ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmplnc6pzfx.c' source_filename = "/tmp/tmplnc6pzfx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @KEY_RESIZE = 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/tmplnc6pzfx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @KEY_RESIZE = 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/tmp8e6y_a45.c' source_filename = "/tmp/tmp8e6y_a45.c" target datalayout = "e-m:e-p270: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.test6.a = private unnamed_addr constant [12 x i8] c"madamIamadam", align 1 @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test6() #0 { %1 = alloca [12 x i8], align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.test6.a, i64 12, i1 false) %2 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @test_palindrome(ptr noundef %2, i32 noundef 12, i32 noundef 1) %4 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0 %5 = call i32 @test_palindrome(ptr noundef %4, i32 noundef 12, i32 noundef 2) %6 = call i32 @printf(ptr noundef @.str) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @test_palindrome(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @printf(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8e6y_a45.c" target datalayout = "e-m:e-p270: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.test6.a = private unnamed_addr constant [12 x i8] c"madamIamadam", align 1 @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test6() #0 { %1 = alloca [12 x i8], align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.test6.a, i64 12, i1 false) %2 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @test_palindrome(ptr noundef %2, i32 noundef 12, i32 noundef 1) %4 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0 %5 = call i32 @test_palindrome(ptr noundef %4, i32 noundef 12, i32 noundef 2) %6 = call i32 @printf(ptr noundef @.str) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @test_palindrome(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @printf(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptiwqoxxp.c' source_filename = "/tmp/tmptiwqoxxp.c" target datalayout = "e-m:e-p270: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"Got null string in stringlisttobytes, exiting\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c",\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @stringlisttobytes(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %7 = load ptr, ptr %4, align 8 %8 = getelementptr inbounds i8, ptr %7, i64 0 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %15 12: ; preds = %2 %13 = call i32 @printf(ptr noundef @.str) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %2 %16 = load ptr, ptr %4, align 8 %17 = call ptr @strtok(ptr noundef %16, ptr noundef @.str.1) store ptr %17, ptr %6, align 8 br label %18 18: ; preds = %21, %15 %19 = load ptr, ptr %6, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %31 21: ; preds = %18 %22 = load ptr, ptr %6, align 8 %23 = call i64 @strtol(ptr noundef %22, ptr noundef null, i32 noundef 0) %24 = trunc i64 %23 to i8 %25 = load ptr, ptr %3, align 8 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %5, align 4 %28 = sext i32 %26 to i64 %29 = getelementptr inbounds i8, ptr %25, i64 %28 store i8 %24, ptr %29, align 1 %30 = call ptr @strtok(ptr noundef null, ptr noundef @.str.1) store ptr %30, ptr %6, align 8 br label %18, !llvm.loop !6 31: ; preds = %18 %32 = load i32, ptr %5, align 4 ret i32 %32 } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i64 @strtol(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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptiwqoxxp.c" target datalayout = "e-m:e-p270: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"Got null string in stringlisttobytes, exiting\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c",\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @stringlisttobytes(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %7 = load ptr, ptr %4, align 8 %8 = getelementptr inbounds i8, ptr %7, i64 0 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %15 12: ; preds = %2 %13 = call i32 @printf(ptr noundef @.str) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %2 %16 = load ptr, ptr %4, align 8 %17 = call ptr @strtok(ptr noundef %16, ptr noundef @.str.1) store ptr %17, ptr %6, align 8 %18 = load ptr, ptr %6, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %.lr.ph, label %32 .lr.ph: ; preds = %15 br label %20 20: ; preds = %.lr.ph, %20 %21 = load ptr, ptr %6, align 8 %22 = call i64 @strtol(ptr noundef %21, ptr noundef null, i32 noundef 0) %23 = trunc i64 %22 to i8 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %5, align 4 %27 = sext i32 %25 to i64 %28 = getelementptr inbounds i8, ptr %24, i64 %27 store i8 %23, ptr %28, align 1 %29 = call ptr @strtok(ptr noundef null, ptr noundef @.str.1) store ptr %29, ptr %6, align 8 %30 = load ptr, ptr %6, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %32 32: ; preds = %._crit_edge, %15 %33 = load i32, ptr %5, align 4 ret i32 %33 } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i64 @strtol(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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbsrrx417.c' source_filename = "/tmp/tmpbsrrx417.c" target datalayout = "e-m:e-p270: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 [21 x i8] c"N\0910*N\09100*N\091000*N\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"%d\09%d\09%d\09%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 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %2, align 4 br label %4 4: ; preds = %16, %0 %5 = load i32, ptr %2, align 4 %6 = icmp sle i32 %5, 20 br i1 %6, label %7, label %19 7: ; preds = %4 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = mul nsw i32 %9, 10 %11 = load i32, ptr %2, align 4 %12 = mul nsw i32 %11, 100 %13 = load i32, ptr %2, align 4 %14 = mul nsw i32 %13, 1000 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %8, i32 noundef %10, i32 noundef %12, i32 noundef %14) br label %16 16: ; preds = %7 %17 = load i32, ptr %2, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %2, align 4 br label %4, !llvm.loop !6 19: ; preds = %4 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbsrrx417.c" target datalayout = "e-m:e-p270: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 [21 x i8] c"N\0910*N\09100*N\091000*N\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"%d\09%d\09%d\09%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 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp sle i32 %4, 20 br i1 %5, label %.lr.ph, label %20 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %15 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = mul nsw i32 %8, 10 %10 = load i32, ptr %2, align 4 %11 = mul nsw i32 %10, 100 %12 = load i32, ptr %2, align 4 %13 = mul nsw i32 %12, 1000 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7, i32 noundef %9, i32 noundef %11, i32 noundef %13) br label %15 15: ; preds = %6 %16 = load i32, ptr %2, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %2, align 4 %18 = load i32, ptr %2, align 4 %19 = icmp sle i32 %18, 20 br i1 %19, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %20 20: ; preds = %._crit_edge, %0 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpxyfsgxmv.c' source_filename = "/tmp/tmpxyfsgxmv.c" target datalayout = "e-m:e-p270: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 @PyThread_exit_thread() #0 { %1 = call i32 @do_PyThread_exit_thread(i32 noundef 0) ret void } declare i32 @do_PyThread_exit_thread(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/tmpxyfsgxmv.c" target datalayout = "e-m:e-p270: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 @PyThread_exit_thread() #0 { %1 = call i32 @do_PyThread_exit_thread(i32 noundef 0) ret void } declare i32 @do_PyThread_exit_thread(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/tmpro1amr70.c' source_filename = "/tmp/tmpro1amr70.c" target datalayout = "e-m:e-p270: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/tmpro1amr70.c" target datalayout = "e-m:e-p270: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/tmpq89zw29k.c' source_filename = "/tmp/tmpq89zw29k.c" target datalayout = "e-m:e-p270: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 @tanhf(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call i64 @tanh(float noundef %3) %5 = sitofp i64 %4 to float ret float %5 } declare i64 @tanh(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/tmpq89zw29k.c" target datalayout = "e-m:e-p270: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 @tanhf(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call i64 @tanh(float noundef %3) %5 = sitofp i64 %4 to float ret float %5 } declare i64 @tanh(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/tmpyebfzur9.c' source_filename = "/tmp/tmpyebfzur9.c" target datalayout = "e-m:e-p270: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"Please enter 4 numbers separated by spaces > \00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%d%d%d%d\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"%d is the smallest\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, ptr noundef %5) %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %22 12: ; preds = %0 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %22 16: ; preds = %12 %17 = load i32, ptr %2, align 4 %18 = load i32, ptr %5, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = load i32, ptr %2, align 4 store i32 %21, ptr %6, align 4 br label %54 22: ; preds = %16, %12, %0 %23 = load i32, ptr %3, align 4 %24 = load i32, ptr %2, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %36 26: ; preds = %22 %27 = load i32, ptr %3, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %36 30: ; preds = %26 %31 = load i32, ptr %3, align 4 %32 = load i32, ptr %5, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %36 34: ; preds = %30 %35 = load i32, ptr %3, align 4 store i32 %35, ptr %6, align 4 br label %53 36: ; preds = %30, %26, %22 %37 = load i32, ptr %4, align 4 %38 = load i32, ptr %2, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %40, label %50 40: ; preds = %36 %41 = load i32, ptr %4, align 4 %42 = load i32, ptr %3, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %44, label %50 44: ; preds = %40 %45 = load i32, ptr %4, align 4 %46 = load i32, ptr %5, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %48, label %50 48: ; preds = %44 %49 = load i32, ptr %4, align 4 store i32 %49, ptr %6, align 4 br label %52 50: ; preds = %44, %40, %36 %51 = load i32, ptr %5, align 4 store i32 %51, ptr %6, align 4 br label %52 52: ; preds = %50, %48 br label %53 53: ; preds = %52, %34 br label %54 54: ; preds = %53, %20 %55 = load i32, ptr %6, align 4 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyebfzur9.c" target datalayout = "e-m:e-p270: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"Please enter 4 numbers separated by spaces > \00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%d%d%d%d\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"%d is the smallest\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, ptr noundef %5) %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %22 12: ; preds = %0 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %22 16: ; preds = %12 %17 = load i32, ptr %2, align 4 %18 = load i32, ptr %5, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = load i32, ptr %2, align 4 store i32 %21, ptr %6, align 4 br label %54 22: ; preds = %16, %12, %0 %23 = load i32, ptr %3, align 4 %24 = load i32, ptr %2, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %36 26: ; preds = %22 %27 = load i32, ptr %3, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %36 30: ; preds = %26 %31 = load i32, ptr %3, align 4 %32 = load i32, ptr %5, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %36 34: ; preds = %30 %35 = load i32, ptr %3, align 4 store i32 %35, ptr %6, align 4 br label %53 36: ; preds = %30, %26, %22 %37 = load i32, ptr %4, align 4 %38 = load i32, ptr %2, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %40, label %50 40: ; preds = %36 %41 = load i32, ptr %4, align 4 %42 = load i32, ptr %3, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %44, label %50 44: ; preds = %40 %45 = load i32, ptr %4, align 4 %46 = load i32, ptr %5, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %48, label %50 48: ; preds = %44 %49 = load i32, ptr %4, align 4 store i32 %49, ptr %6, align 4 br label %52 50: ; preds = %44, %40, %36 %51 = load i32, ptr %5, align 4 store i32 %51, ptr %6, align 4 br label %52 52: ; preds = %50, %48 br label %53 53: ; preds = %52, %34 br label %54 54: ; preds = %53, %20 %55 = load i32, ptr %6, align 4 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpky23qo0t.c' source_filename = "/tmp/tmpky23qo0t.c" target datalayout = "e-m:e-p270: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"Usage: ./pitcomp input.bin output.bin\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"fopen\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.4 = private unnamed_addr constant [37 x i8] c"Compressing music '%s' into '%s'....\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"fread\00", align 1 @.str.6 = private unnamed_addr constant [44 x i8] c" Done. Input bytes: %ld, Output bytes: %ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca [32 x i8], align 16 %9 = alloca i32, align 4 %10 = alloca i16, align 2 %11 = alloca i8, align 1 %12 = alloca i64, align 8 %13 = alloca i16, align 2 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i16 0, ptr %10, align 2 store i8 0, ptr %11, align 1 %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, 3 br i1 %15, label %16, label %18 16: ; preds = %2 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %140 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 @fopen(ptr noundef %21, ptr noundef @.str.1) 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.2) store i32 -1, ptr %3, align 4 br label %140 27: ; preds = %18 %28 = load ptr, ptr %6, align 8 %29 = load i32, ptr @SEEK_END, align 4 %30 = call i32 @fseek(ptr noundef %28, i32 noundef 0, i32 noundef %29) %31 = load ptr, ptr %6, align 8 %32 = call i64 @ftell(ptr noundef %31) store i64 %32, ptr %12, align 8 %33 = load ptr, ptr %6, align 8 %34 = load i32, ptr @SEEK_SET, align 4 %35 = call i32 @fseek(ptr noundef %33, i32 noundef 0, i32 noundef %34) %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 2 %38 = load ptr, ptr %37, align 8 %39 = call ptr @fopen(ptr noundef %38, ptr noundef @.str.3) store ptr %39, ptr %7, align 8 %40 = load ptr, ptr %7, align 8 %41 = icmp ne ptr %40, null br i1 %41, label %44, label %42 42: ; preds = %27 %43 = call i32 @perror(ptr noundef @.str.2) store i32 -1, ptr %3, align 4 br label %140 44: ; preds = %27 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds ptr, ptr %45, i64 1 %47 = load ptr, ptr %46, align 8 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds ptr, ptr %48, i64 2 %50 = load ptr, ptr %49, align 8 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %47, ptr noundef %50) br label %52 52: ; preds = %110, %44 %53 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0 %54 = load ptr, ptr %6, align 8 %55 = call i32 @fread(ptr noundef %53, i32 noundef 2, i32 noundef 1, ptr noundef %54) store i32 %55, ptr %9, align 4 %56 = load i32, ptr %9, align 4 %57 = icmp ne i32 %56, 1 br i1 %57, label %58, label %65 58: ; preds = %52 %59 = load ptr, ptr %6, align 8 %60 = call i64 @feof(ptr noundef %59) %61 = icmp ne i64 %60, 0 br i1 %61, label %62, label %63 62: ; preds = %58 br label %115 63: ; preds = %58 %64 = call i32 @perror(ptr noundef @.str.5) br label %133 65: ; preds = %52 %66 = load i64, ptr %12, align 8 %67 = load ptr, ptr %6, align 8 %68 = call i64 @ftell(ptr noundef %67) %69 = sub nsw i64 %66, %68 %70 = icmp sle i64 %69, 3 br i1 %70, label %71, label %72 71: ; preds = %65 br label %115 72: ; preds = %65 %73 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0 %74 = load i8, ptr %73, align 16 %75 = zext i8 %74 to i32 %76 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 1 %77 = load i8, ptr %76, align 1 %78 = zext i8 %77 to i32 %79 = shl i32 %78, 8 %80 = or i32 %75, %79 %81 = trunc i32 %80 to i16 store i16 %81, ptr %13, align 2 %82 = load i16, ptr %10, align 2 %83 = zext i16 %82 to i32 %84 = load i16, ptr %13, align 2 %85 = zext i16 %84 to i32 %86 = icmp ne i32 %83, %85 br i1 %86, label %87, label %97 87: ; preds = %72 %88 = load i8, ptr %11, align 1 %89 = icmp ne i8 %88, 0 br i1 %89, label %90, label %95 90: ; preds = %87 %91 = load i8, ptr %11, align 1 %92 = load i16, ptr %10, align 2 %93 = load ptr, ptr %7, align 8 %94 = call i32 @commitChunk(i8 noundef zeroext %91, i16 noundef zeroext %92, ptr noundef %93) br label %95 95: ; preds = %90, %87 %96 = load i16, ptr %13, align 2 store i16 %96, ptr %10, align 2 store i8 1, ptr %11, align 1 br label %109 97: ; preds = %72 %98 = load i8, ptr %11, align 1 %99 = add i8 %98, 1 store i8 %99, ptr %11, align 1 %100 = load i8, ptr %11, align 1 %101 = zext i8 %100 to i32 %102 = icmp eq i32 %101, 255 br i1 %102, label %103, label %108 103: ; preds = %97 %104 = load i8, ptr %11, align 1 %105 = load i16, ptr %10, align 2 %106 = load ptr, ptr %7, align 8 %107 = call i32 @commitChunk(i8 noundef zeroext %104, i16 noundef zeroext %105, ptr noundef %106) br label %108 108: ; preds = %103, %97 br label %109 109: ; preds = %108, %95 br label %110 110: ; preds = %109 %111 = load ptr, ptr %6, align 8 %112 = call i64 @feof(ptr noundef %111) %113 = icmp ne i64 %112, 0 %114 = xor i1 %113, true br i1 %114, label %52, label %115, !llvm.loop !6 115: ; preds = %110, %71, %62 %116 = load i8, ptr %11, align 1 %117 = icmp ne i8 %116, 0 br i1 %117, label %118, label %123 118: ; preds = %115 %119 = load i8, ptr %11, align 1 %120 = load i16, ptr %10, align 2 %121 = load ptr, ptr %7, align 8 %122 = call i32 @commitChunk(i8 noundef zeroext %119, i16 noundef zeroext %120, ptr noundef %121) br label %123 123: ; preds = %118, %115 %124 = load ptr, ptr %6, align 8 %125 = call i64 @ftell(ptr noundef %124) %126 = load ptr, ptr %7, align 8 %127 = call i64 @ftell(ptr noundef %126) %128 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %125, i64 noundef %127) %129 = load ptr, ptr %6, align 8 %130 = call i32 @fclose(ptr noundef %129) %131 = load ptr, ptr %7, align 8 %132 = call i32 @fclose(ptr noundef %131) store i32 0, ptr %3, align 4 br label %140 133: ; preds = %63 %134 = load ptr, ptr %6, align 8 %135 = icmp ne ptr %134, null br i1 %135, label %136, label %139 136: ; preds = %133 %137 = load ptr, ptr %6, align 8 %138 = call i32 @fclose(ptr noundef %137) br label %139 139: ; preds = %136, %133 store i32 -1, ptr %3, align 4 br label %140 140: ; preds = %139, %123, %42, %25, %16 %141 = load i32, ptr %3, align 4 ret i32 %141 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @feof(ptr noundef) #1 declare i32 @commitChunk(i8 noundef zeroext, i16 noundef zeroext, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpky23qo0t.c" target datalayout = "e-m:e-p270: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"Usage: ./pitcomp input.bin output.bin\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"fopen\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.4 = private unnamed_addr constant [37 x i8] c"Compressing music '%s' into '%s'....\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"fread\00", align 1 @.str.6 = private unnamed_addr constant [44 x i8] c" Done. Input bytes: %ld, Output bytes: %ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca [32 x i8], align 16 %9 = alloca i32, align 4 %10 = alloca i16, align 2 %11 = alloca i8, align 1 %12 = alloca i64, align 8 %13 = alloca i16, align 2 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i16 0, ptr %10, align 2 store i8 0, ptr %11, align 1 %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, 3 br i1 %15, label %16, label %18 16: ; preds = %2 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %140 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 @fopen(ptr noundef %21, ptr noundef @.str.1) 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.2) store i32 -1, ptr %3, align 4 br label %140 27: ; preds = %18 %28 = load ptr, ptr %6, align 8 %29 = load i32, ptr @SEEK_END, align 4 %30 = call i32 @fseek(ptr noundef %28, i32 noundef 0, i32 noundef %29) %31 = load ptr, ptr %6, align 8 %32 = call i64 @ftell(ptr noundef %31) store i64 %32, ptr %12, align 8 %33 = load ptr, ptr %6, align 8 %34 = load i32, ptr @SEEK_SET, align 4 %35 = call i32 @fseek(ptr noundef %33, i32 noundef 0, i32 noundef %34) %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 2 %38 = load ptr, ptr %37, align 8 %39 = call ptr @fopen(ptr noundef %38, ptr noundef @.str.3) store ptr %39, ptr %7, align 8 %40 = load ptr, ptr %7, align 8 %41 = icmp ne ptr %40, null br i1 %41, label %44, label %42 42: ; preds = %27 %43 = call i32 @perror(ptr noundef @.str.2) store i32 -1, ptr %3, align 4 br label %140 44: ; preds = %27 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds ptr, ptr %45, i64 1 %47 = load ptr, ptr %46, align 8 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds ptr, ptr %48, i64 2 %50 = load ptr, ptr %49, align 8 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %47, ptr noundef %50) br label %52 52: ; preds = %110, %44 %53 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0 %54 = load ptr, ptr %6, align 8 %55 = call i32 @fread(ptr noundef %53, i32 noundef 2, i32 noundef 1, ptr noundef %54) store i32 %55, ptr %9, align 4 %56 = load i32, ptr %9, align 4 %57 = icmp ne i32 %56, 1 br i1 %57, label %58, label %65 58: ; preds = %52 %59 = load ptr, ptr %6, align 8 %60 = call i64 @feof(ptr noundef %59) %61 = icmp ne i64 %60, 0 br i1 %61, label %62, label %63 62: ; preds = %58 br label %115 63: ; preds = %58 %64 = call i32 @perror(ptr noundef @.str.5) br label %133 65: ; preds = %52 %66 = load i64, ptr %12, align 8 %67 = load ptr, ptr %6, align 8 %68 = call i64 @ftell(ptr noundef %67) %69 = sub nsw i64 %66, %68 %70 = icmp sle i64 %69, 3 br i1 %70, label %71, label %72 71: ; preds = %65 br label %115 72: ; preds = %65 %73 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0 %74 = load i8, ptr %73, align 16 %75 = zext i8 %74 to i32 %76 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 1 %77 = load i8, ptr %76, align 1 %78 = zext i8 %77 to i32 %79 = shl i32 %78, 8 %80 = or i32 %75, %79 %81 = trunc i32 %80 to i16 store i16 %81, ptr %13, align 2 %82 = load i16, ptr %10, align 2 %83 = zext i16 %82 to i32 %84 = load i16, ptr %13, align 2 %85 = zext i16 %84 to i32 %86 = icmp ne i32 %83, %85 br i1 %86, label %87, label %97 87: ; preds = %72 %88 = load i8, ptr %11, align 1 %89 = icmp ne i8 %88, 0 br i1 %89, label %90, label %95 90: ; preds = %87 %91 = load i8, ptr %11, align 1 %92 = load i16, ptr %10, align 2 %93 = load ptr, ptr %7, align 8 %94 = call i32 @commitChunk(i8 noundef zeroext %91, i16 noundef zeroext %92, ptr noundef %93) br label %95 95: ; preds = %90, %87 %96 = load i16, ptr %13, align 2 store i16 %96, ptr %10, align 2 store i8 1, ptr %11, align 1 br label %109 97: ; preds = %72 %98 = load i8, ptr %11, align 1 %99 = add i8 %98, 1 store i8 %99, ptr %11, align 1 %100 = load i8, ptr %11, align 1 %101 = zext i8 %100 to i32 %102 = icmp eq i32 %101, 255 br i1 %102, label %103, label %108 103: ; preds = %97 %104 = load i8, ptr %11, align 1 %105 = load i16, ptr %10, align 2 %106 = load ptr, ptr %7, align 8 %107 = call i32 @commitChunk(i8 noundef zeroext %104, i16 noundef zeroext %105, ptr noundef %106) br label %108 108: ; preds = %103, %97 br label %109 109: ; preds = %108, %95 br label %110 110: ; preds = %109 %111 = load ptr, ptr %6, align 8 %112 = call i64 @feof(ptr noundef %111) %113 = icmp ne i64 %112, 0 %114 = xor i1 %113, true br i1 %114, label %52, label %.loopexit, !llvm.loop !6 .loopexit: ; preds = %110 br label %115 115: ; preds = %.loopexit, %71, %62 %116 = load i8, ptr %11, align 1 %117 = icmp ne i8 %116, 0 br i1 %117, label %118, label %123 118: ; preds = %115 %119 = load i8, ptr %11, align 1 %120 = load i16, ptr %10, align 2 %121 = load ptr, ptr %7, align 8 %122 = call i32 @commitChunk(i8 noundef zeroext %119, i16 noundef zeroext %120, ptr noundef %121) br label %123 123: ; preds = %118, %115 %124 = load ptr, ptr %6, align 8 %125 = call i64 @ftell(ptr noundef %124) %126 = load ptr, ptr %7, align 8 %127 = call i64 @ftell(ptr noundef %126) %128 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %125, i64 noundef %127) %129 = load ptr, ptr %6, align 8 %130 = call i32 @fclose(ptr noundef %129) %131 = load ptr, ptr %7, align 8 %132 = call i32 @fclose(ptr noundef %131) store i32 0, ptr %3, align 4 br label %140 133: ; preds = %63 %134 = load ptr, ptr %6, align 8 %135 = icmp ne ptr %134, null br i1 %135, label %136, label %139 136: ; preds = %133 %137 = load ptr, ptr %6, align 8 %138 = call i32 @fclose(ptr noundef %137) br label %139 139: ; preds = %136, %133 store i32 -1, ptr %3, align 4 br label %140 140: ; preds = %139, %123, %42, %25, %16 %141 = load i32, ptr %3, align 4 ret i32 %141 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @feof(ptr noundef) #1 declare i32 @commitChunk(i8 noundef zeroext, i16 noundef zeroext, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpnyvadjq8.c' source_filename = "/tmp/tmpnyvadjq8.c" target datalayout = "e-m:e-p270: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 @lwm2m_int16ToPlainText(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = trunc i64 %5 to i32 %7 = load ptr, ptr %4, align 8 %8 = call i32 @lwm2m_int64ToPlainText(i32 noundef %6, ptr noundef %7) ret i32 %8 } declare i32 @lwm2m_int64ToPlainText(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/tmpnyvadjq8.c" target datalayout = "e-m:e-p270: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 @lwm2m_int16ToPlainText(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = trunc i64 %5 to i32 %7 = load ptr, ptr %4, align 8 %8 = call i32 @lwm2m_int64ToPlainText(i32 noundef %6, ptr noundef %7) ret i32 %8 } declare i32 @lwm2m_int64ToPlainText(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/tmpjkfor4ev.c' source_filename = "/tmp/tmpjkfor4ev.c" target datalayout = "e-m:e-p270: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"answer is %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 store i32 0, ptr %1, align 4 store float 0x3FF4EC4EC0000000, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, float noundef %3) ret i32 0 } declare i32 @printf(ptr 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/tmpjkfor4ev.c" target datalayout = "e-m:e-p270: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"answer is %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 store i32 0, ptr %1, align 4 store float 0x3FF4EC4EC0000000, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, float noundef %3) ret i32 0 } declare i32 @printf(ptr 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/tmp48mdg7z6.c' source_filename = "/tmp/tmp48mdg7z6.c" target datalayout = "e-m:e-p270: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 @solve(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 @multiples(i32 noundef %3, i32 noundef 3) %5 = load i32, ptr %2, align 4 %6 = call i32 @multiples(i32 noundef %5, i32 noundef 5) %7 = add nsw i32 %4, %6 %8 = load i32, ptr %2, align 4 %9 = call i32 @multiples(i32 noundef %8, i32 noundef 15) %10 = sub nsw i32 %7, %9 ret i32 %10 } declare i32 @multiples(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/tmp48mdg7z6.c" target datalayout = "e-m:e-p270: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 @solve(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 @multiples(i32 noundef %3, i32 noundef 3) %5 = load i32, ptr %2, align 4 %6 = call i32 @multiples(i32 noundef %5, i32 noundef 5) %7 = add nsw i32 %4, %6 %8 = load i32, ptr %2, align 4 %9 = call i32 @multiples(i32 noundef %8, i32 noundef 15) %10 = sub nsw i32 %7, %9 ret i32 %10 } declare i32 @multiples(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/tmpglh4exyg.c' source_filename = "/tmp/tmpglh4exyg.c" target datalayout = "e-m:e-p270: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 @initMap(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 br label %7 7: ; preds = %26, %1 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 7 br i1 %9, label %10, label %29 10: ; preds = %7 store i32 0, ptr %3, align 4 br label %11 11: ; preds = %22, %10 %12 = load i32, ptr %3, align 4 %13 = icmp slt i32 %12, 7 br i1 %13, label %14, label %25 14: ; preds = %11 %15 = load ptr, ptr %2, align 8 %16 = load i32, ptr %3, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [7 x i8], ptr %15, i64 %17 %19 = load i32, ptr %4, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [7 x i8], ptr %18, i64 0, i64 %20 store i8 46, ptr %21, align 1 br label %22 22: ; preds = %14 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %3, align 4 br label %11, !llvm.loop !6 25: ; preds = %11 br label %26 26: ; preds = %25 %27 = load i32, ptr %4, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %4, align 4 br label %7, !llvm.loop !8 29: ; preds = %7 store i32 0, ptr %3, align 4 br label %30 30: ; preds = %44, %29 %31 = load i32, ptr %3, align 4 %32 = icmp slt i32 %31, 7 br i1 %32, label %33, label %47 33: ; preds = %30 %34 = load ptr, ptr %2, align 8 %35 = load i32, ptr %3, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [7 x i8], ptr %34, i64 %36 %38 = getelementptr inbounds [7 x i8], ptr %37, i64 0, i64 0 store i8 35, ptr %38, align 1 %39 = load ptr, ptr %2, align 8 %40 = load i32, ptr %3, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [7 x i8], ptr %39, i64 %41 %43 = getelementptr inbounds [7 x i8], ptr %42, i64 0, i64 6 store i8 35, ptr %43, align 1 br label %44 44: ; preds = %33 %45 = load i32, ptr %3, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %3, align 4 br label %30, !llvm.loop !9 47: ; preds = %30 store i32 1, ptr %4, align 4 br label %48 48: ; preds = %62, %47 %49 = load i32, ptr %4, align 4 %50 = icmp slt i32 %49, 6 br i1 %50, label %51, label %65 51: ; preds = %48 %52 = load ptr, ptr %2, align 8 %53 = getelementptr inbounds [7 x i8], ptr %52, i64 0 %54 = load i32, ptr %4, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [7 x i8], ptr %53, i64 0, i64 %55 store i8 35, ptr %56, align 1 %57 = load ptr, ptr %2, align 8 %58 = getelementptr inbounds [7 x i8], ptr %57, i64 6 %59 = load i32, ptr %4, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [7 x i8], ptr %58, i64 0, i64 %60 store i8 35, ptr %61, align 1 br label %62 62: ; preds = %51 %63 = load i32, ptr %4, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %4, align 4 br label %48, !llvm.loop !10 65: ; preds = %48 store i32 0, ptr %3, align 4 br label %66 66: ; preds = %83, %65 %67 = load i32, ptr %3, align 4 %68 = icmp slt i32 %67, 4 br i1 %68, label %69, label %86 69: ; preds = %66 %70 = call i32 (...) @rand() %71 = srem i32 %70, 5 %72 = add nsw i32 %71, 1 store i32 %72, ptr %5, align 4 %73 = call i32 (...) @rand() %74 = srem i32 %73, 5 %75 = add nsw i32 %74, 1 store i32 %75, ptr %6, align 4 %76 = load ptr, ptr %2, align 8 %77 = load i32, ptr %5, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds [7 x i8], ptr %76, i64 %78 %80 = load i32, ptr %6, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds [7 x i8], ptr %79, i64 0, i64 %81 store i8 80, ptr %82, align 1 br label %83 83: ; preds = %69 %84 = load i32, ptr %3, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %3, align 4 br label %66, !llvm.loop !11 86: ; preds = %66 %87 = call i32 (...) @rand() %88 = srem i32 %87, 5 %89 = add nsw i32 %88, 1 store i32 %89, ptr %5, align 4 %90 = call i32 (...) @rand() %91 = srem i32 %90, 5 %92 = add nsw i32 %91, 1 store i32 %92, ptr %6, align 4 %93 = load ptr, ptr %2, align 8 %94 = load i32, ptr %5, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds [7 x i8], ptr %93, i64 %95 %97 = load i32, ptr %6, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds [7 x i8], ptr %96, i64 0, i64 %98 store i8 87, ptr %99, align 1 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpglh4exyg.c" target datalayout = "e-m:e-p270: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 @initMap(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 7 br i1 %8, label %.lr.ph2, label %31 .lr.ph2: ; preds = %1 br label %9 9: ; preds = %.lr.ph2, %26 store i32 0, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %10, 7 br i1 %11, label %.lr.ph, label %25 .lr.ph: ; preds = %9 br label %12 12: ; preds = %.lr.ph, %20 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [7 x i8], ptr %13, i64 %15 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [7 x i8], ptr %16, i64 0, i64 %18 store i8 46, ptr %19, align 1 br label %20 20: ; preds = %12 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %3, align 4 %23 = load i32, ptr %3, align 4 %24 = icmp slt i32 %23, 7 br i1 %24, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %25 25: ; preds = %._crit_edge, %9 br label %26 26: ; preds = %25 %27 = load i32, ptr %4, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %4, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp slt i32 %29, 7 br i1 %30, label %9, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %26 br label %31 31: ; preds = %._crit_edge3, %1 store i32 0, ptr %3, align 4 %32 = load i32, ptr %3, align 4 %33 = icmp slt i32 %32, 7 br i1 %33, label %.lr.ph5, label %50 .lr.ph5: ; preds = %31 br label %34 34: ; preds = %.lr.ph5, %45 %35 = load ptr, ptr %2, align 8 %36 = load i32, ptr %3, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [7 x i8], ptr %35, i64 %37 %39 = getelementptr inbounds [7 x i8], ptr %38, i64 0, i64 0 store i8 35, ptr %39, align 1 %40 = load ptr, ptr %2, align 8 %41 = load i32, ptr %3, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [7 x i8], ptr %40, i64 %42 %44 = getelementptr inbounds [7 x i8], ptr %43, i64 0, i64 6 store i8 35, ptr %44, align 1 br label %45 45: ; preds = %34 %46 = load i32, ptr %3, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %3, align 4 %48 = load i32, ptr %3, align 4 %49 = icmp slt i32 %48, 7 br i1 %49, label %34, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %45 br label %50 50: ; preds = %._crit_edge6, %31 store i32 1, ptr %4, align 4 %51 = load i32, ptr %4, align 4 %52 = icmp slt i32 %51, 6 br i1 %52, label %.lr.ph8, label %69 .lr.ph8: ; preds = %50 br label %53 53: ; preds = %.lr.ph8, %64 %54 = load ptr, ptr %2, align 8 %55 = getelementptr inbounds [7 x i8], ptr %54, i64 0 %56 = load i32, ptr %4, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [7 x i8], ptr %55, i64 0, i64 %57 store i8 35, ptr %58, align 1 %59 = load ptr, ptr %2, align 8 %60 = getelementptr inbounds [7 x i8], ptr %59, i64 6 %61 = load i32, ptr %4, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [7 x i8], ptr %60, i64 0, i64 %62 store i8 35, ptr %63, align 1 br label %64 64: ; preds = %53 %65 = load i32, ptr %4, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %4, align 4 %67 = load i32, ptr %4, align 4 %68 = icmp slt i32 %67, 6 br i1 %68, label %53, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %64 br label %69 69: ; preds = %._crit_edge9, %50 store i32 0, ptr %3, align 4 %70 = load i32, ptr %3, align 4 %71 = icmp slt i32 %70, 4 br i1 %71, label %.lr.ph11, label %91 .lr.ph11: ; preds = %69 br label %72 72: ; preds = %.lr.ph11, %86 %73 = call i32 (...) @rand() %74 = srem i32 %73, 5 %75 = add nsw i32 %74, 1 store i32 %75, ptr %5, align 4 %76 = call i32 (...) @rand() %77 = srem i32 %76, 5 %78 = add nsw i32 %77, 1 store i32 %78, ptr %6, align 4 %79 = load ptr, ptr %2, align 8 %80 = load i32, ptr %5, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds [7 x i8], ptr %79, i64 %81 %83 = load i32, ptr %6, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds [7 x i8], ptr %82, i64 0, i64 %84 store i8 80, ptr %85, align 1 br label %86 86: ; preds = %72 %87 = load i32, ptr %3, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %3, align 4 %89 = load i32, ptr %3, align 4 %90 = icmp slt i32 %89, 4 br i1 %90, label %72, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %86 br label %91 91: ; preds = %._crit_edge12, %69 %92 = call i32 (...) @rand() %93 = srem i32 %92, 5 %94 = add nsw i32 %93, 1 store i32 %94, ptr %5, align 4 %95 = call i32 (...) @rand() %96 = srem i32 %95, 5 %97 = add nsw i32 %96, 1 store i32 %97, ptr %6, align 4 %98 = load ptr, ptr %2, align 8 %99 = load i32, ptr %5, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds [7 x i8], ptr %98, i64 %100 %102 = load i32, ptr %6, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds [7 x i8], ptr %101, i64 0, i64 %103 store i8 87, ptr %104, align 1 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpb247a04v.c' source_filename = "/tmp/tmpb247a04v.c" target datalayout = "e-m:e-p270: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/tmpb247a04v.c" target datalayout = "e-m:e-p270: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/tmpl7giq201.c' source_filename = "/tmp/tmpl7giq201.c" target datalayout = "e-m:e-p270: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_ispunct.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"ispunct should be 0 for 0xe2\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_ispunct_0xe2() #0 { %1 = call i64 @ispunct(i32 noundef 226) %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 1135, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @ispunct(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/tmpl7giq201.c" target datalayout = "e-m:e-p270: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_ispunct.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"ispunct should be 0 for 0xe2\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_ispunct_0xe2() #0 { %1 = call i64 @ispunct(i32 noundef 226) %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 1135, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @ispunct(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/tmpjxkkmfwm.c' source_filename = "/tmp/tmpjxkkmfwm.c" target datalayout = "e-m:e-p270: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 @f2() #0 { %1 = alloca ptr, align 8 %2 = call ptr @malloc(i32 noundef 200) store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = getelementptr inbounds [5 x [10 x i32]], ptr %3, i64 0, i64 1 %5 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 2 store i32 4321, ptr %5, align 4 %6 = load ptr, ptr %1, align 8 ret ptr %6 } declare ptr @malloc(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/tmpjxkkmfwm.c" target datalayout = "e-m:e-p270: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 @f2() #0 { %1 = alloca ptr, align 8 %2 = call ptr @malloc(i32 noundef 200) store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = getelementptr inbounds [5 x [10 x i32]], ptr %3, i64 0, i64 1 %5 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 2 store i32 4321, ptr %5, align 4 %6 = load ptr, ptr %1, align 8 ret ptr %6 } declare ptr @malloc(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/tmpz3ixqgjc.c' source_filename = "/tmp/tmpz3ixqgjc.c" target datalayout = "e-m:e-p270: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 [37 x i8] c"Please enter something in a line :)\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%c\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() #0 { %1 = alloca i32, align 4 %2 = alloca [255 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = getelementptr inbounds [255 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %8 = getelementptr inbounds [255 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = sub nsw i32 %10, 1 store i32 %11, ptr %4, align 4 br label %12 12: ; preds = %22, %0 %13 = load i32, ptr %4, align 4 %14 = icmp sge i32 %13, 0 br i1 %14, label %15, label %25 15: ; preds = %12 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [255 x i8], ptr %2, i64 0, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20) br label %22 22: ; preds = %15 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %23, -1 store i32 %24, ptr %4, align 4 br label %12, !llvm.loop !6 25: ; preds = %12 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr 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/tmpz3ixqgjc.c" target datalayout = "e-m:e-p270: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 [37 x i8] c"Please enter something in a line :)\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%c\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() #0 { %1 = alloca i32, align 4 %2 = alloca [255 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = getelementptr inbounds [255 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %8 = getelementptr inbounds [255 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = sub nsw i32 %10, 1 store i32 %11, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp sge i32 %12, 0 br i1 %13, label %.lr.ph, label %26 .lr.ph: ; preds = %0 br label %14 14: ; preds = %.lr.ph, %21 %15 = load i32, ptr %4, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [255 x i8], ptr %2, i64 0, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %19) br label %21 21: ; preds = %14 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, -1 store i32 %23, ptr %4, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp sge i32 %24, 0 br i1 %25, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %26 26: ; preds = %._crit_edge, %0 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr 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/tmpap4nj0dg.c' source_filename = "/tmp/tmpap4nj0dg.c" target datalayout = "e-m:e-p270: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 @dds_advance(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %6, align 4 %8 = sext i32 %7 to i64 %9 = add nsw i64 %8, %5 %10 = trunc i64 %9 to i32 store i32 %10, ptr %6, 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/tmpap4nj0dg.c" target datalayout = "e-m:e-p270: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 @dds_advance(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %6, align 4 %8 = sext i32 %7 to i64 %9 = add nsw i64 %8, %5 %10 = trunc i64 %9 to i32 store i32 %10, ptr %6, 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/tmpertvtkbq.c' source_filename = "/tmp/tmpertvtkbq.c" target datalayout = "e-m:e-p270: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"abcba\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"qwertytrewq\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"zxcvbvcxz\00", align 1 @__const.main.str_palin = private unnamed_addr constant [3 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2], align 16 @.str.3 = private unnamed_addr constant [8 x i8] c"asdfghj\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"poqwert\00", align 1 @__const.main.str_nonpalin = private unnamed_addr constant [2 x ptr] [ptr @.str.3, ptr @.str.4], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x ptr], align 16 %3 = alloca [2 x ptr], align 16 %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.str_palin, i64 24, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.str_nonpalin, i64 16, i1 false) store i32 0, ptr %4, align 4 br label %6 6: ; preds = %20, %0 %7 = load i32, ptr %4, align 4 %8 = sext i32 %7 to i64 %9 = icmp ult i64 %8, 3 br i1 %9, label %10, label %23 10: ; preds = %6 %11 = load i32, ptr %4, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [3 x ptr], ptr %2, i64 0, i64 %12 %14 = load ptr, ptr %13, align 8 %15 = call i64 @is_palindrome(ptr noundef %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %19, label %17 17: ; preds = %10 %18 = call i32 (...) @log_fail() store i32 -1, ptr %1, align 4 br label %43 19: ; preds = %10 br label %20 20: ; preds = %19 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %4, align 4 br label %6, !llvm.loop !6 23: ; preds = %6 store i32 0, ptr %5, align 4 br label %24 24: ; preds = %38, %23 %25 = load i32, ptr %5, align 4 %26 = sext i32 %25 to i64 %27 = icmp ult i64 %26, 2 br i1 %27, label %28, label %41 28: ; preds = %24 %29 = load i32, ptr %5, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [2 x ptr], ptr %3, i64 0, i64 %30 %32 = load ptr, ptr %31, align 8 %33 = call i64 @is_palindrome(ptr noundef %32) %34 = icmp ne i64 %33, 0 br i1 %34, label %35, label %37 35: ; preds = %28 %36 = call i32 (...) @log_fail() store i32 -1, ptr %1, align 4 br label %43 37: ; preds = %28 br label %38 38: ; preds = %37 %39 = load i32, ptr %5, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %5, align 4 br label %24, !llvm.loop !8 41: ; preds = %24 %42 = call i32 (...) @log_pass() store i32 0, ptr %1, align 4 br label %43 43: ; preds = %41, %35, %17 %44 = load i32, ptr %1, align 4 ret i32 %44 } ; 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 @is_palindrome(ptr noundef) #2 declare i32 @log_fail(...) #2 declare i32 @log_pass(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpertvtkbq.c" target datalayout = "e-m:e-p270: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"abcba\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"qwertytrewq\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"zxcvbvcxz\00", align 1 @__const.main.str_palin = private unnamed_addr constant [3 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2], align 16 @.str.3 = private unnamed_addr constant [8 x i8] c"asdfghj\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"poqwert\00", align 1 @__const.main.str_nonpalin = private unnamed_addr constant [2 x ptr] [ptr @.str.3, ptr @.str.4], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x ptr], align 16 %3 = alloca [2 x ptr], align 16 %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.str_palin, i64 24, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.str_nonpalin, i64 16, i1 false) store i32 0, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = sext i32 %6 to i64 %8 = icmp ult i64 %7, 3 br i1 %8, label %.lr.ph, label %25 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %19 %10 = load i32, ptr %4, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [3 x ptr], ptr %2, i64 0, i64 %11 %13 = load ptr, ptr %12, align 8 %14 = call i64 @is_palindrome(ptr noundef %13) %15 = icmp ne i64 %14, 0 br i1 %15, label %18, label %16 16: ; preds = %9 %17 = call i32 (...) @log_fail() store i32 -1, ptr %1, align 4 br label %47 18: ; preds = %9 br label %19 19: ; preds = %18 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %4, align 4 %22 = load i32, ptr %4, align 4 %23 = sext i32 %22 to i64 %24 = icmp ult i64 %23, 3 br i1 %24, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %25 25: ; preds = %._crit_edge, %0 store i32 0, ptr %5, align 4 %26 = load i32, ptr %5, align 4 %27 = sext i32 %26 to i64 %28 = icmp ult i64 %27, 2 br i1 %28, label %.lr.ph2, label %45 .lr.ph2: ; preds = %25 br label %29 29: ; preds = %.lr.ph2, %39 %30 = load i32, ptr %5, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [2 x ptr], ptr %3, i64 0, i64 %31 %33 = load ptr, ptr %32, align 8 %34 = call i64 @is_palindrome(ptr noundef %33) %35 = icmp ne i64 %34, 0 br i1 %35, label %36, label %38 36: ; preds = %29 %37 = call i32 (...) @log_fail() store i32 -1, ptr %1, align 4 br label %47 38: ; preds = %29 br label %39 39: ; preds = %38 %40 = load i32, ptr %5, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %5, align 4 %42 = load i32, ptr %5, align 4 %43 = sext i32 %42 to i64 %44 = icmp ult i64 %43, 2 br i1 %44, label %29, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %39 br label %45 45: ; preds = %._crit_edge3, %25 %46 = call i32 (...) @log_pass() store i32 0, ptr %1, align 4 br label %47 47: ; preds = %45, %36, %16 %48 = load i32, ptr %1, align 4 ret i32 %48 } ; 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 @is_palindrome(ptr noundef) #2 declare i32 @log_fail(...) #2 declare i32 @log_pass(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpt7g72vn5.c' source_filename = "/tmp/tmpt7g72vn5.c" target datalayout = "e-m:e-p270: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/tmpt7g72vn5.c" target datalayout = "e-m:e-p270: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/tmp5gxyxi4m.c' source_filename = "/tmp/tmp5gxyxi4m.c" target datalayout = "e-m:e-p270: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"_queue\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%02X\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @peer_connection_queue_name(i64 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store i64 %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load i64, ptr %6, align 8 %10 = call i32 @strlen(ptr noundef @.str) %11 = sext i32 %10 to i64 %12 = add i64 %11, 16 %13 = call i32 @strlen(ptr noundef @.str.1) %14 = sext i32 %13 to i64 %15 = add i64 %12, %14 %16 = add i64 %15, 1 %17 = icmp uge i64 %9, %16 %18 = zext i1 %17 to i32 %19 = call i32 @assert(i32 noundef %18) store i64 0, ptr %7, align 8 %20 = load ptr, ptr %5, align 8 %21 = load i64, ptr %6, align 8 %22 = load i64, ptr %7, align 8 %23 = sub i64 %21, %22 %24 = call i64 (ptr, i64, ptr, ...) @snprintf(ptr noundef %20, i64 noundef %23, ptr noundef @.str) %25 = load i64, ptr %7, align 8 %26 = add i64 %25, %24 store i64 %26, ptr %7, align 8 %27 = load i64, ptr %4, align 8 %28 = inttoptr i64 %27 to ptr store ptr %28, ptr %8, align 8 br label %29 29: ; preds = %53, %3 %30 = load ptr, ptr %8, align 8 %31 = load i64, ptr %4, align 8 %32 = inttoptr i64 %31 to ptr %33 = getelementptr inbounds i8, ptr %32, i64 8 %34 = icmp ult ptr %30, %33 br i1 %34, label %35, label %56 35: ; preds = %29 %36 = load ptr, ptr %5, align 8 %37 = load i64, ptr %7, align 8 %38 = getelementptr inbounds i8, ptr %36, i64 %37 %39 = load i64, ptr %6, align 8 %40 = load i64, ptr %7, align 8 %41 = sub i64 %39, %40 %42 = load ptr, ptr %8, align 8 %43 = load i8, ptr %42, align 1 %44 = zext i8 %43 to i32 %45 = call i64 (ptr, i64, ptr, ...) @snprintf(ptr noundef %38, i64 noundef %41, ptr noundef @.str.2, i32 noundef %44) %46 = load i64, ptr %7, align 8 %47 = add i64 %46, %45 store i64 %47, ptr %7, align 8 %48 = load i64, ptr %7, align 8 %49 = load i64, ptr %6, align 8 %50 = icmp eq i64 %48, %49 br i1 %50, label %51, label %52 51: ; preds = %35 br label %64 52: ; preds = %35 br label %53 53: ; preds = %52 %54 = load ptr, ptr %8, align 8 %55 = getelementptr inbounds i8, ptr %54, i32 1 store ptr %55, ptr %8, align 8 br label %29, !llvm.loop !6 56: ; preds = %29 %57 = load ptr, ptr %5, align 8 %58 = load i64, ptr %7, align 8 %59 = getelementptr inbounds i8, ptr %57, i64 %58 %60 = load i64, ptr %6, align 8 %61 = load i64, ptr %7, align 8 %62 = sub i64 %60, %61 %63 = call i64 (ptr, i64, ptr, ...) @snprintf(ptr noundef %59, i64 noundef %62, ptr noundef @.str.1) br label %64 64: ; preds = %56, %51 ret void } declare i32 @assert(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @snprintf(ptr noundef, i64 noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5gxyxi4m.c" target datalayout = "e-m:e-p270: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"_queue\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%02X\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @peer_connection_queue_name(i64 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store i64 %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load i64, ptr %6, align 8 %10 = call i32 @strlen(ptr noundef @.str) %11 = sext i32 %10 to i64 %12 = add i64 %11, 16 %13 = call i32 @strlen(ptr noundef @.str.1) %14 = sext i32 %13 to i64 %15 = add i64 %12, %14 %16 = add i64 %15, 1 %17 = icmp uge i64 %9, %16 %18 = zext i1 %17 to i32 %19 = call i32 @assert(i32 noundef %18) store i64 0, ptr %7, align 8 %20 = load ptr, ptr %5, align 8 %21 = load i64, ptr %6, align 8 %22 = load i64, ptr %7, align 8 %23 = sub i64 %21, %22 %24 = call i64 (ptr, i64, ptr, ...) @snprintf(ptr noundef %20, i64 noundef %23, ptr noundef @.str) %25 = load i64, ptr %7, align 8 %26 = add i64 %25, %24 store i64 %26, ptr %7, align 8 %27 = load i64, ptr %4, align 8 %28 = inttoptr i64 %27 to ptr store ptr %28, ptr %8, align 8 %29 = load ptr, ptr %8, align 8 %30 = load i64, ptr %4, align 8 %31 = inttoptr i64 %30 to ptr %32 = getelementptr inbounds i8, ptr %31, i64 8 %33 = icmp ult ptr %29, %32 br i1 %33, label %.lr.ph, label %60 .lr.ph: ; preds = %3 br label %34 34: ; preds = %.lr.ph, %52 %35 = load ptr, ptr %5, align 8 %36 = load i64, ptr %7, align 8 %37 = getelementptr inbounds i8, ptr %35, i64 %36 %38 = load i64, ptr %6, align 8 %39 = load i64, ptr %7, align 8 %40 = sub i64 %38, %39 %41 = load ptr, ptr %8, align 8 %42 = load i8, ptr %41, align 1 %43 = zext i8 %42 to i32 %44 = call i64 (ptr, i64, ptr, ...) @snprintf(ptr noundef %37, i64 noundef %40, ptr noundef @.str.2, i32 noundef %43) %45 = load i64, ptr %7, align 8 %46 = add i64 %45, %44 store i64 %46, ptr %7, align 8 %47 = load i64, ptr %7, align 8 %48 = load i64, ptr %6, align 8 %49 = icmp eq i64 %47, %48 br i1 %49, label %50, label %51 50: ; preds = %34 br label %68 51: ; preds = %34 br label %52 52: ; preds = %51 %53 = load ptr, ptr %8, align 8 %54 = getelementptr inbounds i8, ptr %53, i32 1 store ptr %54, ptr %8, align 8 %55 = load ptr, ptr %8, align 8 %56 = load i64, ptr %4, align 8 %57 = inttoptr i64 %56 to ptr %58 = getelementptr inbounds i8, ptr %57, i64 8 %59 = icmp ult ptr %55, %58 br i1 %59, label %34, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %52 br label %60 60: ; preds = %._crit_edge, %3 %61 = load ptr, ptr %5, align 8 %62 = load i64, ptr %7, align 8 %63 = getelementptr inbounds i8, ptr %61, i64 %62 %64 = load i64, ptr %6, align 8 %65 = load i64, ptr %7, align 8 %66 = sub i64 %64, %65 %67 = call i64 (ptr, i64, ptr, ...) @snprintf(ptr noundef %63, i64 noundef %66, ptr noundef @.str.1) br label %68 68: ; preds = %60, %50 ret void } declare i32 @assert(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @snprintf(ptr noundef, i64 noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp7_pbunu5.c' source_filename = "/tmp/tmp7_pbunu5.c" target datalayout = "e-m:e-p270: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 @xAP_GetItem(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 i32, align 4 %9 = alloca [256 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 0, ptr %8, align 4 br label %10 10: ; preds = %35, %3 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %13 = load i32, ptr %8, align 4 %14 = call i32 @xAP_GetLine(ptr noundef %11, ptr noundef %12, i32 noundef %13) store i32 %14, ptr %8, align 4 %15 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %16 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %17 = call i32 @strlen(ptr noundef %16) %18 = call i32 @ConvertLcase(ptr noundef %15, i32 noundef %17) %19 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %20 = load ptr, ptr %6, align 8 %21 = load ptr, ptr %6, align 8 %22 = call i32 @strlen(ptr noundef %21) %23 = call i32 @memcmp(ptr noundef %19, ptr noundef %20, i32 noundef %22) %24 = icmp ne i32 %23, 0 br i1 %24, label %34, label %25 25: ; preds = %10 %26 = load ptr, ptr %7, align 8 %27 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %28 = load ptr, ptr %6, align 8 %29 = call i32 @strlen(ptr noundef %28) %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %27, i64 %30 %32 = call i32 @strcpy(ptr noundef %26, ptr noundef %31) %33 = load i32, ptr %8, align 4 store i32 %33, ptr %4, align 4 br label %39 34: ; preds = %10 br label %35 35: ; preds = %34 %36 = load i32, ptr %8, align 4 %37 = icmp ne i32 %36, -1 br i1 %37, label %10, label %38, !llvm.loop !6 38: ; preds = %35 store i32 0, ptr %4, align 4 br label %39 39: ; preds = %38, %25 %40 = load i32, ptr %4, align 4 ret i32 %40 } declare i32 @xAP_GetLine(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @ConvertLcase(ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcpy(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/tmp7_pbunu5.c" target datalayout = "e-m:e-p270: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 @xAP_GetItem(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 i32, align 4 %9 = alloca [256 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 0, ptr %8, align 4 br label %10 10: ; preds = %35, %3 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %13 = load i32, ptr %8, align 4 %14 = call i32 @xAP_GetLine(ptr noundef %11, ptr noundef %12, i32 noundef %13) store i32 %14, ptr %8, align 4 %15 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %16 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %17 = call i32 @strlen(ptr noundef %16) %18 = call i32 @ConvertLcase(ptr noundef %15, i32 noundef %17) %19 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %20 = load ptr, ptr %6, align 8 %21 = load ptr, ptr %6, align 8 %22 = call i32 @strlen(ptr noundef %21) %23 = call i32 @memcmp(ptr noundef %19, ptr noundef %20, i32 noundef %22) %24 = icmp ne i32 %23, 0 br i1 %24, label %34, label %25 25: ; preds = %10 %26 = load ptr, ptr %7, align 8 %27 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %28 = load ptr, ptr %6, align 8 %29 = call i32 @strlen(ptr noundef %28) %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %27, i64 %30 %32 = call i32 @strcpy(ptr noundef %26, ptr noundef %31) %33 = load i32, ptr %8, align 4 store i32 %33, ptr %4, align 4 br label %39 34: ; preds = %10 br label %35 35: ; preds = %34 %36 = load i32, ptr %8, align 4 %37 = icmp ne i32 %36, -1 br i1 %37, label %10, label %38, !llvm.loop !6 38: ; preds = %35 store i32 0, ptr %4, align 4 br label %39 39: ; preds = %38, %25 %40 = load i32, ptr %4, align 4 ret i32 %40 } declare i32 @xAP_GetLine(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @ConvertLcase(ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcpy(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/tmpzlskctfh.c' source_filename = "/tmp/tmpzlskctfh.c" target datalayout = "e-m:e-p270: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 [43 x i8] c"This program averages a list of integers.\0A\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"Enter -1 to signal the end of the list\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c" ? \00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"The total is %g\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 double, align 8 %8 = alloca double, 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 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store double 0.000000e+00, ptr %8, align 8 br label %11 11: ; preds = %2, %17 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %13 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %7) %14 = load double, ptr %7, align 8 %15 = fcmp oeq double %14, -1.000000e+00 br i1 %15, label %16, label %17 16: ; preds = %11 br label %23 17: ; preds = %11 %18 = load double, ptr %7, align 8 %19 = load double, ptr %8, align 8 %20 = fadd double %19, %18 store double %20, ptr %8, align 8 %21 = load i32, ptr %6, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %6, align 4 br label %11 23: ; preds = %16 %24 = load double, ptr %8, align 8 %25 = load i32, ptr %6, align 4 %26 = sitofp i32 %25 to double %27 = fmul double %26, 1.000000e+00 %28 = fdiv double %24, %27 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %28) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzlskctfh.c" target datalayout = "e-m:e-p270: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 [43 x i8] c"This program averages a list of integers.\0A\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"Enter -1 to signal the end of the list\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c" ? \00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"The total is %g\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 double, align 8 %8 = alloca double, 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 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store double 0.000000e+00, ptr %8, align 8 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %12 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %7) %13 = load double, ptr %7, align 8 %14 = fcmp oeq double %13, -1.000000e+00 br i1 %14, label %15, label %.lr.ph .lr.ph: ; preds = %2 br label %16 ._crit_edge: ; preds = %16 br label %15 15: ; preds = %._crit_edge, %2 br label %26 16: ; preds = %.lr.ph, %16 %17 = load double, ptr %7, align 8 %18 = load double, ptr %8, align 8 %19 = fadd double %18, %17 store double %19, ptr %8, align 8 %20 = load i32, ptr %6, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %6, align 4 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %23 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %7) %24 = load double, ptr %7, align 8 %25 = fcmp oeq double %24, -1.000000e+00 br i1 %25, label %._crit_edge, label %16 26: ; preds = %15 %27 = load double, ptr %8, align 8 %28 = load i32, ptr %6, align 4 %29 = sitofp i32 %28 to double %30 = fmul double %29, 1.000000e+00 %31 = fdiv double %27, %30 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %31) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr_ner9ew.c' source_filename = "/tmp/tmpr_ner9ew.c" target datalayout = "e-m:e-p270: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_ner9ew.c" target datalayout = "e-m:e-p270: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/tmpxfb7mf5r.c' source_filename = "/tmp/tmpxfb7mf5r.c" target datalayout = "e-m:e-p270: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"query.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"queryresults.out\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"%d %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @queryImport(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [30 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %11 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %11, ptr %5, align 8 %12 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %12, ptr %6, align 8 store i32 0, ptr %7, align 4 %13 = load ptr, ptr %5, align 8 %14 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %13, ptr noundef @.str.4, ptr noundef %7) store i32 0, ptr %8, align 4 br label %15 15: ; preds = %36, %2 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %7, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %39 19: ; preds = %15 %20 = load ptr, ptr %5, align 8 %21 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %20, ptr noundef @.str.5, ptr noundef %9, ptr noundef %10) %22 = load i32, ptr %9, align 4 switch i32 %22, label %35 [ i32 1, label %23 i32 2, label %29 ] 23: ; preds = %19 %24 = load ptr, ptr %6, align 8 %25 = load ptr, ptr %3, align 8 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds [30 x i8], ptr %10, i64 0, i64 0 %28 = call i32 @query1(ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27) br label %35 29: ; preds = %19 %30 = load ptr, ptr %6, align 8 %31 = load ptr, ptr %3, align 8 %32 = load ptr, ptr %4, align 8 %33 = getelementptr inbounds [30 x i8], ptr %10, i64 0, i64 0 %34 = call i32 @query2(ptr noundef %30, ptr noundef %31, ptr noundef %32, ptr noundef %33) br label %35 35: ; preds = %19, %29, %23 br label %36 36: ; preds = %35 %37 = load i32, ptr %8, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %8, align 4 br label %15, !llvm.loop !6 39: ; preds = %15 %40 = load ptr, ptr %5, align 8 %41 = call i32 @fclose(ptr noundef %40) %42 = load ptr, ptr %6, align 8 %43 = call i32 @fclose(ptr noundef %42) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ...) #1 declare i32 @query1(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @query2(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxfb7mf5r.c" target datalayout = "e-m:e-p270: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"query.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"queryresults.out\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"%d %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @queryImport(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [30 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %11 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %11, ptr %5, align 8 %12 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %12, ptr %6, align 8 store i32 0, ptr %7, align 4 %13 = load ptr, ptr %5, align 8 %14 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %13, ptr noundef @.str.4, ptr noundef %7) store i32 0, ptr %8, align 4 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %7, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %41 .lr.ph: ; preds = %2 br label %18 18: ; preds = %.lr.ph, %35 %19 = load ptr, ptr %5, align 8 %20 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %19, ptr noundef @.str.5, ptr noundef %9, ptr noundef %10) %21 = load i32, ptr %9, align 4 switch i32 %21, label %34 [ i32 1, label %22 i32 2, label %28 ] 22: ; preds = %18 %23 = load ptr, ptr %6, align 8 %24 = load ptr, ptr %3, align 8 %25 = load ptr, ptr %4, align 8 %26 = getelementptr inbounds [30 x i8], ptr %10, i64 0, i64 0 %27 = call i32 @query1(ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26) br label %34 28: ; preds = %18 %29 = load ptr, ptr %6, align 8 %30 = load ptr, ptr %3, align 8 %31 = load ptr, ptr %4, align 8 %32 = getelementptr inbounds [30 x i8], ptr %10, i64 0, i64 0 %33 = call i32 @query2(ptr noundef %29, ptr noundef %30, ptr noundef %31, ptr noundef %32) br label %34 34: ; preds = %28, %22, %18 br label %35 35: ; preds = %34 %36 = load i32, ptr %8, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %8, align 4 %38 = load i32, ptr %8, align 4 %39 = load i32, ptr %7, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %41 41: ; preds = %._crit_edge, %2 %42 = load ptr, ptr %5, align 8 %43 = call i32 @fclose(ptr noundef %42) %44 = load ptr, ptr %6, align 8 %45 = call i32 @fclose(ptr noundef %44) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ...) #1 declare i32 @query1(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @query2(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpolrbkad4.c' source_filename = "/tmp/tmpolrbkad4.c" target datalayout = "e-m:e-p270: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"p = \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @demo() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca [5 x double], align 16 %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 store i32 5, ptr %1, align 4 %10 = call double (...) @screen_width() store double %10, ptr %2, align 8 %11 = call double (...) @screen_height() store double %11, ptr %3, align 8 call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 40, i1 false) %12 = getelementptr inbounds [5 x double], ptr %4, i32 0, i32 0 store double 5.000000e-01, ptr %12, align 16 %13 = getelementptr inbounds [5 x double], ptr %4, i32 0, i32 1 store double 1.000000e+00, ptr %13, align 8 %14 = getelementptr inbounds [5 x double], ptr %4, i32 0, i32 2 store double 1.500000e+00, ptr %14, align 16 %15 = getelementptr inbounds [5 x double], ptr %4, i32 0, i32 3 store double 2.000000e+00, ptr %15, align 8 %16 = getelementptr inbounds [5 x double], ptr %4, i32 0, i32 4 store double 3.000000e+00, ptr %16, align 16 store i32 0, ptr %5, align 4 br label %17 17: ; preds = %47, %0 %18 = load i32, ptr %5, align 4 %19 = icmp slt i32 %18, 5 br i1 %19, label %20, label %50 20: ; preds = %17 %21 = call i32 (...) @clear_screen() %22 = load double, ptr %2, align 8 %23 = fdiv double %22, 2.000000e+00 store double %23, ptr %6, align 8 %24 = load double, ptr %3, align 8 %25 = fdiv double %24, 2.000000e+00 store double %25, ptr %7, align 8 %26 = load double, ptr %2, align 8 %27 = fdiv double %26, 3.000000e+00 store double %27, ptr %8, align 8 %28 = load double, ptr %3, align 8 %29 = fdiv double %28, 3.000000e+00 store double %29, ptr %9, align 8 %30 = load double, ptr %6, align 8 %31 = load double, ptr %7, align 8 %32 = load double, ptr %8, align 8 %33 = load double, ptr %9, align 8 %34 = load i32, ptr %5, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [5 x double], ptr %4, i64 0, i64 %35 %37 = load double, ptr %36, align 8 %38 = call i32 @draw_ellipse_p(double noundef %30, double noundef %31, double noundef %32, double noundef %33, double noundef %37, i8 noundef signext 42) %39 = call i32 @draw_string(i32 noundef 0, i32 noundef 0, ptr noundef @.str) %40 = load i32, ptr %5, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [5 x double], ptr %4, i64 0, i64 %41 %43 = load double, ptr %42, align 8 %44 = call i32 @draw_double(i32 noundef 4, i32 noundef 0, double noundef %43) %45 = call i32 (...) @show_screen() %46 = call i32 @timer_pause(i32 noundef 5000) br label %47 47: ; preds = %20 %48 = load i32, ptr %5, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %5, align 4 br label %17, !llvm.loop !6 50: ; preds = %17 ret void } declare double @screen_width(...) #1 declare double @screen_height(...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @clear_screen(...) #1 declare i32 @draw_ellipse_p(double noundef, double noundef, double noundef, double noundef, double noundef, i8 noundef signext) #1 declare i32 @draw_string(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @draw_double(i32 noundef, i32 noundef, double noundef) #1 declare i32 @show_screen(...) #1 declare i32 @timer_pause(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: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpolrbkad4.c" target datalayout = "e-m:e-p270: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"p = \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @demo() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca [5 x double], align 16 %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 store i32 5, ptr %1, align 4 %10 = call double (...) @screen_width() store double %10, ptr %2, align 8 %11 = call double (...) @screen_height() store double %11, ptr %3, align 8 call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 40, i1 false) %12 = getelementptr inbounds [5 x double], ptr %4, i32 0, i32 0 store double 5.000000e-01, ptr %12, align 16 %13 = getelementptr inbounds [5 x double], ptr %4, i32 0, i32 1 store double 1.000000e+00, ptr %13, align 8 %14 = getelementptr inbounds [5 x double], ptr %4, i32 0, i32 2 store double 1.500000e+00, ptr %14, align 16 %15 = getelementptr inbounds [5 x double], ptr %4, i32 0, i32 3 store double 2.000000e+00, ptr %15, align 8 %16 = getelementptr inbounds [5 x double], ptr %4, i32 0, i32 4 store double 3.000000e+00, ptr %16, align 16 store i32 0, ptr %5, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp slt i32 %17, 5 br i1 %18, label %.lr.ph, label %51 .lr.ph: ; preds = %0 br label %19 19: ; preds = %.lr.ph, %46 %20 = call i32 (...) @clear_screen() %21 = load double, ptr %2, align 8 %22 = fdiv double %21, 2.000000e+00 store double %22, ptr %6, align 8 %23 = load double, ptr %3, align 8 %24 = fdiv double %23, 2.000000e+00 store double %24, ptr %7, align 8 %25 = load double, ptr %2, align 8 %26 = fdiv double %25, 3.000000e+00 store double %26, ptr %8, align 8 %27 = load double, ptr %3, align 8 %28 = fdiv double %27, 3.000000e+00 store double %28, ptr %9, align 8 %29 = load double, ptr %6, align 8 %30 = load double, ptr %7, align 8 %31 = load double, ptr %8, align 8 %32 = load double, ptr %9, align 8 %33 = load i32, ptr %5, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [5 x double], ptr %4, i64 0, i64 %34 %36 = load double, ptr %35, align 8 %37 = call i32 @draw_ellipse_p(double noundef %29, double noundef %30, double noundef %31, double noundef %32, double noundef %36, i8 noundef signext 42) %38 = call i32 @draw_string(i32 noundef 0, i32 noundef 0, ptr noundef @.str) %39 = load i32, ptr %5, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [5 x double], ptr %4, i64 0, i64 %40 %42 = load double, ptr %41, align 8 %43 = call i32 @draw_double(i32 noundef 4, i32 noundef 0, double noundef %42) %44 = call i32 (...) @show_screen() %45 = call i32 @timer_pause(i32 noundef 5000) br label %46 46: ; preds = %19 %47 = load i32, ptr %5, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %5, align 4 %49 = load i32, ptr %5, align 4 %50 = icmp slt i32 %49, 5 br i1 %50, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %46 br label %51 51: ; preds = %._crit_edge, %0 ret void } declare double @screen_width(...) #1 declare double @screen_height(...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @clear_screen(...) #1 declare i32 @draw_ellipse_p(double noundef, double noundef, double noundef, double noundef, double noundef, i8 noundef signext) #1 declare i32 @draw_string(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @draw_double(i32 noundef, i32 noundef, double noundef) #1 declare i32 @show_screen(...) #1 declare i32 @timer_pause(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: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpat8hp0x2.c' source_filename = "/tmp/tmpat8hp0x2.c" target datalayout = "e-m:e-p270: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 [162 x i8] c"Usage: input is the standard input, output is the standard output. Use the\0Afollowing arguments:\0A -digi Digitised audio mode (default)\0A -pc PC speaker mode\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) ret void } 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/tmpat8hp0x2.c" target datalayout = "e-m:e-p270: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 [162 x i8] c"Usage: input is the standard input, output is the standard output. Use the\0Afollowing arguments:\0A -digi Digitised audio mode (default)\0A -pc PC speaker mode\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) ret void } 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/tmp512msoju.c' source_filename = "/tmp/tmp512msoju.c" target datalayout = "e-m:e-p270: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 @feholdexcept(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp512msoju.c" target datalayout = "e-m:e-p270: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 @feholdexcept(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd976wdyb.c' source_filename = "/tmp/tmpd976wdyb.c" target datalayout = "e-m:e-p270: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 @__cosf(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call float @__nv_fast_cosf(float noundef %3) ret float %4 } declare float @__nv_fast_cosf(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/tmpd976wdyb.c" target datalayout = "e-m:e-p270: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 @__cosf(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call float @__nv_fast_cosf(float noundef %3) ret float %4 } declare float @__nv_fast_cosf(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/tmp6p_9e15a.c' source_filename = "/tmp/tmp6p_9e15a.c" target datalayout = "e-m:e-p270: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 @randPrime(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = call i32 (...) @rand() %5 = load i32, ptr %2, align 4 %6 = srem i32 %4, %5 store i32 %6, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = srem i32 %7, 2 %9 = load i32, ptr %2, align 4 %10 = add nsw i32 %9, %8 store i32 %10, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = srem i32 %11, 2 %13 = sub nsw i32 1, %12 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, %13 store i32 %15, ptr %3, align 4 br label %16 16: ; preds = %1, %22 %17 = load i32, ptr %3, align 4 %18 = call i64 @probablePrime(i32 noundef %17, i32 noundef 5) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = load i32, ptr %3, align 4 ret i32 %21 22: ; preds = %16 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 2 %25 = load i32, ptr %2, align 4 %26 = srem i32 %24, %25 store i32 %26, ptr %3, align 4 br label %16 } declare i32 @rand(...) #1 declare i64 @probablePrime(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/tmp6p_9e15a.c" target datalayout = "e-m:e-p270: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 @randPrime(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = call i32 (...) @rand() %5 = load i32, ptr %2, align 4 %6 = srem i32 %4, %5 store i32 %6, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = srem i32 %7, 2 %9 = load i32, ptr %2, align 4 %10 = add nsw i32 %9, %8 store i32 %10, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = srem i32 %11, 2 %13 = sub nsw i32 1, %12 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, %13 store i32 %15, ptr %3, align 4 %16 = load i32, ptr %3, align 4 %17 = call i64 @probablePrime(i32 noundef %16, i32 noundef 5) %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %.lr.ph .lr.ph: ; preds = %1 br label %21 ._crit_edge: ; preds = %21 br label %19 19: ; preds = %._crit_edge, %1 %20 = load i32, ptr %3, align 4 ret i32 %20 21: ; preds = %.lr.ph, %21 %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %22, 2 %24 = load i32, ptr %2, align 4 %25 = srem i32 %23, %24 store i32 %25, ptr %3, align 4 %26 = load i32, ptr %3, align 4 %27 = call i64 @probablePrime(i32 noundef %26, i32 noundef 5) %28 = icmp ne i64 %27, 0 br i1 %28, label %._crit_edge, label %21 } declare i32 @rand(...) #1 declare i64 @probablePrime(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/tmp5x6ar61e.c' source_filename = "/tmp/tmp5x6ar61e.c" target datalayout = "e-m:e-p270: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/tmp5x6ar61e.c" target datalayout = "e-m:e-p270: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/tmp1elej2y7.c' source_filename = "/tmp/tmp1elej2y7.c" target datalayout = "e-m:e-p270: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"%s\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"\0A[ \00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printArray(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %3 %11 = load ptr, ptr %6, align 8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %11) br label %13 13: ; preds = %10, %3 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %7, align 4 br label %15 15: ; preds = %26, %13 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %29 19: ; preds = %15 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i32, ptr %20, i64 %22 %24 = load i32, ptr %23, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %24) br label %26 26: ; preds = %19 %27 = load i32, ptr %7, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %7, align 4 br label %15, !llvm.loop !6 29: ; preds = %15 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1elej2y7.c" target datalayout = "e-m:e-p270: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"%s\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"\0A[ \00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printArray(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %3 %11 = load ptr, ptr %6, align 8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %11) br label %13 13: ; preds = %10, %3 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %5, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %31 .lr.ph: ; preds = %13 br label %18 18: ; preds = %.lr.ph, %25 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %7, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %19, i64 %21 %23 = load i32, ptr %22, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %23) br label %25 25: ; preds = %18 %26 = load i32, ptr %7, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %7, align 4 %28 = load i32, ptr %7, align 4 %29 = load i32, ptr %5, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %31 31: ; preds = %._crit_edge, %13 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpz05jj30v.c' source_filename = "/tmp/tmpz05jj30v.c" target datalayout = "e-m:e-p270: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 @pgr_srand(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 (...) @prng_seed() ret void } declare i32 @prng_seed(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpz05jj30v.c" target datalayout = "e-m:e-p270: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 @pgr_srand(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 (...) @prng_seed() ret void } declare i32 @prng_seed(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpaymgwbe9.c' source_filename = "/tmp/tmpaymgwbe9.c" target datalayout = "e-m:e-p270: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 [27 x i8] c"Could not allocate memory\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xrealloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @realloc(ptr noundef %6, i64 noundef %7) #4 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str) %14 = call i32 @exit(i32 noundef 1) #5 unreachable 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 ret ptr %16 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(1) } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaymgwbe9.c" target datalayout = "e-m:e-p270: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 [27 x i8] c"Could not allocate memory\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xrealloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @realloc(ptr noundef %6, i64 noundef %7) #4 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str) %14 = call i32 @exit(i32 noundef 1) #5 unreachable 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 ret ptr %16 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(1) } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv5flhxom.c' source_filename = "/tmp/tmpv5flhxom.c" target datalayout = "e-m:e-p270: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 @stopnice(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca float, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 8, ptr %8, align 4 store i32 0, ptr %7, align 4 br label %10 10: ; preds = %35, %3 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %8, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %38 14: ; preds = %10 %15 = load i32, ptr %7, align 4 %16 = sitofp i32 %15 to float %17 = load i32, ptr %8, align 4 %18 = sub nsw i32 %17, 1 %19 = sitofp i32 %18 to float %20 = fdiv float %16, %19 store float %20, ptr %9, align 4 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %6, align 4 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %5, align 4 %26 = mul nsw i32 %24, %25 %27 = load i32, ptr %8, align 4 %28 = sdiv i32 %26, %27 %29 = load i32, ptr %5, align 4 %30 = load i32, ptr %8, align 4 %31 = sdiv i32 %29, %30 %32 = load i32, ptr %6, align 4 %33 = load float, ptr %9, align 4 %34 = call i32 @draw_rectangle(ptr noundef %21, i32 noundef %22, i32 noundef %23, i32 noundef %28, i32 noundef 0, i32 noundef %31, i32 noundef %32, float noundef %33) br label %35 35: ; preds = %14 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %7, align 4 br label %10, !llvm.loop !6 38: ; preds = %10 ret void } declare i32 @draw_rectangle(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv5flhxom.c" target datalayout = "e-m:e-p270: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 @stopnice(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca float, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 8, ptr %8, align 4 store i32 0, ptr %7, align 4 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %8, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %40 .lr.ph: ; preds = %3 br label %13 13: ; preds = %.lr.ph, %34 %14 = load i32, ptr %7, align 4 %15 = sitofp i32 %14 to float %16 = load i32, ptr %8, align 4 %17 = sub nsw i32 %16, 1 %18 = sitofp i32 %17 to float %19 = fdiv float %15, %18 store float %19, ptr %9, align 4 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %7, align 4 %24 = load i32, ptr %5, align 4 %25 = mul nsw i32 %23, %24 %26 = load i32, ptr %8, align 4 %27 = sdiv i32 %25, %26 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %8, align 4 %30 = sdiv i32 %28, %29 %31 = load i32, ptr %6, align 4 %32 = load float, ptr %9, align 4 %33 = call i32 @draw_rectangle(ptr noundef %20, i32 noundef %21, i32 noundef %22, i32 noundef %27, i32 noundef 0, i32 noundef %30, i32 noundef %31, float noundef %32) br label %34 34: ; preds = %13 %35 = load i32, ptr %7, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %7, align 4 %37 = load i32, ptr %7, align 4 %38 = load i32, ptr %8, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %40 40: ; preds = %._crit_edge, %3 ret void } declare i32 @draw_rectangle(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpuswqr5af.c' source_filename = "/tmp/tmpuswqr5af.c" target datalayout = "e-m:e-p270: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 @adler32(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %11 = load i32, ptr %5, align 4 %12 = and i32 %11, 65535 store i32 %12, ptr %9, align 4 %13 = load i32, ptr %5, align 4 %14 = ashr i32 %13, 16 %15 = and i32 %14, 65535 store i32 %15, ptr %10, align 4 %16 = load ptr, ptr %6, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %19 18: ; preds = %3 store i32 1, ptr %4, align 4 br label %238 19: ; preds = %3 br label %20 20: ; preds = %224, %19 %21 = load i64, ptr %7, align 8 %22 = icmp ugt i64 %21, 0 br i1 %22, label %23, label %233 23: ; preds = %20 %24 = load i64, ptr %7, align 8 %25 = icmp ult i64 %24, 5552 br i1 %25, label %26, label %29 26: ; preds = %23 %27 = load i64, ptr %7, align 8 %28 = trunc i64 %27 to i32 br label %30 29: ; preds = %23 br label %30 30: ; preds = %29, %26 %31 = phi i32 [ %28, %26 ], [ 5552, %29 ] store i32 %31, ptr %8, align 4 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = load i64, ptr %7, align 8 %35 = sub i64 %34, %33 store i64 %35, ptr %7, align 8 br label %36 36: ; preds = %39, %30 %37 = load i32, ptr %8, align 4 %38 = icmp sge i32 %37, 16 br i1 %38, label %39, label %204 39: ; preds = %36 %40 = load ptr, ptr %6, align 8 %41 = getelementptr inbounds i64, ptr %40, i64 0 %42 = load i64, ptr %41, align 8 %43 = load i32, ptr %9, align 4 %44 = sext i32 %43 to i64 %45 = add nsw i64 %44, %42 %46 = trunc i64 %45 to i32 store i32 %46, ptr %9, align 4 %47 = load i32, ptr %9, align 4 %48 = load i32, ptr %10, align 4 %49 = add nsw i32 %48, %47 store i32 %49, ptr %10, align 4 %50 = load ptr, ptr %6, align 8 %51 = getelementptr inbounds i64, ptr %50, i64 1 %52 = load i64, ptr %51, align 8 %53 = load i32, ptr %9, align 4 %54 = sext i32 %53 to i64 %55 = add nsw i64 %54, %52 %56 = trunc i64 %55 to i32 store i32 %56, ptr %9, align 4 %57 = load i32, ptr %9, align 4 %58 = load i32, ptr %10, align 4 %59 = add nsw i32 %58, %57 store i32 %59, ptr %10, align 4 %60 = load ptr, ptr %6, align 8 %61 = getelementptr inbounds i64, ptr %60, i64 2 %62 = load i64, ptr %61, align 8 %63 = load i32, ptr %9, align 4 %64 = sext i32 %63 to i64 %65 = add nsw i64 %64, %62 %66 = trunc i64 %65 to i32 store i32 %66, ptr %9, align 4 %67 = load i32, ptr %9, align 4 %68 = load i32, ptr %10, align 4 %69 = add nsw i32 %68, %67 store i32 %69, ptr %10, align 4 %70 = load ptr, ptr %6, align 8 %71 = getelementptr inbounds i64, ptr %70, i64 3 %72 = load i64, ptr %71, align 8 %73 = load i32, ptr %9, align 4 %74 = sext i32 %73 to i64 %75 = add nsw i64 %74, %72 %76 = trunc i64 %75 to i32 store i32 %76, ptr %9, align 4 %77 = load i32, ptr %9, align 4 %78 = load i32, ptr %10, align 4 %79 = add nsw i32 %78, %77 store i32 %79, ptr %10, align 4 %80 = load ptr, ptr %6, align 8 %81 = getelementptr inbounds i64, ptr %80, i64 4 %82 = load i64, ptr %81, align 8 %83 = load i32, ptr %9, align 4 %84 = sext i32 %83 to i64 %85 = add nsw i64 %84, %82 %86 = trunc i64 %85 to i32 store i32 %86, ptr %9, align 4 %87 = load i32, ptr %9, align 4 %88 = load i32, ptr %10, align 4 %89 = add nsw i32 %88, %87 store i32 %89, ptr %10, align 4 %90 = load ptr, ptr %6, align 8 %91 = getelementptr inbounds i64, ptr %90, i64 5 %92 = load i64, ptr %91, align 8 %93 = load i32, ptr %9, align 4 %94 = sext i32 %93 to i64 %95 = add nsw i64 %94, %92 %96 = trunc i64 %95 to i32 store i32 %96, ptr %9, align 4 %97 = load i32, ptr %9, align 4 %98 = load i32, ptr %10, align 4 %99 = add nsw i32 %98, %97 store i32 %99, ptr %10, align 4 %100 = load ptr, ptr %6, align 8 %101 = getelementptr inbounds i64, ptr %100, i64 6 %102 = load i64, ptr %101, align 8 %103 = load i32, ptr %9, align 4 %104 = sext i32 %103 to i64 %105 = add nsw i64 %104, %102 %106 = trunc i64 %105 to i32 store i32 %106, ptr %9, align 4 %107 = load i32, ptr %9, align 4 %108 = load i32, ptr %10, align 4 %109 = add nsw i32 %108, %107 store i32 %109, ptr %10, align 4 %110 = load ptr, ptr %6, align 8 %111 = getelementptr inbounds i64, ptr %110, i64 7 %112 = load i64, ptr %111, align 8 %113 = load i32, ptr %9, align 4 %114 = sext i32 %113 to i64 %115 = add nsw i64 %114, %112 %116 = trunc i64 %115 to i32 store i32 %116, ptr %9, align 4 %117 = load i32, ptr %9, align 4 %118 = load i32, ptr %10, align 4 %119 = add nsw i32 %118, %117 store i32 %119, ptr %10, align 4 %120 = load ptr, ptr %6, align 8 %121 = getelementptr inbounds i64, ptr %120, i64 8 %122 = load i64, ptr %121, align 8 %123 = load i32, ptr %9, align 4 %124 = sext i32 %123 to i64 %125 = add nsw i64 %124, %122 %126 = trunc i64 %125 to i32 store i32 %126, ptr %9, align 4 %127 = load i32, ptr %9, align 4 %128 = load i32, ptr %10, align 4 %129 = add nsw i32 %128, %127 store i32 %129, ptr %10, align 4 %130 = load ptr, ptr %6, align 8 %131 = getelementptr inbounds i64, ptr %130, i64 9 %132 = load i64, ptr %131, align 8 %133 = load i32, ptr %9, align 4 %134 = sext i32 %133 to i64 %135 = add nsw i64 %134, %132 %136 = trunc i64 %135 to i32 store i32 %136, ptr %9, align 4 %137 = load i32, ptr %9, align 4 %138 = load i32, ptr %10, align 4 %139 = add nsw i32 %138, %137 store i32 %139, ptr %10, align 4 %140 = load ptr, ptr %6, align 8 %141 = getelementptr inbounds i64, ptr %140, i64 10 %142 = load i64, ptr %141, align 8 %143 = load i32, ptr %9, align 4 %144 = sext i32 %143 to i64 %145 = add nsw i64 %144, %142 %146 = trunc i64 %145 to i32 store i32 %146, ptr %9, align 4 %147 = load i32, ptr %9, align 4 %148 = load i32, ptr %10, align 4 %149 = add nsw i32 %148, %147 store i32 %149, ptr %10, align 4 %150 = load ptr, ptr %6, align 8 %151 = getelementptr inbounds i64, ptr %150, i64 11 %152 = load i64, ptr %151, align 8 %153 = load i32, ptr %9, align 4 %154 = sext i32 %153 to i64 %155 = add nsw i64 %154, %152 %156 = trunc i64 %155 to i32 store i32 %156, ptr %9, align 4 %157 = load i32, ptr %9, align 4 %158 = load i32, ptr %10, align 4 %159 = add nsw i32 %158, %157 store i32 %159, ptr %10, align 4 %160 = load ptr, ptr %6, align 8 %161 = getelementptr inbounds i64, ptr %160, i64 12 %162 = load i64, ptr %161, align 8 %163 = load i32, ptr %9, align 4 %164 = sext i32 %163 to i64 %165 = add nsw i64 %164, %162 %166 = trunc i64 %165 to i32 store i32 %166, ptr %9, align 4 %167 = load i32, ptr %9, align 4 %168 = load i32, ptr %10, align 4 %169 = add nsw i32 %168, %167 store i32 %169, ptr %10, align 4 %170 = load ptr, ptr %6, align 8 %171 = getelementptr inbounds i64, ptr %170, i64 13 %172 = load i64, ptr %171, align 8 %173 = load i32, ptr %9, align 4 %174 = sext i32 %173 to i64 %175 = add nsw i64 %174, %172 %176 = trunc i64 %175 to i32 store i32 %176, ptr %9, align 4 %177 = load i32, ptr %9, align 4 %178 = load i32, ptr %10, align 4 %179 = add nsw i32 %178, %177 store i32 %179, ptr %10, align 4 %180 = load ptr, ptr %6, align 8 %181 = getelementptr inbounds i64, ptr %180, i64 14 %182 = load i64, ptr %181, align 8 %183 = load i32, ptr %9, align 4 %184 = sext i32 %183 to i64 %185 = add nsw i64 %184, %182 %186 = trunc i64 %185 to i32 store i32 %186, ptr %9, align 4 %187 = load i32, ptr %9, align 4 %188 = load i32, ptr %10, align 4 %189 = add nsw i32 %188, %187 store i32 %189, ptr %10, align 4 %190 = load ptr, ptr %6, align 8 %191 = getelementptr inbounds i64, ptr %190, i64 15 %192 = load i64, ptr %191, align 8 %193 = load i32, ptr %9, align 4 %194 = sext i32 %193 to i64 %195 = add nsw i64 %194, %192 %196 = trunc i64 %195 to i32 store i32 %196, ptr %9, align 4 %197 = load i32, ptr %9, align 4 %198 = load i32, ptr %10, align 4 %199 = add nsw i32 %198, %197 store i32 %199, ptr %10, align 4 %200 = load ptr, ptr %6, align 8 %201 = getelementptr inbounds i64, ptr %200, i64 16 store ptr %201, ptr %6, align 8 %202 = load i32, ptr %8, align 4 %203 = sub nsw i32 %202, 16 store i32 %203, ptr %8, align 4 br label %36, !llvm.loop !6 204: ; preds = %36 %205 = load i32, ptr %8, align 4 %206 = icmp ne i32 %205, 0 br i1 %206, label %207, label %224 207: ; preds = %204 br label %208 208: ; preds = %219, %207 %209 = load ptr, ptr %6, align 8 %210 = getelementptr inbounds i64, ptr %209, i32 1 store ptr %210, ptr %6, align 8 %211 = load i64, ptr %209, align 8 %212 = load i32, ptr %9, align 4 %213 = sext i32 %212 to i64 %214 = add nsw i64 %213, %211 %215 = trunc i64 %214 to i32 store i32 %215, ptr %9, align 4 %216 = load i32, ptr %9, align 4 %217 = load i32, ptr %10, align 4 %218 = add nsw i32 %217, %216 store i32 %218, ptr %10, align 4 br label %219 219: ; preds = %208 %220 = load i32, ptr %8, align 4 %221 = add nsw i32 %220, -1 store i32 %221, ptr %8, align 4 %222 = icmp ne i32 %221, 0 br i1 %222, label %208, label %223, !llvm.loop !8 223: ; preds = %219 br label %224 224: ; preds = %223, %204 %225 = load i32, ptr %9, align 4 %226 = sext i32 %225 to i64 %227 = urem i64 %226, 65521 %228 = trunc i64 %227 to i32 store i32 %228, ptr %9, align 4 %229 = load i32, ptr %10, align 4 %230 = sext i32 %229 to i64 %231 = urem i64 %230, 65521 %232 = trunc i64 %231 to i32 store i32 %232, ptr %10, align 4 br label %20, !llvm.loop !9 233: ; preds = %20 %234 = load i32, ptr %10, align 4 %235 = shl i32 %234, 16 %236 = load i32, ptr %9, align 4 %237 = or i32 %235, %236 store i32 %237, ptr %4, align 4 br label %238 238: ; preds = %233, %18 %239 = load i32, ptr %4, align 4 ret i32 %239 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpuswqr5af.c" target datalayout = "e-m:e-p270: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 @adler32(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %11 = load i32, ptr %5, align 4 %12 = and i32 %11, 65535 store i32 %12, ptr %9, align 4 %13 = load i32, ptr %5, align 4 %14 = ashr i32 %13, 16 %15 = and i32 %14, 65535 store i32 %15, ptr %10, align 4 %16 = load ptr, ptr %6, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %19 18: ; preds = %3 store i32 1, ptr %4, align 4 br label %240 19: ; preds = %3 %20 = load i64, ptr %7, align 8 %21 = icmp ugt i64 %20, 0 br i1 %21, label %.lr.ph2, label %235 .lr.ph2: ; preds = %19 br label %22 22: ; preds = %.lr.ph2, %224 %23 = load i64, ptr %7, align 8 %24 = icmp ult i64 %23, 5552 br i1 %24, label %25, label %28 25: ; preds = %22 %26 = load i64, ptr %7, align 8 %27 = trunc i64 %26 to i32 br label %29 28: ; preds = %22 br label %29 29: ; preds = %28, %25 %30 = phi i32 [ %27, %25 ], [ 5552, %28 ] store i32 %30, ptr %8, align 4 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = load i64, ptr %7, align 8 %34 = sub i64 %33, %32 store i64 %34, ptr %7, align 8 %35 = load i32, ptr %8, align 4 %36 = icmp sge i32 %35, 16 br i1 %36, label %.lr.ph, label %204 .lr.ph: ; preds = %29 br label %37 37: ; preds = %.lr.ph, %37 %38 = load ptr, ptr %6, align 8 %39 = getelementptr inbounds i64, ptr %38, i64 0 %40 = load i64, ptr %39, align 8 %41 = load i32, ptr %9, align 4 %42 = sext i32 %41 to i64 %43 = add nsw i64 %42, %40 %44 = trunc i64 %43 to i32 store i32 %44, ptr %9, align 4 %45 = load i32, ptr %9, align 4 %46 = load i32, ptr %10, align 4 %47 = add nsw i32 %46, %45 store i32 %47, ptr %10, align 4 %48 = load ptr, ptr %6, align 8 %49 = getelementptr inbounds i64, ptr %48, i64 1 %50 = load i64, ptr %49, align 8 %51 = load i32, ptr %9, align 4 %52 = sext i32 %51 to i64 %53 = add nsw i64 %52, %50 %54 = trunc i64 %53 to i32 store i32 %54, ptr %9, align 4 %55 = load i32, ptr %9, align 4 %56 = load i32, ptr %10, align 4 %57 = add nsw i32 %56, %55 store i32 %57, ptr %10, align 4 %58 = load ptr, ptr %6, align 8 %59 = getelementptr inbounds i64, ptr %58, i64 2 %60 = load i64, ptr %59, align 8 %61 = load i32, ptr %9, align 4 %62 = sext i32 %61 to i64 %63 = add nsw i64 %62, %60 %64 = trunc i64 %63 to i32 store i32 %64, ptr %9, align 4 %65 = load i32, ptr %9, align 4 %66 = load i32, ptr %10, align 4 %67 = add nsw i32 %66, %65 store i32 %67, ptr %10, align 4 %68 = load ptr, ptr %6, align 8 %69 = getelementptr inbounds i64, ptr %68, i64 3 %70 = load i64, ptr %69, align 8 %71 = load i32, ptr %9, align 4 %72 = sext i32 %71 to i64 %73 = add nsw i64 %72, %70 %74 = trunc i64 %73 to i32 store i32 %74, ptr %9, align 4 %75 = load i32, ptr %9, align 4 %76 = load i32, ptr %10, align 4 %77 = add nsw i32 %76, %75 store i32 %77, ptr %10, align 4 %78 = load ptr, ptr %6, align 8 %79 = getelementptr inbounds i64, ptr %78, i64 4 %80 = load i64, ptr %79, align 8 %81 = load i32, ptr %9, align 4 %82 = sext i32 %81 to i64 %83 = add nsw i64 %82, %80 %84 = trunc i64 %83 to i32 store i32 %84, ptr %9, align 4 %85 = load i32, ptr %9, align 4 %86 = load i32, ptr %10, align 4 %87 = add nsw i32 %86, %85 store i32 %87, ptr %10, align 4 %88 = load ptr, ptr %6, align 8 %89 = getelementptr inbounds i64, ptr %88, i64 5 %90 = load i64, ptr %89, align 8 %91 = load i32, ptr %9, align 4 %92 = sext i32 %91 to i64 %93 = add nsw i64 %92, %90 %94 = trunc i64 %93 to i32 store i32 %94, ptr %9, align 4 %95 = load i32, ptr %9, align 4 %96 = load i32, ptr %10, align 4 %97 = add nsw i32 %96, %95 store i32 %97, ptr %10, align 4 %98 = load ptr, ptr %6, align 8 %99 = getelementptr inbounds i64, ptr %98, i64 6 %100 = load i64, ptr %99, align 8 %101 = load i32, ptr %9, align 4 %102 = sext i32 %101 to i64 %103 = add nsw i64 %102, %100 %104 = trunc i64 %103 to i32 store i32 %104, ptr %9, align 4 %105 = load i32, ptr %9, align 4 %106 = load i32, ptr %10, align 4 %107 = add nsw i32 %106, %105 store i32 %107, ptr %10, align 4 %108 = load ptr, ptr %6, align 8 %109 = getelementptr inbounds i64, ptr %108, i64 7 %110 = load i64, ptr %109, align 8 %111 = load i32, ptr %9, align 4 %112 = sext i32 %111 to i64 %113 = add nsw i64 %112, %110 %114 = trunc i64 %113 to i32 store i32 %114, ptr %9, align 4 %115 = load i32, ptr %9, align 4 %116 = load i32, ptr %10, align 4 %117 = add nsw i32 %116, %115 store i32 %117, ptr %10, align 4 %118 = load ptr, ptr %6, align 8 %119 = getelementptr inbounds i64, ptr %118, i64 8 %120 = load i64, ptr %119, align 8 %121 = load i32, ptr %9, align 4 %122 = sext i32 %121 to i64 %123 = add nsw i64 %122, %120 %124 = trunc i64 %123 to i32 store i32 %124, ptr %9, align 4 %125 = load i32, ptr %9, align 4 %126 = load i32, ptr %10, align 4 %127 = add nsw i32 %126, %125 store i32 %127, ptr %10, align 4 %128 = load ptr, ptr %6, align 8 %129 = getelementptr inbounds i64, ptr %128, i64 9 %130 = load i64, ptr %129, align 8 %131 = load i32, ptr %9, align 4 %132 = sext i32 %131 to i64 %133 = add nsw i64 %132, %130 %134 = trunc i64 %133 to i32 store i32 %134, ptr %9, align 4 %135 = load i32, ptr %9, align 4 %136 = load i32, ptr %10, align 4 %137 = add nsw i32 %136, %135 store i32 %137, ptr %10, align 4 %138 = load ptr, ptr %6, align 8 %139 = getelementptr inbounds i64, ptr %138, i64 10 %140 = load i64, ptr %139, align 8 %141 = load i32, ptr %9, align 4 %142 = sext i32 %141 to i64 %143 = add nsw i64 %142, %140 %144 = trunc i64 %143 to i32 store i32 %144, ptr %9, align 4 %145 = load i32, ptr %9, align 4 %146 = load i32, ptr %10, align 4 %147 = add nsw i32 %146, %145 store i32 %147, ptr %10, align 4 %148 = load ptr, ptr %6, align 8 %149 = getelementptr inbounds i64, ptr %148, i64 11 %150 = load i64, ptr %149, align 8 %151 = load i32, ptr %9, align 4 %152 = sext i32 %151 to i64 %153 = add nsw i64 %152, %150 %154 = trunc i64 %153 to i32 store i32 %154, ptr %9, align 4 %155 = load i32, ptr %9, align 4 %156 = load i32, ptr %10, align 4 %157 = add nsw i32 %156, %155 store i32 %157, ptr %10, align 4 %158 = load ptr, ptr %6, align 8 %159 = getelementptr inbounds i64, ptr %158, i64 12 %160 = load i64, ptr %159, align 8 %161 = load i32, ptr %9, align 4 %162 = sext i32 %161 to i64 %163 = add nsw i64 %162, %160 %164 = trunc i64 %163 to i32 store i32 %164, ptr %9, align 4 %165 = load i32, ptr %9, align 4 %166 = load i32, ptr %10, align 4 %167 = add nsw i32 %166, %165 store i32 %167, ptr %10, align 4 %168 = load ptr, ptr %6, align 8 %169 = getelementptr inbounds i64, ptr %168, i64 13 %170 = load i64, ptr %169, align 8 %171 = load i32, ptr %9, align 4 %172 = sext i32 %171 to i64 %173 = add nsw i64 %172, %170 %174 = trunc i64 %173 to i32 store i32 %174, ptr %9, align 4 %175 = load i32, ptr %9, align 4 %176 = load i32, ptr %10, align 4 %177 = add nsw i32 %176, %175 store i32 %177, ptr %10, align 4 %178 = load ptr, ptr %6, align 8 %179 = getelementptr inbounds i64, ptr %178, i64 14 %180 = load i64, ptr %179, align 8 %181 = load i32, ptr %9, align 4 %182 = sext i32 %181 to i64 %183 = add nsw i64 %182, %180 %184 = trunc i64 %183 to i32 store i32 %184, ptr %9, align 4 %185 = load i32, ptr %9, align 4 %186 = load i32, ptr %10, align 4 %187 = add nsw i32 %186, %185 store i32 %187, ptr %10, align 4 %188 = load ptr, ptr %6, align 8 %189 = getelementptr inbounds i64, ptr %188, i64 15 %190 = load i64, ptr %189, align 8 %191 = load i32, ptr %9, align 4 %192 = sext i32 %191 to i64 %193 = add nsw i64 %192, %190 %194 = trunc i64 %193 to i32 store i32 %194, ptr %9, align 4 %195 = load i32, ptr %9, align 4 %196 = load i32, ptr %10, align 4 %197 = add nsw i32 %196, %195 store i32 %197, ptr %10, align 4 %198 = load ptr, ptr %6, align 8 %199 = getelementptr inbounds i64, ptr %198, i64 16 store ptr %199, ptr %6, align 8 %200 = load i32, ptr %8, align 4 %201 = sub nsw i32 %200, 16 store i32 %201, ptr %8, align 4 %202 = load i32, ptr %8, align 4 %203 = icmp sge i32 %202, 16 br i1 %203, label %37, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %204 204: ; preds = %._crit_edge, %29 %205 = load i32, ptr %8, align 4 %206 = icmp ne i32 %205, 0 br i1 %206, label %207, label %224 207: ; preds = %204 br label %208 208: ; preds = %219, %207 %209 = load ptr, ptr %6, align 8 %210 = getelementptr inbounds i64, ptr %209, i32 1 store ptr %210, ptr %6, align 8 %211 = load i64, ptr %209, align 8 %212 = load i32, ptr %9, align 4 %213 = sext i32 %212 to i64 %214 = add nsw i64 %213, %211 %215 = trunc i64 %214 to i32 store i32 %215, ptr %9, align 4 %216 = load i32, ptr %9, align 4 %217 = load i32, ptr %10, align 4 %218 = add nsw i32 %217, %216 store i32 %218, ptr %10, align 4 br label %219 219: ; preds = %208 %220 = load i32, ptr %8, align 4 %221 = add nsw i32 %220, -1 store i32 %221, ptr %8, align 4 %222 = icmp ne i32 %221, 0 br i1 %222, label %208, label %223, !llvm.loop !8 223: ; preds = %219 br label %224 224: ; preds = %223, %204 %225 = load i32, ptr %9, align 4 %226 = sext i32 %225 to i64 %227 = urem i64 %226, 65521 %228 = trunc i64 %227 to i32 store i32 %228, ptr %9, align 4 %229 = load i32, ptr %10, align 4 %230 = sext i32 %229 to i64 %231 = urem i64 %230, 65521 %232 = trunc i64 %231 to i32 store i32 %232, ptr %10, align 4 %233 = load i64, ptr %7, align 8 %234 = icmp ugt i64 %233, 0 br i1 %234, label %22, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %224 br label %235 235: ; preds = %._crit_edge3, %19 %236 = load i32, ptr %10, align 4 %237 = shl i32 %236, 16 %238 = load i32, ptr %9, align 4 %239 = or i32 %237, %238 store i32 %239, ptr %4, align 4 br label %240 240: ; preds = %235, %18 %241 = load i32, ptr %4, align 4 ret i32 %241 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpsv4p7ihj.c' source_filename = "/tmp/tmpsv4p7ihj.c" target datalayout = "e-m:e-p270: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/tmpsv4p7ihj.c" target datalayout = "e-m:e-p270: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/tmpg76ui0mr.c' source_filename = "/tmp/tmpg76ui0mr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"/proc/%d/exe\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_my_path(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca [64 x i8], align 16 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %7 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 0 %8 = call i32 (...) @getpid() %9 = call i32 @snprintf(ptr noundef %7, i32 noundef 64, ptr noundef @.str, i32 noundef %8) %10 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 0 %11 = load ptr, ptr %3, align 8 %12 = load i64, ptr %4, align 8 %13 = sub i64 %12, 1 %14 = call i32 @readlink(ptr noundef %10, ptr noundef %11, i64 noundef %13) store i32 %14, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = icmp sgt i32 %15, 0 br i1 %16, label %17, label %22 17: ; preds = %2 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 store i8 0, ptr %21, align 1 br label %25 22: ; preds = %2 %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 0 store i8 0, ptr %24, align 1 br label %25 25: ; preds = %22, %17 ret void } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @readlink(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/tmpg76ui0mr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"/proc/%d/exe\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_my_path(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca [64 x i8], align 16 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %7 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 0 %8 = call i32 (...) @getpid() %9 = call i32 @snprintf(ptr noundef %7, i32 noundef 64, ptr noundef @.str, i32 noundef %8) %10 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 0 %11 = load ptr, ptr %3, align 8 %12 = load i64, ptr %4, align 8 %13 = sub i64 %12, 1 %14 = call i32 @readlink(ptr noundef %10, ptr noundef %11, i64 noundef %13) store i32 %14, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = icmp sgt i32 %15, 0 br i1 %16, label %17, label %22 17: ; preds = %2 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 store i8 0, ptr %21, align 1 br label %25 22: ; preds = %2 %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 0 store i8 0, ptr %24, align 1 br label %25 25: ; preds = %22, %17 ret void } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @readlink(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/tmp07gi_x51.c' source_filename = "/tmp/tmp07gi_x51.c" target datalayout = "e-m:e-p270: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"Chyba: neznamy login \00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"Chyba: nezname UID \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @writeback(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca [10 x i32], align 16 %14 = alloca i32, align 4 %15 = alloca [1000 x i8], align 16 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %19 = call ptr @calloc(i32 noundef 500, i32 noundef 1) store ptr %19, ptr %8, align 8 store i32 0, ptr %9, align 4 store i32 0, ptr %11, align 4 %20 = load ptr, ptr %5, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %46 22: ; preds = %3 %23 = load ptr, ptr %6, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 6 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 108 br i1 %27, label %28, label %29 28: ; preds = %22 store ptr @.str, ptr %10, align 8 br label %29 29: ; preds = %28, %22 %30 = load ptr, ptr %6, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 6 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %33, 117 br i1 %34, label %35, label %36 35: ; preds = %29 store ptr @.str.1, ptr %10, align 8 br label %36 36: ; preds = %35, %29 %37 = load ptr, ptr %8, align 8 %38 = load ptr, ptr %10, align 8 %39 = call ptr @strcat(ptr noundef %37, ptr noundef %38) %40 = load ptr, ptr %8, align 8 %41 = load ptr, ptr %7, align 8 %42 = call ptr @strcat(ptr noundef %40, ptr noundef %41) %43 = load ptr, ptr %8, align 8 %44 = call ptr @strcat(ptr noundef %43, ptr noundef @.str.2) %45 = load ptr, ptr %8, align 8 store ptr %45, ptr %4, align 8 br label %217 46: ; preds = %3 %47 = load ptr, ptr %5, align 8 %48 = load ptr, ptr %5, align 8 %49 = call i32 @strlen(ptr noundef %48) %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %47, i64 %50 store i8 58, ptr %51, align 1 store i32 1, ptr %12, align 4 %52 = getelementptr inbounds [10 x i32], ptr %13, i64 0, i64 0 store i32 0, ptr %52, align 16 store i32 0, ptr %14, align 4 store i32 0, ptr %14, align 4 br label %53 53: ; preds = %84, %46 %54 = load i32, ptr %9, align 4 %55 = load ptr, ptr %5, align 8 %56 = call i32 @strlen(ptr noundef %55) %57 = icmp slt i32 %54, %56 br i1 %57, label %58, label %87 58: ; preds = %53 %59 = load ptr, ptr %5, align 8 %60 = load i32, ptr %9, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 %63 = load i8, ptr %62, align 1 %64 = sext i8 %63 to i32 %65 = icmp eq i32 %64, 58 br i1 %65, label %66, label %69 66: ; preds = %58 %67 = load i32, ptr %11, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %11, align 4 br label %69 69: ; preds = %66, %58 %70 = load i32, ptr %11, align 4 %71 = srem i32 %70, 7 %72 = icmp eq i32 %71, 0 br i1 %72, label %73, label %83 73: ; preds = %69 %74 = load i32, ptr %11, align 4 %75 = icmp ne i32 %74, 0 br i1 %75, label %76, label %83 76: ; preds = %73 store i32 0, ptr %11, align 4 %77 = load i32, ptr %9, align 4 %78 = add nsw i32 %77, 1 %79 = load i32, ptr %12, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %12, align 4 %81 = sext i32 %79 to i64 %82 = getelementptr inbounds [10 x i32], ptr %13, i64 0, i64 %81 store i32 %78, ptr %82, align 4 br label %83 83: ; preds = %76, %73, %69 br label %84 84: ; preds = %83 %85 = load i32, ptr %9, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %9, align 4 br label %53, !llvm.loop !6 87: ; preds = %53 %88 = getelementptr inbounds [1000 x i8], ptr %15, i64 0, i64 0 %89 = call i32 @bzero(ptr noundef %88, i32 noundef 1000) %90 = load i32, ptr %12, align 4 %91 = add nsw i32 %90, -1 store i32 %91, ptr %12, align 4 store i32 0, ptr %16, align 4 br label %92 92: ; preds = %212, %87 %93 = load i32, ptr %16, align 4 %94 = load i32, ptr %12, align 4 %95 = icmp slt i32 %93, %94 br i1 %95, label %96, label %215 96: ; preds = %92 store i32 0, ptr %18, align 4 %97 = load i32, ptr %16, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds [10 x i32], ptr %13, i64 0, i64 %98 %100 = load i32, ptr %99, align 4 store i32 %100, ptr %17, align 4 br label %101 101: ; preds = %119, %96 %102 = load i32, ptr %17, align 4 %103 = load i32, ptr %16, align 4 %104 = add nsw i32 %103, 1 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds [10 x i32], ptr %13, i64 0, i64 %105 %107 = load i32, ptr %106, align 4 %108 = icmp slt i32 %102, %107 br i1 %108, label %109, label %122 109: ; preds = %101 %110 = load ptr, ptr %5, align 8 %111 = load i32, ptr %17, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds i8, ptr %110, i64 %112 %114 = load i8, ptr %113, align 1 %115 = load i32, ptr %18, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %18, align 4 %117 = sext i32 %115 to i64 %118 = getelementptr inbounds [1000 x i8], ptr %15, i64 0, i64 %117 store i8 %114, ptr %118, align 1 br label %119 119: ; preds = %109 %120 = load i32, ptr %17, align 4 %121 = add nsw i32 %120, 1 store i32 %121, ptr %17, align 4 br label %101, !llvm.loop !8 122: ; preds = %101 store i32 0, ptr %9, align 4 br label %123 123: ; preds = %202, %122 %124 = load ptr, ptr %6, align 8 %125 = load i32, ptr %9, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds i8, ptr %124, i64 %126 %128 = load i8, ptr %127, align 1 %129 = sext i8 %128 to i32 %130 = icmp ne i32 %129, 95 br i1 %130, label %131, label %134 131: ; preds = %123 %132 = load i32, ptr %9, align 4 %133 = icmp slt i32 %132, 6 br label %134 134: ; preds = %131, %123 %135 = phi i1 [ false, %123 ], [ %133, %131 ] br i1 %135, label %136, label %205 136: ; preds = %134 %137 = load ptr, ptr %6, align 8 %138 = load i32, ptr %9, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds i8, ptr %137, i64 %139 %141 = load i8, ptr %140, align 1 %142 = sext i8 %141 to i32 switch i32 %142, label %202 [ i32 85, label %143 i32 76, label %150 i32 71, label %157 i32 78, label %164 i32 72, label %171 i32 83, label %178 ] 143: ; preds = %136 %144 = load ptr, ptr %8, align 8 %145 = getelementptr inbounds [1000 x i8], ptr %15, i64 0, i64 0 %146 = call ptr @get_value(ptr noundef %145, i8 noundef signext 85) %147 = call ptr @strcat(ptr noundef %144, ptr noundef %146) store ptr %147, ptr %8, align 8 %148 = load ptr, ptr %8, align 8 %149 = call ptr @strcat(ptr noundef %148, ptr noundef @.str.3) store ptr %149, ptr %8, align 8 br label %202 150: ; preds = %136 %151 = load ptr, ptr %8, align 8 %152 = getelementptr inbounds [1000 x i8], ptr %15, i64 0, i64 0 %153 = call ptr @get_value(ptr noundef %152, i8 noundef signext 76) %154 = call ptr @strcat(ptr noundef %151, ptr noundef %153) store ptr %154, ptr %8, align 8 %155 = load ptr, ptr %8, align 8 %156 = call ptr @strcat(ptr noundef %155, ptr noundef @.str.3) store ptr %156, ptr %8, align 8 br label %202 157: ; preds = %136 %158 = load ptr, ptr %8, align 8 %159 = getelementptr inbounds [1000 x i8], ptr %15, i64 0, i64 0 %160 = call ptr @get_value(ptr noundef %159, i8 noundef signext 71) %161 = call ptr @strcat(ptr noundef %158, ptr noundef %160) store ptr %161, ptr %8, align 8 %162 = load ptr, ptr %8, align 8 %163 = call ptr @strcat(ptr noundef %162, ptr noundef @.str.3) store ptr %163, ptr %8, align 8 br label %202 164: ; preds = %136 %165 = load ptr, ptr %8, align 8 %166 = getelementptr inbounds [1000 x i8], ptr %15, i64 0, i64 0 %167 = call ptr @get_value(ptr noundef %166, i8 noundef signext 78) %168 = call ptr @strcat(ptr noundef %165, ptr noundef %167) store ptr %168, ptr %8, align 8 %169 = load ptr, ptr %8, align 8 %170 = call ptr @strcat(ptr noundef %169, ptr noundef @.str.3) store ptr %170, ptr %8, align 8 br label %202 171: ; preds = %136 %172 = load ptr, ptr %8, align 8 %173 = getelementptr inbounds [1000 x i8], ptr %15, i64 0, i64 0 %174 = call ptr @get_value(ptr noundef %173, i8 noundef signext 72) %175 = call ptr @strcat(ptr noundef %172, ptr noundef %174) store ptr %175, ptr %8, align 8 %176 = load ptr, ptr %8, align 8 %177 = call ptr @strcat(ptr noundef %176, ptr noundef @.str.3) store ptr %177, ptr %8, align 8 br label %202 178: ; preds = %136 %179 = load ptr, ptr %8, align 8 %180 = getelementptr inbounds [1000 x i8], ptr %15, i64 0, i64 0 %181 = call ptr @get_value(ptr noundef %180, i8 noundef signext 83) %182 = call ptr @strcat(ptr noundef %179, ptr noundef %181) store ptr %182, ptr %8, align 8 %183 = load ptr, ptr %8, align 8 %184 = call ptr @strcat(ptr noundef %183, ptr noundef @.str.3) store ptr %184, ptr %8, align 8 %185 = load ptr, ptr %8, align 8 %186 = load ptr, ptr %8, align 8 %187 = call i32 @strlen(ptr noundef %186) %188 = sub nsw i32 %187, 1 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds i8, ptr %185, i64 %189 %191 = load i8, ptr %190, align 1 %192 = sext i8 %191 to i32 %193 = icmp eq i32 %192, 10 br i1 %193, label %194, label %201 194: ; preds = %178 %195 = load ptr, ptr %8, align 8 %196 = load ptr, ptr %8, align 8 %197 = call i32 @strlen(ptr noundef %196) %198 = sub nsw i32 %197, 1 %199 = sext i32 %198 to i64 %200 = getelementptr inbounds i8, ptr %195, i64 %199 store i8 0, ptr %200, align 1 br label %201 201: ; preds = %194, %178 br label %202 202: ; preds = %136, %201, %171, %164, %157, %150, %143 %203 = load i32, ptr %9, align 4 %204 = add nsw i32 %203, 1 store i32 %204, ptr %9, align 4 br label %123, !llvm.loop !9 205: ; preds = %134 %206 = load ptr, ptr %8, align 8 %207 = load ptr, ptr %8, align 8 %208 = call i32 @strlen(ptr noundef %207) %209 = sub nsw i32 %208, 1 %210 = sext i32 %209 to i64 %211 = getelementptr inbounds i8, ptr %206, i64 %210 store i8 10, ptr %211, align 1 br label %212 212: ; preds = %205 %213 = load i32, ptr %16, align 4 %214 = add nsw i32 %213, 1 store i32 %214, ptr %16, align 4 br label %92, !llvm.loop !10 215: ; preds = %92 %216 = load ptr, ptr %8, align 8 store ptr %216, ptr %4, align 8 br label %217 217: ; preds = %215, %36 %218 = load ptr, ptr %4, align 8 ret ptr %218 } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare ptr @strcat(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare ptr @get_value(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp07gi_x51.c" target datalayout = "e-m:e-p270: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"Chyba: neznamy login \00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"Chyba: nezname UID \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @writeback(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca [10 x i32], align 16 %14 = alloca i32, align 4 %15 = alloca [1000 x i8], align 16 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %19 = call ptr @calloc(i32 noundef 500, i32 noundef 1) store ptr %19, ptr %8, align 8 store i32 0, ptr %9, align 4 store i32 0, ptr %11, align 4 %20 = load ptr, ptr %5, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %46 22: ; preds = %3 %23 = load ptr, ptr %6, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 6 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 108 br i1 %27, label %28, label %29 28: ; preds = %22 store ptr @.str, ptr %10, align 8 br label %29 29: ; preds = %28, %22 %30 = load ptr, ptr %6, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 6 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %33, 117 br i1 %34, label %35, label %36 35: ; preds = %29 store ptr @.str.1, ptr %10, align 8 br label %36 36: ; preds = %35, %29 %37 = load ptr, ptr %8, align 8 %38 = load ptr, ptr %10, align 8 %39 = call ptr @strcat(ptr noundef %37, ptr noundef %38) %40 = load ptr, ptr %8, align 8 %41 = load ptr, ptr %7, align 8 %42 = call ptr @strcat(ptr noundef %40, ptr noundef %41) %43 = load ptr, ptr %8, align 8 %44 = call ptr @strcat(ptr noundef %43, ptr noundef @.str.2) %45 = load ptr, ptr %8, align 8 store ptr %45, ptr %4, align 8 br label %228 46: ; preds = %3 %47 = load ptr, ptr %5, align 8 %48 = load ptr, ptr %5, align 8 %49 = call i32 @strlen(ptr noundef %48) %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %47, i64 %50 store i8 58, ptr %51, align 1 store i32 1, ptr %12, align 4 %52 = getelementptr inbounds [10 x i32], ptr %13, i64 0, i64 0 store i32 0, ptr %52, align 16 store i32 0, ptr %14, align 4 store i32 0, ptr %14, align 4 %53 = load i32, ptr %9, align 4 %54 = load ptr, ptr %5, align 8 %55 = call i32 @strlen(ptr noundef %54) %56 = icmp slt i32 %53, %55 br i1 %56, label %.lr.ph, label %90 .lr.ph: ; preds = %46 br label %57 57: ; preds = %.lr.ph, %83 %58 = load ptr, ptr %5, align 8 %59 = load i32, ptr %9, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %58, i64 %60 %62 = load i8, ptr %61, align 1 %63 = sext i8 %62 to i32 %64 = icmp eq i32 %63, 58 br i1 %64, label %65, label %68 65: ; preds = %57 %66 = load i32, ptr %11, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %11, align 4 br label %68 68: ; preds = %65, %57 %69 = load i32, ptr %11, align 4 %70 = srem i32 %69, 7 %71 = icmp eq i32 %70, 0 br i1 %71, label %72, label %82 72: ; preds = %68 %73 = load i32, ptr %11, align 4 %74 = icmp ne i32 %73, 0 br i1 %74, label %75, label %82 75: ; preds = %72 store i32 0, ptr %11, align 4 %76 = load i32, ptr %9, align 4 %77 = add nsw i32 %76, 1 %78 = load i32, ptr %12, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %12, align 4 %80 = sext i32 %78 to i64 %81 = getelementptr inbounds [10 x i32], ptr %13, i64 0, i64 %80 store i32 %77, ptr %81, align 4 br label %82 82: ; preds = %75, %72, %68 br label %83 83: ; preds = %82 %84 = load i32, ptr %9, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %9, align 4 %86 = load i32, ptr %9, align 4 %87 = load ptr, ptr %5, align 8 %88 = call i32 @strlen(ptr noundef %87) %89 = icmp slt i32 %86, %88 br i1 %89, label %57, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %83 br label %90 90: ; preds = %._crit_edge, %46 %91 = getelementptr inbounds [1000 x i8], ptr %15, i64 0, i64 0 %92 = call i32 @bzero(ptr noundef %91, i32 noundef 1000) %93 = load i32, ptr %12, align 4 %94 = add nsw i32 %93, -1 store i32 %94, ptr %12, align 4 store i32 0, ptr %16, align 4 %95 = load i32, ptr %16, align 4 %96 = load i32, ptr %12, align 4 %97 = icmp slt i32 %95, %96 br i1 %97, label %.lr.ph5, label %226 .lr.ph5: ; preds = %90 br label %98 98: ; preds = %.lr.ph5, %220 store i32 0, ptr %18, align 4 %99 = load i32, ptr %16, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds [10 x i32], ptr %13, i64 0, i64 %100 %102 = load i32, ptr %101, align 4 store i32 %102, ptr %17, align 4 %103 = load i32, ptr %17, align 4 %104 = load i32, ptr %16, align 4 %105 = add nsw i32 %104, 1 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds [10 x i32], ptr %13, i64 0, i64 %106 %108 = load i32, ptr %107, align 4 %109 = icmp slt i32 %103, %108 br i1 %109, label %.lr.ph2, label %130 .lr.ph2: ; preds = %98 br label %110 110: ; preds = %.lr.ph2, %120 %111 = load ptr, ptr %5, align 8 %112 = load i32, ptr %17, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds i8, ptr %111, i64 %113 %115 = load i8, ptr %114, align 1 %116 = load i32, ptr %18, align 4 %117 = add nsw i32 %116, 1 store i32 %117, ptr %18, align 4 %118 = sext i32 %116 to i64 %119 = getelementptr inbounds [1000 x i8], ptr %15, i64 0, i64 %118 store i8 %115, ptr %119, align 1 br label %120 120: ; preds = %110 %121 = load i32, ptr %17, align 4 %122 = add nsw i32 %121, 1 store i32 %122, ptr %17, align 4 %123 = load i32, ptr %17, align 4 %124 = load i32, ptr %16, align 4 %125 = add nsw i32 %124, 1 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds [10 x i32], ptr %13, i64 0, i64 %126 %128 = load i32, ptr %127, align 4 %129 = icmp slt i32 %123, %128 br i1 %129, label %110, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %120 br label %130 130: ; preds = %._crit_edge3, %98 store i32 0, ptr %9, align 4 br label %131 131: ; preds = %210, %130 %132 = load ptr, ptr %6, align 8 %133 = load i32, ptr %9, align 4 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds i8, ptr %132, i64 %134 %136 = load i8, ptr %135, align 1 %137 = sext i8 %136 to i32 %138 = icmp ne i32 %137, 95 br i1 %138, label %139, label %142 139: ; preds = %131 %140 = load i32, ptr %9, align 4 %141 = icmp slt i32 %140, 6 br label %142 142: ; preds = %139, %131 %143 = phi i1 [ false, %131 ], [ %141, %139 ] br i1 %143, label %144, label %213 144: ; preds = %142 %145 = load ptr, ptr %6, align 8 %146 = load i32, ptr %9, align 4 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds i8, ptr %145, i64 %147 %149 = load i8, ptr %148, align 1 %150 = sext i8 %149 to i32 switch i32 %150, label %210 [ i32 85, label %151 i32 76, label %158 i32 71, label %165 i32 78, label %172 i32 72, label %179 i32 83, label %186 ] 151: ; preds = %144 %152 = load ptr, ptr %8, align 8 %153 = getelementptr inbounds [1000 x i8], ptr %15, i64 0, i64 0 %154 = call ptr @get_value(ptr noundef %153, i8 noundef signext 85) %155 = call ptr @strcat(ptr noundef %152, ptr noundef %154) store ptr %155, ptr %8, align 8 %156 = load ptr, ptr %8, align 8 %157 = call ptr @strcat(ptr noundef %156, ptr noundef @.str.3) store ptr %157, ptr %8, align 8 br label %210 158: ; preds = %144 %159 = load ptr, ptr %8, align 8 %160 = getelementptr inbounds [1000 x i8], ptr %15, i64 0, i64 0 %161 = call ptr @get_value(ptr noundef %160, i8 noundef signext 76) %162 = call ptr @strcat(ptr noundef %159, ptr noundef %161) store ptr %162, ptr %8, align 8 %163 = load ptr, ptr %8, align 8 %164 = call ptr @strcat(ptr noundef %163, ptr noundef @.str.3) store ptr %164, ptr %8, align 8 br label %210 165: ; preds = %144 %166 = load ptr, ptr %8, align 8 %167 = getelementptr inbounds [1000 x i8], ptr %15, i64 0, i64 0 %168 = call ptr @get_value(ptr noundef %167, i8 noundef signext 71) %169 = call ptr @strcat(ptr noundef %166, ptr noundef %168) store ptr %169, ptr %8, align 8 %170 = load ptr, ptr %8, align 8 %171 = call ptr @strcat(ptr noundef %170, ptr noundef @.str.3) store ptr %171, ptr %8, align 8 br label %210 172: ; preds = %144 %173 = load ptr, ptr %8, align 8 %174 = getelementptr inbounds [1000 x i8], ptr %15, i64 0, i64 0 %175 = call ptr @get_value(ptr noundef %174, i8 noundef signext 78) %176 = call ptr @strcat(ptr noundef %173, ptr noundef %175) store ptr %176, ptr %8, align 8 %177 = load ptr, ptr %8, align 8 %178 = call ptr @strcat(ptr noundef %177, ptr noundef @.str.3) store ptr %178, ptr %8, align 8 br label %210 179: ; preds = %144 %180 = load ptr, ptr %8, align 8 %181 = getelementptr inbounds [1000 x i8], ptr %15, i64 0, i64 0 %182 = call ptr @get_value(ptr noundef %181, i8 noundef signext 72) %183 = call ptr @strcat(ptr noundef %180, ptr noundef %182) store ptr %183, ptr %8, align 8 %184 = load ptr, ptr %8, align 8 %185 = call ptr @strcat(ptr noundef %184, ptr noundef @.str.3) store ptr %185, ptr %8, align 8 br label %210 186: ; preds = %144 %187 = load ptr, ptr %8, align 8 %188 = getelementptr inbounds [1000 x i8], ptr %15, i64 0, i64 0 %189 = call ptr @get_value(ptr noundef %188, i8 noundef signext 83) %190 = call ptr @strcat(ptr noundef %187, ptr noundef %189) store ptr %190, ptr %8, align 8 %191 = load ptr, ptr %8, align 8 %192 = call ptr @strcat(ptr noundef %191, ptr noundef @.str.3) store ptr %192, ptr %8, align 8 %193 = load ptr, ptr %8, align 8 %194 = load ptr, ptr %8, align 8 %195 = call i32 @strlen(ptr noundef %194) %196 = sub nsw i32 %195, 1 %197 = sext i32 %196 to i64 %198 = getelementptr inbounds i8, ptr %193, i64 %197 %199 = load i8, ptr %198, align 1 %200 = sext i8 %199 to i32 %201 = icmp eq i32 %200, 10 br i1 %201, label %202, label %209 202: ; preds = %186 %203 = load ptr, ptr %8, align 8 %204 = load ptr, ptr %8, align 8 %205 = call i32 @strlen(ptr noundef %204) %206 = sub nsw i32 %205, 1 %207 = sext i32 %206 to i64 %208 = getelementptr inbounds i8, ptr %203, i64 %207 store i8 0, ptr %208, align 1 br label %209 209: ; preds = %202, %186 br label %210 210: ; preds = %209, %179, %172, %165, %158, %151, %144 %211 = load i32, ptr %9, align 4 %212 = add nsw i32 %211, 1 store i32 %212, ptr %9, align 4 br label %131, !llvm.loop !9 213: ; preds = %142 %214 = load ptr, ptr %8, align 8 %215 = load ptr, ptr %8, align 8 %216 = call i32 @strlen(ptr noundef %215) %217 = sub nsw i32 %216, 1 %218 = sext i32 %217 to i64 %219 = getelementptr inbounds i8, ptr %214, i64 %218 store i8 10, ptr %219, align 1 br label %220 220: ; preds = %213 %221 = load i32, ptr %16, align 4 %222 = add nsw i32 %221, 1 store i32 %222, ptr %16, align 4 %223 = load i32, ptr %16, align 4 %224 = load i32, ptr %12, align 4 %225 = icmp slt i32 %223, %224 br i1 %225, label %98, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %220 br label %226 226: ; preds = %._crit_edge6, %90 %227 = load ptr, ptr %8, align 8 store ptr %227, ptr %4, align 8 br label %228 228: ; preds = %226, %36 %229 = load ptr, ptr %4, align 8 ret ptr %229 } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare ptr @strcat(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare ptr @get_value(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp83cvzw0r.c' source_filename = "/tmp/tmp83cvzw0r.c" target datalayout = "e-m:e-p270: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 (...) @load_game_board() ret i32 0 } declare i32 @load_game_board(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmp83cvzw0r.c" target datalayout = "e-m:e-p270: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 (...) @load_game_board() ret i32 0 } declare i32 @load_game_board(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmph_q4k4zi.c' source_filename = "/tmp/tmph_q4k4zi.c" target datalayout = "e-m:e-p270: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 @SSL_init() #0 { %1 = call i32 (...) @SSL_library_init() %2 = call i32 (...) @SSL_load_error_strings() ret void } declare i32 @SSL_library_init(...) #1 declare i32 @SSL_load_error_strings(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmph_q4k4zi.c" target datalayout = "e-m:e-p270: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 @SSL_init() #0 { %1 = call i32 (...) @SSL_library_init() %2 = call i32 (...) @SSL_load_error_strings() ret void } declare i32 @SSL_library_init(...) #1 declare i32 @SSL_load_error_strings(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpk2ujupst.c' source_filename = "/tmp/tmpk2ujupst.c" target datalayout = "e-m:e-p270: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/tmpk2ujupst.c" target datalayout = "e-m:e-p270: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/tmpxt4qly2w.c' source_filename = "/tmp/tmpxt4qly2w.c" target datalayout = "e-m:e-p270: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"done iteration %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [16 x double], align 16 %3 = alloca [16 x double], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %85, %0 %7 = load i32, ptr %5, align 4 %8 = icmp slt i32 %7, 50 br i1 %8, label %9, label %88 9: ; preds = %6 store i32 0, ptr %4, align 4 br label %10 10: ; preds = %43, %9 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %11, 16 br i1 %12, label %13, label %46 13: ; preds = %10 %14 = load i32, ptr %4, align 4 %15 = add nsw i32 5, %14 %16 = sitofp i32 %15 to double %17 = load i32, ptr %4, align 4 %18 = sitofp i32 %17 to double %19 = fmul double 4.000000e-01, %18 %20 = load i32, ptr %4, align 4 %21 = sitofp i32 %20 to double %22 = call double @llvm.fmuladd.f64(double %19, double %21, double %16) %23 = load i32, ptr %4, align 4 %24 = sitofp i32 %23 to double %25 = fmul double 2.000000e-02, %24 %26 = load i32, ptr %4, align 4 %27 = sitofp i32 %26 to double %28 = fmul double %25, %27 %29 = load i32, ptr %4, align 4 %30 = sitofp i32 %29 to double %31 = fneg double %28 %32 = call double @llvm.fmuladd.f64(double %31, double %30, double %22) %33 = load i32, ptr %4, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [16 x double], ptr %2, i64 0, i64 %34 store double %32, ptr %35, align 8 %36 = load i32, ptr %4, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [16 x double], ptr %2, i64 0, i64 %37 %39 = load double, ptr %38, align 8 %40 = load i32, ptr %4, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [16 x double], ptr %3, i64 0, i64 %41 store double %39, ptr %42, align 8 br label %43 43: ; preds = %13 %44 = load i32, ptr %4, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %4, align 4 br label %10, !llvm.loop !6 46: ; preds = %10 %47 = getelementptr inbounds [16 x double], ptr %2, i64 0, i64 0 %48 = call i32 @fwt97(ptr noundef %47, i32 noundef 16) %49 = getelementptr inbounds [16 x double], ptr %2, i64 0, i64 0 %50 = call i32 @iwt97(ptr noundef %49, i32 noundef 16) store i32 0, ptr %4, align 4 br label %51 51: ; preds = %78, %46 %52 = load i32, ptr %4, align 4 %53 = icmp slt i32 %52, 16 br i1 %53, label %54, label %81 54: ; preds = %51 %55 = load i32, ptr %4, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [16 x double], ptr %2, i64 0, i64 %56 %58 = load double, ptr %57, align 8 %59 = load i32, ptr %4, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [16 x double], ptr %3, i64 0, i64 %60 %62 = load double, ptr %61, align 8 %63 = fmul double %62, 0x3FEFAE147AE147AE %64 = fcmp olt double %58, %63 br i1 %64, label %76, label %65 65: ; preds = %54 %66 = load i32, ptr %4, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds [16 x double], ptr %2, i64 0, i64 %67 %69 = load double, ptr %68, align 8 %70 = load i32, ptr %4, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [16 x double], ptr %3, i64 0, i64 %71 %73 = load double, ptr %72, align 8 %74 = fmul double %73, 1.010000e+00 %75 = fcmp ogt double %69, %74 br i1 %75, label %76, label %77 76: ; preds = %65, %54 store i32 -1, ptr %1, align 4 br label %89 77: ; preds = %65 br label %78 78: ; preds = %77 %79 = load i32, ptr %4, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %4, align 4 br label %51, !llvm.loop !8 81: ; preds = %51 %82 = load i32, ptr @stderr, align 4 %83 = load i32, ptr %5, align 4 %84 = call i32 @fprintf(i32 noundef %82, ptr noundef @.str, i32 noundef %83) br label %85 85: ; preds = %81 %86 = load i32, ptr %5, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %5, align 4 br label %6, !llvm.loop !9 88: ; preds = %6 store i32 0, ptr %1, align 4 br label %89 89: ; preds = %88, %76 %90 = load i32, ptr %1, align 4 ret i32 %90 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @fwt97(ptr noundef, i32 noundef) #2 declare i32 @iwt97(ptr noundef, i32 noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree 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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxt4qly2w.c" target datalayout = "e-m:e-p270: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"done iteration %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [16 x double], align 16 %3 = alloca [16 x double], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = icmp slt i32 %6, 50 br i1 %7, label %.lr.ph5, label %91 .lr.ph5: ; preds = %0 br label %8 8: ; preds = %.lr.ph5, %86 store i32 0, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 16 br i1 %10, label %.lr.ph, label %46 .lr.ph: ; preds = %8 br label %11 11: ; preds = %.lr.ph, %41 %12 = load i32, ptr %4, align 4 %13 = add nsw i32 5, %12 %14 = sitofp i32 %13 to double %15 = load i32, ptr %4, align 4 %16 = sitofp i32 %15 to double %17 = fmul double 4.000000e-01, %16 %18 = load i32, ptr %4, align 4 %19 = sitofp i32 %18 to double %20 = call double @llvm.fmuladd.f64(double %17, double %19, double %14) %21 = load i32, ptr %4, align 4 %22 = sitofp i32 %21 to double %23 = fmul double 2.000000e-02, %22 %24 = load i32, ptr %4, align 4 %25 = sitofp i32 %24 to double %26 = fmul double %23, %25 %27 = load i32, ptr %4, align 4 %28 = sitofp i32 %27 to double %29 = fneg double %26 %30 = call double @llvm.fmuladd.f64(double %29, double %28, double %20) %31 = load i32, ptr %4, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [16 x double], ptr %2, i64 0, i64 %32 store double %30, ptr %33, align 8 %34 = load i32, ptr %4, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [16 x double], ptr %2, i64 0, i64 %35 %37 = load double, ptr %36, align 8 %38 = load i32, ptr %4, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [16 x double], ptr %3, i64 0, i64 %39 store double %37, ptr %40, align 8 br label %41 41: ; preds = %11 %42 = load i32, ptr %4, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %4, align 4 %44 = load i32, ptr %4, align 4 %45 = icmp slt i32 %44, 16 br i1 %45, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %46 46: ; preds = %._crit_edge, %8 %47 = getelementptr inbounds [16 x double], ptr %2, i64 0, i64 0 %48 = call i32 @fwt97(ptr noundef %47, i32 noundef 16) %49 = getelementptr inbounds [16 x double], ptr %2, i64 0, i64 0 %50 = call i32 @iwt97(ptr noundef %49, i32 noundef 16) store i32 0, ptr %4, align 4 %51 = load i32, ptr %4, align 4 %52 = icmp slt i32 %51, 16 br i1 %52, label %.lr.ph2, label %82 .lr.ph2: ; preds = %46 br label %53 53: ; preds = %.lr.ph2, %77 %54 = load i32, ptr %4, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [16 x double], ptr %2, i64 0, i64 %55 %57 = load double, ptr %56, align 8 %58 = load i32, ptr %4, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [16 x double], ptr %3, i64 0, i64 %59 %61 = load double, ptr %60, align 8 %62 = fmul double %61, 0x3FEFAE147AE147AE %63 = fcmp olt double %57, %62 br i1 %63, label %75, label %64 64: ; preds = %53 %65 = load i32, ptr %4, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [16 x double], ptr %2, i64 0, i64 %66 %68 = load double, ptr %67, align 8 %69 = load i32, ptr %4, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [16 x double], ptr %3, i64 0, i64 %70 %72 = load double, ptr %71, align 8 %73 = fmul double %72, 1.010000e+00 %74 = fcmp ogt double %68, %73 br i1 %74, label %75, label %76 75: ; preds = %64, %53 store i32 -1, ptr %1, align 4 br label %92 76: ; preds = %64 br label %77 77: ; preds = %76 %78 = load i32, ptr %4, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %4, align 4 %80 = load i32, ptr %4, align 4 %81 = icmp slt i32 %80, 16 br i1 %81, label %53, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %77 br label %82 82: ; preds = %._crit_edge3, %46 %83 = load i32, ptr @stderr, align 4 %84 = load i32, ptr %5, align 4 %85 = call i32 @fprintf(i32 noundef %83, ptr noundef @.str, i32 noundef %84) br label %86 86: ; preds = %82 %87 = load i32, ptr %5, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %5, align 4 %89 = load i32, ptr %5, align 4 %90 = icmp slt i32 %89, 50 br i1 %90, label %8, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %86 br label %91 91: ; preds = %._crit_edge6, %0 store i32 0, ptr %1, align 4 br label %92 92: ; preds = %91, %75 %93 = load i32, ptr %1, align 4 ret i32 %93 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @fwt97(ptr noundef, i32 noundef) #2 declare i32 @iwt97(ptr noundef, i32 noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree 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}
; ModuleID = '/tmp/tmpe38f267t.c' source_filename = "/tmp/tmpe38f267t.c" target datalayout = "e-m:e-p270: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"/root/asdasd/asdasd/aaa\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @strdup(ptr noundef %5) store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call ptr @dirname(ptr noundef %7) store ptr %8, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 %10 = call i32 @printf(ptr noundef @.str.1, ptr noundef %9) ret i32 0 } declare ptr @strdup(ptr noundef) #1 declare ptr @dirname(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe38f267t.c" target datalayout = "e-m:e-p270: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"/root/asdasd/asdasd/aaa\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @strdup(ptr noundef %5) store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call ptr @dirname(ptr noundef %7) store ptr %8, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 %10 = call i32 @printf(ptr noundef @.str.1, ptr noundef %9) ret i32 0 } declare ptr @strdup(ptr noundef) #1 declare ptr @dirname(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprudhjm85.c' source_filename = "/tmp/tmprudhjm85.c" target datalayout = "e-m:e-p270: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() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x ptr], align 16 store i32 0, ptr %1, align 4 %3 = getelementptr inbounds [100 x ptr], ptr %2, i64 0, i64 0 %4 = call i32 @gets(ptr noundef %3) %5 = getelementptr inbounds [100 x ptr], ptr %2, i64 0, i64 0 %6 = call i32 @puts(ptr noundef %5) ret i32 0 } declare i32 @gets(ptr noundef) #1 declare i32 @puts(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/tmprudhjm85.c" target datalayout = "e-m:e-p270: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() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x ptr], align 16 store i32 0, ptr %1, align 4 %3 = getelementptr inbounds [100 x ptr], ptr %2, i64 0, i64 0 %4 = call i32 @gets(ptr noundef %3) %5 = getelementptr inbounds [100 x ptr], ptr %2, i64 0, i64 0 %6 = call i32 @puts(ptr noundef %5) ret i32 0 } declare i32 @gets(ptr noundef) #1 declare i32 @puts(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/tmpllw0tvrf.c' source_filename = "/tmp/tmpllw0tvrf.c" target datalayout = "e-m:e-p270: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 @CompChemElemLex(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @memcmp(ptr noundef %5, ptr noundef %6, i32 noundef 2) ret i32 %7 } declare i32 @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/tmpllw0tvrf.c" target datalayout = "e-m:e-p270: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 @CompChemElemLex(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @memcmp(ptr noundef %5, ptr noundef %6, i32 noundef 2) ret i32 %7 } declare i32 @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/tmpk5pk7z7g.c' source_filename = "/tmp/tmpk5pk7z7g.c" target datalayout = "e-m:e-p270: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"Not supported\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"Protocol not supported\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"No buffer space available\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"Network is down\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"Address in use\00", align 1 @.str.5 = private unnamed_addr constant [22 x i8] c"Address not available\00", align 1 @.str.6 = private unnamed_addr constant [19 x i8] c"Connection refused\00", align 1 @.str.7 = private unnamed_addr constant [22 x i8] c"Operation in progress\00", align 1 @.str.8 = private unnamed_addr constant [13 x i8] c"Not a socket\00", align 1 @.str.9 = private unnamed_addr constant [29 x i8] c"Address family not supported\00", align 1 @.str.10 = private unnamed_addr constant [15 x i8] c"Protocol error\00", align 1 @.str.11 = private unnamed_addr constant [31 x i8] c"Nanomsg library was terminated\00", align 1 @.str.12 = private unnamed_addr constant [44 x i8] c"Operation cannot be performed in this state\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @nn_err_strerror(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 switch i32 %4, label %18 [ i32 156384713, label %5 i32 156384714, label %6 i32 156384715, label %7 i32 156384716, label %8 i32 156384717, label %9 i32 156384718, label %10 i32 156384719, label %11 i32 156384720, label %12 i32 156384721, label %13 i32 156384722, label %14 i32 156384723, label %15 i32 156384765, label %16 i32 156384766, label %17 ] 5: ; preds = %1 store ptr @.str, ptr %2, align 8 br label %21 6: ; preds = %1 store ptr @.str.1, ptr %2, align 8 br label %21 7: ; preds = %1 store ptr @.str.2, ptr %2, align 8 br label %21 8: ; preds = %1 store ptr @.str.3, ptr %2, align 8 br label %21 9: ; preds = %1 store ptr @.str.4, ptr %2, align 8 br label %21 10: ; preds = %1 store ptr @.str.5, ptr %2, align 8 br label %21 11: ; preds = %1 store ptr @.str.6, ptr %2, align 8 br label %21 12: ; preds = %1 store ptr @.str.7, ptr %2, align 8 br label %21 13: ; preds = %1 store ptr @.str.8, ptr %2, align 8 br label %21 14: ; preds = %1 store ptr @.str.9, ptr %2, align 8 br label %21 15: ; preds = %1 store ptr @.str.10, ptr %2, align 8 br label %21 16: ; preds = %1 store ptr @.str.11, ptr %2, align 8 br label %21 17: ; preds = %1 store ptr @.str.12, ptr %2, align 8 br label %21 18: ; preds = %1 %19 = load i32, ptr %3, align 4 %20 = call ptr @strerror(i32 noundef %19) store ptr %20, ptr %2, align 8 br label %21 21: ; preds = %18, %17, %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5 %22 = load ptr, ptr %2, align 8 ret ptr %22 } declare ptr @strerror(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/tmpk5pk7z7g.c" target datalayout = "e-m:e-p270: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"Not supported\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"Protocol not supported\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"No buffer space available\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"Network is down\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"Address in use\00", align 1 @.str.5 = private unnamed_addr constant [22 x i8] c"Address not available\00", align 1 @.str.6 = private unnamed_addr constant [19 x i8] c"Connection refused\00", align 1 @.str.7 = private unnamed_addr constant [22 x i8] c"Operation in progress\00", align 1 @.str.8 = private unnamed_addr constant [13 x i8] c"Not a socket\00", align 1 @.str.9 = private unnamed_addr constant [29 x i8] c"Address family not supported\00", align 1 @.str.10 = private unnamed_addr constant [15 x i8] c"Protocol error\00", align 1 @.str.11 = private unnamed_addr constant [31 x i8] c"Nanomsg library was terminated\00", align 1 @.str.12 = private unnamed_addr constant [44 x i8] c"Operation cannot be performed in this state\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @nn_err_strerror(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 switch i32 %4, label %18 [ i32 156384713, label %5 i32 156384714, label %6 i32 156384715, label %7 i32 156384716, label %8 i32 156384717, label %9 i32 156384718, label %10 i32 156384719, label %11 i32 156384720, label %12 i32 156384721, label %13 i32 156384722, label %14 i32 156384723, label %15 i32 156384765, label %16 i32 156384766, label %17 ] 5: ; preds = %1 store ptr @.str, ptr %2, align 8 br label %21 6: ; preds = %1 store ptr @.str.1, ptr %2, align 8 br label %21 7: ; preds = %1 store ptr @.str.2, ptr %2, align 8 br label %21 8: ; preds = %1 store ptr @.str.3, ptr %2, align 8 br label %21 9: ; preds = %1 store ptr @.str.4, ptr %2, align 8 br label %21 10: ; preds = %1 store ptr @.str.5, ptr %2, align 8 br label %21 11: ; preds = %1 store ptr @.str.6, ptr %2, align 8 br label %21 12: ; preds = %1 store ptr @.str.7, ptr %2, align 8 br label %21 13: ; preds = %1 store ptr @.str.8, ptr %2, align 8 br label %21 14: ; preds = %1 store ptr @.str.9, ptr %2, align 8 br label %21 15: ; preds = %1 store ptr @.str.10, ptr %2, align 8 br label %21 16: ; preds = %1 store ptr @.str.11, ptr %2, align 8 br label %21 17: ; preds = %1 store ptr @.str.12, ptr %2, align 8 br label %21 18: ; preds = %1 %19 = load i32, ptr %3, align 4 %20 = call ptr @strerror(i32 noundef %19) store ptr %20, ptr %2, align 8 br label %21 21: ; preds = %18, %17, %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5 %22 = load ptr, ptr %2, align 8 ret ptr %22 } declare ptr @strerror(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/tmplicvznf3.c' source_filename = "/tmp/tmplicvznf3.c" target datalayout = "e-m:e-p270: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 @encryptDecrypt(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i8, align 1 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i8 90, ptr %4, align 1 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %5, align 4 store i32 0, ptr %3, align 4 br label %8 8: ; preds = %27, %1 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %30 12: ; preds = %8 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = load i8, ptr %4, align 1 %20 = sext i8 %19 to i32 %21 = xor i32 %18, %20 %22 = trunc i32 %21 to i8 %23 = load ptr, ptr %2, align 8 %24 = load i32, ptr %3, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 store i8 %22, ptr %26, align 1 br label %27 27: ; preds = %12 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %3, align 4 br label %8, !llvm.loop !6 30: ; preds = %8 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplicvznf3.c" target datalayout = "e-m:e-p270: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 @encryptDecrypt(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i8, align 1 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i8 90, ptr %4, align 1 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %5, align 4 store i32 0, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %32 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %26 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = load i8, ptr %4, align 1 %19 = sext i8 %18 to i32 %20 = xor i32 %17, %19 %21 = trunc i32 %20 to i8 %22 = load ptr, ptr %2, align 8 %23 = load i32, ptr %3, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 store i8 %21, ptr %25, align 1 br label %26 26: ; preds = %11 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %3, align 4 %29 = load i32, ptr %3, align 4 %30 = load i32, ptr %5, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %1 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpx918rndz.c' source_filename = "/tmp/tmpx918rndz.c" target datalayout = "e-m:e-p270: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/tmpx918rndz.c" target datalayout = "e-m:e-p270: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/tmpo6xftcif.c' source_filename = "/tmp/tmpo6xftcif.c" target datalayout = "e-m:e-p270: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/tmpo6xftcif.c" target datalayout = "e-m:e-p270: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/tmp23bnnysp.c' source_filename = "/tmp/tmp23bnnysp.c" target datalayout = "e-m:e-p270: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 [728 x i8] c"Functions: (case insensitive)\0A\0A SIN math sinus COS math cos \0A ATAN math atan LOG math log \0A LOG10 math log10 EXP math exp \0A SQRT math sqrt INT math int \0A ABS math abs \0A\0A F2C converting temperature -> fahrenheit to celsius \0A C2F converting temperature -> celsius to fahrenheit \0A IN2MM converting length -> inches to millimeter \0A MM2IN converting length -> millimeter to inches\0A PO2KG converting mass -> pounds to kilogram\0A KG2PO converting mass -> kilogram to pounds\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @funchelp() #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/tmp23bnnysp.c" target datalayout = "e-m:e-p270: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 [728 x i8] c"Functions: (case insensitive)\0A\0A SIN math sinus COS math cos \0A ATAN math atan LOG math log \0A LOG10 math log10 EXP math exp \0A SQRT math sqrt INT math int \0A ABS math abs \0A\0A F2C converting temperature -> fahrenheit to celsius \0A C2F converting temperature -> celsius to fahrenheit \0A IN2MM converting length -> inches to millimeter \0A MM2IN converting length -> millimeter to inches\0A PO2KG converting mass -> pounds to kilogram\0A KG2PO converting mass -> kilogram to pounds\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @funchelp() #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/tmpvpvhk7el.c' source_filename = "/tmp/tmpvpvhk7el.c" target datalayout = "e-m:e-p270: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 @error(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 @puts(ptr noundef %3) %5 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @puts(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/tmpvpvhk7el.c" target datalayout = "e-m:e-p270: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 @error(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 @puts(ptr noundef %3) %5 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @puts(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/tmp23lx5ani.c' source_filename = "/tmp/tmp23lx5ani.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_CUR = 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/tmp23lx5ani.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_CUR = 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/tmp7jjju8hp.c' source_filename = "/tmp/tmp7jjju8hp.c" target datalayout = "e-m:e-p270: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.ip6_rthdr = type { i32 } %struct.ip6_rthdr0 = type { i32, ptr } %struct.in6_addr = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @inet6_rth_getaddr(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %6, align 8 %10 = getelementptr inbounds %struct.ip6_rthdr, ptr %9, i32 0, i32 0 %11 = load i32, ptr %10, align 4 switch i32 %11, label %31 [ i32 128, label %12 ] 12: ; preds = %2 %13 = load ptr, ptr %6, align 8 store ptr %13, ptr %7, align 8 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = load ptr, ptr %7, align 8 %17 = getelementptr inbounds %struct.ip6_rthdr0, ptr %16, i32 0, i32 0 %18 = load i32, ptr %17, align 8 %19 = mul nsw i32 %18, 8 %20 = sext i32 %19 to i64 %21 = udiv i64 %20, 4 %22 = icmp uge i64 %15, %21 br i1 %22, label %23, label %24 23: ; preds = %12 br label %31 24: ; preds = %12 %25 = load ptr, ptr %7, align 8 %26 = getelementptr inbounds %struct.ip6_rthdr0, ptr %25, i32 0, i32 1 %27 = load ptr, ptr %26, align 8 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds %struct.in6_addr, ptr %27, i64 %29 store ptr %30, ptr %3, align 8 br label %32 31: ; preds = %2, %23 store ptr null, ptr %3, align 8 br label %32 32: ; preds = %31, %24 %33 = load ptr, ptr %3, align 8 ret ptr %33 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmp7jjju8hp.c" target datalayout = "e-m:e-p270: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.ip6_rthdr = type { i32 } %struct.ip6_rthdr0 = type { i32, ptr } %struct.in6_addr = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @inet6_rth_getaddr(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %6, align 8 %10 = getelementptr inbounds %struct.ip6_rthdr, ptr %9, i32 0, i32 0 %11 = load i32, ptr %10, align 4 switch i32 %11, label %31 [ i32 128, label %12 ] 12: ; preds = %2 %13 = load ptr, ptr %6, align 8 store ptr %13, ptr %7, align 8 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = load ptr, ptr %7, align 8 %17 = getelementptr inbounds %struct.ip6_rthdr0, ptr %16, i32 0, i32 0 %18 = load i32, ptr %17, align 8 %19 = mul nsw i32 %18, 8 %20 = sext i32 %19 to i64 %21 = udiv i64 %20, 4 %22 = icmp uge i64 %15, %21 br i1 %22, label %23, label %24 23: ; preds = %12 br label %31 24: ; preds = %12 %25 = load ptr, ptr %7, align 8 %26 = getelementptr inbounds %struct.ip6_rthdr0, ptr %25, i32 0, i32 1 %27 = load ptr, ptr %26, align 8 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds %struct.in6_addr, ptr %27, i64 %29 store ptr %30, ptr %3, align 8 br label %32 31: ; preds = %23, %2 store ptr null, ptr %3, align 8 br label %32 32: ; preds = %31, %24 %33 = load ptr, ptr %3, align 8 ret ptr %33 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpnbu3uqx1.c' source_filename = "/tmp/tmpnbu3uqx1.c" target datalayout = "e-m:e-p270: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/tmpnbu3uqx1.c" target datalayout = "e-m:e-p270: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/tmpq5n7646u.c' source_filename = "/tmp/tmpq5n7646u.c" target datalayout = "e-m:e-p270: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/tmpq5n7646u.c" target datalayout = "e-m:e-p270: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/tmptuonzufv.c' source_filename = "/tmp/tmptuonzufv.c" target datalayout = "e-m:e-p270: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/tmptuonzufv.c" target datalayout = "e-m:e-p270: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/tmp96k2wg78.c' source_filename = "/tmp/tmp96k2wg78.c" target datalayout = "e-m:e-p270: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 { i32, i64 } @SOL_SOCKET = dso_local global i32 0, align 4 @SO_RCVTIMEO = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [35 x i8] c"setsockopt SO_RCVTIMEO failure %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @http_socket_recvtimeout(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca %struct.timeval, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 0 store i32 %6, ptr %7, align 8 %8 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 1 store i64 0, ptr %8, align 8 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr @SOL_SOCKET, align 4 %11 = load i32, ptr @SO_RCVTIMEO, align 4 %12 = call i64 @setsockopt(i32 noundef %9, i32 noundef %10, i32 noundef %11, ptr noundef %5, i32 noundef 16) %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %2 %15 = load i32, ptr @errno, align 4 %16 = call ptr @strerror(i32 noundef %15) %17 = call i32 @printf(ptr noundef @.str, ptr noundef %16) br label %18 18: ; preds = %14, %2 ret void } declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @strerror(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/tmp96k2wg78.c" target datalayout = "e-m:e-p270: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 { i32, i64 } @SOL_SOCKET = dso_local global i32 0, align 4 @SO_RCVTIMEO = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [35 x i8] c"setsockopt SO_RCVTIMEO failure %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @http_socket_recvtimeout(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca %struct.timeval, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 0 store i32 %6, ptr %7, align 8 %8 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 1 store i64 0, ptr %8, align 8 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr @SOL_SOCKET, align 4 %11 = load i32, ptr @SO_RCVTIMEO, align 4 %12 = call i64 @setsockopt(i32 noundef %9, i32 noundef %10, i32 noundef %11, ptr noundef %5, i32 noundef 16) %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %2 %15 = load i32, ptr @errno, align 4 %16 = call ptr @strerror(i32 noundef %15) %17 = call i32 @printf(ptr noundef @.str, ptr noundef %16) br label %18 18: ; preds = %14, %2 ret void } declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @strerror(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/tmpa35guln6.c' source_filename = "/tmp/tmpa35guln6.c" target datalayout = "e-m:e-p270: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"rb\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"%s : \00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_random(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca [16385 x i8], align 16 %10 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store i32 0, ptr %5, align 4 %11 = load ptr, ptr %2, align 8 %12 = call i32 @open(ptr noundef %11, i32 noundef 0) store i32 %12, ptr %4, align 4 br label %13 13: ; preds = %37, %1 %14 = load i32, ptr %4, align 4 %15 = getelementptr inbounds [16385 x i8], ptr %9, i64 0, i64 0 %16 = call i64 @read(i32 noundef %14, ptr noundef %15, i32 noundef 16384) store i64 %16, ptr %8, align 8 %17 = icmp ugt i64 %16, 0 br i1 %17, label %18, label %38 18: ; preds = %13 %19 = getelementptr inbounds [16385 x i8], ptr %9, i64 0, i64 0 store ptr %19, ptr %10, align 8 br label %20 20: ; preds = %32, %18 %21 = load ptr, ptr %10, align 8 %22 = getelementptr inbounds [16385 x i8], ptr %9, i64 0, i64 0 %23 = load i64, ptr %8, align 8 %24 = getelementptr inbounds i8, ptr %22, i64 %23 %25 = load ptr, ptr %10, align 8 %26 = ptrtoint ptr %24 to i64 %27 = ptrtoint ptr %25 to i64 %28 = sub i64 %26, %27 %29 = trunc i64 %28 to i32 %30 = call ptr @memchr(ptr noundef %21, i8 noundef signext 10, i32 noundef %29) store ptr %30, ptr %10, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %32, label %37 32: ; preds = %20 %33 = load ptr, ptr %10, align 8 %34 = getelementptr inbounds i8, ptr %33, i32 1 store ptr %34, ptr %10, align 8 %35 = load i32, ptr %5, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %5, align 4 br label %20, !llvm.loop !6 37: ; preds = %20 br label %13, !llvm.loop !8 38: ; preds = %13 %39 = load i32, ptr %4, align 4 %40 = call i32 @close(i32 noundef %39) %41 = call i64 @time(ptr noundef null) %42 = trunc i64 %41 to i32 %43 = call i32 @srand(i32 noundef %42) %44 = call i32 (...) @rand() %45 = load i32, ptr %5, align 4 %46 = srem i32 %44, %45 store i32 %46, ptr %7, align 4 %47 = load i32, ptr %7, align 4 %48 = srem i32 %47, 2 %49 = icmp eq i32 %48, 1 br i1 %49, label %50, label %53 50: ; preds = %38 %51 = load i32, ptr %7, align 4 %52 = sub nsw i32 %51, 1 store i32 %52, ptr %7, align 4 br label %53 53: ; preds = %50, %38 %54 = load ptr, ptr %2, align 8 %55 = call ptr @fopen(ptr noundef %54, ptr noundef @.str) store ptr %55, ptr %3, align 8 store i32 0, ptr %6, align 4 br label %56 56: ; preds = %89, %53 %57 = load ptr, ptr %3, align 8 %58 = call i32 @feof(ptr noundef %57) %59 = icmp ne i32 %58, 0 %60 = xor i1 %59, true br i1 %60, label %61, label %92 61: ; preds = %56 %62 = getelementptr inbounds [16385 x i8], ptr %9, i64 0, i64 0 %63 = load ptr, ptr %3, align 8 %64 = call i32 @fgets(ptr noundef %62, i32 noundef 16385, ptr noundef %63) %65 = load i32, ptr %6, align 4 %66 = load i32, ptr %7, align 4 %67 = icmp eq i32 %65, %66 br i1 %67, label %68, label %88 68: ; preds = %61 %69 = getelementptr inbounds [16385 x i8], ptr %9, i64 0, i64 0 %70 = call i32 @strlen(ptr noundef %69) %71 = sub nsw i32 %70, 2 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [16385 x i8], ptr %9, i64 0, i64 %72 store i8 0, ptr %73, align 1 %74 = load i32, ptr @stdout, align 4 %75 = getelementptr inbounds [16385 x i8], ptr %9, i64 0, i64 0 %76 = call i32 @fprintf(i32 noundef %74, ptr noundef @.str.1, ptr noundef %75) %77 = getelementptr inbounds [16385 x i8], ptr %9, i64 0, i64 0 %78 = load ptr, ptr %3, align 8 %79 = call i32 @fgets(ptr noundef %77, i32 noundef 16385, ptr noundef %78) %80 = getelementptr inbounds [16385 x i8], ptr %9, i64 0, i64 0 %81 = call i32 @strlen(ptr noundef %80) %82 = sub nsw i32 %81, 2 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [16385 x i8], ptr %9, i64 0, i64 %83 store i8 0, ptr %84, align 1 %85 = load i32, ptr @stdout, align 4 %86 = getelementptr inbounds [16385 x i8], ptr %9, i64 0, i64 0 %87 = call i32 @fprintf(i32 noundef %85, ptr noundef @.str.2, ptr noundef %86) br label %92 88: ; preds = %61 br label %89 89: ; preds = %88 %90 = load i32, ptr %6, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %6, align 4 br label %56, !llvm.loop !9 92: ; preds = %68, %56 %93 = load ptr, ptr %3, align 8 %94 = call i32 @fclose(ptr noundef %93) ret void } declare i32 @open(ptr noundef, i32 noundef) #1 declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @memchr(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa35guln6.c" target datalayout = "e-m:e-p270: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"rb\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"%s : \00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_random(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca [16385 x i8], align 16 %10 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store i32 0, ptr %5, align 4 %11 = load ptr, ptr %2, align 8 %12 = call i32 @open(ptr noundef %11, i32 noundef 0) store i32 %12, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = getelementptr inbounds [16385 x i8], ptr %9, i64 0, i64 0 %15 = call i64 @read(i32 noundef %13, ptr noundef %14, i32 noundef 16384) store i64 %15, ptr %8, align 8 %16 = icmp ugt i64 %15, 0 br i1 %16, label %.lr.ph2, label %49 .lr.ph2: ; preds = %1 br label %17 17: ; preds = %.lr.ph2, %45 %18 = getelementptr inbounds [16385 x i8], ptr %9, i64 0, i64 0 store ptr %18, ptr %10, align 8 %19 = load ptr, ptr %10, align 8 %20 = getelementptr inbounds [16385 x i8], ptr %9, i64 0, i64 0 %21 = load i64, ptr %8, align 8 %22 = getelementptr inbounds i8, ptr %20, i64 %21 %23 = load ptr, ptr %10, align 8 %24 = ptrtoint ptr %22 to i64 %25 = ptrtoint ptr %23 to i64 %26 = sub i64 %24, %25 %27 = trunc i64 %26 to i32 %28 = call ptr @memchr(ptr noundef %19, i8 noundef signext 10, i32 noundef %27) store ptr %28, ptr %10, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %.lr.ph, label %45 .lr.ph: ; preds = %17 br label %30 30: ; preds = %.lr.ph, %30 %31 = load ptr, ptr %10, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %10, align 8 %33 = load i32, ptr %5, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %5, align 4 %35 = load ptr, ptr %10, align 8 %36 = load i64, ptr %8, align 8 %37 = getelementptr inbounds i8, ptr %20, i64 %36 %38 = load ptr, ptr %10, align 8 %39 = ptrtoint ptr %37 to i64 %40 = ptrtoint ptr %38 to i64 %41 = sub i64 %39, %40 %42 = trunc i64 %41 to i32 %43 = call ptr @memchr(ptr noundef %35, i8 noundef signext 10, i32 noundef %42) store ptr %43, ptr %10, align 8 %44 = icmp ne ptr %43, null br i1 %44, label %30, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %45 45: ; preds = %._crit_edge, %17 %46 = load i32, ptr %4, align 4 %47 = call i64 @read(i32 noundef %46, ptr noundef %14, i32 noundef 16384) store i64 %47, ptr %8, align 8 %48 = icmp ugt i64 %47, 0 br i1 %48, label %17, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %45 br label %49 49: ; preds = %._crit_edge3, %1 %50 = load i32, ptr %4, align 4 %51 = call i32 @close(i32 noundef %50) %52 = call i64 @time(ptr noundef null) %53 = trunc i64 %52 to i32 %54 = call i32 @srand(i32 noundef %53) %55 = call i32 (...) @rand() %56 = load i32, ptr %5, align 4 %57 = srem i32 %55, %56 store i32 %57, ptr %7, align 4 %58 = load i32, ptr %7, align 4 %59 = srem i32 %58, 2 %60 = icmp eq i32 %59, 1 br i1 %60, label %61, label %64 61: ; preds = %49 %62 = load i32, ptr %7, align 4 %63 = sub nsw i32 %62, 1 store i32 %63, ptr %7, align 4 br label %64 64: ; preds = %61, %49 %65 = load ptr, ptr %2, align 8 %66 = call ptr @fopen(ptr noundef %65, ptr noundef @.str) store ptr %66, ptr %3, align 8 store i32 0, ptr %6, align 4 %67 = load ptr, ptr %3, align 8 %68 = call i32 @feof(ptr noundef %67) %69 = icmp ne i32 %68, 0 %70 = xor i1 %69, true br i1 %70, label %.lr.ph5, label %.loopexit .lr.ph5: ; preds = %64 br label %71 71: ; preds = %.lr.ph5, %99 %72 = getelementptr inbounds [16385 x i8], ptr %9, i64 0, i64 0 %73 = load ptr, ptr %3, align 8 %74 = call i32 @fgets(ptr noundef %72, i32 noundef 16385, ptr noundef %73) %75 = load i32, ptr %6, align 4 %76 = load i32, ptr %7, align 4 %77 = icmp eq i32 %75, %76 br i1 %77, label %78, label %98 78: ; preds = %71 %79 = getelementptr inbounds [16385 x i8], ptr %9, i64 0, i64 0 %80 = call i32 @strlen(ptr noundef %79) %81 = sub nsw i32 %80, 2 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds [16385 x i8], ptr %9, i64 0, i64 %82 store i8 0, ptr %83, align 1 %84 = load i32, ptr @stdout, align 4 %85 = getelementptr inbounds [16385 x i8], ptr %9, i64 0, i64 0 %86 = call i32 @fprintf(i32 noundef %84, ptr noundef @.str.1, ptr noundef %85) %87 = getelementptr inbounds [16385 x i8], ptr %9, i64 0, i64 0 %88 = load ptr, ptr %3, align 8 %89 = call i32 @fgets(ptr noundef %87, i32 noundef 16385, ptr noundef %88) %90 = getelementptr inbounds [16385 x i8], ptr %9, i64 0, i64 0 %91 = call i32 @strlen(ptr noundef %90) %92 = sub nsw i32 %91, 2 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds [16385 x i8], ptr %9, i64 0, i64 %93 store i8 0, ptr %94, align 1 %95 = load i32, ptr @stdout, align 4 %96 = getelementptr inbounds [16385 x i8], ptr %9, i64 0, i64 0 %97 = call i32 @fprintf(i32 noundef %95, ptr noundef @.str.2, ptr noundef %96) br label %106 98: ; preds = %71 br label %99 99: ; preds = %98 %100 = load i32, ptr %6, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %6, align 4 %102 = load ptr, ptr %3, align 8 %103 = call i32 @feof(ptr noundef %102) %104 = icmp ne i32 %103, 0 %105 = xor i1 %104, true br i1 %105, label %71, label %..loopexit_crit_edge, !llvm.loop !9 ..loopexit_crit_edge: ; preds = %99 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %64 br label %106 106: ; preds = %.loopexit, %78 %107 = load ptr, ptr %3, align 8 %108 = call i32 @fclose(ptr noundef %107) ret void } declare i32 @open(ptr noundef, i32 noundef) #1 declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @memchr(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpdspajsbn.c' source_filename = "/tmp/tmpdspajsbn.c" target datalayout = "e-m:e-p270: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/tmpdspajsbn.c" target datalayout = "e-m:e-p270: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/tmp8dr91om5.c' source_filename = "/tmp/tmp8dr91om5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"Start\0A\00", align 1 @RAND_MAX = dso_local global double 0.000000e+00, align 8 @.str.1 = private unnamed_addr constant [9 x i8] c"Numbers\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"Average\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"Done\0A\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"%f %f\0A\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1 @CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 store i32 0, ptr %1, align 4 %8 = call i32 @srand(i32 noundef 1) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i64 @malloc(i32 noundef 16000000) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %3, align 8 store i32 0, ptr %2, align 4 br label %12 12: ; preds = %33, %0 %13 = load i32, ptr %2, align 4 %14 = icmp slt i32 %13, 2000000 br i1 %14, label %15, label %36 15: ; preds = %12 %16 = call i64 (...) @rand() %17 = sitofp i64 %16 to double %18 = load double, ptr @RAND_MAX, align 8 %19 = fdiv double %17, %18 %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %2, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds double, ptr %20, i64 %22 store double %19, ptr %23, align 8 %24 = call i64 (...) @rand() %25 = sitofp i64 %24 to double %26 = load double, ptr @RAND_MAX, align 8 %27 = fdiv double %25, %26 %28 = load ptr, ptr %3, align 8 %29 = load i32, ptr %2, align 4 %30 = add nsw i32 %29, 1 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds double, ptr %28, i64 %31 store double %27, ptr %32, align 8 br label %33 33: ; preds = %15 %34 = load i32, ptr %2, align 4 %35 = add nsw i32 %34, 2 store i32 %35, ptr %2, align 4 br label %12, !llvm.loop !6 36: ; preds = %12 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store double 0.000000e+00, ptr %6, align 8 store double 0.000000e+00, ptr %7, align 8 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %39 = call i64 (...) @clock() store i64 %39, ptr %4, align 8 store i32 0, ptr %2, align 4 br label %40 40: ; preds = %59, %36 %41 = load i32, ptr %2, align 4 %42 = icmp slt i32 %41, 2000000 br i1 %42, label %43, label %62 43: ; preds = %40 %44 = load ptr, ptr %3, align 8 %45 = load i32, ptr %2, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds double, ptr %44, i64 %46 %48 = load double, ptr %47, align 8 %49 = load double, ptr %6, align 8 %50 = fadd double %49, %48 store double %50, ptr %6, align 8 %51 = load ptr, ptr %3, align 8 %52 = load i32, ptr %2, align 4 %53 = add nsw i32 %52, 1 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds double, ptr %51, i64 %54 %56 = load double, ptr %55, align 8 %57 = load double, ptr %7, align 8 %58 = fadd double %57, %56 store double %58, ptr %7, align 8 br label %59 59: ; preds = %43 %60 = load i32, ptr %2, align 4 %61 = add nsw i32 %60, 2 store i32 %61, ptr %2, align 4 br label %40, !llvm.loop !8 62: ; preds = %40 %63 = load double, ptr %6, align 8 %64 = fmul double %63, 0x3EB0C6F7A0B5ED8D store double %64, ptr %6, align 8 %65 = load double, ptr %7, align 8 %66 = fmul double %65, 0x3EB0C6F7A0B5ED8D store double %66, ptr %7, align 8 %67 = call i64 (...) @clock() store i64 %67, ptr %5, align 8 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %69 = load double, ptr %6, align 8 %70 = load double, ptr %7, align 8 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %69, double noundef %70) %72 = load i64, ptr %5, align 8 %73 = load i64, ptr %4, align 8 %74 = sub nsw i64 %72, %73 %75 = sitofp i64 %74 to double %76 = load double, ptr @CLOCKS_PER_SEC, align 8 %77 = fdiv double %75, %76 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %77) %79 = load i32, ptr %1, align 4 ret i32 %79 } declare i32 @srand(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @malloc(i32 noundef) #1 declare i64 @rand(...) #1 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8dr91om5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"Start\0A\00", align 1 @RAND_MAX = dso_local global double 0.000000e+00, align 8 @.str.1 = private unnamed_addr constant [9 x i8] c"Numbers\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"Average\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"Done\0A\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"%f %f\0A\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1 @CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 store i32 0, ptr %1, align 4 %8 = call i32 @srand(i32 noundef 1) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i64 @malloc(i32 noundef 16000000) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %3, align 8 store i32 0, ptr %2, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp slt i32 %12, 2000000 br i1 %13, label %.lr.ph, label %37 .lr.ph: ; preds = %0 br label %14 14: ; preds = %.lr.ph, %32 %15 = call i64 (...) @rand() %16 = sitofp i64 %15 to double %17 = load double, ptr @RAND_MAX, align 8 %18 = fdiv double %16, %17 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %2, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds double, ptr %19, i64 %21 store double %18, ptr %22, align 8 %23 = call i64 (...) @rand() %24 = sitofp i64 %23 to double %25 = load double, ptr @RAND_MAX, align 8 %26 = fdiv double %24, %25 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %2, align 4 %29 = add nsw i32 %28, 1 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds double, ptr %27, i64 %30 store double %26, ptr %31, align 8 br label %32 32: ; preds = %14 %33 = load i32, ptr %2, align 4 %34 = add nsw i32 %33, 2 store i32 %34, ptr %2, align 4 %35 = load i32, ptr %2, align 4 %36 = icmp slt i32 %35, 2000000 br i1 %36, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %37 37: ; preds = %._crit_edge, %0 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store double 0.000000e+00, ptr %6, align 8 store double 0.000000e+00, ptr %7, align 8 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %40 = call i64 (...) @clock() store i64 %40, ptr %4, align 8 store i32 0, ptr %2, align 4 %41 = load i32, ptr %2, align 4 %42 = icmp slt i32 %41, 2000000 br i1 %42, label %.lr.ph2, label %64 .lr.ph2: ; preds = %37 br label %43 43: ; preds = %.lr.ph2, %59 %44 = load ptr, ptr %3, align 8 %45 = load i32, ptr %2, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds double, ptr %44, i64 %46 %48 = load double, ptr %47, align 8 %49 = load double, ptr %6, align 8 %50 = fadd double %49, %48 store double %50, ptr %6, align 8 %51 = load ptr, ptr %3, align 8 %52 = load i32, ptr %2, align 4 %53 = add nsw i32 %52, 1 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds double, ptr %51, i64 %54 %56 = load double, ptr %55, align 8 %57 = load double, ptr %7, align 8 %58 = fadd double %57, %56 store double %58, ptr %7, align 8 br label %59 59: ; preds = %43 %60 = load i32, ptr %2, align 4 %61 = add nsw i32 %60, 2 store i32 %61, ptr %2, align 4 %62 = load i32, ptr %2, align 4 %63 = icmp slt i32 %62, 2000000 br i1 %63, label %43, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %59 br label %64 64: ; preds = %._crit_edge3, %37 %65 = load double, ptr %6, align 8 %66 = fmul double %65, 0x3EB0C6F7A0B5ED8D store double %66, ptr %6, align 8 %67 = load double, ptr %7, align 8 %68 = fmul double %67, 0x3EB0C6F7A0B5ED8D store double %68, ptr %7, align 8 %69 = call i64 (...) @clock() store i64 %69, ptr %5, align 8 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %71 = load double, ptr %6, align 8 %72 = load double, ptr %7, align 8 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %71, double noundef %72) %74 = load i64, ptr %5, align 8 %75 = load i64, ptr %4, align 8 %76 = sub nsw i64 %74, %75 %77 = sitofp i64 %76 to double %78 = load double, ptr @CLOCKS_PER_SEC, align 8 %79 = fdiv double %77, %78 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %79) %81 = load i32, ptr %1, align 4 ret i32 %81 } declare i32 @srand(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @malloc(i32 noundef) #1 declare i64 @rand(...) #1 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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp_0m1wc54.c' source_filename = "/tmp/tmp_0m1wc54.c" target datalayout = "e-m:e-p270: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 [36 x i8] c"invalid option of transformation! \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Jacobitrans(ptr noundef %0, ptr noundef %1, double noundef %2, double noundef %3, double noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = alloca double, align 8 %18 = alloca double, align 8 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store double %2, ptr %11, align 8 store double %3, ptr %12, align 8 store double %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store i32 %7, ptr %16, align 4 %19 = load double, ptr %13, align 8 %20 = load double, ptr %12, align 8 %21 = load double, ptr %13, align 8 %22 = fadd double %20, %21 %23 = fdiv double %19, %22 store double %23, ptr %17, align 8 %24 = load double, ptr %11, align 8 %25 = load double, ptr %11, align 8 %26 = load double, ptr %12, align 8 %27 = fadd double %25, %26 %28 = fdiv double %24, %27 store double %28, ptr %18, align 8 %29 = load i32, ptr %16, align 4 %30 = icmp eq i32 %29, 1 br i1 %30, label %31, label %52 31: ; preds = %8 %32 = load double, ptr %17, align 8 %33 = fneg double %32 %34 = load ptr, ptr %9, align 8 %35 = load double, ptr %34, align 8 %36 = load double, ptr %18, align 8 %37 = load double, ptr %17, align 8 %38 = call double @llvm.fmuladd.f64(double %36, double %37, double -1.000000e+00) %39 = load ptr, ptr %10, align 8 %40 = load double, ptr %39, align 8 %41 = fmul double %38, %40 %42 = call double @llvm.fmuladd.f64(double %33, double %35, double %41) %43 = load ptr, ptr %14, align 8 store double %42, ptr %43, align 8 %44 = load ptr, ptr %9, align 8 %45 = load double, ptr %44, align 8 %46 = load double, ptr %18, align 8 %47 = load ptr, ptr %10, align 8 %48 = load double, ptr %47, align 8 %49 = fneg double %46 %50 = call double @llvm.fmuladd.f64(double %49, double %48, double %45) %51 = load ptr, ptr %15, align 8 store double %50, ptr %51, align 8 br label %81 52: ; preds = %8 %53 = load i32, ptr %16, align 4 %54 = icmp eq i32 %53, -1 br i1 %54, label %55, label %78 55: ; preds = %52 %56 = load double, ptr %18, align 8 %57 = fneg double %56 %58 = load ptr, ptr %14, align 8 %59 = load double, ptr %58, align 8 %60 = load double, ptr %18, align 8 %61 = load double, ptr %17, align 8 %62 = fneg double %60 %63 = call double @llvm.fmuladd.f64(double %62, double %61, double 1.000000e+00) %64 = load ptr, ptr %15, align 8 %65 = load double, ptr %64, align 8 %66 = fmul double %63, %65 %67 = call double @llvm.fmuladd.f64(double %57, double %59, double %66) %68 = load ptr, ptr %9, align 8 store double %67, ptr %68, align 8 %69 = load ptr, ptr %14, align 8 %70 = load double, ptr %69, align 8 %71 = fneg double %70 %72 = load double, ptr %17, align 8 %73 = load ptr, ptr %15, align 8 %74 = load double, ptr %73, align 8 %75 = fneg double %72 %76 = call double @llvm.fmuladd.f64(double %75, double %74, double %71) %77 = load ptr, ptr %10, align 8 store double %76, ptr %77, align 8 br label %80 78: ; preds = %52 %79 = call i32 @printf(ptr noundef @.str) br label %80 80: ; preds = %78, %55 br label %81 81: ; preds = %80, %31 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @printf(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree 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/tmp_0m1wc54.c" target datalayout = "e-m:e-p270: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 [36 x i8] c"invalid option of transformation! \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Jacobitrans(ptr noundef %0, ptr noundef %1, double noundef %2, double noundef %3, double noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = alloca double, align 8 %18 = alloca double, align 8 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store double %2, ptr %11, align 8 store double %3, ptr %12, align 8 store double %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store i32 %7, ptr %16, align 4 %19 = load double, ptr %13, align 8 %20 = load double, ptr %12, align 8 %21 = load double, ptr %13, align 8 %22 = fadd double %20, %21 %23 = fdiv double %19, %22 store double %23, ptr %17, align 8 %24 = load double, ptr %11, align 8 %25 = load double, ptr %11, align 8 %26 = load double, ptr %12, align 8 %27 = fadd double %25, %26 %28 = fdiv double %24, %27 store double %28, ptr %18, align 8 %29 = load i32, ptr %16, align 4 %30 = icmp eq i32 %29, 1 br i1 %30, label %31, label %52 31: ; preds = %8 %32 = load double, ptr %17, align 8 %33 = fneg double %32 %34 = load ptr, ptr %9, align 8 %35 = load double, ptr %34, align 8 %36 = load double, ptr %18, align 8 %37 = load double, ptr %17, align 8 %38 = call double @llvm.fmuladd.f64(double %36, double %37, double -1.000000e+00) %39 = load ptr, ptr %10, align 8 %40 = load double, ptr %39, align 8 %41 = fmul double %38, %40 %42 = call double @llvm.fmuladd.f64(double %33, double %35, double %41) %43 = load ptr, ptr %14, align 8 store double %42, ptr %43, align 8 %44 = load ptr, ptr %9, align 8 %45 = load double, ptr %44, align 8 %46 = load double, ptr %18, align 8 %47 = load ptr, ptr %10, align 8 %48 = load double, ptr %47, align 8 %49 = fneg double %46 %50 = call double @llvm.fmuladd.f64(double %49, double %48, double %45) %51 = load ptr, ptr %15, align 8 store double %50, ptr %51, align 8 br label %81 52: ; preds = %8 %53 = load i32, ptr %16, align 4 %54 = icmp eq i32 %53, -1 br i1 %54, label %55, label %78 55: ; preds = %52 %56 = load double, ptr %18, align 8 %57 = fneg double %56 %58 = load ptr, ptr %14, align 8 %59 = load double, ptr %58, align 8 %60 = load double, ptr %18, align 8 %61 = load double, ptr %17, align 8 %62 = fneg double %60 %63 = call double @llvm.fmuladd.f64(double %62, double %61, double 1.000000e+00) %64 = load ptr, ptr %15, align 8 %65 = load double, ptr %64, align 8 %66 = fmul double %63, %65 %67 = call double @llvm.fmuladd.f64(double %57, double %59, double %66) %68 = load ptr, ptr %9, align 8 store double %67, ptr %68, align 8 %69 = load ptr, ptr %14, align 8 %70 = load double, ptr %69, align 8 %71 = fneg double %70 %72 = load double, ptr %17, align 8 %73 = load ptr, ptr %15, align 8 %74 = load double, ptr %73, align 8 %75 = fneg double %72 %76 = call double @llvm.fmuladd.f64(double %75, double %74, double %71) %77 = load ptr, ptr %10, align 8 store double %76, ptr %77, align 8 br label %80 78: ; preds = %52 %79 = call i32 @printf(ptr noundef @.str) br label %80 80: ; preds = %78, %55 br label %81 81: ; preds = %80, %31 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @printf(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree 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/tmpxhp_ll72.c' source_filename = "/tmp/tmpxhp_ll72.c" target datalayout = "e-m:e-p270: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/tmpxhp_ll72.c" target datalayout = "e-m:e-p270: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/tmpolzghpk2.c' source_filename = "/tmp/tmpolzghpk2.c" target datalayout = "e-m:e-p270: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.hostent = type { i32, ptr, i32, i64 } %struct.in_addr = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @canon_host(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call ptr @gethostbyname(ptr noundef %6) store ptr %7, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %51 10: ; preds = %1 store ptr null, ptr %5, align 8 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds %struct.hostent, ptr %11, i32 0, i32 0 %13 = load i32, ptr %12, align 8 switch i32 %13, label %22 [ i32 128, label %14 ] 14: ; preds = %10 %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds %struct.hostent, ptr %15, i32 0, i32 3 %17 = load i64, ptr %16, align 8 %18 = inttoptr i64 %17 to ptr %19 = getelementptr inbounds %struct.in_addr, ptr %18, i32 0, i32 0 %20 = load i32, ptr %19, align 4 %21 = call ptr @inet_ntoa(i32 %20) store ptr %21, ptr %5, align 8 br label %22 22: ; preds = %10, %14 %23 = load ptr, ptr %5, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %25, label %43 25: ; preds = %22 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds %struct.hostent, ptr %26, i32 0, i32 1 %28 = load ptr, ptr %27, align 8 %29 = load ptr, ptr %5, align 8 %30 = call i64 @strcmp(ptr noundef %28, ptr noundef %29) %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %43 32: ; preds = %25 %33 = load ptr, ptr %4, align 8 %34 = getelementptr inbounds %struct.hostent, ptr %33, i32 0, i32 3 %35 = load i64, ptr %34, align 8 %36 = load ptr, ptr %4, align 8 %37 = getelementptr inbounds %struct.hostent, ptr %36, i32 0, i32 2 %38 = load i32, ptr %37, align 8 %39 = load ptr, ptr %4, align 8 %40 = getelementptr inbounds %struct.hostent, ptr %39, i32 0, i32 0 %41 = load i32, ptr %40, align 8 %42 = call ptr @gethostbyaddr(i64 noundef %35, i32 noundef %38, i32 noundef %41) store ptr %42, ptr %4, align 8 br label %43 43: ; preds = %32, %25, %22 %44 = load ptr, ptr %4, align 8 %45 = icmp ne ptr %44, null br i1 %45, label %46, label %50 46: ; preds = %43 %47 = load ptr, ptr %4, align 8 %48 = getelementptr inbounds %struct.hostent, ptr %47, i32 0, i32 1 %49 = load ptr, ptr %48, align 8 store ptr %49, ptr %2, align 8 br label %52 50: ; preds = %43 br label %51 51: ; preds = %50, %1 store ptr null, ptr %2, align 8 br label %52 52: ; preds = %51, %46 %53 = load ptr, ptr %2, align 8 ret ptr %53 } declare ptr @gethostbyname(ptr noundef) #1 declare ptr @inet_ntoa(i32) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @gethostbyaddr(i64 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/tmpolzghpk2.c" target datalayout = "e-m:e-p270: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.hostent = type { i32, ptr, i32, i64 } %struct.in_addr = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @canon_host(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call ptr @gethostbyname(ptr noundef %6) store ptr %7, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %51 10: ; preds = %1 store ptr null, ptr %5, align 8 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds %struct.hostent, ptr %11, i32 0, i32 0 %13 = load i32, ptr %12, align 8 switch i32 %13, label %22 [ i32 128, label %14 ] 14: ; preds = %10 %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds %struct.hostent, ptr %15, i32 0, i32 3 %17 = load i64, ptr %16, align 8 %18 = inttoptr i64 %17 to ptr %19 = getelementptr inbounds %struct.in_addr, ptr %18, i32 0, i32 0 %20 = load i32, ptr %19, align 4 %21 = call ptr @inet_ntoa(i32 %20) store ptr %21, ptr %5, align 8 br label %22 22: ; preds = %14, %10 %23 = load ptr, ptr %5, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %25, label %43 25: ; preds = %22 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds %struct.hostent, ptr %26, i32 0, i32 1 %28 = load ptr, ptr %27, align 8 %29 = load ptr, ptr %5, align 8 %30 = call i64 @strcmp(ptr noundef %28, ptr noundef %29) %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %43 32: ; preds = %25 %33 = load ptr, ptr %4, align 8 %34 = getelementptr inbounds %struct.hostent, ptr %33, i32 0, i32 3 %35 = load i64, ptr %34, align 8 %36 = load ptr, ptr %4, align 8 %37 = getelementptr inbounds %struct.hostent, ptr %36, i32 0, i32 2 %38 = load i32, ptr %37, align 8 %39 = load ptr, ptr %4, align 8 %40 = getelementptr inbounds %struct.hostent, ptr %39, i32 0, i32 0 %41 = load i32, ptr %40, align 8 %42 = call ptr @gethostbyaddr(i64 noundef %35, i32 noundef %38, i32 noundef %41) store ptr %42, ptr %4, align 8 br label %43 43: ; preds = %32, %25, %22 %44 = load ptr, ptr %4, align 8 %45 = icmp ne ptr %44, null br i1 %45, label %46, label %50 46: ; preds = %43 %47 = load ptr, ptr %4, align 8 %48 = getelementptr inbounds %struct.hostent, ptr %47, i32 0, i32 1 %49 = load ptr, ptr %48, align 8 store ptr %49, ptr %2, align 8 br label %52 50: ; preds = %43 br label %51 51: ; preds = %50, %1 store ptr null, ptr %2, align 8 br label %52 52: ; preds = %51, %46 %53 = load ptr, ptr %2, align 8 ret ptr %53 } declare ptr @gethostbyname(ptr noundef) #1 declare ptr @inet_ntoa(i32) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @gethostbyaddr(i64 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/tmpv97pq1zj.c' source_filename = "/tmp/tmpv97pq1zj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_PRIVATE = dso_local global i32 0, align 4 @MAP_ANONYMOUS = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"mmap\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @must_mmap(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %14 10: ; preds = %3 %11 = load i32, ptr @PROT_READ, align 4 %12 = load i32, ptr @PROT_WRITE, align 4 %13 = or i32 %11, %12 store i32 %13, ptr %5, align 4 br label %14 14: ; preds = %10, %3 %15 = load i32, ptr %6, align 4 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %21 17: ; preds = %14 %18 = load i32, ptr @MAP_PRIVATE, align 4 %19 = load i32, ptr @MAP_ANONYMOUS, align 4 %20 = or i32 %18, %19 store i32 %20, ptr %6, align 4 br label %21 21: ; preds = %17, %14 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %6, align 4 %25 = call ptr @mmap(ptr noundef null, i32 noundef %22, i32 noundef %23, i32 noundef %24, i32 noundef -1, i32 noundef 0) store ptr %25, ptr %7, align 8 %26 = load ptr, ptr %7, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %31, label %28 28: ; preds = %21 %29 = load i32, ptr %4, align 4 %30 = call i32 @must_fail(ptr noundef @.str, i32 noundef %29) br label %31 31: ; preds = %28, %21 %32 = load ptr, ptr %7, align 8 ret ptr %32 } declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @must_fail(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/tmpv97pq1zj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_PRIVATE = dso_local global i32 0, align 4 @MAP_ANONYMOUS = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"mmap\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @must_mmap(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %14 10: ; preds = %3 %11 = load i32, ptr @PROT_READ, align 4 %12 = load i32, ptr @PROT_WRITE, align 4 %13 = or i32 %11, %12 store i32 %13, ptr %5, align 4 br label %14 14: ; preds = %10, %3 %15 = load i32, ptr %6, align 4 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %21 17: ; preds = %14 %18 = load i32, ptr @MAP_PRIVATE, align 4 %19 = load i32, ptr @MAP_ANONYMOUS, align 4 %20 = or i32 %18, %19 store i32 %20, ptr %6, align 4 br label %21 21: ; preds = %17, %14 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %6, align 4 %25 = call ptr @mmap(ptr noundef null, i32 noundef %22, i32 noundef %23, i32 noundef %24, i32 noundef -1, i32 noundef 0) store ptr %25, ptr %7, align 8 %26 = load ptr, ptr %7, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %31, label %28 28: ; preds = %21 %29 = load i32, ptr %4, align 4 %30 = call i32 @must_fail(ptr noundef @.str, i32 noundef %29) br label %31 31: ; preds = %28, %21 %32 = load ptr, ptr %7, align 8 ret ptr %32 } declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @must_fail(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/tmpbvyvmb5x.c' source_filename = "/tmp/tmpbvyvmb5x.c" target datalayout = "e-m:e-p270: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 @ft_memcmp(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 i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 0, ptr %8, align 8 br label %9 9: ; preds = %37, %3 %10 = load i64, ptr %8, align 8 %11 = load i64, ptr %7, align 8 %12 = icmp ult i64 %10, %11 br i1 %12, label %13, label %40 13: ; preds = %9 %14 = load ptr, ptr %5, align 8 %15 = load i64, ptr %8, align 8 %16 = getelementptr inbounds i8, ptr %14, i64 %15 %17 = load i8, ptr %16, align 1 %18 = zext i8 %17 to i32 %19 = load ptr, ptr %6, align 8 %20 = load i64, ptr %8, align 8 %21 = getelementptr inbounds i8, ptr %19, i64 %20 %22 = load i8, ptr %21, align 1 %23 = zext i8 %22 to i32 %24 = icmp ne i32 %18, %23 br i1 %24, label %25, label %37 25: ; preds = %13 %26 = load ptr, ptr %5, align 8 %27 = load i64, ptr %8, align 8 %28 = getelementptr inbounds i8, ptr %26, i64 %27 %29 = load i8, ptr %28, align 1 %30 = zext i8 %29 to i32 %31 = load ptr, ptr %6, align 8 %32 = load i64, ptr %8, align 8 %33 = getelementptr inbounds i8, ptr %31, i64 %32 %34 = load i8, ptr %33, align 1 %35 = zext i8 %34 to i32 %36 = sub nsw i32 %30, %35 store i32 %36, ptr %4, align 4 br label %41 37: ; preds = %13 %38 = load i64, ptr %8, align 8 %39 = add i64 %38, 1 store i64 %39, ptr %8, align 8 br label %9, !llvm.loop !6 40: ; preds = %9 store i32 0, ptr %4, align 4 br label %41 41: ; preds = %40, %25 %42 = load i32, ptr %4, align 4 ret i32 %42 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpbvyvmb5x.c" target datalayout = "e-m:e-p270: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 @ft_memcmp(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 i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 0, ptr %8, align 8 %9 = load i64, ptr %8, align 8 %10 = load i64, ptr %7, align 8 %11 = icmp ult i64 %9, %10 br i1 %11, label %.lr.ph, label %42 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %36 %13 = load ptr, ptr %5, align 8 %14 = load i64, ptr %8, align 8 %15 = getelementptr inbounds i8, ptr %13, i64 %14 %16 = load i8, ptr %15, align 1 %17 = zext i8 %16 to i32 %18 = load ptr, ptr %6, align 8 %19 = load i64, ptr %8, align 8 %20 = getelementptr inbounds i8, ptr %18, i64 %19 %21 = load i8, ptr %20, align 1 %22 = zext i8 %21 to i32 %23 = icmp ne i32 %17, %22 br i1 %23, label %24, label %36 24: ; preds = %12 %25 = load ptr, ptr %5, align 8 %26 = load i64, ptr %8, align 8 %27 = getelementptr inbounds i8, ptr %25, i64 %26 %28 = load i8, ptr %27, align 1 %29 = zext i8 %28 to i32 %30 = load ptr, ptr %6, align 8 %31 = load i64, ptr %8, align 8 %32 = getelementptr inbounds i8, ptr %30, i64 %31 %33 = load i8, ptr %32, align 1 %34 = zext i8 %33 to i32 %35 = sub nsw i32 %29, %34 store i32 %35, ptr %4, align 4 br label %43 36: ; preds = %12 %37 = load i64, ptr %8, align 8 %38 = add i64 %37, 1 store i64 %38, ptr %8, align 8 %39 = load i64, ptr %8, align 8 %40 = load i64, ptr %7, align 8 %41 = icmp ult i64 %39, %40 br i1 %41, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %42 42: ; preds = %._crit_edge, %3 store i32 0, ptr %4, align 4 br label %43 43: ; preds = %42, %24 %44 = load i32, ptr %4, align 4 ret i32 %44 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmptddzg0yc.c' source_filename = "/tmp/tmptddzg0yc.c" target datalayout = "e-m:e-p270: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.timespec = type { i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @delay(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.timespec, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = udiv i32 %4, 1000 %6 = zext i32 %5 to i64 %7 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1 store i64 %6, ptr %7, align 8 %8 = load i32, ptr %2, align 4 %9 = urem i32 %8, 1000 %10 = zext i32 %9 to i64 %11 = mul nsw i64 %10, 1000000 %12 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0 store i64 %11, ptr %12, align 8 %13 = call i32 @nanosleep(ptr noundef %3, ptr noundef null) ret void } declare i32 @nanosleep(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/tmptddzg0yc.c" target datalayout = "e-m:e-p270: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.timespec = type { i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @delay(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.timespec, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = udiv i32 %4, 1000 %6 = zext i32 %5 to i64 %7 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1 store i64 %6, ptr %7, align 8 %8 = load i32, ptr %2, align 4 %9 = urem i32 %8, 1000 %10 = zext i32 %9 to i64 %11 = mul nsw i64 %10, 1000000 %12 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0 store i64 %11, ptr %12, align 8 %13 = call i32 @nanosleep(ptr noundef %3, ptr noundef null) ret void } declare i32 @nanosleep(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/tmp4ba31omi.c' source_filename = "/tmp/tmp4ba31omi.c" target datalayout = "e-m:e-p270: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 [30 x i8] c"%s %s %s %s %s %s %s %s %s %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @interpret_ds(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 { %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 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 store ptr %0, ptr %12, align 8 store ptr %1, ptr %13, align 8 store ptr %2, ptr %14, align 8 store ptr %3, ptr %15, align 8 store ptr %4, ptr %16, align 8 store ptr %5, ptr %17, align 8 store ptr %6, ptr %18, align 8 store ptr %7, ptr %19, align 8 store ptr %8, ptr %20, align 8 store ptr %9, ptr %21, align 8 store ptr %10, ptr %22, align 8 %23 = load ptr, ptr %12, align 8 %24 = load ptr, ptr %13, align 8 %25 = load ptr, ptr %14, align 8 %26 = load ptr, ptr %15, align 8 %27 = load ptr, ptr %16, align 8 %28 = load ptr, ptr %17, align 8 %29 = load ptr, ptr %18, align 8 %30 = load ptr, ptr %19, align 8 %31 = load ptr, ptr %20, align 8 %32 = load ptr, ptr %21, align 8 %33 = load ptr, ptr %22, align 8 %34 = call i32 @sscanf(ptr noundef %23, ptr noundef @.str, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30, ptr noundef %31, ptr noundef %32, ptr noundef %33) ret i32 1 } declare i32 @sscanf(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 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmp4ba31omi.c" target datalayout = "e-m:e-p270: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 [30 x i8] c"%s %s %s %s %s %s %s %s %s %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @interpret_ds(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 { %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 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 store ptr %0, ptr %12, align 8 store ptr %1, ptr %13, align 8 store ptr %2, ptr %14, align 8 store ptr %3, ptr %15, align 8 store ptr %4, ptr %16, align 8 store ptr %5, ptr %17, align 8 store ptr %6, ptr %18, align 8 store ptr %7, ptr %19, align 8 store ptr %8, ptr %20, align 8 store ptr %9, ptr %21, align 8 store ptr %10, ptr %22, align 8 %23 = load ptr, ptr %12, align 8 %24 = load ptr, ptr %13, align 8 %25 = load ptr, ptr %14, align 8 %26 = load ptr, ptr %15, align 8 %27 = load ptr, ptr %16, align 8 %28 = load ptr, ptr %17, align 8 %29 = load ptr, ptr %18, align 8 %30 = load ptr, ptr %19, align 8 %31 = load ptr, ptr %20, align 8 %32 = load ptr, ptr %21, align 8 %33 = load ptr, ptr %22, align 8 %34 = call i32 @sscanf(ptr noundef %23, ptr noundef @.str, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30, ptr noundef %31, ptr noundef %32, ptr noundef %33) ret i32 1 } declare i32 @sscanf(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 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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_cns_7e5.c' source_filename = "/tmp/tmp_cns_7e5.c" target datalayout = "e-m:e-p270: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 @getOptArg(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 0, ptr %8, align 4 br label %9 9: ; preds = %38, %3 %10 = load i32, ptr %8, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %41 13: ; preds = %9 %14 = load ptr, ptr %5, align 8 %15 = load i32, ptr %8, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds ptr, ptr %14, i64 %16 %18 = load ptr, ptr %17, align 8 %19 = load ptr, ptr %7, align 8 %20 = call ptr @strstr(ptr noundef %18, ptr noundef %19) %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %8, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds ptr, ptr %21, i64 %23 %25 = load ptr, ptr %24, align 8 %26 = icmp eq ptr %20, %25 br i1 %26, label %27, label %37 27: ; preds = %13 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %8, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds ptr, ptr %28, i64 %30 %32 = load ptr, ptr %31, align 8 %33 = load ptr, ptr %7, align 8 %34 = call i32 @strlen(ptr noundef %33) %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %32, i64 %35 store ptr %36, ptr %4, align 8 br label %42 37: ; preds = %13 br label %38 38: ; preds = %37 %39 = load i32, ptr %8, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %8, align 4 br label %9, !llvm.loop !6 41: ; preds = %9 store ptr null, ptr %4, align 8 br label %42 42: ; preds = %41, %27 %43 = load ptr, ptr %4, align 8 ret ptr %43 } declare ptr @strstr(ptr noundef, ptr 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/tmp_cns_7e5.c" target datalayout = "e-m:e-p270: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 @getOptArg(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 0, ptr %8, align 4 %9 = load i32, ptr %8, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %43 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %37 %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %8, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds ptr, ptr %13, i64 %15 %17 = load ptr, ptr %16, align 8 %18 = load ptr, ptr %7, align 8 %19 = call ptr @strstr(ptr noundef %17, ptr noundef %18) %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %8, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds ptr, ptr %20, i64 %22 %24 = load ptr, ptr %23, align 8 %25 = icmp eq ptr %19, %24 br i1 %25, label %26, label %36 26: ; preds = %12 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr %8, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds ptr, ptr %27, i64 %29 %31 = load ptr, ptr %30, align 8 %32 = load ptr, ptr %7, align 8 %33 = call i32 @strlen(ptr noundef %32) %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %31, i64 %34 store ptr %35, ptr %4, align 8 br label %44 36: ; preds = %12 br label %37 37: ; preds = %36 %38 = load i32, ptr %8, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %8, align 4 %40 = load i32, ptr %8, align 4 %41 = load i32, ptr %6, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %43 43: ; preds = %._crit_edge, %3 store ptr null, ptr %4, align 8 br label %44 44: ; preds = %43, %26 %45 = load ptr, ptr %4, align 8 ret ptr %45 } declare ptr @strstr(ptr noundef, ptr 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/tmpzxbs_6s6.c' source_filename = "/tmp/tmpzxbs_6s6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_OK = dso_local global i32 0, align 4 @O_RDONLY = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzxbs_6s6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_OK = dso_local global i32 0, align 4 @O_RDONLY = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn5cj080i.c' source_filename = "/tmp/tmpn5cj080i.c" target datalayout = "e-m:e-p270: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/tmpn5cj080i.c" target datalayout = "e-m:e-p270: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/tmpr_b5hw9v.c' source_filename = "/tmp/tmpr_b5hw9v.c" target datalayout = "e-m:e-p270: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 @Pnl_PowerDown() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = call i32 (...) @Pnl_GetPlatform() store i32 %4, ptr %1, align 4 %5 = call i64 (...) @gfx_detect_video() store i64 %5, ptr %3, align 8 %6 = load i64, ptr %3, align 8 %7 = icmp eq i64 %6, 1 br i1 %7, label %8, label %14 8: ; preds = %0 %9 = call i64 @READ_VID32(i32 noundef 4) store i64 %9, ptr %2, align 8 %10 = load i64, ptr %2, align 8 %11 = and i64 %10, -193 store i64 %11, ptr %2, align 8 %12 = load i64, ptr %2, align 8 %13 = call i32 @WRITE_VID32(i32 noundef 4, i64 noundef %12) br label %34 14: ; preds = %0 %15 = load i64, ptr %3, align 8 %16 = icmp eq i64 %15, 2 br i1 %16, label %17, label %23 17: ; preds = %14 %18 = call i64 @READ_VID32(i32 noundef 4) store i64 %18, ptr %2, align 8 %19 = load i64, ptr %2, align 8 %20 = and i64 %19, -193 store i64 %20, ptr %2, align 8 %21 = load i64, ptr %2, align 8 %22 = call i32 @WRITE_VID32(i32 noundef 4, i64 noundef %21) br label %33 23: ; preds = %14 %24 = load i64, ptr %3, align 8 %25 = icmp eq i64 %24, 3 br i1 %25, label %26, label %32 26: ; preds = %23 %27 = call i64 @READ_VID32(i32 noundef 8) store i64 %27, ptr %2, align 8 %28 = load i64, ptr %2, align 8 %29 = and i64 %28, -193 store i64 %29, ptr %2, align 8 %30 = load i64, ptr %2, align 8 %31 = call i32 @WRITE_VID32(i32 noundef 8, i64 noundef %30) br label %32 32: ; preds = %26, %23 br label %33 33: ; preds = %32, %17 br label %34 34: ; preds = %33, %8 ret void } declare i32 @Pnl_GetPlatform(...) #1 declare i64 @gfx_detect_video(...) #1 declare i64 @READ_VID32(i32 noundef) #1 declare i32 @WRITE_VID32(i32 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/tmpr_b5hw9v.c" target datalayout = "e-m:e-p270: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 @Pnl_PowerDown() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = call i32 (...) @Pnl_GetPlatform() store i32 %4, ptr %1, align 4 %5 = call i64 (...) @gfx_detect_video() store i64 %5, ptr %3, align 8 %6 = load i64, ptr %3, align 8 %7 = icmp eq i64 %6, 1 br i1 %7, label %8, label %14 8: ; preds = %0 %9 = call i64 @READ_VID32(i32 noundef 4) store i64 %9, ptr %2, align 8 %10 = load i64, ptr %2, align 8 %11 = and i64 %10, -193 store i64 %11, ptr %2, align 8 %12 = load i64, ptr %2, align 8 %13 = call i32 @WRITE_VID32(i32 noundef 4, i64 noundef %12) br label %34 14: ; preds = %0 %15 = load i64, ptr %3, align 8 %16 = icmp eq i64 %15, 2 br i1 %16, label %17, label %23 17: ; preds = %14 %18 = call i64 @READ_VID32(i32 noundef 4) store i64 %18, ptr %2, align 8 %19 = load i64, ptr %2, align 8 %20 = and i64 %19, -193 store i64 %20, ptr %2, align 8 %21 = load i64, ptr %2, align 8 %22 = call i32 @WRITE_VID32(i32 noundef 4, i64 noundef %21) br label %33 23: ; preds = %14 %24 = load i64, ptr %3, align 8 %25 = icmp eq i64 %24, 3 br i1 %25, label %26, label %32 26: ; preds = %23 %27 = call i64 @READ_VID32(i32 noundef 8) store i64 %27, ptr %2, align 8 %28 = load i64, ptr %2, align 8 %29 = and i64 %28, -193 store i64 %29, ptr %2, align 8 %30 = load i64, ptr %2, align 8 %31 = call i32 @WRITE_VID32(i32 noundef 8, i64 noundef %30) br label %32 32: ; preds = %26, %23 br label %33 33: ; preds = %32, %17 br label %34 34: ; preds = %33, %8 ret void } declare i32 @Pnl_GetPlatform(...) #1 declare i64 @gfx_detect_video(...) #1 declare i64 @READ_VID32(i32 noundef) #1 declare i32 @WRITE_VID32(i32 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/tmplc0ors32.c' source_filename = "/tmp/tmplc0ors32.c" target datalayout = "e-m:e-p270: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 @logarithmic_value(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds double, ptr %8, i64 5 %10 = load double, ptr %9, align 8 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds double, ptr %11, i64 0 %13 = load double, ptr %12, align 8 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds double, ptr %14, i64 6 %16 = load double, ptr %15, align 8 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds double, ptr %17, i64 1 %19 = load double, ptr %18, align 8 %20 = fmul double %16, %19 %21 = call double @llvm.fmuladd.f64(double %10, double %13, double %20) %22 = load ptr, ptr %3, align 8 %23 = getelementptr inbounds double, ptr %22, i64 7 %24 = load double, ptr %23, align 8 %25 = load ptr, ptr %4, align 8 %26 = getelementptr inbounds double, ptr %25, i64 2 %27 = load double, ptr %26, align 8 %28 = call double @llvm.fmuladd.f64(double %24, double %27, double %21) store double %28, ptr %5, align 8 %29 = load ptr, ptr %3, align 8 %30 = getelementptr inbounds double, ptr %29, i64 8 %31 = load double, ptr %30, align 8 %32 = load ptr, ptr %4, align 8 %33 = getelementptr inbounds double, ptr %32, i64 0 %34 = load double, ptr %33, align 8 %35 = load ptr, ptr %3, align 8 %36 = getelementptr inbounds double, ptr %35, i64 9 %37 = load double, ptr %36, align 8 %38 = load ptr, ptr %4, align 8 %39 = getelementptr inbounds double, ptr %38, i64 1 %40 = load double, ptr %39, align 8 %41 = fmul double %37, %40 %42 = call double @llvm.fmuladd.f64(double %31, double %34, double %41) %43 = load ptr, ptr %3, align 8 %44 = getelementptr inbounds double, ptr %43, i64 10 %45 = load double, ptr %44, align 8 %46 = load ptr, ptr %4, align 8 %47 = getelementptr inbounds double, ptr %46, i64 2 %48 = load double, ptr %47, align 8 %49 = call double @llvm.fmuladd.f64(double %45, double %48, double %42) store double %49, ptr %6, align 8 %50 = load ptr, ptr %3, align 8 %51 = getelementptr inbounds double, ptr %50, i64 11 %52 = load double, ptr %51, align 8 %53 = load ptr, ptr %4, align 8 %54 = getelementptr inbounds double, ptr %53, i64 0 %55 = load double, ptr %54, align 8 %56 = load ptr, ptr %3, align 8 %57 = getelementptr inbounds double, ptr %56, i64 12 %58 = load double, ptr %57, align 8 %59 = load ptr, ptr %4, align 8 %60 = getelementptr inbounds double, ptr %59, i64 1 %61 = load double, ptr %60, align 8 %62 = fmul double %58, %61 %63 = call double @llvm.fmuladd.f64(double %52, double %55, double %62) %64 = load ptr, ptr %3, align 8 %65 = getelementptr inbounds double, ptr %64, i64 13 %66 = load double, ptr %65, align 8 %67 = load ptr, ptr %4, align 8 %68 = getelementptr inbounds double, ptr %67, i64 2 %69 = load double, ptr %68, align 8 %70 = call double @llvm.fmuladd.f64(double %66, double %69, double %63) store double %70, ptr %7, align 8 %71 = load ptr, ptr %3, align 8 %72 = getelementptr inbounds double, ptr %71, i64 0 %73 = load double, ptr %72, align 8 %74 = fmul double 5.000000e-01, %73 %75 = load ptr, ptr %3, align 8 %76 = getelementptr inbounds double, ptr %75, i64 0 %77 = load double, ptr %76, align 8 %78 = fmul double %74, %77 %79 = load ptr, ptr %3, align 8 %80 = getelementptr inbounds double, ptr %79, i64 1 %81 = load double, ptr %80, align 8 %82 = load ptr, ptr %3, align 8 %83 = getelementptr inbounds double, ptr %82, i64 1 %84 = load double, ptr %83, align 8 %85 = load double, ptr %5, align 8 %86 = load double, ptr %5, align 8 %87 = fmul double %85, %86 %88 = load ptr, ptr %3, align 8 %89 = getelementptr inbounds double, ptr %88, i64 2 %90 = load double, ptr %89, align 8 %91 = load ptr, ptr %3, align 8 %92 = getelementptr inbounds double, ptr %91, i64 2 %93 = load double, ptr %92, align 8 %94 = fmul double %90, %93 %95 = fdiv double %87, %94 %96 = call double @llvm.fmuladd.f64(double %81, double %84, double %95) %97 = load double, ptr %6, align 8 %98 = load double, ptr %6, align 8 %99 = fmul double %97, %98 %100 = load ptr, ptr %3, align 8 %101 = getelementptr inbounds double, ptr %100, i64 3 %102 = load double, ptr %101, align 8 %103 = load ptr, ptr %3, align 8 %104 = getelementptr inbounds double, ptr %103, i64 3 %105 = load double, ptr %104, align 8 %106 = fmul double %102, %105 %107 = fdiv double %99, %106 %108 = fadd double %96, %107 %109 = load double, ptr %7, align 8 %110 = load double, ptr %7, align 8 %111 = fmul double %109, %110 %112 = load ptr, ptr %3, align 8 %113 = getelementptr inbounds double, ptr %112, i64 4 %114 = load double, ptr %113, align 8 %115 = load ptr, ptr %3, align 8 %116 = getelementptr inbounds double, ptr %115, i64 4 %117 = load double, ptr %116, align 8 %118 = fmul double %114, %117 %119 = fdiv double %111, %118 %120 = fadd double %108, %119 %121 = call double @log(double noundef %120) #3 %122 = fmul double %78, %121 ret double %122 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nounwind declare double @log(double 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplc0ors32.c" target datalayout = "e-m:e-p270: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 @logarithmic_value(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds double, ptr %8, i64 5 %10 = load double, ptr %9, align 8 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds double, ptr %11, i64 0 %13 = load double, ptr %12, align 8 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds double, ptr %14, i64 6 %16 = load double, ptr %15, align 8 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds double, ptr %17, i64 1 %19 = load double, ptr %18, align 8 %20 = fmul double %16, %19 %21 = call double @llvm.fmuladd.f64(double %10, double %13, double %20) %22 = load ptr, ptr %3, align 8 %23 = getelementptr inbounds double, ptr %22, i64 7 %24 = load double, ptr %23, align 8 %25 = load ptr, ptr %4, align 8 %26 = getelementptr inbounds double, ptr %25, i64 2 %27 = load double, ptr %26, align 8 %28 = call double @llvm.fmuladd.f64(double %24, double %27, double %21) store double %28, ptr %5, align 8 %29 = load ptr, ptr %3, align 8 %30 = getelementptr inbounds double, ptr %29, i64 8 %31 = load double, ptr %30, align 8 %32 = load ptr, ptr %4, align 8 %33 = getelementptr inbounds double, ptr %32, i64 0 %34 = load double, ptr %33, align 8 %35 = load ptr, ptr %3, align 8 %36 = getelementptr inbounds double, ptr %35, i64 9 %37 = load double, ptr %36, align 8 %38 = load ptr, ptr %4, align 8 %39 = getelementptr inbounds double, ptr %38, i64 1 %40 = load double, ptr %39, align 8 %41 = fmul double %37, %40 %42 = call double @llvm.fmuladd.f64(double %31, double %34, double %41) %43 = load ptr, ptr %3, align 8 %44 = getelementptr inbounds double, ptr %43, i64 10 %45 = load double, ptr %44, align 8 %46 = load ptr, ptr %4, align 8 %47 = getelementptr inbounds double, ptr %46, i64 2 %48 = load double, ptr %47, align 8 %49 = call double @llvm.fmuladd.f64(double %45, double %48, double %42) store double %49, ptr %6, align 8 %50 = load ptr, ptr %3, align 8 %51 = getelementptr inbounds double, ptr %50, i64 11 %52 = load double, ptr %51, align 8 %53 = load ptr, ptr %4, align 8 %54 = getelementptr inbounds double, ptr %53, i64 0 %55 = load double, ptr %54, align 8 %56 = load ptr, ptr %3, align 8 %57 = getelementptr inbounds double, ptr %56, i64 12 %58 = load double, ptr %57, align 8 %59 = load ptr, ptr %4, align 8 %60 = getelementptr inbounds double, ptr %59, i64 1 %61 = load double, ptr %60, align 8 %62 = fmul double %58, %61 %63 = call double @llvm.fmuladd.f64(double %52, double %55, double %62) %64 = load ptr, ptr %3, align 8 %65 = getelementptr inbounds double, ptr %64, i64 13 %66 = load double, ptr %65, align 8 %67 = load ptr, ptr %4, align 8 %68 = getelementptr inbounds double, ptr %67, i64 2 %69 = load double, ptr %68, align 8 %70 = call double @llvm.fmuladd.f64(double %66, double %69, double %63) store double %70, ptr %7, align 8 %71 = load ptr, ptr %3, align 8 %72 = getelementptr inbounds double, ptr %71, i64 0 %73 = load double, ptr %72, align 8 %74 = fmul double 5.000000e-01, %73 %75 = load ptr, ptr %3, align 8 %76 = getelementptr inbounds double, ptr %75, i64 0 %77 = load double, ptr %76, align 8 %78 = fmul double %74, %77 %79 = load ptr, ptr %3, align 8 %80 = getelementptr inbounds double, ptr %79, i64 1 %81 = load double, ptr %80, align 8 %82 = load ptr, ptr %3, align 8 %83 = getelementptr inbounds double, ptr %82, i64 1 %84 = load double, ptr %83, align 8 %85 = load double, ptr %5, align 8 %86 = load double, ptr %5, align 8 %87 = fmul double %85, %86 %88 = load ptr, ptr %3, align 8 %89 = getelementptr inbounds double, ptr %88, i64 2 %90 = load double, ptr %89, align 8 %91 = load ptr, ptr %3, align 8 %92 = getelementptr inbounds double, ptr %91, i64 2 %93 = load double, ptr %92, align 8 %94 = fmul double %90, %93 %95 = fdiv double %87, %94 %96 = call double @llvm.fmuladd.f64(double %81, double %84, double %95) %97 = load double, ptr %6, align 8 %98 = load double, ptr %6, align 8 %99 = fmul double %97, %98 %100 = load ptr, ptr %3, align 8 %101 = getelementptr inbounds double, ptr %100, i64 3 %102 = load double, ptr %101, align 8 %103 = load ptr, ptr %3, align 8 %104 = getelementptr inbounds double, ptr %103, i64 3 %105 = load double, ptr %104, align 8 %106 = fmul double %102, %105 %107 = fdiv double %99, %106 %108 = fadd double %96, %107 %109 = load double, ptr %7, align 8 %110 = load double, ptr %7, align 8 %111 = fmul double %109, %110 %112 = load ptr, ptr %3, align 8 %113 = getelementptr inbounds double, ptr %112, i64 4 %114 = load double, ptr %113, align 8 %115 = load ptr, ptr %3, align 8 %116 = getelementptr inbounds double, ptr %115, i64 4 %117 = load double, ptr %116, align 8 %118 = fmul double %114, %117 %119 = fdiv double %111, %118 %120 = fadd double %108, %119 %121 = call double @log(double noundef %120) #3 %122 = fmul double %78, %121 ret double %122 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nounwind declare double @log(double 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8ovol7re.c' source_filename = "/tmp/tmp8ovol7re.c" target datalayout = "e-m:e-p270: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/tmp8ovol7re.c" target datalayout = "e-m:e-p270: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/tmpr_e3905q.c' source_filename = "/tmp/tmpr_e3905q.c" target datalayout = "e-m:e-p270: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_e3905q.c" target datalayout = "e-m:e-p270: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/tmp0n2in0hv.c' source_filename = "/tmp/tmp0n2in0hv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"y 0\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"x -4\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 4, ptr %3, align 4 %4 = call i32 @print(ptr noundef @.str) %5 = load i32, ptr %2, align 4 %6 = call i32 @printid(i32 noundef %5) %7 = load i32, ptr %1, align 4 %8 = add nsw i32 %7, -4 store i32 %8, ptr %1, align 4 %9 = call i32 @print(ptr noundef @.str.1) %10 = load i32, ptr %1, align 4 %11 = call i32 @printid(i32 noundef %10) ret void } declare i32 @print(ptr noundef) #1 declare i32 @printid(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/tmp0n2in0hv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"y 0\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"x -4\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 4, ptr %3, align 4 %4 = call i32 @print(ptr noundef @.str) %5 = load i32, ptr %2, align 4 %6 = call i32 @printid(i32 noundef %5) %7 = load i32, ptr %1, align 4 %8 = add nsw i32 %7, -4 store i32 %8, ptr %1, align 4 %9 = call i32 @print(ptr noundef @.str.1) %10 = load i32, ptr %1, align 4 %11 = call i32 @printid(i32 noundef %10) ret void } declare i32 @print(ptr noundef) #1 declare i32 @printid(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/tmptl8ij11t.c' source_filename = "/tmp/tmptl8ij11t.c" target datalayout = "e-m:e-p270: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 @SFEAST_SYGV(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16) #0 { %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 %25 = alloca ptr, align 8 %26 = alloca ptr, align 8 %27 = alloca ptr, align 8 %28 = alloca ptr, align 8 %29 = alloca ptr, align 8 %30 = alloca ptr, align 8 %31 = alloca ptr, align 8 %32 = alloca ptr, align 8 %33 = alloca ptr, align 8 %34 = alloca ptr, align 8 store ptr %0, ptr %18, align 8 store ptr %1, ptr %19, align 8 store ptr %2, ptr %20, align 8 store ptr %3, ptr %21, align 8 store ptr %4, ptr %22, align 8 store ptr %5, ptr %23, align 8 store ptr %6, ptr %24, align 8 store ptr %7, ptr %25, align 8 store ptr %8, ptr %26, align 8 store ptr %9, ptr %27, align 8 store ptr %10, ptr %28, align 8 store ptr %11, ptr %29, align 8 store ptr %12, ptr %30, align 8 store ptr %13, ptr %31, align 8 store ptr %14, ptr %32, align 8 store ptr %15, ptr %33, align 8 store ptr %16, ptr %34, align 8 %35 = load ptr, ptr %18, align 8 %36 = load ptr, ptr %19, align 8 %37 = load ptr, ptr %20, align 8 %38 = load ptr, ptr %21, align 8 %39 = load ptr, ptr %22, align 8 %40 = load ptr, ptr %23, align 8 %41 = load ptr, ptr %24, align 8 %42 = load ptr, ptr %25, align 8 %43 = load ptr, ptr %26, align 8 %44 = load ptr, ptr %27, align 8 %45 = load ptr, ptr %28, align 8 %46 = load ptr, ptr %29, align 8 %47 = load ptr, ptr %30, align 8 %48 = load ptr, ptr %31, align 8 %49 = load ptr, ptr %32, align 8 %50 = load ptr, ptr %33, align 8 %51 = load ptr, ptr %34, align 8 %52 = call i32 @sfeast_sygv_(ptr noundef %35, ptr noundef %36, ptr noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %40, ptr noundef %41, ptr noundef %42, ptr noundef %43, ptr noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %48, ptr noundef %49, ptr noundef %50, ptr noundef %51) ret void } declare i32 @sfeast_sygv_(ptr 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, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptl8ij11t.c" target datalayout = "e-m:e-p270: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 @SFEAST_SYGV(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16) #0 { %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 %25 = alloca ptr, align 8 %26 = alloca ptr, align 8 %27 = alloca ptr, align 8 %28 = alloca ptr, align 8 %29 = alloca ptr, align 8 %30 = alloca ptr, align 8 %31 = alloca ptr, align 8 %32 = alloca ptr, align 8 %33 = alloca ptr, align 8 %34 = alloca ptr, align 8 store ptr %0, ptr %18, align 8 store ptr %1, ptr %19, align 8 store ptr %2, ptr %20, align 8 store ptr %3, ptr %21, align 8 store ptr %4, ptr %22, align 8 store ptr %5, ptr %23, align 8 store ptr %6, ptr %24, align 8 store ptr %7, ptr %25, align 8 store ptr %8, ptr %26, align 8 store ptr %9, ptr %27, align 8 store ptr %10, ptr %28, align 8 store ptr %11, ptr %29, align 8 store ptr %12, ptr %30, align 8 store ptr %13, ptr %31, align 8 store ptr %14, ptr %32, align 8 store ptr %15, ptr %33, align 8 store ptr %16, ptr %34, align 8 %35 = load ptr, ptr %18, align 8 %36 = load ptr, ptr %19, align 8 %37 = load ptr, ptr %20, align 8 %38 = load ptr, ptr %21, align 8 %39 = load ptr, ptr %22, align 8 %40 = load ptr, ptr %23, align 8 %41 = load ptr, ptr %24, align 8 %42 = load ptr, ptr %25, align 8 %43 = load ptr, ptr %26, align 8 %44 = load ptr, ptr %27, align 8 %45 = load ptr, ptr %28, align 8 %46 = load ptr, ptr %29, align 8 %47 = load ptr, ptr %30, align 8 %48 = load ptr, ptr %31, align 8 %49 = load ptr, ptr %32, align 8 %50 = load ptr, ptr %33, align 8 %51 = load ptr, ptr %34, align 8 %52 = call i32 @sfeast_sygv_(ptr noundef %35, ptr noundef %36, ptr noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %40, ptr noundef %41, ptr noundef %42, ptr noundef %43, ptr noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %48, ptr noundef %49, ptr noundef %50, ptr noundef %51) ret void } declare i32 @sfeast_sygv_(ptr 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, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}