llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp69rce3ho.c' source_filename = "/tmp/tmp69rce3ho.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @get_XEvent_xproperty_serial(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_4__, ptr %3, i32 0, i32 0 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0 %6 = load i64, ptr %5, align 8 ret i64 %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/tmp69rce3ho.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @get_XEvent_xproperty_serial(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_4__, ptr %3, i32 0, i32 0 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0 %6 = load i64, ptr %5, align 8 ret i64 %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/tmpre044uy_.c' source_filename = "/tmp/tmpre044uy_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %6, align 8 %14 = alloca double, i64 %12, align 16 store i64 %12, ptr %7, align 8 store i32 0, ptr %10, align 4 br label %15 15: ; preds = %25, %2 %16 = load i32, ptr %10, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %28 19: ; preds = %15 %20 = call double (...) @rand_double() %21 = call double @llvm.fmuladd.f64(double %20, double 2.000000e+04, double -1.000000e+04) %22 = load i32, ptr %10, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds double, ptr %14, i64 %23 store double %21, ptr %24, align 8 br label %25 25: ; preds = %19 %26 = load i32, ptr %10, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %10, align 4 br label %15, !llvm.loop !6 28: ; preds = %15 store double 0.000000e+00, ptr %8, align 8 %29 = call double (...) @tic() store double %29, ptr %9, align 8 store i32 0, ptr %10, align 4 br label %30 30: ; preds = %43, %28 %31 = load i32, ptr %10, align 4 %32 = load i32, ptr %3, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %46 34: ; preds = %30 %35 = load i32, ptr %4, align 4 %36 = call double @stdlib_strided_dstdevpn(i32 noundef %35, double noundef 1.000000e+00, ptr noundef %14, i32 noundef 1) store double %36, ptr %8, align 8 %37 = load double, ptr %8, align 8 %38 = load double, ptr %8, align 8 %39 = fcmp une double %37, %38 br i1 %39, label %40, label %42 40: ; preds = %34 %41 = call i32 @printf(ptr noundef @.str) br label %46 42: ; preds = %34 br label %43 43: ; preds = %42 %44 = load i32, ptr %10, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %10, align 4 br label %30, !llvm.loop !8 46: ; preds = %40, %30 %47 = call double (...) @tic() %48 = load double, ptr %9, align 8 %49 = fsub double %47, %48 store double %49, ptr %5, align 8 %50 = load double, ptr %8, align 8 %51 = load double, ptr %8, align 8 %52 = fcmp une double %50, %51 br i1 %52, label %53, label %55 53: ; preds = %46 %54 = call i32 @printf(ptr noundef @.str) br label %55 55: ; preds = %53, %46 %56 = load double, ptr %5, align 8 %57 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %57) ret double %56 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare double @rand_double(...) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare double @tic(...) #2 declare double @stdlib_strided_dstdevpn(i32 noundef, double noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpre044uy_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %6, align 8 %14 = alloca double, i64 %12, align 16 store i64 %12, ptr %7, align 8 store i32 0, ptr %10, align 4 %15 = load i32, ptr %10, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %30 .lr.ph: ; preds = %2 br label %18 18: ; preds = %.lr.ph, %24 %19 = call double (...) @rand_double() %20 = call double @llvm.fmuladd.f64(double %19, double 2.000000e+04, double -1.000000e+04) %21 = load i32, ptr %10, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds double, ptr %14, i64 %22 store double %20, ptr %23, align 8 br label %24 24: ; preds = %18 %25 = load i32, ptr %10, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %10, align 4 %27 = load i32, ptr %10, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %30 30: ; preds = %._crit_edge, %2 store double 0.000000e+00, ptr %8, align 8 %31 = call double (...) @tic() store double %31, ptr %9, align 8 store i32 0, ptr %10, align 4 %32 = load i32, ptr %10, align 4 %33 = load i32, ptr %3, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %30 br label %35 35: ; preds = %.lr.ph2, %44 %36 = load i32, ptr %4, align 4 %37 = call double @stdlib_strided_dstdevpn(i32 noundef %36, double noundef 1.000000e+00, ptr noundef %14, i32 noundef 1) store double %37, ptr %8, align 8 %38 = load double, ptr %8, align 8 %39 = load double, ptr %8, align 8 %40 = fcmp une double %38, %39 br i1 %40, label %41, label %43 41: ; preds = %35 %42 = call i32 @printf(ptr noundef @.str) br label %50 43: ; preds = %35 br label %44 44: ; preds = %43 %45 = load i32, ptr %10, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %10, align 4 %47 = load i32, ptr %10, align 4 %48 = load i32, ptr %3, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %35, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %44 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %30 br label %50 50: ; preds = %.loopexit, %41 %51 = call double (...) @tic() %52 = load double, ptr %9, align 8 %53 = fsub double %51, %52 store double %53, ptr %5, align 8 %54 = load double, ptr %8, align 8 %55 = load double, ptr %8, align 8 %56 = fcmp une double %54, %55 br i1 %56, label %57, label %59 57: ; preds = %50 %58 = call i32 @printf(ptr noundef @.str) br label %59 59: ; preds = %57, %50 %60 = load double, ptr %5, align 8 %61 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %61) ret double %60 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare double @rand_double(...) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare double @tic(...) #2 declare double @stdlib_strided_dstdevpn(i32 noundef, double noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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}
; ModuleID = '/tmp/tmp33mu_v14.c' source_filename = "/tmp/tmp33mu_v14.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pthread_create_opaque(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = load ptr, ptr %7, align 8 %12 = call i32 @pthread_create(ptr noundef %9, ptr noundef null, ptr noundef %10, ptr noundef %11) %13 = load ptr, ptr %8, align 8 store i32 %12, ptr %13, align 4 ret void } declare i32 @pthread_create(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/tmp33mu_v14.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pthread_create_opaque(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = load ptr, ptr %7, align 8 %12 = call i32 @pthread_create(ptr noundef %9, ptr noundef null, ptr noundef %10, ptr noundef %11) %13 = load ptr, ptr %8, align 8 store i32 %12, ptr %13, align 4 ret void } declare i32 @pthread_create(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/tmpx758vmq0.c' source_filename = "/tmp/tmpx758vmq0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_INET = dso_local global i32 0, align 4 @EINPROGRESS = 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/tmpx758vmq0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_INET = dso_local global i32 0, align 4 @EINPROGRESS = 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/tmpbrab2jef.c' source_filename = "/tmp/tmpbrab2jef.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [61 x i8] c"\0AI'm sorry, I didn't recognize your input; please try again.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @displayBadInputMessage() #0 { %1 = call i32 @puts(ptr noundef @.str) ret void } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbrab2jef.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [61 x i8] c"\0AI'm sorry, I didn't recognize your input; please try again.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @displayBadInputMessage() #0 { %1 = call i32 @puts(ptr noundef @.str) ret void } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmzartdp0.c' source_filename = "/tmp/tmpmzartdp0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"ERROR %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @create_file(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [2 x ptr], align 16 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = call i32 (...) @fork() store i32 %7, ptr %5, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = load i32, ptr %5, align 4 ret i32 %10 11: ; preds = %2 %12 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 0 %13 = load ptr, ptr %3, align 8 store ptr %13, ptr %12, align 8 %14 = getelementptr inbounds ptr, ptr %12, i64 1 store ptr null, ptr %14, align 8 %15 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 0 %16 = load ptr, ptr %15, align 16 %17 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 0 %18 = call i32 @execvp(ptr noundef %16, ptr noundef %17) %19 = load i32, ptr @stderr, align 4 %20 = load i32, ptr @errno, align 4 %21 = call ptr @strerror(i32 noundef %20) %22 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str, ptr noundef %21) %23 = call i32 (...) @abort() #3 unreachable } declare i32 @fork(...) #1 declare i32 @execvp(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 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/tmpmzartdp0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"ERROR %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @create_file(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [2 x ptr], align 16 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = call i32 (...) @fork() store i32 %7, ptr %5, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = load i32, ptr %5, align 4 ret i32 %10 11: ; preds = %2 %12 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 0 %13 = load ptr, ptr %3, align 8 store ptr %13, ptr %12, align 8 %14 = getelementptr inbounds ptr, ptr %12, i64 1 store ptr null, ptr %14, align 8 %15 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 0 %16 = load ptr, ptr %15, align 16 %17 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 0 %18 = call i32 @execvp(ptr noundef %16, ptr noundef %17) %19 = load i32, ptr @stderr, align 4 %20 = load i32, ptr @errno, align 4 %21 = call ptr @strerror(i32 noundef %20) %22 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str, ptr noundef %21) %23 = call i32 (...) @abort() #3 unreachable } declare i32 @fork(...) #1 declare i32 @execvp(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 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/tmp9dgdh9hq.c' source_filename = "/tmp/tmp9dgdh9hq.c" target datalayout = "e-m:e-p270: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/tmp9dgdh9hq.c" target datalayout = "e-m:e-p270: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/tmp3oflppri.c' source_filename = "/tmp/tmp3oflppri.c" target datalayout = "e-m:e-p270: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/tmp3oflppri.c" target datalayout = "e-m:e-p270: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/tmphdkqqdlq.c' source_filename = "/tmp/tmphdkqqdlq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__glTexParameterfv_size(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 switch i32 %4, label %9 [ i32 129, label %5 i32 128, label %5 i32 130, label %5 i32 133, label %5 i32 136, label %5 i32 137, label %6 i32 131, label %7 i32 132, label %8 i32 134, label %8 i32 138, label %8 i32 135, label %8 ] 5: ; preds = %1, %1, %1, %1, %1 store i32 1, ptr %2, align 4 br label %10 6: ; preds = %1 store i32 4, ptr %2, align 4 br label %10 7: ; preds = %1 store i32 1, ptr %2, align 4 br label %10 8: ; preds = %1, %1, %1, %1 store i32 1, ptr %2, align 4 br label %10 9: ; preds = %1 store i32 0, ptr %2, align 4 br label %10 10: ; preds = %9, %8, %7, %6, %5 %11 = load i32, ptr %2, align 4 ret i32 %11 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphdkqqdlq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__glTexParameterfv_size(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 switch i32 %4, label %9 [ i32 129, label %5 i32 128, label %5 i32 130, label %5 i32 133, label %5 i32 136, label %5 i32 137, label %6 i32 131, label %7 i32 132, label %8 i32 134, label %8 i32 138, label %8 i32 135, label %8 ] 5: ; preds = %1, %1, %1, %1, %1 store i32 1, ptr %2, align 4 br label %10 6: ; preds = %1 store i32 4, ptr %2, align 4 br label %10 7: ; preds = %1 store i32 1, ptr %2, align 4 br label %10 8: ; preds = %1, %1, %1, %1 store i32 1, ptr %2, align 4 br label %10 9: ; preds = %1 store i32 0, ptr %2, align 4 br label %10 10: ; preds = %9, %8, %7, %6, %5 %11 = load i32, ptr %2, align 4 ret i32 %11 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvlbstdgz.c' source_filename = "/tmp/tmpvlbstdgz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"\0AOnly %.2f%% of your guesses were correct\0A\00", align 1 @.str.1 = private unnamed_addr constant [43 x i8] c"Please ask your instructor for extra help\0A\00", align 1 @.str.2 = private unnamed_addr constant [54 x i8] c"\0ACongratulations %.2f%% of your guesses were correct\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @askQuestions(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 float, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %3, align 4 br label %8 8: ; preds = %22, %1 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %25 12: ; preds = %8 %13 = call i32 (...) @getRandomNum() store i32 %13, ptr %4, align 4 %14 = call i32 (...) @getRandomNum() store i32 %14, ptr %5, align 4 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %5, align 4 %17 = call i64 @answerTheQuestion(i32 noundef %15, i32 noundef %16) %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = add nsw i64 %19, %17 %21 = trunc i64 %20 to i32 store i32 %21, ptr %6, align 4 br label %22 22: ; preds = %12 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %3, align 4 br label %8, !llvm.loop !6 25: ; preds = %8 %26 = load i32, ptr %6, align 4 %27 = sitofp i32 %26 to double %28 = fadd double 1.000000e+01, %27 %29 = fdiv double 1.000000e+01, %28 %30 = fmul double %29, 1.000000e+02 %31 = fptrunc double %30 to float store float %31, ptr %7, align 4 %32 = load float, ptr %7, align 4 %33 = fpext float %32 to double %34 = fcmp olt double %33, 7.500000e+01 br i1 %34, label %35, label %40 35: ; preds = %25 %36 = load float, ptr %7, align 4 %37 = fpext float %36 to double %38 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %37) %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %44 40: ; preds = %25 %41 = load float, ptr %7, align 4 %42 = fpext float %41 to double %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %42) br label %44 44: ; preds = %40, %35 ret void } declare i32 @getRandomNum(...) #1 declare i64 @answerTheQuestion(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvlbstdgz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"\0AOnly %.2f%% of your guesses were correct\0A\00", align 1 @.str.1 = private unnamed_addr constant [43 x i8] c"Please ask your instructor for extra help\0A\00", align 1 @.str.2 = private unnamed_addr constant [54 x i8] c"\0ACongratulations %.2f%% of your guesses were correct\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @askQuestions(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 float, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %27 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %21 %12 = call i32 (...) @getRandomNum() store i32 %12, ptr %4, align 4 %13 = call i32 (...) @getRandomNum() store i32 %13, ptr %5, align 4 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %5, align 4 %16 = call i64 @answerTheQuestion(i32 noundef %14, i32 noundef %15) %17 = load i32, ptr %6, align 4 %18 = sext i32 %17 to i64 %19 = add nsw i64 %18, %16 %20 = trunc i64 %19 to i32 store i32 %20, ptr %6, align 4 br label %21 21: ; preds = %11 %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 = load i32, ptr %2, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %27 27: ; preds = %._crit_edge, %1 %28 = load i32, ptr %6, align 4 %29 = sitofp i32 %28 to double %30 = fadd double 1.000000e+01, %29 %31 = fdiv double 1.000000e+01, %30 %32 = fmul double %31, 1.000000e+02 %33 = fptrunc double %32 to float store float %33, ptr %7, align 4 %34 = load float, ptr %7, align 4 %35 = fpext float %34 to double %36 = fcmp olt double %35, 7.500000e+01 br i1 %36, label %37, label %42 37: ; preds = %27 %38 = load float, ptr %7, align 4 %39 = fpext float %38 to double %40 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %39) %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %46 42: ; preds = %27 %43 = load float, ptr %7, align 4 %44 = fpext float %43 to double %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %44) br label %46 46: ; preds = %42, %37 ret void } declare i32 @getRandomNum(...) #1 declare i64 @answerTheQuestion(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpw9jodpye.c' source_filename = "/tmp/tmpw9jodpye.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ICPrintParents(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = srem i32 %3, 3 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = call i32 (...) @ICPrintMama() br label %8 8: ; preds = %6, %1 %9 = load i32, ptr %2, align 4 %10 = srem i32 %9, 5 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %8 %13 = call i32 (...) @ICPrintPapa() br label %14 14: ; preds = %12, %8 %15 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @ICPrintMama(...) #1 declare i32 @ICPrintPapa(...) #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/tmpw9jodpye.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ICPrintParents(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = srem i32 %3, 3 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = call i32 (...) @ICPrintMama() br label %8 8: ; preds = %6, %1 %9 = load i32, ptr %2, align 4 %10 = srem i32 %9, 5 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %8 %13 = call i32 (...) @ICPrintPapa() br label %14 14: ; preds = %12, %8 %15 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @ICPrintMama(...) #1 declare i32 @ICPrintPapa(...) #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/tmpjsk4fd2q.c' source_filename = "/tmp/tmpjsk4fd2q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mmio_le_readw(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 @mmio_readw(ptr noundef %3) ret i32 %4 } declare i32 @mmio_readw(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjsk4fd2q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mmio_le_readw(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 @mmio_readw(ptr noundef %3) ret i32 %4 } declare i32 @mmio_readw(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9eadj5p1.c' source_filename = "/tmp/tmp9eadj5p1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @makeServerSocket(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.sockaddr_in, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %7 = load i32, ptr @AF_INET, align 4 %8 = load i32, ptr @SOCK_STREAM, align 4 %9 = call i32 @socket(i32 noundef %7, i32 noundef %8, i32 noundef 0) store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp sge i32 %10, 0 %12 = zext i1 %11 to i32 %13 = call i32 @assert(i32 noundef %12) %14 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 12) %15 = load i32, ptr @AF_INET, align 4 %16 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2 store i32 %15, ptr %16, align 4 %17 = load i32, ptr @INADDR_ANY, align 4 %18 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1 %19 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i32 0, i32 0 store i32 %17, ptr %19, align 4 %20 = load i32, ptr %2, align 4 %21 = call i32 @htons(i32 noundef %20) %22 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0 store i32 %21, ptr %22, align 4 store i32 1, ptr %5, align 4 %23 = load i32, ptr %3, align 4 %24 = load i32, ptr @SOL_SOCKET, align 4 %25 = load i32, ptr @SO_REUSEADDR, align 4 %26 = call i32 @setsockopt(i32 noundef %23, i32 noundef %24, i32 noundef %25, ptr noundef %5, i32 noundef 4) %27 = load i32, ptr %3, align 4 %28 = call i32 @bind(i32 noundef %27, ptr noundef %4, i32 noundef 12) store i32 %28, ptr %6, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp sge i32 %29, 0 %31 = zext i1 %30 to i32 %32 = call i32 @assert(i32 noundef %31) %33 = load i32, ptr %3, align 4 ret i32 %33 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @bind(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/tmp9eadj5p1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @makeServerSocket(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.sockaddr_in, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %7 = load i32, ptr @AF_INET, align 4 %8 = load i32, ptr @SOCK_STREAM, align 4 %9 = call i32 @socket(i32 noundef %7, i32 noundef %8, i32 noundef 0) store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp sge i32 %10, 0 %12 = zext i1 %11 to i32 %13 = call i32 @assert(i32 noundef %12) %14 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 12) %15 = load i32, ptr @AF_INET, align 4 %16 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2 store i32 %15, ptr %16, align 4 %17 = load i32, ptr @INADDR_ANY, align 4 %18 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1 %19 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i32 0, i32 0 store i32 %17, ptr %19, align 4 %20 = load i32, ptr %2, align 4 %21 = call i32 @htons(i32 noundef %20) %22 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0 store i32 %21, ptr %22, align 4 store i32 1, ptr %5, align 4 %23 = load i32, ptr %3, align 4 %24 = load i32, ptr @SOL_SOCKET, align 4 %25 = load i32, ptr @SO_REUSEADDR, align 4 %26 = call i32 @setsockopt(i32 noundef %23, i32 noundef %24, i32 noundef %25, ptr noundef %5, i32 noundef 4) %27 = load i32, ptr %3, align 4 %28 = call i32 @bind(i32 noundef %27, ptr noundef %4, i32 noundef 12) store i32 %28, ptr %6, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp sge i32 %29, 0 %31 = zext i1 %30 to i32 %32 = call i32 @assert(i32 noundef %31) %33 = load i32, ptr %3, align 4 ret i32 %33 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @bind(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/tmp8iqdemjg.c' source_filename = "/tmp/tmp8iqdemjg.c" target datalayout = "e-m:e-p270: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/tmp8iqdemjg.c" target datalayout = "e-m:e-p270: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/tmp0u9h_x0i.c' source_filename = "/tmp/tmp0u9h_x0i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @openDevice(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [4096 x i8], align 16 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 0 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 47 br i1 %12, label %13, label %35 13: ; preds = %1 %14 = load ptr, ptr %3, align 8 %15 = call ptr @strchr(ptr noundef %14, i8 noundef signext 58) store ptr %15, ptr %5, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %35 17: ; preds = %13 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 1 %20 = call i32 @atoi(ptr noundef %19) store i32 %20, ptr %7, align 4 %21 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %22 = call i32 @bzero(ptr noundef %21, i32 noundef 4096) %23 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %24 = load ptr, ptr %3, align 8 %25 = load ptr, ptr %5, align 8 %26 = load ptr, ptr %3, align 8 %27 = ptrtoint ptr %25 to i64 %28 = ptrtoint ptr %26 to i64 %29 = sub i64 %27, %28 %30 = trunc i64 %29 to i32 %31 = call i32 @strncpy(ptr noundef %23, ptr noundef %24, i32 noundef %30) %32 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %33 = load i32, ptr %7, align 4 %34 = call i32 @openCliSocket(ptr noundef %32, i32 noundef %33, i32 noundef 1) store i32 %34, ptr %4, align 4 br label %38 35: ; preds = %13, %1 %36 = load ptr, ptr %3, align 8 %37 = call i32 @opentty(ptr noundef %36) store i32 %37, ptr %4, align 4 br label %38 38: ; preds = %35, %17 %39 = load i32, ptr %4, align 4 %40 = icmp slt i32 %39, 0 br i1 %40, label %41, label %42 41: ; preds = %38 store i32 -1, ptr %2, align 4 br label %44 42: ; preds = %38 %43 = load i32, ptr %4, align 4 store i32 %43, ptr %2, align 4 br label %44 44: ; preds = %42, %41 %45 = load i32, ptr %2, align 4 ret i32 %45 } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @openCliSocket(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @opentty(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0u9h_x0i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @openDevice(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [4096 x i8], align 16 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 0 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 47 br i1 %12, label %13, label %35 13: ; preds = %1 %14 = load ptr, ptr %3, align 8 %15 = call ptr @strchr(ptr noundef %14, i8 noundef signext 58) store ptr %15, ptr %5, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %35 17: ; preds = %13 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 1 %20 = call i32 @atoi(ptr noundef %19) store i32 %20, ptr %7, align 4 %21 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %22 = call i32 @bzero(ptr noundef %21, i32 noundef 4096) %23 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %24 = load ptr, ptr %3, align 8 %25 = load ptr, ptr %5, align 8 %26 = load ptr, ptr %3, align 8 %27 = ptrtoint ptr %25 to i64 %28 = ptrtoint ptr %26 to i64 %29 = sub i64 %27, %28 %30 = trunc i64 %29 to i32 %31 = call i32 @strncpy(ptr noundef %23, ptr noundef %24, i32 noundef %30) %32 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %33 = load i32, ptr %7, align 4 %34 = call i32 @openCliSocket(ptr noundef %32, i32 noundef %33, i32 noundef 1) store i32 %34, ptr %4, align 4 br label %38 35: ; preds = %13, %1 %36 = load ptr, ptr %3, align 8 %37 = call i32 @opentty(ptr noundef %36) store i32 %37, ptr %4, align 4 br label %38 38: ; preds = %35, %17 %39 = load i32, ptr %4, align 4 %40 = icmp slt i32 %39, 0 br i1 %40, label %41, label %42 41: ; preds = %38 store i32 -1, ptr %2, align 4 br label %44 42: ; preds = %38 %43 = load i32, ptr %4, align 4 store i32 %43, ptr %2, align 4 br label %44 44: ; preds = %42, %41 %45 = load i32, ptr %2, align 4 ret i32 %45 } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @openCliSocket(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @opentty(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8ffyg7he.c' source_filename = "/tmp/tmp8ffyg7he.c" target datalayout = "e-m:e-p270: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/tmp8ffyg7he.c" target datalayout = "e-m:e-p270: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/tmpe4qbq0xe.c' source_filename = "/tmp/tmpe4qbq0xe.c" target datalayout = "e-m:e-p270: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/tmpe4qbq0xe.c" target datalayout = "e-m:e-p270: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/tmpd3kupkgl.c' source_filename = "/tmp/tmpd3kupkgl.c" target datalayout = "e-m:e-p270: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/tmpd3kupkgl.c" target datalayout = "e-m:e-p270: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/tmpvt0tlce0.c' source_filename = "/tmp/tmpvt0tlce0.c" target datalayout = "e-m:e-p270: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/tmpvt0tlce0.c" target datalayout = "e-m:e-p270: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/tmpeuj0tofn.c' source_filename = "/tmp/tmpeuj0tofn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @put_royakey(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 @output_char(i32 noundef %3) ret void } declare i32 @output_char(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/tmpeuj0tofn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @put_royakey(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 @output_char(i32 noundef %3) ret void } declare i32 @output_char(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/tmpbfysmsd7.c' source_filename = "/tmp/tmpbfysmsd7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PATH_MAX = dso_local global i32 0, align 4 @ENOENT = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 @ENOEXEC = dso_local global i64 0, align 8 @EFAULT = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @execvpe(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i32, align 4 %12 = alloca [4096 x ptr], align 16 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %15 = load i32, ptr @PATH_MAX, align 4 %16 = zext i32 %15 to i64 %17 = call ptr @llvm.stacksave() store ptr %17, ptr %9, align 8 %18 = alloca i8, i64 %16, align 16 store i64 %16, ptr %10, align 8 %19 = trunc i64 %16 to i32 %20 = load ptr, ptr %5, align 8 %21 = call i32 @resolve_path(ptr noundef %18, i32 noundef %19, ptr noundef %20) %22 = icmp ne i32 %21, 0 br i1 %22, label %25, label %23 23: ; preds = %3 %24 = load i32, ptr @ENOENT, align 4 store i32 %24, ptr %4, align 4 store i32 1, ptr %11, align 4 br label %78 25: ; preds = %3 %26 = load ptr, ptr %6, align 8 %27 = load ptr, ptr %7, align 8 %28 = call i32 @execve(ptr noundef %18, ptr noundef %26, ptr noundef %27) store i32 %28, ptr %8, align 4 %29 = load i32, ptr %8, align 4 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %76 31: ; preds = %25 %32 = load i64, ptr @errno, align 8 %33 = load i64, ptr @ENOEXEC, align 8 %34 = icmp eq i64 %32, %33 br i1 %34, label %35, label %76 35: ; preds = %31 %36 = getelementptr inbounds [4096 x ptr], ptr %12, i64 0, i64 0 store ptr %36, ptr %13, align 8 %37 = load ptr, ptr %6, align 8 store ptr %37, ptr %14, align 8 %38 = load ptr, ptr %14, align 8 %39 = load ptr, ptr %38, align 8 %40 = icmp eq ptr %39, null br i1 %40, label %41, label %43 41: ; preds = %35 %42 = load i32, ptr @EFAULT, align 4 store i32 %42, ptr %4, align 4 store i32 1, ptr %11, align 4 br label %78 43: ; preds = %35 %44 = load ptr, ptr %14, align 8 %45 = getelementptr inbounds ptr, ptr %44, i32 1 store ptr %45, ptr %14, align 8 %46 = load ptr, ptr %44, align 8 %47 = load ptr, ptr %13, align 8 %48 = getelementptr inbounds ptr, ptr %47, i32 1 store ptr %48, ptr %13, align 8 store ptr %46, ptr %47, align 8 %49 = load ptr, ptr %13, align 8 %50 = getelementptr inbounds ptr, ptr %49, i32 1 store ptr %50, ptr %13, align 8 store ptr %18, ptr %49, align 8 br label %51 51: ; preds = %64, %43 %52 = load ptr, ptr %14, align 8 %53 = load ptr, ptr %52, align 8 %54 = icmp ne ptr %53, null br i1 %54, label %55, label %70 55: ; preds = %51 %56 = load ptr, ptr %13, align 8 %57 = getelementptr inbounds [4096 x ptr], ptr %12, i64 0, i64 0 %58 = ptrtoint ptr %56 to i64 %59 = ptrtoint ptr %57 to i64 %60 = sub i64 %58, %59 %61 = sdiv exact i64 %60, 8 %62 = icmp sge i64 %61, 4096 br i1 %62, label %63, label %64 63: ; preds = %55 br label %70 64: ; preds = %55 %65 = load ptr, ptr %14, align 8 %66 = getelementptr inbounds ptr, ptr %65, i32 1 store ptr %66, ptr %14, align 8 %67 = load ptr, ptr %65, align 8 %68 = load ptr, ptr %13, align 8 %69 = getelementptr inbounds ptr, ptr %68, i32 1 store ptr %69, ptr %13, align 8 store ptr %67, ptr %68, align 8 br label %51, !llvm.loop !6 70: ; preds = %63, %51 %71 = load ptr, ptr %13, align 8 %72 = getelementptr inbounds ptr, ptr %71, i32 1 store ptr %72, ptr %13, align 8 store ptr null, ptr %71, align 8 %73 = getelementptr inbounds [4096 x ptr], ptr %12, i64 0, i64 0 %74 = load ptr, ptr %7, align 8 %75 = call i32 @execve(ptr noundef @.str, ptr noundef %73, ptr noundef %74) store i32 %75, ptr %8, align 4 br label %76 76: ; preds = %70, %31, %25 %77 = load i32, ptr %8, align 4 store i32 %77, ptr %4, align 4 store i32 1, ptr %11, align 4 br label %78 78: ; preds = %76, %41, %23 %79 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %79) %80 = load i32, ptr %4, align 4 ret i32 %80 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @resolve_path(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @execve(ptr noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbfysmsd7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PATH_MAX = dso_local global i32 0, align 4 @ENOENT = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 @ENOEXEC = dso_local global i64 0, align 8 @EFAULT = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @execvpe(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i32, align 4 %12 = alloca [4096 x ptr], align 16 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %15 = load i32, ptr @PATH_MAX, align 4 %16 = zext i32 %15 to i64 %17 = call ptr @llvm.stacksave() store ptr %17, ptr %9, align 8 %18 = alloca i8, i64 %16, align 16 store i64 %16, ptr %10, align 8 %19 = trunc i64 %16 to i32 %20 = load ptr, ptr %5, align 8 %21 = call i32 @resolve_path(ptr noundef %18, i32 noundef %19, ptr noundef %20) %22 = icmp ne i32 %21, 0 br i1 %22, label %25, label %23 23: ; preds = %3 %24 = load i32, ptr @ENOENT, align 4 store i32 %24, ptr %4, align 4 store i32 1, ptr %11, align 4 br label %80 25: ; preds = %3 %26 = load ptr, ptr %6, align 8 %27 = load ptr, ptr %7, align 8 %28 = call i32 @execve(ptr noundef %18, ptr noundef %26, ptr noundef %27) store i32 %28, ptr %8, align 4 %29 = load i32, ptr %8, align 4 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %78 31: ; preds = %25 %32 = load i64, ptr @errno, align 8 %33 = load i64, ptr @ENOEXEC, align 8 %34 = icmp eq i64 %32, %33 br i1 %34, label %35, label %78 35: ; preds = %31 %36 = getelementptr inbounds [4096 x ptr], ptr %12, i64 0, i64 0 store ptr %36, ptr %13, align 8 %37 = load ptr, ptr %6, align 8 store ptr %37, ptr %14, align 8 %38 = load ptr, ptr %14, align 8 %39 = load ptr, ptr %38, align 8 %40 = icmp eq ptr %39, null br i1 %40, label %41, label %43 41: ; preds = %35 %42 = load i32, ptr @EFAULT, align 4 store i32 %42, ptr %4, align 4 store i32 1, ptr %11, align 4 br label %80 43: ; preds = %35 %44 = load ptr, ptr %14, align 8 %45 = getelementptr inbounds ptr, ptr %44, i32 1 store ptr %45, ptr %14, align 8 %46 = load ptr, ptr %44, align 8 %47 = load ptr, ptr %13, align 8 %48 = getelementptr inbounds ptr, ptr %47, i32 1 store ptr %48, ptr %13, align 8 store ptr %46, ptr %47, align 8 %49 = load ptr, ptr %13, align 8 %50 = getelementptr inbounds ptr, ptr %49, i32 1 store ptr %50, ptr %13, align 8 store ptr %18, ptr %49, align 8 %51 = load ptr, ptr %14, align 8 %52 = load ptr, ptr %51, align 8 %53 = icmp ne ptr %52, null br i1 %53, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %43 br label %54 54: ; preds = %.lr.ph, %63 %55 = load ptr, ptr %13, align 8 %56 = getelementptr inbounds [4096 x ptr], ptr %12, i64 0, i64 0 %57 = ptrtoint ptr %55 to i64 %58 = ptrtoint ptr %56 to i64 %59 = sub i64 %57, %58 %60 = sdiv exact i64 %59, 8 %61 = icmp sge i64 %60, 4096 br i1 %61, label %62, label %63 62: ; preds = %54 br label %72 63: ; preds = %54 %64 = load ptr, ptr %14, align 8 %65 = getelementptr inbounds ptr, ptr %64, i32 1 store ptr %65, ptr %14, align 8 %66 = load ptr, ptr %64, align 8 %67 = load ptr, ptr %13, align 8 %68 = getelementptr inbounds ptr, ptr %67, i32 1 store ptr %68, ptr %13, align 8 store ptr %66, ptr %67, align 8 %69 = load ptr, ptr %14, align 8 %70 = load ptr, ptr %69, align 8 %71 = icmp ne ptr %70, null br i1 %71, label %54, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %63 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %43 br label %72 72: ; preds = %.loopexit, %62 %73 = load ptr, ptr %13, align 8 %74 = getelementptr inbounds ptr, ptr %73, i32 1 store ptr %74, ptr %13, align 8 store ptr null, ptr %73, align 8 %75 = getelementptr inbounds [4096 x ptr], ptr %12, i64 0, i64 0 %76 = load ptr, ptr %7, align 8 %77 = call i32 @execve(ptr noundef @.str, ptr noundef %75, ptr noundef %76) store i32 %77, ptr %8, align 4 br label %78 78: ; preds = %72, %31, %25 %79 = load i32, ptr %8, align 4 store i32 %79, ptr %4, align 4 store i32 1, ptr %11, align 4 br label %80 80: ; preds = %78, %41, %23 %81 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %81) %82 = load i32, ptr %4, align 4 ret i32 %82 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @resolve_path(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @execve(ptr noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp86zw4eul.c' source_filename = "/tmp/tmp86zw4eul.c" target datalayout = "e-m:e-p270: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/tmp86zw4eul.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp13_ikdye.c' source_filename = "/tmp/tmp13_ikdye.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [27 x i8] c"Content-type:text/html\0D\0A\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"<html><title>boot upgrade</title>\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"<body>\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"/tmp/boot_upgrade.bin\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"wb+\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"open fw file failed\0A\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"</body>\0A\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"\0A</html>\0A\00", align 1 @.str.8 = private unnamed_addr constant [15 x i8] c"CONTENT_LENGTH\00", align 1 @.str.9 = private unnamed_addr constant [23 x i8] c"<br>malloc failed <br>\00", align 1 @stdin = dso_local global ptr null, align 8 @.str.10 = private unnamed_addr constant [22 x i8] c"<br>fread failed <br>\00", align 1 @.str.11 = private unnamed_addr constant [33 x i8] c"<br>find head offset failed <br>\00", align 1 @.str.12 = private unnamed_addr constant [20 x i8] c"invalid uboot! <br>\00", align 1 @.str.13 = private unnamed_addr constant [23 x i8] c"<br>fwrite failed <br>\00", align 1 @.str.14 = private unnamed_addr constant [15 x i8] c"/dev/mtdblock0\00", align 1 @.str.15 = private unnamed_addr constant [4 x i8] c"rb+\00", align 1 @.str.16 = private unnamed_addr constant [28 x i8] c"open /dev/mtdblock0 failed\0A\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @.str.17 = private unnamed_addr constant [42 x i8] c"<br>read uboot from mtdblock0 failed <br>\00", align 1 @.str.18 = private unnamed_addr constant [28 x i8] c"<br>uboot check failed <br>\00", align 1 @.str.19 = private unnamed_addr constant [35 x i8] c"<br>boot upgrade successful :)<br>\00", align 1 @.str.20 = private unnamed_addr constant [31 x i8] c"<br>boot upgrade failed :(<br>\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 ptr, align 8 %5 = alloca i32, align 4 %6 = alloca [128 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 128, i1 false) store i32 0, ptr %7, align 4 %17 = load i32, ptr @stdout, align 4 %18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str) %19 = load i32, ptr @stdout, align 4 %20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.1) %21 = load i32, ptr @stdout, align 4 %22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str.2) %23 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.4) store ptr %23, ptr %2, align 8 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %32 25: ; preds = %0 %26 = call i32 @printf(ptr noundef @.str.5) %27 = load i32, ptr @stdout, align 4 %28 = call i32 @fprintf(i32 noundef %27, ptr noundef @.str.6) %29 = load i32, ptr @stdout, align 4 %30 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str.7) %31 = call i32 @exit(i32 noundef 1) #4 unreachable 32: ; preds = %0 %33 = call i32 @getenv(ptr noundef @.str.8) %34 = call i32 @atoi(i32 noundef %33) store i32 %34, ptr %3, align 4 %35 = load i32, ptr %3, align 4 %36 = sext i32 %35 to i64 %37 = mul i64 1, %36 %38 = trunc i64 %37 to i32 %39 = call i64 @malloc(i32 noundef %38) %40 = inttoptr i64 %39 to ptr store ptr %40, ptr %4, align 8 %41 = load ptr, ptr %4, align 8 %42 = icmp eq ptr %41, null br i1 %42, label %43, label %45 43: ; preds = %32 %44 = call i32 @printf(ptr noundef @.str.9) br label %173 45: ; preds = %32 %46 = load ptr, ptr %4, align 8 %47 = load i32, ptr %3, align 4 %48 = load ptr, ptr @stdin, align 8 %49 = call i32 @fread(ptr noundef %46, i32 noundef 1, i32 noundef %47, ptr noundef %48) store i32 %49, ptr %7, align 4 %50 = load i32, ptr %7, align 4 %51 = load i32, ptr %3, align 4 %52 = icmp ne i32 %50, %51 br i1 %52, label %53, label %55 53: ; preds = %45 %54 = call i32 @printf(ptr noundef @.str.10) br label %173 55: ; preds = %45 store i32 0, ptr %8, align 4 %56 = load ptr, ptr %4, align 8 %57 = load i32, ptr %3, align 4 %58 = call i32 @getflagstr(ptr noundef %56, i32 noundef %57) store i32 %58, ptr %8, align 4 store i32 0, ptr %7, align 4 %59 = load ptr, ptr %4, align 8 %60 = call i32 @find_head_offset(ptr noundef %59) store i32 %60, ptr %5, align 4 %61 = load i32, ptr %5, align 4 %62 = icmp eq i32 %61, -1 br i1 %62, label %63, label %65 63: ; preds = %55 %64 = call i32 @printf(ptr noundef @.str.11) br label %173 65: ; preds = %55 %66 = load i32, ptr %5, align 4 %67 = load ptr, ptr %4, align 8 %68 = sext i32 %66 to i64 %69 = getelementptr inbounds i8, ptr %67, i64 %68 store ptr %69, ptr %4, align 8 %70 = load ptr, ptr %4, align 8 %71 = load i32, ptr %8, align 4 %72 = load i32, ptr %5, align 4 %73 = sub nsw i32 %71, %72 %74 = add nsw i32 %73, 1 %75 = call i64 @decode_boot(ptr noundef %70, i32 noundef %74) %76 = icmp ne i64 %75, 0 br i1 %76, label %77, label %79 77: ; preds = %65 %78 = call i32 @printf(ptr noundef @.str.12) br label %173 79: ; preds = %65 store i32 0, ptr %9, align 4 %80 = load i32, ptr %8, align 4 %81 = load i32, ptr %5, align 4 %82 = sub nsw i32 %80, %81 %83 = add nsw i32 %82, 1 %84 = sub nsw i32 %83, 12 store i32 %84, ptr %9, align 4 %85 = load ptr, ptr %4, align 8 %86 = getelementptr inbounds i8, ptr %85, i64 12 %87 = load i32, ptr %9, align 4 %88 = load ptr, ptr %2, align 8 %89 = call i32 @fwrite(ptr noundef %86, i32 noundef 1, i32 noundef %87, ptr noundef %88) store i32 %89, ptr %7, align 4 %90 = load i32, ptr %7, align 4 %91 = load i32, ptr %9, align 4 %92 = icmp ne i32 %90, %91 br i1 %92, label %93, label %95 93: ; preds = %79 %94 = call i32 @printf(ptr noundef @.str.13) br label %173 95: ; preds = %79 %96 = load ptr, ptr %2, align 8 %97 = call i32 @fclose(ptr noundef %96) store ptr null, ptr %10, align 8 %98 = call ptr @fopen(ptr noundef @.str.14, ptr noundef @.str.15) store ptr %98, ptr %10, align 8 %99 = load ptr, ptr %10, align 8 %100 = icmp eq ptr %99, null br i1 %100, label %101, label %104 101: ; preds = %95 %102 = call i32 @printf(ptr noundef @.str.16) %103 = call i32 @exit(i32 noundef 1) #4 unreachable 104: ; preds = %95 store i32 0, ptr %7, align 4 %105 = load ptr, ptr %4, align 8 %106 = getelementptr inbounds i8, ptr %105, i64 12 %107 = load i32, ptr %9, align 4 %108 = load ptr, ptr %10, align 8 %109 = call i32 @fwrite(ptr noundef %106, i32 noundef 1, i32 noundef %107, ptr noundef %108) store i32 %109, ptr %7, align 4 %110 = load i32, ptr %7, align 4 %111 = load i32, ptr %9, align 4 %112 = icmp ne i32 %110, %111 br i1 %112, label %113, label %115 113: ; preds = %104 %114 = call i32 @printf(ptr noundef @.str.13) br label %173 115: ; preds = %104 %116 = load ptr, ptr %10, align 8 %117 = load i32, ptr @SEEK_SET, align 4 %118 = call i32 @fseek(ptr noundef %116, i32 noundef 0, i32 noundef %117) store ptr null, ptr %11, align 8 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 store ptr null, ptr %14, align 8 store i32 0, ptr %15, align 4 %119 = load ptr, ptr %4, align 8 %120 = getelementptr inbounds i8, ptr %119, i64 8 %121 = load i32, ptr %120, align 4 store i32 %121, ptr %12, align 4 store i32 0, ptr %16, align 4 %122 = load i32, ptr %9, align 4 %123 = call i64 @malloc(i32 noundef %122) %124 = inttoptr i64 %123 to ptr store ptr %124, ptr %11, align 8 %125 = load ptr, ptr %11, align 8 %126 = load i32, ptr %9, align 4 %127 = call i32 @memset(ptr noundef %125, i32 noundef 0, i32 noundef %126) %128 = load ptr, ptr %11, align 8 %129 = load i32, ptr %9, align 4 %130 = load ptr, ptr %10, align 8 %131 = call i32 @fread(ptr noundef %128, i32 noundef 1, i32 noundef %129, ptr noundef %130) store i32 %131, ptr %16, align 4 %132 = load i32, ptr %16, align 4 %133 = load i32, ptr %9, align 4 %134 = icmp ne i32 %132, %133 br i1 %134, label %135, label %137 135: ; preds = %115 %136 = call i32 @printf(ptr noundef @.str.17) br label %173 137: ; preds = %115 %138 = load ptr, ptr %11, align 8 store ptr %138, ptr %14, align 8 store i32 0, ptr %15, align 4 br label %139 139: ; preds = %152, %137 %140 = load i32, ptr %15, align 4 %141 = load i32, ptr %9, align 4 %142 = sdiv i32 %141, 4 %143 = icmp slt i32 %140, %142 br i1 %143, label %144, label %155 144: ; preds = %139 %145 = load ptr, ptr %14, align 8 %146 = load i32, ptr %15, align 4 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds i32, ptr %145, i64 %147 %149 = load i32, ptr %148, align 4 %150 = load i32, ptr %13, align 4 %151 = xor i32 %150, %149 store i32 %151, ptr %13, align 4 br label %152 152: ; preds = %144 %153 = load i32, ptr %15, align 4 %154 = add nsw i32 %153, 1 store i32 %154, ptr %15, align 4 br label %139, !llvm.loop !6 155: ; preds = %139 %156 = load i32, ptr %13, align 4 %157 = load i32, ptr %12, align 4 %158 = icmp ne i32 %156, %157 br i1 %158, label %159, label %161 159: ; preds = %155 %160 = call i32 @printf(ptr noundef @.str.18) br label %173 161: ; preds = %155 %162 = load ptr, ptr %10, align 8 %163 = call i32 @fclose(ptr noundef %162) %164 = load ptr, ptr %4, align 8 %165 = call i32 @free(ptr noundef %164) %166 = load ptr, ptr %11, align 8 %167 = call i32 @free(ptr noundef %166) %168 = call i32 @printf(ptr noundef @.str.19) %169 = load i32, ptr @stdout, align 4 %170 = call i32 @fprintf(i32 noundef %169, ptr noundef @.str.6) %171 = load i32, ptr @stdout, align 4 %172 = call i32 @fprintf(i32 noundef %171, ptr noundef @.str.7) store i32 0, ptr %1, align 4 br label %179 173: ; preds = %159, %135, %113, %93, %77, %63, %53, %43 %174 = call i32 @printf(ptr noundef @.str.20) %175 = load i32, ptr @stdout, align 4 %176 = call i32 @fprintf(i32 noundef %175, ptr noundef @.str.6) %177 = load i32, ptr @stdout, align 4 %178 = call i32 @fprintf(i32 noundef %177, ptr noundef @.str.7) store i32 1, ptr %1, align 4 br label %179 179: ; preds = %173, %161 %180 = load i32, ptr %1, align 4 ret i32 %180 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @atoi(i32 noundef) #2 declare i32 @getenv(ptr noundef) #2 declare i64 @malloc(i32 noundef) #2 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @getflagstr(ptr noundef, i32 noundef) #2 declare i32 @find_head_offset(ptr noundef) #2 declare i64 @decode_boot(ptr noundef, i32 noundef) #2 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @free(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp13_ikdye.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [27 x i8] c"Content-type:text/html\0D\0A\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"<html><title>boot upgrade</title>\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"<body>\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"/tmp/boot_upgrade.bin\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"wb+\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"open fw file failed\0A\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"</body>\0A\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"\0A</html>\0A\00", align 1 @.str.8 = private unnamed_addr constant [15 x i8] c"CONTENT_LENGTH\00", align 1 @.str.9 = private unnamed_addr constant [23 x i8] c"<br>malloc failed <br>\00", align 1 @stdin = dso_local global ptr null, align 8 @.str.10 = private unnamed_addr constant [22 x i8] c"<br>fread failed <br>\00", align 1 @.str.11 = private unnamed_addr constant [33 x i8] c"<br>find head offset failed <br>\00", align 1 @.str.12 = private unnamed_addr constant [20 x i8] c"invalid uboot! <br>\00", align 1 @.str.13 = private unnamed_addr constant [23 x i8] c"<br>fwrite failed <br>\00", align 1 @.str.14 = private unnamed_addr constant [15 x i8] c"/dev/mtdblock0\00", align 1 @.str.15 = private unnamed_addr constant [4 x i8] c"rb+\00", align 1 @.str.16 = private unnamed_addr constant [28 x i8] c"open /dev/mtdblock0 failed\0A\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @.str.17 = private unnamed_addr constant [42 x i8] c"<br>read uboot from mtdblock0 failed <br>\00", align 1 @.str.18 = private unnamed_addr constant [28 x i8] c"<br>uboot check failed <br>\00", align 1 @.str.19 = private unnamed_addr constant [35 x i8] c"<br>boot upgrade successful :)<br>\00", align 1 @.str.20 = private unnamed_addr constant [31 x i8] c"<br>boot upgrade failed :(<br>\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 ptr, align 8 %5 = alloca i32, align 4 %6 = alloca [128 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 128, i1 false) store i32 0, ptr %7, align 4 %17 = load i32, ptr @stdout, align 4 %18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str) %19 = load i32, ptr @stdout, align 4 %20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.1) %21 = load i32, ptr @stdout, align 4 %22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str.2) %23 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.4) store ptr %23, ptr %2, align 8 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %32 25: ; preds = %0 %26 = call i32 @printf(ptr noundef @.str.5) %27 = load i32, ptr @stdout, align 4 %28 = call i32 @fprintf(i32 noundef %27, ptr noundef @.str.6) %29 = load i32, ptr @stdout, align 4 %30 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str.7) %31 = call i32 @exit(i32 noundef 1) #4 unreachable 32: ; preds = %0 %33 = call i32 @getenv(ptr noundef @.str.8) %34 = call i32 @atoi(i32 noundef %33) store i32 %34, ptr %3, align 4 %35 = load i32, ptr %3, align 4 %36 = sext i32 %35 to i64 %37 = mul i64 1, %36 %38 = trunc i64 %37 to i32 %39 = call i64 @malloc(i32 noundef %38) %40 = inttoptr i64 %39 to ptr store ptr %40, ptr %4, align 8 %41 = load ptr, ptr %4, align 8 %42 = icmp eq ptr %41, null br i1 %42, label %43, label %45 43: ; preds = %32 %44 = call i32 @printf(ptr noundef @.str.9) br label %176 45: ; preds = %32 %46 = load ptr, ptr %4, align 8 %47 = load i32, ptr %3, align 4 %48 = load ptr, ptr @stdin, align 8 %49 = call i32 @fread(ptr noundef %46, i32 noundef 1, i32 noundef %47, ptr noundef %48) store i32 %49, ptr %7, align 4 %50 = load i32, ptr %7, align 4 %51 = load i32, ptr %3, align 4 %52 = icmp ne i32 %50, %51 br i1 %52, label %53, label %55 53: ; preds = %45 %54 = call i32 @printf(ptr noundef @.str.10) br label %176 55: ; preds = %45 store i32 0, ptr %8, align 4 %56 = load ptr, ptr %4, align 8 %57 = load i32, ptr %3, align 4 %58 = call i32 @getflagstr(ptr noundef %56, i32 noundef %57) store i32 %58, ptr %8, align 4 store i32 0, ptr %7, align 4 %59 = load ptr, ptr %4, align 8 %60 = call i32 @find_head_offset(ptr noundef %59) store i32 %60, ptr %5, align 4 %61 = load i32, ptr %5, align 4 %62 = icmp eq i32 %61, -1 br i1 %62, label %63, label %65 63: ; preds = %55 %64 = call i32 @printf(ptr noundef @.str.11) br label %176 65: ; preds = %55 %66 = load i32, ptr %5, align 4 %67 = load ptr, ptr %4, align 8 %68 = sext i32 %66 to i64 %69 = getelementptr inbounds i8, ptr %67, i64 %68 store ptr %69, ptr %4, align 8 %70 = load ptr, ptr %4, align 8 %71 = load i32, ptr %8, align 4 %72 = load i32, ptr %5, align 4 %73 = sub nsw i32 %71, %72 %74 = add nsw i32 %73, 1 %75 = call i64 @decode_boot(ptr noundef %70, i32 noundef %74) %76 = icmp ne i64 %75, 0 br i1 %76, label %77, label %79 77: ; preds = %65 %78 = call i32 @printf(ptr noundef @.str.12) br label %176 79: ; preds = %65 store i32 0, ptr %9, align 4 %80 = load i32, ptr %8, align 4 %81 = load i32, ptr %5, align 4 %82 = sub nsw i32 %80, %81 %83 = add nsw i32 %82, 1 %84 = sub nsw i32 %83, 12 store i32 %84, ptr %9, align 4 %85 = load ptr, ptr %4, align 8 %86 = getelementptr inbounds i8, ptr %85, i64 12 %87 = load i32, ptr %9, align 4 %88 = load ptr, ptr %2, align 8 %89 = call i32 @fwrite(ptr noundef %86, i32 noundef 1, i32 noundef %87, ptr noundef %88) store i32 %89, ptr %7, align 4 %90 = load i32, ptr %7, align 4 %91 = load i32, ptr %9, align 4 %92 = icmp ne i32 %90, %91 br i1 %92, label %93, label %95 93: ; preds = %79 %94 = call i32 @printf(ptr noundef @.str.13) br label %176 95: ; preds = %79 %96 = load ptr, ptr %2, align 8 %97 = call i32 @fclose(ptr noundef %96) store ptr null, ptr %10, align 8 %98 = call ptr @fopen(ptr noundef @.str.14, ptr noundef @.str.15) store ptr %98, ptr %10, align 8 %99 = load ptr, ptr %10, align 8 %100 = icmp eq ptr %99, null br i1 %100, label %101, label %104 101: ; preds = %95 %102 = call i32 @printf(ptr noundef @.str.16) %103 = call i32 @exit(i32 noundef 1) #4 unreachable 104: ; preds = %95 store i32 0, ptr %7, align 4 %105 = load ptr, ptr %4, align 8 %106 = getelementptr inbounds i8, ptr %105, i64 12 %107 = load i32, ptr %9, align 4 %108 = load ptr, ptr %10, align 8 %109 = call i32 @fwrite(ptr noundef %106, i32 noundef 1, i32 noundef %107, ptr noundef %108) store i32 %109, ptr %7, align 4 %110 = load i32, ptr %7, align 4 %111 = load i32, ptr %9, align 4 %112 = icmp ne i32 %110, %111 br i1 %112, label %113, label %115 113: ; preds = %104 %114 = call i32 @printf(ptr noundef @.str.13) br label %176 115: ; preds = %104 %116 = load ptr, ptr %10, align 8 %117 = load i32, ptr @SEEK_SET, align 4 %118 = call i32 @fseek(ptr noundef %116, i32 noundef 0, i32 noundef %117) store ptr null, ptr %11, align 8 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 store ptr null, ptr %14, align 8 store i32 0, ptr %15, align 4 %119 = load ptr, ptr %4, align 8 %120 = getelementptr inbounds i8, ptr %119, i64 8 %121 = load i32, ptr %120, align 4 store i32 %121, ptr %12, align 4 store i32 0, ptr %16, align 4 %122 = load i32, ptr %9, align 4 %123 = call i64 @malloc(i32 noundef %122) %124 = inttoptr i64 %123 to ptr store ptr %124, ptr %11, align 8 %125 = load ptr, ptr %11, align 8 %126 = load i32, ptr %9, align 4 %127 = call i32 @memset(ptr noundef %125, i32 noundef 0, i32 noundef %126) %128 = load ptr, ptr %11, align 8 %129 = load i32, ptr %9, align 4 %130 = load ptr, ptr %10, align 8 %131 = call i32 @fread(ptr noundef %128, i32 noundef 1, i32 noundef %129, ptr noundef %130) store i32 %131, ptr %16, align 4 %132 = load i32, ptr %16, align 4 %133 = load i32, ptr %9, align 4 %134 = icmp ne i32 %132, %133 br i1 %134, label %135, label %137 135: ; preds = %115 %136 = call i32 @printf(ptr noundef @.str.17) br label %176 137: ; preds = %115 %138 = load ptr, ptr %11, align 8 store ptr %138, ptr %14, align 8 store i32 0, ptr %15, align 4 %139 = load i32, ptr %15, align 4 %140 = load i32, ptr %9, align 4 %141 = sdiv i32 %140, 4 %142 = icmp slt i32 %139, %141 br i1 %142, label %.lr.ph, label %158 .lr.ph: ; preds = %137 br label %143 143: ; preds = %.lr.ph, %151 %144 = load ptr, ptr %14, align 8 %145 = load i32, ptr %15, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds i32, ptr %144, i64 %146 %148 = load i32, ptr %147, align 4 %149 = load i32, ptr %13, align 4 %150 = xor i32 %149, %148 store i32 %150, ptr %13, align 4 br label %151 151: ; preds = %143 %152 = load i32, ptr %15, align 4 %153 = add nsw i32 %152, 1 store i32 %153, ptr %15, align 4 %154 = load i32, ptr %15, align 4 %155 = load i32, ptr %9, align 4 %156 = sdiv i32 %155, 4 %157 = icmp slt i32 %154, %156 br i1 %157, label %143, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %151 br label %158 158: ; preds = %._crit_edge, %137 %159 = load i32, ptr %13, align 4 %160 = load i32, ptr %12, align 4 %161 = icmp ne i32 %159, %160 br i1 %161, label %162, label %164 162: ; preds = %158 %163 = call i32 @printf(ptr noundef @.str.18) br label %176 164: ; preds = %158 %165 = load ptr, ptr %10, align 8 %166 = call i32 @fclose(ptr noundef %165) %167 = load ptr, ptr %4, align 8 %168 = call i32 @free(ptr noundef %167) %169 = load ptr, ptr %11, align 8 %170 = call i32 @free(ptr noundef %169) %171 = call i32 @printf(ptr noundef @.str.19) %172 = load i32, ptr @stdout, align 4 %173 = call i32 @fprintf(i32 noundef %172, ptr noundef @.str.6) %174 = load i32, ptr @stdout, align 4 %175 = call i32 @fprintf(i32 noundef %174, ptr noundef @.str.7) store i32 0, ptr %1, align 4 br label %182 176: ; preds = %162, %135, %113, %93, %77, %63, %53, %43 %177 = call i32 @printf(ptr noundef @.str.20) %178 = load i32, ptr @stdout, align 4 %179 = call i32 @fprintf(i32 noundef %178, ptr noundef @.str.6) %180 = load i32, ptr @stdout, align 4 %181 = call i32 @fprintf(i32 noundef %180, ptr noundef @.str.7) store i32 1, ptr %1, align 4 br label %182 182: ; preds = %176, %164 %183 = load i32, ptr %1, align 4 ret i32 %183 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @atoi(i32 noundef) #2 declare i32 @getenv(ptr noundef) #2 declare i64 @malloc(i32 noundef) #2 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @getflagstr(ptr noundef, i32 noundef) #2 declare i32 @find_head_offset(ptr noundef) #2 declare i64 @decode_boot(ptr noundef, i32 noundef) #2 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @free(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpkmpu1v62.c' source_filename = "/tmp/tmpkmpu1v62.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stripwhite(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %4, align 8 br label %7 7: ; preds = %13, %1 %8 = load ptr, ptr %4, align 8 %9 = load i8, ptr %8, align 1 %10 = call i64 @whitespace(i8 noundef signext %9) %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %16 12: ; preds = %7 br label %13 13: ; preds = %12 %14 = load ptr, ptr %4, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %4, align 8 br label %7, !llvm.loop !6 16: ; preds = %7 %17 = load ptr, ptr %4, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %16 %22 = load ptr, ptr %4, align 8 store ptr %22, ptr %2, align 8 br label %48 23: ; preds = %16 %24 = load ptr, ptr %4, align 8 %25 = load ptr, ptr %4, align 8 %26 = call i32 @strlen(ptr noundef %25) %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %24, i64 %27 %29 = getelementptr inbounds i8, ptr %28, i64 -1 store ptr %29, ptr %5, align 8 br label %30 30: ; preds = %41, %23 %31 = load ptr, ptr %5, align 8 %32 = load ptr, ptr %4, align 8 %33 = icmp ugt ptr %31, %32 br i1 %33, label %34, label %39 34: ; preds = %30 %35 = load ptr, ptr %5, align 8 %36 = load i8, ptr %35, align 1 %37 = call i64 @whitespace(i8 noundef signext %36) %38 = icmp ne i64 %37, 0 br label %39 39: ; preds = %34, %30 %40 = phi i1 [ false, %30 ], [ %38, %34 ] br i1 %40, label %41, label %44 41: ; preds = %39 %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds i8, ptr %42, i32 -1 store ptr %43, ptr %5, align 8 br label %30, !llvm.loop !8 44: ; preds = %39 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds i8, ptr %45, i32 1 store ptr %46, ptr %5, align 8 store i8 0, ptr %46, align 1 %47 = load ptr, ptr %4, align 8 store ptr %47, ptr %2, align 8 br label %48 48: ; preds = %44, %21 %49 = load ptr, ptr %2, align 8 ret ptr %49 } declare i64 @whitespace(i8 noundef signext) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkmpu1v62.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stripwhite(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i8, ptr %7, align 1 %9 = call i64 @whitespace(i8 noundef signext %8) %10 = icmp ne i64 %9, 0 br i1 %10, label %.lr.ph, label %19 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %12 br label %12 12: ; preds = %11 %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds i8, ptr %13, i32 1 store ptr %14, ptr %4, align 8 %15 = load ptr, ptr %4, align 8 %16 = load i8, ptr %15, align 1 %17 = call i64 @whitespace(i8 noundef signext %16) %18 = icmp ne i64 %17, 0 br i1 %18, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %19 19: ; preds = %._crit_edge, %1 %20 = load ptr, ptr %4, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %19 %25 = load ptr, ptr %4, align 8 store ptr %25, ptr %2, align 8 br label %51 26: ; preds = %19 %27 = load ptr, ptr %4, align 8 %28 = load ptr, ptr %4, align 8 %29 = call i32 @strlen(ptr noundef %28) %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %27, i64 %30 %32 = getelementptr inbounds i8, ptr %31, i64 -1 store ptr %32, ptr %5, align 8 br label %33 33: ; preds = %44, %26 %34 = load ptr, ptr %5, align 8 %35 = load ptr, ptr %4, align 8 %36 = icmp ugt ptr %34, %35 br i1 %36, label %37, label %42 37: ; preds = %33 %38 = load ptr, ptr %5, align 8 %39 = load i8, ptr %38, align 1 %40 = call i64 @whitespace(i8 noundef signext %39) %41 = icmp ne i64 %40, 0 br label %42 42: ; preds = %37, %33 %43 = phi i1 [ false, %33 ], [ %41, %37 ] br i1 %43, label %44, label %47 44: ; preds = %42 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds i8, ptr %45, i32 -1 store ptr %46, ptr %5, align 8 br label %33, !llvm.loop !8 47: ; preds = %42 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds i8, ptr %48, i32 1 store ptr %49, ptr %5, align 8 store i8 0, ptr %49, align 1 %50 = load ptr, ptr %4, align 8 store ptr %50, ptr %2, align 8 br label %51 51: ; preds = %47, %24 %52 = load ptr, ptr %2, align 8 ret ptr %52 } declare i64 @whitespace(i8 noundef signext) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmproulsrvt.c' source_filename = "/tmp/tmproulsrvt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_process_by_pid(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 i64 @kill(i32 noundef %3, i32 noundef 0) %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = load i32, ptr %2, align 4 br label %11 8: ; preds = %1 %9 = load i32, ptr %2, align 4 %10 = sub nsw i32 0, %9 br label %11 11: ; preds = %8, %6 %12 = phi i32 [ %7, %6 ], [ %10, %8 ] ret i32 %12 } declare i64 @kill(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmproulsrvt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_process_by_pid(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 i64 @kill(i32 noundef %3, i32 noundef 0) %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = load i32, ptr %2, align 4 br label %11 8: ; preds = %1 %9 = load i32, ptr %2, align 4 %10 = sub nsw i32 0, %9 br label %11 11: ; preds = %8, %6 %12 = phi i32 [ %7, %6 ], [ %10, %8 ] ret i32 %12 } declare i64 @kill(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqfiqnacm.c' source_filename = "/tmp/tmpqfiqnacm.c" target datalayout = "e-m:e-p270: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/tmpqfiqnacm.c" target datalayout = "e-m:e-p270: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/tmph_yxrv_8.c' source_filename = "/tmp/tmph_yxrv_8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"\0A/help -> display the list of commands\0A\00", align 1 @.str.1 = private unnamed_addr constant [87 x i8] c"/connect server_ip[OPTIONAL]:server_port[OPTIONAL] -> connect you to the input adress\0A\00", align 1 @.str.2 = private unnamed_addr constant [72 x i8] c"/nick pseudo -> try to log you into the game with the entered nickname\0A\00", align 1 @.str.3 = private unnamed_addr constant [54 x i8] c"/list -> display the list of rooms and their players\0A\00", align 1 @.str.4 = private unnamed_addr constant [51 x i8] c"/join room_number -> try to join the entered room\0A\00", align 1 @.str.5 = private unnamed_addr constant [34 x i8] c"/ready -> set you in ready state\0A\00", align 1 @.str.6 = private unnamed_addr constant [39 x i8] c"/notready -> set you in unready state\0A\00", align 1 @.str.7 = private unnamed_addr constant [41 x i8] c"/play XY -> play a turn on XY board pos\0A\00", align 1 @.str.8 = private unnamed_addr constant [34 x i8] c"/ff -> surrender (instant loose)\0A\00", align 1 @.str.9 = private unnamed_addr constant [42 x i8] c"/mesg -> send a message to your opponent\0A\00", align 1 @.str.10 = private unnamed_addr constant [34 x i8] c"/leave -> leave the current room\0A\00", align 1 @.str.11 = private unnamed_addr constant [34 x i8] c"/auto -> let the AI play for you\0A\00", align 1 @.str.12 = private unnamed_addr constant [25 x i8] c"/exit -> exit the game\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @othello_display_help() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) %10 = call i32 @printf(ptr noundef @.str.9) %11 = call i32 @printf(ptr noundef @.str.10) %12 = call i32 @printf(ptr noundef @.str.11) %13 = call i32 @printf(ptr noundef @.str.12) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph_yxrv_8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"\0A/help -> display the list of commands\0A\00", align 1 @.str.1 = private unnamed_addr constant [87 x i8] c"/connect server_ip[OPTIONAL]:server_port[OPTIONAL] -> connect you to the input adress\0A\00", align 1 @.str.2 = private unnamed_addr constant [72 x i8] c"/nick pseudo -> try to log you into the game with the entered nickname\0A\00", align 1 @.str.3 = private unnamed_addr constant [54 x i8] c"/list -> display the list of rooms and their players\0A\00", align 1 @.str.4 = private unnamed_addr constant [51 x i8] c"/join room_number -> try to join the entered room\0A\00", align 1 @.str.5 = private unnamed_addr constant [34 x i8] c"/ready -> set you in ready state\0A\00", align 1 @.str.6 = private unnamed_addr constant [39 x i8] c"/notready -> set you in unready state\0A\00", align 1 @.str.7 = private unnamed_addr constant [41 x i8] c"/play XY -> play a turn on XY board pos\0A\00", align 1 @.str.8 = private unnamed_addr constant [34 x i8] c"/ff -> surrender (instant loose)\0A\00", align 1 @.str.9 = private unnamed_addr constant [42 x i8] c"/mesg -> send a message to your opponent\0A\00", align 1 @.str.10 = private unnamed_addr constant [34 x i8] c"/leave -> leave the current room\0A\00", align 1 @.str.11 = private unnamed_addr constant [34 x i8] c"/auto -> let the AI play for you\0A\00", align 1 @.str.12 = private unnamed_addr constant [25 x i8] c"/exit -> exit the game\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @othello_display_help() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) %10 = call i32 @printf(ptr noundef @.str.9) %11 = call i32 @printf(ptr noundef @.str.10) %12 = call i32 @printf(ptr noundef @.str.11) %13 = call i32 @printf(ptr noundef @.str.12) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmmo_2p8l.c' source_filename = "/tmp/tmpmmo_2p8l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @connect_to_robot() %3 = call i32 (...) @initialize_robot() %4 = call i32 (...) @setSensors() %5 = call i32 (...) @setCoords() br label %6 6: ; preds = %0, %6 %7 = call i32 (...) @adjustParallel() %8 = call i32 (...) @lookForFront() %9 = call i32 (...) @lookForEnd() %10 = call i32 (...) @goStraight() br label %6 } declare i32 @connect_to_robot(...) #1 declare i32 @initialize_robot(...) #1 declare i32 @setSensors(...) #1 declare i32 @setCoords(...) #1 declare i32 @adjustParallel(...) #1 declare i32 @lookForFront(...) #1 declare i32 @lookForEnd(...) #1 declare i32 @goStraight(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmmo_2p8l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @connect_to_robot() %3 = call i32 (...) @initialize_robot() %4 = call i32 (...) @setSensors() %5 = call i32 (...) @setCoords() br label %6 6: ; preds = %6, %0 %7 = call i32 (...) @adjustParallel() %8 = call i32 (...) @lookForFront() %9 = call i32 (...) @lookForEnd() %10 = call i32 (...) @goStraight() br label %6 } declare i32 @connect_to_robot(...) #1 declare i32 @initialize_robot(...) #1 declare i32 @setSensors(...) #1 declare i32 @setCoords(...) #1 declare i32 @adjustParallel(...) #1 declare i32 @lookForFront(...) #1 declare i32 @lookForEnd(...) #1 declare i32 @goStraight(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqdip1s47.c' source_filename = "/tmp/tmpqdip1s47.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"image-file-1.pnm\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"P6\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"500 500\0A\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"255\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca i8, align 1 %7 = alloca i8, align 1 store i32 0, ptr %1, align 4 %8 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %8, ptr %2, align 8 %9 = load ptr, ptr %2, align 8 %10 = call i32 @fputs(ptr noundef @.str.2, ptr noundef %9) %11 = load ptr, ptr %2, align 8 %12 = call i32 @fputs(ptr noundef @.str.3, ptr noundef %11) %13 = load ptr, ptr %2, align 8 %14 = call i32 @fputs(ptr noundef @.str.4, ptr noundef %13) store i32 0, ptr %4, align 4 br label %15 15: ; preds = %40, %0 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %16, 500 br i1 %17, label %18, label %43 18: ; preds = %15 store i32 0, ptr %3, align 4 br label %19 19: ; preds = %36, %18 %20 = load i32, ptr %3, align 4 %21 = icmp slt i32 %20, 500 br i1 %21, label %22, label %39 22: ; preds = %19 store i8 0, ptr %5, align 1 %23 = load i32, ptr %4, align 4 %24 = trunc i32 %23 to i8 store i8 %24, ptr %6, align 1 %25 = load i32, ptr %3, align 4 %26 = trunc i32 %25 to i8 store i8 %26, ptr %7, align 1 %27 = load i8, ptr %5, align 1 %28 = load ptr, ptr %2, align 8 %29 = call i32 @fputc(i8 noundef zeroext %27, ptr noundef %28) %30 = load i8, ptr %6, align 1 %31 = load ptr, ptr %2, align 8 %32 = call i32 @fputc(i8 noundef zeroext %30, ptr noundef %31) %33 = load i8, ptr %7, align 1 %34 = load ptr, ptr %2, align 8 %35 = call i32 @fputc(i8 noundef zeroext %33, ptr noundef %34) br label %36 36: ; preds = %22 %37 = load i32, ptr %3, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %3, align 4 br label %19, !llvm.loop !6 39: ; preds = %19 br label %40 40: ; preds = %39 %41 = load i32, ptr %4, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %4, align 4 br label %15, !llvm.loop !8 43: ; preds = %15 %44 = load ptr, ptr %2, align 8 %45 = call i32 @fclose(ptr noundef %44) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fputs(ptr noundef, ptr noundef) #1 declare i32 @fputc(i8 noundef zeroext, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqdip1s47.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"image-file-1.pnm\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"P6\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"500 500\0A\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"255\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca i8, align 1 %7 = alloca i8, align 1 store i32 0, ptr %1, align 4 %8 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %8, ptr %2, align 8 %9 = load ptr, ptr %2, align 8 %10 = call i32 @fputs(ptr noundef @.str.2, ptr noundef %9) %11 = load ptr, ptr %2, align 8 %12 = call i32 @fputs(ptr noundef @.str.3, ptr noundef %11) %13 = load ptr, ptr %2, align 8 %14 = call i32 @fputs(ptr noundef @.str.4, ptr noundef %13) store i32 0, ptr %4, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %15, 500 br i1 %16, label %.lr.ph2, label %45 .lr.ph2: ; preds = %0 br label %17 17: ; preds = %.lr.ph2, %40 store i32 0, ptr %3, align 4 %18 = load i32, ptr %3, align 4 %19 = icmp slt i32 %18, 500 br i1 %19, label %.lr.ph, label %39 .lr.ph: ; preds = %17 br label %20 20: ; preds = %.lr.ph, %34 store i8 0, ptr %5, align 1 %21 = load i32, ptr %4, align 4 %22 = trunc i32 %21 to i8 store i8 %22, ptr %6, align 1 %23 = load i32, ptr %3, align 4 %24 = trunc i32 %23 to i8 store i8 %24, ptr %7, align 1 %25 = load i8, ptr %5, align 1 %26 = load ptr, ptr %2, align 8 %27 = call i32 @fputc(i8 noundef zeroext %25, ptr noundef %26) %28 = load i8, ptr %6, align 1 %29 = load ptr, ptr %2, align 8 %30 = call i32 @fputc(i8 noundef zeroext %28, ptr noundef %29) %31 = load i8, ptr %7, align 1 %32 = load ptr, ptr %2, align 8 %33 = call i32 @fputc(i8 noundef zeroext %31, ptr noundef %32) br label %34 34: ; preds = %20 %35 = load i32, ptr %3, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %3, align 4 %37 = load i32, ptr %3, align 4 %38 = icmp slt i32 %37, 500 br i1 %38, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %39 39: ; preds = %._crit_edge, %17 br label %40 40: ; preds = %39 %41 = load i32, ptr %4, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %4, align 4 %43 = load i32, ptr %4, align 4 %44 = icmp slt i32 %43, 500 br i1 %44, label %17, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %40 br label %45 45: ; preds = %._crit_edge3, %0 %46 = load ptr, ptr %2, align 8 %47 = call i32 @fclose(ptr noundef %46) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fputs(ptr noundef, ptr noundef) #1 declare i32 @fputc(i8 noundef zeroext, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpub043p4k.c' source_filename = "/tmp/tmpub043p4k.c" target datalayout = "e-m:e-p270: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/tmpub043p4k.c" target datalayout = "e-m:e-p270: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/tmpddh5uqzk.c' source_filename = "/tmp/tmpddh5uqzk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print(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 = sext i8 %5 to i32 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %14 8: ; preds = %3 %9 = load ptr, ptr %2, align 8 %10 = load i8, ptr %9, align 1 %11 = call i32 @put_next(i8 noundef signext %10) %12 = load ptr, ptr %2, align 8 %13 = getelementptr inbounds i8, ptr %12, i32 1 store ptr %13, ptr %2, align 8 br label %3, !llvm.loop !6 14: ; preds = %3 ret void } declare i32 @put_next(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/tmpddh5uqzk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @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 = load i8, ptr %3, align 1 %5 = sext i8 %4 to i32 %6 = icmp ne i32 %5, 0 br i1 %6, label %.lr.ph, label %17 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %7 %8 = load ptr, ptr %2, align 8 %9 = load i8, ptr %8, align 1 %10 = call i32 @put_next(i8 noundef signext %9) %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds i8, ptr %11, i32 1 store ptr %12, ptr %2, align 8 %13 = load ptr, ptr %2, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 0 br i1 %16, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %7 br label %17 17: ; preds = %._crit_edge, %1 ret void } declare i32 @put_next(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/tmp4wl92_jn.c' source_filename = "/tmp/tmp4wl92_jn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"[%s]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @iniFileGetSection(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 [512 x i8], align 16 %9 = alloca [512 x i8], align 16 %10 = alloca i32, align 4 %11 = 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 %10, align 4 %12 = call i32 (...) @rewindBuffer() %13 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %14 = load ptr, ptr %5, align 8 %15 = call i32 @sprintf(ptr noundef %13, ptr noundef @.str, ptr noundef %14) br label %16 16: ; preds = %34, %3 %17 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %18 = call i32 @readLine(ptr noundef %17) %19 = icmp slt i32 %18, 0 br i1 %19, label %20, label %33 20: ; preds = %16 %21 = load ptr, ptr %6, align 8 %22 = load i32, ptr %10, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %10, align 4 %24 = sext i32 %22 to i64 %25 = getelementptr inbounds i8, ptr %21, i64 %24 store i8 0, ptr %25, align 1 %26 = load ptr, ptr %6, align 8 %27 = load i32, ptr %10, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %10, align 4 %29 = sext i32 %27 to i64 %30 = getelementptr inbounds i8, ptr %26, i64 %29 store i8 0, ptr %30, align 1 %31 = load ptr, ptr %6, align 8 %32 = call i32 @strlen(ptr noundef %31) store i32 %32, ptr %4, align 4 br label %81 33: ; preds = %16 br label %34 34: ; preds = %33 %35 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %36 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %37 = call i64 @strcmp(ptr noundef %35, ptr noundef %36) %38 = icmp ne i64 %37, 0 br i1 %38, label %16, label %39, !llvm.loop !6 39: ; preds = %34 br label %40 40: ; preds = %69, %39 %41 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %42 = call i32 @readLine(ptr noundef %41) store i32 %42, ptr %11, align 4 %43 = icmp sge i32 %42, 0 br i1 %43, label %44, label %49 44: ; preds = %40 %45 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %46 = load i8, ptr %45, align 16 %47 = sext i8 %46 to i32 %48 = icmp ne i32 %47, 91 br label %49 49: ; preds = %44, %40 %50 = phi i1 [ false, %40 ], [ %48, %44 ] br i1 %50, label %51, label %70 51: ; preds = %49 %52 = load i32, ptr %10, align 4 %53 = load i32, ptr %11, align 4 %54 = add nsw i32 %52, %53 %55 = add nsw i32 %54, 2 %56 = load i32, ptr %7, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %58, label %69 58: ; preds = %51 %59 = load ptr, ptr %6, align 8 %60 = load i32, ptr %10, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 %63 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %64 = call i32 @strcpy(ptr noundef %62, ptr noundef %63) %65 = load i32, ptr %11, align 4 %66 = add nsw i32 %65, 1 %67 = load i32, ptr %10, align 4 %68 = add nsw i32 %67, %66 store i32 %68, ptr %10, align 4 br label %69 69: ; preds = %58, %51 br label %40, !llvm.loop !8 70: ; preds = %49 %71 = load ptr, ptr %6, align 8 %72 = load i32, ptr %10, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %10, align 4 %74 = sext i32 %72 to i64 %75 = getelementptr inbounds i8, ptr %71, i64 %74 store i8 0, ptr %75, align 1 %76 = load ptr, ptr %6, align 8 %77 = load i32, ptr %10, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %10, align 4 %79 = sext i32 %77 to i64 %80 = getelementptr inbounds i8, ptr %76, i64 %79 store i8 0, ptr %80, align 1 store i32 1, ptr %4, align 4 br label %81 81: ; preds = %70, %20 %82 = load i32, ptr %4, align 4 ret i32 %82 } declare i32 @rewindBuffer(...) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @readLine(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4wl92_jn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"[%s]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @iniFileGetSection(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 [512 x i8], align 16 %9 = alloca [512 x i8], align 16 %10 = alloca i32, align 4 %11 = 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 %10, align 4 %12 = call i32 (...) @rewindBuffer() %13 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %14 = load ptr, ptr %5, align 8 %15 = call i32 @sprintf(ptr noundef %13, ptr noundef @.str, ptr noundef %14) br label %16 16: ; preds = %34, %3 %17 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %18 = call i32 @readLine(ptr noundef %17) %19 = icmp slt i32 %18, 0 br i1 %19, label %20, label %33 20: ; preds = %16 %21 = load ptr, ptr %6, align 8 %22 = load i32, ptr %10, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %10, align 4 %24 = sext i32 %22 to i64 %25 = getelementptr inbounds i8, ptr %21, i64 %24 store i8 0, ptr %25, align 1 %26 = load ptr, ptr %6, align 8 %27 = load i32, ptr %10, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %10, align 4 %29 = sext i32 %27 to i64 %30 = getelementptr inbounds i8, ptr %26, i64 %29 store i8 0, ptr %30, align 1 %31 = load ptr, ptr %6, align 8 %32 = call i32 @strlen(ptr noundef %31) store i32 %32, ptr %4, align 4 br label %81 33: ; preds = %16 br label %34 34: ; preds = %33 %35 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %36 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %37 = call i64 @strcmp(ptr noundef %35, ptr noundef %36) %38 = icmp ne i64 %37, 0 br i1 %38, label %16, label %39, !llvm.loop !6 39: ; preds = %34 br label %40 40: ; preds = %69, %39 %41 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %42 = call i32 @readLine(ptr noundef %41) store i32 %42, ptr %11, align 4 %43 = icmp sge i32 %42, 0 br i1 %43, label %44, label %49 44: ; preds = %40 %45 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %46 = load i8, ptr %45, align 16 %47 = sext i8 %46 to i32 %48 = icmp ne i32 %47, 91 br label %49 49: ; preds = %44, %40 %50 = phi i1 [ false, %40 ], [ %48, %44 ] br i1 %50, label %51, label %70 51: ; preds = %49 %52 = load i32, ptr %10, align 4 %53 = load i32, ptr %11, align 4 %54 = add nsw i32 %52, %53 %55 = add nsw i32 %54, 2 %56 = load i32, ptr %7, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %58, label %69 58: ; preds = %51 %59 = load ptr, ptr %6, align 8 %60 = load i32, ptr %10, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 %63 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %64 = call i32 @strcpy(ptr noundef %62, ptr noundef %63) %65 = load i32, ptr %11, align 4 %66 = add nsw i32 %65, 1 %67 = load i32, ptr %10, align 4 %68 = add nsw i32 %67, %66 store i32 %68, ptr %10, align 4 br label %69 69: ; preds = %58, %51 br label %40, !llvm.loop !8 70: ; preds = %49 %71 = load ptr, ptr %6, align 8 %72 = load i32, ptr %10, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %10, align 4 %74 = sext i32 %72 to i64 %75 = getelementptr inbounds i8, ptr %71, i64 %74 store i8 0, ptr %75, align 1 %76 = load ptr, ptr %6, align 8 %77 = load i32, ptr %10, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %10, align 4 %79 = sext i32 %77 to i64 %80 = getelementptr inbounds i8, ptr %76, i64 %79 store i8 0, ptr %80, align 1 store i32 1, ptr %4, align 4 br label %81 81: ; preds = %70, %20 %82 = load i32, ptr %4, align 4 ret i32 %82 } declare i32 @rewindBuffer(...) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @readLine(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp5_3xn907.c' source_filename = "/tmp/tmp5_3xn907.c" target datalayout = "e-m:e-p270: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/tmp5_3xn907.c" target datalayout = "e-m:e-p270: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/tmp3ueq2b7r.c' source_filename = "/tmp/tmp3ueq2b7r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @logger_tail_last_eol(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 br label %6 6: ; preds = %24, %2 %7 = load ptr, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp uge ptr %7, %8 br i1 %9, label %10, label %27 10: ; preds = %6 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds i8, ptr %11, i64 0 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 10 br i1 %15, label %22, label %16 16: ; preds = %10 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 0 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 13 br i1 %21, label %22, label %24 22: ; preds = %16, %10 %23 = load ptr, ptr %5, align 8 store ptr %23, ptr %3, align 8 br label %28 24: ; preds = %16 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 -1 store ptr %26, ptr %5, align 8 br label %6, !llvm.loop !6 27: ; preds = %6 store ptr null, ptr %3, align 8 br label %28 28: ; preds = %27, %22 %29 = load ptr, ptr %3, align 8 ret ptr %29 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp3ueq2b7r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @logger_tail_last_eol(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp uge ptr %6, %7 br i1 %8, label %.lr.ph, label %29 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %23 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 0 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp eq i32 %13, 10 br i1 %14, label %21, label %15 15: ; preds = %9 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds i8, ptr %16, i64 0 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 13 br i1 %20, label %21, label %23 21: ; preds = %15, %9 %22 = load ptr, ptr %5, align 8 store ptr %22, ptr %3, align 8 br label %30 23: ; preds = %15 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 -1 store ptr %25, ptr %5, align 8 %26 = load ptr, ptr %5, align 8 %27 = load ptr, ptr %4, align 8 %28 = icmp uge ptr %26, %27 br i1 %28, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %29 29: ; preds = %._crit_edge, %2 store ptr null, ptr %3, align 8 br label %30 30: ; preds = %29, %21 %31 = load ptr, ptr %3, align 8 ret ptr %31 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpm7503s6c.c' source_filename = "/tmp/tmpm7503s6c.c" target datalayout = "e-m:e-p270: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_slice_buffer_create() #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/tmpm7503s6c.c" target datalayout = "e-m:e-p270: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_slice_buffer_create() #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/tmp9lschk41.c' source_filename = "/tmp/tmp9lschk41.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Ping Pong %d bytes ok\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"Wrong size! send %d receive %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @send_pingpong(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [64 x i8], align 16 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 2, ptr %5, align 4 br label %8 8: ; preds = %42, %2 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %9, 64 br i1 %10, label %11, label %45 11: ; preds = %8 %12 = load i32, ptr %5, align 4 %13 = trunc i32 %12 to i8 %14 = load ptr, ptr %4, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 0 store i8 %13, ptr %15, align 1 %16 = load i32, ptr %3, align 4 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %5, align 4 %19 = call i32 @send_data(i32 noundef %16, ptr noundef %17, i32 noundef %18) store i32 %19, ptr %6, align 4 %20 = load i32, ptr %6, align 4 %21 = icmp sgt i32 %20, 0 br i1 %21, label %22, label %41 22: ; preds = %11 %23 = load i32, ptr %3, align 4 %24 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %25 = call i32 @receive_data(i32 noundef %23, ptr noundef %24, i32 noundef 64, i32 noundef 1) store i32 %25, ptr %6, align 4 %26 = load i32, ptr %6, align 4 %27 = icmp sgt i32 %26, 0 br i1 %27, label %28, label %40 28: ; preds = %22 %29 = load i32, ptr %6, align 4 %30 = load i32, ptr %5, align 4 %31 = icmp eq i32 %29, %30 br i1 %31, label %32, label %35 32: ; preds = %28 %33 = load i32, ptr %5, align 4 %34 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %33) br label %39 35: ; preds = %28 %36 = load i32, ptr %5, align 4 %37 = load i32, ptr %6, align 4 %38 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %36, i32 noundef %37) br label %39 39: ; preds = %35, %32 br label %40 40: ; preds = %39, %22 br label %41 41: ; preds = %40, %11 br label %42 42: ; preds = %41 %43 = load i32, ptr %5, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %5, align 4 br label %8, !llvm.loop !6 45: ; preds = %8 ret i32 0 } declare i32 @send_data(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @receive_data(i32 noundef, 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9lschk41.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Ping Pong %d bytes ok\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"Wrong size! send %d receive %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @send_pingpong(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [64 x i8], align 16 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 2, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp slt i32 %8, 64 br i1 %9, label %.lr.ph, label %46 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %41 %11 = load i32, ptr %5, align 4 %12 = trunc i32 %11 to i8 %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 0 store i8 %12, ptr %14, align 1 %15 = load i32, ptr %3, align 4 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %5, align 4 %18 = call i32 @send_data(i32 noundef %15, ptr noundef %16, i32 noundef %17) store i32 %18, ptr %6, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp sgt i32 %19, 0 br i1 %20, label %21, label %40 21: ; preds = %10 %22 = load i32, ptr %3, align 4 %23 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %24 = call i32 @receive_data(i32 noundef %22, ptr noundef %23, i32 noundef 64, i32 noundef 1) store i32 %24, ptr %6, align 4 %25 = load i32, ptr %6, align 4 %26 = icmp sgt i32 %25, 0 br i1 %26, label %27, label %39 27: ; preds = %21 %28 = load i32, ptr %6, align 4 %29 = load i32, ptr %5, align 4 %30 = icmp eq i32 %28, %29 br i1 %30, label %31, label %34 31: ; preds = %27 %32 = load i32, ptr %5, align 4 %33 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %32) br label %38 34: ; preds = %27 %35 = load i32, ptr %5, align 4 %36 = load i32, ptr %6, align 4 %37 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %35, i32 noundef %36) br label %38 38: ; preds = %34, %31 br label %39 39: ; preds = %38, %21 br label %40 40: ; preds = %39, %10 br label %41 41: ; preds = %40 %42 = load i32, ptr %5, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %5, align 4 %44 = load i32, ptr %5, align 4 %45 = icmp slt i32 %44, 64 br i1 %45, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %46 46: ; preds = %._crit_edge, %2 ret i32 0 } declare i32 @send_data(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @receive_data(i32 noundef, 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"}
; ModuleID = '/tmp/tmp83an17kv.c' source_filename = "/tmp/tmp83an17kv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yahoo_f01_55(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = xor i32 %6, 1323175084 store i32 %7, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = call i32 @yahoo_M1Common(i32 noundef %8, i32 noundef %9) ret i32 %10 } declare i32 @yahoo_M1Common(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/tmp83an17kv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yahoo_f01_55(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = xor i32 %6, 1323175084 store i32 %7, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = call i32 @yahoo_M1Common(i32 noundef %8, i32 noundef %9) ret i32 %10 } declare i32 @yahoo_M1Common(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/tmpj1vhnsre.c' source_filename = "/tmp/tmpj1vhnsre.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NOT IMPLEMENTED:pa_pstream_ref\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_pstream_ref() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } 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/tmpj1vhnsre.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NOT IMPLEMENTED:pa_pstream_ref\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_pstream_ref() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } 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/tmpe0e8opmv.c' source_filename = "/tmp/tmpe0e8opmv.c" target datalayout = "e-m:e-p270: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 } @.str = private unnamed_addr constant [26 x i8] c"failed to stat() '%s': %s\00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"'%s' not a directory\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @isdir(ptr noundef %0) #0 { %2 = alloca i32, align 4 %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 slt i64 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr @errno, align 4 %11 = call i32 @strerror(i32 noundef %10) %12 = call i32 (ptr, ptr, ...) @debug(ptr noundef @.str, ptr noundef %9, i32 noundef %11) store i32 0, ptr %2, align 4 br label %22 13: ; preds = %1 %14 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %15 = load i32, ptr %14, align 4 %16 = call i32 @S_ISDIR(i32 noundef %15) %17 = icmp ne i32 %16, 0 br i1 %17, label %21, label %18 18: ; preds = %13 %19 = load ptr, ptr %3, align 8 %20 = call i32 (ptr, ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %19) store i32 0, ptr %2, align 4 br label %22 21: ; preds = %13 store i32 1, ptr %2, align 4 br label %22 22: ; preds = %21, %18, %8 %23 = load i32, ptr %2, align 4 ret i32 %23 } declare i64 @stat(ptr noundef, ptr noundef) #1 declare i32 @debug(ptr noundef, ptr noundef, ...) #1 declare i32 @strerror(i32 noundef) #1 declare i32 @S_ISDIR(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/tmpe0e8opmv.c" target datalayout = "e-m:e-p270: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 } @.str = private unnamed_addr constant [26 x i8] c"failed to stat() '%s': %s\00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"'%s' not a directory\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @isdir(ptr noundef %0) #0 { %2 = alloca i32, align 4 %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 slt i64 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr @errno, align 4 %11 = call i32 @strerror(i32 noundef %10) %12 = call i32 (ptr, ptr, ...) @debug(ptr noundef @.str, ptr noundef %9, i32 noundef %11) store i32 0, ptr %2, align 4 br label %22 13: ; preds = %1 %14 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %15 = load i32, ptr %14, align 4 %16 = call i32 @S_ISDIR(i32 noundef %15) %17 = icmp ne i32 %16, 0 br i1 %17, label %21, label %18 18: ; preds = %13 %19 = load ptr, ptr %3, align 8 %20 = call i32 (ptr, ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %19) store i32 0, ptr %2, align 4 br label %22 21: ; preds = %13 store i32 1, ptr %2, align 4 br label %22 22: ; preds = %21, %18, %8 %23 = load i32, ptr %2, align 4 ret i32 %23 } declare i64 @stat(ptr noundef, ptr noundef) #1 declare i32 @debug(ptr noundef, ptr noundef, ...) #1 declare i32 @strerror(i32 noundef) #1 declare i32 @S_ISDIR(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/tmp3lq034qa.c' source_filename = "/tmp/tmp3lq034qa.c" target datalayout = "e-m:e-p270: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/tmp3lq034qa.c" target datalayout = "e-m:e-p270: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/tmpas7rxau6.c' source_filename = "/tmp/tmpas7rxau6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calc_checksum(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i32 0, ptr %6, align 4 store i64 0, ptr %5, align 8 br label %7 7: ; preds = %20, %2 %8 = load i64, ptr %5, align 8 %9 = load i64, ptr %4, align 8 %10 = icmp ult i64 %8, %9 br i1 %10, label %11, label %23 11: ; preds = %7 %12 = load ptr, ptr %3, align 8 %13 = load i64, ptr %5, align 8 %14 = getelementptr inbounds i64, ptr %12, i64 %13 %15 = load i64, ptr %14, align 8 %16 = load i32, ptr %6, align 4 %17 = sext i32 %16 to i64 %18 = add nsw i64 %17, %15 %19 = trunc i64 %18 to i32 store i32 %19, ptr %6, align 4 br label %20 20: ; preds = %11 %21 = load i64, ptr %5, align 8 %22 = add i64 %21, 1 store i64 %22, ptr %5, align 8 br label %7, !llvm.loop !6 23: ; preds = %7 %24 = load i32, ptr %6, 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 = '<stdin>' source_filename = "/tmp/tmpas7rxau6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calc_checksum(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i32 0, ptr %6, align 4 store i64 0, ptr %5, align 8 %7 = load i64, ptr %5, align 8 %8 = load i64, ptr %4, align 8 %9 = icmp ult i64 %7, %8 br i1 %9, label %.lr.ph, label %25 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %19 %11 = load ptr, ptr %3, align 8 %12 = load i64, ptr %5, align 8 %13 = getelementptr inbounds i64, ptr %11, i64 %12 %14 = load i64, ptr %13, align 8 %15 = load i32, ptr %6, align 4 %16 = sext i32 %15 to i64 %17 = add nsw i64 %16, %14 %18 = trunc i64 %17 to i32 store i32 %18, ptr %6, align 4 br label %19 19: ; preds = %10 %20 = load i64, ptr %5, align 8 %21 = add i64 %20, 1 store i64 %21, ptr %5, align 8 %22 = load i64, ptr %5, align 8 %23 = load i64, ptr %4, align 8 %24 = icmp ult i64 %22, %23 br i1 %24, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %25 25: ; preds = %._crit_edge, %2 %26 = load i32, ptr %6, align 4 ret i32 %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/tmp8z8pcukh.c' source_filename = "/tmp/tmp8z8pcukh.c" target datalayout = "e-m:e-p270: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/tmp8z8pcukh.c" target datalayout = "e-m:e-p270: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/tmp38rv6hx_.c' source_filename = "/tmp/tmp38rv6hx_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @minibuf_format(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = call i32 @zvasprintf(ptr noundef %5, ptr noundef %6, i32 noundef %7) %9 = load ptr, ptr %5, align 8 ret ptr %9 } declare i32 @zvasprintf(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/tmp38rv6hx_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @minibuf_format(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = call i32 @zvasprintf(ptr noundef %5, ptr noundef %6, i32 noundef %7) %9 = load ptr, ptr %5, align 8 ret ptr %9 } declare i32 @zvasprintf(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/tmp6iij39x9.c' source_filename = "/tmp/tmp6iij39x9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"table2.dat\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Data file table2.dat not found\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"%*15c\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c" %s\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"%[^0123456789]\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.7 = private unnamed_addr constant [8 x i8] c"%s\0A%16s\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.11 = private unnamed_addr constant [4 x i8] c"%4d\00", align 1 @.str.12 = private unnamed_addr constant [31 x i8] c" press return to continue ...\0A\00", align 1 @.str.13 = private unnamed_addr constant [5 x i8] c"%16s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca [80 x i8], align 16 %9 = alloca [80 x i8], align 16 %10 = alloca [21 x [17 x i8]], align 16 %11 = alloca [13 x [5 x i8]], align 16 %12 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %13 = call ptr @vector(i32 noundef 1, i32 noundef 20) store ptr %13, ptr %4, align 8 %14 = call ptr @vector(i32 noundef 1, i32 noundef 20) store ptr %14, ptr %5, align 8 %15 = call ptr @vector(i32 noundef 1, i32 noundef 12) store ptr %15, ptr %6, align 8 %16 = call ptr @matrix(i32 noundef 1, i32 noundef 20, i32 noundef 1, i32 noundef 12) store ptr %16, ptr %7, align 8 %17 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %17, ptr %12, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %21 19: ; preds = %0 %20 = call i32 @nrerror(ptr noundef @.str.2) br label %21 21: ; preds = %19, %0 %22 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0 %23 = load ptr, ptr %12, align 8 %24 = call i32 @fgets(ptr noundef %22, i32 noundef 80, ptr noundef %23) %25 = getelementptr inbounds [80 x i8], ptr %9, i64 0, i64 0 %26 = load ptr, ptr %12, align 8 %27 = call i32 @fgets(ptr noundef %25, i32 noundef 80, ptr noundef %26) %28 = load ptr, ptr %12, align 8 %29 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %28, ptr noundef @.str.3) store i32 1, ptr %2, align 4 br label %30 30: ; preds = %40, %21 %31 = load i32, ptr %2, align 4 %32 = icmp sle i32 %31, 12 br i1 %32, label %33, label %43 33: ; preds = %30 %34 = load ptr, ptr %12, align 8 %35 = load i32, ptr %2, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [13 x [5 x i8]], ptr %11, i64 0, i64 %36 %38 = getelementptr inbounds [5 x i8], ptr %37, i64 0, i64 0 %39 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %34, ptr noundef @.str.4, ptr noundef %38) br label %40 40: ; preds = %33 %41 = load i32, ptr %2, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %2, align 4 br label %30, !llvm.loop !6 43: ; preds = %30 %44 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0 %45 = load ptr, ptr %12, align 8 %46 = call i32 @fgets(ptr noundef %44, i32 noundef 80, ptr noundef %45) %47 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0 %48 = load ptr, ptr %12, align 8 %49 = call i32 @fgets(ptr noundef %47, i32 noundef 80, ptr noundef %48) store i32 1, ptr %2, align 4 br label %50 50: ; preds = %85, %43 %51 = load i32, ptr %2, align 4 %52 = icmp sle i32 %51, 20 br i1 %52, label %53, label %88 53: ; preds = %50 %54 = load ptr, ptr %12, align 8 %55 = load i32, ptr %2, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [21 x [17 x i8]], ptr %10, i64 0, i64 %56 %58 = getelementptr inbounds [17 x i8], ptr %57, i64 0, i64 0 %59 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %54, ptr noundef @.str.5, ptr noundef %58) %60 = load i32, ptr %2, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [21 x [17 x i8]], ptr %10, i64 0, i64 %61 %63 = getelementptr inbounds [17 x i8], ptr %62, i64 0, i64 16 store i8 0, ptr %63, align 1 store i32 1, ptr %3, align 4 br label %64 64: ; preds = %78, %53 %65 = load i32, ptr %3, align 4 %66 = icmp sle i32 %65, 12 br i1 %66, label %67, label %81 67: ; preds = %64 %68 = load ptr, ptr %12, align 8 %69 = load ptr, ptr %7, align 8 %70 = load i32, ptr %2, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds ptr, ptr %69, i64 %71 %73 = load ptr, ptr %72, align 8 %74 = load i32, ptr %3, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds float, ptr %73, i64 %75 %77 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %68, ptr noundef @.str.6, ptr noundef %76) br label %78 78: ; preds = %67 %79 = load i32, ptr %3, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %3, align 4 br label %64, !llvm.loop !8 81: ; preds = %64 %82 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0 %83 = load ptr, ptr %12, align 8 %84 = call i32 @fgets(ptr noundef %82, i32 noundef 80, ptr noundef %83) br label %85 85: ; preds = %81 %86 = load i32, ptr %2, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %2, align 4 br label %50, !llvm.loop !9 88: ; preds = %50 %89 = load ptr, ptr %12, align 8 %90 = call i32 @fclose(ptr noundef %89) %91 = getelementptr inbounds [80 x i8], ptr %9, i64 0, i64 0 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %91, ptr noundef @.str.8) store i32 1, ptr %2, align 4 br label %93 93: ; preds = %102, %88 %94 = load i32, ptr %2, align 4 %95 = icmp sle i32 %94, 12 br i1 %95, label %96, label %105 96: ; preds = %93 %97 = load i32, ptr %2, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds [13 x [5 x i8]], ptr %11, i64 0, i64 %98 %100 = getelementptr inbounds [5 x i8], ptr %99, i64 0, i64 0 %101 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %100) br label %102 102: ; preds = %96 %103 = load i32, ptr %2, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %2, align 4 br label %93, !llvm.loop !10 105: ; preds = %93 %106 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) store i32 1, ptr %2, align 4 br label %107 107: ; preds = %138, %105 %108 = load i32, ptr %2, align 4 %109 = icmp sle i32 %108, 20 br i1 %109, label %110, label %141 110: ; preds = %107 %111 = load i32, ptr %2, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds [21 x [17 x i8]], ptr %10, i64 0, i64 %112 %114 = getelementptr inbounds [17 x i8], ptr %113, i64 0, i64 0 %115 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %114) store i32 1, ptr %3, align 4 br label %116 116: ; preds = %133, %110 %117 = load i32, ptr %3, align 4 %118 = icmp sle i32 %117, 12 br i1 %118, label %119, label %136 119: ; preds = %116 %120 = load ptr, ptr %7, align 8 %121 = load i32, ptr %2, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds ptr, ptr %120, i64 %122 %124 = load ptr, ptr %123, align 8 %125 = load i32, ptr %3, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds float, ptr %124, i64 %126 %128 = load float, ptr %127, align 4 %129 = fpext float %128 to double %130 = fadd double 5.000000e-01, %129 %131 = fptosi double %130 to i32 %132 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %131) br label %133 133: ; preds = %119 %134 = load i32, ptr %3, align 4 %135 = add nsw i32 %134, 1 store i32 %135, ptr %3, align 4 br label %116, !llvm.loop !11 136: ; preds = %116 %137 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %138 138: ; preds = %136 %139 = load i32, ptr %2, align 4 %140 = add nsw i32 %139, 1 store i32 %140, ptr %2, align 4 br label %107, !llvm.loop !12 141: ; preds = %107 %142 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %143 = call i32 (...) @getchar() store i32 1, ptr %3, align 4 br label %144 144: ; preds = %212, %141 %145 = load i32, ptr %3, align 4 %146 = icmp sle i32 %145, 12 br i1 %146, label %147, label %215 147: ; preds = %144 store i32 1, ptr %2, align 4 br label %148 148: ; preds = %171, %147 %149 = load i32, ptr %2, align 4 %150 = icmp sle i32 %149, 20 br i1 %150, label %151, label %174 151: ; preds = %148 %152 = load ptr, ptr %7, align 8 %153 = load i32, ptr %2, align 4 %154 = sext i32 %153 to i64 %155 = getelementptr inbounds ptr, ptr %152, i64 %154 %156 = load ptr, ptr %155, align 8 %157 = load i32, ptr %3, align 4 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds float, ptr %156, i64 %158 %160 = load float, ptr %159, align 4 %161 = load ptr, ptr %4, align 8 %162 = load i32, ptr %2, align 4 %163 = sext i32 %162 to i64 %164 = getelementptr inbounds float, ptr %161, i64 %163 store float %160, ptr %164, align 4 %165 = load i32, ptr %2, align 4 %166 = sitofp i32 %165 to float %167 = load ptr, ptr %5, align 8 %168 = load i32, ptr %2, align 4 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds float, ptr %167, i64 %169 store float %166, ptr %170, align 4 br label %171 171: ; preds = %151 %172 = load i32, ptr %2, align 4 %173 = add nsw i32 %172, 1 store i32 %173, ptr %2, align 4 br label %148, !llvm.loop !13 174: ; preds = %148 %175 = load ptr, ptr %4, align 8 %176 = load ptr, ptr %5, align 8 %177 = call i32 @sort2(i32 noundef 20, ptr noundef %175, ptr noundef %176) %178 = load ptr, ptr %4, align 8 %179 = load ptr, ptr %6, align 8 %180 = load i32, ptr %3, align 4 %181 = sext i32 %180 to i64 %182 = getelementptr inbounds float, ptr %179, i64 %181 %183 = call i32 @crank(i32 noundef 20, ptr noundef %178, ptr noundef %182) store i32 1, ptr %2, align 4 br label %184 184: ; preds = %208, %174 %185 = load i32, ptr %2, align 4 %186 = icmp sle i32 %185, 20 br i1 %186, label %187, label %211 187: ; preds = %184 %188 = load ptr, ptr %4, align 8 %189 = load i32, ptr %2, align 4 %190 = sext i32 %189 to i64 %191 = getelementptr inbounds float, ptr %188, i64 %190 %192 = load float, ptr %191, align 4 %193 = load ptr, ptr %7, align 8 %194 = load ptr, ptr %5, align 8 %195 = load i32, ptr %2, align 4 %196 = sext i32 %195 to i64 %197 = getelementptr inbounds float, ptr %194, i64 %196 %198 = load float, ptr %197, align 4 %199 = fpext float %198 to double %200 = fadd double 5.000000e-01, %199 %201 = fptosi double %200 to i32 %202 = sext i32 %201 to i64 %203 = getelementptr inbounds ptr, ptr %193, i64 %202 %204 = load ptr, ptr %203, align 8 %205 = load i32, ptr %3, align 4 %206 = sext i32 %205 to i64 %207 = getelementptr inbounds float, ptr %204, i64 %206 store float %192, ptr %207, align 4 br label %208 208: ; preds = %187 %209 = load i32, ptr %2, align 4 %210 = add nsw i32 %209, 1 store i32 %210, ptr %2, align 4 br label %184, !llvm.loop !14 211: ; preds = %184 br label %212 212: ; preds = %211 %213 = load i32, ptr %3, align 4 %214 = add nsw i32 %213, 1 store i32 %214, ptr %3, align 4 br label %144, !llvm.loop !15 215: ; preds = %144 %216 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, ptr noundef @.str.8) store i32 1, ptr %2, align 4 br label %217 217: ; preds = %226, %215 %218 = load i32, ptr %2, align 4 %219 = icmp sle i32 %218, 12 br i1 %219, label %220, label %229 220: ; preds = %217 %221 = load i32, ptr %2, align 4 %222 = sext i32 %221 to i64 %223 = getelementptr inbounds [13 x [5 x i8]], ptr %11, i64 0, i64 %222 %224 = getelementptr inbounds [5 x i8], ptr %223, i64 0, i64 0 %225 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %224) br label %226 226: ; preds = %220 %227 = load i32, ptr %2, align 4 %228 = add nsw i32 %227, 1 store i32 %228, ptr %2, align 4 br label %217, !llvm.loop !16 229: ; preds = %217 %230 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) store i32 1, ptr %2, align 4 br label %231 231: ; preds = %262, %229 %232 = load i32, ptr %2, align 4 %233 = icmp sle i32 %232, 20 br i1 %233, label %234, label %265 234: ; preds = %231 %235 = load i32, ptr %2, align 4 %236 = sext i32 %235 to i64 %237 = getelementptr inbounds [21 x [17 x i8]], ptr %10, i64 0, i64 %236 %238 = getelementptr inbounds [17 x i8], ptr %237, i64 0, i64 0 %239 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %238) store i32 1, ptr %3, align 4 br label %240 240: ; preds = %257, %234 %241 = load i32, ptr %3, align 4 %242 = icmp sle i32 %241, 12 br i1 %242, label %243, label %260 243: ; preds = %240 %244 = load ptr, ptr %7, align 8 %245 = load i32, ptr %2, align 4 %246 = sext i32 %245 to i64 %247 = getelementptr inbounds ptr, ptr %244, i64 %246 %248 = load ptr, ptr %247, align 8 %249 = load i32, ptr %3, align 4 %250 = sext i32 %249 to i64 %251 = getelementptr inbounds float, ptr %248, i64 %250 %252 = load float, ptr %251, align 4 %253 = fpext float %252 to double %254 = fadd double 5.000000e-01, %253 %255 = fptosi double %254 to i32 %256 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %255) br label %257 257: ; preds = %243 %258 = load i32, ptr %3, align 4 %259 = add nsw i32 %258, 1 store i32 %259, ptr %3, align 4 br label %240, !llvm.loop !17 260: ; preds = %240 %261 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %262 262: ; preds = %260 %263 = load i32, ptr %2, align 4 %264 = add nsw i32 %263, 1 store i32 %264, ptr %2, align 4 br label %231, !llvm.loop !18 265: ; preds = %231 %266 = load ptr, ptr %7, align 8 %267 = call i32 @free_matrix(ptr noundef %266, i32 noundef 1, i32 noundef 20, i32 noundef 1, i32 noundef 12) %268 = load ptr, ptr %6, align 8 %269 = call i32 @free_vector(ptr noundef %268, i32 noundef 1, i32 noundef 12) %270 = load ptr, ptr %5, align 8 %271 = call i32 @free_vector(ptr noundef %270, i32 noundef 1, i32 noundef 20) %272 = load ptr, ptr %4, align 8 %273 = call i32 @free_vector(ptr noundef %272, i32 noundef 1, i32 noundef 20) ret i32 0 } declare ptr @vector(i32 noundef, i32 noundef) #1 declare ptr @matrix(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @nrerror(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ...) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @getchar(...) #1 declare i32 @sort2(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @crank(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @free_matrix(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @free_vector(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} !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/tmp6iij39x9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"table2.dat\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Data file table2.dat not found\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"%*15c\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c" %s\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"%[^0123456789]\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.7 = private unnamed_addr constant [8 x i8] c"%s\0A%16s\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.11 = private unnamed_addr constant [4 x i8] c"%4d\00", align 1 @.str.12 = private unnamed_addr constant [31 x i8] c" press return to continue ...\0A\00", align 1 @.str.13 = private unnamed_addr constant [5 x i8] c"%16s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca [80 x i8], align 16 %9 = alloca [80 x i8], align 16 %10 = alloca [21 x [17 x i8]], align 16 %11 = alloca [13 x [5 x i8]], align 16 %12 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %13 = call ptr @vector(i32 noundef 1, i32 noundef 20) store ptr %13, ptr %4, align 8 %14 = call ptr @vector(i32 noundef 1, i32 noundef 20) store ptr %14, ptr %5, align 8 %15 = call ptr @vector(i32 noundef 1, i32 noundef 12) store ptr %15, ptr %6, align 8 %16 = call ptr @matrix(i32 noundef 1, i32 noundef 20, i32 noundef 1, i32 noundef 12) store ptr %16, ptr %7, align 8 %17 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %17, ptr %12, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %21 19: ; preds = %0 %20 = call i32 @nrerror(ptr noundef @.str.2) br label %21 21: ; preds = %19, %0 %22 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0 %23 = load ptr, ptr %12, align 8 %24 = call i32 @fgets(ptr noundef %22, i32 noundef 80, ptr noundef %23) %25 = getelementptr inbounds [80 x i8], ptr %9, i64 0, i64 0 %26 = load ptr, ptr %12, align 8 %27 = call i32 @fgets(ptr noundef %25, i32 noundef 80, ptr noundef %26) %28 = load ptr, ptr %12, align 8 %29 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %28, ptr noundef @.str.3) store i32 1, ptr %2, align 4 %30 = load i32, ptr %2, align 4 %31 = icmp sle i32 %30, 12 br i1 %31, label %.lr.ph, label %44 .lr.ph: ; preds = %21 br label %32 32: ; preds = %.lr.ph, %39 %33 = load ptr, ptr %12, align 8 %34 = load i32, ptr %2, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [13 x [5 x i8]], ptr %11, i64 0, i64 %35 %37 = getelementptr inbounds [5 x i8], ptr %36, i64 0, i64 0 %38 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %33, ptr noundef @.str.4, ptr noundef %37) br label %39 39: ; preds = %32 %40 = load i32, ptr %2, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %2, align 4 %42 = load i32, ptr %2, align 4 %43 = icmp sle i32 %42, 12 br i1 %43, label %32, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %39 br label %44 44: ; preds = %._crit_edge, %21 %45 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0 %46 = load ptr, ptr %12, align 8 %47 = call i32 @fgets(ptr noundef %45, i32 noundef 80, ptr noundef %46) %48 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0 %49 = load ptr, ptr %12, align 8 %50 = call i32 @fgets(ptr noundef %48, i32 noundef 80, ptr noundef %49) store i32 1, ptr %2, align 4 %51 = load i32, ptr %2, align 4 %52 = icmp sle i32 %51, 20 br i1 %52, label %.lr.ph5, label %91 .lr.ph5: ; preds = %44 br label %53 53: ; preds = %.lr.ph5, %86 %54 = load ptr, ptr %12, align 8 %55 = load i32, ptr %2, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [21 x [17 x i8]], ptr %10, i64 0, i64 %56 %58 = getelementptr inbounds [17 x i8], ptr %57, i64 0, i64 0 %59 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %54, ptr noundef @.str.5, ptr noundef %58) %60 = load i32, ptr %2, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [21 x [17 x i8]], ptr %10, i64 0, i64 %61 %63 = getelementptr inbounds [17 x i8], ptr %62, i64 0, i64 16 store i8 0, ptr %63, align 1 store i32 1, ptr %3, align 4 %64 = load i32, ptr %3, align 4 %65 = icmp sle i32 %64, 12 br i1 %65, label %.lr.ph2, label %82 .lr.ph2: ; preds = %53 br label %66 66: ; preds = %.lr.ph2, %77 %67 = load ptr, ptr %12, align 8 %68 = load ptr, ptr %7, align 8 %69 = load i32, ptr %2, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds ptr, ptr %68, i64 %70 %72 = load ptr, ptr %71, align 8 %73 = load i32, ptr %3, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds float, ptr %72, i64 %74 %76 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %67, ptr noundef @.str.6, ptr noundef %75) br label %77 77: ; preds = %66 %78 = load i32, ptr %3, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %3, align 4 %80 = load i32, ptr %3, align 4 %81 = icmp sle i32 %80, 12 br i1 %81, label %66, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %77 br label %82 82: ; preds = %._crit_edge3, %53 %83 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0 %84 = load ptr, ptr %12, align 8 %85 = call i32 @fgets(ptr noundef %83, i32 noundef 80, ptr noundef %84) br label %86 86: ; preds = %82 %87 = load i32, ptr %2, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %2, align 4 %89 = load i32, ptr %2, align 4 %90 = icmp sle i32 %89, 20 br i1 %90, label %53, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %86 br label %91 91: ; preds = %._crit_edge6, %44 %92 = load ptr, ptr %12, align 8 %93 = call i32 @fclose(ptr noundef %92) %94 = getelementptr inbounds [80 x i8], ptr %9, i64 0, i64 0 %95 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %94, ptr noundef @.str.8) store i32 1, ptr %2, align 4 %96 = load i32, ptr %2, align 4 %97 = icmp sle i32 %96, 12 br i1 %97, label %.lr.ph8, label %109 .lr.ph8: ; preds = %91 br label %98 98: ; preds = %.lr.ph8, %104 %99 = load i32, ptr %2, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds [13 x [5 x i8]], ptr %11, i64 0, i64 %100 %102 = getelementptr inbounds [5 x i8], ptr %101, i64 0, i64 0 %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %102) br label %104 104: ; preds = %98 %105 = load i32, ptr %2, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %2, align 4 %107 = load i32, ptr %2, align 4 %108 = icmp sle i32 %107, 12 br i1 %108, label %98, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %104 br label %109 109: ; preds = %._crit_edge9, %91 %110 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) store i32 1, ptr %2, align 4 %111 = load i32, ptr %2, align 4 %112 = icmp sle i32 %111, 20 br i1 %112, label %.lr.ph14, label %147 .lr.ph14: ; preds = %109 br label %113 113: ; preds = %.lr.ph14, %142 %114 = load i32, ptr %2, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds [21 x [17 x i8]], ptr %10, i64 0, i64 %115 %117 = getelementptr inbounds [17 x i8], ptr %116, i64 0, i64 0 %118 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %117) store i32 1, ptr %3, align 4 %119 = load i32, ptr %3, align 4 %120 = icmp sle i32 %119, 12 br i1 %120, label %.lr.ph11, label %140 .lr.ph11: ; preds = %113 br label %121 121: ; preds = %.lr.ph11, %135 %122 = load ptr, ptr %7, align 8 %123 = load i32, ptr %2, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds ptr, ptr %122, i64 %124 %126 = load ptr, ptr %125, align 8 %127 = load i32, ptr %3, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds float, ptr %126, i64 %128 %130 = load float, ptr %129, align 4 %131 = fpext float %130 to double %132 = fadd double 5.000000e-01, %131 %133 = fptosi double %132 to i32 %134 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %133) br label %135 135: ; preds = %121 %136 = load i32, ptr %3, align 4 %137 = add nsw i32 %136, 1 store i32 %137, ptr %3, align 4 %138 = load i32, ptr %3, align 4 %139 = icmp sle i32 %138, 12 br i1 %139, label %121, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %135 br label %140 140: ; preds = %._crit_edge12, %113 %141 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %142 142: ; preds = %140 %143 = load i32, ptr %2, align 4 %144 = add nsw i32 %143, 1 store i32 %144, ptr %2, align 4 %145 = load i32, ptr %2, align 4 %146 = icmp sle i32 %145, 20 br i1 %146, label %113, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %142 br label %147 147: ; preds = %._crit_edge15, %109 %148 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %149 = call i32 (...) @getchar() store i32 1, ptr %3, align 4 %150 = load i32, ptr %3, align 4 %151 = icmp sle i32 %150, 12 br i1 %151, label %.lr.ph23, label %224 .lr.ph23: ; preds = %147 br label %152 152: ; preds = %.lr.ph23, %219 store i32 1, ptr %2, align 4 %153 = load i32, ptr %2, align 4 %154 = icmp sle i32 %153, 20 br i1 %154, label %.lr.ph17, label %180 .lr.ph17: ; preds = %152 br label %155 155: ; preds = %.lr.ph17, %175 %156 = load ptr, ptr %7, align 8 %157 = load i32, ptr %2, align 4 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds ptr, ptr %156, i64 %158 %160 = load ptr, ptr %159, align 8 %161 = load i32, ptr %3, align 4 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds float, ptr %160, i64 %162 %164 = load float, ptr %163, align 4 %165 = load ptr, ptr %4, align 8 %166 = load i32, ptr %2, align 4 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds float, ptr %165, i64 %167 store float %164, ptr %168, align 4 %169 = load i32, ptr %2, align 4 %170 = sitofp i32 %169 to float %171 = load ptr, ptr %5, align 8 %172 = load i32, ptr %2, align 4 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds float, ptr %171, i64 %173 store float %170, ptr %174, align 4 br label %175 175: ; preds = %155 %176 = load i32, ptr %2, align 4 %177 = add nsw i32 %176, 1 store i32 %177, ptr %2, align 4 %178 = load i32, ptr %2, align 4 %179 = icmp sle i32 %178, 20 br i1 %179, label %155, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %175 br label %180 180: ; preds = %._crit_edge18, %152 %181 = load ptr, ptr %4, align 8 %182 = load ptr, ptr %5, align 8 %183 = call i32 @sort2(i32 noundef 20, ptr noundef %181, ptr noundef %182) %184 = load ptr, ptr %4, align 8 %185 = load ptr, ptr %6, align 8 %186 = load i32, ptr %3, align 4 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds float, ptr %185, i64 %187 %189 = call i32 @crank(i32 noundef 20, ptr noundef %184, ptr noundef %188) store i32 1, ptr %2, align 4 %190 = load i32, ptr %2, align 4 %191 = icmp sle i32 %190, 20 br i1 %191, label %.lr.ph20, label %218 .lr.ph20: ; preds = %180 br label %192 192: ; preds = %.lr.ph20, %213 %193 = load ptr, ptr %4, align 8 %194 = load i32, ptr %2, align 4 %195 = sext i32 %194 to i64 %196 = getelementptr inbounds float, ptr %193, i64 %195 %197 = load float, ptr %196, align 4 %198 = load ptr, ptr %7, align 8 %199 = load ptr, ptr %5, align 8 %200 = load i32, ptr %2, align 4 %201 = sext i32 %200 to i64 %202 = getelementptr inbounds float, ptr %199, i64 %201 %203 = load float, ptr %202, align 4 %204 = fpext float %203 to double %205 = fadd double 5.000000e-01, %204 %206 = fptosi double %205 to i32 %207 = sext i32 %206 to i64 %208 = getelementptr inbounds ptr, ptr %198, i64 %207 %209 = load ptr, ptr %208, align 8 %210 = load i32, ptr %3, align 4 %211 = sext i32 %210 to i64 %212 = getelementptr inbounds float, ptr %209, i64 %211 store float %197, ptr %212, align 4 br label %213 213: ; preds = %192 %214 = load i32, ptr %2, align 4 %215 = add nsw i32 %214, 1 store i32 %215, ptr %2, align 4 %216 = load i32, ptr %2, align 4 %217 = icmp sle i32 %216, 20 br i1 %217, label %192, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %213 br label %218 218: ; preds = %._crit_edge21, %180 br label %219 219: ; preds = %218 %220 = load i32, ptr %3, align 4 %221 = add nsw i32 %220, 1 store i32 %221, ptr %3, align 4 %222 = load i32, ptr %3, align 4 %223 = icmp sle i32 %222, 12 br i1 %223, label %152, label %._crit_edge24, !llvm.loop !15 ._crit_edge24: ; preds = %219 br label %224 224: ; preds = %._crit_edge24, %147 %225 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, ptr noundef @.str.8) store i32 1, ptr %2, align 4 %226 = load i32, ptr %2, align 4 %227 = icmp sle i32 %226, 12 br i1 %227, label %.lr.ph26, label %239 .lr.ph26: ; preds = %224 br label %228 228: ; preds = %.lr.ph26, %234 %229 = load i32, ptr %2, align 4 %230 = sext i32 %229 to i64 %231 = getelementptr inbounds [13 x [5 x i8]], ptr %11, i64 0, i64 %230 %232 = getelementptr inbounds [5 x i8], ptr %231, i64 0, i64 0 %233 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %232) br label %234 234: ; preds = %228 %235 = load i32, ptr %2, align 4 %236 = add nsw i32 %235, 1 store i32 %236, ptr %2, align 4 %237 = load i32, ptr %2, align 4 %238 = icmp sle i32 %237, 12 br i1 %238, label %228, label %._crit_edge27, !llvm.loop !16 ._crit_edge27: ; preds = %234 br label %239 239: ; preds = %._crit_edge27, %224 %240 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) store i32 1, ptr %2, align 4 %241 = load i32, ptr %2, align 4 %242 = icmp sle i32 %241, 20 br i1 %242, label %.lr.ph32, label %277 .lr.ph32: ; preds = %239 br label %243 243: ; preds = %.lr.ph32, %272 %244 = load i32, ptr %2, align 4 %245 = sext i32 %244 to i64 %246 = getelementptr inbounds [21 x [17 x i8]], ptr %10, i64 0, i64 %245 %247 = getelementptr inbounds [17 x i8], ptr %246, i64 0, i64 0 %248 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %247) store i32 1, ptr %3, align 4 %249 = load i32, ptr %3, align 4 %250 = icmp sle i32 %249, 12 br i1 %250, label %.lr.ph29, label %270 .lr.ph29: ; preds = %243 br label %251 251: ; preds = %.lr.ph29, %265 %252 = load ptr, ptr %7, align 8 %253 = load i32, ptr %2, align 4 %254 = sext i32 %253 to i64 %255 = getelementptr inbounds ptr, ptr %252, i64 %254 %256 = load ptr, ptr %255, align 8 %257 = load i32, ptr %3, align 4 %258 = sext i32 %257 to i64 %259 = getelementptr inbounds float, ptr %256, i64 %258 %260 = load float, ptr %259, align 4 %261 = fpext float %260 to double %262 = fadd double 5.000000e-01, %261 %263 = fptosi double %262 to i32 %264 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %263) br label %265 265: ; preds = %251 %266 = load i32, ptr %3, align 4 %267 = add nsw i32 %266, 1 store i32 %267, ptr %3, align 4 %268 = load i32, ptr %3, align 4 %269 = icmp sle i32 %268, 12 br i1 %269, label %251, label %._crit_edge30, !llvm.loop !17 ._crit_edge30: ; preds = %265 br label %270 270: ; preds = %._crit_edge30, %243 %271 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %272 272: ; preds = %270 %273 = load i32, ptr %2, align 4 %274 = add nsw i32 %273, 1 store i32 %274, ptr %2, align 4 %275 = load i32, ptr %2, align 4 %276 = icmp sle i32 %275, 20 br i1 %276, label %243, label %._crit_edge33, !llvm.loop !18 ._crit_edge33: ; preds = %272 br label %277 277: ; preds = %._crit_edge33, %239 %278 = load ptr, ptr %7, align 8 %279 = call i32 @free_matrix(ptr noundef %278, i32 noundef 1, i32 noundef 20, i32 noundef 1, i32 noundef 12) %280 = load ptr, ptr %6, align 8 %281 = call i32 @free_vector(ptr noundef %280, i32 noundef 1, i32 noundef 12) %282 = load ptr, ptr %5, align 8 %283 = call i32 @free_vector(ptr noundef %282, i32 noundef 1, i32 noundef 20) %284 = load ptr, ptr %4, align 8 %285 = call i32 @free_vector(ptr noundef %284, i32 noundef 1, i32 noundef 20) ret i32 0 } declare ptr @vector(i32 noundef, i32 noundef) #1 declare ptr @matrix(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @nrerror(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ...) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @getchar(...) #1 declare i32 @sort2(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @crank(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @free_matrix(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @free_vector(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} !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/tmp6rvajrmy.c' source_filename = "/tmp/tmp6rvajrmy.c" target datalayout = "e-m:e-p270: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/tmp6rvajrmy.c" target datalayout = "e-m:e-p270: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/tmplxbf7gi8.c' source_filename = "/tmp/tmplxbf7gi8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_SUCCESS = dso_local global i32 0, align 4 @opterr = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [5 x i8] c"n:c:\00", align 1 @optarg = dso_local global ptr null, align 8 @optopt = dso_local global i8 0, align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [35 x i8] c"Option -%c requires a cluster id.\0A\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"Option -%c requires a cluster count.\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"Unknown option `-%c'.\0A\00", align 1 @.str.4 = private unnamed_addr constant [34 x i8] c"Unknown option character `\\x%x'.\0A\00", align 1 @optind = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [24 x i8] c"Non-option argument %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = 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 -1, ptr %8, align 4 store ptr null, ptr %9, align 8 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %11, 3 br i1 %12, label %13, label %17 13: ; preds = %2 %14 = call i32 (...) @usage() %15 = load i32, ptr @EXIT_SUCCESS, align 4 %16 = call i32 @exit(i32 noundef %15) #3 unreachable 17: ; preds = %2 store i64 0, ptr @opterr, align 8 br label %18 18: ; preds = %67, %17 %19 = load i32, ptr %4, align 4 %20 = load ptr, ptr %5, align 8 %21 = call i32 @getopt(i32 noundef %19, ptr noundef %20, ptr noundef @.str) store i32 %21, ptr %6, align 4 %22 = icmp ne i32 %21, -1 br i1 %22, label %23, label %68 23: ; preds = %18 %24 = load i32, ptr %6, align 4 switch i32 %24, label %65 [ i32 110, label %25 i32 99, label %29 i32 63, label %33 ] 25: ; preds = %23 %26 = load ptr, ptr @optarg, align 8 store ptr %26, ptr %9, align 8 %27 = load ptr, ptr %9, align 8 %28 = call i32 @atoi(ptr noundef %27) store i32 %28, ptr %7, align 4 br label %67 29: ; preds = %23 %30 = load ptr, ptr @optarg, align 8 store ptr %30, ptr %9, align 8 %31 = load ptr, ptr @optarg, align 8 %32 = call i32 @atoi(ptr noundef %31) store i32 %32, ptr %8, align 4 br label %67 33: ; preds = %23 %34 = load i8, ptr @optopt, align 1 %35 = sext i8 %34 to i32 %36 = icmp eq i32 %35, 99 br i1 %36, label %37, label %41 37: ; preds = %33 %38 = load i32, ptr @stderr, align 4 %39 = load i8, ptr @optopt, align 1 %40 = call i32 @fprintf(i32 noundef %38, ptr noundef @.str.1, i8 noundef signext %39) br label %64 41: ; preds = %33 %42 = load i8, ptr @optopt, align 1 %43 = sext i8 %42 to i32 %44 = icmp eq i32 %43, 110 br i1 %44, label %45, label %49 45: ; preds = %41 %46 = load i32, ptr @stderr, align 4 %47 = load i8, ptr @optopt, align 1 %48 = call i32 @fprintf(i32 noundef %46, ptr noundef @.str.2, i8 noundef signext %47) br label %63 49: ; preds = %41 %50 = load i8, ptr @optopt, align 1 %51 = call i32 @isprint(i8 noundef signext %50) %52 = icmp ne i32 %51, 0 br i1 %52, label %53, label %58 53: ; preds = %49 %54 = load i32, ptr @stderr, align 4 %55 = load i8, ptr @optopt, align 1 %56 = call i32 @fprintf(i32 noundef %54, ptr noundef @.str.3, i8 noundef signext %55) %57 = call i32 (...) @usage() br label %62 58: ; preds = %49 %59 = load i32, ptr @stderr, align 4 %60 = load i8, ptr @optopt, align 1 %61 = call i32 @fprintf(i32 noundef %59, ptr noundef @.str.4, i8 noundef signext %60) br label %62 62: ; preds = %58, %53 br label %63 63: ; preds = %62, %45 br label %64 64: ; preds = %63, %37 store i32 1, ptr %3, align 4 br label %106 65: ; preds = %23 %66 = call i32 (...) @usage() store i32 1, ptr %3, align 4 br label %106 67: ; preds = %29, %25 br label %18, !llvm.loop !6 68: ; preds = %18 %69 = load i32, ptr @optind, align 4 store i32 %69, ptr %10, align 4 br label %70 70: ; preds = %81, %68 %71 = load i32, ptr %10, align 4 %72 = load i32, ptr %4, align 4 %73 = icmp ult i32 %71, %72 br i1 %73, label %74, label %84 74: ; preds = %70 %75 = load ptr, ptr %5, align 8 %76 = load i32, ptr %10, align 4 %77 = zext i32 %76 to i64 %78 = getelementptr inbounds ptr, ptr %75, i64 %77 %79 = load ptr, ptr %78, align 8 %80 = call i32 @printf(ptr noundef @.str.5, ptr noundef %79) br label %81 81: ; preds = %74 %82 = load i32, ptr %10, align 4 %83 = add i32 %82, 1 store i32 %83, ptr %10, align 4 br label %70, !llvm.loop !8 84: ; preds = %70 %85 = load i32, ptr %7, align 4 %86 = icmp ne i32 %85, -1 br i1 %86, label %87, label %99 87: ; preds = %84 store i32 0, ptr %10, align 4 br label %88 88: ; preds = %95, %87 %89 = load i32, ptr %10, align 4 %90 = load i32, ptr %7, align 4 %91 = icmp ult i32 %89, %90 br i1 %91, label %92, label %98 92: ; preds = %88 %93 = load i32, ptr %10, align 4 %94 = call i32 @createIndex(i32 noundef %93) br label %95 95: ; preds = %92 %96 = load i32, ptr %10, align 4 %97 = add i32 %96, 1 store i32 %97, ptr %10, align 4 br label %88, !llvm.loop !9 98: ; preds = %88 br label %99 99: ; preds = %98, %84 %100 = load i32, ptr %8, align 4 %101 = icmp ne i32 %100, -1 br i1 %101, label %102, label %105 102: ; preds = %99 %103 = load i32, ptr %8, align 4 %104 = call i32 @createIndex(i32 noundef %103) br label %105 105: ; preds = %102, %99 store i32 0, ptr %3, align 4 br label %106 106: ; preds = %105, %65, %64 %107 = load i32, ptr %3, align 4 ret i32 %107 } declare i32 @usage(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i8 noundef signext) #1 declare i32 @isprint(i8 noundef signext) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @createIndex(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} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplxbf7gi8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_SUCCESS = dso_local global i32 0, align 4 @opterr = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [5 x i8] c"n:c:\00", align 1 @optarg = dso_local global ptr null, align 8 @optopt = dso_local global i8 0, align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [35 x i8] c"Option -%c requires a cluster id.\0A\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"Option -%c requires a cluster count.\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"Unknown option `-%c'.\0A\00", align 1 @.str.4 = private unnamed_addr constant [34 x i8] c"Unknown option character `\\x%x'.\0A\00", align 1 @optind = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [24 x i8] c"Non-option argument %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = 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 -1, ptr %8, align 4 store ptr null, ptr %9, align 8 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %11, 3 br i1 %12, label %13, label %17 13: ; preds = %2 %14 = call i32 (...) @usage() %15 = load i32, ptr @EXIT_SUCCESS, align 4 %16 = call i32 @exit(i32 noundef %15) #3 unreachable 17: ; preds = %2 store i64 0, ptr @opterr, align 8 %18 = load i32, ptr %4, align 4 %19 = load ptr, ptr %5, align 8 %20 = call i32 @getopt(i32 noundef %18, ptr noundef %19, ptr noundef @.str) store i32 %20, ptr %6, align 4 %21 = icmp ne i32 %20, -1 br i1 %21, label %.lr.ph, label %71 .lr.ph: ; preds = %17 br label %22 22: ; preds = %.lr.ph, %66 %23 = load i32, ptr %6, align 4 switch i32 %23, label %64 [ i32 110, label %24 i32 99, label %28 i32 63, label %32 ] 24: ; preds = %22 %25 = load ptr, ptr @optarg, align 8 store ptr %25, ptr %9, align 8 %26 = load ptr, ptr %9, align 8 %27 = call i32 @atoi(ptr noundef %26) store i32 %27, ptr %7, align 4 br label %66 28: ; preds = %22 %29 = load ptr, ptr @optarg, align 8 store ptr %29, ptr %9, align 8 %30 = load ptr, ptr @optarg, align 8 %31 = call i32 @atoi(ptr noundef %30) store i32 %31, ptr %8, align 4 br label %66 32: ; preds = %22 %33 = load i8, ptr @optopt, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 99 br i1 %35, label %36, label %40 36: ; preds = %32 %37 = load i32, ptr @stderr, align 4 %38 = load i8, ptr @optopt, align 1 %39 = call i32 @fprintf(i32 noundef %37, ptr noundef @.str.1, i8 noundef signext %38) br label %63 40: ; preds = %32 %41 = load i8, ptr @optopt, align 1 %42 = sext i8 %41 to i32 %43 = icmp eq i32 %42, 110 br i1 %43, label %44, label %48 44: ; preds = %40 %45 = load i32, ptr @stderr, align 4 %46 = load i8, ptr @optopt, align 1 %47 = call i32 @fprintf(i32 noundef %45, ptr noundef @.str.2, i8 noundef signext %46) br label %62 48: ; preds = %40 %49 = load i8, ptr @optopt, align 1 %50 = call i32 @isprint(i8 noundef signext %49) %51 = icmp ne i32 %50, 0 br i1 %51, label %52, label %57 52: ; preds = %48 %53 = load i32, ptr @stderr, align 4 %54 = load i8, ptr @optopt, align 1 %55 = call i32 @fprintf(i32 noundef %53, ptr noundef @.str.3, i8 noundef signext %54) %56 = call i32 (...) @usage() br label %61 57: ; preds = %48 %58 = load i32, ptr @stderr, align 4 %59 = load i8, ptr @optopt, align 1 %60 = call i32 @fprintf(i32 noundef %58, ptr noundef @.str.4, i8 noundef signext %59) br label %61 61: ; preds = %57, %52 br label %62 62: ; preds = %61, %44 br label %63 63: ; preds = %62, %36 store i32 1, ptr %3, align 4 br label %113 64: ; preds = %22 %65 = call i32 (...) @usage() store i32 1, ptr %3, align 4 br label %113 66: ; preds = %28, %24 %67 = load i32, ptr %4, align 4 %68 = load ptr, ptr %5, align 8 %69 = call i32 @getopt(i32 noundef %67, ptr noundef %68, ptr noundef @.str) store i32 %69, ptr %6, align 4 %70 = icmp ne i32 %69, -1 br i1 %70, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %66 br label %71 71: ; preds = %._crit_edge, %17 %72 = load i32, ptr @optind, align 4 store i32 %72, ptr %10, align 4 %73 = load i32, ptr %10, align 4 %74 = load i32, ptr %4, align 4 %75 = icmp ult i32 %73, %74 br i1 %75, label %.lr.ph2, label %89 .lr.ph2: ; preds = %71 br label %76 76: ; preds = %.lr.ph2, %83 %77 = load ptr, ptr %5, align 8 %78 = load i32, ptr %10, align 4 %79 = zext i32 %78 to i64 %80 = getelementptr inbounds ptr, ptr %77, i64 %79 %81 = load ptr, ptr %80, align 8 %82 = call i32 @printf(ptr noundef @.str.5, ptr noundef %81) br label %83 83: ; preds = %76 %84 = load i32, ptr %10, align 4 %85 = add i32 %84, 1 store i32 %85, ptr %10, align 4 %86 = load i32, ptr %10, align 4 %87 = load i32, ptr %4, align 4 %88 = icmp ult i32 %86, %87 br i1 %88, label %76, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %83 br label %89 89: ; preds = %._crit_edge3, %71 %90 = load i32, ptr %7, align 4 %91 = icmp ne i32 %90, -1 br i1 %91, label %92, label %106 92: ; preds = %89 store i32 0, ptr %10, align 4 %93 = load i32, ptr %10, align 4 %94 = load i32, ptr %7, align 4 %95 = icmp ult i32 %93, %94 br i1 %95, label %.lr.ph5, label %105 .lr.ph5: ; preds = %92 br label %96 96: ; preds = %.lr.ph5, %99 %97 = load i32, ptr %10, align 4 %98 = call i32 @createIndex(i32 noundef %97) br label %99 99: ; preds = %96 %100 = load i32, ptr %10, align 4 %101 = add i32 %100, 1 store i32 %101, ptr %10, align 4 %102 = load i32, ptr %10, align 4 %103 = load i32, ptr %7, align 4 %104 = icmp ult i32 %102, %103 br i1 %104, label %96, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %99 br label %105 105: ; preds = %._crit_edge6, %92 br label %106 106: ; preds = %105, %89 %107 = load i32, ptr %8, align 4 %108 = icmp ne i32 %107, -1 br i1 %108, label %109, label %112 109: ; preds = %106 %110 = load i32, ptr %8, align 4 %111 = call i32 @createIndex(i32 noundef %110) br label %112 112: ; preds = %109, %106 store i32 0, ptr %3, align 4 br label %113 113: ; preds = %112, %64, %63 %114 = load i32, ptr %3, align 4 ret i32 %114 } declare i32 @usage(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i8 noundef signext) #1 declare i32 @isprint(i8 noundef signext) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @createIndex(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} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpsya5v0n8.c' source_filename = "/tmp/tmpsya5v0n8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i32 } %struct.tm = type { i32 } @.str = private unnamed_addr constant [18 x i8] c"%Y-%m-%d %H:%M:%S\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c".%03d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @logger_backtick_time(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca %struct.timeval, align 4 %9 = alloca i32, align 4 %10 = alloca %struct.tm, align 4 %11 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %12 = load ptr, ptr %5, align 8 %13 = call i32 @gettimeofday(ptr noundef %8, ptr noundef null) store i32 %13, ptr %9, align 4 %14 = load i32, ptr %9, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %3 store i32 -1, ptr %4, align 4 br label %45 17: ; preds = %3 %18 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 1 %19 = call i32 @localtime_r(ptr noundef %18, ptr noundef %10) %20 = load ptr, ptr %6, align 8 %21 = load i64, ptr %7, align 8 %22 = call i64 @strftime(ptr noundef %20, i64 noundef %21, ptr noundef @.str, ptr noundef %10) store i64 %22, ptr %11, align 8 %23 = load i64, ptr %11, align 8 %24 = icmp eq i64 %23, 0 br i1 %24, label %29, label %25 25: ; preds = %17 %26 = load i64, ptr %11, align 8 %27 = load i64, ptr %7, align 8 %28 = icmp ugt i64 %26, %27 br i1 %28, label %29, label %30 29: ; preds = %25, %17 store i32 -2, ptr %4, align 4 br label %45 30: ; preds = %25 %31 = load ptr, ptr %6, align 8 %32 = load i64, ptr %11, align 8 %33 = getelementptr inbounds i8, ptr %31, i64 %32 %34 = load i64, ptr %7, align 8 %35 = load i64, ptr %11, align 8 %36 = sub i64 %34, %35 %37 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 0 %38 = load i32, ptr %37, align 4 %39 = sdiv i32 %38, 1000 %40 = call i32 @snprintf(ptr noundef %33, i64 noundef %36, ptr noundef @.str.1, i32 noundef %39) store i32 %40, ptr %9, align 4 %41 = load i32, ptr %9, align 4 %42 = icmp sle i32 %41, 0 br i1 %42, label %43, label %44 43: ; preds = %30 store i32 -3, ptr %4, align 4 br label %45 44: ; preds = %30 store i32 0, ptr %4, align 4 br label %45 45: ; preds = %44, %43, %29, %16 %46 = load i32, ptr %4, align 4 ret i32 %46 } declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @localtime_r(ptr noundef, ptr noundef) #1 declare i64 @strftime(ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare i32 @snprintf(ptr noundef, i64 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/tmpsya5v0n8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i32 } %struct.tm = type { i32 } @.str = private unnamed_addr constant [18 x i8] c"%Y-%m-%d %H:%M:%S\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c".%03d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @logger_backtick_time(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca %struct.timeval, align 4 %9 = alloca i32, align 4 %10 = alloca %struct.tm, align 4 %11 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %12 = load ptr, ptr %5, align 8 %13 = call i32 @gettimeofday(ptr noundef %8, ptr noundef null) store i32 %13, ptr %9, align 4 %14 = load i32, ptr %9, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %3 store i32 -1, ptr %4, align 4 br label %45 17: ; preds = %3 %18 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 1 %19 = call i32 @localtime_r(ptr noundef %18, ptr noundef %10) %20 = load ptr, ptr %6, align 8 %21 = load i64, ptr %7, align 8 %22 = call i64 @strftime(ptr noundef %20, i64 noundef %21, ptr noundef @.str, ptr noundef %10) store i64 %22, ptr %11, align 8 %23 = load i64, ptr %11, align 8 %24 = icmp eq i64 %23, 0 br i1 %24, label %29, label %25 25: ; preds = %17 %26 = load i64, ptr %11, align 8 %27 = load i64, ptr %7, align 8 %28 = icmp ugt i64 %26, %27 br i1 %28, label %29, label %30 29: ; preds = %25, %17 store i32 -2, ptr %4, align 4 br label %45 30: ; preds = %25 %31 = load ptr, ptr %6, align 8 %32 = load i64, ptr %11, align 8 %33 = getelementptr inbounds i8, ptr %31, i64 %32 %34 = load i64, ptr %7, align 8 %35 = load i64, ptr %11, align 8 %36 = sub i64 %34, %35 %37 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 0 %38 = load i32, ptr %37, align 4 %39 = sdiv i32 %38, 1000 %40 = call i32 @snprintf(ptr noundef %33, i64 noundef %36, ptr noundef @.str.1, i32 noundef %39) store i32 %40, ptr %9, align 4 %41 = load i32, ptr %9, align 4 %42 = icmp sle i32 %41, 0 br i1 %42, label %43, label %44 43: ; preds = %30 store i32 -3, ptr %4, align 4 br label %45 44: ; preds = %30 store i32 0, ptr %4, align 4 br label %45 45: ; preds = %44, %43, %29, %16 %46 = load i32, ptr %4, align 4 ret i32 %46 } declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @localtime_r(ptr noundef, ptr noundef) #1 declare i64 @strftime(ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare i32 @snprintf(ptr noundef, i64 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/tmp0auunkg8.c' source_filename = "/tmp/tmp0auunkg8.c" target datalayout = "e-m:e-p270: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/tmp0auunkg8.c" target datalayout = "e-m:e-p270: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/tmptp920kp7.c' source_filename = "/tmp/tmptp920kp7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %11 = load ptr, ptr %6, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %14 13: ; preds = %4 store i32 1, ptr %5, align 4 br label %30 14: ; preds = %4 %15 = load ptr, ptr %7, align 8 store ptr %15, ptr %6, align 8 %16 = load ptr, ptr %6, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %19 18: ; preds = %14 store i32 2, ptr %5, align 4 br label %30 19: ; preds = %14 %20 = load ptr, ptr %9, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %23, label %22 22: ; preds = %19 store i32 3, ptr %5, align 4 br label %30 23: ; preds = %19 store ptr %8, ptr %10, align 8 %24 = load ptr, ptr %10, align 8 %25 = call i32 @bar(ptr noundef %24) %26 = load ptr, ptr %8, align 8 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %29 28: ; preds = %23 store i32 4, ptr %5, align 4 br label %30 29: ; preds = %23 store i32 5, ptr %5, align 4 br label %30 30: ; preds = %29, %28, %22, %18, %13 %31 = load i32, ptr %5, align 4 ret i32 %31 } declare i32 @bar(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptp920kp7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %11 = load ptr, ptr %6, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %14 13: ; preds = %4 store i32 1, ptr %5, align 4 br label %30 14: ; preds = %4 %15 = load ptr, ptr %7, align 8 store ptr %15, ptr %6, align 8 %16 = load ptr, ptr %6, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %19 18: ; preds = %14 store i32 2, ptr %5, align 4 br label %30 19: ; preds = %14 %20 = load ptr, ptr %9, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %23, label %22 22: ; preds = %19 store i32 3, ptr %5, align 4 br label %30 23: ; preds = %19 store ptr %8, ptr %10, align 8 %24 = load ptr, ptr %10, align 8 %25 = call i32 @bar(ptr noundef %24) %26 = load ptr, ptr %8, align 8 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %29 28: ; preds = %23 store i32 4, ptr %5, align 4 br label %30 29: ; preds = %23 store i32 5, ptr %5, align 4 br label %30 30: ; preds = %29, %28, %22, %18, %13 %31 = load i32, ptr %5, align 4 ret i32 %31 } declare i32 @bar(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmva0psad.c' source_filename = "/tmp/tmpmva0psad.c" target datalayout = "e-m:e-p270: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 } @.str = private unnamed_addr constant [12 x i8] c"wrong usage\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [11 x i8] c"open input\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @S_IRGRP = dso_local global i32 0, align 4 @S_IROTH = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [14 x i8] c"create output\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"fstat\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"ftruncate\00", align 1 @PROT_READ = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @.str.5 = private unnamed_addr constant [11 x i8] c"mmap input\00", align 1 @PROT_WRITE = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [12 x i8] c"mmap output\00", align 1 @.str.7 = private unnamed_addr constant [11 x i8] c"copy over\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 ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca %struct.stat, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = icmp ne i32 %11, 3 br i1 %12, label %13, label %19 13: ; preds = %2 br label %14 14: ; preds = %13 %15 = call i32 @perror(ptr noundef @.str) %16 = load i32, ptr @EXIT_FAILURE, align 4 %17 = call i32 @exit(i32 noundef %16) #3 unreachable 18: ; No predecessors! br label %19 19: ; preds = %18, %2 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = load i32, ptr @O_RDONLY, align 4 %24 = call i32 (ptr, i32, ...) @open(ptr noundef %22, i32 noundef %23) store i32 %24, ptr %6, align 4 %25 = load i32, ptr %6, align 4 %26 = icmp slt i32 %25, 0 br i1 %26, label %27, label %33 27: ; preds = %19 br label %28 28: ; preds = %27 %29 = call i32 @perror(ptr noundef @.str.1) %30 = load i32, ptr @EXIT_FAILURE, align 4 %31 = call i32 @exit(i32 noundef %30) #3 unreachable 32: ; No predecessors! br label %33 33: ; preds = %32, %19 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 2 %36 = load ptr, ptr %35, align 8 %37 = load i32, ptr @O_RDWR, align 4 %38 = load i32, ptr @O_CREAT, align 4 %39 = or i32 %37, %38 %40 = load i32, ptr @O_TRUNC, align 4 %41 = or i32 %39, %40 %42 = load i32, ptr @S_IRUSR, align 4 %43 = load i32, ptr @S_IWUSR, align 4 %44 = or i32 %42, %43 %45 = load i32, ptr @S_IRGRP, align 4 %46 = or i32 %44, %45 %47 = load i32, ptr @S_IROTH, align 4 %48 = or i32 %46, %47 %49 = call i32 (ptr, i32, ...) @open(ptr noundef %36, i32 noundef %41, i32 noundef %48) store i32 %49, ptr %7, align 4 %50 = load i32, ptr %7, align 4 %51 = icmp slt i32 %50, 0 br i1 %51, label %52, label %58 52: ; preds = %33 br label %53 53: ; preds = %52 %54 = call i32 @perror(ptr noundef @.str.2) %55 = load i32, ptr @EXIT_FAILURE, align 4 %56 = call i32 @exit(i32 noundef %55) #3 unreachable 57: ; No predecessors! br label %58 58: ; preds = %57, %33 %59 = load i32, ptr %6, align 4 %60 = call i64 @fstat(i32 noundef %59, ptr noundef %10) %61 = icmp slt i64 %60, 0 br i1 %61, label %62, label %68 62: ; preds = %58 br label %63 63: ; preds = %62 %64 = call i32 @perror(ptr noundef @.str.3) %65 = load i32, ptr @EXIT_FAILURE, align 4 %66 = call i32 @exit(i32 noundef %65) #3 unreachable 67: ; No predecessors! br label %68 68: ; preds = %67, %58 %69 = load i32, ptr %7, align 4 %70 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0 %71 = load i32, ptr %70, align 4 %72 = call i32 @ftruncate(i32 noundef %69, i32 noundef %71) %73 = icmp eq i32 %72, -1 br i1 %73, label %74, label %80 74: ; preds = %68 br label %75 75: ; preds = %74 %76 = call i32 @perror(ptr noundef @.str.4) %77 = load i32, ptr @EXIT_FAILURE, align 4 %78 = call i32 @exit(i32 noundef %77) #3 unreachable 79: ; No predecessors! br label %80 80: ; preds = %79, %68 %81 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0 %82 = load i32, ptr %81, align 4 %83 = load i32, ptr @PROT_READ, align 4 %84 = load i32, ptr @MAP_SHARED, align 4 %85 = load i32, ptr %6, align 4 %86 = call ptr @mmap(i32 noundef 0, i32 noundef %82, i32 noundef %83, i32 noundef %84, i32 noundef %85, i32 noundef 0) store ptr %86, ptr %8, align 8 %87 = load ptr, ptr %8, align 8 %88 = load ptr, ptr @MAP_FAILED, align 8 %89 = icmp eq ptr %87, %88 br i1 %89, label %90, label %96 90: ; preds = %80 br label %91 91: ; preds = %90 %92 = call i32 @perror(ptr noundef @.str.5) %93 = load i32, ptr @EXIT_FAILURE, align 4 %94 = call i32 @exit(i32 noundef %93) #3 unreachable 95: ; No predecessors! br label %96 96: ; preds = %95, %80 %97 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0 %98 = load i32, ptr %97, align 4 %99 = load i32, ptr @PROT_READ, align 4 %100 = load i32, ptr @PROT_WRITE, align 4 %101 = or i32 %99, %100 %102 = load i32, ptr @MAP_SHARED, align 4 %103 = load i32, ptr %7, align 4 %104 = call ptr @mmap(i32 noundef 0, i32 noundef %98, i32 noundef %101, i32 noundef %102, i32 noundef %103, i32 noundef 0) store ptr %104, ptr %9, align 8 %105 = load ptr, ptr %9, align 8 %106 = load ptr, ptr @MAP_FAILED, align 8 %107 = icmp eq ptr %105, %106 br i1 %107, label %108, label %114 108: ; preds = %96 br label %109 109: ; preds = %108 %110 = call i32 @perror(ptr noundef @.str.6) %111 = load i32, ptr @EXIT_FAILURE, align 4 %112 = call i32 @exit(i32 noundef %111) #3 unreachable 113: ; No predecessors! br label %114 114: ; preds = %113, %96 %115 = load ptr, ptr %9, align 8 %116 = load ptr, ptr %8, align 8 %117 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0 %118 = load i32, ptr %117, align 4 %119 = call i32 @memcpy(ptr noundef %115, ptr noundef %116, i32 noundef %118) %120 = call i32 @printf(ptr noundef @.str.7) %121 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @open(ptr noundef, i32 noundef, ...) #1 declare i64 @fstat(i32 noundef, ptr noundef) #1 declare i32 @ftruncate(i32 noundef, i32 noundef) #1 declare ptr @mmap(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmva0psad.c" target datalayout = "e-m:e-p270: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 } @.str = private unnamed_addr constant [12 x i8] c"wrong usage\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [11 x i8] c"open input\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @S_IRGRP = dso_local global i32 0, align 4 @S_IROTH = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [14 x i8] c"create output\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"fstat\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"ftruncate\00", align 1 @PROT_READ = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @.str.5 = private unnamed_addr constant [11 x i8] c"mmap input\00", align 1 @PROT_WRITE = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [12 x i8] c"mmap output\00", align 1 @.str.7 = private unnamed_addr constant [11 x i8] c"copy over\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 ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca %struct.stat, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = icmp ne i32 %11, 3 br i1 %12, label %13, label %19 13: ; preds = %2 br label %14 14: ; preds = %13 %15 = call i32 @perror(ptr noundef @.str) %16 = load i32, ptr @EXIT_FAILURE, align 4 %17 = call i32 @exit(i32 noundef %16) #3 unreachable 18: ; No predecessors! br label %19 19: ; preds = %18, %2 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = load i32, ptr @O_RDONLY, align 4 %24 = call i32 (ptr, i32, ...) @open(ptr noundef %22, i32 noundef %23) store i32 %24, ptr %6, align 4 %25 = load i32, ptr %6, align 4 %26 = icmp slt i32 %25, 0 br i1 %26, label %27, label %33 27: ; preds = %19 br label %28 28: ; preds = %27 %29 = call i32 @perror(ptr noundef @.str.1) %30 = load i32, ptr @EXIT_FAILURE, align 4 %31 = call i32 @exit(i32 noundef %30) #3 unreachable 32: ; No predecessors! br label %33 33: ; preds = %32, %19 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 2 %36 = load ptr, ptr %35, align 8 %37 = load i32, ptr @O_RDWR, align 4 %38 = load i32, ptr @O_CREAT, align 4 %39 = or i32 %37, %38 %40 = load i32, ptr @O_TRUNC, align 4 %41 = or i32 %39, %40 %42 = load i32, ptr @S_IRUSR, align 4 %43 = load i32, ptr @S_IWUSR, align 4 %44 = or i32 %42, %43 %45 = load i32, ptr @S_IRGRP, align 4 %46 = or i32 %44, %45 %47 = load i32, ptr @S_IROTH, align 4 %48 = or i32 %46, %47 %49 = call i32 (ptr, i32, ...) @open(ptr noundef %36, i32 noundef %41, i32 noundef %48) store i32 %49, ptr %7, align 4 %50 = load i32, ptr %7, align 4 %51 = icmp slt i32 %50, 0 br i1 %51, label %52, label %58 52: ; preds = %33 br label %53 53: ; preds = %52 %54 = call i32 @perror(ptr noundef @.str.2) %55 = load i32, ptr @EXIT_FAILURE, align 4 %56 = call i32 @exit(i32 noundef %55) #3 unreachable 57: ; No predecessors! br label %58 58: ; preds = %57, %33 %59 = load i32, ptr %6, align 4 %60 = call i64 @fstat(i32 noundef %59, ptr noundef %10) %61 = icmp slt i64 %60, 0 br i1 %61, label %62, label %68 62: ; preds = %58 br label %63 63: ; preds = %62 %64 = call i32 @perror(ptr noundef @.str.3) %65 = load i32, ptr @EXIT_FAILURE, align 4 %66 = call i32 @exit(i32 noundef %65) #3 unreachable 67: ; No predecessors! br label %68 68: ; preds = %67, %58 %69 = load i32, ptr %7, align 4 %70 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0 %71 = load i32, ptr %70, align 4 %72 = call i32 @ftruncate(i32 noundef %69, i32 noundef %71) %73 = icmp eq i32 %72, -1 br i1 %73, label %74, label %80 74: ; preds = %68 br label %75 75: ; preds = %74 %76 = call i32 @perror(ptr noundef @.str.4) %77 = load i32, ptr @EXIT_FAILURE, align 4 %78 = call i32 @exit(i32 noundef %77) #3 unreachable 79: ; No predecessors! br label %80 80: ; preds = %79, %68 %81 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0 %82 = load i32, ptr %81, align 4 %83 = load i32, ptr @PROT_READ, align 4 %84 = load i32, ptr @MAP_SHARED, align 4 %85 = load i32, ptr %6, align 4 %86 = call ptr @mmap(i32 noundef 0, i32 noundef %82, i32 noundef %83, i32 noundef %84, i32 noundef %85, i32 noundef 0) store ptr %86, ptr %8, align 8 %87 = load ptr, ptr %8, align 8 %88 = load ptr, ptr @MAP_FAILED, align 8 %89 = icmp eq ptr %87, %88 br i1 %89, label %90, label %96 90: ; preds = %80 br label %91 91: ; preds = %90 %92 = call i32 @perror(ptr noundef @.str.5) %93 = load i32, ptr @EXIT_FAILURE, align 4 %94 = call i32 @exit(i32 noundef %93) #3 unreachable 95: ; No predecessors! br label %96 96: ; preds = %95, %80 %97 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0 %98 = load i32, ptr %97, align 4 %99 = load i32, ptr @PROT_READ, align 4 %100 = load i32, ptr @PROT_WRITE, align 4 %101 = or i32 %99, %100 %102 = load i32, ptr @MAP_SHARED, align 4 %103 = load i32, ptr %7, align 4 %104 = call ptr @mmap(i32 noundef 0, i32 noundef %98, i32 noundef %101, i32 noundef %102, i32 noundef %103, i32 noundef 0) store ptr %104, ptr %9, align 8 %105 = load ptr, ptr %9, align 8 %106 = load ptr, ptr @MAP_FAILED, align 8 %107 = icmp eq ptr %105, %106 br i1 %107, label %108, label %114 108: ; preds = %96 br label %109 109: ; preds = %108 %110 = call i32 @perror(ptr noundef @.str.6) %111 = load i32, ptr @EXIT_FAILURE, align 4 %112 = call i32 @exit(i32 noundef %111) #3 unreachable 113: ; No predecessors! br label %114 114: ; preds = %113, %96 %115 = load ptr, ptr %9, align 8 %116 = load ptr, ptr %8, align 8 %117 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0 %118 = load i32, ptr %117, align 4 %119 = call i32 @memcpy(ptr noundef %115, ptr noundef %116, i32 noundef %118) %120 = call i32 @printf(ptr noundef @.str.7) %121 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @open(ptr noundef, i32 noundef, ...) #1 declare i64 @fstat(i32 noundef, ptr noundef) #1 declare i32 @ftruncate(i32 noundef, i32 noundef) #1 declare ptr @mmap(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfxyjmhvx.c' source_filename = "/tmp/tmpfxyjmhvx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Bye\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @alarm(i32 noundef 3) %7 = call i32 (...) @pause() %8 = call i32 @printf(ptr noundef @.str) %9 = load i32, ptr @EXIT_SUCCESS, align 4 %10 = call i32 @exit(i32 noundef %9) #3 unreachable } declare i32 @alarm(i32 noundef) #1 declare i32 @pause(...) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfxyjmhvx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Bye\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @alarm(i32 noundef 3) %7 = call i32 (...) @pause() %8 = call i32 @printf(ptr noundef @.str) %9 = load i32, ptr @EXIT_SUCCESS, align 4 %10 = call i32 @exit(i32 noundef %9) #3 unreachable } declare i32 @alarm(i32 noundef) #1 declare i32 @pause(...) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxpi47dsn.c' source_filename = "/tmp/tmpxpi47dsn.c" target datalayout = "e-m:e-p270: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/tmpxpi47dsn.c" target datalayout = "e-m:e-p270: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/tmptdvp1pze.c' source_filename = "/tmp/tmptdvp1pze.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptdvp1pze.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp80dni6jh.c' source_filename = "/tmp/tmp80dni6jh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lld%lld\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%lld\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i64 0, ptr %4, align 8 store i64 1, ptr %5, align 8 %8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %4) %9 = load i64, ptr %2, align 8 %10 = call ptr @llvm.stacksave() store ptr %10, ptr %6, align 8 %11 = alloca i64, i64 %9, align 16 store i64 %9, ptr %7, align 8 store i64 0, ptr %3, align 8 br label %12 12: ; preds = %20, %0 %13 = load i64, ptr %3, align 8 %14 = load i64, ptr %2, align 8 %15 = icmp slt i64 %13, %14 br i1 %15, label %16, label %23 16: ; preds = %12 %17 = load i64, ptr %3, align 8 %18 = getelementptr inbounds i64, ptr %11, i64 %17 %19 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %18) br label %20 20: ; preds = %16 %21 = load i64, ptr %3, align 8 %22 = add nsw i64 %21, 1 store i64 %22, ptr %3, align 8 br label %12, !llvm.loop !6 23: ; preds = %12 store i64 0, ptr %3, align 8 br label %24 24: ; preds = %45, %23 %25 = load i64, ptr %3, align 8 %26 = load i64, ptr %2, align 8 %27 = sub nsw i64 %26, 1 %28 = icmp slt i64 %25, %27 br i1 %28, label %29, label %48 29: ; preds = %24 %30 = load i64, ptr %3, align 8 %31 = add nsw i64 %30, 1 %32 = getelementptr inbounds i64, ptr %11, i64 %31 %33 = load i64, ptr %32, align 8 %34 = load i64, ptr %3, align 8 %35 = getelementptr inbounds i64, ptr %11, i64 %34 %36 = load i64, ptr %35, align 8 %37 = sub nsw i64 %33, %36 %38 = load i64, ptr %4, align 8 %39 = icmp sgt i64 %37, %38 br i1 %39, label %40, label %41 40: ; preds = %29 store i64 1, ptr %5, align 8 br label %44 41: ; preds = %29 %42 = load i64, ptr %5, align 8 %43 = add nsw i64 %42, 1 store i64 %43, ptr %5, align 8 br label %44 44: ; preds = %41, %40 br label %45 45: ; preds = %44 %46 = load i64, ptr %3, align 8 %47 = add nsw i64 %46, 1 store i64 %47, ptr %3, align 8 br label %24, !llvm.loop !8 48: ; preds = %24 %49 = load i64, ptr %5, align 8 %50 = call i32 @printf(ptr noundef @.str.2, i64 noundef %49) store i32 0, ptr %1, align 4 %51 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %51) %52 = load i32, ptr %1, align 4 ret i32 %52 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @printf(ptr noundef, i64 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp80dni6jh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lld%lld\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%lld\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i64 0, ptr %4, align 8 store i64 1, ptr %5, align 8 %8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %4) %9 = load i64, ptr %2, align 8 %10 = call ptr @llvm.stacksave() store ptr %10, ptr %6, align 8 %11 = alloca i64, i64 %9, align 16 store i64 %9, ptr %7, align 8 store i64 0, ptr %3, align 8 %12 = load i64, ptr %3, align 8 %13 = load i64, ptr %2, align 8 %14 = icmp slt i64 %12, %13 br i1 %14, label %.lr.ph, label %25 .lr.ph: ; preds = %0 br label %15 15: ; preds = %.lr.ph, %19 %16 = load i64, ptr %3, align 8 %17 = getelementptr inbounds i64, ptr %11, i64 %16 %18 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %17) br label %19 19: ; preds = %15 %20 = load i64, ptr %3, align 8 %21 = add nsw i64 %20, 1 store i64 %21, ptr %3, align 8 %22 = load i64, ptr %3, align 8 %23 = load i64, ptr %2, align 8 %24 = icmp slt i64 %22, %23 br i1 %24, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %25 25: ; preds = %._crit_edge, %0 store i64 0, ptr %3, align 8 %26 = load i64, ptr %3, align 8 %27 = load i64, ptr %2, align 8 %28 = sub nsw i64 %27, 1 %29 = icmp slt i64 %26, %28 br i1 %29, label %.lr.ph2, label %53 .lr.ph2: ; preds = %25 br label %30 30: ; preds = %.lr.ph2, %46 %31 = load i64, ptr %3, align 8 %32 = add nsw i64 %31, 1 %33 = getelementptr inbounds i64, ptr %11, i64 %32 %34 = load i64, ptr %33, align 8 %35 = load i64, ptr %3, align 8 %36 = getelementptr inbounds i64, ptr %11, i64 %35 %37 = load i64, ptr %36, align 8 %38 = sub nsw i64 %34, %37 %39 = load i64, ptr %4, align 8 %40 = icmp sgt i64 %38, %39 br i1 %40, label %41, label %42 41: ; preds = %30 store i64 1, ptr %5, align 8 br label %45 42: ; preds = %30 %43 = load i64, ptr %5, align 8 %44 = add nsw i64 %43, 1 store i64 %44, ptr %5, align 8 br label %45 45: ; preds = %42, %41 br label %46 46: ; preds = %45 %47 = load i64, ptr %3, align 8 %48 = add nsw i64 %47, 1 store i64 %48, ptr %3, align 8 %49 = load i64, ptr %3, align 8 %50 = load i64, ptr %2, align 8 %51 = sub nsw i64 %50, 1 %52 = icmp slt i64 %49, %51 br i1 %52, label %30, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %46 br label %53 53: ; preds = %._crit_edge3, %25 %54 = load i64, ptr %5, align 8 %55 = call i32 @printf(ptr noundef @.str.2, i64 noundef %54) store i32 0, ptr %1, align 4 %56 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %56) %57 = load i32, ptr %1, align 4 ret i32 %57 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @printf(ptr noundef, i64 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpltlwlu7c.c' source_filename = "/tmp/tmpltlwlu7c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"%lu is a prime number!\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"Twin prime pairs found: %lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pf(i64 noundef %0, i32 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 1, ptr %5, align 4 store i32 1, ptr %6, align 4 store i64 2, ptr %7, align 8 store i64 0, ptr %12, align 8 store i64 1, ptr %9, align 8 br label %13 13: ; preds = %129, %2 %14 = load i64, ptr %9, align 8 %15 = load i64, ptr %3, align 8 %16 = add i64 %15, 6 %17 = udiv i64 %16, 6 %18 = icmp ult i64 %14, %17 br i1 %18, label %19, label %132 19: ; preds = %13 %20 = load i64, ptr %9, align 8 %21 = mul i64 6, %20 %22 = sub i64 %21, 1 store i64 %22, ptr %10, align 8 %23 = load i64, ptr %10, align 8 %24 = add i64 %23, 2 store i64 %24, ptr %11, align 8 %25 = load i64, ptr %10, align 8 %26 = icmp ugt i64 %25, 3 br i1 %26, label %27, label %34 27: ; preds = %19 %28 = load i64, ptr %10, align 8 %29 = urem i64 %28, 2 %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %27 %32 = load i64, ptr %9, align 8 %33 = add i64 %32, 1 store i64 %33, ptr %9, align 8 br label %129 34: ; preds = %27, %19 %35 = load i64, ptr %10, align 8 %36 = icmp ugt i64 %35, 3 br i1 %36, label %37, label %44 37: ; preds = %34 %38 = load i64, ptr %10, align 8 %39 = urem i64 %38, 3 %40 = icmp eq i64 %39, 0 br i1 %40, label %41, label %44 41: ; preds = %37 %42 = load i64, ptr %9, align 8 %43 = add i64 %42, 1 store i64 %43, ptr %9, align 8 br label %129 44: ; preds = %37, %34 br label %45 45: ; preds = %44 %46 = load i64, ptr %11, align 8 %47 = icmp ugt i64 %46, 3 br i1 %47, label %48, label %55 48: ; preds = %45 %49 = load i64, ptr %11, align 8 %50 = urem i64 %49, 2 %51 = icmp eq i64 %50, 0 br i1 %51, label %52, label %55 52: ; preds = %48 %53 = load i64, ptr %9, align 8 %54 = add i64 %53, 1 store i64 %54, ptr %9, align 8 br label %129 55: ; preds = %48, %45 %56 = load i64, ptr %11, align 8 %57 = icmp ugt i64 %56, 3 br i1 %57, label %58, label %65 58: ; preds = %55 %59 = load i64, ptr %11, align 8 %60 = urem i64 %59, 3 %61 = icmp eq i64 %60, 0 br i1 %61, label %62, label %65 62: ; preds = %58 %63 = load i64, ptr %9, align 8 %64 = add i64 %63, 1 store i64 %64, ptr %9, align 8 br label %129 65: ; preds = %58, %55 br label %66 66: ; preds = %65 store i64 4, ptr %8, align 8 br label %67 67: ; preds = %79, %66 %68 = load i64, ptr %8, align 8 %69 = load i64, ptr %10, align 8 %70 = call i64 @sqrt(i64 noundef %69) %71 = icmp ule i64 %68, %70 br i1 %71, label %72, label %82 72: ; preds = %67 %73 = load i64, ptr %10, align 8 %74 = load i64, ptr %8, align 8 %75 = urem i64 %73, %74 %76 = icmp eq i64 %75, 0 br i1 %76, label %77, label %78 77: ; preds = %72 store i32 0, ptr %5, align 4 br label %82 78: ; preds = %72 br label %79 79: ; preds = %78 %80 = load i64, ptr %8, align 8 %81 = add i64 %80, 1 store i64 %81, ptr %8, align 8 br label %67, !llvm.loop !6 82: ; preds = %77, %67 store i64 4, ptr %8, align 8 br label %83 83: ; preds = %95, %82 %84 = load i64, ptr %8, align 8 %85 = load i64, ptr %11, align 8 %86 = call i64 @sqrt(i64 noundef %85) %87 = icmp ule i64 %84, %86 br i1 %87, label %88, label %98 88: ; preds = %83 %89 = load i64, ptr %11, align 8 %90 = load i64, ptr %8, align 8 %91 = urem i64 %89, %90 %92 = icmp eq i64 %91, 0 br i1 %92, label %93, label %94 93: ; preds = %88 store i32 0, ptr %6, align 4 br label %98 94: ; preds = %88 br label %95 95: ; preds = %94 %96 = load i64, ptr %8, align 8 %97 = add i64 %96, 1 store i64 %97, ptr %8, align 8 br label %83, !llvm.loop !8 98: ; preds = %93, %83 %99 = load i32, ptr %5, align 4 %100 = icmp ne i32 %99, 0 br i1 %100, label %101, label %110 101: ; preds = %98 %102 = load i32, ptr %4, align 4 %103 = icmp ne i32 %102, 0 br i1 %103, label %104, label %107 104: ; preds = %101 %105 = load i64, ptr %10, align 8 %106 = call i32 @printf(ptr noundef @.str, i64 noundef %105) br label %107 107: ; preds = %104, %101 %108 = load i64, ptr %7, align 8 %109 = add i64 %108, 1 store i64 %109, ptr %7, align 8 br label %110 110: ; preds = %107, %98 %111 = load i32, ptr %6, align 4 %112 = icmp ne i32 %111, 0 br i1 %112, label %113, label %128 113: ; preds = %110 %114 = load i32, ptr %4, align 4 %115 = icmp ne i32 %114, 0 br i1 %115, label %116, label %119 116: ; preds = %113 %117 = load i64, ptr %11, align 8 %118 = call i32 @printf(ptr noundef @.str, i64 noundef %117) br label %119 119: ; preds = %116, %113 %120 = load i64, ptr %7, align 8 %121 = add i64 %120, 1 store i64 %121, ptr %7, align 8 %122 = load i32, ptr %5, align 4 %123 = icmp ne i32 %122, 0 br i1 %123, label %124, label %127 124: ; preds = %119 %125 = load i64, ptr %12, align 8 %126 = add i64 %125, 1 store i64 %126, ptr %12, align 8 br label %127 127: ; preds = %124, %119 br label %128 128: ; preds = %127, %110 store i32 1, ptr %5, align 4 store i32 1, ptr %6, align 4 br label %129 129: ; preds = %128, %62, %52, %41, %31 %130 = load i64, ptr %9, align 8 %131 = add i64 %130, 1 store i64 %131, ptr %9, align 8 br label %13, !llvm.loop !9 132: ; preds = %13 %133 = load i64, ptr %12, align 8 %134 = call i32 @printf(ptr noundef @.str.1, i64 noundef %133) %135 = load i64, ptr %7, align 8 %136 = trunc i64 %135 to i32 ret i32 %136 } declare i64 @sqrt(i64 noundef) #1 declare i32 @printf(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/tmpltlwlu7c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"%lu is a prime number!\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"Twin prime pairs found: %lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pf(i64 noundef %0, i32 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 1, ptr %5, align 4 store i32 1, ptr %6, align 4 store i64 2, ptr %7, align 8 store i64 0, ptr %12, align 8 store i64 1, ptr %9, align 8 %13 = load i64, ptr %9, align 8 %14 = load i64, ptr %3, align 8 %15 = add i64 %14, 6 %16 = udiv i64 %15, 6 %17 = icmp ult i64 %13, %16 br i1 %17, label %.lr.ph3, label %142 .lr.ph3: ; preds = %2 br label %18 18: ; preds = %.lr.ph3, %134 %19 = load i64, ptr %9, align 8 %20 = mul i64 6, %19 %21 = sub i64 %20, 1 store i64 %21, ptr %10, align 8 %22 = load i64, ptr %10, align 8 %23 = add i64 %22, 2 store i64 %23, ptr %11, align 8 %24 = load i64, ptr %10, align 8 %25 = icmp ugt i64 %24, 3 br i1 %25, label %26, label %33 26: ; preds = %18 %27 = load i64, ptr %10, align 8 %28 = urem i64 %27, 2 %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %33 30: ; preds = %26 %31 = load i64, ptr %9, align 8 %32 = add i64 %31, 1 store i64 %32, ptr %9, align 8 br label %134 33: ; preds = %26, %18 %34 = load i64, ptr %10, align 8 %35 = icmp ugt i64 %34, 3 br i1 %35, label %36, label %43 36: ; preds = %33 %37 = load i64, ptr %10, align 8 %38 = urem i64 %37, 3 %39 = icmp eq i64 %38, 0 br i1 %39, label %40, label %43 40: ; preds = %36 %41 = load i64, ptr %9, align 8 %42 = add i64 %41, 1 store i64 %42, ptr %9, align 8 br label %134 43: ; preds = %36, %33 br label %44 44: ; preds = %43 %45 = load i64, ptr %11, align 8 %46 = icmp ugt i64 %45, 3 br i1 %46, label %47, label %54 47: ; preds = %44 %48 = load i64, ptr %11, align 8 %49 = urem i64 %48, 2 %50 = icmp eq i64 %49, 0 br i1 %50, label %51, label %54 51: ; preds = %47 %52 = load i64, ptr %9, align 8 %53 = add i64 %52, 1 store i64 %53, ptr %9, align 8 br label %134 54: ; preds = %47, %44 %55 = load i64, ptr %11, align 8 %56 = icmp ugt i64 %55, 3 br i1 %56, label %57, label %64 57: ; preds = %54 %58 = load i64, ptr %11, align 8 %59 = urem i64 %58, 3 %60 = icmp eq i64 %59, 0 br i1 %60, label %61, label %64 61: ; preds = %57 %62 = load i64, ptr %9, align 8 %63 = add i64 %62, 1 store i64 %63, ptr %9, align 8 br label %134 64: ; preds = %57, %54 br label %65 65: ; preds = %64 store i64 4, ptr %8, align 8 %66 = load i64, ptr %8, align 8 %67 = load i64, ptr %10, align 8 %68 = call i64 @sqrt(i64 noundef %67) %69 = icmp ule i64 %66, %68 br i1 %69, label %.lr.ph, label %.loopexit1 .lr.ph: ; preds = %65 br label %70 70: ; preds = %.lr.ph, %77 %71 = load i64, ptr %10, align 8 %72 = load i64, ptr %8, align 8 %73 = urem i64 %71, %72 %74 = icmp eq i64 %73, 0 br i1 %74, label %75, label %76 75: ; preds = %70 store i32 0, ptr %5, align 4 br label %84 76: ; preds = %70 br label %77 77: ; preds = %76 %78 = load i64, ptr %8, align 8 %79 = add i64 %78, 1 store i64 %79, ptr %8, align 8 %80 = load i64, ptr %8, align 8 %81 = load i64, ptr %10, align 8 %82 = call i64 @sqrt(i64 noundef %81) %83 = icmp ule i64 %80, %82 br i1 %83, label %70, label %..loopexit1_crit_edge, !llvm.loop !6 ..loopexit1_crit_edge: ; preds = %77 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %65 br label %84 84: ; preds = %.loopexit1, %75 store i64 4, ptr %8, align 8 %85 = load i64, ptr %8, align 8 %86 = load i64, ptr %11, align 8 %87 = call i64 @sqrt(i64 noundef %86) %88 = icmp ule i64 %85, %87 br i1 %88, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %84 br label %89 89: ; preds = %.lr.ph2, %96 %90 = load i64, ptr %11, align 8 %91 = load i64, ptr %8, align 8 %92 = urem i64 %90, %91 %93 = icmp eq i64 %92, 0 br i1 %93, label %94, label %95 94: ; preds = %89 store i32 0, ptr %6, align 4 br label %103 95: ; preds = %89 br label %96 96: ; preds = %95 %97 = load i64, ptr %8, align 8 %98 = add i64 %97, 1 store i64 %98, ptr %8, align 8 %99 = load i64, ptr %8, align 8 %100 = load i64, ptr %11, align 8 %101 = call i64 @sqrt(i64 noundef %100) %102 = icmp ule i64 %99, %101 br i1 %102, label %89, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %96 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %84 br label %103 103: ; preds = %.loopexit, %94 %104 = load i32, ptr %5, align 4 %105 = icmp ne i32 %104, 0 br i1 %105, label %106, label %115 106: ; preds = %103 %107 = load i32, ptr %4, align 4 %108 = icmp ne i32 %107, 0 br i1 %108, label %109, label %112 109: ; preds = %106 %110 = load i64, ptr %10, align 8 %111 = call i32 @printf(ptr noundef @.str, i64 noundef %110) br label %112 112: ; preds = %109, %106 %113 = load i64, ptr %7, align 8 %114 = add i64 %113, 1 store i64 %114, ptr %7, align 8 br label %115 115: ; preds = %112, %103 %116 = load i32, ptr %6, align 4 %117 = icmp ne i32 %116, 0 br i1 %117, label %118, label %133 118: ; preds = %115 %119 = load i32, ptr %4, align 4 %120 = icmp ne i32 %119, 0 br i1 %120, label %121, label %124 121: ; preds = %118 %122 = load i64, ptr %11, align 8 %123 = call i32 @printf(ptr noundef @.str, i64 noundef %122) br label %124 124: ; preds = %121, %118 %125 = load i64, ptr %7, align 8 %126 = add i64 %125, 1 store i64 %126, ptr %7, align 8 %127 = load i32, ptr %5, align 4 %128 = icmp ne i32 %127, 0 br i1 %128, label %129, label %132 129: ; preds = %124 %130 = load i64, ptr %12, align 8 %131 = add i64 %130, 1 store i64 %131, ptr %12, align 8 br label %132 132: ; preds = %129, %124 br label %133 133: ; preds = %132, %115 store i32 1, ptr %5, align 4 store i32 1, ptr %6, align 4 br label %134 134: ; preds = %133, %61, %51, %40, %30 %135 = load i64, ptr %9, align 8 %136 = add i64 %135, 1 store i64 %136, ptr %9, align 8 %137 = load i64, ptr %9, align 8 %138 = load i64, ptr %3, align 8 %139 = add i64 %138, 6 %140 = udiv i64 %139, 6 %141 = icmp ult i64 %137, %140 br i1 %141, label %18, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %134 br label %142 142: ; preds = %._crit_edge, %2 %143 = load i64, ptr %12, align 8 %144 = call i32 @printf(ptr noundef @.str.1, i64 noundef %143) %145 = load i64, ptr %7, align 8 %146 = trunc i64 %145 to i32 ret i32 %146 } declare i64 @sqrt(i64 noundef) #1 declare i32 @printf(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/tmpme5mxv5f.c' source_filename = "/tmp/tmpme5mxv5f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RepGetHost(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 ptr @_RepGetHost(ptr noundef %5, ptr noundef %6, i32 noundef 0) ret ptr %7 } declare ptr @_RepGetHost(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/tmpme5mxv5f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RepGetHost(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 ptr @_RepGetHost(ptr noundef %5, ptr noundef %6, i32 noundef 0) ret ptr %7 } declare ptr @_RepGetHost(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/tmp53i9xgr6.c' source_filename = "/tmp/tmp53i9xgr6.c" target datalayout = "e-m:e-p270: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/tmp53i9xgr6.c" target datalayout = "e-m:e-p270: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/tmppxqw0s7d.c' source_filename = "/tmp/tmppxqw0s7d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"123456789\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"12345678\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"abcd\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"123456789abcd\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %6 = call ptr @ba_alloc(i32 noundef 10) store ptr %6, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @stpcpy(ptr noundef %7, ptr noundef @.str) %9 = load ptr, ptr %2, align 8 %10 = call ptr @ba_resize(ptr noundef %9, i32 noundef 8) store ptr %10, ptr %2, align 8 %11 = load ptr, ptr %2, align 8 %12 = call i64 @strncmp(ptr noundef %11, ptr noundef @.str.1, i32 noundef 8) %13 = icmp eq i64 %12, 0 %14 = zext i1 %13 to i32 %15 = call i32 @assert(i32 noundef %14) %16 = load ptr, ptr %2, align 8 %17 = call i32 @ba_size(ptr noundef %16) %18 = icmp eq i32 %17, 8 %19 = zext i1 %18 to i32 %20 = call i32 @assert(i32 noundef %19) %21 = load ptr, ptr %2, align 8 %22 = call ptr @ba_free(ptr noundef %21) store ptr %22, ptr %2, align 8 %23 = call ptr @ba_alloc(i32 noundef 10) store ptr %23, ptr %3, align 8 %24 = load ptr, ptr %3, align 8 %25 = call i32 @stpcpy(ptr noundef %24, ptr noundef @.str) %26 = load ptr, ptr %3, align 8 %27 = call ptr @ba_resize(ptr noundef %26, i32 noundef 14) store ptr %27, ptr %3, align 8 %28 = load ptr, ptr %3, align 8 %29 = call i64 @strcmp(ptr noundef %28, ptr noundef @.str) %30 = icmp eq i64 %29, 0 %31 = zext i1 %30 to i32 %32 = call i32 @assert(i32 noundef %31) %33 = load ptr, ptr %3, align 8 %34 = call i32 @strlen(ptr noundef %33) %35 = icmp eq i32 %34, 9 %36 = zext i1 %35 to i32 %37 = call i32 @assert(i32 noundef %36) %38 = load ptr, ptr %3, align 8 %39 = getelementptr i8, ptr %38, i64 9 %40 = call i32 @stpcpy(ptr noundef %39, ptr noundef @.str.2) %41 = load ptr, ptr %3, align 8 %42 = call i64 @strcmp(ptr noundef %41, ptr noundef @.str.3) %43 = icmp eq i64 %42, 0 %44 = zext i1 %43 to i32 %45 = call i32 @assert(i32 noundef %44) %46 = load ptr, ptr %3, align 8 %47 = call i32 @strlen(ptr noundef %46) %48 = icmp eq i32 %47, 13 %49 = zext i1 %48 to i32 %50 = call i32 @assert(i32 noundef %49) %51 = load ptr, ptr %3, align 8 %52 = call ptr @ba_free(ptr noundef %51) store ptr %52, ptr %3, align 8 %53 = call ptr @ba_alloc(i32 noundef 10) store ptr %53, ptr %4, align 8 %54 = load ptr, ptr %4, align 8 %55 = call i32 @stpcpy(ptr noundef %54, ptr noundef @.str) %56 = load ptr, ptr %4, align 8 %57 = call ptr @ba_resize(ptr noundef %56, i32 noundef 10) store ptr %57, ptr %4, align 8 %58 = load ptr, ptr %4, align 8 %59 = call i64 @strcmp(ptr noundef %58, ptr noundef @.str) %60 = icmp eq i64 %59, 0 %61 = zext i1 %60 to i32 %62 = call i32 @assert(i32 noundef %61) %63 = load ptr, ptr %4, align 8 %64 = call i32 @strlen(ptr noundef %63) %65 = icmp eq i32 %64, 9 %66 = zext i1 %65 to i32 %67 = call i32 @assert(i32 noundef %66) %68 = load ptr, ptr %4, align 8 %69 = call ptr @ba_free(ptr noundef %68) store ptr %69, ptr %4, align 8 store ptr null, ptr %5, align 8 %70 = load ptr, ptr %5, align 8 %71 = call ptr @ba_resize(ptr noundef %70, i32 noundef 10) store ptr %71, ptr %5, align 8 %72 = load ptr, ptr %5, align 8 %73 = icmp ne ptr %72, null %74 = zext i1 %73 to i32 %75 = call i32 @assert(i32 noundef %74) %76 = load ptr, ptr %5, align 8 %77 = call ptr @ba_free(ptr noundef %76) store ptr %77, ptr %5, align 8 ret i32 0 } declare ptr @ba_alloc(i32 noundef) #1 declare i32 @stpcpy(ptr noundef, ptr noundef) #1 declare ptr @ba_resize(ptr noundef, i32 noundef) #1 declare i32 @assert(i32 noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @ba_size(ptr noundef) #1 declare ptr @ba_free(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppxqw0s7d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"123456789\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"12345678\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"abcd\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"123456789abcd\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %6 = call ptr @ba_alloc(i32 noundef 10) store ptr %6, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @stpcpy(ptr noundef %7, ptr noundef @.str) %9 = load ptr, ptr %2, align 8 %10 = call ptr @ba_resize(ptr noundef %9, i32 noundef 8) store ptr %10, ptr %2, align 8 %11 = load ptr, ptr %2, align 8 %12 = call i64 @strncmp(ptr noundef %11, ptr noundef @.str.1, i32 noundef 8) %13 = icmp eq i64 %12, 0 %14 = zext i1 %13 to i32 %15 = call i32 @assert(i32 noundef %14) %16 = load ptr, ptr %2, align 8 %17 = call i32 @ba_size(ptr noundef %16) %18 = icmp eq i32 %17, 8 %19 = zext i1 %18 to i32 %20 = call i32 @assert(i32 noundef %19) %21 = load ptr, ptr %2, align 8 %22 = call ptr @ba_free(ptr noundef %21) store ptr %22, ptr %2, align 8 %23 = call ptr @ba_alloc(i32 noundef 10) store ptr %23, ptr %3, align 8 %24 = load ptr, ptr %3, align 8 %25 = call i32 @stpcpy(ptr noundef %24, ptr noundef @.str) %26 = load ptr, ptr %3, align 8 %27 = call ptr @ba_resize(ptr noundef %26, i32 noundef 14) store ptr %27, ptr %3, align 8 %28 = load ptr, ptr %3, align 8 %29 = call i64 @strcmp(ptr noundef %28, ptr noundef @.str) %30 = icmp eq i64 %29, 0 %31 = zext i1 %30 to i32 %32 = call i32 @assert(i32 noundef %31) %33 = load ptr, ptr %3, align 8 %34 = call i32 @strlen(ptr noundef %33) %35 = icmp eq i32 %34, 9 %36 = zext i1 %35 to i32 %37 = call i32 @assert(i32 noundef %36) %38 = load ptr, ptr %3, align 8 %39 = getelementptr i8, ptr %38, i64 9 %40 = call i32 @stpcpy(ptr noundef %39, ptr noundef @.str.2) %41 = load ptr, ptr %3, align 8 %42 = call i64 @strcmp(ptr noundef %41, ptr noundef @.str.3) %43 = icmp eq i64 %42, 0 %44 = zext i1 %43 to i32 %45 = call i32 @assert(i32 noundef %44) %46 = load ptr, ptr %3, align 8 %47 = call i32 @strlen(ptr noundef %46) %48 = icmp eq i32 %47, 13 %49 = zext i1 %48 to i32 %50 = call i32 @assert(i32 noundef %49) %51 = load ptr, ptr %3, align 8 %52 = call ptr @ba_free(ptr noundef %51) store ptr %52, ptr %3, align 8 %53 = call ptr @ba_alloc(i32 noundef 10) store ptr %53, ptr %4, align 8 %54 = load ptr, ptr %4, align 8 %55 = call i32 @stpcpy(ptr noundef %54, ptr noundef @.str) %56 = load ptr, ptr %4, align 8 %57 = call ptr @ba_resize(ptr noundef %56, i32 noundef 10) store ptr %57, ptr %4, align 8 %58 = load ptr, ptr %4, align 8 %59 = call i64 @strcmp(ptr noundef %58, ptr noundef @.str) %60 = icmp eq i64 %59, 0 %61 = zext i1 %60 to i32 %62 = call i32 @assert(i32 noundef %61) %63 = load ptr, ptr %4, align 8 %64 = call i32 @strlen(ptr noundef %63) %65 = icmp eq i32 %64, 9 %66 = zext i1 %65 to i32 %67 = call i32 @assert(i32 noundef %66) %68 = load ptr, ptr %4, align 8 %69 = call ptr @ba_free(ptr noundef %68) store ptr %69, ptr %4, align 8 store ptr null, ptr %5, align 8 %70 = load ptr, ptr %5, align 8 %71 = call ptr @ba_resize(ptr noundef %70, i32 noundef 10) store ptr %71, ptr %5, align 8 %72 = load ptr, ptr %5, align 8 %73 = icmp ne ptr %72, null %74 = zext i1 %73 to i32 %75 = call i32 @assert(i32 noundef %74) %76 = load ptr, ptr %5, align 8 %77 = call ptr @ba_free(ptr noundef %76) store ptr %77, ptr %5, align 8 ret i32 0 } declare ptr @ba_alloc(i32 noundef) #1 declare i32 @stpcpy(ptr noundef, ptr noundef) #1 declare ptr @ba_resize(ptr noundef, i32 noundef) #1 declare i32 @assert(i32 noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @ba_size(ptr noundef) #1 declare ptr @ba_free(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7h6xfec8.c' source_filename = "/tmp/tmp7h6xfec8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @poly1305_offs(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 %13 = load ptr, ptr %7, align 8 %14 = load ptr, ptr %8, align 8 %15 = load ptr, ptr %9, align 8 %16 = load ptr, ptr %10, align 8 %17 = load i32, ptr %11, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i32, ptr %12, align 4 %21 = call i32 @poly1305_amd64(ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %19, i32 noundef %20) ret void } declare i32 @poly1305_amd64(ptr 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/tmp7h6xfec8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @poly1305_offs(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 %13 = load ptr, ptr %7, align 8 %14 = load ptr, ptr %8, align 8 %15 = load ptr, ptr %9, align 8 %16 = load ptr, ptr %10, align 8 %17 = load i32, ptr %11, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i32, ptr %12, align 4 %21 = call i32 @poly1305_amd64(ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %19, i32 noundef %20) ret void } declare i32 @poly1305_amd64(ptr 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/tmp8f1h7obz.c' source_filename = "/tmp/tmp8f1h7obz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"(%d %d)=(%d %d) %*f\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"-1 -1 -1 -1\0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"%d %d %d %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 ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = 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 100000000, ptr %7, align 4 store i32 -100000000, ptr %8, align 4 store i32 100000000, ptr %9, align 4 store i32 -100000000, ptr %10, align 4 store i32 0, ptr %15, align 4 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = call ptr @fopen(ptr noundef %18, ptr noundef @.str) store ptr %19, ptr %6, align 8 %20 = load ptr, ptr %6, align 8 %21 = call i32 @assert(ptr noundef %20) br label %22 22: ; preds = %46, %2 %23 = load ptr, ptr %6, align 8 %24 = call i32 @feof(ptr noundef %23) %25 = icmp ne i32 %24, 0 %26 = xor i1 %25, true br i1 %26, label %27, label %47 27: ; preds = %22 %28 = load ptr, ptr %6, align 8 %29 = call i32 @fscanf(ptr noundef %28, ptr noundef @.str.1, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14) %30 = icmp eq i32 %29, 4 br i1 %30, label %31, label %46 31: ; preds = %27 %32 = load i32, ptr %7, align 4 %33 = load i32, ptr %11, align 4 %34 = call i32 @min(i32 noundef %32, i32 noundef %33) store i32 %34, ptr %7, align 4 %35 = load i32, ptr %8, align 4 %36 = load i32, ptr %12, align 4 %37 = call i32 @max(i32 noundef %35, i32 noundef %36) store i32 %37, ptr %8, align 4 %38 = load i32, ptr %9, align 4 %39 = load i32, ptr %13, align 4 %40 = call i32 @min(i32 noundef %38, i32 noundef %39) store i32 %40, ptr %9, align 4 %41 = load i32, ptr %10, align 4 %42 = load i32, ptr %14, align 4 %43 = call i32 @max(i32 noundef %41, i32 noundef %42) store i32 %43, ptr %10, align 4 %44 = load i32, ptr %15, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %15, align 4 br label %46 46: ; preds = %31, %27 br label %22, !llvm.loop !6 47: ; preds = %22 %48 = load ptr, ptr %6, align 8 %49 = call i32 @fclose(ptr noundef %48) %50 = load i32, ptr %15, align 4 %51 = icmp ne i32 %50, 0 br i1 %51, label %54, label %52 52: ; preds = %47 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %60 54: ; preds = %47 %55 = load i32, ptr %7, align 4 %56 = load i32, ptr %8, align 4 %57 = load i32, ptr %9, align 4 %58 = load i32, ptr %10, align 4 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %55, i32 noundef %56, i32 noundef %57, i32 noundef %58) br label %60 60: ; preds = %54, %52 %61 = load i32, ptr %3, align 4 ret i32 %61 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @assert(ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @min(i32 noundef, i32 noundef) #1 declare i32 @max(i32 noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8f1h7obz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"(%d %d)=(%d %d) %*f\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"-1 -1 -1 -1\0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"%d %d %d %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 ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = 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 100000000, ptr %7, align 4 store i32 -100000000, ptr %8, align 4 store i32 100000000, ptr %9, align 4 store i32 -100000000, ptr %10, align 4 store i32 0, ptr %15, align 4 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = call ptr @fopen(ptr noundef %18, ptr noundef @.str) store ptr %19, ptr %6, align 8 %20 = load ptr, ptr %6, align 8 %21 = call i32 @assert(ptr noundef %20) %22 = load ptr, ptr %6, align 8 %23 = call i32 @feof(ptr noundef %22) %24 = icmp ne i32 %23, 0 %25 = xor i1 %24, true br i1 %25, label %.lr.ph, label %50 .lr.ph: ; preds = %2 br label %26 26: ; preds = %.lr.ph, %45 %27 = load ptr, ptr %6, align 8 %28 = call i32 @fscanf(ptr noundef %27, ptr noundef @.str.1, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14) %29 = icmp eq i32 %28, 4 br i1 %29, label %30, label %45 30: ; preds = %26 %31 = load i32, ptr %7, align 4 %32 = load i32, ptr %11, align 4 %33 = call i32 @min(i32 noundef %31, i32 noundef %32) store i32 %33, ptr %7, align 4 %34 = load i32, ptr %8, align 4 %35 = load i32, ptr %12, align 4 %36 = call i32 @max(i32 noundef %34, i32 noundef %35) store i32 %36, ptr %8, align 4 %37 = load i32, ptr %9, align 4 %38 = load i32, ptr %13, align 4 %39 = call i32 @min(i32 noundef %37, i32 noundef %38) store i32 %39, ptr %9, align 4 %40 = load i32, ptr %10, align 4 %41 = load i32, ptr %14, align 4 %42 = call i32 @max(i32 noundef %40, i32 noundef %41) store i32 %42, ptr %10, align 4 %43 = load i32, ptr %15, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %15, align 4 br label %45 45: ; preds = %30, %26 %46 = load ptr, ptr %6, align 8 %47 = call i32 @feof(ptr noundef %46) %48 = icmp ne i32 %47, 0 %49 = xor i1 %48, true br i1 %49, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %50 50: ; preds = %._crit_edge, %2 %51 = load ptr, ptr %6, align 8 %52 = call i32 @fclose(ptr noundef %51) %53 = load i32, ptr %15, align 4 %54 = icmp ne i32 %53, 0 br i1 %54, label %57, label %55 55: ; preds = %50 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %63 57: ; preds = %50 %58 = load i32, ptr %7, align 4 %59 = load i32, ptr %8, align 4 %60 = load i32, ptr %9, align 4 %61 = load i32, ptr %10, align 4 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %58, i32 noundef %59, i32 noundef %60, i32 noundef %61) br label %63 63: ; preds = %57, %55 %64 = load i32, ptr %3, align 4 ret i32 %64 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @assert(ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @min(i32 noundef, i32 noundef) #1 declare i32 @max(i32 noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpse46no63.c' source_filename = "/tmp/tmpse46no63.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.to_be_sort = private unnamed_addr constant [7 x i32] [i32 2, i32 3, i32 1, i32 6, i32 4, i32 7, i32 9], align 16 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [7 x i32], align 16 %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 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.to_be_sort, i64 28, i1 false) %8 = getelementptr inbounds [7 x i32], ptr %6, i64 0, i64 0 %9 = call i32 @split_and_sort(ptr noundef %8, i32 noundef 0, i32 noundef 6) store i32 0, ptr %7, align 4 br label %10 10: ; preds = %19, %2 %11 = load i32, ptr %7, align 4 %12 = icmp slt i32 %11, 7 br i1 %12, label %13, label %22 13: ; preds = %10 %14 = load i32, ptr %7, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [7 x i32], ptr %6, i64 0, i64 %15 %17 = load i32, ptr %16, align 4 %18 = call i32 @printf(ptr noundef @.str, i32 noundef %17) br label %19 19: ; preds = %13 %20 = load i32, ptr %7, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %7, align 4 br label %10, !llvm.loop !6 22: ; preds = %10 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @split_and_sort(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpse46no63.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.to_be_sort = private unnamed_addr constant [7 x i32] [i32 2, i32 3, i32 1, i32 6, i32 4, i32 7, i32 9], align 16 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [7 x i32], align 16 %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 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.to_be_sort, i64 28, i1 false) %8 = getelementptr inbounds [7 x i32], ptr %6, i64 0, i64 0 %9 = call i32 @split_and_sort(ptr noundef %8, i32 noundef 0, i32 noundef 6) store i32 0, ptr %7, align 4 %10 = load i32, ptr %7, align 4 %11 = icmp slt i32 %10, 7 br i1 %11, label %.lr.ph, label %23 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %18 %13 = load i32, ptr %7, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [7 x i32], ptr %6, i64 0, i64 %14 %16 = load i32, ptr %15, align 4 %17 = call i32 @printf(ptr noundef @.str, i32 noundef %16) br label %18 18: ; preds = %12 %19 = load i32, ptr %7, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %7, align 4 %21 = load i32, ptr %7, align 4 %22 = icmp slt i32 %21, 7 br i1 %22, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %23 23: ; preds = %._crit_edge, %2 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @split_and_sort(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp3757df9z.c' source_filename = "/tmp/tmp3757df9z.c" target datalayout = "e-m:e-p270: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/tmp3757df9z.c" target datalayout = "e-m:e-p270: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/tmpqw_79ely.c' source_filename = "/tmp/tmpqw_79ely.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getRT(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 @leftShift(i32 noundef %3, i32 noundef 11) %5 = call i32 @rightShift(i32 noundef %4, i32 noundef 27) ret i32 %5 } declare i32 @rightShift(i32 noundef, i32 noundef) #1 declare i32 @leftShift(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/tmpqw_79ely.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getRT(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 @leftShift(i32 noundef %3, i32 noundef 11) %5 = call i32 @rightShift(i32 noundef %4, i32 noundef 27) ret i32 %5 } declare i32 @rightShift(i32 noundef, i32 noundef) #1 declare i32 @leftShift(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/tmpvljz993o.c' source_filename = "/tmp/tmpvljz993o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pvUseLibraryEx(i8 noundef signext %0, ptr noundef %1, i8 noundef signext %2) #0 { %4 = alloca i8, align 1 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 store i8 %0, ptr %4, align 1 store ptr %1, ptr %5, align 8 store i8 %2, ptr %6, align 1 %7 = call i32 @notify_pvcall(ptr noundef @.str) ret i32 0 } declare i32 @notify_pvcall(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvljz993o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pvUseLibraryEx(i8 noundef signext %0, ptr noundef %1, i8 noundef signext %2) #0 { %4 = alloca i8, align 1 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 store i8 %0, ptr %4, align 1 store ptr %1, ptr %5, align 8 store i8 %2, ptr %6, align 1 %7 = call i32 @notify_pvcall(ptr noundef @.str) ret i32 0 } declare i32 @notify_pvcall(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7s5nk0g7.c' source_filename = "/tmp/tmp7s5nk0g7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @rand_gather(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %9 = call i32 @open(ptr noundef @.str, i32 noundef 0) store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %13 12: ; preds = %2 store i64 -1, ptr %3, align 8 br label %43 13: ; preds = %2 store i64 0, ptr %7, align 8 br label %14 14: ; preds = %34, %13 %15 = load i64, ptr %5, align 8 %16 = load i64, ptr %7, align 8 %17 = sub i64 %15, %16 %18 = icmp ugt i64 %17, 0 br i1 %18, label %19, label %39 19: ; preds = %14 %20 = load i32, ptr %6, align 4 %21 = load ptr, ptr %4, align 8 %22 = load i64, ptr %7, align 8 %23 = getelementptr inbounds i8, ptr %21, i64 %22 %24 = load i64, ptr %5, align 8 %25 = load i64, ptr %7, align 8 %26 = sub i64 %24, %25 %27 = call i32 @read(i32 noundef %20, ptr noundef %23, i64 noundef %26) store i32 %27, ptr %8, align 4 %28 = load i32, ptr %8, align 4 %29 = icmp eq i32 %28, -1 br i1 %29, label %30, label %34 30: ; preds = %19 %31 = load i32, ptr %6, align 4 %32 = call i32 @close(i32 noundef %31) %33 = load i64, ptr %7, align 8 store i64 %33, ptr %3, align 8 br label %43 34: ; preds = %19 %35 = load i32, ptr %8, align 4 %36 = sext i32 %35 to i64 %37 = load i64, ptr %7, align 8 %38 = add i64 %37, %36 store i64 %38, ptr %7, align 8 br label %14, !llvm.loop !6 39: ; preds = %14 %40 = load i32, ptr %6, align 4 %41 = call i32 @close(i32 noundef %40) %42 = load i64, ptr %7, align 8 store i64 %42, ptr %3, align 8 br label %43 43: ; preds = %39, %30, %12 %44 = load i64, ptr %3, align 8 ret i64 %44 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7s5nk0g7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @rand_gather(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %9 = call i32 @open(ptr noundef @.str, i32 noundef 0) store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %13 12: ; preds = %2 store i64 -1, ptr %3, align 8 br label %46 13: ; preds = %2 store i64 0, ptr %7, align 8 %14 = load i64, ptr %5, align 8 %15 = load i64, ptr %7, align 8 %16 = sub i64 %14, %15 %17 = icmp ugt i64 %16, 0 br i1 %17, label %.lr.ph, label %42 .lr.ph: ; preds = %13 br label %18 18: ; preds = %.lr.ph, %33 %19 = load i32, ptr %6, align 4 %20 = load ptr, ptr %4, align 8 %21 = load i64, ptr %7, align 8 %22 = getelementptr inbounds i8, ptr %20, i64 %21 %23 = load i64, ptr %5, align 8 %24 = load i64, ptr %7, align 8 %25 = sub i64 %23, %24 %26 = call i32 @read(i32 noundef %19, ptr noundef %22, i64 noundef %25) store i32 %26, ptr %8, align 4 %27 = load i32, ptr %8, align 4 %28 = icmp eq i32 %27, -1 br i1 %28, label %29, label %33 29: ; preds = %18 %30 = load i32, ptr %6, align 4 %31 = call i32 @close(i32 noundef %30) %32 = load i64, ptr %7, align 8 store i64 %32, ptr %3, align 8 br label %46 33: ; preds = %18 %34 = load i32, ptr %8, align 4 %35 = sext i32 %34 to i64 %36 = load i64, ptr %7, align 8 %37 = add i64 %36, %35 store i64 %37, ptr %7, align 8 %38 = load i64, ptr %5, align 8 %39 = load i64, ptr %7, align 8 %40 = sub i64 %38, %39 %41 = icmp ugt i64 %40, 0 br i1 %41, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %42 42: ; preds = %._crit_edge, %13 %43 = load i32, ptr %6, align 4 %44 = call i32 @close(i32 noundef %43) %45 = load i64, ptr %7, align 8 store i64 %45, ptr %3, align 8 br label %46 46: ; preds = %42, %29, %12 %47 = load i64, ptr %3, align 8 ret i64 %47 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp39ap2qdz.c' source_filename = "/tmp/tmp39ap2qdz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_mm_add_ps(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 @_mm_add_ps(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @_mm_add_ps(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/tmp39ap2qdz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_mm_add_ps(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 @_mm_add_ps(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @_mm_add_ps(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/tmpeg_cpkq1.c' source_filename = "/tmp/tmpeg_cpkq1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @problem_5() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 @lcm(i32 noundef 2, i32 noundef 3) store i32 %3, ptr %2, align 4 store i32 4, ptr %1, align 4 br label %4 4: ; preds = %11, %0 %5 = load i32, ptr %1, align 4 %6 = icmp slt i32 %5, 21 br i1 %6, label %7, label %14 7: ; preds = %4 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %1, align 4 %10 = call i32 @lcm(i32 noundef %8, i32 noundef %9) store i32 %10, ptr %2, align 4 br label %11 11: ; preds = %7 %12 = load i32, ptr %1, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %1, align 4 br label %4, !llvm.loop !6 14: ; preds = %4 %15 = load i32, ptr %2, align 4 ret i32 %15 } declare i32 @lcm(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeg_cpkq1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @problem_5() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 @lcm(i32 noundef 2, i32 noundef 3) store i32 %3, ptr %2, align 4 store i32 4, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = icmp slt i32 %4, 21 br i1 %5, label %.lr.ph, label %15 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %10 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %1, align 4 %9 = call i32 @lcm(i32 noundef %7, i32 noundef %8) store i32 %9, ptr %2, align 4 br label %10 10: ; preds = %6 %11 = load i32, ptr %1, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %1, align 4 %13 = load i32, ptr %1, align 4 %14 = icmp slt i32 %13, 21 br i1 %14, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %15 15: ; preds = %._crit_edge, %0 %16 = load i32, ptr %2, align 4 ret i32 %16 } declare i32 @lcm(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp64yhvmvv.c' source_filename = "/tmp/tmp64yhvmvv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @DBL_MAX = dso_local global double 0.000000e+00, align 8 @.str = private unnamed_addr constant [33 x i8] c"min_array_pos: null input array.\00", align 1 @.str.1 = private unnamed_addr constant [47 x i8] c"min_array_pos: size must be strictly positive.\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"min_array_pos: pos must be non-null.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @min_array_pos(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %9 = load double, ptr @DBL_MAX, align 8 store double %9, ptr %7, align 8 %10 = load ptr, ptr %4, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %14 12: ; preds = %3 %13 = call i32 @error(ptr noundef @.str) br label %14 14: ; preds = %12, %3 %15 = load i32, ptr %5, align 4 %16 = icmp sle i32 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %14 %18 = call i32 @error(ptr noundef @.str.1) br label %19 19: ; preds = %17, %14 %20 = load ptr, ptr %6, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %24 22: ; preds = %19 %23 = call i32 @error(ptr noundef @.str.2) br label %24 24: ; preds = %22, %19 store i32 0, ptr %8, align 4 br label %25 25: ; preds = %46, %24 %26 = load i32, ptr %8, align 4 %27 = load i32, ptr %5, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %29, label %49 29: ; preds = %25 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds double, ptr %30, i64 %32 %34 = load double, ptr %33, align 8 %35 = load double, ptr %7, align 8 %36 = fcmp olt double %34, %35 br i1 %36, label %37, label %45 37: ; preds = %29 %38 = load ptr, ptr %4, align 8 %39 = load i32, ptr %8, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds double, ptr %38, i64 %40 %42 = load double, ptr %41, align 8 store double %42, ptr %7, align 8 %43 = load i32, ptr %8, align 4 %44 = load ptr, ptr %6, align 8 store i32 %43, ptr %44, align 4 br label %45 45: ; preds = %37, %29 br label %46 46: ; preds = %45 %47 = load i32, ptr %8, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %8, align 4 br label %25, !llvm.loop !6 49: ; preds = %25 %50 = load double, ptr %7, align 8 ret double %50 } declare i32 @error(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp64yhvmvv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @DBL_MAX = dso_local global double 0.000000e+00, align 8 @.str = private unnamed_addr constant [33 x i8] c"min_array_pos: null input array.\00", align 1 @.str.1 = private unnamed_addr constant [47 x i8] c"min_array_pos: size must be strictly positive.\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"min_array_pos: pos must be non-null.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @min_array_pos(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %9 = load double, ptr @DBL_MAX, align 8 store double %9, ptr %7, align 8 %10 = load ptr, ptr %4, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %14 12: ; preds = %3 %13 = call i32 @error(ptr noundef @.str) br label %14 14: ; preds = %12, %3 %15 = load i32, ptr %5, align 4 %16 = icmp sle i32 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %14 %18 = call i32 @error(ptr noundef @.str.1) br label %19 19: ; preds = %17, %14 %20 = load ptr, ptr %6, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %24 22: ; preds = %19 %23 = call i32 @error(ptr noundef @.str.2) br label %24 24: ; preds = %22, %19 store i32 0, ptr %8, align 4 %25 = load i32, ptr %8, align 4 %26 = load i32, ptr %5, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %.lr.ph, label %51 .lr.ph: ; preds = %24 br label %28 28: ; preds = %.lr.ph, %45 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %8, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds double, ptr %29, i64 %31 %33 = load double, ptr %32, align 8 %34 = load double, ptr %7, align 8 %35 = fcmp olt double %33, %34 br i1 %35, label %36, label %44 36: ; preds = %28 %37 = load ptr, ptr %4, align 8 %38 = load i32, ptr %8, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds double, ptr %37, i64 %39 %41 = load double, ptr %40, align 8 store double %41, ptr %7, align 8 %42 = load i32, ptr %8, align 4 %43 = load ptr, ptr %6, align 8 store i32 %42, ptr %43, align 4 br label %44 44: ; preds = %36, %28 br label %45 45: ; preds = %44 %46 = load i32, ptr %8, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %8, align 4 %48 = load i32, ptr %8, align 4 %49 = load i32, ptr %5, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %51 51: ; preds = %._crit_edge, %24 %52 = load double, ptr %7, align 8 ret double %52 } declare i32 @error(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_hkvzb_i.c' source_filename = "/tmp/tmp_hkvzb_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" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %3, align 4 br label %5 5: ; preds = %17, %0 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %9, label %20 9: ; preds = %5 %10 = load i32, ptr %3, align 4 %11 = srem i32 %10, 2 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %9 %14 = load i32, ptr %3, align 4 %15 = call i32 @printf(ptr noundef @.str, i32 noundef %14) br label %16 16: ; preds = %13, %9 br label %17 17: ; preds = %16 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 br label %5, !llvm.loop !6 20: ; preds = %5 %21 = load i32, ptr %1, align 4 ret i32 %21 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_hkvzb_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" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %5, %6 br i1 %7, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %16 %9 = load i32, ptr %3, align 4 %10 = srem i32 %9, 2 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %15 12: ; preds = %8 %13 = load i32, ptr %3, align 4 %14 = call i32 @printf(ptr noundef @.str, i32 noundef %13) br label %15 15: ; preds = %12, %8 br label %16 16: ; preds = %15 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %3, align 4 %19 = load i32, ptr %3, align 4 %20 = load i32, ptr %2, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %0 %23 = load i32, ptr %1, align 4 ret i32 %23 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_lkv54x4.c' source_filename = "/tmp/tmp_lkv54x4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.x1 = private unnamed_addr constant [4 x double] [double 1.000000e+00, double 2.000000e+00, double 3.000000e+00, double 4.000000e+00], align 16 @__const.main.fx1 = private unnamed_addr constant [4 x double] [double 6.000000e+00, double 9.000000e+00, double 2.000000e+00, double 5.000000e+00], align 16 @__const.main.x2 = private unnamed_addr constant [9 x double] [double -4.000000e+00, double -3.500000e+00, double -2.500000e+00, double -1.500000e+00, double 0.000000e+00, double 1.500000e+00, double 2.500000e+00, double 3.500000e+00, double 4.000000e+00], align 16 @__const.main.fx2 = private unnamed_addr constant [9 x double] [double -3.000000e+00, double 1.500000e+00, double 2.500000e+00, double 1.500000e+00, double 5.000000e-01, double 1.500000e+00, double 2.500000e+00, double 1.500000e+00, double -3.000000e+00], align 16 @__const.main.z2 = private unnamed_addr constant [3 x double] [double -3.000000e+00, double -2.000000e+00, double -1.000000e+00], align 16 @__const.main.x3 = private unnamed_addr constant [2 x double] [double 0.000000e+00, double 1.000000e+01], align 16 @__const.main.fx3 = private unnamed_addr constant [2 x double] [double 0.000000e+00, double 1.000000e+01], align 16 @__const.main.x5 = private unnamed_addr constant [4 x double] [double -3.000000e+00, double -2.000000e+00, double 2.000000e+00, double 3.000000e+00], align 16 @__const.main.fx5 = private unnamed_addr constant [4 x double] [double -5.000000e+00, double -1.100000e+00, double 1.900000e+00, double 4.800000e+00], align 16 @__const.main.z5 = private unnamed_addr constant [3 x double] [double -2.500000e+00, double 0.000000e+00, double 2.500000e+00], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4 x double], align 16 %3 = alloca [4 x double], align 16 %4 = alloca [4 x double], align 16 %5 = alloca [9 x double], align 16 %6 = alloca [9 x double], align 16 %7 = alloca [3 x double], align 16 %8 = alloca [3 x double], align 16 %9 = alloca [2 x double], align 16 %10 = alloca [2 x double], align 16 %11 = alloca [6 x double], align 16 %12 = alloca [6 x double], align 16 %13 = alloca [7 x double], align 16 %14 = alloca [7 x double], align 16 %15 = alloca [6 x double], align 16 %16 = alloca [6 x double], align 16 %17 = alloca [4 x double], align 16 %18 = alloca [4 x double], align 16 %19 = alloca [3 x double], align 16 %20 = alloca [3 x double], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.x1, i64 32, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.fx1, i64 32, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.x2, i64 72, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.fx2, i64 72, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.z2, i64 24, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.main.x3, i64 16, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.main.fx3, i64 16, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 48, i1 false) %21 = getelementptr inbounds [6 x double], ptr %11, i32 0, i32 1 store double 1.000000e+00, ptr %21, align 8 %22 = getelementptr inbounds [6 x double], ptr %11, i32 0, i32 2 store double 2.000000e+00, ptr %22, align 16 %23 = getelementptr inbounds [6 x double], ptr %11, i32 0, i32 3 store double 3.000000e+00, ptr %23, align 8 %24 = getelementptr inbounds [6 x double], ptr %11, i32 0, i32 4 store double 4.000000e+00, ptr %24, align 16 %25 = getelementptr inbounds [6 x double], ptr %11, i32 0, i32 5 store double 1.000000e+02, ptr %25, align 8 call void @llvm.memset.p0.i64(ptr align 16 %13, i8 0, i64 56, i1 false) %26 = getelementptr inbounds [7 x double], ptr %13, i32 0, i32 0 store double -2.000000e+00, ptr %26, align 16 %27 = getelementptr inbounds [7 x double], ptr %13, i32 0, i32 1 store double -1.000000e+00, ptr %27, align 8 %28 = getelementptr inbounds [7 x double], ptr %13, i32 0, i32 2 store double -5.000000e-01, ptr %28, align 16 %29 = getelementptr inbounds [7 x double], ptr %13, i32 0, i32 4 store double 1.000000e+00, ptr %29, align 16 %30 = getelementptr inbounds [7 x double], ptr %13, i32 0, i32 5 store double 2.500000e+00, ptr %30, align 8 %31 = getelementptr inbounds [7 x double], ptr %13, i32 0, i32 6 store double 3.000000e+00, ptr %31, align 16 call void @llvm.memset.p0.i64(ptr align 16 %14, i8 0, i64 56, i1 false) %32 = getelementptr inbounds [7 x double], ptr %14, i32 0, i32 0 store double 4.000000e+00, ptr %32, align 16 %33 = getelementptr inbounds [7 x double], ptr %14, i32 0, i32 1 store double 1.000000e+00, ptr %33, align 8 %34 = getelementptr inbounds [7 x double], ptr %14, i32 0, i32 2 store double 2.500000e-01, ptr %34, align 16 %35 = getelementptr inbounds [7 x double], ptr %14, i32 0, i32 4 store double 1.000000e+00, ptr %35, align 16 %36 = getelementptr inbounds [7 x double], ptr %14, i32 0, i32 5 store double 6.250000e+00, ptr %36, align 8 %37 = getelementptr inbounds [7 x double], ptr %14, i32 0, i32 6 store double 9.000000e+00, ptr %37, align 16 call void @llvm.memset.p0.i64(ptr align 16 %15, i8 0, i64 48, i1 false) %38 = getelementptr inbounds [6 x double], ptr %15, i32 0, i32 0 store double -1.500000e+00, ptr %38, align 16 %39 = getelementptr inbounds [6 x double], ptr %15, i32 0, i32 1 store double -9.000000e-01, ptr %39, align 8 %40 = getelementptr inbounds [6 x double], ptr %15, i32 0, i32 2 store double -8.000000e-01, ptr %40, align 16 %41 = getelementptr inbounds [6 x double], ptr %15, i32 0, i32 3 store double 5.000000e-01, ptr %41, align 8 %42 = getelementptr inbounds [6 x double], ptr %15, i32 0, i32 4 store double 2.000000e+00, ptr %42, align 16 %43 = getelementptr inbounds [6 x double], ptr %15, i32 0, i32 5 store double 1.000000e+01, ptr %43, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %17, ptr align 16 @__const.main.x5, i64 32, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %18, ptr align 16 @__const.main.fx5, i64 32, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %19, ptr align 16 @__const.main.z5, i64 24, i1 false) %44 = getelementptr inbounds [4 x double], ptr %2, i64 0, i64 0 %45 = getelementptr inbounds [4 x double], ptr %3, i64 0, i64 0 %46 = getelementptr inbounds [4 x double], ptr %4, i64 0, i64 0 %47 = call i32 @DividedDifferences(ptr noundef %44, ptr noundef %45, i32 noundef 4, ptr noundef %46) %48 = getelementptr inbounds [4 x double], ptr %4, i64 0, i64 0 %49 = call i32 @printvdnl(ptr noundef %48, i32 noundef 4) %50 = getelementptr inbounds [9 x double], ptr %5, i64 0, i64 0 %51 = getelementptr inbounds [9 x double], ptr %6, i64 0, i64 0 %52 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 0 %53 = getelementptr inbounds [3 x double], ptr %8, i64 0, i64 0 %54 = call i32 @SimpleNewtonPolynomialInterpolation(ptr noundef %50, ptr noundef %51, i32 noundef 9, ptr noundef %52, ptr noundef %53, i32 noundef 3) %55 = getelementptr inbounds [3 x double], ptr %8, i64 0, i64 0 %56 = call i32 @printvdnl(ptr noundef %55, i32 noundef 3) %57 = getelementptr inbounds [2 x double], ptr %9, i64 0, i64 0 %58 = getelementptr inbounds [2 x double], ptr %10, i64 0, i64 0 %59 = getelementptr inbounds [6 x double], ptr %11, i64 0, i64 0 %60 = getelementptr inbounds [6 x double], ptr %12, i64 0, i64 0 %61 = call i32 @SimpleNewtonPolynomialInterpolation(ptr noundef %57, ptr noundef %58, i32 noundef 2, ptr noundef %59, ptr noundef %60, i32 noundef 6) %62 = getelementptr inbounds [6 x double], ptr %12, i64 0, i64 0 %63 = call i32 @printvdnl(ptr noundef %62, i32 noundef 6) %64 = getelementptr inbounds [7 x double], ptr %13, i64 0, i64 0 %65 = getelementptr inbounds [7 x double], ptr %14, i64 0, i64 0 %66 = getelementptr inbounds [6 x double], ptr %15, i64 0, i64 0 %67 = getelementptr inbounds [6 x double], ptr %16, i64 0, i64 0 %68 = call i32 @SimpleNewtonPolynomialInterpolation(ptr noundef %64, ptr noundef %65, i32 noundef 7, ptr noundef %66, ptr noundef %67, i32 noundef 6) %69 = getelementptr inbounds [6 x double], ptr %16, i64 0, i64 0 %70 = call i32 @printvdnl(ptr noundef %69, i32 noundef 6) %71 = getelementptr inbounds [4 x double], ptr %17, i64 0, i64 0 %72 = getelementptr inbounds [4 x double], ptr %18, i64 0, i64 0 %73 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 0 %74 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0 %75 = call i32 @SimpleNewtonPolynomialInterpolation(ptr noundef %71, ptr noundef %72, i32 noundef 4, ptr noundef %73, ptr noundef %74, i32 noundef 3) %76 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0 %77 = call i32 @printvdnl(ptr noundef %76, i32 noundef 3) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @DividedDifferences(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #3 declare i32 @printvdnl(ptr noundef, i32 noundef) #3 declare i32 @SimpleNewtonPolynomialInterpolation(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } 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/tmp_lkv54x4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.x1 = private unnamed_addr constant [4 x double] [double 1.000000e+00, double 2.000000e+00, double 3.000000e+00, double 4.000000e+00], align 16 @__const.main.fx1 = private unnamed_addr constant [4 x double] [double 6.000000e+00, double 9.000000e+00, double 2.000000e+00, double 5.000000e+00], align 16 @__const.main.x2 = private unnamed_addr constant [9 x double] [double -4.000000e+00, double -3.500000e+00, double -2.500000e+00, double -1.500000e+00, double 0.000000e+00, double 1.500000e+00, double 2.500000e+00, double 3.500000e+00, double 4.000000e+00], align 16 @__const.main.fx2 = private unnamed_addr constant [9 x double] [double -3.000000e+00, double 1.500000e+00, double 2.500000e+00, double 1.500000e+00, double 5.000000e-01, double 1.500000e+00, double 2.500000e+00, double 1.500000e+00, double -3.000000e+00], align 16 @__const.main.z2 = private unnamed_addr constant [3 x double] [double -3.000000e+00, double -2.000000e+00, double -1.000000e+00], align 16 @__const.main.x3 = private unnamed_addr constant [2 x double] [double 0.000000e+00, double 1.000000e+01], align 16 @__const.main.fx3 = private unnamed_addr constant [2 x double] [double 0.000000e+00, double 1.000000e+01], align 16 @__const.main.x5 = private unnamed_addr constant [4 x double] [double -3.000000e+00, double -2.000000e+00, double 2.000000e+00, double 3.000000e+00], align 16 @__const.main.fx5 = private unnamed_addr constant [4 x double] [double -5.000000e+00, double -1.100000e+00, double 1.900000e+00, double 4.800000e+00], align 16 @__const.main.z5 = private unnamed_addr constant [3 x double] [double -2.500000e+00, double 0.000000e+00, double 2.500000e+00], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4 x double], align 16 %3 = alloca [4 x double], align 16 %4 = alloca [4 x double], align 16 %5 = alloca [9 x double], align 16 %6 = alloca [9 x double], align 16 %7 = alloca [3 x double], align 16 %8 = alloca [3 x double], align 16 %9 = alloca [2 x double], align 16 %10 = alloca [2 x double], align 16 %11 = alloca [6 x double], align 16 %12 = alloca [6 x double], align 16 %13 = alloca [7 x double], align 16 %14 = alloca [7 x double], align 16 %15 = alloca [6 x double], align 16 %16 = alloca [6 x double], align 16 %17 = alloca [4 x double], align 16 %18 = alloca [4 x double], align 16 %19 = alloca [3 x double], align 16 %20 = alloca [3 x double], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.x1, i64 32, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.fx1, i64 32, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.x2, i64 72, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.fx2, i64 72, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.z2, i64 24, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.main.x3, i64 16, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.main.fx3, i64 16, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 48, i1 false) %21 = getelementptr inbounds [6 x double], ptr %11, i32 0, i32 1 store double 1.000000e+00, ptr %21, align 8 %22 = getelementptr inbounds [6 x double], ptr %11, i32 0, i32 2 store double 2.000000e+00, ptr %22, align 16 %23 = getelementptr inbounds [6 x double], ptr %11, i32 0, i32 3 store double 3.000000e+00, ptr %23, align 8 %24 = getelementptr inbounds [6 x double], ptr %11, i32 0, i32 4 store double 4.000000e+00, ptr %24, align 16 %25 = getelementptr inbounds [6 x double], ptr %11, i32 0, i32 5 store double 1.000000e+02, ptr %25, align 8 call void @llvm.memset.p0.i64(ptr align 16 %13, i8 0, i64 56, i1 false) %26 = getelementptr inbounds [7 x double], ptr %13, i32 0, i32 0 store double -2.000000e+00, ptr %26, align 16 %27 = getelementptr inbounds [7 x double], ptr %13, i32 0, i32 1 store double -1.000000e+00, ptr %27, align 8 %28 = getelementptr inbounds [7 x double], ptr %13, i32 0, i32 2 store double -5.000000e-01, ptr %28, align 16 %29 = getelementptr inbounds [7 x double], ptr %13, i32 0, i32 4 store double 1.000000e+00, ptr %29, align 16 %30 = getelementptr inbounds [7 x double], ptr %13, i32 0, i32 5 store double 2.500000e+00, ptr %30, align 8 %31 = getelementptr inbounds [7 x double], ptr %13, i32 0, i32 6 store double 3.000000e+00, ptr %31, align 16 call void @llvm.memset.p0.i64(ptr align 16 %14, i8 0, i64 56, i1 false) %32 = getelementptr inbounds [7 x double], ptr %14, i32 0, i32 0 store double 4.000000e+00, ptr %32, align 16 %33 = getelementptr inbounds [7 x double], ptr %14, i32 0, i32 1 store double 1.000000e+00, ptr %33, align 8 %34 = getelementptr inbounds [7 x double], ptr %14, i32 0, i32 2 store double 2.500000e-01, ptr %34, align 16 %35 = getelementptr inbounds [7 x double], ptr %14, i32 0, i32 4 store double 1.000000e+00, ptr %35, align 16 %36 = getelementptr inbounds [7 x double], ptr %14, i32 0, i32 5 store double 6.250000e+00, ptr %36, align 8 %37 = getelementptr inbounds [7 x double], ptr %14, i32 0, i32 6 store double 9.000000e+00, ptr %37, align 16 call void @llvm.memset.p0.i64(ptr align 16 %15, i8 0, i64 48, i1 false) %38 = getelementptr inbounds [6 x double], ptr %15, i32 0, i32 0 store double -1.500000e+00, ptr %38, align 16 %39 = getelementptr inbounds [6 x double], ptr %15, i32 0, i32 1 store double -9.000000e-01, ptr %39, align 8 %40 = getelementptr inbounds [6 x double], ptr %15, i32 0, i32 2 store double -8.000000e-01, ptr %40, align 16 %41 = getelementptr inbounds [6 x double], ptr %15, i32 0, i32 3 store double 5.000000e-01, ptr %41, align 8 %42 = getelementptr inbounds [6 x double], ptr %15, i32 0, i32 4 store double 2.000000e+00, ptr %42, align 16 %43 = getelementptr inbounds [6 x double], ptr %15, i32 0, i32 5 store double 1.000000e+01, ptr %43, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %17, ptr align 16 @__const.main.x5, i64 32, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %18, ptr align 16 @__const.main.fx5, i64 32, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %19, ptr align 16 @__const.main.z5, i64 24, i1 false) %44 = getelementptr inbounds [4 x double], ptr %2, i64 0, i64 0 %45 = getelementptr inbounds [4 x double], ptr %3, i64 0, i64 0 %46 = getelementptr inbounds [4 x double], ptr %4, i64 0, i64 0 %47 = call i32 @DividedDifferences(ptr noundef %44, ptr noundef %45, i32 noundef 4, ptr noundef %46) %48 = getelementptr inbounds [4 x double], ptr %4, i64 0, i64 0 %49 = call i32 @printvdnl(ptr noundef %48, i32 noundef 4) %50 = getelementptr inbounds [9 x double], ptr %5, i64 0, i64 0 %51 = getelementptr inbounds [9 x double], ptr %6, i64 0, i64 0 %52 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 0 %53 = getelementptr inbounds [3 x double], ptr %8, i64 0, i64 0 %54 = call i32 @SimpleNewtonPolynomialInterpolation(ptr noundef %50, ptr noundef %51, i32 noundef 9, ptr noundef %52, ptr noundef %53, i32 noundef 3) %55 = getelementptr inbounds [3 x double], ptr %8, i64 0, i64 0 %56 = call i32 @printvdnl(ptr noundef %55, i32 noundef 3) %57 = getelementptr inbounds [2 x double], ptr %9, i64 0, i64 0 %58 = getelementptr inbounds [2 x double], ptr %10, i64 0, i64 0 %59 = getelementptr inbounds [6 x double], ptr %11, i64 0, i64 0 %60 = getelementptr inbounds [6 x double], ptr %12, i64 0, i64 0 %61 = call i32 @SimpleNewtonPolynomialInterpolation(ptr noundef %57, ptr noundef %58, i32 noundef 2, ptr noundef %59, ptr noundef %60, i32 noundef 6) %62 = getelementptr inbounds [6 x double], ptr %12, i64 0, i64 0 %63 = call i32 @printvdnl(ptr noundef %62, i32 noundef 6) %64 = getelementptr inbounds [7 x double], ptr %13, i64 0, i64 0 %65 = getelementptr inbounds [7 x double], ptr %14, i64 0, i64 0 %66 = getelementptr inbounds [6 x double], ptr %15, i64 0, i64 0 %67 = getelementptr inbounds [6 x double], ptr %16, i64 0, i64 0 %68 = call i32 @SimpleNewtonPolynomialInterpolation(ptr noundef %64, ptr noundef %65, i32 noundef 7, ptr noundef %66, ptr noundef %67, i32 noundef 6) %69 = getelementptr inbounds [6 x double], ptr %16, i64 0, i64 0 %70 = call i32 @printvdnl(ptr noundef %69, i32 noundef 6) %71 = getelementptr inbounds [4 x double], ptr %17, i64 0, i64 0 %72 = getelementptr inbounds [4 x double], ptr %18, i64 0, i64 0 %73 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 0 %74 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0 %75 = call i32 @SimpleNewtonPolynomialInterpolation(ptr noundef %71, ptr noundef %72, i32 noundef 4, ptr noundef %73, ptr noundef %74, i32 noundef 3) %76 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0 %77 = call i32 @printvdnl(ptr noundef %76, i32 noundef 3) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @DividedDifferences(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #3 declare i32 @printvdnl(ptr noundef, i32 noundef) #3 declare i32 @SimpleNewtonPolynomialInterpolation(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } 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/tmp0i4lpasn.c' source_filename = "/tmp/tmp0i4lpasn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtof(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 float @strtod(ptr noundef %5, ptr noundef %6) ret float %7 } declare float @strtod(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/tmp0i4lpasn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtof(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 float @strtod(ptr noundef %5, ptr noundef %6) ret float %7 } declare float @strtod(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/tmpjixfid0s.c' source_filename = "/tmp/tmpjixfid0s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"g\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"e\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"n\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"i\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"u\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"s\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"Ac\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"Al\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"Am\00", align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"Sb\00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"Ar\00", align 1 @.str.11 = private unnamed_addr constant [3 x i8] c"As\00", align 1 @.str.12 = private unnamed_addr constant [3 x i8] c"At\00", align 1 @.str.13 = private unnamed_addr constant [3 x i8] c"Ba\00", align 1 @.str.14 = private unnamed_addr constant [3 x i8] c"Bk\00", align 1 @.str.15 = private unnamed_addr constant [3 x i8] c"Be\00", align 1 @.str.16 = private unnamed_addr constant [3 x i8] c"Bi\00", align 1 @.str.17 = private unnamed_addr constant [2 x i8] c"B\00", align 1 @.str.18 = private unnamed_addr constant [3 x i8] c"Br\00", align 1 @.str.19 = private unnamed_addr constant [3 x i8] c"Cd\00", align 1 @.str.20 = private unnamed_addr constant [3 x i8] c"Ca\00", align 1 @.str.21 = private unnamed_addr constant [3 x i8] c"Cf\00", align 1 @.str.22 = private unnamed_addr constant [2 x i8] c"C\00", align 1 @.str.23 = private unnamed_addr constant [3 x i8] c"Ce\00", align 1 @.str.24 = private unnamed_addr constant [3 x i8] c"Cs\00", align 1 @.str.25 = private unnamed_addr constant [3 x i8] c"Cl\00", align 1 @.str.26 = private unnamed_addr constant [3 x i8] c"Cr\00", align 1 @.str.27 = private unnamed_addr constant [3 x i8] c"Co\00", align 1 @.str.28 = private unnamed_addr constant [3 x i8] c"Cu\00", align 1 @.str.29 = private unnamed_addr constant [3 x i8] c"Cm\00", align 1 @.str.30 = private unnamed_addr constant [3 x i8] c"Dy\00", align 1 @.str.31 = private unnamed_addr constant [3 x i8] c"Es\00", align 1 @.str.32 = private unnamed_addr constant [3 x i8] c"Er\00", align 1 @.str.33 = private unnamed_addr constant [3 x i8] c"Eu\00", align 1 @.str.34 = private unnamed_addr constant [3 x i8] c"Fm\00", align 1 @.str.35 = private unnamed_addr constant [2 x i8] c"F\00", align 1 @.str.36 = private unnamed_addr constant [3 x i8] c"Fr\00", align 1 @.str.37 = private unnamed_addr constant [3 x i8] c"Gd\00", align 1 @.str.38 = private unnamed_addr constant [3 x i8] c"Ga\00", align 1 @.str.39 = private unnamed_addr constant [3 x i8] c"Ge\00", align 1 @.str.40 = private unnamed_addr constant [3 x i8] c"Au\00", align 1 @.str.41 = private unnamed_addr constant [3 x i8] c"Hf\00", align 1 @.str.42 = private unnamed_addr constant [3 x i8] c"He\00", align 1 @.str.43 = private unnamed_addr constant [3 x i8] c"Ho\00", align 1 @.str.44 = private unnamed_addr constant [2 x i8] c"H\00", align 1 @.str.45 = private unnamed_addr constant [3 x i8] c"In\00", align 1 @.str.46 = private unnamed_addr constant [2 x i8] c"I\00", align 1 @.str.47 = private unnamed_addr constant [3 x i8] c"Ir\00", align 1 @.str.48 = private unnamed_addr constant [3 x i8] c"Fe\00", align 1 @.str.49 = private unnamed_addr constant [3 x i8] c"Kr\00", align 1 @.str.50 = private unnamed_addr constant [3 x i8] c"La\00", align 1 @.str.51 = private unnamed_addr constant [3 x i8] c"Lr\00", align 1 @.str.52 = private unnamed_addr constant [3 x i8] c"Pb\00", align 1 @.str.53 = private unnamed_addr constant [3 x i8] c"Li\00", align 1 @.str.54 = private unnamed_addr constant [3 x i8] c"Lu\00", align 1 @.str.55 = private unnamed_addr constant [3 x i8] c"Mg\00", align 1 @.str.56 = private unnamed_addr constant [3 x i8] c"Mn\00", align 1 @.str.57 = private unnamed_addr constant [3 x i8] c"Md\00", align 1 @.str.58 = private unnamed_addr constant [3 x i8] c"Hg\00", align 1 @.str.59 = private unnamed_addr constant [3 x i8] c"Mo\00", align 1 @.str.60 = private unnamed_addr constant [3 x i8] c"Nd\00", align 1 @.str.61 = private unnamed_addr constant [3 x i8] c"Ne\00", align 1 @.str.62 = private unnamed_addr constant [3 x i8] c"Np\00", align 1 @.str.63 = private unnamed_addr constant [3 x i8] c"Ni\00", align 1 @.str.64 = private unnamed_addr constant [3 x i8] c"Nb\00", align 1 @.str.65 = private unnamed_addr constant [2 x i8] c"N\00", align 1 @.str.66 = private unnamed_addr constant [3 x i8] c"No\00", align 1 @.str.67 = private unnamed_addr constant [3 x i8] c"Os\00", align 1 @.str.68 = private unnamed_addr constant [2 x i8] c"O\00", align 1 @.str.69 = private unnamed_addr constant [3 x i8] c"Pd\00", align 1 @.str.70 = private unnamed_addr constant [2 x i8] c"P\00", align 1 @.str.71 = private unnamed_addr constant [3 x i8] c"Pt\00", align 1 @.str.72 = private unnamed_addr constant [3 x i8] c"Pu\00", align 1 @.str.73 = private unnamed_addr constant [3 x i8] c"Po\00", align 1 @.str.74 = private unnamed_addr constant [2 x i8] c"K\00", align 1 @.str.75 = private unnamed_addr constant [3 x i8] c"Pr\00", align 1 @.str.76 = private unnamed_addr constant [3 x i8] c"Pm\00", align 1 @.str.77 = private unnamed_addr constant [3 x i8] c"Pa\00", align 1 @.str.78 = private unnamed_addr constant [3 x i8] c"Ra\00", align 1 @.str.79 = private unnamed_addr constant [3 x i8] c"Rn\00", align 1 @.str.80 = private unnamed_addr constant [3 x i8] c"Re\00", align 1 @.str.81 = private unnamed_addr constant [3 x i8] c"Rh\00", align 1 @.str.82 = private unnamed_addr constant [3 x i8] c"Rb\00", align 1 @.str.83 = private unnamed_addr constant [3 x i8] c"Ru\00", align 1 @.str.84 = private unnamed_addr constant [3 x i8] c"Rf\00", align 1 @.str.85 = private unnamed_addr constant [3 x i8] c"Sm\00", align 1 @.str.86 = private unnamed_addr constant [3 x i8] c"Sc\00", align 1 @.str.87 = private unnamed_addr constant [3 x i8] c"Se\00", align 1 @.str.88 = private unnamed_addr constant [3 x i8] c"Si\00", align 1 @.str.89 = private unnamed_addr constant [3 x i8] c"Ag\00", align 1 @.str.90 = private unnamed_addr constant [3 x i8] c"Na\00", align 1 @.str.91 = private unnamed_addr constant [3 x i8] c"Sr\00", align 1 @.str.92 = private unnamed_addr constant [2 x i8] c"S\00", align 1 @.str.93 = private unnamed_addr constant [3 x i8] c"Ta\00", align 1 @.str.94 = private unnamed_addr constant [3 x i8] c"Tc\00", align 1 @.str.95 = private unnamed_addr constant [3 x i8] c"Te\00", align 1 @.str.96 = private unnamed_addr constant [3 x i8] c"Tb\00", align 1 @.str.97 = private unnamed_addr constant [3 x i8] c"Tl\00", align 1 @.str.98 = private unnamed_addr constant [3 x i8] c"Th\00", align 1 @.str.99 = private unnamed_addr constant [3 x i8] c"Tm\00", align 1 @.str.100 = private unnamed_addr constant [3 x i8] c"Sn\00", align 1 @.str.101 = private unnamed_addr constant [3 x i8] c"Ti\00", align 1 @.str.102 = private unnamed_addr constant [2 x i8] c"W\00", align 1 @.str.103 = private unnamed_addr constant [2 x i8] c"U\00", align 1 @.str.104 = private unnamed_addr constant [2 x i8] c"V\00", align 1 @.str.105 = private unnamed_addr constant [3 x i8] c"Xe\00", align 1 @.str.106 = private unnamed_addr constant [3 x i8] c"Yb\00", align 1 @.str.107 = private unnamed_addr constant [2 x i8] c"Y\00", align 1 @.str.108 = private unnamed_addr constant [3 x i8] c"Zn\00", align 1 @.str.109 = private unnamed_addr constant [3 x i8] c"Zr\00", align 1 @__const.main.a = private unnamed_addr constant [104 x ptr] [ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9, ptr @.str.10, ptr @.str.11, ptr @.str.12, ptr @.str.13, ptr @.str.14, ptr @.str.15, ptr @.str.16, ptr @.str.17, ptr @.str.18, ptr @.str.19, ptr @.str.20, ptr @.str.21, ptr @.str.22, ptr @.str.23, ptr @.str.24, ptr @.str.25, ptr @.str.26, ptr @.str.27, ptr @.str.28, ptr @.str.29, ptr @.str.30, ptr @.str.31, ptr @.str.32, ptr @.str.33, ptr @.str.34, ptr @.str.35, ptr @.str.36, ptr @.str.37, ptr @.str.38, ptr @.str.39, ptr @.str.40, ptr @.str.41, ptr @.str.42, ptr @.str.43, ptr @.str.44, ptr @.str.45, ptr @.str.46, ptr @.str.47, ptr @.str.48, ptr @.str.49, ptr @.str.50, ptr @.str.51, ptr @.str.52, ptr @.str.53, ptr @.str.54, ptr @.str.55, ptr @.str.56, ptr @.str.57, ptr @.str.58, ptr @.str.59, ptr @.str.60, ptr @.str.61, ptr @.str.62, ptr @.str.63, ptr @.str.64, ptr @.str.65, ptr @.str.66, ptr @.str.67, ptr @.str.68, ptr @.str.69, ptr @.str.70, ptr @.str.71, ptr @.str.72, ptr @.str.73, ptr @.str.74, ptr @.str.75, ptr @.str.76, ptr @.str.77, ptr @.str.78, ptr @.str.79, ptr @.str.80, ptr @.str.81, ptr @.str.82, ptr @.str.83, ptr @.str.84, ptr @.str.85, ptr @.str.86, ptr @.str.87, ptr @.str.88, ptr @.str.89, ptr @.str.90, ptr @.str.91, ptr @.str.92, ptr @.str.93, ptr @.str.94, ptr @.str.95, ptr @.str.96, ptr @.str.97, ptr @.str.98, ptr @.str.99, ptr @.str.100, ptr @.str.101, ptr @.str.102, ptr @.str.103, ptr @.str.104, ptr @.str.105, ptr @.str.106, ptr @.str.107, ptr @.str.108, ptr @.str.109], align 16 @.str.110 = private unnamed_addr constant [9 x i8] c"Actinium\00", align 1 @.str.111 = private unnamed_addr constant [9 x i8] c"Aluminum\00", align 1 @.str.112 = private unnamed_addr constant [10 x i8] c"Americium\00", align 1 @.str.113 = private unnamed_addr constant [9 x i8] c"Antimony\00", align 1 @.str.114 = private unnamed_addr constant [6 x i8] c"Argon\00", align 1 @.str.115 = private unnamed_addr constant [8 x i8] c"Arsenic\00", align 1 @.str.116 = private unnamed_addr constant [9 x i8] c"Astatine\00", align 1 @.str.117 = private unnamed_addr constant [7 x i8] c"Barium\00", align 1 @.str.118 = private unnamed_addr constant [10 x i8] c"Berkelium\00", align 1 @.str.119 = private unnamed_addr constant [10 x i8] c"Beryllium\00", align 1 @.str.120 = private unnamed_addr constant [8 x i8] c"Bismuth\00", align 1 @.str.121 = private unnamed_addr constant [6 x i8] c"Boron\00", align 1 @.str.122 = private unnamed_addr constant [8 x i8] c"Bromine\00", align 1 @.str.123 = private unnamed_addr constant [8 x i8] c"Cadmium\00", align 1 @.str.124 = private unnamed_addr constant [8 x i8] c"Calcium\00", align 1 @.str.125 = private unnamed_addr constant [12 x i8] c"Californium\00", align 1 @.str.126 = private unnamed_addr constant [7 x i8] c"Carbon\00", align 1 @.str.127 = private unnamed_addr constant [7 x i8] c"Cerium\00", align 1 @.str.128 = private unnamed_addr constant [7 x i8] c"Cesium\00", align 1 @.str.129 = private unnamed_addr constant [9 x i8] c"Chlorine\00", align 1 @.str.130 = private unnamed_addr constant [9 x i8] c"Chromium\00", align 1 @.str.131 = private unnamed_addr constant [7 x i8] c"Cobalt\00", align 1 @.str.132 = private unnamed_addr constant [7 x i8] c"Copper\00", align 1 @.str.133 = private unnamed_addr constant [7 x i8] c"Curium\00", align 1 @.str.134 = private unnamed_addr constant [11 x i8] c"Dysprosium\00", align 1 @.str.135 = private unnamed_addr constant [12 x i8] c"Einsteinium\00", align 1 @.str.136 = private unnamed_addr constant [7 x i8] c"Erbium\00", align 1 @.str.137 = private unnamed_addr constant [9 x i8] c"Europium\00", align 1 @.str.138 = private unnamed_addr constant [8 x i8] c"Fermium\00", align 1 @.str.139 = private unnamed_addr constant [9 x i8] c"Fluorine\00", align 1 @.str.140 = private unnamed_addr constant [9 x i8] c"Francium\00", align 1 @.str.141 = private unnamed_addr constant [11 x i8] c"Gadolinium\00", align 1 @.str.142 = private unnamed_addr constant [8 x i8] c"Gallium\00", align 1 @.str.143 = private unnamed_addr constant [10 x i8] c"Germanium\00", align 1 @.str.144 = private unnamed_addr constant [5 x i8] c"Gold\00", align 1 @.str.145 = private unnamed_addr constant [8 x i8] c"Hafnium\00", align 1 @.str.146 = private unnamed_addr constant [7 x i8] c"Helium\00", align 1 @.str.147 = private unnamed_addr constant [8 x i8] c"Holmium\00", align 1 @.str.148 = private unnamed_addr constant [9 x i8] c"Hydrogen\00", align 1 @.str.149 = private unnamed_addr constant [7 x i8] c"Indium\00", align 1 @.str.150 = private unnamed_addr constant [7 x i8] c"Iodine\00", align 1 @.str.151 = private unnamed_addr constant [8 x i8] c"Iridium\00", align 1 @.str.152 = private unnamed_addr constant [5 x i8] c"Iron\00", align 1 @.str.153 = private unnamed_addr constant [8 x i8] c"Krypton\00", align 1 @.str.154 = private unnamed_addr constant [10 x i8] c"Lanthanum\00", align 1 @.str.155 = private unnamed_addr constant [11 x i8] c"Lawrencium\00", align 1 @.str.156 = private unnamed_addr constant [5 x i8] c"Lead\00", align 1 @.str.157 = private unnamed_addr constant [8 x i8] c"Lithium\00", align 1 @.str.158 = private unnamed_addr constant [9 x i8] c"Lutetium\00", align 1 @.str.159 = private unnamed_addr constant [10 x i8] c"Magnesium\00", align 1 @.str.160 = private unnamed_addr constant [10 x i8] c"Manganese\00", align 1 @.str.161 = private unnamed_addr constant [12 x i8] c"Mendelevium\00", align 1 @.str.162 = private unnamed_addr constant [8 x i8] c"Mercury\00", align 1 @.str.163 = private unnamed_addr constant [11 x i8] c"Molybdenum\00", align 1 @.str.164 = private unnamed_addr constant [10 x i8] c"Neodymium\00", align 1 @.str.165 = private unnamed_addr constant [5 x i8] c"Neon\00", align 1 @.str.166 = private unnamed_addr constant [10 x i8] c"Neptunium\00", align 1 @.str.167 = private unnamed_addr constant [7 x i8] c"Nickel\00", align 1 @.str.168 = private unnamed_addr constant [8 x i8] c"Niobium\00", align 1 @.str.169 = private unnamed_addr constant [9 x i8] c"Nitrogen\00", align 1 @.str.170 = private unnamed_addr constant [9 x i8] c"Nobelium\00", align 1 @.str.171 = private unnamed_addr constant [7 x i8] c"Osmium\00", align 1 @.str.172 = private unnamed_addr constant [7 x i8] c"Oxygen\00", align 1 @.str.173 = private unnamed_addr constant [10 x i8] c"Palladium\00", align 1 @.str.174 = private unnamed_addr constant [11 x i8] c"Phosphorus\00", align 1 @.str.175 = private unnamed_addr constant [9 x i8] c"Platinum\00", align 1 @.str.176 = private unnamed_addr constant [10 x i8] c"Plutonium\00", align 1 @.str.177 = private unnamed_addr constant [9 x i8] c"Polonium\00", align 1 @.str.178 = private unnamed_addr constant [10 x i8] c"Potassium\00", align 1 @.str.179 = private unnamed_addr constant [13 x i8] c"Praseodymium\00", align 1 @.str.180 = private unnamed_addr constant [11 x i8] c"Promethium\00", align 1 @.str.181 = private unnamed_addr constant [13 x i8] c"Protactinium\00", align 1 @.str.182 = private unnamed_addr constant [7 x i8] c"Radium\00", align 1 @.str.183 = private unnamed_addr constant [6 x i8] c"Radon\00", align 1 @.str.184 = private unnamed_addr constant [8 x i8] c"Rhenium\00", align 1 @.str.185 = private unnamed_addr constant [8 x i8] c"Rhodium\00", align 1 @.str.186 = private unnamed_addr constant [9 x i8] c"Rubidium\00", align 1 @.str.187 = private unnamed_addr constant [10 x i8] c"Ruthenium\00", align 1 @.str.188 = private unnamed_addr constant [14 x i8] c"Rutherfordium\00", align 1 @.str.189 = private unnamed_addr constant [9 x i8] c"Samarium\00", align 1 @.str.190 = private unnamed_addr constant [9 x i8] c"Scandium\00", align 1 @.str.191 = private unnamed_addr constant [9 x i8] c"Selenium\00", align 1 @.str.192 = private unnamed_addr constant [8 x i8] c"Silicon\00", align 1 @.str.193 = private unnamed_addr constant [7 x i8] c"Silver\00", align 1 @.str.194 = private unnamed_addr constant [7 x i8] c"Sodium\00", align 1 @.str.195 = private unnamed_addr constant [10 x i8] c"Strontium\00", align 1 @.str.196 = private unnamed_addr constant [7 x i8] c"Sulfur\00", align 1 @.str.197 = private unnamed_addr constant [9 x i8] c"Tantalum\00", align 1 @.str.198 = private unnamed_addr constant [11 x i8] c"Technetium\00", align 1 @.str.199 = private unnamed_addr constant [10 x i8] c"Tellurium\00", align 1 @.str.200 = private unnamed_addr constant [8 x i8] c"Terbium\00", align 1 @.str.201 = private unnamed_addr constant [9 x i8] c"Thallium\00", align 1 @.str.202 = private unnamed_addr constant [8 x i8] c"Thorium\00", align 1 @.str.203 = private unnamed_addr constant [8 x i8] c"Thulium\00", align 1 @.str.204 = private unnamed_addr constant [4 x i8] c"Tin\00", align 1 @.str.205 = private unnamed_addr constant [9 x i8] c"Titanium\00", align 1 @.str.206 = private unnamed_addr constant [9 x i8] c"Tungsten\00", align 1 @.str.207 = private unnamed_addr constant [8 x i8] c"Uranium\00", align 1 @.str.208 = private unnamed_addr constant [9 x i8] c"Vanadium\00", align 1 @.str.209 = private unnamed_addr constant [6 x i8] c"Xenon\00", align 1 @.str.210 = private unnamed_addr constant [10 x i8] c"Ytterbium\00", align 1 @.str.211 = private unnamed_addr constant [8 x i8] c"Yttrium\00", align 1 @.str.212 = private unnamed_addr constant [5 x i8] c"Zinc\00", align 1 @.str.213 = private unnamed_addr constant [10 x i8] c"Zirconium\00", align 1 @__const.main.name = private unnamed_addr constant [104 x ptr] [ptr @.str.110, ptr @.str.111, ptr @.str.112, ptr @.str.113, ptr @.str.114, ptr @.str.115, ptr @.str.116, ptr @.str.117, ptr @.str.118, ptr @.str.119, ptr @.str.120, ptr @.str.121, ptr @.str.122, ptr @.str.123, ptr @.str.124, ptr @.str.125, ptr @.str.126, ptr @.str.127, ptr @.str.128, ptr @.str.129, ptr @.str.130, ptr @.str.131, ptr @.str.132, ptr @.str.133, ptr @.str.134, ptr @.str.135, ptr @.str.136, ptr @.str.137, ptr @.str.138, ptr @.str.139, ptr @.str.140, ptr @.str.141, ptr @.str.142, ptr @.str.143, ptr @.str.144, ptr @.str.145, ptr @.str.146, ptr @.str.147, ptr @.str.148, ptr @.str.149, ptr @.str.150, ptr @.str.151, ptr @.str.152, ptr @.str.153, ptr @.str.154, ptr @.str.155, ptr @.str.156, ptr @.str.157, ptr @.str.158, ptr @.str.159, ptr @.str.160, ptr @.str.161, ptr @.str.162, ptr @.str.163, ptr @.str.164, ptr @.str.165, ptr @.str.166, ptr @.str.167, ptr @.str.168, ptr @.str.169, ptr @.str.170, ptr @.str.171, ptr @.str.172, ptr @.str.173, ptr @.str.174, ptr @.str.175, ptr @.str.176, ptr @.str.177, ptr @.str.178, ptr @.str.179, ptr @.str.180, ptr @.str.181, ptr @.str.182, ptr @.str.183, ptr @.str.184, ptr @.str.185, ptr @.str.186, ptr @.str.187, ptr @.str.188, ptr @.str.189, ptr @.str.190, ptr @.str.191, ptr @.str.192, ptr @.str.193, ptr @.str.194, ptr @.str.195, ptr @.str.196, ptr @.str.197, ptr @.str.198, ptr @.str.199, ptr @.str.200, ptr @.str.201, ptr @.str.202, ptr @.str.203, ptr @.str.204, ptr @.str.205, ptr @.str.206, ptr @.str.207, ptr @.str.208, ptr @.str.209, ptr @.str.210, ptr @.str.211, ptr @.str.212, ptr @.str.213], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca [6 x ptr], align 16 %6 = alloca [104 x ptr], align 16 %7 = alloca [104 x ptr], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %10 = getelementptr inbounds [6 x ptr], ptr %5, i64 0, i64 0 store ptr @.str, ptr %10, align 16 %11 = getelementptr inbounds [6 x ptr], ptr %5, i64 0, i64 1 store ptr @.str.1, ptr %11, align 8 %12 = getelementptr inbounds [6 x ptr], ptr %5, i64 0, i64 2 store ptr @.str.2, ptr %12, align 16 %13 = getelementptr inbounds [6 x ptr], ptr %5, i64 0, i64 3 store ptr @.str.3, ptr %13, align 8 %14 = getelementptr inbounds [6 x ptr], ptr %5, i64 0, i64 4 store ptr @.str.4, ptr %14, align 16 %15 = getelementptr inbounds [6 x ptr], ptr %5, i64 0, i64 5 store ptr @.str.5, ptr %15, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.a, i64 832, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.name, i64 832, i1 false) store i32 6, ptr %8, align 4 store i32 104, ptr %9, align 4 %16 = getelementptr inbounds [6 x ptr], ptr %5, i64 0, i64 0 %17 = getelementptr inbounds [104 x ptr], ptr %6, i64 0, i64 0 %18 = getelementptr inbounds [104 x ptr], ptr %7, i64 0, i64 0 %19 = load i32, ptr %8, align 4 %20 = load i32, ptr %9, align 4 %21 = call i32 @search(ptr noundef %16, ptr noundef %17, ptr noundef %18, i32 noundef %19, i32 noundef %20) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @search(ptr noundef, ptr noundef, 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/tmpjixfid0s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"g\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"e\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"n\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"i\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"u\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"s\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"Ac\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"Al\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"Am\00", align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"Sb\00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"Ar\00", align 1 @.str.11 = private unnamed_addr constant [3 x i8] c"As\00", align 1 @.str.12 = private unnamed_addr constant [3 x i8] c"At\00", align 1 @.str.13 = private unnamed_addr constant [3 x i8] c"Ba\00", align 1 @.str.14 = private unnamed_addr constant [3 x i8] c"Bk\00", align 1 @.str.15 = private unnamed_addr constant [3 x i8] c"Be\00", align 1 @.str.16 = private unnamed_addr constant [3 x i8] c"Bi\00", align 1 @.str.17 = private unnamed_addr constant [2 x i8] c"B\00", align 1 @.str.18 = private unnamed_addr constant [3 x i8] c"Br\00", align 1 @.str.19 = private unnamed_addr constant [3 x i8] c"Cd\00", align 1 @.str.20 = private unnamed_addr constant [3 x i8] c"Ca\00", align 1 @.str.21 = private unnamed_addr constant [3 x i8] c"Cf\00", align 1 @.str.22 = private unnamed_addr constant [2 x i8] c"C\00", align 1 @.str.23 = private unnamed_addr constant [3 x i8] c"Ce\00", align 1 @.str.24 = private unnamed_addr constant [3 x i8] c"Cs\00", align 1 @.str.25 = private unnamed_addr constant [3 x i8] c"Cl\00", align 1 @.str.26 = private unnamed_addr constant [3 x i8] c"Cr\00", align 1 @.str.27 = private unnamed_addr constant [3 x i8] c"Co\00", align 1 @.str.28 = private unnamed_addr constant [3 x i8] c"Cu\00", align 1 @.str.29 = private unnamed_addr constant [3 x i8] c"Cm\00", align 1 @.str.30 = private unnamed_addr constant [3 x i8] c"Dy\00", align 1 @.str.31 = private unnamed_addr constant [3 x i8] c"Es\00", align 1 @.str.32 = private unnamed_addr constant [3 x i8] c"Er\00", align 1 @.str.33 = private unnamed_addr constant [3 x i8] c"Eu\00", align 1 @.str.34 = private unnamed_addr constant [3 x i8] c"Fm\00", align 1 @.str.35 = private unnamed_addr constant [2 x i8] c"F\00", align 1 @.str.36 = private unnamed_addr constant [3 x i8] c"Fr\00", align 1 @.str.37 = private unnamed_addr constant [3 x i8] c"Gd\00", align 1 @.str.38 = private unnamed_addr constant [3 x i8] c"Ga\00", align 1 @.str.39 = private unnamed_addr constant [3 x i8] c"Ge\00", align 1 @.str.40 = private unnamed_addr constant [3 x i8] c"Au\00", align 1 @.str.41 = private unnamed_addr constant [3 x i8] c"Hf\00", align 1 @.str.42 = private unnamed_addr constant [3 x i8] c"He\00", align 1 @.str.43 = private unnamed_addr constant [3 x i8] c"Ho\00", align 1 @.str.44 = private unnamed_addr constant [2 x i8] c"H\00", align 1 @.str.45 = private unnamed_addr constant [3 x i8] c"In\00", align 1 @.str.46 = private unnamed_addr constant [2 x i8] c"I\00", align 1 @.str.47 = private unnamed_addr constant [3 x i8] c"Ir\00", align 1 @.str.48 = private unnamed_addr constant [3 x i8] c"Fe\00", align 1 @.str.49 = private unnamed_addr constant [3 x i8] c"Kr\00", align 1 @.str.50 = private unnamed_addr constant [3 x i8] c"La\00", align 1 @.str.51 = private unnamed_addr constant [3 x i8] c"Lr\00", align 1 @.str.52 = private unnamed_addr constant [3 x i8] c"Pb\00", align 1 @.str.53 = private unnamed_addr constant [3 x i8] c"Li\00", align 1 @.str.54 = private unnamed_addr constant [3 x i8] c"Lu\00", align 1 @.str.55 = private unnamed_addr constant [3 x i8] c"Mg\00", align 1 @.str.56 = private unnamed_addr constant [3 x i8] c"Mn\00", align 1 @.str.57 = private unnamed_addr constant [3 x i8] c"Md\00", align 1 @.str.58 = private unnamed_addr constant [3 x i8] c"Hg\00", align 1 @.str.59 = private unnamed_addr constant [3 x i8] c"Mo\00", align 1 @.str.60 = private unnamed_addr constant [3 x i8] c"Nd\00", align 1 @.str.61 = private unnamed_addr constant [3 x i8] c"Ne\00", align 1 @.str.62 = private unnamed_addr constant [3 x i8] c"Np\00", align 1 @.str.63 = private unnamed_addr constant [3 x i8] c"Ni\00", align 1 @.str.64 = private unnamed_addr constant [3 x i8] c"Nb\00", align 1 @.str.65 = private unnamed_addr constant [2 x i8] c"N\00", align 1 @.str.66 = private unnamed_addr constant [3 x i8] c"No\00", align 1 @.str.67 = private unnamed_addr constant [3 x i8] c"Os\00", align 1 @.str.68 = private unnamed_addr constant [2 x i8] c"O\00", align 1 @.str.69 = private unnamed_addr constant [3 x i8] c"Pd\00", align 1 @.str.70 = private unnamed_addr constant [2 x i8] c"P\00", align 1 @.str.71 = private unnamed_addr constant [3 x i8] c"Pt\00", align 1 @.str.72 = private unnamed_addr constant [3 x i8] c"Pu\00", align 1 @.str.73 = private unnamed_addr constant [3 x i8] c"Po\00", align 1 @.str.74 = private unnamed_addr constant [2 x i8] c"K\00", align 1 @.str.75 = private unnamed_addr constant [3 x i8] c"Pr\00", align 1 @.str.76 = private unnamed_addr constant [3 x i8] c"Pm\00", align 1 @.str.77 = private unnamed_addr constant [3 x i8] c"Pa\00", align 1 @.str.78 = private unnamed_addr constant [3 x i8] c"Ra\00", align 1 @.str.79 = private unnamed_addr constant [3 x i8] c"Rn\00", align 1 @.str.80 = private unnamed_addr constant [3 x i8] c"Re\00", align 1 @.str.81 = private unnamed_addr constant [3 x i8] c"Rh\00", align 1 @.str.82 = private unnamed_addr constant [3 x i8] c"Rb\00", align 1 @.str.83 = private unnamed_addr constant [3 x i8] c"Ru\00", align 1 @.str.84 = private unnamed_addr constant [3 x i8] c"Rf\00", align 1 @.str.85 = private unnamed_addr constant [3 x i8] c"Sm\00", align 1 @.str.86 = private unnamed_addr constant [3 x i8] c"Sc\00", align 1 @.str.87 = private unnamed_addr constant [3 x i8] c"Se\00", align 1 @.str.88 = private unnamed_addr constant [3 x i8] c"Si\00", align 1 @.str.89 = private unnamed_addr constant [3 x i8] c"Ag\00", align 1 @.str.90 = private unnamed_addr constant [3 x i8] c"Na\00", align 1 @.str.91 = private unnamed_addr constant [3 x i8] c"Sr\00", align 1 @.str.92 = private unnamed_addr constant [2 x i8] c"S\00", align 1 @.str.93 = private unnamed_addr constant [3 x i8] c"Ta\00", align 1 @.str.94 = private unnamed_addr constant [3 x i8] c"Tc\00", align 1 @.str.95 = private unnamed_addr constant [3 x i8] c"Te\00", align 1 @.str.96 = private unnamed_addr constant [3 x i8] c"Tb\00", align 1 @.str.97 = private unnamed_addr constant [3 x i8] c"Tl\00", align 1 @.str.98 = private unnamed_addr constant [3 x i8] c"Th\00", align 1 @.str.99 = private unnamed_addr constant [3 x i8] c"Tm\00", align 1 @.str.100 = private unnamed_addr constant [3 x i8] c"Sn\00", align 1 @.str.101 = private unnamed_addr constant [3 x i8] c"Ti\00", align 1 @.str.102 = private unnamed_addr constant [2 x i8] c"W\00", align 1 @.str.103 = private unnamed_addr constant [2 x i8] c"U\00", align 1 @.str.104 = private unnamed_addr constant [2 x i8] c"V\00", align 1 @.str.105 = private unnamed_addr constant [3 x i8] c"Xe\00", align 1 @.str.106 = private unnamed_addr constant [3 x i8] c"Yb\00", align 1 @.str.107 = private unnamed_addr constant [2 x i8] c"Y\00", align 1 @.str.108 = private unnamed_addr constant [3 x i8] c"Zn\00", align 1 @.str.109 = private unnamed_addr constant [3 x i8] c"Zr\00", align 1 @__const.main.a = private unnamed_addr constant [104 x ptr] [ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9, ptr @.str.10, ptr @.str.11, ptr @.str.12, ptr @.str.13, ptr @.str.14, ptr @.str.15, ptr @.str.16, ptr @.str.17, ptr @.str.18, ptr @.str.19, ptr @.str.20, ptr @.str.21, ptr @.str.22, ptr @.str.23, ptr @.str.24, ptr @.str.25, ptr @.str.26, ptr @.str.27, ptr @.str.28, ptr @.str.29, ptr @.str.30, ptr @.str.31, ptr @.str.32, ptr @.str.33, ptr @.str.34, ptr @.str.35, ptr @.str.36, ptr @.str.37, ptr @.str.38, ptr @.str.39, ptr @.str.40, ptr @.str.41, ptr @.str.42, ptr @.str.43, ptr @.str.44, ptr @.str.45, ptr @.str.46, ptr @.str.47, ptr @.str.48, ptr @.str.49, ptr @.str.50, ptr @.str.51, ptr @.str.52, ptr @.str.53, ptr @.str.54, ptr @.str.55, ptr @.str.56, ptr @.str.57, ptr @.str.58, ptr @.str.59, ptr @.str.60, ptr @.str.61, ptr @.str.62, ptr @.str.63, ptr @.str.64, ptr @.str.65, ptr @.str.66, ptr @.str.67, ptr @.str.68, ptr @.str.69, ptr @.str.70, ptr @.str.71, ptr @.str.72, ptr @.str.73, ptr @.str.74, ptr @.str.75, ptr @.str.76, ptr @.str.77, ptr @.str.78, ptr @.str.79, ptr @.str.80, ptr @.str.81, ptr @.str.82, ptr @.str.83, ptr @.str.84, ptr @.str.85, ptr @.str.86, ptr @.str.87, ptr @.str.88, ptr @.str.89, ptr @.str.90, ptr @.str.91, ptr @.str.92, ptr @.str.93, ptr @.str.94, ptr @.str.95, ptr @.str.96, ptr @.str.97, ptr @.str.98, ptr @.str.99, ptr @.str.100, ptr @.str.101, ptr @.str.102, ptr @.str.103, ptr @.str.104, ptr @.str.105, ptr @.str.106, ptr @.str.107, ptr @.str.108, ptr @.str.109], align 16 @.str.110 = private unnamed_addr constant [9 x i8] c"Actinium\00", align 1 @.str.111 = private unnamed_addr constant [9 x i8] c"Aluminum\00", align 1 @.str.112 = private unnamed_addr constant [10 x i8] c"Americium\00", align 1 @.str.113 = private unnamed_addr constant [9 x i8] c"Antimony\00", align 1 @.str.114 = private unnamed_addr constant [6 x i8] c"Argon\00", align 1 @.str.115 = private unnamed_addr constant [8 x i8] c"Arsenic\00", align 1 @.str.116 = private unnamed_addr constant [9 x i8] c"Astatine\00", align 1 @.str.117 = private unnamed_addr constant [7 x i8] c"Barium\00", align 1 @.str.118 = private unnamed_addr constant [10 x i8] c"Berkelium\00", align 1 @.str.119 = private unnamed_addr constant [10 x i8] c"Beryllium\00", align 1 @.str.120 = private unnamed_addr constant [8 x i8] c"Bismuth\00", align 1 @.str.121 = private unnamed_addr constant [6 x i8] c"Boron\00", align 1 @.str.122 = private unnamed_addr constant [8 x i8] c"Bromine\00", align 1 @.str.123 = private unnamed_addr constant [8 x i8] c"Cadmium\00", align 1 @.str.124 = private unnamed_addr constant [8 x i8] c"Calcium\00", align 1 @.str.125 = private unnamed_addr constant [12 x i8] c"Californium\00", align 1 @.str.126 = private unnamed_addr constant [7 x i8] c"Carbon\00", align 1 @.str.127 = private unnamed_addr constant [7 x i8] c"Cerium\00", align 1 @.str.128 = private unnamed_addr constant [7 x i8] c"Cesium\00", align 1 @.str.129 = private unnamed_addr constant [9 x i8] c"Chlorine\00", align 1 @.str.130 = private unnamed_addr constant [9 x i8] c"Chromium\00", align 1 @.str.131 = private unnamed_addr constant [7 x i8] c"Cobalt\00", align 1 @.str.132 = private unnamed_addr constant [7 x i8] c"Copper\00", align 1 @.str.133 = private unnamed_addr constant [7 x i8] c"Curium\00", align 1 @.str.134 = private unnamed_addr constant [11 x i8] c"Dysprosium\00", align 1 @.str.135 = private unnamed_addr constant [12 x i8] c"Einsteinium\00", align 1 @.str.136 = private unnamed_addr constant [7 x i8] c"Erbium\00", align 1 @.str.137 = private unnamed_addr constant [9 x i8] c"Europium\00", align 1 @.str.138 = private unnamed_addr constant [8 x i8] c"Fermium\00", align 1 @.str.139 = private unnamed_addr constant [9 x i8] c"Fluorine\00", align 1 @.str.140 = private unnamed_addr constant [9 x i8] c"Francium\00", align 1 @.str.141 = private unnamed_addr constant [11 x i8] c"Gadolinium\00", align 1 @.str.142 = private unnamed_addr constant [8 x i8] c"Gallium\00", align 1 @.str.143 = private unnamed_addr constant [10 x i8] c"Germanium\00", align 1 @.str.144 = private unnamed_addr constant [5 x i8] c"Gold\00", align 1 @.str.145 = private unnamed_addr constant [8 x i8] c"Hafnium\00", align 1 @.str.146 = private unnamed_addr constant [7 x i8] c"Helium\00", align 1 @.str.147 = private unnamed_addr constant [8 x i8] c"Holmium\00", align 1 @.str.148 = private unnamed_addr constant [9 x i8] c"Hydrogen\00", align 1 @.str.149 = private unnamed_addr constant [7 x i8] c"Indium\00", align 1 @.str.150 = private unnamed_addr constant [7 x i8] c"Iodine\00", align 1 @.str.151 = private unnamed_addr constant [8 x i8] c"Iridium\00", align 1 @.str.152 = private unnamed_addr constant [5 x i8] c"Iron\00", align 1 @.str.153 = private unnamed_addr constant [8 x i8] c"Krypton\00", align 1 @.str.154 = private unnamed_addr constant [10 x i8] c"Lanthanum\00", align 1 @.str.155 = private unnamed_addr constant [11 x i8] c"Lawrencium\00", align 1 @.str.156 = private unnamed_addr constant [5 x i8] c"Lead\00", align 1 @.str.157 = private unnamed_addr constant [8 x i8] c"Lithium\00", align 1 @.str.158 = private unnamed_addr constant [9 x i8] c"Lutetium\00", align 1 @.str.159 = private unnamed_addr constant [10 x i8] c"Magnesium\00", align 1 @.str.160 = private unnamed_addr constant [10 x i8] c"Manganese\00", align 1 @.str.161 = private unnamed_addr constant [12 x i8] c"Mendelevium\00", align 1 @.str.162 = private unnamed_addr constant [8 x i8] c"Mercury\00", align 1 @.str.163 = private unnamed_addr constant [11 x i8] c"Molybdenum\00", align 1 @.str.164 = private unnamed_addr constant [10 x i8] c"Neodymium\00", align 1 @.str.165 = private unnamed_addr constant [5 x i8] c"Neon\00", align 1 @.str.166 = private unnamed_addr constant [10 x i8] c"Neptunium\00", align 1 @.str.167 = private unnamed_addr constant [7 x i8] c"Nickel\00", align 1 @.str.168 = private unnamed_addr constant [8 x i8] c"Niobium\00", align 1 @.str.169 = private unnamed_addr constant [9 x i8] c"Nitrogen\00", align 1 @.str.170 = private unnamed_addr constant [9 x i8] c"Nobelium\00", align 1 @.str.171 = private unnamed_addr constant [7 x i8] c"Osmium\00", align 1 @.str.172 = private unnamed_addr constant [7 x i8] c"Oxygen\00", align 1 @.str.173 = private unnamed_addr constant [10 x i8] c"Palladium\00", align 1 @.str.174 = private unnamed_addr constant [11 x i8] c"Phosphorus\00", align 1 @.str.175 = private unnamed_addr constant [9 x i8] c"Platinum\00", align 1 @.str.176 = private unnamed_addr constant [10 x i8] c"Plutonium\00", align 1 @.str.177 = private unnamed_addr constant [9 x i8] c"Polonium\00", align 1 @.str.178 = private unnamed_addr constant [10 x i8] c"Potassium\00", align 1 @.str.179 = private unnamed_addr constant [13 x i8] c"Praseodymium\00", align 1 @.str.180 = private unnamed_addr constant [11 x i8] c"Promethium\00", align 1 @.str.181 = private unnamed_addr constant [13 x i8] c"Protactinium\00", align 1 @.str.182 = private unnamed_addr constant [7 x i8] c"Radium\00", align 1 @.str.183 = private unnamed_addr constant [6 x i8] c"Radon\00", align 1 @.str.184 = private unnamed_addr constant [8 x i8] c"Rhenium\00", align 1 @.str.185 = private unnamed_addr constant [8 x i8] c"Rhodium\00", align 1 @.str.186 = private unnamed_addr constant [9 x i8] c"Rubidium\00", align 1 @.str.187 = private unnamed_addr constant [10 x i8] c"Ruthenium\00", align 1 @.str.188 = private unnamed_addr constant [14 x i8] c"Rutherfordium\00", align 1 @.str.189 = private unnamed_addr constant [9 x i8] c"Samarium\00", align 1 @.str.190 = private unnamed_addr constant [9 x i8] c"Scandium\00", align 1 @.str.191 = private unnamed_addr constant [9 x i8] c"Selenium\00", align 1 @.str.192 = private unnamed_addr constant [8 x i8] c"Silicon\00", align 1 @.str.193 = private unnamed_addr constant [7 x i8] c"Silver\00", align 1 @.str.194 = private unnamed_addr constant [7 x i8] c"Sodium\00", align 1 @.str.195 = private unnamed_addr constant [10 x i8] c"Strontium\00", align 1 @.str.196 = private unnamed_addr constant [7 x i8] c"Sulfur\00", align 1 @.str.197 = private unnamed_addr constant [9 x i8] c"Tantalum\00", align 1 @.str.198 = private unnamed_addr constant [11 x i8] c"Technetium\00", align 1 @.str.199 = private unnamed_addr constant [10 x i8] c"Tellurium\00", align 1 @.str.200 = private unnamed_addr constant [8 x i8] c"Terbium\00", align 1 @.str.201 = private unnamed_addr constant [9 x i8] c"Thallium\00", align 1 @.str.202 = private unnamed_addr constant [8 x i8] c"Thorium\00", align 1 @.str.203 = private unnamed_addr constant [8 x i8] c"Thulium\00", align 1 @.str.204 = private unnamed_addr constant [4 x i8] c"Tin\00", align 1 @.str.205 = private unnamed_addr constant [9 x i8] c"Titanium\00", align 1 @.str.206 = private unnamed_addr constant [9 x i8] c"Tungsten\00", align 1 @.str.207 = private unnamed_addr constant [8 x i8] c"Uranium\00", align 1 @.str.208 = private unnamed_addr constant [9 x i8] c"Vanadium\00", align 1 @.str.209 = private unnamed_addr constant [6 x i8] c"Xenon\00", align 1 @.str.210 = private unnamed_addr constant [10 x i8] c"Ytterbium\00", align 1 @.str.211 = private unnamed_addr constant [8 x i8] c"Yttrium\00", align 1 @.str.212 = private unnamed_addr constant [5 x i8] c"Zinc\00", align 1 @.str.213 = private unnamed_addr constant [10 x i8] c"Zirconium\00", align 1 @__const.main.name = private unnamed_addr constant [104 x ptr] [ptr @.str.110, ptr @.str.111, ptr @.str.112, ptr @.str.113, ptr @.str.114, ptr @.str.115, ptr @.str.116, ptr @.str.117, ptr @.str.118, ptr @.str.119, ptr @.str.120, ptr @.str.121, ptr @.str.122, ptr @.str.123, ptr @.str.124, ptr @.str.125, ptr @.str.126, ptr @.str.127, ptr @.str.128, ptr @.str.129, ptr @.str.130, ptr @.str.131, ptr @.str.132, ptr @.str.133, ptr @.str.134, ptr @.str.135, ptr @.str.136, ptr @.str.137, ptr @.str.138, ptr @.str.139, ptr @.str.140, ptr @.str.141, ptr @.str.142, ptr @.str.143, ptr @.str.144, ptr @.str.145, ptr @.str.146, ptr @.str.147, ptr @.str.148, ptr @.str.149, ptr @.str.150, ptr @.str.151, ptr @.str.152, ptr @.str.153, ptr @.str.154, ptr @.str.155, ptr @.str.156, ptr @.str.157, ptr @.str.158, ptr @.str.159, ptr @.str.160, ptr @.str.161, ptr @.str.162, ptr @.str.163, ptr @.str.164, ptr @.str.165, ptr @.str.166, ptr @.str.167, ptr @.str.168, ptr @.str.169, ptr @.str.170, ptr @.str.171, ptr @.str.172, ptr @.str.173, ptr @.str.174, ptr @.str.175, ptr @.str.176, ptr @.str.177, ptr @.str.178, ptr @.str.179, ptr @.str.180, ptr @.str.181, ptr @.str.182, ptr @.str.183, ptr @.str.184, ptr @.str.185, ptr @.str.186, ptr @.str.187, ptr @.str.188, ptr @.str.189, ptr @.str.190, ptr @.str.191, ptr @.str.192, ptr @.str.193, ptr @.str.194, ptr @.str.195, ptr @.str.196, ptr @.str.197, ptr @.str.198, ptr @.str.199, ptr @.str.200, ptr @.str.201, ptr @.str.202, ptr @.str.203, ptr @.str.204, ptr @.str.205, ptr @.str.206, ptr @.str.207, ptr @.str.208, ptr @.str.209, ptr @.str.210, ptr @.str.211, ptr @.str.212, ptr @.str.213], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca [6 x ptr], align 16 %6 = alloca [104 x ptr], align 16 %7 = alloca [104 x ptr], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %10 = getelementptr inbounds [6 x ptr], ptr %5, i64 0, i64 0 store ptr @.str, ptr %10, align 16 %11 = getelementptr inbounds [6 x ptr], ptr %5, i64 0, i64 1 store ptr @.str.1, ptr %11, align 8 %12 = getelementptr inbounds [6 x ptr], ptr %5, i64 0, i64 2 store ptr @.str.2, ptr %12, align 16 %13 = getelementptr inbounds [6 x ptr], ptr %5, i64 0, i64 3 store ptr @.str.3, ptr %13, align 8 %14 = getelementptr inbounds [6 x ptr], ptr %5, i64 0, i64 4 store ptr @.str.4, ptr %14, align 16 %15 = getelementptr inbounds [6 x ptr], ptr %5, i64 0, i64 5 store ptr @.str.5, ptr %15, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.a, i64 832, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.name, i64 832, i1 false) store i32 6, ptr %8, align 4 store i32 104, ptr %9, align 4 %16 = getelementptr inbounds [6 x ptr], ptr %5, i64 0, i64 0 %17 = getelementptr inbounds [104 x ptr], ptr %6, i64 0, i64 0 %18 = getelementptr inbounds [104 x ptr], ptr %7, i64 0, i64 0 %19 = load i32, ptr %8, align 4 %20 = load i32, ptr %9, align 4 %21 = call i32 @search(ptr noundef %16, ptr noundef %17, ptr noundef %18, i32 noundef %19, i32 noundef %20) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @search(ptr noundef, ptr noundef, 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/tmpczj84dae.c' source_filename = "/tmp/tmpczj84dae.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_add_before() #0 { %1 = call i32 (...) @test_add_before_first() %2 = call i32 (...) @test_add_before_second() ret void } declare i32 @test_add_before_first(...) #1 declare i32 @test_add_before_second(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpczj84dae.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_add_before() #0 { %1 = call i32 (...) @test_add_before_first() %2 = call i32 (...) @test_add_before_second() ret void } declare i32 @test_add_before_first(...) #1 declare i32 @test_add_before_second(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0rn_7nww.c' source_filename = "/tmp/tmp0rn_7nww.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PRIO_PROCESS = dso_local global i32 0, align 4 @PRIO_PGRP = dso_local global i32 0, align 4 @PRIO_USER = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = load i32, ptr @PRIO_PROCESS, align 4 %2 = call i32 @getpriority(i32 noundef %1, i32 noundef 0) %3 = load i32, ptr @PRIO_PGRP, align 4 %4 = call i32 @getpriority(i32 noundef %3, i32 noundef -1) %5 = call i32 @getpriority(i32 noundef -1, i32 noundef 0) %6 = load i32, ptr @PRIO_USER, align 4 %7 = call i32 @getpriority(i32 noundef %6, i32 noundef 0) ret i32 0 } declare i32 @getpriority(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/tmp0rn_7nww.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PRIO_PROCESS = dso_local global i32 0, align 4 @PRIO_PGRP = dso_local global i32 0, align 4 @PRIO_USER = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = load i32, ptr @PRIO_PROCESS, align 4 %2 = call i32 @getpriority(i32 noundef %1, i32 noundef 0) %3 = load i32, ptr @PRIO_PGRP, align 4 %4 = call i32 @getpriority(i32 noundef %3, i32 noundef -1) %5 = call i32 @getpriority(i32 noundef -1, i32 noundef 0) %6 = load i32, ptr @PRIO_USER, align 4 %7 = call i32 @getpriority(i32 noundef %6, i32 noundef 0) ret i32 0 } declare i32 @getpriority(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/tmphutiozki.c' source_filename = "/tmp/tmphutiozki.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mult(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store double 0.000000e+00, ptr %5, align 8 %7 = load i32, ptr %3, align 4 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %31 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 0 %12 = load ptr, ptr %11, align 8 %13 = call double @atof(ptr noundef %12) store double %13, ptr %5, align 8 store i32 1, ptr %6, align 4 br label %14 14: ; preds = %27, %9 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %30 18: ; preds = %14 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds ptr, ptr %19, i64 %21 %23 = load ptr, ptr %22, align 8 %24 = call double @atof(ptr noundef %23) %25 = load double, ptr %5, align 8 %26 = fmul double %25, %24 store double %26, ptr %5, align 8 br label %27 27: ; preds = %18 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %6, align 4 br label %14, !llvm.loop !6 30: ; preds = %14 br label %31 31: ; preds = %30, %2 %32 = load double, ptr %5, align 8 ret double %32 } declare double @atof(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmphutiozki.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mult(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store double 0.000000e+00, ptr %5, align 8 %7 = load i32, ptr %3, align 4 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %33 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 0 %12 = load ptr, ptr %11, align 8 %13 = call double @atof(ptr noundef %12) store double %13, ptr %5, align 8 store i32 1, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph, label %32 .lr.ph: ; preds = %9 br label %17 17: ; preds = %.lr.ph, %26 %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds ptr, ptr %18, i64 %20 %22 = load ptr, ptr %21, align 8 %23 = call double @atof(ptr noundef %22) %24 = load double, ptr %5, align 8 %25 = fmul double %24, %23 store double %25, ptr %5, align 8 br label %26 26: ; preds = %17 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %6, align 4 %29 = load i32, ptr %6, align 4 %30 = load i32, ptr %3, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %9 br label %33 33: ; preds = %32, %2 %34 = load double, ptr %5, align 8 ret double %34 } declare double @atof(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp34qgwyk7.c' source_filename = "/tmp/tmp34qgwyk7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pipe()\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"/usr/bin/python3\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"python3\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"print('(python3) hello friend')\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"print (5+3) \00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"x='dimkouv!@#'\00", align 1 @.str.6 = private unnamed_addr constant [14 x i8] c"print(x[:-2])\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [2 x i32], align 4 store i32 0, ptr %1, align 4 %3 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %4 = call i64 @pipe(ptr noundef %3) %5 = icmp slt i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @perror(ptr noundef @.str) br label %8 8: ; preds = %6, %0 %9 = call i64 (...) @fork() %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %20 11: ; preds = %8 %12 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %13 = load i32, ptr %12, align 4 %14 = call i32 @close(i32 noundef %13) %15 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %16 = load i32, ptr %15, align 4 %17 = call i32 @dup2(i32 noundef %16, i32 noundef 0) %18 = call i32 @execl(ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef null) %19 = call i32 @exit(i32 noundef 0) #3 unreachable 20: ; preds = %8 %21 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %22 = load i32, ptr %21, align 4 %23 = call i32 @close(i32 noundef %22) %24 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %25 = load i32, ptr %24, align 4 %26 = call i32 @dup2(i32 noundef %25, i32 noundef 1) %27 = call i32 @puts(ptr noundef @.str.3) %28 = call i32 @puts(ptr noundef @.str.4) %29 = call i32 @puts(ptr noundef @.str.5) %30 = call i32 @puts(ptr noundef @.str.6) br label %31 31: ; preds = %20 ret i32 0 } declare i64 @pipe(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @fork(...) #1 declare i32 @close(i32 noundef) #1 declare i32 @dup2(i32 noundef, i32 noundef) #1 declare i32 @execl(ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp34qgwyk7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pipe()\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"/usr/bin/python3\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"python3\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"print('(python3) hello friend')\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"print (5+3) \00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"x='dimkouv!@#'\00", align 1 @.str.6 = private unnamed_addr constant [14 x i8] c"print(x[:-2])\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [2 x i32], align 4 store i32 0, ptr %1, align 4 %3 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %4 = call i64 @pipe(ptr noundef %3) %5 = icmp slt i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @perror(ptr noundef @.str) br label %8 8: ; preds = %6, %0 %9 = call i64 (...) @fork() %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %20 11: ; preds = %8 %12 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %13 = load i32, ptr %12, align 4 %14 = call i32 @close(i32 noundef %13) %15 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %16 = load i32, ptr %15, align 4 %17 = call i32 @dup2(i32 noundef %16, i32 noundef 0) %18 = call i32 @execl(ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef null) %19 = call i32 @exit(i32 noundef 0) #3 unreachable 20: ; preds = %8 %21 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %22 = load i32, ptr %21, align 4 %23 = call i32 @close(i32 noundef %22) %24 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %25 = load i32, ptr %24, align 4 %26 = call i32 @dup2(i32 noundef %25, i32 noundef 1) %27 = call i32 @puts(ptr noundef @.str.3) %28 = call i32 @puts(ptr noundef @.str.4) %29 = call i32 @puts(ptr noundef @.str.5) %30 = call i32 @puts(ptr noundef @.str.6) br label %31 31: ; preds = %20 ret i32 0 } declare i64 @pipe(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @fork(...) #1 declare i32 @close(i32 noundef) #1 declare i32 @dup2(i32 noundef, i32 noundef) #1 declare i32 @execl(ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp8xai6t8z.c' source_filename = "/tmp/tmp8xai6t8z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @out_string(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %11, %1 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 %6 = icmp ne i8 %5, 0 br i1 %6, label %7, label %14 7: ; preds = %3 %8 = load ptr, ptr %2, align 8 %9 = load i8, ptr %8, align 1 %10 = call i32 @out_char(i8 noundef signext %9) br label %11 11: ; preds = %7 %12 = load ptr, ptr %2, align 8 %13 = getelementptr inbounds i8, ptr %12, i32 1 store ptr %13, ptr %2, align 8 br label %3, !llvm.loop !6 14: ; preds = %3 ret void } declare i32 @out_char(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/tmp8xai6t8z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @out_string(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i8, ptr %3, align 1 %5 = icmp ne i8 %4, 0 br i1 %5, label %.lr.ph, label %16 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %10 %7 = load ptr, ptr %2, align 8 %8 = load i8, ptr %7, align 1 %9 = call i32 @out_char(i8 noundef signext %8) br label %10 10: ; preds = %6 %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds i8, ptr %11, i32 1 store ptr %12, ptr %2, align 8 %13 = load ptr, ptr %2, align 8 %14 = load i8, ptr %13, align 1 %15 = icmp ne i8 %14, 0 br i1 %15, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %16 16: ; preds = %._crit_edge, %1 ret void } declare i32 @out_char(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/tmpnl4ip33j.c' source_filename = "/tmp/tmpnl4ip33j.c" target datalayout = "e-m:e-p270: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/tmpnl4ip33j.c" target datalayout = "e-m:e-p270: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/tmp06_1m1uw.c' source_filename = "/tmp/tmp06_1m1uw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buffer_load(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca [64 x [128 x i32]], align 16 %12 = alloca [64 x [128 x i32]], align 16 %13 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %14 = load i32, ptr %6, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %91 16: ; preds = %5 store i32 0, ptr %13, align 4 br label %17 17: ; preds = %32, %16 %18 = load i32, ptr %13, align 4 %19 = icmp slt i32 %18, 64 br i1 %19, label %20, label %35 20: ; preds = %17 %21 = load i32, ptr %13, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [64 x [128 x i32]], ptr %11, i64 0, i64 %22 %24 = getelementptr inbounds [128 x i32], ptr %23, i64 0, i64 0 %25 = load ptr, ptr %7, align 8 %26 = load i32, ptr %13, align 4 %27 = mul nsw i32 %26, 1024 %28 = sdiv i32 %27, 8 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %25, i64 %29 %31 = call i32 @memcpy(ptr noundef %24, ptr noundef %30, i32 noundef 1024) br label %32 32: ; preds = %20 %33 = load i32, ptr %13, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %13, align 4 br label %17, !llvm.loop !6 35: ; preds = %17 store i32 0, ptr %13, align 4 br label %36 36: ; preds = %50, %35 %37 = load i32, ptr %13, align 4 %38 = icmp slt i32 %37, 64 br i1 %38, label %39, label %53 39: ; preds = %36 %40 = load i32, ptr %13, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [64 x [128 x i32]], ptr %11, i64 0, i64 %41 %43 = getelementptr inbounds [128 x i32], ptr %42, i64 0, i64 0 %44 = load ptr, ptr %8, align 8 %45 = load i32, ptr %13, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [1024 x i8], ptr %44, i64 %46 %48 = getelementptr inbounds [1024 x i8], ptr %47, i64 0, i64 0 %49 = call i32 @copy_in(ptr noundef %43, ptr noundef %48) br label %50 50: ; preds = %39 %51 = load i32, ptr %13, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %13, align 4 br label %36, !llvm.loop !8 53: ; preds = %36 store i32 0, ptr %13, align 4 br label %54 54: ; preds = %69, %53 %55 = load i32, ptr %13, align 4 %56 = icmp slt i32 %55, 64 br i1 %56, label %57, label %72 57: ; preds = %54 %58 = load i32, ptr %13, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [64 x [128 x i32]], ptr %12, i64 0, i64 %59 %61 = getelementptr inbounds [128 x i32], ptr %60, i64 0, i64 0 %62 = load ptr, ptr %9, align 8 %63 = load i32, ptr %13, align 4 %64 = mul nsw i32 %63, 1024 %65 = sdiv i32 %64, 8 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i32, ptr %62, i64 %66 %68 = call i32 @memcpy(ptr noundef %61, ptr noundef %67, i32 noundef 1024) br label %69 69: ; preds = %57 %70 = load i32, ptr %13, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %13, align 4 br label %54, !llvm.loop !9 72: ; preds = %54 store i32 0, ptr %13, align 4 br label %73 73: ; preds = %87, %72 %74 = load i32, ptr %13, align 4 %75 = icmp slt i32 %74, 64 br i1 %75, label %76, label %90 76: ; preds = %73 %77 = load i32, ptr %13, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds [64 x [128 x i32]], ptr %12, i64 0, i64 %78 %80 = getelementptr inbounds [128 x i32], ptr %79, i64 0, i64 0 %81 = load ptr, ptr %10, align 8 %82 = load i32, ptr %13, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [1024 x i8], ptr %81, i64 %83 %85 = getelementptr inbounds [1024 x i8], ptr %84, i64 0, i64 0 %86 = call i32 @copy_in(ptr noundef %80, ptr noundef %85) br label %87 87: ; preds = %76 %88 = load i32, ptr %13, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %13, align 4 br label %73, !llvm.loop !10 90: ; preds = %73 br label %91 91: ; preds = %90, %5 ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @copy_in(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp06_1m1uw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buffer_load(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca [64 x [128 x i32]], align 16 %12 = alloca [64 x [128 x i32]], align 16 %13 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %14 = load i32, ptr %6, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %95 16: ; preds = %5 store i32 0, ptr %13, align 4 %17 = load i32, ptr %13, align 4 %18 = icmp slt i32 %17, 64 br i1 %18, label %.lr.ph, label %36 .lr.ph: ; preds = %16 br label %19 19: ; preds = %.lr.ph, %31 %20 = load i32, ptr %13, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [64 x [128 x i32]], ptr %11, i64 0, i64 %21 %23 = getelementptr inbounds [128 x i32], ptr %22, i64 0, i64 0 %24 = load ptr, ptr %7, align 8 %25 = load i32, ptr %13, align 4 %26 = mul nsw i32 %25, 1024 %27 = sdiv i32 %26, 8 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %24, i64 %28 %30 = call i32 @memcpy(ptr noundef %23, ptr noundef %29, i32 noundef 1024) br label %31 31: ; preds = %19 %32 = load i32, ptr %13, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %13, align 4 %34 = load i32, ptr %13, align 4 %35 = icmp slt i32 %34, 64 br i1 %35, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %36 36: ; preds = %._crit_edge, %16 store i32 0, ptr %13, align 4 %37 = load i32, ptr %13, align 4 %38 = icmp slt i32 %37, 64 br i1 %38, label %.lr.ph2, label %55 .lr.ph2: ; preds = %36 br label %39 39: ; preds = %.lr.ph2, %50 %40 = load i32, ptr %13, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [64 x [128 x i32]], ptr %11, i64 0, i64 %41 %43 = getelementptr inbounds [128 x i32], ptr %42, i64 0, i64 0 %44 = load ptr, ptr %8, align 8 %45 = load i32, ptr %13, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [1024 x i8], ptr %44, i64 %46 %48 = getelementptr inbounds [1024 x i8], ptr %47, i64 0, i64 0 %49 = call i32 @copy_in(ptr noundef %43, ptr noundef %48) br label %50 50: ; preds = %39 %51 = load i32, ptr %13, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %13, align 4 %53 = load i32, ptr %13, align 4 %54 = icmp slt i32 %53, 64 br i1 %54, label %39, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %50 br label %55 55: ; preds = %._crit_edge3, %36 store i32 0, ptr %13, align 4 %56 = load i32, ptr %13, align 4 %57 = icmp slt i32 %56, 64 br i1 %57, label %.lr.ph5, label %75 .lr.ph5: ; preds = %55 br label %58 58: ; preds = %.lr.ph5, %70 %59 = load i32, ptr %13, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [64 x [128 x i32]], ptr %12, i64 0, i64 %60 %62 = getelementptr inbounds [128 x i32], ptr %61, i64 0, i64 0 %63 = load ptr, ptr %9, align 8 %64 = load i32, ptr %13, align 4 %65 = mul nsw i32 %64, 1024 %66 = sdiv i32 %65, 8 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i32, ptr %63, i64 %67 %69 = call i32 @memcpy(ptr noundef %62, ptr noundef %68, i32 noundef 1024) br label %70 70: ; preds = %58 %71 = load i32, ptr %13, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %13, align 4 %73 = load i32, ptr %13, align 4 %74 = icmp slt i32 %73, 64 br i1 %74, label %58, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %70 br label %75 75: ; preds = %._crit_edge6, %55 store i32 0, ptr %13, align 4 %76 = load i32, ptr %13, align 4 %77 = icmp slt i32 %76, 64 br i1 %77, label %.lr.ph8, label %94 .lr.ph8: ; preds = %75 br label %78 78: ; preds = %.lr.ph8, %89 %79 = load i32, ptr %13, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds [64 x [128 x i32]], ptr %12, i64 0, i64 %80 %82 = getelementptr inbounds [128 x i32], ptr %81, i64 0, i64 0 %83 = load ptr, ptr %10, align 8 %84 = load i32, ptr %13, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds [1024 x i8], ptr %83, i64 %85 %87 = getelementptr inbounds [1024 x i8], ptr %86, i64 0, i64 0 %88 = call i32 @copy_in(ptr noundef %82, ptr noundef %87) br label %89 89: ; preds = %78 %90 = load i32, ptr %13, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %13, align 4 %92 = load i32, ptr %13, align 4 %93 = icmp slt i32 %92, 64 br i1 %93, label %78, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %89 br label %94 94: ; preds = %._crit_edge9, %75 br label %95 95: ; preds = %94, %5 ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @copy_in(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmptqu652vs.c' source_filename = "/tmp/tmptqu652vs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = 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/tmptqu652vs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = 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/tmpk4hvcxjr.c' source_filename = "/tmp/tmpk4hvcxjr.c" target datalayout = "e-m:e-p270: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"Err.(%s) fork() failed\0A\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (...) @fork() store i32 %7, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %17 10: ; preds = %2 %11 = load i32, ptr @stderr, align 4 %12 = load i32, ptr @errno, align 4 %13 = call ptr @strerror(i32 noundef %12) %14 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %13) %15 = load i32, ptr @EXIT_FAILURE, align 4 %16 = call i32 @exit(i32 noundef %15) #3 unreachable 17: ; preds = %2 %18 = load i32, ptr %6, align 4 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %17 %21 = load i32, ptr %6, align 4 %22 = call i32 @child_process(i32 noundef %21) br label %26 23: ; preds = %17 %24 = load i32, ptr %6, align 4 %25 = call i32 @parent_process(i32 noundef %24) br label %26 26: ; preds = %23, %20 %27 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %27 } declare i32 @fork(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @child_process(i32 noundef) #1 declare i32 @parent_process(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/tmpk4hvcxjr.c" target datalayout = "e-m:e-p270: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"Err.(%s) fork() failed\0A\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (...) @fork() store i32 %7, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %17 10: ; preds = %2 %11 = load i32, ptr @stderr, align 4 %12 = load i32, ptr @errno, align 4 %13 = call ptr @strerror(i32 noundef %12) %14 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %13) %15 = load i32, ptr @EXIT_FAILURE, align 4 %16 = call i32 @exit(i32 noundef %15) #3 unreachable 17: ; preds = %2 %18 = load i32, ptr %6, align 4 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %17 %21 = load i32, ptr %6, align 4 %22 = call i32 @child_process(i32 noundef %21) br label %26 23: ; preds = %17 %24 = load i32, ptr %6, align 4 %25 = call i32 @parent_process(i32 noundef %24) br label %26 26: ; preds = %23, %20 %27 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %27 } declare i32 @fork(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @child_process(i32 noundef) #1 declare i32 @parent_process(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/tmp0e9n_gb1.c' source_filename = "/tmp/tmp0e9n_gb1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Please enter 2 names.\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%5s %10s\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"I read the %d names %s and %s.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [11 x i8], align 1 %3 = alloca [11 x i8], align 1 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = getelementptr inbounds [11 x i8], ptr %2, i64 0, i64 0 %7 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 0 %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6, ptr noundef %7) store i32 %8, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = getelementptr inbounds [11 x i8], ptr %2, i64 0, i64 0 %11 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 0 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9, ptr noundef %10, ptr noundef %11) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0e9n_gb1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Please enter 2 names.\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%5s %10s\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"I read the %d names %s and %s.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [11 x i8], align 1 %3 = alloca [11 x i8], align 1 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = getelementptr inbounds [11 x i8], ptr %2, i64 0, i64 0 %7 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 0 %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6, ptr noundef %7) store i32 %8, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = getelementptr inbounds [11 x i8], ptr %2, i64 0, i64 0 %11 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 0 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9, ptr noundef %10, ptr noundef %11) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgpne9dhq.c' source_filename = "/tmp/tmpgpne9dhq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_screen() #0 { %1 = call i32 @setcursor(i32 noundef 1, i32 noundef 1) %2 = call i32 (...) @cls() ret void } declare i32 @setcursor(i32 noundef, i32 noundef) #1 declare i32 @cls(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgpne9dhq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_screen() #0 { %1 = call i32 @setcursor(i32 noundef 1, i32 noundef 1) %2 = call i32 (...) @cls() ret void } declare i32 @setcursor(i32 noundef, i32 noundef) #1 declare i32 @cls(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE 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_fqqy016.c' source_filename = "/tmp/tmp_fqqy016.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"di un numero: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"este mensaje ya no sale\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = call i32 @scanf(ptr noundef @.str.1, i32 noundef 0) %4 = call i32 @printf(ptr noundef @.str.2) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(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/tmp_fqqy016.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"di un numero: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"este mensaje ya no sale\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = call i32 @scanf(ptr noundef @.str.1, i32 noundef 0) %4 = call i32 @printf(ptr noundef @.str.2) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(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/tmptb8rd65s.c' source_filename = "/tmp/tmptb8rd65s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"COLUMNS\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @linedit_terminal_columns(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 %5 = call ptr @getenv(ptr noundef @.str) store ptr %5, ptr %4, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %1 %8 = load ptr, ptr %4, align 8 %9 = call i32 @atoi(ptr noundef %8) store i32 %9, ptr %2, align 4 br label %12 10: ; preds = %1 %11 = load i32, ptr %3, align 4 store i32 %11, ptr %2, align 4 br label %12 12: ; preds = %10, %7 %13 = load i32, ptr %2, align 4 ret i32 %13 } declare ptr @getenv(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptb8rd65s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"COLUMNS\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @linedit_terminal_columns(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 %5 = call ptr @getenv(ptr noundef @.str) store ptr %5, ptr %4, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %1 %8 = load ptr, ptr %4, align 8 %9 = call i32 @atoi(ptr noundef %8) store i32 %9, ptr %2, align 4 br label %12 10: ; preds = %1 %11 = load i32, ptr %3, align 4 store i32 %11, ptr %2, align 4 br label %12 12: ; preds = %10, %7 %13 = load i32, ptr %2, align 4 ret i32 %13 } declare ptr @getenv(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpav9hr_2i.c' source_filename = "/tmp/tmpav9hr_2i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tlv_get_len(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds i32, ptr %6, i64 1 %8 = load i32, ptr %7, align 4 %9 = and i32 %8, 128 %10 = icmp ne i32 %9, 0 br i1 %10, label %16, label %11 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = getelementptr inbounds i32, ptr %12, i64 1 %14 = load i32, ptr %13, align 4 %15 = and i32 %14, 127 store i32 %15, ptr %2, align 4 br label %39 16: ; preds = %1 store i32 0, ptr %5, align 4 br label %17 17: ; preds = %34, %16 %18 = load i32, ptr %5, align 4 %19 = load ptr, ptr %3, align 8 %20 = getelementptr inbounds i32, ptr %19, i64 1 %21 = load i32, ptr %20, align 4 %22 = and i32 %21, 127 %23 = icmp slt i32 %18, %22 br i1 %23, label %24, label %37 24: ; preds = %17 %25 = load i32, ptr %4, align 4 %26 = shl i32 %25, 8 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %5, align 4 %29 = add nsw i32 2, %28 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %27, i64 %30 %32 = load i32, ptr %31, align 4 %33 = add nsw i32 %26, %32 store i32 %33, ptr %4, align 4 br label %34 34: ; preds = %24 %35 = load i32, ptr %5, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %5, align 4 br label %17, !llvm.loop !6 37: ; preds = %17 %38 = load i32, ptr %4, align 4 store i32 %38, ptr %2, align 4 br label %39 39: ; preds = %37, %11 %40 = load i32, ptr %2, align 4 ret i32 %40 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpav9hr_2i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tlv_get_len(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds i32, ptr %6, i64 1 %8 = load i32, ptr %7, align 4 %9 = and i32 %8, 128 %10 = icmp ne i32 %9, 0 br i1 %10, label %16, label %11 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = getelementptr inbounds i32, ptr %12, i64 1 %14 = load i32, ptr %13, align 4 %15 = and i32 %14, 127 store i32 %15, ptr %2, align 4 br label %44 16: ; preds = %1 store i32 0, ptr %5, align 4 %17 = load i32, ptr %5, align 4 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds i32, ptr %18, i64 1 %20 = load i32, ptr %19, align 4 %21 = and i32 %20, 127 %22 = icmp slt i32 %17, %21 br i1 %22, label %.lr.ph, label %42 .lr.ph: ; preds = %16 br label %23 23: ; preds = %.lr.ph, %33 %24 = load i32, ptr %4, align 4 %25 = shl i32 %24, 8 %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 2, %27 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %26, i64 %29 %31 = load i32, ptr %30, align 4 %32 = add nsw i32 %25, %31 store i32 %32, ptr %4, align 4 br label %33 33: ; preds = %23 %34 = load i32, ptr %5, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %5, align 4 %36 = load i32, ptr %5, align 4 %37 = load ptr, ptr %3, align 8 %38 = getelementptr inbounds i32, ptr %37, i64 1 %39 = load i32, ptr %38, align 4 %40 = and i32 %39, 127 %41 = icmp slt i32 %36, %40 br i1 %41, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %42 42: ; preds = %._crit_edge, %16 %43 = load i32, ptr %4, align 4 store i32 %43, ptr %2, align 4 br label %44 44: ; preds = %42, %11 %45 = load i32, ptr %2, align 4 ret i32 %45 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmponyf8t6n.c' source_filename = "/tmp/tmponyf8t6n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @ENET2_1588_Timer_IRQHandler() #0 { %1 = call i32 (...) @ENET2_1588_Timer_DriverIRQHandler() ret void } declare i32 @ENET2_1588_Timer_DriverIRQHandler(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmponyf8t6n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @ENET2_1588_Timer_IRQHandler() #0 { %1 = call i32 (...) @ENET2_1588_Timer_DriverIRQHandler() ret void } declare i32 @ENET2_1588_Timer_DriverIRQHandler(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmu0hrl3y.c' source_filename = "/tmp/tmpmu0hrl3y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @portable_isblank(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = trunc i32 %3 to i8 %5 = call i32 @isblank(i8 noundef zeroext %4) ret i32 %5 } declare i32 @isblank(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmu0hrl3y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @portable_isblank(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = trunc i32 %3 to i8 %5 = call i32 @isblank(i8 noundef zeroext %4) ret i32 %5 } declare i32 @isblank(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpslucf4hp.c' source_filename = "/tmp/tmpslucf4hp.c" target datalayout = "e-m:e-p270: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 [35 x i8] c"Error : Out of memory in lagra()\0A\00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c"Error : Illegal parameter in lagra()\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @lagra(ptr noundef %0, ptr noundef %1, i32 noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store double %3, ptr %9, align 8 %25 = load i32, ptr %8, align 4 %26 = sext i32 %25 to i64 %27 = mul i64 %26, 8 %28 = trunc i64 %27 to i32 %29 = call i64 @malloc(i32 noundef %28) %30 = inttoptr i64 %29 to ptr store ptr %30, ptr %23, align 8 %31 = load ptr, ptr %23, align 8 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %36 33: ; preds = %4 %34 = load i32, ptr @stderr, align 4 %35 = call i32 @fprintf(i32 noundef %34, ptr noundef @.str) store double 0.000000e+00, ptr %5, align 8 br label %253 36: ; preds = %4 %37 = load i32, ptr %8, align 4 %38 = sext i32 %37 to i64 %39 = mul i64 %38, 8 %40 = trunc i64 %39 to i32 %41 = call i64 @malloc(i32 noundef %40) %42 = inttoptr i64 %41 to ptr store ptr %42, ptr %24, align 8 %43 = load ptr, ptr %24, align 8 %44 = icmp eq ptr %43, null br i1 %44, label %45, label %50 45: ; preds = %36 %46 = load i32, ptr @stderr, align 4 %47 = call i32 @fprintf(i32 noundef %46, ptr noundef @.str) %48 = load ptr, ptr %23, align 8 %49 = call i32 @free(ptr noundef %48) store double 0.000000e+00, ptr %5, align 8 br label %253 50: ; preds = %36 store i32 0, ptr %11, align 4 %51 = load ptr, ptr %6, align 8 store ptr %51, ptr %15, align 8 store i32 0, ptr %10, align 4 br label %52 52: ; preds = %66, %50 %53 = load i32, ptr %11, align 4 %54 = load i32, ptr %8, align 4 %55 = sub nsw i32 %54, 1 %56 = icmp slt i32 %53, %55 br i1 %56, label %57, label %71 57: ; preds = %52 %58 = load ptr, ptr %15, align 8 %59 = load double, ptr %58, align 8 %60 = load ptr, ptr %15, align 8 %61 = getelementptr inbounds double, ptr %60, i64 1 %62 = load double, ptr %61, align 8 %63 = fcmp oge double %59, %62 br i1 %63, label %64, label %65 64: ; preds = %57 store i32 1, ptr %10, align 4 br label %71 65: ; preds = %57 br label %66 66: ; preds = %65 %67 = load i32, ptr %11, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %11, align 4 %69 = load ptr, ptr %15, align 8 %70 = getelementptr inbounds double, ptr %69, i32 1 store ptr %70, ptr %15, align 8 br label %52, !llvm.loop !6 71: ; preds = %64, %52 %72 = load i32, ptr %10, align 4 %73 = icmp ne i32 %72, 0 br i1 %73, label %74, label %126 74: ; preds = %71 %75 = load i32, ptr %8, align 4 %76 = sext i32 %75 to i64 %77 = mul i64 %76, 4 %78 = trunc i64 %77 to i32 %79 = call i64 @malloc(i32 noundef %78) %80 = inttoptr i64 %79 to ptr store ptr %80, ptr %13, align 8 %81 = load ptr, ptr %13, align 8 %82 = icmp eq ptr %81, null br i1 %82, label %83, label %90 83: ; preds = %74 %84 = load i32, ptr @stderr, align 4 %85 = call i32 @fprintf(i32 noundef %84, ptr noundef @.str) %86 = load ptr, ptr %23, align 8 %87 = call i32 @free(ptr noundef %86) %88 = load ptr, ptr %24, align 8 %89 = call i32 @free(ptr noundef %88) store double 0.000000e+00, ptr %5, align 8 br label %253 90: ; preds = %74 %91 = load ptr, ptr %6, align 8 %92 = load i32, ptr %8, align 4 %93 = load ptr, ptr %13, align 8 %94 = call i32 @sortdi1(ptr noundef %91, i32 noundef %92, ptr noundef %93) store i32 0, ptr %11, align 4 %95 = load ptr, ptr %23, align 8 store ptr %95, ptr %15, align 8 %96 = load ptr, ptr %24, align 8 store ptr %96, ptr %16, align 8 %97 = load ptr, ptr %13, align 8 store ptr %97, ptr %14, align 8 br label %98 98: ; preds = %120, %90 %99 = load i32, ptr %11, align 4 %100 = load i32, ptr %8, align 4 %101 = icmp slt i32 %99, %100 br i1 %101, label %102, label %123 102: ; preds = %98 %103 = load ptr, ptr %6, align 8 %104 = load ptr, ptr %14, align 8 %105 = load i32, ptr %104, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds double, ptr %103, i64 %106 %108 = load double, ptr %107, align 8 %109 = load ptr, ptr %15, align 8 %110 = getelementptr inbounds double, ptr %109, i32 1 store ptr %110, ptr %15, align 8 store double %108, ptr %109, align 8 %111 = load ptr, ptr %7, align 8 %112 = load ptr, ptr %14, align 8 %113 = getelementptr inbounds i32, ptr %112, i32 1 store ptr %113, ptr %14, align 8 %114 = load i32, ptr %112, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds double, ptr %111, i64 %115 %117 = load double, ptr %116, align 8 %118 = load ptr, ptr %16, align 8 %119 = getelementptr inbounds double, ptr %118, i32 1 store ptr %119, ptr %16, align 8 store double %117, ptr %118, align 8 br label %120 120: ; preds = %102 %121 = load i32, ptr %11, align 4 %122 = add nsw i32 %121, 1 store i32 %122, ptr %11, align 4 br label %98, !llvm.loop !8 123: ; preds = %98 %124 = load ptr, ptr %13, align 8 %125 = call i32 @free(ptr noundef %124) br label %150 126: ; preds = %71 store i32 0, ptr %11, align 4 %127 = load ptr, ptr %23, align 8 store ptr %127, ptr %15, align 8 %128 = load ptr, ptr %24, align 8 store ptr %128, ptr %16, align 8 %129 = load ptr, ptr %6, align 8 store ptr %129, ptr %17, align 8 %130 = load ptr, ptr %7, align 8 store ptr %130, ptr %18, align 8 br label %131 131: ; preds = %146, %126 %132 = load i32, ptr %11, align 4 %133 = load i32, ptr %8, align 4 %134 = icmp slt i32 %132, %133 br i1 %134, label %135, label %149 135: ; preds = %131 %136 = load ptr, ptr %17, align 8 %137 = getelementptr inbounds double, ptr %136, i32 1 store ptr %137, ptr %17, align 8 %138 = load double, ptr %136, align 8 %139 = load ptr, ptr %15, align 8 %140 = getelementptr inbounds double, ptr %139, i32 1 store ptr %140, ptr %15, align 8 store double %138, ptr %139, align 8 %141 = load ptr, ptr %18, align 8 %142 = getelementptr inbounds double, ptr %141, i32 1 store ptr %142, ptr %18, align 8 %143 = load double, ptr %141, align 8 %144 = load ptr, ptr %16, align 8 %145 = getelementptr inbounds double, ptr %144, i32 1 store ptr %145, ptr %16, align 8 store double %143, ptr %144, align 8 br label %146 146: ; preds = %135 %147 = load i32, ptr %11, align 4 %148 = add nsw i32 %147, 1 store i32 %148, ptr %11, align 4 br label %131, !llvm.loop !9 149: ; preds = %131 br label %150 150: ; preds = %149, %123 %151 = load i32, ptr %8, align 4 %152 = icmp slt i32 %151, 2 br i1 %152, label %167, label %153 153: ; preds = %150 %154 = load double, ptr %9, align 8 %155 = load ptr, ptr %23, align 8 %156 = load double, ptr %155, align 8 %157 = fcmp olt double %154, %156 br i1 %157, label %167, label %158 158: ; preds = %153 %159 = load double, ptr %9, align 8 %160 = load ptr, ptr %23, align 8 %161 = load i32, ptr %8, align 4 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds double, ptr %160, i64 %162 %164 = getelementptr inbounds double, ptr %163, i64 -1 %165 = load double, ptr %164, align 8 %166 = fcmp ogt double %159, %165 br i1 %166, label %167, label %174 167: ; preds = %158, %153, %150 %168 = load i32, ptr @stderr, align 4 %169 = call i32 @fprintf(i32 noundef %168, ptr noundef @.str.1) %170 = load ptr, ptr %23, align 8 %171 = call i32 @free(ptr noundef %170) %172 = load ptr, ptr %24, align 8 %173 = call i32 @free(ptr noundef %172) store double 0.000000e+00, ptr %5, align 8 br label %253 174: ; preds = %158 store i32 0, ptr %11, align 4 %175 = load ptr, ptr %23, align 8 store ptr %175, ptr %15, align 8 br label %176 176: ; preds = %197, %174 %177 = load i32, ptr %11, align 4 %178 = load i32, ptr %8, align 4 %179 = icmp slt i32 %177, %178 br i1 %179, label %180, label %200 180: ; preds = %176 %181 = load ptr, ptr %15, align 8 %182 = getelementptr inbounds double, ptr %181, i32 1 store ptr %182, ptr %15, align 8 %183 = load double, ptr %181, align 8 %184 = load double, ptr %9, align 8 %185 = fcmp oeq double %183, %184 br i1 %185, label %186, label %196 186: ; preds = %180 %187 = load ptr, ptr %23, align 8 %188 = call i32 @free(ptr noundef %187) %189 = load ptr, ptr %24, align 8 %190 = call i32 @free(ptr noundef %189) %191 = load ptr, ptr %24, align 8 %192 = load i32, ptr %11, align 4 %193 = sext i32 %192 to i64 %194 = getelementptr inbounds double, ptr %191, i64 %193 %195 = load double, ptr %194, align 8 store double %195, ptr %5, align 8 br label %253 196: ; preds = %180 br label %197 197: ; preds = %196 %198 = load i32, ptr %11, align 4 %199 = add nsw i32 %198, 1 store i32 %199, ptr %11, align 4 br label %176, !llvm.loop !10 200: ; preds = %176 store double 0.000000e+00, ptr %19, align 8 store i32 0, ptr %11, align 4 %201 = load ptr, ptr %23, align 8 store ptr %201, ptr %15, align 8 %202 = load ptr, ptr %24, align 8 store ptr %202, ptr %16, align 8 br label %203 203: ; preds = %244, %200 %204 = load i32, ptr %11, align 4 %205 = load i32, ptr %8, align 4 %206 = icmp slt i32 %204, %205 br i1 %206, label %207, label %247 207: ; preds = %203 store double 1.000000e+00, ptr %20, align 8 %208 = load ptr, ptr %15, align 8 %209 = getelementptr inbounds double, ptr %208, i32 1 store ptr %209, ptr %15, align 8 %210 = load double, ptr %208, align 8 store double %210, ptr %21, align 8 store i32 0, ptr %12, align 4 %211 = load ptr, ptr %23, align 8 store ptr %211, ptr %17, align 8 br label %212 212: ; preds = %234, %207 %213 = load i32, ptr %12, align 4 %214 = load i32, ptr %8, align 4 %215 = icmp slt i32 %213, %214 br i1 %215, label %216, label %237 216: ; preds = %212 %217 = load ptr, ptr %17, align 8 %218 = getelementptr inbounds double, ptr %217, i32 1 store ptr %218, ptr %17, align 8 %219 = load double, ptr %217, align 8 store double %219, ptr %22, align 8 %220 = load i32, ptr %11, align 4 %221 = load i32, ptr %12, align 4 %222 = icmp ne i32 %220, %221 br i1 %222, label %223, label %233 223: ; preds = %216 %224 = load double, ptr %9, align 8 %225 = load double, ptr %22, align 8 %226 = fsub double %224, %225 %227 = load double, ptr %21, align 8 %228 = load double, ptr %22, align 8 %229 = fsub double %227, %228 %230 = fdiv double %226, %229 %231 = load double, ptr %20, align 8 %232 = fmul double %231, %230 store double %232, ptr %20, align 8 br label %233 233: ; preds = %223, %216 br label %234 234: ; preds = %233 %235 = load i32, ptr %12, align 4 %236 = add nsw i32 %235, 1 store i32 %236, ptr %12, align 4 br label %212, !llvm.loop !11 237: ; preds = %212 %238 = load double, ptr %20, align 8 %239 = load ptr, ptr %16, align 8 %240 = getelementptr inbounds double, ptr %239, i32 1 store ptr %240, ptr %16, align 8 %241 = load double, ptr %239, align 8 %242 = load double, ptr %19, align 8 %243 = call double @llvm.fmuladd.f64(double %238, double %241, double %242) store double %243, ptr %19, align 8 br label %244 244: ; preds = %237 %245 = load i32, ptr %11, align 4 %246 = add nsw i32 %245, 1 store i32 %246, ptr %11, align 4 br label %203, !llvm.loop !12 247: ; preds = %203 %248 = load ptr, ptr %23, align 8 %249 = call i32 @free(ptr noundef %248) %250 = load ptr, ptr %24, align 8 %251 = call i32 @free(ptr noundef %250) %252 = load double, ptr %19, align 8 store double %252, ptr %5, align 8 br label %253 253: ; preds = %247, %186, %167, %83, %45, %33 %254 = load double, ptr %5, align 8 ret double %254 } declare i64 @malloc(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @sortdi1(ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpslucf4hp.c" target datalayout = "e-m:e-p270: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 [35 x i8] c"Error : Out of memory in lagra()\0A\00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c"Error : Illegal parameter in lagra()\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @lagra(ptr noundef %0, ptr noundef %1, i32 noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store double %3, ptr %9, align 8 %25 = load i32, ptr %8, align 4 %26 = sext i32 %25 to i64 %27 = mul i64 %26, 8 %28 = trunc i64 %27 to i32 %29 = call i64 @malloc(i32 noundef %28) %30 = inttoptr i64 %29 to ptr store ptr %30, ptr %23, align 8 %31 = load ptr, ptr %23, align 8 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %36 33: ; preds = %4 %34 = load i32, ptr @stderr, align 4 %35 = call i32 @fprintf(i32 noundef %34, ptr noundef @.str) store double 0.000000e+00, ptr %5, align 8 br label %266 36: ; preds = %4 %37 = load i32, ptr %8, align 4 %38 = sext i32 %37 to i64 %39 = mul i64 %38, 8 %40 = trunc i64 %39 to i32 %41 = call i64 @malloc(i32 noundef %40) %42 = inttoptr i64 %41 to ptr store ptr %42, ptr %24, align 8 %43 = load ptr, ptr %24, align 8 %44 = icmp eq ptr %43, null br i1 %44, label %45, label %50 45: ; preds = %36 %46 = load i32, ptr @stderr, align 4 %47 = call i32 @fprintf(i32 noundef %46, ptr noundef @.str) %48 = load ptr, ptr %23, align 8 %49 = call i32 @free(ptr noundef %48) store double 0.000000e+00, ptr %5, align 8 br label %266 50: ; preds = %36 store i32 0, ptr %11, align 4 %51 = load ptr, ptr %6, align 8 store ptr %51, ptr %15, align 8 store i32 0, ptr %10, align 4 %52 = load i32, ptr %11, align 4 %53 = load i32, ptr %8, align 4 %54 = sub nsw i32 %53, 1 %55 = icmp slt i32 %52, %54 br i1 %55, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %50 br label %56 56: ; preds = %.lr.ph, %65 %57 = load ptr, ptr %15, align 8 %58 = load double, ptr %57, align 8 %59 = load ptr, ptr %15, align 8 %60 = getelementptr inbounds double, ptr %59, i64 1 %61 = load double, ptr %60, align 8 %62 = fcmp oge double %58, %61 br i1 %62, label %63, label %64 63: ; preds = %56 store i32 1, ptr %10, align 4 br label %74 64: ; preds = %56 br label %65 65: ; preds = %64 %66 = load i32, ptr %11, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %11, align 4 %68 = load ptr, ptr %15, align 8 %69 = getelementptr inbounds double, ptr %68, i32 1 store ptr %69, ptr %15, align 8 %70 = load i32, ptr %11, align 4 %71 = load i32, ptr %8, align 4 %72 = sub nsw i32 %71, 1 %73 = icmp slt i32 %70, %72 br i1 %73, label %56, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %65 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %50 br label %74 74: ; preds = %.loopexit, %63 %75 = load i32, ptr %10, align 4 %76 = icmp ne i32 %75, 0 br i1 %76, label %77, label %131 77: ; preds = %74 %78 = load i32, ptr %8, align 4 %79 = sext i32 %78 to i64 %80 = mul i64 %79, 4 %81 = trunc i64 %80 to i32 %82 = call i64 @malloc(i32 noundef %81) %83 = inttoptr i64 %82 to ptr store ptr %83, ptr %13, align 8 %84 = load ptr, ptr %13, align 8 %85 = icmp eq ptr %84, null br i1 %85, label %86, label %93 86: ; preds = %77 %87 = load i32, ptr @stderr, align 4 %88 = call i32 @fprintf(i32 noundef %87, ptr noundef @.str) %89 = load ptr, ptr %23, align 8 %90 = call i32 @free(ptr noundef %89) %91 = load ptr, ptr %24, align 8 %92 = call i32 @free(ptr noundef %91) store double 0.000000e+00, ptr %5, align 8 br label %266 93: ; preds = %77 %94 = load ptr, ptr %6, align 8 %95 = load i32, ptr %8, align 4 %96 = load ptr, ptr %13, align 8 %97 = call i32 @sortdi1(ptr noundef %94, i32 noundef %95, ptr noundef %96) store i32 0, ptr %11, align 4 %98 = load ptr, ptr %23, align 8 store ptr %98, ptr %15, align 8 %99 = load ptr, ptr %24, align 8 store ptr %99, ptr %16, align 8 %100 = load ptr, ptr %13, align 8 store ptr %100, ptr %14, align 8 %101 = load i32, ptr %11, align 4 %102 = load i32, ptr %8, align 4 %103 = icmp slt i32 %101, %102 br i1 %103, label %.lr.ph3, label %128 .lr.ph3: ; preds = %93 br label %104 104: ; preds = %.lr.ph3, %122 %105 = load ptr, ptr %6, align 8 %106 = load ptr, ptr %14, align 8 %107 = load i32, ptr %106, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds double, ptr %105, i64 %108 %110 = load double, ptr %109, align 8 %111 = load ptr, ptr %15, align 8 %112 = getelementptr inbounds double, ptr %111, i32 1 store ptr %112, ptr %15, align 8 store double %110, ptr %111, align 8 %113 = load ptr, ptr %7, align 8 %114 = load ptr, ptr %14, align 8 %115 = getelementptr inbounds i32, ptr %114, i32 1 store ptr %115, ptr %14, align 8 %116 = load i32, ptr %114, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds double, ptr %113, i64 %117 %119 = load double, ptr %118, align 8 %120 = load ptr, ptr %16, align 8 %121 = getelementptr inbounds double, ptr %120, i32 1 store ptr %121, ptr %16, align 8 store double %119, ptr %120, align 8 br label %122 122: ; preds = %104 %123 = load i32, ptr %11, align 4 %124 = add nsw i32 %123, 1 store i32 %124, ptr %11, align 4 %125 = load i32, ptr %11, align 4 %126 = load i32, ptr %8, align 4 %127 = icmp slt i32 %125, %126 br i1 %127, label %104, label %._crit_edge4, !llvm.loop !8 ._crit_edge4: ; preds = %122 br label %128 128: ; preds = %._crit_edge4, %93 %129 = load ptr, ptr %13, align 8 %130 = call i32 @free(ptr noundef %129) br label %157 131: ; preds = %74 store i32 0, ptr %11, align 4 %132 = load ptr, ptr %23, align 8 store ptr %132, ptr %15, align 8 %133 = load ptr, ptr %24, align 8 store ptr %133, ptr %16, align 8 %134 = load ptr, ptr %6, align 8 store ptr %134, ptr %17, align 8 %135 = load ptr, ptr %7, align 8 store ptr %135, ptr %18, align 8 %136 = load i32, ptr %11, align 4 %137 = load i32, ptr %8, align 4 %138 = icmp slt i32 %136, %137 br i1 %138, label %.lr.ph1, label %156 .lr.ph1: ; preds = %131 br label %139 139: ; preds = %.lr.ph1, %150 %140 = load ptr, ptr %17, align 8 %141 = getelementptr inbounds double, ptr %140, i32 1 store ptr %141, ptr %17, align 8 %142 = load double, ptr %140, align 8 %143 = load ptr, ptr %15, align 8 %144 = getelementptr inbounds double, ptr %143, i32 1 store ptr %144, ptr %15, align 8 store double %142, ptr %143, align 8 %145 = load ptr, ptr %18, align 8 %146 = getelementptr inbounds double, ptr %145, i32 1 store ptr %146, ptr %18, align 8 %147 = load double, ptr %145, align 8 %148 = load ptr, ptr %16, align 8 %149 = getelementptr inbounds double, ptr %148, i32 1 store ptr %149, ptr %16, align 8 store double %147, ptr %148, align 8 br label %150 150: ; preds = %139 %151 = load i32, ptr %11, align 4 %152 = add nsw i32 %151, 1 store i32 %152, ptr %11, align 4 %153 = load i32, ptr %11, align 4 %154 = load i32, ptr %8, align 4 %155 = icmp slt i32 %153, %154 br i1 %155, label %139, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %150 br label %156 156: ; preds = %._crit_edge, %131 br label %157 157: ; preds = %156, %128 %158 = load i32, ptr %8, align 4 %159 = icmp slt i32 %158, 2 br i1 %159, label %174, label %160 160: ; preds = %157 %161 = load double, ptr %9, align 8 %162 = load ptr, ptr %23, align 8 %163 = load double, ptr %162, align 8 %164 = fcmp olt double %161, %163 br i1 %164, label %174, label %165 165: ; preds = %160 %166 = load double, ptr %9, align 8 %167 = load ptr, ptr %23, align 8 %168 = load i32, ptr %8, align 4 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds double, ptr %167, i64 %169 %171 = getelementptr inbounds double, ptr %170, i64 -1 %172 = load double, ptr %171, align 8 %173 = fcmp ogt double %166, %172 br i1 %173, label %174, label %181 174: ; preds = %165, %160, %157 %175 = load i32, ptr @stderr, align 4 %176 = call i32 @fprintf(i32 noundef %175, ptr noundef @.str.1) %177 = load ptr, ptr %23, align 8 %178 = call i32 @free(ptr noundef %177) %179 = load ptr, ptr %24, align 8 %180 = call i32 @free(ptr noundef %179) store double 0.000000e+00, ptr %5, align 8 br label %266 181: ; preds = %165 store i32 0, ptr %11, align 4 %182 = load ptr, ptr %23, align 8 store ptr %182, ptr %15, align 8 %183 = load i32, ptr %11, align 4 %184 = load i32, ptr %8, align 4 %185 = icmp slt i32 %183, %184 br i1 %185, label %.lr.ph6, label %209 .lr.ph6: ; preds = %181 br label %186 186: ; preds = %.lr.ph6, %203 %187 = load ptr, ptr %15, align 8 %188 = getelementptr inbounds double, ptr %187, i32 1 store ptr %188, ptr %15, align 8 %189 = load double, ptr %187, align 8 %190 = load double, ptr %9, align 8 %191 = fcmp oeq double %189, %190 br i1 %191, label %192, label %202 192: ; preds = %186 %193 = load ptr, ptr %23, align 8 %194 = call i32 @free(ptr noundef %193) %195 = load ptr, ptr %24, align 8 %196 = call i32 @free(ptr noundef %195) %197 = load ptr, ptr %24, align 8 %198 = load i32, ptr %11, align 4 %199 = sext i32 %198 to i64 %200 = getelementptr inbounds double, ptr %197, i64 %199 %201 = load double, ptr %200, align 8 store double %201, ptr %5, align 8 br label %266 202: ; preds = %186 br label %203 203: ; preds = %202 %204 = load i32, ptr %11, align 4 %205 = add nsw i32 %204, 1 store i32 %205, ptr %11, align 4 %206 = load i32, ptr %11, align 4 %207 = load i32, ptr %8, align 4 %208 = icmp slt i32 %206, %207 br i1 %208, label %186, label %._crit_edge7, !llvm.loop !10 ._crit_edge7: ; preds = %203 br label %209 209: ; preds = %._crit_edge7, %181 store double 0.000000e+00, ptr %19, align 8 store i32 0, ptr %11, align 4 %210 = load ptr, ptr %23, align 8 store ptr %210, ptr %15, align 8 %211 = load ptr, ptr %24, align 8 store ptr %211, ptr %16, align 8 %212 = load i32, ptr %11, align 4 %213 = load i32, ptr %8, align 4 %214 = icmp slt i32 %212, %213 br i1 %214, label %.lr.ph12, label %260 .lr.ph12: ; preds = %209 br label %215 215: ; preds = %.lr.ph12, %254 store double 1.000000e+00, ptr %20, align 8 %216 = load ptr, ptr %15, align 8 %217 = getelementptr inbounds double, ptr %216, i32 1 store ptr %217, ptr %15, align 8 %218 = load double, ptr %216, align 8 store double %218, ptr %21, align 8 store i32 0, ptr %12, align 4 %219 = load ptr, ptr %23, align 8 store ptr %219, ptr %17, align 8 %220 = load i32, ptr %12, align 4 %221 = load i32, ptr %8, align 4 %222 = icmp slt i32 %220, %221 br i1 %222, label %.lr.ph9, label %247 .lr.ph9: ; preds = %215 br label %223 223: ; preds = %.lr.ph9, %241 %224 = load ptr, ptr %17, align 8 %225 = getelementptr inbounds double, ptr %224, i32 1 store ptr %225, ptr %17, align 8 %226 = load double, ptr %224, align 8 store double %226, ptr %22, align 8 %227 = load i32, ptr %11, align 4 %228 = load i32, ptr %12, align 4 %229 = icmp ne i32 %227, %228 br i1 %229, label %230, label %240 230: ; preds = %223 %231 = load double, ptr %9, align 8 %232 = load double, ptr %22, align 8 %233 = fsub double %231, %232 %234 = load double, ptr %21, align 8 %235 = load double, ptr %22, align 8 %236 = fsub double %234, %235 %237 = fdiv double %233, %236 %238 = load double, ptr %20, align 8 %239 = fmul double %238, %237 store double %239, ptr %20, align 8 br label %240 240: ; preds = %230, %223 br label %241 241: ; preds = %240 %242 = load i32, ptr %12, align 4 %243 = add nsw i32 %242, 1 store i32 %243, ptr %12, align 4 %244 = load i32, ptr %12, align 4 %245 = load i32, ptr %8, align 4 %246 = icmp slt i32 %244, %245 br i1 %246, label %223, label %._crit_edge10, !llvm.loop !11 ._crit_edge10: ; preds = %241 br label %247 247: ; preds = %._crit_edge10, %215 %248 = load double, ptr %20, align 8 %249 = load ptr, ptr %16, align 8 %250 = getelementptr inbounds double, ptr %249, i32 1 store ptr %250, ptr %16, align 8 %251 = load double, ptr %249, align 8 %252 = load double, ptr %19, align 8 %253 = call double @llvm.fmuladd.f64(double %248, double %251, double %252) store double %253, ptr %19, align 8 br label %254 254: ; preds = %247 %255 = load i32, ptr %11, align 4 %256 = add nsw i32 %255, 1 store i32 %256, ptr %11, align 4 %257 = load i32, ptr %11, align 4 %258 = load i32, ptr %8, align 4 %259 = icmp slt i32 %257, %258 br i1 %259, label %215, label %._crit_edge13, !llvm.loop !12 ._crit_edge13: ; preds = %254 br label %260 260: ; preds = %._crit_edge13, %209 %261 = load ptr, ptr %23, align 8 %262 = call i32 @free(ptr noundef %261) %263 = load ptr, ptr %24, align 8 %264 = call i32 @free(ptr noundef %263) %265 = load double, ptr %19, align 8 store double %265, ptr %5, align 8 br label %266 266: ; preds = %260, %192, %174, %86, %45, %33 %267 = load double, ptr %5, align 8 ret double %267 } declare i64 @malloc(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @sortdi1(ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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}
; ModuleID = '/tmp/tmpsi39w2iv.c' source_filename = "/tmp/tmpsi39w2iv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @socketlist_register(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %9 = load i32, ptr %6, align 4 %10 = load ptr, ptr %7, align 8 %11 = call ptr @socket_new(i32 noundef %9, ptr noundef %10) 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 %15 14: ; preds = %3 store ptr null, ptr %4, align 8 br label %20 15: ; preds = %3 %16 = load ptr, ptr %5, align 8 %17 = load ptr, ptr %8, align 8 %18 = call i32 @socketlist_put(ptr noundef %16, ptr noundef %17) %19 = load ptr, ptr %8, align 8 store ptr %19, ptr %4, align 8 br label %20 20: ; preds = %15, %14 %21 = load ptr, ptr %4, align 8 ret ptr %21 } declare ptr @socket_new(i32 noundef, ptr noundef) #1 declare i32 @socketlist_put(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/tmpsi39w2iv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @socketlist_register(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %9 = load i32, ptr %6, align 4 %10 = load ptr, ptr %7, align 8 %11 = call ptr @socket_new(i32 noundef %9, ptr noundef %10) 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 %15 14: ; preds = %3 store ptr null, ptr %4, align 8 br label %20 15: ; preds = %3 %16 = load ptr, ptr %5, align 8 %17 = load ptr, ptr %8, align 8 %18 = call i32 @socketlist_put(ptr noundef %16, ptr noundef %17) %19 = load ptr, ptr %8, align 8 store ptr %19, ptr %4, align 8 br label %20 20: ; preds = %15, %14 %21 = load ptr, ptr %4, align 8 ret ptr %21 } declare ptr @socket_new(i32 noundef, ptr noundef) #1 declare i32 @socketlist_put(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/tmpb6dym_k6.c' source_filename = "/tmp/tmpb6dym_k6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"args too less\0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"open file1 fail\0A\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [17 x i8] c"open file2 fail\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"read fail\0A\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"write fail\0A\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"done!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [256 x i8], align 16 %11 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 3 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 @printf(ptr noundef @.str) %16 = call i32 @exit(i32 noundef 1) #3 unreachable 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = load i32, ptr @O_RDONLY, align 4 %22 = call i32 (ptr, i32, ...) @open(ptr noundef %20, i32 noundef %21) store i32 %22, ptr %6, align 4 %23 = load i32, ptr %6, align 4 %24 = icmp eq i32 %23, -1 br i1 %24, label %25, label %28 25: ; preds = %17 %26 = call i32 @perror(ptr noundef @.str.1) %27 = call i32 @exit(i32 noundef 1) #3 unreachable 28: ; preds = %17 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 2 %31 = load ptr, ptr %30, align 8 %32 = load i32, ptr @O_WRONLY, align 4 %33 = load i32, ptr @O_CREAT, align 4 %34 = or i32 %32, %33 %35 = load i32, ptr @S_IRUSR, align 4 %36 = load i32, ptr @S_IWUSR, align 4 %37 = or i32 %35, %36 %38 = call i32 (ptr, i32, ...) @open(ptr noundef %31, i32 noundef %34, i32 noundef %37) store i32 %38, ptr %7, align 4 %39 = load i32, ptr %7, align 4 %40 = icmp eq i32 %39, -1 br i1 %40, label %41, label %44 41: ; preds = %28 %42 = call i32 @perror(ptr noundef @.str.2) %43 = call i32 @exit(i32 noundef 1) #3 unreachable 44: ; preds = %28 br label %45 45: ; preds = %97, %44 %46 = load i32, ptr %6, align 4 %47 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 %48 = call i32 @read(i32 noundef %46, ptr noundef %47, i32 noundef 256) store i32 %48, ptr %8, align 4 %49 = icmp ne i32 %48, 0 br i1 %49, label %50, label %98 50: ; preds = %45 %51 = load i32, ptr %8, align 4 %52 = icmp eq i32 %51, -1 br i1 %52, label %53, label %55 53: ; preds = %50 %54 = call i32 @perror(ptr noundef @.str.3) br label %98 55: ; preds = %50 %56 = load i32, ptr %8, align 4 %57 = icmp sgt i32 %56, 0 br i1 %57, label %58, label %96 58: ; preds = %55 %59 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 store ptr %59, ptr %11, align 8 br label %60 60: ; preds = %90, %58 %61 = load i32, ptr %7, align 4 %62 = load ptr, ptr %11, align 8 %63 = load i32, ptr %9, align 4 %64 = call i32 @write(i32 noundef %61, ptr noundef %62, i32 noundef %63) store i32 %64, ptr %9, align 4 %65 = icmp ne i32 %64, 0 br i1 %65, label %66, label %91 66: ; preds = %60 %67 = load i32, ptr %9, align 4 %68 = icmp eq i32 %67, -1 br i1 %68, label %69, label %72 69: ; preds = %66 %70 = call i32 @perror(ptr noundef @.str.4) %71 = call i32 @exit(i32 noundef 1) #3 unreachable 72: ; preds = %66 %73 = load i32, ptr %9, align 4 %74 = load i32, ptr %8, align 4 %75 = icmp eq i32 %73, %74 br i1 %75, label %76, label %77 76: ; preds = %72 br label %91 77: ; preds = %72 %78 = load i32, ptr %9, align 4 %79 = icmp sgt i32 %78, 0 br i1 %79, label %80, label %88 80: ; preds = %77 %81 = load i32, ptr %9, align 4 %82 = load ptr, ptr %11, align 8 %83 = sext i32 %81 to i64 %84 = getelementptr inbounds i8, ptr %82, i64 %83 store ptr %84, ptr %11, align 8 %85 = load i32, ptr %9, align 4 %86 = load i32, ptr %8, align 4 %87 = sub nsw i32 %86, %85 store i32 %87, ptr %8, align 4 br label %88 88: ; preds = %80, %77 br label %89 89: ; preds = %88 br label %90 90: ; preds = %89 br label %60, !llvm.loop !6 91: ; preds = %76, %60 %92 = load i32, ptr %9, align 4 %93 = icmp eq i32 %92, -1 br i1 %93, label %94, label %95 94: ; preds = %91 br label %98 95: ; preds = %91 br label %96 96: ; preds = %95, %55 br label %97 97: ; preds = %96 br label %45, !llvm.loop !8 98: ; preds = %94, %53, %45 %99 = load i32, ptr %6, align 4 %100 = call i32 @close(i32 noundef %99) %101 = load i32, ptr %7, align 4 %102 = call i32 @close(i32 noundef %101) %103 = call i32 @printf(ptr noundef @.str.5) 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 i32 @perror(ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb6dym_k6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"args too less\0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"open file1 fail\0A\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [17 x i8] c"open file2 fail\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"read fail\0A\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"write fail\0A\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"done!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [256 x i8], align 16 %11 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 3 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 @printf(ptr noundef @.str) %16 = call i32 @exit(i32 noundef 1) #3 unreachable 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = load i32, ptr @O_RDONLY, align 4 %22 = call i32 (ptr, i32, ...) @open(ptr noundef %20, i32 noundef %21) store i32 %22, ptr %6, align 4 %23 = load i32, ptr %6, align 4 %24 = icmp eq i32 %23, -1 br i1 %24, label %25, label %28 25: ; preds = %17 %26 = call i32 @perror(ptr noundef @.str.1) %27 = call i32 @exit(i32 noundef 1) #3 unreachable 28: ; preds = %17 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 2 %31 = load ptr, ptr %30, align 8 %32 = load i32, ptr @O_WRONLY, align 4 %33 = load i32, ptr @O_CREAT, align 4 %34 = or i32 %32, %33 %35 = load i32, ptr @S_IRUSR, align 4 %36 = load i32, ptr @S_IWUSR, align 4 %37 = or i32 %35, %36 %38 = call i32 (ptr, i32, ...) @open(ptr noundef %31, i32 noundef %34, i32 noundef %37) store i32 %38, ptr %7, align 4 %39 = load i32, ptr %7, align 4 %40 = icmp eq i32 %39, -1 br i1 %40, label %41, label %44 41: ; preds = %28 %42 = call i32 @perror(ptr noundef @.str.2) %43 = call i32 @exit(i32 noundef 1) #3 unreachable 44: ; preds = %28 %45 = load i32, ptr %6, align 4 %46 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 %47 = call i32 @read(i32 noundef %45, ptr noundef %46, i32 noundef 256) store i32 %47, ptr %8, align 4 %48 = icmp ne i32 %47, 0 br i1 %48, label %.lr.ph2, label %.loopexit1 .lr.ph2: ; preds = %44 br label %49 49: ; preds = %.lr.ph2, %100 %50 = load i32, ptr %8, align 4 %51 = icmp eq i32 %50, -1 br i1 %51, label %52, label %54 52: ; preds = %49 %53 = call i32 @perror(ptr noundef @.str.3) br label %104 54: ; preds = %49 %55 = load i32, ptr %8, align 4 %56 = icmp sgt i32 %55, 0 br i1 %56, label %57, label %99 57: ; preds = %54 %58 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 store ptr %58, ptr %11, align 8 %59 = load i32, ptr %7, align 4 %60 = load ptr, ptr %11, align 8 %61 = load i32, ptr %9, align 4 %62 = call i32 @write(i32 noundef %59, ptr noundef %60, i32 noundef %61) store i32 %62, ptr %9, align 4 %63 = icmp ne i32 %62, 0 br i1 %63, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %57 br label %64 64: ; preds = %.lr.ph, %88 %65 = load i32, ptr %9, align 4 %66 = icmp eq i32 %65, -1 br i1 %66, label %67, label %70 67: ; preds = %64 %68 = call i32 @perror(ptr noundef @.str.4) %69 = call i32 @exit(i32 noundef 1) #3 unreachable 70: ; preds = %64 %71 = load i32, ptr %9, align 4 %72 = load i32, ptr %8, align 4 %73 = icmp eq i32 %71, %72 br i1 %73, label %74, label %75 74: ; preds = %70 br label %94 75: ; preds = %70 %76 = load i32, ptr %9, align 4 %77 = icmp sgt i32 %76, 0 br i1 %77, label %78, label %86 78: ; preds = %75 %79 = load i32, ptr %9, align 4 %80 = load ptr, ptr %11, align 8 %81 = sext i32 %79 to i64 %82 = getelementptr inbounds i8, ptr %80, i64 %81 store ptr %82, ptr %11, align 8 %83 = load i32, ptr %9, align 4 %84 = load i32, ptr %8, align 4 %85 = sub nsw i32 %84, %83 store i32 %85, ptr %8, align 4 br label %86 86: ; preds = %78, %75 br label %87 87: ; preds = %86 br label %88 88: ; preds = %87 %89 = load i32, ptr %7, align 4 %90 = load ptr, ptr %11, align 8 %91 = load i32, ptr %9, align 4 %92 = call i32 @write(i32 noundef %89, ptr noundef %90, i32 noundef %91) store i32 %92, ptr %9, align 4 %93 = icmp ne i32 %92, 0 br i1 %93, label %64, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %88 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %57 br label %94 94: ; preds = %.loopexit, %74 %95 = load i32, ptr %9, align 4 %96 = icmp eq i32 %95, -1 br i1 %96, label %97, label %98 97: ; preds = %94 br label %104 98: ; preds = %94 br label %99 99: ; preds = %98, %54 br label %100 100: ; preds = %99 %101 = load i32, ptr %6, align 4 %102 = call i32 @read(i32 noundef %101, ptr noundef %46, i32 noundef 256) store i32 %102, ptr %8, align 4 %103 = icmp ne i32 %102, 0 br i1 %103, label %49, label %..loopexit1_crit_edge, !llvm.loop !8 ..loopexit1_crit_edge: ; preds = %100 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %44 br label %104 104: ; preds = %.loopexit1, %97, %52 %105 = load i32, ptr %6, align 4 %106 = call i32 @close(i32 noundef %105) %107 = load i32, ptr %7, align 4 %108 = call i32 @close(i32 noundef %107) %109 = call i32 @printf(ptr noundef @.str.5) 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 i32 @perror(ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpr0mgmfla.c' source_filename = "/tmp/tmpr0mgmfla.c" target datalayout = "e-m:e-p270: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/tmpr0mgmfla.c" target datalayout = "e-m:e-p270: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/tmp6mstdn0_.c' source_filename = "/tmp/tmp6mstdn0_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"clear||cls\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @clearScreen() #0 { %1 = call i32 @system(ptr noundef @.str) ret void } declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6mstdn0_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"clear||cls\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @clearScreen() #0 { %1 = call i32 @system(ptr noundef @.str) ret void } declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0ba44cvy.c' source_filename = "/tmp/tmp0ba44cvy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 br label %2 2: ; preds = %0 %3 = call i32 @thr0(i32 noundef 0) br label %4 4: ; preds = %2 %5 = call i32 @thr1(i32 noundef 0) br label %6 6: ; preds = %4 %7 = call i32 @thr2(i32 noundef 0) br label %8 8: ; preds = %6 %9 = call i32 @thr3(i32 noundef 0) br label %10 10: ; preds = %8 %11 = call i32 @thr4(i32 noundef 0) ret i32 0 } declare i32 @thr0(i32 noundef) #1 declare i32 @thr1(i32 noundef) #1 declare i32 @thr2(i32 noundef) #1 declare i32 @thr3(i32 noundef) #1 declare i32 @thr4(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/tmp0ba44cvy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 br label %2 2: ; preds = %0 %3 = call i32 @thr0(i32 noundef 0) br label %4 4: ; preds = %2 %5 = call i32 @thr1(i32 noundef 0) br label %6 6: ; preds = %4 %7 = call i32 @thr2(i32 noundef 0) br label %8 8: ; preds = %6 %9 = call i32 @thr3(i32 noundef 0) br label %10 10: ; preds = %8 %11 = call i32 @thr4(i32 noundef 0) ret i32 0 } declare i32 @thr0(i32 noundef) #1 declare i32 @thr1(i32 noundef) #1 declare i32 @thr2(i32 noundef) #1 declare i32 @thr3(i32 noundef) #1 declare i32 @thr4(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/tmpn0rtd1fw.c' source_filename = "/tmp/tmpn0rtd1fw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__NR_open = 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/tmpn0rtd1fw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__NR_open = 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/tmpfgi1dyom.c' source_filename = "/tmp/tmpfgi1dyom.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"All tests passed.\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @test_reverseOnEmptyList() %7 = call i32 (...) @test_reverseOnSingleElementList() %8 = call i32 (...) @test_reverseOnMultiElementList() %9 = call i32 (...) @test_doublyReversedListIsSameAsOriginal() %10 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @test_reverseOnEmptyList(...) #1 declare i32 @test_reverseOnSingleElementList(...) #1 declare i32 @test_reverseOnMultiElementList(...) #1 declare i32 @test_doublyReversedListIsSameAsOriginal(...) #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/tmpfgi1dyom.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"All tests passed.\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @test_reverseOnEmptyList() %7 = call i32 (...) @test_reverseOnSingleElementList() %8 = call i32 (...) @test_reverseOnMultiElementList() %9 = call i32 (...) @test_doublyReversedListIsSameAsOriginal() %10 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @test_reverseOnEmptyList(...) #1 declare i32 @test_reverseOnSingleElementList(...) #1 declare i32 @test_reverseOnMultiElementList(...) #1 declare i32 @test_doublyReversedListIsSameAsOriginal(...) #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/tmpexmz0m35.c' source_filename = "/tmp/tmpexmz0m35.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkHorizontalWin(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca i8, align 1 %7 = alloca i8, align 1 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i8 0, ptr %7, align 1 store i8 0, ptr %6, align 1 br label %8 8: ; preds = %61, %1 %9 = load i8, ptr %6, align 1 %10 = sext i8 %9 to i32 %11 = icmp sle i32 %10, 5 br i1 %11, label %12, label %64 12: ; preds = %8 store i8 0, ptr %5, align 1 br label %13 13: ; preds = %57, %12 %14 = load i8, ptr %5, align 1 %15 = sext i8 %14 to i32 %16 = icmp sle i32 %15, 5 br i1 %16, label %17, label %60 17: ; preds = %13 %18 = load ptr, ptr %2, align 8 %19 = load i8, ptr %6, align 1 %20 = sext i8 %19 to i64 %21 = getelementptr inbounds [6 x i8], ptr %18, i64 %20 %22 = load i8, ptr %5, align 1 %23 = sext i8 %22 to i64 %24 = getelementptr inbounds [6 x i8], ptr %21, i64 0, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 1 br i1 %27, label %28, label %31 28: ; preds = %17 %29 = load i32, ptr %3, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %47 31: ; preds = %17 %32 = load ptr, ptr %2, align 8 %33 = load i8, ptr %6, align 1 %34 = sext i8 %33 to i64 %35 = getelementptr inbounds [6 x i8], ptr %32, i64 %34 %36 = load i8, ptr %5, align 1 %37 = sext i8 %36 to i64 %38 = getelementptr inbounds [6 x i8], ptr %35, i64 0, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %40, 2 br i1 %41, label %42, label %45 42: ; preds = %31 %43 = load i32, ptr %4, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %46 45: ; preds = %31 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %46 46: ; preds = %45, %42 br label %47 47: ; preds = %46, %28 %48 = load i32, ptr %3, align 4 %49 = icmp sge i32 %48, 4 br i1 %49, label %50, label %51 50: ; preds = %47 store i8 1, ptr %7, align 1 br label %65 51: ; preds = %47 %52 = load i32, ptr %4, align 4 %53 = icmp sge i32 %52, 4 br i1 %53, label %54, label %55 54: ; preds = %51 store i8 2, ptr %7, align 1 br label %65 55: ; preds = %51 br label %56 56: ; preds = %55 br label %57 57: ; preds = %56 %58 = load i8, ptr %5, align 1 %59 = add i8 %58, 1 store i8 %59, ptr %5, align 1 br label %13, !llvm.loop !6 60: ; preds = %13 br label %61 61: ; preds = %60 %62 = load i8, ptr %6, align 1 %63 = add i8 %62, 1 store i8 %63, ptr %6, align 1 br label %8, !llvm.loop !8 64: ; preds = %8 br label %65 65: ; preds = %64, %54, %50 %66 = load i8, ptr %7, align 1 ret i8 %66 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpexmz0m35.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkHorizontalWin(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca i8, align 1 %7 = alloca i8, align 1 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i8 0, ptr %7, align 1 store i8 0, ptr %6, align 1 %8 = load i8, ptr %6, align 1 %9 = sext i8 %8 to i32 %10 = icmp sle i32 %9, 5 br i1 %10, label %.lr.ph2, label %68 .lr.ph2: ; preds = %1 br label %11 11: ; preds = %.lr.ph2, %62 store i8 0, ptr %5, align 1 %12 = load i8, ptr %5, align 1 %13 = sext i8 %12 to i32 %14 = icmp sle i32 %13, 5 br i1 %14, label %.lr.ph, label %61 .lr.ph: ; preds = %11 br label %15 15: ; preds = %.lr.ph, %55 %16 = load ptr, ptr %2, align 8 %17 = load i8, ptr %6, align 1 %18 = sext i8 %17 to i64 %19 = getelementptr inbounds [6 x i8], ptr %16, i64 %18 %20 = load i8, ptr %5, align 1 %21 = sext i8 %20 to i64 %22 = getelementptr inbounds [6 x i8], ptr %19, i64 0, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 1 br i1 %25, label %26, label %29 26: ; preds = %15 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %45 29: ; preds = %15 %30 = load ptr, ptr %2, align 8 %31 = load i8, ptr %6, align 1 %32 = sext i8 %31 to i64 %33 = getelementptr inbounds [6 x i8], ptr %30, i64 %32 %34 = load i8, ptr %5, align 1 %35 = sext i8 %34 to i64 %36 = getelementptr inbounds [6 x i8], ptr %33, i64 0, i64 %35 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp eq i32 %38, 2 br i1 %39, label %40, label %43 40: ; preds = %29 %41 = load i32, ptr %4, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %44 43: ; preds = %29 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %44 44: ; preds = %43, %40 br label %45 45: ; preds = %44, %26 %46 = load i32, ptr %3, align 4 %47 = icmp sge i32 %46, 4 br i1 %47, label %48, label %49 48: ; preds = %45 store i8 1, ptr %7, align 1 br label %69 49: ; preds = %45 %50 = load i32, ptr %4, align 4 %51 = icmp sge i32 %50, 4 br i1 %51, label %52, label %53 52: ; preds = %49 store i8 2, ptr %7, align 1 br label %69 53: ; preds = %49 br label %54 54: ; preds = %53 br label %55 55: ; preds = %54 %56 = load i8, ptr %5, align 1 %57 = add i8 %56, 1 store i8 %57, ptr %5, align 1 %58 = load i8, ptr %5, align 1 %59 = sext i8 %58 to i32 %60 = icmp sle i32 %59, 5 br i1 %60, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %55 br label %61 61: ; preds = %._crit_edge, %11 br label %62 62: ; preds = %61 %63 = load i8, ptr %6, align 1 %64 = add i8 %63, 1 store i8 %64, ptr %6, align 1 %65 = load i8, ptr %6, align 1 %66 = sext i8 %65 to i32 %67 = icmp sle i32 %66, 5 br i1 %67, label %11, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %62 br label %68 68: ; preds = %._crit_edge3, %1 br label %69 69: ; preds = %68, %52, %48 %70 = load i8, ptr %7, align 1 ret i8 %70 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpo_6mdn6g.c' source_filename = "/tmp/tmpo_6mdn6g.c" target datalayout = "e-m:e-p270: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/tmpo_6mdn6g.c" target datalayout = "e-m:e-p270: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/tmpfohgjveb.c' source_filename = "/tmp/tmpfohgjveb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @REG_EXTENDED = dso_local global i32 0, align 4 @REG_NOSUB = dso_local global i32 0, align 4 @REG_NEWLINE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"ERR: regex compilation error: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"ERR: regex used: '%s'\0A\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"ERR: regex match error: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"ERR: string used: '%s'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @regmatch(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 [1024 x i8], align 16 %9 = alloca [1024 x i8], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr @REG_EXTENDED, align 4 %12 = load i32, ptr @REG_NOSUB, align 4 %13 = or i32 %11, %12 %14 = load i32, ptr @REG_NEWLINE, align 4 %15 = or i32 %13, %14 %16 = call i32 @regcomp(ptr noundef %6, ptr noundef %10, i32 noundef %15) store i32 %16, ptr %7, align 4 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %26 18: ; preds = %2 %19 = load i32, ptr %7, align 4 %20 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %21 = call i32 @regerror(i32 noundef %19, ptr noundef %6, ptr noundef %20, i32 noundef 1024) %22 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %23 = call i32 @printf(ptr noundef @.str, ptr noundef %22) %24 = load ptr, ptr %4, align 8 %25 = call i32 @printf(ptr noundef @.str.1, ptr noundef %24) store i32 1, ptr %3, align 4 br label %42 26: ; preds = %2 %27 = load ptr, ptr %5, align 8 %28 = call i32 @regexec(ptr noundef %6, ptr noundef %27, i32 noundef 0, ptr noundef null, i32 noundef 0) store i32 %28, ptr %7, align 4 %29 = icmp ne i32 %28, 0 br i1 %29, label %30, label %40 30: ; preds = %26 %31 = load i32, ptr %7, align 4 %32 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %33 = call i32 @regerror(i32 noundef %31, ptr noundef %6, ptr noundef %32, i32 noundef 1024) %34 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %35 = call i32 @printf(ptr noundef @.str.2, ptr noundef %34) %36 = load ptr, ptr %4, align 8 %37 = call i32 @printf(ptr noundef @.str.1, ptr noundef %36) %38 = load ptr, ptr %5, align 8 %39 = call i32 @printf(ptr noundef @.str.3, ptr noundef %38) store i32 1, ptr %3, align 4 br label %42 40: ; preds = %26 %41 = call i32 @regfree(ptr noundef %6) store i32 0, ptr %3, align 4 br label %42 42: ; preds = %40, %30, %18 %43 = load i32, ptr %3, align 4 ret i32 %43 } declare i32 @regcomp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @regerror(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @regexec(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @regfree(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfohgjveb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @REG_EXTENDED = dso_local global i32 0, align 4 @REG_NOSUB = dso_local global i32 0, align 4 @REG_NEWLINE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"ERR: regex compilation error: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"ERR: regex used: '%s'\0A\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"ERR: regex match error: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"ERR: string used: '%s'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @regmatch(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 [1024 x i8], align 16 %9 = alloca [1024 x i8], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr @REG_EXTENDED, align 4 %12 = load i32, ptr @REG_NOSUB, align 4 %13 = or i32 %11, %12 %14 = load i32, ptr @REG_NEWLINE, align 4 %15 = or i32 %13, %14 %16 = call i32 @regcomp(ptr noundef %6, ptr noundef %10, i32 noundef %15) store i32 %16, ptr %7, align 4 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %26 18: ; preds = %2 %19 = load i32, ptr %7, align 4 %20 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %21 = call i32 @regerror(i32 noundef %19, ptr noundef %6, ptr noundef %20, i32 noundef 1024) %22 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %23 = call i32 @printf(ptr noundef @.str, ptr noundef %22) %24 = load ptr, ptr %4, align 8 %25 = call i32 @printf(ptr noundef @.str.1, ptr noundef %24) store i32 1, ptr %3, align 4 br label %42 26: ; preds = %2 %27 = load ptr, ptr %5, align 8 %28 = call i32 @regexec(ptr noundef %6, ptr noundef %27, i32 noundef 0, ptr noundef null, i32 noundef 0) store i32 %28, ptr %7, align 4 %29 = icmp ne i32 %28, 0 br i1 %29, label %30, label %40 30: ; preds = %26 %31 = load i32, ptr %7, align 4 %32 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %33 = call i32 @regerror(i32 noundef %31, ptr noundef %6, ptr noundef %32, i32 noundef 1024) %34 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %35 = call i32 @printf(ptr noundef @.str.2, ptr noundef %34) %36 = load ptr, ptr %4, align 8 %37 = call i32 @printf(ptr noundef @.str.1, ptr noundef %36) %38 = load ptr, ptr %5, align 8 %39 = call i32 @printf(ptr noundef @.str.3, ptr noundef %38) store i32 1, ptr %3, align 4 br label %42 40: ; preds = %26 %41 = call i32 @regfree(ptr noundef %6) store i32 0, ptr %3, align 4 br label %42 42: ; preds = %40, %30, %18 %43 = load i32, ptr %3, align 4 ret i32 %43 } declare i32 @regcomp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @regerror(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @regexec(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @regfree(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvqgqnmit.c' source_filename = "/tmp/tmpvqgqnmit.c" target datalayout = "e-m:e-p270: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/tmpvqgqnmit.c" target datalayout = "e-m:e-p270: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"}