llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpzqbkqe2i.c' source_filename = "/tmp/tmpzqbkqe2i.c" target datalayout = "e-m:e-p270: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/tmpzqbkqe2i.c" target datalayout = "e-m:e-p270: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/tmprw0kfxce.c' source_filename = "/tmp/tmprw0kfxce.c" target datalayout = "e-m:e-p270: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 @runtime_time() #0 { %1 = call i32 @time(ptr noundef null) ret i32 %1 } declare i32 @time(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/tmprw0kfxce.c" target datalayout = "e-m:e-p270: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 @runtime_time() #0 { %1 = call i32 @time(ptr noundef null) ret i32 %1 } declare i32 @time(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/tmp055ob64o.c' source_filename = "/tmp/tmp055ob64o.c" target datalayout = "e-m:e-p270: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/tmp055ob64o.c" target datalayout = "e-m:e-p270: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/tmp2_emkhew.c' source_filename = "/tmp/tmp2_emkhew.c" target datalayout = "e-m:e-p270: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 @LV_DoStuff() #0 { %1 = call i32 (...) @LV_DoDrive() ret void } declare i32 @LV_DoDrive(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmp2_emkhew.c" target datalayout = "e-m:e-p270: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 @LV_DoStuff() #0 { %1 = call i32 (...) @LV_DoDrive() ret void } declare i32 @LV_DoDrive(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpdao17yo9.c' source_filename = "/tmp/tmpdao17yo9.c" target datalayout = "e-m:e-p270: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 @show_stat() #0 { %1 = call i32 @cmd_net(ptr noundef null) %2 = call i32 @cmd_cpu(ptr noundef null) ret void } declare i32 @cmd_net(ptr noundef) #1 declare i32 @cmd_cpu(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/tmpdao17yo9.c" target datalayout = "e-m:e-p270: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 @show_stat() #0 { %1 = call i32 @cmd_net(ptr noundef null) %2 = call i32 @cmd_cpu(ptr noundef null) ret void } declare i32 @cmd_net(ptr noundef) #1 declare i32 @cmd_cpu(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/tmpbwqs5_nu.c' source_filename = "/tmp/tmpbwqs5_nu.c" target datalayout = "e-m:e-p270: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/tmpbwqs5_nu.c" target datalayout = "e-m:e-p270: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/tmpqul38vs5.c' source_filename = "/tmp/tmpqul38vs5.c" target datalayout = "e-m:e-p270: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"%s [port]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqul38vs5.c" target datalayout = "e-m:e-p270: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"%s [port]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4k54u9zo.c' source_filename = "/tmp/tmp4k54u9zo.c" target datalayout = "e-m:e-p270: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/tmp4k54u9zo.c" target datalayout = "e-m:e-p270: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/tmpbymod0ug.c' source_filename = "/tmp/tmpbymod0ug.c" target datalayout = "e-m:e-p270: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 @random_double() #0 { %1 = call i32 (...) @random() %2 = call i32 @abs(i32 noundef %1) #3 %3 = add nsw i32 %2, 1 %4 = sitofp i32 %3 to double %5 = fdiv double %4, 1.000000e+06 ret double %5 } ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(i32 noundef) #1 declare i32 @random(...) #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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #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 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbymod0ug.c" target datalayout = "e-m:e-p270: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 @random_double() #0 { %1 = call i32 (...) @random() %2 = call i32 @abs(i32 noundef %1) #3 %3 = add nsw i32 %2, 1 %4 = sitofp i32 %3 to double %5 = fdiv double %4, 1.000000e+06 ret double %5 } ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(i32 noundef) #1 declare i32 @random(...) #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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #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 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpivat77zc.c' source_filename = "/tmp/tmpivat77zc.c" target datalayout = "e-m:e-p270: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 @record_beq() #0 { %1 = call i32 @record_state(i32 noundef 0) ret void } declare i32 @record_state(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/tmpivat77zc.c" target datalayout = "e-m:e-p270: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 @record_beq() #0 { %1 = call i32 @record_state(i32 noundef 0) ret void } declare i32 @record_state(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/tmpo528yjhs.c' source_filename = "/tmp/tmpo528yjhs.c" target datalayout = "e-m:e-p270: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 @_vpe_inicio(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load ptr, ptr %6, align 8 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %8, align 4 %12 = call i32 @InitGraph(ptr noundef %9, i32 noundef %10, i32 noundef %11) %13 = call i32 (...) @VPE_Init() %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %8, align 4 %16 = call i32 @VPE_Config(i32 noundef %14, i32 noundef %15) %17 = load ptr, ptr %5, align 8 %18 = call i32 @LoadZone(ptr noundef %17) %19 = call i32 (...) @VPE_Start() ret void } declare i32 @InitGraph(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @VPE_Init(...) #1 declare i32 @VPE_Config(i32 noundef, i32 noundef) #1 declare i32 @LoadZone(ptr noundef) #1 declare i32 @VPE_Start(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpo528yjhs.c" target datalayout = "e-m:e-p270: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 @_vpe_inicio(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load ptr, ptr %6, align 8 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %8, align 4 %12 = call i32 @InitGraph(ptr noundef %9, i32 noundef %10, i32 noundef %11) %13 = call i32 (...) @VPE_Init() %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %8, align 4 %16 = call i32 @VPE_Config(i32 noundef %14, i32 noundef %15) %17 = load ptr, ptr %5, align 8 %18 = call i32 @LoadZone(ptr noundef %17) %19 = call i32 (...) @VPE_Start() ret void } declare i32 @InitGraph(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @VPE_Init(...) #1 declare i32 @VPE_Config(i32 noundef, i32 noundef) #1 declare i32 @LoadZone(ptr noundef) #1 declare i32 @VPE_Start(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpp8dcbtlf.c' source_filename = "/tmp/tmpp8dcbtlf.c" target datalayout = "e-m:e-p270: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 @test_isspace(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @isascii(i32 noundef %4) %6 = icmp ne i32 %5, 0 br i1 %6, label %8, label %7 7: ; preds = %1 br label %18 8: ; preds = %1 %9 = load i32, ptr %2, align 4 %10 = trunc i32 %9 to i8 store i8 %10, ptr %3, align 1 %11 = load i8, ptr %3, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 32 br i1 %13, label %14, label %18 14: ; preds = %8 %15 = load i32, ptr %2, align 4 %16 = call i32 @isspace(i32 noundef %15) #3 %17 = call i32 @clang_analyzer_eval(i32 noundef %16) br label %18 18: ; preds = %7, %14, %8 ret void } declare i32 @isascii(i32 noundef) #1 declare i32 @clang_analyzer_eval(i32 noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @isspace(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpp8dcbtlf.c" target datalayout = "e-m:e-p270: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 @test_isspace(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @isascii(i32 noundef %4) %6 = icmp ne i32 %5, 0 br i1 %6, label %8, label %7 7: ; preds = %1 br label %18 8: ; preds = %1 %9 = load i32, ptr %2, align 4 %10 = trunc i32 %9 to i8 store i8 %10, ptr %3, align 1 %11 = load i8, ptr %3, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 32 br i1 %13, label %14, label %18 14: ; preds = %8 %15 = load i32, ptr %2, align 4 %16 = call i32 @isspace(i32 noundef %15) #3 %17 = call i32 @clang_analyzer_eval(i32 noundef %16) br label %18 18: ; preds = %14, %8, %7 ret void } declare i32 @isascii(i32 noundef) #1 declare i32 @clang_analyzer_eval(i32 noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @isspace(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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_jj6ev53.c' source_filename = "/tmp/tmp_jj6ev53.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"UNSUPPORTED\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_mvadd_wchnstr(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = call i32 @check_arg_count(i32 noundef %5, i32 noundef 1) %7 = icmp eq i32 %6, 1 br i1 %7, label %8, label %9 8: ; preds = %2 br label %12 9: ; preds = %2 %10 = call i32 @report_count(i32 noundef 1) %11 = call i32 @report_error(ptr noundef @.str) br label %12 12: ; preds = %9, %8 ret void } declare i32 @check_arg_count(i32 noundef, i32 noundef) #1 declare i32 @report_count(i32 noundef) #1 declare i32 @report_error(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/tmp_jj6ev53.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"UNSUPPORTED\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_mvadd_wchnstr(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = call i32 @check_arg_count(i32 noundef %5, i32 noundef 1) %7 = icmp eq i32 %6, 1 br i1 %7, label %8, label %9 8: ; preds = %2 br label %12 9: ; preds = %2 %10 = call i32 @report_count(i32 noundef 1) %11 = call i32 @report_error(ptr noundef @.str) br label %12 12: ; preds = %9, %8 ret void } declare i32 @check_arg_count(i32 noundef, i32 noundef) #1 declare i32 @report_count(i32 noundef) #1 declare i32 @report_error(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/tmpdzjcacgi.c' source_filename = "/tmp/tmpdzjcacgi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { i64 } @V_ASN1_UTCTIME = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ASN1_UTCTIME_set_string(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %15 8: ; preds = %2 %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds %struct.TYPE_4__, ptr %9, i32 0, i32 0 %11 = load i64, ptr %10, align 8 %12 = load i64, ptr @V_ASN1_UTCTIME, align 8 %13 = icmp ne i64 %11, %12 br i1 %13, label %14, label %15 14: ; preds = %8 store i32 0, ptr %3, align 4 br label %20 15: ; preds = %8, %2 %16 = load ptr, ptr %4, align 8 %17 = load ptr, ptr %5, align 8 %18 = load i64, ptr @V_ASN1_UTCTIME, align 8 %19 = call i32 @ASN1_TIME_set_string_internal(ptr noundef %16, ptr noundef %17, i64 noundef %18) store i32 %19, ptr %3, align 4 br label %20 20: ; preds = %15, %14 %21 = load i32, ptr %3, align 4 ret i32 %21 } declare i32 @ASN1_TIME_set_string_internal(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/tmpdzjcacgi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { i64 } @V_ASN1_UTCTIME = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ASN1_UTCTIME_set_string(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %15 8: ; preds = %2 %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds %struct.TYPE_4__, ptr %9, i32 0, i32 0 %11 = load i64, ptr %10, align 8 %12 = load i64, ptr @V_ASN1_UTCTIME, align 8 %13 = icmp ne i64 %11, %12 br i1 %13, label %14, label %15 14: ; preds = %8 store i32 0, ptr %3, align 4 br label %20 15: ; preds = %8, %2 %16 = load ptr, ptr %4, align 8 %17 = load ptr, ptr %5, align 8 %18 = load i64, ptr @V_ASN1_UTCTIME, align 8 %19 = call i32 @ASN1_TIME_set_string_internal(ptr noundef %16, ptr noundef %17, i64 noundef %18) store i32 %19, ptr %3, align 4 br label %20 20: ; preds = %15, %14 %21 = load i32, ptr %3, align 4 ret i32 %21 } declare i32 @ASN1_TIME_set_string_internal(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/tmpsqhfnrqa.c' source_filename = "/tmp/tmpsqhfnrqa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @println(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %18, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %21 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, 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 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %16) br label %18 18: ; preds = %10 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 br label %6, !llvm.loop !6 21: ; preds = %6 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsqhfnrqa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @println(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %23 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %17 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15) br label %17 17: ; preds = %9 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %23 23: ; preds = %._crit_edge, %2 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpe2lcrqm1.c' source_filename = "/tmp/tmpe2lcrqm1.c" target datalayout = "e-m:e-p270: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 @_unmanaged_reallocate(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i64, ptr %6, align 8 %9 = call ptr @mem_unmanaged_realloc(ptr noundef %7, i64 noundef %8) ret ptr %9 } declare ptr @mem_unmanaged_realloc(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/tmpe2lcrqm1.c" target datalayout = "e-m:e-p270: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 @_unmanaged_reallocate(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i64, ptr %6, align 8 %9 = call ptr @mem_unmanaged_realloc(ptr noundef %7, i64 noundef %8) ret ptr %9 } declare ptr @mem_unmanaged_realloc(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/tmpjxxfj_j5.c' source_filename = "/tmp/tmpjxxfj_j5.c" target datalayout = "e-m:e-p270: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/tmpjxxfj_j5.c" target datalayout = "e-m:e-p270: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/tmp68izxttd.c' source_filename = "/tmp/tmp68izxttd.c" target datalayout = "e-m:e-p270: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, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store i32 0, ptr %4, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %8 = call i32 (...) @trigger() ret i32 0 } declare i32 @trigger(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmp68izxttd.c" target datalayout = "e-m:e-p270: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, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store i32 0, ptr %4, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %8 = call i32 (...) @trigger() ret i32 0 } declare i32 @trigger(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpnti_2l_4.c' source_filename = "/tmp/tmpnti_2l_4.c" target datalayout = "e-m:e-p270: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.sysinfo = type { i32, i32 } @.str = private unnamed_addr constant [9 x i8] c"Sysinfo\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"%10s %12s %13s\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"Total Ram\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"Application\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"Percentage\0A\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [48 x i8] c"Application close or File '%s' does not exists\0A\00", align 1 @.str.7 = private unnamed_addr constant [28 x i8] c"%lu %lu %lu %lu %lu %lu %lu\00", align 1 @.str.8 = private unnamed_addr constant [26 x i8] c"%10lukB %10lukB %10.3f%%\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @CheckUsage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca %struct.sysinfo, align 4 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca float, align 4 store ptr %0, ptr %2, align 8 %15 = call i64 @sysinfo(ptr noundef %3) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %1 %18 = call i32 @perror(ptr noundef @.str) br label %19 19: ; preds = %17, %1 store i64 0, ptr %4, align 8 %20 = getelementptr inbounds %struct.sysinfo, ptr %3, i32 0, i32 0 %21 = load i32, ptr %20, align 4 %22 = getelementptr inbounds %struct.sysinfo, ptr %3, i32 0, i32 1 %23 = load i32, ptr %22, align 4 %24 = mul nsw i32 %21, %23 %25 = sdiv i32 %24, 1024 %26 = sext i32 %25 to i64 store i64 %26, ptr %4, align 8 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4) br label %28 28: ; preds = %19, %37 %29 = load ptr, ptr %2, align 8 %30 = call ptr @fopen(ptr noundef %29, ptr noundef @.str.5) store ptr %30, ptr %5, align 8 %31 = load ptr, ptr %5, align 8 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %37 33: ; preds = %28 %34 = load i32, ptr @stderr, align 4 %35 = load ptr, ptr %2, align 8 %36 = call i32 @fprintf(i32 noundef %34, ptr noundef @.str.6, ptr noundef %35) ret i32 1 37: ; preds = %28 store i64 0, ptr %6, align 8 store i64 0, ptr %7, align 8 store i64 0, ptr %8, align 8 store i64 0, ptr %9, align 8 store i64 0, ptr %10, align 8 store i64 0, ptr %11, align 8 store i64 0, ptr %12, align 8 %38 = load ptr, ptr %5, align 8 %39 = call i32 @fscanf(ptr noundef %38, ptr noundef @.str.7, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12) %40 = load i64, ptr %7, align 8 %41 = call i64 (...) @getpagesize() %42 = mul i64 %40, %41 store i64 %42, ptr %13, align 8 store float 0.000000e+00, ptr %14, align 4 %43 = load i64, ptr %13, align 8 %44 = uitofp i64 %43 to float %45 = fdiv float %44, 1.024000e+03 %46 = load i64, ptr %4, align 8 %47 = uitofp i64 %46 to float %48 = fdiv float %45, %47 %49 = fmul float %48, 1.000000e+02 store float %49, ptr %14, align 4 %50 = load i64, ptr %4, align 8 %51 = load i64, ptr %13, align 8 %52 = udiv i64 %51, 1024 %53 = load float, ptr %14, align 4 %54 = fpext float %53 to double %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i64 noundef %50, i64 noundef %52, double noundef %54) %56 = load ptr, ptr %5, align 8 %57 = call i32 @fclose(ptr noundef %56) %58 = call i32 @sleep(i32 noundef 1) br label %28 } declare i64 @sysinfo(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @getpagesize(...) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @sleep(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/tmpnti_2l_4.c" target datalayout = "e-m:e-p270: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.sysinfo = type { i32, i32 } @.str = private unnamed_addr constant [9 x i8] c"Sysinfo\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"%10s %12s %13s\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"Total Ram\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"Application\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"Percentage\0A\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [48 x i8] c"Application close or File '%s' does not exists\0A\00", align 1 @.str.7 = private unnamed_addr constant [28 x i8] c"%lu %lu %lu %lu %lu %lu %lu\00", align 1 @.str.8 = private unnamed_addr constant [26 x i8] c"%10lukB %10lukB %10.3f%%\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @CheckUsage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca %struct.sysinfo, align 4 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca float, align 4 store ptr %0, ptr %2, align 8 %15 = call i64 @sysinfo(ptr noundef %3) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %1 %18 = call i32 @perror(ptr noundef @.str) br label %19 19: ; preds = %17, %1 store i64 0, ptr %4, align 8 %20 = getelementptr inbounds %struct.sysinfo, ptr %3, i32 0, i32 0 %21 = load i32, ptr %20, align 4 %22 = getelementptr inbounds %struct.sysinfo, ptr %3, i32 0, i32 1 %23 = load i32, ptr %22, align 4 %24 = mul nsw i32 %21, %23 %25 = sdiv i32 %24, 1024 %26 = sext i32 %25 to i64 store i64 %26, ptr %4, align 8 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4) %28 = load ptr, ptr %2, align 8 %29 = call ptr @fopen(ptr noundef %28, ptr noundef @.str.5) store ptr %29, ptr %5, align 8 %30 = load ptr, ptr %5, align 8 %31 = icmp eq ptr %30, null br i1 %31, label %32, label %.lr.ph .lr.ph: ; preds = %19 br label %36 ._crit_edge: ; preds = %36 br label %32 32: ; preds = %._crit_edge, %19 %33 = load i32, ptr @stderr, align 4 %34 = load ptr, ptr %2, align 8 %35 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str.6, ptr noundef %34) ret i32 1 36: ; preds = %.lr.ph, %36 store i64 0, ptr %6, align 8 store i64 0, ptr %7, align 8 store i64 0, ptr %8, align 8 store i64 0, ptr %9, align 8 store i64 0, ptr %10, align 8 store i64 0, ptr %11, align 8 store i64 0, ptr %12, align 8 %37 = load ptr, ptr %5, align 8 %38 = call i32 @fscanf(ptr noundef %37, ptr noundef @.str.7, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12) %39 = load i64, ptr %7, align 8 %40 = call i64 (...) @getpagesize() %41 = mul i64 %39, %40 store i64 %41, ptr %13, align 8 store float 0.000000e+00, ptr %14, align 4 %42 = load i64, ptr %13, align 8 %43 = uitofp i64 %42 to float %44 = fdiv float %43, 1.024000e+03 %45 = load i64, ptr %4, align 8 %46 = uitofp i64 %45 to float %47 = fdiv float %44, %46 %48 = fmul float %47, 1.000000e+02 store float %48, ptr %14, align 4 %49 = load i64, ptr %4, align 8 %50 = load i64, ptr %13, align 8 %51 = udiv i64 %50, 1024 %52 = load float, ptr %14, align 4 %53 = fpext float %52 to double %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i64 noundef %49, i64 noundef %51, double noundef %53) %55 = load ptr, ptr %5, align 8 %56 = call i32 @fclose(ptr noundef %55) %57 = call i32 @sleep(i32 noundef 1) %58 = load ptr, ptr %2, align 8 %59 = call ptr @fopen(ptr noundef %58, ptr noundef @.str.5) store ptr %59, ptr %5, align 8 %60 = load ptr, ptr %5, align 8 %61 = icmp eq ptr %60, null br i1 %61, label %._crit_edge, label %36 } declare i64 @sysinfo(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @getpagesize(...) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @sleep(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/tmpc3tzlyo0.c' source_filename = "/tmp/tmpc3tzlyo0.c" target datalayout = "e-m:e-p270: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 ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 (...) @halt() ret i32 0 } declare i32 @halt(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpc3tzlyo0.c" target datalayout = "e-m:e-p270: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 ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 (...) @halt() ret i32 0 } declare i32 @halt(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpfx65_l3b.c' source_filename = "/tmp/tmpfx65_l3b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"\0AYou typed: %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 br label %2 2: ; preds = %5, %0 %3 = call i64 (...) @termiosavailable() %4 = icmp ne i64 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %2 %6 = call i32 (...) @getche() %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) br label %2, !llvm.loop !6 8: ; preds = %2 ret i32 0 } declare i64 @termiosavailable(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @getche(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpfx65_l3b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"\0AYou typed: %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 i64 (...) @termiosavailable() %3 = icmp ne i64 %2, 0 br i1 %3, label %.lr.ph, label %9 .lr.ph: ; preds = %0 br label %4 4: ; preds = %.lr.ph, %4 %5 = call i32 (...) @getche() %6 = call i32 @printf(ptr noundef @.str, i32 noundef %5) %7 = call i64 (...) @termiosavailable() %8 = icmp ne i64 %7, 0 br i1 %8, label %4, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %4 br label %9 9: ; preds = %._crit_edge, %0 ret i32 0 } declare i64 @termiosavailable(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @getche(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpya4kqxii.c' source_filename = "/tmp/tmpya4kqxii.c" target datalayout = "e-m:e-p270: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 @StrToArgv(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i64 0, ptr %5, align 8 store i64 2, ptr %6, align 8 %8 = load ptr, ptr %3, align 8 %9 = call ptr @strdup(ptr noundef %8) store ptr %9, ptr %7, align 8 br label %10 10: ; preds = %27, %2 %11 = load ptr, ptr %7, align 8 %12 = load i64, ptr %5, align 8 %13 = getelementptr inbounds i8, ptr %11, i64 %12 %14 = load i8, ptr %13, align 1 %15 = icmp ne i8 %14, 0 br i1 %15, label %16, label %28 16: ; preds = %10 %17 = load ptr, ptr %7, align 8 %18 = load i64, ptr %5, align 8 %19 = add i64 %18, 1 store i64 %19, ptr %5, align 8 %20 = getelementptr inbounds i8, ptr %17, i64 %18 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 32 br i1 %23, label %24, label %27 24: ; preds = %16 %25 = load i64, ptr %6, align 8 %26 = add i64 %25, 1 store i64 %26, ptr %6, align 8 br label %27 27: ; preds = %24, %16 br label %10, !llvm.loop !6 28: ; preds = %10 %29 = load i64, ptr %6, align 8 %30 = call i64 @Calloc(i64 noundef %29, i32 noundef 8) %31 = inttoptr i64 %30 to ptr %32 = load ptr, ptr %4, align 8 store ptr %31, ptr %32, align 8 store i64 0, ptr %5, align 8 %33 = load ptr, ptr %7, align 8 %34 = load ptr, ptr %4, align 8 %35 = load ptr, ptr %34, align 8 %36 = getelementptr inbounds ptr, ptr %35, i64 0 store ptr %33, ptr %36, align 8 store i64 1, ptr %6, align 8 br label %37 37: ; preds = %58, %28 %38 = load ptr, ptr %7, align 8 %39 = load i64, ptr %5, align 8 %40 = getelementptr inbounds i8, ptr %38, i64 %39 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = icmp eq i32 %42, 32 br i1 %43, label %44, label %57 44: ; preds = %37 %45 = load ptr, ptr %7, align 8 %46 = load i64, ptr %5, align 8 %47 = getelementptr inbounds i8, ptr %45, i64 %46 store i8 0, ptr %47, align 1 %48 = load ptr, ptr %7, align 8 %49 = load i64, ptr %5, align 8 %50 = getelementptr inbounds i8, ptr %48, i64 %49 %51 = getelementptr inbounds i8, ptr %50, i64 1 %52 = load ptr, ptr %4, align 8 %53 = load ptr, ptr %52, align 8 %54 = load i64, ptr %6, align 8 %55 = add i64 %54, 1 store i64 %55, ptr %6, align 8 %56 = getelementptr inbounds ptr, ptr %53, i64 %54 store ptr %51, ptr %56, align 8 br label %57 57: ; preds = %44, %37 br label %58 58: ; preds = %57 %59 = load ptr, ptr %7, align 8 %60 = load i64, ptr %5, align 8 %61 = add i64 %60, 1 store i64 %61, ptr %5, align 8 %62 = getelementptr inbounds i8, ptr %59, i64 %61 %63 = load i8, ptr %62, align 1 %64 = icmp ne i8 %63, 0 br i1 %64, label %37, label %65, !llvm.loop !8 65: ; preds = %58 %66 = load i64, ptr %6, align 8 ret i64 %66 } declare ptr @strdup(ptr noundef) #1 declare i64 @Calloc(i64 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpya4kqxii.c" target datalayout = "e-m:e-p270: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 @StrToArgv(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i64 0, ptr %5, align 8 store i64 2, ptr %6, align 8 %8 = load ptr, ptr %3, align 8 %9 = call ptr @strdup(ptr noundef %8) store ptr %9, ptr %7, align 8 %10 = load ptr, ptr %7, align 8 %11 = load i64, ptr %5, align 8 %12 = getelementptr inbounds i8, ptr %10, i64 %11 %13 = load i8, ptr %12, align 1 %14 = icmp ne i8 %13, 0 br i1 %14, label %.lr.ph, label %32 .lr.ph: ; preds = %2 br label %15 15: ; preds = %.lr.ph, %26 %16 = load ptr, ptr %7, align 8 %17 = load i64, ptr %5, align 8 %18 = add i64 %17, 1 store i64 %18, ptr %5, align 8 %19 = getelementptr inbounds i8, ptr %16, i64 %17 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 32 br i1 %22, label %23, label %26 23: ; preds = %15 %24 = load i64, ptr %6, align 8 %25 = add i64 %24, 1 store i64 %25, ptr %6, align 8 br label %26 26: ; preds = %23, %15 %27 = load ptr, ptr %7, align 8 %28 = load i64, ptr %5, align 8 %29 = getelementptr inbounds i8, ptr %27, i64 %28 %30 = load i8, ptr %29, align 1 %31 = icmp ne i8 %30, 0 br i1 %31, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %2 %33 = load i64, ptr %6, align 8 %34 = call i64 @Calloc(i64 noundef %33, i32 noundef 8) %35 = inttoptr i64 %34 to ptr %36 = load ptr, ptr %4, align 8 store ptr %35, ptr %36, align 8 store i64 0, ptr %5, align 8 %37 = load ptr, ptr %7, align 8 %38 = load ptr, ptr %4, align 8 %39 = load ptr, ptr %38, align 8 %40 = getelementptr inbounds ptr, ptr %39, i64 0 store ptr %37, ptr %40, align 8 store i64 1, ptr %6, align 8 br label %41 41: ; preds = %62, %32 %42 = load ptr, ptr %7, align 8 %43 = load i64, ptr %5, align 8 %44 = getelementptr inbounds i8, ptr %42, i64 %43 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp eq i32 %46, 32 br i1 %47, label %48, label %61 48: ; preds = %41 %49 = load ptr, ptr %7, align 8 %50 = load i64, ptr %5, align 8 %51 = getelementptr inbounds i8, ptr %49, i64 %50 store i8 0, ptr %51, align 1 %52 = load ptr, ptr %7, align 8 %53 = load i64, ptr %5, align 8 %54 = getelementptr inbounds i8, ptr %52, i64 %53 %55 = getelementptr inbounds i8, ptr %54, i64 1 %56 = load ptr, ptr %4, align 8 %57 = load ptr, ptr %56, align 8 %58 = load i64, ptr %6, align 8 %59 = add i64 %58, 1 store i64 %59, ptr %6, align 8 %60 = getelementptr inbounds ptr, ptr %57, i64 %58 store ptr %55, ptr %60, align 8 br label %61 61: ; preds = %48, %41 br label %62 62: ; preds = %61 %63 = load ptr, ptr %7, align 8 %64 = load i64, ptr %5, align 8 %65 = add i64 %64, 1 store i64 %65, ptr %5, align 8 %66 = getelementptr inbounds i8, ptr %63, i64 %65 %67 = load i8, ptr %66, align 1 %68 = icmp ne i8 %67, 0 br i1 %68, label %41, label %69, !llvm.loop !8 69: ; preds = %62 %70 = load i64, ptr %6, align 8 ret i64 %70 } declare ptr @strdup(ptr noundef) #1 declare i64 @Calloc(i64 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpiznu0417.c' source_filename = "/tmp/tmpiznu0417.c" target datalayout = "e-m:e-p270: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/tmpiznu0417.c" target datalayout = "e-m:e-p270: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/tmpmpt7gomt.c' source_filename = "/tmp/tmpmpt7gomt.c" target datalayout = "e-m:e-p270: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 [340 x i8] c"usage: dnp_sim [-h] [-n <number of simulations> ] [-v] [-f <output file>]\0A\09-h - print usage information\0A\09-n <number of simulations>; default - 1\0A\09-v - verbose mode\0A\09-f <output file> - by default, results are printed to the screen\0A\09-o <op file> - file that contains operation sequence to execute;\0A\09by default, random sequence is generated.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_usage() #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/tmpmpt7gomt.c" target datalayout = "e-m:e-p270: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 [340 x i8] c"usage: dnp_sim [-h] [-n <number of simulations> ] [-v] [-f <output file>]\0A\09-h - print usage information\0A\09-n <number of simulations>; default - 1\0A\09-v - verbose mode\0A\09-f <output file> - by default, results are printed to the screen\0A\09-o <op file> - file that contains operation sequence to execute;\0A\09by default, random sequence is generated.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_usage() #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/tmpecyt7dun.c' source_filename = "/tmp/tmpecyt7dun.c" target datalayout = "e-m:e-p270: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 @tl880_mcu_int(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 @tl880_read_register(ptr noundef %3, i32 noundef 120848) ret i32 1 } declare i32 @tl880_read_register(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/tmpecyt7dun.c" target datalayout = "e-m:e-p270: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 @tl880_mcu_int(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 @tl880_read_register(ptr noundef %3, i32 noundef 120848) ret i32 1 } declare i32 @tl880_read_register(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/tmpl68xfsxv.c' source_filename = "/tmp/tmpl68xfsxv.c" target datalayout = "e-m:e-p270: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"r\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"X+ read binary pid %d from %s\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"X+ read HDB pid %d [\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"X+ %s\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"X+ ] from %s\00", align 1 @errno = dso_local global i64 0, align 8 @ESRCH = dso_local global i64 0, align 8 @.str.6 = private unnamed_addr constant [11 x i8] c"X - stale\00", align 1 @.str.7 = private unnamed_addr constant [43 x i8] c"ES2can't remove stale lock %s from pid %d:\00", align 1 @.str.8 = private unnamed_addr constant [36 x i8] c"I0removed stale lock %s from pid %d\00", align 1 @.str.9 = private unnamed_addr constant [18 x i8] c"X1 (not our pid)\00", align 1 @.str.10 = private unnamed_addr constant [14 x i8] c"X3 (our pid)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ttlocked(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca [1024 x i8], align 16 %10 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i64 0, ptr %8, align 8 call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 1024, i1 false) %11 = load ptr, ptr %3, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %21 13: ; preds = %2 %14 = load ptr, ptr %3, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 35 br i1 %17, label %18, label %21 18: ; preds = %13 %19 = load ptr, ptr %3, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %3, align 8 br label %21 21: ; preds = %18, %13, %2 %22 = load ptr, ptr %3, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %24, label %121 24: ; preds = %21 %25 = load ptr, ptr %3, align 8 %26 = call ptr @fopen(ptr noundef %25, ptr noundef @.str) store ptr %26, ptr %7, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %28, label %121 28: ; preds = %24 %29 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %30 = load ptr, ptr %7, align 8 %31 = call i32 @fread(ptr noundef %29, i32 noundef 1, i32 noundef 1023, ptr noundef %30) %32 = sext i32 %31 to i64 %33 = icmp eq i64 %32, 8 br i1 %33, label %38, label %34 34: ; preds = %28 %35 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %36 = call i32 @sscanf(ptr noundef %35, ptr noundef @.str.1, ptr noundef %6) %37 = icmp ne i32 %36, 1 br i1 %37, label %38, label %49 38: ; preds = %34, %28 %39 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %40 = load i64, ptr %39, align 16 store i64 %40, ptr %8, align 8 %41 = load i32, ptr %4, align 4 %42 = icmp ne i32 %41, 0 br i1 %42, label %43, label %48 43: ; preds = %38 %44 = load i64, ptr %8, align 8 %45 = trunc i64 %44 to i32 %46 = load ptr, ptr %3, align 8 %47 = call i32 (ptr, ...) @msg(ptr noundef @.str.2, i32 noundef %45, ptr noundef %46) br label %48 48: ; preds = %43, %38 br label %75 49: ; preds = %34 %50 = load i32, ptr %6, align 4 %51 = sext i32 %50 to i64 store i64 %51, ptr %8, align 8 %52 = load i32, ptr %4, align 4 %53 = icmp ne i32 %52, 0 br i1 %53, label %54, label %74 54: ; preds = %49 %55 = load i64, ptr %8, align 8 %56 = trunc i64 %55 to i32 %57 = call i32 (ptr, ...) @msg(ptr noundef @.str.3, i32 noundef %56) %58 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 store ptr %58, ptr %10, align 8 br label %59 59: ; preds = %68, %54 %60 = load ptr, ptr %10, align 8 %61 = load i8, ptr %60, align 1 %62 = icmp ne i8 %61, 0 br i1 %62, label %63, label %71 63: ; preds = %59 %64 = load ptr, ptr %10, align 8 %65 = load i8, ptr %64, align 1 %66 = call i32 @cname(i8 noundef signext %65) %67 = call i32 (ptr, ...) @msg(ptr noundef @.str.4, i32 noundef %66) br label %68 68: ; preds = %63 %69 = load ptr, ptr %10, align 8 %70 = getelementptr inbounds i8, ptr %69, i32 1 store ptr %70, ptr %10, align 8 br label %59, !llvm.loop !6 71: ; preds = %59 %72 = load ptr, ptr %3, align 8 %73 = call i32 (ptr, ...) @msg(ptr noundef @.str.5, ptr noundef %72) br label %74 74: ; preds = %71, %49 br label %75 75: ; preds = %74, %48 %76 = load i64, ptr %8, align 8 %77 = call i64 @kill(i64 noundef %76, i32 noundef 0) %78 = icmp ne i64 %77, 0 br i1 %78, label %79, label %101 79: ; preds = %75 %80 = load i64, ptr @errno, align 8 %81 = load i64, ptr @ESRCH, align 8 %82 = icmp eq i64 %80, %81 br i1 %82, label %83, label %101 83: ; preds = %79 %84 = load i32, ptr %4, align 4 %85 = icmp ne i32 %84, 0 br i1 %85, label %86, label %88 86: ; preds = %83 %87 = call i32 (ptr, ...) @msg(ptr noundef @.str.6) br label %88 88: ; preds = %86, %83 %89 = load ptr, ptr %3, align 8 %90 = call i64 @remove(ptr noundef %89) %91 = icmp ne i64 %90, 0 br i1 %91, label %92, label %96 92: ; preds = %88 %93 = load ptr, ptr %3, align 8 %94 = load i64, ptr %8, align 8 %95 = call i32 (ptr, ...) @msg(ptr noundef @.str.7, ptr noundef %93, i64 noundef %94) store i32 %95, ptr %5, align 4 br label %100 96: ; preds = %88 %97 = load ptr, ptr %3, align 8 %98 = load i64, ptr %8, align 8 %99 = call i32 (ptr, ...) @msg(ptr noundef @.str.8, ptr noundef %97, i64 noundef %98) store i32 %99, ptr %5, align 4 br label %100 100: ; preds = %96, %92 br label %118 101: ; preds = %79, %75 %102 = load i64, ptr %8, align 8 %103 = call i64 (...) @getpid() %104 = icmp ne i64 %102, %103 br i1 %104, label %105, label %111 105: ; preds = %101 store i32 1, ptr %5, align 4 %106 = load i32, ptr %4, align 4 %107 = icmp ne i32 %106, 0 br i1 %107, label %108, label %110 108: ; preds = %105 %109 = call i32 (ptr, ...) @msg(ptr noundef @.str.9) br label %110 110: ; preds = %108, %105 br label %117 111: ; preds = %101 store i32 3, ptr %5, align 4 %112 = load i32, ptr %4, align 4 %113 = icmp ne i32 %112, 0 br i1 %113, label %114, label %116 114: ; preds = %111 %115 = call i32 (ptr, ...) @msg(ptr noundef @.str.10) br label %116 116: ; preds = %114, %111 br label %117 117: ; preds = %116, %110 br label %118 118: ; preds = %117, %100 %119 = load ptr, ptr %7, align 8 %120 = call i32 @fclose(ptr noundef %119) br label %121 121: ; preds = %118, %24, %21 %122 = load i32, ptr %5, align 4 ret i32 %122 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @msg(ptr noundef, ...) #2 declare i32 @cname(i8 noundef signext) #2 declare i64 @kill(i64 noundef, i32 noundef) #2 declare i64 @remove(ptr noundef) #2 declare i64 @getpid(...) #2 declare i32 @fclose(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl68xfsxv.c" target datalayout = "e-m:e-p270: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"r\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"X+ read binary pid %d from %s\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"X+ read HDB pid %d [\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"X+ %s\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"X+ ] from %s\00", align 1 @errno = dso_local global i64 0, align 8 @ESRCH = dso_local global i64 0, align 8 @.str.6 = private unnamed_addr constant [11 x i8] c"X - stale\00", align 1 @.str.7 = private unnamed_addr constant [43 x i8] c"ES2can't remove stale lock %s from pid %d:\00", align 1 @.str.8 = private unnamed_addr constant [36 x i8] c"I0removed stale lock %s from pid %d\00", align 1 @.str.9 = private unnamed_addr constant [18 x i8] c"X1 (not our pid)\00", align 1 @.str.10 = private unnamed_addr constant [14 x i8] c"X3 (our pid)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ttlocked(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca [1024 x i8], align 16 %10 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i64 0, ptr %8, align 8 call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 1024, i1 false) %11 = load ptr, ptr %3, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %21 13: ; preds = %2 %14 = load ptr, ptr %3, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 35 br i1 %17, label %18, label %21 18: ; preds = %13 %19 = load ptr, ptr %3, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %3, align 8 br label %21 21: ; preds = %18, %13, %2 %22 = load ptr, ptr %3, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %24, label %123 24: ; preds = %21 %25 = load ptr, ptr %3, align 8 %26 = call ptr @fopen(ptr noundef %25, ptr noundef @.str) store ptr %26, ptr %7, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %28, label %123 28: ; preds = %24 %29 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %30 = load ptr, ptr %7, align 8 %31 = call i32 @fread(ptr noundef %29, i32 noundef 1, i32 noundef 1023, ptr noundef %30) %32 = sext i32 %31 to i64 %33 = icmp eq i64 %32, 8 br i1 %33, label %38, label %34 34: ; preds = %28 %35 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %36 = call i32 @sscanf(ptr noundef %35, ptr noundef @.str.1, ptr noundef %6) %37 = icmp ne i32 %36, 1 br i1 %37, label %38, label %49 38: ; preds = %34, %28 %39 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %40 = load i64, ptr %39, align 16 store i64 %40, ptr %8, align 8 %41 = load i32, ptr %4, align 4 %42 = icmp ne i32 %41, 0 br i1 %42, label %43, label %48 43: ; preds = %38 %44 = load i64, ptr %8, align 8 %45 = trunc i64 %44 to i32 %46 = load ptr, ptr %3, align 8 %47 = call i32 (ptr, ...) @msg(ptr noundef @.str.2, i32 noundef %45, ptr noundef %46) br label %48 48: ; preds = %43, %38 br label %77 49: ; preds = %34 %50 = load i32, ptr %6, align 4 %51 = sext i32 %50 to i64 store i64 %51, ptr %8, align 8 %52 = load i32, ptr %4, align 4 %53 = icmp ne i32 %52, 0 br i1 %53, label %54, label %76 54: ; preds = %49 %55 = load i64, ptr %8, align 8 %56 = trunc i64 %55 to i32 %57 = call i32 (ptr, ...) @msg(ptr noundef @.str.3, i32 noundef %56) %58 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 store ptr %58, ptr %10, align 8 %59 = load ptr, ptr %10, align 8 %60 = load i8, ptr %59, align 1 %61 = icmp ne i8 %60, 0 br i1 %61, label %.lr.ph, label %73 .lr.ph: ; preds = %54 br label %62 62: ; preds = %.lr.ph, %67 %63 = load ptr, ptr %10, align 8 %64 = load i8, ptr %63, align 1 %65 = call i32 @cname(i8 noundef signext %64) %66 = call i32 (ptr, ...) @msg(ptr noundef @.str.4, i32 noundef %65) br label %67 67: ; preds = %62 %68 = load ptr, ptr %10, align 8 %69 = getelementptr inbounds i8, ptr %68, i32 1 store ptr %69, ptr %10, align 8 %70 = load ptr, ptr %10, align 8 %71 = load i8, ptr %70, align 1 %72 = icmp ne i8 %71, 0 br i1 %72, label %62, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %67 br label %73 73: ; preds = %._crit_edge, %54 %74 = load ptr, ptr %3, align 8 %75 = call i32 (ptr, ...) @msg(ptr noundef @.str.5, ptr noundef %74) br label %76 76: ; preds = %73, %49 br label %77 77: ; preds = %76, %48 %78 = load i64, ptr %8, align 8 %79 = call i64 @kill(i64 noundef %78, i32 noundef 0) %80 = icmp ne i64 %79, 0 br i1 %80, label %81, label %103 81: ; preds = %77 %82 = load i64, ptr @errno, align 8 %83 = load i64, ptr @ESRCH, align 8 %84 = icmp eq i64 %82, %83 br i1 %84, label %85, label %103 85: ; preds = %81 %86 = load i32, ptr %4, align 4 %87 = icmp ne i32 %86, 0 br i1 %87, label %88, label %90 88: ; preds = %85 %89 = call i32 (ptr, ...) @msg(ptr noundef @.str.6) br label %90 90: ; preds = %88, %85 %91 = load ptr, ptr %3, align 8 %92 = call i64 @remove(ptr noundef %91) %93 = icmp ne i64 %92, 0 br i1 %93, label %94, label %98 94: ; preds = %90 %95 = load ptr, ptr %3, align 8 %96 = load i64, ptr %8, align 8 %97 = call i32 (ptr, ...) @msg(ptr noundef @.str.7, ptr noundef %95, i64 noundef %96) store i32 %97, ptr %5, align 4 br label %102 98: ; preds = %90 %99 = load ptr, ptr %3, align 8 %100 = load i64, ptr %8, align 8 %101 = call i32 (ptr, ...) @msg(ptr noundef @.str.8, ptr noundef %99, i64 noundef %100) store i32 %101, ptr %5, align 4 br label %102 102: ; preds = %98, %94 br label %120 103: ; preds = %81, %77 %104 = load i64, ptr %8, align 8 %105 = call i64 (...) @getpid() %106 = icmp ne i64 %104, %105 br i1 %106, label %107, label %113 107: ; preds = %103 store i32 1, ptr %5, align 4 %108 = load i32, ptr %4, align 4 %109 = icmp ne i32 %108, 0 br i1 %109, label %110, label %112 110: ; preds = %107 %111 = call i32 (ptr, ...) @msg(ptr noundef @.str.9) br label %112 112: ; preds = %110, %107 br label %119 113: ; preds = %103 store i32 3, ptr %5, align 4 %114 = load i32, ptr %4, align 4 %115 = icmp ne i32 %114, 0 br i1 %115, label %116, label %118 116: ; preds = %113 %117 = call i32 (ptr, ...) @msg(ptr noundef @.str.10) br label %118 118: ; preds = %116, %113 br label %119 119: ; preds = %118, %112 br label %120 120: ; preds = %119, %102 %121 = load ptr, ptr %7, align 8 %122 = call i32 @fclose(ptr noundef %121) br label %123 123: ; preds = %120, %24, %21 %124 = load i32, ptr %5, align 4 ret i32 %124 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @msg(ptr noundef, ...) #2 declare i32 @cname(i8 noundef signext) #2 declare i64 @kill(i64 noundef, i32 noundef) #2 declare i64 @remove(ptr noundef) #2 declare i64 @getpid(...) #2 declare i32 @fclose(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp81b_rfgv.c' source_filename = "/tmp/tmp81b_rfgv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Serei chamado primeiro!!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @meChama2() #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/tmp81b_rfgv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Serei chamado primeiro!!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @meChama2() #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/tmpy6cyw4p4.c' source_filename = "/tmp/tmpy6cyw4p4.c" target datalayout = "e-m:e-p270: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"media: %f\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 ptr, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 4, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = sext i32 %5 to i64 %7 = mul i64 4, %6 %8 = trunc i64 %7 to i32 %9 = call i64 @malloc(i32 noundef %8) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %4, align 8 br label %11 11: ; preds = %23, %0 %12 = call i32 (...) @getchar() %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %3, align 4 %15 = call i32 @inserirNotas(ptr noundef %13, i32 noundef %14) %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %3, align 4 %18 = call i32 @listarNotas(ptr noundef %16, i32 noundef %17) %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %3, align 4 %21 = call double @media(ptr noundef %19, i32 noundef %20) %22 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %21) br label %23 23: ; preds = %11 %24 = load i32, ptr %2, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %11, label %26, !llvm.loop !6 26: ; preds = %23 %27 = load ptr, ptr %4, align 8 %28 = call i32 @free(ptr noundef %27) ret i32 0 } declare i64 @malloc(i32 noundef) #1 declare i32 @getchar(...) #1 declare i32 @inserirNotas(ptr noundef, i32 noundef) #1 declare i32 @listarNotas(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @media(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy6cyw4p4.c" target datalayout = "e-m:e-p270: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"media: %f\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 ptr, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 4, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = sext i32 %5 to i64 %7 = mul i64 4, %6 %8 = trunc i64 %7 to i32 %9 = call i64 @malloc(i32 noundef %8) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %4, align 8 br label %11 11: ; preds = %23, %0 %12 = call i32 (...) @getchar() %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %3, align 4 %15 = call i32 @inserirNotas(ptr noundef %13, i32 noundef %14) %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %3, align 4 %18 = call i32 @listarNotas(ptr noundef %16, i32 noundef %17) %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %3, align 4 %21 = call double @media(ptr noundef %19, i32 noundef %20) %22 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %21) br label %23 23: ; preds = %11 %24 = load i32, ptr %2, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %11, label %26, !llvm.loop !6 26: ; preds = %23 %27 = load ptr, ptr %4, align 8 %28 = call i32 @free(ptr noundef %27) ret i32 0 } declare i64 @malloc(i32 noundef) #1 declare i32 @getchar(...) #1 declare i32 @inserirNotas(ptr noundef, i32 noundef) #1 declare i32 @listarNotas(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @media(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp6_fera5i.c' source_filename = "/tmp/tmp6_fera5i.c" target datalayout = "e-m:e-p270: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 @conso(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @spaces(ptr noundef %6) store i32 %7, ptr %4, align 4 %8 = load ptr, ptr %2, align 8 %9 = call i32 @vowel(ptr noundef %8) store i32 %9, ptr %5, align 4 %10 = load ptr, ptr %2, align 8 %11 = call i32 @strlen(ptr noundef %10) %12 = load i32, ptr %4, align 4 %13 = sub nsw i32 %11, %12 %14 = load i32, ptr %5, align 4 %15 = sub nsw i32 %13, %14 store i32 %15, ptr %3, align 4 %16 = load i32, ptr %3, align 4 ret i32 %16 } declare i32 @spaces(ptr noundef) #1 declare i32 @vowel(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6_fera5i.c" target datalayout = "e-m:e-p270: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 @conso(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @spaces(ptr noundef %6) store i32 %7, ptr %4, align 4 %8 = load ptr, ptr %2, align 8 %9 = call i32 @vowel(ptr noundef %8) store i32 %9, ptr %5, align 4 %10 = load ptr, ptr %2, align 8 %11 = call i32 @strlen(ptr noundef %10) %12 = load i32, ptr %4, align 4 %13 = sub nsw i32 %11, %12 %14 = load i32, ptr %5, align 4 %15 = sub nsw i32 %13, %14 store i32 %15, ptr %3, align 4 %16 = load i32, ptr %3, align 4 ret i32 %16 } declare i32 @spaces(ptr noundef) #1 declare i32 @vowel(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"}
; ModuleID = '/tmp/tmp83hc1upm.c' source_filename = "/tmp/tmp83hc1upm.c" target datalayout = "e-m:e-p270: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"ng\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @isNailgunClientName(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 @strcmp(ptr noundef %3, ptr noundef @.str) %5 = icmp ne i32 %4, 0 %6 = xor i1 %5, true %7 = zext i1 %6 to i32 ret i32 %7 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp83hc1upm.c" target datalayout = "e-m:e-p270: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"ng\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @isNailgunClientName(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 @strcmp(ptr noundef %3, ptr noundef @.str) %5 = icmp ne i32 %4, 0 %6 = xor i1 %5, true %7 = zext i1 %6 to i32 ret i32 %7 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqxdnbdeh.c' source_filename = "/tmp/tmpqxdnbdeh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PATH_MAX = 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/tmpqxdnbdeh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PATH_MAX = 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/tmpmf6mdsgp.c' source_filename = "/tmp/tmpmf6mdsgp.c" target datalayout = "e-m:e-p270: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/tmpmf6mdsgp.c" target datalayout = "e-m:e-p270: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/tmpfa7fa89l.c' source_filename = "/tmp/tmpfa7fa89l.c" target datalayout = "e-m:e-p270: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/tmpfa7fa89l.c" target datalayout = "e-m:e-p270: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/tmpyqfh2ww3.c' source_filename = "/tmp/tmpyqfh2ww3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XFontStruct_all_chars_exist(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store i32 %5, ptr %7, 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/tmpyqfh2ww3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XFontStruct_all_chars_exist(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store i32 %5, ptr %7, 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/tmpt5vwkl04.c' source_filename = "/tmp/tmpt5vwkl04.c" target datalayout = "e-m:e-p270: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"%s -> %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"I_BET_THE_JEWS_DID_THIS\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp eq i32 %6, 2 br i1 %7, label %8, label %17 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call ptr @supergud_hash(ptr noundef %14, ptr noundef @.str.1) %16 = call i32 @printf(ptr noundef @.str, ptr noundef %11, ptr noundef %15) br label %17 17: ; preds = %8, %2 %18 = load i32, ptr %3, align 4 ret i32 %18 } declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @supergud_hash(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/tmpt5vwkl04.c" target datalayout = "e-m:e-p270: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"%s -> %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"I_BET_THE_JEWS_DID_THIS\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp eq i32 %6, 2 br i1 %7, label %8, label %17 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call ptr @supergud_hash(ptr noundef %14, ptr noundef @.str.1) %16 = call i32 @printf(ptr noundef @.str, ptr noundef %11, ptr noundef %15) br label %17 17: ; preds = %8, %2 %18 = load i32, ptr %3, align 4 ret i32 %18 } declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @supergud_hash(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/tmpuz92lzqy.c' source_filename = "/tmp/tmpuz92lzqy.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @lPare() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @peekList() %3 = call i64 @strcmp(i32 noundef %2, ptr noundef @.str) %4 = icmp ne i64 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %0 %6 = call i32 @reportError(i8 noundef signext 40) store i32 0, ptr %1, align 4 br label %10 7: ; preds = %0 %8 = call i32 (...) @dequeueList() %9 = call i32 @addToTree(ptr noundef @.str) store i32 1, ptr %1, align 4 br label %10 10: ; preds = %7, %5 %11 = load i32, ptr %1, align 4 ret i32 %11 } declare i64 @strcmp(i32 noundef, ptr noundef) #1 declare i32 @peekList(...) #1 declare i32 @reportError(i8 noundef signext) #1 declare i32 @dequeueList(...) #1 declare i32 @addToTree(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/tmpuz92lzqy.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @lPare() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @peekList() %3 = call i64 @strcmp(i32 noundef %2, ptr noundef @.str) %4 = icmp ne i64 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %0 %6 = call i32 @reportError(i8 noundef signext 40) store i32 0, ptr %1, align 4 br label %10 7: ; preds = %0 %8 = call i32 (...) @dequeueList() %9 = call i32 @addToTree(ptr noundef @.str) store i32 1, ptr %1, align 4 br label %10 10: ; preds = %7, %5 %11 = load i32, ptr %1, align 4 ret i32 %11 } declare i64 @strcmp(i32 noundef, ptr noundef) #1 declare i32 @peekList(...) #1 declare i32 @reportError(i8 noundef signext) #1 declare i32 @dequeueList(...) #1 declare i32 @addToTree(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/tmpqom2rhuo.c' source_filename = "/tmp/tmpqom2rhuo.c" target datalayout = "e-m:e-p270: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/tmpqom2rhuo.c" target datalayout = "e-m:e-p270: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/tmpk57l8km1.c' source_filename = "/tmp/tmpk57l8km1.c" target datalayout = "e-m:e-p270: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 @__wrap_calloc(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %7 = load i64, ptr %3, align 8 %8 = load i64, ptr %4, align 8 %9 = mul i64 %7, %8 store i64 %9, ptr %5, align 8 %10 = load i64, ptr %5, align 8 %11 = call ptr @__wrap_malloc(i64 noundef %10) store ptr %11, ptr %6, align 8 %12 = load ptr, ptr %6, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %18 14: ; preds = %2 %15 = load ptr, ptr %6, align 8 %16 = load i64, ptr %5, align 8 %17 = call i32 @bzero(ptr noundef %15, i64 noundef %16) br label %18 18: ; preds = %14, %2 %19 = load ptr, ptr %6, align 8 ret ptr %19 } declare ptr @__wrap_malloc(i64 noundef) #1 declare i32 @bzero(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/tmpk57l8km1.c" target datalayout = "e-m:e-p270: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 @__wrap_calloc(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %7 = load i64, ptr %3, align 8 %8 = load i64, ptr %4, align 8 %9 = mul i64 %7, %8 store i64 %9, ptr %5, align 8 %10 = load i64, ptr %5, align 8 %11 = call ptr @__wrap_malloc(i64 noundef %10) store ptr %11, ptr %6, align 8 %12 = load ptr, ptr %6, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %18 14: ; preds = %2 %15 = load ptr, ptr %6, align 8 %16 = load i64, ptr %5, align 8 %17 = call i32 @bzero(ptr noundef %15, i64 noundef %16) br label %18 18: ; preds = %14, %2 %19 = load ptr, ptr %6, align 8 ret ptr %19 } declare ptr @__wrap_malloc(i64 noundef) #1 declare i32 @bzero(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/tmp1mzyzqvr.c' source_filename = "/tmp/tmp1mzyzqvr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MIN = dso_local global i32 0, align 4 @INT_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sp_util_stricmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 0, ptr %7, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %14, label %10 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %14, label %13 13: ; preds = %10 store i32 0, ptr %3, align 4 br label %62 14: ; preds = %10, %2 %15 = load ptr, ptr %4, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %19, label %17 17: ; preds = %14 %18 = load i32, ptr @INT_MIN, align 4 store i32 %18, ptr %3, align 4 br label %62 19: ; preds = %14 %20 = load ptr, ptr %5, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %24, label %22 22: ; preds = %19 %23 = load i32, ptr @INT_MAX, align 4 store i32 %23, ptr %3, align 4 br label %62 24: ; preds = %19 br label %25 25: ; preds = %57, %24 %26 = load ptr, ptr %4, align 8 %27 = load i64, ptr %7, align 8 %28 = getelementptr inbounds i8, ptr %26, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = call i32 @tolower(i32 noundef %30) #2 %32 = load ptr, ptr %5, align 8 %33 = load i64, ptr %7, align 8 %34 = getelementptr inbounds i8, ptr %32, i64 %33 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = call i32 @tolower(i32 noundef %36) #2 %38 = sub nsw i32 %31, %37 store i32 %38, ptr %6, align 4 %39 = icmp ne i32 %38, 0 br i1 %39, label %54, label %40 40: ; preds = %25 %41 = load ptr, ptr %4, align 8 %42 = load i64, ptr %7, align 8 %43 = getelementptr inbounds i8, ptr %41, i64 %42 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp ne i32 %45, 0 br i1 %46, label %47, label %54 47: ; preds = %40 %48 = load ptr, ptr %5, align 8 %49 = load i64, ptr %7, align 8 %50 = getelementptr inbounds i8, ptr %48, i64 %49 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = icmp ne i32 %52, 0 br label %54 54: ; preds = %47, %40, %25 %55 = phi i1 [ false, %40 ], [ false, %25 ], [ %53, %47 ] br i1 %55, label %56, label %60 56: ; preds = %54 br label %57 57: ; preds = %56 %58 = load i64, ptr %7, align 8 %59 = add i64 %58, 1 store i64 %59, ptr %7, align 8 br label %25, !llvm.loop !6 60: ; preds = %54 %61 = load i32, ptr %6, align 4 store i32 %61, ptr %3, align 4 br label %62 62: ; preds = %60, %22, %17, %13 %63 = load i32, ptr %3, align 4 ret i32 %63 } ; Function Attrs: nounwind willreturn memory(read) declare i32 @tolower(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp1mzyzqvr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MIN = dso_local global i32 0, align 4 @INT_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sp_util_stricmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 0, ptr %7, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %14, label %10 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %14, label %13 13: ; preds = %10 store i32 0, ptr %3, align 4 br label %62 14: ; preds = %10, %2 %15 = load ptr, ptr %4, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %19, label %17 17: ; preds = %14 %18 = load i32, ptr @INT_MIN, align 4 store i32 %18, ptr %3, align 4 br label %62 19: ; preds = %14 %20 = load ptr, ptr %5, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %24, label %22 22: ; preds = %19 %23 = load i32, ptr @INT_MAX, align 4 store i32 %23, ptr %3, align 4 br label %62 24: ; preds = %19 br label %25 25: ; preds = %57, %24 %26 = load ptr, ptr %4, align 8 %27 = load i64, ptr %7, align 8 %28 = getelementptr inbounds i8, ptr %26, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = call i32 @tolower(i32 noundef %30) #2 %32 = load ptr, ptr %5, align 8 %33 = load i64, ptr %7, align 8 %34 = getelementptr inbounds i8, ptr %32, i64 %33 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = call i32 @tolower(i32 noundef %36) #2 %38 = sub nsw i32 %31, %37 store i32 %38, ptr %6, align 4 %39 = icmp ne i32 %38, 0 br i1 %39, label %54, label %40 40: ; preds = %25 %41 = load ptr, ptr %4, align 8 %42 = load i64, ptr %7, align 8 %43 = getelementptr inbounds i8, ptr %41, i64 %42 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp ne i32 %45, 0 br i1 %46, label %47, label %54 47: ; preds = %40 %48 = load ptr, ptr %5, align 8 %49 = load i64, ptr %7, align 8 %50 = getelementptr inbounds i8, ptr %48, i64 %49 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = icmp ne i32 %52, 0 br label %54 54: ; preds = %47, %40, %25 %55 = phi i1 [ false, %40 ], [ false, %25 ], [ %53, %47 ] br i1 %55, label %56, label %60 56: ; preds = %54 br label %57 57: ; preds = %56 %58 = load i64, ptr %7, align 8 %59 = add i64 %58, 1 store i64 %59, ptr %7, align 8 br label %25, !llvm.loop !6 60: ; preds = %54 %61 = load i32, ptr %6, align 4 store i32 %61, ptr %3, align 4 br label %62 62: ; preds = %60, %22, %17, %13 %63 = load i32, ptr %3, align 4 ret i32 %63 } ; Function Attrs: nounwind willreturn memory(read) declare i32 @tolower(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpip9twykx.c' source_filename = "/tmp/tmpip9twykx.c" target datalayout = "e-m:e-p270: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 @test_f6() #0 { %1 = call i32 @__crow_f6(i32 noundef 4, i32 noundef 6) %2 = call i32 @expect(i32 noundef 9, i32 noundef %1) ret i32 %2 } declare i32 @expect(i32 noundef, i32 noundef) #1 declare i32 @__crow_f6(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/tmpip9twykx.c" target datalayout = "e-m:e-p270: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 @test_f6() #0 { %1 = call i32 @__crow_f6(i32 noundef 4, i32 noundef 6) %2 = call i32 @expect(i32 noundef 9, i32 noundef %1) ret i32 %2 } declare i32 @expect(i32 noundef, i32 noundef) #1 declare i32 @__crow_f6(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/tmpgdf6g4ux.c' source_filename = "/tmp/tmpgdf6g4ux.c" target datalayout = "e-m:e-p270: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".top\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"Opening file %s...\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c"ERROR, unable to open %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"h'\09axis\09h\09mAF\09miss\0A\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"snp\09PC\09score\0A\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"%f \00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"%f %f\0A\00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c"%d %d %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @writeStats(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, double noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca double, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca i32, align 4 %21 = alloca i32, align 4 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store ptr %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store i32 %5, ptr %14, align 4 store i32 %6, ptr %15, align 4 store double %7, ptr %16, align 8 %22 = call ptr @calloc(i32 noundef 256, i32 noundef 1) store ptr %22, ptr %19, align 8 %23 = load ptr, ptr %19, align 8 %24 = load ptr, ptr %9, align 8 %25 = call i32 @strcpy(ptr noundef %23, ptr noundef %24) %26 = load ptr, ptr %19, align 8 %27 = call i32 @strcat(ptr noundef %26, ptr noundef @.str) %28 = load ptr, ptr %9, align 8 %29 = call i32 @printf(ptr noundef @.str.1, ptr noundef %28) %30 = load ptr, ptr %19, align 8 %31 = call i32 @printf(ptr noundef @.str.1, ptr noundef %30) %32 = load ptr, ptr %9, align 8 %33 = call ptr @fopen(ptr noundef %32, ptr noundef @.str.2) store ptr %33, ptr %17, align 8 %34 = icmp eq ptr %33, null br i1 %34, label %35, label %38 35: ; preds = %8 %36 = load ptr, ptr %9, align 8 %37 = call i32 @printf(ptr noundef @.str.3, ptr noundef %36) br label %38 38: ; preds = %35, %8 %39 = load ptr, ptr %19, align 8 %40 = call ptr @fopen(ptr noundef %39, ptr noundef @.str.2) store ptr %40, ptr %18, align 8 %41 = icmp eq ptr %40, null br i1 %41, label %42, label %45 42: ; preds = %38 %43 = load ptr, ptr %19, align 8 %44 = call i32 @printf(ptr noundef @.str.3, ptr noundef %43) br label %45 45: ; preds = %42, %38 %46 = load ptr, ptr %17, align 8 %47 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %46, ptr noundef @.str.4) %48 = load ptr, ptr %18, align 8 %49 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %48, ptr noundef @.str.5) store i32 0, ptr %20, align 4 br label %50 50: ; preds = %122, %45 %51 = load i32, ptr %20, align 4 %52 = load i32, ptr %14, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %54, label %125 54: ; preds = %50 store i32 0, ptr %21, align 4 br label %55 55: ; preds = %75, %54 %56 = load i32, ptr %21, align 4 %57 = load i32, ptr %15, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %59, label %78 59: ; preds = %55 %60 = load i32, ptr %21, align 4 %61 = icmp ne i32 %60, 1 br i1 %61, label %62, label %74 62: ; preds = %59 %63 = load ptr, ptr %17, align 8 %64 = load ptr, ptr %10, align 8 %65 = load i32, ptr %20, align 4 %66 = load i32, ptr %15, align 4 %67 = mul nsw i32 %65, %66 %68 = load i32, ptr %21, align 4 %69 = add nsw i32 %67, %68 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds double, ptr %64, i64 %70 %72 = load double, ptr %71, align 8 %73 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef @.str.6, double noundef %72) br label %74 74: ; preds = %62, %59 br label %75 75: ; preds = %74 %76 = load i32, ptr %21, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %21, align 4 br label %55, !llvm.loop !6 78: ; preds = %55 %79 = load ptr, ptr %17, align 8 %80 = load ptr, ptr %11, align 8 %81 = load i32, ptr %20, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds double, ptr %80, i64 %82 %84 = load double, ptr %83, align 8 %85 = load ptr, ptr %13, align 8 %86 = load i32, ptr %20, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds double, ptr %85, i64 %87 %89 = load double, ptr %88, align 8 %90 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %79, ptr noundef @.str.7, double noundef %84, double noundef %89) %91 = load ptr, ptr %10, align 8 %92 = load i32, ptr %20, align 4 %93 = load i32, ptr %15, align 4 %94 = mul nsw i32 %92, %93 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds double, ptr %91, i64 %95 %97 = load double, ptr %96, align 8 %98 = load double, ptr %16, align 8 %99 = fcmp oge double %97, %98 br i1 %99, label %100, label %121 100: ; preds = %78 %101 = load ptr, ptr %18, align 8 %102 = load i32, ptr %20, align 4 %103 = add nsw i32 %102, 1 %104 = load ptr, ptr %10, align 8 %105 = load i32, ptr %20, align 4 %106 = load i32, ptr %15, align 4 %107 = mul nsw i32 %105, %106 %108 = add nsw i32 %107, 2 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds double, ptr %104, i64 %109 %111 = load double, ptr %110, align 8 %112 = fptosi double %111 to i32 %113 = load ptr, ptr %10, align 8 %114 = load i32, ptr %20, align 4 %115 = load i32, ptr %15, align 4 %116 = mul nsw i32 %114, %115 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds double, ptr %113, i64 %117 %119 = load double, ptr %118, align 8 %120 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %101, ptr noundef @.str.8, i32 noundef %103, i32 noundef %112, double noundef %119) br label %121 121: ; preds = %100, %78 br label %122 122: ; preds = %121 %123 = load i32, ptr %20, align 4 %124 = add nsw i32 %123, 1 store i32 %124, ptr %20, align 4 br label %50, !llvm.loop !8 125: ; preds = %50 ret void } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgdf6g4ux.c" target datalayout = "e-m:e-p270: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".top\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"Opening file %s...\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c"ERROR, unable to open %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"h'\09axis\09h\09mAF\09miss\0A\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"snp\09PC\09score\0A\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"%f \00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"%f %f\0A\00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c"%d %d %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @writeStats(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, double noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca double, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca i32, align 4 %21 = alloca i32, align 4 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store ptr %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store i32 %5, ptr %14, align 4 store i32 %6, ptr %15, align 4 store double %7, ptr %16, align 8 %22 = call ptr @calloc(i32 noundef 256, i32 noundef 1) store ptr %22, ptr %19, align 8 %23 = load ptr, ptr %19, align 8 %24 = load ptr, ptr %9, align 8 %25 = call i32 @strcpy(ptr noundef %23, ptr noundef %24) %26 = load ptr, ptr %19, align 8 %27 = call i32 @strcat(ptr noundef %26, ptr noundef @.str) %28 = load ptr, ptr %9, align 8 %29 = call i32 @printf(ptr noundef @.str.1, ptr noundef %28) %30 = load ptr, ptr %19, align 8 %31 = call i32 @printf(ptr noundef @.str.1, ptr noundef %30) %32 = load ptr, ptr %9, align 8 %33 = call ptr @fopen(ptr noundef %32, ptr noundef @.str.2) store ptr %33, ptr %17, align 8 %34 = icmp eq ptr %33, null br i1 %34, label %35, label %38 35: ; preds = %8 %36 = load ptr, ptr %9, align 8 %37 = call i32 @printf(ptr noundef @.str.3, ptr noundef %36) br label %38 38: ; preds = %35, %8 %39 = load ptr, ptr %19, align 8 %40 = call ptr @fopen(ptr noundef %39, ptr noundef @.str.2) store ptr %40, ptr %18, align 8 %41 = icmp eq ptr %40, null br i1 %41, label %42, label %45 42: ; preds = %38 %43 = load ptr, ptr %19, align 8 %44 = call i32 @printf(ptr noundef @.str.3, ptr noundef %43) br label %45 45: ; preds = %42, %38 %46 = load ptr, ptr %17, align 8 %47 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %46, ptr noundef @.str.4) %48 = load ptr, ptr %18, align 8 %49 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %48, ptr noundef @.str.5) store i32 0, ptr %20, align 4 %50 = load i32, ptr %20, align 4 %51 = load i32, ptr %14, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %.lr.ph2, label %129 .lr.ph2: ; preds = %45 br label %53 53: ; preds = %.lr.ph2, %123 store i32 0, ptr %21, align 4 %54 = load i32, ptr %21, align 4 %55 = load i32, ptr %15, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %.lr.ph, label %79 .lr.ph: ; preds = %53 br label %57 57: ; preds = %.lr.ph, %73 %58 = load i32, ptr %21, align 4 %59 = icmp ne i32 %58, 1 br i1 %59, label %60, label %72 60: ; preds = %57 %61 = load ptr, ptr %17, align 8 %62 = load ptr, ptr %10, align 8 %63 = load i32, ptr %20, align 4 %64 = load i32, ptr %15, align 4 %65 = mul nsw i32 %63, %64 %66 = load i32, ptr %21, align 4 %67 = add nsw i32 %65, %66 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds double, ptr %62, i64 %68 %70 = load double, ptr %69, align 8 %71 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %61, ptr noundef @.str.6, double noundef %70) br label %72 72: ; preds = %60, %57 br label %73 73: ; preds = %72 %74 = load i32, ptr %21, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %21, align 4 %76 = load i32, ptr %21, align 4 %77 = load i32, ptr %15, align 4 %78 = icmp slt i32 %76, %77 br i1 %78, label %57, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %73 br label %79 79: ; preds = %._crit_edge, %53 %80 = load ptr, ptr %17, align 8 %81 = load ptr, ptr %11, align 8 %82 = load i32, ptr %20, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds double, ptr %81, i64 %83 %85 = load double, ptr %84, align 8 %86 = load ptr, ptr %13, align 8 %87 = load i32, ptr %20, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds double, ptr %86, i64 %88 %90 = load double, ptr %89, align 8 %91 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %80, ptr noundef @.str.7, double noundef %85, double noundef %90) %92 = load ptr, ptr %10, align 8 %93 = load i32, ptr %20, align 4 %94 = load i32, ptr %15, align 4 %95 = mul nsw i32 %93, %94 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds double, ptr %92, i64 %96 %98 = load double, ptr %97, align 8 %99 = load double, ptr %16, align 8 %100 = fcmp oge double %98, %99 br i1 %100, label %101, label %122 101: ; preds = %79 %102 = load ptr, ptr %18, align 8 %103 = load i32, ptr %20, align 4 %104 = add nsw i32 %103, 1 %105 = load ptr, ptr %10, align 8 %106 = load i32, ptr %20, align 4 %107 = load i32, ptr %15, align 4 %108 = mul nsw i32 %106, %107 %109 = add nsw i32 %108, 2 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds double, ptr %105, i64 %110 %112 = load double, ptr %111, align 8 %113 = fptosi double %112 to i32 %114 = load ptr, ptr %10, align 8 %115 = load i32, ptr %20, align 4 %116 = load i32, ptr %15, align 4 %117 = mul nsw i32 %115, %116 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds double, ptr %114, i64 %118 %120 = load double, ptr %119, align 8 %121 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %102, ptr noundef @.str.8, i32 noundef %104, i32 noundef %113, double noundef %120) br label %122 122: ; preds = %101, %79 br label %123 123: ; preds = %122 %124 = load i32, ptr %20, align 4 %125 = add nsw i32 %124, 1 store i32 %125, ptr %20, align 4 %126 = load i32, ptr %20, align 4 %127 = load i32, ptr %14, align 4 %128 = icmp slt i32 %126, %127 br i1 %128, label %53, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %123 br label %129 129: ; preds = %._crit_edge3, %45 ret void } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp72_6fcoh.c' source_filename = "/tmp/tmp72_6fcoh.c" target datalayout = "e-m:e-p270: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.Kid2 = private unnamed_addr constant [7 x i8] c"Maddie\00", align 1 @__const.main.Kid3 = private unnamed_addr constant [7 x i8] c"Andrew\00", align 1 @__const.main.Hero1 = private unnamed_addr constant [7 x i8] c"Batman\00", align 1 @__const.main.Hero2 = private unnamed_addr constant [34 x i8] c"Spiderman\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @.str = private unnamed_addr constant [20 x i8] c"The Incredible Hulk\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"%s 's favorite hero is %s.\0A\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"%s 's favorite hero us %s.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [12 x i8], align 1 %3 = alloca [7 x i8], align 1 %4 = alloca [7 x i8], align 1 %5 = alloca [7 x i8], align 1 %6 = alloca [34 x i8], align 16 %7 = alloca [25 x i8], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.Kid2, i64 7, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.main.Kid3, i64 7, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %5, ptr align 1 @__const.main.Hero1, i64 7, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.Hero2, i64 34, i1 false) %8 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0 store i8 75, ptr %8, align 1 %9 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 1 store i8 97, ptr %9, align 1 %10 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 2 store i8 116, ptr %10, align 1 %11 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 3 store i8 105, ptr %11, align 1 %12 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 4 store i8 101, ptr %12, align 1 %13 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 5 store i8 0, ptr %13, align 1 %14 = getelementptr inbounds [25 x i8], ptr %7, i64 0, i64 0 %15 = call i32 @strcpy(ptr noundef %14, ptr noundef @.str) %16 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0 %17 = getelementptr inbounds [7 x i8], ptr %5, i64 0, i64 0 %18 = call i32 @printf(ptr noundef @.str.1, ptr noundef %16, ptr noundef %17) %19 = getelementptr inbounds [7 x i8], ptr %3, i64 0, i64 0 %20 = getelementptr inbounds [34 x i8], ptr %6, i64 0, i64 0 %21 = call i32 @printf(ptr noundef @.str.1, ptr noundef %19, ptr noundef %20) %22 = getelementptr inbounds [7 x i8], ptr %4, i64 0, i64 0 %23 = getelementptr inbounds [25 x i8], ptr %7, i64 0, i64 0 %24 = call i32 @printf(ptr noundef @.str.2, ptr noundef %22, ptr noundef %23) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree 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/tmp72_6fcoh.c" target datalayout = "e-m:e-p270: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.Kid2 = private unnamed_addr constant [7 x i8] c"Maddie\00", align 1 @__const.main.Kid3 = private unnamed_addr constant [7 x i8] c"Andrew\00", align 1 @__const.main.Hero1 = private unnamed_addr constant [7 x i8] c"Batman\00", align 1 @__const.main.Hero2 = private unnamed_addr constant [34 x i8] c"Spiderman\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @.str = private unnamed_addr constant [20 x i8] c"The Incredible Hulk\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"%s 's favorite hero is %s.\0A\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"%s 's favorite hero us %s.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [12 x i8], align 1 %3 = alloca [7 x i8], align 1 %4 = alloca [7 x i8], align 1 %5 = alloca [7 x i8], align 1 %6 = alloca [34 x i8], align 16 %7 = alloca [25 x i8], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.Kid2, i64 7, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.main.Kid3, i64 7, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %5, ptr align 1 @__const.main.Hero1, i64 7, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.Hero2, i64 34, i1 false) %8 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0 store i8 75, ptr %8, align 1 %9 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 1 store i8 97, ptr %9, align 1 %10 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 2 store i8 116, ptr %10, align 1 %11 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 3 store i8 105, ptr %11, align 1 %12 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 4 store i8 101, ptr %12, align 1 %13 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 5 store i8 0, ptr %13, align 1 %14 = getelementptr inbounds [25 x i8], ptr %7, i64 0, i64 0 %15 = call i32 @strcpy(ptr noundef %14, ptr noundef @.str) %16 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0 %17 = getelementptr inbounds [7 x i8], ptr %5, i64 0, i64 0 %18 = call i32 @printf(ptr noundef @.str.1, ptr noundef %16, ptr noundef %17) %19 = getelementptr inbounds [7 x i8], ptr %3, i64 0, i64 0 %20 = getelementptr inbounds [34 x i8], ptr %6, i64 0, i64 0 %21 = call i32 @printf(ptr noundef @.str.1, ptr noundef %19, ptr noundef %20) %22 = getelementptr inbounds [7 x i8], ptr %4, i64 0, i64 0 %23 = getelementptr inbounds [25 x i8], ptr %7, i64 0, i64 0 %24 = call i32 @printf(ptr noundef @.str.2, ptr noundef %22, ptr noundef %23) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree 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/tmp62x78d78.c' source_filename = "/tmp/tmp62x78d78.c" target datalayout = "e-m:e-p270: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 @test_mm_cvtpd_ps(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 @_mm_cvtpd_ps(i32 noundef %3) ret i32 %4 } declare i32 @_mm_cvtpd_ps(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/tmp62x78d78.c" target datalayout = "e-m:e-p270: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 @test_mm_cvtpd_ps(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 @_mm_cvtpd_ps(i32 noundef %3) ret i32 %4 } declare i32 @_mm_cvtpd_ps(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/tmp0w_tcrhw.c' source_filename = "/tmp/tmp0w_tcrhw.c" target datalayout = "e-m:e-p270: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 @clear_screen(i16 noundef signext %0) #0 { %2 = alloca i16, align 2 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i16 %0, ptr %2, align 2 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %21, %1 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 320 br i1 %7, label %8, label %24 8: ; preds = %5 store i32 0, ptr %4, align 4 br label %9 9: ; preds = %17, %8 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 240 br i1 %11, label %12, label %20 12: ; preds = %9 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %4, align 4 %15 = load i16, ptr %2, align 2 %16 = call i32 @draw_pixel(i32 noundef %13, i32 noundef %14, i16 noundef signext %15) br label %17 17: ; preds = %12 %18 = load i32, ptr %4, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %4, align 4 br label %9, !llvm.loop !6 20: ; preds = %9 br label %21 21: ; preds = %20 %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %3, align 4 br label %5, !llvm.loop !8 24: ; preds = %5 ret void } declare i32 @draw_pixel(i32 noundef, i32 noundef, i16 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0w_tcrhw.c" target datalayout = "e-m:e-p270: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 @clear_screen(i16 noundef signext %0) #0 { %2 = alloca i16, align 2 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i16 %0, ptr %2, align 2 store i32 0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 320 br i1 %6, label %.lr.ph2, label %26 .lr.ph2: ; preds = %1 br label %7 7: ; preds = %.lr.ph2, %21 store i32 0, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 240 br i1 %9, label %.lr.ph, label %20 .lr.ph: ; preds = %7 br label %10 10: ; preds = %.lr.ph, %15 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %4, align 4 %13 = load i16, ptr %2, align 2 %14 = call i32 @draw_pixel(i32 noundef %11, i32 noundef %12, i16 noundef signext %13) br label %15 15: ; preds = %10 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %4, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp slt i32 %18, 240 br i1 %19, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %20 20: ; preds = %._crit_edge, %7 br label %21 21: ; preds = %20 %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %3, align 4 %24 = load i32, ptr %3, align 4 %25 = icmp slt i32 %24, 320 br i1 %25, label %7, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %21 br label %26 26: ; preds = %._crit_edge3, %1 ret void } declare i32 @draw_pixel(i32 noundef, i32 noundef, i16 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp0geg4e9a.c' source_filename = "/tmp/tmp0geg4e9a.c" target datalayout = "e-m:e-p270: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 @Phi_2D_BC_2(ptr noundef %0, i32 noundef %1, i32 noundef %2, double noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca double, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store double %3, ptr %8, align 8 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %7, align 4 %12 = load double, ptr %8, align 8 %13 = call i32 @Neumann_XZ(ptr noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef 1, i32 noundef 1, i32 noundef 1, i32 noundef 0, double noundef %12) %14 = load ptr, ptr %5, align 8 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %7, align 4 %18 = sub nsw i32 %17, 2 %19 = load double, ptr %8, align 8 %20 = call i32 @Neumann_XZ(ptr noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef 1, i32 noundef %18, i32 noundef -1, i32 noundef 0, double noundef %19) %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %7, align 4 %24 = load double, ptr %8, align 8 %25 = call i32 @Neumann_YZ(ptr noundef %21, i32 noundef %22, i32 noundef %23, i32 noundef 1, i32 noundef 1, i32 noundef 1, i32 noundef 0, double noundef %24) %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %7, align 4 %29 = load i32, ptr %6, align 4 %30 = sub nsw i32 %29, 2 %31 = load double, ptr %8, align 8 %32 = call i32 @Neumann_YZ(ptr noundef %26, i32 noundef %27, i32 noundef %28, i32 noundef 1, i32 noundef %30, i32 noundef -1, i32 noundef 0, double noundef %31) %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %6, align 4 %35 = load i32, ptr %7, align 4 %36 = load double, ptr %8, align 8 %37 = call i32 @Neumann_XZ(ptr noundef %33, i32 noundef %34, i32 noundef %35, i32 noundef 1, i32 noundef 0, i32 noundef 1, i32 noundef 0, double noundef %36) %38 = load ptr, ptr %5, align 8 %39 = load i32, ptr %6, align 4 %40 = load i32, ptr %7, align 4 %41 = load i32, ptr %7, align 4 %42 = sub nsw i32 %41, 1 %43 = load double, ptr %8, align 8 %44 = call i32 @Neumann_XZ(ptr noundef %38, i32 noundef %39, i32 noundef %40, i32 noundef 1, i32 noundef %42, i32 noundef -1, i32 noundef 0, double noundef %43) %45 = load ptr, ptr %5, align 8 %46 = load i32, ptr %6, align 4 %47 = load i32, ptr %7, align 4 %48 = load double, ptr %8, align 8 %49 = call i32 @Neumann_YZ(ptr noundef %45, i32 noundef %46, i32 noundef %47, i32 noundef 1, i32 noundef 0, i32 noundef 1, i32 noundef 0, double noundef %48) %50 = load ptr, ptr %5, align 8 %51 = load i32, ptr %6, align 4 %52 = load i32, ptr %7, align 4 %53 = load i32, ptr %6, align 4 %54 = sub nsw i32 %53, 1 %55 = load double, ptr %8, align 8 %56 = call i32 @Neumann_YZ(ptr noundef %50, i32 noundef %51, i32 noundef %52, i32 noundef 1, i32 noundef %54, i32 noundef -1, i32 noundef 0, double noundef %55) ret void } declare i32 @Neumann_XZ(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, double noundef) #1 declare i32 @Neumann_YZ(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0geg4e9a.c" target datalayout = "e-m:e-p270: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 @Phi_2D_BC_2(ptr noundef %0, i32 noundef %1, i32 noundef %2, double noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca double, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store double %3, ptr %8, align 8 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %7, align 4 %12 = load double, ptr %8, align 8 %13 = call i32 @Neumann_XZ(ptr noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef 1, i32 noundef 1, i32 noundef 1, i32 noundef 0, double noundef %12) %14 = load ptr, ptr %5, align 8 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %7, align 4 %18 = sub nsw i32 %17, 2 %19 = load double, ptr %8, align 8 %20 = call i32 @Neumann_XZ(ptr noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef 1, i32 noundef %18, i32 noundef -1, i32 noundef 0, double noundef %19) %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %7, align 4 %24 = load double, ptr %8, align 8 %25 = call i32 @Neumann_YZ(ptr noundef %21, i32 noundef %22, i32 noundef %23, i32 noundef 1, i32 noundef 1, i32 noundef 1, i32 noundef 0, double noundef %24) %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %7, align 4 %29 = load i32, ptr %6, align 4 %30 = sub nsw i32 %29, 2 %31 = load double, ptr %8, align 8 %32 = call i32 @Neumann_YZ(ptr noundef %26, i32 noundef %27, i32 noundef %28, i32 noundef 1, i32 noundef %30, i32 noundef -1, i32 noundef 0, double noundef %31) %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %6, align 4 %35 = load i32, ptr %7, align 4 %36 = load double, ptr %8, align 8 %37 = call i32 @Neumann_XZ(ptr noundef %33, i32 noundef %34, i32 noundef %35, i32 noundef 1, i32 noundef 0, i32 noundef 1, i32 noundef 0, double noundef %36) %38 = load ptr, ptr %5, align 8 %39 = load i32, ptr %6, align 4 %40 = load i32, ptr %7, align 4 %41 = load i32, ptr %7, align 4 %42 = sub nsw i32 %41, 1 %43 = load double, ptr %8, align 8 %44 = call i32 @Neumann_XZ(ptr noundef %38, i32 noundef %39, i32 noundef %40, i32 noundef 1, i32 noundef %42, i32 noundef -1, i32 noundef 0, double noundef %43) %45 = load ptr, ptr %5, align 8 %46 = load i32, ptr %6, align 4 %47 = load i32, ptr %7, align 4 %48 = load double, ptr %8, align 8 %49 = call i32 @Neumann_YZ(ptr noundef %45, i32 noundef %46, i32 noundef %47, i32 noundef 1, i32 noundef 0, i32 noundef 1, i32 noundef 0, double noundef %48) %50 = load ptr, ptr %5, align 8 %51 = load i32, ptr %6, align 4 %52 = load i32, ptr %7, align 4 %53 = load i32, ptr %6, align 4 %54 = sub nsw i32 %53, 1 %55 = load double, ptr %8, align 8 %56 = call i32 @Neumann_YZ(ptr noundef %50, i32 noundef %51, i32 noundef %52, i32 noundef 1, i32 noundef %54, i32 noundef -1, i32 noundef 0, double noundef %55) ret void } declare i32 @Neumann_XZ(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, double noundef) #1 declare i32 @Neumann_YZ(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk27v6tej.c' source_filename = "/tmp/tmpk27v6tej.c" target datalayout = "e-m:e-p270: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/tmpk27v6tej.c" target datalayout = "e-m:e-p270: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/tmp02ep4vjt.c' source_filename = "/tmp/tmp02ep4vjt.c" target datalayout = "e-m:e-p270: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 @sendString(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %8 = load ptr, ptr %5, align 8 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %7, align 4 br label %10 10: ; preds = %21, %2 %11 = load i32, ptr %7, align 4 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %29 13: ; preds = %10 %14 = load i32, ptr %4, align 4 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %7, align 4 %17 = call i32 @send(i32 noundef %14, ptr noundef %15, i32 noundef %16, i32 noundef 0) store i32 %17, ptr %6, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %21 20: ; preds = %13 store i32 -1, ptr %3, align 4 br label %30 21: ; preds = %13 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %7, align 4 %24 = sub nsw i32 %23, %22 store i32 %24, ptr %7, align 4 %25 = load i32, ptr %6, align 4 %26 = load ptr, ptr %5, align 8 %27 = sext i32 %25 to i64 %28 = getelementptr inbounds i8, ptr %26, i64 %27 store ptr %28, ptr %5, align 8 br label %10, !llvm.loop !6 29: ; preds = %10 store i32 1, ptr %3, align 4 br label %30 30: ; preds = %29, %20 %31 = load i32, ptr %3, align 4 ret i32 %31 } declare i32 @strlen(ptr noundef) #1 declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp02ep4vjt.c" target datalayout = "e-m:e-p270: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 @sendString(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %8 = load ptr, ptr %5, align 8 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %7, align 4 %10 = load i32, ptr %7, align 4 %11 = icmp sgt i32 %10, 0 br i1 %11, label %.lr.ph, label %30 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %20 %13 = load i32, ptr %4, align 4 %14 = load ptr, ptr %5, align 8 %15 = load i32, ptr %7, align 4 %16 = call i32 @send(i32 noundef %13, ptr noundef %14, i32 noundef %15, i32 noundef 0) store i32 %16, ptr %6, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp eq i32 %17, -1 br i1 %18, label %19, label %20 19: ; preds = %12 store i32 -1, ptr %3, align 4 br label %31 20: ; preds = %12 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %7, align 4 %23 = sub nsw i32 %22, %21 store i32 %23, ptr %7, align 4 %24 = load i32, ptr %6, align 4 %25 = load ptr, ptr %5, align 8 %26 = sext i32 %24 to i64 %27 = getelementptr inbounds i8, ptr %25, i64 %26 store ptr %27, ptr %5, align 8 %28 = load i32, ptr %7, align 4 %29 = icmp sgt i32 %28, 0 br i1 %29, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %30 30: ; preds = %._crit_edge, %2 store i32 1, ptr %3, align 4 br label %31 31: ; preds = %30, %19 %32 = load i32, ptr %3, align 4 ret i32 %32 } declare i32 @strlen(ptr noundef) #1 declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_2803r89.c' source_filename = "/tmp/tmp_2803r89.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [53 x i8] c"Fatal error: out-of-bound access in array or string\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @caml_ml_array_bound_error() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = call i32 @exit(i32 noundef 2) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_2803r89.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [53 x i8] c"Fatal error: out-of-bound access in array or string\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @caml_ml_array_bound_error() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = call i32 @exit(i32 noundef 2) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz36_r672.c' source_filename = "/tmp/tmpz36_r672.c" target datalayout = "e-m:e-p270: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 @StandardErrorOfStDev(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @bestEstimateOfStDev(ptr noundef %5, i32 noundef %6) %8 = load i32, ptr %4, align 4 %9 = mul nsw i32 2, %8 %10 = load i32, ptr %4, align 4 %11 = mul nsw i32 2, %10 %12 = mul nsw i32 %9, %11 %13 = sdiv i32 %7, %12 %14 = sitofp i32 %13 to double ret double %14 } declare i32 @bestEstimateOfStDev(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/tmpz36_r672.c" target datalayout = "e-m:e-p270: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 @StandardErrorOfStDev(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @bestEstimateOfStDev(ptr noundef %5, i32 noundef %6) %8 = load i32, ptr %4, align 4 %9 = mul nsw i32 2, %8 %10 = load i32, ptr %4, align 4 %11 = mul nsw i32 2, %10 %12 = mul nsw i32 %9, %11 %13 = sdiv i32 %7, %12 %14 = sitofp i32 %13 to double ret double %14 } declare i32 @bestEstimateOfStDev(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/tmpo2nbc3ex.c' source_filename = "/tmp/tmpo2nbc3ex.c" target datalayout = "e-m:e-p270: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 [3 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] 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 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 store i32 0, ptr %1, align 4 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %9 = load i32, ptr %2, align 4 %10 = mul nsw i32 2, %9 %11 = sub nsw i32 %10, 1 store i32 %11, ptr %3, align 4 store i32 0, ptr %5, align 4 %12 = load i32, ptr %5, align 4 store i32 %12, ptr %7, align 4 %13 = load i32, ptr %3, align 4 %14 = sdiv i32 %13, 2 store i32 %14, ptr %4, align 4 %15 = load i32, ptr %4, align 4 store i32 %15, ptr %6, align 4 br label %16 16: ; preds = %50, %0 %17 = load i32, ptr %2, align 4 %18 = icmp sgt i32 %17, 0 br i1 %18, label %19, label %53 19: ; preds = %16 br label %20 20: ; preds = %25, %19 %21 = load i32, ptr %4, align 4 %22 = icmp sgt i32 %21, 0 br i1 %22, label %23, label %28 23: ; preds = %20 %24 = call i32 @printf(ptr noundef @.str.1) br label %25 25: ; preds = %23 %26 = load i32, ptr %4, align 4 %27 = add nsw i32 %26, -1 store i32 %27, ptr %4, align 4 br label %20, !llvm.loop !6 28: ; preds = %20 br label %29 29: ; preds = %39, %28 %30 = load i32, ptr %3, align 4 %31 = load i32, ptr %5, align 4 %32 = sub nsw i32 %30, %31 %33 = load i32, ptr %3, align 4 %34 = load i32, ptr %7, align 4 %35 = add nsw i32 %33, %34 %36 = icmp sle i32 %32, %35 br i1 %36, label %37, label %42 37: ; preds = %29 %38 = call i32 @printf(ptr noundef @.str.2) br label %39 39: ; preds = %37 %40 = load i32, ptr %5, align 4 %41 = add nsw i32 %40, -1 store i32 %41, ptr %5, align 4 br label %29, !llvm.loop !8 42: ; preds = %29 %43 = load i32, ptr %6, align 4 %44 = add nsw i32 %43, -1 store i32 %44, ptr %6, align 4 %45 = load i32, ptr %7, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %7, align 4 %47 = load i32, ptr %7, align 4 store i32 %47, ptr %5, align 4 %48 = load i32, ptr %6, align 4 store i32 %48, ptr %4, align 4 %49 = call i32 @printf(ptr noundef @.str.3) br label %50 50: ; preds = %42 %51 = load i32, ptr %2, align 4 %52 = add nsw i32 %51, -1 store i32 %52, ptr %2, align 4 br label %16, !llvm.loop !9 53: ; preds = %16 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo2nbc3ex.c" target datalayout = "e-m:e-p270: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 [3 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] 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 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 store i32 0, ptr %1, align 4 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %9 = load i32, ptr %2, align 4 %10 = mul nsw i32 2, %9 %11 = sub nsw i32 %10, 1 store i32 %11, ptr %3, align 4 store i32 0, ptr %5, align 4 %12 = load i32, ptr %5, align 4 store i32 %12, ptr %7, align 4 %13 = load i32, ptr %3, align 4 %14 = sdiv i32 %13, 2 store i32 %14, ptr %4, align 4 %15 = load i32, ptr %4, align 4 store i32 %15, ptr %6, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp sgt i32 %16, 0 br i1 %17, label %.lr.ph5, label %61 .lr.ph5: ; preds = %0 br label %18 18: ; preds = %.lr.ph5, %56 %19 = load i32, ptr %4, align 4 %20 = icmp sgt i32 %19, 0 br i1 %20, label %.lr.ph, label %28 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %23 %22 = call i32 @printf(ptr noundef @.str.1) br label %23 23: ; preds = %21 %24 = load i32, ptr %4, align 4 %25 = add nsw i32 %24, -1 store i32 %25, ptr %4, align 4 %26 = load i32, ptr %4, align 4 %27 = icmp sgt i32 %26, 0 br i1 %27, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %28 28: ; preds = %._crit_edge, %18 %29 = load i32, ptr %3, align 4 %30 = load i32, ptr %5, align 4 %31 = sub nsw i32 %29, %30 %32 = load i32, ptr %3, align 4 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %32, %33 %35 = icmp sle i32 %31, %34 br i1 %35, label %.lr.ph2, label %48 .lr.ph2: ; preds = %28 br label %36 36: ; preds = %.lr.ph2, %38 %37 = call i32 @printf(ptr noundef @.str.2) br label %38 38: ; preds = %36 %39 = load i32, ptr %5, align 4 %40 = add nsw i32 %39, -1 store i32 %40, ptr %5, align 4 %41 = load i32, ptr %3, align 4 %42 = load i32, ptr %5, align 4 %43 = sub nsw i32 %41, %42 %44 = load i32, ptr %3, align 4 %45 = load i32, ptr %7, align 4 %46 = add nsw i32 %44, %45 %47 = icmp sle i32 %43, %46 br i1 %47, label %36, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %38 br label %48 48: ; preds = %._crit_edge3, %28 %49 = load i32, ptr %6, align 4 %50 = add nsw i32 %49, -1 store i32 %50, ptr %6, align 4 %51 = load i32, ptr %7, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %7, align 4 %53 = load i32, ptr %7, align 4 store i32 %53, ptr %5, align 4 %54 = load i32, ptr %6, align 4 store i32 %54, ptr %4, align 4 %55 = call i32 @printf(ptr noundef @.str.3) br label %56 56: ; preds = %48 %57 = load i32, ptr %2, align 4 %58 = add nsw i32 %57, -1 store i32 %58, ptr %2, align 4 %59 = load i32, ptr %2, align 4 %60 = icmp sgt i32 %59, 0 br i1 %60, label %18, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %56 br label %61 61: ; preds = %._crit_edge6, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpqpmr6t66.c' source_filename = "/tmp/tmpqpmr6t66.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @readTrees(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 = load i32, ptr @INT_MAX, align 4 %8 = call ptr @readTreesRange(ptr noundef %5, ptr noundef %6, i32 noundef 0, i32 noundef %7) ret ptr %8 } declare ptr @readTreesRange(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqpmr6t66.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @readTrees(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 = load i32, ptr @INT_MAX, align 4 %8 = call ptr @readTreesRange(ptr noundef %5, ptr noundef %6, i32 noundef 0, i32 noundef %7) ret ptr %8 } declare ptr @readTreesRange(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb1blqmly.c' source_filename = "/tmp/tmpb1blqmly.c" target datalayout = "e-m:e-p270: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.sha3_keccakf.keccakf_rndc = private unnamed_addr constant [24 x i32] [i32 1, i32 32898, i32 32906, i32 -2147450880, i32 32907, i32 -2147483647, i32 -2147450751, i32 32777, i32 138, i32 136, i32 -2147450871, i32 -2147483638, i32 -2147450741, i32 139, i32 32905, i32 32771, i32 32770, i32 128, i32 32778, i32 -2147483638, i32 -2147450751, i32 32896, i32 -2147483647, i32 -2147450872], align 16 @__const.sha3_keccakf.keccakf_rotc = private unnamed_addr constant [24 x i32] [i32 1, i32 3, i32 6, i32 10, i32 15, i32 21, i32 28, i32 36, i32 45, i32 55, i32 2, i32 14, i32 27, i32 41, i32 56, i32 8, i32 25, i32 43, i32 62, i32 18, i32 39, i32 61, i32 20, i32 44], align 16 @__const.sha3_keccakf.keccakf_piln = private unnamed_addr constant [24 x i32] [i32 10, i32 7, i32 11, i32 17, i32 18, i32 3, i32 5, i32 16, i32 8, i32 21, i32 24, i32 4, i32 15, i32 23, i32 19, i32 13, i32 12, i32 2, i32 20, i32 14, i32 22, i32 9, i32 6, i32 1], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sha3_keccakf(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [24 x i32], align 16 %4 = alloca [24 x i32], align 16 %5 = alloca [24 x i32], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [5 x i32], align 16 store ptr %0, ptr %2, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.sha3_keccakf.keccakf_rndc, i64 96, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.sha3_keccakf.keccakf_rotc, i64 96, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.sha3_keccakf.keccakf_piln, i64 96, i1 false) store i32 0, ptr %8, align 4 br label %11 11: ; preds = %211, %1 %12 = load i32, ptr %8, align 4 %13 = icmp slt i32 %12, 24 br i1 %13, label %14, label %214 14: ; preds = %11 store i32 0, ptr %6, align 4 br label %15 15: ; preds = %55, %14 %16 = load i32, ptr %6, align 4 %17 = icmp slt i32 %16, 5 br i1 %17, label %18, label %58 18: ; preds = %15 %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %19, i64 %21 %23 = load i32, ptr %22, align 4 %24 = load ptr, ptr %2, align 8 %25 = load i32, ptr %6, align 4 %26 = add nsw i32 %25, 5 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %24, i64 %27 %29 = load i32, ptr %28, align 4 %30 = xor i32 %23, %29 %31 = load ptr, ptr %2, align 8 %32 = load i32, ptr %6, align 4 %33 = add nsw i32 %32, 10 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %31, i64 %34 %36 = load i32, ptr %35, align 4 %37 = xor i32 %30, %36 %38 = load ptr, ptr %2, align 8 %39 = load i32, ptr %6, align 4 %40 = add nsw i32 %39, 15 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %38, i64 %41 %43 = load i32, ptr %42, align 4 %44 = xor i32 %37, %43 %45 = load ptr, ptr %2, align 8 %46 = load i32, ptr %6, align 4 %47 = add nsw i32 %46, 20 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %45, i64 %48 %50 = load i32, ptr %49, align 4 %51 = xor i32 %44, %50 %52 = load i32, ptr %6, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [5 x i32], ptr %10, i64 0, i64 %53 store i32 %51, ptr %54, align 4 br label %55 55: ; preds = %18 %56 = load i32, ptr %6, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %6, align 4 br label %15, !llvm.loop !6 58: ; preds = %15 store i32 0, ptr %6, align 4 br label %59 59: ; preds = %102, %58 %60 = load i32, ptr %6, align 4 %61 = icmp slt i32 %60, 5 br i1 %61, label %62, label %105 62: ; preds = %59 %63 = load i32, ptr %6, align 4 %64 = add nsw i32 %63, 4 %65 = srem i32 %64, 5 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [5 x i32], ptr %10, i64 0, i64 %66 %68 = load i32, ptr %67, align 4 %69 = load i32, ptr %6, align 4 %70 = add nsw i32 %69, 1 %71 = srem i32 %70, 5 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [5 x i32], ptr %10, i64 0, i64 %72 %74 = load i32, ptr %73, align 4 %75 = shl i32 %74, 1 %76 = load i32, ptr %6, align 4 %77 = add nsw i32 %76, 1 %78 = srem i32 %77, 5 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [5 x i32], ptr %10, i64 0, i64 %79 %81 = load i32, ptr %80, align 4 %82 = ashr i32 %81, 63 %83 = or i32 %75, %82 %84 = xor i32 %68, %83 store i32 %84, ptr %9, align 4 store i32 0, ptr %7, align 4 br label %85 85: ; preds = %98, %62 %86 = load i32, ptr %7, align 4 %87 = icmp slt i32 %86, 25 br i1 %87, label %88, label %101 88: ; preds = %85 %89 = load i32, ptr %9, align 4 %90 = load ptr, ptr %2, align 8 %91 = load i32, ptr %7, align 4 %92 = load i32, ptr %6, align 4 %93 = add nsw i32 %91, %92 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds i32, ptr %90, i64 %94 %96 = load i32, ptr %95, align 4 %97 = xor i32 %96, %89 store i32 %97, ptr %95, align 4 br label %98 98: ; preds = %88 %99 = load i32, ptr %7, align 4 %100 = add nsw i32 %99, 5 store i32 %100, ptr %7, align 4 br label %85, !llvm.loop !8 101: ; preds = %85 br label %102 102: ; preds = %101 %103 = load i32, ptr %6, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %6, align 4 br label %59, !llvm.loop !9 105: ; preds = %59 %106 = load ptr, ptr %2, align 8 %107 = getelementptr inbounds i32, ptr %106, i64 1 %108 = load i32, ptr %107, align 4 store i32 %108, ptr %9, align 4 store i32 0, ptr %6, align 4 br label %109 109: ; preds = %143, %105 %110 = load i32, ptr %6, align 4 %111 = icmp slt i32 %110, 24 br i1 %111, label %112, label %146 112: ; preds = %109 %113 = load i32, ptr %6, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds [24 x i32], ptr %5, i64 0, i64 %114 %116 = load i32, ptr %115, align 4 store i32 %116, ptr %7, align 4 %117 = load ptr, ptr %2, align 8 %118 = load i32, ptr %7, align 4 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds i32, ptr %117, i64 %119 %121 = load i32, ptr %120, align 4 %122 = getelementptr inbounds [5 x i32], ptr %10, i64 0, i64 0 store i32 %121, ptr %122, align 16 %123 = load i32, ptr %9, align 4 %124 = load i32, ptr %6, align 4 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds [24 x i32], ptr %4, i64 0, i64 %125 %127 = load i32, ptr %126, align 4 %128 = shl i32 %123, %127 %129 = load i32, ptr %9, align 4 %130 = load i32, ptr %6, align 4 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds [24 x i32], ptr %4, i64 0, i64 %131 %133 = load i32, ptr %132, align 4 %134 = sub nsw i32 64, %133 %135 = ashr i32 %129, %134 %136 = or i32 %128, %135 %137 = load ptr, ptr %2, align 8 %138 = load i32, ptr %7, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds i32, ptr %137, i64 %139 store i32 %136, ptr %140, align 4 %141 = getelementptr inbounds [5 x i32], ptr %10, i64 0, i64 0 %142 = load i32, ptr %141, align 16 store i32 %142, ptr %9, align 4 br label %143 143: ; preds = %112 %144 = load i32, ptr %6, align 4 %145 = add nsw i32 %144, 1 store i32 %145, ptr %6, align 4 br label %109, !llvm.loop !10 146: ; preds = %109 store i32 0, ptr %7, align 4 br label %147 147: ; preds = %199, %146 %148 = load i32, ptr %7, align 4 %149 = icmp slt i32 %148, 25 br i1 %149, label %150, label %202 150: ; preds = %147 store i32 0, ptr %6, align 4 br label %151 151: ; preds = %165, %150 %152 = load i32, ptr %6, align 4 %153 = icmp slt i32 %152, 5 br i1 %153, label %154, label %168 154: ; preds = %151 %155 = load ptr, ptr %2, align 8 %156 = load i32, ptr %7, align 4 %157 = load i32, ptr %6, align 4 %158 = add nsw i32 %156, %157 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds i32, ptr %155, i64 %159 %161 = load i32, ptr %160, align 4 %162 = load i32, ptr %6, align 4 %163 = sext i32 %162 to i64 %164 = getelementptr inbounds [5 x i32], ptr %10, i64 0, i64 %163 store i32 %161, ptr %164, align 4 br label %165 165: ; preds = %154 %166 = load i32, ptr %6, align 4 %167 = add nsw i32 %166, 1 store i32 %167, ptr %6, align 4 br label %151, !llvm.loop !11 168: ; preds = %151 store i32 0, ptr %6, align 4 br label %169 169: ; preds = %195, %168 %170 = load i32, ptr %6, align 4 %171 = icmp slt i32 %170, 5 br i1 %171, label %172, label %198 172: ; preds = %169 %173 = load i32, ptr %6, align 4 %174 = add nsw i32 %173, 1 %175 = srem i32 %174, 5 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds [5 x i32], ptr %10, i64 0, i64 %176 %178 = load i32, ptr %177, align 4 %179 = xor i32 %178, -1 %180 = load i32, ptr %6, align 4 %181 = add nsw i32 %180, 2 %182 = srem i32 %181, 5 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds [5 x i32], ptr %10, i64 0, i64 %183 %185 = load i32, ptr %184, align 4 %186 = and i32 %179, %185 %187 = load ptr, ptr %2, align 8 %188 = load i32, ptr %7, align 4 %189 = load i32, ptr %6, align 4 %190 = add nsw i32 %188, %189 %191 = sext i32 %190 to i64 %192 = getelementptr inbounds i32, ptr %187, i64 %191 %193 = load i32, ptr %192, align 4 %194 = xor i32 %193, %186 store i32 %194, ptr %192, align 4 br label %195 195: ; preds = %172 %196 = load i32, ptr %6, align 4 %197 = add nsw i32 %196, 1 store i32 %197, ptr %6, align 4 br label %169, !llvm.loop !12 198: ; preds = %169 br label %199 199: ; preds = %198 %200 = load i32, ptr %7, align 4 %201 = add nsw i32 %200, 5 store i32 %201, ptr %7, align 4 br label %147, !llvm.loop !13 202: ; preds = %147 %203 = load i32, ptr %8, align 4 %204 = sext i32 %203 to i64 %205 = getelementptr inbounds [24 x i32], ptr %3, i64 0, i64 %204 %206 = load i32, ptr %205, align 4 %207 = load ptr, ptr %2, align 8 %208 = getelementptr inbounds i32, ptr %207, i64 0 %209 = load i32, ptr %208, align 4 %210 = xor i32 %209, %206 store i32 %210, ptr %208, align 4 br label %211 211: ; preds = %202 %212 = load i32, ptr %8, align 4 %213 = add nsw i32 %212, 1 store i32 %213, ptr %8, align 4 br label %11, !llvm.loop !14 214: ; preds = %11 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 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb1blqmly.c" target datalayout = "e-m:e-p270: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.sha3_keccakf.keccakf_rndc = private unnamed_addr constant [24 x i32] [i32 1, i32 32898, i32 32906, i32 -2147450880, i32 32907, i32 -2147483647, i32 -2147450751, i32 32777, i32 138, i32 136, i32 -2147450871, i32 -2147483638, i32 -2147450741, i32 139, i32 32905, i32 32771, i32 32770, i32 128, i32 32778, i32 -2147483638, i32 -2147450751, i32 32896, i32 -2147483647, i32 -2147450872], align 16 @__const.sha3_keccakf.keccakf_rotc = private unnamed_addr constant [24 x i32] [i32 1, i32 3, i32 6, i32 10, i32 15, i32 21, i32 28, i32 36, i32 45, i32 55, i32 2, i32 14, i32 27, i32 41, i32 56, i32 8, i32 25, i32 43, i32 62, i32 18, i32 39, i32 61, i32 20, i32 44], align 16 @__const.sha3_keccakf.keccakf_piln = private unnamed_addr constant [24 x i32] [i32 10, i32 7, i32 11, i32 17, i32 18, i32 3, i32 5, i32 16, i32 8, i32 21, i32 24, i32 4, i32 15, i32 23, i32 19, i32 13, i32 12, i32 2, i32 20, i32 14, i32 22, i32 9, i32 6, i32 1], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sha3_keccakf(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [24 x i32], align 16 %4 = alloca [24 x i32], align 16 %5 = alloca [24 x i32], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [5 x i32], align 16 store ptr %0, ptr %2, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.sha3_keccakf.keccakf_rndc, i64 96, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.sha3_keccakf.keccakf_rotc, i64 96, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.sha3_keccakf.keccakf_piln, i64 96, i1 false) store i32 0, ptr %8, align 4 %11 = load i32, ptr %8, align 4 %12 = icmp slt i32 %11, 24 br i1 %12, label %.lr.ph20, label %222 .lr.ph20: ; preds = %1 br label %13 13: ; preds = %.lr.ph20, %217 store i32 0, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %14, 5 br i1 %15, label %.lr.ph, label %58 .lr.ph: ; preds = %13 br label %16 16: ; preds = %.lr.ph, %53 %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 %21 = load i32, ptr %20, align 4 %22 = load ptr, ptr %2, align 8 %23 = load i32, ptr %6, align 4 %24 = add nsw i32 %23, 5 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %22, i64 %25 %27 = load i32, ptr %26, align 4 %28 = xor i32 %21, %27 %29 = load ptr, ptr %2, align 8 %30 = load i32, ptr %6, align 4 %31 = add nsw i32 %30, 10 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %29, i64 %32 %34 = load i32, ptr %33, align 4 %35 = xor i32 %28, %34 %36 = load ptr, ptr %2, align 8 %37 = load i32, ptr %6, align 4 %38 = add nsw i32 %37, 15 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %36, i64 %39 %41 = load i32, ptr %40, align 4 %42 = xor i32 %35, %41 %43 = load ptr, ptr %2, align 8 %44 = load i32, ptr %6, align 4 %45 = add nsw i32 %44, 20 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %43, i64 %46 %48 = load i32, ptr %47, align 4 %49 = xor i32 %42, %48 %50 = load i32, ptr %6, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [5 x i32], ptr %10, i64 0, i64 %51 store i32 %49, ptr %52, align 4 br label %53 53: ; preds = %16 %54 = load i32, ptr %6, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %6, align 4 %56 = load i32, ptr %6, align 4 %57 = icmp slt i32 %56, 5 br i1 %57, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %53 br label %58 58: ; preds = %._crit_edge, %13 store i32 0, ptr %6, align 4 %59 = load i32, ptr %6, align 4 %60 = icmp slt i32 %59, 5 br i1 %60, label %.lr.ph5, label %107 .lr.ph5: ; preds = %58 br label %61 61: ; preds = %.lr.ph5, %102 %62 = load i32, ptr %6, align 4 %63 = add nsw i32 %62, 4 %64 = srem i32 %63, 5 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [5 x i32], ptr %10, i64 0, i64 %65 %67 = load i32, ptr %66, align 4 %68 = load i32, ptr %6, align 4 %69 = add nsw i32 %68, 1 %70 = srem i32 %69, 5 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [5 x i32], ptr %10, i64 0, i64 %71 %73 = load i32, ptr %72, align 4 %74 = shl i32 %73, 1 %75 = load i32, ptr %6, align 4 %76 = add nsw i32 %75, 1 %77 = srem i32 %76, 5 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds [5 x i32], ptr %10, i64 0, i64 %78 %80 = load i32, ptr %79, align 4 %81 = ashr i32 %80, 63 %82 = or i32 %74, %81 %83 = xor i32 %67, %82 store i32 %83, ptr %9, align 4 store i32 0, ptr %7, align 4 %84 = load i32, ptr %7, align 4 %85 = icmp slt i32 %84, 25 br i1 %85, label %.lr.ph2, label %101 .lr.ph2: ; preds = %61 br label %86 86: ; preds = %.lr.ph2, %96 %87 = load i32, ptr %9, align 4 %88 = load ptr, ptr %2, align 8 %89 = load i32, ptr %7, align 4 %90 = load i32, ptr %6, align 4 %91 = add nsw i32 %89, %90 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds i32, ptr %88, i64 %92 %94 = load i32, ptr %93, align 4 %95 = xor i32 %94, %87 store i32 %95, ptr %93, align 4 br label %96 96: ; preds = %86 %97 = load i32, ptr %7, align 4 %98 = add nsw i32 %97, 5 store i32 %98, ptr %7, align 4 %99 = load i32, ptr %7, align 4 %100 = icmp slt i32 %99, 25 br i1 %100, label %86, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %96 br label %101 101: ; preds = %._crit_edge3, %61 br label %102 102: ; preds = %101 %103 = load i32, ptr %6, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %6, align 4 %105 = load i32, ptr %6, align 4 %106 = icmp slt i32 %105, 5 br i1 %106, label %61, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %102 br label %107 107: ; preds = %._crit_edge6, %58 %108 = load ptr, ptr %2, align 8 %109 = getelementptr inbounds i32, ptr %108, i64 1 %110 = load i32, ptr %109, align 4 store i32 %110, ptr %9, align 4 store i32 0, ptr %6, align 4 %111 = load i32, ptr %6, align 4 %112 = icmp slt i32 %111, 24 br i1 %112, label %.lr.ph8, label %149 .lr.ph8: ; preds = %107 br label %113 113: ; preds = %.lr.ph8, %144 %114 = load i32, ptr %6, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds [24 x i32], ptr %5, i64 0, i64 %115 %117 = load i32, ptr %116, align 4 store i32 %117, ptr %7, align 4 %118 = load ptr, ptr %2, align 8 %119 = load i32, ptr %7, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds i32, ptr %118, i64 %120 %122 = load i32, ptr %121, align 4 %123 = getelementptr inbounds [5 x i32], ptr %10, i64 0, i64 0 store i32 %122, ptr %123, align 16 %124 = load i32, ptr %9, align 4 %125 = load i32, ptr %6, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds [24 x i32], ptr %4, i64 0, i64 %126 %128 = load i32, ptr %127, align 4 %129 = shl i32 %124, %128 %130 = load i32, ptr %9, align 4 %131 = load i32, ptr %6, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds [24 x i32], ptr %4, i64 0, i64 %132 %134 = load i32, ptr %133, align 4 %135 = sub nsw i32 64, %134 %136 = ashr i32 %130, %135 %137 = or i32 %129, %136 %138 = load ptr, ptr %2, align 8 %139 = load i32, ptr %7, align 4 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds i32, ptr %138, i64 %140 store i32 %137, ptr %141, align 4 %142 = getelementptr inbounds [5 x i32], ptr %10, i64 0, i64 0 %143 = load i32, ptr %142, align 16 store i32 %143, ptr %9, align 4 br label %144 144: ; preds = %113 %145 = load i32, ptr %6, align 4 %146 = add nsw i32 %145, 1 store i32 %146, ptr %6, align 4 %147 = load i32, ptr %6, align 4 %148 = icmp slt i32 %147, 24 br i1 %148, label %113, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %144 br label %149 149: ; preds = %._crit_edge9, %107 store i32 0, ptr %7, align 4 %150 = load i32, ptr %7, align 4 %151 = icmp slt i32 %150, 25 br i1 %151, label %.lr.ph17, label %208 .lr.ph17: ; preds = %149 br label %152 152: ; preds = %.lr.ph17, %203 store i32 0, ptr %6, align 4 %153 = load i32, ptr %6, align 4 %154 = icmp slt i32 %153, 5 br i1 %154, label %.lr.ph11, label %171 .lr.ph11: ; preds = %152 br label %155 155: ; preds = %.lr.ph11, %166 %156 = load ptr, ptr %2, align 8 %157 = load i32, ptr %7, align 4 %158 = load i32, ptr %6, align 4 %159 = add nsw i32 %157, %158 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds i32, ptr %156, i64 %160 %162 = load i32, ptr %161, align 4 %163 = load i32, ptr %6, align 4 %164 = sext i32 %163 to i64 %165 = getelementptr inbounds [5 x i32], ptr %10, i64 0, i64 %164 store i32 %162, ptr %165, align 4 br label %166 166: ; preds = %155 %167 = load i32, ptr %6, align 4 %168 = add nsw i32 %167, 1 store i32 %168, ptr %6, align 4 %169 = load i32, ptr %6, align 4 %170 = icmp slt i32 %169, 5 br i1 %170, label %155, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %166 br label %171 171: ; preds = %._crit_edge12, %152 store i32 0, ptr %6, align 4 %172 = load i32, ptr %6, align 4 %173 = icmp slt i32 %172, 5 br i1 %173, label %.lr.ph14, label %202 .lr.ph14: ; preds = %171 br label %174 174: ; preds = %.lr.ph14, %197 %175 = load i32, ptr %6, align 4 %176 = add nsw i32 %175, 1 %177 = srem i32 %176, 5 %178 = sext i32 %177 to i64 %179 = getelementptr inbounds [5 x i32], ptr %10, i64 0, i64 %178 %180 = load i32, ptr %179, align 4 %181 = xor i32 %180, -1 %182 = load i32, ptr %6, align 4 %183 = add nsw i32 %182, 2 %184 = srem i32 %183, 5 %185 = sext i32 %184 to i64 %186 = getelementptr inbounds [5 x i32], ptr %10, i64 0, i64 %185 %187 = load i32, ptr %186, align 4 %188 = and i32 %181, %187 %189 = load ptr, ptr %2, align 8 %190 = load i32, ptr %7, align 4 %191 = load i32, ptr %6, align 4 %192 = add nsw i32 %190, %191 %193 = sext i32 %192 to i64 %194 = getelementptr inbounds i32, ptr %189, i64 %193 %195 = load i32, ptr %194, align 4 %196 = xor i32 %195, %188 store i32 %196, ptr %194, align 4 br label %197 197: ; preds = %174 %198 = load i32, ptr %6, align 4 %199 = add nsw i32 %198, 1 store i32 %199, ptr %6, align 4 %200 = load i32, ptr %6, align 4 %201 = icmp slt i32 %200, 5 br i1 %201, label %174, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %197 br label %202 202: ; preds = %._crit_edge15, %171 br label %203 203: ; preds = %202 %204 = load i32, ptr %7, align 4 %205 = add nsw i32 %204, 5 store i32 %205, ptr %7, align 4 %206 = load i32, ptr %7, align 4 %207 = icmp slt i32 %206, 25 br i1 %207, label %152, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %203 br label %208 208: ; preds = %._crit_edge18, %149 %209 = load i32, ptr %8, align 4 %210 = sext i32 %209 to i64 %211 = getelementptr inbounds [24 x i32], ptr %3, i64 0, i64 %210 %212 = load i32, ptr %211, align 4 %213 = load ptr, ptr %2, align 8 %214 = getelementptr inbounds i32, ptr %213, i64 0 %215 = load i32, ptr %214, align 4 %216 = xor i32 %215, %212 store i32 %216, ptr %214, align 4 br label %217 217: ; preds = %208 %218 = load i32, ptr %8, align 4 %219 = add nsw i32 %218, 1 store i32 %219, ptr %8, align 4 %220 = load i32, ptr %8, align 4 %221 = icmp slt i32 %220, 24 br i1 %221, label %13, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %217 br label %222 222: ; preds = %._crit_edge21, %1 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 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '/tmp/tmpmujpuayb.c' source_filename = "/tmp/tmpmujpuayb.c" target datalayout = "e-m:e-p270: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.a = private unnamed_addr constant [7 x i8] c"013469\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [7 x i8], align 1 %3 = alloca i32, align 4 %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 1 %2, ptr align 1 @__const.main.a, i64 7, i1 false) %6 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @printf(ptr noundef %6) store i32 0, ptr %3, align 4 store i32 7, ptr %5, align 4 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %5, align 4 %10 = add nsw i32 %8, %9 %11 = sdiv i32 %10, 2 store i32 %11, ptr %4, align 4 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef) #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/tmpmujpuayb.c" target datalayout = "e-m:e-p270: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.a = private unnamed_addr constant [7 x i8] c"013469\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [7 x i8], align 1 %3 = alloca i32, align 4 %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 1 %2, ptr align 1 @__const.main.a, i64 7, i1 false) %6 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @printf(ptr noundef %6) store i32 0, ptr %3, align 4 store i32 7, ptr %5, align 4 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %5, align 4 %10 = add nsw i32 %8, %9 %11 = sdiv i32 %10, 2 store i32 %11, ptr %4, align 4 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef) #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/tmpes7ujpq0.c' source_filename = "/tmp/tmpes7ujpq0.c" target datalayout = "e-m:e-p270: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/tmpes7ujpq0.c" target datalayout = "e-m:e-p270: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/tmp15w3ztmm.c' source_filename = "/tmp/tmp15w3ztmm.c" target datalayout = "e-m:e-p270: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 @nonsp(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %15, %1 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 %6 = sext i8 %5 to i32 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %3 %9 = load ptr, ptr %2, align 8 %10 = load i8, ptr %9, align 1 %11 = call i64 @isspace(i8 noundef signext %10) %12 = icmp ne i64 %11, 0 br label %13 13: ; preds = %8, %3 %14 = phi i1 [ false, %3 ], [ %12, %8 ] br i1 %14, label %15, label %18 15: ; preds = %13 %16 = load ptr, ptr %2, align 8 %17 = getelementptr inbounds i8, ptr %16, i32 1 store ptr %17, ptr %2, align 8 br label %3, !llvm.loop !6 18: ; preds = %13 %19 = load ptr, ptr %2, align 8 ret ptr %19 } declare i64 @isspace(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp15w3ztmm.c" target datalayout = "e-m:e-p270: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 @nonsp(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %15, %1 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 %6 = sext i8 %5 to i32 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %3 %9 = load ptr, ptr %2, align 8 %10 = load i8, ptr %9, align 1 %11 = call i64 @isspace(i8 noundef signext %10) %12 = icmp ne i64 %11, 0 br label %13 13: ; preds = %8, %3 %14 = phi i1 [ false, %3 ], [ %12, %8 ] br i1 %14, label %15, label %18 15: ; preds = %13 %16 = load ptr, ptr %2, align 8 %17 = getelementptr inbounds i8, ptr %16, i32 1 store ptr %17, ptr %2, align 8 br label %3, !llvm.loop !6 18: ; preds = %13 %19 = load ptr, ptr %2, align 8 ret ptr %19 } declare i64 @isspace(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpphtruwab.c' source_filename = "/tmp/tmpphtruwab.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"DreiChinesen.txt\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 store i32 0, ptr %1, align 4 %3 = call ptr @readFile(ptr noundef @.str) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @printf(ptr noundef @.str.1, ptr noundef %4) %6 = load ptr, ptr %2, align 8 %7 = call i32 @replaceChars(ptr noundef %6, i8 noundef signext 101, i8 noundef zeroext 97) %8 = load ptr, ptr %2, align 8 %9 = call i32 @replaceChars(ptr noundef %8, i8 noundef signext 105, i8 noundef zeroext 97) %10 = load ptr, ptr %2, align 8 %11 = call i32 @replaceChars(ptr noundef %10, i8 noundef signext 111, i8 noundef zeroext 97) %12 = load ptr, ptr %2, align 8 %13 = call i32 @replaceChars(ptr noundef %12, i8 noundef signext 117, i8 noundef zeroext 97) %14 = load ptr, ptr %2, align 8 %15 = call i32 @printf(ptr noundef @.str.1, ptr noundef %14) %16 = load ptr, ptr %2, align 8 %17 = call i32 @replaceChars(ptr noundef %16, i8 noundef signext 97, i8 noundef zeroext 101) %18 = load ptr, ptr %2, align 8 %19 = call i32 @printf(ptr noundef @.str.1, ptr noundef %18) %20 = load ptr, ptr %2, align 8 %21 = call i32 @replaceChars(ptr noundef %20, i8 noundef signext 101, i8 noundef zeroext 105) %22 = load ptr, ptr %2, align 8 %23 = call i32 @printf(ptr noundef @.str.1, ptr noundef %22) %24 = load ptr, ptr %2, align 8 %25 = call i32 @replaceChars(ptr noundef %24, i8 noundef signext 105, i8 noundef zeroext 111) %26 = load ptr, ptr %2, align 8 %27 = call i32 @printf(ptr noundef @.str.1, ptr noundef %26) %28 = load ptr, ptr %2, align 8 %29 = call i32 @replaceChars(ptr noundef %28, i8 noundef signext 111, i8 noundef zeroext 117) %30 = load ptr, ptr %2, align 8 %31 = call i32 @printf(ptr noundef @.str.1, ptr noundef %30) %32 = load ptr, ptr %2, align 8 %33 = call i32 @free(ptr noundef %32) ret i32 0 } declare ptr @readFile(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @replaceChars(ptr noundef, i8 noundef signext, i8 noundef zeroext) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpphtruwab.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"DreiChinesen.txt\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 store i32 0, ptr %1, align 4 %3 = call ptr @readFile(ptr noundef @.str) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @printf(ptr noundef @.str.1, ptr noundef %4) %6 = load ptr, ptr %2, align 8 %7 = call i32 @replaceChars(ptr noundef %6, i8 noundef signext 101, i8 noundef zeroext 97) %8 = load ptr, ptr %2, align 8 %9 = call i32 @replaceChars(ptr noundef %8, i8 noundef signext 105, i8 noundef zeroext 97) %10 = load ptr, ptr %2, align 8 %11 = call i32 @replaceChars(ptr noundef %10, i8 noundef signext 111, i8 noundef zeroext 97) %12 = load ptr, ptr %2, align 8 %13 = call i32 @replaceChars(ptr noundef %12, i8 noundef signext 117, i8 noundef zeroext 97) %14 = load ptr, ptr %2, align 8 %15 = call i32 @printf(ptr noundef @.str.1, ptr noundef %14) %16 = load ptr, ptr %2, align 8 %17 = call i32 @replaceChars(ptr noundef %16, i8 noundef signext 97, i8 noundef zeroext 101) %18 = load ptr, ptr %2, align 8 %19 = call i32 @printf(ptr noundef @.str.1, ptr noundef %18) %20 = load ptr, ptr %2, align 8 %21 = call i32 @replaceChars(ptr noundef %20, i8 noundef signext 101, i8 noundef zeroext 105) %22 = load ptr, ptr %2, align 8 %23 = call i32 @printf(ptr noundef @.str.1, ptr noundef %22) %24 = load ptr, ptr %2, align 8 %25 = call i32 @replaceChars(ptr noundef %24, i8 noundef signext 105, i8 noundef zeroext 111) %26 = load ptr, ptr %2, align 8 %27 = call i32 @printf(ptr noundef @.str.1, ptr noundef %26) %28 = load ptr, ptr %2, align 8 %29 = call i32 @replaceChars(ptr noundef %28, i8 noundef signext 111, i8 noundef zeroext 117) %30 = load ptr, ptr %2, align 8 %31 = call i32 @printf(ptr noundef @.str.1, ptr noundef %30) %32 = load ptr, ptr %2, align 8 %33 = call i32 @free(ptr noundef %32) ret i32 0 } declare ptr @readFile(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @replaceChars(ptr noundef, i8 noundef signext, i8 noundef zeroext) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl20algge.c' source_filename = "/tmp/tmpl20algge.c" target datalayout = "e-m:e-p270: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/tmpl20algge.c" target datalayout = "e-m:e-p270: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/tmp8659n0it.c' source_filename = "/tmp/tmp8659n0it.c" target datalayout = "e-m:e-p270: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 [10 x i8] c"%s: file\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = call i32 @exit(i32 noundef 1) #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/tmp8659n0it.c" target datalayout = "e-m:e-p270: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 [10 x i8] c"%s: file\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = call i32 @exit(i32 noundef 1) #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/tmpfhgcogrn.c' source_filename = "/tmp/tmpfhgcogrn.c" target datalayout = "e-m:e-p270: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/tmpfhgcogrn.c" target datalayout = "e-m:e-p270: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/tmpdsihoh8u.c' source_filename = "/tmp/tmpdsihoh8u.c" target datalayout = "e-m:e-p270: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.s1 = private unnamed_addr constant [17 x i8] c"This is a string\00", align 16 @.str = 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 [17 x i8], align 16 %2 = alloca [1000 x i8], align 16 %3 = alloca i32, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.s1, i64 17, i1 false) store i32 10, ptr %3, align 4 %4 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %5 = getelementptr inbounds [17 x i8], ptr %1, i64 0, i64 0 %6 = load i32, ptr %3, align 4 %7 = call i32 @strncpyy(ptr noundef %4, ptr noundef %5, i32 noundef %6) %8 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @printf(ptr noundef @.str, ptr noundef %8) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @strncpyy(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree 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/tmpdsihoh8u.c" target datalayout = "e-m:e-p270: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.s1 = private unnamed_addr constant [17 x i8] c"This is a string\00", align 16 @.str = 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 [17 x i8], align 16 %2 = alloca [1000 x i8], align 16 %3 = alloca i32, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.s1, i64 17, i1 false) store i32 10, ptr %3, align 4 %4 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %5 = getelementptr inbounds [17 x i8], ptr %1, i64 0, i64 0 %6 = load i32, ptr %3, align 4 %7 = call i32 @strncpyy(ptr noundef %4, ptr noundef %5, i32 noundef %6) %8 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @printf(ptr noundef @.str, ptr noundef %8) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @strncpyy(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree 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/tmpgw9f3mkc.c' source_filename = "/tmp/tmpgw9f3mkc.c" target datalayout = "e-m:e-p270: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"\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"Usage:\0A\00", align 1 @.str.2 = private unnamed_addr constant [45 x i8] c"script.exe script file path para file path\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Usage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) 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/tmpgw9f3mkc.c" target datalayout = "e-m:e-p270: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"\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"Usage:\0A\00", align 1 @.str.2 = private unnamed_addr constant [45 x i8] c"script.exe script file path para file path\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Usage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) 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/tmp74nk4i7q.c' source_filename = "/tmp/tmp74nk4i7q.c" target datalayout = "e-m:e-p270: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 [38 x i8] c"You are , trapped within the horrid \00", align 1 @.str.1 = private unnamed_addr constant [38 x i8] c"walls of the Cavez of Phear. Dig \00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"through dirt & avoid deadly rocks \00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"to collect diamonds . Money isn't\00", align 1 @.str.4 = private unnamed_addr constant [38 x i8] c"neccesary. Run from monsters . Bombs\00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c" come in packs . \00", align 1 @.str.6 = private unnamed_addr constant [38 x i8] c"Press ESC to return to the main menu.\00", align 1 @.str.7 = private unnamed_addr constant [38 x i8] c"For current controls check settings. \00", align 1 @COLOR_WHITE = dso_local global i32 0, align 4 @A_BOLD = dso_local global i8 0, align 1 @COLOR_CYAN = dso_local global i32 0, align 4 @A_NORMAL = dso_local global i8 0, align 1 @COLOR_RED = dso_local global i32 0, align 4 @COLOR_YELLOW = dso_local global i32 0, align 4 @COLOR_GREEN = dso_local global i32 0, align 4 @COLOR_MAGENTA = dso_local global i32 0, align 4 @COLOR_BLUE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @draw_help() #0 { %1 = alloca i8, align 1 %2 = alloca ptr, align 8 store i8 32, ptr %1, align 1 %3 = call ptr @newwin(i32 noundef 15, i32 noundef 37, i32 noundef 5, i32 noundef 43) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @mvwaddstr(ptr noundef %4, i32 noundef 1, i32 noundef 0, ptr noundef @.str) %6 = load ptr, ptr %2, align 8 %7 = call i32 @mvwaddstr(ptr noundef %6, i32 noundef 2, i32 noundef 0, ptr noundef @.str.1) %8 = load ptr, ptr %2, align 8 %9 = call i32 @mvwaddstr(ptr noundef %8, i32 noundef 3, i32 noundef 0, ptr noundef @.str.2) %10 = load ptr, ptr %2, align 8 %11 = call i32 @mvwaddstr(ptr noundef %10, i32 noundef 4, i32 noundef 0, ptr noundef @.str.3) %12 = load ptr, ptr %2, align 8 %13 = call i32 @mvwaddstr(ptr noundef %12, i32 noundef 5, i32 noundef 0, ptr noundef @.str.4) %14 = load ptr, ptr %2, align 8 %15 = call i32 @mvwaddstr(ptr noundef %14, i32 noundef 6, i32 noundef 0, ptr noundef @.str.5) %16 = load ptr, ptr %2, align 8 %17 = call i32 @mvwaddstr(ptr noundef %16, i32 noundef 7, i32 noundef 0, ptr noundef @.str.6) %18 = load ptr, ptr %2, align 8 %19 = call i32 @mvwaddstr(ptr noundef %18, i32 noundef 8, i32 noundef 0, ptr noundef @.str.7) %20 = load ptr, ptr %2, align 8 %21 = load i32, ptr @COLOR_WHITE, align 4 %22 = call signext i8 @COLOR_PAIR(i32 noundef %21) %23 = sext i8 %22 to i32 %24 = or i32 90, %23 %25 = load i8, ptr @A_BOLD, align 1 %26 = sext i8 %25 to i32 %27 = or i32 %24, %26 %28 = trunc i32 %27 to i8 %29 = call i32 @mvwaddch(ptr noundef %20, i32 noundef 1, i32 noundef 8, i8 noundef signext %28) %30 = load ptr, ptr %2, align 8 %31 = load i32, ptr @COLOR_CYAN, align 4 %32 = call signext i8 @COLOR_PAIR(i32 noundef %31) %33 = sext i8 %32 to i32 %34 = or i32 58, %33 %35 = load i8, ptr @A_NORMAL, align 1 %36 = sext i8 %35 to i32 %37 = or i32 %34, %36 %38 = trunc i32 %37 to i8 %39 = call i32 @mvwaddch(ptr noundef %30, i32 noundef 2, i32 noundef 6, i8 noundef signext %38) %40 = load ptr, ptr %2, align 8 %41 = load i32, ptr @COLOR_RED, align 4 %42 = call signext i8 @COLOR_PAIR(i32 noundef %41) %43 = sext i8 %42 to i32 %44 = or i32 35, %43 %45 = load i8, ptr @A_NORMAL, align 1 %46 = sext i8 %45 to i32 %47 = or i32 %44, %46 %48 = trunc i32 %47 to i8 %49 = call i32 @mvwaddch(ptr noundef %40, i32 noundef 3, i32 noundef 13, i8 noundef signext %48) %50 = load ptr, ptr %2, align 8 %51 = load i32, ptr @COLOR_WHITE, align 4 %52 = call signext i8 @COLOR_PAIR(i32 noundef %51) %53 = sext i8 %52 to i32 %54 = or i32 79, %53 %55 = load i8, ptr @A_NORMAL, align 1 %56 = sext i8 %55 to i32 %57 = or i32 %54, %56 %58 = trunc i32 %57 to i8 %59 = call i32 @mvwaddch(ptr noundef %50, i32 noundef 3, i32 noundef 36, i8 noundef signext %58) %60 = load ptr, ptr %2, align 8 %61 = load i32, ptr @COLOR_YELLOW, align 4 %62 = call signext i8 @COLOR_PAIR(i32 noundef %61) %63 = sext i8 %62 to i32 %64 = or i32 42, %63 %65 = load i8, ptr @A_BOLD, align 1 %66 = sext i8 %65 to i32 %67 = or i32 %64, %66 %68 = trunc i32 %67 to i8 %69 = call i32 @mvwaddch(ptr noundef %60, i32 noundef 4, i32 noundef 20, i8 noundef signext %68) %70 = load ptr, ptr %2, align 8 %71 = load i32, ptr @COLOR_GREEN, align 4 %72 = call signext i8 @COLOR_PAIR(i32 noundef %71) %73 = sext i8 %72 to i32 %74 = or i32 36, %73 %75 = load i8, ptr @A_NORMAL, align 1 %76 = sext i8 %75 to i32 %77 = or i32 %74, %76 %78 = trunc i32 %77 to i8 %79 = call i32 @mvwaddch(ptr noundef %70, i32 noundef 4, i32 noundef 29, i8 noundef signext %78) %80 = load ptr, ptr %2, align 8 %81 = load i32, ptr @COLOR_MAGENTA, align 4 %82 = call signext i8 @COLOR_PAIR(i32 noundef %81) %83 = sext i8 %82 to i32 %84 = or i32 77, %83 %85 = load i8, ptr @A_BOLD, align 1 %86 = sext i8 %85 to i32 %87 = or i32 %84, %86 %88 = trunc i32 %87 to i8 %89 = call i32 @mvwaddch(ptr noundef %80, i32 noundef 5, i32 noundef 29, i8 noundef signext %88) %90 = load ptr, ptr %2, align 8 %91 = load i32, ptr @COLOR_BLUE, align 4 %92 = call signext i8 @COLOR_PAIR(i32 noundef %91) %93 = sext i8 %92 to i32 %94 = or i32 64, %93 %95 = load i8, ptr @A_BOLD, align 1 %96 = sext i8 %95 to i32 %97 = or i32 %94, %96 %98 = trunc i32 %97 to i8 %99 = call i32 @mvwaddch(ptr noundef %90, i32 noundef 6, i32 noundef 0, i8 noundef signext %98) %100 = load ptr, ptr %2, align 8 %101 = load i32, ptr @COLOR_BLUE, align 4 %102 = call signext i8 @COLOR_PAIR(i32 noundef %101) %103 = sext i8 %102 to i32 %104 = or i32 37, %103 %105 = load i8, ptr @A_BOLD, align 1 %106 = sext i8 %105 to i32 %107 = or i32 %104, %106 %108 = trunc i32 %107 to i8 %109 = call i32 @mvwaddch(ptr noundef %100, i32 noundef 6, i32 noundef 16, i8 noundef signext %108) %110 = load ptr, ptr %2, align 8 %111 = call i32 @wrefresh(ptr noundef %110) br label %112 112: ; preds = %123, %0 %113 = call i32 (...) @getch() %114 = call signext i8 @tolower(i32 noundef %113) store i8 %114, ptr %1, align 1 br label %115 115: ; preds = %112 %116 = load i8, ptr %1, align 1 %117 = call i32 @pressed(i32 noundef 10, i8 noundef signext %116) %118 = icmp ne i32 %117, 0 br i1 %118, label %123, label %119 119: ; preds = %115 %120 = load i8, ptr %1, align 1 %121 = sext i8 %120 to i32 %122 = icmp ne i32 %121, 27 br label %123 123: ; preds = %119, %115 %124 = phi i1 [ false, %115 ], [ %122, %119 ] br i1 %124, label %112, label %125, !llvm.loop !6 125: ; preds = %123 %126 = load ptr, ptr %2, align 8 %127 = call i32 @erase_window(ptr noundef %126, i32 noundef 15, i32 noundef 37) ret void } declare ptr @newwin(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mvwaddstr(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @mvwaddch(ptr noundef, i32 noundef, i32 noundef, i8 noundef signext) #1 declare signext i8 @COLOR_PAIR(i32 noundef) #1 declare i32 @wrefresh(ptr noundef) #1 declare signext i8 @tolower(i32 noundef) #1 declare i32 @getch(...) #1 declare i32 @pressed(i32 noundef, i8 noundef signext) #1 declare i32 @erase_window(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp74nk4i7q.c" target datalayout = "e-m:e-p270: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 [38 x i8] c"You are , trapped within the horrid \00", align 1 @.str.1 = private unnamed_addr constant [38 x i8] c"walls of the Cavez of Phear. Dig \00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"through dirt & avoid deadly rocks \00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"to collect diamonds . Money isn't\00", align 1 @.str.4 = private unnamed_addr constant [38 x i8] c"neccesary. Run from monsters . Bombs\00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c" come in packs . \00", align 1 @.str.6 = private unnamed_addr constant [38 x i8] c"Press ESC to return to the main menu.\00", align 1 @.str.7 = private unnamed_addr constant [38 x i8] c"For current controls check settings. \00", align 1 @COLOR_WHITE = dso_local global i32 0, align 4 @A_BOLD = dso_local global i8 0, align 1 @COLOR_CYAN = dso_local global i32 0, align 4 @A_NORMAL = dso_local global i8 0, align 1 @COLOR_RED = dso_local global i32 0, align 4 @COLOR_YELLOW = dso_local global i32 0, align 4 @COLOR_GREEN = dso_local global i32 0, align 4 @COLOR_MAGENTA = dso_local global i32 0, align 4 @COLOR_BLUE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @draw_help() #0 { %1 = alloca i8, align 1 %2 = alloca ptr, align 8 store i8 32, ptr %1, align 1 %3 = call ptr @newwin(i32 noundef 15, i32 noundef 37, i32 noundef 5, i32 noundef 43) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @mvwaddstr(ptr noundef %4, i32 noundef 1, i32 noundef 0, ptr noundef @.str) %6 = load ptr, ptr %2, align 8 %7 = call i32 @mvwaddstr(ptr noundef %6, i32 noundef 2, i32 noundef 0, ptr noundef @.str.1) %8 = load ptr, ptr %2, align 8 %9 = call i32 @mvwaddstr(ptr noundef %8, i32 noundef 3, i32 noundef 0, ptr noundef @.str.2) %10 = load ptr, ptr %2, align 8 %11 = call i32 @mvwaddstr(ptr noundef %10, i32 noundef 4, i32 noundef 0, ptr noundef @.str.3) %12 = load ptr, ptr %2, align 8 %13 = call i32 @mvwaddstr(ptr noundef %12, i32 noundef 5, i32 noundef 0, ptr noundef @.str.4) %14 = load ptr, ptr %2, align 8 %15 = call i32 @mvwaddstr(ptr noundef %14, i32 noundef 6, i32 noundef 0, ptr noundef @.str.5) %16 = load ptr, ptr %2, align 8 %17 = call i32 @mvwaddstr(ptr noundef %16, i32 noundef 7, i32 noundef 0, ptr noundef @.str.6) %18 = load ptr, ptr %2, align 8 %19 = call i32 @mvwaddstr(ptr noundef %18, i32 noundef 8, i32 noundef 0, ptr noundef @.str.7) %20 = load ptr, ptr %2, align 8 %21 = load i32, ptr @COLOR_WHITE, align 4 %22 = call signext i8 @COLOR_PAIR(i32 noundef %21) %23 = sext i8 %22 to i32 %24 = or i32 90, %23 %25 = load i8, ptr @A_BOLD, align 1 %26 = sext i8 %25 to i32 %27 = or i32 %24, %26 %28 = trunc i32 %27 to i8 %29 = call i32 @mvwaddch(ptr noundef %20, i32 noundef 1, i32 noundef 8, i8 noundef signext %28) %30 = load ptr, ptr %2, align 8 %31 = load i32, ptr @COLOR_CYAN, align 4 %32 = call signext i8 @COLOR_PAIR(i32 noundef %31) %33 = sext i8 %32 to i32 %34 = or i32 58, %33 %35 = load i8, ptr @A_NORMAL, align 1 %36 = sext i8 %35 to i32 %37 = or i32 %34, %36 %38 = trunc i32 %37 to i8 %39 = call i32 @mvwaddch(ptr noundef %30, i32 noundef 2, i32 noundef 6, i8 noundef signext %38) %40 = load ptr, ptr %2, align 8 %41 = load i32, ptr @COLOR_RED, align 4 %42 = call signext i8 @COLOR_PAIR(i32 noundef %41) %43 = sext i8 %42 to i32 %44 = or i32 35, %43 %45 = load i8, ptr @A_NORMAL, align 1 %46 = sext i8 %45 to i32 %47 = or i32 %44, %46 %48 = trunc i32 %47 to i8 %49 = call i32 @mvwaddch(ptr noundef %40, i32 noundef 3, i32 noundef 13, i8 noundef signext %48) %50 = load ptr, ptr %2, align 8 %51 = load i32, ptr @COLOR_WHITE, align 4 %52 = call signext i8 @COLOR_PAIR(i32 noundef %51) %53 = sext i8 %52 to i32 %54 = or i32 79, %53 %55 = load i8, ptr @A_NORMAL, align 1 %56 = sext i8 %55 to i32 %57 = or i32 %54, %56 %58 = trunc i32 %57 to i8 %59 = call i32 @mvwaddch(ptr noundef %50, i32 noundef 3, i32 noundef 36, i8 noundef signext %58) %60 = load ptr, ptr %2, align 8 %61 = load i32, ptr @COLOR_YELLOW, align 4 %62 = call signext i8 @COLOR_PAIR(i32 noundef %61) %63 = sext i8 %62 to i32 %64 = or i32 42, %63 %65 = load i8, ptr @A_BOLD, align 1 %66 = sext i8 %65 to i32 %67 = or i32 %64, %66 %68 = trunc i32 %67 to i8 %69 = call i32 @mvwaddch(ptr noundef %60, i32 noundef 4, i32 noundef 20, i8 noundef signext %68) %70 = load ptr, ptr %2, align 8 %71 = load i32, ptr @COLOR_GREEN, align 4 %72 = call signext i8 @COLOR_PAIR(i32 noundef %71) %73 = sext i8 %72 to i32 %74 = or i32 36, %73 %75 = load i8, ptr @A_NORMAL, align 1 %76 = sext i8 %75 to i32 %77 = or i32 %74, %76 %78 = trunc i32 %77 to i8 %79 = call i32 @mvwaddch(ptr noundef %70, i32 noundef 4, i32 noundef 29, i8 noundef signext %78) %80 = load ptr, ptr %2, align 8 %81 = load i32, ptr @COLOR_MAGENTA, align 4 %82 = call signext i8 @COLOR_PAIR(i32 noundef %81) %83 = sext i8 %82 to i32 %84 = or i32 77, %83 %85 = load i8, ptr @A_BOLD, align 1 %86 = sext i8 %85 to i32 %87 = or i32 %84, %86 %88 = trunc i32 %87 to i8 %89 = call i32 @mvwaddch(ptr noundef %80, i32 noundef 5, i32 noundef 29, i8 noundef signext %88) %90 = load ptr, ptr %2, align 8 %91 = load i32, ptr @COLOR_BLUE, align 4 %92 = call signext i8 @COLOR_PAIR(i32 noundef %91) %93 = sext i8 %92 to i32 %94 = or i32 64, %93 %95 = load i8, ptr @A_BOLD, align 1 %96 = sext i8 %95 to i32 %97 = or i32 %94, %96 %98 = trunc i32 %97 to i8 %99 = call i32 @mvwaddch(ptr noundef %90, i32 noundef 6, i32 noundef 0, i8 noundef signext %98) %100 = load ptr, ptr %2, align 8 %101 = load i32, ptr @COLOR_BLUE, align 4 %102 = call signext i8 @COLOR_PAIR(i32 noundef %101) %103 = sext i8 %102 to i32 %104 = or i32 37, %103 %105 = load i8, ptr @A_BOLD, align 1 %106 = sext i8 %105 to i32 %107 = or i32 %104, %106 %108 = trunc i32 %107 to i8 %109 = call i32 @mvwaddch(ptr noundef %100, i32 noundef 6, i32 noundef 16, i8 noundef signext %108) %110 = load ptr, ptr %2, align 8 %111 = call i32 @wrefresh(ptr noundef %110) br label %112 112: ; preds = %123, %0 %113 = call i32 (...) @getch() %114 = call signext i8 @tolower(i32 noundef %113) store i8 %114, ptr %1, align 1 br label %115 115: ; preds = %112 %116 = load i8, ptr %1, align 1 %117 = call i32 @pressed(i32 noundef 10, i8 noundef signext %116) %118 = icmp ne i32 %117, 0 br i1 %118, label %123, label %119 119: ; preds = %115 %120 = load i8, ptr %1, align 1 %121 = sext i8 %120 to i32 %122 = icmp ne i32 %121, 27 br label %123 123: ; preds = %119, %115 %124 = phi i1 [ false, %115 ], [ %122, %119 ] br i1 %124, label %112, label %125, !llvm.loop !6 125: ; preds = %123 %126 = load ptr, ptr %2, align 8 %127 = call i32 @erase_window(ptr noundef %126, i32 noundef 15, i32 noundef 37) ret void } declare ptr @newwin(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mvwaddstr(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @mvwaddch(ptr noundef, i32 noundef, i32 noundef, i8 noundef signext) #1 declare signext i8 @COLOR_PAIR(i32 noundef) #1 declare i32 @wrefresh(ptr noundef) #1 declare signext i8 @tolower(i32 noundef) #1 declare i32 @getch(...) #1 declare i32 @pressed(i32 noundef, i8 noundef signext) #1 declare i32 @erase_window(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpl3th629s.c' source_filename = "/tmp/tmpl3th629s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGABRT = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl3th629s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGABRT = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppd4vt1ef.c' source_filename = "/tmp/tmppd4vt1ef.c" target datalayout = "e-m:e-p270: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 @get_ticks() #0 { %1 = call i32 (...) @OSDEP_GetTicks() ret i32 %1 } declare i32 @OSDEP_GetTicks(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmppd4vt1ef.c" target datalayout = "e-m:e-p270: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 @get_ticks() #0 { %1 = call i32 (...) @OSDEP_GetTicks() ret i32 %1 } declare i32 @OSDEP_GetTicks(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpp5e_jhsr.c' source_filename = "/tmp/tmpp5e_jhsr.c" target datalayout = "e-m:e-p270: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/tmpp5e_jhsr.c" target datalayout = "e-m:e-p270: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/tmpxap_z3wm.c' source_filename = "/tmp/tmpxap_z3wm.c" target datalayout = "e-m:e-p270: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 @get_lo(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 ret i32 %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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpxap_z3wm.c" target datalayout = "e-m:e-p270: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 @get_lo(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 ret i32 %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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmp982qomqs.c' source_filename = "/tmp/tmp982qomqs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"GPIO%d too big\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gpio_set_falling(i32 noundef %0) #0 { %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 %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp sgt i32 %7, 54 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load i32, ptr %3, align 4 %11 = call i32 @printk(ptr noundef @.str, i32 noundef %10) store i32 -1, ptr %2, align 4 br label %28 12: ; preds = %1 %13 = load i32, ptr %3, align 4 %14 = and i32 %13, 31 %15 = shl i32 1, %14 store i32 %15, ptr %5, align 4 %16 = load i32, ptr %3, align 4 %17 = sdiv i32 %16, 32 %18 = mul nsw i32 %17, 4 store i32 %18, ptr %4, align 4 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 2097240, %19 %21 = call i32 @bcm2835_read(i32 noundef %20) store i32 %21, ptr %6, align 4 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 2097240, %22 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %5, align 4 %26 = or i32 %24, %25 %27 = call i32 @bcm2835_write(i32 noundef %23, i32 noundef %26) store i32 0, ptr %2, align 4 br label %28 28: ; preds = %12, %9 %29 = load i32, ptr %2, align 4 ret i32 %29 } declare i32 @printk(ptr noundef, i32 noundef) #1 declare i32 @bcm2835_read(i32 noundef) #1 declare i32 @bcm2835_write(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/tmp982qomqs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"GPIO%d too big\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gpio_set_falling(i32 noundef %0) #0 { %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 %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp sgt i32 %7, 54 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load i32, ptr %3, align 4 %11 = call i32 @printk(ptr noundef @.str, i32 noundef %10) store i32 -1, ptr %2, align 4 br label %28 12: ; preds = %1 %13 = load i32, ptr %3, align 4 %14 = and i32 %13, 31 %15 = shl i32 1, %14 store i32 %15, ptr %5, align 4 %16 = load i32, ptr %3, align 4 %17 = sdiv i32 %16, 32 %18 = mul nsw i32 %17, 4 store i32 %18, ptr %4, align 4 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 2097240, %19 %21 = call i32 @bcm2835_read(i32 noundef %20) store i32 %21, ptr %6, align 4 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 2097240, %22 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %5, align 4 %26 = or i32 %24, %25 %27 = call i32 @bcm2835_write(i32 noundef %23, i32 noundef %26) store i32 0, ptr %2, align 4 br label %28 28: ; preds = %12, %9 %29 = load i32, ptr %2, align 4 ret i32 %29 } declare i32 @printk(ptr noundef, i32 noundef) #1 declare i32 @bcm2835_read(i32 noundef) #1 declare i32 @bcm2835_write(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/tmpqfc56p69.c' source_filename = "/tmp/tmpqfc56p69.c" target datalayout = "e-m:e-p270: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 [9 x i8] c"%s(%d)%s\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_confilicted_name(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [512 x i8], align 16 %7 = alloca [256 x i8], align 16 %8 = alloca [512 x i8], align 16 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca [8 x i8], align 1 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca [512 x i8], align 16 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca [256 x i8], align 16 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store ptr null, ptr %5, align 8 store ptr null, ptr %9, align 8 store ptr null, ptr %10, align 8 store i32 0, ptr %12, align 4 store ptr null, ptr %13, align 8 store i32 0, ptr %15, align 4 store i32 0, ptr %16, align 4 %18 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0 %19 = call i32 @memset(ptr noundef %18, i32 noundef 0, i32 noundef 512) %20 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %21 = call i32 @memset(ptr noundef %20, i32 noundef 0, i32 noundef 256) %22 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %23 = call i32 @memset(ptr noundef %22, i32 noundef 0, i32 noundef 512) %24 = getelementptr inbounds [512 x i8], ptr %14, i64 0, i64 0 %25 = call i32 @memset(ptr noundef %24, i32 noundef 0, i32 noundef 512) %26 = getelementptr inbounds [256 x i8], ptr %17, i64 0, i64 0 %27 = call i32 @memset(ptr noundef %26, i32 noundef 0, i32 noundef 256) %28 = load ptr, ptr %3, align 8 %29 = call ptr @parse_name_from_path(ptr noundef %28) store ptr %29, ptr %13, align 8 %30 = getelementptr inbounds [512 x i8], ptr %14, i64 0, i64 0 %31 = load ptr, ptr %3, align 8 %32 = load ptr, ptr %3, align 8 %33 = call i64 @strlen(ptr noundef %32) %34 = load ptr, ptr %13, align 8 %35 = call i64 @strlen(ptr noundef %34) %36 = sub nsw i64 %33, %35 %37 = sub nsw i64 %36, 1 %38 = call i32 @strncpy(ptr noundef %30, ptr noundef %31, i64 noundef %37) %39 = call i64 @malloc(i32 noundef 512) %40 = inttoptr i64 %39 to ptr store ptr %40, ptr %5, align 8 %41 = load i32, ptr %4, align 4 %42 = icmp ne i32 %41, 0 br i1 %42, label %43, label %47 43: ; preds = %2 %44 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %45 = load ptr, ptr %13, align 8 %46 = call i32 @strcpy(ptr noundef %44, ptr noundef %45) br label %75 47: ; preds = %2 %48 = load ptr, ptr %13, align 8 %49 = call ptr @strrchr(ptr noundef %48, i8 noundef signext 46) store ptr %49, ptr %9, align 8 %50 = load ptr, ptr %9, align 8 %51 = icmp ne ptr %50, null br i1 %51, label %52, label %70 52: ; preds = %47 %53 = load ptr, ptr %13, align 8 %54 = getelementptr inbounds i8, ptr %53, i64 0 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = icmp ne i32 %56, 46 br i1 %57, label %58, label %70 58: ; preds = %52 %59 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %60 = load ptr, ptr %13, align 8 %61 = load ptr, ptr %13, align 8 %62 = call i64 @strlen(ptr noundef %61) %63 = load ptr, ptr %9, align 8 %64 = call i64 @strlen(ptr noundef %63) %65 = sub nsw i64 %62, %64 %66 = call i32 @strncpy(ptr noundef %59, ptr noundef %60, i64 noundef %65) %67 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %68 = load ptr, ptr %9, align 8 %69 = call i32 @strcpy(ptr noundef %67, ptr noundef %68) br label %74 70: ; preds = %52, %47 %71 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %72 = load ptr, ptr %13, align 8 %73 = call i32 @strcpy(ptr noundef %71, ptr noundef %72) br label %74 74: ; preds = %70, %58 br label %75 75: ; preds = %74, %43 store ptr null, ptr %9, align 8 %76 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %77 = call ptr @strrchr(ptr noundef %76, i8 noundef signext 40) store ptr %77, ptr %9, align 8 %78 = load ptr, ptr %9, align 8 %79 = icmp ne ptr %78, null br i1 %79, label %80, label %126 80: ; preds = %75 %81 = load ptr, ptr %9, align 8 %82 = call ptr @strchr(ptr noundef %81, i8 noundef signext 41) store ptr %82, ptr %10, align 8 %83 = load ptr, ptr %10, align 8 %84 = icmp ne ptr %83, null br i1 %84, label %85, label %125 85: ; preds = %80 %86 = load ptr, ptr %9, align 8 %87 = getelementptr inbounds i8, ptr %86, i32 1 store ptr %87, ptr %9, align 8 %88 = getelementptr inbounds [8 x i8], ptr %11, i64 0, i64 0 %89 = call i32 @memset(ptr noundef %88, i32 noundef 0, i32 noundef 8) %90 = getelementptr inbounds [8 x i8], ptr %11, i64 0, i64 0 %91 = load ptr, ptr %9, align 8 %92 = load ptr, ptr %9, align 8 %93 = call i64 @strlen(ptr noundef %92) %94 = load ptr, ptr %10, align 8 %95 = call i64 @strlen(ptr noundef %94) %96 = sub nsw i64 %93, %95 %97 = call i32 @strncpy(ptr noundef %90, ptr noundef %91, i64 noundef %96) %98 = getelementptr inbounds [8 x i8], ptr %11, i64 0, i64 0 %99 = call i64 @is_number(ptr noundef %98) %100 = icmp ne i64 %99, 0 br i1 %100, label %101, label %124 101: ; preds = %85 %102 = getelementptr inbounds [8 x i8], ptr %11, i64 0, i64 0 %103 = call i32 @atoi(ptr noundef %102) store i32 %103, ptr %12, align 4 %104 = load i32, ptr %12, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %12, align 4 %106 = load i32, ptr %12, align 4 store i32 %106, ptr %15, align 4 br label %107 107: ; preds = %111, %101 %108 = load i32, ptr %15, align 4 %109 = sdiv i32 %108, 10 store i32 %109, ptr %15, align 4 %110 = icmp ne i32 %109, 0 br i1 %110, label %111, label %114 111: ; preds = %107 %112 = load i32, ptr %16, align 4 %113 = add nsw i32 %112, 1 store i32 %113, ptr %16, align 4 br label %107, !llvm.loop !6 114: ; preds = %107 %115 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0 %116 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %117 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %118 = call i64 @strlen(ptr noundef %117) %119 = load ptr, ptr %9, align 8 %120 = call i64 @strlen(ptr noundef %119) %121 = sub nsw i64 %118, %120 %122 = sub nsw i64 %121, 1 %123 = call i32 @strncpy(ptr noundef %115, ptr noundef %116, i64 noundef %122) br label %124 124: ; preds = %114, %85 br label %125 125: ; preds = %124, %80 br label %126 126: ; preds = %125, %75 %127 = load i32, ptr %12, align 4 %128 = icmp eq i32 %127, 0 br i1 %128, label %129, label %133 129: ; preds = %126 store i32 1, ptr %12, align 4 %130 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0 %131 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %132 = call i32 @strcpy(ptr noundef %130, ptr noundef %131) br label %133 133: ; preds = %129, %126 %134 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0 %135 = load i32, ptr %16, align 4 %136 = sub nsw i32 252, %135 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %139 = call i64 @strlen(ptr noundef %138) %140 = sub nsw i64 %137, %139 %141 = trunc i64 %140 to i32 %142 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0 %143 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %134, i32 noundef %141, ptr noundef @.str, ptr noundef %142) %144 = getelementptr inbounds [256 x i8], ptr %17, i64 0, i64 0 %145 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0 %146 = load i32, ptr %12, align 4 %147 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %148 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %144, i32 noundef 256, ptr noundef @.str.1, ptr noundef %145, i32 noundef %146, ptr noundef %147) %149 = load ptr, ptr %5, align 8 %150 = getelementptr inbounds [512 x i8], ptr %14, i64 0, i64 0 %151 = getelementptr inbounds [256 x i8], ptr %17, i64 0, i64 0 %152 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %149, i32 noundef 512, ptr noundef @.str.2, ptr noundef %150, ptr noundef %151) %153 = load ptr, ptr %13, align 8 %154 = call i32 @free(ptr noundef %153) store ptr null, ptr %13, align 8 %155 = load ptr, ptr %5, align 8 ret ptr %155 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @parse_name_from_path(ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i64 @is_number(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqfc56p69.c" target datalayout = "e-m:e-p270: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 [9 x i8] c"%s(%d)%s\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_confilicted_name(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [512 x i8], align 16 %7 = alloca [256 x i8], align 16 %8 = alloca [512 x i8], align 16 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca [8 x i8], align 1 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca [512 x i8], align 16 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca [256 x i8], align 16 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store ptr null, ptr %5, align 8 store ptr null, ptr %9, align 8 store ptr null, ptr %10, align 8 store i32 0, ptr %12, align 4 store ptr null, ptr %13, align 8 store i32 0, ptr %15, align 4 store i32 0, ptr %16, align 4 %18 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0 %19 = call i32 @memset(ptr noundef %18, i32 noundef 0, i32 noundef 512) %20 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %21 = call i32 @memset(ptr noundef %20, i32 noundef 0, i32 noundef 256) %22 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %23 = call i32 @memset(ptr noundef %22, i32 noundef 0, i32 noundef 512) %24 = getelementptr inbounds [512 x i8], ptr %14, i64 0, i64 0 %25 = call i32 @memset(ptr noundef %24, i32 noundef 0, i32 noundef 512) %26 = getelementptr inbounds [256 x i8], ptr %17, i64 0, i64 0 %27 = call i32 @memset(ptr noundef %26, i32 noundef 0, i32 noundef 256) %28 = load ptr, ptr %3, align 8 %29 = call ptr @parse_name_from_path(ptr noundef %28) store ptr %29, ptr %13, align 8 %30 = getelementptr inbounds [512 x i8], ptr %14, i64 0, i64 0 %31 = load ptr, ptr %3, align 8 %32 = load ptr, ptr %3, align 8 %33 = call i64 @strlen(ptr noundef %32) %34 = load ptr, ptr %13, align 8 %35 = call i64 @strlen(ptr noundef %34) %36 = sub nsw i64 %33, %35 %37 = sub nsw i64 %36, 1 %38 = call i32 @strncpy(ptr noundef %30, ptr noundef %31, i64 noundef %37) %39 = call i64 @malloc(i32 noundef 512) %40 = inttoptr i64 %39 to ptr store ptr %40, ptr %5, align 8 %41 = load i32, ptr %4, align 4 %42 = icmp ne i32 %41, 0 br i1 %42, label %43, label %47 43: ; preds = %2 %44 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %45 = load ptr, ptr %13, align 8 %46 = call i32 @strcpy(ptr noundef %44, ptr noundef %45) br label %75 47: ; preds = %2 %48 = load ptr, ptr %13, align 8 %49 = call ptr @strrchr(ptr noundef %48, i8 noundef signext 46) store ptr %49, ptr %9, align 8 %50 = load ptr, ptr %9, align 8 %51 = icmp ne ptr %50, null br i1 %51, label %52, label %70 52: ; preds = %47 %53 = load ptr, ptr %13, align 8 %54 = getelementptr inbounds i8, ptr %53, i64 0 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = icmp ne i32 %56, 46 br i1 %57, label %58, label %70 58: ; preds = %52 %59 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %60 = load ptr, ptr %13, align 8 %61 = load ptr, ptr %13, align 8 %62 = call i64 @strlen(ptr noundef %61) %63 = load ptr, ptr %9, align 8 %64 = call i64 @strlen(ptr noundef %63) %65 = sub nsw i64 %62, %64 %66 = call i32 @strncpy(ptr noundef %59, ptr noundef %60, i64 noundef %65) %67 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %68 = load ptr, ptr %9, align 8 %69 = call i32 @strcpy(ptr noundef %67, ptr noundef %68) br label %74 70: ; preds = %52, %47 %71 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %72 = load ptr, ptr %13, align 8 %73 = call i32 @strcpy(ptr noundef %71, ptr noundef %72) br label %74 74: ; preds = %70, %58 br label %75 75: ; preds = %74, %43 store ptr null, ptr %9, align 8 %76 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %77 = call ptr @strrchr(ptr noundef %76, i8 noundef signext 40) store ptr %77, ptr %9, align 8 %78 = load ptr, ptr %9, align 8 %79 = icmp ne ptr %78, null br i1 %79, label %80, label %128 80: ; preds = %75 %81 = load ptr, ptr %9, align 8 %82 = call ptr @strchr(ptr noundef %81, i8 noundef signext 41) store ptr %82, ptr %10, align 8 %83 = load ptr, ptr %10, align 8 %84 = icmp ne ptr %83, null br i1 %84, label %85, label %127 85: ; preds = %80 %86 = load ptr, ptr %9, align 8 %87 = getelementptr inbounds i8, ptr %86, i32 1 store ptr %87, ptr %9, align 8 %88 = getelementptr inbounds [8 x i8], ptr %11, i64 0, i64 0 %89 = call i32 @memset(ptr noundef %88, i32 noundef 0, i32 noundef 8) %90 = getelementptr inbounds [8 x i8], ptr %11, i64 0, i64 0 %91 = load ptr, ptr %9, align 8 %92 = load ptr, ptr %9, align 8 %93 = call i64 @strlen(ptr noundef %92) %94 = load ptr, ptr %10, align 8 %95 = call i64 @strlen(ptr noundef %94) %96 = sub nsw i64 %93, %95 %97 = call i32 @strncpy(ptr noundef %90, ptr noundef %91, i64 noundef %96) %98 = getelementptr inbounds [8 x i8], ptr %11, i64 0, i64 0 %99 = call i64 @is_number(ptr noundef %98) %100 = icmp ne i64 %99, 0 br i1 %100, label %101, label %126 101: ; preds = %85 %102 = getelementptr inbounds [8 x i8], ptr %11, i64 0, i64 0 %103 = call i32 @atoi(ptr noundef %102) store i32 %103, ptr %12, align 4 %104 = load i32, ptr %12, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %12, align 4 %106 = load i32, ptr %12, align 4 store i32 %106, ptr %15, align 4 %107 = load i32, ptr %15, align 4 %108 = sdiv i32 %107, 10 store i32 %108, ptr %15, align 4 %109 = icmp ne i32 %108, 0 br i1 %109, label %.lr.ph, label %116 .lr.ph: ; preds = %101 br label %110 110: ; preds = %.lr.ph, %110 %111 = load i32, ptr %16, align 4 %112 = add nsw i32 %111, 1 store i32 %112, ptr %16, align 4 %113 = load i32, ptr %15, align 4 %114 = sdiv i32 %113, 10 store i32 %114, ptr %15, align 4 %115 = icmp ne i32 %114, 0 br i1 %115, label %110, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %110 br label %116 116: ; preds = %._crit_edge, %101 %117 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0 %118 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %119 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %120 = call i64 @strlen(ptr noundef %119) %121 = load ptr, ptr %9, align 8 %122 = call i64 @strlen(ptr noundef %121) %123 = sub nsw i64 %120, %122 %124 = sub nsw i64 %123, 1 %125 = call i32 @strncpy(ptr noundef %117, ptr noundef %118, i64 noundef %124) br label %126 126: ; preds = %116, %85 br label %127 127: ; preds = %126, %80 br label %128 128: ; preds = %127, %75 %129 = load i32, ptr %12, align 4 %130 = icmp eq i32 %129, 0 br i1 %130, label %131, label %135 131: ; preds = %128 store i32 1, ptr %12, align 4 %132 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0 %133 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %134 = call i32 @strcpy(ptr noundef %132, ptr noundef %133) br label %135 135: ; preds = %131, %128 %136 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0 %137 = load i32, ptr %16, align 4 %138 = sub nsw i32 252, %137 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %141 = call i64 @strlen(ptr noundef %140) %142 = sub nsw i64 %139, %141 %143 = trunc i64 %142 to i32 %144 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0 %145 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %136, i32 noundef %143, ptr noundef @.str, ptr noundef %144) %146 = getelementptr inbounds [256 x i8], ptr %17, i64 0, i64 0 %147 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0 %148 = load i32, ptr %12, align 4 %149 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %150 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %146, i32 noundef 256, ptr noundef @.str.1, ptr noundef %147, i32 noundef %148, ptr noundef %149) %151 = load ptr, ptr %5, align 8 %152 = getelementptr inbounds [512 x i8], ptr %14, i64 0, i64 0 %153 = getelementptr inbounds [256 x i8], ptr %17, i64 0, i64 0 %154 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %151, i32 noundef 512, ptr noundef @.str.2, ptr noundef %152, ptr noundef %153) %155 = load ptr, ptr %13, align 8 %156 = call i32 @free(ptr noundef %155) store ptr null, ptr %13, align 8 %157 = load ptr, ptr %5, align 8 ret ptr %157 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @parse_name_from_path(ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i64 @is_number(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpog7dzx5o.c' source_filename = "/tmp/tmpog7dzx5o.c" target datalayout = "e-m:e-p270: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 @make_big_endian_get(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i32 @BN_bn2mpi(ptr noundef %8, ptr noundef null) store i32 %9, ptr %7, align 4 %10 = load i32, ptr %7, align 4 %11 = icmp ule i32 %10, 4 br i1 %11, label %12, label %13 12: ; preds = %2 store i32 0, ptr %3, align 4 br label %47 13: ; preds = %2 %14 = load i32, ptr %7, align 4 %15 = call i64 @malloc(i32 noundef %14) %16 = inttoptr i64 %15 to ptr store ptr %16, ptr %6, align 8 %17 = load ptr, ptr %6, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %20 19: ; preds = %13 store i32 0, ptr %3, align 4 br label %47 20: ; preds = %13 %21 = load ptr, ptr %6, align 8 %22 = load i32, ptr %7, align 4 %23 = call i32 @memset(ptr noundef %21, i32 noundef 0, i32 noundef %22) %24 = load ptr, ptr %4, align 8 %25 = load ptr, ptr %6, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 0 %27 = call i32 @BN_bn2mpi(ptr noundef %24, ptr noundef %26) %28 = load ptr, ptr %6, align 8 %29 = load ptr, ptr %6, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 4 %31 = load i32, ptr %7, align 4 %32 = sub i32 %31, 4 %33 = call i32 @memcpy(ptr noundef %28, ptr noundef %30, i32 noundef %32) %34 = load ptr, ptr %6, align 8 %35 = load i32, ptr %7, align 4 %36 = sub i32 %35, 4 %37 = call i64 @reverse(ptr noundef %34, i32 noundef %36) %38 = icmp eq i64 %37, 0 br i1 %38, label %39, label %42 39: ; preds = %20 %40 = load ptr, ptr %6, align 8 %41 = call i32 @free(ptr noundef %40) store i32 0, ptr %3, align 4 br label %47 42: ; preds = %20 %43 = load ptr, ptr %6, align 8 %44 = load ptr, ptr %5, align 8 store ptr %43, ptr %44, align 8 %45 = load i32, ptr %7, align 4 %46 = sub i32 %45, 4 store i32 %46, ptr %3, align 4 br label %47 47: ; preds = %42, %39, %19, %12 %48 = load i32, ptr %3, align 4 ret i32 %48 } declare i32 @BN_bn2mpi(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @reverse(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpog7dzx5o.c" target datalayout = "e-m:e-p270: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 @make_big_endian_get(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i32 @BN_bn2mpi(ptr noundef %8, ptr noundef null) store i32 %9, ptr %7, align 4 %10 = load i32, ptr %7, align 4 %11 = icmp ule i32 %10, 4 br i1 %11, label %12, label %13 12: ; preds = %2 store i32 0, ptr %3, align 4 br label %47 13: ; preds = %2 %14 = load i32, ptr %7, align 4 %15 = call i64 @malloc(i32 noundef %14) %16 = inttoptr i64 %15 to ptr store ptr %16, ptr %6, align 8 %17 = load ptr, ptr %6, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %20 19: ; preds = %13 store i32 0, ptr %3, align 4 br label %47 20: ; preds = %13 %21 = load ptr, ptr %6, align 8 %22 = load i32, ptr %7, align 4 %23 = call i32 @memset(ptr noundef %21, i32 noundef 0, i32 noundef %22) %24 = load ptr, ptr %4, align 8 %25 = load ptr, ptr %6, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 0 %27 = call i32 @BN_bn2mpi(ptr noundef %24, ptr noundef %26) %28 = load ptr, ptr %6, align 8 %29 = load ptr, ptr %6, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 4 %31 = load i32, ptr %7, align 4 %32 = sub i32 %31, 4 %33 = call i32 @memcpy(ptr noundef %28, ptr noundef %30, i32 noundef %32) %34 = load ptr, ptr %6, align 8 %35 = load i32, ptr %7, align 4 %36 = sub i32 %35, 4 %37 = call i64 @reverse(ptr noundef %34, i32 noundef %36) %38 = icmp eq i64 %37, 0 br i1 %38, label %39, label %42 39: ; preds = %20 %40 = load ptr, ptr %6, align 8 %41 = call i32 @free(ptr noundef %40) store i32 0, ptr %3, align 4 br label %47 42: ; preds = %20 %43 = load ptr, ptr %6, align 8 %44 = load ptr, ptr %5, align 8 store ptr %43, ptr %44, align 8 %45 = load i32, ptr %7, align 4 %46 = sub i32 %45, 4 store i32 %46, ptr %3, align 4 br label %47 47: ; preds = %42, %39, %19, %12 %48 = load i32, ptr %3, align 4 ret i32 %48 } declare i32 @BN_bn2mpi(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @reverse(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3l377ez1.c' source_filename = "/tmp/tmp3l377ez1.c" target datalayout = "e-m:e-p270: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/tmp3l377ez1.c" target datalayout = "e-m:e-p270: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/tmpuw7rkhl3.c' source_filename = "/tmp/tmpuw7rkhl3.c" target datalayout = "e-m:e-p270: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"pause\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 (...) @test() %3 = call i32 @system(ptr noundef @.str) ret i32 0 } declare i32 @test(...) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuw7rkhl3.c" target datalayout = "e-m:e-p270: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"pause\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 (...) @test() %3 = call i32 @system(ptr noundef @.str) ret i32 0 } declare i32 @test(...) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp94afs0gn.c' source_filename = "/tmp/tmp94afs0gn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @X509_NAME_it = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @X509_NAME_new() #0 { %1 = call i64 @ASN1_item_new(ptr noundef @X509_NAME_it) %2 = inttoptr i64 %1 to ptr ret ptr %2 } declare i64 @ASN1_item_new(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/tmp94afs0gn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @X509_NAME_it = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @X509_NAME_new() #0 { %1 = call i64 @ASN1_item_new(ptr noundef @X509_NAME_it) %2 = inttoptr i64 %1 to ptr ret ptr %2 } declare i64 @ASN1_item_new(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/tmpovv5m_0v.c' source_filename = "/tmp/tmpovv5m_0v.c" target datalayout = "e-m:e-p270: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/tmpovv5m_0v.c" target datalayout = "e-m:e-p270: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/tmputy4zzmn.c' source_filename = "/tmp/tmputy4zzmn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @randint(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 = call i32 (...) @rand() %7 = load i32, ptr @RAND_MAX, align 4 %8 = load i32, ptr %4, align 4 %9 = load i32, ptr %3, align 4 %10 = sub nsw i32 %8, %9 %11 = add nsw i32 %10, 1 %12 = sdiv i32 %7, %11 %13 = add nsw i32 %12, 1 %14 = sdiv i32 %6, %13 %15 = add nsw i32 %5, %14 ret i32 %15 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmputy4zzmn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @randint(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 = call i32 (...) @rand() %7 = load i32, ptr @RAND_MAX, align 4 %8 = load i32, ptr %4, align 4 %9 = load i32, ptr %3, align 4 %10 = sub nsw i32 %8, %9 %11 = add nsw i32 %10, 1 %12 = sdiv i32 %7, %11 %13 = add nsw i32 %12, 1 %14 = sdiv i32 %6, %13 %15 = add nsw i32 %5, %14 ret i32 %15 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2f322wto.c' source_filename = "/tmp/tmp2f322wto.c" target datalayout = "e-m:e-p270: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/tmp2f322wto.c" target datalayout = "e-m:e-p270: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/tmpelj8zmvu.c' source_filename = "/tmp/tmpelj8zmvu.c" target datalayout = "e-m:e-p270: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/tmpelj8zmvu.c" target datalayout = "e-m:e-p270: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/tmp0txozle4.c' source_filename = "/tmp/tmp0txozle4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_SUCCESS = 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/tmp0txozle4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_SUCCESS = 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/tmp_ep2ub5a.c' source_filename = "/tmp/tmp_ep2ub5a.c" target datalayout = "e-m:e-p270: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 @generateSalt(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [2 x i32], align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %8 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %9 = call i32 @timer(ptr noundef %8) %10 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %11 = load i32, ptr %10, align 4 %12 = call i32 @srand(i32 noundef %11) store i32 0, ptr %5, align 4 br label %13 13: ; preds = %35, %2 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %38 17: ; preds = %13 %18 = call i32 (...) @rand() %19 = srem i32 %18, 50 store i32 %19, ptr %6, align 4 %20 = load i32, ptr %6, align 4 %21 = icmp slt i32 %20, 25 br i1 %21, label %22, label %25 22: ; preds = %17 %23 = load i32, ptr %6, align 4 %24 = add nsw i32 %23, 65 br label %28 25: ; preds = %17 %26 = load i32, ptr %6, align 4 %27 = add nsw i32 %26, 72 br label %28 28: ; preds = %25, %22 %29 = phi i32 [ %24, %22 ], [ %27, %25 ] %30 = trunc i32 %29 to i8 %31 = load ptr, ptr %3, align 8 %32 = load i32, ptr %5, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %31, i64 %33 store i8 %30, ptr %34, align 1 br label %35 35: ; preds = %28 %36 = load i32, ptr %5, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %5, align 4 br label %13, !llvm.loop !6 38: ; preds = %13 %39 = load ptr, ptr %3, align 8 %40 = load i32, ptr %4, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %39, i64 %41 store i8 0, ptr %42, align 1 %43 = load ptr, ptr %3, align 8 ret ptr %43 } declare i32 @timer(ptr noundef) #1 declare i32 @srand(i32 noundef) #1 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_ep2ub5a.c" target datalayout = "e-m:e-p270: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 @generateSalt(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [2 x i32], align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %8 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %9 = call i32 @timer(ptr noundef %8) %10 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %11 = load i32, ptr %10, align 4 %12 = call i32 @srand(i32 noundef %11) store i32 0, ptr %5, align 4 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %40 .lr.ph: ; preds = %2 br label %16 16: ; preds = %.lr.ph, %34 %17 = call i32 (...) @rand() %18 = srem i32 %17, 50 store i32 %18, ptr %6, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp slt i32 %19, 25 br i1 %20, label %21, label %24 21: ; preds = %16 %22 = load i32, ptr %6, align 4 %23 = add nsw i32 %22, 65 br label %27 24: ; preds = %16 %25 = load i32, ptr %6, align 4 %26 = add nsw i32 %25, 72 br label %27 27: ; preds = %24, %21 %28 = phi i32 [ %23, %21 ], [ %26, %24 ] %29 = trunc i32 %28 to i8 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %5, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 store i8 %29, ptr %33, align 1 br label %34 34: ; preds = %27 %35 = load i32, ptr %5, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %5, align 4 %37 = load i32, ptr %5, align 4 %38 = load i32, ptr %4, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %40 40: ; preds = %._crit_edge, %2 %41 = load ptr, ptr %3, align 8 %42 = load i32, ptr %4, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 store i8 0, ptr %44, align 1 %45 = load ptr, ptr %3, align 8 ret ptr %45 } declare i32 @timer(ptr noundef) #1 declare i32 @srand(i32 noundef) #1 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"}
; ModuleID = '/tmp/tmp8mksbrso.c' source_filename = "/tmp/tmp8mksbrso.c" target datalayout = "e-m:e-p270: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/tmp8mksbrso.c" target datalayout = "e-m:e-p270: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/tmpmt_nhu47.c' source_filename = "/tmp/tmpmt_nhu47.c" target datalayout = "e-m:e-p270: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/tmpmt_nhu47.c" target datalayout = "e-m:e-p270: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/tmpien8rjom.c' source_filename = "/tmp/tmpien8rjom.c" target datalayout = "e-m:e-p270: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 [100 x i8] c"Boy...Please enter a string and make sure the length \0A of the string no more longer than 100 char\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"\0A\0AThe number in the string : %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %5 = call i32 @gets(ptr noundef %4) %6 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @ascii_to_integer(ptr noundef %6) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @gets(ptr noundef) #1 declare i32 @ascii_to_integer(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/tmpien8rjom.c" target datalayout = "e-m:e-p270: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 [100 x i8] c"Boy...Please enter a string and make sure the length \0A of the string no more longer than 100 char\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"\0A\0AThe number in the string : %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %5 = call i32 @gets(ptr noundef %4) %6 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @ascii_to_integer(ptr noundef %6) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @gets(ptr noundef) #1 declare i32 @ascii_to_integer(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_67ja2ax.c' source_filename = "/tmp/tmp_67ja2ax.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @doWhileLoop(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %13, %1 %5 = load i32, ptr %2, align 4 %6 = call i32 @printf(ptr noundef @.str, i32 noundef %5) %7 = load i32, ptr %2, align 4 %8 = add nsw i32 %7, 1 store i32 %8, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp sge i32 %9, 10 br i1 %10, label %11, label %12 11: ; preds = %4 br label %17 12: ; preds = %4 br label %13 13: ; preds = %12 %14 = load i32, ptr %3, align 4 %15 = icmp ne i32 %14, 0 %16 = xor i1 %15, true br i1 %16, label %4, label %17, !llvm.loop !6 17: ; preds = %13, %11 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_67ja2ax.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @doWhileLoop(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %13, %1 %5 = load i32, ptr %2, align 4 %6 = call i32 @printf(ptr noundef @.str, i32 noundef %5) %7 = load i32, ptr %2, align 4 %8 = add nsw i32 %7, 1 store i32 %8, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp sge i32 %9, 10 br i1 %10, label %11, label %12 11: ; preds = %4 br label %17 12: ; preds = %4 br label %13 13: ; preds = %12 %14 = load i32, ptr %3, align 4 %15 = icmp ne i32 %14, 0 %16 = xor i1 %15, true br i1 %16, label %4, label %.loopexit, !llvm.loop !6 .loopexit: ; preds = %13 br label %17 17: ; preds = %.loopexit, %11 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpfwes6k2k.c' source_filename = "/tmp/tmpfwes6k2k.c" target datalayout = "e-m:e-p270: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 [32 x i8] c"Swapping size %d at %d and %d.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @swap_parts(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca i64, align 8 %14 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i64 %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store i64 %4, ptr %11, align 8 store i32 %5, ptr %12, align 4 %15 = load i32, ptr %12, align 4 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %22 17: ; preds = %6 %18 = load i64, ptr %11, align 8 %19 = load i64, ptr %9, align 8 %20 = load i64, ptr %10, align 8 %21 = call i32 @printf(ptr noundef @.str, i64 noundef %18, i64 noundef %19, i64 noundef %20) br label %22 22: ; preds = %17, %6 %23 = load i64, ptr %9, align 8 %24 = load i64, ptr %11, align 8 %25 = add i64 %23, %24 %26 = load i64, ptr %8, align 8 %27 = icmp ule i64 %25, %26 %28 = zext i1 %27 to i32 %29 = call i32 @assert(i32 noundef %28) %30 = load i64, ptr %10, align 8 %31 = load i64, ptr %11, align 8 %32 = add i64 %30, %31 %33 = load i64, ptr %8, align 8 %34 = icmp ule i64 %32, %33 %35 = zext i1 %34 to i32 %36 = call i32 @assert(i32 noundef %35) store i64 0, ptr %13, align 8 br label %37 37: ; preds = %65, %22 %38 = load i64, ptr %13, align 8 %39 = load i64, ptr %11, align 8 %40 = icmp ult i64 %38, %39 br i1 %40, label %41, label %68 41: ; preds = %37 %42 = load ptr, ptr %7, align 8 %43 = load i64, ptr %9, align 8 %44 = load i64, ptr %13, align 8 %45 = add i64 %43, %44 %46 = getelementptr inbounds i32, ptr %42, i64 %45 %47 = load i32, ptr %46, align 4 store i32 %47, ptr %14, align 4 %48 = load ptr, ptr %7, align 8 %49 = load i64, ptr %10, align 8 %50 = load i64, ptr %13, align 8 %51 = add i64 %49, %50 %52 = getelementptr inbounds i32, ptr %48, i64 %51 %53 = load i32, ptr %52, align 4 %54 = load ptr, ptr %7, align 8 %55 = load i64, ptr %9, align 8 %56 = load i64, ptr %13, align 8 %57 = add i64 %55, %56 %58 = getelementptr inbounds i32, ptr %54, i64 %57 store i32 %53, ptr %58, align 4 %59 = load i32, ptr %14, align 4 %60 = load ptr, ptr %7, align 8 %61 = load i64, ptr %10, align 8 %62 = load i64, ptr %13, align 8 %63 = add i64 %61, %62 %64 = getelementptr inbounds i32, ptr %60, i64 %63 store i32 %59, ptr %64, align 4 br label %65 65: ; preds = %41 %66 = load i64, ptr %13, align 8 %67 = add i64 %66, 1 store i64 %67, ptr %13, align 8 br label %37, !llvm.loop !6 68: ; preds = %37 ret void } declare i32 @printf(ptr noundef, i64 noundef, i64 noundef, i64 noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfwes6k2k.c" target datalayout = "e-m:e-p270: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 [32 x i8] c"Swapping size %d at %d and %d.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @swap_parts(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca i64, align 8 %14 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i64 %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store i64 %4, ptr %11, align 8 store i32 %5, ptr %12, align 4 %15 = load i32, ptr %12, align 4 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %22 17: ; preds = %6 %18 = load i64, ptr %11, align 8 %19 = load i64, ptr %9, align 8 %20 = load i64, ptr %10, align 8 %21 = call i32 @printf(ptr noundef @.str, i64 noundef %18, i64 noundef %19, i64 noundef %20) br label %22 22: ; preds = %17, %6 %23 = load i64, ptr %9, align 8 %24 = load i64, ptr %11, align 8 %25 = add i64 %23, %24 %26 = load i64, ptr %8, align 8 %27 = icmp ule i64 %25, %26 %28 = zext i1 %27 to i32 %29 = call i32 @assert(i32 noundef %28) %30 = load i64, ptr %10, align 8 %31 = load i64, ptr %11, align 8 %32 = add i64 %30, %31 %33 = load i64, ptr %8, align 8 %34 = icmp ule i64 %32, %33 %35 = zext i1 %34 to i32 %36 = call i32 @assert(i32 noundef %35) store i64 0, ptr %13, align 8 %37 = load i64, ptr %13, align 8 %38 = load i64, ptr %11, align 8 %39 = icmp ult i64 %37, %38 br i1 %39, label %.lr.ph, label %70 .lr.ph: ; preds = %22 br label %40 40: ; preds = %.lr.ph, %64 %41 = load ptr, ptr %7, align 8 %42 = load i64, ptr %9, align 8 %43 = load i64, ptr %13, align 8 %44 = add i64 %42, %43 %45 = getelementptr inbounds i32, ptr %41, i64 %44 %46 = load i32, ptr %45, align 4 store i32 %46, ptr %14, align 4 %47 = load ptr, ptr %7, align 8 %48 = load i64, ptr %10, align 8 %49 = load i64, ptr %13, align 8 %50 = add i64 %48, %49 %51 = getelementptr inbounds i32, ptr %47, i64 %50 %52 = load i32, ptr %51, align 4 %53 = load ptr, ptr %7, align 8 %54 = load i64, ptr %9, align 8 %55 = load i64, ptr %13, align 8 %56 = add i64 %54, %55 %57 = getelementptr inbounds i32, ptr %53, i64 %56 store i32 %52, ptr %57, align 4 %58 = load i32, ptr %14, align 4 %59 = load ptr, ptr %7, align 8 %60 = load i64, ptr %10, align 8 %61 = load i64, ptr %13, align 8 %62 = add i64 %60, %61 %63 = getelementptr inbounds i32, ptr %59, i64 %62 store i32 %58, ptr %63, align 4 br label %64 64: ; preds = %40 %65 = load i64, ptr %13, align 8 %66 = add i64 %65, 1 store i64 %66, ptr %13, align 8 %67 = load i64, ptr %13, align 8 %68 = load i64, ptr %11, align 8 %69 = icmp ult i64 %67, %68 br i1 %69, label %40, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %64 br label %70 70: ; preds = %._crit_edge, %22 ret void } declare i32 @printf(ptr noundef, i64 noundef, i64 noundef, i64 noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpe39hs2x1.c' source_filename = "/tmp/tmpe39hs2x1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"Enter the line to reverse words: \00", align 1 @stdin = dso_local global i32 0, align 4 @main.space = internal global i32 0, align 4 @main.buffer = internal global i32 0, align 4 @main.end = internal global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"Reversed string is: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [100 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str) %15 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %16 = load i32, ptr @stdin, align 4 %17 = call i32 @fgets(ptr noundef %15, i32 noundef 100, i32 noundef %16) %18 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %19 = call i32 @strlen(ptr noundef %18) store i32 %19, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = zext i32 %20 to i64 %22 = call ptr @llvm.stacksave() store ptr %22, ptr %8, align 8 %23 = alloca i8, i64 %21, align 16 store i64 %21, ptr %9, align 8 %24 = load i32, ptr %7, align 4 %25 = sub nsw i32 %24, 2 store i32 %25, ptr @main.end, align 4 store i32 0, ptr %13, align 4 %26 = load i32, ptr %7, align 4 %27 = sub nsw i32 %26, 2 store i32 %27, ptr %10, align 4 br label %28 28: ; preds = %96, %2 %29 = load i32, ptr %10, align 4 %30 = icmp sge i32 %29, 0 br i1 %30, label %31, label %99 31: ; preds = %28 %32 = load i32, ptr %10, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 %33 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp eq i32 %36, 32 br i1 %37, label %38, label %68 38: ; preds = %31 %39 = load i32, ptr %10, align 4 store i32 %39, ptr @main.space, align 4 %40 = load i32, ptr @main.space, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %13, align 4 %42 = load i32, ptr %13, align 4 store i32 %42, ptr %11, align 4 br label %43 43: ; preds = %57, %38 %44 = load i32, ptr %11, align 4 %45 = load i32, ptr @main.end, align 4 %46 = icmp sle i32 %44, %45 br i1 %46, label %47, label %60 47: ; preds = %43 %48 = load i32, ptr %11, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 %49 %51 = load i8, ptr %50, align 1 %52 = load i32, ptr @main.buffer, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %23, i64 %53 store i8 %51, ptr %54, align 1 %55 = load i32, ptr @main.buffer, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr @main.buffer, align 4 br label %57 57: ; preds = %47 %58 = load i32, ptr %11, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %11, align 4 br label %43, !llvm.loop !6 60: ; preds = %43 %61 = load i32, ptr @main.buffer, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i8, ptr %23, i64 %62 store i8 32, ptr %63, align 1 %64 = load i32, ptr @main.buffer, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr @main.buffer, align 4 %66 = load i32, ptr @main.space, align 4 %67 = sub nsw i32 %66, 1 store i32 %67, ptr @main.end, align 4 br label %96 68: ; preds = %31 %69 = load i32, ptr %10, align 4 %70 = icmp eq i32 %69, 0 br i1 %70, label %71, label %94 71: ; preds = %68 %72 = load i32, ptr %10, align 4 store i32 %72, ptr %11, align 4 br label %73 73: ; preds = %87, %71 %74 = load i32, ptr %11, align 4 %75 = load i32, ptr @main.end, align 4 %76 = icmp sle i32 %74, %75 br i1 %76, label %77, label %90 77: ; preds = %73 %78 = load i32, ptr %11, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 %79 %81 = load i8, ptr %80, align 1 %82 = load i32, ptr @main.buffer, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i8, ptr %23, i64 %83 store i8 %81, ptr %84, align 1 %85 = load i32, ptr @main.buffer, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr @main.buffer, align 4 br label %87 87: ; preds = %77 %88 = load i32, ptr %11, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %11, align 4 br label %73, !llvm.loop !8 90: ; preds = %73 %91 = load i32, ptr @main.buffer, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds i8, ptr %23, i64 %92 store i8 0, ptr %93, align 1 br label %94 94: ; preds = %90, %68 br label %95 95: ; preds = %94 br label %96 96: ; preds = %95, %60 %97 = load i32, ptr %10, align 4 %98 = add nsw i32 %97, -1 store i32 %98, ptr %10, align 4 br label %28, !llvm.loop !9 99: ; preds = %28 %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %23) store i32 0, ptr %3, align 4 %101 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %101) %102 = load i32, ptr %3, align 4 ret i32 %102 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 ; 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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe39hs2x1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"Enter the line to reverse words: \00", align 1 @stdin = dso_local global i32 0, align 4 @main.space = internal global i32 0, align 4 @main.buffer = internal global i32 0, align 4 @main.end = internal global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"Reversed string is: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [100 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str) %15 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %16 = load i32, ptr @stdin, align 4 %17 = call i32 @fgets(ptr noundef %15, i32 noundef 100, i32 noundef %16) %18 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %19 = call i32 @strlen(ptr noundef %18) store i32 %19, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = zext i32 %20 to i64 %22 = call ptr @llvm.stacksave() store ptr %22, ptr %8, align 8 %23 = alloca i8, i64 %21, align 16 store i64 %21, ptr %9, align 8 %24 = load i32, ptr %7, align 4 %25 = sub nsw i32 %24, 2 store i32 %25, ptr @main.end, align 4 store i32 0, ptr %13, align 4 %26 = load i32, ptr %7, align 4 %27 = sub nsw i32 %26, 2 store i32 %27, ptr %10, align 4 %28 = load i32, ptr %10, align 4 %29 = icmp sge i32 %28, 0 br i1 %29, label %.lr.ph5, label %104 .lr.ph5: ; preds = %2 br label %30 30: ; preds = %.lr.ph5, %99 %31 = load i32, ptr %10, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 %32 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp eq i32 %35, 32 br i1 %36, label %37, label %69 37: ; preds = %30 %38 = load i32, ptr %10, align 4 store i32 %38, ptr @main.space, align 4 %39 = load i32, ptr @main.space, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %13, align 4 %41 = load i32, ptr %13, align 4 store i32 %41, ptr %11, align 4 %42 = load i32, ptr %11, align 4 %43 = load i32, ptr @main.end, align 4 %44 = icmp sle i32 %42, %43 br i1 %44, label %.lr.ph2, label %61 .lr.ph2: ; preds = %37 br label %45 45: ; preds = %.lr.ph2, %55 %46 = load i32, ptr %11, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 %47 %49 = load i8, ptr %48, align 1 %50 = load i32, ptr @main.buffer, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %23, i64 %51 store i8 %49, ptr %52, align 1 %53 = load i32, ptr @main.buffer, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr @main.buffer, align 4 br label %55 55: ; preds = %45 %56 = load i32, ptr %11, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %11, align 4 %58 = load i32, ptr %11, align 4 %59 = load i32, ptr @main.end, align 4 %60 = icmp sle i32 %58, %59 br i1 %60, label %45, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %55 br label %61 61: ; preds = %._crit_edge3, %37 %62 = load i32, ptr @main.buffer, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %23, i64 %63 store i8 32, ptr %64, align 1 %65 = load i32, ptr @main.buffer, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr @main.buffer, align 4 %67 = load i32, ptr @main.space, align 4 %68 = sub nsw i32 %67, 1 store i32 %68, ptr @main.end, align 4 br label %99 69: ; preds = %30 %70 = load i32, ptr %10, align 4 %71 = icmp eq i32 %70, 0 br i1 %71, label %72, label %97 72: ; preds = %69 %73 = load i32, ptr %10, align 4 store i32 %73, ptr %11, align 4 %74 = load i32, ptr %11, align 4 %75 = load i32, ptr @main.end, align 4 %76 = icmp sle i32 %74, %75 br i1 %76, label %.lr.ph, label %93 .lr.ph: ; preds = %72 br label %77 77: ; preds = %.lr.ph, %87 %78 = load i32, ptr %11, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 %79 %81 = load i8, ptr %80, align 1 %82 = load i32, ptr @main.buffer, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i8, ptr %23, i64 %83 store i8 %81, ptr %84, align 1 %85 = load i32, ptr @main.buffer, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr @main.buffer, align 4 br label %87 87: ; preds = %77 %88 = load i32, ptr %11, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %11, align 4 %90 = load i32, ptr %11, align 4 %91 = load i32, ptr @main.end, align 4 %92 = icmp sle i32 %90, %91 br i1 %92, label %77, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %87 br label %93 93: ; preds = %._crit_edge, %72 %94 = load i32, ptr @main.buffer, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds i8, ptr %23, i64 %95 store i8 0, ptr %96, align 1 br label %97 97: ; preds = %93, %69 br label %98 98: ; preds = %97 br label %99 99: ; preds = %98, %61 %100 = load i32, ptr %10, align 4 %101 = add nsw i32 %100, -1 store i32 %101, ptr %10, align 4 %102 = load i32, ptr %10, align 4 %103 = icmp sge i32 %102, 0 br i1 %103, label %30, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %99 br label %104 104: ; preds = %._crit_edge6, %2 %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %23) store i32 0, ptr %3, align 4 %106 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %106) %107 = load i32, ptr %3, align 4 ret i32 %107 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 ; 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}
; ModuleID = '/tmp/tmpyslqa3jg.c' source_filename = "/tmp/tmpyslqa3jg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isdigit should be 0 for 0x13\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isdigit_0x13() #0 { %1 = call i64 @isdigit(i32 noundef 19) %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 100, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isdigit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyslqa3jg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isdigit should be 0 for 0x13\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isdigit_0x13() #0 { %1 = call i64 @isdigit(i32 noundef 19) %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 100, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isdigit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuqe6uerb.c' source_filename = "/tmp/tmpuqe6uerb.c" target datalayout = "e-m:e-p270: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 @strtrim(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %13, %1 %6 = load ptr, ptr %2, align 8 %7 = load i32, ptr %3, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds i8, ptr %6, i64 %8 %10 = load i8, ptr %9, align 1 %11 = call i64 @isspace(i8 noundef signext %10) %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %5 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %3, align 4 br label %5, !llvm.loop !6 16: ; preds = %5 br label %17 17: ; preds = %24, %16 %18 = load ptr, ptr %2, align 8 %19 = load i32, ptr %3, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = icmp ne i8 %22, 0 br i1 %23, label %24, label %36 24: ; preds = %17 %25 = load ptr, ptr %2, align 8 %26 = load i32, ptr %3, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %3, align 4 %28 = sext i32 %26 to i64 %29 = getelementptr inbounds i8, ptr %25, i64 %28 %30 = load i8, ptr %29, align 1 %31 = load ptr, ptr %2, align 8 %32 = load i32, ptr %4, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %4, align 4 %34 = sext i32 %32 to i64 %35 = getelementptr inbounds i8, ptr %31, i64 %34 store i8 %30, ptr %35, align 1 br label %17, !llvm.loop !8 36: ; preds = %17 br label %37 37: ; preds = %46, %36 %38 = load ptr, ptr %2, align 8 %39 = load i32, ptr %4, align 4 %40 = add nsw i32 %39, -1 store i32 %40, ptr %4, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %38, i64 %41 %43 = load i8, ptr %42, align 1 %44 = call i64 @isspace(i8 noundef signext %43) %45 = icmp ne i64 %44, 0 br i1 %45, label %46, label %47 46: ; preds = %37 br label %37, !llvm.loop !9 47: ; preds = %37 %48 = load ptr, ptr %2, align 8 %49 = load i32, ptr %4, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %4, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %48, i64 %51 store i8 0, ptr %52, align 1 %53 = load ptr, ptr %2, align 8 ret ptr %53 } declare i64 @isspace(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuqe6uerb.c" target datalayout = "e-m:e-p270: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 @strtrim(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr %3, align 4 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds i8, ptr %5, i64 %7 %9 = load i8, ptr %8, align 1 %10 = call i64 @isspace(i8 noundef signext %9) %11 = icmp ne i64 %10, 0 br i1 %11, label %.lr.ph, label %22 .lr.ph: ; preds = %1 br label %12 12: ; preds = %.lr.ph, %12 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %3, align 4 %15 = load ptr, ptr %2, align 8 %16 = load i32, ptr %3, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = call i64 @isspace(i8 noundef signext %19) %21 = icmp ne i64 %20, 0 br i1 %21, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %22 22: ; preds = %._crit_edge, %1 %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 %27 = load i8, ptr %26, align 1 %28 = icmp ne i8 %27, 0 br i1 %28, label %.lr.ph2, label %47 .lr.ph2: ; preds = %22 br label %29 29: ; preds = %.lr.ph2, %29 %30 = load ptr, ptr %2, align 8 %31 = load i32, ptr %3, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %3, align 4 %33 = sext i32 %31 to i64 %34 = getelementptr inbounds i8, ptr %30, i64 %33 %35 = load i8, ptr %34, align 1 %36 = load ptr, ptr %2, align 8 %37 = load i32, ptr %4, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %4, align 4 %39 = sext i32 %37 to i64 %40 = getelementptr inbounds i8, ptr %36, i64 %39 store i8 %35, ptr %40, align 1 %41 = load ptr, ptr %2, align 8 %42 = load i32, ptr %3, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 %45 = load i8, ptr %44, align 1 %46 = icmp ne i8 %45, 0 br i1 %46, label %29, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %29 br label %47 47: ; preds = %._crit_edge3, %22 br label %48 48: ; preds = %48, %47 %49 = load ptr, ptr %2, align 8 %50 = load i32, ptr %4, align 4 %51 = add nsw i32 %50, -1 store i32 %51, ptr %4, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %49, i64 %52 %54 = load i8, ptr %53, align 1 %55 = call i64 @isspace(i8 noundef signext %54) %56 = icmp ne i64 %55, 0 br i1 %56, label %48, label %57, !llvm.loop !9 57: ; preds = %48 %58 = load ptr, ptr %2, align 8 %59 = load i32, ptr %4, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %4, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %58, i64 %61 store i8 0, ptr %62, align 1 %63 = load ptr, ptr %2, align 8 ret ptr %63 } declare i64 @isspace(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmppcyhwoam.c' source_filename = "/tmp/tmppcyhwoam.c" target datalayout = "e-m:e-p270: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"error\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"AAAAA\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 2 br i1 %9, label %10, label %14 10: ; preds = %2 %11 = call i32 @printf(ptr noundef @.str) %12 = load i32, ptr @EXIT_FAILURE, align 4 %13 = call i32 @exit(i32 noundef %12) #3 unreachable 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = call i32 @atoi(ptr noundef %17) store i32 %18, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %19 19: ; preds = %26, %14 %20 = load i32, ptr %7, align 4 %21 = icmp slt i32 %20, 5 br i1 %21, label %22, label %29 22: ; preds = %19 %23 = load i32, ptr %6, align 4 %24 = call i32 @write(i32 noundef %23, ptr noundef @.str.1, i32 noundef 5) %25 = call i32 @sleep(i32 noundef 1) br label %26 26: ; preds = %22 %27 = load i32, ptr %7, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %7, align 4 br label %19, !llvm.loop !6 29: ; preds = %19 %30 = load i32, ptr %6, align 4 %31 = call i32 @close(i32 noundef %30) %32 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %32 } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmppcyhwoam.c" target datalayout = "e-m:e-p270: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"error\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"AAAAA\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 2 br i1 %9, label %10, label %14 10: ; preds = %2 %11 = call i32 @printf(ptr noundef @.str) %12 = load i32, ptr @EXIT_FAILURE, align 4 %13 = call i32 @exit(i32 noundef %12) #3 unreachable 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = call i32 @atoi(ptr noundef %17) store i32 %18, ptr %6, align 4 store i32 0, ptr %7, align 4 %19 = load i32, ptr %7, align 4 %20 = icmp slt i32 %19, 5 br i1 %20, label %.lr.ph, label %30 .lr.ph: ; preds = %14 br label %21 21: ; preds = %.lr.ph, %25 %22 = load i32, ptr %6, align 4 %23 = call i32 @write(i32 noundef %22, ptr noundef @.str.1, i32 noundef 5) %24 = call i32 @sleep(i32 noundef 1) br label %25 25: ; preds = %21 %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 = icmp slt i32 %28, 5 br i1 %29, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %30 30: ; preds = %._crit_edge, %14 %31 = load i32, ptr %6, align 4 %32 = call i32 @close(i32 noundef %31) %33 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %33 } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpik2u__t6.c' source_filename = "/tmp/tmpik2u__t6.c" target datalayout = "e-m:e-p270: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_isprint.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isprint should be 0 for 0xfd\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isprint_0xfd() #0 { %1 = call i64 @isprint(i32 noundef 253) %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 1270, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isprint(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/tmpik2u__t6.c" target datalayout = "e-m:e-p270: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_isprint.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isprint should be 0 for 0xfd\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isprint_0xfd() #0 { %1 = call i64 @isprint(i32 noundef 253) %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 1270, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isprint(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/tmpoqtt16ml.c' source_filename = "/tmp/tmpoqtt16ml.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"illegal itol in linbcg\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"iter=%4d err=%12.6f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @linbcg(i64 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, double noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) #0 { %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca double, align 8 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i64, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, 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 store i64 %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store i32 %3, ptr %12, align 4 store double %4, ptr %13, align 8 store i32 %5, ptr %14, align 4 store ptr %6, ptr %15, align 8 store ptr %7, ptr %16, align 8 %34 = load i64, ptr %9, align 8 %35 = call ptr @dvector(i32 noundef 1, i64 noundef %34) store ptr %35, ptr %28, align 8 %36 = load i64, ptr %9, align 8 %37 = call ptr @dvector(i32 noundef 1, i64 noundef %36) store ptr %37, ptr %29, align 8 %38 = load i64, ptr %9, align 8 %39 = call ptr @dvector(i32 noundef 1, i64 noundef %38) store ptr %39, ptr %30, align 8 %40 = load i64, ptr %9, align 8 %41 = call ptr @dvector(i32 noundef 1, i64 noundef %40) store ptr %41, ptr %31, align 8 %42 = load i64, ptr %9, align 8 %43 = call ptr @dvector(i32 noundef 1, i64 noundef %42) store ptr %43, ptr %32, align 8 %44 = load i64, ptr %9, align 8 %45 = call ptr @dvector(i32 noundef 1, i64 noundef %44) store ptr %45, ptr %33, align 8 %46 = load ptr, ptr %15, align 8 store i32 0, ptr %46, align 4 %47 = load i64, ptr %9, align 8 %48 = load ptr, ptr %11, align 8 %49 = load ptr, ptr %30, align 8 call void @atimes(i64 noundef %47, ptr noundef %48, ptr noundef %49, i32 noundef 0) store i64 1, ptr %17, align 8 br label %50 50: ; preds = %74, %8 %51 = load i64, ptr %17, align 8 %52 = load i64, ptr %9, align 8 %53 = icmp ule i64 %51, %52 br i1 %53, label %54, label %77 54: ; preds = %50 %55 = load ptr, ptr %10, align 8 %56 = load i64, ptr %17, align 8 %57 = getelementptr inbounds double, ptr %55, i64 %56 %58 = load double, ptr %57, align 8 %59 = load ptr, ptr %30, align 8 %60 = load i64, ptr %17, align 8 %61 = getelementptr inbounds double, ptr %59, i64 %60 %62 = load double, ptr %61, align 8 %63 = fsub double %58, %62 %64 = load ptr, ptr %30, align 8 %65 = load i64, ptr %17, align 8 %66 = getelementptr inbounds double, ptr %64, i64 %65 store double %63, ptr %66, align 8 %67 = load ptr, ptr %30, align 8 %68 = load i64, ptr %17, align 8 %69 = getelementptr inbounds double, ptr %67, i64 %68 %70 = load double, ptr %69, align 8 %71 = load ptr, ptr %31, align 8 %72 = load i64, ptr %17, align 8 %73 = getelementptr inbounds double, ptr %71, i64 %72 store double %70, ptr %73, align 8 br label %74 74: ; preds = %54 %75 = load i64, ptr %17, align 8 %76 = add i64 %75, 1 store i64 %76, ptr %17, align 8 br label %50, !llvm.loop !6 77: ; preds = %50 %78 = load i32, ptr %12, align 4 %79 = icmp eq i32 %78, 1 br i1 %79, label %80, label %88 80: ; preds = %77 %81 = load i64, ptr %9, align 8 %82 = load ptr, ptr %10, align 8 %83 = load i32, ptr %12, align 4 %84 = call double @snrm(i64 noundef %81, ptr noundef %82, i32 noundef %83) store double %84, ptr %23, align 8 %85 = load i64, ptr %9, align 8 %86 = load ptr, ptr %30, align 8 %87 = load ptr, ptr %32, align 8 call void @asolve(i64 noundef %85, ptr noundef %86, ptr noundef %87, i32 noundef 0) br label %127 88: ; preds = %77 %89 = load i32, ptr %12, align 4 %90 = icmp eq i32 %89, 2 br i1 %90, label %91, label %102 91: ; preds = %88 %92 = load i64, ptr %9, align 8 %93 = load ptr, ptr %10, align 8 %94 = load ptr, ptr %32, align 8 call void @asolve(i64 noundef %92, ptr noundef %93, ptr noundef %94, i32 noundef 0) %95 = load i64, ptr %9, align 8 %96 = load ptr, ptr %32, align 8 %97 = load i32, ptr %12, align 4 %98 = call double @snrm(i64 noundef %95, ptr noundef %96, i32 noundef %97) store double %98, ptr %23, align 8 %99 = load i64, ptr %9, align 8 %100 = load ptr, ptr %30, align 8 %101 = load ptr, ptr %32, align 8 call void @asolve(i64 noundef %99, ptr noundef %100, ptr noundef %101, i32 noundef 0) br label %126 102: ; preds = %88 %103 = load i32, ptr %12, align 4 %104 = icmp eq i32 %103, 3 br i1 %104, label %108, label %105 105: ; preds = %102 %106 = load i32, ptr %12, align 4 %107 = icmp eq i32 %106, 4 br i1 %107, label %108, label %123 108: ; preds = %105, %102 %109 = load i64, ptr %9, align 8 %110 = load ptr, ptr %10, align 8 %111 = load ptr, ptr %32, align 8 call void @asolve(i64 noundef %109, ptr noundef %110, ptr noundef %111, i32 noundef 0) %112 = load i64, ptr %9, align 8 %113 = load ptr, ptr %32, align 8 %114 = load i32, ptr %12, align 4 %115 = call double @snrm(i64 noundef %112, ptr noundef %113, i32 noundef %114) store double %115, ptr %23, align 8 %116 = load i64, ptr %9, align 8 %117 = load ptr, ptr %30, align 8 %118 = load ptr, ptr %32, align 8 call void @asolve(i64 noundef %116, ptr noundef %117, ptr noundef %118, i32 noundef 0) %119 = load i64, ptr %9, align 8 %120 = load ptr, ptr %32, align 8 %121 = load i32, ptr %12, align 4 %122 = call double @snrm(i64 noundef %119, ptr noundef %120, i32 noundef %121) store double %122, ptr %27, align 8 br label %125 123: ; preds = %105 %124 = call i32 @nrerror(ptr noundef @.str) br label %125 125: ; preds = %123, %108 br label %126 126: ; preds = %125, %91 br label %127 127: ; preds = %126, %80 br label %128 128: ; preds = %395, %376, %356, %127 %129 = load ptr, ptr %15, align 8 %130 = load i32, ptr %129, align 4 %131 = load i32, ptr %14, align 4 %132 = icmp sle i32 %130, %131 br i1 %132, label %133, label %396 133: ; preds = %128 %134 = load ptr, ptr %15, align 8 %135 = load i32, ptr %134, align 4 %136 = add nsw i32 %135, 1 store i32 %136, ptr %134, align 4 %137 = load i64, ptr %9, align 8 %138 = load ptr, ptr %31, align 8 %139 = load ptr, ptr %33, align 8 call void @asolve(i64 noundef %137, ptr noundef %138, ptr noundef %139, i32 noundef 1) store double 0.000000e+00, ptr %22, align 8 store i64 1, ptr %17, align 8 br label %140 140: ; preds = %155, %133 %141 = load i64, ptr %17, align 8 %142 = load i64, ptr %9, align 8 %143 = icmp ule i64 %141, %142 br i1 %143, label %144, label %158 144: ; preds = %140 %145 = load ptr, ptr %32, align 8 %146 = load i64, ptr %17, align 8 %147 = getelementptr inbounds double, ptr %145, i64 %146 %148 = load double, ptr %147, align 8 %149 = load ptr, ptr %31, align 8 %150 = load i64, ptr %17, align 8 %151 = getelementptr inbounds double, ptr %149, i64 %150 %152 = load double, ptr %151, align 8 %153 = load double, ptr %22, align 8 %154 = call double @llvm.fmuladd.f64(double %148, double %152, double %153) store double %154, ptr %22, align 8 br label %155 155: ; preds = %144 %156 = load i64, ptr %17, align 8 %157 = add i64 %156, 1 store i64 %157, ptr %17, align 8 br label %140, !llvm.loop !8 158: ; preds = %140 %159 = load ptr, ptr %15, align 8 %160 = load i32, ptr %159, align 4 %161 = icmp eq i32 %160, 1 br i1 %161, label %162, label %186 162: ; preds = %158 store i64 1, ptr %17, align 8 br label %163 163: ; preds = %182, %162 %164 = load i64, ptr %17, align 8 %165 = load i64, ptr %9, align 8 %166 = icmp ule i64 %164, %165 br i1 %166, label %167, label %185 167: ; preds = %163 %168 = load ptr, ptr %32, align 8 %169 = load i64, ptr %17, align 8 %170 = getelementptr inbounds double, ptr %168, i64 %169 %171 = load double, ptr %170, align 8 %172 = load ptr, ptr %28, align 8 %173 = load i64, ptr %17, align 8 %174 = getelementptr inbounds double, ptr %172, i64 %173 store double %171, ptr %174, align 8 %175 = load ptr, ptr %33, align 8 %176 = load i64, ptr %17, align 8 %177 = getelementptr inbounds double, ptr %175, i64 %176 %178 = load double, ptr %177, align 8 %179 = load ptr, ptr %29, align 8 %180 = load i64, ptr %17, align 8 %181 = getelementptr inbounds double, ptr %179, i64 %180 store double %178, ptr %181, align 8 br label %182 182: ; preds = %167 %183 = load i64, ptr %17, align 8 %184 = add i64 %183, 1 store i64 %184, ptr %17, align 8 br label %163, !llvm.loop !9 185: ; preds = %163 br label %225 186: ; preds = %158 %187 = load double, ptr %22, align 8 %188 = load double, ptr %21, align 8 %189 = fdiv double %187, %188 store double %189, ptr %20, align 8 store i64 1, ptr %17, align 8 br label %190 190: ; preds = %221, %186 %191 = load i64, ptr %17, align 8 %192 = load i64, ptr %9, align 8 %193 = icmp ule i64 %191, %192 br i1 %193, label %194, label %224 194: ; preds = %190 %195 = load double, ptr %20, align 8 %196 = load ptr, ptr %28, align 8 %197 = load i64, ptr %17, align 8 %198 = getelementptr inbounds double, ptr %196, i64 %197 %199 = load double, ptr %198, align 8 %200 = load ptr, ptr %32, align 8 %201 = load i64, ptr %17, align 8 %202 = getelementptr inbounds double, ptr %200, i64 %201 %203 = load double, ptr %202, align 8 %204 = call double @llvm.fmuladd.f64(double %195, double %199, double %203) %205 = load ptr, ptr %28, align 8 %206 = load i64, ptr %17, align 8 %207 = getelementptr inbounds double, ptr %205, i64 %206 store double %204, ptr %207, align 8 %208 = load double, ptr %20, align 8 %209 = load ptr, ptr %29, align 8 %210 = load i64, ptr %17, align 8 %211 = getelementptr inbounds double, ptr %209, i64 %210 %212 = load double, ptr %211, align 8 %213 = load ptr, ptr %33, align 8 %214 = load i64, ptr %17, align 8 %215 = getelementptr inbounds double, ptr %213, i64 %214 %216 = load double, ptr %215, align 8 %217 = call double @llvm.fmuladd.f64(double %208, double %212, double %216) %218 = load ptr, ptr %29, align 8 %219 = load i64, ptr %17, align 8 %220 = getelementptr inbounds double, ptr %218, i64 %219 store double %217, ptr %220, align 8 br label %221 221: ; preds = %194 %222 = load i64, ptr %17, align 8 %223 = add i64 %222, 1 store i64 %223, ptr %17, align 8 br label %190, !llvm.loop !10 224: ; preds = %190 br label %225 225: ; preds = %224, %185 %226 = load double, ptr %22, align 8 store double %226, ptr %21, align 8 %227 = load i64, ptr %9, align 8 %228 = load ptr, ptr %28, align 8 %229 = load ptr, ptr %32, align 8 call void @atimes(i64 noundef %227, ptr noundef %228, ptr noundef %229, i32 noundef 0) store double 0.000000e+00, ptr %19, align 8 store i64 1, ptr %17, align 8 br label %230 230: ; preds = %245, %225 %231 = load i64, ptr %17, align 8 %232 = load i64, ptr %9, align 8 %233 = icmp ule i64 %231, %232 br i1 %233, label %234, label %248 234: ; preds = %230 %235 = load ptr, ptr %32, align 8 %236 = load i64, ptr %17, align 8 %237 = getelementptr inbounds double, ptr %235, i64 %236 %238 = load double, ptr %237, align 8 %239 = load ptr, ptr %29, align 8 %240 = load i64, ptr %17, align 8 %241 = getelementptr inbounds double, ptr %239, i64 %240 %242 = load double, ptr %241, align 8 %243 = load double, ptr %19, align 8 %244 = call double @llvm.fmuladd.f64(double %238, double %242, double %243) store double %244, ptr %19, align 8 br label %245 245: ; preds = %234 %246 = load i64, ptr %17, align 8 %247 = add i64 %246, 1 store i64 %247, ptr %17, align 8 br label %230, !llvm.loop !11 248: ; preds = %230 %249 = load double, ptr %22, align 8 %250 = load double, ptr %19, align 8 %251 = fdiv double %249, %250 store double %251, ptr %18, align 8 %252 = load i64, ptr %9, align 8 %253 = load ptr, ptr %29, align 8 %254 = load ptr, ptr %33, align 8 call void @atimes(i64 noundef %252, ptr noundef %253, ptr noundef %254, i32 noundef 1) store i64 1, ptr %17, align 8 br label %255 255: ; preds = %292, %248 %256 = load i64, ptr %17, align 8 %257 = load i64, ptr %9, align 8 %258 = icmp ule i64 %256, %257 br i1 %258, label %259, label %295 259: ; preds = %255 %260 = load double, ptr %18, align 8 %261 = load ptr, ptr %28, align 8 %262 = load i64, ptr %17, align 8 %263 = getelementptr inbounds double, ptr %261, i64 %262 %264 = load double, ptr %263, align 8 %265 = load ptr, ptr %11, align 8 %266 = load i64, ptr %17, align 8 %267 = getelementptr inbounds double, ptr %265, i64 %266 %268 = load double, ptr %267, align 8 %269 = call double @llvm.fmuladd.f64(double %260, double %264, double %268) store double %269, ptr %267, align 8 %270 = load double, ptr %18, align 8 %271 = load ptr, ptr %32, align 8 %272 = load i64, ptr %17, align 8 %273 = getelementptr inbounds double, ptr %271, i64 %272 %274 = load double, ptr %273, align 8 %275 = load ptr, ptr %30, align 8 %276 = load i64, ptr %17, align 8 %277 = getelementptr inbounds double, ptr %275, i64 %276 %278 = load double, ptr %277, align 8 %279 = fneg double %270 %280 = call double @llvm.fmuladd.f64(double %279, double %274, double %278) store double %280, ptr %277, align 8 %281 = load double, ptr %18, align 8 %282 = load ptr, ptr %33, align 8 %283 = load i64, ptr %17, align 8 %284 = getelementptr inbounds double, ptr %282, i64 %283 %285 = load double, ptr %284, align 8 %286 = load ptr, ptr %31, align 8 %287 = load i64, ptr %17, align 8 %288 = getelementptr inbounds double, ptr %286, i64 %287 %289 = load double, ptr %288, align 8 %290 = fneg double %281 %291 = call double @llvm.fmuladd.f64(double %290, double %285, double %289) store double %291, ptr %288, align 8 br label %292 292: ; preds = %259 %293 = load i64, ptr %17, align 8 %294 = add i64 %293, 1 store i64 %294, ptr %17, align 8 br label %255, !llvm.loop !12 295: ; preds = %255 %296 = load i64, ptr %9, align 8 %297 = load ptr, ptr %30, align 8 %298 = load ptr, ptr %32, align 8 call void @asolve(i64 noundef %296, ptr noundef %297, ptr noundef %298, i32 noundef 0) %299 = load i32, ptr %12, align 4 %300 = icmp eq i32 %299, 1 br i1 %300, label %301, label %309 301: ; preds = %295 %302 = load i64, ptr %9, align 8 %303 = load ptr, ptr %30, align 8 %304 = load i32, ptr %12, align 4 %305 = call double @snrm(i64 noundef %302, ptr noundef %303, i32 noundef %304) %306 = load double, ptr %23, align 8 %307 = fdiv double %305, %306 %308 = load ptr, ptr %16, align 8 store double %307, ptr %308, align 8 br label %384 309: ; preds = %295 %310 = load i32, ptr %12, align 4 %311 = icmp eq i32 %310, 2 br i1 %311, label %312, label %320 312: ; preds = %309 %313 = load i64, ptr %9, align 8 %314 = load ptr, ptr %32, align 8 %315 = load i32, ptr %12, align 4 %316 = call double @snrm(i64 noundef %313, ptr noundef %314, i32 noundef %315) %317 = load double, ptr %23, align 8 %318 = fdiv double %316, %317 %319 = load ptr, ptr %16, align 8 store double %318, ptr %319, align 8 br label %383 320: ; preds = %309 %321 = load i32, ptr %12, align 4 %322 = icmp eq i32 %321, 3 br i1 %322, label %326, label %323 323: ; preds = %320 %324 = load i32, ptr %12, align 4 %325 = icmp eq i32 %324, 4 br i1 %325, label %326, label %382 326: ; preds = %323, %320 %327 = load double, ptr %27, align 8 store double %327, ptr %26, align 8 %328 = load i64, ptr %9, align 8 %329 = load ptr, ptr %32, align 8 %330 = load i32, ptr %12, align 4 %331 = call double @snrm(i64 noundef %328, ptr noundef %329, i32 noundef %330) store double %331, ptr %27, align 8 %332 = load double, ptr %26, align 8 %333 = load double, ptr %27, align 8 %334 = fsub double %332, %333 %335 = call double @llvm.fabs.f64(double %334) %336 = load double, ptr %27, align 8 %337 = fmul double 0x3D06849B86A12B9B, %336 %338 = fcmp ogt double %335, %337 br i1 %338, label %339, label %356 339: ; preds = %326 %340 = load double, ptr %18, align 8 %341 = call double @llvm.fabs.f64(double %340) %342 = load i64, ptr %9, align 8 %343 = load ptr, ptr %28, align 8 %344 = load i32, ptr %12, align 4 %345 = call double @snrm(i64 noundef %342, ptr noundef %343, i32 noundef %344) %346 = fmul double %341, %345 store double %346, ptr %24, align 8 %347 = load double, ptr %27, align 8 %348 = load double, ptr %26, align 8 %349 = load double, ptr %27, align 8 %350 = fsub double %348, %349 %351 = call double @llvm.fabs.f64(double %350) %352 = fdiv double %347, %351 %353 = load double, ptr %24, align 8 %354 = fmul double %352, %353 %355 = load ptr, ptr %16, align 8 store double %354, ptr %355, align 8 br label %361 356: ; preds = %326 %357 = load double, ptr %27, align 8 %358 = load double, ptr %23, align 8 %359 = fdiv double %357, %358 %360 = load ptr, ptr %16, align 8 store double %359, ptr %360, align 8 br label %128, !llvm.loop !13 361: ; preds = %339 %362 = load i64, ptr %9, align 8 %363 = load ptr, ptr %11, align 8 %364 = load i32, ptr %12, align 4 %365 = call double @snrm(i64 noundef %362, ptr noundef %363, i32 noundef %364) store double %365, ptr %25, align 8 %366 = load ptr, ptr %16, align 8 %367 = load double, ptr %366, align 8 %368 = load double, ptr %25, align 8 %369 = fmul double 5.000000e-01, %368 %370 = fcmp ole double %367, %369 br i1 %370, label %371, label %376 371: ; preds = %361 %372 = load double, ptr %25, align 8 %373 = load ptr, ptr %16, align 8 %374 = load double, ptr %373, align 8 %375 = fdiv double %374, %372 store double %375, ptr %373, align 8 br label %381 376: ; preds = %361 %377 = load double, ptr %27, align 8 %378 = load double, ptr %23, align 8 %379 = fdiv double %377, %378 %380 = load ptr, ptr %16, align 8 store double %379, ptr %380, align 8 br label %128, !llvm.loop !13 381: ; preds = %371 br label %382 382: ; preds = %381, %323 br label %383 383: ; preds = %382, %312 br label %384 384: ; preds = %383, %301 %385 = load ptr, ptr %15, align 8 %386 = load i32, ptr %385, align 4 %387 = load ptr, ptr %16, align 8 %388 = load double, ptr %387, align 8 %389 = call i32 @printf(ptr noundef @.str.1, i32 noundef %386, double noundef %388) %390 = load ptr, ptr %16, align 8 %391 = load double, ptr %390, align 8 %392 = load double, ptr %13, align 8 %393 = fcmp ole double %391, %392 br i1 %393, label %394, label %395 394: ; preds = %384 br label %396 395: ; preds = %384 br label %128, !llvm.loop !13 396: ; preds = %394, %128 %397 = load ptr, ptr %28, align 8 %398 = load i64, ptr %9, align 8 %399 = call i32 @free_dvector(ptr noundef %397, i32 noundef 1, i64 noundef %398) %400 = load ptr, ptr %29, align 8 %401 = load i64, ptr %9, align 8 %402 = call i32 @free_dvector(ptr noundef %400, i32 noundef 1, i64 noundef %401) %403 = load ptr, ptr %30, align 8 %404 = load i64, ptr %9, align 8 %405 = call i32 @free_dvector(ptr noundef %403, i32 noundef 1, i64 noundef %404) %406 = load ptr, ptr %31, align 8 %407 = load i64, ptr %9, align 8 %408 = call i32 @free_dvector(ptr noundef %406, i32 noundef 1, i64 noundef %407) %409 = load ptr, ptr %32, align 8 %410 = load i64, ptr %9, align 8 %411 = call i32 @free_dvector(ptr noundef %409, i32 noundef 1, i64 noundef %410) %412 = load ptr, ptr %33, align 8 %413 = load i64, ptr %9, align 8 %414 = call i32 @free_dvector(ptr noundef %412, i32 noundef 1, i64 noundef %413) ret void } declare ptr @dvector(i32 noundef, i64 noundef) #1 declare void @atimes(i64 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare double @snrm(i64 noundef, ptr noundef, i32 noundef) #1 declare void @asolve(i64 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @nrerror(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 declare i32 @printf(ptr noundef, i32 noundef, double noundef) #1 declare i32 @free_dvector(ptr noundef, 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" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoqtt16ml.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"illegal itol in linbcg\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"iter=%4d err=%12.6f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @linbcg(i64 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, double noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) #0 { %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca double, align 8 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i64, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, 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 store i64 %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store i32 %3, ptr %12, align 4 store double %4, ptr %13, align 8 store i32 %5, ptr %14, align 4 store ptr %6, ptr %15, align 8 store ptr %7, ptr %16, align 8 %34 = load i64, ptr %9, align 8 %35 = call ptr @dvector(i32 noundef 1, i64 noundef %34) store ptr %35, ptr %28, align 8 %36 = load i64, ptr %9, align 8 %37 = call ptr @dvector(i32 noundef 1, i64 noundef %36) store ptr %37, ptr %29, align 8 %38 = load i64, ptr %9, align 8 %39 = call ptr @dvector(i32 noundef 1, i64 noundef %38) store ptr %39, ptr %30, align 8 %40 = load i64, ptr %9, align 8 %41 = call ptr @dvector(i32 noundef 1, i64 noundef %40) store ptr %41, ptr %31, align 8 %42 = load i64, ptr %9, align 8 %43 = call ptr @dvector(i32 noundef 1, i64 noundef %42) store ptr %43, ptr %32, align 8 %44 = load i64, ptr %9, align 8 %45 = call ptr @dvector(i32 noundef 1, i64 noundef %44) store ptr %45, ptr %33, align 8 %46 = load ptr, ptr %15, align 8 store i32 0, ptr %46, align 4 %47 = load i64, ptr %9, align 8 %48 = load ptr, ptr %11, align 8 %49 = load ptr, ptr %30, align 8 call void @atimes(i64 noundef %47, ptr noundef %48, ptr noundef %49, i32 noundef 0) store i64 1, ptr %17, align 8 %50 = load i64, ptr %17, align 8 %51 = load i64, ptr %9, align 8 %52 = icmp ule i64 %50, %51 br i1 %52, label %.lr.ph, label %79 .lr.ph: ; preds = %8 br label %53 53: ; preds = %.lr.ph, %73 %54 = load ptr, ptr %10, align 8 %55 = load i64, ptr %17, align 8 %56 = getelementptr inbounds double, ptr %54, i64 %55 %57 = load double, ptr %56, align 8 %58 = load ptr, ptr %30, align 8 %59 = load i64, ptr %17, align 8 %60 = getelementptr inbounds double, ptr %58, i64 %59 %61 = load double, ptr %60, align 8 %62 = fsub double %57, %61 %63 = load ptr, ptr %30, align 8 %64 = load i64, ptr %17, align 8 %65 = getelementptr inbounds double, ptr %63, i64 %64 store double %62, ptr %65, align 8 %66 = load ptr, ptr %30, align 8 %67 = load i64, ptr %17, align 8 %68 = getelementptr inbounds double, ptr %66, i64 %67 %69 = load double, ptr %68, align 8 %70 = load ptr, ptr %31, align 8 %71 = load i64, ptr %17, align 8 %72 = getelementptr inbounds double, ptr %70, i64 %71 store double %69, ptr %72, align 8 br label %73 73: ; preds = %53 %74 = load i64, ptr %17, align 8 %75 = add i64 %74, 1 store i64 %75, ptr %17, align 8 %76 = load i64, ptr %17, align 8 %77 = load i64, ptr %9, align 8 %78 = icmp ule i64 %76, %77 br i1 %78, label %53, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %73 br label %79 79: ; preds = %._crit_edge, %8 %80 = load i32, ptr %12, align 4 %81 = icmp eq i32 %80, 1 br i1 %81, label %82, label %90 82: ; preds = %79 %83 = load i64, ptr %9, align 8 %84 = load ptr, ptr %10, align 8 %85 = load i32, ptr %12, align 4 %86 = call double @snrm(i64 noundef %83, ptr noundef %84, i32 noundef %85) store double %86, ptr %23, align 8 %87 = load i64, ptr %9, align 8 %88 = load ptr, ptr %30, align 8 %89 = load ptr, ptr %32, align 8 call void @asolve(i64 noundef %87, ptr noundef %88, ptr noundef %89, i32 noundef 0) br label %129 90: ; preds = %79 %91 = load i32, ptr %12, align 4 %92 = icmp eq i32 %91, 2 br i1 %92, label %93, label %104 93: ; preds = %90 %94 = load i64, ptr %9, align 8 %95 = load ptr, ptr %10, align 8 %96 = load ptr, ptr %32, align 8 call void @asolve(i64 noundef %94, ptr noundef %95, ptr noundef %96, i32 noundef 0) %97 = load i64, ptr %9, align 8 %98 = load ptr, ptr %32, align 8 %99 = load i32, ptr %12, align 4 %100 = call double @snrm(i64 noundef %97, ptr noundef %98, i32 noundef %99) store double %100, ptr %23, align 8 %101 = load i64, ptr %9, align 8 %102 = load ptr, ptr %30, align 8 %103 = load ptr, ptr %32, align 8 call void @asolve(i64 noundef %101, ptr noundef %102, ptr noundef %103, i32 noundef 0) br label %128 104: ; preds = %90 %105 = load i32, ptr %12, align 4 %106 = icmp eq i32 %105, 3 br i1 %106, label %110, label %107 107: ; preds = %104 %108 = load i32, ptr %12, align 4 %109 = icmp eq i32 %108, 4 br i1 %109, label %110, label %125 110: ; preds = %107, %104 %111 = load i64, ptr %9, align 8 %112 = load ptr, ptr %10, align 8 %113 = load ptr, ptr %32, align 8 call void @asolve(i64 noundef %111, ptr noundef %112, ptr noundef %113, i32 noundef 0) %114 = load i64, ptr %9, align 8 %115 = load ptr, ptr %32, align 8 %116 = load i32, ptr %12, align 4 %117 = call double @snrm(i64 noundef %114, ptr noundef %115, i32 noundef %116) store double %117, ptr %23, align 8 %118 = load i64, ptr %9, align 8 %119 = load ptr, ptr %30, align 8 %120 = load ptr, ptr %32, align 8 call void @asolve(i64 noundef %118, ptr noundef %119, ptr noundef %120, i32 noundef 0) %121 = load i64, ptr %9, align 8 %122 = load ptr, ptr %32, align 8 %123 = load i32, ptr %12, align 4 %124 = call double @snrm(i64 noundef %121, ptr noundef %122, i32 noundef %123) store double %124, ptr %27, align 8 br label %127 125: ; preds = %107 %126 = call i32 @nrerror(ptr noundef @.str) br label %127 127: ; preds = %125, %110 br label %128 128: ; preds = %127, %93 br label %129 129: ; preds = %128, %82 %130 = load ptr, ptr %15, align 8 %131 = load i32, ptr %130, align 4 %132 = load i32, ptr %14, align 4 %133 = icmp sle i32 %131, %132 br i1 %133, label %.lr.ph17, label %.loopexit .lr.ph17: ; preds = %129 br label %134 134: ; preds = %.lr.ph17, %.backedge %135 = load ptr, ptr %15, align 8 %136 = load i32, ptr %135, align 4 %137 = add nsw i32 %136, 1 store i32 %137, ptr %135, align 4 %138 = load i64, ptr %9, align 8 %139 = load ptr, ptr %31, align 8 %140 = load ptr, ptr %33, align 8 call void @asolve(i64 noundef %138, ptr noundef %139, ptr noundef %140, i32 noundef 1) store double 0.000000e+00, ptr %22, align 8 store i64 1, ptr %17, align 8 %141 = load i64, ptr %17, align 8 %142 = load i64, ptr %9, align 8 %143 = icmp ule i64 %141, %142 br i1 %143, label %.lr.ph2, label %161 .lr.ph2: ; preds = %134 br label %144 144: ; preds = %.lr.ph2, %155 %145 = load ptr, ptr %32, align 8 %146 = load i64, ptr %17, align 8 %147 = getelementptr inbounds double, ptr %145, i64 %146 %148 = load double, ptr %147, align 8 %149 = load ptr, ptr %31, align 8 %150 = load i64, ptr %17, align 8 %151 = getelementptr inbounds double, ptr %149, i64 %150 %152 = load double, ptr %151, align 8 %153 = load double, ptr %22, align 8 %154 = call double @llvm.fmuladd.f64(double %148, double %152, double %153) store double %154, ptr %22, align 8 br label %155 155: ; preds = %144 %156 = load i64, ptr %17, align 8 %157 = add i64 %156, 1 store i64 %157, ptr %17, align 8 %158 = load i64, ptr %17, align 8 %159 = load i64, ptr %9, align 8 %160 = icmp ule i64 %158, %159 br i1 %160, label %144, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %155 br label %161 161: ; preds = %._crit_edge3, %134 %162 = load ptr, ptr %15, align 8 %163 = load i32, ptr %162, align 4 %164 = icmp eq i32 %163, 1 br i1 %164, label %165, label %191 165: ; preds = %161 store i64 1, ptr %17, align 8 %166 = load i64, ptr %17, align 8 %167 = load i64, ptr %9, align 8 %168 = icmp ule i64 %166, %167 br i1 %168, label %.lr.ph8, label %190 .lr.ph8: ; preds = %165 br label %169 169: ; preds = %.lr.ph8, %184 %170 = load ptr, ptr %32, align 8 %171 = load i64, ptr %17, align 8 %172 = getelementptr inbounds double, ptr %170, i64 %171 %173 = load double, ptr %172, align 8 %174 = load ptr, ptr %28, align 8 %175 = load i64, ptr %17, align 8 %176 = getelementptr inbounds double, ptr %174, i64 %175 store double %173, ptr %176, align 8 %177 = load ptr, ptr %33, align 8 %178 = load i64, ptr %17, align 8 %179 = getelementptr inbounds double, ptr %177, i64 %178 %180 = load double, ptr %179, align 8 %181 = load ptr, ptr %29, align 8 %182 = load i64, ptr %17, align 8 %183 = getelementptr inbounds double, ptr %181, i64 %182 store double %180, ptr %183, align 8 br label %184 184: ; preds = %169 %185 = load i64, ptr %17, align 8 %186 = add i64 %185, 1 store i64 %186, ptr %17, align 8 %187 = load i64, ptr %17, align 8 %188 = load i64, ptr %9, align 8 %189 = icmp ule i64 %187, %188 br i1 %189, label %169, label %._crit_edge9, !llvm.loop !9 ._crit_edge9: ; preds = %184 br label %190 190: ; preds = %._crit_edge9, %165 br label %232 191: ; preds = %161 %192 = load double, ptr %22, align 8 %193 = load double, ptr %21, align 8 %194 = fdiv double %192, %193 store double %194, ptr %20, align 8 store i64 1, ptr %17, align 8 %195 = load i64, ptr %17, align 8 %196 = load i64, ptr %9, align 8 %197 = icmp ule i64 %195, %196 br i1 %197, label %.lr.ph5, label %231 .lr.ph5: ; preds = %191 br label %198 198: ; preds = %.lr.ph5, %225 %199 = load double, ptr %20, align 8 %200 = load ptr, ptr %28, align 8 %201 = load i64, ptr %17, align 8 %202 = getelementptr inbounds double, ptr %200, i64 %201 %203 = load double, ptr %202, align 8 %204 = load ptr, ptr %32, align 8 %205 = load i64, ptr %17, align 8 %206 = getelementptr inbounds double, ptr %204, i64 %205 %207 = load double, ptr %206, align 8 %208 = call double @llvm.fmuladd.f64(double %199, double %203, double %207) %209 = load ptr, ptr %28, align 8 %210 = load i64, ptr %17, align 8 %211 = getelementptr inbounds double, ptr %209, i64 %210 store double %208, ptr %211, align 8 %212 = load double, ptr %20, align 8 %213 = load ptr, ptr %29, align 8 %214 = load i64, ptr %17, align 8 %215 = getelementptr inbounds double, ptr %213, i64 %214 %216 = load double, ptr %215, align 8 %217 = load ptr, ptr %33, align 8 %218 = load i64, ptr %17, align 8 %219 = getelementptr inbounds double, ptr %217, i64 %218 %220 = load double, ptr %219, align 8 %221 = call double @llvm.fmuladd.f64(double %212, double %216, double %220) %222 = load ptr, ptr %29, align 8 %223 = load i64, ptr %17, align 8 %224 = getelementptr inbounds double, ptr %222, i64 %223 store double %221, ptr %224, align 8 br label %225 225: ; preds = %198 %226 = load i64, ptr %17, align 8 %227 = add i64 %226, 1 store i64 %227, ptr %17, align 8 %228 = load i64, ptr %17, align 8 %229 = load i64, ptr %9, align 8 %230 = icmp ule i64 %228, %229 br i1 %230, label %198, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %225 br label %231 231: ; preds = %._crit_edge6, %191 br label %232 232: ; preds = %231, %190 %233 = load double, ptr %22, align 8 store double %233, ptr %21, align 8 %234 = load i64, ptr %9, align 8 %235 = load ptr, ptr %28, align 8 %236 = load ptr, ptr %32, align 8 call void @atimes(i64 noundef %234, ptr noundef %235, ptr noundef %236, i32 noundef 0) store double 0.000000e+00, ptr %19, align 8 store i64 1, ptr %17, align 8 %237 = load i64, ptr %17, align 8 %238 = load i64, ptr %9, align 8 %239 = icmp ule i64 %237, %238 br i1 %239, label %.lr.ph11, label %257 .lr.ph11: ; preds = %232 br label %240 240: ; preds = %.lr.ph11, %251 %241 = load ptr, ptr %32, align 8 %242 = load i64, ptr %17, align 8 %243 = getelementptr inbounds double, ptr %241, i64 %242 %244 = load double, ptr %243, align 8 %245 = load ptr, ptr %29, align 8 %246 = load i64, ptr %17, align 8 %247 = getelementptr inbounds double, ptr %245, i64 %246 %248 = load double, ptr %247, align 8 %249 = load double, ptr %19, align 8 %250 = call double @llvm.fmuladd.f64(double %244, double %248, double %249) store double %250, ptr %19, align 8 br label %251 251: ; preds = %240 %252 = load i64, ptr %17, align 8 %253 = add i64 %252, 1 store i64 %253, ptr %17, align 8 %254 = load i64, ptr %17, align 8 %255 = load i64, ptr %9, align 8 %256 = icmp ule i64 %254, %255 br i1 %256, label %240, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %251 br label %257 257: ; preds = %._crit_edge12, %232 %258 = load double, ptr %22, align 8 %259 = load double, ptr %19, align 8 %260 = fdiv double %258, %259 store double %260, ptr %18, align 8 %261 = load i64, ptr %9, align 8 %262 = load ptr, ptr %29, align 8 %263 = load ptr, ptr %33, align 8 call void @atimes(i64 noundef %261, ptr noundef %262, ptr noundef %263, i32 noundef 1) store i64 1, ptr %17, align 8 %264 = load i64, ptr %17, align 8 %265 = load i64, ptr %9, align 8 %266 = icmp ule i64 %264, %265 br i1 %266, label %.lr.ph14, label %306 .lr.ph14: ; preds = %257 br label %267 267: ; preds = %.lr.ph14, %300 %268 = load double, ptr %18, align 8 %269 = load ptr, ptr %28, align 8 %270 = load i64, ptr %17, align 8 %271 = getelementptr inbounds double, ptr %269, i64 %270 %272 = load double, ptr %271, align 8 %273 = load ptr, ptr %11, align 8 %274 = load i64, ptr %17, align 8 %275 = getelementptr inbounds double, ptr %273, i64 %274 %276 = load double, ptr %275, align 8 %277 = call double @llvm.fmuladd.f64(double %268, double %272, double %276) store double %277, ptr %275, align 8 %278 = load double, ptr %18, align 8 %279 = load ptr, ptr %32, align 8 %280 = load i64, ptr %17, align 8 %281 = getelementptr inbounds double, ptr %279, i64 %280 %282 = load double, ptr %281, align 8 %283 = load ptr, ptr %30, align 8 %284 = load i64, ptr %17, align 8 %285 = getelementptr inbounds double, ptr %283, i64 %284 %286 = load double, ptr %285, align 8 %287 = fneg double %278 %288 = call double @llvm.fmuladd.f64(double %287, double %282, double %286) store double %288, ptr %285, align 8 %289 = load double, ptr %18, align 8 %290 = load ptr, ptr %33, align 8 %291 = load i64, ptr %17, align 8 %292 = getelementptr inbounds double, ptr %290, i64 %291 %293 = load double, ptr %292, align 8 %294 = load ptr, ptr %31, align 8 %295 = load i64, ptr %17, align 8 %296 = getelementptr inbounds double, ptr %294, i64 %295 %297 = load double, ptr %296, align 8 %298 = fneg double %289 %299 = call double @llvm.fmuladd.f64(double %298, double %293, double %297) store double %299, ptr %296, align 8 br label %300 300: ; preds = %267 %301 = load i64, ptr %17, align 8 %302 = add i64 %301, 1 store i64 %302, ptr %17, align 8 %303 = load i64, ptr %17, align 8 %304 = load i64, ptr %9, align 8 %305 = icmp ule i64 %303, %304 br i1 %305, label %267, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %300 br label %306 306: ; preds = %._crit_edge15, %257 %307 = load i64, ptr %9, align 8 %308 = load ptr, ptr %30, align 8 %309 = load ptr, ptr %32, align 8 call void @asolve(i64 noundef %307, ptr noundef %308, ptr noundef %309, i32 noundef 0) %310 = load i32, ptr %12, align 4 %311 = icmp eq i32 %310, 1 br i1 %311, label %312, label %320 312: ; preds = %306 %313 = load i64, ptr %9, align 8 %314 = load ptr, ptr %30, align 8 %315 = load i32, ptr %12, align 4 %316 = call double @snrm(i64 noundef %313, ptr noundef %314, i32 noundef %315) %317 = load double, ptr %23, align 8 %318 = fdiv double %316, %317 %319 = load ptr, ptr %16, align 8 store double %318, ptr %319, align 8 br label %399 320: ; preds = %306 %321 = load i32, ptr %12, align 4 %322 = icmp eq i32 %321, 2 br i1 %322, label %323, label %331 323: ; preds = %320 %324 = load i64, ptr %9, align 8 %325 = load ptr, ptr %32, align 8 %326 = load i32, ptr %12, align 4 %327 = call double @snrm(i64 noundef %324, ptr noundef %325, i32 noundef %326) %328 = load double, ptr %23, align 8 %329 = fdiv double %327, %328 %330 = load ptr, ptr %16, align 8 store double %329, ptr %330, align 8 br label %398 331: ; preds = %320 %332 = load i32, ptr %12, align 4 %333 = icmp eq i32 %332, 3 br i1 %333, label %337, label %334 334: ; preds = %331 %335 = load i32, ptr %12, align 4 %336 = icmp eq i32 %335, 4 br i1 %336, label %337, label %397 337: ; preds = %334, %331 %338 = load double, ptr %27, align 8 store double %338, ptr %26, align 8 %339 = load i64, ptr %9, align 8 %340 = load ptr, ptr %32, align 8 %341 = load i32, ptr %12, align 4 %342 = call double @snrm(i64 noundef %339, ptr noundef %340, i32 noundef %341) store double %342, ptr %27, align 8 %343 = load double, ptr %26, align 8 %344 = load double, ptr %27, align 8 %345 = fsub double %343, %344 %346 = call double @llvm.fabs.f64(double %345) %347 = load double, ptr %27, align 8 %348 = fmul double 0x3D06849B86A12B9B, %347 %349 = fcmp ogt double %346, %348 br i1 %349, label %350, label %367 350: ; preds = %337 %351 = load double, ptr %18, align 8 %352 = call double @llvm.fabs.f64(double %351) %353 = load i64, ptr %9, align 8 %354 = load ptr, ptr %28, align 8 %355 = load i32, ptr %12, align 4 %356 = call double @snrm(i64 noundef %353, ptr noundef %354, i32 noundef %355) %357 = fmul double %352, %356 store double %357, ptr %24, align 8 %358 = load double, ptr %27, align 8 %359 = load double, ptr %26, align 8 %360 = load double, ptr %27, align 8 %361 = fsub double %359, %360 %362 = call double @llvm.fabs.f64(double %361) %363 = fdiv double %358, %362 %364 = load double, ptr %24, align 8 %365 = fmul double %363, %364 %366 = load ptr, ptr %16, align 8 store double %365, ptr %366, align 8 br label %376 367: ; preds = %337 %368 = load double, ptr %27, align 8 %369 = load double, ptr %23, align 8 %370 = fdiv double %368, %369 %371 = load ptr, ptr %16, align 8 store double %370, ptr %371, align 8 br label %.backedge .backedge: ; preds = %367, %391, %410 %372 = load ptr, ptr %15, align 8 %373 = load i32, ptr %372, align 4 %374 = load i32, ptr %14, align 4 %375 = icmp sle i32 %373, %374 br i1 %375, label %134, label %..loopexit_crit_edge, !llvm.loop !13 376: ; preds = %350 %377 = load i64, ptr %9, align 8 %378 = load ptr, ptr %11, align 8 %379 = load i32, ptr %12, align 4 %380 = call double @snrm(i64 noundef %377, ptr noundef %378, i32 noundef %379) store double %380, ptr %25, align 8 %381 = load ptr, ptr %16, align 8 %382 = load double, ptr %381, align 8 %383 = load double, ptr %25, align 8 %384 = fmul double 5.000000e-01, %383 %385 = fcmp ole double %382, %384 br i1 %385, label %386, label %391 386: ; preds = %376 %387 = load double, ptr %25, align 8 %388 = load ptr, ptr %16, align 8 %389 = load double, ptr %388, align 8 %390 = fdiv double %389, %387 store double %390, ptr %388, align 8 br label %396 391: ; preds = %376 %392 = load double, ptr %27, align 8 %393 = load double, ptr %23, align 8 %394 = fdiv double %392, %393 %395 = load ptr, ptr %16, align 8 store double %394, ptr %395, align 8 br label %.backedge 396: ; preds = %386 br label %397 397: ; preds = %396, %334 br label %398 398: ; preds = %397, %323 br label %399 399: ; preds = %398, %312 %400 = load ptr, ptr %15, align 8 %401 = load i32, ptr %400, align 4 %402 = load ptr, ptr %16, align 8 %403 = load double, ptr %402, align 8 %404 = call i32 @printf(ptr noundef @.str.1, i32 noundef %401, double noundef %403) %405 = load ptr, ptr %16, align 8 %406 = load double, ptr %405, align 8 %407 = load double, ptr %13, align 8 %408 = fcmp ole double %406, %407 br i1 %408, label %409, label %410 409: ; preds = %399 br label %411 410: ; preds = %399 br label %.backedge ..loopexit_crit_edge: ; preds = %.backedge br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %129 br label %411 411: ; preds = %.loopexit, %409 %412 = load ptr, ptr %28, align 8 %413 = load i64, ptr %9, align 8 %414 = call i32 @free_dvector(ptr noundef %412, i32 noundef 1, i64 noundef %413) %415 = load ptr, ptr %29, align 8 %416 = load i64, ptr %9, align 8 %417 = call i32 @free_dvector(ptr noundef %415, i32 noundef 1, i64 noundef %416) %418 = load ptr, ptr %30, align 8 %419 = load i64, ptr %9, align 8 %420 = call i32 @free_dvector(ptr noundef %418, i32 noundef 1, i64 noundef %419) %421 = load ptr, ptr %31, align 8 %422 = load i64, ptr %9, align 8 %423 = call i32 @free_dvector(ptr noundef %421, i32 noundef 1, i64 noundef %422) %424 = load ptr, ptr %32, align 8 %425 = load i64, ptr %9, align 8 %426 = call i32 @free_dvector(ptr noundef %424, i32 noundef 1, i64 noundef %425) %427 = load ptr, ptr %33, align 8 %428 = load i64, ptr %9, align 8 %429 = call i32 @free_dvector(ptr noundef %427, i32 noundef 1, i64 noundef %428) ret void } declare ptr @dvector(i32 noundef, i64 noundef) #1 declare void @atimes(i64 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare double @snrm(i64 noundef, ptr noundef, i32 noundef) #1 declare void @asolve(i64 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @nrerror(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 declare i32 @printf(ptr noundef, i32 noundef, double noundef) #1 declare i32 @free_dvector(ptr noundef, 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" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7}
; ModuleID = '/tmp/tmph9y68s0r.c' source_filename = "/tmp/tmph9y68s0r.c" target datalayout = "e-m:e-p270: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/tmph9y68s0r.c" target datalayout = "e-m:e-p270: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/tmp34k5216a.c' source_filename = "/tmp/tmp34k5216a.c" target datalayout = "e-m:e-p270: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 @arraydiff_kernel_tanh_fwd_f32(i64 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 store i64 %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i64 0, ptr %7, align 8 br label %12 12: ; preds = %37, %3 %13 = load i64, ptr %7, align 8 %14 = load i64, ptr %4, align 8 %15 = icmp ult i64 %13, %14 br i1 %15, label %16, label %40 16: ; preds = %12 %17 = load ptr, ptr %5, align 8 %18 = load i64, ptr %7, align 8 %19 = getelementptr inbounds float, ptr %17, i64 %18 %20 = load float, ptr %19, align 4 store float %20, ptr %8, align 4 %21 = load float, ptr %8, align 4 %22 = call float @expf(float noundef %21) #2 store float %22, ptr %9, align 4 %23 = load float, ptr %8, align 4 %24 = fneg float %23 %25 = call float @expf(float noundef %24) #2 store float %25, ptr %10, align 4 %26 = load float, ptr %9, align 4 %27 = load float, ptr %10, align 4 %28 = fsub float %26, %27 %29 = load float, ptr %9, align 4 %30 = load float, ptr %10, align 4 %31 = fadd float %29, %30 %32 = fdiv float %28, %31 store float %32, ptr %11, align 4 %33 = load float, ptr %11, align 4 %34 = load ptr, ptr %6, align 8 %35 = load i64, ptr %7, align 8 %36 = getelementptr inbounds float, ptr %34, i64 %35 store float %33, ptr %36, align 4 br label %37 37: ; preds = %16 %38 = load i64, ptr %7, align 8 %39 = add i64 %38, 1 store i64 %39, ptr %7, align 8 br label %12, !llvm.loop !6 40: ; preds = %12 ret void } ; Function Attrs: nounwind declare float @expf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp34k5216a.c" target datalayout = "e-m:e-p270: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 @arraydiff_kernel_tanh_fwd_f32(i64 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 store i64 %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i64 0, ptr %7, align 8 %12 = load i64, ptr %7, align 8 %13 = load i64, ptr %4, align 8 %14 = icmp ult i64 %12, %13 br i1 %14, label %.lr.ph, label %42 .lr.ph: ; preds = %3 br label %15 15: ; preds = %.lr.ph, %36 %16 = load ptr, ptr %5, align 8 %17 = load i64, ptr %7, align 8 %18 = getelementptr inbounds float, ptr %16, i64 %17 %19 = load float, ptr %18, align 4 store float %19, ptr %8, align 4 %20 = load float, ptr %8, align 4 %21 = call float @expf(float noundef %20) #2 store float %21, ptr %9, align 4 %22 = load float, ptr %8, align 4 %23 = fneg float %22 %24 = call float @expf(float noundef %23) #2 store float %24, ptr %10, align 4 %25 = load float, ptr %9, align 4 %26 = load float, ptr %10, align 4 %27 = fsub float %25, %26 %28 = load float, ptr %9, align 4 %29 = load float, ptr %10, align 4 %30 = fadd float %28, %29 %31 = fdiv float %27, %30 store float %31, ptr %11, align 4 %32 = load float, ptr %11, align 4 %33 = load ptr, ptr %6, align 8 %34 = load i64, ptr %7, align 8 %35 = getelementptr inbounds float, ptr %33, i64 %34 store float %32, ptr %35, align 4 br label %36 36: ; preds = %15 %37 = load i64, ptr %7, align 8 %38 = add i64 %37, 1 store i64 %38, ptr %7, align 8 %39 = load i64, ptr %7, align 8 %40 = load i64, ptr %4, align 8 %41 = icmp ult i64 %39, %40 br i1 %41, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %42 42: ; preds = %._crit_edge, %3 ret void } ; Function Attrs: nounwind declare float @expf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp3g4gdv0v.c' source_filename = "/tmp/tmp3g4gdv0v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%d %d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %4 4: ; preds = %7, %0 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %6 = icmp eq i32 %5, 2 br i1 %6, label %7, label %14 7: ; preds = %4 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = call i32 @maxLength(i32 noundef %10, i32 noundef %11) %13 = call i32 @printf(ptr noundef @.str.1, i32 noundef %8, i32 noundef %9, i32 noundef %12) br label %4, !llvm.loop !6 14: ; preds = %4 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @maxLength(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3g4gdv0v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%d %d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %5 = icmp eq i32 %4, 2 br i1 %5, label %.lr.ph, label %15 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %6 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = call i32 @maxLength(i32 noundef %9, i32 noundef %10) %12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %7, i32 noundef %8, i32 noundef %11) %13 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %14 = icmp eq i32 %13, 2 br i1 %14, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %6 br label %15 15: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @maxLength(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvpmefwz4.c' source_filename = "/tmp/tmpvpmefwz4.c" target datalayout = "e-m:e-p270: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"Digite o pre\C3\A7o antigo do produto: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"Barato!\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"Normal!\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"Caro!\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"Muito caro!\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 %4 = call i32 @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load float, ptr %2, align 4 %7 = fpext float %6 to double %8 = fcmp ole double %7, 5.000000e+01 br i1 %8, label %9, label %16 9: ; preds = %0 %10 = load float, ptr %2, align 4 %11 = fpext float %10 to double %12 = load float, ptr %2, align 4 %13 = fpext float %12 to double %14 = call double @llvm.fmuladd.f64(double %13, double 5.000000e-02, double %11) %15 = fptrunc double %14 to float store float %15, ptr %3, align 4 br label %39 16: ; preds = %0 %17 = load float, ptr %2, align 4 %18 = fpext float %17 to double %19 = fcmp ogt double %18, 5.000000e+01 br i1 %19, label %20, label %31 20: ; preds = %16 %21 = load float, ptr %2, align 4 %22 = fpext float %21 to double %23 = fcmp olt double %22, 1.000000e+02 br i1 %23, label %24, label %31 24: ; preds = %20 %25 = load float, ptr %2, align 4 %26 = fpext float %25 to double %27 = load float, ptr %2, align 4 %28 = fpext float %27 to double %29 = call double @llvm.fmuladd.f64(double %28, double 1.000000e-01, double %26) %30 = fptrunc double %29 to float store float %30, ptr %3, align 4 br label %38 31: ; preds = %20, %16 %32 = load float, ptr %2, align 4 %33 = fpext float %32 to double %34 = load float, ptr %2, align 4 %35 = fpext float %34 to double %36 = call double @llvm.fmuladd.f64(double %35, double 1.500000e-01, double %33) %37 = fptrunc double %36 to float store float %37, ptr %3, align 4 br label %38 38: ; preds = %31, %24 br label %39 39: ; preds = %38, %9 %40 = load float, ptr %3, align 4 %41 = fpext float %40 to double %42 = fcmp ole double %41, 8.000000e+01 br i1 %42, label %43, label %45 43: ; preds = %39 %44 = call i32 @printf(ptr noundef @.str.2) br label %69 45: ; preds = %39 %46 = load float, ptr %3, align 4 %47 = fpext float %46 to double %48 = fcmp ogt double %47, 8.000000e+01 br i1 %48, label %49, label %55 49: ; preds = %45 %50 = load float, ptr %3, align 4 %51 = fpext float %50 to double %52 = fcmp ole double %51, 1.200000e+02 br i1 %52, label %53, label %55 53: ; preds = %49 %54 = call i32 @printf(ptr noundef @.str.3) br label %68 55: ; preds = %49, %45 %56 = load float, ptr %3, align 4 %57 = fpext float %56 to double %58 = fcmp ogt double %57, 1.200000e+02 br i1 %58, label %59, label %65 59: ; preds = %55 %60 = load float, ptr %3, align 4 %61 = fpext float %60 to double %62 = fcmp ole double %61, 2.000000e+02 br i1 %62, label %63, label %65 63: ; preds = %59 %64 = call i32 @printf(ptr noundef @.str.4) br label %67 65: ; preds = %59, %55 %66 = call i32 @printf(ptr noundef @.str.5) br label %67 67: ; preds = %65, %63 br label %68 68: ; preds = %67, %53 br label %69 69: ; preds = %68, %43 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvpmefwz4.c" target datalayout = "e-m:e-p270: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"Digite o pre\C3\A7o antigo do produto: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"Barato!\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"Normal!\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"Caro!\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"Muito caro!\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 %4 = call i32 @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load float, ptr %2, align 4 %7 = fpext float %6 to double %8 = fcmp ole double %7, 5.000000e+01 br i1 %8, label %9, label %16 9: ; preds = %0 %10 = load float, ptr %2, align 4 %11 = fpext float %10 to double %12 = load float, ptr %2, align 4 %13 = fpext float %12 to double %14 = call double @llvm.fmuladd.f64(double %13, double 5.000000e-02, double %11) %15 = fptrunc double %14 to float store float %15, ptr %3, align 4 br label %39 16: ; preds = %0 %17 = load float, ptr %2, align 4 %18 = fpext float %17 to double %19 = fcmp ogt double %18, 5.000000e+01 br i1 %19, label %20, label %31 20: ; preds = %16 %21 = load float, ptr %2, align 4 %22 = fpext float %21 to double %23 = fcmp olt double %22, 1.000000e+02 br i1 %23, label %24, label %31 24: ; preds = %20 %25 = load float, ptr %2, align 4 %26 = fpext float %25 to double %27 = load float, ptr %2, align 4 %28 = fpext float %27 to double %29 = call double @llvm.fmuladd.f64(double %28, double 1.000000e-01, double %26) %30 = fptrunc double %29 to float store float %30, ptr %3, align 4 br label %38 31: ; preds = %20, %16 %32 = load float, ptr %2, align 4 %33 = fpext float %32 to double %34 = load float, ptr %2, align 4 %35 = fpext float %34 to double %36 = call double @llvm.fmuladd.f64(double %35, double 1.500000e-01, double %33) %37 = fptrunc double %36 to float store float %37, ptr %3, align 4 br label %38 38: ; preds = %31, %24 br label %39 39: ; preds = %38, %9 %40 = load float, ptr %3, align 4 %41 = fpext float %40 to double %42 = fcmp ole double %41, 8.000000e+01 br i1 %42, label %43, label %45 43: ; preds = %39 %44 = call i32 @printf(ptr noundef @.str.2) br label %69 45: ; preds = %39 %46 = load float, ptr %3, align 4 %47 = fpext float %46 to double %48 = fcmp ogt double %47, 8.000000e+01 br i1 %48, label %49, label %55 49: ; preds = %45 %50 = load float, ptr %3, align 4 %51 = fpext float %50 to double %52 = fcmp ole double %51, 1.200000e+02 br i1 %52, label %53, label %55 53: ; preds = %49 %54 = call i32 @printf(ptr noundef @.str.3) br label %68 55: ; preds = %49, %45 %56 = load float, ptr %3, align 4 %57 = fpext float %56 to double %58 = fcmp ogt double %57, 1.200000e+02 br i1 %58, label %59, label %65 59: ; preds = %55 %60 = load float, ptr %3, align 4 %61 = fpext float %60 to double %62 = fcmp ole double %61, 2.000000e+02 br i1 %62, label %63, label %65 63: ; preds = %59 %64 = call i32 @printf(ptr noundef @.str.4) br label %67 65: ; preds = %59, %55 %66 = call i32 @printf(ptr noundef @.str.5) br label %67 67: ; preds = %65, %63 br label %68 68: ; preds = %67, %53 br label %69 69: ; preds = %68, %43 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe6g99_vj.c' source_filename = "/tmp/tmpe6g99_vj.c" target datalayout = "e-m:e-p270: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 @serial_puts(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %14, %1 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 %6 = icmp ne i8 %5, 0 br i1 %6, label %7, label %19 7: ; preds = %3 %8 = load ptr, ptr %2, align 8 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp eq i32 %10, 10 br i1 %11, label %12, label %14 12: ; preds = %7 %13 = call i32 @serial_putc(i8 noundef signext 13) br label %14 14: ; preds = %12, %7 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %2, align 8 %17 = load i8, ptr %15, align 1 %18 = call i32 @serial_putc(i8 noundef signext %17) br label %3, !llvm.loop !6 19: ; preds = %3 ret void } declare i32 @serial_putc(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe6g99_vj.c" target datalayout = "e-m:e-p270: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 @serial_puts(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i8, ptr %3, align 1 %5 = icmp ne i8 %4, 0 br i1 %5, label %.lr.ph, label %21 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %13 %7 = load ptr, ptr %2, align 8 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %9, 10 br i1 %10, label %11, label %13 11: ; preds = %6 %12 = call i32 @serial_putc(i8 noundef signext 13) br label %13 13: ; preds = %11, %6 %14 = load ptr, ptr %2, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %2, align 8 %16 = load i8, ptr %14, align 1 %17 = call i32 @serial_putc(i8 noundef signext %16) %18 = load ptr, ptr %2, align 8 %19 = load i8, ptr %18, align 1 %20 = icmp ne i8 %19, 0 br i1 %20, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %21 21: ; preds = %._crit_edge, %1 ret void } declare i32 @serial_putc(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpsfjcr1mt.c' source_filename = "/tmp/tmpsfjcr1mt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsfjcr1mt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7qa81jg2.c' source_filename = "/tmp/tmp7qa81jg2.c" target datalayout = "e-m:e-p270: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 @gauss_sim(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 store double %0, ptr %6, align 8 store double %1, ptr %7, align 8 store double %2, ptr %8, align 8 store double %3, ptr %9, align 8 %11 = load double, ptr %6, align 8 %12 = load double, ptr %9, align 8 %13 = fsub double %11, %12 %14 = call double @llvm.fabs.f64(double %13) store double %14, ptr %10, align 8 %15 = load double, ptr %10, align 8 %16 = load double, ptr %8, align 8 %17 = fcmp ole double %15, %16 br i1 %17, label %18, label %19 18: ; preds = %4 store double 1.000000e+00, ptr %5, align 8 br label %28 19: ; preds = %4 %20 = load double, ptr %10, align 8 %21 = load double, ptr %8, align 8 %22 = fsub double %20, %21 %23 = load double, ptr %7, align 8 %24 = fdiv double %22, %23 %25 = call double @pow(double noundef %24, double noundef 2.000000e+00) #3 %26 = fneg double %25 %27 = call double @pow(double noundef 2.000000e+00, double noundef %26) #3 store double %27, ptr %5, align 8 br label %28 28: ; preds = %19, %18 %29 = load double, ptr %5, align 8 ret double %29 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 ; Function Attrs: nounwind declare double @pow(double noundef, 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/tmp7qa81jg2.c" target datalayout = "e-m:e-p270: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 @gauss_sim(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 store double %0, ptr %6, align 8 store double %1, ptr %7, align 8 store double %2, ptr %8, align 8 store double %3, ptr %9, align 8 %11 = load double, ptr %6, align 8 %12 = load double, ptr %9, align 8 %13 = fsub double %11, %12 %14 = call double @llvm.fabs.f64(double %13) store double %14, ptr %10, align 8 %15 = load double, ptr %10, align 8 %16 = load double, ptr %8, align 8 %17 = fcmp ole double %15, %16 br i1 %17, label %18, label %19 18: ; preds = %4 store double 1.000000e+00, ptr %5, align 8 br label %28 19: ; preds = %4 %20 = load double, ptr %10, align 8 %21 = load double, ptr %8, align 8 %22 = fsub double %20, %21 %23 = load double, ptr %7, align 8 %24 = fdiv double %22, %23 %25 = call double @pow(double noundef %24, double noundef 2.000000e+00) #3 %26 = fneg double %25 %27 = call double @pow(double noundef 2.000000e+00, double noundef %26) #3 store double %27, ptr %5, align 8 br label %28 28: ; preds = %19, %18 %29 = load double, ptr %5, align 8 ret double %29 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 ; Function Attrs: nounwind declare double @pow(double noundef, 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/tmp3o3lfrwe.c' source_filename = "/tmp/tmp3o3lfrwe.c" target datalayout = "e-m:e-p270: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 [63 x i8] c"Error in search_k_minimum: k must be smaller or equal to size!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @search_k_minimum(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 i32, align 4 %10 = alloca double, align 8 %11 = alloca double, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp sgt i32 %12, %13 %15 = zext i1 %14 to i32 %16 = call i32 @print_error(i32 noundef %15, i32 noundef 1, ptr noundef @.str) store i32 0, ptr %7, align 4 br label %17 17: ; preds = %78, %3 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %5, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %81 21: ; preds = %17 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %7, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds double, ptr %22, i64 %24 %26 = load double, ptr %25, align 8 store double %26, ptr %10, align 8 %27 = load i32, ptr %7, align 4 store i32 %27, ptr %9, align 4 %28 = load i32, ptr %7, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %8, align 4 br label %30 30: ; preds = %50, %21 %31 = load i32, ptr %8, align 4 %32 = load i32, ptr %6, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %53 34: ; preds = %30 %35 = load double, ptr %10, align 8 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %8, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds double, ptr %36, i64 %38 %40 = load double, ptr %39, align 8 %41 = fcmp ogt double %35, %40 br i1 %41, label %42, label %49 42: ; preds = %34 %43 = load ptr, ptr %4, align 8 %44 = load i32, ptr %8, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds double, ptr %43, i64 %45 %47 = load double, ptr %46, align 8 store double %47, ptr %10, align 8 %48 = load i32, ptr %8, align 4 store i32 %48, ptr %9, align 4 br label %49 49: ; preds = %42, %34 br label %50 50: ; preds = %49 %51 = load i32, ptr %8, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %8, align 4 br label %30, !llvm.loop !6 53: ; preds = %30 %54 = load i32, ptr %7, align 4 %55 = load i32, ptr %9, align 4 %56 = icmp ne i32 %54, %55 br i1 %56, label %57, label %77 57: ; preds = %53 %58 = load ptr, ptr %4, align 8 %59 = load i32, ptr %7, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds double, ptr %58, i64 %60 %62 = load double, ptr %61, align 8 store double %62, ptr %11, align 8 %63 = load ptr, ptr %4, align 8 %64 = load i32, ptr %9, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds double, ptr %63, i64 %65 %67 = load double, ptr %66, align 8 %68 = load ptr, ptr %4, align 8 %69 = load i32, ptr %7, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds double, ptr %68, i64 %70 store double %67, ptr %71, align 8 %72 = load double, ptr %11, align 8 %73 = load ptr, ptr %4, align 8 %74 = load i32, ptr %9, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds double, ptr %73, i64 %75 store double %72, ptr %76, align 8 br label %77 77: ; preds = %57, %53 br label %78 78: ; preds = %77 %79 = load i32, ptr %7, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %7, align 4 br label %17, !llvm.loop !8 81: ; preds = %17 %82 = load double, ptr %10, align 8 ret double %82 } declare i32 @print_error(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3o3lfrwe.c" target datalayout = "e-m:e-p270: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 [63 x i8] c"Error in search_k_minimum: k must be smaller or equal to size!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @search_k_minimum(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 i32, align 4 %10 = alloca double, align 8 %11 = alloca double, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp sgt i32 %12, %13 %15 = zext i1 %14 to i32 %16 = call i32 @print_error(i32 noundef %15, i32 noundef 1, ptr noundef @.str) store i32 0, ptr %7, align 4 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %5, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %.lr.ph2, label %85 .lr.ph2: ; preds = %3 br label %20 20: ; preds = %.lr.ph2, %79 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %7, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds double, ptr %21, i64 %23 %25 = load double, ptr %24, align 8 store double %25, ptr %10, align 8 %26 = load i32, ptr %7, align 4 store i32 %26, ptr %9, align 4 %27 = load i32, ptr %7, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %8, align 4 %29 = load i32, ptr %8, align 4 %30 = load i32, ptr %6, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %.lr.ph, label %54 .lr.ph: ; preds = %20 br label %32 32: ; preds = %.lr.ph, %48 %33 = load double, ptr %10, align 8 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %8, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds double, ptr %34, i64 %36 %38 = load double, ptr %37, align 8 %39 = fcmp ogt double %33, %38 br i1 %39, label %40, label %47 40: ; preds = %32 %41 = load ptr, ptr %4, align 8 %42 = load i32, ptr %8, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds double, ptr %41, i64 %43 %45 = load double, ptr %44, align 8 store double %45, ptr %10, align 8 %46 = load i32, ptr %8, align 4 store i32 %46, ptr %9, align 4 br label %47 47: ; preds = %40, %32 br label %48 48: ; preds = %47 %49 = load i32, ptr %8, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %8, align 4 %51 = load i32, ptr %8, align 4 %52 = load i32, ptr %6, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %32, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %48 br label %54 54: ; preds = %._crit_edge, %20 %55 = load i32, ptr %7, align 4 %56 = load i32, ptr %9, align 4 %57 = icmp ne i32 %55, %56 br i1 %57, label %58, label %78 58: ; preds = %54 %59 = load ptr, ptr %4, align 8 %60 = load i32, ptr %7, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds double, ptr %59, i64 %61 %63 = load double, ptr %62, align 8 store double %63, ptr %11, align 8 %64 = load ptr, ptr %4, align 8 %65 = load i32, ptr %9, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds double, ptr %64, i64 %66 %68 = load double, ptr %67, align 8 %69 = load ptr, ptr %4, align 8 %70 = load i32, ptr %7, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds double, ptr %69, i64 %71 store double %68, ptr %72, align 8 %73 = load double, ptr %11, align 8 %74 = load ptr, ptr %4, align 8 %75 = load i32, ptr %9, 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 = %58, %54 br label %79 79: ; preds = %78 %80 = load i32, ptr %7, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %7, align 4 %82 = load i32, ptr %7, align 4 %83 = load i32, ptr %5, align 4 %84 = icmp slt i32 %82, %83 br i1 %84, label %20, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %79 br label %85 85: ; preds = %._crit_edge3, %3 %86 = load double, ptr %10, align 8 ret double %86 } declare i32 @print_error(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp16qvw2wi.c' source_filename = "/tmp/tmp16qvw2wi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @FALSE = dso_local global i32 0, align 4 @TRUE = 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/tmp16qvw2wi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @FALSE = dso_local global i32 0, align 4 @TRUE = 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/tmp6eutyzx7.c' source_filename = "/tmp/tmp6eutyzx7.c" target datalayout = "e-m:e-p270: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 @jimi_getche() #0 { %1 = call i32 @jimi_getch_term(i32 noundef 1) ret i32 %1 } declare i32 @jimi_getch_term(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/tmp6eutyzx7.c" target datalayout = "e-m:e-p270: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 @jimi_getche() #0 { %1 = call i32 @jimi_getch_term(i32 noundef 1) ret i32 %1 } declare i32 @jimi_getch_term(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/tmpj_136flc.c' source_filename = "/tmp/tmpj_136flc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d:%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @open_dev_flags(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [20 x i8], align 16 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = getelementptr inbounds [20 x i8], ptr %5, i64 0, i64 0 %7 = load i32, ptr %3, align 4 %8 = call i32 @dev2major(i32 noundef %7) %9 = load i32, ptr %3, align 4 %10 = call i32 @dev2minor(i32 noundef %9) %11 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, i32 noundef %8, i32 noundef %10) %12 = getelementptr inbounds [20 x i8], ptr %5, i64 0, i64 0 %13 = load i32, ptr %4, align 4 %14 = call i32 @dev_open(ptr noundef %12, i32 noundef %13) ret i32 %14 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @dev2major(i32 noundef) #1 declare i32 @dev2minor(i32 noundef) #1 declare i32 @dev_open(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/tmpj_136flc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d:%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @open_dev_flags(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [20 x i8], align 16 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = getelementptr inbounds [20 x i8], ptr %5, i64 0, i64 0 %7 = load i32, ptr %3, align 4 %8 = call i32 @dev2major(i32 noundef %7) %9 = load i32, ptr %3, align 4 %10 = call i32 @dev2minor(i32 noundef %9) %11 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, i32 noundef %8, i32 noundef %10) %12 = getelementptr inbounds [20 x i8], ptr %5, i64 0, i64 0 %13 = load i32, ptr %4, align 4 %14 = call i32 @dev_open(ptr noundef %12, i32 noundef %13) ret i32 %14 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @dev2major(i32 noundef) #1 declare i32 @dev2minor(i32 noundef) #1 declare i32 @dev_open(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"}