llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpox_g2uxj.c' source_filename = "/tmp/tmpox_g2uxj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"wb+\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @saveFile(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %7, align 8 %10 = load ptr, ptr %7, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %13, label %12 12: ; preds = %3 br label %20 13: ; preds = %3 %14 = load ptr, ptr %5, align 8 %15 = load i64, ptr %6, align 8 %16 = load ptr, ptr %7, align 8 %17 = call i32 @fwrite(ptr noundef %14, i32 noundef 1, i64 noundef %15, ptr noundef %16) %18 = load ptr, ptr %7, align 8 %19 = call i32 @fclose(ptr noundef %18) br label %20 20: ; preds = %13, %12 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpox_g2uxj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"wb+\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @saveFile(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %7, align 8 %10 = load ptr, ptr %7, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %13, label %12 12: ; preds = %3 br label %20 13: ; preds = %3 %14 = load ptr, ptr %5, align 8 %15 = load i64, ptr %6, align 8 %16 = load ptr, ptr %7, align 8 %17 = call i32 @fwrite(ptr noundef %14, i32 noundef 1, i64 noundef %15, ptr noundef %16) %18 = load ptr, ptr %7, align 8 %19 = call i32 @fclose(ptr noundef %18) br label %20 20: ; preds = %13, %12 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp79d7shoo.c' source_filename = "/tmp/tmp79d7shoo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @B9600 = dso_local global i32 0, align 4 @CLOCAL = dso_local global i32 0, align 4 @CREAD = dso_local global i32 0, align 4 @CS8 = dso_local global i32 0, align 4 @HUPCL = dso_local global i32 0, align 4 @IGNPAR = dso_local global i64 0, align 8 @O_NOCTTY = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @TCIFLUSH = dso_local global i32 0, align 4 @TCSANOW = dso_local global i32 0, align 4 @VMIN = dso_local global i64 0, align 8 @VTIME = dso_local global i64 0, align 8 @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/tmp79d7shoo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @B9600 = dso_local global i32 0, align 4 @CLOCAL = dso_local global i32 0, align 4 @CREAD = dso_local global i32 0, align 4 @CS8 = dso_local global i32 0, align 4 @HUPCL = dso_local global i32 0, align 4 @IGNPAR = dso_local global i64 0, align 8 @O_NOCTTY = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @TCIFLUSH = dso_local global i32 0, align 4 @TCSANOW = dso_local global i32 0, align 4 @VMIN = dso_local global i64 0, align 8 @VTIME = dso_local global i64 0, align 8 @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/tmpl73xc36y.c' source_filename = "/tmp/tmpl73xc36y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"# Utils tests:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @utils_test() #0 { %1 = call i32 @puts(ptr noundef @.str) %2 = call i32 (...) @test_utc_timestamp_to_timeval() ret void } declare i32 @puts(ptr noundef) #1 declare i32 @test_utc_timestamp_to_timeval(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl73xc36y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"# Utils tests:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @utils_test() #0 { %1 = call i32 @puts(ptr noundef @.str) %2 = call i32 (...) @test_utc_timestamp_to_timeval() ret void } declare i32 @puts(ptr noundef) #1 declare i32 @test_utc_timestamp_to_timeval(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkv4q5vuh.c' source_filename = "/tmp/tmpkv4q5vuh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"input two integer(a,b):\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d,%d\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"gcd= %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"lcm= %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6, ptr noundef %7) %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %7, align 4 %14 = call i32 @gcd(i32 noundef %12, i32 noundef %13) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %14) %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %7, align 4 %18 = call i32 @lcm(i32 noundef %16, i32 noundef %17) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %18) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @gcd(i32 noundef, i32 noundef) #1 declare i32 @lcm(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/tmpkv4q5vuh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"input two integer(a,b):\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d,%d\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"gcd= %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"lcm= %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6, ptr noundef %7) %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %7, align 4 %14 = call i32 @gcd(i32 noundef %12, i32 noundef %13) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %14) %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %7, align 4 %18 = call i32 @lcm(i32 noundef %16, i32 noundef %17) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %18) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @gcd(i32 noundef, i32 noundef) #1 declare i32 @lcm(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/tmpk76drmz0.c' source_filename = "/tmp/tmpk76drmz0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @value() store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) ret i32 0 } declare i32 @value(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk76drmz0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @value() store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) ret i32 0 } declare i32 @value(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfiy9s4oy.c' source_filename = "/tmp/tmpfiy9s4oy.c" target datalayout = "e-m:e-p270: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/tmpfiy9s4oy.c" target datalayout = "e-m:e-p270: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/tmpcr23a2ku.c' source_filename = "/tmp/tmpcr23a2ku.c" target datalayout = "e-m:e-p270: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 @arg_uint1(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = add i32 %4, 1 %6 = call i32 @arg_uint2(i32 noundef %3, i32 noundef %5) ret void } declare i32 @arg_uint2(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/tmpcr23a2ku.c" target datalayout = "e-m:e-p270: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 @arg_uint1(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = add i32 %4, 1 %6 = call i32 @arg_uint2(i32 noundef %3, i32 noundef %5) ret void } declare i32 @arg_uint2(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/tmpzpsjpofl.c' source_filename = "/tmp/tmpzpsjpofl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @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 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = load i32, ptr %4, align 4 %14 = icmp sgt i32 %13, 1 br i1 %14, label %15, label %106 15: ; preds = %2 store i32 1, ptr %6, align 4 br label %16 16: ; preds = %102, %15 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %105 20: ; preds = %16 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %6, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds ptr, ptr %21, i64 %23 %25 = load ptr, ptr %24, align 8 %26 = call i32 @strlen(ptr noundef %25) store i32 %26, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %27 27: ; preds = %47, %20 %28 = load i32, ptr %9, align 4 %29 = load i32, ptr %7, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %50 31: ; preds = %27 %32 = load ptr, ptr %5, align 8 %33 = load i32, ptr %6, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds ptr, ptr %32, i64 %34 %36 = load ptr, ptr %35, align 8 %37 = load i32, ptr %9, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 32 br i1 %42, label %43, label %46 43: ; preds = %31 %44 = load i32, ptr %8, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %8, align 4 br label %46 46: ; preds = %43, %31 br label %47 47: ; preds = %46 %48 = load i32, ptr %9, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %9, align 4 br label %27, !llvm.loop !6 50: ; preds = %27 %51 = load i32, ptr %7, align 4 %52 = load i32, ptr %8, align 4 %53 = mul nsw i32 2, %52 %54 = add nsw i32 %51, %53 %55 = add nsw i32 %54, 1 store i32 %55, ptr %10, align 4 %56 = load i32, ptr %10, align 4 %57 = call ptr @calloc(i32 noundef %56, i32 noundef 1) store ptr %57, ptr %11, align 8 %58 = load ptr, ptr %11, align 8 %59 = load ptr, ptr %5, align 8 %60 = load i32, ptr %6, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds ptr, ptr %59, i64 %61 %63 = load ptr, ptr %62, align 8 %64 = call i32 @strcpy(ptr noundef %58, ptr noundef %63) %65 = load ptr, ptr %11, align 8 %66 = load i32, ptr %7, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i8, ptr %65, i64 %67 %69 = load i8, ptr %68, align 1 %70 = load ptr, ptr %11, align 8 %71 = load i32, ptr %10, align 4 %72 = sub nsw i32 %71, 1 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i8, ptr %70, i64 %73 store i8 %69, ptr %74, align 1 %75 = load i32, ptr %7, align 4 store i32 %75, ptr %12, align 4 br label %76 76: ; preds = %86, %50 %77 = load i32, ptr %12, align 4 %78 = load i32, ptr %10, align 4 %79 = sub nsw i32 %78, 2 %80 = icmp sle i32 %77, %79 br i1 %80, label %81, label %89 81: ; preds = %76 %82 = load ptr, ptr %11, align 8 %83 = load i32, ptr %12, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i8, ptr %82, i64 %84 store i8 32, ptr %85, align 1 br label %86 86: ; preds = %81 %87 = load i32, ptr %12, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %12, align 4 br label %76, !llvm.loop !8 89: ; preds = %76 %90 = load ptr, ptr %11, align 8 %91 = load i32, ptr %7, align 4 %92 = call i32 @urlify(ptr noundef %90, i32 noundef %91) %93 = load ptr, ptr %5, align 8 %94 = load i32, ptr %6, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds ptr, ptr %93, i64 %95 %97 = load ptr, ptr %96, align 8 %98 = load ptr, ptr %11, align 8 %99 = call i32 @printf(ptr noundef @.str, ptr noundef %97, ptr noundef %98) %100 = load ptr, ptr %11, align 8 %101 = call i32 @free(ptr noundef %100) br label %102 102: ; preds = %89 %103 = load i32, ptr %6, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %6, align 4 br label %16, !llvm.loop !9 105: ; preds = %16 br label %106 106: ; preds = %105, %2 %107 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %107 } declare i32 @strlen(ptr noundef) #1 declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @urlify(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzpsjpofl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @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 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = load i32, ptr %4, align 4 %14 = icmp sgt i32 %13, 1 br i1 %14, label %15, label %113 15: ; preds = %2 store i32 1, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph5, label %112 .lr.ph5: ; preds = %15 br label %19 19: ; preds = %.lr.ph5, %106 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %6, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds ptr, ptr %20, i64 %22 %24 = load ptr, ptr %23, align 8 %25 = call i32 @strlen(ptr noundef %24) store i32 %25, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %26 = load i32, ptr %9, align 4 %27 = load i32, ptr %7, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %.lr.ph, label %51 .lr.ph: ; preds = %19 br label %29 29: ; preds = %.lr.ph, %45 %30 = load ptr, ptr %5, align 8 %31 = load i32, ptr %6, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds ptr, ptr %30, i64 %32 %34 = load ptr, ptr %33, align 8 %35 = load i32, ptr %9, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %39, 32 br i1 %40, label %41, label %44 41: ; preds = %29 %42 = load i32, ptr %8, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %8, align 4 br label %44 44: ; preds = %41, %29 br label %45 45: ; preds = %44 %46 = load i32, ptr %9, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %9, align 4 %48 = load i32, ptr %9, align 4 %49 = load i32, ptr %7, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %51 51: ; preds = %._crit_edge, %19 %52 = load i32, ptr %7, align 4 %53 = load i32, ptr %8, align 4 %54 = mul nsw i32 2, %53 %55 = add nsw i32 %52, %54 %56 = add nsw i32 %55, 1 store i32 %56, ptr %10, align 4 %57 = load i32, ptr %10, align 4 %58 = call ptr @calloc(i32 noundef %57, i32 noundef 1) store ptr %58, ptr %11, align 8 %59 = load ptr, ptr %11, align 8 %60 = load ptr, ptr %5, align 8 %61 = load i32, ptr %6, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds ptr, ptr %60, i64 %62 %64 = load ptr, ptr %63, align 8 %65 = call i32 @strcpy(ptr noundef %59, ptr noundef %64) %66 = load ptr, ptr %11, align 8 %67 = load i32, ptr %7, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %66, i64 %68 %70 = load i8, ptr %69, align 1 %71 = load ptr, ptr %11, align 8 %72 = load i32, ptr %10, align 4 %73 = sub nsw i32 %72, 1 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i8, ptr %71, i64 %74 store i8 %70, ptr %75, align 1 %76 = load i32, ptr %7, align 4 store i32 %76, ptr %12, align 4 %77 = load i32, ptr %12, align 4 %78 = load i32, ptr %10, align 4 %79 = sub nsw i32 %78, 2 %80 = icmp sle i32 %77, %79 br i1 %80, label %.lr.ph2, label %93 .lr.ph2: ; preds = %51 br label %81 81: ; preds = %.lr.ph2, %86 %82 = load ptr, ptr %11, align 8 %83 = load i32, ptr %12, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i8, ptr %82, i64 %84 store i8 32, ptr %85, align 1 br label %86 86: ; preds = %81 %87 = load i32, ptr %12, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %12, align 4 %89 = load i32, ptr %12, align 4 %90 = load i32, ptr %10, align 4 %91 = sub nsw i32 %90, 2 %92 = icmp sle i32 %89, %91 br i1 %92, label %81, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %86 br label %93 93: ; preds = %._crit_edge3, %51 %94 = load ptr, ptr %11, align 8 %95 = load i32, ptr %7, align 4 %96 = call i32 @urlify(ptr noundef %94, i32 noundef %95) %97 = load ptr, ptr %5, align 8 %98 = load i32, ptr %6, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds ptr, ptr %97, i64 %99 %101 = load ptr, ptr %100, align 8 %102 = load ptr, ptr %11, align 8 %103 = call i32 @printf(ptr noundef @.str, ptr noundef %101, ptr noundef %102) %104 = load ptr, ptr %11, align 8 %105 = call i32 @free(ptr noundef %104) br label %106 106: ; preds = %93 %107 = load i32, ptr %6, align 4 %108 = add nsw i32 %107, 1 store i32 %108, ptr %6, align 4 %109 = load i32, ptr %6, align 4 %110 = load i32, ptr %4, align 4 %111 = icmp slt i32 %109, %110 br i1 %111, label %19, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %106 br label %112 112: ; preds = %._crit_edge6, %15 br label %113 113: ; preds = %112, %2 %114 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %114 } declare i32 @strlen(ptr noundef) #1 declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @urlify(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpg6uo7fkt.c' source_filename = "/tmp/tmpg6uo7fkt.c" target datalayout = "e-m:e-p270: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 @ScuSendExternalInterrupt03() #0 { %1 = call i32 @SendInterrupt(i32 noundef 83, i32 noundef 7, i32 noundef 32768, i32 noundef 524288) ret void } declare i32 @SendInterrupt(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg6uo7fkt.c" target datalayout = "e-m:e-p270: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 @ScuSendExternalInterrupt03() #0 { %1 = call i32 @SendInterrupt(i32 noundef 83, i32 noundef 7, i32 noundef 32768, i32 noundef 524288) ret void } declare i32 @SendInterrupt(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6jlm86_u.c' source_filename = "/tmp/tmp6jlm86_u.c" target datalayout = "e-m:e-p270: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 @base64_needed_decoded_length(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = mul nsw i32 %3, 3 %5 = sdiv i32 %4, 4 %6 = call i64 @ceil(i32 noundef %5) %7 = trunc i64 %6 to i32 ret i32 %7 } declare i64 @ceil(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/tmp6jlm86_u.c" target datalayout = "e-m:e-p270: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 @base64_needed_decoded_length(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = mul nsw i32 %3, 3 %5 = sdiv i32 %4, 4 %6 = call i64 @ceil(i32 noundef %5) %7 = trunc i64 %6 to i32 ret i32 %7 } declare i64 @ceil(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/tmpc36518wb.c' source_filename = "/tmp/tmpc36518wb.c" target datalayout = "e-m:e-p270: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 @gbser_writec(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 = call i32 @gbser_write(ptr noundef %5, ptr noundef %4, i32 noundef 1) ret i32 %6 } declare i32 @gbser_write(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc36518wb.c" target datalayout = "e-m:e-p270: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 @gbser_writec(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 = call i32 @gbser_write(ptr noundef %5, ptr noundef %4, i32 noundef 1) ret i32 %6 } declare i32 @gbser_write(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq8lagcwz.c' source_filename = "/tmp/tmpq8lagcwz.c" target datalayout = "e-m:e-p270: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 [22 x i8] c"malloc() failed: %ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xmalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #4 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %13 8: ; preds = %1 %9 = load i32, ptr @stderr, align 4 %10 = load i64, ptr %2, align 8 %11 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, i64 noundef %10) %12 = call i32 @exit(i32 noundef 1) #5 unreachable 13: ; preds = %1 %14 = load ptr, ptr %3, align 8 ret ptr %14 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(0) } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq8lagcwz.c" target datalayout = "e-m:e-p270: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 [22 x i8] c"malloc() failed: %ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xmalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #4 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %13 8: ; preds = %1 %9 = load i32, ptr @stderr, align 4 %10 = load i64, ptr %2, align 8 %11 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, i64 noundef %10) %12 = call i32 @exit(i32 noundef 1) #5 unreachable 13: ; preds = %1 %14 = load ptr, ptr %3, align 8 ret ptr %14 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(0) } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuwrnky45.c' source_filename = "/tmp/tmpuwrnky45.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fixed\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"variable\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_flavor_scheme() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca ptr, align 8 %4 = call i32 @getcbt_(ptr noundef %1, ptr noundef %2, ptr noundef %2, ptr noundef %2) %5 = load i32, ptr %1, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %0 store ptr @.str, ptr %3, align 8 br label %9 8: ; preds = %0 store ptr @.str.1, ptr %3, align 8 br label %9 9: ; preds = %8, %7 %10 = load ptr, ptr %3, align 8 ret ptr %10 } declare i32 @getcbt_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuwrnky45.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fixed\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"variable\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_flavor_scheme() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca ptr, align 8 %4 = call i32 @getcbt_(ptr noundef %1, ptr noundef %2, ptr noundef %2, ptr noundef %2) %5 = load i32, ptr %1, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %0 store ptr @.str, ptr %3, align 8 br label %9 8: ; preds = %0 store ptr @.str.1, ptr %3, align 8 br label %9 9: ; preds = %8, %7 %10 = load ptr, ptr %3, align 8 ret ptr %10 } declare i32 @getcbt_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy0f90m0l.c' source_filename = "/tmp/tmpy0f90m0l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @lc_usleep(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca %struct.timeval, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = udiv i64 %4, 1000000 %6 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 store i64 %5, ptr %6, align 8 %7 = load i64, ptr %2, align 8 %8 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 %9 = load i64, ptr %8, align 8 %10 = mul i64 1000000, %9 %11 = sub i64 %7, %10 %12 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1 store i64 %11, ptr %12, align 8 %13 = call i32 @select(i32 noundef 1, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %3) ret void } declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy0f90m0l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @lc_usleep(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca %struct.timeval, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = udiv i64 %4, 1000000 %6 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 store i64 %5, ptr %6, align 8 %7 = load i64, ptr %2, align 8 %8 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 %9 = load i64, ptr %8, align 8 %10 = mul i64 1000000, %9 %11 = sub i64 %7, %10 %12 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1 store i64 %11, ptr %12, align 8 %13 = call i32 @select(i32 noundef 1, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %3) ret void } declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6tonrevm.c' source_filename = "/tmp/tmp6tonrevm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"aeiou\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"bcdfghjklmnpqrstvwxyz\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @rand_name(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca float, align 4 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store ptr @.str, ptr %5, align 8 store ptr @.str.1, ptr %6, align 8 %12 = load i64, ptr %4, align 8 %13 = call i64 @rand_range(i32 noundef 6, i64 noundef %12) %14 = trunc i64 %13 to i32 store i32 %14, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 br label %15 15: ; preds = %87, %2 %16 = load i32, ptr %10, align 4 %17 = load i32, ptr %7, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %90 19: ; preds = %15 %20 = load i32, ptr %9, align 4 %21 = sitofp i32 %20 to float %22 = fdiv float %21, 3.000000e+00 %23 = load i32, ptr %8, align 4 %24 = mul nsw i32 10, %23 %25 = add nsw i32 %24, 1 %26 = sitofp i32 %25 to float %27 = fdiv float 1.000000e+00, %26 %28 = call i32 @powf(float noundef 0x3FB99999A0000000, float noundef %27) %29 = sitofp i32 %28 to float %30 = fmul float %22, %29 store float %30, ptr %11, align 4 %31 = load i32, ptr %10, align 4 %32 = icmp sgt i32 %31, 0 br i1 %32, label %33, label %42 33: ; preds = %19 %34 = call float @rand_uniform(i32 noundef 0, double noundef 1.000000e+00) %35 = load float, ptr %11, align 4 %36 = fcmp olt float %34, %35 br i1 %36, label %37, label %42 37: ; preds = %33 %38 = load ptr, ptr %3, align 8 %39 = load i32, ptr %10, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 store i8 32, ptr %41, align 1 store i32 0, ptr %9, align 4 br label %86 42: ; preds = %33, %19 %43 = load i32, ptr %10, align 4 %44 = srem i32 %43, 2 %45 = icmp ne i32 %44, 0 br i1 %45, label %46, label %57 46: ; preds = %42 %47 = load ptr, ptr %6, align 8 %48 = load ptr, ptr %6, align 8 %49 = call i64 @strlen(ptr noundef %48) %50 = call i64 @rand_range(i32 noundef 0, i64 noundef %49) %51 = getelementptr inbounds i8, ptr %47, i64 %50 %52 = load i8, ptr %51, align 1 %53 = load ptr, ptr %3, align 8 %54 = load i32, ptr %10, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %53, i64 %55 store i8 %52, ptr %56, align 1 br label %68 57: ; preds = %42 %58 = load ptr, ptr %5, align 8 %59 = load ptr, ptr %5, align 8 %60 = call i64 @strlen(ptr noundef %59) %61 = call i64 @rand_range(i32 noundef 0, i64 noundef %60) %62 = getelementptr inbounds i8, ptr %58, i64 %61 %63 = load i8, ptr %62, align 1 %64 = load ptr, ptr %3, align 8 %65 = load i32, ptr %10, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i8, ptr %64, i64 %66 store i8 %63, ptr %67, align 1 br label %68 68: ; preds = %57, %46 %69 = load i32, ptr %9, align 4 %70 = icmp eq i32 %69, 0 br i1 %70, label %71, label %83 71: ; preds = %68 %72 = load ptr, ptr %3, align 8 %73 = load i32, ptr %10, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i8, ptr %72, i64 %74 %76 = load i8, ptr %75, align 1 %77 = sext i8 %76 to i32 %78 = call signext i8 @toupper(i32 noundef %77) %79 = load ptr, ptr %3, align 8 %80 = load i32, ptr %10, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i8, ptr %79, i64 %81 store i8 %78, ptr %82, align 1 br label %83 83: ; preds = %71, %68 %84 = load i32, ptr %9, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %9, align 4 br label %86 86: ; preds = %83, %37 br label %87 87: ; preds = %86 %88 = load i32, ptr %10, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %10, align 4 br label %15, !llvm.loop !6 90: ; preds = %15 %91 = load ptr, ptr %3, align 8 %92 = load i32, ptr %7, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds i8, ptr %91, i64 %93 store i8 0, ptr %94, align 1 ret void } declare i64 @rand_range(i32 noundef, i64 noundef) #1 declare i32 @powf(float noundef, float noundef) #1 declare float @rand_uniform(i32 noundef, double noundef) #1 declare i64 @strlen(ptr noundef) #1 declare signext i8 @toupper(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/tmp6tonrevm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"aeiou\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"bcdfghjklmnpqrstvwxyz\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @rand_name(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca float, align 4 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store ptr @.str, ptr %5, align 8 store ptr @.str.1, ptr %6, align 8 %12 = load i64, ptr %4, align 8 %13 = call i64 @rand_range(i32 noundef 6, i64 noundef %12) %14 = trunc i64 %13 to i32 store i32 %14, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 %15 = load i32, ptr %10, align 4 %16 = load i32, ptr %7, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %92 .lr.ph: ; preds = %2 br label %18 18: ; preds = %.lr.ph, %86 %19 = load i32, ptr %9, align 4 %20 = sitofp i32 %19 to float %21 = fdiv float %20, 3.000000e+00 %22 = load i32, ptr %8, align 4 %23 = mul nsw i32 10, %22 %24 = add nsw i32 %23, 1 %25 = sitofp i32 %24 to float %26 = fdiv float 1.000000e+00, %25 %27 = call i32 @powf(float noundef 0x3FB99999A0000000, float noundef %26) %28 = sitofp i32 %27 to float %29 = fmul float %21, %28 store float %29, ptr %11, align 4 %30 = load i32, ptr %10, align 4 %31 = icmp sgt i32 %30, 0 br i1 %31, label %32, label %41 32: ; preds = %18 %33 = call float @rand_uniform(i32 noundef 0, double noundef 1.000000e+00) %34 = load float, ptr %11, align 4 %35 = fcmp olt float %33, %34 br i1 %35, label %36, label %41 36: ; preds = %32 %37 = load ptr, ptr %3, align 8 %38 = load i32, ptr %10, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 store i8 32, ptr %40, align 1 store i32 0, ptr %9, align 4 br label %85 41: ; preds = %32, %18 %42 = load i32, ptr %10, align 4 %43 = srem i32 %42, 2 %44 = icmp ne i32 %43, 0 br i1 %44, label %45, label %56 45: ; preds = %41 %46 = load ptr, ptr %6, align 8 %47 = load ptr, ptr %6, align 8 %48 = call i64 @strlen(ptr noundef %47) %49 = call i64 @rand_range(i32 noundef 0, i64 noundef %48) %50 = getelementptr inbounds i8, ptr %46, i64 %49 %51 = load i8, ptr %50, align 1 %52 = load ptr, ptr %3, align 8 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %52, i64 %54 store i8 %51, ptr %55, align 1 br label %67 56: ; preds = %41 %57 = load ptr, ptr %5, align 8 %58 = load ptr, ptr %5, align 8 %59 = call i64 @strlen(ptr noundef %58) %60 = call i64 @rand_range(i32 noundef 0, i64 noundef %59) %61 = getelementptr inbounds i8, ptr %57, i64 %60 %62 = load i8, ptr %61, align 1 %63 = load ptr, ptr %3, align 8 %64 = load i32, ptr %10, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i8, ptr %63, i64 %65 store i8 %62, ptr %66, align 1 br label %67 67: ; preds = %56, %45 %68 = load i32, ptr %9, align 4 %69 = icmp eq i32 %68, 0 br i1 %69, label %70, label %82 70: ; preds = %67 %71 = load ptr, ptr %3, align 8 %72 = load i32, ptr %10, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i8, ptr %71, i64 %73 %75 = load i8, ptr %74, align 1 %76 = sext i8 %75 to i32 %77 = call signext i8 @toupper(i32 noundef %76) %78 = load ptr, ptr %3, align 8 %79 = load i32, ptr %10, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i8, ptr %78, i64 %80 store i8 %77, ptr %81, align 1 br label %82 82: ; preds = %70, %67 %83 = load i32, ptr %9, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %9, align 4 br label %85 85: ; preds = %82, %36 br label %86 86: ; preds = %85 %87 = load i32, ptr %10, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %10, align 4 %89 = load i32, ptr %10, align 4 %90 = load i32, ptr %7, align 4 %91 = icmp slt i32 %89, %90 br i1 %91, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %86 br label %92 92: ; preds = %._crit_edge, %2 %93 = load ptr, ptr %3, align 8 %94 = load i32, ptr %7, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds i8, ptr %93, i64 %95 store i8 0, ptr %96, align 1 ret void } declare i64 @rand_range(i32 noundef, i64 noundef) #1 declare i32 @powf(float noundef, float noundef) #1 declare float @rand_uniform(i32 noundef, double noundef) #1 declare i64 @strlen(ptr noundef) #1 declare signext i8 @toupper(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/tmp3q7out2m.c' source_filename = "/tmp/tmp3q7out2m.c" target datalayout = "e-m:e-p270: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 @Barcode_upc_verify(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp ne i32 %8, 11 br i1 %9, label %10, label %20 10: ; preds = %1 %11 = load i32, ptr %5, align 4 %12 = icmp ne i32 %11, 6 br i1 %12, label %13, label %20 13: ; preds = %10 %14 = load i32, ptr %5, align 4 %15 = icmp ne i32 %14, 14 br i1 %15, label %16, label %20 16: ; preds = %13 %17 = load i32, ptr %5, align 4 %18 = icmp ne i32 %17, 17 br i1 %18, label %19, label %20 19: ; preds = %16 store i32 -1, ptr %2, align 4 br label %85 20: ; preds = %16, %13, %10, %1 %21 = load i32, ptr %5, align 4 %22 = icmp sgt i32 %21, 11 br i1 %22, label %23, label %66 23: ; preds = %20 %24 = load ptr, ptr %3, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 11 %26 = load i8, ptr %25, align 1 %27 = zext i8 %26 to i32 %28 = icmp ne i32 %27, 32 br i1 %28, label %41, label %29 29: ; preds = %23 %30 = load ptr, ptr %3, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 12 %32 = load i8, ptr %31, align 1 %33 = call i32 @isdigit(i8 noundef zeroext %32) %34 = icmp ne i32 %33, 0 br i1 %34, label %35, label %41 35: ; preds = %29 %36 = load ptr, ptr %3, align 8 %37 = getelementptr inbounds i8, ptr %36, i64 13 %38 = load i8, ptr %37, align 1 %39 = call i32 @isdigit(i8 noundef zeroext %38) %40 = icmp ne i32 %39, 0 br i1 %40, label %42, label %41 41: ; preds = %35, %29, %23 store i32 -1, ptr %2, align 4 br label %85 42: ; preds = %35 %43 = load i32, ptr %5, align 4 %44 = icmp eq i32 %43, 17 br i1 %44, label %45, label %65 45: ; preds = %42 %46 = load ptr, ptr %3, align 8 %47 = getelementptr inbounds i8, ptr %46, i64 14 %48 = load i8, ptr %47, align 1 %49 = call i32 @isdigit(i8 noundef zeroext %48) %50 = icmp ne i32 %49, 0 br i1 %50, label %51, label %63 51: ; preds = %45 %52 = load ptr, ptr %3, align 8 %53 = getelementptr inbounds i8, ptr %52, i64 15 %54 = load i8, ptr %53, align 1 %55 = call i32 @isdigit(i8 noundef zeroext %54) %56 = icmp ne i32 %55, 0 br i1 %56, label %57, label %63 57: ; preds = %51 %58 = load ptr, ptr %3, align 8 %59 = getelementptr inbounds i8, ptr %58, i64 16 %60 = load i8, ptr %59, align 1 %61 = call i32 @isdigit(i8 noundef zeroext %60) %62 = icmp ne i32 %61, 0 br i1 %62, label %64, label %63 63: ; preds = %57, %51, %45 store i32 -1, ptr %2, align 4 br label %85 64: ; preds = %57 br label %65 65: ; preds = %64, %42 store i32 11, ptr %5, align 4 br label %66 66: ; preds = %65, %20 store i32 0, ptr %4, align 4 br label %67 67: ; preds = %81, %66 %68 = load i32, ptr %4, align 4 %69 = load i32, ptr %5, align 4 %70 = icmp slt i32 %68, %69 br i1 %70, label %71, label %84 71: ; preds = %67 %72 = load ptr, ptr %3, align 8 %73 = load i32, ptr %4, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i8, ptr %72, i64 %74 %76 = load i8, ptr %75, align 1 %77 = call i32 @isdigit(i8 noundef zeroext %76) %78 = icmp ne i32 %77, 0 br i1 %78, label %80, label %79 79: ; preds = %71 store i32 -1, ptr %2, align 4 br label %85 80: ; preds = %71 br label %81 81: ; preds = %80 %82 = load i32, ptr %4, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %4, align 4 br label %67, !llvm.loop !6 84: ; preds = %67 store i32 0, ptr %2, align 4 br label %85 85: ; preds = %84, %79, %63, %41, %19 %86 = load i32, ptr %2, align 4 ret i32 %86 } declare i32 @strlen(ptr noundef) #1 declare i32 @isdigit(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp3q7out2m.c" target datalayout = "e-m:e-p270: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 @Barcode_upc_verify(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp ne i32 %8, 11 br i1 %9, label %10, label %20 10: ; preds = %1 %11 = load i32, ptr %5, align 4 %12 = icmp ne i32 %11, 6 br i1 %12, label %13, label %20 13: ; preds = %10 %14 = load i32, ptr %5, align 4 %15 = icmp ne i32 %14, 14 br i1 %15, label %16, label %20 16: ; preds = %13 %17 = load i32, ptr %5, align 4 %18 = icmp ne i32 %17, 17 br i1 %18, label %19, label %20 19: ; preds = %16 store i32 -1, ptr %2, align 4 br label %87 20: ; preds = %16, %13, %10, %1 %21 = load i32, ptr %5, align 4 %22 = icmp sgt i32 %21, 11 br i1 %22, label %23, label %66 23: ; preds = %20 %24 = load ptr, ptr %3, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 11 %26 = load i8, ptr %25, align 1 %27 = zext i8 %26 to i32 %28 = icmp ne i32 %27, 32 br i1 %28, label %41, label %29 29: ; preds = %23 %30 = load ptr, ptr %3, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 12 %32 = load i8, ptr %31, align 1 %33 = call i32 @isdigit(i8 noundef zeroext %32) %34 = icmp ne i32 %33, 0 br i1 %34, label %35, label %41 35: ; preds = %29 %36 = load ptr, ptr %3, align 8 %37 = getelementptr inbounds i8, ptr %36, i64 13 %38 = load i8, ptr %37, align 1 %39 = call i32 @isdigit(i8 noundef zeroext %38) %40 = icmp ne i32 %39, 0 br i1 %40, label %42, label %41 41: ; preds = %35, %29, %23 store i32 -1, ptr %2, align 4 br label %87 42: ; preds = %35 %43 = load i32, ptr %5, align 4 %44 = icmp eq i32 %43, 17 br i1 %44, label %45, label %65 45: ; preds = %42 %46 = load ptr, ptr %3, align 8 %47 = getelementptr inbounds i8, ptr %46, i64 14 %48 = load i8, ptr %47, align 1 %49 = call i32 @isdigit(i8 noundef zeroext %48) %50 = icmp ne i32 %49, 0 br i1 %50, label %51, label %63 51: ; preds = %45 %52 = load ptr, ptr %3, align 8 %53 = getelementptr inbounds i8, ptr %52, i64 15 %54 = load i8, ptr %53, align 1 %55 = call i32 @isdigit(i8 noundef zeroext %54) %56 = icmp ne i32 %55, 0 br i1 %56, label %57, label %63 57: ; preds = %51 %58 = load ptr, ptr %3, align 8 %59 = getelementptr inbounds i8, ptr %58, i64 16 %60 = load i8, ptr %59, align 1 %61 = call i32 @isdigit(i8 noundef zeroext %60) %62 = icmp ne i32 %61, 0 br i1 %62, label %64, label %63 63: ; preds = %57, %51, %45 store i32 -1, ptr %2, align 4 br label %87 64: ; preds = %57 br label %65 65: ; preds = %64, %42 store i32 11, ptr %5, align 4 br label %66 66: ; preds = %65, %20 store i32 0, ptr %4, align 4 %67 = load i32, ptr %4, align 4 %68 = load i32, ptr %5, align 4 %69 = icmp slt i32 %67, %68 br i1 %69, label %.lr.ph, label %86 .lr.ph: ; preds = %66 br label %70 70: ; preds = %.lr.ph, %80 %71 = load ptr, ptr %3, align 8 %72 = load i32, ptr %4, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i8, ptr %71, i64 %73 %75 = load i8, ptr %74, align 1 %76 = call i32 @isdigit(i8 noundef zeroext %75) %77 = icmp ne i32 %76, 0 br i1 %77, label %79, label %78 78: ; preds = %70 store i32 -1, ptr %2, align 4 br label %87 79: ; preds = %70 br label %80 80: ; preds = %79 %81 = load i32, ptr %4, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %4, align 4 %83 = load i32, ptr %4, align 4 %84 = load i32, ptr %5, align 4 %85 = icmp slt i32 %83, %84 br i1 %85, label %70, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %80 br label %86 86: ; preds = %._crit_edge, %66 store i32 0, ptr %2, align 4 br label %87 87: ; preds = %86, %78, %63, %41, %19 %88 = load i32, ptr %2, align 4 ret i32 %88 } declare i32 @strlen(ptr noundef) #1 declare i32 @isdigit(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmprmklehxv.c' source_filename = "/tmp/tmprmklehxv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Is empty: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"Top: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Popped: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca ptr, align 8 %2 = call ptr @createStack(i32 noundef 100) store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = call i32 @isEmpty(ptr noundef %3) %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) %6 = load ptr, ptr %1, align 8 %7 = call i32 @push(ptr noundef %6, i32 noundef 4) %8 = load ptr, ptr %1, align 8 %9 = call i32 @push(ptr noundef %8, i32 noundef 7) %10 = load ptr, ptr %1, align 8 %11 = call i32 @push(ptr noundef %10, i32 noundef 9) %12 = load ptr, ptr %1, align 8 %13 = call i32 @peek(ptr noundef %12) %14 = call i32 @printf(ptr noundef @.str.1, i32 noundef %13) %15 = load ptr, ptr %1, align 8 %16 = call i32 @pop(ptr noundef %15) %17 = call i32 @printf(ptr noundef @.str.2, i32 noundef %16) %18 = load ptr, ptr %1, align 8 %19 = call i32 @peek(ptr noundef %18) %20 = call i32 @printf(ptr noundef @.str.1, i32 noundef %19) ret i32 0 } declare ptr @createStack(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @isEmpty(ptr noundef) #1 declare i32 @push(ptr noundef, i32 noundef) #1 declare i32 @peek(ptr noundef) #1 declare i32 @pop(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/tmprmklehxv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Is empty: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"Top: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Popped: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca ptr, align 8 %2 = call ptr @createStack(i32 noundef 100) store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = call i32 @isEmpty(ptr noundef %3) %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) %6 = load ptr, ptr %1, align 8 %7 = call i32 @push(ptr noundef %6, i32 noundef 4) %8 = load ptr, ptr %1, align 8 %9 = call i32 @push(ptr noundef %8, i32 noundef 7) %10 = load ptr, ptr %1, align 8 %11 = call i32 @push(ptr noundef %10, i32 noundef 9) %12 = load ptr, ptr %1, align 8 %13 = call i32 @peek(ptr noundef %12) %14 = call i32 @printf(ptr noundef @.str.1, i32 noundef %13) %15 = load ptr, ptr %1, align 8 %16 = call i32 @pop(ptr noundef %15) %17 = call i32 @printf(ptr noundef @.str.2, i32 noundef %16) %18 = load ptr, ptr %1, align 8 %19 = call i32 @peek(ptr noundef %18) %20 = call i32 @printf(ptr noundef @.str.1, i32 noundef %19) ret i32 0 } declare ptr @createStack(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @isEmpty(ptr noundef) #1 declare i32 @push(ptr noundef, i32 noundef) #1 declare i32 @peek(ptr noundef) #1 declare i32 @pop(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/tmpzp8m392c.c' source_filename = "/tmp/tmpzp8m392c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Enter the sizeof the array\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"enter the number to be searched\0A\00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c"Number found at %d position\0A\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"Number not found\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str) %15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %16 = load i32, ptr %3, align 4 %17 = zext i32 %16 to i64 %18 = call ptr @llvm.stacksave() store ptr %18, ptr %9, align 8 %19 = alloca i32, i64 %17, align 16 store i64 %17, ptr %10, align 8 store i32 0, ptr %2, align 4 br label %20 20: ; preds = %29, %0 %21 = load i32, ptr %2, align 4 %22 = load i32, ptr %3, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %32 24: ; preds = %20 %25 = load i32, ptr %2, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %19, i64 %26 %28 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %27) br label %29 29: ; preds = %24 %30 = load i32, ptr %2, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %2, align 4 br label %20, !llvm.loop !6 32: ; preds = %20 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %34 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8) store i32 0, ptr %2, align 4 br label %35 35: ; preds = %53, %32 %36 = load i32, ptr %2, align 4 %37 = load i32, ptr %3, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %39, label %56 39: ; preds = %35 %40 = load i32, ptr %2, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %19, i64 %41 %43 = load i32, ptr %42, align 4 %44 = load i32, ptr %8, align 4 %45 = icmp eq i32 %43, %44 br i1 %45, label %46, label %52 46: ; preds = %39 %47 = load i32, ptr %2, align 4 %48 = add nsw i32 %47, 1 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %48) %50 = load i32, ptr %5, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %5, align 4 br label %52 52: ; preds = %46, %39 br label %53 53: ; preds = %52 %54 = load i32, ptr %2, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %2, align 4 br label %35, !llvm.loop !8 56: ; preds = %35 %57 = load i32, ptr %5, align 4 %58 = icmp eq i32 %57, 0 br i1 %58, label %59, label %61 59: ; preds = %56 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %61 61: ; preds = %59, %56 store i32 0, ptr %1, align 4 %62 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %62) %63 = load i32, ptr %1, align 4 ret i32 %63 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, 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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzp8m392c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Enter the sizeof the array\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"enter the number to be searched\0A\00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c"Number found at %d position\0A\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"Number not found\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str) %15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %16 = load i32, ptr %3, align 4 %17 = zext i32 %16 to i64 %18 = call ptr @llvm.stacksave() store ptr %18, ptr %9, align 8 %19 = alloca i32, i64 %17, align 16 store i64 %17, ptr %10, align 8 store i32 0, ptr %2, align 4 %20 = load i32, ptr %2, align 4 %21 = load i32, ptr %3, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph, label %34 .lr.ph: ; preds = %0 br label %23 23: ; preds = %.lr.ph, %28 %24 = load i32, ptr %2, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %19, i64 %25 %27 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %26) br label %28 28: ; preds = %23 %29 = load i32, ptr %2, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %2, align 4 %31 = load i32, ptr %2, align 4 %32 = load i32, ptr %3, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %34 34: ; preds = %._crit_edge, %0 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %36 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8) store i32 0, ptr %2, align 4 %37 = load i32, ptr %2, align 4 %38 = load i32, ptr %3, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %.lr.ph2, label %60 .lr.ph2: ; preds = %34 br label %40 40: ; preds = %.lr.ph2, %54 %41 = load i32, ptr %2, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %19, i64 %42 %44 = load i32, ptr %43, align 4 %45 = load i32, ptr %8, align 4 %46 = icmp eq i32 %44, %45 br i1 %46, label %47, label %53 47: ; preds = %40 %48 = load i32, ptr %2, align 4 %49 = add nsw i32 %48, 1 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %49) %51 = load i32, ptr %5, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %5, align 4 br label %53 53: ; preds = %47, %40 br label %54 54: ; preds = %53 %55 = load i32, ptr %2, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %2, align 4 %57 = load i32, ptr %2, align 4 %58 = load i32, ptr %3, align 4 %59 = icmp slt i32 %57, %58 br i1 %59, label %40, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %54 br label %60 60: ; preds = %._crit_edge3, %34 %61 = load i32, ptr %5, align 4 %62 = icmp eq i32 %61, 0 br i1 %62, label %63, label %65 63: ; preds = %60 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %65 65: ; preds = %63, %60 store i32 0, ptr %1, align 4 %66 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %66) %67 = load i32, ptr %1, align 4 ret i32 %67 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, 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}
; ModuleID = '/tmp/tmpao46xfwc.c' source_filename = "/tmp/tmpao46xfwc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"x=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 br label %3 3: ; preds = %7, %6, %5, %0 %4 = load i32, ptr %2, align 4 switch i32 %4, label %8 [ i32 0, label %5 i32 1, label %6 i32 2, label %7 ] 5: ; preds = %3 store i32 2, ptr %2, align 4 br label %3 6: ; preds = %3 store i32 0, ptr %2, align 4 br label %3 7: ; preds = %3 store i32 -1, ptr %2, align 4 br label %3 8: ; preds = %3 br label %9 9: ; preds = %8 %10 = load i32, ptr %2, align 4 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %10) store i32 0, ptr %2, align 4 br label %12 12: ; preds = %17, %9 %13 = load i32, ptr %2, align 4 %14 = icmp eq i32 %13, 10 br i1 %14, label %15, label %16 15: ; preds = %12 br label %20 16: ; preds = %12 br label %17 17: ; preds = %16 %18 = load i32, ptr %2, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %2, align 4 br label %12 20: ; preds = %15 %21 = load i32, ptr %2, align 4 %22 = call i32 @printf(ptr noundef @.str, i32 noundef %21) store i32 0, ptr %2, align 4 br label %23 23: ; preds = %28, %25, %20 %24 = load i32, ptr %2, align 4 switch i32 %24, label %32 [ i32 0, label %25 i32 1, label %28 i32 2, label %31 ] 25: ; preds = %23 %26 = load i32, ptr %2, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %2, align 4 br label %23 28: ; preds = %23 %29 = load i32, ptr %2, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %2, align 4 br label %23 31: ; preds = %23 br label %32 32: ; preds = %23, %31 br label %33 33: ; preds = %32 %34 = load i32, ptr %2, align 4 %35 = call i32 @printf(ptr noundef @.str, i32 noundef %34) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpao46xfwc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"x=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 br label %3 3: ; preds = %.backedge1, %0 %4 = load i32, ptr %2, align 4 switch i32 %4, label %8 [ i32 0, label %5 i32 1, label %6 i32 2, label %7 ] 5: ; preds = %3 store i32 2, ptr %2, align 4 br label %.backedge1 .backedge1: ; preds = %5, %6, %7 br label %3 6: ; preds = %3 store i32 0, ptr %2, align 4 br label %.backedge1 7: ; preds = %3 store i32 -1, ptr %2, align 4 br label %.backedge1 8: ; preds = %3 br label %9 9: ; preds = %8 %10 = load i32, ptr %2, align 4 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %10) store i32 0, ptr %2, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp eq i32 %12, 10 br i1 %13, label %14, label %.lr.ph .lr.ph: ; preds = %9 br label %15 ._crit_edge: ; preds = %16 br label %14 14: ; preds = %._crit_edge, %9 br label %21 15: ; preds = %.lr.ph, %16 br label %16 16: ; preds = %15 %17 = load i32, ptr %2, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %2, align 4 %19 = load i32, ptr %2, align 4 %20 = icmp eq i32 %19, 10 br i1 %20, label %._crit_edge, label %15 21: ; preds = %14 %22 = load i32, ptr %2, align 4 %23 = call i32 @printf(ptr noundef @.str, i32 noundef %22) store i32 0, ptr %2, align 4 br label %24 24: ; preds = %.backedge, %21 %25 = load i32, ptr %2, align 4 switch i32 %25, label %.loopexit [ i32 0, label %26 i32 1, label %29 i32 2, label %32 ] 26: ; preds = %24 %27 = load i32, ptr %2, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %2, align 4 br label %.backedge .backedge: ; preds = %26, %29 br label %24 29: ; preds = %24 %30 = load i32, ptr %2, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %2, align 4 br label %.backedge 32: ; preds = %24 br label %33 .loopexit: ; preds = %24 br label %33 33: ; preds = %.loopexit, %32 br label %34 34: ; preds = %33 %35 = load i32, ptr %2, align 4 %36 = call i32 @printf(ptr noundef @.str, i32 noundef %35) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6_oajio_.c' source_filename = "/tmp/tmp6_oajio_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf %lf %lf\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"TRIANGULO: %.3f\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"CIRCULO: %.3f\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"TRAPEZIO: %.3f\0A\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"QUADRADO: %.3f\0A\00", align 1 @.str.5 = private unnamed_addr constant [17 x i8] c"RETANGULO: %.3f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store i32 0, ptr %1, align 4 store double 3.141590e+00, ptr %2, align 8 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %4, ptr noundef %5) %7 = load double, ptr %3, align 8 %8 = load double, ptr %5, align 8 %9 = fmul double %7, %8 %10 = fdiv double %9, 2.000000e+00 %11 = call i32 @printf(ptr noundef @.str.1, double noundef %10) %12 = load double, ptr %5, align 8 %13 = load double, ptr %5, align 8 %14 = fmul double %12, %13 %15 = fmul double %14, 3.141590e+00 %16 = call i32 @printf(ptr noundef @.str.2, double noundef %15) %17 = load double, ptr %5, align 8 %18 = load double, ptr %3, align 8 %19 = load double, ptr %4, align 8 %20 = fadd double %18, %19 %21 = fmul double %17, %20 %22 = fdiv double %21, 2.000000e+00 %23 = call i32 @printf(ptr noundef @.str.3, double noundef %22) %24 = load double, ptr %4, align 8 %25 = load double, ptr %4, align 8 %26 = fmul double %24, %25 %27 = call i32 @printf(ptr noundef @.str.4, double noundef %26) %28 = load double, ptr %3, align 8 %29 = load double, ptr %4, align 8 %30 = fmul double %28, %29 %31 = call i32 @printf(ptr noundef @.str.5, double noundef %30) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6_oajio_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf %lf %lf\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"TRIANGULO: %.3f\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"CIRCULO: %.3f\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"TRAPEZIO: %.3f\0A\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"QUADRADO: %.3f\0A\00", align 1 @.str.5 = private unnamed_addr constant [17 x i8] c"RETANGULO: %.3f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store i32 0, ptr %1, align 4 store double 3.141590e+00, ptr %2, align 8 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %4, ptr noundef %5) %7 = load double, ptr %3, align 8 %8 = load double, ptr %5, align 8 %9 = fmul double %7, %8 %10 = fdiv double %9, 2.000000e+00 %11 = call i32 @printf(ptr noundef @.str.1, double noundef %10) %12 = load double, ptr %5, align 8 %13 = load double, ptr %5, align 8 %14 = fmul double %12, %13 %15 = fmul double %14, 3.141590e+00 %16 = call i32 @printf(ptr noundef @.str.2, double noundef %15) %17 = load double, ptr %5, align 8 %18 = load double, ptr %3, align 8 %19 = load double, ptr %4, align 8 %20 = fadd double %18, %19 %21 = fmul double %17, %20 %22 = fdiv double %21, 2.000000e+00 %23 = call i32 @printf(ptr noundef @.str.3, double noundef %22) %24 = load double, ptr %4, align 8 %25 = load double, ptr %4, align 8 %26 = fmul double %24, %25 %27 = call i32 @printf(ptr noundef @.str.4, double noundef %26) %28 = load double, ptr %3, align 8 %29 = load double, ptr %4, align 8 %30 = fmul double %28, %29 %31 = call i32 @printf(ptr noundef @.str.5, double noundef %30) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9pvlsuso.c' source_filename = "/tmp/tmp9pvlsuso.c" target datalayout = "e-m:e-p270: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/tmp9pvlsuso.c" target datalayout = "e-m:e-p270: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/tmphaken1m6.c' source_filename = "/tmp/tmphaken1m6.c" target datalayout = "e-m:e-p270: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/tmphaken1m6.c" target datalayout = "e-m:e-p270: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/tmp7md05cpv.c' source_filename = "/tmp/tmp7md05cpv.c" target datalayout = "e-m:e-p270: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 @tok_ini(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %10 = load ptr, ptr %5, align 8 %11 = call ptr @strdup(ptr noundef %10) store ptr %11, ptr %9, align 8 %12 = load ptr, ptr %9, align 8 %13 = load ptr, ptr %6, align 8 %14 = load ptr, ptr %7, align 8 %15 = load ptr, ptr %8, align 8 %16 = call i32 @tok_ini0(ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15) %17 = load ptr, ptr %9, align 8 %18 = call i32 @free(ptr noundef %17) ret void } declare ptr @strdup(ptr noundef) #1 declare i32 @tok_ini0(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7md05cpv.c" target datalayout = "e-m:e-p270: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 @tok_ini(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %10 = load ptr, ptr %5, align 8 %11 = call ptr @strdup(ptr noundef %10) store ptr %11, ptr %9, align 8 %12 = load ptr, ptr %9, align 8 %13 = load ptr, ptr %6, align 8 %14 = load ptr, ptr %7, align 8 %15 = load ptr, ptr %8, align 8 %16 = call i32 @tok_ini0(ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15) %17 = load ptr, ptr %9, align 8 %18 = call i32 @free(ptr noundef %17) ret void } declare ptr @strdup(ptr noundef) #1 declare i32 @tok_ini0(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn_m5pwva.c' source_filename = "/tmp/tmpn_m5pwva.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @skip_to_eof(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @get_character(ptr noundef %4) store i32 %5, ptr %3, align 4 br label %6 6: ; preds = %10, %1 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr @EOF, align 4 %9 = icmp ne i32 %7, %8 br i1 %9, label %10, label %13 10: ; preds = %6 %11 = load ptr, ptr %2, align 8 %12 = call i32 @get_character(ptr noundef %11) store i32 %12, ptr %3, align 4 br label %6, !llvm.loop !6 13: ; preds = %6 ret void } declare i32 @get_character(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/tmpn_m5pwva.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @skip_to_eof(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @get_character(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr @EOF, align 4 %8 = icmp ne i32 %6, %7 br i1 %8, label %.lr.ph, label %15 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %9 %10 = load ptr, ptr %2, align 8 %11 = call i32 @get_character(ptr noundef %10) store i32 %11, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr @EOF, align 4 %14 = icmp ne i32 %12, %13 br i1 %14, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %15 15: ; preds = %._crit_edge, %1 ret void } declare i32 @get_character(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/tmpkaif5yqj.c' source_filename = "/tmp/tmpkaif5yqj.c" target datalayout = "e-m:e-p270: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 [41 x i8] c"[Error] Failed to allocate memory (%s)!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @_fast3tree_check_realloc(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = load i64, ptr %5, align 8 %10 = call ptr @realloc(ptr noundef %8, i64 noundef %9) #4 store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %7, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %21 13: ; preds = %3 %14 = load i64, ptr %5, align 8 %15 = icmp ugt i64 %14, 0 br i1 %15, label %16, label %21 16: ; preds = %13 %17 = load i32, ptr @stderr, align 4 %18 = load ptr, ptr %6, align 8 %19 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str, ptr noundef %18) %20 = call i32 @exit(i32 noundef 1) #5 unreachable 21: ; preds = %13, %3 %22 = load ptr, ptr %7, align 8 ret ptr %22 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(1) } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkaif5yqj.c" target datalayout = "e-m:e-p270: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 [41 x i8] c"[Error] Failed to allocate memory (%s)!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @_fast3tree_check_realloc(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = load i64, ptr %5, align 8 %10 = call ptr @realloc(ptr noundef %8, i64 noundef %9) #4 store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %7, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %21 13: ; preds = %3 %14 = load i64, ptr %5, align 8 %15 = icmp ugt i64 %14, 0 br i1 %15, label %16, label %21 16: ; preds = %13 %17 = load i32, ptr @stderr, align 4 %18 = load ptr, ptr %6, align 8 %19 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str, ptr noundef %18) %20 = call i32 @exit(i32 noundef 1) #5 unreachable 21: ; preds = %13, %3 %22 = load ptr, ptr %7, align 8 ret ptr %22 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(1) } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp87mcjinl.c' source_filename = "/tmp/tmp87mcjinl.c" target datalayout = "e-m:e-p270: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 @abort_crash(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp sgt i32 %3, 0 %5 = zext i1 %4 to i32 %6 = call i32 @assert(i32 noundef %5) %7 = load i32, ptr %2, align 4 %8 = sub nsw i32 %7, 1 %9 = call i32 @abort_crash(i32 noundef %8) ret i32 1 } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp87mcjinl.c" target datalayout = "e-m:e-p270: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 @abort_crash(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp sgt i32 %3, 0 %5 = zext i1 %4 to i32 %6 = call i32 @assert(i32 noundef %5) %7 = load i32, ptr %2, align 4 %8 = sub nsw i32 %7, 1 %9 = call i32 @abort_crash(i32 noundef %8) ret i32 1 } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7xgcr8gd.c' source_filename = "/tmp/tmp7xgcr8gd.c" target datalayout = "e-m:e-p270: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 @CSPL_Regression_LinearRsq(ptr noundef %0, ptr noundef %1, i64 noundef %2, double noundef %3, double noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca i64, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store double %3, ptr %9, align 8 store double %4, ptr %10, align 8 store double 0.000000e+00, ptr %13, align 8 store double 0.000000e+00, ptr %14, align 8 %15 = load ptr, ptr %7, align 8 %16 = load i64, ptr %8, align 8 %17 = call double @CSPL_Stats_mean(ptr noundef %15, i64 noundef %16) store double %17, ptr %11, align 8 store i64 0, ptr %12, align 8 br label %18 18: ; preds = %65, %5 %19 = load i64, ptr %12, align 8 %20 = load i64, ptr %8, align 8 %21 = icmp slt i64 %19, %20 br i1 %21, label %22, label %68 22: ; preds = %18 %23 = load ptr, ptr %7, align 8 %24 = load i64, ptr %12, align 8 %25 = getelementptr inbounds double, ptr %23, i64 %24 %26 = load double, ptr %25, align 8 %27 = load double, ptr %11, align 8 %28 = fsub double %26, %27 %29 = load ptr, ptr %7, align 8 %30 = load i64, ptr %12, align 8 %31 = getelementptr inbounds double, ptr %29, i64 %30 %32 = load double, ptr %31, align 8 %33 = load double, ptr %11, align 8 %34 = fsub double %32, %33 %35 = load double, ptr %13, align 8 %36 = call double @llvm.fmuladd.f64(double %28, double %34, double %35) store double %36, ptr %13, align 8 %37 = load ptr, ptr %7, align 8 %38 = load i64, ptr %12, align 8 %39 = getelementptr inbounds double, ptr %37, i64 %38 %40 = load double, ptr %39, align 8 %41 = load double, ptr %9, align 8 %42 = load ptr, ptr %6, align 8 %43 = load i64, ptr %12, align 8 %44 = getelementptr inbounds double, ptr %42, i64 %43 %45 = load double, ptr %44, align 8 %46 = fneg double %41 %47 = call double @llvm.fmuladd.f64(double %46, double %45, double %40) %48 = load double, ptr %10, align 8 %49 = fadd double %47, %48 %50 = load ptr, ptr %7, align 8 %51 = load i64, ptr %12, align 8 %52 = getelementptr inbounds double, ptr %50, i64 %51 %53 = load double, ptr %52, align 8 %54 = load double, ptr %9, align 8 %55 = load ptr, ptr %6, align 8 %56 = load i64, ptr %12, align 8 %57 = getelementptr inbounds double, ptr %55, i64 %56 %58 = load double, ptr %57, align 8 %59 = fneg double %54 %60 = call double @llvm.fmuladd.f64(double %59, double %58, double %53) %61 = load double, ptr %10, align 8 %62 = fadd double %60, %61 %63 = load double, ptr %14, align 8 %64 = call double @llvm.fmuladd.f64(double %49, double %62, double %63) store double %64, ptr %14, align 8 br label %65 65: ; preds = %22 %66 = load i64, ptr %12, align 8 %67 = add nsw i64 %66, 1 store i64 %67, ptr %12, align 8 br label %18, !llvm.loop !6 68: ; preds = %18 %69 = load double, ptr %14, align 8 %70 = load double, ptr %13, align 8 %71 = fdiv double %69, %70 %72 = fsub double 1.000000e+00, %71 ret double %72 } declare double @CSPL_Stats_mean(ptr noundef, i64 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7xgcr8gd.c" target datalayout = "e-m:e-p270: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 @CSPL_Regression_LinearRsq(ptr noundef %0, ptr noundef %1, i64 noundef %2, double noundef %3, double noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca i64, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store double %3, ptr %9, align 8 store double %4, ptr %10, align 8 store double 0.000000e+00, ptr %13, align 8 store double 0.000000e+00, ptr %14, align 8 %15 = load ptr, ptr %7, align 8 %16 = load i64, ptr %8, align 8 %17 = call double @CSPL_Stats_mean(ptr noundef %15, i64 noundef %16) store double %17, ptr %11, align 8 store i64 0, ptr %12, align 8 %18 = load i64, ptr %12, align 8 %19 = load i64, ptr %8, align 8 %20 = icmp slt i64 %18, %19 br i1 %20, label %.lr.ph, label %70 .lr.ph: ; preds = %5 br label %21 21: ; preds = %.lr.ph, %64 %22 = load ptr, ptr %7, align 8 %23 = load i64, ptr %12, align 8 %24 = getelementptr inbounds double, ptr %22, i64 %23 %25 = load double, ptr %24, align 8 %26 = load double, ptr %11, align 8 %27 = fsub double %25, %26 %28 = load ptr, ptr %7, align 8 %29 = load i64, ptr %12, align 8 %30 = getelementptr inbounds double, ptr %28, i64 %29 %31 = load double, ptr %30, align 8 %32 = load double, ptr %11, align 8 %33 = fsub double %31, %32 %34 = load double, ptr %13, align 8 %35 = call double @llvm.fmuladd.f64(double %27, double %33, double %34) store double %35, ptr %13, align 8 %36 = load ptr, ptr %7, align 8 %37 = load i64, ptr %12, align 8 %38 = getelementptr inbounds double, ptr %36, i64 %37 %39 = load double, ptr %38, align 8 %40 = load double, ptr %9, align 8 %41 = load ptr, ptr %6, align 8 %42 = load i64, ptr %12, align 8 %43 = getelementptr inbounds double, ptr %41, i64 %42 %44 = load double, ptr %43, align 8 %45 = fneg double %40 %46 = call double @llvm.fmuladd.f64(double %45, double %44, double %39) %47 = load double, ptr %10, align 8 %48 = fadd double %46, %47 %49 = load ptr, ptr %7, align 8 %50 = load i64, ptr %12, align 8 %51 = getelementptr inbounds double, ptr %49, i64 %50 %52 = load double, ptr %51, align 8 %53 = load double, ptr %9, align 8 %54 = load ptr, ptr %6, align 8 %55 = load i64, ptr %12, align 8 %56 = getelementptr inbounds double, ptr %54, i64 %55 %57 = load double, ptr %56, align 8 %58 = fneg double %53 %59 = call double @llvm.fmuladd.f64(double %58, double %57, double %52) %60 = load double, ptr %10, align 8 %61 = fadd double %59, %60 %62 = load double, ptr %14, align 8 %63 = call double @llvm.fmuladd.f64(double %48, double %61, double %62) store double %63, ptr %14, align 8 br label %64 64: ; preds = %21 %65 = load i64, ptr %12, align 8 %66 = add nsw i64 %65, 1 store i64 %66, ptr %12, align 8 %67 = load i64, ptr %12, align 8 %68 = load i64, ptr %8, align 8 %69 = icmp slt i64 %67, %68 br i1 %69, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %64 br label %70 70: ; preds = %._crit_edge, %5 %71 = load double, ptr %14, align 8 %72 = load double, ptr %13, align 8 %73 = fdiv double %71, %72 %74 = fsub double 1.000000e+00, %73 ret double %74 } declare double @CSPL_Stats_mean(ptr noundef, i64 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvvuc_7vm.c' source_filename = "/tmp/tmpvvuc_7vm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"ZERO BYTE MALLOC\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @mlm_malloc(i64 noundef %0, i32 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca [64 x ptr], align 16 %6 = alloca i32, align 4 store i64 %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load i64, ptr %3, align 8 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %17 9: ; preds = %2 %10 = call i32 @printf(ptr noundef @.str) %11 = getelementptr inbounds [64 x ptr], ptr %5, i64 0, i64 0 %12 = call i32 @backtrace(ptr noundef %11, i32 noundef 64) store i32 %12, ptr %6, align 4 %13 = getelementptr inbounds [64 x ptr], ptr %5, i64 0, i64 0 %14 = load i32, ptr %6, align 4 %15 = call i32 @backtrace_symbols_fd(ptr noundef %13, i32 noundef %14, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #4 unreachable 17: ; preds = %2 %18 = load i64, ptr %3, align 8 %19 = call ptr @malloc(i64 noundef %18) #5 ret ptr %19 } declare i32 @printf(ptr noundef) #1 declare i32 @backtrace(ptr noundef, i32 noundef) #1 declare i32 @backtrace_symbols_fd(ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } attributes #5 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvvuc_7vm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"ZERO BYTE MALLOC\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @mlm_malloc(i64 noundef %0, i32 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca [64 x ptr], align 16 %6 = alloca i32, align 4 store i64 %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load i64, ptr %3, align 8 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %17 9: ; preds = %2 %10 = call i32 @printf(ptr noundef @.str) %11 = getelementptr inbounds [64 x ptr], ptr %5, i64 0, i64 0 %12 = call i32 @backtrace(ptr noundef %11, i32 noundef 64) store i32 %12, ptr %6, align 4 %13 = getelementptr inbounds [64 x ptr], ptr %5, i64 0, i64 0 %14 = load i32, ptr %6, align 4 %15 = call i32 @backtrace_symbols_fd(ptr noundef %13, i32 noundef %14, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #4 unreachable 17: ; preds = %2 %18 = load i64, ptr %3, align 8 %19 = call ptr @malloc(i64 noundef %18) #5 ret ptr %19 } declare i32 @printf(ptr noundef) #1 declare i32 @backtrace(ptr noundef, i32 noundef) #1 declare i32 @backtrace_symbols_fd(ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } attributes #5 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwj__ix8j.c' source_filename = "/tmp/tmpwj__ix8j.c" target datalayout = "e-m:e-p270: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 @generate_str(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds i8, ptr %4, i64 15 store i8 0, ptr %5, align 1 store i32 0, ptr %3, align 4 br label %6 6: ; preds = %18, %1 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 15 br i1 %8, label %9, label %21 9: ; preds = %6 %10 = call i32 (...) @rand() %11 = srem i32 %10, 26 %12 = add nsw i32 %11, 97 %13 = trunc i32 %12 to i8 %14 = load ptr, ptr %2, align 8 %15 = load i32, ptr %3, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 store i8 %13, ptr %17, align 1 br label %18 18: ; preds = %9 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 br label %6, !llvm.loop !6 21: ; preds = %6 ret void } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwj__ix8j.c" target datalayout = "e-m:e-p270: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 @generate_str(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds i8, ptr %4, i64 15 store i8 0, ptr %5, align 1 store i32 0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 15 br i1 %7, label %.lr.ph, label %22 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %17 %9 = call i32 (...) @rand() %10 = srem i32 %9, 26 %11 = add nsw i32 %10, 97 %12 = trunc i32 %11 to i8 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 store i8 %12, ptr %16, align 1 br label %17 17: ; preds = %8 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp slt i32 %20, 15 br i1 %21, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %1 ret void } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpeadelrm2.c' source_filename = "/tmp/tmpeadelrm2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ERANGE = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @strtod(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca double, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %14 = load ptr, ptr %4, align 8 store ptr %14, ptr %9, align 8 br label %15 15: ; preds = %20, %2 %16 = load ptr, ptr %9, align 8 %17 = load i8, ptr %16, align 1 %18 = call i64 @isspace(i8 noundef signext %17) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %15 %21 = load ptr, ptr %9, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %9, align 8 br label %15, !llvm.loop !6 23: ; preds = %15 store i32 0, ptr %8, align 4 %24 = load ptr, ptr %9, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 switch i32 %26, label %33 [ i32 45, label %27 i32 43, label %30 ] 27: ; preds = %23 store i32 1, ptr %8, align 4 %28 = load ptr, ptr %9, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %9, align 8 br label %33 30: ; preds = %23 %31 = load ptr, ptr %9, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %9, align 8 br label %33 33: ; preds = %23, %30, %27 store double 0.000000e+00, ptr %6, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 br label %34 34: ; preds = %39, %33 %35 = load ptr, ptr %9, align 8 %36 = load i8, ptr %35, align 1 %37 = call i64 @isdigit(i8 noundef signext %36) %38 = icmp ne i64 %37, 0 br i1 %38, label %39, label %51 39: ; preds = %34 %40 = load double, ptr %6, align 8 %41 = load ptr, ptr %9, align 8 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = sub nsw i32 %43, 48 %45 = sitofp i32 %44 to double %46 = call double @llvm.fmuladd.f64(double %40, double 1.000000e+01, double %45) store double %46, ptr %6, align 8 %47 = load ptr, ptr %9, align 8 %48 = getelementptr inbounds i8, ptr %47, i32 1 store ptr %48, ptr %9, align 8 %49 = load i32, ptr %12, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %12, align 4 br label %34, !llvm.loop !8 51: ; preds = %34 %52 = load ptr, ptr %9, align 8 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = icmp eq i32 %54, 46 br i1 %55, label %56, label %82 56: ; preds = %51 %57 = load ptr, ptr %9, align 8 %58 = getelementptr inbounds i8, ptr %57, i32 1 store ptr %58, ptr %9, align 8 br label %59 59: ; preds = %64, %56 %60 = load ptr, ptr %9, align 8 %61 = load i8, ptr %60, align 1 %62 = call i64 @isdigit(i8 noundef signext %61) %63 = icmp ne i64 %62, 0 br i1 %63, label %64, label %78 64: ; preds = %59 %65 = load double, ptr %6, align 8 %66 = load ptr, ptr %9, align 8 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = sub nsw i32 %68, 48 %70 = sitofp i32 %69 to double %71 = call double @llvm.fmuladd.f64(double %65, double 1.000000e+01, double %70) store double %71, ptr %6, align 8 %72 = load ptr, ptr %9, align 8 %73 = getelementptr inbounds i8, ptr %72, i32 1 store ptr %73, ptr %9, align 8 %74 = load i32, ptr %12, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %12, align 4 %76 = load i32, ptr %13, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %13, align 4 br label %59, !llvm.loop !9 78: ; preds = %59 %79 = load i32, ptr %13, align 4 %80 = load i32, ptr %7, align 4 %81 = sub nsw i32 %80, %79 store i32 %81, ptr %7, align 4 br label %82 82: ; preds = %78, %51 %83 = load i32, ptr %12, align 4 %84 = icmp eq i32 %83, 0 br i1 %84, label %85, label %87 85: ; preds = %82 %86 = load i32, ptr @ERANGE, align 4 store i32 %86, ptr @errno, align 4 store double 0.000000e+00, ptr %3, align 8 br label %191 87: ; preds = %82 %88 = load i32, ptr %8, align 4 %89 = icmp ne i32 %88, 0 br i1 %89, label %90, label %93 90: ; preds = %87 %91 = load double, ptr %6, align 8 %92 = fneg double %91 store double %92, ptr %6, align 8 br label %93 93: ; preds = %90, %87 %94 = load ptr, ptr %9, align 8 %95 = load i8, ptr %94, align 1 %96 = sext i8 %95 to i32 %97 = icmp eq i32 %96, 101 br i1 %97, label %103, label %98 98: ; preds = %93 %99 = load ptr, ptr %9, align 8 %100 = load i8, ptr %99, align 1 %101 = sext i8 %100 to i32 %102 = icmp eq i32 %101, 69 br i1 %102, label %103, label %142 103: ; preds = %98, %93 store i32 0, ptr %8, align 4 %104 = load ptr, ptr %9, align 8 %105 = getelementptr inbounds i8, ptr %104, i32 1 store ptr %105, ptr %9, align 8 %106 = load i8, ptr %105, align 1 %107 = sext i8 %106 to i32 switch i32 %107, label %114 [ i32 45, label %108 i32 43, label %111 ] 108: ; preds = %103 store i32 1, ptr %8, align 4 %109 = load ptr, ptr %9, align 8 %110 = getelementptr inbounds i8, ptr %109, i32 1 store ptr %110, ptr %9, align 8 br label %114 111: ; preds = %103 %112 = load ptr, ptr %9, align 8 %113 = getelementptr inbounds i8, ptr %112, i32 1 store ptr %113, ptr %9, align 8 br label %114 114: ; preds = %103, %111, %108 store i32 0, ptr %11, align 4 br label %115 115: ; preds = %120, %114 %116 = load ptr, ptr %9, align 8 %117 = load i8, ptr %116, align 1 %118 = call i64 @isdigit(i8 noundef signext %117) %119 = icmp ne i64 %118, 0 br i1 %119, label %120, label %130 120: ; preds = %115 %121 = load i32, ptr %11, align 4 %122 = mul nsw i32 %121, 10 %123 = load ptr, ptr %9, align 8 %124 = load i8, ptr %123, align 1 %125 = sext i8 %124 to i32 %126 = sub nsw i32 %125, 48 %127 = add nsw i32 %122, %126 store i32 %127, ptr %11, align 4 %128 = load ptr, ptr %9, align 8 %129 = getelementptr inbounds i8, ptr %128, i32 1 store ptr %129, ptr %9, align 8 br label %115, !llvm.loop !10 130: ; preds = %115 %131 = load i32, ptr %8, align 4 %132 = icmp ne i32 %131, 0 br i1 %132, label %133, label %137 133: ; preds = %130 %134 = load i32, ptr %11, align 4 %135 = load i32, ptr %7, align 4 %136 = sub nsw i32 %135, %134 store i32 %136, ptr %7, align 4 br label %141 137: ; preds = %130 %138 = load i32, ptr %11, align 4 %139 = load i32, ptr %7, align 4 %140 = add nsw i32 %139, %138 store i32 %140, ptr %7, align 4 br label %141 141: ; preds = %137, %133 br label %142 142: ; preds = %141, %98 %143 = load i32, ptr %7, align 4 %144 = icmp slt i32 %143, -307 br i1 %144, label %148, label %145 145: ; preds = %142 %146 = load i32, ptr %7, align 4 %147 = icmp sgt i32 %146, 308 br i1 %147, label %148, label %150 148: ; preds = %145, %142 %149 = load i32, ptr @ERANGE, align 4 store i32 %149, ptr @errno, align 4 store double 0.000000e+00, ptr %3, align 8 br label %191 150: ; preds = %145 store double 1.000000e+01, ptr %10, align 8 %151 = load i32, ptr %7, align 4 store i32 %151, ptr %11, align 4 %152 = load i32, ptr %11, align 4 %153 = icmp slt i32 %152, 0 br i1 %153, label %154, label %157 154: ; preds = %150 %155 = load i32, ptr %11, align 4 %156 = sub nsw i32 0, %155 store i32 %156, ptr %11, align 4 br label %157 157: ; preds = %154, %150 br label %158 158: ; preds = %177, %157 %159 = load i32, ptr %11, align 4 %160 = icmp ne i32 %159, 0 br i1 %160, label %161, label %183 161: ; preds = %158 %162 = load i32, ptr %11, align 4 %163 = and i32 %162, 1 %164 = icmp ne i32 %163, 0 br i1 %164, label %165, label %177 165: ; preds = %161 %166 = load i32, ptr %7, align 4 %167 = icmp slt i32 %166, 0 br i1 %167, label %168, label %172 168: ; preds = %165 %169 = load double, ptr %10, align 8 %170 = load double, ptr %6, align 8 %171 = fdiv double %170, %169 store double %171, ptr %6, align 8 br label %176 172: ; preds = %165 %173 = load double, ptr %10, align 8 %174 = load double, ptr %6, align 8 %175 = fmul double %174, %173 store double %175, ptr %6, align 8 br label %176 176: ; preds = %172, %168 br label %177 177: ; preds = %176, %161 %178 = load i32, ptr %11, align 4 %179 = ashr i32 %178, 1 store i32 %179, ptr %11, align 4 %180 = load double, ptr %10, align 8 %181 = load double, ptr %10, align 8 %182 = fmul double %181, %180 store double %182, ptr %10, align 8 br label %158, !llvm.loop !11 183: ; preds = %158 %184 = load ptr, ptr %5, align 8 %185 = icmp ne ptr %184, null br i1 %185, label %186, label %189 186: ; preds = %183 %187 = load ptr, ptr %9, align 8 %188 = load ptr, ptr %5, align 8 store ptr %187, ptr %188, align 8 br label %189 189: ; preds = %186, %183 %190 = load double, ptr %6, align 8 store double %190, ptr %3, align 8 br label %191 191: ; preds = %189, %148, %85 %192 = load double, ptr %3, align 8 ret double %192 } declare i64 @isspace(i8 noundef signext) #1 declare i64 @isdigit(i8 noundef signext) #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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeadelrm2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ERANGE = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @strtod(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca double, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %14 = load ptr, ptr %4, align 8 store ptr %14, ptr %9, align 8 %15 = load ptr, ptr %9, align 8 %16 = load i8, ptr %15, align 1 %17 = call i64 @isspace(i8 noundef signext %16) %18 = icmp ne i64 %17, 0 br i1 %18, label %.lr.ph, label %26 .lr.ph: ; preds = %2 br label %19 19: ; preds = %.lr.ph, %19 %20 = load ptr, ptr %9, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %9, align 8 %22 = load ptr, ptr %9, align 8 %23 = load i8, ptr %22, align 1 %24 = call i64 @isspace(i8 noundef signext %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %26 26: ; preds = %._crit_edge, %2 store i32 0, ptr %8, align 4 %27 = load ptr, ptr %9, align 8 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 switch i32 %29, label %36 [ i32 45, label %30 i32 43, label %33 ] 30: ; preds = %26 store i32 1, ptr %8, align 4 %31 = load ptr, ptr %9, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %9, align 8 br label %36 33: ; preds = %26 %34 = load ptr, ptr %9, align 8 %35 = getelementptr inbounds i8, ptr %34, i32 1 store ptr %35, ptr %9, align 8 br label %36 36: ; preds = %33, %30, %26 store double 0.000000e+00, ptr %6, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 %37 = load ptr, ptr %9, align 8 %38 = load i8, ptr %37, align 1 %39 = call i64 @isdigit(i8 noundef signext %38) %40 = icmp ne i64 %39, 0 br i1 %40, label %.lr.ph2, label %57 .lr.ph2: ; preds = %36 br label %41 41: ; preds = %.lr.ph2, %41 %42 = load double, ptr %6, align 8 %43 = load ptr, ptr %9, align 8 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = sub nsw i32 %45, 48 %47 = sitofp i32 %46 to double %48 = call double @llvm.fmuladd.f64(double %42, double 1.000000e+01, double %47) store double %48, ptr %6, align 8 %49 = load ptr, ptr %9, align 8 %50 = getelementptr inbounds i8, ptr %49, i32 1 store ptr %50, ptr %9, align 8 %51 = load i32, ptr %12, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %12, align 4 %53 = load ptr, ptr %9, align 8 %54 = load i8, ptr %53, align 1 %55 = call i64 @isdigit(i8 noundef signext %54) %56 = icmp ne i64 %55, 0 br i1 %56, label %41, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %41 br label %57 57: ; preds = %._crit_edge3, %36 %58 = load ptr, ptr %9, align 8 %59 = load i8, ptr %58, align 1 %60 = sext i8 %59 to i32 %61 = icmp eq i32 %60, 46 br i1 %61, label %62, label %91 62: ; preds = %57 %63 = load ptr, ptr %9, align 8 %64 = getelementptr inbounds i8, ptr %63, i32 1 store ptr %64, ptr %9, align 8 %65 = load ptr, ptr %9, align 8 %66 = load i8, ptr %65, align 1 %67 = call i64 @isdigit(i8 noundef signext %66) %68 = icmp ne i64 %67, 0 br i1 %68, label %.lr.ph5, label %87 .lr.ph5: ; preds = %62 br label %69 69: ; preds = %.lr.ph5, %69 %70 = load double, ptr %6, align 8 %71 = load ptr, ptr %9, align 8 %72 = load i8, ptr %71, align 1 %73 = sext i8 %72 to i32 %74 = sub nsw i32 %73, 48 %75 = sitofp i32 %74 to double %76 = call double @llvm.fmuladd.f64(double %70, double 1.000000e+01, double %75) store double %76, ptr %6, align 8 %77 = load ptr, ptr %9, align 8 %78 = getelementptr inbounds i8, ptr %77, i32 1 store ptr %78, ptr %9, align 8 %79 = load i32, ptr %12, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %12, align 4 %81 = load i32, ptr %13, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %13, align 4 %83 = load ptr, ptr %9, align 8 %84 = load i8, ptr %83, align 1 %85 = call i64 @isdigit(i8 noundef signext %84) %86 = icmp ne i64 %85, 0 br i1 %86, label %69, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %69 br label %87 87: ; preds = %._crit_edge6, %62 %88 = load i32, ptr %13, align 4 %89 = load i32, ptr %7, align 4 %90 = sub nsw i32 %89, %88 store i32 %90, ptr %7, align 4 br label %91 91: ; preds = %87, %57 %92 = load i32, ptr %12, align 4 %93 = icmp eq i32 %92, 0 br i1 %93, label %94, label %96 94: ; preds = %91 %95 = load i32, ptr @ERANGE, align 4 store i32 %95, ptr @errno, align 4 store double 0.000000e+00, ptr %3, align 8 br label %204 96: ; preds = %91 %97 = load i32, ptr %8, align 4 %98 = icmp ne i32 %97, 0 br i1 %98, label %99, label %102 99: ; preds = %96 %100 = load double, ptr %6, align 8 %101 = fneg double %100 store double %101, ptr %6, align 8 br label %102 102: ; preds = %99, %96 %103 = load ptr, ptr %9, align 8 %104 = load i8, ptr %103, align 1 %105 = sext i8 %104 to i32 %106 = icmp eq i32 %105, 101 br i1 %106, label %112, label %107 107: ; preds = %102 %108 = load ptr, ptr %9, align 8 %109 = load i8, ptr %108, align 1 %110 = sext i8 %109 to i32 %111 = icmp eq i32 %110, 69 br i1 %111, label %112, label %154 112: ; preds = %107, %102 store i32 0, ptr %8, align 4 %113 = load ptr, ptr %9, align 8 %114 = getelementptr inbounds i8, ptr %113, i32 1 store ptr %114, ptr %9, align 8 %115 = load i8, ptr %114, align 1 %116 = sext i8 %115 to i32 switch i32 %116, label %123 [ i32 45, label %117 i32 43, label %120 ] 117: ; preds = %112 store i32 1, ptr %8, align 4 %118 = load ptr, ptr %9, align 8 %119 = getelementptr inbounds i8, ptr %118, i32 1 store ptr %119, ptr %9, align 8 br label %123 120: ; preds = %112 %121 = load ptr, ptr %9, align 8 %122 = getelementptr inbounds i8, ptr %121, i32 1 store ptr %122, ptr %9, align 8 br label %123 123: ; preds = %120, %117, %112 store i32 0, ptr %11, align 4 %124 = load ptr, ptr %9, align 8 %125 = load i8, ptr %124, align 1 %126 = call i64 @isdigit(i8 noundef signext %125) %127 = icmp ne i64 %126, 0 br i1 %127, label %.lr.ph8, label %142 .lr.ph8: ; preds = %123 br label %128 128: ; preds = %.lr.ph8, %128 %129 = load i32, ptr %11, align 4 %130 = mul nsw i32 %129, 10 %131 = load ptr, ptr %9, align 8 %132 = load i8, ptr %131, align 1 %133 = sext i8 %132 to i32 %134 = sub nsw i32 %133, 48 %135 = add nsw i32 %130, %134 store i32 %135, ptr %11, align 4 %136 = load ptr, ptr %9, align 8 %137 = getelementptr inbounds i8, ptr %136, i32 1 store ptr %137, ptr %9, align 8 %138 = load ptr, ptr %9, align 8 %139 = load i8, ptr %138, align 1 %140 = call i64 @isdigit(i8 noundef signext %139) %141 = icmp ne i64 %140, 0 br i1 %141, label %128, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %128 br label %142 142: ; preds = %._crit_edge9, %123 %143 = load i32, ptr %8, align 4 %144 = icmp ne i32 %143, 0 br i1 %144, label %145, label %149 145: ; preds = %142 %146 = load i32, ptr %11, align 4 %147 = load i32, ptr %7, align 4 %148 = sub nsw i32 %147, %146 store i32 %148, ptr %7, align 4 br label %153 149: ; preds = %142 %150 = load i32, ptr %11, align 4 %151 = load i32, ptr %7, align 4 %152 = add nsw i32 %151, %150 store i32 %152, ptr %7, align 4 br label %153 153: ; preds = %149, %145 br label %154 154: ; preds = %153, %107 %155 = load i32, ptr %7, align 4 %156 = icmp slt i32 %155, -307 br i1 %156, label %160, label %157 157: ; preds = %154 %158 = load i32, ptr %7, align 4 %159 = icmp sgt i32 %158, 308 br i1 %159, label %160, label %162 160: ; preds = %157, %154 %161 = load i32, ptr @ERANGE, align 4 store i32 %161, ptr @errno, align 4 store double 0.000000e+00, ptr %3, align 8 br label %204 162: ; preds = %157 store double 1.000000e+01, ptr %10, align 8 %163 = load i32, ptr %7, align 4 store i32 %163, ptr %11, align 4 %164 = load i32, ptr %11, align 4 %165 = icmp slt i32 %164, 0 br i1 %165, label %166, label %169 166: ; preds = %162 %167 = load i32, ptr %11, align 4 %168 = sub nsw i32 0, %167 store i32 %168, ptr %11, align 4 br label %169 169: ; preds = %166, %162 %170 = load i32, ptr %11, align 4 %171 = icmp ne i32 %170, 0 br i1 %171, label %.lr.ph11, label %196 .lr.ph11: ; preds = %169 br label %172 172: ; preds = %.lr.ph11, %188 %173 = load i32, ptr %11, align 4 %174 = and i32 %173, 1 %175 = icmp ne i32 %174, 0 br i1 %175, label %176, label %188 176: ; preds = %172 %177 = load i32, ptr %7, align 4 %178 = icmp slt i32 %177, 0 br i1 %178, label %179, label %183 179: ; preds = %176 %180 = load double, ptr %10, align 8 %181 = load double, ptr %6, align 8 %182 = fdiv double %181, %180 store double %182, ptr %6, align 8 br label %187 183: ; preds = %176 %184 = load double, ptr %10, align 8 %185 = load double, ptr %6, align 8 %186 = fmul double %185, %184 store double %186, ptr %6, align 8 br label %187 187: ; preds = %183, %179 br label %188 188: ; preds = %187, %172 %189 = load i32, ptr %11, align 4 %190 = ashr i32 %189, 1 store i32 %190, ptr %11, align 4 %191 = load double, ptr %10, align 8 %192 = load double, ptr %10, align 8 %193 = fmul double %192, %191 store double %193, ptr %10, align 8 %194 = load i32, ptr %11, align 4 %195 = icmp ne i32 %194, 0 br i1 %195, label %172, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %188 br label %196 196: ; preds = %._crit_edge12, %169 %197 = load ptr, ptr %5, align 8 %198 = icmp ne ptr %197, null br i1 %198, label %199, label %202 199: ; preds = %196 %200 = load ptr, ptr %9, align 8 %201 = load ptr, ptr %5, align 8 store ptr %200, ptr %201, align 8 br label %202 202: ; preds = %199, %196 %203 = load double, ptr %6, align 8 store double %203, ptr %3, align 8 br label %204 204: ; preds = %202, %160, %94 %205 = load double, ptr %3, align 8 ret double %205 } declare i64 @isspace(i8 noundef signext) #1 declare i64 @isdigit(i8 noundef signext) #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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmp1jkh7tql.c' source_filename = "/tmp/tmp1jkh7tql.c" target datalayout = "e-m:e-p270: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/tmp1jkh7tql.c" target datalayout = "e-m:e-p270: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/tmpf_egff7u.c' source_filename = "/tmp/tmpf_egff7u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c" %11i\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c" %10i\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 [4 x i32], align 16 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %5 = call i64 (...) @getchar() %6 = trunc i64 %5 to i32 %7 = load i32, ptr %2, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 %8 store i32 %6, ptr %9, align 4 br label %10 10: ; preds = %27, %0 %11 = load i32, ptr %2, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 %12 %14 = load i32, ptr %13, align 4 %15 = load i32, ptr @EOF, align 4 %16 = icmp ne i32 %14, %15 br i1 %16, label %17, label %33 17: ; preds = %10 %18 = load i32, ptr %2, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %2, align 4 %20 = load i32, ptr %2, align 4 %21 = icmp eq i32 %20, 4 br i1 %21, label %22, label %27 22: ; preds = %17 %23 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 0 %24 = call i32 @char_to_digit(ptr noundef %23) %25 = call i32 @encrypt(i32 noundef %24) %26 = call i32 @printf(ptr noundef @.str, i32 noundef %25) store i32 0, ptr %2, align 4 br label %27 27: ; preds = %22, %17 %28 = call i64 (...) @getchar() %29 = trunc i64 %28 to i32 %30 = load i32, ptr %2, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 %31 store i32 %29, ptr %32, align 4 br label %10, !llvm.loop !6 33: ; preds = %10 %34 = load i32, ptr %2, align 4 %35 = icmp sgt i32 %34, 0 br i1 %35, label %36, label %53 36: ; preds = %33 %37 = load i32, ptr %2, align 4 store i32 %37, ptr %4, align 4 br label %38 38: ; preds = %45, %36 %39 = load i32, ptr %4, align 4 %40 = icmp slt i32 %39, 4 br i1 %40, label %41, label %48 41: ; preds = %38 %42 = load i32, ptr %4, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 %43 store i32 32, ptr %44, align 4 br label %45 45: ; preds = %41 %46 = load i32, ptr %4, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %4, align 4 br label %38, !llvm.loop !8 48: ; preds = %38 %49 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 0 %50 = call i32 @char_to_digit(ptr noundef %49) %51 = call i32 @encrypt(i32 noundef %50) %52 = call i32 @printf(ptr noundef @.str.1, i32 noundef %51) br label %53 53: ; preds = %48, %33 %54 = load i32, ptr %1, align 4 ret i32 %54 } declare i64 @getchar(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @encrypt(i32 noundef) #1 declare i32 @char_to_digit(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/tmpf_egff7u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c" %11i\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c" %10i\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 [4 x i32], align 16 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %5 = call i64 (...) @getchar() %6 = trunc i64 %5 to i32 %7 = load i32, ptr %2, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 %8 store i32 %6, ptr %9, align 4 %10 = load i32, ptr %2, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 %11 %13 = load i32, ptr %12, align 4 %14 = load i32, ptr @EOF, align 4 %15 = icmp ne i32 %13, %14 br i1 %15, label %.lr.ph, label %38 .lr.ph: ; preds = %0 br label %16 16: ; preds = %.lr.ph, %26 %17 = load i32, ptr %2, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %2, align 4 %19 = load i32, ptr %2, align 4 %20 = icmp eq i32 %19, 4 br i1 %20, label %21, label %26 21: ; preds = %16 %22 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 0 %23 = call i32 @char_to_digit(ptr noundef %22) %24 = call i32 @encrypt(i32 noundef %23) %25 = call i32 @printf(ptr noundef @.str, i32 noundef %24) store i32 0, ptr %2, align 4 br label %26 26: ; preds = %21, %16 %27 = call i64 (...) @getchar() %28 = trunc i64 %27 to i32 %29 = load i32, ptr %2, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 %30 store i32 %28, ptr %31, align 4 %32 = load i32, ptr %2, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 %33 %35 = load i32, ptr %34, align 4 %36 = load i32, ptr @EOF, align 4 %37 = icmp ne i32 %35, %36 br i1 %37, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %38 38: ; preds = %._crit_edge, %0 %39 = load i32, ptr %2, align 4 %40 = icmp sgt i32 %39, 0 br i1 %40, label %41, label %59 41: ; preds = %38 %42 = load i32, ptr %2, align 4 store i32 %42, ptr %4, align 4 %43 = load i32, ptr %4, align 4 %44 = icmp slt i32 %43, 4 br i1 %44, label %.lr.ph2, label %54 .lr.ph2: ; preds = %41 br label %45 45: ; preds = %.lr.ph2, %49 %46 = load i32, ptr %4, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 %47 store i32 32, ptr %48, align 4 br label %49 49: ; preds = %45 %50 = load i32, ptr %4, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %4, align 4 %52 = load i32, ptr %4, align 4 %53 = icmp slt i32 %52, 4 br i1 %53, label %45, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %49 br label %54 54: ; preds = %._crit_edge3, %41 %55 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 0 %56 = call i32 @char_to_digit(ptr noundef %55) %57 = call i32 @encrypt(i32 noundef %56) %58 = call i32 @printf(ptr noundef @.str.1, i32 noundef %57) br label %59 59: ; preds = %54, %38 %60 = load i32, ptr %1, align 4 ret i32 %60 } declare i64 @getchar(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @encrypt(i32 noundef) #1 declare i32 @char_to_digit(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/tmpq1gwuv3z.c' source_filename = "/tmp/tmpq1gwuv3z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [25 x i8] c"[CLIENT] Socket created\0A\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"[CLIENT] Connected to server\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"Enter filename: \00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.5 = private unnamed_addr constant [29 x i8] c"[CLIENT] Waiting for server\0A\00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c"[CLIENT] Reply from server\0A\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.sockaddr_in, align 4 %5 = alloca [256 x i8], align 16 %6 = alloca [1024 x i8], align 16 store i32 0, ptr %1, align 4 %7 = load i32, ptr @AF_INET, align 4 %8 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2 store i32 %7, ptr %8, align 4 %9 = call i32 @inet_addr(ptr noundef @.str) %10 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1 %11 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i32 0, i32 0 store i32 %9, ptr %11, align 4 %12 = call i32 @htons(i32 noundef 5600) %13 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0 store i32 %12, ptr %13, align 4 %14 = load i32, ptr @AF_INET, align 4 %15 = load i32, ptr @SOCK_STREAM, align 4 %16 = call i32 @socket(i32 noundef %14, i32 noundef %15, i32 noundef 0) store i32 %16, ptr %2, align 4 %17 = call i32 @printf(ptr noundef @.str.1) %18 = load i32, ptr %2, align 4 %19 = call i32 @connect(i32 noundef %18, ptr noundef %4, i32 noundef 12) %20 = call i32 @printf(ptr noundef @.str.2) %21 = call i32 @printf(ptr noundef @.str.3) %22 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %23 = call i32 @scanf(ptr noundef @.str.4, ptr noundef %22) %24 = load i32, ptr %2, align 4 %25 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %26 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %27 = call i32 @strlen(ptr noundef %26) %28 = call i32 @write(i32 noundef %24, ptr noundef %25, i32 noundef %27) %29 = call i32 @printf(ptr noundef @.str.5) %30 = load i32, ptr %2, align 4 %31 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %32 = call i32 @read(i32 noundef %30, ptr noundef %31, i32 noundef 1024) store i32 %32, ptr %3, align 4 %33 = load i32, ptr %3, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 %34 store i8 0, ptr %35, align 1 %36 = call i32 @printf(ptr noundef @.str.6) %37 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %38 = load i32, ptr @stdout, align 4 %39 = call i32 @fputs(ptr noundef %37, i32 noundef %38) %40 = load i32, ptr %2, align 4 %41 = call i32 @close(i32 noundef %40) %42 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @inet_addr(ptr noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fputs(ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq1gwuv3z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [25 x i8] c"[CLIENT] Socket created\0A\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"[CLIENT] Connected to server\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"Enter filename: \00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.5 = private unnamed_addr constant [29 x i8] c"[CLIENT] Waiting for server\0A\00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c"[CLIENT] Reply from server\0A\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.sockaddr_in, align 4 %5 = alloca [256 x i8], align 16 %6 = alloca [1024 x i8], align 16 store i32 0, ptr %1, align 4 %7 = load i32, ptr @AF_INET, align 4 %8 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2 store i32 %7, ptr %8, align 4 %9 = call i32 @inet_addr(ptr noundef @.str) %10 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1 %11 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i32 0, i32 0 store i32 %9, ptr %11, align 4 %12 = call i32 @htons(i32 noundef 5600) %13 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0 store i32 %12, ptr %13, align 4 %14 = load i32, ptr @AF_INET, align 4 %15 = load i32, ptr @SOCK_STREAM, align 4 %16 = call i32 @socket(i32 noundef %14, i32 noundef %15, i32 noundef 0) store i32 %16, ptr %2, align 4 %17 = call i32 @printf(ptr noundef @.str.1) %18 = load i32, ptr %2, align 4 %19 = call i32 @connect(i32 noundef %18, ptr noundef %4, i32 noundef 12) %20 = call i32 @printf(ptr noundef @.str.2) %21 = call i32 @printf(ptr noundef @.str.3) %22 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %23 = call i32 @scanf(ptr noundef @.str.4, ptr noundef %22) %24 = load i32, ptr %2, align 4 %25 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %26 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %27 = call i32 @strlen(ptr noundef %26) %28 = call i32 @write(i32 noundef %24, ptr noundef %25, i32 noundef %27) %29 = call i32 @printf(ptr noundef @.str.5) %30 = load i32, ptr %2, align 4 %31 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %32 = call i32 @read(i32 noundef %30, ptr noundef %31, i32 noundef 1024) store i32 %32, ptr %3, align 4 %33 = load i32, ptr %3, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 %34 store i8 0, ptr %35, align 1 %36 = call i32 @printf(ptr noundef @.str.6) %37 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %38 = load i32, ptr @stdout, align 4 %39 = call i32 @fputs(ptr noundef %37, i32 noundef %38) %40 = load i32, ptr %2, align 4 %41 = call i32 @close(i32 noundef %40) %42 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @inet_addr(ptr noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fputs(ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpawy7kw5b.c' source_filename = "/tmp/tmpawy7kw5b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"\0A\0AEnter new %s: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gnewint(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [20 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = getelementptr inbounds [20 x i8], ptr %5, i64 0, i64 0 store i8 0, ptr %6, align 16 %7 = load ptr, ptr %3, align 8 %8 = call i32 @printf(ptr noundef @.str, ptr noundef %7) %9 = getelementptr inbounds [20 x i8], ptr %5, i64 0, i64 0 %10 = call i32 @getline(ptr noundef %9, i32 noundef 20) %11 = getelementptr inbounds [20 x i8], ptr %5, i64 0, i64 0 %12 = load i8, ptr %11, align 16 %13 = icmp ne i8 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %2 %15 = getelementptr inbounds [20 x i8], ptr %5, i64 0, i64 0 %16 = call i32 @atoi(ptr noundef %15) %17 = load ptr, ptr %4, align 8 store i32 %16, ptr %17, align 4 br label %18 18: ; preds = %14, %2 ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @getline(ptr noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpawy7kw5b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"\0A\0AEnter new %s: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gnewint(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [20 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = getelementptr inbounds [20 x i8], ptr %5, i64 0, i64 0 store i8 0, ptr %6, align 16 %7 = load ptr, ptr %3, align 8 %8 = call i32 @printf(ptr noundef @.str, ptr noundef %7) %9 = getelementptr inbounds [20 x i8], ptr %5, i64 0, i64 0 %10 = call i32 @getline(ptr noundef %9, i32 noundef 20) %11 = getelementptr inbounds [20 x i8], ptr %5, i64 0, i64 0 %12 = load i8, ptr %11, align 16 %13 = icmp ne i8 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %2 %15 = getelementptr inbounds [20 x i8], ptr %5, i64 0, i64 0 %16 = call i32 @atoi(ptr noundef %15) %17 = load ptr, ptr %4, align 8 store i32 %16, ptr %17, align 4 br label %18 18: ; preds = %14, %2 ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @getline(ptr noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq_iqxgzf.c' source_filename = "/tmp/tmpq_iqxgzf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Number of threads is %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [45 x i8] c"Before parallel region: Scale = %f ssq = %f\0A\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Thread %d computed LScale = %f\0A\00", align 1 @.str.3 = private unnamed_addr constant [35 x i8] c"Thread %d entered critical region\0A\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"\09Thread %d: Reset Scale to %f\0A\00", align 1 @.str.5 = private unnamed_addr constant [35 x i8] c"\09Thread %d: New value of ssq = %f\0A\00", align 1 @.str.6 = private unnamed_addr constant [44 x i8] c"After parallel region: Scale = %f ssq = %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 double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, double, ...) @printf(ptr noundef @.str, double noundef 1.000000e+00) store double 2.000000e+00, ptr %3, align 8 store double 1.000000e+00, ptr %5, align 8 %9 = load double, ptr %3, align 8 %10 = load double, ptr %5, align 8 %11 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.1, double noundef %9, double noundef %10) store i32 0, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = sitofp i32 %12 to double %14 = fmul double 2.000000e+00, %13 store double %14, ptr %6, align 8 store i32 1, ptr %2, align 4 br label %15 15: ; preds = %23, %0 %16 = load i32, ptr %2, align 4 %17 = icmp slt i32 %16, 10 br i1 %17, label %18, label %26 18: ; preds = %15 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %2, align 4 %21 = add nsw i32 %19, %20 %22 = sitofp i32 %21 to double store double %22, ptr %4, align 8 br label %23 23: ; preds = %18 %24 = load i32, ptr %2, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %2, align 4 br label %15, !llvm.loop !6 26: ; preds = %15 %27 = load i32, ptr %7, align 4 %28 = sitofp i32 %27 to double %29 = load double, ptr %4, align 8 %30 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.2, double noundef %28, double noundef %29) %31 = load i32, ptr %7, align 4 %32 = sitofp i32 %31 to double %33 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.3, double noundef %32) %34 = load double, ptr %3, align 8 %35 = load double, ptr %4, align 8 %36 = fcmp olt double %34, %35 br i1 %36, label %37, label %49 37: ; preds = %26 %38 = load double, ptr %3, align 8 %39 = load double, ptr %4, align 8 %40 = fdiv double %38, %39 %41 = load double, ptr %5, align 8 %42 = load double, ptr %6, align 8 %43 = call double @llvm.fmuladd.f64(double %40, double %41, double %42) store double %43, ptr %5, align 8 %44 = load double, ptr %4, align 8 store double %44, ptr %3, align 8 %45 = load i32, ptr %7, align 4 %46 = sitofp i32 %45 to double %47 = load double, ptr %3, align 8 %48 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.4, double noundef %46, double noundef %47) br label %56 49: ; preds = %26 %50 = load double, ptr %5, align 8 %51 = load double, ptr %4, align 8 %52 = load double, ptr %3, align 8 %53 = fdiv double %51, %52 %54 = load double, ptr %6, align 8 %55 = call double @llvm.fmuladd.f64(double %53, double %54, double %50) store double %55, ptr %5, align 8 br label %56 56: ; preds = %49, %37 %57 = load i32, ptr %7, align 4 %58 = sitofp i32 %57 to double %59 = load double, ptr %5, align 8 %60 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.5, double noundef %58, double noundef %59) %61 = load double, ptr %3, align 8 %62 = load double, ptr %5, align 8 %63 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.6, double noundef %61, double noundef %62) ret i32 0 } declare i32 @printf(ptr noundef, double 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq_iqxgzf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Number of threads is %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [45 x i8] c"Before parallel region: Scale = %f ssq = %f\0A\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Thread %d computed LScale = %f\0A\00", align 1 @.str.3 = private unnamed_addr constant [35 x i8] c"Thread %d entered critical region\0A\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"\09Thread %d: Reset Scale to %f\0A\00", align 1 @.str.5 = private unnamed_addr constant [35 x i8] c"\09Thread %d: New value of ssq = %f\0A\00", align 1 @.str.6 = private unnamed_addr constant [44 x i8] c"After parallel region: Scale = %f ssq = %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 double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, double, ...) @printf(ptr noundef @.str, double noundef 1.000000e+00) store double 2.000000e+00, ptr %3, align 8 store double 1.000000e+00, ptr %5, align 8 %9 = load double, ptr %3, align 8 %10 = load double, ptr %5, align 8 %11 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.1, double noundef %9, double noundef %10) store i32 0, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = sitofp i32 %12 to double %14 = fmul double 2.000000e+00, %13 store double %14, ptr %6, align 8 store i32 1, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp slt i32 %15, 10 br i1 %16, label %.lr.ph, label %27 .lr.ph: ; preds = %0 br label %17 17: ; preds = %.lr.ph, %22 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %2, align 4 %20 = add nsw i32 %18, %19 %21 = sitofp i32 %20 to double store double %21, ptr %4, align 8 br label %22 22: ; preds = %17 %23 = load i32, ptr %2, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %2, align 4 %25 = load i32, ptr %2, align 4 %26 = icmp slt i32 %25, 10 br i1 %26, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %27 27: ; preds = %._crit_edge, %0 %28 = load i32, ptr %7, align 4 %29 = sitofp i32 %28 to double %30 = load double, ptr %4, align 8 %31 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.2, double noundef %29, double noundef %30) %32 = load i32, ptr %7, align 4 %33 = sitofp i32 %32 to double %34 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.3, double noundef %33) %35 = load double, ptr %3, align 8 %36 = load double, ptr %4, align 8 %37 = fcmp olt double %35, %36 br i1 %37, label %38, label %50 38: ; preds = %27 %39 = load double, ptr %3, align 8 %40 = load double, ptr %4, align 8 %41 = fdiv double %39, %40 %42 = load double, ptr %5, align 8 %43 = load double, ptr %6, align 8 %44 = call double @llvm.fmuladd.f64(double %41, double %42, double %43) store double %44, ptr %5, align 8 %45 = load double, ptr %4, align 8 store double %45, ptr %3, align 8 %46 = load i32, ptr %7, align 4 %47 = sitofp i32 %46 to double %48 = load double, ptr %3, align 8 %49 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.4, double noundef %47, double noundef %48) br label %57 50: ; preds = %27 %51 = load double, ptr %5, align 8 %52 = load double, ptr %4, align 8 %53 = load double, ptr %3, align 8 %54 = fdiv double %52, %53 %55 = load double, ptr %6, align 8 %56 = call double @llvm.fmuladd.f64(double %54, double %55, double %51) store double %56, ptr %5, align 8 br label %57 57: ; preds = %50, %38 %58 = load i32, ptr %7, align 4 %59 = sitofp i32 %58 to double %60 = load double, ptr %5, align 8 %61 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.5, double noundef %59, double noundef %60) %62 = load double, ptr %3, align 8 %63 = load double, ptr %5, align 8 %64 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.6, double noundef %62, double noundef %63) ret i32 0 } declare i32 @printf(ptr noundef, double 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpnkzt2nxs.c' source_filename = "/tmp/tmpnkzt2nxs.c" target datalayout = "e-m:e-p270: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.passwd = type { ptr } %struct.group = type { ptr } @NGROUPS = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"uid=%u\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"(%s)\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c" euid=%u\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c" gid=%u\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c" egid=%u\00", align 1 @.str.5 = private unnamed_addr constant [11 x i8] c" groups=%u\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c", %u\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @current() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = load i32, ptr @NGROUPS, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %8, align 8 %14 = alloca i32, i64 %12, align 16 store i64 %12, ptr %9, align 8 %15 = call i32 (...) @getuid() store i32 %15, ptr %4, align 4 %16 = load i32, ptr %4, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %16) %18 = load i32, ptr %4, align 4 %19 = call ptr @getpwuid(i32 noundef %18) store ptr %19, ptr %2, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %26 21: ; preds = %0 %22 = load ptr, ptr %2, align 8 %23 = getelementptr inbounds %struct.passwd, ptr %22, i32 0, i32 0 %24 = load ptr, ptr %23, align 8 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %24) br label %26 26: ; preds = %21, %0 %27 = call i32 (...) @geteuid() store i32 %27, ptr %5, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp ne i32 %27, %28 br i1 %29, label %30, label %42 30: ; preds = %26 %31 = load i32, ptr %5, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %31) %33 = load i32, ptr %5, align 4 %34 = call ptr @getpwuid(i32 noundef %33) store ptr %34, ptr %2, align 8 %35 = icmp ne ptr %34, null br i1 %35, label %36, label %41 36: ; preds = %30 %37 = load ptr, ptr %2, align 8 %38 = getelementptr inbounds %struct.passwd, ptr %37, i32 0, i32 0 %39 = load ptr, ptr %38, align 8 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %39) br label %41 41: ; preds = %36, %30 br label %42 42: ; preds = %41, %26 %43 = call i32 (...) @getgid() store i32 %43, ptr %4, align 4 %44 = load i32, ptr %4, align 4 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %44) %46 = load i32, ptr %4, align 4 %47 = call ptr @getgrgid(i32 noundef %46) store ptr %47, ptr %1, align 8 %48 = icmp ne ptr %47, null br i1 %48, label %49, label %54 49: ; preds = %42 %50 = load ptr, ptr %1, align 8 %51 = getelementptr inbounds %struct.group, ptr %50, i32 0, i32 0 %52 = load ptr, ptr %51, align 8 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %52) br label %54 54: ; preds = %49, %42 %55 = call i32 (...) @getegid() store i32 %55, ptr %5, align 4 %56 = load i32, ptr %4, align 4 %57 = icmp ne i32 %55, %56 br i1 %57, label %58, label %70 58: ; preds = %54 %59 = load i32, ptr %5, align 4 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %59) %61 = load i32, ptr %5, align 4 %62 = call ptr @getgrgid(i32 noundef %61) store ptr %62, ptr %1, align 8 %63 = icmp ne ptr %62, null br i1 %63, label %64, label %69 64: ; preds = %58 %65 = load ptr, ptr %1, align 8 %66 = getelementptr inbounds %struct.group, ptr %65, i32 0, i32 0 %67 = load ptr, ptr %66, align 8 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %67) br label %69 69: ; preds = %64, %58 br label %70 70: ; preds = %69, %54 %71 = load i32, ptr @NGROUPS, align 4 %72 = call i32 @getgroups(i32 noundef %71, ptr noundef %14) store i32 %72, ptr %7, align 4 %73 = load i32, ptr %7, align 4 %74 = icmp sgt i32 %73, 0 br i1 %74, label %75, label %106 75: ; preds = %70 store ptr @.str.5, ptr %10, align 8 store i32 -1, ptr %6, align 4 store i32 0, ptr %3, align 4 br label %76 76: ; preds = %103, %75 %77 = load i32, ptr %3, align 4 %78 = load i32, ptr %7, align 4 %79 = icmp slt i32 %77, %78 br i1 %79, label %80, label %105 80: ; preds = %76 %81 = load i32, ptr %3, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %3, align 4 %83 = sext i32 %81 to i64 %84 = getelementptr inbounds i32, ptr %14, i64 %83 %85 = load i32, ptr %84, align 4 store i32 %85, ptr %4, align 4 %86 = load i32, ptr %6, align 4 %87 = load i32, ptr %4, align 4 %88 = icmp eq i32 %86, %87 br i1 %88, label %89, label %90 89: ; preds = %80 br label %103 90: ; preds = %80 %91 = load ptr, ptr %10, align 8 %92 = load i32, ptr %4, align 4 %93 = call i32 (ptr, ...) @printf(ptr noundef %91, i32 noundef %92) %94 = load i32, ptr %4, align 4 %95 = call ptr @getgrgid(i32 noundef %94) store ptr %95, ptr %1, align 8 %96 = icmp ne ptr %95, null br i1 %96, label %97, label %102 97: ; preds = %90 %98 = load ptr, ptr %1, align 8 %99 = getelementptr inbounds %struct.group, ptr %98, i32 0, i32 0 %100 = load ptr, ptr %99, align 8 %101 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %100) br label %102 102: ; preds = %97, %90 br label %103 103: ; preds = %102, %89 store ptr @.str.6, ptr %10, align 8 %104 = load i32, ptr %4, align 4 store i32 %104, ptr %6, align 4 br label %76, !llvm.loop !6 105: ; preds = %76 br label %106 106: ; preds = %105, %70 %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %108 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %108) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @getuid(...) #2 declare i32 @printf(ptr noundef, ...) #2 declare ptr @getpwuid(i32 noundef) #2 declare i32 @geteuid(...) #2 declare i32 @getgid(...) #2 declare ptr @getgrgid(i32 noundef) #2 declare i32 @getegid(...) #2 declare i32 @getgroups(i32 noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 willreturn } 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/tmpnkzt2nxs.c" target datalayout = "e-m:e-p270: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.passwd = type { ptr } %struct.group = type { ptr } @NGROUPS = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"uid=%u\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"(%s)\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c" euid=%u\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c" gid=%u\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c" egid=%u\00", align 1 @.str.5 = private unnamed_addr constant [11 x i8] c" groups=%u\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c", %u\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @current() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = load i32, ptr @NGROUPS, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %8, align 8 %14 = alloca i32, i64 %12, align 16 store i64 %12, ptr %9, align 8 %15 = call i32 (...) @getuid() store i32 %15, ptr %4, align 4 %16 = load i32, ptr %4, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %16) %18 = load i32, ptr %4, align 4 %19 = call ptr @getpwuid(i32 noundef %18) store ptr %19, ptr %2, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %26 21: ; preds = %0 %22 = load ptr, ptr %2, align 8 %23 = getelementptr inbounds %struct.passwd, ptr %22, i32 0, i32 0 %24 = load ptr, ptr %23, align 8 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %24) br label %26 26: ; preds = %21, %0 %27 = call i32 (...) @geteuid() store i32 %27, ptr %5, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp ne i32 %27, %28 br i1 %29, label %30, label %42 30: ; preds = %26 %31 = load i32, ptr %5, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %31) %33 = load i32, ptr %5, align 4 %34 = call ptr @getpwuid(i32 noundef %33) store ptr %34, ptr %2, align 8 %35 = icmp ne ptr %34, null br i1 %35, label %36, label %41 36: ; preds = %30 %37 = load ptr, ptr %2, align 8 %38 = getelementptr inbounds %struct.passwd, ptr %37, i32 0, i32 0 %39 = load ptr, ptr %38, align 8 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %39) br label %41 41: ; preds = %36, %30 br label %42 42: ; preds = %41, %26 %43 = call i32 (...) @getgid() store i32 %43, ptr %4, align 4 %44 = load i32, ptr %4, align 4 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %44) %46 = load i32, ptr %4, align 4 %47 = call ptr @getgrgid(i32 noundef %46) store ptr %47, ptr %1, align 8 %48 = icmp ne ptr %47, null br i1 %48, label %49, label %54 49: ; preds = %42 %50 = load ptr, ptr %1, align 8 %51 = getelementptr inbounds %struct.group, ptr %50, i32 0, i32 0 %52 = load ptr, ptr %51, align 8 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %52) br label %54 54: ; preds = %49, %42 %55 = call i32 (...) @getegid() store i32 %55, ptr %5, align 4 %56 = load i32, ptr %4, align 4 %57 = icmp ne i32 %55, %56 br i1 %57, label %58, label %70 58: ; preds = %54 %59 = load i32, ptr %5, align 4 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %59) %61 = load i32, ptr %5, align 4 %62 = call ptr @getgrgid(i32 noundef %61) store ptr %62, ptr %1, align 8 %63 = icmp ne ptr %62, null br i1 %63, label %64, label %69 64: ; preds = %58 %65 = load ptr, ptr %1, align 8 %66 = getelementptr inbounds %struct.group, ptr %65, i32 0, i32 0 %67 = load ptr, ptr %66, align 8 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %67) br label %69 69: ; preds = %64, %58 br label %70 70: ; preds = %69, %54 %71 = load i32, ptr @NGROUPS, align 4 %72 = call i32 @getgroups(i32 noundef %71, ptr noundef %14) store i32 %72, ptr %7, align 4 %73 = load i32, ptr %7, align 4 %74 = icmp sgt i32 %73, 0 br i1 %74, label %75, label %108 75: ; preds = %70 store ptr @.str.5, ptr %10, align 8 store i32 -1, ptr %6, align 4 store i32 0, ptr %3, align 4 %76 = load i32, ptr %3, align 4 %77 = load i32, ptr %7, align 4 %78 = icmp slt i32 %76, %77 br i1 %78, label %.lr.ph, label %107 .lr.ph: ; preds = %75 br label %79 79: ; preds = %.lr.ph, %102 %80 = load i32, ptr %3, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %3, align 4 %82 = sext i32 %80 to i64 %83 = getelementptr inbounds i32, ptr %14, i64 %82 %84 = load i32, ptr %83, align 4 store i32 %84, ptr %4, align 4 %85 = load i32, ptr %6, align 4 %86 = load i32, ptr %4, align 4 %87 = icmp eq i32 %85, %86 br i1 %87, label %88, label %89 88: ; preds = %79 br label %102 89: ; preds = %79 %90 = load ptr, ptr %10, align 8 %91 = load i32, ptr %4, align 4 %92 = call i32 (ptr, ...) @printf(ptr noundef %90, i32 noundef %91) %93 = load i32, ptr %4, align 4 %94 = call ptr @getgrgid(i32 noundef %93) store ptr %94, ptr %1, align 8 %95 = icmp ne ptr %94, null br i1 %95, label %96, label %101 96: ; preds = %89 %97 = load ptr, ptr %1, align 8 %98 = getelementptr inbounds %struct.group, ptr %97, i32 0, i32 0 %99 = load ptr, ptr %98, align 8 %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %99) br label %101 101: ; preds = %96, %89 br label %102 102: ; preds = %101, %88 store ptr @.str.6, ptr %10, align 8 %103 = load i32, ptr %4, align 4 store i32 %103, ptr %6, align 4 %104 = load i32, ptr %3, align 4 %105 = load i32, ptr %7, align 4 %106 = icmp slt i32 %104, %105 br i1 %106, label %79, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %102 br label %107 107: ; preds = %._crit_edge, %75 br label %108 108: ; preds = %107, %70 %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %110 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %110) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @getuid(...) #2 declare i32 @printf(ptr noundef, ...) #2 declare ptr @getpwuid(i32 noundef) #2 declare i32 @geteuid(...) #2 declare i32 @getgid(...) #2 declare ptr @getgrgid(i32 noundef) #2 declare i32 @getegid(...) #2 declare i32 @getgroups(i32 noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 willreturn } 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/tmp6o7g7sr8.c' source_filename = "/tmp/tmp6o7g7sr8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @mapRegisterMemory.mem_fd = internal global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"/dev/mem\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_SYNC = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [22 x i8] c"can't open /dev/mem \0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"allocation error \0A\00", align 1 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @MAP_FIXED = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [15 x i8] c"mmap error %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @mapRegisterMemory(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %5 = load i32, ptr @mapRegisterMemory.mem_fd, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %17, label %7 7: ; preds = %1 %8 = load i32, ptr @O_RDWR, align 4 %9 = load i32, ptr @O_SYNC, align 4 %10 = or i32 %8, %9 %11 = call i32 @open(ptr noundef @.str, i32 noundef %10) store i32 %11, ptr @mapRegisterMemory.mem_fd, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %7 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %15 = call i32 @exit(i32 noundef -1) #3 unreachable 16: ; preds = %7 br label %17 17: ; preds = %16, %1 %18 = call ptr @malloc(i32 noundef 8191) store ptr %18, ptr %3, align 8 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %23 20: ; preds = %17 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %22 = call i32 @exit(i32 noundef -1) #3 unreachable 23: ; preds = %17 %24 = load ptr, ptr %3, align 8 %25 = ptrtoint ptr %24 to i64 %26 = urem i64 %25, 4096 %27 = icmp ne i64 %26, 0 br i1 %27, label %28, label %35 28: ; preds = %23 %29 = load ptr, ptr %3, align 8 %30 = ptrtoint ptr %29 to i64 %31 = urem i64 %30, 4096 %32 = sub i64 4096, %31 %33 = load ptr, ptr %3, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 %32 store ptr %34, ptr %3, align 8 br label %35 35: ; preds = %28, %23 %36 = load ptr, ptr %3, align 8 %37 = ptrtoint ptr %36 to i32 %38 = load i32, ptr @PROT_READ, align 4 %39 = load i32, ptr @PROT_WRITE, align 4 %40 = or i32 %38, %39 %41 = load i32, ptr @MAP_SHARED, align 4 %42 = load i32, ptr @MAP_FIXED, align 4 %43 = or i32 %41, %42 %44 = load i32, ptr @mapRegisterMemory.mem_fd, align 4 %45 = load i32, ptr %2, align 4 %46 = call i64 @mmap(i32 noundef %37, i32 noundef 4096, i32 noundef %40, i32 noundef %43, i32 noundef %44, i32 noundef %45) %47 = inttoptr i64 %46 to ptr store ptr %47, ptr %4, align 8 %48 = load ptr, ptr %4, align 8 %49 = ptrtoint ptr %48 to i64 %50 = icmp slt i64 %49, 0 br i1 %50, label %51, label %56 51: ; preds = %35 %52 = load ptr, ptr %4, align 8 %53 = ptrtoint ptr %52 to i32 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %53) %55 = call i32 @exit(i32 noundef -1) #3 unreachable 56: ; preds = %35 %57 = load ptr, ptr %4, align 8 ret ptr %57 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @malloc(i32 noundef) #1 declare i64 @mmap(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp6o7g7sr8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @mapRegisterMemory.mem_fd = internal global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"/dev/mem\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_SYNC = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [22 x i8] c"can't open /dev/mem \0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"allocation error \0A\00", align 1 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @MAP_FIXED = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [15 x i8] c"mmap error %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @mapRegisterMemory(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %5 = load i32, ptr @mapRegisterMemory.mem_fd, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %17, label %7 7: ; preds = %1 %8 = load i32, ptr @O_RDWR, align 4 %9 = load i32, ptr @O_SYNC, align 4 %10 = or i32 %8, %9 %11 = call i32 @open(ptr noundef @.str, i32 noundef %10) store i32 %11, ptr @mapRegisterMemory.mem_fd, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %7 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %15 = call i32 @exit(i32 noundef -1) #3 unreachable 16: ; preds = %7 br label %17 17: ; preds = %16, %1 %18 = call ptr @malloc(i32 noundef 8191) store ptr %18, ptr %3, align 8 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %23 20: ; preds = %17 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %22 = call i32 @exit(i32 noundef -1) #3 unreachable 23: ; preds = %17 %24 = load ptr, ptr %3, align 8 %25 = ptrtoint ptr %24 to i64 %26 = urem i64 %25, 4096 %27 = icmp ne i64 %26, 0 br i1 %27, label %28, label %35 28: ; preds = %23 %29 = load ptr, ptr %3, align 8 %30 = ptrtoint ptr %29 to i64 %31 = urem i64 %30, 4096 %32 = sub i64 4096, %31 %33 = load ptr, ptr %3, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 %32 store ptr %34, ptr %3, align 8 br label %35 35: ; preds = %28, %23 %36 = load ptr, ptr %3, align 8 %37 = ptrtoint ptr %36 to i32 %38 = load i32, ptr @PROT_READ, align 4 %39 = load i32, ptr @PROT_WRITE, align 4 %40 = or i32 %38, %39 %41 = load i32, ptr @MAP_SHARED, align 4 %42 = load i32, ptr @MAP_FIXED, align 4 %43 = or i32 %41, %42 %44 = load i32, ptr @mapRegisterMemory.mem_fd, align 4 %45 = load i32, ptr %2, align 4 %46 = call i64 @mmap(i32 noundef %37, i32 noundef 4096, i32 noundef %40, i32 noundef %43, i32 noundef %44, i32 noundef %45) %47 = inttoptr i64 %46 to ptr store ptr %47, ptr %4, align 8 %48 = load ptr, ptr %4, align 8 %49 = ptrtoint ptr %48 to i64 %50 = icmp slt i64 %49, 0 br i1 %50, label %51, label %56 51: ; preds = %35 %52 = load ptr, ptr %4, align 8 %53 = ptrtoint ptr %52 to i32 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %53) %55 = call i32 @exit(i32 noundef -1) #3 unreachable 56: ; preds = %35 %57 = load ptr, ptr %4, align 8 ret ptr %57 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @malloc(i32 noundef) #1 declare i64 @mmap(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpm0k6zqev.c' source_filename = "/tmp/tmpm0k6zqev.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Dumps tl880 memory\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"Usage: %s mem_file [addr [len]]\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"/dev/tl880/mem0\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [31 x i8] c"Unable to open /dev/tl880/mem0\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"Mapping memory space\0A\00", align 1 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [27 x i8] c"Failed to mmap card memory\00", align 1 @.str.6 = private unnamed_addr constant [50 x i8] c"Writing 0x%x bytes starting at offset 0x%x to %s\0A\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @S_IRGRP = dso_local global i32 0, align 4 @S_IROTH = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [35 x i8] c"Failed to open output file %s: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [26 x i8] c"Failed to write region 0\0A\00", align 1 @.str.9 = private unnamed_addr constant [24 x i8] c"Unmapping memory space\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 store i32 0, ptr %8, align 4 store i32 16777216, ptr %9, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %11, 2 br i1 %12, label %16, label %13 13: ; preds = %2 %14 = load i32, ptr %4, align 4 %15 = icmp sgt i32 %14, 4 br i1 %15, label %16, label %22 16: ; preds = %13, %2 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str) %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 0 %20 = load ptr, ptr %19, align 8 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %20) store i32 -1, ptr %3, align 4 br label %135 22: ; preds = %13 %23 = load i32, ptr %4, align 4 %24 = icmp sge i32 %23, 3 br i1 %24, label %25, label %30 25: ; preds = %22 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 2 %28 = load ptr, ptr %27, align 8 %29 = call i32 @strtoul(ptr noundef %28, ptr noundef null, i32 noundef 16) store i32 %29, ptr %8, align 4 br label %30 30: ; preds = %25, %22 %31 = load i32, ptr %4, align 4 %32 = icmp eq i32 %31, 4 br i1 %32, label %33, label %38 33: ; preds = %30 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 3 %36 = load ptr, ptr %35, align 8 %37 = call i32 @strtoul(ptr noundef %36, ptr noundef null, i32 noundef 16) store i32 %37, ptr %9, align 4 br label %38 38: ; preds = %33, %30 %39 = load i32, ptr @O_RDWR, align 4 %40 = call i32 (ptr, i32, ...) @open(ptr noundef @.str.2, i32 noundef %39) store i32 %40, ptr %6, align 4 %41 = icmp slt i32 %40, 0 br i1 %41, label %42, label %44 42: ; preds = %38 %43 = call i32 @perror(ptr noundef @.str.3) store i32 -1, ptr %3, align 4 br label %135 44: ; preds = %38 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %46 = load i32, ptr @PROT_READ, align 4 %47 = load i32, ptr @PROT_WRITE, align 4 %48 = or i32 %46, %47 %49 = load i32, ptr @MAP_SHARED, align 4 %50 = load i32, ptr %6, align 4 %51 = call ptr @mmap(i32 noundef 0, i32 noundef 16777216, i32 noundef %48, i32 noundef %49, i32 noundef %50, i32 noundef 0) store ptr %51, ptr %10, align 8 %52 = icmp ne ptr %51, null br i1 %52, label %57, label %53 53: ; preds = %44 %54 = call i32 @perror(ptr noundef @.str.5) %55 = load i32, ptr %6, align 4 %56 = call i32 @close(i32 noundef %55) store i32 -1, ptr %3, align 4 br label %135 57: ; preds = %44 %58 = load i32, ptr %8, align 4 %59 = and i32 %58, -4 store i32 %59, ptr %8, align 4 %60 = load i32, ptr %9, align 4 %61 = and i32 %60, -4 store i32 %61, ptr %9, align 4 %62 = load i32, ptr %8, align 4 %63 = icmp sge i32 %62, 16777216 br i1 %63, label %64, label %65 64: ; preds = %57 store i32 0, ptr %8, align 4 br label %65 65: ; preds = %64, %57 %66 = load i32, ptr %8, align 4 %67 = load i32, ptr %9, align 4 %68 = add nsw i32 %66, %67 %69 = icmp sgt i32 %68, 16777216 br i1 %69, label %70, label %73 70: ; preds = %65 %71 = load i32, ptr %8, align 4 %72 = sub nsw i32 16777216, %71 store i32 %72, ptr %9, align 4 br label %73 73: ; preds = %70, %65 %74 = load i32, ptr %9, align 4 %75 = load i32, ptr %8, align 4 %76 = load ptr, ptr %5, align 8 %77 = getelementptr inbounds ptr, ptr %76, i64 1 %78 = load ptr, ptr %77, align 8 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %74, i32 noundef %75, ptr noundef %78) %80 = load ptr, ptr %5, align 8 %81 = getelementptr inbounds ptr, ptr %80, i64 1 %82 = load ptr, ptr %81, align 8 %83 = load i32, ptr @O_WRONLY, align 4 %84 = load i32, ptr @O_CREAT, align 4 %85 = or i32 %83, %84 %86 = load i32, ptr @O_TRUNC, align 4 %87 = or i32 %85, %86 %88 = load i32, ptr @S_IRUSR, align 4 %89 = load i32, ptr @S_IWUSR, align 4 %90 = or i32 %88, %89 %91 = load i32, ptr @S_IRGRP, align 4 %92 = or i32 %90, %91 %93 = load i32, ptr @S_IROTH, align 4 %94 = or i32 %92, %93 %95 = call i32 (ptr, i32, ...) @open(ptr noundef %82, i32 noundef %87, i32 noundef %94) store i32 %95, ptr %7, align 4 %96 = icmp slt i32 %95, 0 br i1 %96, label %97, label %109 97: ; preds = %73 %98 = load i32, ptr @stderr, align 4 %99 = load ptr, ptr %5, align 8 %100 = getelementptr inbounds ptr, ptr %99, i64 1 %101 = load ptr, ptr %100, align 8 %102 = load i32, ptr @errno, align 4 %103 = call ptr @strerror(i32 noundef %102) %104 = call i32 @fprintf(i32 noundef %98, ptr noundef @.str.7, ptr noundef %101, ptr noundef %103) %105 = load ptr, ptr %10, align 8 %106 = call i32 @munmap(ptr noundef %105, i32 noundef 16777216) %107 = load i32, ptr %6, align 4 %108 = call i32 @close(i32 noundef %107) store i32 -1, ptr %3, align 4 br label %135 109: ; preds = %73 %110 = load i32, ptr %7, align 4 %111 = load ptr, ptr %10, align 8 %112 = load i32, ptr %8, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds i8, ptr %111, i64 %113 %115 = load i32, ptr %9, align 4 %116 = call i32 @write(i32 noundef %110, ptr noundef %114, i32 noundef %115) %117 = load i32, ptr %9, align 4 %118 = icmp ne i32 %116, %117 br i1 %118, label %119, label %127 119: ; preds = %109 %120 = call i32 @perror(ptr noundef @.str.8) %121 = load ptr, ptr %10, align 8 %122 = call i32 @munmap(ptr noundef %121, i32 noundef 16777216) %123 = load i32, ptr %6, align 4 %124 = call i32 @close(i32 noundef %123) %125 = load i32, ptr %7, align 4 %126 = call i32 @close(i32 noundef %125) store i32 -1, ptr %3, align 4 br label %135 127: ; preds = %109 %128 = load i32, ptr %7, align 4 %129 = call i32 @close(i32 noundef %128) %130 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %131 = load ptr, ptr %10, align 8 %132 = call i32 @munmap(ptr noundef %131, i32 noundef 16777216) %133 = load i32, ptr %6, align 4 %134 = call i32 @close(i32 noundef %133) store i32 0, ptr %3, align 4 br label %135 135: ; preds = %127, %119, %97, %53, %42, %16 %136 = load i32, ptr %3, align 4 ret i32 %136 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef, ...) #1 declare i32 @perror(ptr noundef) #1 declare ptr @mmap(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @munmap(ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm0k6zqev.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Dumps tl880 memory\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"Usage: %s mem_file [addr [len]]\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"/dev/tl880/mem0\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [31 x i8] c"Unable to open /dev/tl880/mem0\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"Mapping memory space\0A\00", align 1 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [27 x i8] c"Failed to mmap card memory\00", align 1 @.str.6 = private unnamed_addr constant [50 x i8] c"Writing 0x%x bytes starting at offset 0x%x to %s\0A\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @S_IRGRP = dso_local global i32 0, align 4 @S_IROTH = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [35 x i8] c"Failed to open output file %s: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [26 x i8] c"Failed to write region 0\0A\00", align 1 @.str.9 = private unnamed_addr constant [24 x i8] c"Unmapping memory space\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 store i32 0, ptr %8, align 4 store i32 16777216, ptr %9, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %11, 2 br i1 %12, label %16, label %13 13: ; preds = %2 %14 = load i32, ptr %4, align 4 %15 = icmp sgt i32 %14, 4 br i1 %15, label %16, label %22 16: ; preds = %13, %2 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str) %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 0 %20 = load ptr, ptr %19, align 8 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %20) store i32 -1, ptr %3, align 4 br label %135 22: ; preds = %13 %23 = load i32, ptr %4, align 4 %24 = icmp sge i32 %23, 3 br i1 %24, label %25, label %30 25: ; preds = %22 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 2 %28 = load ptr, ptr %27, align 8 %29 = call i32 @strtoul(ptr noundef %28, ptr noundef null, i32 noundef 16) store i32 %29, ptr %8, align 4 br label %30 30: ; preds = %25, %22 %31 = load i32, ptr %4, align 4 %32 = icmp eq i32 %31, 4 br i1 %32, label %33, label %38 33: ; preds = %30 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 3 %36 = load ptr, ptr %35, align 8 %37 = call i32 @strtoul(ptr noundef %36, ptr noundef null, i32 noundef 16) store i32 %37, ptr %9, align 4 br label %38 38: ; preds = %33, %30 %39 = load i32, ptr @O_RDWR, align 4 %40 = call i32 (ptr, i32, ...) @open(ptr noundef @.str.2, i32 noundef %39) store i32 %40, ptr %6, align 4 %41 = icmp slt i32 %40, 0 br i1 %41, label %42, label %44 42: ; preds = %38 %43 = call i32 @perror(ptr noundef @.str.3) store i32 -1, ptr %3, align 4 br label %135 44: ; preds = %38 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %46 = load i32, ptr @PROT_READ, align 4 %47 = load i32, ptr @PROT_WRITE, align 4 %48 = or i32 %46, %47 %49 = load i32, ptr @MAP_SHARED, align 4 %50 = load i32, ptr %6, align 4 %51 = call ptr @mmap(i32 noundef 0, i32 noundef 16777216, i32 noundef %48, i32 noundef %49, i32 noundef %50, i32 noundef 0) store ptr %51, ptr %10, align 8 %52 = icmp ne ptr %51, null br i1 %52, label %57, label %53 53: ; preds = %44 %54 = call i32 @perror(ptr noundef @.str.5) %55 = load i32, ptr %6, align 4 %56 = call i32 @close(i32 noundef %55) store i32 -1, ptr %3, align 4 br label %135 57: ; preds = %44 %58 = load i32, ptr %8, align 4 %59 = and i32 %58, -4 store i32 %59, ptr %8, align 4 %60 = load i32, ptr %9, align 4 %61 = and i32 %60, -4 store i32 %61, ptr %9, align 4 %62 = load i32, ptr %8, align 4 %63 = icmp sge i32 %62, 16777216 br i1 %63, label %64, label %65 64: ; preds = %57 store i32 0, ptr %8, align 4 br label %65 65: ; preds = %64, %57 %66 = load i32, ptr %8, align 4 %67 = load i32, ptr %9, align 4 %68 = add nsw i32 %66, %67 %69 = icmp sgt i32 %68, 16777216 br i1 %69, label %70, label %73 70: ; preds = %65 %71 = load i32, ptr %8, align 4 %72 = sub nsw i32 16777216, %71 store i32 %72, ptr %9, align 4 br label %73 73: ; preds = %70, %65 %74 = load i32, ptr %9, align 4 %75 = load i32, ptr %8, align 4 %76 = load ptr, ptr %5, align 8 %77 = getelementptr inbounds ptr, ptr %76, i64 1 %78 = load ptr, ptr %77, align 8 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %74, i32 noundef %75, ptr noundef %78) %80 = load ptr, ptr %5, align 8 %81 = getelementptr inbounds ptr, ptr %80, i64 1 %82 = load ptr, ptr %81, align 8 %83 = load i32, ptr @O_WRONLY, align 4 %84 = load i32, ptr @O_CREAT, align 4 %85 = or i32 %83, %84 %86 = load i32, ptr @O_TRUNC, align 4 %87 = or i32 %85, %86 %88 = load i32, ptr @S_IRUSR, align 4 %89 = load i32, ptr @S_IWUSR, align 4 %90 = or i32 %88, %89 %91 = load i32, ptr @S_IRGRP, align 4 %92 = or i32 %90, %91 %93 = load i32, ptr @S_IROTH, align 4 %94 = or i32 %92, %93 %95 = call i32 (ptr, i32, ...) @open(ptr noundef %82, i32 noundef %87, i32 noundef %94) store i32 %95, ptr %7, align 4 %96 = icmp slt i32 %95, 0 br i1 %96, label %97, label %109 97: ; preds = %73 %98 = load i32, ptr @stderr, align 4 %99 = load ptr, ptr %5, align 8 %100 = getelementptr inbounds ptr, ptr %99, i64 1 %101 = load ptr, ptr %100, align 8 %102 = load i32, ptr @errno, align 4 %103 = call ptr @strerror(i32 noundef %102) %104 = call i32 @fprintf(i32 noundef %98, ptr noundef @.str.7, ptr noundef %101, ptr noundef %103) %105 = load ptr, ptr %10, align 8 %106 = call i32 @munmap(ptr noundef %105, i32 noundef 16777216) %107 = load i32, ptr %6, align 4 %108 = call i32 @close(i32 noundef %107) store i32 -1, ptr %3, align 4 br label %135 109: ; preds = %73 %110 = load i32, ptr %7, align 4 %111 = load ptr, ptr %10, align 8 %112 = load i32, ptr %8, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds i8, ptr %111, i64 %113 %115 = load i32, ptr %9, align 4 %116 = call i32 @write(i32 noundef %110, ptr noundef %114, i32 noundef %115) %117 = load i32, ptr %9, align 4 %118 = icmp ne i32 %116, %117 br i1 %118, label %119, label %127 119: ; preds = %109 %120 = call i32 @perror(ptr noundef @.str.8) %121 = load ptr, ptr %10, align 8 %122 = call i32 @munmap(ptr noundef %121, i32 noundef 16777216) %123 = load i32, ptr %6, align 4 %124 = call i32 @close(i32 noundef %123) %125 = load i32, ptr %7, align 4 %126 = call i32 @close(i32 noundef %125) store i32 -1, ptr %3, align 4 br label %135 127: ; preds = %109 %128 = load i32, ptr %7, align 4 %129 = call i32 @close(i32 noundef %128) %130 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %131 = load ptr, ptr %10, align 8 %132 = call i32 @munmap(ptr noundef %131, i32 noundef 16777216) %133 = load i32, ptr %6, align 4 %134 = call i32 @close(i32 noundef %133) store i32 0, ptr %3, align 4 br label %135 135: ; preds = %127, %119, %97, %53, %42, %16 %136 = load i32, ptr %3, align 4 ret i32 %136 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef, ...) #1 declare i32 @perror(ptr noundef) #1 declare ptr @mmap(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @munmap(ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqpstz9gp.c' source_filename = "/tmp/tmpqpstz9gp.c" target datalayout = "e-m:e-p270: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 @predicate_print(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @print(ptr noundef %3, i32 noundef 0) ret void } declare i32 @print(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/tmpqpstz9gp.c" target datalayout = "e-m:e-p270: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 @predicate_print(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @print(ptr noundef %3, i32 noundef 0) ret void } declare i32 @print(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/tmpv6ahz_zb.c' source_filename = "/tmp/tmpv6ahz_zb.c" target datalayout = "e-m:e-p270: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 @___start() #0 { %1 = call i32 (...) @_main() ret void } declare i32 @_main(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv6ahz_zb.c" target datalayout = "e-m:e-p270: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 @___start() #0 { %1 = call i32 (...) @_main() ret void } declare i32 @_main(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqessvgit.c' source_filename = "/tmp/tmpqessvgit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqessvgit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgvf1b8e1.c' source_filename = "/tmp/tmpgvf1b8e1.c" target datalayout = "e-m:e-p270: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 @shift_cmp(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = 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 i32 %3, ptr %12, align 4 store i32 %4, ptr %13, align 4 store i32 %5, ptr %14, align 4 store i32 %6, ptr %15, align 4 store i32 %7, ptr %16, align 4 store i32 0, ptr %20, align 4 store i32 0, ptr %18, align 4 br label %21 21: ; preds = %91, %8 %22 = load i32, ptr %18, align 4 %23 = load i32, ptr %13, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %94 25: ; preds = %21 store i32 0, ptr %17, align 4 br label %26 26: ; preds = %87, %25 %27 = load i32, ptr %17, align 4 %28 = load i32, ptr %12, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %90 30: ; preds = %26 %31 = load i32, ptr %17, align 4 %32 = load i32, ptr %14, align 4 %33 = add nsw i32 %31, %32 %34 = icmp slt i32 %33, 0 br i1 %34, label %52, label %35 35: ; preds = %30 %36 = load i32, ptr %17, align 4 %37 = load i32, ptr %14, align 4 %38 = add nsw i32 %36, %37 %39 = load i32, ptr %12, align 4 %40 = icmp sge i32 %38, %39 br i1 %40, label %52, label %41 41: ; preds = %35 %42 = load i32, ptr %18, align 4 %43 = load i32, ptr %15, align 4 %44 = add nsw i32 %42, %43 %45 = icmp slt i32 %44, 0 br i1 %45, label %52, label %46 46: ; preds = %41 %47 = load i32, ptr %18, align 4 %48 = load i32, ptr %15, align 4 %49 = add nsw i32 %47, %48 %50 = load i32, ptr %12, align 4 %51 = icmp sge i32 %49, %50 br i1 %51, label %52, label %57 52: ; preds = %46, %41, %35, %30 %53 = load ptr, ptr %11, align 8 %54 = load i32, ptr %20, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %53, i64 %55 store i32 16777216, ptr %56, align 4 br label %84 57: ; preds = %46 %58 = load ptr, ptr %9, align 8 %59 = load i32, ptr %20, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %58, i64 %60 %62 = load i32, ptr %61, align 4 %63 = load ptr, ptr %10, align 8 %64 = load i32, ptr %20, align 4 %65 = load i32, ptr %14, align 4 %66 = add nsw i32 %64, %65 %67 = load i32, ptr %15, align 4 %68 = load i32, ptr %12, align 4 %69 = mul nsw i32 %67, %68 %70 = add nsw i32 %66, %69 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i32, ptr %63, i64 %71 %73 = load i32, ptr %72, align 4 %74 = sub nsw i32 %62, %73 store i32 %74, ptr %19, align 4 %75 = load i32, ptr %19, align 4 %76 = load i32, ptr %19, align 4 %77 = mul nsw i32 %75, %76 %78 = load i32, ptr %16, align 4 %79 = ashr i32 %77, %78 %80 = load ptr, ptr %11, align 8 %81 = load i32, ptr %20, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i32, ptr %80, i64 %82 store i32 %79, ptr %83, align 4 br label %84 84: ; preds = %57, %52 %85 = load i32, ptr %20, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %20, align 4 br label %87 87: ; preds = %84 %88 = load i32, ptr %17, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %17, align 4 br label %26, !llvm.loop !6 90: ; preds = %26 br label %91 91: ; preds = %90 %92 = load i32, ptr %18, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %18, align 4 br label %21, !llvm.loop !8 94: ; preds = %21 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgvf1b8e1.c" target datalayout = "e-m:e-p270: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 @shift_cmp(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = 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 i32 %3, ptr %12, align 4 store i32 %4, ptr %13, align 4 store i32 %5, ptr %14, align 4 store i32 %6, ptr %15, align 4 store i32 %7, ptr %16, align 4 store i32 0, ptr %20, align 4 store i32 0, ptr %18, align 4 %21 = load i32, ptr %18, align 4 %22 = load i32, ptr %13, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %.lr.ph2, label %98 .lr.ph2: ; preds = %8 br label %24 24: ; preds = %.lr.ph2, %92 store i32 0, ptr %17, align 4 %25 = load i32, ptr %17, align 4 %26 = load i32, ptr %12, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %.lr.ph, label %91 .lr.ph: ; preds = %24 br label %28 28: ; preds = %.lr.ph, %85 %29 = load i32, ptr %17, align 4 %30 = load i32, ptr %14, align 4 %31 = add nsw i32 %29, %30 %32 = icmp slt i32 %31, 0 br i1 %32, label %50, label %33 33: ; preds = %28 %34 = load i32, ptr %17, align 4 %35 = load i32, ptr %14, align 4 %36 = add nsw i32 %34, %35 %37 = load i32, ptr %12, align 4 %38 = icmp sge i32 %36, %37 br i1 %38, label %50, label %39 39: ; preds = %33 %40 = load i32, ptr %18, align 4 %41 = load i32, ptr %15, align 4 %42 = add nsw i32 %40, %41 %43 = icmp slt i32 %42, 0 br i1 %43, label %50, label %44 44: ; preds = %39 %45 = load i32, ptr %18, align 4 %46 = load i32, ptr %15, align 4 %47 = add nsw i32 %45, %46 %48 = load i32, ptr %12, align 4 %49 = icmp sge i32 %47, %48 br i1 %49, label %50, label %55 50: ; preds = %44, %39, %33, %28 %51 = load ptr, ptr %11, align 8 %52 = load i32, ptr %20, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %51, i64 %53 store i32 16777216, ptr %54, align 4 br label %82 55: ; preds = %44 %56 = load ptr, ptr %9, align 8 %57 = load i32, ptr %20, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i32, ptr %56, i64 %58 %60 = load i32, ptr %59, align 4 %61 = load ptr, ptr %10, align 8 %62 = load i32, ptr %20, align 4 %63 = load i32, ptr %14, align 4 %64 = add nsw i32 %62, %63 %65 = load i32, ptr %15, align 4 %66 = load i32, ptr %12, align 4 %67 = mul nsw i32 %65, %66 %68 = add nsw i32 %64, %67 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i32, ptr %61, i64 %69 %71 = load i32, ptr %70, align 4 %72 = sub nsw i32 %60, %71 store i32 %72, ptr %19, align 4 %73 = load i32, ptr %19, align 4 %74 = load i32, ptr %19, align 4 %75 = mul nsw i32 %73, %74 %76 = load i32, ptr %16, align 4 %77 = ashr i32 %75, %76 %78 = load ptr, ptr %11, align 8 %79 = load i32, ptr %20, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i32, ptr %78, i64 %80 store i32 %77, ptr %81, align 4 br label %82 82: ; preds = %55, %50 %83 = load i32, ptr %20, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %20, align 4 br label %85 85: ; preds = %82 %86 = load i32, ptr %17, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %17, align 4 %88 = load i32, ptr %17, align 4 %89 = load i32, ptr %12, align 4 %90 = icmp slt i32 %88, %89 br i1 %90, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %85 br label %91 91: ; preds = %._crit_edge, %24 br label %92 92: ; preds = %91 %93 = load i32, ptr %18, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %18, align 4 %95 = load i32, ptr %18, align 4 %96 = load i32, ptr %13, align 4 %97 = icmp slt i32 %95, %96 br i1 %97, label %24, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %92 br label %98 98: ; preds = %._crit_edge3, %8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp0yboueoj.c' source_filename = "/tmp/tmp0yboueoj.c" target datalayout = "e-m:e-p270: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/tmp0yboueoj.c" target datalayout = "e-m:e-p270: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/tmpph0p8jcr.c' source_filename = "/tmp/tmpph0p8jcr.c" target datalayout = "e-m:e-p270: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 @draw_ellipse_p(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, i8 noundef signext %5) #0 { %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca i8, align 1 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 store double %0, ptr %7, align 8 store double %1, ptr %8, align 8 store double %2, ptr %9, align 8 store double %3, ptr %10, align 8 store double %4, ptr %11, align 8 store i8 %5, ptr %12, align 1 %19 = load double, ptr %9, align 8 %20 = fcmp ole double %19, 0.000000e+00 br i1 %20, label %27, label %21 21: ; preds = %6 %22 = load double, ptr %10, align 8 %23 = fcmp ole double %22, 0.000000e+00 br i1 %23, label %27, label %24 24: ; preds = %21 %25 = load double, ptr %11, align 8 %26 = fcmp ole double %25, 0.000000e+00 br i1 %26, label %27, label %28 27: ; preds = %24, %21, %6 br label %93 28: ; preds = %24 %29 = load double, ptr %7, align 8 %30 = load double, ptr %9, align 8 %31 = fsub double %29, %30 %32 = call i64 @round(double noundef %31) %33 = trunc i64 %32 to i32 store i32 %33, ptr %13, align 4 %34 = load double, ptr %8, align 8 %35 = load double, ptr %10, align 8 %36 = fsub double %34, %35 %37 = call i64 @round(double noundef %36) %38 = trunc i64 %37 to i32 store i32 %38, ptr %14, align 4 %39 = load double, ptr %7, align 8 %40 = load double, ptr %9, align 8 %41 = fadd double %39, %40 %42 = fadd double %41, 1.000000e+00 %43 = call i64 @round(double noundef %42) %44 = trunc i64 %43 to i32 store i32 %44, ptr %15, align 4 %45 = load double, ptr %8, align 8 %46 = load double, ptr %10, align 8 %47 = fadd double %45, %46 %48 = fadd double %47, 1.000000e+00 %49 = call i64 @round(double noundef %48) %50 = trunc i64 %49 to i32 store i32 %50, ptr %16, align 4 %51 = load i32, ptr %14, align 4 store i32 %51, ptr %17, align 4 br label %52 52: ; preds = %90, %28 %53 = load i32, ptr %17, align 4 %54 = load i32, ptr %16, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %56, label %93 56: ; preds = %52 %57 = load i32, ptr %13, align 4 store i32 %57, ptr %18, align 4 br label %58 58: ; preds = %86, %56 %59 = load i32, ptr %18, align 4 %60 = load i32, ptr %15, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %62, label %89 62: ; preds = %58 %63 = load i32, ptr %18, align 4 %64 = sitofp i32 %63 to double %65 = load double, ptr %7, align 8 %66 = fsub double %64, %65 %67 = load double, ptr %9, align 8 %68 = fdiv double %66, %67 %69 = fptosi double %68 to i32 %70 = load i32, ptr %17, align 4 %71 = sitofp i32 %70 to double %72 = load double, ptr %8, align 8 %73 = fsub double %71, %72 %74 = load double, ptr %10, align 8 %75 = fdiv double %73, %74 %76 = fptosi double %75 to i32 %77 = load double, ptr %11, align 8 %78 = call i32 @p_norm(i32 noundef %69, i32 noundef %76, double noundef %77) %79 = icmp sle i32 %78, 1 br i1 %79, label %80, label %85 80: ; preds = %62 %81 = load i32, ptr %18, align 4 %82 = load i32, ptr %17, align 4 %83 = load i8, ptr %12, align 1 %84 = call i32 @draw_char(i32 noundef %81, i32 noundef %82, i8 noundef signext %83) br label %85 85: ; preds = %80, %62 br label %86 86: ; preds = %85 %87 = load i32, ptr %18, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %18, align 4 br label %58, !llvm.loop !6 89: ; preds = %58 br label %90 90: ; preds = %89 %91 = load i32, ptr %17, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %17, align 4 br label %52, !llvm.loop !8 93: ; preds = %27, %52 ret void } declare i64 @round(double noundef) #1 declare i32 @p_norm(i32 noundef, i32 noundef, double noundef) #1 declare i32 @draw_char(i32 noundef, i32 noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpph0p8jcr.c" target datalayout = "e-m:e-p270: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 @draw_ellipse_p(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, i8 noundef signext %5) #0 { %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca i8, align 1 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 store double %0, ptr %7, align 8 store double %1, ptr %8, align 8 store double %2, ptr %9, align 8 store double %3, ptr %10, align 8 store double %4, ptr %11, align 8 store i8 %5, ptr %12, align 1 %19 = load double, ptr %9, align 8 %20 = fcmp ole double %19, 0.000000e+00 br i1 %20, label %27, label %21 21: ; preds = %6 %22 = load double, ptr %10, align 8 %23 = fcmp ole double %22, 0.000000e+00 br i1 %23, label %27, label %24 24: ; preds = %21 %25 = load double, ptr %11, align 8 %26 = fcmp ole double %25, 0.000000e+00 br i1 %26, label %27, label %28 27: ; preds = %24, %21, %6 br label %97 28: ; preds = %24 %29 = load double, ptr %7, align 8 %30 = load double, ptr %9, align 8 %31 = fsub double %29, %30 %32 = call i64 @round(double noundef %31) %33 = trunc i64 %32 to i32 store i32 %33, ptr %13, align 4 %34 = load double, ptr %8, align 8 %35 = load double, ptr %10, align 8 %36 = fsub double %34, %35 %37 = call i64 @round(double noundef %36) %38 = trunc i64 %37 to i32 store i32 %38, ptr %14, align 4 %39 = load double, ptr %7, align 8 %40 = load double, ptr %9, align 8 %41 = fadd double %39, %40 %42 = fadd double %41, 1.000000e+00 %43 = call i64 @round(double noundef %42) %44 = trunc i64 %43 to i32 store i32 %44, ptr %15, align 4 %45 = load double, ptr %8, align 8 %46 = load double, ptr %10, align 8 %47 = fadd double %45, %46 %48 = fadd double %47, 1.000000e+00 %49 = call i64 @round(double noundef %48) %50 = trunc i64 %49 to i32 store i32 %50, ptr %16, align 4 %51 = load i32, ptr %14, align 4 store i32 %51, ptr %17, align 4 %52 = load i32, ptr %17, align 4 %53 = load i32, ptr %16, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %28 br label %55 55: ; preds = %.lr.ph2, %91 %56 = load i32, ptr %13, align 4 store i32 %56, ptr %18, align 4 %57 = load i32, ptr %18, align 4 %58 = load i32, ptr %15, align 4 %59 = icmp slt i32 %57, %58 br i1 %59, label %.lr.ph, label %90 .lr.ph: ; preds = %55 br label %60 60: ; preds = %.lr.ph, %84 %61 = load i32, ptr %18, align 4 %62 = sitofp i32 %61 to double %63 = load double, ptr %7, align 8 %64 = fsub double %62, %63 %65 = load double, ptr %9, align 8 %66 = fdiv double %64, %65 %67 = fptosi double %66 to i32 %68 = load i32, ptr %17, align 4 %69 = sitofp i32 %68 to double %70 = load double, ptr %8, align 8 %71 = fsub double %69, %70 %72 = load double, ptr %10, align 8 %73 = fdiv double %71, %72 %74 = fptosi double %73 to i32 %75 = load double, ptr %11, align 8 %76 = call i32 @p_norm(i32 noundef %67, i32 noundef %74, double noundef %75) %77 = icmp sle i32 %76, 1 br i1 %77, label %78, label %83 78: ; preds = %60 %79 = load i32, ptr %18, align 4 %80 = load i32, ptr %17, align 4 %81 = load i8, ptr %12, align 1 %82 = call i32 @draw_char(i32 noundef %79, i32 noundef %80, i8 noundef signext %81) br label %83 83: ; preds = %78, %60 br label %84 84: ; preds = %83 %85 = load i32, ptr %18, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %18, align 4 %87 = load i32, ptr %18, align 4 %88 = load i32, ptr %15, align 4 %89 = icmp slt i32 %87, %88 br i1 %89, label %60, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %84 br label %90 90: ; preds = %._crit_edge, %55 br label %91 91: ; preds = %90 %92 = load i32, ptr %17, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %17, align 4 %94 = load i32, ptr %17, align 4 %95 = load i32, ptr %16, align 4 %96 = icmp slt i32 %94, %95 br i1 %96, label %55, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %91 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %28 br label %97 97: ; preds = %.loopexit, %27 ret void } declare i64 @round(double noundef) #1 declare i32 @p_norm(i32 noundef, i32 noundef, double noundef) #1 declare i32 @draw_char(i32 noundef, i32 noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmph4yo859_.c' source_filename = "/tmp/tmph4yo859_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store double 0x400921FB54411744, ptr %2, align 8 store i32 1, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %21, %0 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 3 br i1 %7, label %8, label %24 8: ; preds = %5 %9 = load double, ptr %2, align 8 %10 = load i32, ptr %4, align 4 %11 = sitofp i32 %10 to double %12 = fmul double %9, %11 %13 = fdiv double %12, 2.000000e+00 %14 = call i32 @cos(double noundef %13) store i32 %14, ptr %3, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %8 %17 = call i32 @printf(ptr noundef @.str, i32 noundef 1) br label %20 18: ; preds = %8 %19 = call i32 @printf(ptr noundef @.str, i32 noundef 0) br label %20 20: ; preds = %18, %16 br label %21 21: ; preds = %20 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 br label %5, !llvm.loop !6 24: ; preds = %5 %25 = load i32, ptr %1, align 4 ret i32 %25 } declare i32 @cos(double noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph4yo859_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store double 0x400921FB54411744, ptr %2, align 8 store i32 1, ptr %3, align 4 store i32 0, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp slt i32 %5, 3 br i1 %6, label %.lr.ph, label %25 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %20 %8 = load double, ptr %2, align 8 %9 = load i32, ptr %4, align 4 %10 = sitofp i32 %9 to double %11 = fmul double %8, %10 %12 = fdiv double %11, 2.000000e+00 %13 = call i32 @cos(double noundef %12) store i32 %13, ptr %3, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %7 %16 = call i32 @printf(ptr noundef @.str, i32 noundef 1) br label %19 17: ; preds = %7 %18 = call i32 @printf(ptr noundef @.str, i32 noundef 0) br label %19 19: ; preds = %17, %15 br label %20 20: ; preds = %19 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp slt i32 %23, 3 br i1 %24, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %25 25: ; preds = %._crit_edge, %0 %26 = load i32, ptr %1, align 4 ret i32 %26 } declare i32 @cos(double noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmppwzipnvs.c' source_filename = "/tmp/tmppwzipnvs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @mac_sprint.buf = internal global [18 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [30 x i8] c"%02x:%02x:%02x:%02x:%02x:%02x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @mac_sprint(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds i8, ptr %3, i64 0 %5 = load i8, ptr %4, align 1 %6 = load ptr, ptr %2, align 8 %7 = getelementptr inbounds i8, ptr %6, i64 1 %8 = load i8, ptr %7, align 1 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 2 %11 = load i8, ptr %10, align 1 %12 = load ptr, ptr %2, align 8 %13 = getelementptr inbounds i8, ptr %12, i64 3 %14 = load i8, ptr %13, align 1 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 4 %17 = load i8, ptr %16, align 1 %18 = load ptr, ptr %2, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 5 %20 = load i8, ptr %19, align 1 %21 = call i32 @sprintf(ptr noundef @mac_sprint.buf, ptr noundef @.str, i8 noundef zeroext %5, i8 noundef zeroext %8, i8 noundef zeroext %11, i8 noundef zeroext %14, i8 noundef zeroext %17, i8 noundef zeroext %20) ret ptr @mac_sprint.buf } declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppwzipnvs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @mac_sprint.buf = internal global [18 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [30 x i8] c"%02x:%02x:%02x:%02x:%02x:%02x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @mac_sprint(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds i8, ptr %3, i64 0 %5 = load i8, ptr %4, align 1 %6 = load ptr, ptr %2, align 8 %7 = getelementptr inbounds i8, ptr %6, i64 1 %8 = load i8, ptr %7, align 1 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 2 %11 = load i8, ptr %10, align 1 %12 = load ptr, ptr %2, align 8 %13 = getelementptr inbounds i8, ptr %12, i64 3 %14 = load i8, ptr %13, align 1 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 4 %17 = load i8, ptr %16, align 1 %18 = load ptr, ptr %2, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 5 %20 = load i8, ptr %19, align 1 %21 = call i32 @sprintf(ptr noundef @mac_sprint.buf, ptr noundef @.str, i8 noundef zeroext %5, i8 noundef zeroext %8, i8 noundef zeroext %11, i8 noundef zeroext %14, i8 noundef zeroext %17, i8 noundef zeroext %20) ret ptr @mac_sprint.buf } declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2tz58xzq.c' source_filename = "/tmp/tmp2tz58xzq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1234567890\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"abcdefghij\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"s1 address %p\0As2 address %p\0A\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"s1 value %s\0As2 value %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c" |s1--------s2--------|\0A \00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.6 = private unnamed_addr constant [29 x i8] c" print s1[0-9] s2[0-9]\0A \00", align 1 @.str.7 = private unnamed_addr constant [39 x i8] c" print s1[0-22] ( ( n + \\0 ) * 2) \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i64 @malloc(i32 noundef 10) %6 = inttoptr i64 %5 to ptr store ptr %6, ptr %2, align 8 %7 = call i64 @malloc(i32 noundef 10) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %3, align 8 store ptr @.str, ptr %2, align 8 store ptr @.str.1, ptr %3, align 8 %9 = load ptr, ptr %2, align 8 %10 = load ptr, ptr %3, align 8 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %9, ptr noundef %10) %12 = load ptr, ptr %2, align 8 %13 = load ptr, ptr %3, align 8 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %12, ptr noundef %13) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %4, align 4 br label %16 16: ; preds = %27, %0 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %17, 10 br i1 %18, label %19, label %30 19: ; preds = %16 %20 = load ptr, ptr %2, align 8 %21 = load i32, ptr %4, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %25) br label %27 27: ; preds = %19 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %4, align 4 br label %16, !llvm.loop !6 30: ; preds = %16 store i32 0, ptr %4, align 4 br label %31 31: ; preds = %42, %30 %32 = load i32, ptr %4, align 4 %33 = icmp slt i32 %32, 10 br i1 %33, label %34, label %45 34: ; preds = %31 %35 = load ptr, ptr %3, align 8 %36 = load i32, ptr %4, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %40) br label %42 42: ; preds = %34 %43 = load i32, ptr %4, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %4, align 4 br label %31, !llvm.loop !8 45: ; preds = %31 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 0, ptr %4, align 4 br label %47 47: ; preds = %58, %45 %48 = load i32, ptr %4, align 4 %49 = icmp slt i32 %48, 22 br i1 %49, label %50, label %61 50: ; preds = %47 %51 = load ptr, ptr %2, align 8 %52 = load i32, ptr %4, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %51, i64 %53 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %56) br label %58 58: ; preds = %50 %59 = load i32, ptr %4, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %4, align 4 br label %47, !llvm.loop !9 61: ; preds = %47 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) ret i32 0 } declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2tz58xzq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1234567890\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"abcdefghij\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"s1 address %p\0As2 address %p\0A\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"s1 value %s\0As2 value %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c" |s1--------s2--------|\0A \00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.6 = private unnamed_addr constant [29 x i8] c" print s1[0-9] s2[0-9]\0A \00", align 1 @.str.7 = private unnamed_addr constant [39 x i8] c" print s1[0-22] ( ( n + \\0 ) * 2) \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i64 @malloc(i32 noundef 10) %6 = inttoptr i64 %5 to ptr store ptr %6, ptr %2, align 8 %7 = call i64 @malloc(i32 noundef 10) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %3, align 8 store ptr @.str, ptr %2, align 8 store ptr @.str.1, ptr %3, align 8 %9 = load ptr, ptr %2, align 8 %10 = load ptr, ptr %3, align 8 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %9, ptr noundef %10) %12 = load ptr, ptr %2, align 8 %13 = load ptr, ptr %3, align 8 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %12, ptr noundef %13) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %4, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %16, 10 br i1 %17, label %.lr.ph, label %31 .lr.ph: ; preds = %0 br label %18 18: ; preds = %.lr.ph, %26 %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr %4, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %24) br label %26 26: ; preds = %18 %27 = load i32, ptr %4, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %4, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp slt i32 %29, 10 br i1 %30, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %31 31: ; preds = %._crit_edge, %0 store i32 0, ptr %4, align 4 %32 = load i32, ptr %4, align 4 %33 = icmp slt i32 %32, 10 br i1 %33, label %.lr.ph2, label %47 .lr.ph2: ; preds = %31 br label %34 34: ; preds = %.lr.ph2, %42 %35 = load ptr, ptr %3, align 8 %36 = load i32, ptr %4, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %40) br label %42 42: ; preds = %34 %43 = load i32, ptr %4, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %4, align 4 %45 = load i32, ptr %4, align 4 %46 = icmp slt i32 %45, 10 br i1 %46, label %34, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %42 br label %47 47: ; preds = %._crit_edge3, %31 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 0, ptr %4, align 4 %49 = load i32, ptr %4, align 4 %50 = icmp slt i32 %49, 22 br i1 %50, label %.lr.ph5, label %64 .lr.ph5: ; preds = %47 br label %51 51: ; preds = %.lr.ph5, %59 %52 = load ptr, ptr %2, align 8 %53 = load i32, ptr %4, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %52, i64 %54 %56 = load i8, ptr %55, align 1 %57 = sext i8 %56 to i32 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %57) br label %59 59: ; preds = %51 %60 = load i32, ptr %4, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %4, align 4 %62 = load i32, ptr %4, align 4 %63 = icmp slt i32 %62, 22 br i1 %63, label %51, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %59 br label %64 64: ; preds = %._crit_edge6, %47 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) ret i32 0 } declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmps19jb6lr.c' source_filename = "/tmp/tmps19jb6lr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"accept\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @std_accept(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = call i32 @accept(i32 noundef %8, ptr noundef %9, ptr noundef %10) store i32 %11, ptr %7, align 4 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %16 13: ; preds = %3 %14 = call i32 @perror(ptr noundef @.str) %15 = call i32 @exit(i32 noundef 1) #3 unreachable 16: ; preds = %3 %17 = load i32, ptr %7, align 4 ret i32 %17 } declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps19jb6lr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"accept\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @std_accept(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = call i32 @accept(i32 noundef %8, ptr noundef %9, ptr noundef %10) store i32 %11, ptr %7, align 4 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %16 13: ; preds = %3 %14 = call i32 @perror(ptr noundef @.str) %15 = call i32 @exit(i32 noundef 1) #3 unreachable 16: ; preds = %3 %17 = load i32, ptr %7, align 4 ret i32 %17 } declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqrtk_swt.c' source_filename = "/tmp/tmpqrtk_swt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Move de %i para %i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @hanoi(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %8, align 4 %10 = icmp eq i32 %9, 1 br i1 %10, label %11, label %15 11: ; preds = %4 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %6, align 4 %14 = call i32 @printf(ptr noundef @.str, i32 noundef %12, i32 noundef %13) br label %29 15: ; preds = %4 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %6, align 4 %19 = load i32, ptr %8, align 4 %20 = sub nsw i32 %19, 1 call void @hanoi(i32 noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef %20) %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %7, align 4 call void @hanoi(i32 noundef %21, i32 noundef %22, i32 noundef %23, i32 noundef 1) %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %5, align 4 %27 = load i32, ptr %8, align 4 %28 = sub nsw i32 %27, 1 call void @hanoi(i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %28) br label %29 29: ; preds = %15, %11 ret void } declare i32 @printf(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/tmpqrtk_swt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Move de %i para %i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @hanoi(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %8, align 4 %10 = icmp eq i32 %9, 1 br i1 %10, label %11, label %15 11: ; preds = %4 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %6, align 4 %14 = call i32 @printf(ptr noundef @.str, i32 noundef %12, i32 noundef %13) br label %29 15: ; preds = %4 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %6, align 4 %19 = load i32, ptr %8, align 4 %20 = sub nsw i32 %19, 1 call void @hanoi(i32 noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef %20) %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %7, align 4 call void @hanoi(i32 noundef %21, i32 noundef %22, i32 noundef %23, i32 noundef 1) %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %5, align 4 %27 = load i32, ptr %8, align 4 %28 = sub nsw i32 %27, 1 call void @hanoi(i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %28) br label %29 29: ; preds = %15, %11 ret void } declare i32 @printf(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/tmpe55d_4l6.c' source_filename = "/tmp/tmpe55d_4l6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LC_ALL = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [2 x i8] c".\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr @LC_ALL, align 4 %8 = call i32 @setlocale(i32 noundef %7, ptr noundef @.str) store i32 1, ptr %6, align 4 br label %9 9: ; preds = %13, %2 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %22 13: ; preds = %9 %14 = load ptr, ptr %5, align 8 %15 = load i32, ptr %6, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds ptr, ptr %14, i64 %16 %18 = load ptr, ptr %17, align 8 %19 = call i32 @list_directory(ptr noundef %18) %20 = load i32, ptr %6, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %6, align 4 br label %9, !llvm.loop !6 22: ; preds = %9 %23 = load i32, ptr %4, align 4 %24 = icmp eq i32 %23, 1 br i1 %24, label %25, label %27 25: ; preds = %22 %26 = call i32 @list_directory(ptr noundef @.str.1) br label %27 27: ; preds = %25, %22 %28 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %28 } declare i32 @setlocale(i32 noundef, ptr noundef) #1 declare i32 @list_directory(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/tmpe55d_4l6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LC_ALL = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [2 x i8] c".\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr @LC_ALL, align 4 %8 = call i32 @setlocale(i32 noundef %7, ptr noundef @.str) store i32 1, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %12 %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %6, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds ptr, ptr %13, i64 %15 %17 = load ptr, ptr %16, align 8 %18 = call i32 @list_directory(ptr noundef %17) %19 = load i32, ptr %6, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %6, align 4 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %24 24: ; preds = %._crit_edge, %2 %25 = load i32, ptr %4, align 4 %26 = icmp eq i32 %25, 1 br i1 %26, label %27, label %29 27: ; preds = %24 %28 = call i32 @list_directory(ptr noundef @.str.1) br label %29 29: ; preds = %27, %24 %30 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %30 } declare i32 @setlocale(i32 noundef, ptr noundef) #1 declare i32 @list_directory(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/tmpeomi4p2o.c' source_filename = "/tmp/tmpeomi4p2o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Threads working %lu\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"Sum : %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @doSomething() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i32 (...) @pthread_self() %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) store i32 0, ptr %1, align 4 store i32 1000000, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %1, align 4 br label %6 6: ; preds = %15, %0 %7 = load i32, ptr %1, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %18 10: ; preds = %6 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = call i32 @printf(ptr noundef @.str.1, i32 noundef %13) br label %15 15: ; preds = %10 %16 = load i32, ptr %1, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %1, align 4 br label %6, !llvm.loop !6 18: ; preds = %6 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @pthread_self(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpeomi4p2o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Threads working %lu\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"Sum : %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @doSomething() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i32 (...) @pthread_self() %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) store i32 0, ptr %1, align 4 store i32 1000000, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %1, align 4 %6 = load i32, ptr %1, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %20 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %14 %10 = load i32, ptr %3, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = call i32 @printf(ptr noundef @.str.1, i32 noundef %12) br label %14 14: ; preds = %9 %15 = load i32, ptr %1, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %1, align 4 %17 = load i32, ptr %1, align 4 %18 = load i32, ptr %2, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %20 20: ; preds = %._crit_edge, %0 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @pthread_self(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpak3cb04r.c' source_filename = "/tmp/tmpak3cb04r.c" target datalayout = "e-m:e-p270: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 @percentile_value_location(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @code_table_4_0(ptr noundef %5) store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 switch i32 %7, label %13 [ i32 6, label %8 i32 10, label %8 ] 8: ; preds = %1, %1 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 4 %11 = load ptr, ptr %10, align 8 %12 = getelementptr inbounds i8, ptr %11, i64 34 store ptr %12, ptr %4, align 8 br label %14 13: ; preds = %1 store ptr null, ptr %4, align 8 br label %14 14: ; preds = %13, %8 %15 = load ptr, ptr %4, align 8 ret ptr %15 } declare i32 @code_table_4_0(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/tmpak3cb04r.c" target datalayout = "e-m:e-p270: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 @percentile_value_location(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @code_table_4_0(ptr noundef %5) store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 switch i32 %7, label %13 [ i32 6, label %8 i32 10, label %8 ] 8: ; preds = %1, %1 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 4 %11 = load ptr, ptr %10, align 8 %12 = getelementptr inbounds i8, ptr %11, i64 34 store ptr %12, ptr %4, align 8 br label %14 13: ; preds = %1 store ptr null, ptr %4, align 8 br label %14 14: ; preds = %13, %8 %15 = load ptr, ptr %4, align 8 ret ptr %15 } declare i32 @code_table_4_0(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/tmp0nr9e4tf.c' source_filename = "/tmp/tmp0nr9e4tf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [11 x i8] c"Rezultat: \00", align 1 @.str.2 = private unnamed_addr constant [56 x i8] c"Nevaliden vnes, prochitaniot string ima samo %d znaci.\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 %3 = alloca [100 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @gets(ptr noundef %6) %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %4, ptr noundef %5) %9 = load i32, ptr %4, align 4 %10 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %11 = call i32 @strlen(ptr noundef %10) %12 = icmp sle i32 %9, %11 br i1 %12, label %13, label %28 13: ; preds = %0 %14 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %15 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = getelementptr inbounds i8, ptr %18, i64 -1 %20 = load i32, ptr %5, align 4 %21 = call i32 @strncpy(ptr noundef %14, ptr noundef %19, i32 noundef %20) %22 = load i32, ptr %5, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %23 store i8 0, ptr %24, align 1 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %26 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %27 = call i32 @puts(ptr noundef %26) br label %32 28: ; preds = %0 %29 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %30 = call i32 @strlen(ptr noundef %29) %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %30) br label %32 32: ; preds = %28, %13 ret i32 0 } declare i32 @gets(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0nr9e4tf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [11 x i8] c"Rezultat: \00", align 1 @.str.2 = private unnamed_addr constant [56 x i8] c"Nevaliden vnes, prochitaniot string ima samo %d znaci.\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 %3 = alloca [100 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @gets(ptr noundef %6) %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %4, ptr noundef %5) %9 = load i32, ptr %4, align 4 %10 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %11 = call i32 @strlen(ptr noundef %10) %12 = icmp sle i32 %9, %11 br i1 %12, label %13, label %28 13: ; preds = %0 %14 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %15 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = getelementptr inbounds i8, ptr %18, i64 -1 %20 = load i32, ptr %5, align 4 %21 = call i32 @strncpy(ptr noundef %14, ptr noundef %19, i32 noundef %20) %22 = load i32, ptr %5, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %23 store i8 0, ptr %24, align 1 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %26 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %27 = call i32 @puts(ptr noundef %26) br label %32 28: ; preds = %0 %29 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %30 = call i32 @strlen(ptr noundef %29) %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %30) br label %32 32: ; preds = %28, %13 ret i32 0 } declare i32 @gets(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmtgxke3a.c' source_filename = "/tmp/tmpmtgxke3a.c" target datalayout = "e-m:e-p270: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 @subi(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = getelementptr inbounds i32, ptr %6, i64 1 %8 = load ptr, ptr %7, align 8 store ptr %8, ptr %3, align 8 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %9, align 4 store i32 %10, ptr %4, align 4 %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds i32, ptr %11, i64 1 %13 = load i32, ptr %12, align 4 store i32 %13, ptr %5, align 4 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %5, align 4 %16 = sub nsw i32 %14, %15 ret i32 %16 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmtgxke3a.c" target datalayout = "e-m:e-p270: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 @subi(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = getelementptr inbounds i32, ptr %6, i64 1 %8 = load ptr, ptr %7, align 8 store ptr %8, ptr %3, align 8 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %9, align 4 store i32 %10, ptr %4, align 4 %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds i32, ptr %11, i64 1 %13 = load i32, ptr %12, align 4 store i32 %13, ptr %5, align 4 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %5, align 4 %16 = sub nsw i32 %14, %15 ret i32 %16 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp91ggkfop.c' source_filename = "/tmp/tmp91ggkfop.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @main.list = internal global ptr null, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %3 3: ; preds = %13, %0 %4 = call i32 @l0_insert(ptr noundef @main.list) %5 = load i32, ptr %2, align 4 %6 = add nsw i32 %5, 1 store i32 %6, ptr %2, align 4 br label %7 7: ; preds = %3 %8 = call i64 (...) @__VERIFIER_nondet_int() %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %7 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %11, 3 br label %13 13: ; preds = %10, %7 %14 = phi i1 [ false, %7 ], [ %12, %10 ] br i1 %14, label %3, label %15, !llvm.loop !6 15: ; preds = %13 %16 = load ptr, ptr @main.list, align 8 %17 = call i32 @l0_destroy(ptr noundef %16) %18 = load i32, ptr %1, align 4 ret i32 %18 } declare i32 @l0_insert(ptr noundef) #1 declare i64 @__VERIFIER_nondet_int(...) #1 declare i32 @l0_destroy(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/tmp91ggkfop.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @main.list = internal global ptr null, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %3 3: ; preds = %13, %0 %4 = call i32 @l0_insert(ptr noundef @main.list) %5 = load i32, ptr %2, align 4 %6 = add nsw i32 %5, 1 store i32 %6, ptr %2, align 4 br label %7 7: ; preds = %3 %8 = call i64 (...) @__VERIFIER_nondet_int() %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %7 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %11, 3 br label %13 13: ; preds = %10, %7 %14 = phi i1 [ false, %7 ], [ %12, %10 ] br i1 %14, label %3, label %15, !llvm.loop !6 15: ; preds = %13 %16 = load ptr, ptr @main.list, align 8 %17 = call i32 @l0_destroy(ptr noundef %16) %18 = load i32, ptr %1, align 4 ret i32 %18 } declare i32 @l0_insert(ptr noundef) #1 declare i64 @__VERIFIER_nondet_int(...) #1 declare i32 @l0_destroy(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/tmp_4bdljmc.c' source_filename = "/tmp/tmp_4bdljmc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"attach\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"exec\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"/api/v1/namespaces/%s/pods/%s/%s\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"command\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"container\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"stdin\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"true\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"stdout\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"tty\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @guac_kubernetes_endpoint_uri(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca [1024 x i8], align 16 %15 = alloca [1024 x i8], align 16 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 store ptr %0, ptr %8, align 8 store i32 %1, ptr %9, align 4 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 %18 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0 %19 = load ptr, ptr %10, align 8 %20 = call i64 @guac_kubernetes_escape_url_component(ptr noundef %18, i32 noundef 1024, ptr noundef %19) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %6 store i32 1, ptr %7, align 4 br label %87 23: ; preds = %6 %24 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0 %25 = load ptr, ptr %11, align 8 %26 = call i64 @guac_kubernetes_escape_url_component(ptr noundef %24, i32 noundef 1024, ptr noundef %25) %27 = icmp ne i64 %26, 0 br i1 %27, label %28, label %29 28: ; preds = %23 store i32 1, ptr %7, align 4 br label %87 29: ; preds = %23 store ptr @.str, ptr %16, align 8 %30 = load ptr, ptr %13, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %32, label %33 32: ; preds = %29 store ptr @.str.1, ptr %16, align 8 br label %33 33: ; preds = %32, %29 %34 = load ptr, ptr %8, align 8 %35 = load i32, ptr %9, align 4 %36 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0 %37 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0 %38 = load ptr, ptr %16, align 8 %39 = call i32 @snprintf(ptr noundef %34, i32 noundef %35, ptr noundef @.str.2, ptr noundef %36, ptr noundef %37, ptr noundef %38) store i32 %39, ptr %17, align 4 %40 = load i32, ptr %17, align 4 %41 = icmp slt i32 %40, 0 br i1 %41, label %46, label %42 42: ; preds = %33 %43 = load i32, ptr %17, align 4 %44 = load i32, ptr %9, align 4 %45 = icmp sge i32 %43, %44 br i1 %45, label %46, label %47 46: ; preds = %42, %33 store i32 1, ptr %7, align 4 br label %87 47: ; preds = %42 %48 = load ptr, ptr %13, align 8 %49 = icmp ne ptr %48, null br i1 %49, label %50, label %58 50: ; preds = %47 %51 = load ptr, ptr %8, align 8 %52 = load i32, ptr %9, align 4 %53 = load ptr, ptr %13, align 8 %54 = call i64 @guac_kubernetes_append_endpoint_param(ptr noundef %51, i32 noundef %52, ptr noundef @.str.3, ptr noundef %53) %55 = icmp ne i64 %54, 0 br i1 %55, label %56, label %57 56: ; preds = %50 store i32 1, ptr %7, align 4 br label %87 57: ; preds = %50 br label %58 58: ; preds = %57, %47 %59 = load ptr, ptr %12, align 8 %60 = icmp ne ptr %59, null br i1 %60, label %61, label %69 61: ; preds = %58 %62 = load ptr, ptr %8, align 8 %63 = load i32, ptr %9, align 4 %64 = load ptr, ptr %12, align 8 %65 = call i64 @guac_kubernetes_append_endpoint_param(ptr noundef %62, i32 noundef %63, ptr noundef @.str.4, ptr noundef %64) %66 = icmp ne i64 %65, 0 br i1 %66, label %67, label %68 67: ; preds = %61 store i32 1, ptr %7, align 4 br label %87 68: ; preds = %61 br label %69 69: ; preds = %68, %58 %70 = load ptr, ptr %8, align 8 %71 = load i32, ptr %9, align 4 %72 = call i64 @guac_kubernetes_append_endpoint_param(ptr noundef %70, i32 noundef %71, ptr noundef @.str.5, ptr noundef @.str.6) %73 = icmp ne i64 %72, 0 br i1 %73, label %84, label %74 74: ; preds = %69 %75 = load ptr, ptr %8, align 8 %76 = load i32, ptr %9, align 4 %77 = call i64 @guac_kubernetes_append_endpoint_param(ptr noundef %75, i32 noundef %76, ptr noundef @.str.7, ptr noundef @.str.6) %78 = icmp ne i64 %77, 0 br i1 %78, label %84, label %79 79: ; preds = %74 %80 = load ptr, ptr %8, align 8 %81 = load i32, ptr %9, align 4 %82 = call i64 @guac_kubernetes_append_endpoint_param(ptr noundef %80, i32 noundef %81, ptr noundef @.str.8, ptr noundef @.str.6) %83 = icmp ne i64 %82, 0 br label %84 84: ; preds = %79, %74, %69 %85 = phi i1 [ true, %74 ], [ true, %69 ], [ %83, %79 ] %86 = zext i1 %85 to i32 store i32 %86, ptr %7, align 4 br label %87 87: ; preds = %84, %67, %56, %46, %28, %22 %88 = load i32, ptr %7, align 4 ret i32 %88 } declare i64 @guac_kubernetes_escape_url_component(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @guac_kubernetes_append_endpoint_param(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_4bdljmc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"attach\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"exec\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"/api/v1/namespaces/%s/pods/%s/%s\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"command\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"container\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"stdin\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"true\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"stdout\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"tty\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @guac_kubernetes_endpoint_uri(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca [1024 x i8], align 16 %15 = alloca [1024 x i8], align 16 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 store ptr %0, ptr %8, align 8 store i32 %1, ptr %9, align 4 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 %18 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0 %19 = load ptr, ptr %10, align 8 %20 = call i64 @guac_kubernetes_escape_url_component(ptr noundef %18, i32 noundef 1024, ptr noundef %19) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %6 store i32 1, ptr %7, align 4 br label %87 23: ; preds = %6 %24 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0 %25 = load ptr, ptr %11, align 8 %26 = call i64 @guac_kubernetes_escape_url_component(ptr noundef %24, i32 noundef 1024, ptr noundef %25) %27 = icmp ne i64 %26, 0 br i1 %27, label %28, label %29 28: ; preds = %23 store i32 1, ptr %7, align 4 br label %87 29: ; preds = %23 store ptr @.str, ptr %16, align 8 %30 = load ptr, ptr %13, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %32, label %33 32: ; preds = %29 store ptr @.str.1, ptr %16, align 8 br label %33 33: ; preds = %32, %29 %34 = load ptr, ptr %8, align 8 %35 = load i32, ptr %9, align 4 %36 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0 %37 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0 %38 = load ptr, ptr %16, align 8 %39 = call i32 @snprintf(ptr noundef %34, i32 noundef %35, ptr noundef @.str.2, ptr noundef %36, ptr noundef %37, ptr noundef %38) store i32 %39, ptr %17, align 4 %40 = load i32, ptr %17, align 4 %41 = icmp slt i32 %40, 0 br i1 %41, label %46, label %42 42: ; preds = %33 %43 = load i32, ptr %17, align 4 %44 = load i32, ptr %9, align 4 %45 = icmp sge i32 %43, %44 br i1 %45, label %46, label %47 46: ; preds = %42, %33 store i32 1, ptr %7, align 4 br label %87 47: ; preds = %42 %48 = load ptr, ptr %13, align 8 %49 = icmp ne ptr %48, null br i1 %49, label %50, label %58 50: ; preds = %47 %51 = load ptr, ptr %8, align 8 %52 = load i32, ptr %9, align 4 %53 = load ptr, ptr %13, align 8 %54 = call i64 @guac_kubernetes_append_endpoint_param(ptr noundef %51, i32 noundef %52, ptr noundef @.str.3, ptr noundef %53) %55 = icmp ne i64 %54, 0 br i1 %55, label %56, label %57 56: ; preds = %50 store i32 1, ptr %7, align 4 br label %87 57: ; preds = %50 br label %58 58: ; preds = %57, %47 %59 = load ptr, ptr %12, align 8 %60 = icmp ne ptr %59, null br i1 %60, label %61, label %69 61: ; preds = %58 %62 = load ptr, ptr %8, align 8 %63 = load i32, ptr %9, align 4 %64 = load ptr, ptr %12, align 8 %65 = call i64 @guac_kubernetes_append_endpoint_param(ptr noundef %62, i32 noundef %63, ptr noundef @.str.4, ptr noundef %64) %66 = icmp ne i64 %65, 0 br i1 %66, label %67, label %68 67: ; preds = %61 store i32 1, ptr %7, align 4 br label %87 68: ; preds = %61 br label %69 69: ; preds = %68, %58 %70 = load ptr, ptr %8, align 8 %71 = load i32, ptr %9, align 4 %72 = call i64 @guac_kubernetes_append_endpoint_param(ptr noundef %70, i32 noundef %71, ptr noundef @.str.5, ptr noundef @.str.6) %73 = icmp ne i64 %72, 0 br i1 %73, label %84, label %74 74: ; preds = %69 %75 = load ptr, ptr %8, align 8 %76 = load i32, ptr %9, align 4 %77 = call i64 @guac_kubernetes_append_endpoint_param(ptr noundef %75, i32 noundef %76, ptr noundef @.str.7, ptr noundef @.str.6) %78 = icmp ne i64 %77, 0 br i1 %78, label %84, label %79 79: ; preds = %74 %80 = load ptr, ptr %8, align 8 %81 = load i32, ptr %9, align 4 %82 = call i64 @guac_kubernetes_append_endpoint_param(ptr noundef %80, i32 noundef %81, ptr noundef @.str.8, ptr noundef @.str.6) %83 = icmp ne i64 %82, 0 br label %84 84: ; preds = %79, %74, %69 %85 = phi i1 [ true, %74 ], [ true, %69 ], [ %83, %79 ] %86 = zext i1 %85 to i32 store i32 %86, ptr %7, align 4 br label %87 87: ; preds = %84, %67, %56, %46, %28, %22 %88 = load i32, ptr %7, align 4 ret i32 %88 } declare i64 @guac_kubernetes_escape_url_component(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @guac_kubernetes_append_endpoint_param(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_cdbmfhl.c' source_filename = "/tmp/tmp_cdbmfhl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Hello world\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_cdbmfhl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Hello world\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn4a_3uvy.c' source_filename = "/tmp/tmpn4a_3uvy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"lattices.tmp\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"Couldn't find file lattices.tmp!\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"%lf %lf\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"coincidences.tmp\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"%.2f\0A\00", align 1 @.str.7 = private unnamed_addr constant [13 x i8] c"%d %d %d %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @loop(double noundef %0, double noundef %1, double noundef %2, i32 noundef %3, double noundef %4, double noundef %5) #0 { %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca i32, align 4 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, 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 i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca double, align 8 %33 = alloca double, align 8 %34 = alloca double, align 8 %35 = alloca double, align 8 %36 = alloca double, align 8 %37 = alloca double, align 8 store double %0, ptr %7, align 8 store double %1, ptr %8, align 8 store double %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store double %4, ptr %11, align 8 store double %5, ptr %12, align 8 %38 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %38, ptr %14, align 8 %39 = load ptr, ptr %14, align 8 %40 = icmp eq ptr %39, null br i1 %40, label %41, label %43 41: ; preds = %6 %42 = call i32 @printf(ptr noundef @.str.2) br label %250 43: ; preds = %6 %44 = load ptr, ptr %14, align 8 %45 = call i32 @fscanf(ptr noundef %44, ptr noundef @.str.3, ptr noundef %15, ptr noundef %17) %46 = load ptr, ptr %14, align 8 %47 = call i32 @fscanf(ptr noundef %46, ptr noundef @.str.3, ptr noundef %16, ptr noundef %18) %48 = load ptr, ptr %14, align 8 %49 = call i32 @fscanf(ptr noundef %48, ptr noundef @.str.3, ptr noundef %19, ptr noundef %21) %50 = load ptr, ptr %14, align 8 %51 = call i32 @fscanf(ptr noundef %50, ptr noundef @.str.3, ptr noundef %20, ptr noundef %22) %52 = load ptr, ptr %14, align 8 %53 = call i32 @fclose(ptr noundef %52) %54 = call ptr @fopen(ptr noundef @.str.4, ptr noundef @.str.5) store ptr %54, ptr %13, align 8 %55 = load double, ptr %7, align 8 store double %55, ptr %27, align 8 br label %56 56: ; preds = %243, %43 %57 = load double, ptr %27, align 8 %58 = load double, ptr %8, align 8 %59 = load double, ptr %9, align 8 %60 = fadd double %58, %59 %61 = fcmp olt double %57, %60 br i1 %61, label %62, label %247 62: ; preds = %56 %63 = load double, ptr %27, align 8 %64 = fmul double %63, 0x400921FB54442D11 %65 = fdiv double %64, 1.800000e+02 store double %65, ptr %28, align 8 %66 = load ptr, ptr %13, align 8 %67 = load double, ptr %27, align 8 %68 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %66, ptr noundef @.str.6, double noundef %67) %69 = load i32, ptr %10, align 4 %70 = sub nsw i32 0, %69 store i32 %70, ptr %23, align 4 br label %71 71: ; preds = %237, %62 %72 = load i32, ptr %23, align 4 %73 = load i32, ptr %10, align 4 %74 = icmp sle i32 %72, %73 br i1 %74, label %75, label %240 75: ; preds = %71 %76 = load i32, ptr %10, align 4 %77 = sub nsw i32 0, %76 store i32 %77, ptr %24, align 4 br label %78 78: ; preds = %233, %75 %79 = load i32, ptr %24, align 4 %80 = load i32, ptr %10, align 4 %81 = icmp sle i32 %79, %80 br i1 %81, label %82, label %236 82: ; preds = %78 %83 = load i32, ptr %10, align 4 %84 = sub nsw i32 0, %83 store i32 %84, ptr %25, align 4 br label %85 85: ; preds = %229, %82 %86 = load i32, ptr %25, align 4 %87 = load i32, ptr %10, align 4 %88 = icmp sle i32 %86, %87 br i1 %88, label %89, label %232 89: ; preds = %85 %90 = load i32, ptr %10, align 4 %91 = sub nsw i32 0, %90 store i32 %91, ptr %26, align 4 br label %92 92: ; preds = %225, %89 %93 = load i32, ptr %26, align 4 %94 = load i32, ptr %10, align 4 %95 = icmp slt i32 %93, %94 br i1 %95, label %96, label %228 96: ; preds = %92 %97 = load i32, ptr %23, align 4 %98 = sitofp i32 %97 to double %99 = load double, ptr %15, align 8 %100 = load i32, ptr %24, align 4 %101 = sitofp i32 %100 to double %102 = load double, ptr %17, align 8 %103 = fmul double %101, %102 %104 = call double @llvm.fmuladd.f64(double %98, double %99, double %103) store double %104, ptr %31, align 8 %105 = load i32, ptr %25, align 4 %106 = sitofp i32 %105 to double %107 = load double, ptr %19, align 8 %108 = load double, ptr %28, align 8 %109 = call double @cos(double noundef %108) #4 %110 = load double, ptr %20, align 8 %111 = load double, ptr %28, align 8 %112 = call double @sin(double noundef %111) #4 %113 = fmul double %110, %112 %114 = call double @llvm.fmuladd.f64(double %107, double %109, double %113) %115 = load i32, ptr %26, align 4 %116 = sitofp i32 %115 to double %117 = load double, ptr %21, align 8 %118 = load double, ptr %28, align 8 %119 = call double @cos(double noundef %118) #4 %120 = load double, ptr %22, align 8 %121 = load double, ptr %28, align 8 %122 = call double @sin(double noundef %121) #4 %123 = fmul double %120, %122 %124 = call double @llvm.fmuladd.f64(double %117, double %119, double %123) %125 = fmul double %116, %124 %126 = call double @llvm.fmuladd.f64(double %106, double %114, double %125) store double %126, ptr %33, align 8 %127 = load i32, ptr %23, align 4 %128 = sitofp i32 %127 to double %129 = load double, ptr %16, align 8 %130 = load i32, ptr %24, align 4 %131 = sitofp i32 %130 to double %132 = load double, ptr %18, align 8 %133 = fmul double %131, %132 %134 = call double @llvm.fmuladd.f64(double %128, double %129, double %133) store double %134, ptr %32, align 8 %135 = load i32, ptr %25, align 4 %136 = sitofp i32 %135 to double %137 = load double, ptr %19, align 8 %138 = fneg double %137 %139 = load double, ptr %28, align 8 %140 = call double @sin(double noundef %139) #4 %141 = load double, ptr %20, align 8 %142 = load double, ptr %28, align 8 %143 = call double @cos(double noundef %142) #4 %144 = fmul double %141, %143 %145 = call double @llvm.fmuladd.f64(double %138, double %140, double %144) %146 = load i32, ptr %26, align 4 %147 = sitofp i32 %146 to double %148 = load double, ptr %21, align 8 %149 = fneg double %148 %150 = load double, ptr %28, align 8 %151 = call double @sin(double noundef %150) #4 %152 = load double, ptr %22, align 8 %153 = load double, ptr %28, align 8 %154 = call double @cos(double noundef %153) #4 %155 = fmul double %152, %154 %156 = call double @llvm.fmuladd.f64(double %149, double %151, double %155) %157 = fmul double %147, %156 %158 = call double @llvm.fmuladd.f64(double %136, double %145, double %157) store double %158, ptr %34, align 8 %159 = load double, ptr %31, align 8 %160 = call i64 @pow(double noundef %159, i32 noundef 2) %161 = load double, ptr %32, align 8 %162 = call i64 @pow(double noundef %161, i32 noundef 2) %163 = add nsw i64 %160, %162 %164 = call double @sqrtf(i64 noundef %163) store double %164, ptr %36, align 8 %165 = load double, ptr %33, align 8 %166 = call i64 @pow(double noundef %165, i32 noundef 2) %167 = load double, ptr %34, align 8 %168 = call i64 @pow(double noundef %167, i32 noundef 2) %169 = add nsw i64 %166, %168 %170 = call double @sqrtf(i64 noundef %169) store double %170, ptr %37, align 8 %171 = load double, ptr %36, align 8 %172 = load double, ptr %37, align 8 %173 = fcmp oge double %171, %172 br i1 %173, label %174, label %176 174: ; preds = %96 %175 = load double, ptr %37, align 8 store double %175, ptr %35, align 8 br label %178 176: ; preds = %96 %177 = load double, ptr %36, align 8 store double %177, ptr %35, align 8 br label %178 178: ; preds = %176, %174 %179 = load double, ptr %31, align 8 %180 = load double, ptr %33, align 8 %181 = load double, ptr %32, align 8 %182 = load double, ptr %34, align 8 %183 = fmul double %181, %182 %184 = call double @llvm.fmuladd.f64(double %179, double %180, double %183) %185 = load double, ptr %36, align 8 %186 = load double, ptr %37, align 8 %187 = fmul double %185, %186 %188 = fdiv double %184, %187 store double %188, ptr %30, align 8 %189 = load double, ptr %30, align 8 %190 = fcmp ogt double %189, 1.000000e+00 br i1 %190, label %191, label %192 191: ; preds = %178 store double 1.000000e+00, ptr %30, align 8 br label %192 192: ; preds = %191, %178 %193 = load double, ptr %30, align 8 %194 = call i32 @acos(double noundef %193) %195 = mul nsw i32 180, %194 %196 = sitofp i32 %195 to double %197 = fdiv double %196, 0x400921FB54442D11 store double %197, ptr %29, align 8 %198 = load double, ptr %31, align 8 %199 = load double, ptr %33, align 8 %200 = fsub double %198, %199 %201 = call i64 @pow(double noundef %200, i32 noundef 2) %202 = load double, ptr %32, align 8 %203 = load double, ptr %34, align 8 %204 = fsub double %202, %203 %205 = call i64 @pow(double noundef %204, i32 noundef 2) %206 = add nsw i64 %201, %205 %207 = call double @sqrtf(i64 noundef %206) %208 = load double, ptr %35, align 8 %209 = fdiv double %207, %208 %210 = load double, ptr %11, align 8 %211 = fcmp olt double %209, %210 br i1 %211, label %212, label %224 212: ; preds = %192 %213 = load double, ptr %29, align 8 %214 = call double @llvm.fabs.f64(double %213) %215 = load double, ptr %12, align 8 %216 = fcmp olt double %214, %215 br i1 %216, label %217, label %224 217: ; preds = %212 %218 = load ptr, ptr %13, align 8 %219 = load i32, ptr %23, align 4 %220 = load i32, ptr %24, align 4 %221 = load i32, ptr %25, align 4 %222 = load i32, ptr %26, align 4 %223 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %218, ptr noundef @.str.7, i32 noundef %219, i32 noundef %220, i32 noundef %221, i32 noundef %222) br label %224 224: ; preds = %217, %212, %192 br label %225 225: ; preds = %224 %226 = load i32, ptr %26, align 4 %227 = add nsw i32 %226, 1 store i32 %227, ptr %26, align 4 br label %92, !llvm.loop !6 228: ; preds = %92 br label %229 229: ; preds = %228 %230 = load i32, ptr %25, align 4 %231 = add nsw i32 %230, 1 store i32 %231, ptr %25, align 4 br label %85, !llvm.loop !8 232: ; preds = %85 br label %233 233: ; preds = %232 %234 = load i32, ptr %24, align 4 %235 = add nsw i32 %234, 1 store i32 %235, ptr %24, align 4 br label %78, !llvm.loop !9 236: ; preds = %78 br label %237 237: ; preds = %236 %238 = load i32, ptr %23, align 4 %239 = add nsw i32 %238, 1 store i32 %239, ptr %23, align 4 br label %71, !llvm.loop !10 240: ; preds = %71 %241 = load ptr, ptr %13, align 8 %242 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %241, ptr noundef @.str.8) br label %243 243: ; preds = %240 %244 = load double, ptr %27, align 8 %245 = load double, ptr %9, align 8 %246 = fadd double %244, %245 store double %246, ptr %27, align 8 br label %56, !llvm.loop !11 247: ; preds = %56 %248 = load ptr, ptr %13, align 8 %249 = call i32 @fclose(ptr noundef %248) br label %250 250: ; preds = %247, %41 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @cos(double noundef) #3 ; Function Attrs: nounwind declare double @sin(double noundef) #3 declare double @sqrtf(i64 noundef) #1 declare i64 @pow(double noundef, i32 noundef) #1 declare i32 @acos(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn4a_3uvy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"lattices.tmp\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"Couldn't find file lattices.tmp!\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"%lf %lf\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"coincidences.tmp\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"%.2f\0A\00", align 1 @.str.7 = private unnamed_addr constant [13 x i8] c"%d %d %d %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @loop(double noundef %0, double noundef %1, double noundef %2, i32 noundef %3, double noundef %4, double noundef %5) #0 { %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca i32, align 4 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, 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 i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca double, align 8 %33 = alloca double, align 8 %34 = alloca double, align 8 %35 = alloca double, align 8 %36 = alloca double, align 8 %37 = alloca double, align 8 store double %0, ptr %7, align 8 store double %1, ptr %8, align 8 store double %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store double %4, ptr %11, align 8 store double %5, ptr %12, align 8 %38 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %38, ptr %14, align 8 %39 = load ptr, ptr %14, align 8 %40 = icmp eq ptr %39, null br i1 %40, label %41, label %43 41: ; preds = %6 %42 = call i32 @printf(ptr noundef @.str.2) br label %262 43: ; preds = %6 %44 = load ptr, ptr %14, align 8 %45 = call i32 @fscanf(ptr noundef %44, ptr noundef @.str.3, ptr noundef %15, ptr noundef %17) %46 = load ptr, ptr %14, align 8 %47 = call i32 @fscanf(ptr noundef %46, ptr noundef @.str.3, ptr noundef %16, ptr noundef %18) %48 = load ptr, ptr %14, align 8 %49 = call i32 @fscanf(ptr noundef %48, ptr noundef @.str.3, ptr noundef %19, ptr noundef %21) %50 = load ptr, ptr %14, align 8 %51 = call i32 @fscanf(ptr noundef %50, ptr noundef @.str.3, ptr noundef %20, ptr noundef %22) %52 = load ptr, ptr %14, align 8 %53 = call i32 @fclose(ptr noundef %52) %54 = call ptr @fopen(ptr noundef @.str.4, ptr noundef @.str.5) store ptr %54, ptr %13, align 8 %55 = load double, ptr %7, align 8 store double %55, ptr %27, align 8 %56 = load double, ptr %27, align 8 %57 = load double, ptr %8, align 8 %58 = load double, ptr %9, align 8 %59 = fadd double %57, %58 %60 = fcmp olt double %56, %59 br i1 %60, label %.lr.ph11, label %259 .lr.ph11: ; preds = %43 br label %61 61: ; preds = %.lr.ph11, %250 %62 = load double, ptr %27, align 8 %63 = fmul double %62, 0x400921FB54442D11 %64 = fdiv double %63, 1.800000e+02 store double %64, ptr %28, align 8 %65 = load ptr, ptr %13, align 8 %66 = load double, ptr %27, align 8 %67 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %65, ptr noundef @.str.6, double noundef %66) %68 = load i32, ptr %10, align 4 %69 = sub nsw i32 0, %68 store i32 %69, ptr %23, align 4 %70 = load i32, ptr %23, align 4 %71 = load i32, ptr %10, align 4 %72 = icmp sle i32 %70, %71 br i1 %72, label %.lr.ph8, label %247 .lr.ph8: ; preds = %61 br label %73 73: ; preds = %.lr.ph8, %241 %74 = load i32, ptr %10, align 4 %75 = sub nsw i32 0, %74 store i32 %75, ptr %24, align 4 %76 = load i32, ptr %24, align 4 %77 = load i32, ptr %10, align 4 %78 = icmp sle i32 %76, %77 br i1 %78, label %.lr.ph5, label %240 .lr.ph5: ; preds = %73 br label %79 79: ; preds = %.lr.ph5, %234 %80 = load i32, ptr %10, align 4 %81 = sub nsw i32 0, %80 store i32 %81, ptr %25, align 4 %82 = load i32, ptr %25, align 4 %83 = load i32, ptr %10, align 4 %84 = icmp sle i32 %82, %83 br i1 %84, label %.lr.ph2, label %233 .lr.ph2: ; preds = %79 br label %85 85: ; preds = %.lr.ph2, %227 %86 = load i32, ptr %10, align 4 %87 = sub nsw i32 0, %86 store i32 %87, ptr %26, align 4 %88 = load i32, ptr %26, align 4 %89 = load i32, ptr %10, align 4 %90 = icmp slt i32 %88, %89 br i1 %90, label %.lr.ph, label %226 .lr.ph: ; preds = %85 br label %91 91: ; preds = %.lr.ph, %220 %92 = load i32, ptr %23, align 4 %93 = sitofp i32 %92 to double %94 = load double, ptr %15, align 8 %95 = load i32, ptr %24, align 4 %96 = sitofp i32 %95 to double %97 = load double, ptr %17, align 8 %98 = fmul double %96, %97 %99 = call double @llvm.fmuladd.f64(double %93, double %94, double %98) store double %99, ptr %31, align 8 %100 = load i32, ptr %25, align 4 %101 = sitofp i32 %100 to double %102 = load double, ptr %19, align 8 %103 = load double, ptr %28, align 8 %104 = call double @cos(double noundef %103) #4 %105 = load double, ptr %20, align 8 %106 = load double, ptr %28, align 8 %107 = call double @sin(double noundef %106) #4 %108 = fmul double %105, %107 %109 = call double @llvm.fmuladd.f64(double %102, double %104, double %108) %110 = load i32, ptr %26, align 4 %111 = sitofp i32 %110 to double %112 = load double, ptr %21, align 8 %113 = load double, ptr %28, align 8 %114 = call double @cos(double noundef %113) #4 %115 = load double, ptr %22, align 8 %116 = load double, ptr %28, align 8 %117 = call double @sin(double noundef %116) #4 %118 = fmul double %115, %117 %119 = call double @llvm.fmuladd.f64(double %112, double %114, double %118) %120 = fmul double %111, %119 %121 = call double @llvm.fmuladd.f64(double %101, double %109, double %120) store double %121, ptr %33, align 8 %122 = load i32, ptr %23, align 4 %123 = sitofp i32 %122 to double %124 = load double, ptr %16, align 8 %125 = load i32, ptr %24, align 4 %126 = sitofp i32 %125 to double %127 = load double, ptr %18, align 8 %128 = fmul double %126, %127 %129 = call double @llvm.fmuladd.f64(double %123, double %124, double %128) store double %129, ptr %32, align 8 %130 = load i32, ptr %25, align 4 %131 = sitofp i32 %130 to double %132 = load double, ptr %19, align 8 %133 = fneg double %132 %134 = load double, ptr %28, align 8 %135 = call double @sin(double noundef %134) #4 %136 = load double, ptr %20, align 8 %137 = load double, ptr %28, align 8 %138 = call double @cos(double noundef %137) #4 %139 = fmul double %136, %138 %140 = call double @llvm.fmuladd.f64(double %133, double %135, double %139) %141 = load i32, ptr %26, align 4 %142 = sitofp i32 %141 to double %143 = load double, ptr %21, align 8 %144 = fneg double %143 %145 = load double, ptr %28, align 8 %146 = call double @sin(double noundef %145) #4 %147 = load double, ptr %22, align 8 %148 = load double, ptr %28, align 8 %149 = call double @cos(double noundef %148) #4 %150 = fmul double %147, %149 %151 = call double @llvm.fmuladd.f64(double %144, double %146, double %150) %152 = fmul double %142, %151 %153 = call double @llvm.fmuladd.f64(double %131, double %140, double %152) store double %153, ptr %34, align 8 %154 = load double, ptr %31, align 8 %155 = call i64 @pow(double noundef %154, i32 noundef 2) %156 = load double, ptr %32, align 8 %157 = call i64 @pow(double noundef %156, i32 noundef 2) %158 = add nsw i64 %155, %157 %159 = call double @sqrtf(i64 noundef %158) store double %159, ptr %36, align 8 %160 = load double, ptr %33, align 8 %161 = call i64 @pow(double noundef %160, i32 noundef 2) %162 = load double, ptr %34, align 8 %163 = call i64 @pow(double noundef %162, i32 noundef 2) %164 = add nsw i64 %161, %163 %165 = call double @sqrtf(i64 noundef %164) store double %165, ptr %37, align 8 %166 = load double, ptr %36, align 8 %167 = load double, ptr %37, align 8 %168 = fcmp oge double %166, %167 br i1 %168, label %169, label %171 169: ; preds = %91 %170 = load double, ptr %37, align 8 store double %170, ptr %35, align 8 br label %173 171: ; preds = %91 %172 = load double, ptr %36, align 8 store double %172, ptr %35, align 8 br label %173 173: ; preds = %171, %169 %174 = load double, ptr %31, align 8 %175 = load double, ptr %33, align 8 %176 = load double, ptr %32, align 8 %177 = load double, ptr %34, align 8 %178 = fmul double %176, %177 %179 = call double @llvm.fmuladd.f64(double %174, double %175, double %178) %180 = load double, ptr %36, align 8 %181 = load double, ptr %37, align 8 %182 = fmul double %180, %181 %183 = fdiv double %179, %182 store double %183, ptr %30, align 8 %184 = load double, ptr %30, align 8 %185 = fcmp ogt double %184, 1.000000e+00 br i1 %185, label %186, label %187 186: ; preds = %173 store double 1.000000e+00, ptr %30, align 8 br label %187 187: ; preds = %186, %173 %188 = load double, ptr %30, align 8 %189 = call i32 @acos(double noundef %188) %190 = mul nsw i32 180, %189 %191 = sitofp i32 %190 to double %192 = fdiv double %191, 0x400921FB54442D11 store double %192, ptr %29, align 8 %193 = load double, ptr %31, align 8 %194 = load double, ptr %33, align 8 %195 = fsub double %193, %194 %196 = call i64 @pow(double noundef %195, i32 noundef 2) %197 = load double, ptr %32, align 8 %198 = load double, ptr %34, align 8 %199 = fsub double %197, %198 %200 = call i64 @pow(double noundef %199, i32 noundef 2) %201 = add nsw i64 %196, %200 %202 = call double @sqrtf(i64 noundef %201) %203 = load double, ptr %35, align 8 %204 = fdiv double %202, %203 %205 = load double, ptr %11, align 8 %206 = fcmp olt double %204, %205 br i1 %206, label %207, label %219 207: ; preds = %187 %208 = load double, ptr %29, align 8 %209 = call double @llvm.fabs.f64(double %208) %210 = load double, ptr %12, align 8 %211 = fcmp olt double %209, %210 br i1 %211, label %212, label %219 212: ; preds = %207 %213 = load ptr, ptr %13, align 8 %214 = load i32, ptr %23, align 4 %215 = load i32, ptr %24, align 4 %216 = load i32, ptr %25, align 4 %217 = load i32, ptr %26, align 4 %218 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %213, ptr noundef @.str.7, i32 noundef %214, i32 noundef %215, i32 noundef %216, i32 noundef %217) br label %219 219: ; preds = %212, %207, %187 br label %220 220: ; preds = %219 %221 = load i32, ptr %26, align 4 %222 = add nsw i32 %221, 1 store i32 %222, ptr %26, align 4 %223 = load i32, ptr %26, align 4 %224 = load i32, ptr %10, align 4 %225 = icmp slt i32 %223, %224 br i1 %225, label %91, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %220 br label %226 226: ; preds = %._crit_edge, %85 br label %227 227: ; preds = %226 %228 = load i32, ptr %25, align 4 %229 = add nsw i32 %228, 1 store i32 %229, ptr %25, align 4 %230 = load i32, ptr %25, align 4 %231 = load i32, ptr %10, align 4 %232 = icmp sle i32 %230, %231 br i1 %232, label %85, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %227 br label %233 233: ; preds = %._crit_edge3, %79 br label %234 234: ; preds = %233 %235 = load i32, ptr %24, align 4 %236 = add nsw i32 %235, 1 store i32 %236, ptr %24, align 4 %237 = load i32, ptr %24, align 4 %238 = load i32, ptr %10, align 4 %239 = icmp sle i32 %237, %238 br i1 %239, label %79, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %234 br label %240 240: ; preds = %._crit_edge6, %73 br label %241 241: ; preds = %240 %242 = load i32, ptr %23, align 4 %243 = add nsw i32 %242, 1 store i32 %243, ptr %23, align 4 %244 = load i32, ptr %23, align 4 %245 = load i32, ptr %10, align 4 %246 = icmp sle i32 %244, %245 br i1 %246, label %73, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %241 br label %247 247: ; preds = %._crit_edge9, %61 %248 = load ptr, ptr %13, align 8 %249 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %248, ptr noundef @.str.8) br label %250 250: ; preds = %247 %251 = load double, ptr %27, align 8 %252 = load double, ptr %9, align 8 %253 = fadd double %251, %252 store double %253, ptr %27, align 8 %254 = load double, ptr %27, align 8 %255 = load double, ptr %8, align 8 %256 = load double, ptr %9, align 8 %257 = fadd double %255, %256 %258 = fcmp olt double %254, %257 br i1 %258, label %61, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %250 br label %259 259: ; preds = %._crit_edge12, %43 %260 = load ptr, ptr %13, align 8 %261 = call i32 @fclose(ptr noundef %260) br label %262 262: ; preds = %259, %41 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @cos(double noundef) #3 ; Function Attrs: nounwind declare double @sin(double noundef) #3 declare double @sqrtf(i64 noundef) #1 declare i64 @pow(double noundef, i32 noundef) #1 declare i32 @acos(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpefkefyqt.c' source_filename = "/tmp/tmpefkefyqt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"ajprot\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @search_apple(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %8 = load i32, ptr %7, align 4 %9 = icmp sgt i32 %8, 7 br i1 %9, label %10, label %30 10: ; preds = %3 %11 = load i32, ptr %6, align 4 %12 = icmp sgt i32 %11, 7 br i1 %12, label %13, label %30 13: ; preds = %10 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 6 %16 = load i8, ptr %15, align 1 %17 = zext i8 %16 to i32 %18 = icmp eq i32 %17, 13 br i1 %18, label %19, label %30 19: ; preds = %13 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 7 %22 = load i8, ptr %21, align 1 %23 = zext i8 %22 to i32 %24 = icmp eq i32 %23, 10 br i1 %24, label %25, label %30 25: ; preds = %19 %26 = load ptr, ptr %5, align 8 %27 = call i64 @memcmp(ptr noundef %26, ptr noundef @.str, i32 noundef 6) %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %30 29: ; preds = %25 store i32 1000, ptr %4, align 4 br label %31 30: ; preds = %25, %19, %13, %10, %3 store i32 0, ptr %4, align 4 br label %31 31: ; preds = %30, %29 %32 = load i32, ptr %4, align 4 ret i32 %32 } declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpefkefyqt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"ajprot\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @search_apple(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %8 = load i32, ptr %7, align 4 %9 = icmp sgt i32 %8, 7 br i1 %9, label %10, label %30 10: ; preds = %3 %11 = load i32, ptr %6, align 4 %12 = icmp sgt i32 %11, 7 br i1 %12, label %13, label %30 13: ; preds = %10 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 6 %16 = load i8, ptr %15, align 1 %17 = zext i8 %16 to i32 %18 = icmp eq i32 %17, 13 br i1 %18, label %19, label %30 19: ; preds = %13 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 7 %22 = load i8, ptr %21, align 1 %23 = zext i8 %22 to i32 %24 = icmp eq i32 %23, 10 br i1 %24, label %25, label %30 25: ; preds = %19 %26 = load ptr, ptr %5, align 8 %27 = call i64 @memcmp(ptr noundef %26, ptr noundef @.str, i32 noundef 6) %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %30 29: ; preds = %25 store i32 1000, ptr %4, align 4 br label %31 30: ; preds = %25, %19, %13, %10, %3 store i32 0, ptr %4, align 4 br label %31 31: ; preds = %30, %29 %32 = load i32, ptr %4, align 4 ret i32 %32 } declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5ag5m6ma.c' source_filename = "/tmp/tmp5ag5m6ma.c" target datalayout = "e-m:e-p270: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 @module_libc_atoi(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 @atoi(ptr noundef %3) ret i32 %4 } declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5ag5m6ma.c" target datalayout = "e-m:e-p270: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 @module_libc_atoi(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 @atoi(ptr noundef %3) ret i32 %4 } declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk6wqkbto.c' source_filename = "/tmp/tmpk6wqkbto.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"toc_chat_whisper %d %s \22%s\22\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @serv_chat_whisper(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [2048 x i8], align 16 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = getelementptr inbounds [2048 x i8], ptr %7, i64 0, i64 0 %9 = load i32, ptr %4, align 4 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %6, align 8 %12 = call i32 @snprintf(ptr noundef %8, i32 noundef 2048, ptr noundef @.str, i32 noundef %9, ptr noundef %10, ptr noundef %11) %13 = getelementptr inbounds [2048 x i8], ptr %7, i64 0, i64 0 %14 = call i32 @sflap_send(ptr noundef %13, i32 noundef -1, i32 noundef 2) ret void } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @sflap_send(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/tmpk6wqkbto.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"toc_chat_whisper %d %s \22%s\22\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @serv_chat_whisper(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [2048 x i8], align 16 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = getelementptr inbounds [2048 x i8], ptr %7, i64 0, i64 0 %9 = load i32, ptr %4, align 4 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %6, align 8 %12 = call i32 @snprintf(ptr noundef %8, i32 noundef 2048, ptr noundef @.str, i32 noundef %9, ptr noundef %10, ptr noundef %11) %13 = getelementptr inbounds [2048 x i8], ptr %7, i64 0, i64 0 %14 = call i32 @sflap_send(ptr noundef %13, i32 noundef -1, i32 noundef 2) ret void } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @sflap_send(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/tmpi9h0bwl7.c' source_filename = "/tmp/tmpi9h0bwl7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"isupper_macro(%c): %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"isupper_function(%c): %d\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 i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i8 66, ptr %6, align 1 %7 = load i8, ptr %6, align 1 %8 = load i8, ptr %6, align 1 %9 = sext i8 %8 to i32 %10 = icmp sge i32 %9, 65 br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load i8, ptr %6, align 1 %13 = sext i8 %12 to i32 %14 = icmp sle i32 %13, 90 br label %15 15: ; preds = %11, %2 %16 = phi i1 [ false, %2 ], [ %14, %11 ] %17 = zext i1 %16 to i64 %18 = select i1 %16, i32 1, i32 0 %19 = call i32 @printf(ptr noundef @.str, i8 noundef signext %7, i32 noundef %18) %20 = load i8, ptr %6, align 1 %21 = load i8, ptr %6, align 1 %22 = call i32 @isupper_function(i8 noundef signext %21) %23 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %20, i32 noundef %22) store i8 98, ptr %6, align 1 %24 = load i8, ptr %6, align 1 %25 = load i8, ptr %6, align 1 %26 = sext i8 %25 to i32 %27 = icmp sge i32 %26, 65 br i1 %27, label %28, label %32 28: ; preds = %15 %29 = load i8, ptr %6, align 1 %30 = sext i8 %29 to i32 %31 = icmp sle i32 %30, 90 br label %32 32: ; preds = %28, %15 %33 = phi i1 [ false, %15 ], [ %31, %28 ] %34 = zext i1 %33 to i64 %35 = select i1 %33, i32 1, i32 0 %36 = call i32 @printf(ptr noundef @.str, i8 noundef signext %24, i32 noundef %35) %37 = load i8, ptr %6, align 1 %38 = load i8, ptr %6, align 1 %39 = call i32 @isupper_function(i8 noundef signext %38) %40 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %37, i32 noundef %39) ret i32 0 } declare i32 @printf(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i32 @isupper_function(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi9h0bwl7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"isupper_macro(%c): %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"isupper_function(%c): %d\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 i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i8 66, ptr %6, align 1 %7 = load i8, ptr %6, align 1 %8 = load i8, ptr %6, align 1 %9 = sext i8 %8 to i32 %10 = icmp sge i32 %9, 65 br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load i8, ptr %6, align 1 %13 = sext i8 %12 to i32 %14 = icmp sle i32 %13, 90 br label %15 15: ; preds = %11, %2 %16 = phi i1 [ false, %2 ], [ %14, %11 ] %17 = zext i1 %16 to i64 %18 = select i1 %16, i32 1, i32 0 %19 = call i32 @printf(ptr noundef @.str, i8 noundef signext %7, i32 noundef %18) %20 = load i8, ptr %6, align 1 %21 = load i8, ptr %6, align 1 %22 = call i32 @isupper_function(i8 noundef signext %21) %23 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %20, i32 noundef %22) store i8 98, ptr %6, align 1 %24 = load i8, ptr %6, align 1 %25 = load i8, ptr %6, align 1 %26 = sext i8 %25 to i32 %27 = icmp sge i32 %26, 65 br i1 %27, label %28, label %32 28: ; preds = %15 %29 = load i8, ptr %6, align 1 %30 = sext i8 %29 to i32 %31 = icmp sle i32 %30, 90 br label %32 32: ; preds = %28, %15 %33 = phi i1 [ false, %15 ], [ %31, %28 ] %34 = zext i1 %33 to i64 %35 = select i1 %33, i32 1, i32 0 %36 = call i32 @printf(ptr noundef @.str, i8 noundef signext %24, i32 noundef %35) %37 = load i8, ptr %6, align 1 %38 = load i8, ptr %6, align 1 %39 = call i32 @isupper_function(i8 noundef signext %38) %40 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %37, i32 noundef %39) ret i32 0 } declare i32 @printf(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i32 @isupper_function(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpobyzmyip.c' source_filename = "/tmp/tmpobyzmyip.c" target datalayout = "e-m:e-p270: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 @isValid(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call i64 @isCharacter(ptr noundef %5, i64 noundef %6) %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %2 br label %14 10: ; preds = %2 %11 = load ptr, ptr %3, align 8 %12 = load i64, ptr %4, align 8 %13 = call i32 @isBlankNewLineChars(ptr noundef %11, i64 noundef %12) br label %14 14: ; preds = %10, %9 %15 = phi i32 [ 0, %9 ], [ %13, %10 ] ret i32 %15 } declare i64 @isCharacter(ptr noundef, i64 noundef) #1 declare i32 @isBlankNewLineChars(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/tmpobyzmyip.c" target datalayout = "e-m:e-p270: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 @isValid(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call i64 @isCharacter(ptr noundef %5, i64 noundef %6) %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %2 br label %14 10: ; preds = %2 %11 = load ptr, ptr %3, align 8 %12 = load i64, ptr %4, align 8 %13 = call i32 @isBlankNewLineChars(ptr noundef %11, i64 noundef %12) br label %14 14: ; preds = %10, %9 %15 = phi i32 [ 0, %9 ], [ %13, %10 ] ret i32 %15 } declare i64 @isCharacter(ptr noundef, i64 noundef) #1 declare i32 @isBlankNewLineChars(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/tmpq_h9bbbx.c' source_filename = "/tmp/tmpq_h9bbbx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_3__ = type { i64, i32 } @BIO_FLAGS_BASE64_NO_NL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @base64encode(ptr noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 store i64 0, ptr %12, align 8 %13 = call i32 (...) @BIO_f_base64() %14 = call ptr @BIO_new(i32 noundef %13) store ptr %14, ptr %9, align 8 %15 = call i32 (...) @BIO_s_mem() %16 = call ptr @BIO_new(i32 noundef %15) store ptr %16, ptr %10, align 8 %17 = load ptr, ptr %9, align 8 %18 = load ptr, ptr %10, align 8 %19 = call i32 @BIO_push(ptr noundef %17, ptr noundef %18) %20 = load ptr, ptr %9, align 8 %21 = load i32, ptr @BIO_FLAGS_BASE64_NO_NL, align 4 %22 = call i32 @BIO_set_flags(ptr noundef %20, i32 noundef %21) %23 = load ptr, ptr %9, align 8 %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr %6, align 4 %26 = call i32 @BIO_write(ptr noundef %23, ptr noundef %24, i32 noundef %25) %27 = load ptr, ptr %9, align 8 %28 = call i32 @BIO_flush(ptr noundef %27) %29 = load ptr, ptr %10, align 8 %30 = call i32 @BIO_get_mem_ptr(ptr noundef %29, ptr noundef %11) %31 = load i64, ptr %8, align 8 %32 = sub i64 %31, 1 %33 = load ptr, ptr %11, align 8 %34 = getelementptr inbounds %struct.TYPE_3__, ptr %33, i32 0, i32 0 %35 = load i64, ptr %34, align 8 %36 = icmp ult i64 %32, %35 br i1 %36, label %37, label %40 37: ; preds = %4 %38 = load i64, ptr %8, align 8 %39 = sub i64 %38, 1 br label %44 40: ; preds = %4 %41 = load ptr, ptr %11, align 8 %42 = getelementptr inbounds %struct.TYPE_3__, ptr %41, i32 0, i32 0 %43 = load i64, ptr %42, align 8 br label %44 44: ; preds = %40, %37 %45 = phi i64 [ %39, %37 ], [ %43, %40 ] store i64 %45, ptr %12, align 8 %46 = load ptr, ptr %7, align 8 %47 = load ptr, ptr %11, align 8 %48 = getelementptr inbounds %struct.TYPE_3__, ptr %47, i32 0, i32 1 %49 = load i32, ptr %48, align 8 %50 = load i64, ptr %12, align 8 %51 = call i32 @memcpy(ptr noundef %46, i32 noundef %49, i64 noundef %50) %52 = load ptr, ptr %7, align 8 %53 = load i64, ptr %12, align 8 %54 = getelementptr inbounds i8, ptr %52, i64 %53 store i8 0, ptr %54, align 1 %55 = load ptr, ptr %9, align 8 %56 = call i32 @BIO_free_all(ptr noundef %55) %57 = load i64, ptr %12, align 8 ret i64 %57 } declare ptr @BIO_new(i32 noundef) #1 declare i32 @BIO_f_base64(...) #1 declare i32 @BIO_s_mem(...) #1 declare i32 @BIO_push(ptr noundef, ptr noundef) #1 declare i32 @BIO_set_flags(ptr noundef, i32 noundef) #1 declare i32 @BIO_write(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @BIO_flush(ptr noundef) #1 declare i32 @BIO_get_mem_ptr(ptr noundef, ptr noundef) #1 declare i32 @memcpy(ptr noundef, i32 noundef, i64 noundef) #1 declare i32 @BIO_free_all(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/tmpq_h9bbbx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_3__ = type { i64, i32 } @BIO_FLAGS_BASE64_NO_NL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @base64encode(ptr noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 store i64 0, ptr %12, align 8 %13 = call i32 (...) @BIO_f_base64() %14 = call ptr @BIO_new(i32 noundef %13) store ptr %14, ptr %9, align 8 %15 = call i32 (...) @BIO_s_mem() %16 = call ptr @BIO_new(i32 noundef %15) store ptr %16, ptr %10, align 8 %17 = load ptr, ptr %9, align 8 %18 = load ptr, ptr %10, align 8 %19 = call i32 @BIO_push(ptr noundef %17, ptr noundef %18) %20 = load ptr, ptr %9, align 8 %21 = load i32, ptr @BIO_FLAGS_BASE64_NO_NL, align 4 %22 = call i32 @BIO_set_flags(ptr noundef %20, i32 noundef %21) %23 = load ptr, ptr %9, align 8 %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr %6, align 4 %26 = call i32 @BIO_write(ptr noundef %23, ptr noundef %24, i32 noundef %25) %27 = load ptr, ptr %9, align 8 %28 = call i32 @BIO_flush(ptr noundef %27) %29 = load ptr, ptr %10, align 8 %30 = call i32 @BIO_get_mem_ptr(ptr noundef %29, ptr noundef %11) %31 = load i64, ptr %8, align 8 %32 = sub i64 %31, 1 %33 = load ptr, ptr %11, align 8 %34 = getelementptr inbounds %struct.TYPE_3__, ptr %33, i32 0, i32 0 %35 = load i64, ptr %34, align 8 %36 = icmp ult i64 %32, %35 br i1 %36, label %37, label %40 37: ; preds = %4 %38 = load i64, ptr %8, align 8 %39 = sub i64 %38, 1 br label %44 40: ; preds = %4 %41 = load ptr, ptr %11, align 8 %42 = getelementptr inbounds %struct.TYPE_3__, ptr %41, i32 0, i32 0 %43 = load i64, ptr %42, align 8 br label %44 44: ; preds = %40, %37 %45 = phi i64 [ %39, %37 ], [ %43, %40 ] store i64 %45, ptr %12, align 8 %46 = load ptr, ptr %7, align 8 %47 = load ptr, ptr %11, align 8 %48 = getelementptr inbounds %struct.TYPE_3__, ptr %47, i32 0, i32 1 %49 = load i32, ptr %48, align 8 %50 = load i64, ptr %12, align 8 %51 = call i32 @memcpy(ptr noundef %46, i32 noundef %49, i64 noundef %50) %52 = load ptr, ptr %7, align 8 %53 = load i64, ptr %12, align 8 %54 = getelementptr inbounds i8, ptr %52, i64 %53 store i8 0, ptr %54, align 1 %55 = load ptr, ptr %9, align 8 %56 = call i32 @BIO_free_all(ptr noundef %55) %57 = load i64, ptr %12, align 8 ret i64 %57 } declare ptr @BIO_new(i32 noundef) #1 declare i32 @BIO_f_base64(...) #1 declare i32 @BIO_s_mem(...) #1 declare i32 @BIO_push(ptr noundef, ptr noundef) #1 declare i32 @BIO_set_flags(ptr noundef, i32 noundef) #1 declare i32 @BIO_write(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @BIO_flush(ptr noundef) #1 declare i32 @BIO_get_mem_ptr(ptr noundef, ptr noundef) #1 declare i32 @memcpy(ptr noundef, i32 noundef, i64 noundef) #1 declare i32 @BIO_free_all(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/tmphif7qkjo.c' source_filename = "/tmp/tmphif7qkjo.c" target datalayout = "e-m:e-p270: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/tmphif7qkjo.c" target datalayout = "e-m:e-p270: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/tmpin5zj_zw.c' source_filename = "/tmp/tmpin5zj_zw.c" target datalayout = "e-m:e-p270: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/tmpin5zj_zw.c" target datalayout = "e-m:e-p270: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/tmpdce9i7xu.c' source_filename = "/tmp/tmpdce9i7xu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 5, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = add nsw i32 %3, 1 store i32 %4, ptr %2, align 4 %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 = call i32 @printf(ptr noundef @.str, i32 noundef %9) %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %2, align 4 %13 = load i32, ptr %2, align 4 %14 = call i32 @printf(ptr noundef @.str, i32 noundef %13) %15 = load i32, ptr %2, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %2, align 4 %17 = load i32, ptr %2, align 4 %18 = call i32 @printf(ptr noundef @.str, i32 noundef %17) %19 = load i32, ptr %2, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %2, align 4 %21 = load i32, ptr %2, align 4 %22 = call i32 @printf(ptr noundef @.str, i32 noundef %21) %23 = load i32, ptr %2, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %2, align 4 %25 = load i32, ptr %2, align 4 %26 = call i32 @printf(ptr noundef @.str, i32 noundef %25) %27 = load i32, ptr %2, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %2, align 4 %29 = load i32, ptr %2, align 4 %30 = call i32 @printf(ptr noundef @.str, i32 noundef %29) %31 = load i32, ptr %2, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %2, align 4 %33 = load i32, ptr %2, align 4 %34 = call i32 @printf(ptr noundef @.str, i32 noundef %33) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdce9i7xu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 5, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = add nsw i32 %3, 1 store i32 %4, ptr %2, align 4 %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 = call i32 @printf(ptr noundef @.str, i32 noundef %9) %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %2, align 4 %13 = load i32, ptr %2, align 4 %14 = call i32 @printf(ptr noundef @.str, i32 noundef %13) %15 = load i32, ptr %2, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %2, align 4 %17 = load i32, ptr %2, align 4 %18 = call i32 @printf(ptr noundef @.str, i32 noundef %17) %19 = load i32, ptr %2, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %2, align 4 %21 = load i32, ptr %2, align 4 %22 = call i32 @printf(ptr noundef @.str, i32 noundef %21) %23 = load i32, ptr %2, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %2, align 4 %25 = load i32, ptr %2, align 4 %26 = call i32 @printf(ptr noundef @.str, i32 noundef %25) %27 = load i32, ptr %2, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %2, align 4 %29 = load i32, ptr %2, align 4 %30 = call i32 @printf(ptr noundef @.str, i32 noundef %29) %31 = load i32, ptr %2, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %2, align 4 %33 = load i32, ptr %2, align 4 %34 = call i32 @printf(ptr noundef @.str, i32 noundef %33) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8bcuyp25.c' source_filename = "/tmp/tmp8bcuyp25.c" target datalayout = "e-m:e-p270: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/tmp8bcuyp25.c" target datalayout = "e-m:e-p270: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/tmpck62zpz4.c' source_filename = "/tmp/tmpck62zpz4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"Attempt to duplicate a NULL string\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @aug_strdup_loc(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %11 = load ptr, ptr %5, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %17, label %13 13: ; preds = %4 %14 = load ptr, ptr %7, align 8 %15 = load i32, ptr %8, align 4 %16 = call i32 @aug_abort(ptr noundef %14, i32 noundef %15, ptr noundef @.str) br label %17 17: ; preds = %13, %4 %18 = load ptr, ptr %5, align 8 %19 = call i32 @strlen(ptr noundef %18) %20 = add nsw i32 %19, 1 %21 = sext i32 %20 to i64 store i64 %21, ptr %10, align 8 %22 = load i64, ptr %10, align 8 %23 = load ptr, ptr %6, align 8 %24 = load ptr, ptr %7, align 8 %25 = load i32, ptr %8, align 4 %26 = call ptr @mem_alloc(i64 noundef %22, ptr noundef %23, ptr noundef %24, i32 noundef %25) store ptr %26, ptr %9, align 8 %27 = load ptr, ptr %9, align 8 %28 = load ptr, ptr %5, align 8 %29 = call i32 @strcpy(ptr noundef %27, ptr noundef %28) %30 = load ptr, ptr %9, align 8 ret ptr %30 } declare i32 @aug_abort(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @mem_alloc(i64 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpck62zpz4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"Attempt to duplicate a NULL string\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @aug_strdup_loc(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %11 = load ptr, ptr %5, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %17, label %13 13: ; preds = %4 %14 = load ptr, ptr %7, align 8 %15 = load i32, ptr %8, align 4 %16 = call i32 @aug_abort(ptr noundef %14, i32 noundef %15, ptr noundef @.str) br label %17 17: ; preds = %13, %4 %18 = load ptr, ptr %5, align 8 %19 = call i32 @strlen(ptr noundef %18) %20 = add nsw i32 %19, 1 %21 = sext i32 %20 to i64 store i64 %21, ptr %10, align 8 %22 = load i64, ptr %10, align 8 %23 = load ptr, ptr %6, align 8 %24 = load ptr, ptr %7, align 8 %25 = load i32, ptr %8, align 4 %26 = call ptr @mem_alloc(i64 noundef %22, ptr noundef %23, ptr noundef %24, i32 noundef %25) store ptr %26, ptr %9, align 8 %27 = load ptr, ptr %9, align 8 %28 = load ptr, ptr %5, align 8 %29 = call i32 @strcpy(ptr noundef %27, ptr noundef %28) %30 = load ptr, ptr %9, align 8 ret ptr %30 } declare i32 @aug_abort(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @mem_alloc(i64 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu34_iqax.c' source_filename = "/tmp/tmpu34_iqax.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"r+\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"Unable to modify cnt\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = getelementptr inbounds ptr, ptr %7, i64 1 %9 = load ptr, ptr %8, align 8 %10 = call ptr @fopen(ptr noundef %9, ptr noundef @.str) store ptr %10, ptr %6, align 8 %11 = load ptr, ptr %6, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %20 13: ; preds = %2 %14 = load ptr, ptr %6, align 8 %15 = call i32 @rewind(ptr noundef %14) %16 = load ptr, ptr %6, align 8 %17 = call i32 @fputc(i32 noundef 255, ptr noundef %16) %18 = load ptr, ptr %6, align 8 %19 = call i32 @fclose(ptr noundef %18) br label %22 20: ; preds = %2 %21 = call i32 @perror(ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %23 22: ; preds = %13 store i32 0, ptr %3, align 4 br label %23 23: ; preds = %22, %20 %24 = load i32, ptr %3, align 4 ret i32 %24 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @rewind(ptr noundef) #1 declare i32 @fputc(i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu34_iqax.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"r+\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"Unable to modify cnt\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = getelementptr inbounds ptr, ptr %7, i64 1 %9 = load ptr, ptr %8, align 8 %10 = call ptr @fopen(ptr noundef %9, ptr noundef @.str) store ptr %10, ptr %6, align 8 %11 = load ptr, ptr %6, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %20 13: ; preds = %2 %14 = load ptr, ptr %6, align 8 %15 = call i32 @rewind(ptr noundef %14) %16 = load ptr, ptr %6, align 8 %17 = call i32 @fputc(i32 noundef 255, ptr noundef %16) %18 = load ptr, ptr %6, align 8 %19 = call i32 @fclose(ptr noundef %18) br label %22 20: ; preds = %2 %21 = call i32 @perror(ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %23 22: ; preds = %13 store i32 0, ptr %3, align 4 br label %23 23: ; preds = %22, %20 %24 = load i32, ptr %3, align 4 ret i32 %24 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @rewind(ptr noundef) #1 declare i32 @fputc(i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkuhduypu.c' source_filename = "/tmp/tmpkuhduypu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"erfinv --Illegal Argument to Inverse \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @erfinv(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 store double %0, ptr %2, align 8 %10 = call ptr @dvector(i32 noundef 0, i32 noundef 3) store ptr %10, ptr %3, align 8 %11 = call ptr @dvector(i32 noundef 0, i32 noundef 3) store ptr %11, ptr %4, align 8 %12 = call ptr @dvector(i32 noundef 0, i32 noundef 3) store ptr %12, ptr %5, align 8 %13 = call ptr @dvector(i32 noundef 0, i32 noundef 1) store ptr %13, ptr %6, align 8 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds double, ptr %14, i64 0 store double 0x3FEC5BF883814BBC, ptr %15, align 8 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds double, ptr %16, i64 1 store double 0xBFFA535A1FCAE55B, ptr %17, align 8 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds double, ptr %18, i64 2 store double 0x3FED449B6C715C28, ptr %19, align 8 %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds double, ptr %20, i64 3 store double 0xBFC1FD52E9286F82, ptr %21, align 8 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds double, ptr %22, i64 0 store double 0xC000F270054B995C, ptr %23, align 8 %24 = load ptr, ptr %4, align 8 %25 = getelementptr inbounds double, ptr %24, i64 1 store double 0x3FF7155790BE315C, ptr %25, align 8 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds double, ptr %26, i64 2 store double 0xBFD50FEF0607ABF1, ptr %27, align 8 %28 = load ptr, ptr %4, align 8 %29 = getelementptr inbounds double, ptr %28, i64 3 store double 0x3F890BF01AA717A9, ptr %29, align 8 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds double, ptr %30, i64 0 store double 0xBFFF888FFFF9054B, ptr %31, align 8 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds double, ptr %32, i64 1 store double 0xBFF9FF9DF367E38B, ptr %33, align 8 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds double, ptr %34, i64 2 store double 0x400B6FC13E8A6585, ptr %35, align 8 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds double, ptr %36, i64 3 store double 0x3FFA42F34D0301D7, ptr %37, align 8 %38 = load ptr, ptr %6, align 8 %39 = getelementptr inbounds double, ptr %38, i64 0 store double 0x400C59E294B52E4B, ptr %39, align 8 %40 = load ptr, ptr %6, align 8 %41 = getelementptr inbounds double, ptr %40, i64 1 store double 0x3FFA316E01655ACE, ptr %41, align 8 %42 = load double, ptr %2, align 8 %43 = call double @llvm.fabs.f64(double %42) %44 = fcmp olt double %43, 0x3FE6666666666666 br i1 %44, label %45, label %90 45: ; preds = %1 %46 = load double, ptr %2, align 8 %47 = load double, ptr %2, align 8 %48 = fmul double %46, %47 store double %48, ptr %7, align 8 %49 = load double, ptr %2, align 8 %50 = load ptr, ptr %3, align 8 %51 = getelementptr inbounds double, ptr %50, i64 3 %52 = load double, ptr %51, align 8 %53 = load double, ptr %7, align 8 %54 = load ptr, ptr %3, align 8 %55 = getelementptr inbounds double, ptr %54, i64 2 %56 = load double, ptr %55, align 8 %57 = call double @llvm.fmuladd.f64(double %52, double %53, double %56) %58 = load double, ptr %7, align 8 %59 = load ptr, ptr %3, align 8 %60 = getelementptr inbounds double, ptr %59, i64 1 %61 = load double, ptr %60, align 8 %62 = call double @llvm.fmuladd.f64(double %57, double %58, double %61) %63 = load double, ptr %7, align 8 %64 = load ptr, ptr %3, align 8 %65 = getelementptr inbounds double, ptr %64, i64 0 %66 = load double, ptr %65, align 8 %67 = call double @llvm.fmuladd.f64(double %62, double %63, double %66) %68 = fmul double %49, %67 %69 = load ptr, ptr %4, align 8 %70 = getelementptr inbounds double, ptr %69, i64 3 %71 = load double, ptr %70, align 8 %72 = load double, ptr %7, align 8 %73 = load ptr, ptr %4, align 8 %74 = getelementptr inbounds double, ptr %73, i64 2 %75 = load double, ptr %74, align 8 %76 = call double @llvm.fmuladd.f64(double %71, double %72, double %75) %77 = load double, ptr %7, align 8 %78 = load ptr, ptr %4, align 8 %79 = getelementptr inbounds double, ptr %78, i64 1 %80 = load double, ptr %79, align 8 %81 = call double @llvm.fmuladd.f64(double %76, double %77, double %80) %82 = load double, ptr %7, align 8 %83 = load ptr, ptr %4, align 8 %84 = getelementptr inbounds double, ptr %83, i64 0 %85 = load double, ptr %84, align 8 %86 = call double @llvm.fmuladd.f64(double %81, double %82, double %85) %87 = load double, ptr %7, align 8 %88 = call double @llvm.fmuladd.f64(double %86, double %87, double 1.000000e+00) %89 = fdiv double %68, %88 store double %89, ptr %8, align 8 br label %179 90: ; preds = %1 %91 = load double, ptr %2, align 8 %92 = fcmp ogt double %91, 0x3FE6666666666666 br i1 %92, label %93, label %132 93: ; preds = %90 %94 = load double, ptr %2, align 8 %95 = fcmp olt double %94, 1.000000e+00 br i1 %95, label %96, label %132 96: ; preds = %93 %97 = load double, ptr %2, align 8 %98 = fsub double 1.000000e+00, %97 %99 = fdiv double %98, 2.000000e+00 %100 = call double @log(double noundef %99) #4 %101 = fneg double %100 %102 = call double @sqrt(double noundef %101) #4 store double %102, ptr %7, align 8 %103 = load ptr, ptr %5, align 8 %104 = getelementptr inbounds double, ptr %103, i64 3 %105 = load double, ptr %104, align 8 %106 = load double, ptr %7, align 8 %107 = load ptr, ptr %5, align 8 %108 = getelementptr inbounds double, ptr %107, i64 2 %109 = load double, ptr %108, align 8 %110 = call double @llvm.fmuladd.f64(double %105, double %106, double %109) %111 = load double, ptr %7, align 8 %112 = load ptr, ptr %5, align 8 %113 = getelementptr inbounds double, ptr %112, i64 1 %114 = load double, ptr %113, align 8 %115 = call double @llvm.fmuladd.f64(double %110, double %111, double %114) %116 = load double, ptr %7, align 8 %117 = load ptr, ptr %5, align 8 %118 = getelementptr inbounds double, ptr %117, i64 0 %119 = load double, ptr %118, align 8 %120 = call double @llvm.fmuladd.f64(double %115, double %116, double %119) %121 = load ptr, ptr %6, align 8 %122 = getelementptr inbounds double, ptr %121, i64 1 %123 = load double, ptr %122, align 8 %124 = load double, ptr %7, align 8 %125 = load ptr, ptr %6, align 8 %126 = getelementptr inbounds double, ptr %125, i64 0 %127 = load double, ptr %126, align 8 %128 = call double @llvm.fmuladd.f64(double %123, double %124, double %127) %129 = load double, ptr %7, align 8 %130 = call double @llvm.fmuladd.f64(double %128, double %129, double 1.000000e+00) %131 = fdiv double %120, %130 store double %131, ptr %8, align 8 br label %178 132: ; preds = %93, %90 %133 = load double, ptr %2, align 8 %134 = fcmp olt double %133, 0xBFE6666666666666 br i1 %134, label %135, label %175 135: ; preds = %132 %136 = load double, ptr %2, align 8 %137 = fcmp ogt double %136, -1.000000e+00 br i1 %137, label %138, label %175 138: ; preds = %135 %139 = load double, ptr %2, align 8 %140 = fadd double 1.000000e+00, %139 %141 = fdiv double %140, 2.000000e+00 %142 = call double @log(double noundef %141) #4 %143 = fneg double %142 %144 = call double @sqrt(double noundef %143) #4 store double %144, ptr %7, align 8 %145 = load ptr, ptr %5, align 8 %146 = getelementptr inbounds double, ptr %145, i64 3 %147 = load double, ptr %146, align 8 %148 = load double, ptr %7, align 8 %149 = load ptr, ptr %5, align 8 %150 = getelementptr inbounds double, ptr %149, i64 2 %151 = load double, ptr %150, align 8 %152 = call double @llvm.fmuladd.f64(double %147, double %148, double %151) %153 = load double, ptr %7, align 8 %154 = load ptr, ptr %5, align 8 %155 = getelementptr inbounds double, ptr %154, i64 1 %156 = load double, ptr %155, align 8 %157 = call double @llvm.fmuladd.f64(double %152, double %153, double %156) %158 = load double, ptr %7, align 8 %159 = load ptr, ptr %5, align 8 %160 = getelementptr inbounds double, ptr %159, i64 0 %161 = load double, ptr %160, align 8 %162 = call double @llvm.fmuladd.f64(double %157, double %158, double %161) %163 = fneg double %162 %164 = load ptr, ptr %6, align 8 %165 = getelementptr inbounds double, ptr %164, i64 1 %166 = load double, ptr %165, align 8 %167 = load double, ptr %7, align 8 %168 = load ptr, ptr %6, align 8 %169 = getelementptr inbounds double, ptr %168, i64 0 %170 = load double, ptr %169, align 8 %171 = call double @llvm.fmuladd.f64(double %166, double %167, double %170) %172 = load double, ptr %7, align 8 %173 = call double @llvm.fmuladd.f64(double %171, double %172, double 1.000000e+00) %174 = fdiv double %163, %173 store double %174, ptr %8, align 8 br label %177 175: ; preds = %135, %132 %176 = call i32 @mexErrMsgTxt(ptr noundef @.str) br label %177 177: ; preds = %175, %138 br label %178 178: ; preds = %177, %96 br label %179 179: ; preds = %178, %45 %180 = load ptr, ptr %3, align 8 %181 = call i32 @free_dvector(ptr noundef %180, i32 noundef 0) %182 = load ptr, ptr %4, align 8 %183 = call i32 @free_dvector(ptr noundef %182, i32 noundef 0) %184 = load ptr, ptr %5, align 8 %185 = call i32 @free_dvector(ptr noundef %184, i32 noundef 0) %186 = load ptr, ptr %6, align 8 %187 = call i32 @free_dvector(ptr noundef %186, i32 noundef 0) %188 = load double, ptr %8, align 8 %189 = load double, ptr %8, align 8 %190 = fmul double %188, %189 store double %190, ptr %9, align 8 %191 = load double, ptr %8, align 8 %192 = call double @erf1(ptr noundef %8) %193 = load double, ptr %2, align 8 %194 = fsub double %192, %193 %195 = call double @sqrt(double noundef 0x400921FB54442D11) #4 %196 = fdiv double 2.000000e+00, %195 %197 = load double, ptr %9, align 8 %198 = fneg double %197 %199 = call double @exp(double noundef %198) #4 %200 = fmul double %196, %199 %201 = fdiv double %194, %200 %202 = fsub double %191, %201 store double %202, ptr %8, align 8 %203 = load double, ptr %8, align 8 %204 = call double @erf1(ptr noundef %8) %205 = load double, ptr %2, align 8 %206 = fsub double %204, %205 %207 = call double @sqrt(double noundef 0x400921FB54442D11) #4 %208 = fdiv double 2.000000e+00, %207 %209 = load double, ptr %9, align 8 %210 = fneg double %209 %211 = call double @exp(double noundef %210) #4 %212 = fmul double %208, %211 %213 = fdiv double %206, %212 %214 = fsub double %203, %213 store double %214, ptr %8, align 8 %215 = load double, ptr %8, align 8 ret double %215 } declare ptr @dvector(i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #3 ; Function Attrs: nounwind declare double @log(double noundef) #3 declare i32 @mexErrMsgTxt(ptr noundef) #1 declare i32 @free_dvector(ptr noundef, i32 noundef) #1 declare double @erf1(ptr noundef) #1 ; Function Attrs: nounwind declare double @exp(double noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkuhduypu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"erfinv --Illegal Argument to Inverse \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @erfinv(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 store double %0, ptr %2, align 8 %10 = call ptr @dvector(i32 noundef 0, i32 noundef 3) store ptr %10, ptr %3, align 8 %11 = call ptr @dvector(i32 noundef 0, i32 noundef 3) store ptr %11, ptr %4, align 8 %12 = call ptr @dvector(i32 noundef 0, i32 noundef 3) store ptr %12, ptr %5, align 8 %13 = call ptr @dvector(i32 noundef 0, i32 noundef 1) store ptr %13, ptr %6, align 8 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds double, ptr %14, i64 0 store double 0x3FEC5BF883814BBC, ptr %15, align 8 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds double, ptr %16, i64 1 store double 0xBFFA535A1FCAE55B, ptr %17, align 8 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds double, ptr %18, i64 2 store double 0x3FED449B6C715C28, ptr %19, align 8 %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds double, ptr %20, i64 3 store double 0xBFC1FD52E9286F82, ptr %21, align 8 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds double, ptr %22, i64 0 store double 0xC000F270054B995C, ptr %23, align 8 %24 = load ptr, ptr %4, align 8 %25 = getelementptr inbounds double, ptr %24, i64 1 store double 0x3FF7155790BE315C, ptr %25, align 8 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds double, ptr %26, i64 2 store double 0xBFD50FEF0607ABF1, ptr %27, align 8 %28 = load ptr, ptr %4, align 8 %29 = getelementptr inbounds double, ptr %28, i64 3 store double 0x3F890BF01AA717A9, ptr %29, align 8 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds double, ptr %30, i64 0 store double 0xBFFF888FFFF9054B, ptr %31, align 8 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds double, ptr %32, i64 1 store double 0xBFF9FF9DF367E38B, ptr %33, align 8 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds double, ptr %34, i64 2 store double 0x400B6FC13E8A6585, ptr %35, align 8 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds double, ptr %36, i64 3 store double 0x3FFA42F34D0301D7, ptr %37, align 8 %38 = load ptr, ptr %6, align 8 %39 = getelementptr inbounds double, ptr %38, i64 0 store double 0x400C59E294B52E4B, ptr %39, align 8 %40 = load ptr, ptr %6, align 8 %41 = getelementptr inbounds double, ptr %40, i64 1 store double 0x3FFA316E01655ACE, ptr %41, align 8 %42 = load double, ptr %2, align 8 %43 = call double @llvm.fabs.f64(double %42) %44 = fcmp olt double %43, 0x3FE6666666666666 br i1 %44, label %45, label %90 45: ; preds = %1 %46 = load double, ptr %2, align 8 %47 = load double, ptr %2, align 8 %48 = fmul double %46, %47 store double %48, ptr %7, align 8 %49 = load double, ptr %2, align 8 %50 = load ptr, ptr %3, align 8 %51 = getelementptr inbounds double, ptr %50, i64 3 %52 = load double, ptr %51, align 8 %53 = load double, ptr %7, align 8 %54 = load ptr, ptr %3, align 8 %55 = getelementptr inbounds double, ptr %54, i64 2 %56 = load double, ptr %55, align 8 %57 = call double @llvm.fmuladd.f64(double %52, double %53, double %56) %58 = load double, ptr %7, align 8 %59 = load ptr, ptr %3, align 8 %60 = getelementptr inbounds double, ptr %59, i64 1 %61 = load double, ptr %60, align 8 %62 = call double @llvm.fmuladd.f64(double %57, double %58, double %61) %63 = load double, ptr %7, align 8 %64 = load ptr, ptr %3, align 8 %65 = getelementptr inbounds double, ptr %64, i64 0 %66 = load double, ptr %65, align 8 %67 = call double @llvm.fmuladd.f64(double %62, double %63, double %66) %68 = fmul double %49, %67 %69 = load ptr, ptr %4, align 8 %70 = getelementptr inbounds double, ptr %69, i64 3 %71 = load double, ptr %70, align 8 %72 = load double, ptr %7, align 8 %73 = load ptr, ptr %4, align 8 %74 = getelementptr inbounds double, ptr %73, i64 2 %75 = load double, ptr %74, align 8 %76 = call double @llvm.fmuladd.f64(double %71, double %72, double %75) %77 = load double, ptr %7, align 8 %78 = load ptr, ptr %4, align 8 %79 = getelementptr inbounds double, ptr %78, i64 1 %80 = load double, ptr %79, align 8 %81 = call double @llvm.fmuladd.f64(double %76, double %77, double %80) %82 = load double, ptr %7, align 8 %83 = load ptr, ptr %4, align 8 %84 = getelementptr inbounds double, ptr %83, i64 0 %85 = load double, ptr %84, align 8 %86 = call double @llvm.fmuladd.f64(double %81, double %82, double %85) %87 = load double, ptr %7, align 8 %88 = call double @llvm.fmuladd.f64(double %86, double %87, double 1.000000e+00) %89 = fdiv double %68, %88 store double %89, ptr %8, align 8 br label %179 90: ; preds = %1 %91 = load double, ptr %2, align 8 %92 = fcmp ogt double %91, 0x3FE6666666666666 br i1 %92, label %93, label %132 93: ; preds = %90 %94 = load double, ptr %2, align 8 %95 = fcmp olt double %94, 1.000000e+00 br i1 %95, label %96, label %132 96: ; preds = %93 %97 = load double, ptr %2, align 8 %98 = fsub double 1.000000e+00, %97 %99 = fdiv double %98, 2.000000e+00 %100 = call double @log(double noundef %99) #4 %101 = fneg double %100 %102 = call double @sqrt(double noundef %101) #4 store double %102, ptr %7, align 8 %103 = load ptr, ptr %5, align 8 %104 = getelementptr inbounds double, ptr %103, i64 3 %105 = load double, ptr %104, align 8 %106 = load double, ptr %7, align 8 %107 = load ptr, ptr %5, align 8 %108 = getelementptr inbounds double, ptr %107, i64 2 %109 = load double, ptr %108, align 8 %110 = call double @llvm.fmuladd.f64(double %105, double %106, double %109) %111 = load double, ptr %7, align 8 %112 = load ptr, ptr %5, align 8 %113 = getelementptr inbounds double, ptr %112, i64 1 %114 = load double, ptr %113, align 8 %115 = call double @llvm.fmuladd.f64(double %110, double %111, double %114) %116 = load double, ptr %7, align 8 %117 = load ptr, ptr %5, align 8 %118 = getelementptr inbounds double, ptr %117, i64 0 %119 = load double, ptr %118, align 8 %120 = call double @llvm.fmuladd.f64(double %115, double %116, double %119) %121 = load ptr, ptr %6, align 8 %122 = getelementptr inbounds double, ptr %121, i64 1 %123 = load double, ptr %122, align 8 %124 = load double, ptr %7, align 8 %125 = load ptr, ptr %6, align 8 %126 = getelementptr inbounds double, ptr %125, i64 0 %127 = load double, ptr %126, align 8 %128 = call double @llvm.fmuladd.f64(double %123, double %124, double %127) %129 = load double, ptr %7, align 8 %130 = call double @llvm.fmuladd.f64(double %128, double %129, double 1.000000e+00) %131 = fdiv double %120, %130 store double %131, ptr %8, align 8 br label %178 132: ; preds = %93, %90 %133 = load double, ptr %2, align 8 %134 = fcmp olt double %133, 0xBFE6666666666666 br i1 %134, label %135, label %175 135: ; preds = %132 %136 = load double, ptr %2, align 8 %137 = fcmp ogt double %136, -1.000000e+00 br i1 %137, label %138, label %175 138: ; preds = %135 %139 = load double, ptr %2, align 8 %140 = fadd double 1.000000e+00, %139 %141 = fdiv double %140, 2.000000e+00 %142 = call double @log(double noundef %141) #4 %143 = fneg double %142 %144 = call double @sqrt(double noundef %143) #4 store double %144, ptr %7, align 8 %145 = load ptr, ptr %5, align 8 %146 = getelementptr inbounds double, ptr %145, i64 3 %147 = load double, ptr %146, align 8 %148 = load double, ptr %7, align 8 %149 = load ptr, ptr %5, align 8 %150 = getelementptr inbounds double, ptr %149, i64 2 %151 = load double, ptr %150, align 8 %152 = call double @llvm.fmuladd.f64(double %147, double %148, double %151) %153 = load double, ptr %7, align 8 %154 = load ptr, ptr %5, align 8 %155 = getelementptr inbounds double, ptr %154, i64 1 %156 = load double, ptr %155, align 8 %157 = call double @llvm.fmuladd.f64(double %152, double %153, double %156) %158 = load double, ptr %7, align 8 %159 = load ptr, ptr %5, align 8 %160 = getelementptr inbounds double, ptr %159, i64 0 %161 = load double, ptr %160, align 8 %162 = call double @llvm.fmuladd.f64(double %157, double %158, double %161) %163 = fneg double %162 %164 = load ptr, ptr %6, align 8 %165 = getelementptr inbounds double, ptr %164, i64 1 %166 = load double, ptr %165, align 8 %167 = load double, ptr %7, align 8 %168 = load ptr, ptr %6, align 8 %169 = getelementptr inbounds double, ptr %168, i64 0 %170 = load double, ptr %169, align 8 %171 = call double @llvm.fmuladd.f64(double %166, double %167, double %170) %172 = load double, ptr %7, align 8 %173 = call double @llvm.fmuladd.f64(double %171, double %172, double 1.000000e+00) %174 = fdiv double %163, %173 store double %174, ptr %8, align 8 br label %177 175: ; preds = %135, %132 %176 = call i32 @mexErrMsgTxt(ptr noundef @.str) br label %177 177: ; preds = %175, %138 br label %178 178: ; preds = %177, %96 br label %179 179: ; preds = %178, %45 %180 = load ptr, ptr %3, align 8 %181 = call i32 @free_dvector(ptr noundef %180, i32 noundef 0) %182 = load ptr, ptr %4, align 8 %183 = call i32 @free_dvector(ptr noundef %182, i32 noundef 0) %184 = load ptr, ptr %5, align 8 %185 = call i32 @free_dvector(ptr noundef %184, i32 noundef 0) %186 = load ptr, ptr %6, align 8 %187 = call i32 @free_dvector(ptr noundef %186, i32 noundef 0) %188 = load double, ptr %8, align 8 %189 = load double, ptr %8, align 8 %190 = fmul double %188, %189 store double %190, ptr %9, align 8 %191 = load double, ptr %8, align 8 %192 = call double @erf1(ptr noundef %8) %193 = load double, ptr %2, align 8 %194 = fsub double %192, %193 %195 = call double @sqrt(double noundef 0x400921FB54442D11) #4 %196 = fdiv double 2.000000e+00, %195 %197 = load double, ptr %9, align 8 %198 = fneg double %197 %199 = call double @exp(double noundef %198) #4 %200 = fmul double %196, %199 %201 = fdiv double %194, %200 %202 = fsub double %191, %201 store double %202, ptr %8, align 8 %203 = load double, ptr %8, align 8 %204 = call double @erf1(ptr noundef %8) %205 = load double, ptr %2, align 8 %206 = fsub double %204, %205 %207 = call double @sqrt(double noundef 0x400921FB54442D11) #4 %208 = fdiv double 2.000000e+00, %207 %209 = load double, ptr %9, align 8 %210 = fneg double %209 %211 = call double @exp(double noundef %210) #4 %212 = fmul double %208, %211 %213 = fdiv double %206, %212 %214 = fsub double %203, %213 store double %214, ptr %8, align 8 %215 = load double, ptr %8, align 8 ret double %215 } declare ptr @dvector(i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #3 ; Function Attrs: nounwind declare double @log(double noundef) #3 declare i32 @mexErrMsgTxt(ptr noundef) #1 declare i32 @free_dvector(ptr noundef, i32 noundef) #1 declare double @erf1(ptr noundef) #1 ; Function Attrs: nounwind declare double @exp(double noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcxmss6uy.c' source_filename = "/tmp/tmpcxmss6uy.c" target datalayout = "e-m:e-p270: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 @abms_init() #0 { %1 = call i32 (...) @ramfs_init() %2 = call i32 (...) @pass_init() %3 = call i32 (...) @sshd_init() %4 = call i32 (...) @sqfs_gen() %5 = call i32 (...) @ramfs_clean() %6 = call i32 (...) @sqfs_init() ret void } declare i32 @ramfs_init(...) #1 declare i32 @pass_init(...) #1 declare i32 @sshd_init(...) #1 declare i32 @sqfs_gen(...) #1 declare i32 @ramfs_clean(...) #1 declare i32 @sqfs_init(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcxmss6uy.c" target datalayout = "e-m:e-p270: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 @abms_init() #0 { %1 = call i32 (...) @ramfs_init() %2 = call i32 (...) @pass_init() %3 = call i32 (...) @sshd_init() %4 = call i32 (...) @sqfs_gen() %5 = call i32 (...) @ramfs_clean() %6 = call i32 (...) @sqfs_init() ret void } declare i32 @ramfs_init(...) #1 declare i32 @pass_init(...) #1 declare i32 @sshd_init(...) #1 declare i32 @sqfs_gen(...) #1 declare i32 @ramfs_clean(...) #1 declare i32 @sqfs_init(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe8kw7svl.c' source_filename = "/tmp/tmpe8kw7svl.c" target datalayout = "e-m:e-p270: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 @SetDimensions(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = shl i32 %6, 16 %8 = or i32 %5, %7 %9 = call i32 @Putl(i32 noundef 64, i32 noundef %8) ret void } declare i32 @Putl(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/tmpe8kw7svl.c" target datalayout = "e-m:e-p270: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 @SetDimensions(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = shl i32 %6, 16 %8 = or i32 %5, %7 %9 = call i32 @Putl(i32 noundef 64, i32 noundef %8) ret void } declare i32 @Putl(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/tmpttcz1jva.c' source_filename = "/tmp/tmpttcz1jva.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%x : %x \09%x\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"\0A%x :\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c" %x\09\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 void @_dbug_dump(i16 noundef zeroext %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i16, align 2 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i16 %0, ptr %5, align 2 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %10 = load i16, ptr %5, align 2 %11 = zext i16 %10 to i32 %12 = load ptr, ptr %6, align 8 %13 = ptrtoint ptr %12 to i32 %14 = lshr i32 %13, 16 %15 = trunc i32 %14 to i16 %16 = zext i16 %15 to i32 %17 = call i32 (i32, ptr, ...) @RAW_FMT(i32 noundef 0, ptr noundef @.str, i32 noundef 0, i32 noundef %11, i32 noundef %16) store i32 2, ptr %9, align 4 br label %18 18: ; preds = %39, %4 %19 = load i32, ptr %9, align 4 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %42 22: ; preds = %18 %23 = load i32, ptr %9, align 4 %24 = srem i32 %23, 8 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %30 26: ; preds = %22 %27 = load i32, ptr %9, align 4 %28 = sdiv i32 %27, 8 %29 = call i32 (i32, ptr, ...) @RAW_FMT(i32 noundef 0, ptr noundef @.str.1, i32 noundef %28) br label %30 30: ; preds = %26, %22 %31 = load ptr, ptr %7, align 8 %32 = load i32, ptr %9, align 4 %33 = sub nsw i32 %32, 2 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i16, ptr %31, i64 %34 %36 = load i16, ptr %35, align 2 %37 = zext i16 %36 to i32 %38 = call i32 (i32, ptr, ...) @RAW_FMT(i32 noundef 0, ptr noundef @.str.2, i32 noundef %37) br label %39 39: ; preds = %30 %40 = load i32, ptr %9, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %9, align 4 br label %18, !llvm.loop !6 42: ; preds = %18 %43 = call i32 (i32, ptr, ...) @RAW_FMT(i32 noundef 0, ptr noundef @.str.3) ret void } declare i32 @RAW_FMT(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpttcz1jva.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%x : %x \09%x\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"\0A%x :\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c" %x\09\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 void @_dbug_dump(i16 noundef zeroext %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i16, align 2 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i16 %0, ptr %5, align 2 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %10 = load i16, ptr %5, align 2 %11 = zext i16 %10 to i32 %12 = load ptr, ptr %6, align 8 %13 = ptrtoint ptr %12 to i32 %14 = lshr i32 %13, 16 %15 = trunc i32 %14 to i16 %16 = zext i16 %15 to i32 %17 = call i32 (i32, ptr, ...) @RAW_FMT(i32 noundef 0, ptr noundef @.str, i32 noundef 0, i32 noundef %11, i32 noundef %16) store i32 2, ptr %9, align 4 %18 = load i32, ptr %9, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph, label %44 .lr.ph: ; preds = %4 br label %21 21: ; preds = %.lr.ph, %38 %22 = load i32, ptr %9, align 4 %23 = srem i32 %22, 8 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %29 25: ; preds = %21 %26 = load i32, ptr %9, align 4 %27 = sdiv i32 %26, 8 %28 = call i32 (i32, ptr, ...) @RAW_FMT(i32 noundef 0, ptr noundef @.str.1, i32 noundef %27) br label %29 29: ; preds = %25, %21 %30 = load ptr, ptr %7, align 8 %31 = load i32, ptr %9, align 4 %32 = sub nsw i32 %31, 2 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i16, ptr %30, i64 %33 %35 = load i16, ptr %34, align 2 %36 = zext i16 %35 to i32 %37 = call i32 (i32, ptr, ...) @RAW_FMT(i32 noundef 0, ptr noundef @.str.2, i32 noundef %36) br label %38 38: ; preds = %29 %39 = load i32, ptr %9, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %9, align 4 %41 = load i32, ptr %9, align 4 %42 = load i32, ptr %8, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %44 44: ; preds = %._crit_edge, %4 %45 = call i32 (i32, ptr, ...) @RAW_FMT(i32 noundef 0, ptr noundef @.str.3) ret void } declare i32 @RAW_FMT(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"}
; ModuleID = '/tmp/tmpk91pe3to.c' source_filename = "/tmp/tmpk91pe3to.c" target datalayout = "e-m:e-p270: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/tmpk91pe3to.c" target datalayout = "e-m:e-p270: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/tmpr47u46k6.c' source_filename = "/tmp/tmpr47u46k6.c" target datalayout = "e-m:e-p270: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 @transverse_transport_electronic(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5) #0 { %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 store double %0, ptr %7, align 8 store double %1, ptr %8, align 8 store double %2, ptr %9, align 8 store double %3, ptr %10, align 8 store double %4, ptr %11, align 8 store double %5, ptr %12, align 8 %22 = load double, ptr %11, align 8 %23 = load double, ptr %11, align 8 %24 = load double, ptr %10, align 8 %25 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %24, double %23) %26 = fmul double %22, %25 store double %26, ptr %13, align 8 %27 = load double, ptr %11, align 8 %28 = load double, ptr %10, align 8 %29 = fadd double %27, %28 store double %29, ptr %14, align 8 %30 = load double, ptr %13, align 8 %31 = fmul double 0x3F50BE91CDA9B5D6, %30 %32 = load double, ptr %10, align 8 %33 = load double, ptr %10, align 8 %34 = load double, ptr %14, align 8 %35 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %34, double 0x3F40BE91CDA9B5D6) %36 = fmul double 0x3F40BE91CDA9B5D6, %35 %37 = call double @llvm.fmuladd.f64(double %32, double %33, double %36) %38 = fdiv double %31, %37 store double %38, ptr %15, align 8 %39 = load double, ptr %12, align 8 %40 = load double, ptr %15, align 8 %41 = fcmp ogt double %39, %40 br i1 %41, label %42, label %44 42: ; preds = %6 %43 = load double, ptr %15, align 8 br label %46 44: ; preds = %6 %45 = load double, ptr %12, align 8 br label %46 46: ; preds = %44, %42 %47 = phi double [ %43, %42 ], [ %45, %44 ] store double %47, ptr %16, align 8 %48 = load double, ptr %13, align 8 %49 = load double, ptr %14, align 8 %50 = load double, ptr %14, align 8 %51 = fmul double %49, %50 %52 = fdiv double %48, %51 store double %52, ptr %17, align 8 %53 = load double, ptr %9, align 8 %54 = load double, ptr %16, align 8 %55 = fmul double %53, %54 %56 = load double, ptr %8, align 8 %57 = fdiv double %55, %56 %58 = fptosi double %57 to i32 %59 = call double @log(i32 noundef %58) %60 = load double, ptr %17, align 8 %61 = load double, ptr %16, align 8 %62 = fmul double %60, %61 %63 = load double, ptr %15, align 8 %64 = fdiv double %62, %63 %65 = fsub double %59, %64 %66 = load double, ptr %16, align 8 %67 = fmul double 2.500000e-01, %66 %68 = load double, ptr %16, align 8 %69 = fmul double %67, %68 %70 = load double, ptr %14, align 8 %71 = load double, ptr %14, align 8 %72 = fmul double %70, %71 %73 = fdiv double %69, %72 %74 = fadd double %65, %73 %75 = load double, ptr %9, align 8 %76 = fdiv double 1.000000e+00, %75 %77 = fadd double %74, %76 store double %77, ptr %18, align 8 %78 = load double, ptr %14, align 8 %79 = load double, ptr %10, align 8 %80 = fdiv double %78, %79 store double %80, ptr %19, align 8 %81 = load double, ptr %15, align 8 %82 = fmul double 2.000000e+00, %81 %83 = fdiv double %82, 0x3F40BE91CDA9B5D6 %84 = fadd double 1.000000e+00, %83 %85 = fptosi double %84 to i32 %86 = call double @log(i32 noundef %85) store double %86, ptr %20, align 8 %87 = load double, ptr %19, align 8 %88 = fmul double 2.000000e+00, %87 %89 = fptosi double %88 to i32 %90 = call double @log(i32 noundef %89) %91 = load double, ptr %20, align 8 %92 = fdiv double %91, 3.000000e+00 %93 = fsub double %90, %92 %94 = fmul double 0x3F53074E347B1358, %93 %95 = load double, ptr %20, align 8 %96 = fmul double %94, %95 %97 = load double, ptr %20, align 8 %98 = fmul double %96, %97 store double %98, ptr %21, align 8 %99 = load double, ptr %7, align 8 %100 = fmul double 0x3DA140C3477A7D6F, %99 %101 = load double, ptr %17, align 8 %102 = fmul double %101, 1.000000e-03 %103 = load double, ptr %13, align 8 %104 = fmul double %102, %103 %105 = fdiv double %100, %104 %106 = load double, ptr %18, align 8 %107 = load double, ptr %21, align 8 %108 = fadd double %106, %107 %109 = fmul double %105, %108 ret double %109 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare double @log(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr47u46k6.c" target datalayout = "e-m:e-p270: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 @transverse_transport_electronic(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5) #0 { %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 store double %0, ptr %7, align 8 store double %1, ptr %8, align 8 store double %2, ptr %9, align 8 store double %3, ptr %10, align 8 store double %4, ptr %11, align 8 store double %5, ptr %12, align 8 %22 = load double, ptr %11, align 8 %23 = load double, ptr %11, align 8 %24 = load double, ptr %10, align 8 %25 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %24, double %23) %26 = fmul double %22, %25 store double %26, ptr %13, align 8 %27 = load double, ptr %11, align 8 %28 = load double, ptr %10, align 8 %29 = fadd double %27, %28 store double %29, ptr %14, align 8 %30 = load double, ptr %13, align 8 %31 = fmul double 0x3F50BE91CDA9B5D6, %30 %32 = load double, ptr %10, align 8 %33 = load double, ptr %10, align 8 %34 = load double, ptr %14, align 8 %35 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %34, double 0x3F40BE91CDA9B5D6) %36 = fmul double 0x3F40BE91CDA9B5D6, %35 %37 = call double @llvm.fmuladd.f64(double %32, double %33, double %36) %38 = fdiv double %31, %37 store double %38, ptr %15, align 8 %39 = load double, ptr %12, align 8 %40 = load double, ptr %15, align 8 %41 = fcmp ogt double %39, %40 br i1 %41, label %42, label %44 42: ; preds = %6 %43 = load double, ptr %15, align 8 br label %46 44: ; preds = %6 %45 = load double, ptr %12, align 8 br label %46 46: ; preds = %44, %42 %47 = phi double [ %43, %42 ], [ %45, %44 ] store double %47, ptr %16, align 8 %48 = load double, ptr %13, align 8 %49 = load double, ptr %14, align 8 %50 = load double, ptr %14, align 8 %51 = fmul double %49, %50 %52 = fdiv double %48, %51 store double %52, ptr %17, align 8 %53 = load double, ptr %9, align 8 %54 = load double, ptr %16, align 8 %55 = fmul double %53, %54 %56 = load double, ptr %8, align 8 %57 = fdiv double %55, %56 %58 = fptosi double %57 to i32 %59 = call double @log(i32 noundef %58) %60 = load double, ptr %17, align 8 %61 = load double, ptr %16, align 8 %62 = fmul double %60, %61 %63 = load double, ptr %15, align 8 %64 = fdiv double %62, %63 %65 = fsub double %59, %64 %66 = load double, ptr %16, align 8 %67 = fmul double 2.500000e-01, %66 %68 = load double, ptr %16, align 8 %69 = fmul double %67, %68 %70 = load double, ptr %14, align 8 %71 = load double, ptr %14, align 8 %72 = fmul double %70, %71 %73 = fdiv double %69, %72 %74 = fadd double %65, %73 %75 = load double, ptr %9, align 8 %76 = fdiv double 1.000000e+00, %75 %77 = fadd double %74, %76 store double %77, ptr %18, align 8 %78 = load double, ptr %14, align 8 %79 = load double, ptr %10, align 8 %80 = fdiv double %78, %79 store double %80, ptr %19, align 8 %81 = load double, ptr %15, align 8 %82 = fmul double 2.000000e+00, %81 %83 = fdiv double %82, 0x3F40BE91CDA9B5D6 %84 = fadd double 1.000000e+00, %83 %85 = fptosi double %84 to i32 %86 = call double @log(i32 noundef %85) store double %86, ptr %20, align 8 %87 = load double, ptr %19, align 8 %88 = fmul double 2.000000e+00, %87 %89 = fptosi double %88 to i32 %90 = call double @log(i32 noundef %89) %91 = load double, ptr %20, align 8 %92 = fdiv double %91, 3.000000e+00 %93 = fsub double %90, %92 %94 = fmul double 0x3F53074E347B1358, %93 %95 = load double, ptr %20, align 8 %96 = fmul double %94, %95 %97 = load double, ptr %20, align 8 %98 = fmul double %96, %97 store double %98, ptr %21, align 8 %99 = load double, ptr %7, align 8 %100 = fmul double 0x3DA140C3477A7D6F, %99 %101 = load double, ptr %17, align 8 %102 = fmul double %101, 1.000000e-03 %103 = load double, ptr %13, align 8 %104 = fmul double %102, %103 %105 = fdiv double %100, %104 %106 = load double, ptr %18, align 8 %107 = load double, ptr %21, align 8 %108 = fadd double %106, %107 %109 = fmul double %105, %108 ret double %109 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare double @log(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7xo6c0p3.c' source_filename = "/tmp/tmp7xo6c0p3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @ENOMEM = dso_local global i32 0, align 4 @EOF = dso_local global i8 0, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ClearTagsInFile(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca ptr, align 8 %14 = alloca i64, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i8, align 1 %18 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %19 = load ptr, ptr %6, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %30 21: ; preds = %4 %22 = load ptr, ptr %7, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %24, label %30 24: ; preds = %21 %25 = load ptr, ptr %8, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %27, label %30 27: ; preds = %24 %28 = load ptr, ptr %9, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %32, label %30 30: ; preds = %27, %24, %21, %4 %31 = load i32, ptr @EINVAL, align 4 store i32 %31, ptr @errno, align 4 store i32 1, ptr %5, align 4 br label %168 32: ; preds = %27 %33 = load ptr, ptr %8, align 8 %34 = call i64 @strlen(ptr noundef %33) store i64 %34, ptr %10, align 8 %35 = load ptr, ptr %9, align 8 %36 = call i64 @strlen(ptr noundef %35) store i64 %36, ptr %11, align 8 store i64 128, ptr %12, align 8 %37 = call i64 @malloc(i32 noundef 128) %38 = inttoptr i64 %37 to ptr store ptr %38, ptr %13, align 8 %39 = load ptr, ptr %13, align 8 %40 = icmp ne ptr %39, null br i1 %40, label %43, label %41 41: ; preds = %32 %42 = load i32, ptr @ENOMEM, align 4 store i32 %42, ptr @errno, align 4 store i32 1, ptr %5, align 4 br label %168 43: ; preds = %32 store i64 0, ptr %14, align 8 store i32 0, ptr %15, align 4 store i32 0, ptr %16, align 4 store i8 0, ptr %17, align 1 br label %44 44: ; preds = %160, %43 %45 = load i32, ptr %15, align 4 %46 = icmp ne i32 %45, 0 %47 = xor i1 %46, true br i1 %47, label %48, label %161 48: ; preds = %44 store i64 0, ptr %14, align 8 br label %49 49: ; preds = %48, %92 %50 = load ptr, ptr %6, align 8 %51 = call signext i8 @fgetc(ptr noundef %50) store i8 %51, ptr %17, align 1 %52 = load i8, ptr %17, align 1 %53 = sext i8 %52 to i32 %54 = load i8, ptr @EOF, align 1 %55 = sext i8 %54 to i32 %56 = icmp eq i32 %53, %55 br i1 %56, label %57, label %58 57: ; preds = %49 store i32 1, ptr %15, align 4 br label %93 58: ; preds = %49 %59 = load i64, ptr %14, align 8 %60 = load i64, ptr %12, align 8 %61 = sub i64 %60, 1 %62 = icmp uge i64 %59, %61 br i1 %62, label %63, label %81 63: ; preds = %58 %64 = load i64, ptr %12, align 8 %65 = icmp ugt i64 %64, 0 br i1 %65, label %66, label %69 66: ; preds = %63 %67 = load i64, ptr %12, align 8 %68 = mul i64 %67, 2 br label %70 69: ; preds = %63 br label %70 70: ; preds = %69, %66 %71 = phi i64 [ %68, %66 ], [ 128, %69 ] store i64 %71, ptr %12, align 8 %72 = load ptr, ptr %13, align 8 %73 = load i64, ptr %12, align 8 %74 = call i64 @realloc(ptr noundef %72, i64 noundef %73) %75 = inttoptr i64 %74 to ptr store ptr %75, ptr %13, align 8 %76 = load ptr, ptr %13, align 8 %77 = icmp ne ptr %76, null br i1 %77, label %80, label %78 78: ; preds = %70 %79 = load i32, ptr @ENOMEM, align 4 store i32 %79, ptr @errno, align 4 store i32 2, ptr %5, align 4 br label %168 80: ; preds = %70 br label %81 81: ; preds = %80, %58 %82 = load i8, ptr %17, align 1 %83 = load ptr, ptr %13, align 8 %84 = load i64, ptr %14, align 8 %85 = getelementptr inbounds i8, ptr %83, i64 %84 store i8 %82, ptr %85, align 1 %86 = load i64, ptr %14, align 8 %87 = add i64 %86, 1 store i64 %87, ptr %14, align 8 %88 = load i8, ptr %17, align 1 %89 = sext i8 %88 to i32 %90 = icmp eq i32 %89, 10 br i1 %90, label %91, label %92 91: ; preds = %81 br label %93 92: ; preds = %81 br label %49 93: ; preds = %91, %57 %94 = load ptr, ptr %13, align 8 %95 = load i64, ptr %14, align 8 %96 = getelementptr inbounds i8, ptr %94, i64 %95 store i8 0, ptr %96, align 1 store i64 0, ptr %18, align 8 br label %97 97: ; preds = %159, %93 %98 = load i64, ptr %18, align 8 %99 = load i64, ptr %14, align 8 %100 = icmp ult i64 %98, %99 br i1 %100, label %101, label %160 101: ; preds = %97 %102 = load i32, ptr %16, align 4 %103 = icmp ne i32 %102, 0 br i1 %103, label %104, label %124 104: ; preds = %101 %105 = load i64, ptr %18, align 8 %106 = load i64, ptr %14, align 8 %107 = load i64, ptr %11, align 8 %108 = sub i64 %106, %107 %109 = icmp ule i64 %105, %108 br i1 %109, label %110, label %124 110: ; preds = %104 %111 = load ptr, ptr %13, align 8 %112 = load i64, ptr %18, align 8 %113 = getelementptr inbounds i8, ptr %111, i64 %112 %114 = load ptr, ptr %9, align 8 %115 = load i64, ptr %11, align 8 %116 = call i64 @strncmp(ptr noundef %113, ptr noundef %114, i64 noundef %115) %117 = icmp eq i64 %116, 0 br i1 %117, label %118, label %124 118: ; preds = %110 %119 = load i64, ptr %11, align 8 %120 = load i64, ptr %18, align 8 %121 = add i64 %120, %119 store i64 %121, ptr %18, align 8 store i32 0, ptr %16, align 4 %122 = load ptr, ptr %7, align 8 %123 = call i32 @fputc(i8 noundef signext 10, ptr noundef %122) br label %159 124: ; preds = %110, %104, %101 %125 = load i32, ptr %16, align 4 %126 = icmp ne i32 %125, 0 br i1 %126, label %145, label %127 127: ; preds = %124 %128 = load i64, ptr %18, align 8 %129 = load i64, ptr %14, align 8 %130 = load i64, ptr %10, align 8 %131 = sub i64 %129, %130 %132 = icmp ule i64 %128, %131 br i1 %132, label %133, label %145 133: ; preds = %127 %134 = load ptr, ptr %13, align 8 %135 = load i64, ptr %18, align 8 %136 = getelementptr inbounds i8, ptr %134, i64 %135 %137 = load ptr, ptr %8, align 8 %138 = load i64, ptr %10, align 8 %139 = call i64 @strncmp(ptr noundef %136, ptr noundef %137, i64 noundef %138) %140 = icmp eq i64 %139, 0 br i1 %140, label %141, label %145 141: ; preds = %133 store i32 1, ptr %16, align 4 %142 = load i64, ptr %10, align 8 %143 = load i64, ptr %18, align 8 %144 = add i64 %143, %142 store i64 %144, ptr %18, align 8 br label %158 145: ; preds = %133, %127, %124 %146 = load i32, ptr %16, align 4 %147 = icmp ne i32 %146, 0 br i1 %147, label %155, label %148 148: ; preds = %145 %149 = load ptr, ptr %13, align 8 %150 = load i64, ptr %18, align 8 %151 = getelementptr inbounds i8, ptr %149, i64 %150 %152 = load i8, ptr %151, align 1 %153 = load ptr, ptr %7, align 8 %154 = call i32 @fputc(i8 noundef signext %152, ptr noundef %153) br label %155 155: ; preds = %148, %145 %156 = load i64, ptr %18, align 8 %157 = add i64 %156, 1 store i64 %157, ptr %18, align 8 br label %158 158: ; preds = %155, %141 br label %159 159: ; preds = %158, %118 br label %97, !llvm.loop !6 160: ; preds = %97 br label %44, !llvm.loop !8 161: ; preds = %44 %162 = load ptr, ptr %13, align 8 %163 = call i32 @free(ptr noundef %162) store ptr null, ptr %13, align 8 %164 = load ptr, ptr %7, align 8 %165 = call i32 @rewind(ptr noundef %164) %166 = load ptr, ptr %6, align 8 %167 = call i32 @rewind(ptr noundef %166) store i32 0, ptr %5, align 4 br label %168 168: ; preds = %161, %78, %41, %30 %169 = load i32, ptr %5, align 4 ret i32 %169 } declare i64 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare signext i8 @fgetc(ptr noundef) #1 declare i64 @realloc(ptr noundef, i64 noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @fputc(i8 noundef signext, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @rewind(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/tmp7xo6c0p3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @ENOMEM = dso_local global i32 0, align 4 @EOF = dso_local global i8 0, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ClearTagsInFile(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca ptr, align 8 %14 = alloca i64, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i8, align 1 %18 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %19 = load ptr, ptr %6, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %30 21: ; preds = %4 %22 = load ptr, ptr %7, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %24, label %30 24: ; preds = %21 %25 = load ptr, ptr %8, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %27, label %30 27: ; preds = %24 %28 = load ptr, ptr %9, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %32, label %30 30: ; preds = %27, %24, %21, %4 %31 = load i32, ptr @EINVAL, align 4 store i32 %31, ptr @errno, align 4 store i32 1, ptr %5, align 4 br label %178 32: ; preds = %27 %33 = load ptr, ptr %8, align 8 %34 = call i64 @strlen(ptr noundef %33) store i64 %34, ptr %10, align 8 %35 = load ptr, ptr %9, align 8 %36 = call i64 @strlen(ptr noundef %35) store i64 %36, ptr %11, align 8 store i64 128, ptr %12, align 8 %37 = call i64 @malloc(i32 noundef 128) %38 = inttoptr i64 %37 to ptr store ptr %38, ptr %13, align 8 %39 = load ptr, ptr %13, align 8 %40 = icmp ne ptr %39, null br i1 %40, label %43, label %41 41: ; preds = %32 %42 = load i32, ptr @ENOMEM, align 4 store i32 %42, ptr @errno, align 4 store i32 1, ptr %5, align 4 br label %178 43: ; preds = %32 store i64 0, ptr %14, align 8 store i32 0, ptr %15, align 4 store i32 0, ptr %16, align 4 store i8 0, ptr %17, align 1 %44 = load i32, ptr %15, align 4 %45 = icmp ne i32 %44, 0 %46 = xor i1 %45, true br i1 %46, label %.lr.ph5, label %171 .lr.ph5: ; preds = %43 br label %47 47: ; preds = %.lr.ph5, %167 store i64 0, ptr %14, align 8 %48 = load ptr, ptr %6, align 8 %49 = call signext i8 @fgetc(ptr noundef %48) store i8 %49, ptr %17, align 1 %50 = load i8, ptr %17, align 1 %51 = sext i8 %50 to i32 %52 = load i8, ptr @EOF, align 1 %53 = sext i8 %52 to i32 %54 = icmp eq i32 %51, %53 br i1 %54, label %63, label %.lr.ph .lr.ph: ; preds = %47 br label %64 55: ; preds = %87 %56 = load ptr, ptr %6, align 8 %57 = call signext i8 @fgetc(ptr noundef %56) store i8 %57, ptr %17, align 1 %58 = load i8, ptr %17, align 1 %59 = sext i8 %58 to i32 %60 = load i8, ptr @EOF, align 1 %61 = sext i8 %60 to i32 %62 = icmp eq i32 %59, %61 br i1 %62, label %._crit_edge, label %64 ._crit_edge: ; preds = %55 br label %63 63: ; preds = %._crit_edge, %47 store i32 1, ptr %15, align 4 br label %98 64: ; preds = %.lr.ph, %55 %65 = load i64, ptr %14, align 8 %66 = load i64, ptr %12, align 8 %67 = sub i64 %66, 1 %68 = icmp uge i64 %65, %67 br i1 %68, label %69, label %87 69: ; preds = %64 %70 = load i64, ptr %12, align 8 %71 = icmp ugt i64 %70, 0 br i1 %71, label %72, label %75 72: ; preds = %69 %73 = load i64, ptr %12, align 8 %74 = mul i64 %73, 2 br label %76 75: ; preds = %69 br label %76 76: ; preds = %75, %72 %77 = phi i64 [ %74, %72 ], [ 128, %75 ] store i64 %77, ptr %12, align 8 %78 = load ptr, ptr %13, align 8 %79 = load i64, ptr %12, align 8 %80 = call i64 @realloc(ptr noundef %78, i64 noundef %79) %81 = inttoptr i64 %80 to ptr store ptr %81, ptr %13, align 8 %82 = load ptr, ptr %13, align 8 %83 = icmp ne ptr %82, null br i1 %83, label %86, label %84 84: ; preds = %76 %85 = load i32, ptr @ENOMEM, align 4 store i32 %85, ptr @errno, align 4 store i32 2, ptr %5, align 4 br label %178 86: ; preds = %76 br label %87 87: ; preds = %86, %64 %88 = load i8, ptr %17, align 1 %89 = load ptr, ptr %13, align 8 %90 = load i64, ptr %14, align 8 %91 = getelementptr inbounds i8, ptr %89, i64 %90 store i8 %88, ptr %91, align 1 %92 = load i64, ptr %14, align 8 %93 = add i64 %92, 1 store i64 %93, ptr %14, align 8 %94 = load i8, ptr %17, align 1 %95 = sext i8 %94 to i32 %96 = icmp eq i32 %95, 10 br i1 %96, label %97, label %55 97: ; preds = %87 br label %98 98: ; preds = %97, %63 %99 = load ptr, ptr %13, align 8 %100 = load i64, ptr %14, align 8 %101 = getelementptr inbounds i8, ptr %99, i64 %100 store i8 0, ptr %101, align 1 store i64 0, ptr %18, align 8 %102 = load i64, ptr %18, align 8 %103 = load i64, ptr %14, align 8 %104 = icmp ult i64 %102, %103 br i1 %104, label %.lr.ph2, label %167 .lr.ph2: ; preds = %98 br label %105 105: ; preds = %.lr.ph2, %163 %106 = load i32, ptr %16, align 4 %107 = icmp ne i32 %106, 0 br i1 %107, label %108, label %128 108: ; preds = %105 %109 = load i64, ptr %18, align 8 %110 = load i64, ptr %14, align 8 %111 = load i64, ptr %11, align 8 %112 = sub i64 %110, %111 %113 = icmp ule i64 %109, %112 br i1 %113, label %114, label %128 114: ; preds = %108 %115 = load ptr, ptr %13, align 8 %116 = load i64, ptr %18, align 8 %117 = getelementptr inbounds i8, ptr %115, i64 %116 %118 = load ptr, ptr %9, align 8 %119 = load i64, ptr %11, align 8 %120 = call i64 @strncmp(ptr noundef %117, ptr noundef %118, i64 noundef %119) %121 = icmp eq i64 %120, 0 br i1 %121, label %122, label %128 122: ; preds = %114 %123 = load i64, ptr %11, align 8 %124 = load i64, ptr %18, align 8 %125 = add i64 %124, %123 store i64 %125, ptr %18, align 8 store i32 0, ptr %16, align 4 %126 = load ptr, ptr %7, align 8 %127 = call i32 @fputc(i8 noundef signext 10, ptr noundef %126) br label %163 128: ; preds = %114, %108, %105 %129 = load i32, ptr %16, align 4 %130 = icmp ne i32 %129, 0 br i1 %130, label %149, label %131 131: ; preds = %128 %132 = load i64, ptr %18, align 8 %133 = load i64, ptr %14, align 8 %134 = load i64, ptr %10, align 8 %135 = sub i64 %133, %134 %136 = icmp ule i64 %132, %135 br i1 %136, label %137, label %149 137: ; preds = %131 %138 = load ptr, ptr %13, align 8 %139 = load i64, ptr %18, align 8 %140 = getelementptr inbounds i8, ptr %138, i64 %139 %141 = load ptr, ptr %8, align 8 %142 = load i64, ptr %10, align 8 %143 = call i64 @strncmp(ptr noundef %140, ptr noundef %141, i64 noundef %142) %144 = icmp eq i64 %143, 0 br i1 %144, label %145, label %149 145: ; preds = %137 store i32 1, ptr %16, align 4 %146 = load i64, ptr %10, align 8 %147 = load i64, ptr %18, align 8 %148 = add i64 %147, %146 store i64 %148, ptr %18, align 8 br label %162 149: ; preds = %137, %131, %128 %150 = load i32, ptr %16, align 4 %151 = icmp ne i32 %150, 0 br i1 %151, label %159, label %152 152: ; preds = %149 %153 = load ptr, ptr %13, align 8 %154 = load i64, ptr %18, align 8 %155 = getelementptr inbounds i8, ptr %153, i64 %154 %156 = load i8, ptr %155, align 1 %157 = load ptr, ptr %7, align 8 %158 = call i32 @fputc(i8 noundef signext %156, ptr noundef %157) br label %159 159: ; preds = %152, %149 %160 = load i64, ptr %18, align 8 %161 = add i64 %160, 1 store i64 %161, ptr %18, align 8 br label %162 162: ; preds = %159, %145 br label %163 163: ; preds = %162, %122 %164 = load i64, ptr %18, align 8 %165 = load i64, ptr %14, align 8 %166 = icmp ult i64 %164, %165 br i1 %166, label %105, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %163 br label %167 167: ; preds = %._crit_edge3, %98 %168 = load i32, ptr %15, align 4 %169 = icmp ne i32 %168, 0 %170 = xor i1 %169, true br i1 %170, label %47, label %._crit_edge6, !llvm.loop !8 ._crit_edge6: ; preds = %167 br label %171 171: ; preds = %._crit_edge6, %43 %172 = load ptr, ptr %13, align 8 %173 = call i32 @free(ptr noundef %172) store ptr null, ptr %13, align 8 %174 = load ptr, ptr %7, align 8 %175 = call i32 @rewind(ptr noundef %174) %176 = load ptr, ptr %6, align 8 %177 = call i32 @rewind(ptr noundef %176) store i32 0, ptr %5, align 4 br label %178 178: ; preds = %171, %84, %41, %30 %179 = load i32, ptr %5, align 4 ret i32 %179 } declare i64 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare signext i8 @fgetc(ptr noundef) #1 declare i64 @realloc(ptr noundef, i64 noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @fputc(i8 noundef signext, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @rewind(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/tmpeyxyq2fw.c' source_filename = "/tmp/tmpeyxyq2fw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"long\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"<\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"[%ld] compared to [%ld]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_long_lt(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 store ptr %0, ptr %8, align 8 store i32 %1, ptr %9, align 4 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store i64 %4, ptr %12, align 8 store i64 %5, ptr %13, align 8 %14 = load i64, ptr %12, align 8 %15 = load i64, ptr %13, align 8 %16 = icmp slt i64 %14, %15 br i1 %16, label %17, label %18 17: ; preds = %6 store i32 1, ptr %7, align 4 br label %26 18: ; preds = %6 %19 = load ptr, ptr %8, align 8 %20 = load i32, ptr %9, align 4 %21 = load ptr, ptr %10, align 8 %22 = load ptr, ptr %11, align 8 %23 = load i64, ptr %12, align 8 %24 = load i64, ptr %13, align 8 %25 = call i32 @test_fail_message(ptr noundef null, ptr noundef %19, i32 noundef %20, ptr noundef @.str, ptr noundef %21, ptr noundef %22, ptr noundef @.str.1, ptr noundef @.str.2, i64 noundef %23, i64 noundef %24) store i32 0, ptr %7, align 4 br label %26 26: ; preds = %18, %17 %27 = load i32, ptr %7, align 4 ret i32 %27 } declare i32 @test_fail_message(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 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/tmpeyxyq2fw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"long\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"<\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"[%ld] compared to [%ld]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_long_lt(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 store ptr %0, ptr %8, align 8 store i32 %1, ptr %9, align 4 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store i64 %4, ptr %12, align 8 store i64 %5, ptr %13, align 8 %14 = load i64, ptr %12, align 8 %15 = load i64, ptr %13, align 8 %16 = icmp slt i64 %14, %15 br i1 %16, label %17, label %18 17: ; preds = %6 store i32 1, ptr %7, align 4 br label %26 18: ; preds = %6 %19 = load ptr, ptr %8, align 8 %20 = load i32, ptr %9, align 4 %21 = load ptr, ptr %10, align 8 %22 = load ptr, ptr %11, align 8 %23 = load i64, ptr %12, align 8 %24 = load i64, ptr %13, align 8 %25 = call i32 @test_fail_message(ptr noundef null, ptr noundef %19, i32 noundef %20, ptr noundef @.str, ptr noundef %21, ptr noundef %22, ptr noundef @.str.1, ptr noundef @.str.2, i64 noundef %23, i64 noundef %24) store i32 0, ptr %7, align 4 br label %26 26: ; preds = %18, %17 %27 = load i32, ptr %7, align 4 ret i32 %27 } declare i32 @test_fail_message(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 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/tmpzzats082.c' source_filename = "/tmp/tmpzzats082.c" target datalayout = "e-m:e-p270: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/tmpzzats082.c" target datalayout = "e-m:e-p270: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/tmp0gq_efna.c' source_filename = "/tmp/tmp0gq_efna.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [97 x i8] c"I have thought about a number between 1 and 100 (both inclusive).\0AYou can guess my number now..\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"Too low.\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"Too high.\0A\00", align 1 @.str.4 = private unnamed_addr constant [61 x i8] c"Yes it was %d - Good job!\0ADo you want to play again (y/n) ? \00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c"The average number of guesses was %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %7 7: ; preds = %40, %0 %8 = load i32, ptr %4, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %4, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = call i32 @time(ptr noundef null) %12 = call i32 @srand(i32 noundef %11) %13 = call i32 (...) @rand() %14 = srem i32 %13, 100 %15 = add nsw i32 %14, 1 store i32 %15, ptr %5, align 4 store i32 -1, ptr %6, align 4 br label %16 16: ; preds = %35, %7 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %5, align 4 %19 = icmp ne i32 %17, %18 br i1 %19, label %20, label %36 20: ; preds = %16 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %3, align 4 %23 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %5, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %29 27: ; preds = %20 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %29 29: ; preds = %27, %20 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr %5, align 4 %32 = icmp sgt i32 %30, %31 br i1 %32, label %33, label %35 33: ; preds = %29 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %35 35: ; preds = %33, %29 br label %16, !llvm.loop !6 36: ; preds = %16 %37 = load i32, ptr %6, align 4 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %37) %39 = call signext i8 (...) @readChar() store i8 %39, ptr %2, align 1 br label %40 40: ; preds = %36 %41 = load i8, ptr %2, align 1 %42 = sext i8 %41 to i32 %43 = icmp ne i32 %42, 110 br i1 %43, label %7, label %44, !llvm.loop !8 44: ; preds = %40 %45 = load i32, ptr %3, align 4 %46 = sitofp i32 %45 to float %47 = load i32, ptr %4, align 4 %48 = sitofp i32 %47 to float %49 = fdiv float %46, %48 %50 = fpext float %49 to double %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %50) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare signext i8 @readChar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp0gq_efna.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [97 x i8] c"I have thought about a number between 1 and 100 (both inclusive).\0AYou can guess my number now..\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"Too low.\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"Too high.\0A\00", align 1 @.str.4 = private unnamed_addr constant [61 x i8] c"Yes it was %d - Good job!\0ADo you want to play again (y/n) ? \00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c"The average number of guesses was %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %7 7: ; preds = %42, %0 %8 = load i32, ptr %4, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %4, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = call i32 @time(ptr noundef null) %12 = call i32 @srand(i32 noundef %11) %13 = call i32 (...) @rand() %14 = srem i32 %13, 100 %15 = add nsw i32 %14, 1 store i32 %15, ptr %5, align 4 store i32 -1, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp ne i32 %16, %17 br i1 %18, label %.lr.ph, label %38 .lr.ph: ; preds = %7 br label %19 19: ; preds = %.lr.ph, %34 %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %3, align 4 %22 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %23 = load i32, ptr %6, align 4 %24 = load i32, ptr %5, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %28 26: ; preds = %19 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %28 28: ; preds = %26, %19 %29 = load i32, ptr %6, align 4 %30 = load i32, ptr %5, align 4 %31 = icmp sgt i32 %29, %30 br i1 %31, label %32, label %34 32: ; preds = %28 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %34 34: ; preds = %32, %28 %35 = load i32, ptr %6, align 4 %36 = load i32, ptr %5, align 4 %37 = icmp ne i32 %35, %36 br i1 %37, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %38 38: ; preds = %._crit_edge, %7 %39 = load i32, ptr %6, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %39) %41 = call signext i8 (...) @readChar() store i8 %41, ptr %2, align 1 br label %42 42: ; preds = %38 %43 = load i8, ptr %2, align 1 %44 = sext i8 %43 to i32 %45 = icmp ne i32 %44, 110 br i1 %45, label %7, label %46, !llvm.loop !8 46: ; preds = %42 %47 = load i32, ptr %3, align 4 %48 = sitofp i32 %47 to float %49 = load i32, ptr %4, align 4 %50 = sitofp i32 %49 to float %51 = fdiv float %48, %50 %52 = fpext float %51 to double %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %52) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare signext i8 @readChar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpx3i31gww.c' source_filename = "/tmp/tmpx3i31gww.c" target datalayout = "e-m:e-p270: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 @getStartValue() #0 { %1 = call i32 (...) @getStartValueImpl() ret i32 %1 } declare i32 @getStartValueImpl(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx3i31gww.c" target datalayout = "e-m:e-p270: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 @getStartValue() #0 { %1 = call i32 (...) @getStartValueImpl() ret i32 %1 } declare i32 @getStartValueImpl(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpku1759kf.c' source_filename = "/tmp/tmpku1759kf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_revision_number_SM_SOCKET() #0 { %1 = call i32 @atoi(ptr noundef @.str) ret i32 %1 } declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpku1759kf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_revision_number_SM_SOCKET() #0 { %1 = call i32 @atoi(ptr noundef @.str) ret i32 %1 } declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpimasj5xg.c' source_filename = "/tmp/tmpimasj5xg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOTSUP = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpimasj5xg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOTSUP = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuq_xb81m.c' source_filename = "/tmp/tmpuq_xb81m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %union.anon = type { double } ; Function Attrs: noinline nounwind sspstrong willreturn memory(read) uwtable define dso_local double @nan(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca %union.anon, align 8 store ptr %0, ptr %2, align 8 %4 = load i64, ptr %3, align 8 %5 = and i64 %4, 9223372036854775807 %6 = or i64 %5, 0 store i64 %6, ptr %3, align 8 %7 = load i64, ptr %3, align 8 %8 = and i64 %7, -9218868437227405313 %9 = or i64 %8, 9218868437227405312 store i64 %9, ptr %3, align 8 %10 = load i64, ptr %3, align 8 %11 = and i64 %10, -2251799813685249 %12 = or i64 %11, 2251799813685248 store i64 %12, ptr %3, align 8 %13 = load ptr, ptr %2, align 8 %14 = call i64 @__make_mantissa(ptr noundef %13) %15 = load i64, ptr %3, align 8 %16 = and i64 %14, 2251799813685247 %17 = and i64 %15, -2251799813685248 %18 = or i64 %17, %16 store i64 %18, ptr %3, align 8 %19 = load double, ptr %3, align 8 ret double %19 } declare i64 @__make_mantissa(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong willreturn memory(read) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuq_xb81m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %union.anon = type { double } ; Function Attrs: noinline nounwind sspstrong willreturn memory(read) uwtable define dso_local double @nan(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca %union.anon, align 8 store ptr %0, ptr %2, align 8 %4 = load i64, ptr %3, align 8 %5 = and i64 %4, 9223372036854775807 %6 = or i64 %5, 0 store i64 %6, ptr %3, align 8 %7 = load i64, ptr %3, align 8 %8 = and i64 %7, -9218868437227405313 %9 = or i64 %8, 9218868437227405312 store i64 %9, ptr %3, align 8 %10 = load i64, ptr %3, align 8 %11 = and i64 %10, -2251799813685249 %12 = or i64 %11, 2251799813685248 store i64 %12, ptr %3, align 8 %13 = load ptr, ptr %2, align 8 %14 = call i64 @__make_mantissa(ptr noundef %13) %15 = load i64, ptr %3, align 8 %16 = and i64 %14, 2251799813685247 %17 = and i64 %15, -2251799813685248 %18 = or i64 %17, %16 store i64 %18, ptr %3, align 8 %19 = load double, ptr %3, align 8 ret double %19 } declare i64 @__make_mantissa(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong willreturn memory(read) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpduf0luz8.c' source_filename = "/tmp/tmpduf0luz8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"CarStep1\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @CarStep1() #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/tmpduf0luz8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"CarStep1\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @CarStep1() #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/tmpbzn4kzze.c' source_filename = "/tmp/tmpbzn4kzze.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"send/test.dat\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"192.168.1.100\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"9002\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"10.10.1.100\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"9001\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @rdps_test() #0 { %1 = call i32 @rdp_filestream_open(ptr noundef @.str, ptr noundef @.str.1) %2 = call i32 @rdp_sender(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.5) %3 = call i32 (...) @rdp_sender_connect() %4 = call i32 (...) @rdp_sender_send() %5 = call i32 (...) @rdp_sender_disconnect() %6 = call i32 (...) @rdp_filestream_close() %7 = call i32 (...) @rdp_sender_stats() ret void } declare i32 @rdp_filestream_open(ptr noundef, ptr noundef) #1 declare i32 @rdp_sender(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @rdp_sender_connect(...) #1 declare i32 @rdp_sender_send(...) #1 declare i32 @rdp_sender_disconnect(...) #1 declare i32 @rdp_filestream_close(...) #1 declare i32 @rdp_sender_stats(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbzn4kzze.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"send/test.dat\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"192.168.1.100\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"9002\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"10.10.1.100\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"9001\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @rdps_test() #0 { %1 = call i32 @rdp_filestream_open(ptr noundef @.str, ptr noundef @.str.1) %2 = call i32 @rdp_sender(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.5) %3 = call i32 (...) @rdp_sender_connect() %4 = call i32 (...) @rdp_sender_send() %5 = call i32 (...) @rdp_sender_disconnect() %6 = call i32 (...) @rdp_filestream_close() %7 = call i32 (...) @rdp_sender_stats() ret void } declare i32 @rdp_filestream_open(ptr noundef, ptr noundef) #1 declare i32 @rdp_sender(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @rdp_sender_connect(...) #1 declare i32 @rdp_sender_send(...) #1 declare i32 @rdp_sender_disconnect(...) #1 declare i32 @rdp_filestream_close(...) #1 declare i32 @rdp_sender_stats(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy1fe66r1.c' source_filename = "/tmp/tmpy1fe66r1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.TYPE_3__, i32, i32 } %struct.TYPE_3__ = type { i32 } @.str = private unnamed_addr constant [8 x i8] c"Chat\0A\0A\0A\00", align 1 @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @AF_INET = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [18 x i8] c"Warte auf Client\0A\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [14 x i8] c"Port belegt!\0A\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"Verbindung mit %s hergestellt.\0A\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"Ich: \00", align 1 @stdin = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [7 x i8] c"Du: %s\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"quit\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca %struct.sockaddr_in, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca %struct.sockaddr_in, align 4 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) %14 = call i64 @malloc(i32 noundef 256) %15 = inttoptr i64 %14 to ptr store ptr %15, ptr %6, align 8 %16 = load i32, ptr @PF_INET, align 4 %17 = load i32, ptr @SOCK_STREAM, align 4 %18 = call i32 @socket(i32 noundef %16, i32 noundef %17, i32 noundef 0) store i32 %18, ptr %9, align 4 %19 = load i32, ptr @AF_INET, align 4 %20 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2 store i32 %19, ptr %20, align 4 %21 = call i32 @htons(i32 noundef 4711) %22 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1 store i32 %21, ptr %22, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp slt i32 %23, 2 br i1 %24, label %25, label %80 25: ; preds = %2 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %27 = load i32, ptr @INADDR_ANY, align 4 %28 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 %29 = getelementptr inbounds %struct.TYPE_3__, ptr %28, i32 0, i32 0 store i32 %27, ptr %29, align 4 %30 = load i32, ptr %9, align 4 %31 = call i64 @bind(i32 noundef %30, ptr noundef %8, i32 noundef 12) %32 = icmp ne i64 %31, 0 br i1 %32, label %33, label %35 33: ; preds = %25 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %35 35: ; preds = %33, %25 %36 = load i32, ptr %9, align 4 %37 = call i32 @listen(i32 noundef %36, i32 noundef 5) store i32 12, ptr %12, align 4 %38 = load i32, ptr %9, align 4 %39 = call i32 @accept(i32 noundef %38, ptr noundef %11, ptr noundef %12) store i32 %39, ptr %10, align 4 %40 = load i32, ptr %10, align 4 %41 = icmp sgt i32 %40, 0 br i1 %41, label %42, label %48 42: ; preds = %35 %43 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 %44 = getelementptr inbounds %struct.TYPE_3__, ptr %43, i32 0, i32 0 %45 = load i32, ptr %44, align 4 %46 = call ptr @inet_ntoa(i32 %45) %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %46) br label %48 48: ; preds = %42, %35 br label %49 49: ; preds = %71, %48 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %51 = load ptr, ptr %6, align 8 %52 = load i32, ptr @stdin, align 4 %53 = call i32 @fgets(ptr noundef %51, i32 noundef 256, i32 noundef %52) %54 = load i32, ptr %10, align 4 %55 = load ptr, ptr %6, align 8 %56 = load ptr, ptr %6, align 8 %57 = call i32 @strlen(ptr noundef %56) %58 = call i32 @send(i32 noundef %54, ptr noundef %55, i32 noundef %57, i32 noundef 0) %59 = load i32, ptr %10, align 4 %60 = load ptr, ptr %6, align 8 %61 = call i64 @recv(i32 noundef %59, ptr noundef %60, i32 noundef 255, i32 noundef 0) store i64 %61, ptr %7, align 8 %62 = load i64, ptr %7, align 8 %63 = icmp ugt i64 %62, 0 br i1 %63, label %64, label %68 64: ; preds = %49 %65 = load ptr, ptr %6, align 8 %66 = load i64, ptr %7, align 8 %67 = getelementptr inbounds i8, ptr %65, i64 %66 store i8 0, ptr %67, align 1 br label %68 68: ; preds = %64, %49 %69 = load ptr, ptr %6, align 8 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %69) br label %71 71: ; preds = %68 %72 = load ptr, ptr %6, align 8 %73 = call i64 @strcmp(ptr noundef %72, ptr noundef @.str.6) %74 = icmp ne i64 %73, 0 br i1 %74, label %49, label %75, !llvm.loop !6 75: ; preds = %71 %76 = load i32, ptr %10, align 4 %77 = call i32 @close(i32 noundef %76) %78 = load i32, ptr %9, align 4 %79 = call i32 @close(i32 noundef %78) br label %133 80: ; preds = %2 %81 = load i32, ptr @AF_INET, align 4 %82 = load i32, ptr @SOCK_STREAM, align 4 %83 = call i32 @socket(i32 noundef %81, i32 noundef %82, i32 noundef 0) store i32 %83, ptr %9, align 4 %84 = load ptr, ptr %5, align 8 %85 = getelementptr inbounds ptr, ptr %84, i64 1 %86 = load ptr, ptr %85, align 8 %87 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 %88 = call i32 @inet_aton(ptr noundef %86, ptr noundef %87) %89 = load i32, ptr %9, align 4 %90 = call i64 @connect(i32 noundef %89, ptr noundef %8, i32 noundef 12) %91 = icmp eq i64 %90, 0 br i1 %91, label %92, label %98 92: ; preds = %80 %93 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 %94 = getelementptr inbounds %struct.TYPE_3__, ptr %93, i32 0, i32 0 %95 = load i32, ptr %94, align 4 %96 = call ptr @inet_ntoa(i32 %95) %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %96) br label %98 98: ; preds = %92, %80 br label %99 99: ; preds = %126, %98 %100 = load i32, ptr %9, align 4 %101 = load ptr, ptr %6, align 8 %102 = call i64 @recv(i32 noundef %100, ptr noundef %101, i32 noundef 255, i32 noundef 0) store i64 %102, ptr %7, align 8 %103 = load i64, ptr %7, align 8 %104 = icmp ugt i64 %103, 0 br i1 %104, label %105, label %109 105: ; preds = %99 %106 = load ptr, ptr %6, align 8 %107 = load i64, ptr %7, align 8 %108 = getelementptr inbounds i8, ptr %106, i64 %107 store i8 0, ptr %108, align 1 br label %109 109: ; preds = %105, %99 %110 = load ptr, ptr %6, align 8 %111 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %110) %112 = load ptr, ptr %6, align 8 %113 = call i64 @strcmp(ptr noundef %112, ptr noundef @.str.6) %114 = icmp ne i64 %113, 0 br i1 %114, label %115, label %125 115: ; preds = %109 %116 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %117 = load ptr, ptr %6, align 8 %118 = load i32, ptr @stdin, align 4 %119 = call i32 @fgets(ptr noundef %117, i32 noundef 256, i32 noundef %118) %120 = load i32, ptr %9, align 4 %121 = load ptr, ptr %6, align 8 %122 = load ptr, ptr %6, align 8 %123 = call i32 @strlen(ptr noundef %122) %124 = call i32 @send(i32 noundef %120, ptr noundef %121, i32 noundef %123, i32 noundef 0) br label %125 125: ; preds = %115, %109 br label %126 126: ; preds = %125 %127 = load ptr, ptr %6, align 8 %128 = call i64 @strcmp(ptr noundef %127, ptr noundef @.str.6) %129 = icmp ne i64 %128, 0 br i1 %129, label %99, label %130, !llvm.loop !8 130: ; preds = %126 %131 = load i32, ptr %9, align 4 %132 = call i32 @close(i32 noundef %131) br label %133 133: ; preds = %130, %75 %134 = load ptr, ptr %6, align 8 %135 = call i32 @free(ptr noundef %134) %136 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %136 } declare i32 @printf(ptr noundef, ...) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @inet_ntoa(i32) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @inet_aton(ptr noundef, ptr noundef) #1 declare i64 @connect(i32 noundef, 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy1fe66r1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.TYPE_3__, i32, i32 } %struct.TYPE_3__ = type { i32 } @.str = private unnamed_addr constant [8 x i8] c"Chat\0A\0A\0A\00", align 1 @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @AF_INET = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [18 x i8] c"Warte auf Client\0A\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [14 x i8] c"Port belegt!\0A\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"Verbindung mit %s hergestellt.\0A\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"Ich: \00", align 1 @stdin = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [7 x i8] c"Du: %s\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"quit\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca %struct.sockaddr_in, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca %struct.sockaddr_in, align 4 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) %14 = call i64 @malloc(i32 noundef 256) %15 = inttoptr i64 %14 to ptr store ptr %15, ptr %6, align 8 %16 = load i32, ptr @PF_INET, align 4 %17 = load i32, ptr @SOCK_STREAM, align 4 %18 = call i32 @socket(i32 noundef %16, i32 noundef %17, i32 noundef 0) store i32 %18, ptr %9, align 4 %19 = load i32, ptr @AF_INET, align 4 %20 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2 store i32 %19, ptr %20, align 4 %21 = call i32 @htons(i32 noundef 4711) %22 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1 store i32 %21, ptr %22, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp slt i32 %23, 2 br i1 %24, label %25, label %80 25: ; preds = %2 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %27 = load i32, ptr @INADDR_ANY, align 4 %28 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 %29 = getelementptr inbounds %struct.TYPE_3__, ptr %28, i32 0, i32 0 store i32 %27, ptr %29, align 4 %30 = load i32, ptr %9, align 4 %31 = call i64 @bind(i32 noundef %30, ptr noundef %8, i32 noundef 12) %32 = icmp ne i64 %31, 0 br i1 %32, label %33, label %35 33: ; preds = %25 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %35 35: ; preds = %33, %25 %36 = load i32, ptr %9, align 4 %37 = call i32 @listen(i32 noundef %36, i32 noundef 5) store i32 12, ptr %12, align 4 %38 = load i32, ptr %9, align 4 %39 = call i32 @accept(i32 noundef %38, ptr noundef %11, ptr noundef %12) store i32 %39, ptr %10, align 4 %40 = load i32, ptr %10, align 4 %41 = icmp sgt i32 %40, 0 br i1 %41, label %42, label %48 42: ; preds = %35 %43 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 %44 = getelementptr inbounds %struct.TYPE_3__, ptr %43, i32 0, i32 0 %45 = load i32, ptr %44, align 4 %46 = call ptr @inet_ntoa(i32 %45) %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %46) br label %48 48: ; preds = %42, %35 br label %49 49: ; preds = %71, %48 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %51 = load ptr, ptr %6, align 8 %52 = load i32, ptr @stdin, align 4 %53 = call i32 @fgets(ptr noundef %51, i32 noundef 256, i32 noundef %52) %54 = load i32, ptr %10, align 4 %55 = load ptr, ptr %6, align 8 %56 = load ptr, ptr %6, align 8 %57 = call i32 @strlen(ptr noundef %56) %58 = call i32 @send(i32 noundef %54, ptr noundef %55, i32 noundef %57, i32 noundef 0) %59 = load i32, ptr %10, align 4 %60 = load ptr, ptr %6, align 8 %61 = call i64 @recv(i32 noundef %59, ptr noundef %60, i32 noundef 255, i32 noundef 0) store i64 %61, ptr %7, align 8 %62 = load i64, ptr %7, align 8 %63 = icmp ugt i64 %62, 0 br i1 %63, label %64, label %68 64: ; preds = %49 %65 = load ptr, ptr %6, align 8 %66 = load i64, ptr %7, align 8 %67 = getelementptr inbounds i8, ptr %65, i64 %66 store i8 0, ptr %67, align 1 br label %68 68: ; preds = %64, %49 %69 = load ptr, ptr %6, align 8 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %69) br label %71 71: ; preds = %68 %72 = load ptr, ptr %6, align 8 %73 = call i64 @strcmp(ptr noundef %72, ptr noundef @.str.6) %74 = icmp ne i64 %73, 0 br i1 %74, label %49, label %75, !llvm.loop !6 75: ; preds = %71 %76 = load i32, ptr %10, align 4 %77 = call i32 @close(i32 noundef %76) %78 = load i32, ptr %9, align 4 %79 = call i32 @close(i32 noundef %78) br label %133 80: ; preds = %2 %81 = load i32, ptr @AF_INET, align 4 %82 = load i32, ptr @SOCK_STREAM, align 4 %83 = call i32 @socket(i32 noundef %81, i32 noundef %82, i32 noundef 0) store i32 %83, ptr %9, align 4 %84 = load ptr, ptr %5, align 8 %85 = getelementptr inbounds ptr, ptr %84, i64 1 %86 = load ptr, ptr %85, align 8 %87 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 %88 = call i32 @inet_aton(ptr noundef %86, ptr noundef %87) %89 = load i32, ptr %9, align 4 %90 = call i64 @connect(i32 noundef %89, ptr noundef %8, i32 noundef 12) %91 = icmp eq i64 %90, 0 br i1 %91, label %92, label %98 92: ; preds = %80 %93 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 %94 = getelementptr inbounds %struct.TYPE_3__, ptr %93, i32 0, i32 0 %95 = load i32, ptr %94, align 4 %96 = call ptr @inet_ntoa(i32 %95) %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %96) br label %98 98: ; preds = %92, %80 br label %99 99: ; preds = %126, %98 %100 = load i32, ptr %9, align 4 %101 = load ptr, ptr %6, align 8 %102 = call i64 @recv(i32 noundef %100, ptr noundef %101, i32 noundef 255, i32 noundef 0) store i64 %102, ptr %7, align 8 %103 = load i64, ptr %7, align 8 %104 = icmp ugt i64 %103, 0 br i1 %104, label %105, label %109 105: ; preds = %99 %106 = load ptr, ptr %6, align 8 %107 = load i64, ptr %7, align 8 %108 = getelementptr inbounds i8, ptr %106, i64 %107 store i8 0, ptr %108, align 1 br label %109 109: ; preds = %105, %99 %110 = load ptr, ptr %6, align 8 %111 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %110) %112 = load ptr, ptr %6, align 8 %113 = call i64 @strcmp(ptr noundef %112, ptr noundef @.str.6) %114 = icmp ne i64 %113, 0 br i1 %114, label %115, label %125 115: ; preds = %109 %116 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %117 = load ptr, ptr %6, align 8 %118 = load i32, ptr @stdin, align 4 %119 = call i32 @fgets(ptr noundef %117, i32 noundef 256, i32 noundef %118) %120 = load i32, ptr %9, align 4 %121 = load ptr, ptr %6, align 8 %122 = load ptr, ptr %6, align 8 %123 = call i32 @strlen(ptr noundef %122) %124 = call i32 @send(i32 noundef %120, ptr noundef %121, i32 noundef %123, i32 noundef 0) br label %125 125: ; preds = %115, %109 br label %126 126: ; preds = %125 %127 = load ptr, ptr %6, align 8 %128 = call i64 @strcmp(ptr noundef %127, ptr noundef @.str.6) %129 = icmp ne i64 %128, 0 br i1 %129, label %99, label %130, !llvm.loop !8 130: ; preds = %126 %131 = load i32, ptr %9, align 4 %132 = call i32 @close(i32 noundef %131) br label %133 133: ; preds = %130, %75 %134 = load ptr, ptr %6, align 8 %135 = call i32 @free(ptr noundef %134) %136 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %136 } declare i32 @printf(ptr noundef, ...) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @inet_ntoa(i32) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @inet_aton(ptr noundef, ptr noundef) #1 declare i64 @connect(i32 noundef, 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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpvm1bw_b5.c' source_filename = "/tmp/tmpvm1bw_b5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @ENOMEM = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvm1bw_b5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @ENOMEM = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmpm2u1i5.c' source_filename = "/tmp/tmpmpm2u1i5.c" target datalayout = "e-m:e-p270: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/tmpmpm2u1i5.c" target datalayout = "e-m:e-p270: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/tmpr43hevo2.c' source_filename = "/tmp/tmpr43hevo2.c" target datalayout = "e-m:e-p270: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 @foo(ptr noalias noundef %0, ptr noalias noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 %12 = load i32, ptr %8, align 4 %13 = sdiv i32 %12, 16 store i32 %13, ptr %8, align 4 store i32 0, ptr %11, align 4 br label %14 14: ; preds = %179, %5 %15 = load i32, ptr %11, align 4 %16 = load i32, ptr %8, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %182 18: ; preds = %14 %19 = load ptr, ptr %7, align 8 %20 = getelementptr inbounds i16, ptr %19, i64 0 %21 = load i16, ptr %20, align 2 %22 = sext i16 %21 to i32 %23 = mul nsw i32 3, %22 %24 = load ptr, ptr %7, align 8 %25 = load i32, ptr %9, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i16, ptr %24, i64 %26 %28 = load i16, ptr %27, align 2 %29 = sext i16 %28 to i32 %30 = add nsw i32 %23, %29 %31 = load ptr, ptr %6, align 8 %32 = getelementptr inbounds i16, ptr %31, i64 0 %33 = load i16, ptr %32, align 2 %34 = sext i16 %33 to i32 %35 = add nsw i32 %34, %30 %36 = trunc i32 %35 to i16 store i16 %36, ptr %32, align 2 %37 = load ptr, ptr %7, align 8 %38 = getelementptr inbounds i16, ptr %37, i64 1 %39 = load i16, ptr %38, align 2 %40 = sext i16 %39 to i32 %41 = mul nsw i32 3, %40 %42 = load ptr, ptr %7, align 8 %43 = load i32, ptr %9, align 4 %44 = add nsw i32 1, %43 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i16, ptr %42, i64 %45 %47 = load i16, ptr %46, align 2 %48 = sext i16 %47 to i32 %49 = add nsw i32 %41, %48 %50 = load ptr, ptr %6, align 8 %51 = getelementptr inbounds i16, ptr %50, i64 1 %52 = load i16, ptr %51, align 2 %53 = sext i16 %52 to i32 %54 = add nsw i32 %53, %49 %55 = trunc i32 %54 to i16 store i16 %55, ptr %51, align 2 %56 = load ptr, ptr %7, align 8 %57 = getelementptr inbounds i16, ptr %56, i64 2 %58 = load i16, ptr %57, align 2 %59 = sext i16 %58 to i32 %60 = mul nsw i32 3, %59 %61 = load ptr, ptr %7, align 8 %62 = load i32, ptr %9, align 4 %63 = add nsw i32 2, %62 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i16, ptr %61, i64 %64 %66 = load i16, ptr %65, align 2 %67 = sext i16 %66 to i32 %68 = add nsw i32 %60, %67 %69 = load ptr, ptr %6, align 8 %70 = getelementptr inbounds i16, ptr %69, i64 2 %71 = load i16, ptr %70, align 2 %72 = sext i16 %71 to i32 %73 = add nsw i32 %72, %68 %74 = trunc i32 %73 to i16 store i16 %74, ptr %70, align 2 %75 = load ptr, ptr %7, align 8 %76 = getelementptr inbounds i16, ptr %75, i64 3 %77 = load i16, ptr %76, align 2 %78 = sext i16 %77 to i32 %79 = mul nsw i32 3, %78 %80 = load ptr, ptr %7, align 8 %81 = load i32, ptr %9, align 4 %82 = add nsw i32 3, %81 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i16, ptr %80, i64 %83 %85 = load i16, ptr %84, align 2 %86 = sext i16 %85 to i32 %87 = add nsw i32 %79, %86 %88 = load ptr, ptr %6, align 8 %89 = getelementptr inbounds i16, ptr %88, i64 3 %90 = load i16, ptr %89, align 2 %91 = sext i16 %90 to i32 %92 = add nsw i32 %91, %87 %93 = trunc i32 %92 to i16 store i16 %93, ptr %89, align 2 %94 = load ptr, ptr %7, align 8 %95 = getelementptr inbounds i16, ptr %94, i64 4 %96 = load i16, ptr %95, align 2 %97 = sext i16 %96 to i32 %98 = mul nsw i32 3, %97 %99 = load ptr, ptr %7, align 8 %100 = load i32, ptr %9, align 4 %101 = add nsw i32 4, %100 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i16, ptr %99, i64 %102 %104 = load i16, ptr %103, align 2 %105 = sext i16 %104 to i32 %106 = add nsw i32 %98, %105 %107 = load ptr, ptr %6, align 8 %108 = getelementptr inbounds i16, ptr %107, i64 4 %109 = load i16, ptr %108, align 2 %110 = sext i16 %109 to i32 %111 = add nsw i32 %110, %106 %112 = trunc i32 %111 to i16 store i16 %112, ptr %108, align 2 %113 = load ptr, ptr %7, align 8 %114 = getelementptr inbounds i16, ptr %113, i64 5 %115 = load i16, ptr %114, align 2 %116 = sext i16 %115 to i32 %117 = mul nsw i32 3, %116 %118 = load ptr, ptr %7, align 8 %119 = load i32, ptr %9, align 4 %120 = add nsw i32 5, %119 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds i16, ptr %118, i64 %121 %123 = load i16, ptr %122, align 2 %124 = sext i16 %123 to i32 %125 = add nsw i32 %117, %124 %126 = load ptr, ptr %6, align 8 %127 = getelementptr inbounds i16, ptr %126, i64 5 %128 = load i16, ptr %127, align 2 %129 = sext i16 %128 to i32 %130 = add nsw i32 %129, %125 %131 = trunc i32 %130 to i16 store i16 %131, ptr %127, align 2 %132 = load ptr, ptr %7, align 8 %133 = getelementptr inbounds i16, ptr %132, i64 6 %134 = load i16, ptr %133, align 2 %135 = sext i16 %134 to i32 %136 = mul nsw i32 3, %135 %137 = load ptr, ptr %7, align 8 %138 = load i32, ptr %9, align 4 %139 = add nsw i32 6, %138 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds i16, ptr %137, i64 %140 %142 = load i16, ptr %141, align 2 %143 = sext i16 %142 to i32 %144 = add nsw i32 %136, %143 %145 = load ptr, ptr %6, align 8 %146 = getelementptr inbounds i16, ptr %145, i64 6 %147 = load i16, ptr %146, align 2 %148 = sext i16 %147 to i32 %149 = add nsw i32 %148, %144 %150 = trunc i32 %149 to i16 store i16 %150, ptr %146, align 2 %151 = load ptr, ptr %7, align 8 %152 = getelementptr inbounds i16, ptr %151, i64 7 %153 = load i16, ptr %152, align 2 %154 = sext i16 %153 to i32 %155 = mul nsw i32 3, %154 %156 = load ptr, ptr %7, align 8 %157 = load i32, ptr %9, align 4 %158 = add nsw i32 7, %157 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds i16, ptr %156, i64 %159 %161 = load i16, ptr %160, align 2 %162 = sext i16 %161 to i32 %163 = add nsw i32 %155, %162 %164 = load ptr, ptr %6, align 8 %165 = getelementptr inbounds i16, ptr %164, i64 7 %166 = load i16, ptr %165, align 2 %167 = sext i16 %166 to i32 %168 = add nsw i32 %167, %163 %169 = trunc i32 %168 to i16 store i16 %169, ptr %165, align 2 %170 = load ptr, ptr %6, align 8 %171 = getelementptr inbounds i16, ptr %170, i64 8 store ptr %171, ptr %6, align 8 %172 = load ptr, ptr %7, align 8 %173 = getelementptr inbounds i16, ptr %172, i64 8 store ptr %173, ptr %7, align 8 %174 = load i32, ptr %10, align 4 %175 = icmp eq i32 %174, 32 br i1 %175, label %176, label %178 176: ; preds = %18 %177 = call i32 (...) @abort() #2 unreachable 178: ; preds = %18 br label %179 179: ; preds = %178 %180 = load i32, ptr %11, align 4 %181 = add nsw i32 %180, 1 store i32 %181, ptr %11, align 4 br label %14, !llvm.loop !6 182: ; preds = %14 ret void } ; Function Attrs: noreturn declare i32 @abort(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr43hevo2.c" target datalayout = "e-m:e-p270: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 @foo(ptr noalias noundef %0, ptr noalias noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 %12 = load i32, ptr %8, align 4 %13 = sdiv i32 %12, 16 store i32 %13, ptr %8, align 4 store i32 0, ptr %11, align 4 %14 = load i32, ptr %11, align 4 %15 = load i32, ptr %8, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph, label %184 .lr.ph: ; preds = %5 br label %17 17: ; preds = %.lr.ph, %178 %18 = load ptr, ptr %7, align 8 %19 = getelementptr inbounds i16, ptr %18, i64 0 %20 = load i16, ptr %19, align 2 %21 = sext i16 %20 to i32 %22 = mul nsw i32 3, %21 %23 = load ptr, ptr %7, align 8 %24 = load i32, ptr %9, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i16, ptr %23, i64 %25 %27 = load i16, ptr %26, align 2 %28 = sext i16 %27 to i32 %29 = add nsw i32 %22, %28 %30 = load ptr, ptr %6, align 8 %31 = getelementptr inbounds i16, ptr %30, i64 0 %32 = load i16, ptr %31, align 2 %33 = sext i16 %32 to i32 %34 = add nsw i32 %33, %29 %35 = trunc i32 %34 to i16 store i16 %35, ptr %31, align 2 %36 = load ptr, ptr %7, align 8 %37 = getelementptr inbounds i16, ptr %36, i64 1 %38 = load i16, ptr %37, align 2 %39 = sext i16 %38 to i32 %40 = mul nsw i32 3, %39 %41 = load ptr, ptr %7, align 8 %42 = load i32, ptr %9, align 4 %43 = add nsw i32 1, %42 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i16, ptr %41, i64 %44 %46 = load i16, ptr %45, align 2 %47 = sext i16 %46 to i32 %48 = add nsw i32 %40, %47 %49 = load ptr, ptr %6, align 8 %50 = getelementptr inbounds i16, ptr %49, i64 1 %51 = load i16, ptr %50, align 2 %52 = sext i16 %51 to i32 %53 = add nsw i32 %52, %48 %54 = trunc i32 %53 to i16 store i16 %54, ptr %50, align 2 %55 = load ptr, ptr %7, align 8 %56 = getelementptr inbounds i16, ptr %55, i64 2 %57 = load i16, ptr %56, align 2 %58 = sext i16 %57 to i32 %59 = mul nsw i32 3, %58 %60 = load ptr, ptr %7, align 8 %61 = load i32, ptr %9, align 4 %62 = add nsw i32 2, %61 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i16, ptr %60, i64 %63 %65 = load i16, ptr %64, align 2 %66 = sext i16 %65 to i32 %67 = add nsw i32 %59, %66 %68 = load ptr, ptr %6, align 8 %69 = getelementptr inbounds i16, ptr %68, i64 2 %70 = load i16, ptr %69, align 2 %71 = sext i16 %70 to i32 %72 = add nsw i32 %71, %67 %73 = trunc i32 %72 to i16 store i16 %73, ptr %69, align 2 %74 = load ptr, ptr %7, align 8 %75 = getelementptr inbounds i16, ptr %74, i64 3 %76 = load i16, ptr %75, align 2 %77 = sext i16 %76 to i32 %78 = mul nsw i32 3, %77 %79 = load ptr, ptr %7, align 8 %80 = load i32, ptr %9, align 4 %81 = add nsw i32 3, %80 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i16, ptr %79, i64 %82 %84 = load i16, ptr %83, align 2 %85 = sext i16 %84 to i32 %86 = add nsw i32 %78, %85 %87 = load ptr, ptr %6, align 8 %88 = getelementptr inbounds i16, ptr %87, i64 3 %89 = load i16, ptr %88, align 2 %90 = sext i16 %89 to i32 %91 = add nsw i32 %90, %86 %92 = trunc i32 %91 to i16 store i16 %92, ptr %88, align 2 %93 = load ptr, ptr %7, align 8 %94 = getelementptr inbounds i16, ptr %93, i64 4 %95 = load i16, ptr %94, align 2 %96 = sext i16 %95 to i32 %97 = mul nsw i32 3, %96 %98 = load ptr, ptr %7, align 8 %99 = load i32, ptr %9, align 4 %100 = add nsw i32 4, %99 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds i16, ptr %98, i64 %101 %103 = load i16, ptr %102, align 2 %104 = sext i16 %103 to i32 %105 = add nsw i32 %97, %104 %106 = load ptr, ptr %6, align 8 %107 = getelementptr inbounds i16, ptr %106, i64 4 %108 = load i16, ptr %107, align 2 %109 = sext i16 %108 to i32 %110 = add nsw i32 %109, %105 %111 = trunc i32 %110 to i16 store i16 %111, ptr %107, align 2 %112 = load ptr, ptr %7, align 8 %113 = getelementptr inbounds i16, ptr %112, i64 5 %114 = load i16, ptr %113, align 2 %115 = sext i16 %114 to i32 %116 = mul nsw i32 3, %115 %117 = load ptr, ptr %7, align 8 %118 = load i32, ptr %9, align 4 %119 = add nsw i32 5, %118 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds i16, ptr %117, i64 %120 %122 = load i16, ptr %121, align 2 %123 = sext i16 %122 to i32 %124 = add nsw i32 %116, %123 %125 = load ptr, ptr %6, align 8 %126 = getelementptr inbounds i16, ptr %125, i64 5 %127 = load i16, ptr %126, align 2 %128 = sext i16 %127 to i32 %129 = add nsw i32 %128, %124 %130 = trunc i32 %129 to i16 store i16 %130, ptr %126, align 2 %131 = load ptr, ptr %7, align 8 %132 = getelementptr inbounds i16, ptr %131, i64 6 %133 = load i16, ptr %132, align 2 %134 = sext i16 %133 to i32 %135 = mul nsw i32 3, %134 %136 = load ptr, ptr %7, align 8 %137 = load i32, ptr %9, align 4 %138 = add nsw i32 6, %137 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds i16, ptr %136, i64 %139 %141 = load i16, ptr %140, align 2 %142 = sext i16 %141 to i32 %143 = add nsw i32 %135, %142 %144 = load ptr, ptr %6, align 8 %145 = getelementptr inbounds i16, ptr %144, i64 6 %146 = load i16, ptr %145, align 2 %147 = sext i16 %146 to i32 %148 = add nsw i32 %147, %143 %149 = trunc i32 %148 to i16 store i16 %149, ptr %145, align 2 %150 = load ptr, ptr %7, align 8 %151 = getelementptr inbounds i16, ptr %150, i64 7 %152 = load i16, ptr %151, align 2 %153 = sext i16 %152 to i32 %154 = mul nsw i32 3, %153 %155 = load ptr, ptr %7, align 8 %156 = load i32, ptr %9, align 4 %157 = add nsw i32 7, %156 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds i16, ptr %155, i64 %158 %160 = load i16, ptr %159, align 2 %161 = sext i16 %160 to i32 %162 = add nsw i32 %154, %161 %163 = load ptr, ptr %6, align 8 %164 = getelementptr inbounds i16, ptr %163, i64 7 %165 = load i16, ptr %164, align 2 %166 = sext i16 %165 to i32 %167 = add nsw i32 %166, %162 %168 = trunc i32 %167 to i16 store i16 %168, ptr %164, align 2 %169 = load ptr, ptr %6, align 8 %170 = getelementptr inbounds i16, ptr %169, i64 8 store ptr %170, ptr %6, align 8 %171 = load ptr, ptr %7, align 8 %172 = getelementptr inbounds i16, ptr %171, i64 8 store ptr %172, ptr %7, align 8 %173 = load i32, ptr %10, align 4 %174 = icmp eq i32 %173, 32 br i1 %174, label %175, label %177 175: ; preds = %17 %176 = call i32 (...) @abort() #2 unreachable 177: ; preds = %17 br label %178 178: ; preds = %177 %179 = load i32, ptr %11, align 4 %180 = add nsw i32 %179, 1 store i32 %180, ptr %11, align 4 %181 = load i32, ptr %11, align 4 %182 = load i32, ptr %8, align 4 %183 = icmp slt i32 %181, %182 br i1 %183, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %178 br label %184 184: ; preds = %._crit_edge, %5 ret void } ; Function Attrs: noreturn declare i32 @abort(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpq_98gqbi.c' source_filename = "/tmp/tmpq_98gqbi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @print_int_val(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 i32, ptr %3, align 4 %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq_98gqbi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @print_int_val(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 i32, ptr %3, align 4 %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) 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"}
; ModuleID = '/tmp/tmpl4kt6uao.c' source_filename = "/tmp/tmpl4kt6uao.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @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/tmpl4kt6uao.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @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/tmpvq2dxa7u.c' source_filename = "/tmp/tmpvq2dxa7u.c" target datalayout = "e-m:e-p270: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/tmpvq2dxa7u.c" target datalayout = "e-m:e-p270: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/tmpprt9xwq5.c' source_filename = "/tmp/tmpprt9xwq5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_add_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/tmpprt9xwq5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_add_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/tmpv7hrweqp.c' source_filename = "/tmp/tmpv7hrweqp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"wc\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 store ptr null, ptr %7, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 2 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 1, ptr %3, align 4 br label %40 11: ; preds = %2 %12 = load i32, ptr %4, align 4 %13 = icmp sgt i32 %12, 2 br i1 %13, label %14, label %28 14: ; preds = %11 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 45, %19 br i1 %20, label %21, label %28 21: ; preds = %14 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 store ptr %24, ptr %7, align 8 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 2 %27 = load ptr, ptr %26, align 8 store ptr %27, ptr %6, align 8 br label %32 28: ; preds = %14, %11 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 1 %31 = load ptr, ptr %30, align 8 store ptr %31, ptr %6, align 8 br label %32 32: ; preds = %28, %21 br label %33 33: ; preds = %32 %34 = call i32 @close(i32 noundef 0) %35 = load ptr, ptr %6, align 8 %36 = load i32, ptr @O_RDONLY, align 4 %37 = call i32 @open(ptr noundef %35, i32 noundef %36) %38 = load ptr, ptr %7, align 8 %39 = call i32 @execlp(ptr noundef @.str, ptr noundef @.str, ptr noundef %38, ptr noundef null) br label %40 40: ; preds = %33, %10 %41 = load i32, ptr %3, align 4 ret i32 %41 } declare i32 @close(i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @execlp(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv7hrweqp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"wc\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 store ptr null, ptr %7, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 2 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 1, ptr %3, align 4 br label %40 11: ; preds = %2 %12 = load i32, ptr %4, align 4 %13 = icmp sgt i32 %12, 2 br i1 %13, label %14, label %28 14: ; preds = %11 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 45, %19 br i1 %20, label %21, label %28 21: ; preds = %14 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 store ptr %24, ptr %7, align 8 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 2 %27 = load ptr, ptr %26, align 8 store ptr %27, ptr %6, align 8 br label %32 28: ; preds = %14, %11 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 1 %31 = load ptr, ptr %30, align 8 store ptr %31, ptr %6, align 8 br label %32 32: ; preds = %28, %21 br label %33 33: ; preds = %32 %34 = call i32 @close(i32 noundef 0) %35 = load ptr, ptr %6, align 8 %36 = load i32, ptr @O_RDONLY, align 4 %37 = call i32 @open(ptr noundef %35, i32 noundef %36) %38 = load ptr, ptr %7, align 8 %39 = call i32 @execlp(ptr noundef @.str, ptr noundef @.str, ptr noundef %38, ptr noundef null) br label %40 40: ; preds = %33, %10 %41 = load i32, ptr %3, align 4 ret i32 %41 } declare i32 @close(i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @execlp(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp817as_f1.c' source_filename = "/tmp/tmp817as_f1.c" target datalayout = "e-m:e-p270: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 @s2winPassiveMotionFunc(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 @glutPassiveMotionFunc(ptr noundef %3) ret void } declare i32 @glutPassiveMotionFunc(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/tmp817as_f1.c" target datalayout = "e-m:e-p270: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 @s2winPassiveMotionFunc(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 @glutPassiveMotionFunc(ptr noundef %3) ret void } declare i32 @glutPassiveMotionFunc(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/tmp0ubcpwwm.c' source_filename = "/tmp/tmp0ubcpwwm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"0123456789-_\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @valid_fname(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i8, align 1 store ptr %0, ptr %3, align 8 br label %5 5: ; preds = %33, %1 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds i8, ptr %6, i32 1 store ptr %7, ptr %3, align 8 %8 = load i8, ptr %6, align 1 store i8 %8, ptr %4, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %34 11: ; preds = %5 %12 = load i8, ptr %4, align 1 %13 = sext i8 %12 to i32 %14 = icmp sge i32 %13, 65 br i1 %14, label %15, label %19 15: ; preds = %11 %16 = load i8, ptr %4, align 1 %17 = sext i8 %16 to i32 %18 = icmp sle i32 %17, 90 br i1 %18, label %31, label %19 19: ; preds = %15, %11 %20 = load i8, ptr %4, align 1 %21 = sext i8 %20 to i32 %22 = icmp sge i32 %21, 97 br i1 %22, label %23, label %27 23: ; preds = %19 %24 = load i8, ptr %4, align 1 %25 = sext i8 %24 to i32 %26 = icmp sle i32 %25, 122 br i1 %26, label %31, label %27 27: ; preds = %23, %19 %28 = load i8, ptr %4, align 1 %29 = call i64 @strchr(ptr noundef @.str, i8 noundef signext %28) %30 = icmp ne i64 %29, 0 br i1 %30, label %31, label %32 31: ; preds = %27, %23, %15 br label %33 32: ; preds = %27 store i32 0, ptr %2, align 4 br label %35 33: ; preds = %31 br label %5, !llvm.loop !6 34: ; preds = %5 store i32 1, ptr %2, align 4 br label %35 35: ; preds = %34, %32 %36 = load i32, ptr %2, align 4 ret i32 %36 } declare i64 @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0ubcpwwm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"0123456789-_\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @valid_fname(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i8, align 1 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = getelementptr inbounds i8, ptr %5, i32 1 store ptr %6, ptr %3, align 8 %7 = load i8, ptr %5, align 1 store i8 %7, ptr %4, align 1 %8 = sext i8 %7 to i32 %9 = icmp ne i32 %8, 0 br i1 %9, label %.lr.ph, label %38 .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %32 %11 = load i8, ptr %4, align 1 %12 = sext i8 %11 to i32 %13 = icmp sge i32 %12, 65 br i1 %13, label %14, label %18 14: ; preds = %10 %15 = load i8, ptr %4, align 1 %16 = sext i8 %15 to i32 %17 = icmp sle i32 %16, 90 br i1 %17, label %30, label %18 18: ; preds = %14, %10 %19 = load i8, ptr %4, align 1 %20 = sext i8 %19 to i32 %21 = icmp sge i32 %20, 97 br i1 %21, label %22, label %26 22: ; preds = %18 %23 = load i8, ptr %4, align 1 %24 = sext i8 %23 to i32 %25 = icmp sle i32 %24, 122 br i1 %25, label %30, label %26 26: ; preds = %22, %18 %27 = load i8, ptr %4, align 1 %28 = call i64 @strchr(ptr noundef @.str, i8 noundef signext %27) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %26, %22, %14 br label %32 31: ; preds = %26 store i32 0, ptr %2, align 4 br label %39 32: ; preds = %30 %33 = load ptr, ptr %3, align 8 %34 = getelementptr inbounds i8, ptr %33, i32 1 store ptr %34, ptr %3, align 8 %35 = load i8, ptr %33, align 1 store i8 %35, ptr %4, align 1 %36 = sext i8 %35 to i32 %37 = icmp ne i32 %36, 0 br i1 %37, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %38 38: ; preds = %._crit_edge, %1 store i32 1, ptr %2, align 4 br label %39 39: ; preds = %38, %31 %40 = load i32, ptr %2, align 4 ret i32 %40 } declare i64 @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_g0og8nl.c' source_filename = "/tmp/tmp_g0og8nl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @get_dtree_output(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10) #0 { %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca ptr, align 8 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca ptr, align 8 %27 = alloca ptr, align 8 store ptr %0, ptr %12, align 8 store i32 %1, ptr %13, align 4 store i32 %2, ptr %14, align 4 store i32 %3, ptr %15, align 4 store i32 %4, ptr %16, align 4 store i32 %5, ptr %17, align 4 store i32 %6, ptr %18, align 4 store ptr %7, ptr %19, align 8 store i32 %8, ptr %20, align 4 store i32 %9, ptr %21, align 4 store i32 %10, ptr %22, align 4 %28 = load ptr, ptr %12, align 8 %29 = getelementptr inbounds i32, ptr %28, i64 0 %30 = load i32, ptr %29, align 4 store i32 %30, ptr %25, align 4 %31 = load ptr, ptr %12, align 8 %32 = getelementptr inbounds i32, ptr %31, i64 4 store ptr %32, ptr %26, align 8 %33 = load ptr, ptr %12, align 8 %34 = load i32, ptr %25, align 4 %35 = shl i32 1, %34 %36 = sub nsw i32 %35, 1 %37 = add nsw i32 1, %36 %38 = sext i32 %37 to i64 %39 = mul i64 %38, 4 %40 = getelementptr inbounds i32, ptr %33, i64 %39 store ptr %40, ptr %27, align 8 store i32 0, ptr %24, align 4 store i32 0, ptr %23, align 4 br label %41 41: ; preds = %72, %11 %42 = load i32, ptr %23, align 4 %43 = load i32, ptr %25, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %45, label %75 45: ; preds = %41 %46 = load ptr, ptr %26, align 8 %47 = load i32, ptr %24, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 %50 = load i32, ptr %49, align 4 %51 = load i32, ptr %13, align 4 %52 = load i32, ptr %14, align 4 %53 = load i32, ptr %15, align 4 %54 = load i32, ptr %16, align 4 %55 = load i32, ptr %17, align 4 %56 = load i32, ptr %18, align 4 %57 = load ptr, ptr %19, align 8 %58 = load i32, ptr %20, align 4 %59 = load i32, ptr %21, align 4 %60 = load i32, ptr %22, align 4 %61 = call i64 @_bintest(i32 noundef %50, i32 noundef %51, i32 noundef %52, i32 noundef %53, i32 noundef %54, i32 noundef %55, i32 noundef %56, ptr noundef %57, i32 noundef %58, i32 noundef %59, i32 noundef %60) %62 = icmp ne i64 %61, 0 br i1 %62, label %63, label %67 63: ; preds = %45 %64 = load i32, ptr %24, align 4 %65 = mul nsw i32 2, %64 %66 = add nsw i32 %65, 2 store i32 %66, ptr %24, align 4 br label %71 67: ; preds = %45 %68 = load i32, ptr %24, align 4 %69 = mul nsw i32 2, %68 %70 = add nsw i32 %69, 1 store i32 %70, ptr %24, align 4 br label %71 71: ; preds = %67, %63 br label %72 72: ; preds = %71 %73 = load i32, ptr %23, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %23, align 4 br label %41, !llvm.loop !6 75: ; preds = %41 %76 = load ptr, ptr %27, align 8 %77 = load i32, ptr %24, align 4 %78 = load i32, ptr %25, align 4 %79 = shl i32 1, %78 %80 = sub nsw i32 %79, 1 %81 = sub nsw i32 %77, %80 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds float, ptr %76, i64 %82 %84 = load float, ptr %83, align 4 ret float %84 } declare i64 @_bintest(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_g0og8nl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @get_dtree_output(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10) #0 { %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca ptr, align 8 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca ptr, align 8 %27 = alloca ptr, align 8 store ptr %0, ptr %12, align 8 store i32 %1, ptr %13, align 4 store i32 %2, ptr %14, align 4 store i32 %3, ptr %15, align 4 store i32 %4, ptr %16, align 4 store i32 %5, ptr %17, align 4 store i32 %6, ptr %18, align 4 store ptr %7, ptr %19, align 8 store i32 %8, ptr %20, align 4 store i32 %9, ptr %21, align 4 store i32 %10, ptr %22, align 4 %28 = load ptr, ptr %12, align 8 %29 = getelementptr inbounds i32, ptr %28, i64 0 %30 = load i32, ptr %29, align 4 store i32 %30, ptr %25, align 4 %31 = load ptr, ptr %12, align 8 %32 = getelementptr inbounds i32, ptr %31, i64 4 store ptr %32, ptr %26, align 8 %33 = load ptr, ptr %12, align 8 %34 = load i32, ptr %25, align 4 %35 = shl i32 1, %34 %36 = sub nsw i32 %35, 1 %37 = add nsw i32 1, %36 %38 = sext i32 %37 to i64 %39 = mul i64 %38, 4 %40 = getelementptr inbounds i32, ptr %33, i64 %39 store ptr %40, ptr %27, align 8 store i32 0, ptr %24, align 4 store i32 0, ptr %23, align 4 %41 = load i32, ptr %23, align 4 %42 = load i32, ptr %25, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %.lr.ph, label %77 .lr.ph: ; preds = %11 br label %44 44: ; preds = %.lr.ph, %71 %45 = load ptr, ptr %26, align 8 %46 = load i32, ptr %24, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %45, i64 %47 %49 = load i32, ptr %48, align 4 %50 = load i32, ptr %13, align 4 %51 = load i32, ptr %14, align 4 %52 = load i32, ptr %15, align 4 %53 = load i32, ptr %16, align 4 %54 = load i32, ptr %17, align 4 %55 = load i32, ptr %18, align 4 %56 = load ptr, ptr %19, align 8 %57 = load i32, ptr %20, align 4 %58 = load i32, ptr %21, align 4 %59 = load i32, ptr %22, align 4 %60 = call i64 @_bintest(i32 noundef %49, i32 noundef %50, i32 noundef %51, i32 noundef %52, i32 noundef %53, i32 noundef %54, i32 noundef %55, ptr noundef %56, i32 noundef %57, i32 noundef %58, i32 noundef %59) %61 = icmp ne i64 %60, 0 br i1 %61, label %62, label %66 62: ; preds = %44 %63 = load i32, ptr %24, align 4 %64 = mul nsw i32 2, %63 %65 = add nsw i32 %64, 2 store i32 %65, ptr %24, align 4 br label %70 66: ; preds = %44 %67 = load i32, ptr %24, align 4 %68 = mul nsw i32 2, %67 %69 = add nsw i32 %68, 1 store i32 %69, ptr %24, align 4 br label %70 70: ; preds = %66, %62 br label %71 71: ; preds = %70 %72 = load i32, ptr %23, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %23, align 4 %74 = load i32, ptr %23, align 4 %75 = load i32, ptr %25, align 4 %76 = icmp slt i32 %74, %75 br i1 %76, label %44, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %71 br label %77 77: ; preds = %._crit_edge, %11 %78 = load ptr, ptr %27, align 8 %79 = load i32, ptr %24, align 4 %80 = load i32, ptr %25, align 4 %81 = shl i32 1, %80 %82 = sub nsw i32 %81, 1 %83 = sub nsw i32 %79, %82 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds float, ptr %78, i64 %84 %86 = load float, ptr %85, align 4 ret float %86 } declare i64 @_bintest(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp3q73joi3.c' source_filename = "/tmp/tmp3q73joi3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"PPID: %ld\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c" PID: %ld\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c" SID: %ld\0A\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"PGID: %ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_info(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 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %5) %7 = call i64 (...) @getppid() %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %7) %9 = call i64 (...) @getpid() %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %9) %11 = load i32, ptr %4, align 4 %12 = call i64 @getsid(i32 noundef %11) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %12) %14 = load i32, ptr %4, align 4 %15 = call i64 @getpgid(i32 noundef %14) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %15) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i64 @getppid(...) #1 declare i64 @getpid(...) #1 declare i64 @getsid(i32 noundef) #1 declare i64 @getpgid(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/tmp3q73joi3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"PPID: %ld\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c" PID: %ld\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c" SID: %ld\0A\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"PGID: %ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_info(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 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %5) %7 = call i64 (...) @getppid() %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %7) %9 = call i64 (...) @getpid() %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %9) %11 = load i32, ptr %4, align 4 %12 = call i64 @getsid(i32 noundef %11) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %12) %14 = load i32, ptr %4, align 4 %15 = call i64 @getpgid(i32 noundef %14) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %15) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i64 @getppid(...) #1 declare i64 @getpid(...) #1 declare i64 @getsid(i32 noundef) #1 declare i64 @getpgid(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/tmpzq5jyvlq.c' source_filename = "/tmp/tmpzq5jyvlq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"scus\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"figur\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"chiudi\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c" - letto dal client %d: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @client_echo(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [128 x i8], align 16 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %8 = call i32 @read(i32 noundef %6, ptr noundef %7, i32 noundef 128) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp sle i32 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %1 store i32 -1, ptr %2, align 4 br label %35 12: ; preds = %1 %13 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %14 = call i64 @memcmp(ptr noundef %13, ptr noundef @.str, i32 noundef 4) %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %12 %17 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %18 = call i32 @memcpy(ptr noundef %17, ptr noundef @.str.1, i32 noundef 6) store i32 6, ptr %5, align 4 br label %25 19: ; preds = %12 %20 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %21 = call i64 @memcmp(ptr noundef %20, ptr noundef @.str.2, i32 noundef 6) %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %19 store i32 -1, ptr %2, align 4 br label %35 24: ; preds = %19 br label %25 25: ; preds = %24, %16 %26 = load i32, ptr %3, align 4 %27 = call i32 @printf(ptr noundef @.str.3, i32 noundef %26) %28 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %29 = load i32, ptr %5, align 4 %30 = call i32 @stampa(ptr noundef %28, i32 noundef %29) %31 = load i32, ptr %3, align 4 %32 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %33 = load i32, ptr %5, align 4 %34 = call i32 @write(i32 noundef %31, ptr noundef %32, i32 noundef %33) store i32 0, ptr %2, align 4 br label %35 35: ; preds = %25, %23, %11 %36 = load i32, ptr %2, align 4 ret i32 %36 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @stampa(ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzq5jyvlq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"scus\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"figur\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"chiudi\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c" - letto dal client %d: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @client_echo(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [128 x i8], align 16 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %8 = call i32 @read(i32 noundef %6, ptr noundef %7, i32 noundef 128) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp sle i32 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %1 store i32 -1, ptr %2, align 4 br label %35 12: ; preds = %1 %13 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %14 = call i64 @memcmp(ptr noundef %13, ptr noundef @.str, i32 noundef 4) %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %12 %17 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %18 = call i32 @memcpy(ptr noundef %17, ptr noundef @.str.1, i32 noundef 6) store i32 6, ptr %5, align 4 br label %25 19: ; preds = %12 %20 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %21 = call i64 @memcmp(ptr noundef %20, ptr noundef @.str.2, i32 noundef 6) %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %19 store i32 -1, ptr %2, align 4 br label %35 24: ; preds = %19 br label %25 25: ; preds = %24, %16 %26 = load i32, ptr %3, align 4 %27 = call i32 @printf(ptr noundef @.str.3, i32 noundef %26) %28 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %29 = load i32, ptr %5, align 4 %30 = call i32 @stampa(ptr noundef %28, i32 noundef %29) %31 = load i32, ptr %3, align 4 %32 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %33 = load i32, ptr %5, align 4 %34 = call i32 @write(i32 noundef %31, ptr noundef %32, i32 noundef %33) store i32 0, ptr %2, align 4 br label %35 35: ; preds = %25, %23, %11 %36 = load i32, ptr %2, align 4 ret i32 %36 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @stampa(ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}