llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp67h1gfan.c' source_filename = "/tmp/tmp67h1gfan.c" target datalayout = "e-m:e-p270: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/tmp67h1gfan.c" target datalayout = "e-m:e-p270: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/tmp0hf4zotg.c' source_filename = "/tmp/tmp0hf4zotg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.3f(Gbit/s)\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"%.3f(Mbit/s)\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"%.3f(kbit/s)\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"%.3f(bit/s)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @conv_unit_rate(ptr noundef %0, i32 noundef %1, double noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca double, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store double %2, ptr %6, align 8 %7 = load double, ptr %6, align 8 %8 = fmul double %7, 8.000000e+00 store double %8, ptr %6, align 8 %9 = load double, ptr %6, align 8 %10 = fcmp oge double %9, 1.000000e+09 br i1 %10, label %11, label %17 11: ; preds = %3 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %5, align 4 %14 = load double, ptr %6, align 8 %15 = fdiv double %14, 1.000000e+09 %16 = call i32 @snprintf(ptr noundef %12, i32 noundef %13, ptr noundef @.str, double noundef %15) br label %42 17: ; preds = %3 %18 = load double, ptr %6, align 8 %19 = fcmp oge double %18, 1.000000e+06 br i1 %19, label %20, label %26 20: ; preds = %17 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %5, align 4 %23 = load double, ptr %6, align 8 %24 = fdiv double %23, 1.000000e+06 %25 = call i32 @snprintf(ptr noundef %21, i32 noundef %22, ptr noundef @.str.1, double noundef %24) br label %41 26: ; preds = %17 %27 = load double, ptr %6, align 8 %28 = fcmp oge double %27, 1.000000e+03 br i1 %28, label %29, label %35 29: ; preds = %26 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr %5, align 4 %32 = load double, ptr %6, align 8 %33 = fdiv double %32, 1.000000e+03 %34 = call i32 @snprintf(ptr noundef %30, i32 noundef %31, ptr noundef @.str.2, double noundef %33) br label %40 35: ; preds = %26 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %5, align 4 %38 = load double, ptr %6, align 8 %39 = call i32 @snprintf(ptr noundef %36, i32 noundef %37, ptr noundef @.str.3, double noundef %38) br label %40 40: ; preds = %35, %29 br label %41 41: ; preds = %40, %20 br label %42 42: ; preds = %41, %11 ret void } declare i32 @snprintf(ptr noundef, i32 noundef, 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/tmp0hf4zotg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.3f(Gbit/s)\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"%.3f(Mbit/s)\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"%.3f(kbit/s)\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"%.3f(bit/s)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @conv_unit_rate(ptr noundef %0, i32 noundef %1, double noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca double, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store double %2, ptr %6, align 8 %7 = load double, ptr %6, align 8 %8 = fmul double %7, 8.000000e+00 store double %8, ptr %6, align 8 %9 = load double, ptr %6, align 8 %10 = fcmp oge double %9, 1.000000e+09 br i1 %10, label %11, label %17 11: ; preds = %3 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %5, align 4 %14 = load double, ptr %6, align 8 %15 = fdiv double %14, 1.000000e+09 %16 = call i32 @snprintf(ptr noundef %12, i32 noundef %13, ptr noundef @.str, double noundef %15) br label %42 17: ; preds = %3 %18 = load double, ptr %6, align 8 %19 = fcmp oge double %18, 1.000000e+06 br i1 %19, label %20, label %26 20: ; preds = %17 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %5, align 4 %23 = load double, ptr %6, align 8 %24 = fdiv double %23, 1.000000e+06 %25 = call i32 @snprintf(ptr noundef %21, i32 noundef %22, ptr noundef @.str.1, double noundef %24) br label %41 26: ; preds = %17 %27 = load double, ptr %6, align 8 %28 = fcmp oge double %27, 1.000000e+03 br i1 %28, label %29, label %35 29: ; preds = %26 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr %5, align 4 %32 = load double, ptr %6, align 8 %33 = fdiv double %32, 1.000000e+03 %34 = call i32 @snprintf(ptr noundef %30, i32 noundef %31, ptr noundef @.str.2, double noundef %33) br label %40 35: ; preds = %26 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %5, align 4 %38 = load double, ptr %6, align 8 %39 = call i32 @snprintf(ptr noundef %36, i32 noundef %37, ptr noundef @.str.3, double noundef %38) br label %40 40: ; preds = %35, %29 br label %41 41: ; preds = %40, %20 br label %42 42: ; preds = %41, %11 ret void } declare i32 @snprintf(ptr noundef, i32 noundef, 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/tmplgxyfyse.c' source_filename = "/tmp/tmplgxyfyse.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @UINT32_MAX = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @hash2filenum(i64 noundef %0, i32 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i32, align 4 store i64 %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i64, ptr %3, align 8 %6 = sitofp i64 %5 to double %7 = load double, ptr @UINT32_MAX, align 8 %8 = fadd double %7, 1.000000e+00 %9 = fdiv double %6, %8 %10 = load i32, ptr %4, align 4 %11 = uitofp i32 %10 to double %12 = fmul double %9, %11 %13 = fptoui double %12 to i32 ret i32 %13 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplgxyfyse.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @UINT32_MAX = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @hash2filenum(i64 noundef %0, i32 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i32, align 4 store i64 %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i64, ptr %3, align 8 %6 = sitofp i64 %5 to double %7 = load double, ptr @UINT32_MAX, align 8 %8 = fadd double %7, 1.000000e+00 %9 = fdiv double %6, %8 %10 = load i32, ptr %4, align 4 %11 = uitofp i32 %10 to double %12 = fmul double %9, %11 %13 = fptoui double %12 to i32 ret i32 %13 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb7159xt6.c' source_filename = "/tmp/tmpb7159xt6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"right %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"left %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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, 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 = load i32, ptr %6, align 4 %10 = icmp sgt i32 %8, %9 br i1 %10, label %11, label %16 11: ; preds = %2 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %7, align 4 %14 = add nsw i32 %12, %13 %15 = call i32 @printf(ptr noundef @.str, i32 noundef %14) br label %21 16: ; preds = %2 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %7, align 4 %19 = add nsw i32 %17, %18 %20 = call i32 @printf(ptr noundef @.str.1, i32 noundef %19) br label %21 21: ; preds = %16, %11 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/tmpb7159xt6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"right %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"left %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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, 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 = load i32, ptr %6, align 4 %10 = icmp sgt i32 %8, %9 br i1 %10, label %11, label %16 11: ; preds = %2 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %7, align 4 %14 = add nsw i32 %12, %13 %15 = call i32 @printf(ptr noundef @.str, i32 noundef %14) br label %21 16: ; preds = %2 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %7, align 4 %19 = add nsw i32 %17, %18 %20 = call i32 @printf(ptr noundef @.str.1, i32 noundef %19) br label %21 21: ; preds = %16, %11 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/tmpk5vyd0tw.c' source_filename = "/tmp/tmpk5vyd0tw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"serial://%511s\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"udp://%511[^:]:%hu\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"[debug] line 33: Invalid uri '%s'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @lux_uri_open(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca [512 x i8], align 16 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds [512 x i8], ptr %4, i64 0, i64 0 %8 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %6, ptr noundef @.str, ptr noundef %7) %9 = icmp eq i32 %8, 1 br i1 %9, label %10, label %13 10: ; preds = %1 %11 = getelementptr inbounds [512 x i8], ptr %4, i64 0, i64 0 %12 = call i32 @lux_serial_open(ptr noundef %11) store i32 %12, ptr %2, align 4 br label %26 13: ; preds = %1 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds [512 x i8], ptr %4, i64 0, i64 0 %16 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %14, ptr noundef @.str.1, ptr noundef %15, ptr noundef %5) %17 = icmp eq i32 %16, 2 br i1 %17, label %18, label %22 18: ; preds = %13 %19 = getelementptr inbounds [512 x i8], ptr %4, i64 0, i64 0 %20 = load i32, ptr %5, align 4 %21 = call i32 @lux_network_open(ptr noundef %19, i32 noundef %20) store i32 %21, ptr %2, align 4 br label %26 22: ; preds = %13 br label %23 23: ; preds = %22 %24 = load ptr, ptr %3, align 8 %25 = call i32 @printf(ptr noundef @.str.2, ptr noundef %24) store i32 -1, ptr %2, align 4 br label %26 26: ; preds = %23, %18, %10 %27 = load i32, ptr %2, align 4 ret i32 %27 } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ...) #1 declare i32 @lux_serial_open(ptr noundef) #1 declare i32 @lux_network_open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk5vyd0tw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"serial://%511s\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"udp://%511[^:]:%hu\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"[debug] line 33: Invalid uri '%s'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @lux_uri_open(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca [512 x i8], align 16 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds [512 x i8], ptr %4, i64 0, i64 0 %8 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %6, ptr noundef @.str, ptr noundef %7) %9 = icmp eq i32 %8, 1 br i1 %9, label %10, label %13 10: ; preds = %1 %11 = getelementptr inbounds [512 x i8], ptr %4, i64 0, i64 0 %12 = call i32 @lux_serial_open(ptr noundef %11) store i32 %12, ptr %2, align 4 br label %26 13: ; preds = %1 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds [512 x i8], ptr %4, i64 0, i64 0 %16 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %14, ptr noundef @.str.1, ptr noundef %15, ptr noundef %5) %17 = icmp eq i32 %16, 2 br i1 %17, label %18, label %22 18: ; preds = %13 %19 = getelementptr inbounds [512 x i8], ptr %4, i64 0, i64 0 %20 = load i32, ptr %5, align 4 %21 = call i32 @lux_network_open(ptr noundef %19, i32 noundef %20) store i32 %21, ptr %2, align 4 br label %26 22: ; preds = %13 br label %23 23: ; preds = %22 %24 = load ptr, ptr %3, align 8 %25 = call i32 @printf(ptr noundef @.str.2, ptr noundef %24) store i32 -1, ptr %2, align 4 br label %26 26: ; preds = %23, %18, %10 %27 = load i32, ptr %2, align 4 ret i32 %27 } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ...) #1 declare i32 @lux_serial_open(ptr noundef) #1 declare i32 @lux_network_open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwn4uo6k1.c' source_filename = "/tmp/tmpwn4uo6k1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @edge_sparse_csr_reader_float(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 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 store ptr %6, ptr %14, align 8 %17 = load ptr, ptr %8, align 8 %18 = load ptr, ptr %9, align 8 %19 = load ptr, ptr %10, align 8 %20 = load ptr, ptr %12, align 8 %21 = load ptr, ptr %13, align 8 %22 = load ptr, ptr %14, align 8 %23 = call i32 @edge_sparse_csr_reader_double(ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %15, ptr noundef %20, ptr noundef %21, ptr noundef %22) %24 = load ptr, ptr %14, align 8 %25 = load i32, ptr %24, align 4 %26 = zext i32 %25 to i64 %27 = mul i64 %26, 4 %28 = trunc i64 %27 to i32 %29 = call i64 @malloc(i32 noundef %28) %30 = inttoptr i64 %29 to ptr %31 = load ptr, ptr %11, align 8 store ptr %30, ptr %31, align 8 store i32 0, ptr %16, align 4 br label %32 32: ; preds = %49, %7 %33 = load i32, ptr %16, align 4 %34 = load ptr, ptr %14, align 8 %35 = load i32, ptr %34, align 4 %36 = icmp ult i32 %33, %35 br i1 %36, label %37, label %52 37: ; preds = %32 %38 = load ptr, ptr %15, align 8 %39 = load i32, ptr %16, align 4 %40 = zext i32 %39 to i64 %41 = getelementptr inbounds double, ptr %38, i64 %40 %42 = load double, ptr %41, align 8 %43 = fptrunc double %42 to float %44 = load ptr, ptr %11, align 8 %45 = load ptr, ptr %44, align 8 %46 = load i32, ptr %16, align 4 %47 = zext i32 %46 to i64 %48 = getelementptr inbounds float, ptr %45, i64 %47 store float %43, ptr %48, align 4 br label %49 49: ; preds = %37 %50 = load i32, ptr %16, align 4 %51 = add i32 %50, 1 store i32 %51, ptr %16, align 4 br label %32, !llvm.loop !6 52: ; preds = %32 %53 = load ptr, ptr %15, align 8 %54 = call i32 @free(ptr noundef %53) ret void } declare i32 @edge_sparse_csr_reader_double(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwn4uo6k1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @edge_sparse_csr_reader_float(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 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 store ptr %6, ptr %14, align 8 %17 = load ptr, ptr %8, align 8 %18 = load ptr, ptr %9, align 8 %19 = load ptr, ptr %10, align 8 %20 = load ptr, ptr %12, align 8 %21 = load ptr, ptr %13, align 8 %22 = load ptr, ptr %14, align 8 %23 = call i32 @edge_sparse_csr_reader_double(ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %15, ptr noundef %20, ptr noundef %21, ptr noundef %22) %24 = load ptr, ptr %14, align 8 %25 = load i32, ptr %24, align 4 %26 = zext i32 %25 to i64 %27 = mul i64 %26, 4 %28 = trunc i64 %27 to i32 %29 = call i64 @malloc(i32 noundef %28) %30 = inttoptr i64 %29 to ptr %31 = load ptr, ptr %11, align 8 store ptr %30, ptr %31, align 8 store i32 0, ptr %16, align 4 %32 = load i32, ptr %16, align 4 %33 = load ptr, ptr %14, align 8 %34 = load i32, ptr %33, align 4 %35 = icmp ult i32 %32, %34 br i1 %35, label %.lr.ph, label %55 .lr.ph: ; preds = %7 br label %36 36: ; preds = %.lr.ph, %48 %37 = load ptr, ptr %15, align 8 %38 = load i32, ptr %16, align 4 %39 = zext i32 %38 to i64 %40 = getelementptr inbounds double, ptr %37, i64 %39 %41 = load double, ptr %40, align 8 %42 = fptrunc double %41 to float %43 = load ptr, ptr %11, align 8 %44 = load ptr, ptr %43, align 8 %45 = load i32, ptr %16, align 4 %46 = zext i32 %45 to i64 %47 = getelementptr inbounds float, ptr %44, i64 %46 store float %42, ptr %47, align 4 br label %48 48: ; preds = %36 %49 = load i32, ptr %16, align 4 %50 = add i32 %49, 1 store i32 %50, ptr %16, align 4 %51 = load i32, ptr %16, align 4 %52 = load ptr, ptr %14, align 8 %53 = load i32, ptr %52, align 4 %54 = icmp ult i32 %51, %53 br i1 %54, label %36, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %48 br label %55 55: ; preds = %._crit_edge, %7 %56 = load ptr, ptr %15, align 8 %57 = call i32 @free(ptr noundef %56) ret void } declare i32 @edge_sparse_csr_reader_double(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpydm8j97e.c' source_filename = "/tmp/tmpydm8j97e.c" target datalayout = "e-m:e-p270: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/tmpydm8j97e.c" target datalayout = "e-m:e-p270: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/tmp06m2g00x.c' source_filename = "/tmp/tmp06m2g00x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @WNOHANG = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [38 x i8] c"touch /var/tmp/bticino/bt_wd/startssh\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"system touch\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 -1, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %9 9: ; preds = %2, %18, %26, %39 %10 = load i32, ptr %7, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %20 12: ; preds = %9 %13 = call i32 (...) @make_key() store i32 %13, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %18, label %16 16: ; preds = %12 %17 = call i32 (...) @fork_dropbear() store i32 %17, ptr %7, align 4 store i32 1, ptr %8, align 4 br label %18 18: ; preds = %16, %12 %19 = call i32 @sleep(i32 noundef 5) br label %9 20: ; preds = %9 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr @WNOHANG, align 4 %23 = call i32 @waitpid(i32 noundef %21, ptr noundef null, i32 noundef %22) %24 = load i32, ptr %7, align 4 %25 = icmp eq i32 %23, %24 br i1 %25, label %26, label %27 26: ; preds = %20 store i32 -1, ptr %7, align 4 br label %9 27: ; preds = %20 %28 = load i32, ptr %8, align 4 %29 = icmp ne i32 %28, 0 %30 = zext i1 %29 to i64 %31 = select i1 %29, i32 5, i32 0 %32 = sub nsw i32 15, %31 %33 = call i32 @sleep(i32 noundef %32) store i32 0, ptr %8, align 4 %34 = call i32 @system(ptr noundef @.str) store i32 %34, ptr %6, align 4 %35 = load i32, ptr %6, align 4 %36 = icmp eq i32 %35, -1 br i1 %36, label %37, label %39 37: ; preds = %27 %38 = call i32 @perror(ptr noundef @.str.1) br label %39 39: ; preds = %37, %27 br label %9 } declare i32 @make_key(...) #1 declare i32 @fork_dropbear(...) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @system(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/tmp06m2g00x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @WNOHANG = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [38 x i8] c"touch /var/tmp/bticino/bt_wd/startssh\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"system touch\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 -1, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %9 9: ; preds = %.backedge, %2 %10 = load i32, ptr %7, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %20 12: ; preds = %9 %13 = call i32 (...) @make_key() store i32 %13, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %18, label %16 16: ; preds = %12 %17 = call i32 (...) @fork_dropbear() store i32 %17, ptr %7, align 4 store i32 1, ptr %8, align 4 br label %18 18: ; preds = %16, %12 %19 = call i32 @sleep(i32 noundef 5) br label %.backedge .backedge: ; preds = %18, %26, %39 br label %9 20: ; preds = %9 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr @WNOHANG, align 4 %23 = call i32 @waitpid(i32 noundef %21, ptr noundef null, i32 noundef %22) %24 = load i32, ptr %7, align 4 %25 = icmp eq i32 %23, %24 br i1 %25, label %26, label %27 26: ; preds = %20 store i32 -1, ptr %7, align 4 br label %.backedge 27: ; preds = %20 %28 = load i32, ptr %8, align 4 %29 = icmp ne i32 %28, 0 %30 = zext i1 %29 to i64 %31 = select i1 %29, i32 5, i32 0 %32 = sub nsw i32 15, %31 %33 = call i32 @sleep(i32 noundef %32) store i32 0, ptr %8, align 4 %34 = call i32 @system(ptr noundef @.str) store i32 %34, ptr %6, align 4 %35 = load i32, ptr %6, align 4 %36 = icmp eq i32 %35, -1 br i1 %36, label %37, label %39 37: ; preds = %27 %38 = call i32 @perror(ptr noundef @.str.1) br label %39 39: ; preds = %37, %27 br label %.backedge } declare i32 @make_key(...) #1 declare i32 @fork_dropbear(...) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @system(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/tmpgbfhcqt0.c' source_filename = "/tmp/tmpgbfhcqt0.c" target datalayout = "e-m:e-p270: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/tmpgbfhcqt0.c" target datalayout = "e-m:e-p270: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/tmp1k7kxnwd.c' source_filename = "/tmp/tmp1k7kxnwd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kapi_pchCopy(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %7 6: ; preds = %1 store ptr null, ptr %2, align 8 br label %10 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = call ptr @strdup(ptr noundef %8) store ptr %9, ptr %2, align 8 br label %10 10: ; preds = %7, %6 %11 = load ptr, ptr %2, align 8 ret ptr %11 } declare ptr @strdup(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1k7kxnwd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kapi_pchCopy(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %7 6: ; preds = %1 store ptr null, ptr %2, align 8 br label %10 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = call ptr @strdup(ptr noundef %8) store ptr %9, ptr %2, align 8 br label %10 10: ; preds = %7, %6 %11 = load ptr, ptr %2, align 8 ret ptr %11 } declare ptr @strdup(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnvn2gg_f.c' source_filename = "/tmp/tmpnvn2gg_f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gzfree(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = call i32 @free(ptr noundef %5) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnvn2gg_f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gzfree(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = call i32 @free(ptr noundef %5) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpae5uysit.c' source_filename = "/tmp/tmpae5uysit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"n=%10u f=%30llu\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"i=%4d n=%10u f=%30llu\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 i64, align 8 %9 = alloca i64, 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 %7, align 4 br label %10 10: ; preds = %20, %2 %11 = load i32, ptr %7, align 4 %12 = icmp ult i32 %11, 30 br i1 %12, label %13, label %23 13: ; preds = %10 %14 = load i32, ptr %7, align 4 %15 = call i64 @fib(i32 noundef %14) store i64 %15, ptr %8, align 8 %16 = load i32, ptr %7, align 4 %17 = load i64, ptr %8, align 8 %18 = trunc i64 %17 to i32 %19 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str, i32 noundef %16, i32 noundef %18) br label %20 20: ; preds = %13 %21 = load i32, ptr %7, align 4 %22 = add i32 %21, 1 store i32 %22, ptr %7, align 4 br label %10, !llvm.loop !6 23: ; preds = %10 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %24 24: ; preds = %39, %23 %25 = load i32, ptr %6, align 4 %26 = icmp slt i32 %25, 1000 br i1 %26, label %27, label %30 27: ; preds = %24 %28 = load i32, ptr %7, align 4 %29 = icmp uge i32 %28, 0 br label %30 30: ; preds = %27, %24 %31 = phi i1 [ false, %24 ], [ %29, %27 ] br i1 %31, label %32, label %45 32: ; preds = %30 %33 = load i32, ptr %7, align 4 %34 = call i64 @fib(i32 noundef %33) store i64 %34, ptr %9, align 8 %35 = load i32, ptr %6, align 4 %36 = load i32, ptr %7, align 4 %37 = load i64, ptr %9, align 8 %38 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %35, i32 noundef %36, i64 noundef %37) br label %39 39: ; preds = %32 %40 = load i32, ptr %6, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %6, align 4 %42 = load i32, ptr %7, align 4 %43 = mul i32 2, %42 %44 = add i32 %43, 1 store i32 %44, ptr %7, align 4 br label %24, !llvm.loop !8 45: ; preds = %30 ret i32 0 } declare i64 @fib(i32 noundef) #1 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpae5uysit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"n=%10u f=%30llu\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"i=%4d n=%10u f=%30llu\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 i64, align 8 %9 = alloca i64, 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 %7, align 4 %10 = load i32, ptr %7, align 4 %11 = icmp ult i32 %10, 30 br i1 %11, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %19 %13 = load i32, ptr %7, align 4 %14 = call i64 @fib(i32 noundef %13) store i64 %14, ptr %8, align 8 %15 = load i32, ptr %7, align 4 %16 = load i64, ptr %8, align 8 %17 = trunc i64 %16 to i32 %18 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str, i32 noundef %15, i32 noundef %17) br label %19 19: ; preds = %12 %20 = load i32, ptr %7, align 4 %21 = add i32 %20, 1 store i32 %21, ptr %7, align 4 %22 = load i32, ptr %7, align 4 %23 = icmp ult i32 %22, 30 br i1 %23, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %2 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %25 25: ; preds = %40, %24 %26 = load i32, ptr %6, align 4 %27 = icmp slt i32 %26, 1000 br i1 %27, label %28, label %31 28: ; preds = %25 %29 = load i32, ptr %7, align 4 %30 = icmp uge i32 %29, 0 br label %31 31: ; preds = %28, %25 %32 = phi i1 [ false, %25 ], [ %30, %28 ] br i1 %32, label %33, label %46 33: ; preds = %31 %34 = load i32, ptr %7, align 4 %35 = call i64 @fib(i32 noundef %34) store i64 %35, ptr %9, align 8 %36 = load i32, ptr %6, align 4 %37 = load i32, ptr %7, align 4 %38 = load i64, ptr %9, align 8 %39 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %36, i32 noundef %37, i64 noundef %38) br label %40 40: ; preds = %33 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %6, align 4 %43 = load i32, ptr %7, align 4 %44 = mul i32 2, %43 %45 = add i32 %44, 1 store i32 %45, ptr %7, align 4 br label %25, !llvm.loop !8 46: ; preds = %31 ret i32 0 } declare i64 @fib(i32 noundef) #1 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmppcc8bzi7.c' source_filename = "/tmp/tmppcc8bzi7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @softfloat_subM(i32 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 i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i64, align 8 %13 = alloca i64, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 %14 = load i32, ptr %5, align 4 %15 = sub nsw i32 %14, 1 store i32 %15, ptr %10, align 4 store i32 0, ptr %11, align 4 br label %16 16: ; preds = %54, %4 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %9, align 4 %19 = zext i32 %18 to i64 %20 = getelementptr inbounds i64, ptr %17, i64 %19 %21 = load i64, ptr %20, align 8 store i64 %21, ptr %12, align 8 %22 = load ptr, ptr %7, align 8 %23 = load i32, ptr %9, align 4 %24 = zext i32 %23 to i64 %25 = getelementptr inbounds i64, ptr %22, i64 %24 %26 = load i64, ptr %25, align 8 store i64 %26, ptr %13, align 8 %27 = load i64, ptr %12, align 8 %28 = load i64, ptr %13, align 8 %29 = sub nsw i64 %27, %28 %30 = load i32, ptr %11, align 4 %31 = sext i32 %30 to i64 %32 = sub nsw i64 %29, %31 %33 = load ptr, ptr %8, align 8 %34 = load i32, ptr %9, align 4 %35 = zext i32 %34 to i64 %36 = getelementptr inbounds i64, ptr %33, i64 %35 store i64 %32, ptr %36, align 8 %37 = load i32, ptr %9, align 4 %38 = load i32, ptr %10, align 4 %39 = icmp eq i32 %37, %38 br i1 %39, label %40, label %41 40: ; preds = %16 br label %58 41: ; preds = %16 %42 = load i32, ptr %11, align 4 %43 = icmp ne i32 %42, 0 br i1 %43, label %44, label %49 44: ; preds = %41 %45 = load i64, ptr %12, align 8 %46 = load i64, ptr %13, align 8 %47 = icmp sle i64 %45, %46 %48 = zext i1 %47 to i32 br label %54 49: ; preds = %41 %50 = load i64, ptr %12, align 8 %51 = load i64, ptr %13, align 8 %52 = icmp slt i64 %50, %51 %53 = zext i1 %52 to i32 br label %54 54: ; preds = %49, %44 %55 = phi i32 [ %48, %44 ], [ %53, %49 ] store i32 %55, ptr %11, align 4 %56 = load i32, ptr %9, align 4 %57 = add i32 %56, 1 store i32 %57, ptr %9, align 4 br label %16 58: ; preds = %40 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppcc8bzi7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @softfloat_subM(i32 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 i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i64, align 8 %13 = alloca i64, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 %14 = load i32, ptr %5, align 4 %15 = sub nsw i32 %14, 1 store i32 %15, ptr %10, align 4 store i32 0, ptr %11, align 4 br label %16 16: ; preds = %54, %4 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %9, align 4 %19 = zext i32 %18 to i64 %20 = getelementptr inbounds i64, ptr %17, i64 %19 %21 = load i64, ptr %20, align 8 store i64 %21, ptr %12, align 8 %22 = load ptr, ptr %7, align 8 %23 = load i32, ptr %9, align 4 %24 = zext i32 %23 to i64 %25 = getelementptr inbounds i64, ptr %22, i64 %24 %26 = load i64, ptr %25, align 8 store i64 %26, ptr %13, align 8 %27 = load i64, ptr %12, align 8 %28 = load i64, ptr %13, align 8 %29 = sub nsw i64 %27, %28 %30 = load i32, ptr %11, align 4 %31 = sext i32 %30 to i64 %32 = sub nsw i64 %29, %31 %33 = load ptr, ptr %8, align 8 %34 = load i32, ptr %9, align 4 %35 = zext i32 %34 to i64 %36 = getelementptr inbounds i64, ptr %33, i64 %35 store i64 %32, ptr %36, align 8 %37 = load i32, ptr %9, align 4 %38 = load i32, ptr %10, align 4 %39 = icmp eq i32 %37, %38 br i1 %39, label %40, label %41 40: ; preds = %16 br label %58 41: ; preds = %16 %42 = load i32, ptr %11, align 4 %43 = icmp ne i32 %42, 0 br i1 %43, label %44, label %49 44: ; preds = %41 %45 = load i64, ptr %12, align 8 %46 = load i64, ptr %13, align 8 %47 = icmp sle i64 %45, %46 %48 = zext i1 %47 to i32 br label %54 49: ; preds = %41 %50 = load i64, ptr %12, align 8 %51 = load i64, ptr %13, align 8 %52 = icmp slt i64 %50, %51 %53 = zext i1 %52 to i32 br label %54 54: ; preds = %49, %44 %55 = phi i32 [ %48, %44 ], [ %53, %49 ] store i32 %55, ptr %11, align 4 %56 = load i32, ptr %9, align 4 %57 = add i32 %56, 1 store i32 %57, ptr %9, align 4 br label %16 58: ; preds = %40 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqhzndxar.c' source_filename = "/tmp/tmpqhzndxar.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"\0AIntroduzca el radio del cono [cm]: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"\0AIntroduzca la altura del cono [cm]: \00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"\0AEl volumen del cono es: %.2f cm3\0A\0B\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %9 = load float, ptr %2, align 4 %10 = load float, ptr %2, align 4 %11 = fmul float %9, %10 %12 = fpext float %11 to double %13 = fmul double 3.141500e+00, %12 %14 = load float, ptr %3, align 4 %15 = fpext float %14 to double %16 = fmul double %13, %15 %17 = fdiv double %16, 3.000000e+00 %18 = fptrunc double %17 to float store float %18, ptr %4, align 4 %19 = load float, ptr %4, align 4 %20 = fpext float %19 to double %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %20) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqhzndxar.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"\0AIntroduzca el radio del cono [cm]: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"\0AIntroduzca la altura del cono [cm]: \00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"\0AEl volumen del cono es: %.2f cm3\0A\0B\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %9 = load float, ptr %2, align 4 %10 = load float, ptr %2, align 4 %11 = fmul float %9, %10 %12 = fpext float %11 to double %13 = fmul double 3.141500e+00, %12 %14 = load float, ptr %3, align 4 %15 = fpext float %14 to double %16 = fmul double %13, %15 %17 = fdiv double %16, 3.000000e+00 %18 = fptrunc double %17 to float store float %18, ptr %4, align 4 %19 = load float, ptr %4, align 4 %20 = fpext float %19 to double %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %20) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqk4c_wzk.c' source_filename = "/tmp/tmpqk4c_wzk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Correlation(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %12 = load ptr, ptr %4, align 8 %13 = call i32 @longueur(ptr noundef %12) store i32 %13, ptr %10, align 4 %14 = load ptr, ptr %5, align 8 %15 = call i32 @longueur(ptr noundef %14) store i32 %15, ptr %11, align 4 store i32 0, ptr %7, align 4 br label %16 16: ; preds = %57, %2 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %11, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %60 20: ; preds = %16 %21 = load i32, ptr %6, align 4 store i32 %21, ptr %8, align 4 br label %22 22: ; preds = %53, %20 %23 = load i32, ptr %8, align 4 %24 = load i32, ptr %10, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %31 26: ; preds = %22 %27 = load i32, ptr %8, align 4 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, 4 %30 = icmp slt i32 %27, %29 br label %31 31: ; preds = %26, %22 %32 = phi i1 [ false, %22 ], [ %30, %26 ] br i1 %32, label %33, label %56 33: ; preds = %31 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %8, 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 = load ptr, ptr %5, align 8 %41 = load i32, ptr %7, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %39, %45 br i1 %46, label %47, label %52 47: ; preds = %33 %48 = load i32, ptr %9, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %9, align 4 %50 = load i32, ptr %8, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %6, align 4 br label %56 52: ; preds = %33 br label %53 53: ; preds = %52 %54 = load i32, ptr %8, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %8, align 4 br label %22, !llvm.loop !6 56: ; preds = %47, %31 br label %57 57: ; preds = %56 %58 = load i32, ptr %7, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %7, align 4 br label %16, !llvm.loop !8 60: ; preds = %16 %61 = load i32, ptr %10, align 4 %62 = load i32, ptr %11, align 4 %63 = icmp sgt i32 %61, %62 br i1 %63, label %64, label %68 64: ; preds = %60 %65 = load i32, ptr %10, align 4 %66 = load i32, ptr %9, align 4 %67 = sub nsw i32 %65, %66 store i32 %67, ptr %3, align 4 br label %72 68: ; preds = %60 %69 = load i32, ptr %11, align 4 %70 = load i32, ptr %9, align 4 %71 = sub nsw i32 %69, %70 store i32 %71, ptr %3, align 4 br label %72 72: ; preds = %68, %64 %73 = load i32, ptr %3, align 4 ret i32 %73 } declare i32 @longueur(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpqk4c_wzk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Correlation(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %12 = load ptr, ptr %4, align 8 %13 = call i32 @longueur(ptr noundef %12) store i32 %13, ptr %10, align 4 %14 = load ptr, ptr %5, align 8 %15 = call i32 @longueur(ptr noundef %14) store i32 %15, ptr %11, align 4 store i32 0, ptr %7, align 4 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %11, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph, label %62 .lr.ph: ; preds = %2 br label %19 19: ; preds = %.lr.ph, %56 %20 = load i32, ptr %6, align 4 store i32 %20, ptr %8, align 4 br label %21 21: ; preds = %52, %19 %22 = load i32, ptr %8, align 4 %23 = load i32, ptr %10, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %30 25: ; preds = %21 %26 = load i32, ptr %8, align 4 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, 4 %29 = icmp slt i32 %26, %28 br label %30 30: ; preds = %25, %21 %31 = phi i1 [ false, %21 ], [ %29, %25 ] br i1 %31, label %32, label %.loopexit 32: ; preds = %30 %33 = load ptr, ptr %4, align 8 %34 = load i32, ptr %8, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = load ptr, ptr %5, align 8 %40 = load i32, ptr %7, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %39, i64 %41 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp eq i32 %38, %44 br i1 %45, label %46, label %51 46: ; preds = %32 %47 = load i32, ptr %9, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %9, align 4 %49 = load i32, ptr %8, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %6, align 4 br label %55 51: ; preds = %32 br label %52 52: ; preds = %51 %53 = load i32, ptr %8, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %8, align 4 br label %21, !llvm.loop !6 .loopexit: ; preds = %30 br label %55 55: ; preds = %.loopexit, %46 br label %56 56: ; preds = %55 %57 = load i32, ptr %7, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %7, align 4 %59 = load i32, ptr %7, align 4 %60 = load i32, ptr %11, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %19, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %56 br label %62 62: ; preds = %._crit_edge, %2 %63 = load i32, ptr %10, align 4 %64 = load i32, ptr %11, align 4 %65 = icmp sgt i32 %63, %64 br i1 %65, label %66, label %70 66: ; preds = %62 %67 = load i32, ptr %10, align 4 %68 = load i32, ptr %9, align 4 %69 = sub nsw i32 %67, %68 store i32 %69, ptr %3, align 4 br label %74 70: ; preds = %62 %71 = load i32, ptr %11, align 4 %72 = load i32, ptr %9, align 4 %73 = sub nsw i32 %71, %72 store i32 %73, ptr %3, align 4 br label %74 74: ; preds = %70, %66 %75 = load i32, ptr %3, align 4 ret i32 %75 } declare i32 @longueur(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpfzsxvyc6.c' source_filename = "/tmp/tmpfzsxvyc6.c" target datalayout = "e-m:e-p270: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/tmpfzsxvyc6.c" target datalayout = "e-m:e-p270: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/tmpq1i_mej1.c' source_filename = "/tmp/tmpq1i_mej1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @fpeek(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 store ptr %0, ptr %2, align 8 store i8 0, ptr %3, align 1 %4 = load ptr, ptr %2, align 8 %5 = call signext i8 @fgetc(ptr noundef %4) store i8 %5, ptr %3, align 1 %6 = load i8, ptr %3, align 1 %7 = load ptr, ptr %2, align 8 %8 = call i32 @ungetc(i8 noundef signext %6, ptr noundef %7) %9 = load i8, ptr %3, align 1 ret i8 %9 } declare signext i8 @fgetc(ptr noundef) #1 declare i32 @ungetc(i8 noundef signext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq1i_mej1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @fpeek(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 store ptr %0, ptr %2, align 8 store i8 0, ptr %3, align 1 %4 = load ptr, ptr %2, align 8 %5 = call signext i8 @fgetc(ptr noundef %4) store i8 %5, ptr %3, align 1 %6 = load i8, ptr %3, align 1 %7 = load ptr, ptr %2, align 8 %8 = call i32 @ungetc(i8 noundef signext %6, ptr noundef %7) %9 = load i8, ptr %3, align 1 ret i8 %9 } declare signext i8 @fgetc(ptr noundef) #1 declare i32 @ungetc(i8 noundef signext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqo9z33nx.c' source_filename = "/tmp/tmpqo9z33nx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/urandom\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [33 x i8] c"Failed to open /dev/urandom: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [32 x i8] c"Error reading /dev/urandom: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_random_uuid() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 4, ptr %1, align 4 %6 = call ptr @llvm.stacksave() store ptr %6, ptr %2, align 8 %7 = alloca i8, i64 4, align 16 %8 = load i32, ptr @O_RDONLY, align 4 %9 = call i32 @open(ptr noundef @.str, i32 noundef %8) store i32 %9, ptr %3, align 4 %10 = icmp eq i32 %9, -1 br i1 %10, label %11, label %17 11: ; preds = %0 %12 = load i32, ptr @stderr, align 4 %13 = load i32, ptr @errno, align 4 %14 = call ptr @strerror(i32 noundef %13) %15 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str.1, ptr noundef %14) %16 = call i32 @exit(i32 noundef 1) #4 unreachable 17: ; preds = %0 %18 = load i32, ptr %3, align 4 %19 = call i32 @read(i32 noundef %18, ptr noundef %7, i32 noundef 4) %20 = icmp ne i32 %19, 4 br i1 %20, label %21, label %27 21: ; preds = %17 %22 = load i32, ptr @stderr, align 4 %23 = load i32, ptr @errno, align 4 %24 = call ptr @strerror(i32 noundef %23) %25 = call i32 @fprintf(i32 noundef %22, ptr noundef @.str.2, ptr noundef %24) %26 = call i32 @exit(i32 noundef 1) #4 unreachable 27: ; preds = %17 %28 = load i32, ptr %3, align 4 %29 = call i32 @close(i32 noundef %28) %30 = call i32 @memcpy(ptr noundef %5, ptr noundef %7, i32 noundef 4) %31 = load i32, ptr %5, align 4 %32 = load ptr, ptr %2, align 8 call void @llvm.stackrestore(ptr %32) ret i32 %31 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @open(ptr noundef, i32 noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #2 declare ptr @strerror(i32 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @close(i32 noundef) #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 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" } 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 = { 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/tmpqo9z33nx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/urandom\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [33 x i8] c"Failed to open /dev/urandom: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [32 x i8] c"Error reading /dev/urandom: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_random_uuid() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 4, ptr %1, align 4 %6 = call ptr @llvm.stacksave() store ptr %6, ptr %2, align 8 %7 = alloca i8, i64 4, align 16 %8 = load i32, ptr @O_RDONLY, align 4 %9 = call i32 @open(ptr noundef @.str, i32 noundef %8) store i32 %9, ptr %3, align 4 %10 = icmp eq i32 %9, -1 br i1 %10, label %11, label %17 11: ; preds = %0 %12 = load i32, ptr @stderr, align 4 %13 = load i32, ptr @errno, align 4 %14 = call ptr @strerror(i32 noundef %13) %15 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str.1, ptr noundef %14) %16 = call i32 @exit(i32 noundef 1) #4 unreachable 17: ; preds = %0 %18 = load i32, ptr %3, align 4 %19 = call i32 @read(i32 noundef %18, ptr noundef %7, i32 noundef 4) %20 = icmp ne i32 %19, 4 br i1 %20, label %21, label %27 21: ; preds = %17 %22 = load i32, ptr @stderr, align 4 %23 = load i32, ptr @errno, align 4 %24 = call ptr @strerror(i32 noundef %23) %25 = call i32 @fprintf(i32 noundef %22, ptr noundef @.str.2, ptr noundef %24) %26 = call i32 @exit(i32 noundef 1) #4 unreachable 27: ; preds = %17 %28 = load i32, ptr %3, align 4 %29 = call i32 @close(i32 noundef %28) %30 = call i32 @memcpy(ptr noundef %5, ptr noundef %7, i32 noundef 4) %31 = load i32, ptr %5, align 4 %32 = load ptr, ptr %2, align 8 call void @llvm.stackrestore(ptr %32) ret i32 %31 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @open(ptr noundef, i32 noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #2 declare ptr @strerror(i32 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @close(i32 noundef) #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 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" } 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 = { 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/tmpgsdz42kn.c' source_filename = "/tmp/tmpgsdz42kn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ADCComparatorConfigure(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp eq i32 %7, 1073971200 br i1 %8, label %12, label %9 9: ; preds = %3 %10 = load i32, ptr %4, align 4 %11 = icmp eq i32 %10, 1073975296 br label %12 12: ; preds = %9, %3 %13 = phi i1 [ true, %3 ], [ %11, %9 ] %14 = zext i1 %13 to i32 %15 = call i32 @ASSERT(i32 noundef %14) %16 = load i32, ptr %5, align 4 %17 = icmp slt i32 %16, 8 %18 = zext i1 %17 to i32 %19 = call i32 @ASSERT(i32 noundef %18) %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 3584 %23 = load i32, ptr %5, align 4 %24 = mul nsw i32 %23, 4 %25 = add nsw i32 %22, %24 %26 = sext i32 %25 to i64 %27 = inttoptr i64 %26 to ptr store volatile i32 %20, ptr %27, align 4 ret void } declare i32 @ASSERT(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgsdz42kn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ADCComparatorConfigure(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp eq i32 %7, 1073971200 br i1 %8, label %12, label %9 9: ; preds = %3 %10 = load i32, ptr %4, align 4 %11 = icmp eq i32 %10, 1073975296 br label %12 12: ; preds = %9, %3 %13 = phi i1 [ true, %3 ], [ %11, %9 ] %14 = zext i1 %13 to i32 %15 = call i32 @ASSERT(i32 noundef %14) %16 = load i32, ptr %5, align 4 %17 = icmp slt i32 %16, 8 %18 = zext i1 %17 to i32 %19 = call i32 @ASSERT(i32 noundef %18) %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 3584 %23 = load i32, ptr %5, align 4 %24 = mul nsw i32 %23, 4 %25 = add nsw i32 %22, %24 %26 = sext i32 %25 to i64 %27 = inttoptr i64 %26 to ptr store volatile i32 %20, ptr %27, align 4 ret void } declare i32 @ASSERT(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk6mcn33w.c' source_filename = "/tmp/tmpk6mcn33w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"a single argument is required !\0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [15 x i8] c"Open %s Error!\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"malloc error\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [31 x i8] c"crc32 checksum of %s is :%08x\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 ptr, align 8 %8 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp ne i32 %9, 2 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = call i32 @exit(i32 noundef 1) #3 unreachable 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = load i32, ptr @O_RDONLY, align 4 %19 = call i32 @open(ptr noundef %17, i32 noundef %18) store i32 %19, ptr %6, align 4 %20 = icmp eq i32 %19, -1 br i1 %20, label %21, label %27 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 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %24) %26 = call i32 @exit(i32 noundef 1) #3 unreachable 27: ; preds = %14 %28 = call i64 @malloc(i32 noundef 2097152) %29 = inttoptr i64 %28 to ptr store ptr %29, ptr %7, align 8 %30 = icmp eq ptr %29, null br i1 %30, label %31, label %34 31: ; preds = %27 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %33 = call i32 @exit(i32 noundef 1) #3 unreachable 34: ; preds = %27 %35 = load ptr, ptr %7, align 8 %36 = call i32 @memset(ptr noundef %35, i32 noundef 0, i32 noundef 2097152) %37 = load i32, ptr %6, align 4 %38 = load ptr, ptr %7, align 8 %39 = call i32 @read(i32 noundef %37, ptr noundef %38, i32 noundef 2097152) %40 = icmp eq i32 %39, -1 br i1 %40, label %41, label %44 41: ; preds = %34 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %43 = call i32 @exit(i32 noundef 1) #3 unreachable 44: ; preds = %34 %45 = load ptr, ptr %7, align 8 %46 = call i64 @crc32(i32 noundef 0, ptr noundef %45, i32 noundef 2097152) store i64 %46, ptr %8, align 8 %47 = load i32, ptr @stderr, align 4 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds ptr, ptr %48, i64 1 %50 = load ptr, ptr %49, align 8 %51 = load i64, ptr %8, align 8 %52 = call i32 @fprintf(i32 noundef %47, ptr noundef @.str.3, ptr noundef %50, i64 noundef %51) %53 = load i64, ptr %8, align 8 %54 = lshr i64 %53, 24 %55 = call i32 @putchar(i64 noundef %54) %56 = load i64, ptr %8, align 8 %57 = urem i64 %56, 16777216 %58 = lshr i64 %57, 16 %59 = call i32 @putchar(i64 noundef %58) %60 = load i64, ptr %8, align 8 %61 = urem i64 %60, 65536 %62 = lshr i64 %61, 8 %63 = call i32 @putchar(i64 noundef %62) %64 = load i64, ptr %8, align 8 %65 = urem i64 %64, 256 %66 = call i32 @putchar(i64 noundef %65) %67 = load ptr, ptr %7, align 8 %68 = call i32 @free(ptr noundef %67) %69 = load i32, ptr %6, align 4 %70 = call i32 @close(i32 noundef %69) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @open(ptr noundef, i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @crc32(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @putchar(i64 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpk6mcn33w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"a single argument is required !\0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [15 x i8] c"Open %s Error!\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"malloc error\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [31 x i8] c"crc32 checksum of %s is :%08x\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 ptr, align 8 %8 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp ne i32 %9, 2 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = call i32 @exit(i32 noundef 1) #3 unreachable 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = load i32, ptr @O_RDONLY, align 4 %19 = call i32 @open(ptr noundef %17, i32 noundef %18) store i32 %19, ptr %6, align 4 %20 = icmp eq i32 %19, -1 br i1 %20, label %21, label %27 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 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %24) %26 = call i32 @exit(i32 noundef 1) #3 unreachable 27: ; preds = %14 %28 = call i64 @malloc(i32 noundef 2097152) %29 = inttoptr i64 %28 to ptr store ptr %29, ptr %7, align 8 %30 = icmp eq ptr %29, null br i1 %30, label %31, label %34 31: ; preds = %27 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %33 = call i32 @exit(i32 noundef 1) #3 unreachable 34: ; preds = %27 %35 = load ptr, ptr %7, align 8 %36 = call i32 @memset(ptr noundef %35, i32 noundef 0, i32 noundef 2097152) %37 = load i32, ptr %6, align 4 %38 = load ptr, ptr %7, align 8 %39 = call i32 @read(i32 noundef %37, ptr noundef %38, i32 noundef 2097152) %40 = icmp eq i32 %39, -1 br i1 %40, label %41, label %44 41: ; preds = %34 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %43 = call i32 @exit(i32 noundef 1) #3 unreachable 44: ; preds = %34 %45 = load ptr, ptr %7, align 8 %46 = call i64 @crc32(i32 noundef 0, ptr noundef %45, i32 noundef 2097152) store i64 %46, ptr %8, align 8 %47 = load i32, ptr @stderr, align 4 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds ptr, ptr %48, i64 1 %50 = load ptr, ptr %49, align 8 %51 = load i64, ptr %8, align 8 %52 = call i32 @fprintf(i32 noundef %47, ptr noundef @.str.3, ptr noundef %50, i64 noundef %51) %53 = load i64, ptr %8, align 8 %54 = lshr i64 %53, 24 %55 = call i32 @putchar(i64 noundef %54) %56 = load i64, ptr %8, align 8 %57 = urem i64 %56, 16777216 %58 = lshr i64 %57, 16 %59 = call i32 @putchar(i64 noundef %58) %60 = load i64, ptr %8, align 8 %61 = urem i64 %60, 65536 %62 = lshr i64 %61, 8 %63 = call i32 @putchar(i64 noundef %62) %64 = load i64, ptr %8, align 8 %65 = urem i64 %64, 256 %66 = call i32 @putchar(i64 noundef %65) %67 = load ptr, ptr %7, align 8 %68 = call i32 @free(ptr noundef %67) %69 = load i32, ptr %6, align 4 %70 = call i32 @close(i32 noundef %69) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @open(ptr noundef, i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @crc32(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @putchar(i64 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpd34jpmsi.c' source_filename = "/tmp/tmpd34jpmsi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [19 x i8] c"Quadric Error: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @errorCallback(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call ptr @gluErrorString(i32 noundef %4) store ptr %5, ptr %3, align 8 %6 = load i32, ptr @stderr, align 4 %7 = load ptr, ptr %3, align 8 %8 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str, ptr noundef %7) %9 = call i32 @exit(i32 noundef 0) #3 unreachable } declare ptr @gluErrorString(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd34jpmsi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [19 x i8] c"Quadric Error: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @errorCallback(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call ptr @gluErrorString(i32 noundef %4) store ptr %5, ptr %3, align 8 %6 = load i32, ptr @stderr, align 4 %7 = load ptr, ptr %3, align 8 %8 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str, ptr noundef %7) %9 = call i32 @exit(i32 noundef 0) #3 unreachable } declare ptr @gluErrorString(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpt7nlvfn6.c' source_filename = "/tmp/tmpt7nlvfn6.c" target datalayout = "e-m:e-p270: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/tmpt7nlvfn6.c" target datalayout = "e-m:e-p270: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/tmpi589gzya.c' source_filename = "/tmp/tmpi589gzya.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Normal(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %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 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 store double 0x3FD49F74C64EF237, ptr %5, align 8 store double 0x3FB96EE69DCCF754, ptr %6, align 8 store double 1.000000e+00, ptr %7, align 8 store double 0x3FE2D5A90489BD2F, ptr %8, align 8 store double 0x3FD5E74B5C67F146, ptr %9, align 8 store double 0x3FE0FECCB034F054, ptr %10, align 8 store double 0x3F94E9CC7387A830, ptr %11, align 8 store double 0x3FBA81733E645F68, ptr %12, align 8 store double 0x3F07C8AEC3ED1A62, ptr %13, align 8 store double 0x3F6F96C3DA074588, ptr %14, align 8 %20 = call double (...) @Random() store double %20, ptr %15, align 8 %21 = load double, ptr %15, align 8 %22 = fcmp olt double %21, 5.000000e-01 br i1 %22, label %23, label %28 23: ; preds = %2 %24 = load double, ptr %15, align 8 %25 = call double @log(double noundef %24) #4 %26 = fmul double -2.000000e+00, %25 %27 = call double @sqrt(double noundef %26) #4 store double %27, ptr %16, align 8 br label %34 28: ; preds = %2 %29 = load double, ptr %15, align 8 %30 = fsub double 1.000000e+00, %29 %31 = call double @log(double noundef %30) #4 %32 = fmul double -2.000000e+00, %31 %33 = call double @sqrt(double noundef %32) #4 store double %33, ptr %16, align 8 br label %34 34: ; preds = %28, %23 %35 = load double, ptr %16, align 8 %36 = load double, ptr %16, align 8 %37 = load double, ptr %16, align 8 %38 = load double, ptr %16, align 8 %39 = call double @llvm.fmuladd.f64(double %38, double 0x3F07C8AEC3ED1A62, double 0x3F94E9CC7387A830) %40 = call double @llvm.fmuladd.f64(double %37, double %39, double 0x3FD5E74B5C67F146) %41 = call double @llvm.fmuladd.f64(double %36, double %40, double 1.000000e+00) %42 = call double @llvm.fmuladd.f64(double %35, double %41, double 0x3FD49F74C64EF237) store double %42, ptr %17, align 8 %43 = load double, ptr %16, align 8 %44 = load double, ptr %16, align 8 %45 = load double, ptr %16, align 8 %46 = load double, ptr %16, align 8 %47 = call double @llvm.fmuladd.f64(double %46, double 0x3F6F96C3DA074588, double 0x3FBA81733E645F68) %48 = call double @llvm.fmuladd.f64(double %45, double %47, double 0x3FE0FECCB034F054) %49 = call double @llvm.fmuladd.f64(double %44, double %48, double 0x3FE2D5A90489BD2F) %50 = call double @llvm.fmuladd.f64(double %43, double %49, double 0x3FB96EE69DCCF754) store double %50, ptr %18, align 8 %51 = load double, ptr %15, align 8 %52 = fcmp olt double %51, 5.000000e-01 br i1 %52, label %53, label %59 53: ; preds = %34 %54 = load double, ptr %17, align 8 %55 = load double, ptr %18, align 8 %56 = fdiv double %54, %55 %57 = load double, ptr %16, align 8 %58 = fsub double %56, %57 store double %58, ptr %19, align 8 br label %65 59: ; preds = %34 %60 = load double, ptr %16, align 8 %61 = load double, ptr %17, align 8 %62 = load double, ptr %18, align 8 %63 = fdiv double %61, %62 %64 = fsub double %60, %63 store double %64, ptr %19, align 8 br label %65 65: ; preds = %59, %53 %66 = load double, ptr %3, align 8 %67 = load double, ptr %4, align 8 %68 = load double, ptr %19, align 8 %69 = call double @llvm.fmuladd.f64(double %67, double %68, double %66) ret double %69 } declare double @Random(...) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 ; Function Attrs: nounwind declare double @log(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } 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/tmpi589gzya.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Normal(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %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 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 store double 0x3FD49F74C64EF237, ptr %5, align 8 store double 0x3FB96EE69DCCF754, ptr %6, align 8 store double 1.000000e+00, ptr %7, align 8 store double 0x3FE2D5A90489BD2F, ptr %8, align 8 store double 0x3FD5E74B5C67F146, ptr %9, align 8 store double 0x3FE0FECCB034F054, ptr %10, align 8 store double 0x3F94E9CC7387A830, ptr %11, align 8 store double 0x3FBA81733E645F68, ptr %12, align 8 store double 0x3F07C8AEC3ED1A62, ptr %13, align 8 store double 0x3F6F96C3DA074588, ptr %14, align 8 %20 = call double (...) @Random() store double %20, ptr %15, align 8 %21 = load double, ptr %15, align 8 %22 = fcmp olt double %21, 5.000000e-01 br i1 %22, label %23, label %28 23: ; preds = %2 %24 = load double, ptr %15, align 8 %25 = call double @log(double noundef %24) #4 %26 = fmul double -2.000000e+00, %25 %27 = call double @sqrt(double noundef %26) #4 store double %27, ptr %16, align 8 br label %34 28: ; preds = %2 %29 = load double, ptr %15, align 8 %30 = fsub double 1.000000e+00, %29 %31 = call double @log(double noundef %30) #4 %32 = fmul double -2.000000e+00, %31 %33 = call double @sqrt(double noundef %32) #4 store double %33, ptr %16, align 8 br label %34 34: ; preds = %28, %23 %35 = load double, ptr %16, align 8 %36 = load double, ptr %16, align 8 %37 = load double, ptr %16, align 8 %38 = load double, ptr %16, align 8 %39 = call double @llvm.fmuladd.f64(double %38, double 0x3F07C8AEC3ED1A62, double 0x3F94E9CC7387A830) %40 = call double @llvm.fmuladd.f64(double %37, double %39, double 0x3FD5E74B5C67F146) %41 = call double @llvm.fmuladd.f64(double %36, double %40, double 1.000000e+00) %42 = call double @llvm.fmuladd.f64(double %35, double %41, double 0x3FD49F74C64EF237) store double %42, ptr %17, align 8 %43 = load double, ptr %16, align 8 %44 = load double, ptr %16, align 8 %45 = load double, ptr %16, align 8 %46 = load double, ptr %16, align 8 %47 = call double @llvm.fmuladd.f64(double %46, double 0x3F6F96C3DA074588, double 0x3FBA81733E645F68) %48 = call double @llvm.fmuladd.f64(double %45, double %47, double 0x3FE0FECCB034F054) %49 = call double @llvm.fmuladd.f64(double %44, double %48, double 0x3FE2D5A90489BD2F) %50 = call double @llvm.fmuladd.f64(double %43, double %49, double 0x3FB96EE69DCCF754) store double %50, ptr %18, align 8 %51 = load double, ptr %15, align 8 %52 = fcmp olt double %51, 5.000000e-01 br i1 %52, label %53, label %59 53: ; preds = %34 %54 = load double, ptr %17, align 8 %55 = load double, ptr %18, align 8 %56 = fdiv double %54, %55 %57 = load double, ptr %16, align 8 %58 = fsub double %56, %57 store double %58, ptr %19, align 8 br label %65 59: ; preds = %34 %60 = load double, ptr %16, align 8 %61 = load double, ptr %17, align 8 %62 = load double, ptr %18, align 8 %63 = fdiv double %61, %62 %64 = fsub double %60, %63 store double %64, ptr %19, align 8 br label %65 65: ; preds = %59, %53 %66 = load double, ptr %3, align 8 %67 = load double, ptr %4, align 8 %68 = load double, ptr %19, align 8 %69 = call double @llvm.fmuladd.f64(double %67, double %68, double %66) ret double %69 } declare double @Random(...) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 ; Function Attrs: nounwind declare double @log(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } 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/tmpjh8wpep0.c' source_filename = "/tmp/tmpjh8wpep0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printerr_ex(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %14 9: ; preds = %3 %10 = load ptr, ptr %5, align 8 %11 = call i32 @perror(ptr noundef %10) %12 = load i32, ptr %6, align 4 %13 = call i32 @exit(i32 noundef %12) #3 unreachable 14: ; preds = %3 ret void } 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/tmpjh8wpep0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printerr_ex(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %14 9: ; preds = %3 %10 = load ptr, ptr %5, align 8 %11 = call i32 @perror(ptr noundef %10) %12 = load i32, ptr %6, align 4 %13 = call i32 @exit(i32 noundef %12) #3 unreachable 14: ; preds = %3 ret void } 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/tmpj38wsoj1.c' source_filename = "/tmp/tmpj38wsoj1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[%i;1H\1B[33;41m\1B[1K\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mfm_input_goto(i32 noundef %0, i32 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 %1, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %7) %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = call ptr @mfm_read_line(i32 noundef %9, i32 noundef 1, i32 noundef %10, ptr noundef null) store ptr %11, ptr %5, align 8 %12 = load ptr, ptr %5, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %19 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = call i32 @chdir(ptr noundef %15) store i32 %16, ptr %6, align 4 %17 = load ptr, ptr %5, align 8 %18 = call i32 @free(ptr noundef %17) br label %19 19: ; preds = %14, %2 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 declare ptr @mfm_read_line(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @chdir(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/tmpj38wsoj1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[%i;1H\1B[33;41m\1B[1K\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mfm_input_goto(i32 noundef %0, i32 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 %1, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %7) %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = call ptr @mfm_read_line(i32 noundef %9, i32 noundef 1, i32 noundef %10, ptr noundef null) store ptr %11, ptr %5, align 8 %12 = load ptr, ptr %5, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %19 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = call i32 @chdir(ptr noundef %15) store i32 %16, ptr %6, align 4 %17 = load ptr, ptr %5, align 8 %18 = call i32 @free(ptr noundef %17) br label %19 19: ; preds = %14, %2 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 declare ptr @mfm_read_line(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @chdir(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/tmpyhkkin8f.c' source_filename = "/tmp/tmpyhkkin8f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_aligned(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = load i64, ptr %5, align 8 %8 = call i32 @munmap(ptr noundef %6, i64 noundef %7) %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @munmap(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/tmpyhkkin8f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_aligned(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = load i64, ptr %5, align 8 %8 = call i32 @munmap(ptr noundef %6, i64 noundef %7) %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @munmap(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/tmpw_f7lnvj.c' source_filename = "/tmp/tmpw_f7lnvj.c" target datalayout = "e-m:e-p270: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 @SHRT_MAX = 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/tmpw_f7lnvj.c" target datalayout = "e-m:e-p270: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 @SHRT_MAX = 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/tmpemk7hx49.c' source_filename = "/tmp/tmpemk7hx49.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hilite_msg_at(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @draw_msg_at_color(i32 noundef %5, i32 noundef %6, i32 noundef 0, i32 noundef 85) ret void } declare i32 @draw_msg_at_color(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/tmpemk7hx49.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hilite_msg_at(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @draw_msg_at_color(i32 noundef %5, i32 noundef %6, i32 noundef 0, i32 noundef 85) ret void } declare i32 @draw_msg_at_color(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/tmpmkbvvidv.c' source_filename = "/tmp/tmpmkbvvidv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SNDRV_PCM_HW_PARAM_FIRST_MASK = 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/tmpmkbvvidv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SNDRV_PCM_HW_PARAM_FIRST_MASK = 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/tmpyxsmzc7n.c' source_filename = "/tmp/tmpyxsmzc7n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"Waschen?\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"Ich bin bereit\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"START\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @showMenu() #0 { %1 = call i32 @nxtDisplayCenteredBigTextLine(i32 noundef 1, ptr noundef @.str) %2 = call i32 @nxtDisplayCenteredTextLine(i32 noundef 3, ptr noundef @.str.1) %3 = call i32 @nxtDisplayCenteredTextLine(i32 noundef 6, ptr noundef @.str.2) ret void } declare i32 @nxtDisplayCenteredBigTextLine(i32 noundef, ptr noundef) #1 declare i32 @nxtDisplayCenteredTextLine(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyxsmzc7n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"Waschen?\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"Ich bin bereit\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"START\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @showMenu() #0 { %1 = call i32 @nxtDisplayCenteredBigTextLine(i32 noundef 1, ptr noundef @.str) %2 = call i32 @nxtDisplayCenteredTextLine(i32 noundef 3, ptr noundef @.str.1) %3 = call i32 @nxtDisplayCenteredTextLine(i32 noundef 6, ptr noundef @.str.2) ret void } declare i32 @nxtDisplayCenteredBigTextLine(i32 noundef, ptr noundef) #1 declare i32 @nxtDisplayCenteredTextLine(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5c20jjfj.c' source_filename = "/tmp/tmp5c20jjfj.c" target datalayout = "e-m:e-p270: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 [24 x i8] c"Should never reach here\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @grpcsharp_call_cancel_with_status() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = call i32 (...) @abort() #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #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/tmp5c20jjfj.c" target datalayout = "e-m:e-p270: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 [24 x i8] c"Should never reach here\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @grpcsharp_call_cancel_with_status() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = call i32 (...) @abort() #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #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/tmphi48jdf9.c' source_filename = "/tmp/tmphi48jdf9.c" target datalayout = "e-m:e-p270: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/tmphi48jdf9.c" target datalayout = "e-m:e-p270: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/tmphgl7ypf5.c' source_filename = "/tmp/tmphgl7ypf5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skip_ws(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %8, %1 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 %6 = call i64 @isspace(i8 noundef signext %5) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %3 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds i8, ptr %9, i32 1 store ptr %10, ptr %2, align 8 br label %3, !llvm.loop !6 11: ; preds = %3 %12 = load ptr, ptr %2, align 8 ret ptr %12 } declare i64 @isspace(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphgl7ypf5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skip_ws(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i8, ptr %3, align 1 %5 = call i64 @isspace(i8 noundef signext %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %.lr.ph, label %14 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %7 %8 = load ptr, ptr %2, align 8 %9 = getelementptr inbounds i8, ptr %8, i32 1 store ptr %9, ptr %2, align 8 %10 = load ptr, ptr %2, align 8 %11 = load i8, ptr %10, align 1 %12 = call i64 @isspace(i8 noundef signext %11) %13 = icmp ne i64 %12, 0 br i1 %13, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %7 br label %14 14: ; preds = %._crit_edge, %1 %15 = load ptr, ptr %2, align 8 ret ptr %15 } declare i64 @isspace(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp74bwjdlw.c' source_filename = "/tmp/tmp74bwjdlw.c" target datalayout = "e-m:e-p270: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.addrinfo = type { i32, i32, i32, i32, i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"8080\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c"error : cannot get socket address!\0A\00", align 1 @.str.3 = private unnamed_addr constant [44 x i8] c"error : cannot get socket file descriptor!\0A\00", align 1 @.str.4 = private unnamed_addr constant [36 x i8] c"error : cannot connect the server!\0A\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"Hello Server!\00", align 1 @.str.6 = private unnamed_addr constant [24 x i8] c"write < %s > to server\0A\00", align 1 @.str.7 = private unnamed_addr constant [25 x i8] c"read < %s > from server\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 %struct.addrinfo, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [20 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 20) %12 = load i32, ptr @AF_INET, align 4 %13 = getelementptr inbounds %struct.addrinfo, ptr %6, i32 0, i32 4 store i32 %12, ptr %13, align 4 %14 = load i32, ptr @SOCK_STREAM, align 4 %15 = getelementptr inbounds %struct.addrinfo, ptr %6, i32 0, i32 3 store i32 %14, ptr %15, align 4 %16 = call i32 @getaddrinfo(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %6, ptr noundef %7) store i32 %16, ptr %8, align 4 %17 = load i32, ptr %8, align 4 %18 = icmp eq i32 %17, -1 br i1 %18, label %19, label %22 19: ; preds = %2 %20 = call i32 @perror(ptr noundef @.str.2) %21 = call i32 @exit(i32 noundef 1) #3 unreachable 22: ; preds = %2 %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds %struct.addrinfo, ptr %23, i32 0, i32 4 %25 = load i32, ptr %24, align 4 %26 = load ptr, ptr %7, align 8 %27 = getelementptr inbounds %struct.addrinfo, ptr %26, i32 0, i32 3 %28 = load i32, ptr %27, align 4 %29 = load ptr, ptr %7, align 8 %30 = getelementptr inbounds %struct.addrinfo, ptr %29, i32 0, i32 2 %31 = load i32, ptr %30, align 4 %32 = call i32 @socket(i32 noundef %25, i32 noundef %28, i32 noundef %31) store i32 %32, ptr %9, align 4 %33 = load i32, ptr %9, align 4 %34 = icmp eq i32 %33, -1 br i1 %34, label %35, label %38 35: ; preds = %22 %36 = call i32 @perror(ptr noundef @.str.3) %37 = call i32 @exit(i32 noundef 1) #3 unreachable 38: ; preds = %22 %39 = load i32, ptr %9, align 4 %40 = load ptr, ptr %7, align 8 %41 = getelementptr inbounds %struct.addrinfo, ptr %40, i32 0, i32 1 %42 = load i32, ptr %41, align 4 %43 = load ptr, ptr %7, align 8 %44 = getelementptr inbounds %struct.addrinfo, ptr %43, i32 0, i32 0 %45 = load i32, ptr %44, align 4 %46 = call i32 @connect(i32 noundef %39, i32 noundef %42, i32 noundef %45) store i32 %46, ptr %8, align 4 %47 = load i32, ptr %8, align 4 %48 = icmp eq i32 %47, -1 br i1 %48, label %49, label %52 49: ; preds = %38 %50 = call i32 @perror(ptr noundef @.str.4) %51 = call i32 @exit(i32 noundef 1) #3 unreachable 52: ; preds = %38 %53 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %54 = call i32 @strcpy(ptr noundef %53, ptr noundef @.str.5) %55 = load i32, ptr %9, align 4 %56 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %57 = call i32 @write(i32 noundef %55, ptr noundef %56, i32 noundef 20) %58 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %59 = call i32 @printf(ptr noundef @.str.6, ptr noundef %58) %60 = load i32, ptr %9, align 4 %61 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %62 = call i32 @read(i32 noundef %60, ptr noundef %61, i32 noundef 20) %63 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %64 = call i32 @printf(ptr noundef @.str.7, ptr noundef %63) ret i32 0 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @connect(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @read(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" } 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/tmp74bwjdlw.c" target datalayout = "e-m:e-p270: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.addrinfo = type { i32, i32, i32, i32, i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"8080\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c"error : cannot get socket address!\0A\00", align 1 @.str.3 = private unnamed_addr constant [44 x i8] c"error : cannot get socket file descriptor!\0A\00", align 1 @.str.4 = private unnamed_addr constant [36 x i8] c"error : cannot connect the server!\0A\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"Hello Server!\00", align 1 @.str.6 = private unnamed_addr constant [24 x i8] c"write < %s > to server\0A\00", align 1 @.str.7 = private unnamed_addr constant [25 x i8] c"read < %s > from server\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 %struct.addrinfo, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [20 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 20) %12 = load i32, ptr @AF_INET, align 4 %13 = getelementptr inbounds %struct.addrinfo, ptr %6, i32 0, i32 4 store i32 %12, ptr %13, align 4 %14 = load i32, ptr @SOCK_STREAM, align 4 %15 = getelementptr inbounds %struct.addrinfo, ptr %6, i32 0, i32 3 store i32 %14, ptr %15, align 4 %16 = call i32 @getaddrinfo(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %6, ptr noundef %7) store i32 %16, ptr %8, align 4 %17 = load i32, ptr %8, align 4 %18 = icmp eq i32 %17, -1 br i1 %18, label %19, label %22 19: ; preds = %2 %20 = call i32 @perror(ptr noundef @.str.2) %21 = call i32 @exit(i32 noundef 1) #3 unreachable 22: ; preds = %2 %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds %struct.addrinfo, ptr %23, i32 0, i32 4 %25 = load i32, ptr %24, align 4 %26 = load ptr, ptr %7, align 8 %27 = getelementptr inbounds %struct.addrinfo, ptr %26, i32 0, i32 3 %28 = load i32, ptr %27, align 4 %29 = load ptr, ptr %7, align 8 %30 = getelementptr inbounds %struct.addrinfo, ptr %29, i32 0, i32 2 %31 = load i32, ptr %30, align 4 %32 = call i32 @socket(i32 noundef %25, i32 noundef %28, i32 noundef %31) store i32 %32, ptr %9, align 4 %33 = load i32, ptr %9, align 4 %34 = icmp eq i32 %33, -1 br i1 %34, label %35, label %38 35: ; preds = %22 %36 = call i32 @perror(ptr noundef @.str.3) %37 = call i32 @exit(i32 noundef 1) #3 unreachable 38: ; preds = %22 %39 = load i32, ptr %9, align 4 %40 = load ptr, ptr %7, align 8 %41 = getelementptr inbounds %struct.addrinfo, ptr %40, i32 0, i32 1 %42 = load i32, ptr %41, align 4 %43 = load ptr, ptr %7, align 8 %44 = getelementptr inbounds %struct.addrinfo, ptr %43, i32 0, i32 0 %45 = load i32, ptr %44, align 4 %46 = call i32 @connect(i32 noundef %39, i32 noundef %42, i32 noundef %45) store i32 %46, ptr %8, align 4 %47 = load i32, ptr %8, align 4 %48 = icmp eq i32 %47, -1 br i1 %48, label %49, label %52 49: ; preds = %38 %50 = call i32 @perror(ptr noundef @.str.4) %51 = call i32 @exit(i32 noundef 1) #3 unreachable 52: ; preds = %38 %53 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %54 = call i32 @strcpy(ptr noundef %53, ptr noundef @.str.5) %55 = load i32, ptr %9, align 4 %56 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %57 = call i32 @write(i32 noundef %55, ptr noundef %56, i32 noundef 20) %58 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %59 = call i32 @printf(ptr noundef @.str.6, ptr noundef %58) %60 = load i32, ptr %9, align 4 %61 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %62 = call i32 @read(i32 noundef %60, ptr noundef %61, i32 noundef 20) %63 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %64 = call i32 @printf(ptr noundef @.str.7, ptr noundef %63) ret i32 0 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @connect(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @read(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" } 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/tmpy0zdbgmo.c' source_filename = "/tmp/tmpy0zdbgmo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ASCCI char: %c value %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %3 3: ; preds = %10, %0 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 255 br i1 %5, label %6, label %13 6: ; preds = %3 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8) br label %10 10: ; preds = %6 %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %2, align 4 br label %3, !llvm.loop !6 13: ; preds = %3 ret i32 0 } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy0zdbgmo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ASCCI char: %c value %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp slt i32 %3, 255 br i1 %4, label %.lr.ph, label %14 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %9 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %7) br label %9 9: ; preds = %5 %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %2, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp slt i32 %12, 255 br i1 %13, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %14 14: ; preds = %._crit_edge, %0 ret i32 0 } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_78m71ia.c' source_filename = "/tmp/tmp_78m71ia.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_XGCValues_subwindow_mode(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 %struct.TYPE_2__, ptr %3, i32 0, i32 0 %5 = load i64, ptr %4, align 8 %6 = trunc i64 %5 to i32 ret i32 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_78m71ia.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_XGCValues_subwindow_mode(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 %struct.TYPE_2__, ptr %3, i32 0, i32 0 %5 = load i64, ptr %4, align 8 %6 = trunc i64 %5 to i32 ret i32 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpic7hmny4.c' source_filename = "/tmp/tmpic7hmny4.c" target datalayout = "e-m:e-p270: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/tmpic7hmny4.c" target datalayout = "e-m:e-p270: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/tmpdzeg6g5h.c' source_filename = "/tmp/tmpdzeg6g5h.c" target datalayout = "e-m:e-p270: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/tmpdzeg6g5h.c" target datalayout = "e-m:e-p270: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/tmp8kdw3njl.c' source_filename = "/tmp/tmp8kdw3njl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @process_fork(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 1, ptr %4, align 4 br label %5 5: ; preds = %15, %1 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %9, label %18 9: ; preds = %5 %10 = call i64 (...) @fork() %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = load i32, ptr %4, align 4 store i32 %13, ptr %2, align 4 br label %19 14: ; preds = %9 br label %15 15: ; preds = %14 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %4, align 4 br label %5, !llvm.loop !6 18: ; preds = %5 store i32 0, ptr %2, align 4 br label %19 19: ; preds = %18, %12 %20 = load i32, ptr %2, align 4 ret i32 %20 } declare i64 @fork(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp8kdw3njl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @process_fork(i32 noundef %0) #0 { %2 = alloca i32, align 4 %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 %4, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %5, %6 br i1 %7, label %.lr.ph, label %20 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %14 %9 = call i64 (...) @fork() %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %8 %12 = load i32, ptr %4, align 4 store i32 %12, ptr %2, align 4 br label %21 13: ; preds = %8 br label %14 14: ; preds = %13 %15 = load i32, ptr %4, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %4, align 4 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %3, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %20 20: ; preds = %._crit_edge, %1 store i32 0, ptr %2, align 4 br label %21 21: ; preds = %20, %11 %22 = load i32, ptr %2, align 4 ret i32 %22 } declare i64 @fork(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp9v1vha_4.c' source_filename = "/tmp/tmp9v1vha_4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @iter_solve_sysrem(i32 noundef %0, i32 noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef %8, i32 noundef %9, ptr noundef %10, double noundef %11, double noundef %12, double noundef %13) #0 { %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca double, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca ptr, align 8 %26 = alloca double, align 8 %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 i32, align 4 %33 = alloca i32, align 4 %34 = alloca double, align 8 %35 = alloca double, align 8 %36 = alloca ptr, align 8 %37 = alloca ptr, align 8 %38 = alloca x86_fp80, align 16 %39 = alloca x86_fp80, align 16 %40 = alloca i32, align 4 %41 = alloca i32, align 4 store i32 %0, ptr %15, align 4 store i32 %1, ptr %16, align 4 store double %2, ptr %17, align 8 store ptr %3, ptr %18, align 8 store ptr %4, ptr %19, align 8 store ptr %5, ptr %20, align 8 store ptr %6, ptr %21, align 8 store ptr %7, ptr %22, align 8 store i32 %8, ptr %23, align 4 store i32 %9, ptr %24, align 4 store ptr %10, ptr %25, align 8 store double %11, ptr %26, align 8 store double %12, ptr %27, align 8 store double %13, ptr %28, align 8 store double 0.000000e+00, ptr %29, align 8 store i32 0, ptr %32, align 4 %42 = load ptr, ptr %18, align 8 %43 = load ptr, ptr %19, align 8 %44 = load i32, ptr %23, align 4 %45 = load i32, ptr %24, align 4 %46 = load ptr, ptr %20, align 8 %47 = load ptr, ptr %21, align 8 %48 = load ptr, ptr %22, align 8 %49 = load double, ptr %26, align 8 %50 = load double, ptr %27, align 8 %51 = load double, ptr %28, align 8 %52 = load ptr, ptr %25, align 8 %53 = call double @itersolve_chisqr_sysrem(ptr noundef %42, ptr noundef %43, i32 noundef %44, i32 noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %48, double noundef %49, double noundef %50, double noundef %51, ptr noundef %52) store double %53, ptr %34, align 8 %54 = load i32, ptr %23, align 4 %55 = sext i32 %54 to i64 %56 = mul i64 %55, 8 %57 = trunc i64 %56 to i32 %58 = call i64 @malloc(i32 noundef %57) %59 = inttoptr i64 %58 to ptr store ptr %59, ptr %36, align 8 %60 = load i32, ptr %24, align 4 %61 = sext i32 %60 to i64 %62 = mul i64 %61, 8 %63 = trunc i64 %62 to i32 %64 = call i64 @malloc(i32 noundef %63) %65 = inttoptr i64 %64 to ptr store ptr %65, ptr %37, align 8 br label %66 66: ; preds = %320, %14 %67 = load i32, ptr %32, align 4 %68 = load i32, ptr %16, align 4 %69 = icmp sle i32 %67, %68 br i1 %69, label %70, label %74 70: ; preds = %66 %71 = load double, ptr %29, align 8 %72 = fcmp une double %71, 0.000000e+00 %73 = xor i1 %72, true br label %74 74: ; preds = %70, %66 %75 = phi i1 [ false, %66 ], [ %73, %70 ] br i1 %75, label %76, label %322 76: ; preds = %74 %77 = load i32, ptr %15, align 4 %78 = icmp eq i32 %77, 1 br i1 %78, label %79, label %109 79: ; preds = %76 store i32 0, ptr %40, align 4 br label %80 80: ; preds = %94, %79 %81 = load i32, ptr %40, align 4 %82 = load i32, ptr %23, align 4 %83 = icmp slt i32 %81, %82 br i1 %83, label %84, label %97 84: ; preds = %80 %85 = load ptr, ptr %18, align 8 %86 = load i32, ptr %40, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds double, ptr %85, i64 %87 %89 = load double, ptr %88, align 8 %90 = load ptr, ptr %36, align 8 %91 = load i32, ptr %40, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds double, ptr %90, i64 %92 store double %89, ptr %93, align 8 br label %94 94: ; preds = %84 %95 = load i32, ptr %40, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %40, align 4 br label %80, !llvm.loop !6 97: ; preds = %80 %98 = load ptr, ptr %18, align 8 %99 = load ptr, ptr %20, align 8 %100 = load ptr, ptr %21, align 8 %101 = load ptr, ptr %22, align 8 %102 = load i32, ptr %23, align 4 %103 = load i32, ptr %24, align 4 %104 = load ptr, ptr %25, align 8 %105 = load double, ptr %26, align 8 %106 = load ptr, ptr %19, align 8 %107 = load double, ptr %28, align 8 %108 = call i32 @decorr_star_sysrem(ptr noundef %98, ptr noundef %99, ptr noundef %100, ptr noundef %101, i32 noundef %102, i32 noundef %103, ptr noundef %104, double noundef %105, ptr noundef %106, double noundef %107) store i32 0, ptr %15, align 4 br label %249 109: ; preds = %76 store i32 0, ptr %41, align 4 br label %110 110: ; preds = %124, %109 %111 = load i32, ptr %41, align 4 %112 = load i32, ptr %24, align 4 %113 = icmp slt i32 %111, %112 br i1 %113, label %114, label %127 114: ; preds = %110 %115 = load ptr, ptr %19, align 8 %116 = load i32, ptr %41, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds double, ptr %115, i64 %117 %119 = load double, ptr %118, align 8 %120 = load ptr, ptr %37, align 8 %121 = load i32, ptr %41, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds double, ptr %120, i64 %122 store double %119, ptr %123, align 8 br label %124 124: ; preds = %114 %125 = load i32, ptr %41, align 4 %126 = add nsw i32 %125, 1 store i32 %126, ptr %41, align 4 br label %110, !llvm.loop !8 127: ; preds = %110 %128 = load ptr, ptr %18, align 8 %129 = load ptr, ptr %20, align 8 %130 = load ptr, ptr %21, align 8 %131 = load ptr, ptr %22, align 8 %132 = load i32, ptr %23, align 4 %133 = load i32, ptr %24, align 4 %134 = load ptr, ptr %25, align 8 %135 = load double, ptr %26, align 8 %136 = load double, ptr %27, align 8 %137 = load ptr, ptr %19, align 8 %138 = load double, ptr %28, align 8 %139 = call i32 @decorr_image_sysrem(ptr noundef %128, ptr noundef %129, ptr noundef %130, ptr noundef %131, i32 noundef %132, i32 noundef %133, ptr noundef %134, double noundef %135, double noundef %136, ptr noundef %137, double noundef %138) store x86_fp80 0xK00000000000000000000, ptr %38, align 16 store x86_fp80 0xK00000000000000000000, ptr %39, align 16 store i32 0, ptr %33, align 4 store i32 0, ptr %41, align 4 br label %140 140: ; preds = %186, %127 %141 = load i32, ptr %41, align 4 %142 = load i32, ptr %24, align 4 %143 = icmp slt i32 %141, %142 br i1 %143, label %144, label %189 144: ; preds = %140 %145 = load ptr, ptr %19, align 8 %146 = load i32, ptr %41, align 4 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds double, ptr %145, i64 %147 %149 = load double, ptr %148, align 8 %150 = call i32 @isnan(double noundef %149) %151 = icmp ne i32 %150, 0 br i1 %151, label %185, label %152 152: ; preds = %144 %153 = load ptr, ptr %19, align 8 %154 = load i32, ptr %41, align 4 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds double, ptr %153, i64 %155 %157 = load double, ptr %156, align 8 %158 = call i32 @isinf(double noundef %157) %159 = icmp ne i32 %158, 0 br i1 %159, label %185, label %160 160: ; preds = %152 %161 = load ptr, ptr %19, align 8 %162 = load i32, ptr %41, align 4 %163 = sext i32 %162 to i64 %164 = getelementptr inbounds double, ptr %161, i64 %163 %165 = load double, ptr %164, align 8 %166 = fpext double %165 to x86_fp80 %167 = load x86_fp80, ptr %38, align 16 %168 = fadd x86_fp80 %167, %166 store x86_fp80 %168, ptr %38, align 16 %169 = load ptr, ptr %19, align 8 %170 = load i32, ptr %41, align 4 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds double, ptr %169, i64 %171 %173 = load double, ptr %172, align 8 %174 = load ptr, ptr %19, align 8 %175 = load i32, ptr %41, align 4 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds double, ptr %174, i64 %176 %178 = load double, ptr %177, align 8 %179 = fmul double %173, %178 %180 = fpext double %179 to x86_fp80 %181 = load x86_fp80, ptr %39, align 16 %182 = fadd x86_fp80 %181, %180 store x86_fp80 %182, ptr %39, align 16 %183 = load i32, ptr %33, align 4 %184 = add nsw i32 %183, 1 store i32 %184, ptr %33, align 4 br label %185 185: ; preds = %160, %152, %144 br label %186 186: ; preds = %185 %187 = load i32, ptr %41, align 4 %188 = add nsw i32 %187, 1 store i32 %188, ptr %41, align 4 br label %140, !llvm.loop !9 189: ; preds = %140 %190 = load x86_fp80, ptr %39, align 16 %191 = load i32, ptr %33, align 4 %192 = sitofp i32 %191 to x86_fp80 %193 = fdiv x86_fp80 %190, %192 %194 = load x86_fp80, ptr %38, align 16 %195 = load x86_fp80, ptr %38, align 16 %196 = fmul x86_fp80 %194, %195 %197 = load i32, ptr %33, align 4 %198 = load i32, ptr %33, align 4 %199 = mul nsw i32 %197, %198 %200 = sitofp i32 %199 to x86_fp80 %201 = fdiv x86_fp80 %196, %200 %202 = fsub x86_fp80 %193, %201 %203 = fptrunc x86_fp80 %202 to double %204 = call double @sqrt(double noundef %203) #3 store double %204, ptr %30, align 8 %205 = load x86_fp80, ptr %38, align 16 %206 = load i32, ptr %33, align 4 %207 = sitofp i32 %206 to x86_fp80 %208 = fdiv x86_fp80 %205, %207 %209 = fptrunc x86_fp80 %208 to double store double %209, ptr %31, align 8 store i32 0, ptr %41, align 4 br label %210 210: ; preds = %245, %189 %211 = load i32, ptr %41, align 4 %212 = load i32, ptr %24, align 4 %213 = icmp slt i32 %211, %212 br i1 %213, label %214, label %248 214: ; preds = %210 %215 = load ptr, ptr %19, align 8 %216 = load i32, ptr %41, align 4 %217 = sext i32 %216 to i64 %218 = getelementptr inbounds double, ptr %215, i64 %217 %219 = load double, ptr %218, align 8 %220 = call i32 @isnan(double noundef %219) %221 = icmp ne i32 %220, 0 br i1 %221, label %244, label %222 222: ; preds = %214 %223 = load ptr, ptr %19, align 8 %224 = load i32, ptr %41, align 4 %225 = sext i32 %224 to i64 %226 = getelementptr inbounds double, ptr %223, i64 %225 %227 = load double, ptr %226, align 8 %228 = call i32 @isinf(double noundef %227) %229 = icmp ne i32 %228, 0 br i1 %229, label %244, label %230 230: ; preds = %222 %231 = load ptr, ptr %19, align 8 %232 = load i32, ptr %41, align 4 %233 = sext i32 %232 to i64 %234 = getelementptr inbounds double, ptr %231, i64 %233 %235 = load double, ptr %234, align 8 %236 = load double, ptr %31, align 8 %237 = fsub double %235, %236 %238 = load double, ptr %30, align 8 %239 = fdiv double %237, %238 %240 = load ptr, ptr %19, align 8 %241 = load i32, ptr %41, align 4 %242 = sext i32 %241 to i64 %243 = getelementptr inbounds double, ptr %240, i64 %242 store double %239, ptr %243, align 8 br label %244 244: ; preds = %230, %222, %214 br label %245 245: ; preds = %244 %246 = load i32, ptr %41, align 4 %247 = add nsw i32 %246, 1 store i32 %247, ptr %41, align 4 br label %210, !llvm.loop !10 248: ; preds = %210 store i32 1, ptr %15, align 4 br label %249 249: ; preds = %248, %97 %250 = load i32, ptr %32, align 4 %251 = add nsw i32 %250, 1 store i32 %251, ptr %32, align 4 %252 = load ptr, ptr %18, align 8 %253 = load ptr, ptr %19, align 8 %254 = load i32, ptr %23, align 4 %255 = load i32, ptr %24, align 4 %256 = load ptr, ptr %20, align 8 %257 = load ptr, ptr %21, align 8 %258 = load ptr, ptr %22, align 8 %259 = load double, ptr %26, align 8 %260 = load double, ptr %27, align 8 %261 = load double, ptr %28, align 8 %262 = load ptr, ptr %25, align 8 %263 = call double @itersolve_chisqr_sysrem(ptr noundef %252, ptr noundef %253, i32 noundef %254, i32 noundef %255, ptr noundef %256, ptr noundef %257, ptr noundef %258, double noundef %259, double noundef %260, double noundef %261, ptr noundef %262) store double %263, ptr %35, align 8 %264 = load double, ptr %35, align 8 %265 = load double, ptr %34, align 8 %266 = fcmp ogt double %264, %265 br i1 %266, label %267, label %312 267: ; preds = %249 %268 = load i32, ptr %15, align 4 %269 = icmp eq i32 %268, 1 br i1 %269, label %270, label %289 270: ; preds = %267 store i32 0, ptr %41, align 4 br label %271 271: ; preds = %285, %270 %272 = load i32, ptr %41, align 4 %273 = load i32, ptr %24, align 4 %274 = icmp slt i32 %272, %273 br i1 %274, label %275, label %288 275: ; preds = %271 %276 = load ptr, ptr %37, align 8 %277 = load i32, ptr %41, align 4 %278 = sext i32 %277 to i64 %279 = getelementptr inbounds double, ptr %276, i64 %278 %280 = load double, ptr %279, align 8 %281 = load ptr, ptr %19, align 8 %282 = load i32, ptr %41, align 4 %283 = sext i32 %282 to i64 %284 = getelementptr inbounds double, ptr %281, i64 %283 store double %280, ptr %284, align 8 br label %285 285: ; preds = %275 %286 = load i32, ptr %41, align 4 %287 = add nsw i32 %286, 1 store i32 %287, ptr %41, align 4 br label %271, !llvm.loop !11 288: ; preds = %271 br label %289 289: ; preds = %288, %267 %290 = load i32, ptr %15, align 4 %291 = icmp eq i32 %290, 0 br i1 %291, label %292, label %311 292: ; preds = %289 store i32 0, ptr %40, align 4 br label %293 293: ; preds = %307, %292 %294 = load i32, ptr %40, align 4 %295 = load i32, ptr %23, align 4 %296 = icmp slt i32 %294, %295 br i1 %296, label %297, label %310 297: ; preds = %293 %298 = load ptr, ptr %36, align 8 %299 = load i32, ptr %40, align 4 %300 = sext i32 %299 to i64 %301 = getelementptr inbounds double, ptr %298, i64 %300 %302 = load double, ptr %301, align 8 %303 = load ptr, ptr %18, align 8 %304 = load i32, ptr %40, align 4 %305 = sext i32 %304 to i64 %306 = getelementptr inbounds double, ptr %303, i64 %305 store double %302, ptr %306, align 8 br label %307 307: ; preds = %297 %308 = load i32, ptr %40, align 4 %309 = add nsw i32 %308, 1 store i32 %309, ptr %40, align 4 br label %293, !llvm.loop !12 310: ; preds = %293 br label %311 311: ; preds = %310, %289 store double 1.000000e+00, ptr %29, align 8 br label %320 312: ; preds = %249 %313 = load double, ptr %34, align 8 %314 = load double, ptr %35, align 8 %315 = fsub double %313, %314 %316 = load double, ptr %17, align 8 %317 = fcmp olt double %315, %316 br i1 %317, label %318, label %319 318: ; preds = %312 store double 1.000000e+00, ptr %29, align 8 br label %319 319: ; preds = %318, %312 br label %320 320: ; preds = %319, %311 %321 = load double, ptr %35, align 8 store double %321, ptr %34, align 8 br label %66, !llvm.loop !13 322: ; preds = %74 %323 = load ptr, ptr %18, align 8 %324 = load ptr, ptr %20, align 8 %325 = load ptr, ptr %21, align 8 %326 = load ptr, ptr %22, align 8 %327 = load i32, ptr %23, align 4 %328 = load i32, ptr %24, align 4 %329 = load ptr, ptr %25, align 8 %330 = load double, ptr %26, align 8 %331 = load ptr, ptr %19, align 8 %332 = load double, ptr %28, align 8 %333 = call i32 @decorr_star_sysrem(ptr noundef %323, ptr noundef %324, ptr noundef %325, ptr noundef %326, i32 noundef %327, i32 noundef %328, ptr noundef %329, double noundef %330, ptr noundef %331, double noundef %332) %334 = load ptr, ptr %36, align 8 %335 = call i32 @free(ptr noundef %334) %336 = load ptr, ptr %37, align 8 %337 = call i32 @free(ptr noundef %336) %338 = load ptr, ptr %18, align 8 %339 = load ptr, ptr %19, align 8 %340 = load ptr, ptr %20, align 8 %341 = load ptr, ptr %21, align 8 %342 = load i32, ptr %23, align 4 %343 = load i32, ptr %24, align 4 %344 = call i32 @magcorr_sysrem(ptr noundef %338, ptr noundef %339, ptr noundef %340, ptr noundef %341, i32 noundef %342, i32 noundef %343) %345 = load i32, ptr %32, align 4 ret i32 %345 } declare double @itersolve_chisqr_sysrem(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef, double noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @decorr_star_sysrem(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, double noundef, ptr noundef, double noundef) #1 declare i32 @decorr_image_sysrem(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, double noundef, double noundef, ptr noundef, double noundef) #1 declare i32 @isnan(double noundef) #1 declare i32 @isinf(double noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 declare i32 @free(ptr noundef) #1 declare i32 @magcorr_sysrem(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9v1vha_4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @iter_solve_sysrem(i32 noundef %0, i32 noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef %8, i32 noundef %9, ptr noundef %10, double noundef %11, double noundef %12, double noundef %13) #0 { %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca double, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca ptr, align 8 %26 = alloca double, align 8 %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 i32, align 4 %33 = alloca i32, align 4 %34 = alloca double, align 8 %35 = alloca double, align 8 %36 = alloca ptr, align 8 %37 = alloca ptr, align 8 %38 = alloca x86_fp80, align 16 %39 = alloca x86_fp80, align 16 %40 = alloca i32, align 4 %41 = alloca i32, align 4 store i32 %0, ptr %15, align 4 store i32 %1, ptr %16, align 4 store double %2, ptr %17, align 8 store ptr %3, ptr %18, align 8 store ptr %4, ptr %19, align 8 store ptr %5, ptr %20, align 8 store ptr %6, ptr %21, align 8 store ptr %7, ptr %22, align 8 store i32 %8, ptr %23, align 4 store i32 %9, ptr %24, align 4 store ptr %10, ptr %25, align 8 store double %11, ptr %26, align 8 store double %12, ptr %27, align 8 store double %13, ptr %28, align 8 store double 0.000000e+00, ptr %29, align 8 store i32 0, ptr %32, align 4 %42 = load ptr, ptr %18, align 8 %43 = load ptr, ptr %19, align 8 %44 = load i32, ptr %23, align 4 %45 = load i32, ptr %24, align 4 %46 = load ptr, ptr %20, align 8 %47 = load ptr, ptr %21, align 8 %48 = load ptr, ptr %22, align 8 %49 = load double, ptr %26, align 8 %50 = load double, ptr %27, align 8 %51 = load double, ptr %28, align 8 %52 = load ptr, ptr %25, align 8 %53 = call double @itersolve_chisqr_sysrem(ptr noundef %42, ptr noundef %43, i32 noundef %44, i32 noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %48, double noundef %49, double noundef %50, double noundef %51, ptr noundef %52) store double %53, ptr %34, align 8 %54 = load i32, ptr %23, align 4 %55 = sext i32 %54 to i64 %56 = mul i64 %55, 8 %57 = trunc i64 %56 to i32 %58 = call i64 @malloc(i32 noundef %57) %59 = inttoptr i64 %58 to ptr store ptr %59, ptr %36, align 8 %60 = load i32, ptr %24, align 4 %61 = sext i32 %60 to i64 %62 = mul i64 %61, 8 %63 = trunc i64 %62 to i32 %64 = call i64 @malloc(i32 noundef %63) %65 = inttoptr i64 %64 to ptr store ptr %65, ptr %37, align 8 br label %66 66: ; preds = %332, %14 %67 = load i32, ptr %32, align 4 %68 = load i32, ptr %16, align 4 %69 = icmp sle i32 %67, %68 br i1 %69, label %70, label %74 70: ; preds = %66 %71 = load double, ptr %29, align 8 %72 = fcmp une double %71, 0.000000e+00 %73 = xor i1 %72, true br label %74 74: ; preds = %70, %66 %75 = phi i1 [ false, %66 ], [ %73, %70 ] br i1 %75, label %76, label %334 76: ; preds = %74 %77 = load i32, ptr %15, align 4 %78 = icmp eq i32 %77, 1 br i1 %78, label %79, label %111 79: ; preds = %76 store i32 0, ptr %40, align 4 %80 = load i32, ptr %40, align 4 %81 = load i32, ptr %23, align 4 %82 = icmp slt i32 %80, %81 br i1 %82, label %.lr.ph8, label %99 .lr.ph8: ; preds = %79 br label %83 83: ; preds = %.lr.ph8, %93 %84 = load ptr, ptr %18, align 8 %85 = load i32, ptr %40, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds double, ptr %84, i64 %86 %88 = load double, ptr %87, align 8 %89 = load ptr, ptr %36, align 8 %90 = load i32, ptr %40, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds double, ptr %89, i64 %91 store double %88, ptr %92, align 8 br label %93 93: ; preds = %83 %94 = load i32, ptr %40, align 4 %95 = add nsw i32 %94, 1 store i32 %95, ptr %40, align 4 %96 = load i32, ptr %40, align 4 %97 = load i32, ptr %23, align 4 %98 = icmp slt i32 %96, %97 br i1 %98, label %83, label %._crit_edge9, !llvm.loop !6 ._crit_edge9: ; preds = %93 br label %99 99: ; preds = %._crit_edge9, %79 %100 = load ptr, ptr %18, align 8 %101 = load ptr, ptr %20, align 8 %102 = load ptr, ptr %21, align 8 %103 = load ptr, ptr %22, align 8 %104 = load i32, ptr %23, align 4 %105 = load i32, ptr %24, align 4 %106 = load ptr, ptr %25, align 8 %107 = load double, ptr %26, align 8 %108 = load ptr, ptr %19, align 8 %109 = load double, ptr %28, align 8 %110 = call i32 @decorr_star_sysrem(ptr noundef %100, ptr noundef %101, ptr noundef %102, ptr noundef %103, i32 noundef %104, i32 noundef %105, ptr noundef %106, double noundef %107, ptr noundef %108, double noundef %109) store i32 0, ptr %15, align 4 br label %257 111: ; preds = %76 store i32 0, ptr %41, align 4 %112 = load i32, ptr %41, align 4 %113 = load i32, ptr %24, align 4 %114 = icmp slt i32 %112, %113 br i1 %114, label %.lr.ph, label %131 .lr.ph: ; preds = %111 br label %115 115: ; preds = %.lr.ph, %125 %116 = load ptr, ptr %19, align 8 %117 = load i32, ptr %41, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds double, ptr %116, i64 %118 %120 = load double, ptr %119, align 8 %121 = load ptr, ptr %37, align 8 %122 = load i32, ptr %41, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds double, ptr %121, i64 %123 store double %120, ptr %124, align 8 br label %125 125: ; preds = %115 %126 = load i32, ptr %41, align 4 %127 = add nsw i32 %126, 1 store i32 %127, ptr %41, align 4 %128 = load i32, ptr %41, align 4 %129 = load i32, ptr %24, align 4 %130 = icmp slt i32 %128, %129 br i1 %130, label %115, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %125 br label %131 131: ; preds = %._crit_edge, %111 %132 = load ptr, ptr %18, align 8 %133 = load ptr, ptr %20, align 8 %134 = load ptr, ptr %21, align 8 %135 = load ptr, ptr %22, align 8 %136 = load i32, ptr %23, align 4 %137 = load i32, ptr %24, align 4 %138 = load ptr, ptr %25, align 8 %139 = load double, ptr %26, align 8 %140 = load double, ptr %27, align 8 %141 = load ptr, ptr %19, align 8 %142 = load double, ptr %28, align 8 %143 = call i32 @decorr_image_sysrem(ptr noundef %132, ptr noundef %133, ptr noundef %134, ptr noundef %135, i32 noundef %136, i32 noundef %137, ptr noundef %138, double noundef %139, double noundef %140, ptr noundef %141, double noundef %142) store x86_fp80 0xK00000000000000000000, ptr %38, align 16 store x86_fp80 0xK00000000000000000000, ptr %39, align 16 store i32 0, ptr %33, align 4 store i32 0, ptr %41, align 4 %144 = load i32, ptr %41, align 4 %145 = load i32, ptr %24, align 4 %146 = icmp slt i32 %144, %145 br i1 %146, label %.lr.ph2, label %195 .lr.ph2: ; preds = %131 br label %147 147: ; preds = %.lr.ph2, %189 %148 = load ptr, ptr %19, align 8 %149 = load i32, ptr %41, align 4 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds double, ptr %148, i64 %150 %152 = load double, ptr %151, align 8 %153 = call i32 @isnan(double noundef %152) %154 = icmp ne i32 %153, 0 br i1 %154, label %188, label %155 155: ; preds = %147 %156 = load ptr, ptr %19, align 8 %157 = load i32, ptr %41, align 4 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds double, ptr %156, i64 %158 %160 = load double, ptr %159, align 8 %161 = call i32 @isinf(double noundef %160) %162 = icmp ne i32 %161, 0 br i1 %162, label %188, label %163 163: ; preds = %155 %164 = load ptr, ptr %19, align 8 %165 = load i32, ptr %41, align 4 %166 = sext i32 %165 to i64 %167 = getelementptr inbounds double, ptr %164, i64 %166 %168 = load double, ptr %167, align 8 %169 = fpext double %168 to x86_fp80 %170 = load x86_fp80, ptr %38, align 16 %171 = fadd x86_fp80 %170, %169 store x86_fp80 %171, ptr %38, align 16 %172 = load ptr, ptr %19, align 8 %173 = load i32, ptr %41, align 4 %174 = sext i32 %173 to i64 %175 = getelementptr inbounds double, ptr %172, i64 %174 %176 = load double, ptr %175, align 8 %177 = load ptr, ptr %19, align 8 %178 = load i32, ptr %41, align 4 %179 = sext i32 %178 to i64 %180 = getelementptr inbounds double, ptr %177, i64 %179 %181 = load double, ptr %180, align 8 %182 = fmul double %176, %181 %183 = fpext double %182 to x86_fp80 %184 = load x86_fp80, ptr %39, align 16 %185 = fadd x86_fp80 %184, %183 store x86_fp80 %185, ptr %39, align 16 %186 = load i32, ptr %33, align 4 %187 = add nsw i32 %186, 1 store i32 %187, ptr %33, align 4 br label %188 188: ; preds = %163, %155, %147 br label %189 189: ; preds = %188 %190 = load i32, ptr %41, align 4 %191 = add nsw i32 %190, 1 store i32 %191, ptr %41, align 4 %192 = load i32, ptr %41, align 4 %193 = load i32, ptr %24, align 4 %194 = icmp slt i32 %192, %193 br i1 %194, label %147, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %189 br label %195 195: ; preds = %._crit_edge3, %131 %196 = load x86_fp80, ptr %39, align 16 %197 = load i32, ptr %33, align 4 %198 = sitofp i32 %197 to x86_fp80 %199 = fdiv x86_fp80 %196, %198 %200 = load x86_fp80, ptr %38, align 16 %201 = load x86_fp80, ptr %38, align 16 %202 = fmul x86_fp80 %200, %201 %203 = load i32, ptr %33, align 4 %204 = load i32, ptr %33, align 4 %205 = mul nsw i32 %203, %204 %206 = sitofp i32 %205 to x86_fp80 %207 = fdiv x86_fp80 %202, %206 %208 = fsub x86_fp80 %199, %207 %209 = fptrunc x86_fp80 %208 to double %210 = call double @sqrt(double noundef %209) #3 store double %210, ptr %30, align 8 %211 = load x86_fp80, ptr %38, align 16 %212 = load i32, ptr %33, align 4 %213 = sitofp i32 %212 to x86_fp80 %214 = fdiv x86_fp80 %211, %213 %215 = fptrunc x86_fp80 %214 to double store double %215, ptr %31, align 8 store i32 0, ptr %41, align 4 %216 = load i32, ptr %41, align 4 %217 = load i32, ptr %24, align 4 %218 = icmp slt i32 %216, %217 br i1 %218, label %.lr.ph5, label %256 .lr.ph5: ; preds = %195 br label %219 219: ; preds = %.lr.ph5, %250 %220 = load ptr, ptr %19, align 8 %221 = load i32, ptr %41, align 4 %222 = sext i32 %221 to i64 %223 = getelementptr inbounds double, ptr %220, i64 %222 %224 = load double, ptr %223, align 8 %225 = call i32 @isnan(double noundef %224) %226 = icmp ne i32 %225, 0 br i1 %226, label %249, label %227 227: ; preds = %219 %228 = load ptr, ptr %19, align 8 %229 = load i32, ptr %41, align 4 %230 = sext i32 %229 to i64 %231 = getelementptr inbounds double, ptr %228, i64 %230 %232 = load double, ptr %231, align 8 %233 = call i32 @isinf(double noundef %232) %234 = icmp ne i32 %233, 0 br i1 %234, label %249, label %235 235: ; preds = %227 %236 = load ptr, ptr %19, align 8 %237 = load i32, ptr %41, align 4 %238 = sext i32 %237 to i64 %239 = getelementptr inbounds double, ptr %236, i64 %238 %240 = load double, ptr %239, align 8 %241 = load double, ptr %31, align 8 %242 = fsub double %240, %241 %243 = load double, ptr %30, align 8 %244 = fdiv double %242, %243 %245 = load ptr, ptr %19, align 8 %246 = load i32, ptr %41, align 4 %247 = sext i32 %246 to i64 %248 = getelementptr inbounds double, ptr %245, i64 %247 store double %244, ptr %248, align 8 br label %249 249: ; preds = %235, %227, %219 br label %250 250: ; preds = %249 %251 = load i32, ptr %41, align 4 %252 = add nsw i32 %251, 1 store i32 %252, ptr %41, align 4 %253 = load i32, ptr %41, align 4 %254 = load i32, ptr %24, align 4 %255 = icmp slt i32 %253, %254 br i1 %255, label %219, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %250 br label %256 256: ; preds = %._crit_edge6, %195 store i32 1, ptr %15, align 4 br label %257 257: ; preds = %256, %99 %258 = load i32, ptr %32, align 4 %259 = add nsw i32 %258, 1 store i32 %259, ptr %32, align 4 %260 = load ptr, ptr %18, align 8 %261 = load ptr, ptr %19, align 8 %262 = load i32, ptr %23, align 4 %263 = load i32, ptr %24, align 4 %264 = load ptr, ptr %20, align 8 %265 = load ptr, ptr %21, align 8 %266 = load ptr, ptr %22, align 8 %267 = load double, ptr %26, align 8 %268 = load double, ptr %27, align 8 %269 = load double, ptr %28, align 8 %270 = load ptr, ptr %25, align 8 %271 = call double @itersolve_chisqr_sysrem(ptr noundef %260, ptr noundef %261, i32 noundef %262, i32 noundef %263, ptr noundef %264, ptr noundef %265, ptr noundef %266, double noundef %267, double noundef %268, double noundef %269, ptr noundef %270) store double %271, ptr %35, align 8 %272 = load double, ptr %35, align 8 %273 = load double, ptr %34, align 8 %274 = fcmp ogt double %272, %273 br i1 %274, label %275, label %324 275: ; preds = %257 %276 = load i32, ptr %15, align 4 %277 = icmp eq i32 %276, 1 br i1 %277, label %278, label %299 278: ; preds = %275 store i32 0, ptr %41, align 4 %279 = load i32, ptr %41, align 4 %280 = load i32, ptr %24, align 4 %281 = icmp slt i32 %279, %280 br i1 %281, label %.lr.ph11, label %298 .lr.ph11: ; preds = %278 br label %282 282: ; preds = %.lr.ph11, %292 %283 = load ptr, ptr %37, align 8 %284 = load i32, ptr %41, align 4 %285 = sext i32 %284 to i64 %286 = getelementptr inbounds double, ptr %283, i64 %285 %287 = load double, ptr %286, align 8 %288 = load ptr, ptr %19, align 8 %289 = load i32, ptr %41, align 4 %290 = sext i32 %289 to i64 %291 = getelementptr inbounds double, ptr %288, i64 %290 store double %287, ptr %291, align 8 br label %292 292: ; preds = %282 %293 = load i32, ptr %41, align 4 %294 = add nsw i32 %293, 1 store i32 %294, ptr %41, align 4 %295 = load i32, ptr %41, align 4 %296 = load i32, ptr %24, align 4 %297 = icmp slt i32 %295, %296 br i1 %297, label %282, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %292 br label %298 298: ; preds = %._crit_edge12, %278 br label %299 299: ; preds = %298, %275 %300 = load i32, ptr %15, align 4 %301 = icmp eq i32 %300, 0 br i1 %301, label %302, label %323 302: ; preds = %299 store i32 0, ptr %40, align 4 %303 = load i32, ptr %40, align 4 %304 = load i32, ptr %23, align 4 %305 = icmp slt i32 %303, %304 br i1 %305, label %.lr.ph14, label %322 .lr.ph14: ; preds = %302 br label %306 306: ; preds = %.lr.ph14, %316 %307 = load ptr, ptr %36, align 8 %308 = load i32, ptr %40, align 4 %309 = sext i32 %308 to i64 %310 = getelementptr inbounds double, ptr %307, i64 %309 %311 = load double, ptr %310, align 8 %312 = load ptr, ptr %18, align 8 %313 = load i32, ptr %40, align 4 %314 = sext i32 %313 to i64 %315 = getelementptr inbounds double, ptr %312, i64 %314 store double %311, ptr %315, align 8 br label %316 316: ; preds = %306 %317 = load i32, ptr %40, align 4 %318 = add nsw i32 %317, 1 store i32 %318, ptr %40, align 4 %319 = load i32, ptr %40, align 4 %320 = load i32, ptr %23, align 4 %321 = icmp slt i32 %319, %320 br i1 %321, label %306, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %316 br label %322 322: ; preds = %._crit_edge15, %302 br label %323 323: ; preds = %322, %299 store double 1.000000e+00, ptr %29, align 8 br label %332 324: ; preds = %257 %325 = load double, ptr %34, align 8 %326 = load double, ptr %35, align 8 %327 = fsub double %325, %326 %328 = load double, ptr %17, align 8 %329 = fcmp olt double %327, %328 br i1 %329, label %330, label %331 330: ; preds = %324 store double 1.000000e+00, ptr %29, align 8 br label %331 331: ; preds = %330, %324 br label %332 332: ; preds = %331, %323 %333 = load double, ptr %35, align 8 store double %333, ptr %34, align 8 br label %66, !llvm.loop !13 334: ; preds = %74 %335 = load ptr, ptr %18, align 8 %336 = load ptr, ptr %20, align 8 %337 = load ptr, ptr %21, align 8 %338 = load ptr, ptr %22, align 8 %339 = load i32, ptr %23, align 4 %340 = load i32, ptr %24, align 4 %341 = load ptr, ptr %25, align 8 %342 = load double, ptr %26, align 8 %343 = load ptr, ptr %19, align 8 %344 = load double, ptr %28, align 8 %345 = call i32 @decorr_star_sysrem(ptr noundef %335, ptr noundef %336, ptr noundef %337, ptr noundef %338, i32 noundef %339, i32 noundef %340, ptr noundef %341, double noundef %342, ptr noundef %343, double noundef %344) %346 = load ptr, ptr %36, align 8 %347 = call i32 @free(ptr noundef %346) %348 = load ptr, ptr %37, align 8 %349 = call i32 @free(ptr noundef %348) %350 = load ptr, ptr %18, align 8 %351 = load ptr, ptr %19, align 8 %352 = load ptr, ptr %20, align 8 %353 = load ptr, ptr %21, align 8 %354 = load i32, ptr %23, align 4 %355 = load i32, ptr %24, align 4 %356 = call i32 @magcorr_sysrem(ptr noundef %350, ptr noundef %351, ptr noundef %352, ptr noundef %353, i32 noundef %354, i32 noundef %355) %357 = load i32, ptr %32, align 4 ret i32 %357 } declare double @itersolve_chisqr_sysrem(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef, double noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @decorr_star_sysrem(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, double noundef, ptr noundef, double noundef) #1 declare i32 @decorr_image_sysrem(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, double noundef, double noundef, ptr noundef, double noundef) #1 declare i32 @isnan(double noundef) #1 declare i32 @isinf(double noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 declare i32 @free(ptr noundef) #1 declare i32 @magcorr_sysrem(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7}
; ModuleID = '/tmp/tmp488wqdf3.c' source_filename = "/tmp/tmp488wqdf3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_full(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %10 = load ptr, ptr %6, align 8 store ptr %10, ptr %8, align 8 br label %11 11: ; preds = %26, %3 %12 = load i32, ptr %7, align 4 %13 = icmp ugt i32 %12, 0 br i1 %13, label %14, label %34 14: ; preds = %11 %15 = load i32, ptr %5, align 4 %16 = load ptr, ptr %8, align 8 %17 = load i32, ptr %7, align 4 %18 = call i32 @read(i32 noundef %15, ptr noundef %16, i32 noundef %17) store i32 %18, ptr %9, align 4 %19 = load i32, ptr %9, align 4 %20 = icmp slt i32 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %14 store i32 -1, ptr %4, align 4 br label %41 22: ; preds = %14 %23 = load i32, ptr %9, align 4 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %26 25: ; preds = %22 br label %34 26: ; preds = %22 %27 = load i32, ptr %9, align 4 %28 = load ptr, ptr %8, align 8 %29 = sext i32 %27 to i64 %30 = getelementptr inbounds i8, ptr %28, i64 %29 store ptr %30, ptr %8, align 8 %31 = load i32, ptr %9, align 4 %32 = load i32, ptr %7, align 4 %33 = sub i32 %32, %31 store i32 %33, ptr %7, align 4 br label %11, !llvm.loop !6 34: ; preds = %25, %11 %35 = load ptr, ptr %8, align 8 %36 = load ptr, ptr %6, align 8 %37 = ptrtoint ptr %35 to i64 %38 = ptrtoint ptr %36 to i64 %39 = sub i64 %37, %38 %40 = trunc i64 %39 to i32 store i32 %40, ptr %4, align 4 br label %41 41: ; preds = %34, %21 %42 = load i32, ptr %4, align 4 ret i32 %42 } declare i32 @read(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp488wqdf3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_full(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %10 = load ptr, ptr %6, align 8 store ptr %10, ptr %8, align 8 %11 = load i32, ptr %7, align 4 %12 = icmp ugt i32 %11, 0 br i1 %12, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %3 br label %13 13: ; preds = %.lr.ph, %25 %14 = load i32, ptr %5, align 4 %15 = load ptr, ptr %8, align 8 %16 = load i32, ptr %7, align 4 %17 = call i32 @read(i32 noundef %14, ptr noundef %15, i32 noundef %16) store i32 %17, ptr %9, align 4 %18 = load i32, ptr %9, align 4 %19 = icmp slt i32 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %13 store i32 -1, ptr %4, align 4 br label %42 21: ; preds = %13 %22 = load i32, ptr %9, align 4 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %25 24: ; preds = %21 br label %35 25: ; preds = %21 %26 = load i32, ptr %9, align 4 %27 = load ptr, ptr %8, align 8 %28 = sext i32 %26 to i64 %29 = getelementptr inbounds i8, ptr %27, i64 %28 store ptr %29, ptr %8, align 8 %30 = load i32, ptr %9, align 4 %31 = load i32, ptr %7, align 4 %32 = sub i32 %31, %30 store i32 %32, ptr %7, align 4 %33 = load i32, ptr %7, align 4 %34 = icmp ugt i32 %33, 0 br i1 %34, label %13, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %25 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %3 br label %35 35: ; preds = %.loopexit, %24 %36 = load ptr, ptr %8, align 8 %37 = load ptr, ptr %6, align 8 %38 = ptrtoint ptr %36 to i64 %39 = ptrtoint ptr %37 to i64 %40 = sub i64 %38, %39 %41 = trunc i64 %40 to i32 store i32 %41, ptr %4, align 4 br label %42 42: ; preds = %35, %20 %43 = load i32, ptr %4, align 4 ret i32 %43 } declare i32 @read(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpdwb81igb.c' source_filename = "/tmp/tmpdwb81igb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i32 } @__const._set_RDA.test = private unnamed_addr constant [3 x i32] [i32 3, i32 2, i32 6], align 4 @__const._set_RDA.GC314FS_GCoffset = private unnamed_addr constant [3 x i32] [i32 2048, i32 4096, i32 6144], align 4 @__const._set_RDA.chan_control_map = private unnamed_addr constant [4 x i32] [i32 0, i32 128, i32 256, i32 384], align 16 @CLOCK_REALTIME = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_set_RDA(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %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 %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 [3 x i32], align 4 %18 = alloca [3 x i32], align 4 %19 = alloca [4 x i32], align 16 %20 = alloca ptr, align 8 %21 = alloca %struct.timespec, align 4 %22 = alloca %struct.timespec, align 4 %23 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 store i32 0, ptr %13, align 4 store i32 26, ptr %16, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 4 @__const._set_RDA.test, i64 12, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 4 @__const._set_RDA.GC314FS_GCoffset, i64 12, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %19, ptr align 16 @__const._set_RDA.chan_control_map, i64 16, i1 false) %24 = load i32, ptr @CLOCK_REALTIME, align 4 %25 = call i32 @clock_gettime(i32 noundef %24, ptr noundef %21) %26 = load i32, ptr %12, align 4 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %83 28: ; preds = %6 %29 = load ptr, ptr %7, align 8 %30 = call i32 @write16(ptr noundef %29, i32 noundef 768, i32 noundef 2) %31 = load ptr, ptr %7, align 8 %32 = call i32 @write16(ptr noundef %31, i32 noundef 1024, i32 noundef 2) %33 = load ptr, ptr %7, align 8 %34 = call i32 @write16(ptr noundef %33, i32 noundef 1280, i32 noundef 2) %35 = load ptr, ptr %7, align 8 %36 = load i32, ptr %11, align 4 %37 = call i32 @write32(ptr noundef %35, i32 noundef 780, i32 noundef %36) %38 = load ptr, ptr %7, align 8 %39 = load i32, ptr %11, align 4 %40 = call i32 @write32(ptr noundef %38, i32 noundef 1036, i32 noundef %39) %41 = load ptr, ptr %7, align 8 %42 = load i32, ptr %11, align 4 %43 = call i32 @write32(ptr noundef %41, i32 noundef 1292, i32 noundef %42) %44 = load ptr, ptr %7, align 8 %45 = load i32, ptr %9, align 4 %46 = call i32 @write32(ptr noundef %44, i32 noundef 772, i32 noundef %45) %47 = load ptr, ptr %7, align 8 %48 = load i32, ptr %9, align 4 %49 = call i32 @write32(ptr noundef %47, i32 noundef 1028, i32 noundef %48) %50 = load ptr, ptr %7, align 8 %51 = load i32, ptr %9, align 4 %52 = call i32 @write32(ptr noundef %50, i32 noundef 1284, i32 noundef %51) %53 = load ptr, ptr %7, align 8 %54 = load i32, ptr %10, align 4 %55 = call i32 @write32(ptr noundef %53, i32 noundef 776, i32 noundef %54) %56 = load ptr, ptr %7, align 8 %57 = load i32, ptr %10, align 4 %58 = call i32 @write32(ptr noundef %56, i32 noundef 1032, i32 noundef %57) %59 = load ptr, ptr %7, align 8 %60 = load i32, ptr %10, align 4 %61 = call i32 @write32(ptr noundef %59, i32 noundef 1288, i32 noundef %60) %62 = load ptr, ptr %7, align 8 %63 = load i32, ptr %9, align 4 %64 = call i32 @write32(ptr noundef %62, i32 noundef 788, i32 noundef %63) %65 = load ptr, ptr %7, align 8 %66 = load i32, ptr %9, align 4 %67 = call i32 @write32(ptr noundef %65, i32 noundef 1044, i32 noundef %66) %68 = load ptr, ptr %7, align 8 %69 = load i32, ptr %9, align 4 %70 = call i32 @write32(ptr noundef %68, i32 noundef 1300, i32 noundef %69) %71 = load ptr, ptr %7, align 8 %72 = call i32 @write32(ptr noundef %71, i32 noundef 792, i32 noundef 72089600) %73 = load ptr, ptr %7, align 8 %74 = call i32 @write32(ptr noundef %73, i32 noundef 1048, i32 noundef 137625600) %75 = load ptr, ptr %7, align 8 %76 = call i32 @write32(ptr noundef %75, i32 noundef 1304, i32 noundef 203161600) %77 = load ptr, ptr %7, align 8 %78 = call i32 @write32(ptr noundef %77, i32 noundef 784, i32 noundef 680) %79 = load ptr, ptr %7, align 8 %80 = call i32 @write32(ptr noundef %79, i32 noundef 1040, i32 noundef 680) %81 = load ptr, ptr %7, align 8 %82 = call i32 @write32(ptr noundef %81, i32 noundef 1296, i32 noundef 680) br label %260 83: ; preds = %6 %84 = load i32, ptr %12, align 4 %85 = icmp eq i32 %84, 1 br i1 %85, label %86, label %141 86: ; preds = %83 %87 = load ptr, ptr %7, align 8 %88 = call i32 @write16(ptr noundef %87, i32 noundef 832, i32 noundef 2) %89 = load ptr, ptr %7, align 8 %90 = call i32 @write16(ptr noundef %89, i32 noundef 1088, i32 noundef 2) %91 = load ptr, ptr %7, align 8 %92 = call i32 @write16(ptr noundef %91, i32 noundef 1344, i32 noundef 2) %93 = load ptr, ptr %7, align 8 %94 = load i32, ptr %11, align 4 %95 = call i32 @write32(ptr noundef %93, i32 noundef 844, i32 noundef %94) %96 = load ptr, ptr %7, align 8 %97 = load i32, ptr %11, align 4 %98 = call i32 @write32(ptr noundef %96, i32 noundef 1100, i32 noundef %97) %99 = load ptr, ptr %7, align 8 %100 = load i32, ptr %11, align 4 %101 = call i32 @write32(ptr noundef %99, i32 noundef 1356, i32 noundef %100) %102 = load ptr, ptr %7, align 8 %103 = load i32, ptr %9, align 4 %104 = call i32 @write32(ptr noundef %102, i32 noundef 836, i32 noundef %103) %105 = load ptr, ptr %7, align 8 %106 = load i32, ptr %9, align 4 %107 = call i32 @write32(ptr noundef %105, i32 noundef 1092, i32 noundef %106) %108 = load ptr, ptr %7, align 8 %109 = load i32, ptr %9, align 4 %110 = call i32 @write32(ptr noundef %108, i32 noundef 1348, i32 noundef %109) %111 = load ptr, ptr %7, align 8 %112 = load i32, ptr %10, align 4 %113 = call i32 @write32(ptr noundef %111, i32 noundef 840, i32 noundef %112) %114 = load ptr, ptr %7, align 8 %115 = load i32, ptr %10, align 4 %116 = call i32 @write32(ptr noundef %114, i32 noundef 1096, i32 noundef %115) %117 = load ptr, ptr %7, align 8 %118 = load i32, ptr %10, align 4 %119 = call i32 @write32(ptr noundef %117, i32 noundef 1352, i32 noundef %118) %120 = load ptr, ptr %7, align 8 %121 = load i32, ptr %9, align 4 %122 = call i32 @write32(ptr noundef %120, i32 noundef 852, i32 noundef %121) %123 = load ptr, ptr %7, align 8 %124 = load i32, ptr %9, align 4 %125 = call i32 @write32(ptr noundef %123, i32 noundef 1108, i32 noundef %124) %126 = load ptr, ptr %7, align 8 %127 = load i32, ptr %9, align 4 %128 = call i32 @write32(ptr noundef %126, i32 noundef 1364, i32 noundef %127) %129 = load ptr, ptr %7, align 8 %130 = call i32 @write32(ptr noundef %129, i32 noundef 856, i32 noundef 78643200) %131 = load ptr, ptr %7, align 8 %132 = call i32 @write32(ptr noundef %131, i32 noundef 1112, i32 noundef 144179200) %133 = load ptr, ptr %7, align 8 %134 = call i32 @write32(ptr noundef %133, i32 noundef 1368, i32 noundef 209715200) %135 = load ptr, ptr %7, align 8 %136 = call i32 @write32(ptr noundef %135, i32 noundef 848, i32 noundef 680) %137 = load ptr, ptr %7, align 8 %138 = call i32 @write32(ptr noundef %137, i32 noundef 1104, i32 noundef 680) %139 = load ptr, ptr %7, align 8 %140 = call i32 @write32(ptr noundef %139, i32 noundef 1360, i32 noundef 680) br label %259 141: ; preds = %83 %142 = load i32, ptr %12, align 4 %143 = icmp eq i32 %142, 2 br i1 %143, label %144, label %199 144: ; preds = %141 %145 = load ptr, ptr %7, align 8 %146 = call i32 @write16(ptr noundef %145, i32 noundef 896, i32 noundef 2) %147 = load ptr, ptr %7, align 8 %148 = call i32 @write16(ptr noundef %147, i32 noundef 1152, i32 noundef 2) %149 = load ptr, ptr %7, align 8 %150 = call i32 @write16(ptr noundef %149, i32 noundef 1408, i32 noundef 2) %151 = load ptr, ptr %7, align 8 %152 = load i32, ptr %11, align 4 %153 = call i32 @write32(ptr noundef %151, i32 noundef 908, i32 noundef %152) %154 = load ptr, ptr %7, align 8 %155 = load i32, ptr %11, align 4 %156 = call i32 @write32(ptr noundef %154, i32 noundef 1164, i32 noundef %155) %157 = load ptr, ptr %7, align 8 %158 = load i32, ptr %11, align 4 %159 = call i32 @write32(ptr noundef %157, i32 noundef 1420, i32 noundef %158) %160 = load ptr, ptr %7, align 8 %161 = load i32, ptr %9, align 4 %162 = call i32 @write32(ptr noundef %160, i32 noundef 900, i32 noundef %161) %163 = load ptr, ptr %7, align 8 %164 = load i32, ptr %9, align 4 %165 = call i32 @write32(ptr noundef %163, i32 noundef 1156, i32 noundef %164) %166 = load ptr, ptr %7, align 8 %167 = load i32, ptr %9, align 4 %168 = call i32 @write32(ptr noundef %166, i32 noundef 1412, i32 noundef %167) %169 = load ptr, ptr %7, align 8 %170 = load i32, ptr %10, align 4 %171 = call i32 @write32(ptr noundef %169, i32 noundef 904, i32 noundef %170) %172 = load ptr, ptr %7, align 8 %173 = load i32, ptr %10, align 4 %174 = call i32 @write32(ptr noundef %172, i32 noundef 1160, i32 noundef %173) %175 = load ptr, ptr %7, align 8 %176 = load i32, ptr %10, align 4 %177 = call i32 @write32(ptr noundef %175, i32 noundef 1416, i32 noundef %176) %178 = load ptr, ptr %7, align 8 %179 = load i32, ptr %9, align 4 %180 = call i32 @write32(ptr noundef %178, i32 noundef 916, i32 noundef %179) %181 = load ptr, ptr %7, align 8 %182 = load i32, ptr %9, align 4 %183 = call i32 @write32(ptr noundef %181, i32 noundef 1172, i32 noundef %182) %184 = load ptr, ptr %7, align 8 %185 = load i32, ptr %9, align 4 %186 = call i32 @write32(ptr noundef %184, i32 noundef 1428, i32 noundef %185) %187 = load ptr, ptr %7, align 8 %188 = call i32 @write32(ptr noundef %187, i32 noundef 920, i32 noundef 85196800) %189 = load ptr, ptr %7, align 8 %190 = call i32 @write32(ptr noundef %189, i32 noundef 1176, i32 noundef 150732800) %191 = load ptr, ptr %7, align 8 %192 = call i32 @write32(ptr noundef %191, i32 noundef 1432, i32 noundef 216268800) %193 = load ptr, ptr %7, align 8 %194 = call i32 @write32(ptr noundef %193, i32 noundef 912, i32 noundef 680) %195 = load ptr, ptr %7, align 8 %196 = call i32 @write32(ptr noundef %195, i32 noundef 1168, i32 noundef 680) %197 = load ptr, ptr %7, align 8 %198 = call i32 @write32(ptr noundef %197, i32 noundef 1424, i32 noundef 680) br label %258 199: ; preds = %141 %200 = load i32, ptr %12, align 4 %201 = icmp eq i32 %200, 3 br i1 %201, label %202, label %257 202: ; preds = %199 %203 = load ptr, ptr %7, align 8 %204 = call i32 @write16(ptr noundef %203, i32 noundef 960, i32 noundef 2) %205 = load ptr, ptr %7, align 8 %206 = call i32 @write16(ptr noundef %205, i32 noundef 1216, i32 noundef 2) %207 = load ptr, ptr %7, align 8 %208 = call i32 @write16(ptr noundef %207, i32 noundef 1472, i32 noundef 2) %209 = load ptr, ptr %7, align 8 %210 = load i32, ptr %11, align 4 %211 = call i32 @write32(ptr noundef %209, i32 noundef 972, i32 noundef %210) %212 = load ptr, ptr %7, align 8 %213 = load i32, ptr %11, align 4 %214 = call i32 @write32(ptr noundef %212, i32 noundef 1228, i32 noundef %213) %215 = load ptr, ptr %7, align 8 %216 = load i32, ptr %11, align 4 %217 = call i32 @write32(ptr noundef %215, i32 noundef 1484, i32 noundef %216) %218 = load ptr, ptr %7, align 8 %219 = load i32, ptr %9, align 4 %220 = call i32 @write32(ptr noundef %218, i32 noundef 964, i32 noundef %219) %221 = load ptr, ptr %7, align 8 %222 = load i32, ptr %9, align 4 %223 = call i32 @write32(ptr noundef %221, i32 noundef 1220, i32 noundef %222) %224 = load ptr, ptr %7, align 8 %225 = load i32, ptr %9, align 4 %226 = call i32 @write32(ptr noundef %224, i32 noundef 1476, i32 noundef %225) %227 = load ptr, ptr %7, align 8 %228 = load i32, ptr %10, align 4 %229 = call i32 @write32(ptr noundef %227, i32 noundef 968, i32 noundef %228) %230 = load ptr, ptr %7, align 8 %231 = load i32, ptr %10, align 4 %232 = call i32 @write32(ptr noundef %230, i32 noundef 1224, i32 noundef %231) %233 = load ptr, ptr %7, align 8 %234 = load i32, ptr %10, align 4 %235 = call i32 @write32(ptr noundef %233, i32 noundef 1480, i32 noundef %234) %236 = load ptr, ptr %7, align 8 %237 = load i32, ptr %9, align 4 %238 = call i32 @write32(ptr noundef %236, i32 noundef 980, i32 noundef %237) %239 = load ptr, ptr %7, align 8 %240 = load i32, ptr %9, align 4 %241 = call i32 @write32(ptr noundef %239, i32 noundef 1236, i32 noundef %240) %242 = load ptr, ptr %7, align 8 %243 = load i32, ptr %9, align 4 %244 = call i32 @write32(ptr noundef %242, i32 noundef 1492, i32 noundef %243) %245 = load ptr, ptr %7, align 8 %246 = call i32 @write32(ptr noundef %245, i32 noundef 984, i32 noundef 91750400) %247 = load ptr, ptr %7, align 8 %248 = call i32 @write32(ptr noundef %247, i32 noundef 1240, i32 noundef 157286400) %249 = load ptr, ptr %7, align 8 %250 = call i32 @write32(ptr noundef %249, i32 noundef 1496, i32 noundef 222822400) %251 = load ptr, ptr %7, align 8 %252 = call i32 @write32(ptr noundef %251, i32 noundef 976, i32 noundef 680) %253 = load ptr, ptr %7, align 8 %254 = call i32 @write32(ptr noundef %253, i32 noundef 1232, i32 noundef 680) %255 = load ptr, ptr %7, align 8 %256 = call i32 @write32(ptr noundef %255, i32 noundef 1488, i32 noundef 680) br label %257 257: ; preds = %202, %199 br label %258 258: ; preds = %257, %144 br label %259 259: ; preds = %258, %86 br label %260 260: ; preds = %259, %28 ret i32 1 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @clock_gettime(i32 noundef, ptr noundef) #2 declare i32 @write16(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @write32(ptr noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdwb81igb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i32 } @__const._set_RDA.test = private unnamed_addr constant [3 x i32] [i32 3, i32 2, i32 6], align 4 @__const._set_RDA.GC314FS_GCoffset = private unnamed_addr constant [3 x i32] [i32 2048, i32 4096, i32 6144], align 4 @__const._set_RDA.chan_control_map = private unnamed_addr constant [4 x i32] [i32 0, i32 128, i32 256, i32 384], align 16 @CLOCK_REALTIME = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_set_RDA(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %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 %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 [3 x i32], align 4 %18 = alloca [3 x i32], align 4 %19 = alloca [4 x i32], align 16 %20 = alloca ptr, align 8 %21 = alloca %struct.timespec, align 4 %22 = alloca %struct.timespec, align 4 %23 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 store i32 0, ptr %13, align 4 store i32 26, ptr %16, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 4 @__const._set_RDA.test, i64 12, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 4 @__const._set_RDA.GC314FS_GCoffset, i64 12, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %19, ptr align 16 @__const._set_RDA.chan_control_map, i64 16, i1 false) %24 = load i32, ptr @CLOCK_REALTIME, align 4 %25 = call i32 @clock_gettime(i32 noundef %24, ptr noundef %21) %26 = load i32, ptr %12, align 4 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %83 28: ; preds = %6 %29 = load ptr, ptr %7, align 8 %30 = call i32 @write16(ptr noundef %29, i32 noundef 768, i32 noundef 2) %31 = load ptr, ptr %7, align 8 %32 = call i32 @write16(ptr noundef %31, i32 noundef 1024, i32 noundef 2) %33 = load ptr, ptr %7, align 8 %34 = call i32 @write16(ptr noundef %33, i32 noundef 1280, i32 noundef 2) %35 = load ptr, ptr %7, align 8 %36 = load i32, ptr %11, align 4 %37 = call i32 @write32(ptr noundef %35, i32 noundef 780, i32 noundef %36) %38 = load ptr, ptr %7, align 8 %39 = load i32, ptr %11, align 4 %40 = call i32 @write32(ptr noundef %38, i32 noundef 1036, i32 noundef %39) %41 = load ptr, ptr %7, align 8 %42 = load i32, ptr %11, align 4 %43 = call i32 @write32(ptr noundef %41, i32 noundef 1292, i32 noundef %42) %44 = load ptr, ptr %7, align 8 %45 = load i32, ptr %9, align 4 %46 = call i32 @write32(ptr noundef %44, i32 noundef 772, i32 noundef %45) %47 = load ptr, ptr %7, align 8 %48 = load i32, ptr %9, align 4 %49 = call i32 @write32(ptr noundef %47, i32 noundef 1028, i32 noundef %48) %50 = load ptr, ptr %7, align 8 %51 = load i32, ptr %9, align 4 %52 = call i32 @write32(ptr noundef %50, i32 noundef 1284, i32 noundef %51) %53 = load ptr, ptr %7, align 8 %54 = load i32, ptr %10, align 4 %55 = call i32 @write32(ptr noundef %53, i32 noundef 776, i32 noundef %54) %56 = load ptr, ptr %7, align 8 %57 = load i32, ptr %10, align 4 %58 = call i32 @write32(ptr noundef %56, i32 noundef 1032, i32 noundef %57) %59 = load ptr, ptr %7, align 8 %60 = load i32, ptr %10, align 4 %61 = call i32 @write32(ptr noundef %59, i32 noundef 1288, i32 noundef %60) %62 = load ptr, ptr %7, align 8 %63 = load i32, ptr %9, align 4 %64 = call i32 @write32(ptr noundef %62, i32 noundef 788, i32 noundef %63) %65 = load ptr, ptr %7, align 8 %66 = load i32, ptr %9, align 4 %67 = call i32 @write32(ptr noundef %65, i32 noundef 1044, i32 noundef %66) %68 = load ptr, ptr %7, align 8 %69 = load i32, ptr %9, align 4 %70 = call i32 @write32(ptr noundef %68, i32 noundef 1300, i32 noundef %69) %71 = load ptr, ptr %7, align 8 %72 = call i32 @write32(ptr noundef %71, i32 noundef 792, i32 noundef 72089600) %73 = load ptr, ptr %7, align 8 %74 = call i32 @write32(ptr noundef %73, i32 noundef 1048, i32 noundef 137625600) %75 = load ptr, ptr %7, align 8 %76 = call i32 @write32(ptr noundef %75, i32 noundef 1304, i32 noundef 203161600) %77 = load ptr, ptr %7, align 8 %78 = call i32 @write32(ptr noundef %77, i32 noundef 784, i32 noundef 680) %79 = load ptr, ptr %7, align 8 %80 = call i32 @write32(ptr noundef %79, i32 noundef 1040, i32 noundef 680) %81 = load ptr, ptr %7, align 8 %82 = call i32 @write32(ptr noundef %81, i32 noundef 1296, i32 noundef 680) br label %260 83: ; preds = %6 %84 = load i32, ptr %12, align 4 %85 = icmp eq i32 %84, 1 br i1 %85, label %86, label %141 86: ; preds = %83 %87 = load ptr, ptr %7, align 8 %88 = call i32 @write16(ptr noundef %87, i32 noundef 832, i32 noundef 2) %89 = load ptr, ptr %7, align 8 %90 = call i32 @write16(ptr noundef %89, i32 noundef 1088, i32 noundef 2) %91 = load ptr, ptr %7, align 8 %92 = call i32 @write16(ptr noundef %91, i32 noundef 1344, i32 noundef 2) %93 = load ptr, ptr %7, align 8 %94 = load i32, ptr %11, align 4 %95 = call i32 @write32(ptr noundef %93, i32 noundef 844, i32 noundef %94) %96 = load ptr, ptr %7, align 8 %97 = load i32, ptr %11, align 4 %98 = call i32 @write32(ptr noundef %96, i32 noundef 1100, i32 noundef %97) %99 = load ptr, ptr %7, align 8 %100 = load i32, ptr %11, align 4 %101 = call i32 @write32(ptr noundef %99, i32 noundef 1356, i32 noundef %100) %102 = load ptr, ptr %7, align 8 %103 = load i32, ptr %9, align 4 %104 = call i32 @write32(ptr noundef %102, i32 noundef 836, i32 noundef %103) %105 = load ptr, ptr %7, align 8 %106 = load i32, ptr %9, align 4 %107 = call i32 @write32(ptr noundef %105, i32 noundef 1092, i32 noundef %106) %108 = load ptr, ptr %7, align 8 %109 = load i32, ptr %9, align 4 %110 = call i32 @write32(ptr noundef %108, i32 noundef 1348, i32 noundef %109) %111 = load ptr, ptr %7, align 8 %112 = load i32, ptr %10, align 4 %113 = call i32 @write32(ptr noundef %111, i32 noundef 840, i32 noundef %112) %114 = load ptr, ptr %7, align 8 %115 = load i32, ptr %10, align 4 %116 = call i32 @write32(ptr noundef %114, i32 noundef 1096, i32 noundef %115) %117 = load ptr, ptr %7, align 8 %118 = load i32, ptr %10, align 4 %119 = call i32 @write32(ptr noundef %117, i32 noundef 1352, i32 noundef %118) %120 = load ptr, ptr %7, align 8 %121 = load i32, ptr %9, align 4 %122 = call i32 @write32(ptr noundef %120, i32 noundef 852, i32 noundef %121) %123 = load ptr, ptr %7, align 8 %124 = load i32, ptr %9, align 4 %125 = call i32 @write32(ptr noundef %123, i32 noundef 1108, i32 noundef %124) %126 = load ptr, ptr %7, align 8 %127 = load i32, ptr %9, align 4 %128 = call i32 @write32(ptr noundef %126, i32 noundef 1364, i32 noundef %127) %129 = load ptr, ptr %7, align 8 %130 = call i32 @write32(ptr noundef %129, i32 noundef 856, i32 noundef 78643200) %131 = load ptr, ptr %7, align 8 %132 = call i32 @write32(ptr noundef %131, i32 noundef 1112, i32 noundef 144179200) %133 = load ptr, ptr %7, align 8 %134 = call i32 @write32(ptr noundef %133, i32 noundef 1368, i32 noundef 209715200) %135 = load ptr, ptr %7, align 8 %136 = call i32 @write32(ptr noundef %135, i32 noundef 848, i32 noundef 680) %137 = load ptr, ptr %7, align 8 %138 = call i32 @write32(ptr noundef %137, i32 noundef 1104, i32 noundef 680) %139 = load ptr, ptr %7, align 8 %140 = call i32 @write32(ptr noundef %139, i32 noundef 1360, i32 noundef 680) br label %259 141: ; preds = %83 %142 = load i32, ptr %12, align 4 %143 = icmp eq i32 %142, 2 br i1 %143, label %144, label %199 144: ; preds = %141 %145 = load ptr, ptr %7, align 8 %146 = call i32 @write16(ptr noundef %145, i32 noundef 896, i32 noundef 2) %147 = load ptr, ptr %7, align 8 %148 = call i32 @write16(ptr noundef %147, i32 noundef 1152, i32 noundef 2) %149 = load ptr, ptr %7, align 8 %150 = call i32 @write16(ptr noundef %149, i32 noundef 1408, i32 noundef 2) %151 = load ptr, ptr %7, align 8 %152 = load i32, ptr %11, align 4 %153 = call i32 @write32(ptr noundef %151, i32 noundef 908, i32 noundef %152) %154 = load ptr, ptr %7, align 8 %155 = load i32, ptr %11, align 4 %156 = call i32 @write32(ptr noundef %154, i32 noundef 1164, i32 noundef %155) %157 = load ptr, ptr %7, align 8 %158 = load i32, ptr %11, align 4 %159 = call i32 @write32(ptr noundef %157, i32 noundef 1420, i32 noundef %158) %160 = load ptr, ptr %7, align 8 %161 = load i32, ptr %9, align 4 %162 = call i32 @write32(ptr noundef %160, i32 noundef 900, i32 noundef %161) %163 = load ptr, ptr %7, align 8 %164 = load i32, ptr %9, align 4 %165 = call i32 @write32(ptr noundef %163, i32 noundef 1156, i32 noundef %164) %166 = load ptr, ptr %7, align 8 %167 = load i32, ptr %9, align 4 %168 = call i32 @write32(ptr noundef %166, i32 noundef 1412, i32 noundef %167) %169 = load ptr, ptr %7, align 8 %170 = load i32, ptr %10, align 4 %171 = call i32 @write32(ptr noundef %169, i32 noundef 904, i32 noundef %170) %172 = load ptr, ptr %7, align 8 %173 = load i32, ptr %10, align 4 %174 = call i32 @write32(ptr noundef %172, i32 noundef 1160, i32 noundef %173) %175 = load ptr, ptr %7, align 8 %176 = load i32, ptr %10, align 4 %177 = call i32 @write32(ptr noundef %175, i32 noundef 1416, i32 noundef %176) %178 = load ptr, ptr %7, align 8 %179 = load i32, ptr %9, align 4 %180 = call i32 @write32(ptr noundef %178, i32 noundef 916, i32 noundef %179) %181 = load ptr, ptr %7, align 8 %182 = load i32, ptr %9, align 4 %183 = call i32 @write32(ptr noundef %181, i32 noundef 1172, i32 noundef %182) %184 = load ptr, ptr %7, align 8 %185 = load i32, ptr %9, align 4 %186 = call i32 @write32(ptr noundef %184, i32 noundef 1428, i32 noundef %185) %187 = load ptr, ptr %7, align 8 %188 = call i32 @write32(ptr noundef %187, i32 noundef 920, i32 noundef 85196800) %189 = load ptr, ptr %7, align 8 %190 = call i32 @write32(ptr noundef %189, i32 noundef 1176, i32 noundef 150732800) %191 = load ptr, ptr %7, align 8 %192 = call i32 @write32(ptr noundef %191, i32 noundef 1432, i32 noundef 216268800) %193 = load ptr, ptr %7, align 8 %194 = call i32 @write32(ptr noundef %193, i32 noundef 912, i32 noundef 680) %195 = load ptr, ptr %7, align 8 %196 = call i32 @write32(ptr noundef %195, i32 noundef 1168, i32 noundef 680) %197 = load ptr, ptr %7, align 8 %198 = call i32 @write32(ptr noundef %197, i32 noundef 1424, i32 noundef 680) br label %258 199: ; preds = %141 %200 = load i32, ptr %12, align 4 %201 = icmp eq i32 %200, 3 br i1 %201, label %202, label %257 202: ; preds = %199 %203 = load ptr, ptr %7, align 8 %204 = call i32 @write16(ptr noundef %203, i32 noundef 960, i32 noundef 2) %205 = load ptr, ptr %7, align 8 %206 = call i32 @write16(ptr noundef %205, i32 noundef 1216, i32 noundef 2) %207 = load ptr, ptr %7, align 8 %208 = call i32 @write16(ptr noundef %207, i32 noundef 1472, i32 noundef 2) %209 = load ptr, ptr %7, align 8 %210 = load i32, ptr %11, align 4 %211 = call i32 @write32(ptr noundef %209, i32 noundef 972, i32 noundef %210) %212 = load ptr, ptr %7, align 8 %213 = load i32, ptr %11, align 4 %214 = call i32 @write32(ptr noundef %212, i32 noundef 1228, i32 noundef %213) %215 = load ptr, ptr %7, align 8 %216 = load i32, ptr %11, align 4 %217 = call i32 @write32(ptr noundef %215, i32 noundef 1484, i32 noundef %216) %218 = load ptr, ptr %7, align 8 %219 = load i32, ptr %9, align 4 %220 = call i32 @write32(ptr noundef %218, i32 noundef 964, i32 noundef %219) %221 = load ptr, ptr %7, align 8 %222 = load i32, ptr %9, align 4 %223 = call i32 @write32(ptr noundef %221, i32 noundef 1220, i32 noundef %222) %224 = load ptr, ptr %7, align 8 %225 = load i32, ptr %9, align 4 %226 = call i32 @write32(ptr noundef %224, i32 noundef 1476, i32 noundef %225) %227 = load ptr, ptr %7, align 8 %228 = load i32, ptr %10, align 4 %229 = call i32 @write32(ptr noundef %227, i32 noundef 968, i32 noundef %228) %230 = load ptr, ptr %7, align 8 %231 = load i32, ptr %10, align 4 %232 = call i32 @write32(ptr noundef %230, i32 noundef 1224, i32 noundef %231) %233 = load ptr, ptr %7, align 8 %234 = load i32, ptr %10, align 4 %235 = call i32 @write32(ptr noundef %233, i32 noundef 1480, i32 noundef %234) %236 = load ptr, ptr %7, align 8 %237 = load i32, ptr %9, align 4 %238 = call i32 @write32(ptr noundef %236, i32 noundef 980, i32 noundef %237) %239 = load ptr, ptr %7, align 8 %240 = load i32, ptr %9, align 4 %241 = call i32 @write32(ptr noundef %239, i32 noundef 1236, i32 noundef %240) %242 = load ptr, ptr %7, align 8 %243 = load i32, ptr %9, align 4 %244 = call i32 @write32(ptr noundef %242, i32 noundef 1492, i32 noundef %243) %245 = load ptr, ptr %7, align 8 %246 = call i32 @write32(ptr noundef %245, i32 noundef 984, i32 noundef 91750400) %247 = load ptr, ptr %7, align 8 %248 = call i32 @write32(ptr noundef %247, i32 noundef 1240, i32 noundef 157286400) %249 = load ptr, ptr %7, align 8 %250 = call i32 @write32(ptr noundef %249, i32 noundef 1496, i32 noundef 222822400) %251 = load ptr, ptr %7, align 8 %252 = call i32 @write32(ptr noundef %251, i32 noundef 976, i32 noundef 680) %253 = load ptr, ptr %7, align 8 %254 = call i32 @write32(ptr noundef %253, i32 noundef 1232, i32 noundef 680) %255 = load ptr, ptr %7, align 8 %256 = call i32 @write32(ptr noundef %255, i32 noundef 1488, i32 noundef 680) br label %257 257: ; preds = %202, %199 br label %258 258: ; preds = %257, %144 br label %259 259: ; preds = %258, %86 br label %260 260: ; preds = %259, %28 ret i32 1 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @clock_gettime(i32 noundef, ptr noundef) #2 declare i32 @write16(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @write32(ptr noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0j35ozu6.c' source_filename = "/tmp/tmp0j35ozu6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dc\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"-\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @be_dc(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 i32, ptr %3, i64 0 %5 = load i32, ptr %4, align 4 %6 = call i32 @dup2(i32 noundef %5, i32 noundef 0) %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds i32, ptr %7, i64 0 %9 = load i32, ptr %8, align 4 %10 = call i32 @dup2(i32 noundef %9, i32 noundef 1) %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds i32, ptr %11, i64 0 %13 = load i32, ptr %12, align 4 %14 = call i32 @close(i32 noundef %13) %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds i32, ptr %15, i64 1 %17 = load i32, ptr %16, align 4 %18 = call i32 @close(i32 noundef %17) %19 = call i32 @execlp(ptr noundef @.str, ptr noundef @.str, ptr noundef @.str.1, ptr noundef null) ret void } declare i32 @dup2(i32 noundef, i32 noundef) #1 declare i32 @close(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/tmp0j35ozu6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dc\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"-\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @be_dc(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 i32, ptr %3, i64 0 %5 = load i32, ptr %4, align 4 %6 = call i32 @dup2(i32 noundef %5, i32 noundef 0) %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds i32, ptr %7, i64 0 %9 = load i32, ptr %8, align 4 %10 = call i32 @dup2(i32 noundef %9, i32 noundef 1) %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds i32, ptr %11, i64 0 %13 = load i32, ptr %12, align 4 %14 = call i32 @close(i32 noundef %13) %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds i32, ptr %15, i64 1 %17 = load i32, ptr %16, align 4 %18 = call i32 @close(i32 noundef %17) %19 = call i32 @execlp(ptr noundef @.str, ptr noundef @.str, ptr noundef @.str.1, ptr noundef null) ret void } declare i32 @dup2(i32 noundef, i32 noundef) #1 declare i32 @close(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/tmpkluudx4h.c' source_filename = "/tmp/tmpkluudx4h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @th_Power(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 %6 = load double, ptr %4, align 8 %7 = fcmp oeq double %6, 0.000000e+00 br i1 %7, label %8, label %12 8: ; preds = %2 %9 = load double, ptr %5, align 8 %10 = fcmp oeq double %9, 0.000000e+00 br i1 %10, label %11, label %12 11: ; preds = %8 store double 1.000000e+00, ptr %3, align 8 br label %16 12: ; preds = %8, %2 %13 = load double, ptr %4, align 8 %14 = load double, ptr %5, align 8 %15 = call double @pow(double noundef %13, double noundef %14) #2 store double %15, ptr %3, align 8 br label %16 16: ; preds = %12, %11 %17 = load double, ptr %3, align 8 ret double %17 } ; Function Attrs: nounwind declare double @pow(double 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkluudx4h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @th_Power(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 %6 = load double, ptr %4, align 8 %7 = fcmp oeq double %6, 0.000000e+00 br i1 %7, label %8, label %12 8: ; preds = %2 %9 = load double, ptr %5, align 8 %10 = fcmp oeq double %9, 0.000000e+00 br i1 %10, label %11, label %12 11: ; preds = %8 store double 1.000000e+00, ptr %3, align 8 br label %16 12: ; preds = %8, %2 %13 = load double, ptr %4, align 8 %14 = load double, ptr %5, align 8 %15 = call double @pow(double noundef %13, double noundef %14) #2 store double %15, ptr %3, align 8 br label %16 16: ; preds = %12, %11 %17 = load double, ptr %3, align 8 ret double %17 } ; Function Attrs: nounwind declare double @pow(double 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp390qre4h.c' source_filename = "/tmp/tmp390qre4h.c" target datalayout = "e-m:e-p270: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/tmp390qre4h.c" target datalayout = "e-m:e-p270: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/tmptgkmt6fs.c' source_filename = "/tmp/tmptgkmt6fs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_line(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %23, %2 %8 = call i32 (...) @getchar() store i32 %8, ptr %5, align 4 %9 = icmp ne i32 %8, 10 br i1 %9, label %10, label %24 10: ; preds = %7 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %23 14: ; preds = %10 %15 = load i32, ptr %5, align 4 %16 = trunc i32 %15 to i8 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 store i8 %16, ptr %20, align 1 %21 = load i32, ptr %6, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %6, align 4 br label %23 23: ; preds = %14, %10 br label %7, !llvm.loop !6 24: ; preds = %7 %25 = load ptr, ptr %3, align 8 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 store i8 0, ptr %28, align 1 %29 = load i32, ptr %6, align 4 ret i32 %29 } declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmptgkmt6fs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_line(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %7 = call i32 (...) @getchar() store i32 %7, ptr %5, align 4 %8 = icmp ne i32 %7, 10 br i1 %8, label %.lr.ph, label %25 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %22 %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 i32, ptr %5, align 4 %15 = trunc i32 %14 to i8 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %6, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 store i8 %15, ptr %19, align 1 %20 = load i32, ptr %6, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %6, align 4 br label %22 22: ; preds = %13, %9 %23 = call i32 (...) @getchar() store i32 %23, ptr %5, align 4 %24 = icmp ne i32 %23, 10 br i1 %24, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %25 25: ; preds = %._crit_edge, %2 %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 store i8 0, ptr %29, align 1 %30 = load i32, ptr %6, align 4 ret i32 %30 } declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp8hhqnyg1.c' source_filename = "/tmp/tmp8hhqnyg1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call ptr @rcs_init_b(i32 noundef 1, i32 noundef 2) store ptr %4, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @rcs_enable_transmit(ptr noundef %5, i32 noundef 0) store i32 0, ptr %3, align 4 br label %7 7: ; preds = %22, %0 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 4 br i1 %9, label %10, label %25 10: ; preds = %7 %11 = load i32, ptr %3, align 4 %12 = srem i32 %11, 2 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %10 %15 = load ptr, ptr %2, align 8 %16 = call i32 @rcs_switch_on(ptr noundef %15) br label %20 17: ; preds = %10 %18 = load ptr, ptr %2, align 8 %19 = call i32 @rcs_switch_off(ptr noundef %18) br label %20 20: ; preds = %17, %14 %21 = call i32 @sleep(i32 noundef 2) br label %22 22: ; preds = %20 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %3, align 4 br label %7, !llvm.loop !6 25: ; preds = %7 %26 = load ptr, ptr %2, align 8 %27 = call i32 @rcs_destroy(ptr noundef %26) ret i32 0 } declare ptr @rcs_init_b(i32 noundef, i32 noundef) #1 declare i32 @rcs_enable_transmit(ptr noundef, i32 noundef) #1 declare i32 @rcs_switch_on(ptr noundef) #1 declare i32 @rcs_switch_off(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @rcs_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/tmp8hhqnyg1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call ptr @rcs_init_b(i32 noundef 1, i32 noundef 2) store ptr %4, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @rcs_enable_transmit(ptr noundef %5, i32 noundef 0) store i32 0, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 4 br i1 %8, label %.lr.ph, label %26 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %21 %10 = load i32, ptr %3, align 4 %11 = srem i32 %10, 2 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %9 %14 = load ptr, ptr %2, align 8 %15 = call i32 @rcs_switch_on(ptr noundef %14) br label %19 16: ; preds = %9 %17 = load ptr, ptr %2, align 8 %18 = call i32 @rcs_switch_off(ptr noundef %17) br label %19 19: ; preds = %16, %13 %20 = call i32 @sleep(i32 noundef 2) br label %21 21: ; preds = %19 %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %3, align 4 %24 = load i32, ptr %3, align 4 %25 = icmp slt i32 %24, 4 br i1 %25, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %26 26: ; preds = %._crit_edge, %0 %27 = load ptr, ptr %2, align 8 %28 = call i32 @rcs_destroy(ptr noundef %27) ret i32 0 } declare ptr @rcs_init_b(i32 noundef, i32 noundef) #1 declare i32 @rcs_enable_transmit(ptr noundef, i32 noundef) #1 declare i32 @rcs_switch_on(ptr noundef) #1 declare i32 @rcs_switch_off(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @rcs_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/tmpof0_z10e.c' source_filename = "/tmp/tmpof0_z10e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @divisible(i64 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca i16, align 2 store i64 %0, ptr %3, align 8 store i16 1, ptr %4, align 2 br label %5 5: ; preds = %17, %1 %6 = load i16, ptr %4, align 2 %7 = zext i16 %6 to i32 %8 = icmp slt i32 %7, 20 br i1 %8, label %9, label %20 9: ; preds = %5 %10 = load i64, ptr %3, align 8 %11 = load i16, ptr %4, align 2 %12 = zext i16 %11 to i64 %13 = urem i64 %10, %12 %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %9 store i32 0, ptr %2, align 4 br label %21 16: ; preds = %9 br label %17 17: ; preds = %16 %18 = load i16, ptr %4, align 2 %19 = add i16 %18, 1 store i16 %19, ptr %4, align 2 br label %5, !llvm.loop !6 20: ; preds = %5 store i32 1, ptr %2, align 4 br label %21 21: ; preds = %20, %15 %22 = load i32, ptr %2, align 4 ret i32 %22 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpof0_z10e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @divisible(i64 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca i16, align 2 store i64 %0, ptr %3, align 8 store i16 1, ptr %4, align 2 %5 = load i16, ptr %4, align 2 %6 = zext i16 %5 to i32 %7 = icmp slt i32 %6, 20 br i1 %7, label %.lr.ph, label %22 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %16 %9 = load i64, ptr %3, align 8 %10 = load i16, ptr %4, align 2 %11 = zext i16 %10 to i64 %12 = urem i64 %9, %11 %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %8 store i32 0, ptr %2, align 4 br label %23 15: ; preds = %8 br label %16 16: ; preds = %15 %17 = load i16, ptr %4, align 2 %18 = add i16 %17, 1 store i16 %18, ptr %4, align 2 %19 = load i16, ptr %4, align 2 %20 = zext i16 %19 to i32 %21 = icmp slt i32 %20, 20 br i1 %21, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %1 store i32 1, ptr %2, align 4 br label %23 23: ; preds = %22, %14 %24 = load i32, ptr %2, align 4 ret i32 %24 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpln5zo4ys.c' source_filename = "/tmp/tmpln5zo4ys.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Base %2d:\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c" %2d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fairshare(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %7) store i32 0, ptr %5, align 4 br label %9 9: ; preds = %19, %2 %10 = load i32, ptr %5, 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 i32, ptr %3, align 4 %15 = load i32, ptr %5, align 4 %16 = call i32 @turn(i32 noundef %14, i32 noundef %15) store i32 %16, ptr %6, align 4 %17 = load i32, ptr %6, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %17) br label %19 19: ; preds = %13 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %5, align 4 br label %9, !llvm.loop !6 22: ; preds = %9 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @turn(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/tmpln5zo4ys.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Base %2d:\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c" %2d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fairshare(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %7) store i32 0, ptr %5, align 4 %9 = load i32, ptr %5, 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, %18 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %5, align 4 %15 = call i32 @turn(i32 noundef %13, i32 noundef %14) store i32 %15, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16) br label %18 18: ; preds = %12 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 %21 = load i32, ptr %5, 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 = %18 br label %24 24: ; preds = %._crit_edge, %2 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @turn(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/tmptv0wxgh2.c' source_filename = "/tmp/tmptv0wxgh2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"error writing\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"error reading\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @smcGetVariable(i32 noundef %0, i8 noundef zeroext %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca [2 x i8], align 1 %7 = alloca [2 x i8], align 1 store i32 %0, ptr %4, align 4 store i8 %1, ptr %5, align 1 %8 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 store i8 -95, ptr %8, align 1 %9 = getelementptr inbounds i8, ptr %8, i64 1 %10 = load i8, ptr %5, align 1 store i8 %10, ptr %9, align 1 %11 = load i32, ptr %4, align 4 %12 = call i32 @write(i32 noundef %11, ptr noundef %6, i32 noundef 2) %13 = icmp eq i32 %12, -1 br i1 %13, label %14, label %16 14: ; preds = %2 %15 = call i32 @perror(ptr noundef @.str) store i32 -9999, ptr %3, align 4 br label %32 16: ; preds = %2 %17 = load i32, ptr %4, align 4 %18 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %19 = call i32 @read(i32 noundef %17, ptr noundef %18, i32 noundef 2) %20 = icmp ne i32 %19, 2 br i1 %20, label %21, label %23 21: ; preds = %16 %22 = call i32 @perror(ptr noundef @.str.1) store i32 -9999, ptr %3, align 4 br label %32 23: ; preds = %16 %24 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %25 = load i8, ptr %24, align 1 %26 = zext i8 %25 to i32 %27 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 1 %28 = load i8, ptr %27, align 1 %29 = zext i8 %28 to i32 %30 = mul nsw i32 256, %29 %31 = add nsw i32 %26, %30 store i32 %31, ptr %3, align 4 br label %32 32: ; preds = %23, %21, %14 %33 = load i32, ptr %3, align 4 ret i32 %33 } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @read(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/tmptv0wxgh2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"error writing\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"error reading\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @smcGetVariable(i32 noundef %0, i8 noundef zeroext %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca [2 x i8], align 1 %7 = alloca [2 x i8], align 1 store i32 %0, ptr %4, align 4 store i8 %1, ptr %5, align 1 %8 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 store i8 -95, ptr %8, align 1 %9 = getelementptr inbounds i8, ptr %8, i64 1 %10 = load i8, ptr %5, align 1 store i8 %10, ptr %9, align 1 %11 = load i32, ptr %4, align 4 %12 = call i32 @write(i32 noundef %11, ptr noundef %6, i32 noundef 2) %13 = icmp eq i32 %12, -1 br i1 %13, label %14, label %16 14: ; preds = %2 %15 = call i32 @perror(ptr noundef @.str) store i32 -9999, ptr %3, align 4 br label %32 16: ; preds = %2 %17 = load i32, ptr %4, align 4 %18 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %19 = call i32 @read(i32 noundef %17, ptr noundef %18, i32 noundef 2) %20 = icmp ne i32 %19, 2 br i1 %20, label %21, label %23 21: ; preds = %16 %22 = call i32 @perror(ptr noundef @.str.1) store i32 -9999, ptr %3, align 4 br label %32 23: ; preds = %16 %24 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %25 = load i8, ptr %24, align 1 %26 = zext i8 %25 to i32 %27 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 1 %28 = load i8, ptr %27, align 1 %29 = zext i8 %28 to i32 %30 = mul nsw i32 256, %29 %31 = add nsw i32 %26, %30 store i32 %31, ptr %3, align 4 br label %32 32: ; preds = %23, %21, %14 %33 = load i32, ptr %3, align 4 ret i32 %33 } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @read(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/tmp4mjcxwi2.c' source_filename = "/tmp/tmp4mjcxwi2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CatStr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = call i32 @strlen(ptr noundef %10) br label %13 12: ; preds = %2 br label %13 13: ; preds = %12, %9 %14 = phi i32 [ %11, %9 ], [ 0, %12 ] %15 = call ptr @CatStrLen(ptr noundef %5, ptr noundef %6, i32 noundef %14) ret ptr %15 } declare ptr @CatStrLen(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4mjcxwi2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CatStr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = call i32 @strlen(ptr noundef %10) br label %13 12: ; preds = %2 br label %13 13: ; preds = %12, %9 %14 = phi i32 [ %11, %9 ], [ 0, %12 ] %15 = call ptr @CatStrLen(ptr noundef %5, ptr noundef %6, i32 noundef %14) ret ptr %15 } declare ptr @CatStrLen(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_ozfqvhv.c' source_filename = "/tmp/tmp_ozfqvhv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"wb\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"could not open for writing %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"ERROR WRITING\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"Saving image %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @saveImage(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %10 = load ptr, ptr %5, align 8 %11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str) store ptr %11, ptr %8, align 8 %12 = load ptr, ptr %8, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %18 14: ; preds = %3 %15 = load ptr, ptr %5, align 8 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %15) %17 = call i32 @exit(i32 noundef 1) #3 unreachable 18: ; preds = %3 %19 = load ptr, ptr %6, align 8 %20 = load i32, ptr %7, align 4 %21 = load ptr, ptr %8, align 8 %22 = call i32 @fwrite(ptr noundef %19, i32 noundef 1, i32 noundef %20, ptr noundef %21) store i32 %22, ptr %9, align 4 %23 = load i32, ptr %9, align 4 %24 = load i32, ptr %7, align 4 %25 = icmp ne i32 %23, %24 br i1 %25, label %26, label %28 26: ; preds = %18 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %28 28: ; preds = %26, %18 %29 = load ptr, ptr %5, align 8 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %29) %31 = load ptr, ptr %8, align 8 %32 = call i32 @fclose(ptr noundef %31) %33 = load i32, ptr %4, align 4 ret i32 %33 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fwrite(ptr noundef, i32 noundef, i32 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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_ozfqvhv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"wb\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"could not open for writing %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"ERROR WRITING\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"Saving image %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @saveImage(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %10 = load ptr, ptr %5, align 8 %11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str) store ptr %11, ptr %8, align 8 %12 = load ptr, ptr %8, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %18 14: ; preds = %3 %15 = load ptr, ptr %5, align 8 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %15) %17 = call i32 @exit(i32 noundef 1) #3 unreachable 18: ; preds = %3 %19 = load ptr, ptr %6, align 8 %20 = load i32, ptr %7, align 4 %21 = load ptr, ptr %8, align 8 %22 = call i32 @fwrite(ptr noundef %19, i32 noundef 1, i32 noundef %20, ptr noundef %21) store i32 %22, ptr %9, align 4 %23 = load i32, ptr %9, align 4 %24 = load i32, ptr %7, align 4 %25 = icmp ne i32 %23, %24 br i1 %25, label %26, label %28 26: ; preds = %18 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %28 28: ; preds = %26, %18 %29 = load ptr, ptr %5, align 8 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %29) %31 = load ptr, ptr %8, align 8 %32 = call i32 @fclose(ptr noundef %31) %33 = load i32, ptr %4, align 4 ret i32 %33 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fwrite(ptr noundef, i32 noundef, i32 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" } 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/tmph_fzh0w8.c' source_filename = "/tmp/tmph_fzh0w8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [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 0, ptr %2, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) br label %4 4: ; preds = %7, %0 %5 = load i32, ptr %2, align 4 %6 = icmp sgt i32 %5, 0 br i1 %6, label %7, label %13 7: ; preds = %4 %8 = load i32, ptr %2, align 4 %9 = call i32 @printf(ptr noundef @.str.1, i32 noundef %8) %10 = load i32, ptr %2, align 4 %11 = sub nsw i32 %10, 1 store i32 %11, ptr %2, align 4 %12 = call i32 @sleep(i32 noundef 1) br label %4, !llvm.loop !6 13: ; preds = %4 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph_fzh0w8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [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 0, ptr %2, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load i32, ptr %2, align 4 %5 = icmp sgt i32 %4, 0 br i1 %5, label %.lr.ph, label %14 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %6 %7 = load i32, ptr %2, align 4 %8 = call i32 @printf(ptr noundef @.str.1, i32 noundef %7) %9 = load i32, ptr %2, align 4 %10 = sub nsw i32 %9, 1 store i32 %10, ptr %2, align 4 %11 = call i32 @sleep(i32 noundef 1) %12 = load i32, ptr %2, align 4 %13 = icmp sgt i32 %12, 0 br i1 %13, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %6 br label %14 14: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpn1svvmvn.c' source_filename = "/tmp/tmpn1svvmvn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @manageDURIPFunction(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 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @startFunction(i32 noundef %7, ptr noundef %8, ptr noundef %9) ret i32 0 } declare i32 @startFunction(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/tmpn1svvmvn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @manageDURIPFunction(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 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @startFunction(i32 noundef %7, ptr noundef %8, ptr noundef %9) ret i32 0 } declare i32 @startFunction(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/tmpssk4tz4_.c' source_filename = "/tmp/tmpssk4tz4_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CL_SUCCESS = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [42 x i8] c"error: call to 'clGetPlatformIDs' failed\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Number of platforms: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"platform=%p\0A\00", align 1 @CL_PLATFORM_NAME = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [43 x i8] c"error: call to 'clGetPlatformInfo' failed\0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"platform.name='%s'\0A\0A\00", align 1 @CL_DEVICE_TYPE_GPU = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [40 x i8] c"error: call to 'clGetDeviceIDs' failed\0A\00", align 1 @.str.6 = private unnamed_addr constant [23 x i8] c"Number of devices: %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [11 x i8] c"device=%p\0A\00", align 1 @CL_DEVICE_NAME = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [41 x i8] c"error: call to 'clGetDeviceInfo' failed\0A\00", align 1 @.str.9 = private unnamed_addr constant [18 x i8] c"device.name='%s'\0A\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.11 = private unnamed_addr constant [41 x i8] c"error: call to 'clCreateContext' failed\0A\00", align 1 @.str.12 = private unnamed_addr constant [12 x i8] c"context=%p\0A\00", align 1 @.str.13 = private unnamed_addr constant [46 x i8] c"error: call to 'clCreateCommandQueue' failed\0A\00", align 1 @.str.14 = private unnamed_addr constant [18 x i8] c"command_queue=%p\0A\00", align 1 @.str.15 = private unnamed_addr constant [21 x i8] c"divide_ulongulong.cl\00", align 1 @.str.16 = private unnamed_addr constant [51 x i8] c"error: call to 'clCreateProgramWithSource' failed\0A\00", align 1 @.str.17 = private unnamed_addr constant [12 x i8] c"program=%p\0A\00", align 1 @CL_PROGRAM_BUILD_LOG = dso_local global i32 0, align 4 @.str.18 = private unnamed_addr constant [44 x i8] c"error: call to 'clBuildProgram' failed:\0A%s\0A\00", align 1 @.str.19 = private unnamed_addr constant [15 x i8] c"program built\0A\00", align 1 @.str.20 = private unnamed_addr constant [18 x i8] c"divide_ulongulong\00", align 1 @.str.21 = private unnamed_addr constant [40 x i8] c"error: call to 'clCreateKernel' failed\0A\00", align 1 @CL_MEM_READ_ONLY = dso_local global i32 0, align 4 @.str.22 = private unnamed_addr constant [39 x i8] c"error: could not create source buffer\0A\00", align 1 @CL_TRUE = dso_local global i32 0, align 4 @.str.23 = private unnamed_addr constant [46 x i8] c"error: call to 'clEnqueueWriteBuffer' failed\0A\00", align 1 @CL_MEM_WRITE_ONLY = dso_local global i32 0, align 4 @.str.24 = private unnamed_addr constant [36 x i8] c"error: could not create dst buffer\0A\00", align 1 @.str.25 = private unnamed_addr constant [40 x i8] c"error: call to 'clSetKernelArg' failed\0A\00", align 1 @.str.26 = private unnamed_addr constant [48 x i8] c"error: call to 'clEnqueueNDRangeKernel' failed\0A\00", align 1 @.str.27 = private unnamed_addr constant [45 x i8] c"error: call to 'clEnqueueReadBuffer' failed\0A\00", align 1 @.str.28 = private unnamed_addr constant [10 x i8] c"%s.result\00", align 1 @.str.29 = private unnamed_addr constant [21 x i8] c"Result dumped to %s\0A\00", align 1 @.str.30 = private unnamed_addr constant [44 x i8] c"error: call to 'clReleaseMemObject' failed\0A\00", align 1 @.str.31 = private unnamed_addr constant [41 x i8] c"error: call to 'clReleaseKernel' failed\0A\00", align 1 @.str.32 = private unnamed_addr constant [42 x i8] c"error: call to 'clReleaseProgram' failed\0A\00", align 1 @.str.33 = private unnamed_addr constant [47 x i8] c"error: call to 'clReleaseCommandQueue' failed\0A\00", align 1 @.str.34 = private unnamed_addr constant [42 x i8] c"error: call to 'clReleaseContext' failed\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 [100 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [100 x i8], align 16 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 %17 = alloca i32, align 4 %18 = alloca i64, align 8 %19 = alloca ptr, align 8 %20 = alloca i32, align 4 %21 = alloca i64, align 8 %22 = alloca ptr, align 8 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca ptr, align 8 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca ptr, align 8 %29 = alloca i32, align 4 %30 = alloca i64, align 8 %31 = alloca i64, align 8 %32 = alloca [100 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %33 = call i32 @clGetPlatformIDs(i32 noundef 1, ptr noundef %6, ptr noundef %7) store i32 %33, ptr %8, align 4 %34 = load i32, ptr %8, align 4 %35 = load i32, ptr @CL_SUCCESS, align 4 %36 = icmp ne i32 %34, %35 br i1 %36, label %37, label %40 37: ; preds = %2 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str) %39 = call i32 @exit(i32 noundef 1) #3 unreachable 40: ; preds = %2 %41 = load i32, ptr %7, align 4 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %41) %43 = load i32, ptr %6, align 4 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %43) %45 = load i32, ptr %6, align 4 %46 = load i32, ptr @CL_PLATFORM_NAME, align 4 %47 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %48 = call i32 @clGetPlatformInfo(i32 noundef %45, i32 noundef %46, i32 noundef 100, ptr noundef %47, ptr noundef null) store i32 %48, ptr %8, align 4 %49 = load i32, ptr %8, align 4 %50 = load i32, ptr @CL_SUCCESS, align 4 %51 = icmp ne i32 %49, %50 br i1 %51, label %52, label %55 52: ; preds = %40 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %54 = call i32 @exit(i32 noundef 1) #3 unreachable 55: ; preds = %40 %56 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %56) %58 = load i32, ptr %6, align 4 %59 = load i32, ptr @CL_DEVICE_TYPE_GPU, align 4 %60 = call i32 @clGetDeviceIDs(i32 noundef %58, i32 noundef %59, i32 noundef 1, ptr noundef %10, ptr noundef %11) store i32 %60, ptr %8, align 4 %61 = load i32, ptr %8, align 4 %62 = load i32, ptr @CL_SUCCESS, align 4 %63 = icmp ne i32 %61, %62 br i1 %63, label %64, label %67 64: ; preds = %55 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %66 = call i32 @exit(i32 noundef 1) #3 unreachable 67: ; preds = %55 %68 = load i32, ptr %11, align 4 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %68) %70 = load i32, ptr %10, align 4 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %70) %72 = load i32, ptr %10, align 4 %73 = load i32, ptr @CL_DEVICE_NAME, align 4 %74 = getelementptr inbounds [100 x i8], ptr %12, i64 0, i64 0 %75 = call i32 @clGetDeviceInfo(i32 noundef %72, i32 noundef %73, i32 noundef 100, ptr noundef %74, ptr noundef null) store i32 %75, ptr %8, align 4 %76 = load i32, ptr %8, align 4 %77 = load i32, ptr @CL_SUCCESS, align 4 %78 = icmp ne i32 %76, %77 br i1 %78, label %79, label %82 79: ; preds = %67 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %81 = call i32 @exit(i32 noundef 1) #3 unreachable 82: ; preds = %67 %83 = getelementptr inbounds [100 x i8], ptr %12, i64 0, i64 0 %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %83) %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %86 = call i32 @clCreateContext(ptr noundef null, i32 noundef 1, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef %8) store i32 %86, ptr %13, align 4 %87 = load i32, ptr %8, align 4 %88 = load i32, ptr @CL_SUCCESS, align 4 %89 = icmp ne i32 %87, %88 br i1 %89, label %90, label %93 90: ; preds = %82 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %92 = call i32 @exit(i32 noundef 1) #3 unreachable 93: ; preds = %82 %94 = load i32, ptr %13, align 4 %95 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %94) %96 = load i32, ptr %13, align 4 %97 = load i32, ptr %10, align 4 %98 = call i32 @clCreateCommandQueue(i32 noundef %96, i32 noundef %97, i32 noundef 0, ptr noundef %8) store i32 %98, ptr %14, align 4 %99 = load i32, ptr %8, align 4 %100 = load i32, ptr @CL_SUCCESS, align 4 %101 = icmp ne i32 %99, %100 br i1 %101, label %102, label %105 102: ; preds = %93 %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %104 = call i32 @exit(i32 noundef 1) #3 unreachable 105: ; preds = %93 %106 = load i32, ptr %14, align 4 %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %106) %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %109 = call ptr @read_buffer(ptr noundef @.str.15, ptr noundef %16) store ptr %109, ptr %15, align 8 %110 = load i32, ptr %13, align 4 %111 = call i32 @clCreateProgramWithSource(i32 noundef %110, i32 noundef 1, ptr noundef %15, ptr noundef %16, ptr noundef %8) store i32 %111, ptr %17, align 4 %112 = load i32, ptr %8, align 4 %113 = load i32, ptr @CL_SUCCESS, align 4 %114 = icmp ne i32 %112, %113 br i1 %114, label %115, label %118 115: ; preds = %105 %116 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %117 = call i32 @exit(i32 noundef 1) #3 unreachable 118: ; preds = %105 %119 = load i32, ptr %17, align 4 %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %119) %121 = load i32, ptr %17, align 4 %122 = call i32 @clBuildProgram(i32 noundef %121, i32 noundef 1, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef null) store i32 %122, ptr %8, align 4 %123 = load i32, ptr %8, align 4 %124 = load i32, ptr @CL_SUCCESS, align 4 %125 = icmp ne i32 %123, %124 br i1 %125, label %126, label %144 126: ; preds = %118 %127 = load i32, ptr %17, align 4 %128 = load i32, ptr %10, align 4 %129 = load i32, ptr @CL_PROGRAM_BUILD_LOG, align 4 %130 = call i32 @clGetProgramBuildInfo(i32 noundef %127, i32 noundef %128, i32 noundef %129, i64 noundef 0, ptr noundef null, ptr noundef %18) %131 = load i64, ptr %18, align 8 %132 = call ptr @malloc(i64 noundef %131) store ptr %132, ptr %19, align 8 %133 = load i32, ptr %17, align 4 %134 = load i32, ptr %10, align 4 %135 = load i32, ptr @CL_PROGRAM_BUILD_LOG, align 4 %136 = load i64, ptr %18, align 8 %137 = load ptr, ptr %19, align 8 %138 = call i32 @clGetProgramBuildInfo(i32 noundef %133, i32 noundef %134, i32 noundef %135, i64 noundef %136, ptr noundef %137, ptr noundef null) %139 = load ptr, ptr %19, align 8 %140 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, ptr noundef %139) %141 = load ptr, ptr %19, align 8 %142 = call i32 @free(ptr noundef %141) %143 = call i32 @exit(i32 noundef 1) #3 unreachable 144: ; preds = %118 %145 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %146 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %147 = load i32, ptr %17, align 4 %148 = call i32 @clCreateKernel(i32 noundef %147, ptr noundef @.str.20, ptr noundef %8) store i32 %148, ptr %20, align 4 %149 = load i32, ptr %8, align 4 %150 = load i32, ptr @CL_SUCCESS, align 4 %151 = icmp ne i32 %149, %150 br i1 %151, label %152, label %155 152: ; preds = %144 %153 = call i32 (ptr, ...) @printf(ptr noundef @.str.21) %154 = call i32 @exit(i32 noundef 1) #3 unreachable 155: ; preds = %144 store i64 10, ptr %21, align 8 %156 = load i64, ptr %21, align 8 %157 = mul i64 %156, 1 %158 = call ptr @malloc(i64 noundef %157) store ptr %158, ptr %22, align 8 store i32 0, ptr %23, align 4 br label %159 159: ; preds = %169, %155 %160 = load i32, ptr %23, align 4 %161 = sext i32 %160 to i64 %162 = load i64, ptr %21, align 8 %163 = icmp ult i64 %161, %162 br i1 %163, label %164, label %172 164: ; preds = %159 %165 = load ptr, ptr %22, align 8 %166 = load i32, ptr %23, align 4 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds i8, ptr %165, i64 %167 store i8 2, ptr %168, align 1 br label %169 169: ; preds = %164 %170 = load i32, ptr %23, align 4 %171 = add nsw i32 %170, 1 store i32 %171, ptr %23, align 4 br label %159, !llvm.loop !6 172: ; preds = %159 %173 = load i32, ptr %13, align 4 %174 = load i32, ptr @CL_MEM_READ_ONLY, align 4 %175 = load i64, ptr %21, align 8 %176 = mul i64 %175, 1 %177 = call i32 @clCreateBuffer(i32 noundef %173, i32 noundef %174, i64 noundef %176, ptr noundef null, ptr noundef %8) store i32 %177, ptr %24, align 4 %178 = load i32, ptr %8, align 4 %179 = load i32, ptr @CL_SUCCESS, align 4 %180 = icmp ne i32 %178, %179 br i1 %180, label %181, label %184 181: ; preds = %172 %182 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) %183 = call i32 @exit(i32 noundef 1) #3 unreachable 184: ; preds = %172 %185 = load i32, ptr %14, align 4 %186 = load i32, ptr %24, align 4 %187 = load i32, ptr @CL_TRUE, align 4 %188 = load i64, ptr %21, align 8 %189 = mul i64 %188, 1 %190 = load ptr, ptr %22, align 8 %191 = call i32 @clEnqueueWriteBuffer(i32 noundef %185, i32 noundef %186, i32 noundef %187, i32 noundef 0, i64 noundef %189, ptr noundef %190, i32 noundef 0, ptr noundef null, ptr noundef null) store i32 %191, ptr %8, align 4 %192 = load i32, ptr %8, align 4 %193 = load i32, ptr @CL_SUCCESS, align 4 %194 = icmp ne i32 %192, %193 br i1 %194, label %195, label %198 195: ; preds = %184 %196 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) %197 = call i32 @exit(i32 noundef 1) #3 unreachable 198: ; preds = %184 %199 = load i64, ptr %21, align 8 %200 = mul i64 %199, 1 %201 = call ptr @malloc(i64 noundef %200) store ptr %201, ptr %25, align 8 store i32 0, ptr %26, align 4 br label %202 202: ; preds = %212, %198 %203 = load i32, ptr %26, align 4 %204 = sext i32 %203 to i64 %205 = load i64, ptr %21, align 8 %206 = icmp ult i64 %204, %205 br i1 %206, label %207, label %215 207: ; preds = %202 %208 = load ptr, ptr %25, align 8 %209 = load i32, ptr %26, align 4 %210 = sext i32 %209 to i64 %211 = getelementptr inbounds i8, ptr %208, i64 %210 store i8 2, ptr %211, align 1 br label %212 212: ; preds = %207 %213 = load i32, ptr %26, align 4 %214 = add nsw i32 %213, 1 store i32 %214, ptr %26, align 4 br label %202, !llvm.loop !8 215: ; preds = %202 %216 = load i32, ptr %13, align 4 %217 = load i32, ptr @CL_MEM_READ_ONLY, align 4 %218 = load i64, ptr %21, align 8 %219 = mul i64 %218, 1 %220 = call i32 @clCreateBuffer(i32 noundef %216, i32 noundef %217, i64 noundef %219, ptr noundef null, ptr noundef %8) store i32 %220, ptr %27, align 4 %221 = load i32, ptr %8, align 4 %222 = load i32, ptr @CL_SUCCESS, align 4 %223 = icmp ne i32 %221, %222 br i1 %223, label %224, label %227 224: ; preds = %215 %225 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) %226 = call i32 @exit(i32 noundef 1) #3 unreachable 227: ; preds = %215 %228 = load i32, ptr %14, align 4 %229 = load i32, ptr %27, align 4 %230 = load i32, ptr @CL_TRUE, align 4 %231 = load i64, ptr %21, align 8 %232 = mul i64 %231, 1 %233 = load ptr, ptr %25, align 8 %234 = call i32 @clEnqueueWriteBuffer(i32 noundef %228, i32 noundef %229, i32 noundef %230, i32 noundef 0, i64 noundef %232, ptr noundef %233, i32 noundef 0, ptr noundef null, ptr noundef null) store i32 %234, ptr %8, align 4 %235 = load i32, ptr %8, align 4 %236 = load i32, ptr @CL_SUCCESS, align 4 %237 = icmp ne i32 %235, %236 br i1 %237, label %238, label %241 238: ; preds = %227 %239 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) %240 = call i32 @exit(i32 noundef 1) #3 unreachable 241: ; preds = %227 %242 = load i64, ptr %21, align 8 %243 = mul i64 %242, 1 %244 = call ptr @malloc(i64 noundef %243) store ptr %244, ptr %28, align 8 %245 = load ptr, ptr %28, align 8 %246 = load i64, ptr %21, align 8 %247 = mul i64 %246, 1 %248 = call i32 @memset(ptr noundef %245, i32 noundef 1, i64 noundef %247) %249 = load i32, ptr %13, align 4 %250 = load i32, ptr @CL_MEM_WRITE_ONLY, align 4 %251 = load i64, ptr %21, align 8 %252 = mul i64 %251, 1 %253 = call i32 @clCreateBuffer(i32 noundef %249, i32 noundef %250, i64 noundef %252, ptr noundef null, ptr noundef %8) store i32 %253, ptr %29, align 4 %254 = load i32, ptr %8, align 4 %255 = load i32, ptr @CL_SUCCESS, align 4 %256 = icmp ne i32 %254, %255 br i1 %256, label %257, label %260 257: ; preds = %241 %258 = call i32 (ptr, ...) @printf(ptr noundef @.str.24) %259 = call i32 @exit(i32 noundef 1) #3 unreachable 260: ; preds = %241 %261 = load i32, ptr @CL_SUCCESS, align 4 store i32 %261, ptr %8, align 4 %262 = load i32, ptr %20, align 4 %263 = call i32 @clSetKernelArg(i32 noundef %262, i32 noundef 0, i32 noundef 4, ptr noundef %24) %264 = load i32, ptr %8, align 4 %265 = or i32 %264, %263 store i32 %265, ptr %8, align 4 %266 = load i32, ptr %20, align 4 %267 = call i32 @clSetKernelArg(i32 noundef %266, i32 noundef 1, i32 noundef 4, ptr noundef %27) %268 = load i32, ptr %8, align 4 %269 = or i32 %268, %267 store i32 %269, ptr %8, align 4 %270 = load i32, ptr %20, align 4 %271 = call i32 @clSetKernelArg(i32 noundef %270, i32 noundef 2, i32 noundef 4, ptr noundef %29) %272 = load i32, ptr %8, align 4 %273 = or i32 %272, %271 store i32 %273, ptr %8, align 4 %274 = load i32, ptr %8, align 4 %275 = load i32, ptr @CL_SUCCESS, align 4 %276 = icmp ne i32 %274, %275 br i1 %276, label %277, label %280 277: ; preds = %260 %278 = call i32 (ptr, ...) @printf(ptr noundef @.str.25) %279 = call i32 @exit(i32 noundef 1) #3 unreachable 280: ; preds = %260 %281 = load i64, ptr %21, align 8 store i64 %281, ptr %30, align 8 %282 = load i64, ptr %21, align 8 store i64 %282, ptr %31, align 8 %283 = load i32, ptr %14, align 4 %284 = load i32, ptr %20, align 4 %285 = call i32 @clEnqueueNDRangeKernel(i32 noundef %283, i32 noundef %284, i32 noundef 1, ptr noundef null, ptr noundef %30, ptr noundef %31, i32 noundef 0, ptr noundef null, ptr noundef null) store i32 %285, ptr %8, align 4 %286 = load i32, ptr %8, align 4 %287 = load i32, ptr @CL_SUCCESS, align 4 %288 = icmp ne i32 %286, %287 br i1 %288, label %289, label %292 289: ; preds = %280 %290 = call i32 (ptr, ...) @printf(ptr noundef @.str.26) %291 = call i32 @exit(i32 noundef 1) #3 unreachable 292: ; preds = %280 %293 = load i32, ptr %14, align 4 %294 = call i32 @clFinish(i32 noundef %293) %295 = load i32, ptr %14, align 4 %296 = load i32, ptr %29, align 4 %297 = load i32, ptr @CL_TRUE, align 4 %298 = load i64, ptr %21, align 8 %299 = mul i64 %298, 1 %300 = load ptr, ptr %28, align 8 %301 = call i32 @clEnqueueReadBuffer(i32 noundef %295, i32 noundef %296, i32 noundef %297, i32 noundef 0, i64 noundef %299, ptr noundef %300, i32 noundef 0, ptr noundef null, ptr noundef null) store i32 %301, ptr %8, align 4 %302 = load i32, ptr %8, align 4 %303 = load i32, ptr @CL_SUCCESS, align 4 %304 = icmp ne i32 %302, %303 br i1 %304, label %305, label %308 305: ; preds = %292 %306 = call i32 (ptr, ...) @printf(ptr noundef @.str.27) %307 = call i32 @exit(i32 noundef 1) #3 unreachable 308: ; preds = %292 %309 = load ptr, ptr %5, align 8 %310 = getelementptr inbounds ptr, ptr %309, i64 0 %311 = load ptr, ptr %310, align 8 %312 = call i32 @sprintf(ptr noundef %32, ptr noundef @.str.28, ptr noundef %311) %313 = getelementptr inbounds [100 x i8], ptr %32, i64 0, i64 0 %314 = load ptr, ptr %28, align 8 %315 = load i64, ptr %21, align 8 %316 = mul i64 %315, 1 %317 = call i32 @write_buffer(ptr noundef %313, ptr noundef %314, i64 noundef %316) %318 = getelementptr inbounds [100 x i8], ptr %32, i64 0, i64 0 %319 = call i32 (ptr, ...) @printf(ptr noundef @.str.29, ptr noundef %318) %320 = load ptr, ptr %28, align 8 %321 = call i32 @free(ptr noundef %320) %322 = load i32, ptr %29, align 4 %323 = call i32 @clReleaseMemObject(i32 noundef %322) store i32 %323, ptr %8, align 4 %324 = load i32, ptr %8, align 4 %325 = load i32, ptr @CL_SUCCESS, align 4 %326 = icmp ne i32 %324, %325 br i1 %326, label %327, label %330 327: ; preds = %308 %328 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %329 = call i32 @exit(i32 noundef 1) #3 unreachable 330: ; preds = %308 %331 = load ptr, ptr %22, align 8 %332 = call i32 @free(ptr noundef %331) %333 = load i32, ptr %24, align 4 %334 = call i32 @clReleaseMemObject(i32 noundef %333) store i32 %334, ptr %8, align 4 %335 = load i32, ptr %8, align 4 %336 = load i32, ptr @CL_SUCCESS, align 4 %337 = icmp ne i32 %335, %336 br i1 %337, label %338, label %341 338: ; preds = %330 %339 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %340 = call i32 @exit(i32 noundef 1) #3 unreachable 341: ; preds = %330 %342 = load ptr, ptr %25, align 8 %343 = call i32 @free(ptr noundef %342) %344 = load i32, ptr %27, align 4 %345 = call i32 @clReleaseMemObject(i32 noundef %344) store i32 %345, ptr %8, align 4 %346 = load i32, ptr %8, align 4 %347 = load i32, ptr @CL_SUCCESS, align 4 %348 = icmp ne i32 %346, %347 br i1 %348, label %349, label %352 349: ; preds = %341 %350 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %351 = call i32 @exit(i32 noundef 1) #3 unreachable 352: ; preds = %341 %353 = load i32, ptr %20, align 4 %354 = call i32 @clReleaseKernel(i32 noundef %353) store i32 %354, ptr %8, align 4 %355 = load i32, ptr %8, align 4 %356 = load i32, ptr @CL_SUCCESS, align 4 %357 = icmp ne i32 %355, %356 br i1 %357, label %358, label %361 358: ; preds = %352 %359 = call i32 (ptr, ...) @printf(ptr noundef @.str.31) %360 = call i32 @exit(i32 noundef 1) #3 unreachable 361: ; preds = %352 %362 = load i32, ptr %17, align 4 %363 = call i32 @clReleaseProgram(i32 noundef %362) store i32 %363, ptr %8, align 4 %364 = load i32, ptr %8, align 4 %365 = load i32, ptr @CL_SUCCESS, align 4 %366 = icmp ne i32 %364, %365 br i1 %366, label %367, label %370 367: ; preds = %361 %368 = call i32 (ptr, ...) @printf(ptr noundef @.str.32) %369 = call i32 @exit(i32 noundef 1) #3 unreachable 370: ; preds = %361 %371 = load i32, ptr %14, align 4 %372 = call i32 @clReleaseCommandQueue(i32 noundef %371) store i32 %372, ptr %8, align 4 %373 = load i32, ptr %8, align 4 %374 = load i32, ptr @CL_SUCCESS, align 4 %375 = icmp ne i32 %373, %374 br i1 %375, label %376, label %379 376: ; preds = %370 %377 = call i32 (ptr, ...) @printf(ptr noundef @.str.33) %378 = call i32 @exit(i32 noundef 1) #3 unreachable 379: ; preds = %370 %380 = load i32, ptr %13, align 4 %381 = call i32 @clReleaseContext(i32 noundef %380) store i32 %381, ptr %8, align 4 %382 = load i32, ptr %8, align 4 %383 = load i32, ptr @CL_SUCCESS, align 4 %384 = icmp ne i32 %382, %383 br i1 %384, label %385, label %388 385: ; preds = %379 %386 = call i32 (ptr, ...) @printf(ptr noundef @.str.34) %387 = call i32 @exit(i32 noundef 1) #3 unreachable 388: ; preds = %379 ret i32 0 } declare i32 @clGetPlatformIDs(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @clGetPlatformInfo(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clGetDeviceIDs(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clGetDeviceInfo(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateContext(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateCommandQueue(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare ptr @read_buffer(ptr noundef, ptr noundef) #1 declare i32 @clCreateProgramWithSource(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clBuildProgram(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clGetProgramBuildInfo(i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @clCreateKernel(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateBuffer(i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare i32 @clEnqueueWriteBuffer(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1 declare i32 @clSetKernelArg(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @clEnqueueNDRangeKernel(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clFinish(i32 noundef) #1 declare i32 @clEnqueueReadBuffer(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @write_buffer(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @clReleaseMemObject(i32 noundef) #1 declare i32 @clReleaseKernel(i32 noundef) #1 declare i32 @clReleaseProgram(i32 noundef) #1 declare i32 @clReleaseCommandQueue(i32 noundef) #1 declare i32 @clReleaseContext(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpssk4tz4_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CL_SUCCESS = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [42 x i8] c"error: call to 'clGetPlatformIDs' failed\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Number of platforms: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"platform=%p\0A\00", align 1 @CL_PLATFORM_NAME = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [43 x i8] c"error: call to 'clGetPlatformInfo' failed\0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"platform.name='%s'\0A\0A\00", align 1 @CL_DEVICE_TYPE_GPU = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [40 x i8] c"error: call to 'clGetDeviceIDs' failed\0A\00", align 1 @.str.6 = private unnamed_addr constant [23 x i8] c"Number of devices: %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [11 x i8] c"device=%p\0A\00", align 1 @CL_DEVICE_NAME = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [41 x i8] c"error: call to 'clGetDeviceInfo' failed\0A\00", align 1 @.str.9 = private unnamed_addr constant [18 x i8] c"device.name='%s'\0A\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.11 = private unnamed_addr constant [41 x i8] c"error: call to 'clCreateContext' failed\0A\00", align 1 @.str.12 = private unnamed_addr constant [12 x i8] c"context=%p\0A\00", align 1 @.str.13 = private unnamed_addr constant [46 x i8] c"error: call to 'clCreateCommandQueue' failed\0A\00", align 1 @.str.14 = private unnamed_addr constant [18 x i8] c"command_queue=%p\0A\00", align 1 @.str.15 = private unnamed_addr constant [21 x i8] c"divide_ulongulong.cl\00", align 1 @.str.16 = private unnamed_addr constant [51 x i8] c"error: call to 'clCreateProgramWithSource' failed\0A\00", align 1 @.str.17 = private unnamed_addr constant [12 x i8] c"program=%p\0A\00", align 1 @CL_PROGRAM_BUILD_LOG = dso_local global i32 0, align 4 @.str.18 = private unnamed_addr constant [44 x i8] c"error: call to 'clBuildProgram' failed:\0A%s\0A\00", align 1 @.str.19 = private unnamed_addr constant [15 x i8] c"program built\0A\00", align 1 @.str.20 = private unnamed_addr constant [18 x i8] c"divide_ulongulong\00", align 1 @.str.21 = private unnamed_addr constant [40 x i8] c"error: call to 'clCreateKernel' failed\0A\00", align 1 @CL_MEM_READ_ONLY = dso_local global i32 0, align 4 @.str.22 = private unnamed_addr constant [39 x i8] c"error: could not create source buffer\0A\00", align 1 @CL_TRUE = dso_local global i32 0, align 4 @.str.23 = private unnamed_addr constant [46 x i8] c"error: call to 'clEnqueueWriteBuffer' failed\0A\00", align 1 @CL_MEM_WRITE_ONLY = dso_local global i32 0, align 4 @.str.24 = private unnamed_addr constant [36 x i8] c"error: could not create dst buffer\0A\00", align 1 @.str.25 = private unnamed_addr constant [40 x i8] c"error: call to 'clSetKernelArg' failed\0A\00", align 1 @.str.26 = private unnamed_addr constant [48 x i8] c"error: call to 'clEnqueueNDRangeKernel' failed\0A\00", align 1 @.str.27 = private unnamed_addr constant [45 x i8] c"error: call to 'clEnqueueReadBuffer' failed\0A\00", align 1 @.str.28 = private unnamed_addr constant [10 x i8] c"%s.result\00", align 1 @.str.29 = private unnamed_addr constant [21 x i8] c"Result dumped to %s\0A\00", align 1 @.str.30 = private unnamed_addr constant [44 x i8] c"error: call to 'clReleaseMemObject' failed\0A\00", align 1 @.str.31 = private unnamed_addr constant [41 x i8] c"error: call to 'clReleaseKernel' failed\0A\00", align 1 @.str.32 = private unnamed_addr constant [42 x i8] c"error: call to 'clReleaseProgram' failed\0A\00", align 1 @.str.33 = private unnamed_addr constant [47 x i8] c"error: call to 'clReleaseCommandQueue' failed\0A\00", align 1 @.str.34 = private unnamed_addr constant [42 x i8] c"error: call to 'clReleaseContext' failed\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 [100 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [100 x i8], align 16 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 %17 = alloca i32, align 4 %18 = alloca i64, align 8 %19 = alloca ptr, align 8 %20 = alloca i32, align 4 %21 = alloca i64, align 8 %22 = alloca ptr, align 8 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca ptr, align 8 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca ptr, align 8 %29 = alloca i32, align 4 %30 = alloca i64, align 8 %31 = alloca i64, align 8 %32 = alloca [100 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %33 = call i32 @clGetPlatformIDs(i32 noundef 1, ptr noundef %6, ptr noundef %7) store i32 %33, ptr %8, align 4 %34 = load i32, ptr %8, align 4 %35 = load i32, ptr @CL_SUCCESS, align 4 %36 = icmp ne i32 %34, %35 br i1 %36, label %37, label %40 37: ; preds = %2 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str) %39 = call i32 @exit(i32 noundef 1) #3 unreachable 40: ; preds = %2 %41 = load i32, ptr %7, align 4 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %41) %43 = load i32, ptr %6, align 4 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %43) %45 = load i32, ptr %6, align 4 %46 = load i32, ptr @CL_PLATFORM_NAME, align 4 %47 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %48 = call i32 @clGetPlatformInfo(i32 noundef %45, i32 noundef %46, i32 noundef 100, ptr noundef %47, ptr noundef null) store i32 %48, ptr %8, align 4 %49 = load i32, ptr %8, align 4 %50 = load i32, ptr @CL_SUCCESS, align 4 %51 = icmp ne i32 %49, %50 br i1 %51, label %52, label %55 52: ; preds = %40 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %54 = call i32 @exit(i32 noundef 1) #3 unreachable 55: ; preds = %40 %56 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %56) %58 = load i32, ptr %6, align 4 %59 = load i32, ptr @CL_DEVICE_TYPE_GPU, align 4 %60 = call i32 @clGetDeviceIDs(i32 noundef %58, i32 noundef %59, i32 noundef 1, ptr noundef %10, ptr noundef %11) store i32 %60, ptr %8, align 4 %61 = load i32, ptr %8, align 4 %62 = load i32, ptr @CL_SUCCESS, align 4 %63 = icmp ne i32 %61, %62 br i1 %63, label %64, label %67 64: ; preds = %55 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %66 = call i32 @exit(i32 noundef 1) #3 unreachable 67: ; preds = %55 %68 = load i32, ptr %11, align 4 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %68) %70 = load i32, ptr %10, align 4 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %70) %72 = load i32, ptr %10, align 4 %73 = load i32, ptr @CL_DEVICE_NAME, align 4 %74 = getelementptr inbounds [100 x i8], ptr %12, i64 0, i64 0 %75 = call i32 @clGetDeviceInfo(i32 noundef %72, i32 noundef %73, i32 noundef 100, ptr noundef %74, ptr noundef null) store i32 %75, ptr %8, align 4 %76 = load i32, ptr %8, align 4 %77 = load i32, ptr @CL_SUCCESS, align 4 %78 = icmp ne i32 %76, %77 br i1 %78, label %79, label %82 79: ; preds = %67 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %81 = call i32 @exit(i32 noundef 1) #3 unreachable 82: ; preds = %67 %83 = getelementptr inbounds [100 x i8], ptr %12, i64 0, i64 0 %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %83) %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %86 = call i32 @clCreateContext(ptr noundef null, i32 noundef 1, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef %8) store i32 %86, ptr %13, align 4 %87 = load i32, ptr %8, align 4 %88 = load i32, ptr @CL_SUCCESS, align 4 %89 = icmp ne i32 %87, %88 br i1 %89, label %90, label %93 90: ; preds = %82 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %92 = call i32 @exit(i32 noundef 1) #3 unreachable 93: ; preds = %82 %94 = load i32, ptr %13, align 4 %95 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %94) %96 = load i32, ptr %13, align 4 %97 = load i32, ptr %10, align 4 %98 = call i32 @clCreateCommandQueue(i32 noundef %96, i32 noundef %97, i32 noundef 0, ptr noundef %8) store i32 %98, ptr %14, align 4 %99 = load i32, ptr %8, align 4 %100 = load i32, ptr @CL_SUCCESS, align 4 %101 = icmp ne i32 %99, %100 br i1 %101, label %102, label %105 102: ; preds = %93 %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %104 = call i32 @exit(i32 noundef 1) #3 unreachable 105: ; preds = %93 %106 = load i32, ptr %14, align 4 %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %106) %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %109 = call ptr @read_buffer(ptr noundef @.str.15, ptr noundef %16) store ptr %109, ptr %15, align 8 %110 = load i32, ptr %13, align 4 %111 = call i32 @clCreateProgramWithSource(i32 noundef %110, i32 noundef 1, ptr noundef %15, ptr noundef %16, ptr noundef %8) store i32 %111, ptr %17, align 4 %112 = load i32, ptr %8, align 4 %113 = load i32, ptr @CL_SUCCESS, align 4 %114 = icmp ne i32 %112, %113 br i1 %114, label %115, label %118 115: ; preds = %105 %116 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %117 = call i32 @exit(i32 noundef 1) #3 unreachable 118: ; preds = %105 %119 = load i32, ptr %17, align 4 %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %119) %121 = load i32, ptr %17, align 4 %122 = call i32 @clBuildProgram(i32 noundef %121, i32 noundef 1, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef null) store i32 %122, ptr %8, align 4 %123 = load i32, ptr %8, align 4 %124 = load i32, ptr @CL_SUCCESS, align 4 %125 = icmp ne i32 %123, %124 br i1 %125, label %126, label %144 126: ; preds = %118 %127 = load i32, ptr %17, align 4 %128 = load i32, ptr %10, align 4 %129 = load i32, ptr @CL_PROGRAM_BUILD_LOG, align 4 %130 = call i32 @clGetProgramBuildInfo(i32 noundef %127, i32 noundef %128, i32 noundef %129, i64 noundef 0, ptr noundef null, ptr noundef %18) %131 = load i64, ptr %18, align 8 %132 = call ptr @malloc(i64 noundef %131) store ptr %132, ptr %19, align 8 %133 = load i32, ptr %17, align 4 %134 = load i32, ptr %10, align 4 %135 = load i32, ptr @CL_PROGRAM_BUILD_LOG, align 4 %136 = load i64, ptr %18, align 8 %137 = load ptr, ptr %19, align 8 %138 = call i32 @clGetProgramBuildInfo(i32 noundef %133, i32 noundef %134, i32 noundef %135, i64 noundef %136, ptr noundef %137, ptr noundef null) %139 = load ptr, ptr %19, align 8 %140 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, ptr noundef %139) %141 = load ptr, ptr %19, align 8 %142 = call i32 @free(ptr noundef %141) %143 = call i32 @exit(i32 noundef 1) #3 unreachable 144: ; preds = %118 %145 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %146 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %147 = load i32, ptr %17, align 4 %148 = call i32 @clCreateKernel(i32 noundef %147, ptr noundef @.str.20, ptr noundef %8) store i32 %148, ptr %20, align 4 %149 = load i32, ptr %8, align 4 %150 = load i32, ptr @CL_SUCCESS, align 4 %151 = icmp ne i32 %149, %150 br i1 %151, label %152, label %155 152: ; preds = %144 %153 = call i32 (ptr, ...) @printf(ptr noundef @.str.21) %154 = call i32 @exit(i32 noundef 1) #3 unreachable 155: ; preds = %144 store i64 10, ptr %21, align 8 %156 = load i64, ptr %21, align 8 %157 = mul i64 %156, 1 %158 = call ptr @malloc(i64 noundef %157) store ptr %158, ptr %22, align 8 store i32 0, ptr %23, align 4 %159 = load i32, ptr %23, align 4 %160 = sext i32 %159 to i64 %161 = load i64, ptr %21, align 8 %162 = icmp ult i64 %160, %161 br i1 %162, label %.lr.ph, label %175 .lr.ph: ; preds = %155 br label %163 163: ; preds = %.lr.ph, %168 %164 = load ptr, ptr %22, align 8 %165 = load i32, ptr %23, align 4 %166 = sext i32 %165 to i64 %167 = getelementptr inbounds i8, ptr %164, i64 %166 store i8 2, ptr %167, align 1 br label %168 168: ; preds = %163 %169 = load i32, ptr %23, align 4 %170 = add nsw i32 %169, 1 store i32 %170, ptr %23, align 4 %171 = load i32, ptr %23, align 4 %172 = sext i32 %171 to i64 %173 = load i64, ptr %21, align 8 %174 = icmp ult i64 %172, %173 br i1 %174, label %163, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %168 br label %175 175: ; preds = %._crit_edge, %155 %176 = load i32, ptr %13, align 4 %177 = load i32, ptr @CL_MEM_READ_ONLY, align 4 %178 = load i64, ptr %21, align 8 %179 = mul i64 %178, 1 %180 = call i32 @clCreateBuffer(i32 noundef %176, i32 noundef %177, i64 noundef %179, ptr noundef null, ptr noundef %8) store i32 %180, ptr %24, align 4 %181 = load i32, ptr %8, align 4 %182 = load i32, ptr @CL_SUCCESS, align 4 %183 = icmp ne i32 %181, %182 br i1 %183, label %184, label %187 184: ; preds = %175 %185 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) %186 = call i32 @exit(i32 noundef 1) #3 unreachable 187: ; preds = %175 %188 = load i32, ptr %14, align 4 %189 = load i32, ptr %24, align 4 %190 = load i32, ptr @CL_TRUE, align 4 %191 = load i64, ptr %21, align 8 %192 = mul i64 %191, 1 %193 = load ptr, ptr %22, align 8 %194 = call i32 @clEnqueueWriteBuffer(i32 noundef %188, i32 noundef %189, i32 noundef %190, i32 noundef 0, i64 noundef %192, ptr noundef %193, i32 noundef 0, ptr noundef null, ptr noundef null) store i32 %194, ptr %8, align 4 %195 = load i32, ptr %8, align 4 %196 = load i32, ptr @CL_SUCCESS, align 4 %197 = icmp ne i32 %195, %196 br i1 %197, label %198, label %201 198: ; preds = %187 %199 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) %200 = call i32 @exit(i32 noundef 1) #3 unreachable 201: ; preds = %187 %202 = load i64, ptr %21, align 8 %203 = mul i64 %202, 1 %204 = call ptr @malloc(i64 noundef %203) store ptr %204, ptr %25, align 8 store i32 0, ptr %26, align 4 %205 = load i32, ptr %26, align 4 %206 = sext i32 %205 to i64 %207 = load i64, ptr %21, align 8 %208 = icmp ult i64 %206, %207 br i1 %208, label %.lr.ph2, label %221 .lr.ph2: ; preds = %201 br label %209 209: ; preds = %.lr.ph2, %214 %210 = load ptr, ptr %25, align 8 %211 = load i32, ptr %26, align 4 %212 = sext i32 %211 to i64 %213 = getelementptr inbounds i8, ptr %210, i64 %212 store i8 2, ptr %213, align 1 br label %214 214: ; preds = %209 %215 = load i32, ptr %26, align 4 %216 = add nsw i32 %215, 1 store i32 %216, ptr %26, align 4 %217 = load i32, ptr %26, align 4 %218 = sext i32 %217 to i64 %219 = load i64, ptr %21, align 8 %220 = icmp ult i64 %218, %219 br i1 %220, label %209, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %214 br label %221 221: ; preds = %._crit_edge3, %201 %222 = load i32, ptr %13, align 4 %223 = load i32, ptr @CL_MEM_READ_ONLY, align 4 %224 = load i64, ptr %21, align 8 %225 = mul i64 %224, 1 %226 = call i32 @clCreateBuffer(i32 noundef %222, i32 noundef %223, i64 noundef %225, ptr noundef null, ptr noundef %8) store i32 %226, ptr %27, align 4 %227 = load i32, ptr %8, align 4 %228 = load i32, ptr @CL_SUCCESS, align 4 %229 = icmp ne i32 %227, %228 br i1 %229, label %230, label %233 230: ; preds = %221 %231 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) %232 = call i32 @exit(i32 noundef 1) #3 unreachable 233: ; preds = %221 %234 = load i32, ptr %14, align 4 %235 = load i32, ptr %27, align 4 %236 = load i32, ptr @CL_TRUE, align 4 %237 = load i64, ptr %21, align 8 %238 = mul i64 %237, 1 %239 = load ptr, ptr %25, align 8 %240 = call i32 @clEnqueueWriteBuffer(i32 noundef %234, i32 noundef %235, i32 noundef %236, i32 noundef 0, i64 noundef %238, ptr noundef %239, i32 noundef 0, ptr noundef null, ptr noundef null) store i32 %240, ptr %8, align 4 %241 = load i32, ptr %8, align 4 %242 = load i32, ptr @CL_SUCCESS, align 4 %243 = icmp ne i32 %241, %242 br i1 %243, label %244, label %247 244: ; preds = %233 %245 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) %246 = call i32 @exit(i32 noundef 1) #3 unreachable 247: ; preds = %233 %248 = load i64, ptr %21, align 8 %249 = mul i64 %248, 1 %250 = call ptr @malloc(i64 noundef %249) store ptr %250, ptr %28, align 8 %251 = load ptr, ptr %28, align 8 %252 = load i64, ptr %21, align 8 %253 = mul i64 %252, 1 %254 = call i32 @memset(ptr noundef %251, i32 noundef 1, i64 noundef %253) %255 = load i32, ptr %13, align 4 %256 = load i32, ptr @CL_MEM_WRITE_ONLY, align 4 %257 = load i64, ptr %21, align 8 %258 = mul i64 %257, 1 %259 = call i32 @clCreateBuffer(i32 noundef %255, i32 noundef %256, i64 noundef %258, ptr noundef null, ptr noundef %8) store i32 %259, ptr %29, align 4 %260 = load i32, ptr %8, align 4 %261 = load i32, ptr @CL_SUCCESS, align 4 %262 = icmp ne i32 %260, %261 br i1 %262, label %263, label %266 263: ; preds = %247 %264 = call i32 (ptr, ...) @printf(ptr noundef @.str.24) %265 = call i32 @exit(i32 noundef 1) #3 unreachable 266: ; preds = %247 %267 = load i32, ptr @CL_SUCCESS, align 4 store i32 %267, ptr %8, align 4 %268 = load i32, ptr %20, align 4 %269 = call i32 @clSetKernelArg(i32 noundef %268, i32 noundef 0, i32 noundef 4, ptr noundef %24) %270 = load i32, ptr %8, align 4 %271 = or i32 %270, %269 store i32 %271, ptr %8, align 4 %272 = load i32, ptr %20, align 4 %273 = call i32 @clSetKernelArg(i32 noundef %272, i32 noundef 1, i32 noundef 4, ptr noundef %27) %274 = load i32, ptr %8, align 4 %275 = or i32 %274, %273 store i32 %275, ptr %8, align 4 %276 = load i32, ptr %20, align 4 %277 = call i32 @clSetKernelArg(i32 noundef %276, i32 noundef 2, i32 noundef 4, ptr noundef %29) %278 = load i32, ptr %8, align 4 %279 = or i32 %278, %277 store i32 %279, ptr %8, align 4 %280 = load i32, ptr %8, align 4 %281 = load i32, ptr @CL_SUCCESS, align 4 %282 = icmp ne i32 %280, %281 br i1 %282, label %283, label %286 283: ; preds = %266 %284 = call i32 (ptr, ...) @printf(ptr noundef @.str.25) %285 = call i32 @exit(i32 noundef 1) #3 unreachable 286: ; preds = %266 %287 = load i64, ptr %21, align 8 store i64 %287, ptr %30, align 8 %288 = load i64, ptr %21, align 8 store i64 %288, ptr %31, align 8 %289 = load i32, ptr %14, align 4 %290 = load i32, ptr %20, align 4 %291 = call i32 @clEnqueueNDRangeKernel(i32 noundef %289, i32 noundef %290, i32 noundef 1, ptr noundef null, ptr noundef %30, ptr noundef %31, i32 noundef 0, ptr noundef null, ptr noundef null) store i32 %291, ptr %8, align 4 %292 = load i32, ptr %8, align 4 %293 = load i32, ptr @CL_SUCCESS, align 4 %294 = icmp ne i32 %292, %293 br i1 %294, label %295, label %298 295: ; preds = %286 %296 = call i32 (ptr, ...) @printf(ptr noundef @.str.26) %297 = call i32 @exit(i32 noundef 1) #3 unreachable 298: ; preds = %286 %299 = load i32, ptr %14, align 4 %300 = call i32 @clFinish(i32 noundef %299) %301 = load i32, ptr %14, align 4 %302 = load i32, ptr %29, align 4 %303 = load i32, ptr @CL_TRUE, align 4 %304 = load i64, ptr %21, align 8 %305 = mul i64 %304, 1 %306 = load ptr, ptr %28, align 8 %307 = call i32 @clEnqueueReadBuffer(i32 noundef %301, i32 noundef %302, i32 noundef %303, i32 noundef 0, i64 noundef %305, ptr noundef %306, i32 noundef 0, ptr noundef null, ptr noundef null) store i32 %307, ptr %8, align 4 %308 = load i32, ptr %8, align 4 %309 = load i32, ptr @CL_SUCCESS, align 4 %310 = icmp ne i32 %308, %309 br i1 %310, label %311, label %314 311: ; preds = %298 %312 = call i32 (ptr, ...) @printf(ptr noundef @.str.27) %313 = call i32 @exit(i32 noundef 1) #3 unreachable 314: ; preds = %298 %315 = load ptr, ptr %5, align 8 %316 = getelementptr inbounds ptr, ptr %315, i64 0 %317 = load ptr, ptr %316, align 8 %318 = call i32 @sprintf(ptr noundef %32, ptr noundef @.str.28, ptr noundef %317) %319 = getelementptr inbounds [100 x i8], ptr %32, i64 0, i64 0 %320 = load ptr, ptr %28, align 8 %321 = load i64, ptr %21, align 8 %322 = mul i64 %321, 1 %323 = call i32 @write_buffer(ptr noundef %319, ptr noundef %320, i64 noundef %322) %324 = getelementptr inbounds [100 x i8], ptr %32, i64 0, i64 0 %325 = call i32 (ptr, ...) @printf(ptr noundef @.str.29, ptr noundef %324) %326 = load ptr, ptr %28, align 8 %327 = call i32 @free(ptr noundef %326) %328 = load i32, ptr %29, align 4 %329 = call i32 @clReleaseMemObject(i32 noundef %328) store i32 %329, ptr %8, align 4 %330 = load i32, ptr %8, align 4 %331 = load i32, ptr @CL_SUCCESS, align 4 %332 = icmp ne i32 %330, %331 br i1 %332, label %333, label %336 333: ; preds = %314 %334 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %335 = call i32 @exit(i32 noundef 1) #3 unreachable 336: ; preds = %314 %337 = load ptr, ptr %22, align 8 %338 = call i32 @free(ptr noundef %337) %339 = load i32, ptr %24, align 4 %340 = call i32 @clReleaseMemObject(i32 noundef %339) store i32 %340, ptr %8, align 4 %341 = load i32, ptr %8, align 4 %342 = load i32, ptr @CL_SUCCESS, align 4 %343 = icmp ne i32 %341, %342 br i1 %343, label %344, label %347 344: ; preds = %336 %345 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %346 = call i32 @exit(i32 noundef 1) #3 unreachable 347: ; preds = %336 %348 = load ptr, ptr %25, align 8 %349 = call i32 @free(ptr noundef %348) %350 = load i32, ptr %27, align 4 %351 = call i32 @clReleaseMemObject(i32 noundef %350) store i32 %351, ptr %8, align 4 %352 = load i32, ptr %8, align 4 %353 = load i32, ptr @CL_SUCCESS, align 4 %354 = icmp ne i32 %352, %353 br i1 %354, label %355, label %358 355: ; preds = %347 %356 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %357 = call i32 @exit(i32 noundef 1) #3 unreachable 358: ; preds = %347 %359 = load i32, ptr %20, align 4 %360 = call i32 @clReleaseKernel(i32 noundef %359) store i32 %360, ptr %8, align 4 %361 = load i32, ptr %8, align 4 %362 = load i32, ptr @CL_SUCCESS, align 4 %363 = icmp ne i32 %361, %362 br i1 %363, label %364, label %367 364: ; preds = %358 %365 = call i32 (ptr, ...) @printf(ptr noundef @.str.31) %366 = call i32 @exit(i32 noundef 1) #3 unreachable 367: ; preds = %358 %368 = load i32, ptr %17, align 4 %369 = call i32 @clReleaseProgram(i32 noundef %368) store i32 %369, ptr %8, align 4 %370 = load i32, ptr %8, align 4 %371 = load i32, ptr @CL_SUCCESS, align 4 %372 = icmp ne i32 %370, %371 br i1 %372, label %373, label %376 373: ; preds = %367 %374 = call i32 (ptr, ...) @printf(ptr noundef @.str.32) %375 = call i32 @exit(i32 noundef 1) #3 unreachable 376: ; preds = %367 %377 = load i32, ptr %14, align 4 %378 = call i32 @clReleaseCommandQueue(i32 noundef %377) store i32 %378, ptr %8, align 4 %379 = load i32, ptr %8, align 4 %380 = load i32, ptr @CL_SUCCESS, align 4 %381 = icmp ne i32 %379, %380 br i1 %381, label %382, label %385 382: ; preds = %376 %383 = call i32 (ptr, ...) @printf(ptr noundef @.str.33) %384 = call i32 @exit(i32 noundef 1) #3 unreachable 385: ; preds = %376 %386 = load i32, ptr %13, align 4 %387 = call i32 @clReleaseContext(i32 noundef %386) store i32 %387, ptr %8, align 4 %388 = load i32, ptr %8, align 4 %389 = load i32, ptr @CL_SUCCESS, align 4 %390 = icmp ne i32 %388, %389 br i1 %390, label %391, label %394 391: ; preds = %385 %392 = call i32 (ptr, ...) @printf(ptr noundef @.str.34) %393 = call i32 @exit(i32 noundef 1) #3 unreachable 394: ; preds = %385 ret i32 0 } declare i32 @clGetPlatformIDs(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @clGetPlatformInfo(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clGetDeviceIDs(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clGetDeviceInfo(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateContext(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateCommandQueue(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare ptr @read_buffer(ptr noundef, ptr noundef) #1 declare i32 @clCreateProgramWithSource(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clBuildProgram(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clGetProgramBuildInfo(i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @clCreateKernel(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateBuffer(i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare i32 @clEnqueueWriteBuffer(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1 declare i32 @clSetKernelArg(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @clEnqueueNDRangeKernel(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clFinish(i32 noundef) #1 declare i32 @clEnqueueReadBuffer(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @write_buffer(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @clReleaseMemObject(i32 noundef) #1 declare i32 @clReleaseKernel(i32 noundef) #1 declare i32 @clReleaseProgram(i32 noundef) #1 declare i32 @clReleaseCommandQueue(i32 noundef) #1 declare i32 @clReleaseContext(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpkhs42ydg.c' source_filename = "/tmp/tmpkhs42ydg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%p\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"BAD ARGUMENT\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_notimeout(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load i32, ptr %3, align 4 %8 = call i32 @check_arg_count(i32 noundef %7, i32 noundef 2) %9 = icmp eq i32 %8, 1 br i1 %9, label %10, label %11 10: ; preds = %2 br label %35 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = call i64 @sscanf(ptr noundef %14, ptr noundef @.str, ptr noundef %6) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %11 %18 = call i32 @report_count(i32 noundef 1) %19 = call i32 @report_error(ptr noundef @.str.1) br label %35 20: ; preds = %11 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 %24 = call i64 @sscanf(ptr noundef %23, ptr noundef @.str.2, ptr noundef %5) %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %20 %27 = call i32 @report_count(i32 noundef 1) %28 = call i32 @report_error(ptr noundef @.str.1) br label %35 29: ; preds = %20 %30 = call i32 @report_count(i32 noundef 1) %31 = load ptr, ptr %6, align 8 %32 = load i32, ptr %5, align 4 %33 = call i32 @notimeout(ptr noundef %31, i32 noundef %32) %34 = call i32 @report_return(i32 noundef %33) br label %35 35: ; preds = %29, %26, %17, %10 ret void } declare i32 @check_arg_count(i32 noundef, i32 noundef) #1 declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @report_count(i32 noundef) #1 declare i32 @report_error(ptr noundef) #1 declare i32 @report_return(i32 noundef) #1 declare i32 @notimeout(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/tmpkhs42ydg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%p\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"BAD ARGUMENT\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_notimeout(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load i32, ptr %3, align 4 %8 = call i32 @check_arg_count(i32 noundef %7, i32 noundef 2) %9 = icmp eq i32 %8, 1 br i1 %9, label %10, label %11 10: ; preds = %2 br label %35 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = call i64 @sscanf(ptr noundef %14, ptr noundef @.str, ptr noundef %6) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %11 %18 = call i32 @report_count(i32 noundef 1) %19 = call i32 @report_error(ptr noundef @.str.1) br label %35 20: ; preds = %11 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 %24 = call i64 @sscanf(ptr noundef %23, ptr noundef @.str.2, ptr noundef %5) %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %20 %27 = call i32 @report_count(i32 noundef 1) %28 = call i32 @report_error(ptr noundef @.str.1) br label %35 29: ; preds = %20 %30 = call i32 @report_count(i32 noundef 1) %31 = load ptr, ptr %6, align 8 %32 = load i32, ptr %5, align 4 %33 = call i32 @notimeout(ptr noundef %31, i32 noundef %32) %34 = call i32 @report_return(i32 noundef %33) br label %35 35: ; preds = %29, %26, %17, %10 ret void } declare i32 @check_arg_count(i32 noundef, i32 noundef) #1 declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @report_count(i32 noundef) #1 declare i32 @report_error(ptr noundef) #1 declare i32 @report_return(i32 noundef) #1 declare i32 @notimeout(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/tmpu4g2kljw.c' source_filename = "/tmp/tmpu4g2kljw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8mat_symm_eigen(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 ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = mul nsw i32 %11, %12 %14 = sext i32 %13 to i64 %15 = mul i64 %14, 8 %16 = trunc i64 %15 to i32 %17 = call i64 @malloc(i32 noundef %16) %18 = inttoptr i64 %17 to ptr store ptr %18, ptr %7, align 8 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %92, %3 %20 = load i32, ptr %8, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %95 23: ; preds = %19 store i32 0, ptr %9, align 4 br label %24 24: ; preds = %88, %23 %25 = load i32, ptr %9, align 4 %26 = load i32, ptr %4, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %91 28: ; preds = %24 %29 = load ptr, ptr %7, align 8 %30 = load i32, ptr %8, align 4 %31 = load i32, ptr %9, align 4 %32 = load i32, ptr %4, align 4 %33 = mul nsw i32 %31, %32 %34 = add nsw i32 %30, %33 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds double, ptr %29, i64 %35 store double 0.000000e+00, ptr %36, align 8 store i32 0, ptr %10, align 4 br label %37 37: ; preds = %84, %28 %38 = load i32, ptr %10, align 4 %39 = load i32, ptr %4, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %41, label %87 41: ; preds = %37 %42 = load ptr, ptr %7, align 8 %43 = load i32, ptr %8, align 4 %44 = load i32, ptr %9, align 4 %45 = load i32, ptr %4, align 4 %46 = mul nsw i32 %44, %45 %47 = add nsw i32 %43, %46 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds double, ptr %42, i64 %48 %50 = load double, ptr %49, align 8 %51 = load ptr, ptr %6, align 8 %52 = load i32, ptr %8, align 4 %53 = load i32, ptr %10, align 4 %54 = load i32, ptr %4, align 4 %55 = mul nsw i32 %53, %54 %56 = add nsw i32 %52, %55 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds double, ptr %51, i64 %57 %59 = load double, ptr %58, align 8 %60 = load ptr, ptr %5, align 8 %61 = load i32, ptr %10, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds double, ptr %60, i64 %62 %64 = load double, ptr %63, align 8 %65 = fmul double %59, %64 %66 = load ptr, ptr %6, align 8 %67 = load i32, ptr %9, align 4 %68 = load i32, ptr %10, align 4 %69 = load i32, ptr %4, align 4 %70 = mul nsw i32 %68, %69 %71 = add nsw i32 %67, %70 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds double, ptr %66, i64 %72 %74 = load double, ptr %73, align 8 %75 = call double @llvm.fmuladd.f64(double %65, double %74, double %50) %76 = load ptr, ptr %7, align 8 %77 = load i32, ptr %8, align 4 %78 = load i32, ptr %9, align 4 %79 = load i32, ptr %4, align 4 %80 = mul nsw i32 %78, %79 %81 = add nsw i32 %77, %80 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds double, ptr %76, i64 %82 store double %75, ptr %83, align 8 br label %84 84: ; preds = %41 %85 = load i32, ptr %10, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %10, align 4 br label %37, !llvm.loop !6 87: ; preds = %37 br label %88 88: ; preds = %87 %89 = load i32, ptr %9, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %9, align 4 br label %24, !llvm.loop !8 91: ; preds = %24 br label %92 92: ; preds = %91 %93 = load i32, ptr %8, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %8, align 4 br label %19, !llvm.loop !9 95: ; preds = %19 %96 = load ptr, ptr %7, align 8 ret ptr %96 } declare i64 @malloc(i32 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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu4g2kljw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8mat_symm_eigen(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 ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = mul nsw i32 %11, %12 %14 = sext i32 %13 to i64 %15 = mul i64 %14, 8 %16 = trunc i64 %15 to i32 %17 = call i64 @malloc(i32 noundef %16) %18 = inttoptr i64 %17 to ptr store ptr %18, ptr %7, align 8 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %.lr.ph5, label %101 .lr.ph5: ; preds = %3 br label %22 22: ; preds = %.lr.ph5, %95 store i32 0, ptr %9, align 4 %23 = load i32, ptr %9, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %.lr.ph2, label %94 .lr.ph2: ; preds = %22 br label %26 26: ; preds = %.lr.ph2, %88 %27 = load ptr, ptr %7, align 8 %28 = load i32, ptr %8, align 4 %29 = load i32, ptr %9, align 4 %30 = load i32, ptr %4, align 4 %31 = mul nsw i32 %29, %30 %32 = add nsw i32 %28, %31 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds double, ptr %27, i64 %33 store double 0.000000e+00, ptr %34, align 8 store i32 0, ptr %10, align 4 %35 = load i32, ptr %10, align 4 %36 = load i32, ptr %4, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %.lr.ph, label %87 .lr.ph: ; preds = %26 br label %38 38: ; preds = %.lr.ph, %81 %39 = load ptr, ptr %7, align 8 %40 = load i32, ptr %8, align 4 %41 = load i32, ptr %9, align 4 %42 = load i32, ptr %4, align 4 %43 = mul nsw i32 %41, %42 %44 = add nsw i32 %40, %43 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds double, ptr %39, i64 %45 %47 = load double, ptr %46, align 8 %48 = load ptr, ptr %6, align 8 %49 = load i32, ptr %8, align 4 %50 = load i32, ptr %10, align 4 %51 = load i32, ptr %4, align 4 %52 = mul nsw i32 %50, %51 %53 = add nsw i32 %49, %52 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds double, ptr %48, i64 %54 %56 = load double, ptr %55, align 8 %57 = load ptr, ptr %5, align 8 %58 = load i32, ptr %10, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds double, ptr %57, i64 %59 %61 = load double, ptr %60, align 8 %62 = fmul double %56, %61 %63 = load ptr, ptr %6, align 8 %64 = load i32, ptr %9, align 4 %65 = load i32, ptr %10, align 4 %66 = load i32, ptr %4, align 4 %67 = mul nsw i32 %65, %66 %68 = add nsw i32 %64, %67 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds double, ptr %63, i64 %69 %71 = load double, ptr %70, align 8 %72 = call double @llvm.fmuladd.f64(double %62, double %71, double %47) %73 = load ptr, ptr %7, align 8 %74 = load i32, ptr %8, align 4 %75 = load i32, ptr %9, align 4 %76 = load i32, ptr %4, align 4 %77 = mul nsw i32 %75, %76 %78 = add nsw i32 %74, %77 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds double, ptr %73, i64 %79 store double %72, ptr %80, align 8 br label %81 81: ; preds = %38 %82 = load i32, ptr %10, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %10, align 4 %84 = load i32, ptr %10, align 4 %85 = load i32, ptr %4, align 4 %86 = icmp slt i32 %84, %85 br i1 %86, label %38, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %81 br label %87 87: ; preds = %._crit_edge, %26 br label %88 88: ; preds = %87 %89 = load i32, ptr %9, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %9, align 4 %91 = load i32, ptr %9, align 4 %92 = load i32, ptr %4, align 4 %93 = icmp slt i32 %91, %92 br i1 %93, label %26, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %88 br label %94 94: ; preds = %._crit_edge3, %22 br label %95 95: ; preds = %94 %96 = load i32, ptr %8, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %8, align 4 %98 = load i32, ptr %8, align 4 %99 = load i32, ptr %4, align 4 %100 = icmp slt i32 %98, %99 br i1 %100, label %22, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %95 br label %101 101: ; preds = %._crit_edge6, %3 %102 = load ptr, ptr %7, align 8 ret ptr %102 } declare i64 @malloc(i32 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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpamvum9ch.c' source_filename = "/tmp/tmpamvum9ch.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.vlas.str = private unnamed_addr constant [3 x i8] c"hi\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @vlas(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca [3 x i8], align 1 store i32 %0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = zext i32 %6 to i64 %8 = call ptr @llvm.stacksave() store ptr %8, ptr %3, align 8 %9 = alloca i8, i64 %7, align 16 store i64 %7, ptr %4, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %5, ptr align 1 @__const.vlas.str, i64 3, i1 false) %10 = getelementptr inbounds [3 x i8], ptr %5, i64 0, i64 0 %11 = call i32 @strncat(ptr noundef %9, ptr noundef %10, i32 noundef 3) %12 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %12) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #3 ; 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpamvum9ch.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.vlas.str = private unnamed_addr constant [3 x i8] c"hi\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @vlas(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca [3 x i8], align 1 store i32 %0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = zext i32 %6 to i64 %8 = call ptr @llvm.stacksave() store ptr %8, ptr %3, align 8 %9 = alloca i8, i64 %7, align 16 store i64 %7, ptr %4, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %5, ptr align 1 @__const.vlas.str, i64 3, i1 false) %10 = getelementptr inbounds [3 x i8], ptr %5, i64 0, i64 0 %11 = call i32 @strncat(ptr noundef %9, ptr noundef %10, i32 noundef 3) %12 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %12) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #3 ; 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqizlnmto.c' source_filename = "/tmp/tmpqizlnmto.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EAGAIN = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqizlnmto.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EAGAIN = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfjq1t4dr.c' source_filename = "/tmp/tmpfjq1t4dr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GammaToLinear(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call float @pow(float noundef %3, float noundef 0x40019999A0000000) ret float %4 } declare float @pow(float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfjq1t4dr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GammaToLinear(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call float @pow(float noundef %3, float noundef 0x40019999A0000000) ret float %4 } declare float @pow(float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8b9ymjya.c' source_filename = "/tmp/tmp8b9ymjya.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"realloc failed for %d bytes\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @cgi_realloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @realloc(ptr noundef %6, i64 noundef %7) #4 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load i64, ptr %4, align 8 %13 = call i32 @cgi_error(ptr noundef @.str, i64 noundef %12) %14 = call i32 @exit(i32 noundef 1) #5 unreachable 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 ret ptr %16 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @cgi_error(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(1) "frame-pointer"="all" "no-trapping-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/tmp8b9ymjya.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"realloc failed for %d bytes\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @cgi_realloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @realloc(ptr noundef %6, i64 noundef %7) #4 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load i64, ptr %4, align 8 %13 = call i32 @cgi_error(ptr noundef @.str, i64 noundef %12) %14 = call i32 @exit(i32 noundef 1) #5 unreachable 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 ret ptr %16 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @cgi_error(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(1) "frame-pointer"="all" "no-trapping-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/tmpbub0itw1.c' source_filename = "/tmp/tmpbub0itw1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"adiw \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c", $\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Winst96(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = ashr i32 %7, 3 %9 = and i32 %8, 6 %10 = add nsw i32 %9, 24 store i32 %10, ptr %5, align 4 %11 = load i32, ptr %4, align 4 %12 = ashr i32 %11, 2 %13 = and i32 %12, 48 %14 = load i32, ptr %4, align 4 %15 = and i32 %14, 15 %16 = or i32 %13, %15 store i32 %16, ptr %6, align 4 %17 = call i32 @Ws(ptr noundef @.str) %18 = load i32, ptr %5, align 4 %19 = call i32 @WregPair(i32 noundef %18) %20 = call i32 @Ws(ptr noundef @.str.1) %21 = load i32, ptr %6, align 4 %22 = call i32 @Wx(i32 noundef %21, i32 noundef 2) ret i32 0 } declare i32 @Ws(ptr noundef) #1 declare i32 @WregPair(i32 noundef) #1 declare i32 @Wx(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/tmpbub0itw1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"adiw \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c", $\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Winst96(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = ashr i32 %7, 3 %9 = and i32 %8, 6 %10 = add nsw i32 %9, 24 store i32 %10, ptr %5, align 4 %11 = load i32, ptr %4, align 4 %12 = ashr i32 %11, 2 %13 = and i32 %12, 48 %14 = load i32, ptr %4, align 4 %15 = and i32 %14, 15 %16 = or i32 %13, %15 store i32 %16, ptr %6, align 4 %17 = call i32 @Ws(ptr noundef @.str) %18 = load i32, ptr %5, align 4 %19 = call i32 @WregPair(i32 noundef %18) %20 = call i32 @Ws(ptr noundef @.str.1) %21 = load i32, ptr %6, align 4 %22 = call i32 @Wx(i32 noundef %21, i32 noundef 2) ret i32 0 } declare i32 @Ws(ptr noundef) #1 declare i32 @WregPair(i32 noundef) #1 declare i32 @Wx(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/tmpei1y7844.c' source_filename = "/tmp/tmpei1y7844.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @kkk() ret i32 %2 } declare i32 @kkk(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpei1y7844.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @kkk() ret i32 %2 } declare i32 @kkk(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1accwuo4.c' source_filename = "/tmp/tmp1accwuo4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"U_EMRMOVETOEX\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"ptl:\00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @U_EMRMOVETOEX_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 @core7_print(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %3) ret void } declare i32 @core7_print(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/tmp1accwuo4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"U_EMRMOVETOEX\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"ptl:\00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @U_EMRMOVETOEX_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 @core7_print(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %3) ret void } declare i32 @core7_print(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/tmpalwzt42g.c' source_filename = "/tmp/tmpalwzt42g.c" target datalayout = "e-m:e-p270: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 [15 x i8] c"Out of memory\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @zone(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) #3 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %12, label %8 8: ; preds = %1 %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str) %11 = call i32 (...) @die() br label %12 12: ; preds = %8, %1 %13 = load ptr, ptr %3, align 8 ret ptr %13 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #2 declare i32 @die(...) #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 = { 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 = { 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/tmpalwzt42g.c" target datalayout = "e-m:e-p270: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 [15 x i8] c"Out of memory\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @zone(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) #3 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %12, label %8 8: ; preds = %1 %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str) %11 = call i32 (...) @die() br label %12 12: ; preds = %8, %1 %13 = load ptr, ptr %3, align 8 ret ptr %13 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #2 declare i32 @die(...) #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 = { 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 = { 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/tmp_9r_yrdz.c' source_filename = "/tmp/tmp_9r_yrdz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calloc_ex(i64 noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store i64 %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %9 = load i64, ptr %5, align 8 %10 = icmp ule i64 %9, 0 br i1 %10, label %14, label %11 11: ; preds = %3 %12 = load i64, ptr %6, align 8 %13 = icmp ule i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %11, %3 store ptr null, ptr %4, align 8 br label %30 15: ; preds = %11 %16 = load i64, ptr %5, align 8 %17 = load i64, ptr %6, align 8 %18 = mul i64 %16, %17 %19 = load ptr, ptr %7, align 8 %20 = call ptr @malloc_ex(i64 noundef %18, ptr noundef %19) store ptr %20, ptr %8, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %23, label %22 22: ; preds = %15 store ptr null, ptr %4, align 8 br label %30 23: ; preds = %15 %24 = load ptr, ptr %8, align 8 %25 = load i64, ptr %5, align 8 %26 = load i64, ptr %6, align 8 %27 = mul i64 %25, %26 %28 = call i32 @memset(ptr noundef %24, i32 noundef 0, i64 noundef %27) %29 = load ptr, ptr %8, align 8 store ptr %29, ptr %4, align 8 br label %30 30: ; preds = %23, %22, %14 %31 = load ptr, ptr %4, align 8 ret ptr %31 } declare ptr @malloc_ex(i64 noundef, ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_9r_yrdz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calloc_ex(i64 noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store i64 %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %9 = load i64, ptr %5, align 8 %10 = icmp ule i64 %9, 0 br i1 %10, label %14, label %11 11: ; preds = %3 %12 = load i64, ptr %6, align 8 %13 = icmp ule i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %11, %3 store ptr null, ptr %4, align 8 br label %30 15: ; preds = %11 %16 = load i64, ptr %5, align 8 %17 = load i64, ptr %6, align 8 %18 = mul i64 %16, %17 %19 = load ptr, ptr %7, align 8 %20 = call ptr @malloc_ex(i64 noundef %18, ptr noundef %19) store ptr %20, ptr %8, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %23, label %22 22: ; preds = %15 store ptr null, ptr %4, align 8 br label %30 23: ; preds = %15 %24 = load ptr, ptr %8, align 8 %25 = load i64, ptr %5, align 8 %26 = load i64, ptr %6, align 8 %27 = mul i64 %25, %26 %28 = call i32 @memset(ptr noundef %24, i32 noundef 0, i64 noundef %27) %29 = load ptr, ptr %8, align 8 store ptr %29, ptr %4, align 8 br label %30 30: ; preds = %23, %22, %14 %31 = load ptr, ptr %4, align 8 ret ptr %31 } declare ptr @malloc_ex(i64 noundef, ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe42m9iuy.c' source_filename = "/tmp/tmpe42m9iuy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"/tmp/proot-test-5bed7143-XXXXXX\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [33 x i8] c"2fde3df3558fa30bec1b8ebad42df20f\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"2ba90289e48d1896e0601239ac25f764\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @F_OK = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 @ENOENT = dso_local global i64 0, align 8 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @strdup(ptr noundef @.str) %7 = call ptr @mkdtemp(i32 noundef %6) store ptr %7, ptr %2, align 8 %8 = load ptr, ptr %2, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %0 %11 = load i32, ptr @EXIT_FAILURE, align 4 %12 = call i32 @exit(i32 noundef %11) #3 unreachable 13: ; preds = %0 %14 = load ptr, ptr %2, align 8 %15 = call i32 @chdir(ptr noundef %14) store i32 %15, ptr %5, align 4 %16 = load i32, ptr %5, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %13 %19 = load i32, ptr @EXIT_FAILURE, align 4 %20 = call i32 @exit(i32 noundef %19) #3 unreachable 21: ; preds = %13 %22 = call i32 @mkdir(ptr noundef @.str.1, i32 noundef 511) store i32 %22, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = icmp slt i32 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %21 %26 = load i32, ptr @EXIT_FAILURE, align 4 %27 = call i32 @exit(i32 noundef %26) #3 unreachable 28: ; preds = %21 %29 = call i32 @chdir(ptr noundef @.str.1) store i32 %29, ptr %5, align 4 %30 = load i32, ptr %5, align 4 %31 = icmp slt i32 %30, 0 br i1 %31, label %32, label %35 32: ; preds = %28 %33 = load i32, ptr @EXIT_FAILURE, align 4 %34 = call i32 @exit(i32 noundef %33) #3 unreachable 35: ; preds = %28 %36 = load i32, ptr @O_RDWR, align 4 %37 = call i32 @creat(ptr noundef @.str.2, i32 noundef %36) store i32 %37, ptr %5, align 4 %38 = load i32, ptr %5, align 4 %39 = icmp slt i32 %38, 0 br i1 %39, label %40, label %43 40: ; preds = %35 %41 = load i32, ptr @EXIT_FAILURE, align 4 %42 = call i32 @exit(i32 noundef %41) #3 unreachable 43: ; preds = %35 %44 = load i32, ptr %5, align 4 %45 = call i32 @close(i32 noundef %44) %46 = call i32 @strdup(ptr noundef @.str) %47 = call ptr @mktemp(i32 noundef %46) store ptr %47, ptr %3, align 8 %48 = load ptr, ptr %2, align 8 %49 = load ptr, ptr %3, align 8 %50 = call i32 @rename(ptr noundef %48, ptr noundef %49) store i32 %50, ptr %5, align 4 %51 = load i32, ptr %5, align 4 %52 = icmp slt i32 %51, 0 br i1 %52, label %53, label %56 53: ; preds = %43 %54 = load i32, ptr @EXIT_FAILURE, align 4 %55 = call i32 @exit(i32 noundef %54) #3 unreachable 56: ; preds = %43 %57 = load i32, ptr @F_OK, align 4 %58 = call i32 @access(ptr noundef @.str.2, i32 noundef %57) store i32 %58, ptr %5, align 4 %59 = load i32, ptr %5, align 4 %60 = icmp slt i32 %59, 0 br i1 %60, label %61, label %64 61: ; preds = %56 %62 = load i32, ptr @EXIT_FAILURE, align 4 %63 = call i32 @exit(i32 noundef %62) #3 unreachable 64: ; preds = %56 %65 = call ptr (...) @get_current_dir_name() store ptr %65, ptr %4, align 8 %66 = load ptr, ptr %4, align 8 %67 = icmp eq ptr %66, null br i1 %67, label %75, label %68 68: ; preds = %64 %69 = load ptr, ptr %4, align 8 %70 = load ptr, ptr %3, align 8 %71 = load ptr, ptr %3, align 8 %72 = call i32 @strlen(ptr noundef %71) %73 = call i64 @memcmp(ptr noundef %69, ptr noundef %70, i32 noundef %72) %74 = icmp ne i64 %73, 0 br i1 %74, label %75, label %78 75: ; preds = %68, %64 %76 = load i32, ptr @EXIT_FAILURE, align 4 %77 = call i32 @exit(i32 noundef %76) #3 unreachable 78: ; preds = %68 %79 = call i32 @unlink(ptr noundef @.str.2) store i32 %79, ptr %5, align 4 %80 = load i32, ptr %5, align 4 %81 = icmp slt i32 %80, 0 br i1 %81, label %82, label %85 82: ; preds = %78 %83 = load i32, ptr @EXIT_FAILURE, align 4 %84 = call i32 @exit(i32 noundef %83) #3 unreachable 85: ; preds = %78 %86 = load ptr, ptr %4, align 8 %87 = call i32 @rmdir(ptr noundef %86) store i32 %87, ptr %5, align 4 %88 = load i32, ptr %5, align 4 %89 = icmp slt i32 %88, 0 br i1 %89, label %90, label %93 90: ; preds = %85 %91 = load i32, ptr @EXIT_FAILURE, align 4 %92 = call i32 @exit(i32 noundef %91) #3 unreachable 93: ; preds = %85 %94 = call ptr (...) @get_current_dir_name() %95 = icmp ne ptr %94, null br i1 %95, label %100, label %96 96: ; preds = %93 %97 = load i64, ptr @errno, align 8 %98 = load i64, ptr @ENOENT, align 8 %99 = icmp ne i64 %97, %98 br i1 %99, label %100, label %103 100: ; preds = %96, %93 %101 = load i32, ptr @EXIT_FAILURE, align 4 %102 = call i32 @exit(i32 noundef %101) #3 unreachable 103: ; preds = %96 %104 = load ptr, ptr %3, align 8 %105 = call i32 @rmdir(ptr noundef %104) store i32 %105, ptr %5, align 4 %106 = load i32, ptr %5, align 4 %107 = icmp slt i32 %106, 0 br i1 %107, label %108, label %111 108: ; preds = %103 %109 = load i32, ptr @EXIT_FAILURE, align 4 %110 = call i32 @exit(i32 noundef %109) #3 unreachable 111: ; preds = %103 %112 = load i32, ptr @EXIT_SUCCESS, align 4 %113 = call i32 @exit(i32 noundef %112) #3 unreachable } declare ptr @mkdtemp(i32 noundef) #1 declare i32 @strdup(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @chdir(ptr noundef) #1 declare i32 @mkdir(ptr noundef, i32 noundef) #1 declare i32 @creat(ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare ptr @mktemp(i32 noundef) #1 declare i32 @rename(ptr noundef, ptr noundef) #1 declare i32 @access(ptr noundef, i32 noundef) #1 declare ptr @get_current_dir_name(...) #1 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @unlink(ptr noundef) #1 declare i32 @rmdir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpe42m9iuy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"/tmp/proot-test-5bed7143-XXXXXX\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [33 x i8] c"2fde3df3558fa30bec1b8ebad42df20f\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"2ba90289e48d1896e0601239ac25f764\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @F_OK = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 @ENOENT = dso_local global i64 0, align 8 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @strdup(ptr noundef @.str) %7 = call ptr @mkdtemp(i32 noundef %6) store ptr %7, ptr %2, align 8 %8 = load ptr, ptr %2, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %0 %11 = load i32, ptr @EXIT_FAILURE, align 4 %12 = call i32 @exit(i32 noundef %11) #3 unreachable 13: ; preds = %0 %14 = load ptr, ptr %2, align 8 %15 = call i32 @chdir(ptr noundef %14) store i32 %15, ptr %5, align 4 %16 = load i32, ptr %5, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %13 %19 = load i32, ptr @EXIT_FAILURE, align 4 %20 = call i32 @exit(i32 noundef %19) #3 unreachable 21: ; preds = %13 %22 = call i32 @mkdir(ptr noundef @.str.1, i32 noundef 511) store i32 %22, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = icmp slt i32 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %21 %26 = load i32, ptr @EXIT_FAILURE, align 4 %27 = call i32 @exit(i32 noundef %26) #3 unreachable 28: ; preds = %21 %29 = call i32 @chdir(ptr noundef @.str.1) store i32 %29, ptr %5, align 4 %30 = load i32, ptr %5, align 4 %31 = icmp slt i32 %30, 0 br i1 %31, label %32, label %35 32: ; preds = %28 %33 = load i32, ptr @EXIT_FAILURE, align 4 %34 = call i32 @exit(i32 noundef %33) #3 unreachable 35: ; preds = %28 %36 = load i32, ptr @O_RDWR, align 4 %37 = call i32 @creat(ptr noundef @.str.2, i32 noundef %36) store i32 %37, ptr %5, align 4 %38 = load i32, ptr %5, align 4 %39 = icmp slt i32 %38, 0 br i1 %39, label %40, label %43 40: ; preds = %35 %41 = load i32, ptr @EXIT_FAILURE, align 4 %42 = call i32 @exit(i32 noundef %41) #3 unreachable 43: ; preds = %35 %44 = load i32, ptr %5, align 4 %45 = call i32 @close(i32 noundef %44) %46 = call i32 @strdup(ptr noundef @.str) %47 = call ptr @mktemp(i32 noundef %46) store ptr %47, ptr %3, align 8 %48 = load ptr, ptr %2, align 8 %49 = load ptr, ptr %3, align 8 %50 = call i32 @rename(ptr noundef %48, ptr noundef %49) store i32 %50, ptr %5, align 4 %51 = load i32, ptr %5, align 4 %52 = icmp slt i32 %51, 0 br i1 %52, label %53, label %56 53: ; preds = %43 %54 = load i32, ptr @EXIT_FAILURE, align 4 %55 = call i32 @exit(i32 noundef %54) #3 unreachable 56: ; preds = %43 %57 = load i32, ptr @F_OK, align 4 %58 = call i32 @access(ptr noundef @.str.2, i32 noundef %57) store i32 %58, ptr %5, align 4 %59 = load i32, ptr %5, align 4 %60 = icmp slt i32 %59, 0 br i1 %60, label %61, label %64 61: ; preds = %56 %62 = load i32, ptr @EXIT_FAILURE, align 4 %63 = call i32 @exit(i32 noundef %62) #3 unreachable 64: ; preds = %56 %65 = call ptr (...) @get_current_dir_name() store ptr %65, ptr %4, align 8 %66 = load ptr, ptr %4, align 8 %67 = icmp eq ptr %66, null br i1 %67, label %75, label %68 68: ; preds = %64 %69 = load ptr, ptr %4, align 8 %70 = load ptr, ptr %3, align 8 %71 = load ptr, ptr %3, align 8 %72 = call i32 @strlen(ptr noundef %71) %73 = call i64 @memcmp(ptr noundef %69, ptr noundef %70, i32 noundef %72) %74 = icmp ne i64 %73, 0 br i1 %74, label %75, label %78 75: ; preds = %68, %64 %76 = load i32, ptr @EXIT_FAILURE, align 4 %77 = call i32 @exit(i32 noundef %76) #3 unreachable 78: ; preds = %68 %79 = call i32 @unlink(ptr noundef @.str.2) store i32 %79, ptr %5, align 4 %80 = load i32, ptr %5, align 4 %81 = icmp slt i32 %80, 0 br i1 %81, label %82, label %85 82: ; preds = %78 %83 = load i32, ptr @EXIT_FAILURE, align 4 %84 = call i32 @exit(i32 noundef %83) #3 unreachable 85: ; preds = %78 %86 = load ptr, ptr %4, align 8 %87 = call i32 @rmdir(ptr noundef %86) store i32 %87, ptr %5, align 4 %88 = load i32, ptr %5, align 4 %89 = icmp slt i32 %88, 0 br i1 %89, label %90, label %93 90: ; preds = %85 %91 = load i32, ptr @EXIT_FAILURE, align 4 %92 = call i32 @exit(i32 noundef %91) #3 unreachable 93: ; preds = %85 %94 = call ptr (...) @get_current_dir_name() %95 = icmp ne ptr %94, null br i1 %95, label %100, label %96 96: ; preds = %93 %97 = load i64, ptr @errno, align 8 %98 = load i64, ptr @ENOENT, align 8 %99 = icmp ne i64 %97, %98 br i1 %99, label %100, label %103 100: ; preds = %96, %93 %101 = load i32, ptr @EXIT_FAILURE, align 4 %102 = call i32 @exit(i32 noundef %101) #3 unreachable 103: ; preds = %96 %104 = load ptr, ptr %3, align 8 %105 = call i32 @rmdir(ptr noundef %104) store i32 %105, ptr %5, align 4 %106 = load i32, ptr %5, align 4 %107 = icmp slt i32 %106, 0 br i1 %107, label %108, label %111 108: ; preds = %103 %109 = load i32, ptr @EXIT_FAILURE, align 4 %110 = call i32 @exit(i32 noundef %109) #3 unreachable 111: ; preds = %103 %112 = load i32, ptr @EXIT_SUCCESS, align 4 %113 = call i32 @exit(i32 noundef %112) #3 unreachable } declare ptr @mkdtemp(i32 noundef) #1 declare i32 @strdup(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @chdir(ptr noundef) #1 declare i32 @mkdir(ptr noundef, i32 noundef) #1 declare i32 @creat(ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare ptr @mktemp(i32 noundef) #1 declare i32 @rename(ptr noundef, ptr noundef) #1 declare i32 @access(ptr noundef, i32 noundef) #1 declare ptr @get_current_dir_name(...) #1 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @unlink(ptr noundef) #1 declare i32 @rmdir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpjokqvvu0.c' source_filename = "/tmp/tmpjokqvvu0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lu / %u = \00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%u R %u\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 i64, align 8 %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 store i32 0, ptr %8, align 4 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 1 %12 = load ptr, ptr %11, align 8 %13 = call i64 @atoll(ptr noundef %12) store i64 %13, ptr %6, align 8 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 2 %16 = load ptr, ptr %15, align 8 %17 = call i32 @atoi(ptr noundef %16) store i32 %17, ptr %7, align 4 %18 = load i64, ptr %6, align 8 %19 = trunc i64 %18 to i32 %20 = load i32, ptr %7, align 4 %21 = call i32 @printf(ptr noundef @.str, i32 noundef %19, i32 noundef %20) %22 = load i64, ptr %6, align 8 %23 = load i32, ptr %7, align 4 %24 = call i32 @division(i64 noundef %22, i32 noundef %23, ptr noundef %8) store i32 %24, ptr %9, align 4 %25 = load i32, ptr %9, align 4 %26 = load i32, ptr %8, align 4 %27 = call i32 @printf(ptr noundef @.str.1, i32 noundef %25, i32 noundef %26) ret i32 0 } declare i64 @atoll(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @division(i64 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjokqvvu0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lu / %u = \00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%u R %u\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 i64, align 8 %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 store i32 0, ptr %8, align 4 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 1 %12 = load ptr, ptr %11, align 8 %13 = call i64 @atoll(ptr noundef %12) store i64 %13, ptr %6, align 8 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 2 %16 = load ptr, ptr %15, align 8 %17 = call i32 @atoi(ptr noundef %16) store i32 %17, ptr %7, align 4 %18 = load i64, ptr %6, align 8 %19 = trunc i64 %18 to i32 %20 = load i32, ptr %7, align 4 %21 = call i32 @printf(ptr noundef @.str, i32 noundef %19, i32 noundef %20) %22 = load i64, ptr %6, align 8 %23 = load i32, ptr %7, align 4 %24 = call i32 @division(i64 noundef %22, i32 noundef %23, ptr noundef %8) store i32 %24, ptr %9, align 4 %25 = load i32, ptr %9, align 4 %26 = load i32, ptr %8, align 4 %27 = call i32 @printf(ptr noundef @.str.1, i32 noundef %25, i32 noundef %26) ret i32 0 } declare i64 @atoll(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @division(i64 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu2mmtz9c.c' source_filename = "/tmp/tmpu2mmtz9c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @minPathSum0(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = sext i32 %14 to i64 %16 = mul i64 4, %15 %17 = trunc i64 %16 to i32 %18 = call i64 @malloc(i32 noundef %17) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %8, align 8 %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = mul i64 4, %21 %23 = trunc i64 %22 to i32 %24 = call i64 @malloc(i32 noundef %23) %25 = inttoptr i64 %24 to ptr store ptr %25, ptr %9, align 8 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 0 %28 = load ptr, ptr %27, align 8 %29 = getelementptr inbounds i32, ptr %28, i64 0 %30 = load i32, ptr %29, align 4 %31 = load ptr, ptr %8, align 8 %32 = getelementptr inbounds i32, ptr %31, i64 0 store i32 %30, ptr %32, align 4 store i32 1, ptr %10, align 4 br label %33 33: ; preds = %56, %3 %34 = load i32, ptr %10, align 4 %35 = load i32, ptr %6, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %37, label %59 37: ; preds = %33 %38 = load ptr, ptr %8, align 8 %39 = load i32, ptr %10, align 4 %40 = sub nsw i32 %39, 1 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %38, i64 %41 %43 = load i32, ptr %42, align 4 %44 = load ptr, ptr %4, align 8 %45 = getelementptr inbounds ptr, ptr %44, i64 0 %46 = load ptr, ptr %45, align 8 %47 = load i32, ptr %10, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 %50 = load i32, ptr %49, align 4 %51 = add nsw i32 %43, %50 %52 = load ptr, ptr %8, align 8 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %52, i64 %54 store i32 %51, ptr %55, align 4 br label %56 56: ; preds = %37 %57 = load i32, ptr %10, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %10, align 4 br label %33, !llvm.loop !6 59: ; preds = %33 store i32 1, ptr %11, align 4 br label %60 60: ; preds = %116, %59 %61 = load i32, ptr %11, align 4 %62 = load i32, ptr %5, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %64, label %119 64: ; preds = %60 store i32 0, ptr %12, align 4 br label %65 65: ; preds = %109, %64 %66 = load i32, ptr %12, align 4 %67 = load i32, ptr %6, align 4 %68 = icmp slt i32 %66, %67 br i1 %68, label %69, label %112 69: ; preds = %65 %70 = load ptr, ptr %8, align 8 %71 = load i32, ptr %12, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i32, ptr %70, i64 %72 %74 = load i32, ptr %73, align 4 store i32 %74, ptr %13, align 4 %75 = load i32, ptr %12, align 4 %76 = icmp sgt i32 %75, 0 br i1 %76, label %77, label %93 77: ; preds = %69 %78 = load i32, ptr %13, align 4 %79 = load ptr, ptr %9, align 8 %80 = load i32, ptr %12, align 4 %81 = sub nsw i32 %80, 1 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i32, ptr %79, i64 %82 %84 = load i32, ptr %83, align 4 %85 = icmp sgt i32 %78, %84 br i1 %85, label %86, label %93 86: ; preds = %77 %87 = load ptr, ptr %9, align 8 %88 = load i32, ptr %12, align 4 %89 = sub nsw i32 %88, 1 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i32, ptr %87, i64 %90 %92 = load i32, ptr %91, align 4 store i32 %92, ptr %13, align 4 br label %93 93: ; preds = %86, %77, %69 %94 = load i32, ptr %13, align 4 %95 = load ptr, ptr %4, align 8 %96 = load i32, ptr %11, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds ptr, ptr %95, i64 %97 %99 = load ptr, ptr %98, align 8 %100 = load i32, ptr %12, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds i32, ptr %99, i64 %101 %103 = load i32, ptr %102, align 4 %104 = add nsw i32 %94, %103 %105 = load ptr, ptr %9, align 8 %106 = load i32, ptr %12, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds i32, ptr %105, i64 %107 store i32 %104, ptr %108, align 4 br label %109 109: ; preds = %93 %110 = load i32, ptr %12, align 4 %111 = add nsw i32 %110, 1 store i32 %111, ptr %12, align 4 br label %65, !llvm.loop !8 112: ; preds = %65 %113 = load ptr, ptr %8, align 8 store ptr %113, ptr %7, align 8 %114 = load ptr, ptr %9, align 8 store ptr %114, ptr %8, align 8 %115 = load ptr, ptr %7, align 8 store ptr %115, ptr %9, align 8 br label %116 116: ; preds = %112 %117 = load i32, ptr %11, align 4 %118 = add nsw i32 %117, 1 store i32 %118, ptr %11, align 4 br label %60, !llvm.loop !9 119: ; preds = %60 %120 = load ptr, ptr %8, align 8 %121 = load i32, ptr %6, align 4 %122 = sub nsw i32 %121, 1 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds i32, ptr %120, i64 %123 %125 = load i32, ptr %124, align 4 ret i32 %125 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu2mmtz9c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @minPathSum0(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = sext i32 %14 to i64 %16 = mul i64 4, %15 %17 = trunc i64 %16 to i32 %18 = call i64 @malloc(i32 noundef %17) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %8, align 8 %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = mul i64 4, %21 %23 = trunc i64 %22 to i32 %24 = call i64 @malloc(i32 noundef %23) %25 = inttoptr i64 %24 to ptr store ptr %25, ptr %9, align 8 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 0 %28 = load ptr, ptr %27, align 8 %29 = getelementptr inbounds i32, ptr %28, i64 0 %30 = load i32, ptr %29, align 4 %31 = load ptr, ptr %8, align 8 %32 = getelementptr inbounds i32, ptr %31, i64 0 store i32 %30, ptr %32, align 4 store i32 1, ptr %10, align 4 %33 = load i32, ptr %10, align 4 %34 = load i32, ptr %6, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %.lr.ph, label %61 .lr.ph: ; preds = %3 br label %36 36: ; preds = %.lr.ph, %55 %37 = load ptr, ptr %8, align 8 %38 = load i32, ptr %10, align 4 %39 = sub nsw i32 %38, 1 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %37, i64 %40 %42 = load i32, ptr %41, align 4 %43 = load ptr, ptr %4, align 8 %44 = getelementptr inbounds ptr, ptr %43, i64 0 %45 = load ptr, ptr %44, align 8 %46 = load i32, ptr %10, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %45, i64 %47 %49 = load i32, ptr %48, align 4 %50 = add nsw i32 %42, %49 %51 = load ptr, ptr %8, align 8 %52 = load i32, ptr %10, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %51, i64 %53 store i32 %50, ptr %54, align 4 br label %55 55: ; preds = %36 %56 = load i32, ptr %10, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %10, align 4 %58 = load i32, ptr %10, align 4 %59 = load i32, ptr %6, align 4 %60 = icmp slt i32 %58, %59 br i1 %60, label %36, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %55 br label %61 61: ; preds = %._crit_edge, %3 store i32 1, ptr %11, align 4 %62 = load i32, ptr %11, align 4 %63 = load i32, ptr %5, align 4 %64 = icmp slt i32 %62, %63 br i1 %64, label %.lr.ph5, label %125 .lr.ph5: ; preds = %61 br label %65 65: ; preds = %.lr.ph5, %119 store i32 0, ptr %12, align 4 %66 = load i32, ptr %12, align 4 %67 = load i32, ptr %6, align 4 %68 = icmp slt i32 %66, %67 br i1 %68, label %.lr.ph2, label %115 .lr.ph2: ; preds = %65 br label %69 69: ; preds = %.lr.ph2, %109 %70 = load ptr, ptr %8, align 8 %71 = load i32, ptr %12, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i32, ptr %70, i64 %72 %74 = load i32, ptr %73, align 4 store i32 %74, ptr %13, align 4 %75 = load i32, ptr %12, align 4 %76 = icmp sgt i32 %75, 0 br i1 %76, label %77, label %93 77: ; preds = %69 %78 = load i32, ptr %13, align 4 %79 = load ptr, ptr %9, align 8 %80 = load i32, ptr %12, align 4 %81 = sub nsw i32 %80, 1 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i32, ptr %79, i64 %82 %84 = load i32, ptr %83, align 4 %85 = icmp sgt i32 %78, %84 br i1 %85, label %86, label %93 86: ; preds = %77 %87 = load ptr, ptr %9, align 8 %88 = load i32, ptr %12, align 4 %89 = sub nsw i32 %88, 1 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i32, ptr %87, i64 %90 %92 = load i32, ptr %91, align 4 store i32 %92, ptr %13, align 4 br label %93 93: ; preds = %86, %77, %69 %94 = load i32, ptr %13, align 4 %95 = load ptr, ptr %4, align 8 %96 = load i32, ptr %11, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds ptr, ptr %95, i64 %97 %99 = load ptr, ptr %98, align 8 %100 = load i32, ptr %12, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds i32, ptr %99, i64 %101 %103 = load i32, ptr %102, align 4 %104 = add nsw i32 %94, %103 %105 = load ptr, ptr %9, align 8 %106 = load i32, ptr %12, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds i32, ptr %105, i64 %107 store i32 %104, ptr %108, align 4 br label %109 109: ; preds = %93 %110 = load i32, ptr %12, align 4 %111 = add nsw i32 %110, 1 store i32 %111, ptr %12, align 4 %112 = load i32, ptr %12, align 4 %113 = load i32, ptr %6, align 4 %114 = icmp slt i32 %112, %113 br i1 %114, label %69, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %109 br label %115 115: ; preds = %._crit_edge3, %65 %116 = load ptr, ptr %8, align 8 store ptr %116, ptr %7, align 8 %117 = load ptr, ptr %9, align 8 store ptr %117, ptr %8, align 8 %118 = load ptr, ptr %7, align 8 store ptr %118, ptr %9, align 8 br label %119 119: ; preds = %115 %120 = load i32, ptr %11, align 4 %121 = add nsw i32 %120, 1 store i32 %121, ptr %11, align 4 %122 = load i32, ptr %11, align 4 %123 = load i32, ptr %5, align 4 %124 = icmp slt i32 %122, %123 br i1 %124, label %65, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %119 br label %125 125: ; preds = %._crit_edge6, %61 %126 = load ptr, ptr %8, align 8 %127 = load i32, ptr %6, align 4 %128 = sub nsw i32 %127, 1 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds i32, ptr %126, i64 %129 %131 = load i32, ptr %130, align 4 ret i32 %131 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmphkoj6vq7.c' source_filename = "/tmp/tmphkoj6vq7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pathname(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %9 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 store ptr %8, ptr %2, align 8 br label %20 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = call ptr @strrchr(ptr noundef %10, i8 noundef signext 47) store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %4, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %16 14: ; preds = %9 %15 = load ptr, ptr %3, align 8 store ptr %15, ptr %2, align 8 br label %20 16: ; preds = %9 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds i8, ptr %17, i32 1 store ptr %18, ptr %4, align 8 %19 = load ptr, ptr %4, align 8 store ptr %19, ptr %2, align 8 br label %20 20: ; preds = %16, %14, %7 %21 = load ptr, ptr %2, align 8 ret ptr %21 } declare ptr @strrchr(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphkoj6vq7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pathname(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %9 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 store ptr %8, ptr %2, align 8 br label %20 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = call ptr @strrchr(ptr noundef %10, i8 noundef signext 47) store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %4, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %16 14: ; preds = %9 %15 = load ptr, ptr %3, align 8 store ptr %15, ptr %2, align 8 br label %20 16: ; preds = %9 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds i8, ptr %17, i32 1 store ptr %18, ptr %4, align 8 %19 = load ptr, ptr %4, align 8 store ptr %19, ptr %2, align 8 br label %20 20: ; preds = %16, %14, %7 %21 = load ptr, ptr %2, align 8 ret ptr %21 } declare ptr @strrchr(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"}
; ModuleID = '/tmp/tmpy7h_2mfc.c' source_filename = "/tmp/tmpy7h_2mfc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy7h_2mfc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy1gfq1u1.c' source_filename = "/tmp/tmpy1gfq1u1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"LEDT\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ledToggle(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp ule i32 %4, 3 br i1 %5, label %6, label %9 6: ; preds = %1 %7 = load i32, ptr %3, align 4 %8 = call i32 @writeCommand1parm(ptr noundef @.str, i32 noundef %7) br label %10 9: ; preds = %1 store i32 -1, ptr %2, align 4 br label %11 10: ; preds = %6 store i32 0, ptr %2, align 4 br label %11 11: ; preds = %10, %9 %12 = load i32, ptr %2, align 4 ret i32 %12 } declare i32 @writeCommand1parm(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/tmpy1gfq1u1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"LEDT\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ledToggle(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp ule i32 %4, 3 br i1 %5, label %6, label %9 6: ; preds = %1 %7 = load i32, ptr %3, align 4 %8 = call i32 @writeCommand1parm(ptr noundef @.str, i32 noundef %7) br label %10 9: ; preds = %1 store i32 -1, ptr %2, align 4 br label %11 10: ; preds = %6 store i32 0, ptr %2, align 4 br label %11 11: ; preds = %10, %9 %12 = load i32, ptr %2, align 4 ret i32 %12 } declare i32 @writeCommand1parm(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/tmphu7di1lx.c' source_filename = "/tmp/tmphu7di1lx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @file_exists(ptr noundef %0) #0 { %2 = alloca i8, align 1 %3 = alloca ptr, align 8 %4 = alloca %struct.stat, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i64 @stat(ptr noundef %5, ptr noundef %4) %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %1 store i8 1, ptr %2, align 1 br label %10 9: ; preds = %1 store i8 0, ptr %2, align 1 br label %10 10: ; preds = %9, %8 %11 = load i8, ptr %2, align 1 ret i8 %11 } declare i64 @stat(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/tmphu7di1lx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @file_exists(ptr noundef %0) #0 { %2 = alloca i8, align 1 %3 = alloca ptr, align 8 %4 = alloca %struct.stat, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i64 @stat(ptr noundef %5, ptr noundef %4) %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %1 store i8 1, ptr %2, align 1 br label %10 9: ; preds = %1 store i8 0, ptr %2, align 1 br label %10 10: ; preds = %9, %8 %11 = load i8, ptr %2, align 1 ret i8 %11 } declare i64 @stat(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/tmpp0_4_zg9.c' source_filename = "/tmp/tmpp0_4_zg9.c" target datalayout = "e-m:e-p270: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 [21 x i8] c"Could not read file\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printFileReadError() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp0_4_zg9.c" target datalayout = "e-m:e-p270: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 [21 x i8] c"Could not read file\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printFileReadError() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3gzhtm1t.c' source_filename = "/tmp/tmp3gzhtm1t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @length(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @get_length(ptr noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @get_length(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/tmp3gzhtm1t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @length(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @get_length(ptr noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @get_length(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/tmp8hr7qsvx.c' source_filename = "/tmp/tmp8hr7qsvx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cutereturn(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 @strlen(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = load ptr, ptr %2, align 8 %7 = load i32, ptr %3, align 4 %8 = sub nsw i32 %7, 1 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i8, ptr %6, i64 %9 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 10 br i1 %13, label %14, label %20 14: ; preds = %1 %15 = load ptr, ptr %2, align 8 %16 = load i32, ptr %3, align 4 %17 = sub nsw i32 %16, 1 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %15, i64 %18 store i8 0, ptr %19, align 1 br label %20 20: ; preds = %14, %1 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8hr7qsvx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cutereturn(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 @strlen(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = load ptr, ptr %2, align 8 %7 = load i32, ptr %3, align 4 %8 = sub nsw i32 %7, 1 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i8, ptr %6, i64 %9 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 10 br i1 %13, label %14, label %20 14: ; preds = %1 %15 = load ptr, ptr %2, align 8 %16 = load i32, ptr %3, align 4 %17 = sub nsw i32 %16, 1 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %15, i64 %18 store i8 0, ptr %19, align 1 br label %20 20: ; preds = %14, %1 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzaj5ektl.c' source_filename = "/tmp/tmpzaj5ektl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_array(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %2 br label %33 9: ; preds = %2 store i32 0, ptr %5, align 4 br label %10 10: ; preds = %22, %9 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %4, align 4 %13 = sub nsw i32 %12, 1 %14 = icmp slt i32 %11, %13 br i1 %14, label %15, label %25 15: ; preds = %10 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 %20 = load i32, ptr %19, align 4 %21 = call i32 @printf(ptr noundef @.str, i32 noundef %20) br label %22 22: ; preds = %15 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 br label %10, !llvm.loop !6 25: ; preds = %10 %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %4, align 4 %28 = sub nsw i32 %27, 1 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %26, i64 %29 %31 = load i32, ptr %30, align 4 %32 = call i32 @printf(ptr noundef @.str.1, i32 noundef %31) br label %33 33: ; preds = %25, %8 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzaj5ektl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_array(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %2 br label %36 9: ; preds = %2 store i32 0, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %4, align 4 %12 = sub nsw i32 %11, 1 %13 = icmp slt i32 %10, %12 br i1 %13, label %.lr.ph, label %28 .lr.ph: ; preds = %9 br label %14 14: ; preds = %.lr.ph, %21 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %15, i64 %17 %19 = load i32, ptr %18, align 4 %20 = call i32 @printf(ptr noundef @.str, i32 noundef %19) br label %21 21: ; preds = %14 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %4, align 4 %26 = sub nsw i32 %25, 1 %27 = icmp slt i32 %24, %26 br i1 %27, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %28 28: ; preds = %._crit_edge, %9 %29 = load ptr, ptr %3, align 8 %30 = load i32, ptr %4, align 4 %31 = sub nsw i32 %30, 1 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %29, i64 %32 %34 = load i32, ptr %33, align 4 %35 = call i32 @printf(ptr noundef @.str.1, i32 noundef %34) br label %36 36: ; preds = %28, %8 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp4haloc3s.c' source_filename = "/tmp/tmp4haloc3s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"The vertices have to make a triangle\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @triRender(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7, double noundef %8) #0 { %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 [2 x double], align 16 %20 = alloca [2 x double], align 16 %21 = alloca [2 x double], align 16 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca i32, align 4 %29 = alloca i32, align 4 %30 = alloca i32, align 4 %31 = alloca i32, align 4 %32 = alloca i32, align 4 %33 = alloca i32, align 4 %34 = alloca i32, align 4 %35 = alloca i32, align 4 %36 = alloca i32, align 4 %37 = alloca i32, align 4 %38 = alloca i32, align 4 %39 = alloca i32, align 4 %40 = alloca i32, align 4 %41 = alloca i32, align 4 %42 = alloca i32, align 4 %43 = alloca i32, align 4 store double %0, ptr %10, align 8 store double %1, ptr %11, align 8 store double %2, ptr %12, align 8 store double %3, ptr %13, align 8 store double %4, ptr %14, align 8 store double %5, ptr %15, align 8 store double %6, ptr %16, align 8 store double %7, ptr %17, align 8 store double %8, ptr %18, align 8 %44 = load double, ptr %10, align 8 %45 = load double, ptr %12, align 8 %46 = fcmp olt double %44, %45 br i1 %46, label %47, label %64 47: ; preds = %9 %48 = load double, ptr %10, align 8 %49 = load double, ptr %14, align 8 %50 = fcmp olt double %48, %49 br i1 %50, label %51, label %64 51: ; preds = %47 %52 = load double, ptr %10, align 8 %53 = getelementptr inbounds [2 x double], ptr %19, i64 0, i64 0 store double %52, ptr %53, align 16 %54 = load double, ptr %11, align 8 %55 = getelementptr inbounds [2 x double], ptr %19, i64 0, i64 1 store double %54, ptr %55, align 8 %56 = load double, ptr %12, align 8 %57 = getelementptr inbounds [2 x double], ptr %20, i64 0, i64 0 store double %56, ptr %57, align 16 %58 = load double, ptr %13, align 8 %59 = getelementptr inbounds [2 x double], ptr %20, i64 0, i64 1 store double %58, ptr %59, align 8 %60 = load double, ptr %14, align 8 %61 = getelementptr inbounds [2 x double], ptr %21, i64 0, i64 0 store double %60, ptr %61, align 16 %62 = load double, ptr %15, align 8 %63 = getelementptr inbounds [2 x double], ptr %21, i64 0, i64 1 store double %62, ptr %63, align 8 br label %110 64: ; preds = %47, %9 %65 = load double, ptr %12, align 8 %66 = load double, ptr %10, align 8 %67 = fcmp olt double %65, %66 br i1 %67, label %68, label %85 68: ; preds = %64 %69 = load double, ptr %12, align 8 %70 = load double, ptr %14, align 8 %71 = fcmp olt double %69, %70 br i1 %71, label %72, label %85 72: ; preds = %68 %73 = load double, ptr %12, align 8 %74 = getelementptr inbounds [2 x double], ptr %19, i64 0, i64 0 store double %73, ptr %74, align 16 %75 = load double, ptr %13, align 8 %76 = getelementptr inbounds [2 x double], ptr %19, i64 0, i64 1 store double %75, ptr %76, align 8 %77 = load double, ptr %14, align 8 %78 = getelementptr inbounds [2 x double], ptr %20, i64 0, i64 0 store double %77, ptr %78, align 16 %79 = load double, ptr %15, align 8 %80 = getelementptr inbounds [2 x double], ptr %20, i64 0, i64 1 store double %79, ptr %80, align 8 %81 = load double, ptr %10, align 8 %82 = getelementptr inbounds [2 x double], ptr %21, i64 0, i64 0 store double %81, ptr %82, align 16 %83 = load double, ptr %11, align 8 %84 = getelementptr inbounds [2 x double], ptr %21, i64 0, i64 1 store double %83, ptr %84, align 8 br label %109 85: ; preds = %68, %64 %86 = load double, ptr %14, align 8 %87 = load double, ptr %10, align 8 %88 = fcmp olt double %86, %87 br i1 %88, label %89, label %106 89: ; preds = %85 %90 = load double, ptr %14, align 8 %91 = load double, ptr %12, align 8 %92 = fcmp olt double %90, %91 br i1 %92, label %93, label %106 93: ; preds = %89 %94 = load double, ptr %14, align 8 %95 = getelementptr inbounds [2 x double], ptr %19, i64 0, i64 0 store double %94, ptr %95, align 16 %96 = load double, ptr %15, align 8 %97 = getelementptr inbounds [2 x double], ptr %19, i64 0, i64 1 store double %96, ptr %97, align 8 %98 = load double, ptr %10, align 8 %99 = getelementptr inbounds [2 x double], ptr %20, i64 0, i64 0 store double %98, ptr %99, align 16 %100 = load double, ptr %11, align 8 %101 = getelementptr inbounds [2 x double], ptr %20, i64 0, i64 1 store double %100, ptr %101, align 8 %102 = load double, ptr %12, align 8 %103 = getelementptr inbounds [2 x double], ptr %21, i64 0, i64 0 store double %102, ptr %103, align 16 %104 = load double, ptr %13, align 8 %105 = getelementptr inbounds [2 x double], ptr %21, i64 0, i64 1 store double %104, ptr %105, align 8 br label %108 106: ; preds = %89, %85 %107 = call i32 @printf(ptr noundef @.str) br label %108 108: ; preds = %106, %93 br label %109 109: ; preds = %108, %72 br label %110 110: ; preds = %109, %51 %111 = getelementptr inbounds [2 x double], ptr %19, i64 0, i64 0 %112 = load double, ptr %111, align 16 store double %112, ptr %10, align 8 %113 = getelementptr inbounds [2 x double], ptr %19, i64 0, i64 1 %114 = load double, ptr %113, align 8 store double %114, ptr %11, align 8 %115 = getelementptr inbounds [2 x double], ptr %20, i64 0, i64 0 %116 = load double, ptr %115, align 16 store double %116, ptr %12, align 8 %117 = getelementptr inbounds [2 x double], ptr %20, i64 0, i64 1 %118 = load double, ptr %117, align 8 store double %118, ptr %13, align 8 %119 = getelementptr inbounds [2 x double], ptr %21, i64 0, i64 0 %120 = load double, ptr %119, align 16 store double %120, ptr %14, align 8 %121 = getelementptr inbounds [2 x double], ptr %21, i64 0, i64 1 %122 = load double, ptr %121, align 8 store double %122, ptr %15, align 8 %123 = load double, ptr %14, align 8 %124 = load double, ptr %12, align 8 %125 = fcmp ole double %123, %124 br i1 %125, label %126, label %396 126: ; preds = %110 %127 = load double, ptr %10, align 8 %128 = load double, ptr %14, align 8 %129 = fcmp oeq double %127, %128 br i1 %129, label %130, label %195 130: ; preds = %126 %131 = load double, ptr %10, align 8 %132 = fptosi double %131 to i32 %133 = call i64 @ceil(i32 noundef %132) %134 = trunc i64 %133 to i32 store i32 %134, ptr %22, align 4 br label %135 135: ; preds = %191, %130 %136 = load i32, ptr %22, align 4 %137 = load double, ptr %12, align 8 %138 = fptosi double %137 to i32 %139 = call i64 @floor(i32 noundef %138) %140 = trunc i64 %139 to i32 %141 = icmp sle i32 %136, %140 br i1 %141, label %142, label %194 142: ; preds = %135 %143 = load double, ptr %11, align 8 %144 = load double, ptr %13, align 8 %145 = load double, ptr %11, align 8 %146 = fsub double %144, %145 %147 = load double, ptr %12, align 8 %148 = load double, ptr %10, align 8 %149 = fsub double %147, %148 %150 = fdiv double %146, %149 %151 = load i32, ptr %22, align 4 %152 = sitofp i32 %151 to double %153 = load double, ptr %10, align 8 %154 = fsub double %152, %153 %155 = call double @llvm.fmuladd.f64(double %150, double %154, double %143) %156 = fptosi double %155 to i32 store i32 %156, ptr %23, align 4 %157 = load double, ptr %15, align 8 %158 = load double, ptr %13, align 8 %159 = load double, ptr %15, align 8 %160 = fsub double %158, %159 %161 = load double, ptr %12, align 8 %162 = load double, ptr %14, align 8 %163 = fsub double %161, %162 %164 = fdiv double %160, %163 %165 = load i32, ptr %22, align 4 %166 = sitofp i32 %165 to double %167 = load double, ptr %14, align 8 %168 = fsub double %166, %167 %169 = call double @llvm.fmuladd.f64(double %164, double %168, double %157) %170 = fptosi double %169 to i32 store i32 %170, ptr %24, align 4 %171 = load i32, ptr %23, align 4 %172 = call i64 @ceil(i32 noundef %171) %173 = trunc i64 %172 to i32 store i32 %173, ptr %25, align 4 br label %174 174: ; preds = %187, %142 %175 = load i32, ptr %25, align 4 %176 = load i32, ptr %24, align 4 %177 = call i64 @floor(i32 noundef %176) %178 = trunc i64 %177 to i32 %179 = icmp sle i32 %175, %178 br i1 %179, label %180, label %190 180: ; preds = %174 %181 = load i32, ptr %22, align 4 %182 = load i32, ptr %25, align 4 %183 = load double, ptr %16, align 8 %184 = load double, ptr %17, align 8 %185 = load double, ptr %18, align 8 %186 = call i32 @pixSetRGB(i32 noundef %181, i32 noundef %182, double noundef %183, double noundef %184, double noundef %185) br label %187 187: ; preds = %180 %188 = load i32, ptr %25, align 4 %189 = add nsw i32 %188, 1 store i32 %189, ptr %25, align 4 br label %174, !llvm.loop !6 190: ; preds = %174 br label %191 191: ; preds = %190 %192 = load i32, ptr %22, align 4 %193 = add nsw i32 %192, 1 store i32 %193, ptr %22, align 4 br label %135, !llvm.loop !8 194: ; preds = %135 br label %395 195: ; preds = %126 %196 = load double, ptr %14, align 8 %197 = load double, ptr %12, align 8 %198 = fcmp oeq double %196, %197 br i1 %198, label %199, label %264 199: ; preds = %195 %200 = load double, ptr %10, align 8 %201 = fptosi double %200 to i32 %202 = call i64 @ceil(i32 noundef %201) %203 = trunc i64 %202 to i32 store i32 %203, ptr %26, align 4 br label %204 204: ; preds = %260, %199 %205 = load i32, ptr %26, align 4 %206 = load double, ptr %12, align 8 %207 = fptosi double %206 to i32 %208 = call i64 @floor(i32 noundef %207) %209 = trunc i64 %208 to i32 %210 = icmp sle i32 %205, %209 br i1 %210, label %211, label %263 211: ; preds = %204 %212 = load double, ptr %11, align 8 %213 = load double, ptr %13, align 8 %214 = load double, ptr %11, align 8 %215 = fsub double %213, %214 %216 = load double, ptr %12, align 8 %217 = load double, ptr %10, align 8 %218 = fsub double %216, %217 %219 = fdiv double %215, %218 %220 = load i32, ptr %26, align 4 %221 = sitofp i32 %220 to double %222 = load double, ptr %10, align 8 %223 = fsub double %221, %222 %224 = call double @llvm.fmuladd.f64(double %219, double %223, double %212) %225 = fptosi double %224 to i32 store i32 %225, ptr %27, align 4 %226 = load double, ptr %11, align 8 %227 = load double, ptr %15, align 8 %228 = load double, ptr %11, align 8 %229 = fsub double %227, %228 %230 = load double, ptr %14, align 8 %231 = load double, ptr %10, align 8 %232 = fsub double %230, %231 %233 = fdiv double %229, %232 %234 = load i32, ptr %26, align 4 %235 = sitofp i32 %234 to double %236 = load double, ptr %10, align 8 %237 = fsub double %235, %236 %238 = call double @llvm.fmuladd.f64(double %233, double %237, double %226) %239 = fptosi double %238 to i32 store i32 %239, ptr %28, align 4 %240 = load i32, ptr %27, align 4 %241 = call i64 @ceil(i32 noundef %240) %242 = trunc i64 %241 to i32 store i32 %242, ptr %29, align 4 br label %243 243: ; preds = %256, %211 %244 = load i32, ptr %29, align 4 %245 = load i32, ptr %28, align 4 %246 = call i64 @floor(i32 noundef %245) %247 = trunc i64 %246 to i32 %248 = icmp sle i32 %244, %247 br i1 %248, label %249, label %259 249: ; preds = %243 %250 = load i32, ptr %26, align 4 %251 = load i32, ptr %29, align 4 %252 = load double, ptr %16, align 8 %253 = load double, ptr %17, align 8 %254 = load double, ptr %18, align 8 %255 = call i32 @pixSetRGB(i32 noundef %250, i32 noundef %251, double noundef %252, double noundef %253, double noundef %254) br label %256 256: ; preds = %249 %257 = load i32, ptr %29, align 4 %258 = add nsw i32 %257, 1 store i32 %258, ptr %29, align 4 br label %243, !llvm.loop !9 259: ; preds = %243 br label %260 260: ; preds = %259 %261 = load i32, ptr %26, align 4 %262 = add nsw i32 %261, 1 store i32 %262, ptr %26, align 4 br label %204, !llvm.loop !10 263: ; preds = %204 br label %394 264: ; preds = %195 %265 = load double, ptr %10, align 8 %266 = fptosi double %265 to i32 %267 = call i64 @ceil(i32 noundef %266) %268 = trunc i64 %267 to i32 store i32 %268, ptr %30, align 4 br label %269 269: ; preds = %325, %264 %270 = load i32, ptr %30, align 4 %271 = load double, ptr %14, align 8 %272 = fptosi double %271 to i32 %273 = call i64 @floor(i32 noundef %272) %274 = trunc i64 %273 to i32 %275 = icmp sle i32 %270, %274 br i1 %275, label %276, label %328 276: ; preds = %269 %277 = load double, ptr %11, align 8 %278 = load double, ptr %13, align 8 %279 = load double, ptr %11, align 8 %280 = fsub double %278, %279 %281 = load double, ptr %12, align 8 %282 = load double, ptr %10, align 8 %283 = fsub double %281, %282 %284 = fdiv double %280, %283 %285 = load i32, ptr %30, align 4 %286 = sitofp i32 %285 to double %287 = load double, ptr %10, align 8 %288 = fsub double %286, %287 %289 = call double @llvm.fmuladd.f64(double %284, double %288, double %277) %290 = fptosi double %289 to i32 store i32 %290, ptr %31, align 4 %291 = load double, ptr %11, align 8 %292 = load double, ptr %15, align 8 %293 = load double, ptr %11, align 8 %294 = fsub double %292, %293 %295 = load double, ptr %14, align 8 %296 = load double, ptr %10, align 8 %297 = fsub double %295, %296 %298 = fdiv double %294, %297 %299 = load i32, ptr %30, align 4 %300 = sitofp i32 %299 to double %301 = load double, ptr %10, align 8 %302 = fsub double %300, %301 %303 = call double @llvm.fmuladd.f64(double %298, double %302, double %291) %304 = fptosi double %303 to i32 store i32 %304, ptr %32, align 4 %305 = load i32, ptr %31, align 4 %306 = call i64 @ceil(i32 noundef %305) %307 = trunc i64 %306 to i32 store i32 %307, ptr %33, align 4 br label %308 308: ; preds = %321, %276 %309 = load i32, ptr %33, align 4 %310 = load i32, ptr %32, align 4 %311 = call i64 @floor(i32 noundef %310) %312 = trunc i64 %311 to i32 %313 = icmp sle i32 %309, %312 br i1 %313, label %314, label %324 314: ; preds = %308 %315 = load i32, ptr %30, align 4 %316 = load i32, ptr %33, align 4 %317 = load double, ptr %16, align 8 %318 = load double, ptr %17, align 8 %319 = load double, ptr %18, align 8 %320 = call i32 @pixSetRGB(i32 noundef %315, i32 noundef %316, double noundef %317, double noundef %318, double noundef %319) br label %321 321: ; preds = %314 %322 = load i32, ptr %33, align 4 %323 = add nsw i32 %322, 1 store i32 %323, ptr %33, align 4 br label %308, !llvm.loop !11 324: ; preds = %308 br label %325 325: ; preds = %324 %326 = load i32, ptr %30, align 4 %327 = add nsw i32 %326, 1 store i32 %327, ptr %30, align 4 br label %269, !llvm.loop !12 328: ; preds = %269 %329 = load double, ptr %14, align 8 %330 = fptosi double %329 to i32 %331 = call i64 @floor(i32 noundef %330) %332 = trunc i64 %331 to i32 %333 = add nsw i32 %332, 1 store i32 %333, ptr %30, align 4 br label %334 334: ; preds = %390, %328 %335 = load i32, ptr %30, align 4 %336 = load double, ptr %12, align 8 %337 = fptosi double %336 to i32 %338 = call i64 @floor(i32 noundef %337) %339 = trunc i64 %338 to i32 %340 = icmp sle i32 %335, %339 br i1 %340, label %341, label %393 341: ; preds = %334 %342 = load double, ptr %11, align 8 %343 = load double, ptr %13, align 8 %344 = load double, ptr %11, align 8 %345 = fsub double %343, %344 %346 = load double, ptr %12, align 8 %347 = load double, ptr %10, align 8 %348 = fsub double %346, %347 %349 = fdiv double %345, %348 %350 = load i32, ptr %30, align 4 %351 = sitofp i32 %350 to double %352 = load double, ptr %10, align 8 %353 = fsub double %351, %352 %354 = call double @llvm.fmuladd.f64(double %349, double %353, double %342) %355 = fptosi double %354 to i32 store i32 %355, ptr %34, align 4 %356 = load double, ptr %15, align 8 %357 = load double, ptr %13, align 8 %358 = load double, ptr %15, align 8 %359 = fsub double %357, %358 %360 = load double, ptr %12, align 8 %361 = load double, ptr %14, align 8 %362 = fsub double %360, %361 %363 = fdiv double %359, %362 %364 = load i32, ptr %30, align 4 %365 = sitofp i32 %364 to double %366 = load double, ptr %14, align 8 %367 = fsub double %365, %366 %368 = call double @llvm.fmuladd.f64(double %363, double %367, double %356) %369 = fptosi double %368 to i32 store i32 %369, ptr %35, align 4 %370 = load i32, ptr %34, align 4 %371 = call i64 @ceil(i32 noundef %370) %372 = trunc i64 %371 to i32 store i32 %372, ptr %36, align 4 br label %373 373: ; preds = %386, %341 %374 = load i32, ptr %36, align 4 %375 = load i32, ptr %35, align 4 %376 = call i64 @floor(i32 noundef %375) %377 = trunc i64 %376 to i32 %378 = icmp sle i32 %374, %377 br i1 %378, label %379, label %389 379: ; preds = %373 %380 = load i32, ptr %30, align 4 %381 = load i32, ptr %36, align 4 %382 = load double, ptr %16, align 8 %383 = load double, ptr %17, align 8 %384 = load double, ptr %18, align 8 %385 = call i32 @pixSetRGB(i32 noundef %380, i32 noundef %381, double noundef %382, double noundef %383, double noundef %384) br label %386 386: ; preds = %379 %387 = load i32, ptr %36, align 4 %388 = add nsw i32 %387, 1 store i32 %388, ptr %36, align 4 br label %373, !llvm.loop !13 389: ; preds = %373 br label %390 390: ; preds = %389 %391 = load i32, ptr %30, align 4 %392 = add nsw i32 %391, 1 store i32 %392, ptr %30, align 4 br label %334, !llvm.loop !14 393: ; preds = %334 br label %394 394: ; preds = %393, %263 br label %395 395: ; preds = %394, %194 br label %526 396: ; preds = %110 %397 = load double, ptr %10, align 8 %398 = fptosi double %397 to i32 %399 = call i64 @ceil(i32 noundef %398) %400 = trunc i64 %399 to i32 store i32 %400, ptr %37, align 4 br label %401 401: ; preds = %457, %396 %402 = load i32, ptr %37, align 4 %403 = load double, ptr %12, align 8 %404 = fptosi double %403 to i32 %405 = call i64 @floor(i32 noundef %404) %406 = trunc i64 %405 to i32 %407 = icmp sle i32 %402, %406 br i1 %407, label %408, label %460 408: ; preds = %401 %409 = load double, ptr %11, align 8 %410 = load double, ptr %13, align 8 %411 = load double, ptr %11, align 8 %412 = fsub double %410, %411 %413 = load double, ptr %12, align 8 %414 = load double, ptr %10, align 8 %415 = fsub double %413, %414 %416 = fdiv double %412, %415 %417 = load i32, ptr %37, align 4 %418 = sitofp i32 %417 to double %419 = load double, ptr %10, align 8 %420 = fsub double %418, %419 %421 = call double @llvm.fmuladd.f64(double %416, double %420, double %409) %422 = fptosi double %421 to i32 store i32 %422, ptr %38, align 4 %423 = load double, ptr %11, align 8 %424 = load double, ptr %15, align 8 %425 = load double, ptr %11, align 8 %426 = fsub double %424, %425 %427 = load double, ptr %14, align 8 %428 = load double, ptr %10, align 8 %429 = fsub double %427, %428 %430 = fdiv double %426, %429 %431 = load i32, ptr %37, align 4 %432 = sitofp i32 %431 to double %433 = load double, ptr %10, align 8 %434 = fsub double %432, %433 %435 = call double @llvm.fmuladd.f64(double %430, double %434, double %423) %436 = fptosi double %435 to i32 store i32 %436, ptr %39, align 4 %437 = load i32, ptr %38, align 4 %438 = call i64 @ceil(i32 noundef %437) %439 = trunc i64 %438 to i32 store i32 %439, ptr %40, align 4 br label %440 440: ; preds = %453, %408 %441 = load i32, ptr %40, align 4 %442 = load i32, ptr %39, align 4 %443 = call i64 @floor(i32 noundef %442) %444 = trunc i64 %443 to i32 %445 = icmp sle i32 %441, %444 br i1 %445, label %446, label %456 446: ; preds = %440 %447 = load i32, ptr %37, align 4 %448 = load i32, ptr %40, align 4 %449 = load double, ptr %16, align 8 %450 = load double, ptr %17, align 8 %451 = load double, ptr %18, align 8 %452 = call i32 @pixSetRGB(i32 noundef %447, i32 noundef %448, double noundef %449, double noundef %450, double noundef %451) br label %453 453: ; preds = %446 %454 = load i32, ptr %40, align 4 %455 = add nsw i32 %454, 1 store i32 %455, ptr %40, align 4 br label %440, !llvm.loop !15 456: ; preds = %440 br label %457 457: ; preds = %456 %458 = load i32, ptr %37, align 4 %459 = add nsw i32 %458, 1 store i32 %459, ptr %37, align 4 br label %401, !llvm.loop !16 460: ; preds = %401 %461 = load double, ptr %12, align 8 %462 = fptosi double %461 to i32 %463 = call i64 @floor(i32 noundef %462) %464 = trunc i64 %463 to i32 %465 = add nsw i32 %464, 1 store i32 %465, ptr %37, align 4 br label %466 466: ; preds = %522, %460 %467 = load i32, ptr %37, align 4 %468 = load double, ptr %14, align 8 %469 = fptosi double %468 to i32 %470 = call i64 @floor(i32 noundef %469) %471 = trunc i64 %470 to i32 %472 = icmp sle i32 %467, %471 br i1 %472, label %473, label %525 473: ; preds = %466 %474 = load double, ptr %13, align 8 %475 = load double, ptr %15, align 8 %476 = load double, ptr %13, align 8 %477 = fsub double %475, %476 %478 = load double, ptr %14, align 8 %479 = load double, ptr %12, align 8 %480 = fsub double %478, %479 %481 = fdiv double %477, %480 %482 = load i32, ptr %37, align 4 %483 = sitofp i32 %482 to double %484 = load double, ptr %12, align 8 %485 = fsub double %483, %484 %486 = call double @llvm.fmuladd.f64(double %481, double %485, double %474) %487 = fptosi double %486 to i32 store i32 %487, ptr %41, align 4 %488 = load double, ptr %11, align 8 %489 = load double, ptr %15, align 8 %490 = load double, ptr %11, align 8 %491 = fsub double %489, %490 %492 = load double, ptr %14, align 8 %493 = load double, ptr %10, align 8 %494 = fsub double %492, %493 %495 = fdiv double %491, %494 %496 = load i32, ptr %37, align 4 %497 = sitofp i32 %496 to double %498 = load double, ptr %10, align 8 %499 = fsub double %497, %498 %500 = call double @llvm.fmuladd.f64(double %495, double %499, double %488) %501 = fptosi double %500 to i32 store i32 %501, ptr %42, align 4 %502 = load i32, ptr %41, align 4 %503 = call i64 @ceil(i32 noundef %502) %504 = trunc i64 %503 to i32 store i32 %504, ptr %43, align 4 br label %505 505: ; preds = %518, %473 %506 = load i32, ptr %43, align 4 %507 = load i32, ptr %42, align 4 %508 = call i64 @floor(i32 noundef %507) %509 = trunc i64 %508 to i32 %510 = icmp sle i32 %506, %509 br i1 %510, label %511, label %521 511: ; preds = %505 %512 = load i32, ptr %37, align 4 %513 = load i32, ptr %43, align 4 %514 = load double, ptr %16, align 8 %515 = load double, ptr %17, align 8 %516 = load double, ptr %18, align 8 %517 = call i32 @pixSetRGB(i32 noundef %512, i32 noundef %513, double noundef %514, double noundef %515, double noundef %516) br label %518 518: ; preds = %511 %519 = load i32, ptr %43, align 4 %520 = add nsw i32 %519, 1 store i32 %520, ptr %43, align 4 br label %505, !llvm.loop !17 521: ; preds = %505 br label %522 522: ; preds = %521 %523 = load i32, ptr %37, align 4 %524 = add nsw i32 %523, 1 store i32 %524, ptr %37, align 4 br label %466, !llvm.loop !18 525: ; preds = %466 br label %526 526: ; preds = %525, %395 ret void } declare i32 @printf(ptr noundef) #1 declare i64 @ceil(i32 noundef) #1 declare i64 @floor(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @pixSetRGB(i32 noundef, i32 noundef, double noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4haloc3s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"The vertices have to make a triangle\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @triRender(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7, double noundef %8) #0 { %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 [2 x double], align 16 %20 = alloca [2 x double], align 16 %21 = alloca [2 x double], align 16 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca i32, align 4 %29 = alloca i32, align 4 %30 = alloca i32, align 4 %31 = alloca i32, align 4 %32 = alloca i32, align 4 %33 = alloca i32, align 4 %34 = alloca i32, align 4 %35 = alloca i32, align 4 %36 = alloca i32, align 4 %37 = alloca i32, align 4 %38 = alloca i32, align 4 %39 = alloca i32, align 4 %40 = alloca i32, align 4 %41 = alloca i32, align 4 %42 = alloca i32, align 4 %43 = alloca i32, align 4 store double %0, ptr %10, align 8 store double %1, ptr %11, align 8 store double %2, ptr %12, align 8 store double %3, ptr %13, align 8 store double %4, ptr %14, align 8 store double %5, ptr %15, align 8 store double %6, ptr %16, align 8 store double %7, ptr %17, align 8 store double %8, ptr %18, align 8 %44 = load double, ptr %10, align 8 %45 = load double, ptr %12, align 8 %46 = fcmp olt double %44, %45 br i1 %46, label %47, label %64 47: ; preds = %9 %48 = load double, ptr %10, align 8 %49 = load double, ptr %14, align 8 %50 = fcmp olt double %48, %49 br i1 %50, label %51, label %64 51: ; preds = %47 %52 = load double, ptr %10, align 8 %53 = getelementptr inbounds [2 x double], ptr %19, i64 0, i64 0 store double %52, ptr %53, align 16 %54 = load double, ptr %11, align 8 %55 = getelementptr inbounds [2 x double], ptr %19, i64 0, i64 1 store double %54, ptr %55, align 8 %56 = load double, ptr %12, align 8 %57 = getelementptr inbounds [2 x double], ptr %20, i64 0, i64 0 store double %56, ptr %57, align 16 %58 = load double, ptr %13, align 8 %59 = getelementptr inbounds [2 x double], ptr %20, i64 0, i64 1 store double %58, ptr %59, align 8 %60 = load double, ptr %14, align 8 %61 = getelementptr inbounds [2 x double], ptr %21, i64 0, i64 0 store double %60, ptr %61, align 16 %62 = load double, ptr %15, align 8 %63 = getelementptr inbounds [2 x double], ptr %21, i64 0, i64 1 store double %62, ptr %63, align 8 br label %110 64: ; preds = %47, %9 %65 = load double, ptr %12, align 8 %66 = load double, ptr %10, align 8 %67 = fcmp olt double %65, %66 br i1 %67, label %68, label %85 68: ; preds = %64 %69 = load double, ptr %12, align 8 %70 = load double, ptr %14, align 8 %71 = fcmp olt double %69, %70 br i1 %71, label %72, label %85 72: ; preds = %68 %73 = load double, ptr %12, align 8 %74 = getelementptr inbounds [2 x double], ptr %19, i64 0, i64 0 store double %73, ptr %74, align 16 %75 = load double, ptr %13, align 8 %76 = getelementptr inbounds [2 x double], ptr %19, i64 0, i64 1 store double %75, ptr %76, align 8 %77 = load double, ptr %14, align 8 %78 = getelementptr inbounds [2 x double], ptr %20, i64 0, i64 0 store double %77, ptr %78, align 16 %79 = load double, ptr %15, align 8 %80 = getelementptr inbounds [2 x double], ptr %20, i64 0, i64 1 store double %79, ptr %80, align 8 %81 = load double, ptr %10, align 8 %82 = getelementptr inbounds [2 x double], ptr %21, i64 0, i64 0 store double %81, ptr %82, align 16 %83 = load double, ptr %11, align 8 %84 = getelementptr inbounds [2 x double], ptr %21, i64 0, i64 1 store double %83, ptr %84, align 8 br label %109 85: ; preds = %68, %64 %86 = load double, ptr %14, align 8 %87 = load double, ptr %10, align 8 %88 = fcmp olt double %86, %87 br i1 %88, label %89, label %106 89: ; preds = %85 %90 = load double, ptr %14, align 8 %91 = load double, ptr %12, align 8 %92 = fcmp olt double %90, %91 br i1 %92, label %93, label %106 93: ; preds = %89 %94 = load double, ptr %14, align 8 %95 = getelementptr inbounds [2 x double], ptr %19, i64 0, i64 0 store double %94, ptr %95, align 16 %96 = load double, ptr %15, align 8 %97 = getelementptr inbounds [2 x double], ptr %19, i64 0, i64 1 store double %96, ptr %97, align 8 %98 = load double, ptr %10, align 8 %99 = getelementptr inbounds [2 x double], ptr %20, i64 0, i64 0 store double %98, ptr %99, align 16 %100 = load double, ptr %11, align 8 %101 = getelementptr inbounds [2 x double], ptr %20, i64 0, i64 1 store double %100, ptr %101, align 8 %102 = load double, ptr %12, align 8 %103 = getelementptr inbounds [2 x double], ptr %21, i64 0, i64 0 store double %102, ptr %103, align 16 %104 = load double, ptr %13, align 8 %105 = getelementptr inbounds [2 x double], ptr %21, i64 0, i64 1 store double %104, ptr %105, align 8 br label %108 106: ; preds = %89, %85 %107 = call i32 @printf(ptr noundef @.str) br label %108 108: ; preds = %106, %93 br label %109 109: ; preds = %108, %72 br label %110 110: ; preds = %109, %51 %111 = getelementptr inbounds [2 x double], ptr %19, i64 0, i64 0 %112 = load double, ptr %111, align 16 store double %112, ptr %10, align 8 %113 = getelementptr inbounds [2 x double], ptr %19, i64 0, i64 1 %114 = load double, ptr %113, align 8 store double %114, ptr %11, align 8 %115 = getelementptr inbounds [2 x double], ptr %20, i64 0, i64 0 %116 = load double, ptr %115, align 16 store double %116, ptr %12, align 8 %117 = getelementptr inbounds [2 x double], ptr %20, i64 0, i64 1 %118 = load double, ptr %117, align 8 store double %118, ptr %13, align 8 %119 = getelementptr inbounds [2 x double], ptr %21, i64 0, i64 0 %120 = load double, ptr %119, align 16 store double %120, ptr %14, align 8 %121 = getelementptr inbounds [2 x double], ptr %21, i64 0, i64 1 %122 = load double, ptr %121, align 8 store double %122, ptr %15, align 8 %123 = load double, ptr %14, align 8 %124 = load double, ptr %12, align 8 %125 = fcmp ole double %123, %124 br i1 %125, label %126, label %432 126: ; preds = %110 %127 = load double, ptr %10, align 8 %128 = load double, ptr %14, align 8 %129 = fcmp oeq double %127, %128 br i1 %129, label %130, label %204 130: ; preds = %126 %131 = load double, ptr %10, align 8 %132 = fptosi double %131 to i32 %133 = call i64 @ceil(i32 noundef %132) %134 = trunc i64 %133 to i32 store i32 %134, ptr %22, align 4 %135 = load i32, ptr %22, align 4 %136 = load double, ptr %12, align 8 %137 = fptosi double %136 to i32 %138 = call i64 @floor(i32 noundef %137) %139 = trunc i64 %138 to i32 %140 = icmp sle i32 %135, %139 br i1 %140, label %.lr.ph32, label %203 .lr.ph32: ; preds = %130 br label %141 141: ; preds = %.lr.ph32, %194 %142 = load double, ptr %11, align 8 %143 = load double, ptr %13, align 8 %144 = load double, ptr %11, align 8 %145 = fsub double %143, %144 %146 = load double, ptr %12, align 8 %147 = load double, ptr %10, align 8 %148 = fsub double %146, %147 %149 = fdiv double %145, %148 %150 = load i32, ptr %22, align 4 %151 = sitofp i32 %150 to double %152 = load double, ptr %10, align 8 %153 = fsub double %151, %152 %154 = call double @llvm.fmuladd.f64(double %149, double %153, double %142) %155 = fptosi double %154 to i32 store i32 %155, ptr %23, align 4 %156 = load double, ptr %15, align 8 %157 = load double, ptr %13, align 8 %158 = load double, ptr %15, align 8 %159 = fsub double %157, %158 %160 = load double, ptr %12, align 8 %161 = load double, ptr %14, align 8 %162 = fsub double %160, %161 %163 = fdiv double %159, %162 %164 = load i32, ptr %22, align 4 %165 = sitofp i32 %164 to double %166 = load double, ptr %14, align 8 %167 = fsub double %165, %166 %168 = call double @llvm.fmuladd.f64(double %163, double %167, double %156) %169 = fptosi double %168 to i32 store i32 %169, ptr %24, align 4 %170 = load i32, ptr %23, align 4 %171 = call i64 @ceil(i32 noundef %170) %172 = trunc i64 %171 to i32 store i32 %172, ptr %25, align 4 %173 = load i32, ptr %25, align 4 %174 = load i32, ptr %24, align 4 %175 = call i64 @floor(i32 noundef %174) %176 = trunc i64 %175 to i32 %177 = icmp sle i32 %173, %176 br i1 %177, label %.lr.ph29, label %193 .lr.ph29: ; preds = %141 br label %178 178: ; preds = %.lr.ph29, %185 %179 = load i32, ptr %22, align 4 %180 = load i32, ptr %25, align 4 %181 = load double, ptr %16, align 8 %182 = load double, ptr %17, align 8 %183 = load double, ptr %18, align 8 %184 = call i32 @pixSetRGB(i32 noundef %179, i32 noundef %180, double noundef %181, double noundef %182, double noundef %183) br label %185 185: ; preds = %178 %186 = load i32, ptr %25, align 4 %187 = add nsw i32 %186, 1 store i32 %187, ptr %25, align 4 %188 = load i32, ptr %25, align 4 %189 = load i32, ptr %24, align 4 %190 = call i64 @floor(i32 noundef %189) %191 = trunc i64 %190 to i32 %192 = icmp sle i32 %188, %191 br i1 %192, label %178, label %._crit_edge30, !llvm.loop !6 ._crit_edge30: ; preds = %185 br label %193 193: ; preds = %._crit_edge30, %141 br label %194 194: ; preds = %193 %195 = load i32, ptr %22, align 4 %196 = add nsw i32 %195, 1 store i32 %196, ptr %22, align 4 %197 = load i32, ptr %22, align 4 %198 = load double, ptr %12, align 8 %199 = fptosi double %198 to i32 %200 = call i64 @floor(i32 noundef %199) %201 = trunc i64 %200 to i32 %202 = icmp sle i32 %197, %201 br i1 %202, label %141, label %._crit_edge33, !llvm.loop !8 ._crit_edge33: ; preds = %194 br label %203 203: ; preds = %._crit_edge33, %130 br label %431 204: ; preds = %126 %205 = load double, ptr %14, align 8 %206 = load double, ptr %12, align 8 %207 = fcmp oeq double %205, %206 br i1 %207, label %208, label %282 208: ; preds = %204 %209 = load double, ptr %10, align 8 %210 = fptosi double %209 to i32 %211 = call i64 @ceil(i32 noundef %210) %212 = trunc i64 %211 to i32 store i32 %212, ptr %26, align 4 %213 = load i32, ptr %26, align 4 %214 = load double, ptr %12, align 8 %215 = fptosi double %214 to i32 %216 = call i64 @floor(i32 noundef %215) %217 = trunc i64 %216 to i32 %218 = icmp sle i32 %213, %217 br i1 %218, label %.lr.ph26, label %281 .lr.ph26: ; preds = %208 br label %219 219: ; preds = %.lr.ph26, %272 %220 = load double, ptr %11, align 8 %221 = load double, ptr %13, align 8 %222 = load double, ptr %11, align 8 %223 = fsub double %221, %222 %224 = load double, ptr %12, align 8 %225 = load double, ptr %10, align 8 %226 = fsub double %224, %225 %227 = fdiv double %223, %226 %228 = load i32, ptr %26, align 4 %229 = sitofp i32 %228 to double %230 = load double, ptr %10, align 8 %231 = fsub double %229, %230 %232 = call double @llvm.fmuladd.f64(double %227, double %231, double %220) %233 = fptosi double %232 to i32 store i32 %233, ptr %27, align 4 %234 = load double, ptr %11, align 8 %235 = load double, ptr %15, align 8 %236 = load double, ptr %11, align 8 %237 = fsub double %235, %236 %238 = load double, ptr %14, align 8 %239 = load double, ptr %10, align 8 %240 = fsub double %238, %239 %241 = fdiv double %237, %240 %242 = load i32, ptr %26, align 4 %243 = sitofp i32 %242 to double %244 = load double, ptr %10, align 8 %245 = fsub double %243, %244 %246 = call double @llvm.fmuladd.f64(double %241, double %245, double %234) %247 = fptosi double %246 to i32 store i32 %247, ptr %28, align 4 %248 = load i32, ptr %27, align 4 %249 = call i64 @ceil(i32 noundef %248) %250 = trunc i64 %249 to i32 store i32 %250, ptr %29, align 4 %251 = load i32, ptr %29, align 4 %252 = load i32, ptr %28, align 4 %253 = call i64 @floor(i32 noundef %252) %254 = trunc i64 %253 to i32 %255 = icmp sle i32 %251, %254 br i1 %255, label %.lr.ph23, label %271 .lr.ph23: ; preds = %219 br label %256 256: ; preds = %.lr.ph23, %263 %257 = load i32, ptr %26, align 4 %258 = load i32, ptr %29, align 4 %259 = load double, ptr %16, align 8 %260 = load double, ptr %17, align 8 %261 = load double, ptr %18, align 8 %262 = call i32 @pixSetRGB(i32 noundef %257, i32 noundef %258, double noundef %259, double noundef %260, double noundef %261) br label %263 263: ; preds = %256 %264 = load i32, ptr %29, align 4 %265 = add nsw i32 %264, 1 store i32 %265, ptr %29, align 4 %266 = load i32, ptr %29, align 4 %267 = load i32, ptr %28, align 4 %268 = call i64 @floor(i32 noundef %267) %269 = trunc i64 %268 to i32 %270 = icmp sle i32 %266, %269 br i1 %270, label %256, label %._crit_edge24, !llvm.loop !9 ._crit_edge24: ; preds = %263 br label %271 271: ; preds = %._crit_edge24, %219 br label %272 272: ; preds = %271 %273 = load i32, ptr %26, align 4 %274 = add nsw i32 %273, 1 store i32 %274, ptr %26, align 4 %275 = load i32, ptr %26, align 4 %276 = load double, ptr %12, align 8 %277 = fptosi double %276 to i32 %278 = call i64 @floor(i32 noundef %277) %279 = trunc i64 %278 to i32 %280 = icmp sle i32 %275, %279 br i1 %280, label %219, label %._crit_edge27, !llvm.loop !10 ._crit_edge27: ; preds = %272 br label %281 281: ; preds = %._crit_edge27, %208 br label %430 282: ; preds = %204 %283 = load double, ptr %10, align 8 %284 = fptosi double %283 to i32 %285 = call i64 @ceil(i32 noundef %284) %286 = trunc i64 %285 to i32 store i32 %286, ptr %30, align 4 %287 = load i32, ptr %30, align 4 %288 = load double, ptr %14, align 8 %289 = fptosi double %288 to i32 %290 = call i64 @floor(i32 noundef %289) %291 = trunc i64 %290 to i32 %292 = icmp sle i32 %287, %291 br i1 %292, label %.lr.ph14, label %355 .lr.ph14: ; preds = %282 br label %293 293: ; preds = %.lr.ph14, %346 %294 = load double, ptr %11, align 8 %295 = load double, ptr %13, align 8 %296 = load double, ptr %11, align 8 %297 = fsub double %295, %296 %298 = load double, ptr %12, align 8 %299 = load double, ptr %10, align 8 %300 = fsub double %298, %299 %301 = fdiv double %297, %300 %302 = load i32, ptr %30, align 4 %303 = sitofp i32 %302 to double %304 = load double, ptr %10, align 8 %305 = fsub double %303, %304 %306 = call double @llvm.fmuladd.f64(double %301, double %305, double %294) %307 = fptosi double %306 to i32 store i32 %307, ptr %31, align 4 %308 = load double, ptr %11, align 8 %309 = load double, ptr %15, align 8 %310 = load double, ptr %11, align 8 %311 = fsub double %309, %310 %312 = load double, ptr %14, align 8 %313 = load double, ptr %10, align 8 %314 = fsub double %312, %313 %315 = fdiv double %311, %314 %316 = load i32, ptr %30, align 4 %317 = sitofp i32 %316 to double %318 = load double, ptr %10, align 8 %319 = fsub double %317, %318 %320 = call double @llvm.fmuladd.f64(double %315, double %319, double %308) %321 = fptosi double %320 to i32 store i32 %321, ptr %32, align 4 %322 = load i32, ptr %31, align 4 %323 = call i64 @ceil(i32 noundef %322) %324 = trunc i64 %323 to i32 store i32 %324, ptr %33, align 4 %325 = load i32, ptr %33, align 4 %326 = load i32, ptr %32, align 4 %327 = call i64 @floor(i32 noundef %326) %328 = trunc i64 %327 to i32 %329 = icmp sle i32 %325, %328 br i1 %329, label %.lr.ph11, label %345 .lr.ph11: ; preds = %293 br label %330 330: ; preds = %.lr.ph11, %337 %331 = load i32, ptr %30, align 4 %332 = load i32, ptr %33, align 4 %333 = load double, ptr %16, align 8 %334 = load double, ptr %17, align 8 %335 = load double, ptr %18, align 8 %336 = call i32 @pixSetRGB(i32 noundef %331, i32 noundef %332, double noundef %333, double noundef %334, double noundef %335) br label %337 337: ; preds = %330 %338 = load i32, ptr %33, align 4 %339 = add nsw i32 %338, 1 store i32 %339, ptr %33, align 4 %340 = load i32, ptr %33, align 4 %341 = load i32, ptr %32, align 4 %342 = call i64 @floor(i32 noundef %341) %343 = trunc i64 %342 to i32 %344 = icmp sle i32 %340, %343 br i1 %344, label %330, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %337 br label %345 345: ; preds = %._crit_edge12, %293 br label %346 346: ; preds = %345 %347 = load i32, ptr %30, align 4 %348 = add nsw i32 %347, 1 store i32 %348, ptr %30, align 4 %349 = load i32, ptr %30, align 4 %350 = load double, ptr %14, align 8 %351 = fptosi double %350 to i32 %352 = call i64 @floor(i32 noundef %351) %353 = trunc i64 %352 to i32 %354 = icmp sle i32 %349, %353 br i1 %354, label %293, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %346 br label %355 355: ; preds = %._crit_edge15, %282 %356 = load double, ptr %14, align 8 %357 = fptosi double %356 to i32 %358 = call i64 @floor(i32 noundef %357) %359 = trunc i64 %358 to i32 %360 = add nsw i32 %359, 1 store i32 %360, ptr %30, align 4 %361 = load i32, ptr %30, align 4 %362 = load double, ptr %12, align 8 %363 = fptosi double %362 to i32 %364 = call i64 @floor(i32 noundef %363) %365 = trunc i64 %364 to i32 %366 = icmp sle i32 %361, %365 br i1 %366, label %.lr.ph20, label %429 .lr.ph20: ; preds = %355 br label %367 367: ; preds = %.lr.ph20, %420 %368 = load double, ptr %11, align 8 %369 = load double, ptr %13, align 8 %370 = load double, ptr %11, align 8 %371 = fsub double %369, %370 %372 = load double, ptr %12, align 8 %373 = load double, ptr %10, align 8 %374 = fsub double %372, %373 %375 = fdiv double %371, %374 %376 = load i32, ptr %30, align 4 %377 = sitofp i32 %376 to double %378 = load double, ptr %10, align 8 %379 = fsub double %377, %378 %380 = call double @llvm.fmuladd.f64(double %375, double %379, double %368) %381 = fptosi double %380 to i32 store i32 %381, ptr %34, align 4 %382 = load double, ptr %15, align 8 %383 = load double, ptr %13, align 8 %384 = load double, ptr %15, align 8 %385 = fsub double %383, %384 %386 = load double, ptr %12, align 8 %387 = load double, ptr %14, align 8 %388 = fsub double %386, %387 %389 = fdiv double %385, %388 %390 = load i32, ptr %30, align 4 %391 = sitofp i32 %390 to double %392 = load double, ptr %14, align 8 %393 = fsub double %391, %392 %394 = call double @llvm.fmuladd.f64(double %389, double %393, double %382) %395 = fptosi double %394 to i32 store i32 %395, ptr %35, align 4 %396 = load i32, ptr %34, align 4 %397 = call i64 @ceil(i32 noundef %396) %398 = trunc i64 %397 to i32 store i32 %398, ptr %36, align 4 %399 = load i32, ptr %36, align 4 %400 = load i32, ptr %35, align 4 %401 = call i64 @floor(i32 noundef %400) %402 = trunc i64 %401 to i32 %403 = icmp sle i32 %399, %402 br i1 %403, label %.lr.ph17, label %419 .lr.ph17: ; preds = %367 br label %404 404: ; preds = %.lr.ph17, %411 %405 = load i32, ptr %30, align 4 %406 = load i32, ptr %36, align 4 %407 = load double, ptr %16, align 8 %408 = load double, ptr %17, align 8 %409 = load double, ptr %18, align 8 %410 = call i32 @pixSetRGB(i32 noundef %405, i32 noundef %406, double noundef %407, double noundef %408, double noundef %409) br label %411 411: ; preds = %404 %412 = load i32, ptr %36, align 4 %413 = add nsw i32 %412, 1 store i32 %413, ptr %36, align 4 %414 = load i32, ptr %36, align 4 %415 = load i32, ptr %35, align 4 %416 = call i64 @floor(i32 noundef %415) %417 = trunc i64 %416 to i32 %418 = icmp sle i32 %414, %417 br i1 %418, label %404, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %411 br label %419 419: ; preds = %._crit_edge18, %367 br label %420 420: ; preds = %419 %421 = load i32, ptr %30, align 4 %422 = add nsw i32 %421, 1 store i32 %422, ptr %30, align 4 %423 = load i32, ptr %30, align 4 %424 = load double, ptr %12, align 8 %425 = fptosi double %424 to i32 %426 = call i64 @floor(i32 noundef %425) %427 = trunc i64 %426 to i32 %428 = icmp sle i32 %423, %427 br i1 %428, label %367, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %420 br label %429 429: ; preds = %._crit_edge21, %355 br label %430 430: ; preds = %429, %281 br label %431 431: ; preds = %430, %203 br label %580 432: ; preds = %110 %433 = load double, ptr %10, align 8 %434 = fptosi double %433 to i32 %435 = call i64 @ceil(i32 noundef %434) %436 = trunc i64 %435 to i32 store i32 %436, ptr %37, align 4 %437 = load i32, ptr %37, align 4 %438 = load double, ptr %12, align 8 %439 = fptosi double %438 to i32 %440 = call i64 @floor(i32 noundef %439) %441 = trunc i64 %440 to i32 %442 = icmp sle i32 %437, %441 br i1 %442, label %.lr.ph2, label %505 .lr.ph2: ; preds = %432 br label %443 443: ; preds = %.lr.ph2, %496 %444 = load double, ptr %11, align 8 %445 = load double, ptr %13, align 8 %446 = load double, ptr %11, align 8 %447 = fsub double %445, %446 %448 = load double, ptr %12, align 8 %449 = load double, ptr %10, align 8 %450 = fsub double %448, %449 %451 = fdiv double %447, %450 %452 = load i32, ptr %37, align 4 %453 = sitofp i32 %452 to double %454 = load double, ptr %10, align 8 %455 = fsub double %453, %454 %456 = call double @llvm.fmuladd.f64(double %451, double %455, double %444) %457 = fptosi double %456 to i32 store i32 %457, ptr %38, align 4 %458 = load double, ptr %11, align 8 %459 = load double, ptr %15, align 8 %460 = load double, ptr %11, align 8 %461 = fsub double %459, %460 %462 = load double, ptr %14, align 8 %463 = load double, ptr %10, align 8 %464 = fsub double %462, %463 %465 = fdiv double %461, %464 %466 = load i32, ptr %37, align 4 %467 = sitofp i32 %466 to double %468 = load double, ptr %10, align 8 %469 = fsub double %467, %468 %470 = call double @llvm.fmuladd.f64(double %465, double %469, double %458) %471 = fptosi double %470 to i32 store i32 %471, ptr %39, align 4 %472 = load i32, ptr %38, align 4 %473 = call i64 @ceil(i32 noundef %472) %474 = trunc i64 %473 to i32 store i32 %474, ptr %40, align 4 %475 = load i32, ptr %40, align 4 %476 = load i32, ptr %39, align 4 %477 = call i64 @floor(i32 noundef %476) %478 = trunc i64 %477 to i32 %479 = icmp sle i32 %475, %478 br i1 %479, label %.lr.ph, label %495 .lr.ph: ; preds = %443 br label %480 480: ; preds = %.lr.ph, %487 %481 = load i32, ptr %37, align 4 %482 = load i32, ptr %40, align 4 %483 = load double, ptr %16, align 8 %484 = load double, ptr %17, align 8 %485 = load double, ptr %18, align 8 %486 = call i32 @pixSetRGB(i32 noundef %481, i32 noundef %482, double noundef %483, double noundef %484, double noundef %485) br label %487 487: ; preds = %480 %488 = load i32, ptr %40, align 4 %489 = add nsw i32 %488, 1 store i32 %489, ptr %40, align 4 %490 = load i32, ptr %40, align 4 %491 = load i32, ptr %39, align 4 %492 = call i64 @floor(i32 noundef %491) %493 = trunc i64 %492 to i32 %494 = icmp sle i32 %490, %493 br i1 %494, label %480, label %._crit_edge, !llvm.loop !15 ._crit_edge: ; preds = %487 br label %495 495: ; preds = %._crit_edge, %443 br label %496 496: ; preds = %495 %497 = load i32, ptr %37, align 4 %498 = add nsw i32 %497, 1 store i32 %498, ptr %37, align 4 %499 = load i32, ptr %37, align 4 %500 = load double, ptr %12, align 8 %501 = fptosi double %500 to i32 %502 = call i64 @floor(i32 noundef %501) %503 = trunc i64 %502 to i32 %504 = icmp sle i32 %499, %503 br i1 %504, label %443, label %._crit_edge3, !llvm.loop !16 ._crit_edge3: ; preds = %496 br label %505 505: ; preds = %._crit_edge3, %432 %506 = load double, ptr %12, align 8 %507 = fptosi double %506 to i32 %508 = call i64 @floor(i32 noundef %507) %509 = trunc i64 %508 to i32 %510 = add nsw i32 %509, 1 store i32 %510, ptr %37, align 4 %511 = load i32, ptr %37, align 4 %512 = load double, ptr %14, align 8 %513 = fptosi double %512 to i32 %514 = call i64 @floor(i32 noundef %513) %515 = trunc i64 %514 to i32 %516 = icmp sle i32 %511, %515 br i1 %516, label %.lr.ph8, label %579 .lr.ph8: ; preds = %505 br label %517 517: ; preds = %.lr.ph8, %570 %518 = load double, ptr %13, align 8 %519 = load double, ptr %15, align 8 %520 = load double, ptr %13, align 8 %521 = fsub double %519, %520 %522 = load double, ptr %14, align 8 %523 = load double, ptr %12, align 8 %524 = fsub double %522, %523 %525 = fdiv double %521, %524 %526 = load i32, ptr %37, align 4 %527 = sitofp i32 %526 to double %528 = load double, ptr %12, align 8 %529 = fsub double %527, %528 %530 = call double @llvm.fmuladd.f64(double %525, double %529, double %518) %531 = fptosi double %530 to i32 store i32 %531, ptr %41, align 4 %532 = load double, ptr %11, align 8 %533 = load double, ptr %15, align 8 %534 = load double, ptr %11, align 8 %535 = fsub double %533, %534 %536 = load double, ptr %14, align 8 %537 = load double, ptr %10, align 8 %538 = fsub double %536, %537 %539 = fdiv double %535, %538 %540 = load i32, ptr %37, align 4 %541 = sitofp i32 %540 to double %542 = load double, ptr %10, align 8 %543 = fsub double %541, %542 %544 = call double @llvm.fmuladd.f64(double %539, double %543, double %532) %545 = fptosi double %544 to i32 store i32 %545, ptr %42, align 4 %546 = load i32, ptr %41, align 4 %547 = call i64 @ceil(i32 noundef %546) %548 = trunc i64 %547 to i32 store i32 %548, ptr %43, align 4 %549 = load i32, ptr %43, align 4 %550 = load i32, ptr %42, align 4 %551 = call i64 @floor(i32 noundef %550) %552 = trunc i64 %551 to i32 %553 = icmp sle i32 %549, %552 br i1 %553, label %.lr.ph5, label %569 .lr.ph5: ; preds = %517 br label %554 554: ; preds = %.lr.ph5, %561 %555 = load i32, ptr %37, align 4 %556 = load i32, ptr %43, align 4 %557 = load double, ptr %16, align 8 %558 = load double, ptr %17, align 8 %559 = load double, ptr %18, align 8 %560 = call i32 @pixSetRGB(i32 noundef %555, i32 noundef %556, double noundef %557, double noundef %558, double noundef %559) br label %561 561: ; preds = %554 %562 = load i32, ptr %43, align 4 %563 = add nsw i32 %562, 1 store i32 %563, ptr %43, align 4 %564 = load i32, ptr %43, align 4 %565 = load i32, ptr %42, align 4 %566 = call i64 @floor(i32 noundef %565) %567 = trunc i64 %566 to i32 %568 = icmp sle i32 %564, %567 br i1 %568, label %554, label %._crit_edge6, !llvm.loop !17 ._crit_edge6: ; preds = %561 br label %569 569: ; preds = %._crit_edge6, %517 br label %570 570: ; preds = %569 %571 = load i32, ptr %37, align 4 %572 = add nsw i32 %571, 1 store i32 %572, ptr %37, align 4 %573 = load i32, ptr %37, align 4 %574 = load double, ptr %14, align 8 %575 = fptosi double %574 to i32 %576 = call i64 @floor(i32 noundef %575) %577 = trunc i64 %576 to i32 %578 = icmp sle i32 %573, %577 br i1 %578, label %517, label %._crit_edge9, !llvm.loop !18 ._crit_edge9: ; preds = %570 br label %579 579: ; preds = %._crit_edge9, %505 br label %580 580: ; preds = %579, %431 ret void } declare i32 @printf(ptr noundef) #1 declare i64 @ceil(i32 noundef) #1 declare i64 @floor(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @pixSetRGB(i32 noundef, i32 noundef, double noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7}
; ModuleID = '/tmp/tmphgip5g_i.c' source_filename = "/tmp/tmphgip5g_i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_homotopy() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = load ptr, ptr %1, align 8 %6 = load ptr, ptr %2, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @_ada_use_c2phc4c(i32 noundef 152, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, 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/tmphgip5g_i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_homotopy() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = load ptr, ptr %1, align 8 %6 = load ptr, ptr %2, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @_ada_use_c2phc4c(i32 noundef 152, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, 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/tmpk376261n.c' source_filename = "/tmp/tmpk376261n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swab(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 i8, align 1 %8 = alloca ptr, align 8 %9 = 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 %10 = load i64, ptr %6, align 8 %11 = udiv i64 %10, 2 %12 = add i64 %11, 1 store i64 %12, ptr %6, align 8 %13 = load ptr, ptr %4, align 8 store ptr %13, ptr %8, align 8 %14 = load ptr, ptr %5, align 8 store ptr %14, ptr %9, align 8 br label %15 15: ; preds = %19, %3 %16 = load i64, ptr %6, align 8 %17 = add i64 %16, -1 store i64 %17, ptr %6, align 8 %18 = icmp ne i64 %16, 0 br i1 %18, label %19, label %31 19: ; preds = %15 %20 = load ptr, ptr %8, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %8, align 8 %22 = load i8, ptr %20, align 1 store i8 %22, ptr %7, align 1 %23 = load ptr, ptr %8, align 8 %24 = getelementptr inbounds i8, ptr %23, i32 1 store ptr %24, ptr %8, align 8 %25 = load i8, ptr %23, align 1 %26 = load ptr, ptr %9, align 8 %27 = getelementptr inbounds i8, ptr %26, i32 1 store ptr %27, ptr %9, align 8 store i8 %25, ptr %26, align 1 %28 = load i8, ptr %7, align 1 %29 = load ptr, ptr %9, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %9, align 8 store i8 %28, ptr %29, align 1 br label %15, !llvm.loop !6 31: ; preds = %15 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk376261n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swab(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 i8, align 1 %8 = alloca ptr, align 8 %9 = 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 %10 = load i64, ptr %6, align 8 %11 = udiv i64 %10, 2 %12 = add i64 %11, 1 store i64 %12, ptr %6, align 8 %13 = load ptr, ptr %4, align 8 store ptr %13, ptr %8, align 8 %14 = load ptr, ptr %5, align 8 store ptr %14, ptr %9, align 8 %15 = load i64, ptr %6, align 8 %16 = add i64 %15, -1 store i64 %16, ptr %6, align 8 %17 = icmp ne i64 %15, 0 br i1 %17, label %.lr.ph, label %33 .lr.ph: ; preds = %3 br label %18 18: ; preds = %.lr.ph, %18 %19 = load ptr, ptr %8, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %8, align 8 %21 = load i8, ptr %19, align 1 store i8 %21, ptr %7, align 1 %22 = load ptr, ptr %8, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %8, align 8 %24 = load i8, ptr %22, align 1 %25 = load ptr, ptr %9, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %9, align 8 store i8 %24, ptr %25, align 1 %27 = load i8, ptr %7, align 1 %28 = load ptr, ptr %9, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %9, align 8 store i8 %27, ptr %28, align 1 %30 = load i64, ptr %6, align 8 %31 = add i64 %30, -1 store i64 %31, ptr %6, align 8 %32 = icmp ne i64 %30, 0 br i1 %32, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %33 33: ; preds = %._crit_edge, %3 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpjb_mdbjy.c' source_filename = "/tmp/tmpjb_mdbjy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Eof() #0 { %1 = call i64 (...) @Available() %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 ret i32 %3 } declare i64 @Available(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjb_mdbjy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Eof() #0 { %1 = call i64 (...) @Available() %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 ret i32 %3 } declare i64 @Available(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpii2semb6.c' source_filename = "/tmp/tmpii2semb6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @LCD_set_address_pointer(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @LCD_command_2D(i32 noundef 36, i32 noundef %3) ret void } declare i32 @LCD_command_2D(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/tmpii2semb6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @LCD_set_address_pointer(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @LCD_command_2D(i32 noundef 36, i32 noundef %3) ret void } declare i32 @LCD_command_2D(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/tmpdrhcv8b4.c' source_filename = "/tmp/tmpdrhcv8b4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"../\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"./\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"actual_link %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"folder_link %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"final link: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @relativeUrl(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca [1024 x i8], align 16 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %10 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %11 = load ptr, ptr %4, align 8 %12 = call i32 @strcpy(ptr noundef %10, ptr noundef %11) %13 = load ptr, ptr %5, align 8 store ptr %13, ptr %8, align 8 br label %14 14: ; preds = %18, %2 %15 = load ptr, ptr %8, align 8 %16 = call i64 @strstr(ptr noundef %15, ptr noundef @.str) %17 = icmp ne i64 %16, 0 br i1 %17, label %18, label %24 18: ; preds = %14 %19 = load ptr, ptr %8, align 8 %20 = call ptr @strpbrk(ptr noundef %19, ptr noundef @.str) %21 = getelementptr inbounds i8, ptr %20, i64 3 store ptr %21, ptr %8, align 8 %22 = load i32, ptr %6, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %6, align 4 br label %14, !llvm.loop !6 24: ; preds = %14 br label %25 25: ; preds = %29, %24 %26 = load ptr, ptr %8, align 8 %27 = call i64 @strstr(ptr noundef %26, ptr noundef @.str) %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %33 29: ; preds = %25 %30 = load ptr, ptr %8, align 8 %31 = call ptr @strpbrk(ptr noundef %30, ptr noundef @.str.1) %32 = getelementptr inbounds i8, ptr %31, i64 2 store ptr %32, ptr %8, align 8 br label %25, !llvm.loop !8 33: ; preds = %25 %34 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %35 = call i32 @strlen(ptr noundef %34) store i32 %35, ptr %9, align 4 br label %36 36: ; preds = %55, %33 %37 = load i32, ptr %9, align 4 %38 = icmp sgt i32 %37, 0 br i1 %38, label %39, label %42 39: ; preds = %36 %40 = load i32, ptr %6, align 4 %41 = icmp sgt i32 %40, 0 br label %42 42: ; preds = %39, %36 %43 = phi i1 [ false, %36 ], [ %41, %39 ] br i1 %43, label %44, label %58 44: ; preds = %42 %45 = load i32, ptr %9, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 %46 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp eq i32 %49, 47 br i1 %50, label %51, label %54 51: ; preds = %44 %52 = load i32, ptr %6, align 4 %53 = add nsw i32 %52, -1 store i32 %53, ptr %6, align 4 br label %54 54: ; preds = %51, %44 br label %55 55: ; preds = %54 %56 = load i32, ptr %9, align 4 %57 = add nsw i32 %56, -1 store i32 %57, ptr %9, align 4 br label %36, !llvm.loop !9 58: ; preds = %42 %59 = load i32, ptr %9, align 4 %60 = add nsw i32 %59, 2 store i32 %60, ptr %9, align 4 %61 = load i32, ptr %6, align 4 %62 = icmp sgt i32 %61, 0 br i1 %62, label %63, label %64 63: ; preds = %58 store i32 -1, ptr %3, align 4 br label %94 64: ; preds = %58 %65 = load ptr, ptr %8, align 8 %66 = call i32 @printf(ptr noundef @.str.2, ptr noundef %65) %67 = load i32, ptr %9, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 %68 store i8 0, ptr %69, align 1 %70 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %71 = call i32 @printf(ptr noundef @.str.3, ptr noundef %70) %72 = load ptr, ptr %8, align 8 %73 = call i32 @strlen(ptr noundef %72) %74 = load i32, ptr %9, align 4 %75 = add nsw i32 %74, %73 store i32 %75, ptr %9, align 4 %76 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %77 = load ptr, ptr %8, align 8 %78 = load ptr, ptr %8, align 8 %79 = call i32 @strlen(ptr noundef %78) %80 = call i32 @strncat(ptr noundef %76, ptr noundef %77, i32 noundef %79) %81 = load i32, ptr %9, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 %82 store i8 0, ptr %83, align 1 %84 = load ptr, ptr %5, align 8 %85 = call i32 @memset(ptr noundef %84, i32 noundef 0, i32 noundef 1024) %86 = load ptr, ptr %5, align 8 %87 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %88 = load i32, ptr %9, align 4 %89 = call i32 @strncat(ptr noundef %86, ptr noundef %87, i32 noundef %88) %90 = load ptr, ptr %5, align 8 %91 = call i32 @printf(ptr noundef @.str.4, ptr noundef %90) %92 = load ptr, ptr %5, align 8 %93 = call i32 @strlen(ptr noundef %92) store i32 %93, ptr %3, align 4 br label %94 94: ; preds = %64, %63 %95 = load i32, ptr %3, align 4 ret i32 %95 } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i64 @strstr(ptr noundef, ptr noundef) #1 declare ptr @strpbrk(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdrhcv8b4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"../\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"./\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"actual_link %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"folder_link %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"final link: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @relativeUrl(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca [1024 x i8], align 16 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %10 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %11 = load ptr, ptr %4, align 8 %12 = call i32 @strcpy(ptr noundef %10, ptr noundef %11) %13 = load ptr, ptr %5, align 8 store ptr %13, ptr %8, align 8 %14 = load ptr, ptr %8, align 8 %15 = call i64 @strstr(ptr noundef %14, ptr noundef @.str) %16 = icmp ne i64 %15, 0 br i1 %16, label %.lr.ph, label %26 .lr.ph: ; preds = %2 br label %17 17: ; preds = %.lr.ph, %17 %18 = load ptr, ptr %8, align 8 %19 = call ptr @strpbrk(ptr noundef %18, ptr noundef @.str) %20 = getelementptr inbounds i8, ptr %19, i64 3 store ptr %20, ptr %8, align 8 %21 = load i32, ptr %6, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %6, align 4 %23 = load ptr, ptr %8, align 8 %24 = call i64 @strstr(ptr noundef %23, ptr noundef @.str) %25 = icmp ne i64 %24, 0 br i1 %25, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %26 26: ; preds = %._crit_edge, %2 %27 = load ptr, ptr %8, align 8 %28 = call i64 @strstr(ptr noundef %27, ptr noundef @.str) %29 = icmp ne i64 %28, 0 br i1 %29, label %.lr.ph2, label %37 .lr.ph2: ; preds = %26 br label %30 30: ; preds = %.lr.ph2, %30 %31 = load ptr, ptr %8, align 8 %32 = call ptr @strpbrk(ptr noundef %31, ptr noundef @.str.1) %33 = getelementptr inbounds i8, ptr %32, i64 2 store ptr %33, ptr %8, align 8 %34 = load ptr, ptr %8, align 8 %35 = call i64 @strstr(ptr noundef %34, ptr noundef @.str) %36 = icmp ne i64 %35, 0 br i1 %36, label %30, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %30 br label %37 37: ; preds = %._crit_edge3, %26 %38 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %39 = call i32 @strlen(ptr noundef %38) store i32 %39, ptr %9, align 4 br label %40 40: ; preds = %59, %37 %41 = load i32, ptr %9, align 4 %42 = icmp sgt i32 %41, 0 br i1 %42, label %43, label %46 43: ; preds = %40 %44 = load i32, ptr %6, align 4 %45 = icmp sgt i32 %44, 0 br label %46 46: ; preds = %43, %40 %47 = phi i1 [ false, %40 ], [ %45, %43 ] br i1 %47, label %48, label %62 48: ; preds = %46 %49 = load i32, ptr %9, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 %50 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = icmp eq i32 %53, 47 br i1 %54, label %55, label %58 55: ; preds = %48 %56 = load i32, ptr %6, align 4 %57 = add nsw i32 %56, -1 store i32 %57, ptr %6, align 4 br label %58 58: ; preds = %55, %48 br label %59 59: ; preds = %58 %60 = load i32, ptr %9, align 4 %61 = add nsw i32 %60, -1 store i32 %61, ptr %9, align 4 br label %40, !llvm.loop !9 62: ; preds = %46 %63 = load i32, ptr %9, align 4 %64 = add nsw i32 %63, 2 store i32 %64, ptr %9, align 4 %65 = load i32, ptr %6, align 4 %66 = icmp sgt i32 %65, 0 br i1 %66, label %67, label %68 67: ; preds = %62 store i32 -1, ptr %3, align 4 br label %98 68: ; preds = %62 %69 = load ptr, ptr %8, align 8 %70 = call i32 @printf(ptr noundef @.str.2, ptr noundef %69) %71 = load i32, ptr %9, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 %72 store i8 0, ptr %73, align 1 %74 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %75 = call i32 @printf(ptr noundef @.str.3, ptr noundef %74) %76 = load ptr, ptr %8, align 8 %77 = call i32 @strlen(ptr noundef %76) %78 = load i32, ptr %9, align 4 %79 = add nsw i32 %78, %77 store i32 %79, ptr %9, align 4 %80 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %81 = load ptr, ptr %8, align 8 %82 = load ptr, ptr %8, align 8 %83 = call i32 @strlen(ptr noundef %82) %84 = call i32 @strncat(ptr noundef %80, ptr noundef %81, i32 noundef %83) %85 = load i32, ptr %9, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 %86 store i8 0, ptr %87, align 1 %88 = load ptr, ptr %5, align 8 %89 = call i32 @memset(ptr noundef %88, i32 noundef 0, i32 noundef 1024) %90 = load ptr, ptr %5, align 8 %91 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %92 = load i32, ptr %9, align 4 %93 = call i32 @strncat(ptr noundef %90, ptr noundef %91, i32 noundef %92) %94 = load ptr, ptr %5, align 8 %95 = call i32 @printf(ptr noundef @.str.4, ptr noundef %94) %96 = load ptr, ptr %5, align 8 %97 = call i32 @strlen(ptr noundef %96) store i32 %97, ptr %3, align 4 br label %98 98: ; preds = %68, %67 %99 = load i32, ptr %3, align 4 ret i32 %99 } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i64 @strstr(ptr noundef, ptr noundef) #1 declare ptr @strpbrk(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpcrjnvhw1.c' source_filename = "/tmp/tmpcrjnvhw1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcrjnvhw1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1ip9ousj.c' source_filename = "/tmp/tmp1ip9ousj.c" target datalayout = "e-m:e-p270: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/tmp1ip9ousj.c" target datalayout = "e-m:e-p270: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/tmpbtldn0v1.c' source_filename = "/tmp/tmpbtldn0v1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @memset(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %9, align 8 store i32 0, ptr %8, align 4 br label %11 11: ; preds = %20, %3 %12 = load i32, ptr %8, align 4 %13 = load i32, ptr %7, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %23 15: ; preds = %11 %16 = load i32, ptr %6, align 4 %17 = trunc i32 %16 to i8 %18 = load ptr, ptr %9, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %9, align 8 store i8 %17, ptr %18, align 1 br label %20 20: ; preds = %15 %21 = load i32, ptr %8, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %8, align 4 br label %11, !llvm.loop !6 23: ; preds = %11 %24 = load ptr, ptr %4, align 8 ret ptr %24 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbtldn0v1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @memset(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %9, align 8 store i32 0, ptr %8, align 4 %11 = load i32, ptr %8, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %25 .lr.ph: ; preds = %3 br label %14 14: ; preds = %.lr.ph, %19 %15 = load i32, ptr %6, align 4 %16 = trunc i32 %15 to i8 %17 = load ptr, ptr %9, align 8 %18 = getelementptr inbounds i8, ptr %17, i32 1 store ptr %18, ptr %9, align 8 store i8 %16, ptr %17, align 1 br label %19 19: ; preds = %14 %20 = load i32, ptr %8, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %8, align 4 %22 = load i32, ptr %8, align 4 %23 = load i32, ptr %7, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %25 25: ; preds = %._crit_edge, %3 %26 = load ptr, ptr %4, align 8 ret ptr %26 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpcqrcgzqy.c' source_filename = "/tmp/tmpcqrcgzqy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"GDB_SPIN\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"Invalid GDB_SPIN: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"Waiting for gdb: target: %i pid: %i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gdb_spin(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %9 = call ptr @getenv(ptr noundef @.str) store ptr %9, ptr %3, align 8 %10 = load ptr, ptr %3, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %44 12: ; preds = %1 %13 = load ptr, ptr %3, align 8 %14 = call i64 @strlen(ptr noundef %13) %15 = icmp sgt i64 %14, 0 br i1 %15, label %16, label %44 16: ; preds = %12 %17 = load ptr, ptr %3, align 8 %18 = call i32 @sscanf(ptr noundef %17, ptr noundef @.str.1, ptr noundef %4) store i32 %18, ptr %5, align 4 %19 = load i32, ptr %5, align 4 %20 = icmp ne i32 %19, 1 br i1 %20, label %21, label %25 21: ; preds = %16 %22 = load ptr, ptr %3, align 8 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %22) %24 = call i32 @exit(i32 noundef 1) #3 unreachable 25: ; preds = %16 %26 = load i32, ptr %4, align 4 %27 = load i32, ptr %2, align 4 %28 = icmp eq i32 %26, %27 br i1 %28, label %29, label %43 29: ; preds = %25 %30 = call i32 (...) @getpid() store i32 %30, ptr %6, align 4 %31 = load i32, ptr %2, align 4 %32 = load i32, ptr %6, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %31, i32 noundef %32) store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %34 34: ; preds = %38, %29 %35 = load i32, ptr %7, align 4 %36 = icmp ne i32 %35, 0 %37 = xor i1 %36, true br i1 %37, label %38, label %42 38: ; preds = %34 %39 = load i32, ptr %8, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %8, align 4 %41 = call i32 @gdb_sleep(ptr noundef %7, i32 noundef %39) br label %34, !llvm.loop !6 42: ; preds = %34 br label %43 43: ; preds = %42, %25 br label %44 44: ; preds = %43, %12, %1 ret void } declare ptr @getenv(ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @getpid(...) #1 declare i32 @gdb_sleep(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcqrcgzqy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"GDB_SPIN\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"Invalid GDB_SPIN: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"Waiting for gdb: target: %i pid: %i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gdb_spin(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %9 = call ptr @getenv(ptr noundef @.str) store ptr %9, ptr %3, align 8 %10 = load ptr, ptr %3, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %46 12: ; preds = %1 %13 = load ptr, ptr %3, align 8 %14 = call i64 @strlen(ptr noundef %13) %15 = icmp sgt i64 %14, 0 br i1 %15, label %16, label %46 16: ; preds = %12 %17 = load ptr, ptr %3, align 8 %18 = call i32 @sscanf(ptr noundef %17, ptr noundef @.str.1, ptr noundef %4) store i32 %18, ptr %5, align 4 %19 = load i32, ptr %5, align 4 %20 = icmp ne i32 %19, 1 br i1 %20, label %21, label %25 21: ; preds = %16 %22 = load ptr, ptr %3, align 8 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %22) %24 = call i32 @exit(i32 noundef 1) #3 unreachable 25: ; preds = %16 %26 = load i32, ptr %4, align 4 %27 = load i32, ptr %2, align 4 %28 = icmp eq i32 %26, %27 br i1 %28, label %29, label %45 29: ; preds = %25 %30 = call i32 (...) @getpid() store i32 %30, ptr %6, align 4 %31 = load i32, ptr %2, align 4 %32 = load i32, ptr %6, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %31, i32 noundef %32) store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %34 = load i32, ptr %7, align 4 %35 = icmp ne i32 %34, 0 %36 = xor i1 %35, true br i1 %36, label %.lr.ph, label %44 .lr.ph: ; preds = %29 br label %37 37: ; preds = %.lr.ph, %37 %38 = load i32, ptr %8, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %8, align 4 %40 = call i32 @gdb_sleep(ptr noundef %7, i32 noundef %38) %41 = load i32, ptr %7, align 4 %42 = icmp ne i32 %41, 0 %43 = xor i1 %42, true br i1 %43, label %37, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %44 44: ; preds = %._crit_edge, %29 br label %45 45: ; preds = %44, %25 br label %46 46: ; preds = %45, %12, %1 ret void } declare ptr @getenv(ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @getpid(...) #1 declare i32 @gdb_sleep(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpkwoi60gp.c' source_filename = "/tmp/tmpkwoi60gp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 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 ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 1, ptr %5, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %7 = load i32, ptr %3, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 %8, 4 %10 = trunc i64 %9 to i32 %11 = call i64 @malloc(i32 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %2, align 8 store i32 0, ptr %4, align 4 br label %13 13: ; preds = %23, %0 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %26 17: ; preds = %13 %18 = load ptr, ptr %2, align 8 %19 = load i32, ptr %4, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 %22 = call i32 @scanf(ptr noundef @.str, ptr noundef %21) br label %23 23: ; preds = %17 %24 = load i32, ptr %4, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %4, align 4 br label %13, !llvm.loop !6 26: ; preds = %13 store i32 1, ptr %4, align 4 br label %27 27: ; preds = %51, %26 %28 = load i32, ptr %4, align 4 %29 = load i32, ptr %3, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %54 31: ; preds = %27 %32 = load ptr, ptr %2, align 8 %33 = load i32, ptr %4, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %32, i64 %34 %36 = load i32, ptr %35, align 4 %37 = load ptr, ptr %2, align 8 %38 = load i32, ptr %4, align 4 %39 = sub nsw i32 %38, 1 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %37, i64 %40 %42 = load i32, ptr %41, align 4 %43 = icmp sgt i32 %36, %42 br i1 %43, label %44, label %45 44: ; preds = %31 br label %51 45: ; preds = %31 %46 = load ptr, ptr %2, align 8 %47 = load i32, ptr %3, align 4 %48 = load i32, ptr %4, align 4 %49 = call i32 @func1(ptr noundef %46, i32 noundef %47, i32 noundef %48) br label %50 50: ; preds = %45 br label %51 51: ; preds = %50, %44 %52 = load i32, ptr %4, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %4, align 4 br label %27, !llvm.loop !8 54: ; preds = %27 store i32 0, ptr %4, align 4 br label %55 55: ; preds = %66, %54 %56 = load i32, ptr %4, align 4 %57 = load i32, ptr %3, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %59, label %69 59: ; preds = %55 %60 = load ptr, ptr %2, align 8 %61 = load i32, ptr %4, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i32, ptr %60, i64 %62 %64 = load i32, ptr %63, align 4 %65 = call i32 @printf(ptr noundef @.str.1, i32 noundef %64) br label %66 66: ; preds = %59 %67 = load i32, ptr %4, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %4, align 4 br label %55, !llvm.loop !9 69: ; preds = %55 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @func1(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkwoi60gp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 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 ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 1, ptr %5, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %7 = load i32, ptr %3, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 %8, 4 %10 = trunc i64 %9 to i32 %11 = call i64 @malloc(i32 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %2, align 8 store i32 0, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %28 .lr.ph: ; preds = %0 br label %16 16: ; preds = %.lr.ph, %22 %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %4, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 %21 = call i32 @scanf(ptr noundef @.str, ptr noundef %20) br label %22 22: ; preds = %16 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %4, align 4 %25 = load i32, ptr %4, align 4 %26 = load i32, ptr %3, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %28 28: ; preds = %._crit_edge, %0 store i32 1, ptr %4, align 4 %29 = load i32, ptr %4, align 4 %30 = load i32, ptr %3, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %.lr.ph2, label %58 .lr.ph2: ; preds = %28 br label %32 32: ; preds = %.lr.ph2, %52 %33 = load ptr, ptr %2, align 8 %34 = load i32, ptr %4, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %33, i64 %35 %37 = load i32, ptr %36, align 4 %38 = load ptr, ptr %2, align 8 %39 = load i32, ptr %4, align 4 %40 = sub nsw i32 %39, 1 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %38, i64 %41 %43 = load i32, ptr %42, align 4 %44 = icmp sgt i32 %37, %43 br i1 %44, label %45, label %46 45: ; preds = %32 br label %52 46: ; preds = %32 %47 = load ptr, ptr %2, align 8 %48 = load i32, ptr %3, align 4 %49 = load i32, ptr %4, align 4 %50 = call i32 @func1(ptr noundef %47, i32 noundef %48, i32 noundef %49) br label %51 51: ; preds = %46 br label %52 52: ; preds = %51, %45 %53 = load i32, ptr %4, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %4, align 4 %55 = load i32, ptr %4, align 4 %56 = load i32, ptr %3, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %32, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %52 br label %58 58: ; preds = %._crit_edge3, %28 store i32 0, ptr %4, align 4 %59 = load i32, ptr %4, align 4 %60 = load i32, ptr %3, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %.lr.ph5, label %75 .lr.ph5: ; preds = %58 br label %62 62: ; preds = %.lr.ph5, %69 %63 = load ptr, ptr %2, align 8 %64 = load i32, ptr %4, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i32, ptr %63, i64 %65 %67 = load i32, ptr %66, align 4 %68 = call i32 @printf(ptr noundef @.str.1, i32 noundef %67) br label %69 69: ; preds = %62 %70 = load i32, ptr %4, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %4, align 4 %72 = load i32, ptr %4, align 4 %73 = load i32, ptr %3, align 4 %74 = icmp slt i32 %72, %73 br i1 %74, label %62, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %69 br label %75 75: ; preds = %._crit_edge6, %58 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @func1(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp3jz0ud8g.c' source_filename = "/tmp/tmp3jz0ud8g.c" target datalayout = "e-m:e-p270: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/tmp3jz0ud8g.c" target datalayout = "e-m:e-p270: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/tmpsrk7cgpj.c' source_filename = "/tmp/tmpsrk7cgpj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @gs_replace.len = internal global i64 0, align 8 @gs_replace.len2 = internal global i64 0, align 8 @gs_replace.difference = internal global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @gs_replace(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %7, align 8 %9 = load ptr, ptr %5, align 8 %10 = call i64 @strlen(ptr noundef %9) store i64 %10, ptr @gs_replace.len, align 8 %11 = load ptr, ptr %6, align 8 %12 = call i64 @strlen(ptr noundef %11) store i64 %12, ptr @gs_replace.len2, align 8 %13 = load i64, ptr @gs_replace.len, align 8 %14 = load i64, ptr @gs_replace.len2, align 8 %15 = sub i64 %13, %14 %16 = trunc i64 %15 to i32 store i32 %16, ptr @gs_replace.difference, align 4 %17 = load i32, ptr @gs_replace.difference, align 4 %18 = icmp ne i32 %17, 0 br i1 %18, label %34, label %19 19: ; preds = %3 br label %20 20: ; preds = %25, %19 %21 = load ptr, ptr %4, align 8 %22 = load ptr, ptr %5, align 8 %23 = call ptr @strstr(ptr noundef %21, ptr noundef %22) store ptr %23, ptr %4, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %25, label %33 25: ; preds = %20 %26 = load ptr, ptr %4, align 8 %27 = load ptr, ptr %6, align 8 %28 = load i64, ptr @gs_replace.len2, align 8 %29 = call i32 @strncpy(ptr noundef %26, ptr noundef %27, i64 noundef %28) %30 = load i64, ptr @gs_replace.len, align 8 %31 = load ptr, ptr %4, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 %30 store ptr %32, ptr %4, align 8 br label %20, !llvm.loop !6 33: ; preds = %20 br label %92 34: ; preds = %3 %35 = load i32, ptr @gs_replace.difference, align 4 %36 = icmp sgt i32 %35, 0 br i1 %36, label %37, label %64 37: ; preds = %34 br label %38 38: ; preds = %43, %37 %39 = load ptr, ptr %4, align 8 %40 = load ptr, ptr %5, align 8 %41 = call ptr @strstr(ptr noundef %39, ptr noundef %40) store ptr %41, ptr %4, align 8 %42 = icmp ne ptr %41, null br i1 %42, label %43, label %63 43: ; preds = %38 %44 = load ptr, ptr %4, align 8 %45 = load ptr, ptr %6, align 8 %46 = load i64, ptr @gs_replace.len2, align 8 %47 = call i32 @strncpy(ptr noundef %44, ptr noundef %45, i64 noundef %46) %48 = load i64, ptr @gs_replace.len2, align 8 %49 = load ptr, ptr %4, align 8 %50 = getelementptr inbounds i8, ptr %49, i64 %48 store ptr %50, ptr %4, align 8 %51 = load ptr, ptr %4, align 8 %52 = load ptr, ptr %4, align 8 %53 = load i32, ptr @gs_replace.difference, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %52, i64 %54 %56 = load ptr, ptr %4, align 8 %57 = load i32, ptr @gs_replace.difference, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %56, i64 %58 %60 = call i64 @strlen(ptr noundef %59) %61 = add i64 %60, 1 %62 = call i32 @memmove(ptr noundef %51, ptr noundef %55, i64 noundef %61) br label %38, !llvm.loop !8 63: ; preds = %38 br label %91 64: ; preds = %34 br label %65 65: ; preds = %70, %64 %66 = load ptr, ptr %4, align 8 %67 = load ptr, ptr %5, align 8 %68 = call ptr @strstr(ptr noundef %66, ptr noundef %67) store ptr %68, ptr %4, align 8 %69 = icmp ne ptr %68, null br i1 %69, label %70, label %90 70: ; preds = %65 %71 = load ptr, ptr %4, align 8 %72 = load i64, ptr @gs_replace.len2, align 8 %73 = getelementptr inbounds i8, ptr %71, i64 %72 %74 = load ptr, ptr %4, align 8 %75 = load i64, ptr @gs_replace.len, align 8 %76 = getelementptr inbounds i8, ptr %74, i64 %75 %77 = load ptr, ptr %4, align 8 %78 = load i64, ptr @gs_replace.len, align 8 %79 = getelementptr inbounds i8, ptr %77, i64 %78 %80 = call i64 @strlen(ptr noundef %79) %81 = add i64 %80, 1 %82 = call i32 @memmove(ptr noundef %73, ptr noundef %76, i64 noundef %81) %83 = load ptr, ptr %4, align 8 %84 = load ptr, ptr %6, align 8 %85 = load i64, ptr @gs_replace.len2, align 8 %86 = call i32 @strncpy(ptr noundef %83, ptr noundef %84, i64 noundef %85) %87 = load i64, ptr @gs_replace.len2, align 8 %88 = load ptr, ptr %4, align 8 %89 = getelementptr inbounds i8, ptr %88, i64 %87 store ptr %89, ptr %4, align 8 br label %65, !llvm.loop !9 90: ; preds = %65 br label %91 91: ; preds = %90, %63 br label %92 92: ; preds = %91, %33 %93 = load ptr, ptr %7, align 8 ret ptr %93 } declare i64 @strlen(ptr noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @memmove(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsrk7cgpj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @gs_replace.len = internal global i64 0, align 8 @gs_replace.len2 = internal global i64 0, align 8 @gs_replace.difference = internal global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @gs_replace(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %7, align 8 %9 = load ptr, ptr %5, align 8 %10 = call i64 @strlen(ptr noundef %9) store i64 %10, ptr @gs_replace.len, align 8 %11 = load ptr, ptr %6, align 8 %12 = call i64 @strlen(ptr noundef %11) store i64 %12, ptr @gs_replace.len2, align 8 %13 = load i64, ptr @gs_replace.len, align 8 %14 = load i64, ptr @gs_replace.len2, align 8 %15 = sub i64 %13, %14 %16 = trunc i64 %15 to i32 store i32 %16, ptr @gs_replace.difference, align 4 %17 = load i32, ptr @gs_replace.difference, align 4 %18 = icmp ne i32 %17, 0 br i1 %18, label %37, label %19 19: ; preds = %3 %20 = load ptr, ptr %4, align 8 %21 = load ptr, ptr %5, align 8 %22 = call ptr @strstr(ptr noundef %20, ptr noundef %21) store ptr %22, ptr %4, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %.lr.ph, label %36 .lr.ph: ; preds = %19 br label %24 24: ; preds = %.lr.ph, %24 %25 = load ptr, ptr %4, align 8 %26 = load ptr, ptr %6, align 8 %27 = load i64, ptr @gs_replace.len2, align 8 %28 = call i32 @strncpy(ptr noundef %25, ptr noundef %26, i64 noundef %27) %29 = load i64, ptr @gs_replace.len, align 8 %30 = load ptr, ptr %4, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 %29 store ptr %31, ptr %4, align 8 %32 = load ptr, ptr %4, align 8 %33 = load ptr, ptr %5, align 8 %34 = call ptr @strstr(ptr noundef %32, ptr noundef %33) store ptr %34, ptr %4, align 8 %35 = icmp ne ptr %34, null br i1 %35, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %36 36: ; preds = %._crit_edge, %19 br label %101 37: ; preds = %3 %38 = load i32, ptr @gs_replace.difference, align 4 %39 = icmp sgt i32 %38, 0 br i1 %39, label %40, label %70 40: ; preds = %37 %41 = load ptr, ptr %4, align 8 %42 = load ptr, ptr %5, align 8 %43 = call ptr @strstr(ptr noundef %41, ptr noundef %42) store ptr %43, ptr %4, align 8 %44 = icmp ne ptr %43, null br i1 %44, label %.lr.ph5, label %69 .lr.ph5: ; preds = %40 br label %45 45: ; preds = %.lr.ph5, %45 %46 = load ptr, ptr %4, align 8 %47 = load ptr, ptr %6, align 8 %48 = load i64, ptr @gs_replace.len2, align 8 %49 = call i32 @strncpy(ptr noundef %46, ptr noundef %47, i64 noundef %48) %50 = load i64, ptr @gs_replace.len2, align 8 %51 = load ptr, ptr %4, align 8 %52 = getelementptr inbounds i8, ptr %51, i64 %50 store ptr %52, ptr %4, align 8 %53 = load ptr, ptr %4, align 8 %54 = load ptr, ptr %4, align 8 %55 = load i32, ptr @gs_replace.difference, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %54, i64 %56 %58 = load ptr, ptr %4, align 8 %59 = load i32, ptr @gs_replace.difference, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %58, i64 %60 %62 = call i64 @strlen(ptr noundef %61) %63 = add i64 %62, 1 %64 = call i32 @memmove(ptr noundef %53, ptr noundef %57, i64 noundef %63) %65 = load ptr, ptr %4, align 8 %66 = load ptr, ptr %5, align 8 %67 = call ptr @strstr(ptr noundef %65, ptr noundef %66) store ptr %67, ptr %4, align 8 %68 = icmp ne ptr %67, null br i1 %68, label %45, label %._crit_edge6, !llvm.loop !8 ._crit_edge6: ; preds = %45 br label %69 69: ; preds = %._crit_edge6, %40 br label %100 70: ; preds = %37 %71 = load ptr, ptr %4, align 8 %72 = load ptr, ptr %5, align 8 %73 = call ptr @strstr(ptr noundef %71, ptr noundef %72) store ptr %73, ptr %4, align 8 %74 = icmp ne ptr %73, null br i1 %74, label %.lr.ph2, label %99 .lr.ph2: ; preds = %70 br label %75 75: ; preds = %.lr.ph2, %75 %76 = load ptr, ptr %4, align 8 %77 = load i64, ptr @gs_replace.len2, align 8 %78 = getelementptr inbounds i8, ptr %76, i64 %77 %79 = load ptr, ptr %4, align 8 %80 = load i64, ptr @gs_replace.len, align 8 %81 = getelementptr inbounds i8, ptr %79, i64 %80 %82 = load ptr, ptr %4, align 8 %83 = load i64, ptr @gs_replace.len, align 8 %84 = getelementptr inbounds i8, ptr %82, i64 %83 %85 = call i64 @strlen(ptr noundef %84) %86 = add i64 %85, 1 %87 = call i32 @memmove(ptr noundef %78, ptr noundef %81, i64 noundef %86) %88 = load ptr, ptr %4, align 8 %89 = load ptr, ptr %6, align 8 %90 = load i64, ptr @gs_replace.len2, align 8 %91 = call i32 @strncpy(ptr noundef %88, ptr noundef %89, i64 noundef %90) %92 = load i64, ptr @gs_replace.len2, align 8 %93 = load ptr, ptr %4, align 8 %94 = getelementptr inbounds i8, ptr %93, i64 %92 store ptr %94, ptr %4, align 8 %95 = load ptr, ptr %4, align 8 %96 = load ptr, ptr %5, align 8 %97 = call ptr @strstr(ptr noundef %95, ptr noundef %96) store ptr %97, ptr %4, align 8 %98 = icmp ne ptr %97, null br i1 %98, label %75, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %75 br label %99 99: ; preds = %._crit_edge3, %70 br label %100 100: ; preds = %99, %69 br label %101 101: ; preds = %100, %36 %102 = load ptr, ptr %7, align 8 ret ptr %102 } declare i64 @strlen(ptr noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @memmove(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpqltceg8b.c' source_filename = "/tmp/tmpqltceg8b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [59 x i8] c"solving a random coefficient system with quad doubles ...\0A\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"solving the binomial start systems ...\0A\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c" -> found %d start solutions from cell %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [45 x i8] c"#start solutions equals mixed volume %d, OK\0A\00", align 1 @.str.4 = private unnamed_addr constant [52 x i8] c"#start solutions does not equal mixed volume %d!!!\0A\00", align 1 @.str.5 = private unnamed_addr constant [52 x i8] c"Total #start solutions : %d = %d mixed volume, OK.\0A\00", align 1 @.str.6 = private unnamed_addr constant [51 x i8] c"Total #start solutions : %d /= %d mixed volume!!!\0A\00", align 1 @.str.7 = private unnamed_addr constant [33 x i8] c"tracking the solution paths ...\0A\00", align 1 @.str.8 = private unnamed_addr constant [47 x i8] c"Tracking path %d corresponding to cell %d ...\0A\00", align 1 @.str.9 = private unnamed_addr constant [60 x i8] c"copying the target solutions to the solution container ...\0A\00", align 1 @.str.10 = private unnamed_addr constant [65 x i8] c"writing random coefficient system and its solutions to file ...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @solve_quaddobl_start_system(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = call i32 (...) @celcon_quaddobl_random_coefficient_system() store i32 %11, ptr %3, align 4 %12 = call i32 (...) @celcon_quaddobl_polyhedral_homotopy() store i32 %12, ptr %3, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %5, align 4 store i32 0, ptr %7, align 4 store i32 1, ptr %6, align 4 br label %14 14: ; preds = %42, %1 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp sle i32 %15, %16 br i1 %17, label %18, label %45 18: ; preds = %14 %19 = load i32, ptr %6, align 4 %20 = call i32 @celcon_solve_quaddobl_start_system(i32 noundef %19, ptr noundef %4) store i32 %20, ptr %3, align 4 %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %6, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %21, i32 noundef %22) %24 = load i32, ptr %6, align 4 %25 = call i32 @celcon_mixed_volume(i32 noundef %24, ptr noundef %8) store i32 %25, ptr %3, align 4 %26 = load i32, ptr %4, align 4 %27 = load i32, ptr %8, align 4 %28 = icmp eq i32 %26, %27 br i1 %28, label %29, label %32 29: ; preds = %18 %30 = load i32, ptr %8, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %30) br label %35 32: ; preds = %18 %33 = load i32, ptr %8, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %33) br label %35 35: ; preds = %32, %29 %36 = load i32, ptr %4, align 4 %37 = load i32, ptr %5, align 4 %38 = add nsw i32 %37, %36 store i32 %38, ptr %5, align 4 %39 = load i32, ptr %8, align 4 %40 = load i32, ptr %7, align 4 %41 = add nsw i32 %40, %39 store i32 %41, ptr %7, align 4 br label %42 42: ; preds = %35 %43 = load i32, ptr %6, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %6, align 4 br label %14, !llvm.loop !6 45: ; preds = %14 %46 = load i32, ptr %5, align 4 %47 = load i32, ptr %7, align 4 %48 = icmp eq i32 %46, %47 br i1 %48, label %49, label %53 49: ; preds = %45 %50 = load i32, ptr %5, align 4 %51 = load i32, ptr %7, align 4 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %50, i32 noundef %51) br label %57 53: ; preds = %45 %54 = load i32, ptr %5, align 4 %55 = load i32, ptr %7, align 4 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %54, i32 noundef %55) br label %57 57: ; preds = %53, %49 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 1, ptr %6, align 4 br label %59 59: ; preds = %81, %57 %60 = load i32, ptr %6, align 4 %61 = load i32, ptr %2, align 4 %62 = icmp sle i32 %60, %61 br i1 %62, label %63, label %84 63: ; preds = %59 %64 = load i32, ptr %6, align 4 %65 = call i32 @celcon_mixed_volume(i32 noundef %64, ptr noundef %8) store i32 %65, ptr %3, align 4 store i32 1, ptr %9, align 4 br label %66 66: ; preds = %77, %63 %67 = load i32, ptr %9, align 4 %68 = load i32, ptr %8, align 4 %69 = icmp sle i32 %67, %68 br i1 %69, label %70, label %80 70: ; preds = %66 %71 = load i32, ptr %9, align 4 %72 = load i32, ptr %6, align 4 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %71, i32 noundef %72) %74 = load i32, ptr %6, align 4 %75 = load i32, ptr %9, align 4 %76 = call i32 @celcon_track_quaddobl_solution_path(i32 noundef %74, i32 noundef %75, i32 noundef 0) store i32 %76, ptr %3, align 4 br label %77 77: ; preds = %70 %78 = load i32, ptr %9, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %9, align 4 br label %66, !llvm.loop !8 80: ; preds = %66 br label %81 81: ; preds = %80 %82 = load i32, ptr %6, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %6, align 4 br label %59, !llvm.loop !9 84: ; preds = %59 %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) store i32 1, ptr %6, align 4 br label %86 86: ; preds = %105, %84 %87 = load i32, ptr %6, align 4 %88 = load i32, ptr %2, align 4 %89 = icmp sle i32 %87, %88 br i1 %89, label %90, label %108 90: ; preds = %86 %91 = load i32, ptr %6, align 4 %92 = call i32 @celcon_mixed_volume(i32 noundef %91, ptr noundef %8) store i32 %92, ptr %3, align 4 store i32 1, ptr %9, align 4 br label %93 93: ; preds = %101, %90 %94 = load i32, ptr %9, align 4 %95 = load i32, ptr %8, align 4 %96 = icmp sle i32 %94, %95 br i1 %96, label %97, label %104 97: ; preds = %93 %98 = load i32, ptr %6, align 4 %99 = load i32, ptr %9, align 4 %100 = call i32 @celcon_copy_target_quaddobl_solution_to_container(i32 noundef %98, i32 noundef %99) store i32 %100, ptr %3, align 4 br label %101 101: ; preds = %97 %102 = load i32, ptr %9, align 4 %103 = add nsw i32 %102, 1 store i32 %103, ptr %9, align 4 br label %93, !llvm.loop !10 104: ; preds = %93 br label %105 105: ; preds = %104 %106 = load i32, ptr %6, align 4 %107 = add nsw i32 %106, 1 store i32 %107, ptr %6, align 4 br label %86, !llvm.loop !11 108: ; preds = %86 %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %110 = call i32 (...) @celcon_write_quaddobl_random_coefficient_system() store i32 %110, ptr %3, align 4 %111 = call i32 (...) @solcon_write_quaddobl_solutions() store i32 %111, ptr %3, align 4 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @celcon_quaddobl_random_coefficient_system(...) #1 declare i32 @celcon_quaddobl_polyhedral_homotopy(...) #1 declare i32 @celcon_solve_quaddobl_start_system(i32 noundef, ptr noundef) #1 declare i32 @celcon_mixed_volume(i32 noundef, ptr noundef) #1 declare i32 @celcon_track_quaddobl_solution_path(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @celcon_copy_target_quaddobl_solution_to_container(i32 noundef, i32 noundef) #1 declare i32 @celcon_write_quaddobl_random_coefficient_system(...) #1 declare i32 @solcon_write_quaddobl_solutions(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpqltceg8b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [59 x i8] c"solving a random coefficient system with quad doubles ...\0A\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"solving the binomial start systems ...\0A\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c" -> found %d start solutions from cell %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [45 x i8] c"#start solutions equals mixed volume %d, OK\0A\00", align 1 @.str.4 = private unnamed_addr constant [52 x i8] c"#start solutions does not equal mixed volume %d!!!\0A\00", align 1 @.str.5 = private unnamed_addr constant [52 x i8] c"Total #start solutions : %d = %d mixed volume, OK.\0A\00", align 1 @.str.6 = private unnamed_addr constant [51 x i8] c"Total #start solutions : %d /= %d mixed volume!!!\0A\00", align 1 @.str.7 = private unnamed_addr constant [33 x i8] c"tracking the solution paths ...\0A\00", align 1 @.str.8 = private unnamed_addr constant [47 x i8] c"Tracking path %d corresponding to cell %d ...\0A\00", align 1 @.str.9 = private unnamed_addr constant [60 x i8] c"copying the target solutions to the solution container ...\0A\00", align 1 @.str.10 = private unnamed_addr constant [65 x i8] c"writing random coefficient system and its solutions to file ...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @solve_quaddobl_start_system(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = call i32 (...) @celcon_quaddobl_random_coefficient_system() store i32 %11, ptr %3, align 4 %12 = call i32 (...) @celcon_quaddobl_polyhedral_homotopy() store i32 %12, ptr %3, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %5, align 4 store i32 0, ptr %7, align 4 store i32 1, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp sle i32 %14, %15 br i1 %16, label %.lr.ph, label %47 .lr.ph: ; preds = %1 br label %17 17: ; preds = %.lr.ph, %41 %18 = load i32, ptr %6, align 4 %19 = call i32 @celcon_solve_quaddobl_start_system(i32 noundef %18, ptr noundef %4) store i32 %19, ptr %3, align 4 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %6, align 4 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20, i32 noundef %21) %23 = load i32, ptr %6, align 4 %24 = call i32 @celcon_mixed_volume(i32 noundef %23, ptr noundef %8) store i32 %24, ptr %3, align 4 %25 = load i32, ptr %4, align 4 %26 = load i32, ptr %8, align 4 %27 = icmp eq i32 %25, %26 br i1 %27, label %28, label %31 28: ; preds = %17 %29 = load i32, ptr %8, align 4 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %29) br label %34 31: ; preds = %17 %32 = load i32, ptr %8, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %32) br label %34 34: ; preds = %31, %28 %35 = load i32, ptr %4, align 4 %36 = load i32, ptr %5, align 4 %37 = add nsw i32 %36, %35 store i32 %37, ptr %5, align 4 %38 = load i32, ptr %8, align 4 %39 = load i32, ptr %7, align 4 %40 = add nsw i32 %39, %38 store i32 %40, ptr %7, align 4 br label %41 41: ; preds = %34 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %6, align 4 %44 = load i32, ptr %6, align 4 %45 = load i32, ptr %2, align 4 %46 = icmp sle i32 %44, %45 br i1 %46, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %47 47: ; preds = %._crit_edge, %1 %48 = load i32, ptr %5, align 4 %49 = load i32, ptr %7, align 4 %50 = icmp eq i32 %48, %49 br i1 %50, label %51, label %55 51: ; preds = %47 %52 = load i32, ptr %5, align 4 %53 = load i32, ptr %7, align 4 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %52, i32 noundef %53) br label %59 55: ; preds = %47 %56 = load i32, ptr %5, align 4 %57 = load i32, ptr %7, align 4 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %56, i32 noundef %57) br label %59 59: ; preds = %55, %51 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 1, ptr %6, align 4 %61 = load i32, ptr %6, align 4 %62 = load i32, ptr %2, align 4 %63 = icmp sle i32 %61, %62 br i1 %63, label %.lr.ph5, label %90 .lr.ph5: ; preds = %59 br label %64 64: ; preds = %.lr.ph5, %84 %65 = load i32, ptr %6, align 4 %66 = call i32 @celcon_mixed_volume(i32 noundef %65, ptr noundef %8) store i32 %66, ptr %3, align 4 store i32 1, ptr %9, align 4 %67 = load i32, ptr %9, align 4 %68 = load i32, ptr %8, align 4 %69 = icmp sle i32 %67, %68 br i1 %69, label %.lr.ph2, label %83 .lr.ph2: ; preds = %64 br label %70 70: ; preds = %.lr.ph2, %77 %71 = load i32, ptr %9, align 4 %72 = load i32, ptr %6, align 4 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %71, i32 noundef %72) %74 = load i32, ptr %6, align 4 %75 = load i32, ptr %9, align 4 %76 = call i32 @celcon_track_quaddobl_solution_path(i32 noundef %74, i32 noundef %75, i32 noundef 0) store i32 %76, ptr %3, align 4 br label %77 77: ; preds = %70 %78 = load i32, ptr %9, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %9, align 4 %80 = load i32, ptr %9, align 4 %81 = load i32, ptr %8, align 4 %82 = icmp sle i32 %80, %81 br i1 %82, label %70, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %77 br label %83 83: ; preds = %._crit_edge3, %64 br label %84 84: ; preds = %83 %85 = load i32, ptr %6, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %6, align 4 %87 = load i32, ptr %6, align 4 %88 = load i32, ptr %2, align 4 %89 = icmp sle i32 %87, %88 br i1 %89, label %64, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %84 br label %90 90: ; preds = %._crit_edge6, %59 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) store i32 1, ptr %6, align 4 %92 = load i32, ptr %6, align 4 %93 = load i32, ptr %2, align 4 %94 = icmp sle i32 %92, %93 br i1 %94, label %.lr.ph11, label %118 .lr.ph11: ; preds = %90 br label %95 95: ; preds = %.lr.ph11, %112 %96 = load i32, ptr %6, align 4 %97 = call i32 @celcon_mixed_volume(i32 noundef %96, ptr noundef %8) store i32 %97, ptr %3, align 4 store i32 1, ptr %9, align 4 %98 = load i32, ptr %9, align 4 %99 = load i32, ptr %8, align 4 %100 = icmp sle i32 %98, %99 br i1 %100, label %.lr.ph8, label %111 .lr.ph8: ; preds = %95 br label %101 101: ; preds = %.lr.ph8, %105 %102 = load i32, ptr %6, align 4 %103 = load i32, ptr %9, align 4 %104 = call i32 @celcon_copy_target_quaddobl_solution_to_container(i32 noundef %102, i32 noundef %103) store i32 %104, ptr %3, align 4 br label %105 105: ; preds = %101 %106 = load i32, ptr %9, align 4 %107 = add nsw i32 %106, 1 store i32 %107, ptr %9, align 4 %108 = load i32, ptr %9, align 4 %109 = load i32, ptr %8, align 4 %110 = icmp sle i32 %108, %109 br i1 %110, label %101, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %105 br label %111 111: ; preds = %._crit_edge9, %95 br label %112 112: ; preds = %111 %113 = load i32, ptr %6, align 4 %114 = add nsw i32 %113, 1 store i32 %114, ptr %6, align 4 %115 = load i32, ptr %6, align 4 %116 = load i32, ptr %2, align 4 %117 = icmp sle i32 %115, %116 br i1 %117, label %95, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %112 br label %118 118: ; preds = %._crit_edge12, %90 %119 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %120 = call i32 (...) @celcon_write_quaddobl_random_coefficient_system() store i32 %120, ptr %3, align 4 %121 = call i32 (...) @solcon_write_quaddobl_solutions() store i32 %121, ptr %3, align 4 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @celcon_quaddobl_random_coefficient_system(...) #1 declare i32 @celcon_quaddobl_polyhedral_homotopy(...) #1 declare i32 @celcon_solve_quaddobl_start_system(i32 noundef, ptr noundef) #1 declare i32 @celcon_mixed_volume(i32 noundef, ptr noundef) #1 declare i32 @celcon_track_quaddobl_solution_path(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @celcon_copy_target_quaddobl_solution_to_container(i32 noundef, i32 noundef) #1 declare i32 @celcon_write_quaddobl_random_coefficient_system(...) #1 declare i32 @solcon_write_quaddobl_solutions(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpqjxkog6_.c' source_filename = "/tmp/tmpqjxkog6_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dnbinom_precalc_f(i32 noundef %0, float noundef %1, float noundef %2, float noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 store i32 %0, ptr %5, align 4 store float %1, ptr %6, align 4 store float %2, ptr %7, align 4 store float %3, ptr %8, align 4 %13 = load float, ptr %8, align 4 store float %13, ptr %9, align 4 %14 = load float, ptr %7, align 4 %15 = fptosi float %14 to i32 %16 = call float @logf(i32 noundef %15) %17 = load i32, ptr %5, align 4 %18 = uitofp i32 %17 to float %19 = fmul float %16, %18 store float %19, ptr %10, align 4 %20 = load float, ptr %7, align 4 %21 = fsub float 1.000000e+00, %20 %22 = fptosi float %21 to i32 %23 = call float @logf(i32 noundef %22) %24 = load float, ptr %6, align 4 %25 = fmul float %23, %24 store float %25, ptr %11, align 4 %26 = load float, ptr %9, align 4 %27 = load float, ptr %10, align 4 %28 = fadd float %26, %27 %29 = load float, ptr %11, align 4 %30 = fadd float %28, %29 %31 = call float @expf(float noundef %30) #3 store float %31, ptr %12, align 4 %32 = load float, ptr %12, align 4 %33 = call i32 @isnan(float noundef %32) %34 = icmp ne i32 %33, 0 %35 = xor i1 %34, true %36 = zext i1 %35 to i32 %37 = call i32 @assert(i32 noundef %36) %38 = load float, ptr %12, align 4 ret float %38 } declare float @logf(i32 noundef) #1 ; Function Attrs: nounwind declare float @expf(float noundef) #2 declare i32 @assert(i32 noundef) #1 declare i32 @isnan(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqjxkog6_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dnbinom_precalc_f(i32 noundef %0, float noundef %1, float noundef %2, float noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 store i32 %0, ptr %5, align 4 store float %1, ptr %6, align 4 store float %2, ptr %7, align 4 store float %3, ptr %8, align 4 %13 = load float, ptr %8, align 4 store float %13, ptr %9, align 4 %14 = load float, ptr %7, align 4 %15 = fptosi float %14 to i32 %16 = call float @logf(i32 noundef %15) %17 = load i32, ptr %5, align 4 %18 = uitofp i32 %17 to float %19 = fmul float %16, %18 store float %19, ptr %10, align 4 %20 = load float, ptr %7, align 4 %21 = fsub float 1.000000e+00, %20 %22 = fptosi float %21 to i32 %23 = call float @logf(i32 noundef %22) %24 = load float, ptr %6, align 4 %25 = fmul float %23, %24 store float %25, ptr %11, align 4 %26 = load float, ptr %9, align 4 %27 = load float, ptr %10, align 4 %28 = fadd float %26, %27 %29 = load float, ptr %11, align 4 %30 = fadd float %28, %29 %31 = call float @expf(float noundef %30) #3 store float %31, ptr %12, align 4 %32 = load float, ptr %12, align 4 %33 = call i32 @isnan(float noundef %32) %34 = icmp ne i32 %33, 0 %35 = xor i1 %34, true %36 = zext i1 %35 to i32 %37 = call i32 @assert(i32 noundef %36) %38 = load float, ptr %12, align 4 ret float %38 } declare float @logf(i32 noundef) #1 ; Function Attrs: nounwind declare float @expf(float noundef) #2 declare i32 @assert(i32 noundef) #1 declare i32 @isnan(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7q5td4q3.c' source_filename = "/tmp/tmp7q5td4q3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @resize_img(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 @destroy_img(ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call i32 @create_img(ptr noundef %5) ret void } declare i32 @destroy_img(ptr noundef) #1 declare i32 @create_img(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7q5td4q3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @resize_img(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 @destroy_img(ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call i32 @create_img(ptr noundef %5) ret void } declare i32 @destroy_img(ptr noundef) #1 declare i32 @create_img(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjzp7o56a.c' source_filename = "/tmp/tmpjzp7o56a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"basic_op\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"int\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"float\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"long\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"double\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [49 x i8] c"ERROR: check you are using a valid data type...\0A\00", align 1 @.str.6 = private unnamed_addr constant [22 x i8] c"Not implemented yet.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @bench_level0(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load ptr, ptr %5, align 8 %10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str) %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %51 12: ; preds = %4 %13 = load ptr, ptr %8, align 8 %14 = call i64 @strcmp(ptr noundef %13, ptr noundef @.str.1) %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %20 16: ; preds = %12 %17 = load ptr, ptr %7, align 8 %18 = load i64, ptr %6, align 8 %19 = call i32 @int_basic_op(ptr noundef %17, i64 noundef %18) br label %50 20: ; preds = %12 %21 = load ptr, ptr %8, align 8 %22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str.2) %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %28 24: ; preds = %20 %25 = load ptr, ptr %7, align 8 %26 = load i64, ptr %6, align 8 %27 = call i32 @float_basic_op(ptr noundef %25, i64 noundef %26) br label %49 28: ; preds = %20 %29 = load ptr, ptr %8, align 8 %30 = call i64 @strcmp(ptr noundef %29, ptr noundef @.str.3) %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %36 32: ; preds = %28 %33 = load ptr, ptr %7, align 8 %34 = load i64, ptr %6, align 8 %35 = call i32 @long_basic_op(ptr noundef %33, i64 noundef %34) br label %48 36: ; preds = %28 %37 = load ptr, ptr %8, align 8 %38 = call i64 @strcmp(ptr noundef %37, ptr noundef @.str.4) %39 = icmp eq i64 %38, 0 br i1 %39, label %40, label %44 40: ; preds = %36 %41 = load ptr, ptr %7, align 8 %42 = load i64, ptr %6, align 8 %43 = call i32 @double_basic_op(ptr noundef %41, i64 noundef %42) br label %47 44: ; preds = %36 %45 = load i32, ptr @stderr, align 4 %46 = call i32 @fprintf(i32 noundef %45, ptr noundef @.str.5) br label %47 47: ; preds = %44, %40 br label %48 48: ; preds = %47, %32 br label %49 49: ; preds = %48, %24 br label %50 50: ; preds = %49, %16 br label %53 51: ; preds = %4 %52 = call i32 @printf(ptr noundef @.str.6) br label %53 53: ; preds = %51, %50 ret void } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @int_basic_op(ptr noundef, i64 noundef) #1 declare i32 @float_basic_op(ptr noundef, i64 noundef) #1 declare i32 @long_basic_op(ptr noundef, i64 noundef) #1 declare i32 @double_basic_op(ptr noundef, i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjzp7o56a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"basic_op\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"int\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"float\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"long\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"double\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [49 x i8] c"ERROR: check you are using a valid data type...\0A\00", align 1 @.str.6 = private unnamed_addr constant [22 x i8] c"Not implemented yet.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @bench_level0(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load ptr, ptr %5, align 8 %10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str) %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %51 12: ; preds = %4 %13 = load ptr, ptr %8, align 8 %14 = call i64 @strcmp(ptr noundef %13, ptr noundef @.str.1) %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %20 16: ; preds = %12 %17 = load ptr, ptr %7, align 8 %18 = load i64, ptr %6, align 8 %19 = call i32 @int_basic_op(ptr noundef %17, i64 noundef %18) br label %50 20: ; preds = %12 %21 = load ptr, ptr %8, align 8 %22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str.2) %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %28 24: ; preds = %20 %25 = load ptr, ptr %7, align 8 %26 = load i64, ptr %6, align 8 %27 = call i32 @float_basic_op(ptr noundef %25, i64 noundef %26) br label %49 28: ; preds = %20 %29 = load ptr, ptr %8, align 8 %30 = call i64 @strcmp(ptr noundef %29, ptr noundef @.str.3) %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %36 32: ; preds = %28 %33 = load ptr, ptr %7, align 8 %34 = load i64, ptr %6, align 8 %35 = call i32 @long_basic_op(ptr noundef %33, i64 noundef %34) br label %48 36: ; preds = %28 %37 = load ptr, ptr %8, align 8 %38 = call i64 @strcmp(ptr noundef %37, ptr noundef @.str.4) %39 = icmp eq i64 %38, 0 br i1 %39, label %40, label %44 40: ; preds = %36 %41 = load ptr, ptr %7, align 8 %42 = load i64, ptr %6, align 8 %43 = call i32 @double_basic_op(ptr noundef %41, i64 noundef %42) br label %47 44: ; preds = %36 %45 = load i32, ptr @stderr, align 4 %46 = call i32 @fprintf(i32 noundef %45, ptr noundef @.str.5) br label %47 47: ; preds = %44, %40 br label %48 48: ; preds = %47, %32 br label %49 49: ; preds = %48, %24 br label %50 50: ; preds = %49, %16 br label %53 51: ; preds = %4 %52 = call i32 @printf(ptr noundef @.str.6) br label %53 53: ; preds = %51, %50 ret void } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @int_basic_op(ptr noundef, i64 noundef) #1 declare i32 @float_basic_op(ptr noundef, i64 noundef) #1 declare i32 @long_basic_op(ptr noundef, i64 noundef) #1 declare i32 @double_basic_op(ptr noundef, i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1vf1q9ky.c' source_filename = "/tmp/tmp1vf1q9ky.c" target datalayout = "e-m:e-p270: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/tmp1vf1q9ky.c" target datalayout = "e-m:e-p270: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/tmp9btc8jc2.c' source_filename = "/tmp/tmp9btc8jc2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DrawGameDoorValues() #0 { %1 = call i32 (...) @DisplayGameControlValues() ret void } declare i32 @DisplayGameControlValues(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9btc8jc2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DrawGameDoorValues() #0 { %1 = call i32 (...) @DisplayGameControlValues() ret void } declare i32 @DisplayGameControlValues(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp39ae1th8.c' source_filename = "/tmp/tmp39ae1th8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NID_commonName = dso_local global i32 0, align 4 @NID_pkcs9_challengePassword = dso_local global i32 0, align 4 @NID_pkcs9_emailAddress = dso_local global i32 0, align 4 @NID_pkcs9_unstructuredName = dso_local global i32 0, align 4 @V_ASN1_IA5STRING = dso_local global i32 0, align 4 @V_ASN1_T61STRING = 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/tmp39ae1th8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NID_commonName = dso_local global i32 0, align 4 @NID_pkcs9_challengePassword = dso_local global i32 0, align 4 @NID_pkcs9_emailAddress = dso_local global i32 0, align 4 @NID_pkcs9_unstructuredName = dso_local global i32 0, align 4 @V_ASN1_IA5STRING = dso_local global i32 0, align 4 @V_ASN1_T61STRING = 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/tmp1jqni29o.c' source_filename = "/tmp/tmp1jqni29o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findEqual(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %9 9: ; preds = %32, %3 %10 = load i32, ptr %8, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %35 13: ; preds = %9 %14 = load ptr, ptr %5, align 8 %15 = load i32, ptr %8, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds ptr, ptr %14, i64 %16 %18 = load ptr, ptr %17, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %20, label %31 20: ; preds = %13 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %8, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds ptr, ptr %21, i64 %23 %25 = load ptr, ptr %24, align 8 %26 = load ptr, ptr %6, align 8 %27 = call i64 @strcmp(ptr noundef %25, ptr noundef %26) %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %20 %30 = load i32, ptr %8, align 4 store i32 %30, ptr %4, align 4 br label %36 31: ; preds = %20, %13 br label %32 32: ; preds = %31 %33 = load i32, ptr %8, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %8, align 4 br label %9, !llvm.loop !6 35: ; preds = %9 store i32 -1, ptr %4, align 4 br label %36 36: ; preds = %35, %29 %37 = load i32, ptr %4, align 4 ret i32 %37 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1jqni29o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findEqual(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 0, ptr %8, align 4 %9 = load i32, ptr %8, align 4 %10 = load i32, ptr %7, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %37 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %31 %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %8, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds ptr, ptr %13, i64 %15 %17 = load ptr, ptr %16, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %30 19: ; preds = %12 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %8, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds ptr, ptr %20, i64 %22 %24 = load ptr, ptr %23, align 8 %25 = load ptr, ptr %6, align 8 %26 = call i64 @strcmp(ptr noundef %24, ptr noundef %25) %27 = icmp eq i64 %26, 0 br i1 %27, label %28, label %30 28: ; preds = %19 %29 = load i32, ptr %8, align 4 store i32 %29, ptr %4, align 4 br label %38 30: ; preds = %19, %12 br label %31 31: ; preds = %30 %32 = load i32, ptr %8, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %8, align 4 %34 = load i32, ptr %8, align 4 %35 = load i32, ptr %7, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %37 37: ; preds = %._crit_edge, %3 store i32 -1, ptr %4, align 4 br label %38 38: ; preds = %37, %28 %39 = load i32, ptr %4, align 4 ret i32 %39 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpx_afng0r.c' source_filename = "/tmp/tmpx_afng0r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @WNOHANG = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sig_hand(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 br label %4 4: ; preds = %8, %1 %5 = load i32, ptr @WNOHANG, align 4 %6 = call i64 @waitpid(i32 noundef -1, ptr noundef %3, i32 noundef %5) %7 = icmp sgt i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %4 br label %4, !llvm.loop !6 9: ; preds = %4 ret void } declare i64 @waitpid(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx_afng0r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @WNOHANG = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sig_hand(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 br label %4 4: ; preds = %4, %1 %5 = load i32, ptr @WNOHANG, align 4 %6 = call i64 @waitpid(i32 noundef -1, ptr noundef %3, i32 noundef %5) %7 = icmp sgt i64 %6, 0 br i1 %7, label %4, label %8, !llvm.loop !6 8: ; preds = %4 ret void } declare i64 @waitpid(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpqgqzq8uq.c' source_filename = "/tmp/tmpqgqzq8uq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @e_bmi_branch() #0 { %1 = call i32 (...) @e_branch() %2 = call i32 (...) @e_bmi() ret void } declare i32 @e_branch(...) #1 declare i32 @e_bmi(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqgqzq8uq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @e_bmi_branch() #0 { %1 = call i32 (...) @e_branch() %2 = call i32 (...) @e_bmi() ret void } declare i32 @e_branch(...) #1 declare i32 @e_bmi(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}