llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpzstppovg.c' source_filename = "/tmp/tmpzstppovg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @loop0_constant() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %2 2: ; preds = %7, %0 %3 = load i32, ptr %1, align 4 %4 = icmp slt i32 %3, 100 br i1 %4, label %5, label %10 5: ; preds = %2 %6 = call i32 (...) @foo_constant() br label %7 7: ; preds = %5 %8 = load i32, ptr %1, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %1, align 4 br label %2, !llvm.loop !6 10: ; preds = %2 ret i32 0 } declare i32 @foo_constant(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpzstppovg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @loop0_constant() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = load i32, ptr %1, align 4 %3 = icmp slt i32 %2, 100 br i1 %3, label %.lr.ph, label %11 .lr.ph: ; preds = %0 br label %4 4: ; preds = %.lr.ph, %6 %5 = call i32 (...) @foo_constant() br label %6 6: ; preds = %4 %7 = load i32, ptr %1, align 4 %8 = add nsw i32 %7, 1 store i32 %8, ptr %1, align 4 %9 = load i32, ptr %1, align 4 %10 = icmp slt i32 %9, 100 br i1 %10, label %4, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %6 br label %11 11: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @foo_constant(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmploy866a8.c' source_filename = "/tmp/tmploy866a8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global double 0.000000e+00, 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/tmploy866a8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global double 0.000000e+00, 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/tmp7__tnq0z.c' source_filename = "/tmp/tmp7__tnq0z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dfs(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 store i32 0, ptr %7, align 4 store i32 1, ptr %8, align 4 store i32 1, ptr %9, align 4 %11 = load i32, ptr %5, align 4 %12 = add nsw i32 %11, 2 %13 = sext i32 %12 to i64 %14 = mul i64 %13, 4 %15 = trunc i64 %14 to i32 %16 = call i64 @malloc(i32 noundef %15) %17 = inttoptr i64 %16 to ptr store ptr %17, ptr %10, align 8 store i32 1, ptr %7, align 4 br label %18 18: ; preds = %41, %3 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %5, align 4 %21 = icmp sle i32 %19, %20 br i1 %21, label %22, label %44 22: ; preds = %18 %23 = load ptr, ptr %10, align 8 %24 = load i32, ptr %7, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 %27 = load i32, ptr %26, align 4 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %40 29: ; preds = %22 %30 = load i32, ptr %7, align 4 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %8, align 4 %33 = load ptr, ptr %10, align 8 %34 = load i32, ptr %5, align 4 %35 = load i32, ptr %9, align 4 %36 = load ptr, ptr %6, align 8 %37 = call i32 @visit(i32 noundef %30, ptr noundef %31, i32 noundef %32, ptr noundef %33, i32 noundef %34, i32 noundef %35, ptr noundef %36) store i32 %37, ptr %9, align 4 %38 = load i32, ptr %8, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %8, align 4 br label %40 40: ; preds = %29, %22 br label %41 41: ; preds = %40 %42 = load i32, ptr %7, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %7, align 4 br label %18, !llvm.loop !6 44: ; preds = %18 %45 = load i32, ptr %8, align 4 %46 = add nsw i32 %45, -1 store i32 %46, ptr %8, align 4 ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @visit(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7__tnq0z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dfs(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 store i32 0, ptr %7, align 4 store i32 1, ptr %8, align 4 store i32 1, ptr %9, align 4 %11 = load i32, ptr %5, align 4 %12 = add nsw i32 %11, 2 %13 = sext i32 %12 to i64 %14 = mul i64 %13, 4 %15 = trunc i64 %14 to i32 %16 = call i64 @malloc(i32 noundef %15) %17 = inttoptr i64 %16 to ptr store ptr %17, ptr %10, align 8 store i32 1, ptr %7, align 4 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %5, align 4 %20 = icmp sle i32 %18, %19 br i1 %20, label %.lr.ph, label %46 .lr.ph: ; preds = %3 br label %21 21: ; preds = %.lr.ph, %40 %22 = load ptr, ptr %10, align 8 %23 = load i32, ptr %7, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %22, i64 %24 %26 = load i32, ptr %25, align 4 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %39 28: ; preds = %21 %29 = load i32, ptr %7, align 4 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr %8, align 4 %32 = load ptr, ptr %10, align 8 %33 = load i32, ptr %5, align 4 %34 = load i32, ptr %9, align 4 %35 = load ptr, ptr %6, align 8 %36 = call i32 @visit(i32 noundef %29, ptr noundef %30, i32 noundef %31, ptr noundef %32, i32 noundef %33, i32 noundef %34, ptr noundef %35) store i32 %36, ptr %9, align 4 %37 = load i32, ptr %8, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %8, align 4 br label %39 39: ; preds = %28, %21 br label %40 40: ; preds = %39 %41 = load i32, ptr %7, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %7, align 4 %43 = load i32, ptr %7, align 4 %44 = load i32, ptr %5, align 4 %45 = icmp sle i32 %43, %44 br i1 %45, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %46 46: ; preds = %._crit_edge, %3 %47 = load i32, ptr %8, align 4 %48 = add nsw i32 %47, -1 store i32 %48, ptr %8, align 4 ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @visit(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpgk0sibfo.c' source_filename = "/tmp/tmpgk0sibfo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"char:%ld\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"int:%ld\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"float:%ld\0A\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"double:%ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i8, align 1 %2 = alloca i32, align 4 %3 = alloca float, align 4 %4 = alloca double, align 8 %5 = call i32 @printf(ptr noundef @.str, i32 noundef 1) %6 = call i32 @printf(ptr noundef @.str.1, i32 noundef 4) %7 = call i32 @printf(ptr noundef @.str.2, i32 noundef 4) %8 = call i32 @printf(ptr noundef @.str.3, i32 noundef 8) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgk0sibfo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"char:%ld\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"int:%ld\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"float:%ld\0A\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"double:%ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i8, align 1 %2 = alloca i32, align 4 %3 = alloca float, align 4 %4 = alloca double, align 8 %5 = call i32 @printf(ptr noundef @.str, i32 noundef 1) %6 = call i32 @printf(ptr noundef @.str.1, i32 noundef 4) %7 = call i32 @printf(ptr noundef @.str.2, i32 noundef 4) %8 = call i32 @printf(ptr noundef @.str.3, i32 noundef 8) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps40rvl2e.c' source_filename = "/tmp/tmps40rvl2e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"===========================\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @tipMenu(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %4) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps40rvl2e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"===========================\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @tipMenu(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %4) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptlr38mpv.c' source_filename = "/tmp/tmptlr38mpv.c" target datalayout = "e-m:e-p270: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/tmptlr38mpv.c" target datalayout = "e-m:e-p270: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/tmp2wlo96v4.c' source_filename = "/tmp/tmp2wlo96v4.c" target datalayout = "e-m:e-p270: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/tmp2wlo96v4.c" target datalayout = "e-m:e-p270: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/tmplli1wvyh.c' source_filename = "/tmp/tmplli1wvyh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 20, ptr %6, align 8 %13 = load i64, ptr %6, align 8 %14 = call ptr @malloc(i64 noundef %13) store ptr %14, ptr %7, align 8 store i32 0, ptr %8, align 4 br label %15 15: ; preds = %31, %2 %16 = load i32, ptr %8, align 4 %17 = icmp slt i32 %16, 5 br i1 %17, label %18, label %34 18: ; preds = %15 %19 = load ptr, ptr %7, align 8 %20 = load i32, ptr %8, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %19, i64 %21 %23 = load i32, ptr %22, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %23) %25 = load i32, ptr %8, align 4 %26 = add nsw i32 %25, 1 %27 = load ptr, ptr %7, align 8 %28 = load i32, ptr %8, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 store i32 %26, ptr %30, align 4 br label %31 31: ; preds = %18 %32 = load i32, ptr %8, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %8, align 4 br label %15, !llvm.loop !6 34: ; preds = %15 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %9, align 4 br label %36 36: ; preds = %46, %34 %37 = load i32, ptr %9, align 4 %38 = icmp slt i32 %37, 5 br i1 %38, label %39, label %49 39: ; preds = %36 %40 = load ptr, ptr %7, align 8 %41 = load i32, ptr %9, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %40, i64 %42 %44 = load i32, ptr %43, align 4 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %44) br label %46 46: ; preds = %39 %47 = load i32, ptr %9, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %9, align 4 br label %36, !llvm.loop !8 49: ; preds = %36 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %51 = load ptr, ptr %7, align 8 %52 = call i32 @free(ptr noundef %51) %53 = call ptr @calloc(i32 noundef 4, i32 noundef 5) store ptr %53, ptr %10, align 8 store i32 0, ptr %11, align 4 br label %54 54: ; preds = %70, %49 %55 = load i32, ptr %11, align 4 %56 = icmp slt i32 %55, 5 br i1 %56, label %57, label %73 57: ; preds = %54 %58 = load ptr, ptr %10, align 8 %59 = load i32, ptr %11, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %58, i64 %60 %62 = load i32, ptr %61, align 4 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %62) %64 = load i32, ptr %11, align 4 %65 = add nsw i32 %64, 1 %66 = load ptr, ptr %10, align 8 %67 = load i32, ptr %11, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i32, ptr %66, i64 %68 store i32 %65, ptr %69, align 4 br label %70 70: ; preds = %57 %71 = load i32, ptr %11, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %11, align 4 br label %54, !llvm.loop !9 73: ; preds = %54 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %12, align 4 br label %75 75: ; preds = %85, %73 %76 = load i32, ptr %12, align 4 %77 = icmp slt i32 %76, 5 br i1 %77, label %78, label %88 78: ; preds = %75 %79 = load ptr, ptr %10, align 8 %80 = load i32, ptr %12, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i32, ptr %79, i64 %81 %83 = load i32, ptr %82, align 4 %84 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %83) br label %85 85: ; preds = %78 %86 = load i32, ptr %12, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %12, align 4 br label %75, !llvm.loop !10 88: ; preds = %75 %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %90 = load ptr, ptr %10, align 8 %91 = call i32 @free(ptr noundef %90) ret i32 0 } declare ptr @malloc(i64 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @free(ptr noundef) #1 declare ptr @calloc(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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplli1wvyh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 20, ptr %6, align 8 %13 = load i64, ptr %6, align 8 %14 = call ptr @malloc(i64 noundef %13) store ptr %14, ptr %7, align 8 store i32 0, ptr %8, align 4 %15 = load i32, ptr %8, align 4 %16 = icmp slt i32 %15, 5 br i1 %16, label %.lr.ph, label %35 .lr.ph: ; preds = %2 br label %17 17: ; preds = %.lr.ph, %30 %18 = load ptr, ptr %7, align 8 %19 = load i32, ptr %8, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 %22 = load i32, ptr %21, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %22) %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 %26 = load ptr, ptr %7, align 8 %27 = load i32, ptr %8, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %26, i64 %28 store i32 %25, ptr %29, align 4 br label %30 30: ; preds = %17 %31 = load i32, ptr %8, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %8, align 4 %33 = load i32, ptr %8, align 4 %34 = icmp slt i32 %33, 5 br i1 %34, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %35 35: ; preds = %._crit_edge, %2 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %9, align 4 %37 = load i32, ptr %9, align 4 %38 = icmp slt i32 %37, 5 br i1 %38, label %.lr.ph2, label %51 .lr.ph2: ; preds = %35 br label %39 39: ; preds = %.lr.ph2, %46 %40 = load ptr, ptr %7, align 8 %41 = load i32, ptr %9, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %40, i64 %42 %44 = load i32, ptr %43, align 4 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %44) br label %46 46: ; preds = %39 %47 = load i32, ptr %9, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %9, align 4 %49 = load i32, ptr %9, align 4 %50 = icmp slt i32 %49, 5 br i1 %50, label %39, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %46 br label %51 51: ; preds = %._crit_edge3, %35 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %53 = load ptr, ptr %7, align 8 %54 = call i32 @free(ptr noundef %53) %55 = call ptr @calloc(i32 noundef 4, i32 noundef 5) store ptr %55, ptr %10, align 8 store i32 0, ptr %11, align 4 %56 = load i32, ptr %11, align 4 %57 = icmp slt i32 %56, 5 br i1 %57, label %.lr.ph5, label %76 .lr.ph5: ; preds = %51 br label %58 58: ; preds = %.lr.ph5, %71 %59 = load ptr, ptr %10, align 8 %60 = load i32, ptr %11, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i32, ptr %59, i64 %61 %63 = load i32, ptr %62, align 4 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %63) %65 = load i32, ptr %11, align 4 %66 = add nsw i32 %65, 1 %67 = load ptr, ptr %10, align 8 %68 = load i32, ptr %11, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i32, ptr %67, i64 %69 store i32 %66, ptr %70, align 4 br label %71 71: ; preds = %58 %72 = load i32, ptr %11, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %11, align 4 %74 = load i32, ptr %11, align 4 %75 = icmp slt i32 %74, 5 br i1 %75, label %58, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %71 br label %76 76: ; preds = %._crit_edge6, %51 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %12, align 4 %78 = load i32, ptr %12, align 4 %79 = icmp slt i32 %78, 5 br i1 %79, label %.lr.ph8, label %92 .lr.ph8: ; preds = %76 br label %80 80: ; preds = %.lr.ph8, %87 %81 = load ptr, ptr %10, align 8 %82 = load i32, ptr %12, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i32, ptr %81, i64 %83 %85 = load i32, ptr %84, align 4 %86 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %85) br label %87 87: ; preds = %80 %88 = load i32, ptr %12, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %12, align 4 %90 = load i32, ptr %12, align 4 %91 = icmp slt i32 %90, 5 br i1 %91, label %80, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %87 br label %92 92: ; preds = %._crit_edge9, %76 %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %94 = load ptr, ptr %10, align 8 %95 = call i32 @free(ptr noundef %94) ret i32 0 } declare ptr @malloc(i64 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @free(ptr noundef) #1 declare ptr @calloc(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}
; ModuleID = '/tmp/tmp0asqfb8k.c' source_filename = "/tmp/tmp0asqfb8k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isIdentity(ptr noundef %0, i32 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 i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %6, align 4 br label %9 9: ; preds = %41, %2 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %44 13: ; preds = %9 store i32 0, ptr %7, align 4 br label %14 14: ; preds = %37, %13 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %5, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %40 18: ; preds = %14 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp eq i32 %19, %20 br i1 %21, label %22, label %36 22: ; preds = %18 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %6, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %23, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = load i32, ptr %7, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 %31 = load i32, ptr %30, align 4 %32 = icmp eq i32 %31, 1 br i1 %32, label %33, label %36 33: ; preds = %22 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 br label %36 36: ; preds = %33, %22, %18 br label %37 37: ; preds = %36 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %7, align 4 br label %14, !llvm.loop !6 40: ; preds = %14 br label %41 41: ; preds = %40 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %6, align 4 br label %9, !llvm.loop !8 44: ; preds = %9 %45 = load ptr, ptr %4, align 8 %46 = load i32, ptr %5, align 4 %47 = call i64 @isDiagonal(ptr noundef %45, i32 noundef %46) %48 = icmp ne i64 %47, 0 br i1 %48, label %49, label %54 49: ; preds = %44 %50 = load i32, ptr %8, align 4 %51 = load i32, ptr %5, align 4 %52 = icmp eq i32 %50, %51 br i1 %52, label %53, label %54 53: ; preds = %49 store i32 1, ptr %3, align 4 br label %55 54: ; preds = %49, %44 store i32 0, ptr %3, align 4 br label %55 55: ; preds = %54, %53 %56 = load i32, ptr %3, align 4 ret i32 %56 } declare i64 @isDiagonal(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0asqfb8k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isIdentity(ptr noundef %0, i32 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 i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph2, label %48 .lr.ph2: ; preds = %2 br label %12 12: ; preds = %.lr.ph2, %42 store i32 0, ptr %7, align 4 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %5, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %41 .lr.ph: ; preds = %12 br label %16 16: ; preds = %.lr.ph, %35 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp eq i32 %17, %18 br i1 %19, label %20, label %34 20: ; preds = %16 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %6, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds ptr, ptr %21, i64 %23 %25 = load ptr, ptr %24, align 8 %26 = load i32, ptr %7, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %25, i64 %27 %29 = load i32, ptr %28, align 4 %30 = icmp eq i32 %29, 1 br i1 %30, label %31, label %34 31: ; preds = %20 %32 = load i32, ptr %8, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %8, align 4 br label %34 34: ; preds = %31, %20, %16 br label %35 35: ; preds = %34 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %7, align 4 %38 = load i32, ptr %7, align 4 %39 = load i32, ptr %5, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %41 41: ; preds = %._crit_edge, %12 br label %42 42: ; preds = %41 %43 = load i32, ptr %6, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %6, align 4 %45 = load i32, ptr %6, align 4 %46 = load i32, ptr %5, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %12, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %42 br label %48 48: ; preds = %._crit_edge3, %2 %49 = load ptr, ptr %4, align 8 %50 = load i32, ptr %5, align 4 %51 = call i64 @isDiagonal(ptr noundef %49, i32 noundef %50) %52 = icmp ne i64 %51, 0 br i1 %52, label %53, label %58 53: ; preds = %48 %54 = load i32, ptr %8, align 4 %55 = load i32, ptr %5, align 4 %56 = icmp eq i32 %54, %55 br i1 %56, label %57, label %58 57: ; preds = %53 store i32 1, ptr %3, align 4 br label %59 58: ; preds = %53, %48 store i32 0, ptr %3, align 4 br label %59 59: ; preds = %58, %57 %60 = load i32, ptr %3, align 4 ret i32 %60 } declare i64 @isDiagonal(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpxyznctk0.c' source_filename = "/tmp/tmpxyznctk0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [52 x i8] c"\0A\0AEnter a positive number with 1-6 decimal places: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 store i32 0, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load double, ptr %2, align 8 %6 = call i32 @rndTwoDecimals(double noundef %5) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @rndTwoDecimals(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxyznctk0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [52 x i8] c"\0A\0AEnter a positive number with 1-6 decimal places: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 store i32 0, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load double, ptr %2, align 8 %6 = call i32 @rndTwoDecimals(double noundef %5) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @rndTwoDecimals(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqfaw1sbj.c' source_filename = "/tmp/tmpqfaw1sbj.c" target datalayout = "e-m:e-p270: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 @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/tmpqfaw1sbj.c" target datalayout = "e-m:e-p270: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 @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/tmpxtfbittp.c' source_filename = "/tmp/tmpxtfbittp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @white_similarity(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %13 = load ptr, ptr %3, align 8 %14 = call i32 @get_num_pairs(ptr noundef %13) store i32 %14, ptr %5, align 4 %15 = load ptr, ptr %4, align 8 %16 = call i32 @get_num_pairs(ptr noundef %15) store i32 %16, ptr %6, align 4 %17 = load i32, ptr %5, align 4 %18 = load ptr, ptr %3, align 8 %19 = call ptr @letter_pairs(i32 noundef %17, ptr noundef %18) store ptr %19, ptr %7, align 8 %20 = load i32, ptr %6, align 4 %21 = load ptr, ptr %4, align 8 %22 = call ptr @letter_pairs(i32 noundef %20, ptr noundef %21) store ptr %22, ptr %8, align 8 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %23, %24 store i32 %25, ptr %12, align 4 store i32 0, ptr %9, align 4 br label %26 26: ; preds = %85, %2 %27 = load i32, ptr %9, align 4 %28 = load i32, ptr %5, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %88 30: ; preds = %26 store i32 0, ptr %10, align 4 br label %31 31: ; preds = %81, %30 %32 = load i32, ptr %10, align 4 %33 = load i32, ptr %6, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %35, label %84 35: ; preds = %31 %36 = load ptr, ptr %7, align 8 %37 = load i32, ptr %9, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds ptr, ptr %36, i64 %38 %40 = load ptr, ptr %39, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 0 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = load ptr, ptr %8, align 8 %45 = load i32, ptr %10, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds ptr, ptr %44, i64 %46 %48 = load ptr, ptr %47, align 8 %49 = getelementptr inbounds i8, ptr %48, i64 0 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = icmp eq i32 %43, %51 br i1 %52, label %53, label %80 53: ; preds = %35 %54 = load ptr, ptr %7, align 8 %55 = load i32, ptr %9, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds ptr, ptr %54, i64 %56 %58 = load ptr, ptr %57, align 8 %59 = getelementptr inbounds i8, ptr %58, i64 1 %60 = load i8, ptr %59, align 1 %61 = sext i8 %60 to i32 %62 = load ptr, ptr %8, align 8 %63 = load i32, ptr %10, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds ptr, ptr %62, i64 %64 %66 = load ptr, ptr %65, align 8 %67 = getelementptr inbounds i8, ptr %66, i64 1 %68 = load i8, ptr %67, align 1 %69 = sext i8 %68 to i32 %70 = icmp eq i32 %61, %69 br i1 %70, label %71, label %80 71: ; preds = %53 %72 = load i32, ptr %11, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %11, align 4 %74 = load i32, ptr %6, align 4 %75 = add nsw i32 %74, -1 store i32 %75, ptr %6, align 4 %76 = load i32, ptr %6, align 4 %77 = load ptr, ptr %8, align 8 %78 = load i32, ptr %10, align 4 %79 = call i32 @remove_pair_at(i32 noundef %76, ptr noundef %77, i32 noundef %78) br label %84 80: ; preds = %53, %35 br label %81 81: ; preds = %80 %82 = load i32, ptr %10, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %10, align 4 br label %31, !llvm.loop !6 84: ; preds = %71, %31 br label %85 85: ; preds = %84 %86 = load i32, ptr %9, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %9, align 4 br label %26, !llvm.loop !8 88: ; preds = %26 %89 = load i32, ptr %5, align 4 %90 = load ptr, ptr %7, align 8 %91 = call i32 @destroy_letter_pairs(i32 noundef %89, ptr noundef %90) %92 = load i32, ptr %6, align 4 %93 = load ptr, ptr %8, align 8 %94 = call i32 @destroy_letter_pairs(i32 noundef %92, ptr noundef %93) %95 = load i32, ptr %11, align 4 %96 = sitofp i32 %95 to double %97 = fmul double 2.000000e+00, %96 %98 = load i32, ptr %12, align 4 %99 = sitofp i32 %98 to double %100 = fdiv double %97, %99 ret double %100 } declare i32 @get_num_pairs(ptr noundef) #1 declare ptr @letter_pairs(i32 noundef, ptr noundef) #1 declare i32 @remove_pair_at(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @destroy_letter_pairs(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxtfbittp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @white_similarity(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %13 = load ptr, ptr %3, align 8 %14 = call i32 @get_num_pairs(ptr noundef %13) store i32 %14, ptr %5, align 4 %15 = load ptr, ptr %4, align 8 %16 = call i32 @get_num_pairs(ptr noundef %15) store i32 %16, ptr %6, align 4 %17 = load i32, ptr %5, align 4 %18 = load ptr, ptr %3, align 8 %19 = call ptr @letter_pairs(i32 noundef %17, ptr noundef %18) store ptr %19, ptr %7, align 8 %20 = load i32, ptr %6, align 4 %21 = load ptr, ptr %4, align 8 %22 = call ptr @letter_pairs(i32 noundef %20, ptr noundef %21) store ptr %22, ptr %8, align 8 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %23, %24 store i32 %25, ptr %12, align 4 store i32 0, ptr %9, align 4 %26 = load i32, ptr %9, align 4 %27 = load i32, ptr %5, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %.lr.ph1, label %92 .lr.ph1: ; preds = %2 br label %29 29: ; preds = %.lr.ph1, %86 store i32 0, ptr %10, align 4 %30 = load i32, ptr %10, align 4 %31 = load i32, ptr %6, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %29 br label %33 33: ; preds = %.lr.ph, %79 %34 = load ptr, ptr %7, align 8 %35 = load i32, ptr %9, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds ptr, ptr %34, i64 %36 %38 = load ptr, ptr %37, align 8 %39 = getelementptr inbounds i8, ptr %38, i64 0 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = load ptr, ptr %8, align 8 %43 = load i32, ptr %10, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds ptr, ptr %42, i64 %44 %46 = load ptr, ptr %45, align 8 %47 = getelementptr inbounds i8, ptr %46, i64 0 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp eq i32 %41, %49 br i1 %50, label %51, label %78 51: ; preds = %33 %52 = load ptr, ptr %7, align 8 %53 = load i32, ptr %9, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds ptr, ptr %52, i64 %54 %56 = load ptr, ptr %55, align 8 %57 = getelementptr inbounds i8, ptr %56, i64 1 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = load ptr, ptr %8, align 8 %61 = load i32, ptr %10, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds ptr, ptr %60, i64 %62 %64 = load ptr, ptr %63, align 8 %65 = getelementptr inbounds i8, ptr %64, i64 1 %66 = load i8, ptr %65, align 1 %67 = sext i8 %66 to i32 %68 = icmp eq i32 %59, %67 br i1 %68, label %69, label %78 69: ; preds = %51 %70 = load i32, ptr %11, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %11, align 4 %72 = load i32, ptr %6, align 4 %73 = add nsw i32 %72, -1 store i32 %73, ptr %6, align 4 %74 = load i32, ptr %6, align 4 %75 = load ptr, ptr %8, align 8 %76 = load i32, ptr %10, align 4 %77 = call i32 @remove_pair_at(i32 noundef %74, ptr noundef %75, i32 noundef %76) br label %85 78: ; preds = %51, %33 br label %79 79: ; preds = %78 %80 = load i32, ptr %10, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %10, align 4 %82 = load i32, ptr %10, align 4 %83 = load i32, ptr %6, align 4 %84 = icmp slt i32 %82, %83 br i1 %84, label %33, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %79 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %29 br label %85 85: ; preds = %.loopexit, %69 br label %86 86: ; preds = %85 %87 = load i32, ptr %9, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %9, align 4 %89 = load i32, ptr %9, align 4 %90 = load i32, ptr %5, align 4 %91 = icmp slt i32 %89, %90 br i1 %91, label %29, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %86 br label %92 92: ; preds = %._crit_edge, %2 %93 = load i32, ptr %5, align 4 %94 = load ptr, ptr %7, align 8 %95 = call i32 @destroy_letter_pairs(i32 noundef %93, ptr noundef %94) %96 = load i32, ptr %6, align 4 %97 = load ptr, ptr %8, align 8 %98 = call i32 @destroy_letter_pairs(i32 noundef %96, ptr noundef %97) %99 = load i32, ptr %11, align 4 %100 = sitofp i32 %99 to double %101 = fmul double 2.000000e+00, %100 %102 = load i32, ptr %12, align 4 %103 = sitofp i32 %102 to double %104 = fdiv double %101, %103 ret double %104 } declare i32 @get_num_pairs(ptr noundef) #1 declare ptr @letter_pairs(i32 noundef, ptr noundef) #1 declare i32 @remove_pair_at(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @destroy_letter_pairs(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp6iksaql7.c' source_filename = "/tmp/tmp6iksaql7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"impossible\0A\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"possible\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @circlecity() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %9 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %1) br label %10 10: ; preds = %50, %0 %11 = load i32, ptr %1, align 4 %12 = add nsw i32 %11, -1 store i32 %12, ptr %1, align 4 %13 = icmp ne i32 %11, 0 br i1 %13, label %14, label %51 14: ; preds = %10 %15 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %16 16: ; preds = %37, %14 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %2, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %41 20: ; preds = %16 %21 = load i32, ptr %2, align 4 %22 = load i32, ptr %6, align 4 %23 = sub nsw i32 %21, %22 store i32 %23, ptr %7, align 4 %24 = load i32, ptr %7, align 4 %25 = call i32 @sqrt(i32 noundef %24) store i32 %25, ptr %8, align 4 %26 = load i32, ptr %8, align 4 %27 = load i32, ptr %8, align 4 %28 = mul nsw i32 %26, %27 %29 = load i32, ptr %7, align 4 %30 = icmp eq i32 %28, %29 br i1 %30, label %31, label %34 31: ; preds = %20 %32 = load i32, ptr %4, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %4, align 4 br label %34 34: ; preds = %31, %20 %35 = load i32, ptr %5, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %5, align 4 br label %37 37: ; preds = %34 %38 = load i32, ptr %5, align 4 %39 = load i32, ptr %5, align 4 %40 = mul nsw i32 %38, %39 store i32 %40, ptr %6, align 4 br label %16, !llvm.loop !6 41: ; preds = %16 %42 = load i32, ptr %3, align 4 %43 = load i32, ptr %4, align 4 %44 = mul nsw i32 %43, 4 %45 = icmp slt i32 %42, %44 br i1 %45, label %46, label %48 46: ; preds = %41 %47 = call i32 @printf(ptr noundef @.str.2) br label %50 48: ; preds = %41 %49 = call i32 @printf(ptr noundef @.str.3) br label %50 50: ; preds = %48, %46 br label %10, !llvm.loop !8 51: ; preds = %10 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @sqrt(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6iksaql7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"impossible\0A\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"possible\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @circlecity() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %9 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %1) %10 = load i32, ptr %1, align 4 %11 = add nsw i32 %10, -1 store i32 %11, ptr %1, align 4 %12 = icmp ne i32 %10, 0 br i1 %12, label %.lr.ph2, label %55 .lr.ph2: ; preds = %0 br label %13 13: ; preds = %.lr.ph2, %51 %14 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %42 .lr.ph: ; preds = %13 br label %18 18: ; preds = %.lr.ph, %35 %19 = load i32, ptr %2, align 4 %20 = load i32, ptr %6, align 4 %21 = sub nsw i32 %19, %20 store i32 %21, ptr %7, align 4 %22 = load i32, ptr %7, align 4 %23 = call i32 @sqrt(i32 noundef %22) store i32 %23, ptr %8, align 4 %24 = load i32, ptr %8, align 4 %25 = load i32, ptr %8, align 4 %26 = mul nsw i32 %24, %25 %27 = load i32, ptr %7, align 4 %28 = icmp eq i32 %26, %27 br i1 %28, label %29, label %32 29: ; preds = %18 %30 = load i32, ptr %4, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %4, align 4 br label %32 32: ; preds = %29, %18 %33 = load i32, ptr %5, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %5, align 4 br label %35 35: ; preds = %32 %36 = load i32, ptr %5, align 4 %37 = load i32, ptr %5, align 4 %38 = mul nsw i32 %36, %37 store i32 %38, ptr %6, align 4 %39 = load i32, ptr %6, align 4 %40 = load i32, ptr %2, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %42 42: ; preds = %._crit_edge, %13 %43 = load i32, ptr %3, align 4 %44 = load i32, ptr %4, align 4 %45 = mul nsw i32 %44, 4 %46 = icmp slt i32 %43, %45 br i1 %46, label %47, label %49 47: ; preds = %42 %48 = call i32 @printf(ptr noundef @.str.2) br label %51 49: ; preds = %42 %50 = call i32 @printf(ptr noundef @.str.3) br label %51 51: ; preds = %49, %47 %52 = load i32, ptr %1, align 4 %53 = add nsw i32 %52, -1 store i32 %53, ptr %1, align 4 %54 = icmp ne i32 %52, 0 br i1 %54, label %13, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %51 br label %55 55: ; preds = %._crit_edge3, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @sqrt(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpgbl_vp9g.c' source_filename = "/tmp/tmpgbl_vp9g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buildrevtab(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %14, %1 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 256 br i1 %6, label %7, label %17 7: ; preds = %4 %8 = load i32, ptr %3, align 4 %9 = call zeroext i8 @bitreverse(i32 noundef %8) %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %3, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 store i8 %9, ptr %13, align 1 br label %14 14: ; preds = %7 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 br label %4, !llvm.loop !6 17: ; preds = %4 ret void } declare zeroext i8 @bitreverse(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/tmpgbl_vp9g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buildrevtab(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp slt i32 %4, 256 br i1 %5, label %.lr.ph, label %18 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %13 %7 = load i32, ptr %3, align 4 %8 = call zeroext i8 @bitreverse(i32 noundef %7) %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr %3, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 store i8 %8, ptr %12, align 1 br label %13 13: ; preds = %6 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %3, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp slt i32 %16, 256 br i1 %17, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %18 18: ; preds = %._crit_edge, %1 ret void } declare zeroext i8 @bitreverse(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/tmplq0dh39s.c' source_filename = "/tmp/tmplq0dh39s.c" target datalayout = "e-m:e-p270: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.ttyent = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @__getttynam(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = call i32 (...) @__setttyent() br label %5 5: ; preds = %16, %1 %6 = call ptr (...) @__getttyent() store ptr %6, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %17 8: ; preds = %5 %9 = load ptr, ptr %2, align 8 %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds %struct.ttyent, ptr %10, i32 0, i32 0 %12 = load i32, ptr %11, align 4 %13 = call i32 @strcmp(ptr noundef %9, i32 noundef %12) %14 = icmp ne i32 %13, 0 br i1 %14, label %16, label %15 15: ; preds = %8 br label %17 16: ; preds = %8 br label %5, !llvm.loop !6 17: ; preds = %15, %5 %18 = call i32 (...) @__endttyent() %19 = load ptr, ptr %3, align 8 ret ptr %19 } declare i32 @__setttyent(...) #1 declare ptr @__getttyent(...) #1 declare i32 @strcmp(ptr noundef, i32 noundef) #1 declare i32 @__endttyent(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmplq0dh39s.c" target datalayout = "e-m:e-p270: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.ttyent = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @__getttynam(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = call i32 (...) @__setttyent() %5 = call ptr (...) @__getttyent() store ptr %5, ptr %3, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %1 br label %10 7: ; preds = %10 %8 = call ptr (...) @__getttyent() store ptr %8, ptr %3, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %..loopexit_crit_edge, !llvm.loop !6 10: ; preds = %.lr.ph, %7 %11 = load ptr, ptr %2, align 8 %12 = load ptr, ptr %3, align 8 %13 = getelementptr inbounds %struct.ttyent, ptr %12, i32 0, i32 0 %14 = load i32, ptr %13, align 4 %15 = call i32 @strcmp(ptr noundef %11, i32 noundef %14) %16 = icmp ne i32 %15, 0 br i1 %16, label %7, label %17 17: ; preds = %10 br label %18 ..loopexit_crit_edge: ; preds = %7 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %1 br label %18 18: ; preds = %.loopexit, %17 %19 = call i32 (...) @__endttyent() %20 = load ptr, ptr %3, align 8 ret ptr %20 } declare i32 @__setttyent(...) #1 declare ptr @__getttyent(...) #1 declare i32 @strcmp(ptr noundef, i32 noundef) #1 declare i32 @__endttyent(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmplq93cnw4.c' source_filename = "/tmp/tmplq93cnw4.c" target datalayout = "e-m:e-p270: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/tmplq93cnw4.c" target datalayout = "e-m:e-p270: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/tmpmlyw8ms_.c' source_filename = "/tmp/tmpmlyw8ms_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_LIGHTING = dso_local global i32 0, align 4 @GL_QUADS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @drawFloor() #0 { %1 = load i32, ptr @GL_LIGHTING, align 4 %2 = call i32 @glDisable(i32 noundef %1) %3 = load i32, ptr @GL_QUADS, align 4 %4 = call i32 @glBegin(i32 noundef %3) %5 = call i32 @glVertex3f(double noundef -1.800000e+01, double noundef 0.000000e+00, double noundef 2.700000e+01) %6 = call i32 @glVertex3f(double noundef 2.700000e+01, double noundef 0.000000e+00, double noundef 2.700000e+01) %7 = call i32 @glVertex3f(double noundef 2.700000e+01, double noundef 0.000000e+00, double noundef -1.800000e+01) %8 = call i32 @glVertex3f(double noundef -1.800000e+01, double noundef 0.000000e+00, double noundef -1.800000e+01) %9 = call i32 (...) @glEnd() %10 = load i32, ptr @GL_LIGHTING, align 4 %11 = call i32 @glEnable(i32 noundef %10) ret void } declare i32 @glDisable(i32 noundef) #1 declare i32 @glBegin(i32 noundef) #1 declare i32 @glVertex3f(double noundef, double noundef, double noundef) #1 declare i32 @glEnd(...) #1 declare i32 @glEnable(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/tmpmlyw8ms_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_LIGHTING = dso_local global i32 0, align 4 @GL_QUADS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @drawFloor() #0 { %1 = load i32, ptr @GL_LIGHTING, align 4 %2 = call i32 @glDisable(i32 noundef %1) %3 = load i32, ptr @GL_QUADS, align 4 %4 = call i32 @glBegin(i32 noundef %3) %5 = call i32 @glVertex3f(double noundef -1.800000e+01, double noundef 0.000000e+00, double noundef 2.700000e+01) %6 = call i32 @glVertex3f(double noundef 2.700000e+01, double noundef 0.000000e+00, double noundef 2.700000e+01) %7 = call i32 @glVertex3f(double noundef 2.700000e+01, double noundef 0.000000e+00, double noundef -1.800000e+01) %8 = call i32 @glVertex3f(double noundef -1.800000e+01, double noundef 0.000000e+00, double noundef -1.800000e+01) %9 = call i32 (...) @glEnd() %10 = load i32, ptr @GL_LIGHTING, align 4 %11 = call i32 @glEnable(i32 noundef %10) ret void } declare i32 @glDisable(i32 noundef) #1 declare i32 @glBegin(i32 noundef) #1 declare i32 @glVertex3f(double noundef, double noundef, double noundef) #1 declare i32 @glEnd(...) #1 declare i32 @glEnable(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/tmp5qroiu7z.c' source_filename = "/tmp/tmp5qroiu7z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"Please enter the numbers (>= 0).\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"The sorted list is:\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [8 x i32], align 16 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %2, align 4 br label %7 7: ; preds = %27, %0 %8 = load i32, ptr %2, align 4 %9 = icmp slt i32 %8, 8 br i1 %9, label %10, label %30 10: ; preds = %7 %11 = load i32, ptr %2, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 %12 %14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %13) %15 = load i32, ptr %2, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 %16 %18 = load i32, ptr %17, align 4 %19 = load i32, ptr %3, align 4 %20 = icmp sgt i32 %18, %19 br i1 %20, label %21, label %26 21: ; preds = %10 %22 = load i32, ptr %2, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 %23 %25 = load i32, ptr %24, align 4 store i32 %25, ptr %3, align 4 br label %26 26: ; preds = %21, %10 br label %27 27: ; preds = %26 %28 = load i32, ptr %2, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %2, align 4 br label %7, !llvm.loop !6 30: ; preds = %7 %31 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 0 %32 = load i32, ptr %3, align 4 %33 = call ptr @countingSort(ptr noundef %31, i32 noundef %32) store ptr %33, ptr %5, align 8 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %2, align 4 br label %35 35: ; preds = %61, %30 %36 = load i32, ptr %2, align 4 %37 = icmp sle i32 %36, 8 br i1 %37, label %38, label %64 38: ; preds = %35 %39 = load ptr, ptr %5, align 8 %40 = load i32, ptr %2, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 %43 = load i32, ptr %42, align 4 %44 = icmp sge i32 %43, 0 br i1 %44, label %45, label %60 45: ; preds = %38 %46 = load ptr, ptr %5, align 8 %47 = load i32, ptr %2, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 %50 = load i32, ptr %49, align 4 %51 = load i32, ptr %3, align 4 %52 = icmp sle i32 %50, %51 br i1 %52, label %53, label %60 53: ; preds = %45 %54 = load ptr, ptr %5, align 8 %55 = load i32, ptr %2, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i32, ptr %54, i64 %56 %58 = load i32, ptr %57, align 4 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %58) br label %60 60: ; preds = %53, %45, %38 br label %61 61: ; preds = %60 %62 = load i32, ptr %2, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %2, align 4 br label %35, !llvm.loop !8 64: ; preds = %35 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %66 = load ptr, ptr %5, align 8 %67 = call i32 @free(ptr noundef %66) %68 = load i32, ptr %1, align 4 ret i32 %68 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @countingSort(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5qroiu7z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"Please enter the numbers (>= 0).\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"The sorted list is:\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [8 x i32], align 16 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %7, 8 br i1 %8, label %.lr.ph, label %31 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %26 %10 = load i32, ptr %2, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 %11 %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %12) %14 = load i32, ptr %2, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 %15 %17 = load i32, ptr %16, align 4 %18 = load i32, ptr %3, align 4 %19 = icmp sgt i32 %17, %18 br i1 %19, label %20, label %25 20: ; preds = %9 %21 = load i32, ptr %2, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 %22 %24 = load i32, ptr %23, align 4 store i32 %24, ptr %3, align 4 br label %25 25: ; preds = %20, %9 br label %26 26: ; preds = %25 %27 = load i32, ptr %2, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %2, align 4 %29 = load i32, ptr %2, align 4 %30 = icmp slt i32 %29, 8 br i1 %30, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %31 31: ; preds = %._crit_edge, %0 %32 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 0 %33 = load i32, ptr %3, align 4 %34 = call ptr @countingSort(ptr noundef %32, i32 noundef %33) store ptr %34, ptr %5, align 8 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %2, align 4 %36 = load i32, ptr %2, align 4 %37 = icmp sle i32 %36, 8 br i1 %37, label %.lr.ph2, label %66 .lr.ph2: ; preds = %31 br label %38 38: ; preds = %.lr.ph2, %61 %39 = load ptr, ptr %5, align 8 %40 = load i32, ptr %2, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 %43 = load i32, ptr %42, align 4 %44 = icmp sge i32 %43, 0 br i1 %44, label %45, label %60 45: ; preds = %38 %46 = load ptr, ptr %5, align 8 %47 = load i32, ptr %2, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 %50 = load i32, ptr %49, align 4 %51 = load i32, ptr %3, align 4 %52 = icmp sle i32 %50, %51 br i1 %52, label %53, label %60 53: ; preds = %45 %54 = load ptr, ptr %5, align 8 %55 = load i32, ptr %2, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i32, ptr %54, i64 %56 %58 = load i32, ptr %57, align 4 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %58) br label %60 60: ; preds = %53, %45, %38 br label %61 61: ; preds = %60 %62 = load i32, ptr %2, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %2, align 4 %64 = load i32, ptr %2, align 4 %65 = icmp sle i32 %64, 8 br i1 %65, label %38, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %61 br label %66 66: ; preds = %._crit_edge3, %31 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %68 = load ptr, ptr %5, align 8 %69 = call i32 @free(ptr noundef %68) %70 = load i32, ptr %1, align 4 ret i32 %70 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @countingSort(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpwpo1oxm3.c' source_filename = "/tmp/tmpwpo1oxm3.c" target datalayout = "e-m:e-p270: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/tmpwpo1oxm3.c" target datalayout = "e-m:e-p270: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/tmpp9x55ky1.c' source_filename = "/tmp/tmpp9x55ky1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rgb565interp2(i32 noundef %0, i32 noundef %1) #0 { %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 %8 = alloca i8, align 1 %9 = alloca i8, align 1 %10 = alloca i8, align 1 %11 = alloca i8, align 1 %12 = alloca i8, align 1 %13 = alloca i8, align 1 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %14 = load i32, ptr %3, align 4 %15 = and i32 %14, 63488 %16 = ashr i32 %15, 11 %17 = trunc i32 %16 to i8 store i8 %17, ptr %8, align 1 %18 = load i32, ptr %3, align 4 %19 = and i32 %18, 2016 %20 = ashr i32 %19, 5 %21 = trunc i32 %20 to i8 store i8 %21, ptr %9, align 1 %22 = load i32, ptr %3, align 4 %23 = and i32 %22, 31 %24 = trunc i32 %23 to i8 store i8 %24, ptr %10, align 1 %25 = load i32, ptr %4, align 4 %26 = and i32 %25, 63488 %27 = ashr i32 %26, 11 %28 = trunc i32 %27 to i8 store i8 %28, ptr %11, align 1 %29 = load i32, ptr %4, align 4 %30 = and i32 %29, 2016 %31 = ashr i32 %30, 5 %32 = trunc i32 %31 to i8 store i8 %32, ptr %12, align 1 %33 = load i32, ptr %4, align 4 %34 = and i32 %33, 31 %35 = trunc i32 %34 to i8 store i8 %35, ptr %13, align 1 %36 = load i8, ptr %8, align 1 %37 = sext i8 %36 to i32 %38 = load i8, ptr %11, align 1 %39 = sext i8 %38 to i32 %40 = add nsw i32 %37, %39 %41 = sdiv i32 %40, 2 %42 = trunc i32 %41 to i8 store i8 %42, ptr %5, align 1 %43 = load i8, ptr %9, align 1 %44 = sext i8 %43 to i32 %45 = load i8, ptr %12, align 1 %46 = sext i8 %45 to i32 %47 = add nsw i32 %44, %46 %48 = sdiv i32 %47, 2 %49 = trunc i32 %48 to i8 store i8 %49, ptr %6, align 1 %50 = load i8, ptr %10, align 1 %51 = sext i8 %50 to i32 %52 = load i8, ptr %13, align 1 %53 = sext i8 %52 to i32 %54 = add nsw i32 %51, %53 %55 = sdiv i32 %54, 2 %56 = trunc i32 %55 to i8 store i8 %56, ptr %7, align 1 %57 = load i8, ptr %5, align 1 %58 = sext i8 %57 to i32 %59 = shl i32 %58, 11 %60 = load i8, ptr %6, align 1 %61 = sext i8 %60 to i32 %62 = shl i32 %61, 5 %63 = or i32 %59, %62 %64 = load i8, ptr %7, align 1 %65 = sext i8 %64 to i32 %66 = or i32 %63, %65 ret i32 %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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp9x55ky1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rgb565interp2(i32 noundef %0, i32 noundef %1) #0 { %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 %8 = alloca i8, align 1 %9 = alloca i8, align 1 %10 = alloca i8, align 1 %11 = alloca i8, align 1 %12 = alloca i8, align 1 %13 = alloca i8, align 1 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %14 = load i32, ptr %3, align 4 %15 = and i32 %14, 63488 %16 = ashr i32 %15, 11 %17 = trunc i32 %16 to i8 store i8 %17, ptr %8, align 1 %18 = load i32, ptr %3, align 4 %19 = and i32 %18, 2016 %20 = ashr i32 %19, 5 %21 = trunc i32 %20 to i8 store i8 %21, ptr %9, align 1 %22 = load i32, ptr %3, align 4 %23 = and i32 %22, 31 %24 = trunc i32 %23 to i8 store i8 %24, ptr %10, align 1 %25 = load i32, ptr %4, align 4 %26 = and i32 %25, 63488 %27 = ashr i32 %26, 11 %28 = trunc i32 %27 to i8 store i8 %28, ptr %11, align 1 %29 = load i32, ptr %4, align 4 %30 = and i32 %29, 2016 %31 = ashr i32 %30, 5 %32 = trunc i32 %31 to i8 store i8 %32, ptr %12, align 1 %33 = load i32, ptr %4, align 4 %34 = and i32 %33, 31 %35 = trunc i32 %34 to i8 store i8 %35, ptr %13, align 1 %36 = load i8, ptr %8, align 1 %37 = sext i8 %36 to i32 %38 = load i8, ptr %11, align 1 %39 = sext i8 %38 to i32 %40 = add nsw i32 %37, %39 %41 = sdiv i32 %40, 2 %42 = trunc i32 %41 to i8 store i8 %42, ptr %5, align 1 %43 = load i8, ptr %9, align 1 %44 = sext i8 %43 to i32 %45 = load i8, ptr %12, align 1 %46 = sext i8 %45 to i32 %47 = add nsw i32 %44, %46 %48 = sdiv i32 %47, 2 %49 = trunc i32 %48 to i8 store i8 %49, ptr %6, align 1 %50 = load i8, ptr %10, align 1 %51 = sext i8 %50 to i32 %52 = load i8, ptr %13, align 1 %53 = sext i8 %52 to i32 %54 = add nsw i32 %51, %53 %55 = sdiv i32 %54, 2 %56 = trunc i32 %55 to i8 store i8 %56, ptr %7, align 1 %57 = load i8, ptr %5, align 1 %58 = sext i8 %57 to i32 %59 = shl i32 %58, 11 %60 = load i8, ptr %6, align 1 %61 = sext i8 %60 to i32 %62 = shl i32 %61, 5 %63 = or i32 %59, %62 %64 = load i8, ptr %7, align 1 %65 = sext i8 %64 to i32 %66 = or i32 %63, %65 ret i32 %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"}
; ModuleID = '/tmp/tmpmc76wkuj.c' source_filename = "/tmp/tmpmc76wkuj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BsplnDWght1(i64 noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca i64, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 store i64 %0, ptr %4, align 8 store double %1, ptr %5, align 8 %7 = load i64, ptr %4, align 8 %8 = sitofp i64 %7 to double %9 = load double, ptr %5, align 8 %10 = fsub double %9, %8 store double %10, ptr %5, align 8 %11 = load double, ptr %5, align 8 %12 = fcmp oeq double %11, 0.000000e+00 br i1 %12, label %13, label %14 13: ; preds = %2 store double 0.000000e+00, ptr %3, align 8 br label %36 14: ; preds = %2 %15 = load double, ptr %5, align 8 %16 = call double @llvm.fabs.f64(double %15) store double %16, ptr %6, align 8 %17 = load double, ptr %6, align 8 %18 = fcmp olt double %17, 1.000000e+00 br i1 %18, label %19, label %20 19: ; preds = %14 store double -1.000000e+00, ptr %6, align 8 br label %26 20: ; preds = %14 %21 = load double, ptr %6, align 8 %22 = fcmp oeq double %21, 1.000000e+00 br i1 %22, label %23, label %24 23: ; preds = %20 store double -5.000000e-01, ptr %6, align 8 br label %25 24: ; preds = %20 store double 0.000000e+00, ptr %3, align 8 br label %36 25: ; preds = %23 br label %26 26: ; preds = %25, %19 %27 = load double, ptr %5, align 8 %28 = fcmp ogt double %27, 0.000000e+00 br i1 %28, label %29, label %31 29: ; preds = %26 %30 = load double, ptr %6, align 8 br label %34 31: ; preds = %26 %32 = load double, ptr %6, align 8 %33 = fneg double %32 br label %34 34: ; preds = %31, %29 %35 = phi double [ %30, %29 ], [ %33, %31 ] store double %35, ptr %3, align 8 br label %36 36: ; preds = %34, %24, %13 %37 = load double, ptr %3, align 8 ret double %37 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmc76wkuj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BsplnDWght1(i64 noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca i64, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 store i64 %0, ptr %4, align 8 store double %1, ptr %5, align 8 %7 = load i64, ptr %4, align 8 %8 = sitofp i64 %7 to double %9 = load double, ptr %5, align 8 %10 = fsub double %9, %8 store double %10, ptr %5, align 8 %11 = load double, ptr %5, align 8 %12 = fcmp oeq double %11, 0.000000e+00 br i1 %12, label %13, label %14 13: ; preds = %2 store double 0.000000e+00, ptr %3, align 8 br label %36 14: ; preds = %2 %15 = load double, ptr %5, align 8 %16 = call double @llvm.fabs.f64(double %15) store double %16, ptr %6, align 8 %17 = load double, ptr %6, align 8 %18 = fcmp olt double %17, 1.000000e+00 br i1 %18, label %19, label %20 19: ; preds = %14 store double -1.000000e+00, ptr %6, align 8 br label %26 20: ; preds = %14 %21 = load double, ptr %6, align 8 %22 = fcmp oeq double %21, 1.000000e+00 br i1 %22, label %23, label %24 23: ; preds = %20 store double -5.000000e-01, ptr %6, align 8 br label %25 24: ; preds = %20 store double 0.000000e+00, ptr %3, align 8 br label %36 25: ; preds = %23 br label %26 26: ; preds = %25, %19 %27 = load double, ptr %5, align 8 %28 = fcmp ogt double %27, 0.000000e+00 br i1 %28, label %29, label %31 29: ; preds = %26 %30 = load double, ptr %6, align 8 br label %34 31: ; preds = %26 %32 = load double, ptr %6, align 8 %33 = fneg double %32 br label %34 34: ; preds = %31, %29 %35 = phi double [ %30, %29 ], [ %33, %31 ] store double %35, ptr %3, align 8 br label %36 36: ; preds = %34, %24, %13 %37 = load double, ptr %3, align 8 ret double %37 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpji5t6dpd.c' source_filename = "/tmp/tmpji5t6dpd.c" target datalayout = "e-m:e-p270: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/tmpji5t6dpd.c" target datalayout = "e-m:e-p270: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/tmph2mfvfkd.c' source_filename = "/tmp/tmph2mfvfkd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [48 x i8] c"The sum of subarray with the largest sum is: %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 ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %7 = load i32, ptr %2, align 4 %8 = zext i32 %7 to i64 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %3, align 8 %10 = alloca i32, i64 %8, align 16 store i64 %8, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %11 11: ; preds = %20, %0 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %23 15: ; preds = %11 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %10, i64 %17 %19 = call i32 @scanf(ptr noundef @.str, ptr noundef %18) br label %20 20: ; preds = %15 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %5, align 4 br label %11, !llvm.loop !6 23: ; preds = %11 %24 = load i32, ptr %2, align 4 %25 = call i32 @circular_subarray_sum(ptr noundef %10, i32 noundef %24) %26 = call i32 @printf(ptr noundef @.str.1, i32 noundef %25) store i32 0, ptr %1, align 4 %27 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %27) %28 = load i32, ptr %1, align 4 ret i32 %28 } 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, i32 noundef) #1 declare i32 @circular_subarray_sum(ptr noundef, i32 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph2mfvfkd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [48 x i8] c"The sum of subarray with the largest sum is: %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 ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %7 = load i32, ptr %2, align 4 %8 = zext i32 %7 to i64 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %3, align 8 %10 = alloca i32, i64 %8, align 16 store i64 %8, ptr %4, align 8 store i32 0, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %25 .lr.ph: ; preds = %0 br label %14 14: ; preds = %.lr.ph, %19 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i32, ptr %10, i64 %16 %18 = call i32 @scanf(ptr noundef @.str, ptr noundef %17) br label %19 19: ; preds = %14 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %5, align 4 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %2, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %25 25: ; preds = %._crit_edge, %0 %26 = load i32, ptr %2, align 4 %27 = call i32 @circular_subarray_sum(ptr noundef %10, i32 noundef %26) %28 = call i32 @printf(ptr noundef @.str.1, i32 noundef %27) store i32 0, ptr %1, align 4 %29 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %29) %30 = load i32, ptr %1, align 4 ret i32 %30 } 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, i32 noundef) #1 declare i32 @circular_subarray_sum(ptr noundef, i32 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"}
; ModuleID = '/tmp/tmp1cuk5n_s.c' source_filename = "/tmp/tmp1cuk5n_s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [22 x i8] c"\0ATempoServico = %f \0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @DeterminarTempoServico(float noundef %0, float noundef %1, float noundef %2) #0 { %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 store float %0, ptr %4, align 4 store float %1, ptr %5, align 4 store float %2, ptr %6, align 4 %9 = call float (...) @rand() %10 = load i64, ptr @RAND_MAX, align 8 %11 = sitofp i64 %10 to float %12 = fdiv float %9, %11 store float %12, ptr %7, align 4 %13 = load float, ptr %6, align 4 %14 = load float, ptr %4, align 4 %15 = fadd float %13, %14 %16 = load float, ptr %5, align 4 %17 = load float, ptr %4, align 4 %18 = fsub float %16, %17 %19 = load float, ptr %7, align 4 %20 = call float @llvm.fmuladd.f32(float %18, float %19, float %15) store float %20, ptr %8, align 4 %21 = load float, ptr %8, align 4 %22 = call i32 @printf(ptr noundef @.str, float noundef %21) %23 = load float, ptr %8, align 4 ret float %23 } declare float @rand(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare i32 @printf(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1cuk5n_s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [22 x i8] c"\0ATempoServico = %f \0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @DeterminarTempoServico(float noundef %0, float noundef %1, float noundef %2) #0 { %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 store float %0, ptr %4, align 4 store float %1, ptr %5, align 4 store float %2, ptr %6, align 4 %9 = call float (...) @rand() %10 = load i64, ptr @RAND_MAX, align 8 %11 = sitofp i64 %10 to float %12 = fdiv float %9, %11 store float %12, ptr %7, align 4 %13 = load float, ptr %6, align 4 %14 = load float, ptr %4, align 4 %15 = fadd float %13, %14 %16 = load float, ptr %5, align 4 %17 = load float, ptr %4, align 4 %18 = fsub float %16, %17 %19 = load float, ptr %7, align 4 %20 = call float @llvm.fmuladd.f32(float %18, float %19, float %15) store float %20, ptr %8, align 4 %21 = load float, ptr %8, align 4 %22 = call i32 @printf(ptr noundef @.str, float noundef %21) %23 = load float, ptr %8, align 4 ret float %23 } declare float @rand(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare i32 @printf(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5q8508oc.c' source_filename = "/tmp/tmp5q8508oc.c" target datalayout = "e-m:e-p270: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 [16 x i8] c"autologout: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @bailout(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr @stderr, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6) %8 = load i32, ptr %4, align 4 %9 = call i32 @exit(i32 noundef %8) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5q8508oc.c" target datalayout = "e-m:e-p270: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 [16 x i8] c"autologout: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @bailout(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr @stderr, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6) %8 = load i32, ptr %4, align 4 %9 = call i32 @exit(i32 noundef %8) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5ssbqpyb.c' source_filename = "/tmp/tmp5ssbqpyb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [73 x i8] c"Enter thresholds for A, B, C, D\0Ain that order, decreasing percentages > \00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%f%f%f%f\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"Thank you. Now enter student score (percent) >\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"Student has an A grade\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"Student has an B grade\00", align 1 @.str.6 = private unnamed_addr constant [23 x i8] c"Student has an C grade\00", align 1 @.str.7 = private unnamed_addr constant [23 x i8] c"Student has an D grade\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 store i32 0, ptr %1, align 4 %7 = call i32 @printf(ptr noundef @.str) %8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) %9 = call i32 @printf(ptr noundef @.str.2) %10 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %6) %11 = load float, ptr %6, align 4 %12 = load float, ptr %2, align 4 %13 = fcmp ogt float %11, %12 br i1 %13, label %14, label %16 14: ; preds = %0 %15 = call i32 @printf(ptr noundef @.str.4) br label %32 16: ; preds = %0 %17 = load float, ptr %6, align 4 %18 = load float, ptr %3, align 4 %19 = fcmp oge float %17, %18 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = call i32 @printf(ptr noundef @.str.5) br label %31 22: ; preds = %16 %23 = load float, ptr %6, align 4 %24 = load float, ptr %4, align 4 %25 = fcmp oge float %23, %24 br i1 %25, label %26, label %28 26: ; preds = %22 %27 = call i32 @printf(ptr noundef @.str.6) br label %30 28: ; preds = %22 %29 = call i32 @printf(ptr noundef @.str.7) br label %30 30: ; preds = %28, %26 br label %31 31: ; preds = %30, %20 br label %32 32: ; preds = %31, %14 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5ssbqpyb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [73 x i8] c"Enter thresholds for A, B, C, D\0Ain that order, decreasing percentages > \00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%f%f%f%f\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"Thank you. Now enter student score (percent) >\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"Student has an A grade\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"Student has an B grade\00", align 1 @.str.6 = private unnamed_addr constant [23 x i8] c"Student has an C grade\00", align 1 @.str.7 = private unnamed_addr constant [23 x i8] c"Student has an D grade\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 store i32 0, ptr %1, align 4 %7 = call i32 @printf(ptr noundef @.str) %8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) %9 = call i32 @printf(ptr noundef @.str.2) %10 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %6) %11 = load float, ptr %6, align 4 %12 = load float, ptr %2, align 4 %13 = fcmp ogt float %11, %12 br i1 %13, label %14, label %16 14: ; preds = %0 %15 = call i32 @printf(ptr noundef @.str.4) br label %32 16: ; preds = %0 %17 = load float, ptr %6, align 4 %18 = load float, ptr %3, align 4 %19 = fcmp oge float %17, %18 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = call i32 @printf(ptr noundef @.str.5) br label %31 22: ; preds = %16 %23 = load float, ptr %6, align 4 %24 = load float, ptr %4, align 4 %25 = fcmp oge float %23, %24 br i1 %25, label %26, label %28 26: ; preds = %22 %27 = call i32 @printf(ptr noundef @.str.6) br label %30 28: ; preds = %22 %29 = call i32 @printf(ptr noundef @.str.7) br label %30 30: ; preds = %28, %26 br label %31 31: ; preds = %30, %20 br label %32 32: ; preds = %31, %14 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3m56h8pg.c' source_filename = "/tmp/tmp3m56h8pg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SYS_execveat = 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/tmp3m56h8pg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SYS_execveat = 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/tmp8k6e56b4.c' source_filename = "/tmp/tmp8k6e56b4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IFF_TAP = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tap() #0 { %1 = load i32, ptr @IFF_TAP, align 4 ret i32 %1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8k6e56b4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IFF_TAP = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tap() #0 { %1 = load i32, ptr @IFF_TAP, align 4 ret i32 %1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7f6p_ym7.c' source_filename = "/tmp/tmp7f6p_ym7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atoi(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 1, ptr %4, align 4 %5 = load ptr, ptr %2, align 8 %6 = load i8, ptr %5, align 1 %7 = sext i8 %6 to i32 %8 = icmp eq i32 %7, 43 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 %11 = getelementptr inbounds i8, ptr %10, i32 1 store ptr %11, ptr %2, align 8 br label %12 12: ; preds = %9, %1 %13 = load ptr, ptr %2, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 45 br i1 %16, label %17, label %20 17: ; preds = %12 store i32 -1, ptr %4, align 4 %18 = load ptr, ptr %2, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %2, align 8 br label %20 20: ; preds = %17, %12 br label %21 21: ; preds = %26, %20 %22 = load ptr, ptr %2, align 8 %23 = load i8, ptr %22, align 1 %24 = call i64 @isdigit(i8 noundef signext %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %37 26: ; preds = %21 %27 = load i32, ptr %3, align 4 %28 = mul nsw i32 %27, 10 store i32 %28, ptr %3, align 4 %29 = load ptr, ptr %2, align 8 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = sub nsw i32 %31, 48 %33 = load i32, ptr %3, align 4 %34 = add nsw i32 %33, %32 store i32 %34, ptr %3, align 4 %35 = load ptr, ptr %2, align 8 %36 = getelementptr inbounds i8, ptr %35, i32 1 store ptr %36, ptr %2, align 8 br label %21, !llvm.loop !6 37: ; preds = %21 %38 = load i32, ptr %3, align 4 %39 = load i32, ptr %4, align 4 %40 = mul nsw i32 %38, %39 ret i32 %40 } declare i64 @isdigit(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/tmp7f6p_ym7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atoi(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 1, ptr %4, align 4 %5 = load ptr, ptr %2, align 8 %6 = load i8, ptr %5, align 1 %7 = sext i8 %6 to i32 %8 = icmp eq i32 %7, 43 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 %11 = getelementptr inbounds i8, ptr %10, i32 1 store ptr %11, ptr %2, align 8 br label %12 12: ; preds = %9, %1 %13 = load ptr, ptr %2, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 45 br i1 %16, label %17, label %20 17: ; preds = %12 store i32 -1, ptr %4, align 4 %18 = load ptr, ptr %2, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %2, align 8 br label %20 20: ; preds = %17, %12 %21 = load ptr, ptr %2, align 8 %22 = load i8, ptr %21, align 1 %23 = call i64 @isdigit(i8 noundef signext %22) %24 = icmp ne i64 %23, 0 br i1 %24, label %.lr.ph, label %40 .lr.ph: ; preds = %20 br label %25 25: ; preds = %.lr.ph, %25 %26 = load i32, ptr %3, align 4 %27 = mul nsw i32 %26, 10 store i32 %27, ptr %3, align 4 %28 = load ptr, ptr %2, align 8 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = sub nsw i32 %30, 48 %32 = load i32, ptr %3, align 4 %33 = add nsw i32 %32, %31 store i32 %33, ptr %3, align 4 %34 = load ptr, ptr %2, align 8 %35 = getelementptr inbounds i8, ptr %34, i32 1 store ptr %35, ptr %2, align 8 %36 = load ptr, ptr %2, align 8 %37 = load i8, ptr %36, align 1 %38 = call i64 @isdigit(i8 noundef signext %37) %39 = icmp ne i64 %38, 0 br i1 %39, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %40 40: ; preds = %._crit_edge, %20 %41 = load i32, ptr %3, align 4 %42 = load i32, ptr %4, align 4 %43 = mul nsw i32 %41, %42 ret i32 %43 } declare i64 @isdigit(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/tmpki2zv_yz.c' source_filename = "/tmp/tmpki2zv_yz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"FizzBuzz\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"Fizz\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"Buzz\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 br label %3 3: ; preds = %30, %0 %4 = load i32, ptr %2, align 4 %5 = icmp sle i32 %4, 100 br i1 %5, label %6, label %33 6: ; preds = %3 %7 = load i32, ptr %2, align 4 %8 = srem i32 %7, 15 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %6 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %29 12: ; preds = %6 %13 = load i32, ptr %2, align 4 %14 = srem i32 %13, 3 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %12 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %28 18: ; preds = %12 %19 = load i32, ptr %2, align 4 %20 = srem i32 %19, 5 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %18 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %27 24: ; preds = %18 %25 = load i32, ptr %2, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %25) br label %27 27: ; preds = %24, %22 br label %28 28: ; preds = %27, %16 br label %29 29: ; preds = %28, %10 br label %30 30: ; preds = %29 %31 = load i32, ptr %2, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %2, align 4 br label %3, !llvm.loop !6 33: ; preds = %3 ret i32 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/tmpki2zv_yz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"FizzBuzz\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"Fizz\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"Buzz\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp sle i32 %3, 100 br i1 %4, label %.lr.ph, label %34 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %29 %6 = load i32, ptr %2, align 4 %7 = srem i32 %6, 15 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %5 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %28 11: ; preds = %5 %12 = load i32, ptr %2, align 4 %13 = srem i32 %12, 3 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %11 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %27 17: ; preds = %11 %18 = load i32, ptr %2, align 4 %19 = srem i32 %18, 5 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %17 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %26 23: ; preds = %17 %24 = load i32, ptr %2, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %24) br label %26 26: ; preds = %23, %21 br label %27 27: ; preds = %26, %15 br label %28 28: ; preds = %27, %9 br label %29 29: ; preds = %28 %30 = load i32, ptr %2, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %2, align 4 %32 = load i32, ptr %2, align 4 %33 = icmp sle i32 %32, 100 br i1 %33, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %34 34: ; preds = %._crit_edge, %0 ret i32 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/tmpd5dleqaa.c' source_filename = "/tmp/tmpd5dleqaa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkCardCryptogram(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = call i32 @strcmp(ptr noundef %7, ptr noundef %8) store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %2 store i32 1, ptr %3, align 4 br label %14 13: ; preds = %2 store i32 0, ptr %3, align 4 br label %14 14: ; preds = %13, %12 %15 = load i32, ptr %3, align 4 ret i32 %15 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd5dleqaa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkCardCryptogram(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = call i32 @strcmp(ptr noundef %7, ptr noundef %8) store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %2 store i32 1, ptr %3, align 4 br label %14 13: ; preds = %2 store i32 0, ptr %3, align 4 br label %14 14: ; preds = %13, %12 %15 = load i32, ptr %3, align 4 ret i32 %15 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp04l6pxkw.c' source_filename = "/tmp/tmp04l6pxkw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @WatchdogIntStatus(i64 noundef %0, i32 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 store volatile i64 %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load volatile i64, ptr %4, align 8 %10 = add nsw i64 %9, 20 %11 = inttoptr i64 %10 to ptr %12 = load volatile i64, ptr %11, align 8 store i64 %12, ptr %3, align 8 br label %18 13: ; preds = %2 %14 = load volatile i64, ptr %4, align 8 %15 = add nsw i64 %14, 16 %16 = inttoptr i64 %15 to ptr %17 = load volatile i64, ptr %16, align 8 store i64 %17, ptr %3, align 8 br label %18 18: ; preds = %13, %8 %19 = load i64, ptr %3, align 8 ret i64 %19 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp04l6pxkw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @WatchdogIntStatus(i64 noundef %0, i32 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 store volatile i64 %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load volatile i64, ptr %4, align 8 %10 = add nsw i64 %9, 20 %11 = inttoptr i64 %10 to ptr %12 = load volatile i64, ptr %11, align 8 store i64 %12, ptr %3, align 8 br label %18 13: ; preds = %2 %14 = load volatile i64, ptr %4, align 8 %15 = add nsw i64 %14, 16 %16 = inttoptr i64 %15 to ptr %17 = load volatile i64, ptr %16, align 8 store i64 %17, ptr %3, align 8 br label %18 18: ; preds = %13, %8 %19 = load i64, ptr %3, align 8 ret i64 %19 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkm04kqrc.c' source_filename = "/tmp/tmpkm04kqrc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcswcs(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 ret ptr %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/tmpkm04kqrc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcswcs(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 ret ptr %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/tmp659cuyox.c' source_filename = "/tmp/tmp659cuyox.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_string(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 i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 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 %5, align 1 store i64 0, ptr %6, align 8 store i64 0, ptr %7, align 8 store i64 0, ptr %8, align 8 store i32 0, ptr %4, align 4 br label %10 10: ; preds = %32, %1 %11 = load ptr, ptr %2, align 8 %12 = load i32, ptr %4, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 store i32 %16, ptr %3, align 4 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %35 18: ; preds = %10 %19 = load i64, ptr %6, align 8 %20 = add i64 %19, 1 store i64 %20, ptr %6, align 8 %21 = load i32, ptr %3, align 4 %22 = icmp eq i32 %21, 34 br i1 %22, label %23, label %31 23: ; preds = %18 %24 = load i8, ptr %5, align 1 %25 = icmp ne i8 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %23 %27 = load i64, ptr %6, align 8 store i64 %27, ptr %8, align 8 br label %30 28: ; preds = %23 %29 = load i64, ptr %6, align 8 store i64 %29, ptr %7, align 8 store i8 1, ptr %5, align 1 br label %30 30: ; preds = %28, %26 br label %31 31: ; preds = %30, %18 br label %32 32: ; preds = %31 %33 = load i32, ptr %4, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %4, align 4 br label %10, !llvm.loop !6 35: ; preds = %10 %36 = load i64, ptr %7, align 8 %37 = load ptr, ptr %2, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 %36 store ptr %38, ptr %2, align 8 %39 = load i64, ptr %8, align 8 %40 = load i64, ptr %7, align 8 %41 = sub i64 %39, %40 %42 = call ptr @malloc(i64 noundef %41) store ptr %42, ptr %9, align 8 %43 = load ptr, ptr %9, align 8 %44 = load ptr, ptr %2, align 8 %45 = load i64, ptr %8, align 8 %46 = load i64, ptr %7, align 8 %47 = sub i64 %45, %46 %48 = sub i64 %47, 1 %49 = call i32 @strncpy(ptr noundef %43, ptr noundef %44, i64 noundef %48) %50 = load ptr, ptr %9, align 8 %51 = load i64, ptr %8, align 8 %52 = load i64, ptr %7, align 8 %53 = sub i64 %51, %52 %54 = sub i64 %53, 1 %55 = getelementptr inbounds i8, ptr %50, i64 %54 store i8 0, ptr %55, align 1 %56 = load ptr, ptr %9, align 8 ret ptr %56 } declare ptr @malloc(i64 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp659cuyox.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_string(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 i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 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 %5, align 1 store i64 0, ptr %6, align 8 store i64 0, ptr %7, align 8 store i64 0, ptr %8, align 8 store i32 0, ptr %4, align 4 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %4, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 store i32 %15, ptr %3, align 4 %16 = icmp ne i32 %15, 0 br i1 %16, label %.lr.ph, label %41 .lr.ph: ; preds = %1 br label %17 17: ; preds = %.lr.ph, %31 %18 = load i64, ptr %6, align 8 %19 = add i64 %18, 1 store i64 %19, ptr %6, align 8 %20 = load i32, ptr %3, align 4 %21 = icmp eq i32 %20, 34 br i1 %21, label %22, label %30 22: ; preds = %17 %23 = load i8, ptr %5, align 1 %24 = icmp ne i8 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %22 %26 = load i64, ptr %6, align 8 store i64 %26, ptr %8, align 8 br label %29 27: ; preds = %22 %28 = load i64, ptr %6, align 8 store i64 %28, ptr %7, align 8 store i8 1, ptr %5, align 1 br label %29 29: ; preds = %27, %25 br label %30 30: ; preds = %29, %17 br label %31 31: ; preds = %30 %32 = load i32, ptr %4, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %4, align 4 %34 = load ptr, ptr %2, align 8 %35 = load i32, ptr %4, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 store i32 %39, ptr %3, align 4 %40 = icmp ne i32 %39, 0 br i1 %40, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %41 41: ; preds = %._crit_edge, %1 %42 = load i64, ptr %7, align 8 %43 = load ptr, ptr %2, align 8 %44 = getelementptr inbounds i8, ptr %43, i64 %42 store ptr %44, ptr %2, align 8 %45 = load i64, ptr %8, align 8 %46 = load i64, ptr %7, align 8 %47 = sub i64 %45, %46 %48 = call ptr @malloc(i64 noundef %47) store ptr %48, ptr %9, align 8 %49 = load ptr, ptr %9, align 8 %50 = load ptr, ptr %2, align 8 %51 = load i64, ptr %8, align 8 %52 = load i64, ptr %7, align 8 %53 = sub i64 %51, %52 %54 = sub i64 %53, 1 %55 = call i32 @strncpy(ptr noundef %49, ptr noundef %50, i64 noundef %54) %56 = load ptr, ptr %9, align 8 %57 = load i64, ptr %8, align 8 %58 = load i64, ptr %7, align 8 %59 = sub i64 %57, %58 %60 = sub i64 %59, 1 %61 = getelementptr inbounds i8, ptr %56, i64 %60 store i8 0, ptr %61, align 1 %62 = load ptr, ptr %9, align 8 ret ptr %62 } declare ptr @malloc(i64 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmptfkk9ecx.c' source_filename = "/tmp/tmptfkk9ecx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: alwaysinline nounwind sspstrong uwtable define weak dso_local i32 @softboundcets_chdir(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 @chdir(ptr noundef %3) ret i32 %4 } declare i32 @chdir(ptr noundef) #1 attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptfkk9ecx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: alwaysinline nounwind sspstrong uwtable define weak dso_local i32 @softboundcets_chdir(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 @chdir(ptr noundef %3) ret i32 %4 } declare i32 @chdir(ptr noundef) #1 attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdgqhjxpx.c' source_filename = "/tmp/tmpdgqhjxpx.c" target datalayout = "e-m:e-p270: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 @LOG_ERR = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdgqhjxpx.c" target datalayout = "e-m:e-p270: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 @LOG_ERR = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphqi8s9fp.c' source_filename = "/tmp/tmphqi8s9fp.c" target datalayout = "e-m:e-p270: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.nums = private unnamed_addr constant [6 x i32] [i32 -2, i32 0, i32 3, i32 -5, i32 2, i32 -1], 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 [6 x i32], align 16 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = 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.nums, i64 24, i1 false) store i32 6, ptr %7, align 4 %18 = getelementptr inbounds [6 x i32], ptr %6, i64 0, i64 0 %19 = load i32, ptr %7, align 4 %20 = call ptr @NumArrayCreate(ptr noundef %18, i32 noundef %19) store ptr %20, ptr %8, align 8 %21 = load ptr, ptr %8, align 8 %22 = call i64 @sumRange(ptr noundef %21, i32 noundef 0, i32 noundef 2) %23 = call i32 @printf(ptr noundef @.str, i64 noundef %22) %24 = load ptr, ptr %8, align 8 %25 = call i64 @sumRange(ptr noundef %24, i32 noundef 2, i32 noundef 5) %26 = call i32 @printf(ptr noundef @.str, i64 noundef %25) %27 = load ptr, ptr %8, align 8 %28 = call i64 @sumRange(ptr noundef %27, i32 noundef 0, i32 noundef 5) %29 = call i32 @printf(ptr noundef @.str, i64 noundef %28) %30 = load ptr, ptr %8, align 8 %31 = call i32 @NumArrayFree(ptr noundef %30) store i32 10000, ptr %9, align 4 %32 = load i32, ptr %9, align 4 %33 = zext i32 %32 to i64 %34 = call ptr @llvm.stacksave() store ptr %34, ptr %10, align 8 %35 = alloca i32, i64 %33, align 16 store i64 %33, ptr %11, align 8 store i32 0, ptr %12, align 4 br label %36 36: ; preds = %46, %2 %37 = load i32, ptr %12, align 4 %38 = load i32, ptr %9, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %40, label %49 40: ; preds = %36 %41 = call i32 (...) @rand() %42 = srem i32 %41, 5000 %43 = load i32, ptr %12, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i32, ptr %35, i64 %44 store i32 %42, ptr %45, align 4 br label %46 46: ; preds = %40 %47 = load i32, ptr %12, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %12, align 4 br label %36, !llvm.loop !6 49: ; preds = %36 %50 = load i32, ptr %9, align 4 %51 = call ptr @NumArrayCreate(ptr noundef %35, i32 noundef %50) store ptr %51, ptr %13, align 8 store i32 0, ptr %14, align 4 br label %52 52: ; preds = %81, %49 %53 = load i32, ptr %14, align 4 %54 = icmp slt i32 %53, 10000 br i1 %54, label %55, label %84 55: ; preds = %52 %56 = call i32 (...) @rand() %57 = load i32, ptr %9, align 4 %58 = srem i32 %56, %57 store i32 %58, ptr %15, align 4 %59 = load i32, ptr %15, align 4 %60 = add nsw i32 %59, 1000 %61 = load i32, ptr %9, align 4 %62 = srem i32 %60, %61 store i32 %62, ptr %16, align 4 %63 = load i32, ptr %15, align 4 %64 = load i32, ptr %16, align 4 %65 = icmp sgt i32 %63, %64 br i1 %65, label %66, label %70 66: ; preds = %55 %67 = load i32, ptr %15, align 4 store i32 %67, ptr %17, align 4 %68 = load i32, ptr %16, align 4 store i32 %68, ptr %15, align 4 %69 = load i32, ptr %17, align 4 store i32 %69, ptr %16, align 4 br label %70 70: ; preds = %66, %55 %71 = load i32, ptr %15, align 4 %72 = load i32, ptr %16, align 4 %73 = call i64 @sum(ptr noundef %35, i32 noundef %71, i32 noundef %72) %74 = load ptr, ptr %13, align 8 %75 = load i32, ptr %15, align 4 %76 = load i32, ptr %16, align 4 %77 = call i64 @sumRange(ptr noundef %74, i32 noundef %75, i32 noundef %76) %78 = icmp eq i64 %73, %77 %79 = zext i1 %78 to i32 %80 = call i32 @assert(i32 noundef %79) br label %81 81: ; preds = %70 %82 = load i32, ptr %14, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %14, align 4 br label %52, !llvm.loop !8 84: ; preds = %52 %85 = load ptr, ptr %13, align 8 %86 = call i32 @NumArrayFree(ptr noundef %85) %87 = load ptr, ptr %10, align 8 call void @llvm.stackrestore(ptr %87) 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 ptr @NumArrayCreate(ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, i64 noundef) #2 declare i64 @sumRange(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @NumArrayFree(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #3 declare i32 @rand(...) #2 declare i32 @assert(i32 noundef) #2 declare i64 @sum(ptr noundef, i32 noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #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 = { "frame-pointer"="all" "no-trapping-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 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/tmphqi8s9fp.c" target datalayout = "e-m:e-p270: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.nums = private unnamed_addr constant [6 x i32] [i32 -2, i32 0, i32 3, i32 -5, i32 2, i32 -1], 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 [6 x i32], align 16 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = 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.nums, i64 24, i1 false) store i32 6, ptr %7, align 4 %18 = getelementptr inbounds [6 x i32], ptr %6, i64 0, i64 0 %19 = load i32, ptr %7, align 4 %20 = call ptr @NumArrayCreate(ptr noundef %18, i32 noundef %19) store ptr %20, ptr %8, align 8 %21 = load ptr, ptr %8, align 8 %22 = call i64 @sumRange(ptr noundef %21, i32 noundef 0, i32 noundef 2) %23 = call i32 @printf(ptr noundef @.str, i64 noundef %22) %24 = load ptr, ptr %8, align 8 %25 = call i64 @sumRange(ptr noundef %24, i32 noundef 2, i32 noundef 5) %26 = call i32 @printf(ptr noundef @.str, i64 noundef %25) %27 = load ptr, ptr %8, align 8 %28 = call i64 @sumRange(ptr noundef %27, i32 noundef 0, i32 noundef 5) %29 = call i32 @printf(ptr noundef @.str, i64 noundef %28) %30 = load ptr, ptr %8, align 8 %31 = call i32 @NumArrayFree(ptr noundef %30) store i32 10000, ptr %9, align 4 %32 = load i32, ptr %9, align 4 %33 = zext i32 %32 to i64 %34 = call ptr @llvm.stacksave() store ptr %34, ptr %10, align 8 %35 = alloca i32, i64 %33, align 16 store i64 %33, ptr %11, align 8 store i32 0, ptr %12, align 4 %36 = load i32, ptr %12, align 4 %37 = load i32, ptr %9, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %.lr.ph, label %51 .lr.ph: ; preds = %2 br label %39 39: ; preds = %.lr.ph, %45 %40 = call i32 (...) @rand() %41 = srem i32 %40, 5000 %42 = load i32, ptr %12, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %35, i64 %43 store i32 %41, ptr %44, align 4 br label %45 45: ; preds = %39 %46 = load i32, ptr %12, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %12, align 4 %48 = load i32, ptr %12, align 4 %49 = load i32, ptr %9, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %39, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %51 51: ; preds = %._crit_edge, %2 %52 = load i32, ptr %9, align 4 %53 = call ptr @NumArrayCreate(ptr noundef %35, i32 noundef %52) store ptr %53, ptr %13, align 8 store i32 0, ptr %14, align 4 %54 = load i32, ptr %14, align 4 %55 = icmp slt i32 %54, 10000 br i1 %55, label %.lr.ph2, label %87 .lr.ph2: ; preds = %51 br label %56 56: ; preds = %.lr.ph2, %82 %57 = call i32 (...) @rand() %58 = load i32, ptr %9, align 4 %59 = srem i32 %57, %58 store i32 %59, ptr %15, align 4 %60 = load i32, ptr %15, align 4 %61 = add nsw i32 %60, 1000 %62 = load i32, ptr %9, align 4 %63 = srem i32 %61, %62 store i32 %63, ptr %16, align 4 %64 = load i32, ptr %15, align 4 %65 = load i32, ptr %16, align 4 %66 = icmp sgt i32 %64, %65 br i1 %66, label %67, label %71 67: ; preds = %56 %68 = load i32, ptr %15, align 4 store i32 %68, ptr %17, align 4 %69 = load i32, ptr %16, align 4 store i32 %69, ptr %15, align 4 %70 = load i32, ptr %17, align 4 store i32 %70, ptr %16, align 4 br label %71 71: ; preds = %67, %56 %72 = load i32, ptr %15, align 4 %73 = load i32, ptr %16, align 4 %74 = call i64 @sum(ptr noundef %35, i32 noundef %72, i32 noundef %73) %75 = load ptr, ptr %13, align 8 %76 = load i32, ptr %15, align 4 %77 = load i32, ptr %16, align 4 %78 = call i64 @sumRange(ptr noundef %75, i32 noundef %76, i32 noundef %77) %79 = icmp eq i64 %74, %78 %80 = zext i1 %79 to i32 %81 = call i32 @assert(i32 noundef %80) br label %82 82: ; preds = %71 %83 = load i32, ptr %14, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %14, align 4 %85 = load i32, ptr %14, align 4 %86 = icmp slt i32 %85, 10000 br i1 %86, label %56, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %82 br label %87 87: ; preds = %._crit_edge3, %51 %88 = load ptr, ptr %13, align 8 %89 = call i32 @NumArrayFree(ptr noundef %88) %90 = load ptr, ptr %10, align 8 call void @llvm.stackrestore(ptr %90) 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 ptr @NumArrayCreate(ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, i64 noundef) #2 declare i64 @sumRange(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @NumArrayFree(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #3 declare i32 @rand(...) #2 declare i32 @assert(i32 noundef) #2 declare i64 @sum(ptr noundef, i32 noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #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 = { "frame-pointer"="all" "no-trapping-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 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/tmpjf91370s.c' source_filename = "/tmp/tmpjf91370s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @string_strcat(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %10, label %9 9: ; preds = %2 store ptr @.str, ptr %3, align 8 br label %34 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %15, label %13 13: ; preds = %10 %14 = load ptr, ptr %4, align 8 store ptr %14, ptr %3, align 8 br label %34 15: ; preds = %10 %16 = load ptr, ptr %4, align 8 %17 = load ptr, ptr %4, align 8 %18 = call i32 @strlen(ptr noundef %17) %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %16, i64 %19 store ptr %20, ptr %6, align 8 br label %21 21: ; preds = %25, %15 %22 = load ptr, ptr %5, align 8 %23 = load i8, ptr %22, align 1 %24 = icmp ne i8 %23, 0 br i1 %24, label %25, label %31 25: ; preds = %21 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds i8, ptr %26, i32 1 store ptr %27, ptr %5, align 8 %28 = load i8, ptr %26, align 1 %29 = load ptr, ptr %6, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %6, align 8 store i8 %28, ptr %29, align 1 br label %21, !llvm.loop !6 31: ; preds = %21 %32 = load ptr, ptr %6, align 8 store i8 0, ptr %32, align 1 %33 = load ptr, ptr %4, align 8 store ptr %33, ptr %3, align 8 br label %34 34: ; preds = %31, %13, %9 %35 = load ptr, ptr %3, align 8 ret ptr %35 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjf91370s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @string_strcat(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %10, label %9 9: ; preds = %2 store ptr @.str, ptr %3, align 8 br label %36 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %15, label %13 13: ; preds = %10 %14 = load ptr, ptr %4, align 8 store ptr %14, ptr %3, align 8 br label %36 15: ; preds = %10 %16 = load ptr, ptr %4, align 8 %17 = load ptr, ptr %4, align 8 %18 = call i32 @strlen(ptr noundef %17) %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %16, i64 %19 store ptr %20, ptr %6, align 8 %21 = load ptr, ptr %5, align 8 %22 = load i8, ptr %21, align 1 %23 = icmp ne i8 %22, 0 br i1 %23, label %.lr.ph, label %33 .lr.ph: ; preds = %15 br label %24 24: ; preds = %.lr.ph, %24 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %5, align 8 %27 = load i8, ptr %25, align 1 %28 = load ptr, ptr %6, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %6, align 8 store i8 %27, ptr %28, align 1 %30 = load ptr, ptr %5, align 8 %31 = load i8, ptr %30, align 1 %32 = icmp ne i8 %31, 0 br i1 %32, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %33 33: ; preds = %._crit_edge, %15 %34 = load ptr, ptr %6, align 8 store i8 0, ptr %34, align 1 %35 = load ptr, ptr %4, align 8 store ptr %35, ptr %3, align 8 br label %36 36: ; preds = %33, %13, %9 %37 = load ptr, ptr %3, align 8 ret ptr %37 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpmhyciv_5.c' source_filename = "/tmp/tmpmhyciv_5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BIO_CTRL_WPENDING = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @BIO_ctrl_wpending(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i32, ptr @BIO_CTRL_WPENDING, align 4 %5 = call i64 @BIO_ctrl(ptr noundef %3, i32 noundef %4, i32 noundef 0, ptr noundef null) ret i64 %5 } declare i64 @BIO_ctrl(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmhyciv_5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BIO_CTRL_WPENDING = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @BIO_ctrl_wpending(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i32, ptr @BIO_CTRL_WPENDING, align 4 %5 = call i64 @BIO_ctrl(ptr noundef %3, i32 noundef %4, i32 noundef 0, ptr noundef null) ret i64 %5 } declare i64 @BIO_ctrl(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjcv1fgvh.c' source_filename = "/tmp/tmpjcv1fgvh.c" target datalayout = "e-m:e-p270: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/tmpjcv1fgvh.c" target datalayout = "e-m:e-p270: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/tmps23uddzu.c' source_filename = "/tmp/tmps23uddzu.c" target datalayout = "e-m:e-p270: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_SET = 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/tmps23uddzu.c" target datalayout = "e-m:e-p270: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_SET = 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/tmpeaifi4ty.c' source_filename = "/tmp/tmpeaifi4ty.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Introduce el numero de filas: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"Introduce el numero de columnas: \00", align 1 @.str.3 = private unnamed_addr constant [51 x i8] c"No se ha podido reservar espacio para la memoria.\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%i \00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"pause\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 @scanf_s(ptr noundef @.str.1, ptr noundef %4) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %11 = call i32 @scanf_s(ptr noundef @.str.1, ptr noundef %5) %12 = load i32, ptr %4, align 4 %13 = sext i32 %12 to i64 %14 = mul i64 %13, 8 %15 = trunc i64 %14 to i32 %16 = call i64 @malloc(i32 noundef %15) %17 = inttoptr i64 %16 to ptr store ptr %17, ptr %6, align 8 %18 = load ptr, ptr %6, align 8 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %23 20: ; preds = %0 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %22 = call i32 @exit(i32 noundef 1) #3 unreachable 23: ; preds = %0 store i32 0, ptr %2, align 4 br label %24 24: ; preds = %49, %23 %25 = load i32, ptr %2, align 4 %26 = load i32, ptr %4, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %52 28: ; preds = %24 %29 = load i32, ptr %5, align 4 %30 = sext i32 %29 to i64 %31 = mul i64 %30, 4 %32 = trunc i64 %31 to i32 %33 = call i64 @malloc(i32 noundef %32) %34 = inttoptr i64 %33 to ptr %35 = load ptr, ptr %6, align 8 %36 = load i32, ptr %2, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds ptr, ptr %35, i64 %37 store ptr %34, ptr %38, align 8 %39 = load ptr, ptr %6, align 8 %40 = load i32, ptr %2, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds ptr, ptr %39, i64 %41 %43 = load ptr, ptr %42, align 8 %44 = icmp eq ptr %43, null br i1 %44, label %45, label %48 45: ; preds = %28 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %47 = call i32 @exit(i32 noundef 1) #3 unreachable 48: ; preds = %28 br label %49 49: ; preds = %48 %50 = load i32, ptr %2, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %2, align 4 br label %24, !llvm.loop !6 52: ; preds = %24 store i32 0, ptr %2, align 4 br label %53 53: ; preds = %76, %52 %54 = load i32, ptr %2, align 4 %55 = load i32, ptr %4, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %57, label %79 57: ; preds = %53 store i32 0, ptr %3, align 4 br label %58 58: ; preds = %72, %57 %59 = load i32, ptr %3, align 4 %60 = load i32, ptr %5, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %62, label %75 62: ; preds = %58 %63 = load ptr, ptr %6, align 8 %64 = load i32, ptr %2, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds ptr, ptr %63, i64 %65 %67 = load ptr, ptr %66, align 8 %68 = load i32, ptr %3, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i32, ptr %67, i64 %69 %71 = call i32 @scanf_s(ptr noundef @.str.1, ptr noundef %70) br label %72 72: ; preds = %62 %73 = load i32, ptr %3, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %3, align 4 br label %58, !llvm.loop !8 75: ; preds = %58 br label %76 76: ; preds = %75 %77 = load i32, ptr %2, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %2, align 4 br label %53, !llvm.loop !9 79: ; preds = %53 %80 = load i32, ptr %4, align 4 %81 = sext i32 %80 to i64 %82 = mul i64 %81, 8 %83 = trunc i64 %82 to i32 %84 = call i64 @malloc(i32 noundef %83) %85 = inttoptr i64 %84 to ptr store ptr %85, ptr %7, align 8 %86 = load ptr, ptr %7, align 8 %87 = icmp eq ptr %86, null br i1 %87, label %88, label %91 88: ; preds = %79 %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %90 = call i32 @exit(i32 noundef 1) #3 unreachable 91: ; preds = %79 store i32 0, ptr %2, align 4 br label %92 92: ; preds = %117, %91 %93 = load i32, ptr %2, align 4 %94 = load i32, ptr %4, align 4 %95 = icmp slt i32 %93, %94 br i1 %95, label %96, label %120 96: ; preds = %92 %97 = load i32, ptr %5, align 4 %98 = sext i32 %97 to i64 %99 = mul i64 %98, 4 %100 = trunc i64 %99 to i32 %101 = call i64 @malloc(i32 noundef %100) %102 = inttoptr i64 %101 to ptr %103 = load ptr, ptr %7, align 8 %104 = load i32, ptr %2, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds ptr, ptr %103, i64 %105 store ptr %102, ptr %106, align 8 %107 = load ptr, ptr %7, align 8 %108 = load i32, ptr %2, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds ptr, ptr %107, i64 %109 %111 = load ptr, ptr %110, align 8 %112 = icmp eq ptr %111, null br i1 %112, label %113, label %116 113: ; preds = %96 %114 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %115 = call i32 @exit(i32 noundef 1) #3 unreachable 116: ; preds = %96 br label %117 117: ; preds = %116 %118 = load i32, ptr %2, align 4 %119 = add nsw i32 %118, 1 store i32 %119, ptr %2, align 4 br label %92, !llvm.loop !10 120: ; preds = %92 store i32 0, ptr %2, align 4 br label %121 121: ; preds = %163, %120 %122 = load i32, ptr %2, align 4 %123 = load i32, ptr %4, align 4 %124 = icmp slt i32 %122, %123 br i1 %124, label %125, label %166 125: ; preds = %121 store i32 0, ptr %3, align 4 br label %126 126: ; preds = %158, %125 %127 = load i32, ptr %3, align 4 %128 = load i32, ptr %5, align 4 %129 = icmp slt i32 %127, %128 br i1 %129, label %130, label %161 130: ; preds = %126 %131 = load ptr, ptr %6, align 8 %132 = load i32, ptr %2, align 4 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds ptr, ptr %131, i64 %133 %135 = load ptr, ptr %134, align 8 %136 = load i32, ptr %3, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds i32, ptr %135, i64 %137 %139 = load i32, ptr %138, align 4 %140 = load ptr, ptr %7, align 8 %141 = load i32, ptr %2, align 4 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds ptr, ptr %140, i64 %142 %144 = load ptr, ptr %143, align 8 %145 = load i32, ptr %3, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds i32, ptr %144, i64 %146 store i32 %139, ptr %147, align 4 %148 = load ptr, ptr %7, align 8 %149 = load i32, ptr %2, align 4 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds ptr, ptr %148, i64 %150 %152 = load ptr, ptr %151, align 8 %153 = load i32, ptr %3, align 4 %154 = sext i32 %153 to i64 %155 = getelementptr inbounds i32, ptr %152, i64 %154 %156 = load i32, ptr %155, align 4 %157 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %156) br label %158 158: ; preds = %130 %159 = load i32, ptr %3, align 4 %160 = add nsw i32 %159, 1 store i32 %160, ptr %3, align 4 br label %126, !llvm.loop !11 161: ; preds = %126 %162 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %163 163: ; preds = %161 %164 = load i32, ptr %2, align 4 %165 = add nsw i32 %164, 1 store i32 %165, ptr %2, align 4 br label %121, !llvm.loop !12 166: ; preds = %121 %167 = load ptr, ptr %6, align 8 %168 = call i32 @free(ptr noundef %167) %169 = load ptr, ptr %7, align 8 %170 = call i32 @free(ptr noundef %169) %171 = call i32 @system(ptr noundef @.str.6) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf_s(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @free(ptr noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeaifi4ty.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Introduce el numero de filas: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"Introduce el numero de columnas: \00", align 1 @.str.3 = private unnamed_addr constant [51 x i8] c"No se ha podido reservar espacio para la memoria.\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%i \00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"pause\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 @scanf_s(ptr noundef @.str.1, ptr noundef %4) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %11 = call i32 @scanf_s(ptr noundef @.str.1, ptr noundef %5) %12 = load i32, ptr %4, align 4 %13 = sext i32 %12 to i64 %14 = mul i64 %13, 8 %15 = trunc i64 %14 to i32 %16 = call i64 @malloc(i32 noundef %15) %17 = inttoptr i64 %16 to ptr store ptr %17, ptr %6, align 8 %18 = load ptr, ptr %6, align 8 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %23 20: ; preds = %0 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %22 = call i32 @exit(i32 noundef 1) #3 unreachable 23: ; preds = %0 store i32 0, ptr %2, align 4 %24 = load i32, ptr %2, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %.lr.ph, label %54 .lr.ph: ; preds = %23 br label %27 27: ; preds = %.lr.ph, %48 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = mul i64 %29, 4 %31 = trunc i64 %30 to i32 %32 = call i64 @malloc(i32 noundef %31) %33 = inttoptr i64 %32 to ptr %34 = load ptr, ptr %6, align 8 %35 = load i32, ptr %2, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds ptr, ptr %34, i64 %36 store ptr %33, ptr %37, align 8 %38 = load ptr, ptr %6, align 8 %39 = load i32, ptr %2, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds ptr, ptr %38, i64 %40 %42 = load ptr, ptr %41, align 8 %43 = icmp eq ptr %42, null br i1 %43, label %44, label %47 44: ; preds = %27 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %46 = call i32 @exit(i32 noundef 1) #3 unreachable 47: ; preds = %27 br label %48 48: ; preds = %47 %49 = load i32, ptr %2, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %2, align 4 %51 = load i32, ptr %2, align 4 %52 = load i32, ptr %4, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %48 br label %54 54: ; preds = %._crit_edge, %23 store i32 0, ptr %2, align 4 %55 = load i32, ptr %2, align 4 %56 = load i32, ptr %4, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %.lr.ph5, label %85 .lr.ph5: ; preds = %54 br label %58 58: ; preds = %.lr.ph5, %79 store i32 0, ptr %3, align 4 %59 = load i32, ptr %3, align 4 %60 = load i32, ptr %5, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %.lr.ph2, label %78 .lr.ph2: ; preds = %58 br label %62 62: ; preds = %.lr.ph2, %72 %63 = load ptr, ptr %6, align 8 %64 = load i32, ptr %2, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds ptr, ptr %63, i64 %65 %67 = load ptr, ptr %66, align 8 %68 = load i32, ptr %3, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i32, ptr %67, i64 %69 %71 = call i32 @scanf_s(ptr noundef @.str.1, ptr noundef %70) br label %72 72: ; preds = %62 %73 = load i32, ptr %3, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %3, align 4 %75 = load i32, ptr %3, align 4 %76 = load i32, ptr %5, align 4 %77 = icmp slt i32 %75, %76 br i1 %77, label %62, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %72 br label %78 78: ; preds = %._crit_edge3, %58 br label %79 79: ; preds = %78 %80 = load i32, ptr %2, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %2, align 4 %82 = load i32, ptr %2, align 4 %83 = load i32, ptr %4, align 4 %84 = icmp slt i32 %82, %83 br i1 %84, label %58, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %79 br label %85 85: ; preds = %._crit_edge6, %54 %86 = load i32, ptr %4, align 4 %87 = sext i32 %86 to i64 %88 = mul i64 %87, 8 %89 = trunc i64 %88 to i32 %90 = call i64 @malloc(i32 noundef %89) %91 = inttoptr i64 %90 to ptr store ptr %91, ptr %7, align 8 %92 = load ptr, ptr %7, align 8 %93 = icmp eq ptr %92, null br i1 %93, label %94, label %97 94: ; preds = %85 %95 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %96 = call i32 @exit(i32 noundef 1) #3 unreachable 97: ; preds = %85 store i32 0, ptr %2, align 4 %98 = load i32, ptr %2, align 4 %99 = load i32, ptr %4, align 4 %100 = icmp slt i32 %98, %99 br i1 %100, label %.lr.ph8, label %128 .lr.ph8: ; preds = %97 br label %101 101: ; preds = %.lr.ph8, %122 %102 = load i32, ptr %5, align 4 %103 = sext i32 %102 to i64 %104 = mul i64 %103, 4 %105 = trunc i64 %104 to i32 %106 = call i64 @malloc(i32 noundef %105) %107 = inttoptr i64 %106 to ptr %108 = load ptr, ptr %7, align 8 %109 = load i32, ptr %2, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds ptr, ptr %108, i64 %110 store ptr %107, ptr %111, align 8 %112 = load ptr, ptr %7, align 8 %113 = load i32, ptr %2, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds ptr, ptr %112, i64 %114 %116 = load ptr, ptr %115, align 8 %117 = icmp eq ptr %116, null br i1 %117, label %118, label %121 118: ; preds = %101 %119 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %120 = call i32 @exit(i32 noundef 1) #3 unreachable 121: ; preds = %101 br label %122 122: ; preds = %121 %123 = load i32, ptr %2, align 4 %124 = add nsw i32 %123, 1 store i32 %124, ptr %2, align 4 %125 = load i32, ptr %2, align 4 %126 = load i32, ptr %4, align 4 %127 = icmp slt i32 %125, %126 br i1 %127, label %101, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %122 br label %128 128: ; preds = %._crit_edge9, %97 store i32 0, ptr %2, align 4 %129 = load i32, ptr %2, align 4 %130 = load i32, ptr %4, align 4 %131 = icmp slt i32 %129, %130 br i1 %131, label %.lr.ph14, label %178 .lr.ph14: ; preds = %128 br label %132 132: ; preds = %.lr.ph14, %172 store i32 0, ptr %3, align 4 %133 = load i32, ptr %3, align 4 %134 = load i32, ptr %5, align 4 %135 = icmp slt i32 %133, %134 br i1 %135, label %.lr.ph11, label %170 .lr.ph11: ; preds = %132 br label %136 136: ; preds = %.lr.ph11, %164 %137 = load ptr, ptr %6, align 8 %138 = load i32, ptr %2, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds ptr, ptr %137, i64 %139 %141 = load ptr, ptr %140, align 8 %142 = load i32, ptr %3, align 4 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds i32, ptr %141, i64 %143 %145 = load i32, ptr %144, align 4 %146 = load ptr, ptr %7, align 8 %147 = load i32, ptr %2, align 4 %148 = sext i32 %147 to i64 %149 = getelementptr inbounds ptr, ptr %146, i64 %148 %150 = load ptr, ptr %149, align 8 %151 = load i32, ptr %3, align 4 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds i32, ptr %150, i64 %152 store i32 %145, ptr %153, align 4 %154 = load ptr, ptr %7, align 8 %155 = load i32, ptr %2, align 4 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds ptr, ptr %154, i64 %156 %158 = load ptr, ptr %157, align 8 %159 = load i32, ptr %3, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds i32, ptr %158, i64 %160 %162 = load i32, ptr %161, align 4 %163 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %162) br label %164 164: ; preds = %136 %165 = load i32, ptr %3, align 4 %166 = add nsw i32 %165, 1 store i32 %166, ptr %3, align 4 %167 = load i32, ptr %3, align 4 %168 = load i32, ptr %5, align 4 %169 = icmp slt i32 %167, %168 br i1 %169, label %136, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %164 br label %170 170: ; preds = %._crit_edge12, %132 %171 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %172 172: ; preds = %170 %173 = load i32, ptr %2, align 4 %174 = add nsw i32 %173, 1 store i32 %174, ptr %2, align 4 %175 = load i32, ptr %2, align 4 %176 = load i32, ptr %4, align 4 %177 = icmp slt i32 %175, %176 br i1 %177, label %132, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %172 br label %178 178: ; preds = %._crit_edge15, %128 %179 = load ptr, ptr %6, align 8 %180 = call i32 @free(ptr noundef %179) %181 = load ptr, ptr %7, align 8 %182 = call i32 @free(ptr noundef %181) %183 = call i32 @system(ptr noundef @.str.6) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf_s(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @free(ptr noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmpfh77t5it.c' source_filename = "/tmp/tmpfh77t5it.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AT_SECURE = dso_local global i32 0, align 4 ; 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 = load i32, ptr @AT_SECURE, align 4 %3 = call i32 @getauxval(i32 noundef %2) ret i32 %3 } declare i32 @getauxval(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/tmpfh77t5it.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AT_SECURE = dso_local global i32 0, align 4 ; 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 = load i32, ptr @AT_SECURE, align 4 %3 = call i32 @getauxval(i32 noundef %2) ret i32 %3 } declare i32 @getauxval(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/tmpiyz_i_vp.c' source_filename = "/tmp/tmpiyz_i_vp.c" target datalayout = "e-m:e-p270: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/tmpiyz_i_vp.c" target datalayout = "e-m:e-p270: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/tmpvar4vxoe.c' source_filename = "/tmp/tmpvar4vxoe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 { %1 = call i32 @foo(i32 noundef 400) ret void } declare i32 @foo(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/tmpvar4vxoe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 { %1 = call i32 @foo(i32 noundef 400) ret void } declare i32 @foo(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/tmpws4vxctf.c' source_filename = "/tmp/tmpws4vxctf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Cyc_Absyn_rgneffect_tvar_cmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @Cyc_Absyn_naive_tvar_cmp2(ptr noundef %6, ptr noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 ret i32 %9 } declare i32 @Cyc_Absyn_naive_tvar_cmp2(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/tmpws4vxctf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Cyc_Absyn_rgneffect_tvar_cmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @Cyc_Absyn_naive_tvar_cmp2(ptr noundef %6, ptr noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 ret i32 %9 } declare i32 @Cyc_Absyn_naive_tvar_cmp2(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/tmpftea3pjb.c' source_filename = "/tmp/tmpftea3pjb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printfn(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = call i32 @putchar(i8 noundef signext 34) br label %8 8: ; preds = %36, %2 %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds i32, ptr %9, i32 1 store ptr %10, ptr %4, align 8 %11 = load i32, ptr %9, align 4 store i32 %11, ptr %6, align 4 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %40 13: ; preds = %8 %14 = load ptr, ptr %4, align 8 %15 = load ptr, ptr %5, align 8 %16 = icmp ugt ptr %14, %15 br i1 %16, label %17, label %19 17: ; preds = %13 %18 = call i32 @putchar(i8 noundef signext 34) store i32 1, ptr %3, align 4 br label %42 19: ; preds = %13 %20 = load i32, ptr %6, align 4 %21 = call i32 @isascii(i32 noundef %20) %22 = icmp ne i32 %21, 0 br i1 %22, label %28, label %23 23: ; preds = %19 %24 = load i32, ptr %6, align 4 %25 = call i32 @toascii(i32 noundef %24) store i32 %25, ptr %6, align 4 %26 = call i32 @putchar(i8 noundef signext 77) %27 = call i32 @putchar(i8 noundef signext 45) br label %28 28: ; preds = %23, %19 %29 = load i32, ptr %6, align 4 %30 = call i32 @isprint(i32 noundef %29) #3 %31 = icmp ne i32 %30, 0 br i1 %31, label %36, label %32 32: ; preds = %28 %33 = load i32, ptr %6, align 4 %34 = xor i32 %33, 64 store i32 %34, ptr %6, align 4 %35 = call i32 @putchar(i8 noundef signext 94) br label %36 36: ; preds = %32, %28 %37 = load i32, ptr %6, align 4 %38 = trunc i32 %37 to i8 %39 = call i32 @putchar(i8 noundef signext %38) br label %8, !llvm.loop !6 40: ; preds = %8 %41 = call i32 @putchar(i8 noundef signext 34) store i32 0, ptr %3, align 4 br label %42 42: ; preds = %40, %17 %43 = load i32, ptr %3, align 4 ret i32 %43 } declare i32 @putchar(i8 noundef signext) #1 declare i32 @isascii(i32 noundef) #1 declare i32 @toascii(i32 noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @isprint(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpftea3pjb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printfn(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = call i32 @putchar(i8 noundef signext 34) %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds i32, ptr %8, i32 1 store ptr %9, ptr %4, align 8 %10 = load i32, ptr %8, align 4 store i32 %10, ptr %6, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %.lr.ph, label %43 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %35 %13 = load ptr, ptr %4, align 8 %14 = load ptr, ptr %5, align 8 %15 = icmp ugt ptr %13, %14 br i1 %15, label %16, label %18 16: ; preds = %12 %17 = call i32 @putchar(i8 noundef signext 34) store i32 1, ptr %3, align 4 br label %45 18: ; preds = %12 %19 = load i32, ptr %6, align 4 %20 = call i32 @isascii(i32 noundef %19) %21 = icmp ne i32 %20, 0 br i1 %21, label %27, label %22 22: ; preds = %18 %23 = load i32, ptr %6, align 4 %24 = call i32 @toascii(i32 noundef %23) store i32 %24, ptr %6, align 4 %25 = call i32 @putchar(i8 noundef signext 77) %26 = call i32 @putchar(i8 noundef signext 45) br label %27 27: ; preds = %22, %18 %28 = load i32, ptr %6, align 4 %29 = call i32 @isprint(i32 noundef %28) #3 %30 = icmp ne i32 %29, 0 br i1 %30, label %35, label %31 31: ; preds = %27 %32 = load i32, ptr %6, align 4 %33 = xor i32 %32, 64 store i32 %33, ptr %6, align 4 %34 = call i32 @putchar(i8 noundef signext 94) br label %35 35: ; preds = %31, %27 %36 = load i32, ptr %6, align 4 %37 = trunc i32 %36 to i8 %38 = call i32 @putchar(i8 noundef signext %37) %39 = load ptr, ptr %4, align 8 %40 = getelementptr inbounds i32, ptr %39, i32 1 store ptr %40, ptr %4, align 8 %41 = load i32, ptr %39, align 4 store i32 %41, ptr %6, align 4 %42 = icmp ne i32 %41, 0 br i1 %42, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %43 43: ; preds = %._crit_edge, %2 %44 = call i32 @putchar(i8 noundef signext 34) store i32 0, ptr %3, align 4 br label %45 45: ; preds = %43, %16 %46 = load i32, ptr %3, align 4 ret i32 %46 } declare i32 @putchar(i8 noundef signext) #1 declare i32 @isascii(i32 noundef) #1 declare i32 @toascii(i32 noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @isprint(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpn65p_m_h.c' source_filename = "/tmp/tmpn65p_m_h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @seq_ctrl_adjust_midi_autolive(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i64 (...) @song_get_midi_autolive() %4 = load i32, ptr %2, align 4 %5 = sext i32 %4 to i64 %6 = add nsw i64 %3, %5 %7 = call i32 @seq_utils_clamp(i64 noundef %6, i32 noundef 0, i32 noundef 1) %8 = call i32 @song_set_midi_autolive(i32 noundef %7) ret void } declare i32 @song_set_midi_autolive(i32 noundef) #1 declare i32 @seq_utils_clamp(i64 noundef, i32 noundef, i32 noundef) #1 declare i64 @song_get_midi_autolive(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn65p_m_h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @seq_ctrl_adjust_midi_autolive(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i64 (...) @song_get_midi_autolive() %4 = load i32, ptr %2, align 4 %5 = sext i32 %4 to i64 %6 = add nsw i64 %3, %5 %7 = call i32 @seq_utils_clamp(i64 noundef %6, i32 noundef 0, i32 noundef 1) %8 = call i32 @song_set_midi_autolive(i32 noundef %7) ret void } declare i32 @song_set_midi_autolive(i32 noundef) #1 declare i32 @seq_utils_clamp(i64 noundef, i32 noundef, i32 noundef) #1 declare i64 @song_get_midi_autolive(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8vn6ul2b.c' source_filename = "/tmp/tmp8vn6ul2b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCKS_PER_SEC = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [24 x i8] c"Words: %ld (time: %lf)\0A\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"Test OK: nubers are equal\0A\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"Test FAIL: numbers are not equal\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 i64, align 8 %4 = alloca i64, align 8 %5 = alloca double, align 8 %6 = alloca i64, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca i64, align 8 %10 = alloca double, align 8 store i32 0, ptr %1, align 4 %11 = call i32 @time(i32 noundef 0) %12 = call i32 @srand(i32 noundef %11) %13 = call ptr @malloc(i32 noundef 268435456) store ptr %13, ptr %2, align 8 store i64 0, ptr %3, align 8 br label %14 14: ; preds = %25, %0 %15 = load i64, ptr %3, align 8 %16 = icmp ult i64 %15, 268435456 br i1 %16, label %17, label %28 17: ; preds = %14 %18 = call i32 (...) @rand() %19 = and i32 %18, 25 %20 = add nsw i32 97, %19 %21 = trunc i32 %20 to i8 %22 = load ptr, ptr %2, align 8 %23 = load i64, ptr %3, align 8 %24 = getelementptr inbounds i8, ptr %22, i64 %23 store i8 %21, ptr %24, align 1 br label %25 25: ; preds = %17 %26 = load i64, ptr %3, align 8 %27 = add i64 %26, 1 store i64 %27, ptr %3, align 8 br label %14, !llvm.loop !6 28: ; preds = %14 store i64 0, ptr %4, align 8 br label %29 29: ; preds = %41, %28 %30 = load i64, ptr %4, align 8 %31 = icmp ult i64 %30, 268435456 br i1 %31, label %32, label %44 32: ; preds = %29 %33 = call i32 (...) @rand() %34 = and i32 %33, 3 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %40 36: ; preds = %32 %37 = load ptr, ptr %2, align 8 %38 = load i64, ptr %4, align 8 %39 = getelementptr inbounds i8, ptr %37, i64 %38 store i8 32, ptr %39, align 1 br label %40 40: ; preds = %36, %32 br label %41 41: ; preds = %40 %42 = load i64, ptr %4, align 8 %43 = add i64 %42, 1 store i64 %43, ptr %4, align 8 br label %29, !llvm.loop !8 44: ; preds = %29 %45 = call double (...) @clock() store double %45, ptr %5, align 8 %46 = load ptr, ptr %2, align 8 %47 = call i64 @cntbb(ptr noundef %46, i32 noundef 268435456) store i64 %47, ptr %6, align 8 %48 = call double (...) @clock() store double %48, ptr %7, align 8 %49 = load double, ptr %7, align 8 %50 = load double, ptr %5, align 8 %51 = fsub double %49, %50 %52 = load i64, ptr @CLOCKS_PER_SEC, align 8 %53 = sitofp i64 %52 to double %54 = fdiv double %51, %53 store double %54, ptr %8, align 8 %55 = load i64, ptr %6, align 8 %56 = load double, ptr %8, align 8 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %55, double noundef %56) %58 = call double (...) @clock() store double %58, ptr %5, align 8 %59 = load ptr, ptr %2, align 8 %60 = call i64 @cntbr(ptr noundef %59, i32 noundef 268435456) store i64 %60, ptr %9, align 8 %61 = call double (...) @clock() store double %61, ptr %7, align 8 %62 = load double, ptr %7, align 8 %63 = load double, ptr %5, align 8 %64 = fsub double %62, %63 %65 = load i64, ptr @CLOCKS_PER_SEC, align 8 %66 = sitofp i64 %65 to double %67 = fdiv double %64, %66 store double %67, ptr %10, align 8 %68 = load i64, ptr %9, align 8 %69 = load double, ptr %10, align 8 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %68, double noundef %69) %71 = load i64, ptr %6, align 8 %72 = load i64, ptr %9, align 8 %73 = icmp eq i64 %71, %72 br i1 %73, label %74, label %76 74: ; preds = %44 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %78 76: ; preds = %44 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %78 78: ; preds = %76, %74 %79 = load ptr, ptr %2, align 8 %80 = call i32 @free(ptr noundef %79) ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i32 @time(i32 noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @rand(...) #1 declare double @clock(...) #1 declare i64 @cntbb(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @cntbr(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8vn6ul2b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCKS_PER_SEC = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [24 x i8] c"Words: %ld (time: %lf)\0A\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"Test OK: nubers are equal\0A\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"Test FAIL: numbers are not equal\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 i64, align 8 %4 = alloca i64, align 8 %5 = alloca double, align 8 %6 = alloca i64, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca i64, align 8 %10 = alloca double, align 8 store i32 0, ptr %1, align 4 %11 = call i32 @time(i32 noundef 0) %12 = call i32 @srand(i32 noundef %11) %13 = call ptr @malloc(i32 noundef 268435456) store ptr %13, ptr %2, align 8 store i64 0, ptr %3, align 8 %14 = load i64, ptr %3, align 8 %15 = icmp ult i64 %14, 268435456 br i1 %15, label %.lr.ph, label %29 .lr.ph: ; preds = %0 br label %16 16: ; preds = %.lr.ph, %24 %17 = call i32 (...) @rand() %18 = and i32 %17, 25 %19 = add nsw i32 97, %18 %20 = trunc i32 %19 to i8 %21 = load ptr, ptr %2, align 8 %22 = load i64, ptr %3, align 8 %23 = getelementptr inbounds i8, ptr %21, i64 %22 store i8 %20, ptr %23, align 1 br label %24 24: ; preds = %16 %25 = load i64, ptr %3, align 8 %26 = add i64 %25, 1 store i64 %26, ptr %3, align 8 %27 = load i64, ptr %3, align 8 %28 = icmp ult i64 %27, 268435456 br i1 %28, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %29 29: ; preds = %._crit_edge, %0 store i64 0, ptr %4, align 8 %30 = load i64, ptr %4, align 8 %31 = icmp ult i64 %30, 268435456 br i1 %31, label %.lr.ph2, label %46 .lr.ph2: ; preds = %29 br label %32 32: ; preds = %.lr.ph2, %41 %33 = call i32 (...) @rand() %34 = and i32 %33, 3 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %40 36: ; preds = %32 %37 = load ptr, ptr %2, align 8 %38 = load i64, ptr %4, align 8 %39 = getelementptr inbounds i8, ptr %37, i64 %38 store i8 32, ptr %39, align 1 br label %40 40: ; preds = %36, %32 br label %41 41: ; preds = %40 %42 = load i64, ptr %4, align 8 %43 = add i64 %42, 1 store i64 %43, ptr %4, align 8 %44 = load i64, ptr %4, align 8 %45 = icmp ult i64 %44, 268435456 br i1 %45, label %32, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %41 br label %46 46: ; preds = %._crit_edge3, %29 %47 = call double (...) @clock() store double %47, ptr %5, align 8 %48 = load ptr, ptr %2, align 8 %49 = call i64 @cntbb(ptr noundef %48, i32 noundef 268435456) store i64 %49, ptr %6, align 8 %50 = call double (...) @clock() store double %50, ptr %7, align 8 %51 = load double, ptr %7, align 8 %52 = load double, ptr %5, align 8 %53 = fsub double %51, %52 %54 = load i64, ptr @CLOCKS_PER_SEC, align 8 %55 = sitofp i64 %54 to double %56 = fdiv double %53, %55 store double %56, ptr %8, align 8 %57 = load i64, ptr %6, align 8 %58 = load double, ptr %8, align 8 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %57, double noundef %58) %60 = call double (...) @clock() store double %60, ptr %5, align 8 %61 = load ptr, ptr %2, align 8 %62 = call i64 @cntbr(ptr noundef %61, i32 noundef 268435456) store i64 %62, ptr %9, align 8 %63 = call double (...) @clock() store double %63, ptr %7, align 8 %64 = load double, ptr %7, align 8 %65 = load double, ptr %5, align 8 %66 = fsub double %64, %65 %67 = load i64, ptr @CLOCKS_PER_SEC, align 8 %68 = sitofp i64 %67 to double %69 = fdiv double %66, %68 store double %69, ptr %10, align 8 %70 = load i64, ptr %9, align 8 %71 = load double, ptr %10, align 8 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %70, double noundef %71) %73 = load i64, ptr %6, align 8 %74 = load i64, ptr %9, align 8 %75 = icmp eq i64 %73, %74 br i1 %75, label %76, label %78 76: ; preds = %46 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %80 78: ; preds = %46 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %80 80: ; preds = %78, %76 %81 = load ptr, ptr %2, align 8 %82 = call i32 @free(ptr noundef %81) ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i32 @time(i32 noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @rand(...) #1 declare double @clock(...) #1 declare i64 @cntbb(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @cntbr(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpjoh8047j.c' source_filename = "/tmp/tmpjoh8047j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strdup_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %5, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @ft_strlen(ptr noundef %6) %8 = add nsw i32 %7, 1 %9 = sext i32 %8 to i64 %10 = mul i64 1, %9 %11 = trunc i64 %10 to i32 %12 = call i64 @malloc(i32 noundef %11) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %4, align 8 %14 = load ptr, ptr %4, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %17 16: ; preds = %1 store ptr null, ptr %2, align 8 br label %45 17: ; preds = %1 br label %18 18: ; preds = %25, %17 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %5, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = icmp ne i8 %23, 0 br i1 %24, label %25, label %37 25: ; preds = %18 %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %5, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load i8, ptr %29, align 1 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %5, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %31, i64 %33 store i8 %30, ptr %34, align 1 %35 = load i32, ptr %5, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %5, align 4 br label %18, !llvm.loop !6 37: ; preds = %18 %38 = load ptr, ptr %4, align 8 %39 = load i32, ptr %5, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 store i8 0, ptr %41, align 1 %42 = load ptr, ptr %3, align 8 %43 = call i32 @free(ptr noundef %42) %44 = load ptr, ptr %4, align 8 store ptr %44, ptr %2, align 8 br label %45 45: ; preds = %37, %16 %46 = load ptr, ptr %2, align 8 ret ptr %46 } declare i64 @malloc(i32 noundef) #1 declare i32 @ft_strlen(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjoh8047j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strdup_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %5, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @ft_strlen(ptr noundef %6) %8 = add nsw i32 %7, 1 %9 = sext i32 %8 to i64 %10 = mul i64 1, %9 %11 = trunc i64 %10 to i32 %12 = call i64 @malloc(i32 noundef %11) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %4, align 8 %14 = load ptr, ptr %4, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %17 16: ; preds = %1 store ptr null, ptr %2, align 8 br label %50 17: ; preds = %1 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %5, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = icmp ne i8 %22, 0 br i1 %23, label %.lr.ph, label %42 .lr.ph: ; preds = %17 br label %24 24: ; preds = %.lr.ph, %24 %25 = load ptr, ptr %3, align 8 %26 = load i32, ptr %5, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = load i8, ptr %28, align 1 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr %5, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 store i8 %29, ptr %33, align 1 %34 = load i32, ptr %5, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %5, align 4 %36 = load ptr, ptr %3, align 8 %37 = load i32, ptr %5, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 %40 = load i8, ptr %39, align 1 %41 = icmp ne i8 %40, 0 br i1 %41, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %42 42: ; preds = %._crit_edge, %17 %43 = load ptr, ptr %4, align 8 %44 = load i32, ptr %5, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %43, i64 %45 store i8 0, ptr %46, align 1 %47 = load ptr, ptr %3, align 8 %48 = call i32 @free(ptr noundef %47) %49 = load ptr, ptr %4, align 8 store ptr %49, ptr %2, align 8 br label %50 50: ; preds = %42, %16 %51 = load ptr, ptr %2, align 8 ret ptr %51 } declare i64 @malloc(i32 noundef) #1 declare i32 @ft_strlen(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpmzf7eks4.c' source_filename = "/tmp/tmpmzf7eks4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cubic_bspline_2d_interpol_dx(ptr noundef %0, i64 noundef %1, i64 noundef %2, double noundef %3, double noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca i32, align 4 %12 = alloca [3 x i64], align 16 %13 = alloca [4 x i64], align 16 %14 = alloca [3 x double], align 16 %15 = alloca [4 x double], align 16 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca i64, align 8 %19 = alloca i64, align 8 %20 = alloca i64, align 8 %21 = alloca i64, align 8 %22 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store double %3, ptr %9, align 8 store double %4, ptr %10, align 8 store i32 3, ptr %11, align 4 %23 = load i64, ptr %7, align 8 %24 = mul nsw i64 2, %23 %25 = sub nsw i64 %24, 2 store i64 %25, ptr %18, align 8 %26 = load i64, ptr %8, align 8 %27 = mul nsw i64 2, %26 %28 = sub nsw i64 %27, 2 store i64 %28, ptr %19, align 8 %29 = load double, ptr %9, align 8 %30 = fadd double %29, 1.000000e+00 %31 = call i64 @floor(double noundef %30) %32 = load i32, ptr %11, align 4 %33 = sub nsw i32 %32, 1 %34 = sext i32 %33 to i64 %35 = sdiv i64 %34, 2 %36 = sub nsw i64 %31, %35 store i64 %36, ptr %20, align 8 %37 = load double, ptr %10, align 8 %38 = call i64 @floor(double noundef %37) %39 = load i32, ptr %11, align 4 %40 = sext i32 %39 to i64 %41 = sdiv i64 %40, 2 %42 = sub nsw i64 %38, %41 store i64 %42, ptr %21, align 8 store i64 0, ptr %22, align 8 br label %43 43: ; preds = %63, %5 %44 = load i64, ptr %22, align 8 %45 = load i32, ptr %11, align 4 %46 = sext i32 %45 to i64 %47 = icmp sle i64 %44, %46 br i1 %47, label %48, label %66 48: ; preds = %43 %49 = load i64, ptr %22, align 8 %50 = load i32, ptr %11, align 4 %51 = sext i32 %50 to i64 %52 = icmp slt i64 %49, %51 br i1 %52, label %53, label %58 53: ; preds = %48 %54 = load i64, ptr %20, align 8 %55 = add nsw i64 %54, 1 store i64 %55, ptr %20, align 8 %56 = load i64, ptr %22, align 8 %57 = getelementptr inbounds [3 x i64], ptr %12, i64 0, i64 %56 store i64 %54, ptr %57, align 8 br label %58 58: ; preds = %53, %48 %59 = load i64, ptr %21, align 8 %60 = add nsw i64 %59, 1 store i64 %60, ptr %21, align 8 %61 = load i64, ptr %22, align 8 %62 = getelementptr inbounds [4 x i64], ptr %13, i64 0, i64 %61 store i64 %59, ptr %62, align 8 br label %63 63: ; preds = %58 %64 = load i64, ptr %22, align 8 %65 = add nsw i64 %64, 1 store i64 %65, ptr %22, align 8 br label %43, !llvm.loop !6 66: ; preds = %43 %67 = load double, ptr %9, align 8 %68 = fadd double %67, 5.000000e-01 %69 = getelementptr inbounds [3 x i64], ptr %12, i64 0, i64 1 %70 = load i64, ptr %69, align 8 %71 = sitofp i64 %70 to double %72 = fsub double %68, %71 store double %72, ptr %17, align 8 %73 = load double, ptr %17, align 8 %74 = load double, ptr %17, align 8 %75 = fneg double %73 %76 = call double @llvm.fmuladd.f64(double %75, double %74, double 7.500000e-01) %77 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 1 store double %76, ptr %77, align 8 %78 = load double, ptr %17, align 8 %79 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 1 %80 = load double, ptr %79, align 8 %81 = fsub double %78, %80 %82 = fadd double %81, 1.000000e+00 %83 = fmul double 5.000000e-01, %82 %84 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 2 store double %83, ptr %84, align 16 %85 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 1 %86 = load double, ptr %85, align 8 %87 = fsub double 1.000000e+00, %86 %88 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 2 %89 = load double, ptr %88, align 16 %90 = fsub double %87, %89 %91 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0 store double %90, ptr %91, align 16 %92 = load double, ptr %10, align 8 %93 = getelementptr inbounds [4 x i64], ptr %13, i64 0, i64 1 %94 = load i64, ptr %93, align 8 %95 = sitofp i64 %94 to double %96 = fsub double %92, %95 store double %96, ptr %17, align 8 %97 = load double, ptr %17, align 8 %98 = fmul double 0x3FC5555555555555, %97 %99 = load double, ptr %17, align 8 %100 = fmul double %98, %99 %101 = load double, ptr %17, align 8 %102 = fmul double %100, %101 %103 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 3 store double %102, ptr %103, align 8 %104 = load double, ptr %17, align 8 %105 = fmul double 5.000000e-01, %104 %106 = load double, ptr %17, align 8 %107 = fsub double %106, 1.000000e+00 %108 = call double @llvm.fmuladd.f64(double %105, double %107, double 0x3FC5555555555555) %109 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 3 %110 = load double, ptr %109, align 8 %111 = fsub double %108, %110 %112 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 0 store double %111, ptr %112, align 16 %113 = load double, ptr %17, align 8 %114 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 0 %115 = load double, ptr %114, align 16 %116 = fadd double %113, %115 %117 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 3 %118 = load double, ptr %117, align 8 %119 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %118, double %116) %120 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 2 store double %119, ptr %120, align 16 %121 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 0 %122 = load double, ptr %121, align 16 %123 = fsub double 1.000000e+00, %122 %124 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 2 %125 = load double, ptr %124, align 16 %126 = fsub double %123, %125 %127 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 3 %128 = load double, ptr %127, align 8 %129 = fsub double %126, %128 %130 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 1 store double %129, ptr %130, align 8 store i64 0, ptr %22, align 8 br label %131 131: ; preds = %251, %66 %132 = load i64, ptr %22, align 8 %133 = load i32, ptr %11, align 4 %134 = sext i32 %133 to i64 %135 = icmp sle i64 %132, %134 br i1 %135, label %136, label %254 136: ; preds = %131 %137 = load i64, ptr %22, align 8 %138 = load i32, ptr %11, align 4 %139 = sext i32 %138 to i64 %140 = icmp slt i64 %137, %139 br i1 %140, label %141, label %196 141: ; preds = %136 %142 = load i64, ptr %7, align 8 %143 = icmp eq i64 %142, 1 br i1 %143, label %144, label %145 144: ; preds = %141 br label %178 145: ; preds = %141 %146 = load i64, ptr %22, align 8 %147 = getelementptr inbounds [3 x i64], ptr %12, i64 0, i64 %146 %148 = load i64, ptr %147, align 8 %149 = icmp slt i64 %148, 0 br i1 %149, label %150, label %164 150: ; preds = %145 %151 = load i64, ptr %22, align 8 %152 = getelementptr inbounds [3 x i64], ptr %12, i64 0, i64 %151 %153 = load i64, ptr %152, align 8 %154 = sub nsw i64 0, %153 %155 = load i64, ptr %18, align 8 %156 = load i64, ptr %22, align 8 %157 = getelementptr inbounds [3 x i64], ptr %12, i64 0, i64 %156 %158 = load i64, ptr %157, align 8 %159 = sub nsw i64 0, %158 %160 = load i64, ptr %18, align 8 %161 = sdiv i64 %159, %160 %162 = mul nsw i64 %155, %161 %163 = sub nsw i64 %154, %162 br label %176 164: ; preds = %145 %165 = load i64, ptr %22, align 8 %166 = getelementptr inbounds [3 x i64], ptr %12, i64 0, i64 %165 %167 = load i64, ptr %166, align 8 %168 = load i64, ptr %18, align 8 %169 = load i64, ptr %22, align 8 %170 = getelementptr inbounds [3 x i64], ptr %12, i64 0, i64 %169 %171 = load i64, ptr %170, align 8 %172 = load i64, ptr %18, align 8 %173 = sdiv i64 %171, %172 %174 = mul nsw i64 %168, %173 %175 = sub nsw i64 %167, %174 br label %176 176: ; preds = %164, %150 %177 = phi i64 [ %163, %150 ], [ %175, %164 ] br label %178 178: ; preds = %176, %144 %179 = phi i64 [ 0, %144 ], [ %177, %176 ] %180 = load i64, ptr %22, align 8 %181 = getelementptr inbounds [3 x i64], ptr %12, i64 0, i64 %180 store i64 %179, ptr %181, align 8 %182 = load i64, ptr %7, align 8 %183 = load i64, ptr %22, align 8 %184 = getelementptr inbounds [3 x i64], ptr %12, i64 0, i64 %183 %185 = load i64, ptr %184, align 8 %186 = icmp sle i64 %182, %185 br i1 %186, label %187, label %195 187: ; preds = %178 %188 = load i64, ptr %18, align 8 %189 = load i64, ptr %22, align 8 %190 = getelementptr inbounds [3 x i64], ptr %12, i64 0, i64 %189 %191 = load i64, ptr %190, align 8 %192 = sub nsw i64 %188, %191 %193 = load i64, ptr %22, align 8 %194 = getelementptr inbounds [3 x i64], ptr %12, i64 0, i64 %193 store i64 %192, ptr %194, align 8 br label %195 195: ; preds = %187, %178 br label %196 196: ; preds = %195, %136 %197 = load i64, ptr %8, align 8 %198 = icmp eq i64 %197, 1 br i1 %198, label %199, label %200 199: ; preds = %196 br label %233 200: ; preds = %196 %201 = load i64, ptr %22, align 8 %202 = getelementptr inbounds [4 x i64], ptr %13, i64 0, i64 %201 %203 = load i64, ptr %202, align 8 %204 = icmp slt i64 %203, 0 br i1 %204, label %205, label %219 205: ; preds = %200 %206 = load i64, ptr %22, align 8 %207 = getelementptr inbounds [4 x i64], ptr %13, i64 0, i64 %206 %208 = load i64, ptr %207, align 8 %209 = sub nsw i64 0, %208 %210 = load i64, ptr %19, align 8 %211 = load i64, ptr %22, align 8 %212 = getelementptr inbounds [4 x i64], ptr %13, i64 0, i64 %211 %213 = load i64, ptr %212, align 8 %214 = sub nsw i64 0, %213 %215 = load i64, ptr %19, align 8 %216 = sdiv i64 %214, %215 %217 = mul nsw i64 %210, %216 %218 = sub nsw i64 %209, %217 br label %231 219: ; preds = %200 %220 = load i64, ptr %22, align 8 %221 = getelementptr inbounds [4 x i64], ptr %13, i64 0, i64 %220 %222 = load i64, ptr %221, align 8 %223 = load i64, ptr %19, align 8 %224 = load i64, ptr %22, align 8 %225 = getelementptr inbounds [4 x i64], ptr %13, i64 0, i64 %224 %226 = load i64, ptr %225, align 8 %227 = load i64, ptr %19, align 8 %228 = sdiv i64 %226, %227 %229 = mul nsw i64 %223, %228 %230 = sub nsw i64 %222, %229 br label %231 231: ; preds = %219, %205 %232 = phi i64 [ %218, %205 ], [ %230, %219 ] br label %233 233: ; preds = %231, %199 %234 = phi i64 [ 0, %199 ], [ %232, %231 ] %235 = load i64, ptr %22, align 8 %236 = getelementptr inbounds [4 x i64], ptr %13, i64 0, i64 %235 store i64 %234, ptr %236, align 8 %237 = load i64, ptr %8, align 8 %238 = load i64, ptr %22, align 8 %239 = getelementptr inbounds [4 x i64], ptr %13, i64 0, i64 %238 %240 = load i64, ptr %239, align 8 %241 = icmp sle i64 %237, %240 br i1 %241, label %242, label %250 242: ; preds = %233 %243 = load i64, ptr %19, align 8 %244 = load i64, ptr %22, align 8 %245 = getelementptr inbounds [4 x i64], ptr %13, i64 0, i64 %244 %246 = load i64, ptr %245, align 8 %247 = sub nsw i64 %243, %246 %248 = load i64, ptr %22, align 8 %249 = getelementptr inbounds [4 x i64], ptr %13, i64 0, i64 %248 store i64 %247, ptr %249, align 8 br label %250 250: ; preds = %242, %233 br label %251 251: ; preds = %250 %252 = load i64, ptr %22, align 8 %253 = add nsw i64 %252, 1 store i64 %253, ptr %22, align 8 br label %131, !llvm.loop !8 254: ; preds = %131 store double 0.000000e+00, ptr %16, align 8 store i64 0, ptr %20, align 8 br label %255 255: ; preds = %306, %254 %256 = load i64, ptr %20, align 8 %257 = load i32, ptr %11, align 4 %258 = sext i32 %257 to i64 %259 = icmp slt i64 %256, %258 br i1 %259, label %260, label %309 260: ; preds = %255 store i64 0, ptr %21, align 8 br label %261 261: ; preds = %302, %260 %262 = load i64, ptr %21, align 8 %263 = load i32, ptr %11, align 4 %264 = sext i32 %263 to i64 %265 = icmp sle i64 %262, %264 br i1 %265, label %266, label %305 266: ; preds = %261 %267 = load ptr, ptr %6, align 8 %268 = load i64, ptr %20, align 8 %269 = getelementptr inbounds [3 x i64], ptr %12, i64 0, i64 %268 %270 = load i64, ptr %269, align 8 %271 = load i64, ptr %7, align 8 %272 = mul nsw i64 %270, %271 %273 = load i64, ptr %21, align 8 %274 = getelementptr inbounds [4 x i64], ptr %13, i64 0, i64 %273 %275 = load i64, ptr %274, align 8 %276 = add nsw i64 %272, %275 %277 = getelementptr inbounds double, ptr %267, i64 %276 %278 = load double, ptr %277, align 8 %279 = load ptr, ptr %6, align 8 %280 = load i64, ptr %20, align 8 %281 = getelementptr inbounds [3 x i64], ptr %12, i64 0, i64 %280 %282 = load i64, ptr %281, align 8 %283 = sub nsw i64 %282, 1 %284 = load i64, ptr %7, align 8 %285 = mul nsw i64 %283, %284 %286 = load i64, ptr %21, align 8 %287 = getelementptr inbounds [4 x i64], ptr %13, i64 0, i64 %286 %288 = load i64, ptr %287, align 8 %289 = add nsw i64 %285, %288 %290 = getelementptr inbounds double, ptr %279, i64 %289 %291 = load double, ptr %290, align 8 %292 = fsub double %278, %291 %293 = load i64, ptr %20, align 8 %294 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 %293 %295 = load double, ptr %294, align 8 %296 = fmul double %292, %295 %297 = load i64, ptr %21, align 8 %298 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 %297 %299 = load double, ptr %298, align 8 %300 = load double, ptr %16, align 8 %301 = call double @llvm.fmuladd.f64(double %296, double %299, double %300) store double %301, ptr %16, align 8 br label %302 302: ; preds = %266 %303 = load i64, ptr %21, align 8 %304 = add nsw i64 %303, 1 store i64 %304, ptr %21, align 8 br label %261, !llvm.loop !9 305: ; preds = %261 br label %306 306: ; preds = %305 %307 = load i64, ptr %20, align 8 %308 = add nsw i64 %307, 1 store i64 %308, ptr %20, align 8 br label %255, !llvm.loop !10 309: ; preds = %255 %310 = load double, ptr %16, align 8 ret double %310 } declare i64 @floor(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmzf7eks4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cubic_bspline_2d_interpol_dx(ptr noundef %0, i64 noundef %1, i64 noundef %2, double noundef %3, double noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca i32, align 4 %12 = alloca [3 x i64], align 16 %13 = alloca [4 x i64], align 16 %14 = alloca [3 x double], align 16 %15 = alloca [4 x double], align 16 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca i64, align 8 %19 = alloca i64, align 8 %20 = alloca i64, align 8 %21 = alloca i64, align 8 %22 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store double %3, ptr %9, align 8 store double %4, ptr %10, align 8 store i32 3, ptr %11, align 4 %23 = load i64, ptr %7, align 8 %24 = mul nsw i64 2, %23 %25 = sub nsw i64 %24, 2 store i64 %25, ptr %18, align 8 %26 = load i64, ptr %8, align 8 %27 = mul nsw i64 2, %26 %28 = sub nsw i64 %27, 2 store i64 %28, ptr %19, align 8 %29 = load double, ptr %9, align 8 %30 = fadd double %29, 1.000000e+00 %31 = call i64 @floor(double noundef %30) %32 = load i32, ptr %11, align 4 %33 = sub nsw i32 %32, 1 %34 = sext i32 %33 to i64 %35 = sdiv i64 %34, 2 %36 = sub nsw i64 %31, %35 store i64 %36, ptr %20, align 8 %37 = load double, ptr %10, align 8 %38 = call i64 @floor(double noundef %37) %39 = load i32, ptr %11, align 4 %40 = sext i32 %39 to i64 %41 = sdiv i64 %40, 2 %42 = sub nsw i64 %38, %41 store i64 %42, ptr %21, align 8 store i64 0, ptr %22, align 8 %43 = load i64, ptr %22, align 8 %44 = load i32, ptr %11, align 4 %45 = sext i32 %44 to i64 %46 = icmp sle i64 %43, %45 br i1 %46, label %.lr.ph, label %69 .lr.ph: ; preds = %5 br label %47 47: ; preds = %.lr.ph, %62 %48 = load i64, ptr %22, align 8 %49 = load i32, ptr %11, align 4 %50 = sext i32 %49 to i64 %51 = icmp slt i64 %48, %50 br i1 %51, label %52, label %57 52: ; preds = %47 %53 = load i64, ptr %20, align 8 %54 = add nsw i64 %53, 1 store i64 %54, ptr %20, align 8 %55 = load i64, ptr %22, align 8 %56 = getelementptr inbounds [3 x i64], ptr %12, i64 0, i64 %55 store i64 %53, ptr %56, align 8 br label %57 57: ; preds = %52, %47 %58 = load i64, ptr %21, align 8 %59 = add nsw i64 %58, 1 store i64 %59, ptr %21, align 8 %60 = load i64, ptr %22, align 8 %61 = getelementptr inbounds [4 x i64], ptr %13, i64 0, i64 %60 store i64 %58, ptr %61, align 8 br label %62 62: ; preds = %57 %63 = load i64, ptr %22, align 8 %64 = add nsw i64 %63, 1 store i64 %64, ptr %22, align 8 %65 = load i64, ptr %22, align 8 %66 = load i32, ptr %11, align 4 %67 = sext i32 %66 to i64 %68 = icmp sle i64 %65, %67 br i1 %68, label %47, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %62 br label %69 69: ; preds = %._crit_edge, %5 %70 = load double, ptr %9, align 8 %71 = fadd double %70, 5.000000e-01 %72 = getelementptr inbounds [3 x i64], ptr %12, i64 0, i64 1 %73 = load i64, ptr %72, align 8 %74 = sitofp i64 %73 to double %75 = fsub double %71, %74 store double %75, ptr %17, align 8 %76 = load double, ptr %17, align 8 %77 = load double, ptr %17, align 8 %78 = fneg double %76 %79 = call double @llvm.fmuladd.f64(double %78, double %77, double 7.500000e-01) %80 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 1 store double %79, ptr %80, align 8 %81 = load double, ptr %17, align 8 %82 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 1 %83 = load double, ptr %82, align 8 %84 = fsub double %81, %83 %85 = fadd double %84, 1.000000e+00 %86 = fmul double 5.000000e-01, %85 %87 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 2 store double %86, ptr %87, align 16 %88 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 1 %89 = load double, ptr %88, align 8 %90 = fsub double 1.000000e+00, %89 %91 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 2 %92 = load double, ptr %91, align 16 %93 = fsub double %90, %92 %94 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0 store double %93, ptr %94, align 16 %95 = load double, ptr %10, align 8 %96 = getelementptr inbounds [4 x i64], ptr %13, i64 0, i64 1 %97 = load i64, ptr %96, align 8 %98 = sitofp i64 %97 to double %99 = fsub double %95, %98 store double %99, ptr %17, align 8 %100 = load double, ptr %17, align 8 %101 = fmul double 0x3FC5555555555555, %100 %102 = load double, ptr %17, align 8 %103 = fmul double %101, %102 %104 = load double, ptr %17, align 8 %105 = fmul double %103, %104 %106 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 3 store double %105, ptr %106, align 8 %107 = load double, ptr %17, align 8 %108 = fmul double 5.000000e-01, %107 %109 = load double, ptr %17, align 8 %110 = fsub double %109, 1.000000e+00 %111 = call double @llvm.fmuladd.f64(double %108, double %110, double 0x3FC5555555555555) %112 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 3 %113 = load double, ptr %112, align 8 %114 = fsub double %111, %113 %115 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 0 store double %114, ptr %115, align 16 %116 = load double, ptr %17, align 8 %117 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 0 %118 = load double, ptr %117, align 16 %119 = fadd double %116, %118 %120 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 3 %121 = load double, ptr %120, align 8 %122 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %121, double %119) %123 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 2 store double %122, ptr %123, align 16 %124 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 0 %125 = load double, ptr %124, align 16 %126 = fsub double 1.000000e+00, %125 %127 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 2 %128 = load double, ptr %127, align 16 %129 = fsub double %126, %128 %130 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 3 %131 = load double, ptr %130, align 8 %132 = fsub double %129, %131 %133 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 1 store double %132, ptr %133, align 8 store i64 0, ptr %22, align 8 %134 = load i64, ptr %22, align 8 %135 = load i32, ptr %11, align 4 %136 = sext i32 %135 to i64 %137 = icmp sle i64 %134, %136 br i1 %137, label %.lr.ph2, label %260 .lr.ph2: ; preds = %69 br label %138 138: ; preds = %.lr.ph2, %253 %139 = load i64, ptr %22, align 8 %140 = load i32, ptr %11, align 4 %141 = sext i32 %140 to i64 %142 = icmp slt i64 %139, %141 br i1 %142, label %143, label %198 143: ; preds = %138 %144 = load i64, ptr %7, align 8 %145 = icmp eq i64 %144, 1 br i1 %145, label %146, label %147 146: ; preds = %143 br label %180 147: ; preds = %143 %148 = load i64, ptr %22, align 8 %149 = getelementptr inbounds [3 x i64], ptr %12, i64 0, i64 %148 %150 = load i64, ptr %149, align 8 %151 = icmp slt i64 %150, 0 br i1 %151, label %152, label %166 152: ; preds = %147 %153 = load i64, ptr %22, align 8 %154 = getelementptr inbounds [3 x i64], ptr %12, i64 0, i64 %153 %155 = load i64, ptr %154, align 8 %156 = sub nsw i64 0, %155 %157 = load i64, ptr %18, align 8 %158 = load i64, ptr %22, align 8 %159 = getelementptr inbounds [3 x i64], ptr %12, i64 0, i64 %158 %160 = load i64, ptr %159, align 8 %161 = sub nsw i64 0, %160 %162 = load i64, ptr %18, align 8 %163 = sdiv i64 %161, %162 %164 = mul nsw i64 %157, %163 %165 = sub nsw i64 %156, %164 br label %178 166: ; preds = %147 %167 = load i64, ptr %22, align 8 %168 = getelementptr inbounds [3 x i64], ptr %12, i64 0, i64 %167 %169 = load i64, ptr %168, align 8 %170 = load i64, ptr %18, align 8 %171 = load i64, ptr %22, align 8 %172 = getelementptr inbounds [3 x i64], ptr %12, i64 0, i64 %171 %173 = load i64, ptr %172, align 8 %174 = load i64, ptr %18, align 8 %175 = sdiv i64 %173, %174 %176 = mul nsw i64 %170, %175 %177 = sub nsw i64 %169, %176 br label %178 178: ; preds = %166, %152 %179 = phi i64 [ %165, %152 ], [ %177, %166 ] br label %180 180: ; preds = %178, %146 %181 = phi i64 [ 0, %146 ], [ %179, %178 ] %182 = load i64, ptr %22, align 8 %183 = getelementptr inbounds [3 x i64], ptr %12, i64 0, i64 %182 store i64 %181, ptr %183, align 8 %184 = load i64, ptr %7, align 8 %185 = load i64, ptr %22, align 8 %186 = getelementptr inbounds [3 x i64], ptr %12, i64 0, i64 %185 %187 = load i64, ptr %186, align 8 %188 = icmp sle i64 %184, %187 br i1 %188, label %189, label %197 189: ; preds = %180 %190 = load i64, ptr %18, align 8 %191 = load i64, ptr %22, align 8 %192 = getelementptr inbounds [3 x i64], ptr %12, i64 0, i64 %191 %193 = load i64, ptr %192, align 8 %194 = sub nsw i64 %190, %193 %195 = load i64, ptr %22, align 8 %196 = getelementptr inbounds [3 x i64], ptr %12, i64 0, i64 %195 store i64 %194, ptr %196, align 8 br label %197 197: ; preds = %189, %180 br label %198 198: ; preds = %197, %138 %199 = load i64, ptr %8, align 8 %200 = icmp eq i64 %199, 1 br i1 %200, label %201, label %202 201: ; preds = %198 br label %235 202: ; preds = %198 %203 = load i64, ptr %22, align 8 %204 = getelementptr inbounds [4 x i64], ptr %13, i64 0, i64 %203 %205 = load i64, ptr %204, align 8 %206 = icmp slt i64 %205, 0 br i1 %206, label %207, label %221 207: ; preds = %202 %208 = load i64, ptr %22, align 8 %209 = getelementptr inbounds [4 x i64], ptr %13, i64 0, i64 %208 %210 = load i64, ptr %209, align 8 %211 = sub nsw i64 0, %210 %212 = load i64, ptr %19, align 8 %213 = load i64, ptr %22, align 8 %214 = getelementptr inbounds [4 x i64], ptr %13, i64 0, i64 %213 %215 = load i64, ptr %214, align 8 %216 = sub nsw i64 0, %215 %217 = load i64, ptr %19, align 8 %218 = sdiv i64 %216, %217 %219 = mul nsw i64 %212, %218 %220 = sub nsw i64 %211, %219 br label %233 221: ; preds = %202 %222 = load i64, ptr %22, align 8 %223 = getelementptr inbounds [4 x i64], ptr %13, i64 0, i64 %222 %224 = load i64, ptr %223, align 8 %225 = load i64, ptr %19, align 8 %226 = load i64, ptr %22, align 8 %227 = getelementptr inbounds [4 x i64], ptr %13, i64 0, i64 %226 %228 = load i64, ptr %227, align 8 %229 = load i64, ptr %19, align 8 %230 = sdiv i64 %228, %229 %231 = mul nsw i64 %225, %230 %232 = sub nsw i64 %224, %231 br label %233 233: ; preds = %221, %207 %234 = phi i64 [ %220, %207 ], [ %232, %221 ] br label %235 235: ; preds = %233, %201 %236 = phi i64 [ 0, %201 ], [ %234, %233 ] %237 = load i64, ptr %22, align 8 %238 = getelementptr inbounds [4 x i64], ptr %13, i64 0, i64 %237 store i64 %236, ptr %238, align 8 %239 = load i64, ptr %8, align 8 %240 = load i64, ptr %22, align 8 %241 = getelementptr inbounds [4 x i64], ptr %13, i64 0, i64 %240 %242 = load i64, ptr %241, align 8 %243 = icmp sle i64 %239, %242 br i1 %243, label %244, label %252 244: ; preds = %235 %245 = load i64, ptr %19, align 8 %246 = load i64, ptr %22, align 8 %247 = getelementptr inbounds [4 x i64], ptr %13, i64 0, i64 %246 %248 = load i64, ptr %247, align 8 %249 = sub nsw i64 %245, %248 %250 = load i64, ptr %22, align 8 %251 = getelementptr inbounds [4 x i64], ptr %13, i64 0, i64 %250 store i64 %249, ptr %251, align 8 br label %252 252: ; preds = %244, %235 br label %253 253: ; preds = %252 %254 = load i64, ptr %22, align 8 %255 = add nsw i64 %254, 1 store i64 %255, ptr %22, align 8 %256 = load i64, ptr %22, align 8 %257 = load i32, ptr %11, align 4 %258 = sext i32 %257 to i64 %259 = icmp sle i64 %256, %258 br i1 %259, label %138, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %253 br label %260 260: ; preds = %._crit_edge3, %69 store double 0.000000e+00, ptr %16, align 8 store i64 0, ptr %20, align 8 %261 = load i64, ptr %20, align 8 %262 = load i32, ptr %11, align 4 %263 = sext i32 %262 to i64 %264 = icmp slt i64 %261, %263 br i1 %264, label %.lr.ph8, label %321 .lr.ph8: ; preds = %260 br label %265 265: ; preds = %.lr.ph8, %314 store i64 0, ptr %21, align 8 %266 = load i64, ptr %21, align 8 %267 = load i32, ptr %11, align 4 %268 = sext i32 %267 to i64 %269 = icmp sle i64 %266, %268 br i1 %269, label %.lr.ph5, label %313 .lr.ph5: ; preds = %265 br label %270 270: ; preds = %.lr.ph5, %306 %271 = load ptr, ptr %6, align 8 %272 = load i64, ptr %20, align 8 %273 = getelementptr inbounds [3 x i64], ptr %12, i64 0, i64 %272 %274 = load i64, ptr %273, align 8 %275 = load i64, ptr %7, align 8 %276 = mul nsw i64 %274, %275 %277 = load i64, ptr %21, align 8 %278 = getelementptr inbounds [4 x i64], ptr %13, i64 0, i64 %277 %279 = load i64, ptr %278, align 8 %280 = add nsw i64 %276, %279 %281 = getelementptr inbounds double, ptr %271, i64 %280 %282 = load double, ptr %281, align 8 %283 = load ptr, ptr %6, align 8 %284 = load i64, ptr %20, align 8 %285 = getelementptr inbounds [3 x i64], ptr %12, i64 0, i64 %284 %286 = load i64, ptr %285, align 8 %287 = sub nsw i64 %286, 1 %288 = load i64, ptr %7, align 8 %289 = mul nsw i64 %287, %288 %290 = load i64, ptr %21, align 8 %291 = getelementptr inbounds [4 x i64], ptr %13, i64 0, i64 %290 %292 = load i64, ptr %291, align 8 %293 = add nsw i64 %289, %292 %294 = getelementptr inbounds double, ptr %283, i64 %293 %295 = load double, ptr %294, align 8 %296 = fsub double %282, %295 %297 = load i64, ptr %20, align 8 %298 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 %297 %299 = load double, ptr %298, align 8 %300 = fmul double %296, %299 %301 = load i64, ptr %21, align 8 %302 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 %301 %303 = load double, ptr %302, align 8 %304 = load double, ptr %16, align 8 %305 = call double @llvm.fmuladd.f64(double %300, double %303, double %304) store double %305, ptr %16, align 8 br label %306 306: ; preds = %270 %307 = load i64, ptr %21, align 8 %308 = add nsw i64 %307, 1 store i64 %308, ptr %21, align 8 %309 = load i64, ptr %21, align 8 %310 = load i32, ptr %11, align 4 %311 = sext i32 %310 to i64 %312 = icmp sle i64 %309, %311 br i1 %312, label %270, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %306 br label %313 313: ; preds = %._crit_edge6, %265 br label %314 314: ; preds = %313 %315 = load i64, ptr %20, align 8 %316 = add nsw i64 %315, 1 store i64 %316, ptr %20, align 8 %317 = load i64, ptr %20, align 8 %318 = load i32, ptr %11, align 4 %319 = sext i32 %318 to i64 %320 = icmp slt i64 %317, %319 br i1 %320, label %265, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %314 br label %321 321: ; preds = %._crit_edge9, %260 %322 = load double, ptr %16, align 8 ret double %322 } declare i64 @floor(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmprp8uinqe.c' source_filename = "/tmp/tmprp8uinqe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readline(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %10 = call i64 @malloc(i32 noundef 512) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %4, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %14 13: ; preds = %1 store ptr null, ptr %2, align 8 br label %96 14: ; preds = %1 %15 = load ptr, ptr %4, align 8 store ptr %15, ptr %5, align 8 br label %16 16: ; preds = %71, %14 %17 = load i32, ptr %8, align 4 %18 = icmp slt i32 %17, 8191 br i1 %18, label %19, label %29 19: ; preds = %16 %20 = load i32, ptr %3, align 4 %21 = load ptr, ptr %5, align 8 %22 = call i32 @readn(i32 noundef %20, ptr noundef %21, i32 noundef 1) store i32 %22, ptr %7, align 4 %23 = icmp eq i32 %22, 1 br i1 %23, label %24, label %29 24: ; preds = %19 %25 = load ptr, ptr %5, align 8 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp ne i32 %27, 10 br label %29 29: ; preds = %24, %19, %16 %30 = phi i1 [ false, %19 ], [ false, %16 ], [ %28, %24 ] br i1 %30, label %31, label %72 31: ; preds = %29 %32 = load ptr, ptr %5, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp ne i32 %34, 13 br i1 %35, label %36, label %71 36: ; preds = %31 %37 = load i32, ptr %7, align 4 %38 = load i32, ptr %8, align 4 %39 = add nsw i32 %38, %37 store i32 %39, ptr %8, align 4 %40 = load i32, ptr %7, align 4 %41 = load ptr, ptr %5, align 8 %42 = sext i32 %40 to i64 %43 = getelementptr inbounds i8, ptr %41, i64 %42 store ptr %43, ptr %5, align 8 %44 = load i32, ptr %7, align 4 %45 = load i32, ptr %9, align 4 %46 = add nsw i32 %45, %44 store i32 %46, ptr %9, align 4 %47 = load i32, ptr %9, align 4 %48 = icmp eq i32 %47, 512 br i1 %48, label %49, label %70 49: ; preds = %36 %50 = load i32, ptr %6, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %6, align 4 %52 = load ptr, ptr %4, align 8 %53 = load i32, ptr %6, align 4 %54 = add nsw i32 %53, 1 %55 = mul nsw i32 %54, 512 %56 = sext i32 %55 to i64 %57 = mul i64 %56, 1 %58 = trunc i64 %57 to i32 %59 = call ptr @realloc(ptr noundef %52, i32 noundef %58) store ptr %59, ptr %4, align 8 %60 = icmp eq ptr %59, null br i1 %60, label %61, label %64 61: ; preds = %49 %62 = load ptr, ptr %4, align 8 %63 = call i32 @free(ptr noundef %62) store ptr null, ptr %2, align 8 br label %96 64: ; preds = %49 %65 = load ptr, ptr %4, align 8 %66 = load i32, ptr %6, align 4 %67 = mul nsw i32 %66, 512 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %65, i64 %68 store ptr %69, ptr %5, align 8 store i32 0, ptr %9, align 4 br label %70 70: ; preds = %64, %36 br label %71 71: ; preds = %70, %31 br label %16, !llvm.loop !6 72: ; preds = %29 %73 = load i32, ptr %8, align 4 %74 = icmp eq i32 %73, 0 br i1 %74, label %75, label %81 75: ; preds = %72 %76 = load i32, ptr %7, align 4 %77 = icmp eq i32 %76, 0 br i1 %77, label %78, label %81 78: ; preds = %75 %79 = load ptr, ptr %4, align 8 %80 = call i32 @free(ptr noundef %79) store ptr null, ptr %2, align 8 br label %96 81: ; preds = %75, %72 %82 = load i32, ptr %7, align 4 %83 = icmp eq i32 %82, -1 br i1 %83, label %87, label %84 84: ; preds = %81 %85 = load i32, ptr %8, align 4 %86 = icmp sge i32 %85, 8192 br i1 %86, label %87, label %90 87: ; preds = %84, %81 %88 = load ptr, ptr %4, align 8 %89 = call i32 @free(ptr noundef %88) store ptr null, ptr %2, align 8 br label %96 90: ; preds = %84 %91 = load ptr, ptr %4, align 8 %92 = load i32, ptr %8, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds i8, ptr %91, i64 %93 store i8 0, ptr %94, align 1 %95 = load ptr, ptr %4, align 8 store ptr %95, ptr %2, align 8 br label %96 96: ; preds = %90, %87, %78, %61, %13 %97 = load ptr, ptr %2, align 8 ret ptr %97 } declare i64 @malloc(i32 noundef) #1 declare i32 @readn(i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprp8uinqe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readline(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %10 = call i64 @malloc(i32 noundef 512) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %4, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %14 13: ; preds = %1 store ptr null, ptr %2, align 8 br label %96 14: ; preds = %1 %15 = load ptr, ptr %4, align 8 store ptr %15, ptr %5, align 8 br label %16 16: ; preds = %71, %14 %17 = load i32, ptr %8, align 4 %18 = icmp slt i32 %17, 8191 br i1 %18, label %19, label %29 19: ; preds = %16 %20 = load i32, ptr %3, align 4 %21 = load ptr, ptr %5, align 8 %22 = call i32 @readn(i32 noundef %20, ptr noundef %21, i32 noundef 1) store i32 %22, ptr %7, align 4 %23 = icmp eq i32 %22, 1 br i1 %23, label %24, label %29 24: ; preds = %19 %25 = load ptr, ptr %5, align 8 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp ne i32 %27, 10 br label %29 29: ; preds = %24, %19, %16 %30 = phi i1 [ false, %19 ], [ false, %16 ], [ %28, %24 ] br i1 %30, label %31, label %72 31: ; preds = %29 %32 = load ptr, ptr %5, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp ne i32 %34, 13 br i1 %35, label %36, label %71 36: ; preds = %31 %37 = load i32, ptr %7, align 4 %38 = load i32, ptr %8, align 4 %39 = add nsw i32 %38, %37 store i32 %39, ptr %8, align 4 %40 = load i32, ptr %7, align 4 %41 = load ptr, ptr %5, align 8 %42 = sext i32 %40 to i64 %43 = getelementptr inbounds i8, ptr %41, i64 %42 store ptr %43, ptr %5, align 8 %44 = load i32, ptr %7, align 4 %45 = load i32, ptr %9, align 4 %46 = add nsw i32 %45, %44 store i32 %46, ptr %9, align 4 %47 = load i32, ptr %9, align 4 %48 = icmp eq i32 %47, 512 br i1 %48, label %49, label %70 49: ; preds = %36 %50 = load i32, ptr %6, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %6, align 4 %52 = load ptr, ptr %4, align 8 %53 = load i32, ptr %6, align 4 %54 = add nsw i32 %53, 1 %55 = mul nsw i32 %54, 512 %56 = sext i32 %55 to i64 %57 = mul i64 %56, 1 %58 = trunc i64 %57 to i32 %59 = call ptr @realloc(ptr noundef %52, i32 noundef %58) store ptr %59, ptr %4, align 8 %60 = icmp eq ptr %59, null br i1 %60, label %61, label %64 61: ; preds = %49 %62 = load ptr, ptr %4, align 8 %63 = call i32 @free(ptr noundef %62) store ptr null, ptr %2, align 8 br label %96 64: ; preds = %49 %65 = load ptr, ptr %4, align 8 %66 = load i32, ptr %6, align 4 %67 = mul nsw i32 %66, 512 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %65, i64 %68 store ptr %69, ptr %5, align 8 store i32 0, ptr %9, align 4 br label %70 70: ; preds = %64, %36 br label %71 71: ; preds = %70, %31 br label %16, !llvm.loop !6 72: ; preds = %29 %73 = load i32, ptr %8, align 4 %74 = icmp eq i32 %73, 0 br i1 %74, label %75, label %81 75: ; preds = %72 %76 = load i32, ptr %7, align 4 %77 = icmp eq i32 %76, 0 br i1 %77, label %78, label %81 78: ; preds = %75 %79 = load ptr, ptr %4, align 8 %80 = call i32 @free(ptr noundef %79) store ptr null, ptr %2, align 8 br label %96 81: ; preds = %75, %72 %82 = load i32, ptr %7, align 4 %83 = icmp eq i32 %82, -1 br i1 %83, label %87, label %84 84: ; preds = %81 %85 = load i32, ptr %8, align 4 %86 = icmp sge i32 %85, 8192 br i1 %86, label %87, label %90 87: ; preds = %84, %81 %88 = load ptr, ptr %4, align 8 %89 = call i32 @free(ptr noundef %88) store ptr null, ptr %2, align 8 br label %96 90: ; preds = %84 %91 = load ptr, ptr %4, align 8 %92 = load i32, ptr %8, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds i8, ptr %91, i64 %93 store i8 0, ptr %94, align 1 %95 = load ptr, ptr %4, align 8 store ptr %95, ptr %2, align 8 br label %96 96: ; preds = %90, %87, %78, %61, %13 %97 = load ptr, ptr %2, align 8 ret ptr %97 } declare i64 @malloc(i32 noundef) #1 declare i32 @readn(i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmphontelfn.c' source_filename = "/tmp/tmphontelfn.c" target datalayout = "e-m:e-p270: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/tmphontelfn.c" target datalayout = "e-m:e-p270: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/tmpmflu1mk2.c' source_filename = "/tmp/tmpmflu1mk2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_cos(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call float @cosf(float noundef %3) #2 ret float %4 } ; Function Attrs: nounwind declare float @cosf(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmflu1mk2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_cos(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call float @cosf(float noundef %3) #2 ret float %4 } ; Function Attrs: nounwind declare float @cosf(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5aqjn74s.c' source_filename = "/tmp/tmp5aqjn74s.c" target datalayout = "e-m:e-p270: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/tmp5aqjn74s.c" target datalayout = "e-m:e-p270: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/tmp4cyb0915.c' source_filename = "/tmp/tmp4cyb0915.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Saving data to file: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Can't open output file\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @save_d(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 %12 = load ptr, ptr %6, align 8 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %12) %14 = load ptr, ptr %6, align 8 %15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str.1) store ptr %15, ptr %11, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %19 17: ; preds = %4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %19 19: ; preds = %17, %4 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %8, align 4 %23 = mul nsw i32 %21, %22 %24 = load ptr, ptr %11, align 8 %25 = call i32 @fwrite(ptr noundef %20, i32 noundef 8, i32 noundef %23, ptr noundef %24) %26 = load ptr, ptr %11, align 8 %27 = call i32 @fclose(ptr noundef %26) ret void } declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4cyb0915.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Saving data to file: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Can't open output file\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @save_d(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 %12 = load ptr, ptr %6, align 8 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %12) %14 = load ptr, ptr %6, align 8 %15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str.1) store ptr %15, ptr %11, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %19 17: ; preds = %4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %19 19: ; preds = %17, %4 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %8, align 4 %23 = mul nsw i32 %21, %22 %24 = load ptr, ptr %11, align 8 %25 = call i32 @fwrite(ptr noundef %20, i32 noundef 8, i32 noundef %23, ptr noundef %24) %26 = load ptr, ptr %11, align 8 %27 = call i32 @fclose(ptr noundef %26) ret void } declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpleqtyr5t.c' source_filename = "/tmp/tmpleqtyr5t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalpha.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isalpha should be 0 for 0x14\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalpha_0x14() #0 { %1 = call i64 @isalpha(i32 noundef 20) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 105, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isalpha(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/tmpleqtyr5t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalpha.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isalpha should be 0 for 0x14\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalpha_0x14() #0 { %1 = call i64 @isalpha(i32 noundef 20) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 105, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isalpha(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/tmpt9w79dob.c' source_filename = "/tmp/tmpt9w79dob.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fsync_log(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 @fsync(i32 noundef %3) ret i32 %4 } declare i32 @fsync(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/tmpt9w79dob.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fsync_log(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 @fsync(i32 noundef %3) ret i32 %4 } declare i32 @fsync(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/tmplt9rqxiw.c' source_filename = "/tmp/tmplt9rqxiw.c" target datalayout = "e-m:e-p270: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/tmplt9rqxiw.c" target datalayout = "e-m:e-p270: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/tmp7plv7pmg.c' source_filename = "/tmp/tmp7plv7pmg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sol_comms_init() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (...) @sol_network_init() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp ne i32 %4, 0 br i1 %5, label %6, label %7 6: ; preds = %0 store i32 -1, ptr %1, align 4 br label %28 7: ; preds = %0 %8 = call i32 (...) @sol_http_client_init() store i32 %8, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %7 br label %26 12: ; preds = %7 %13 = call i32 (...) @sol_http_server_init() store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %12 br label %24 17: ; preds = %12 %18 = call i32 (...) @sol_netctl_init() store i32 %18, ptr %2, align 4 %19 = load i32, ptr %2, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %17 br label %23 22: ; preds = %17 store i32 0, ptr %1, align 4 br label %28 23: ; preds = %21 br label %24 24: ; preds = %23, %16 %25 = call i32 (...) @sol_http_client_init() br label %26 26: ; preds = %24, %11 %27 = call i32 (...) @sol_network_shutdown() store i32 -1, ptr %1, align 4 br label %28 28: ; preds = %26, %22, %6 %29 = load i32, ptr %1, align 4 ret i32 %29 } declare i32 @sol_network_init(...) #1 declare i32 @sol_http_client_init(...) #1 declare i32 @sol_http_server_init(...) #1 declare i32 @sol_netctl_init(...) #1 declare i32 @sol_network_shutdown(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7plv7pmg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sol_comms_init() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (...) @sol_network_init() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp ne i32 %4, 0 br i1 %5, label %6, label %7 6: ; preds = %0 store i32 -1, ptr %1, align 4 br label %28 7: ; preds = %0 %8 = call i32 (...) @sol_http_client_init() store i32 %8, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %7 br label %26 12: ; preds = %7 %13 = call i32 (...) @sol_http_server_init() store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %12 br label %24 17: ; preds = %12 %18 = call i32 (...) @sol_netctl_init() store i32 %18, ptr %2, align 4 %19 = load i32, ptr %2, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %17 br label %23 22: ; preds = %17 store i32 0, ptr %1, align 4 br label %28 23: ; preds = %21 br label %24 24: ; preds = %23, %16 %25 = call i32 (...) @sol_http_client_init() br label %26 26: ; preds = %24, %11 %27 = call i32 (...) @sol_network_shutdown() store i32 -1, ptr %1, align 4 br label %28 28: ; preds = %26, %22, %6 %29 = load i32, ptr %1, align 4 ret i32 %29 } declare i32 @sol_network_init(...) #1 declare i32 @sol_http_client_init(...) #1 declare i32 @sol_http_server_init(...) #1 declare i32 @sol_netctl_init(...) #1 declare i32 @sol_network_shutdown(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc_29rwtq.c' source_filename = "/tmp/tmpc_29rwtq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @d35(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 @d34(i32 noundef %3) %5 = call i32 @d34(i32 noundef %4) ret i32 %5 } declare i32 @d34(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/tmpc_29rwtq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @d35(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 @d34(i32 noundef %3) %5 = call i32 @d34(i32 noundef %4) ret i32 %5 } declare i32 @d34(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/tmp5har0nak.c' source_filename = "/tmp/tmp5har0nak.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @KEY_F0 = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @inp_ismeta(i32 noundef %0) #0 { %2 = alloca i32, align 4 %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 store i32 0, ptr %5, align 4 %6 = load i32, ptr %3, align 4 %7 = call i64 @inp_isquit(i32 noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %1 %10 = load i32, ptr %5, align 4 store i32 %10, ptr %2, align 4 br label %29 11: ; preds = %1 %12 = load i32, ptr %3, align 4 %13 = call i64 @iscntrl(i32 noundef %12) %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %11 %16 = load i32, ptr %4, align 4 store i32 %16, ptr %2, align 4 br label %29 17: ; preds = %11 %18 = load i32, ptr @KEY_F0, align 4 %19 = load i32, ptr %3, align 4 %20 = icmp sle i32 %18, %19 br i1 %20, label %21, label %27 21: ; preds = %17 %22 = load i32, ptr %3, align 4 %23 = call i32 @KEY_F(i32 noundef 12) %24 = icmp sle i32 %22, %23 br i1 %24, label %25, label %27 25: ; preds = %21 %26 = load i32, ptr %4, align 4 store i32 %26, ptr %2, align 4 br label %29 27: ; preds = %21, %17 %28 = load i32, ptr %5, align 4 store i32 %28, ptr %2, align 4 br label %29 29: ; preds = %27, %25, %15, %9 %30 = load i32, ptr %2, align 4 ret i32 %30 } declare i64 @inp_isquit(i32 noundef) #1 declare i64 @iscntrl(i32 noundef) #1 declare i32 @KEY_F(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/tmp5har0nak.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @KEY_F0 = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @inp_ismeta(i32 noundef %0) #0 { %2 = alloca i32, align 4 %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 store i32 0, ptr %5, align 4 %6 = load i32, ptr %3, align 4 %7 = call i64 @inp_isquit(i32 noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %1 %10 = load i32, ptr %5, align 4 store i32 %10, ptr %2, align 4 br label %29 11: ; preds = %1 %12 = load i32, ptr %3, align 4 %13 = call i64 @iscntrl(i32 noundef %12) %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %11 %16 = load i32, ptr %4, align 4 store i32 %16, ptr %2, align 4 br label %29 17: ; preds = %11 %18 = load i32, ptr @KEY_F0, align 4 %19 = load i32, ptr %3, align 4 %20 = icmp sle i32 %18, %19 br i1 %20, label %21, label %27 21: ; preds = %17 %22 = load i32, ptr %3, align 4 %23 = call i32 @KEY_F(i32 noundef 12) %24 = icmp sle i32 %22, %23 br i1 %24, label %25, label %27 25: ; preds = %21 %26 = load i32, ptr %4, align 4 store i32 %26, ptr %2, align 4 br label %29 27: ; preds = %21, %17 %28 = load i32, ptr %5, align 4 store i32 %28, ptr %2, align 4 br label %29 29: ; preds = %27, %25, %15, %9 %30 = load i32, ptr %2, align 4 ret i32 %30 } declare i64 @inp_isquit(i32 noundef) #1 declare i64 @iscntrl(i32 noundef) #1 declare i32 @KEY_F(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/tmpqfotrxl4.c' source_filename = "/tmp/tmpqfotrxl4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ptr @IntStrDup(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [20 x i8], align 16 store i32 %0, ptr %2, align 4 %4 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %5 = load i32, ptr %2, align 4 %6 = call i32 @sprintf(ptr noundef %4, ptr noundef @.str, i32 noundef %5) %7 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %8 = call ptr @StrDup(ptr noundef %7) ret ptr %8 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @StrDup(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqfotrxl4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ptr @IntStrDup(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [20 x i8], align 16 store i32 %0, ptr %2, align 4 %4 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %5 = load i32, ptr %2, align 4 %6 = call i32 @sprintf(ptr noundef %4, ptr noundef @.str, i32 noundef %5) %7 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %8 = call ptr @StrDup(ptr noundef %7) ret ptr %8 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @StrDup(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgqbw4ekw.c' source_filename = "/tmp/tmpgqbw4ekw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.passwd = type { i32 } @geteuid = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [7 x i8] c"daemon\00", align 1 @LOG_NOTICE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"Setting User To: daemon\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"/\00", align 1 @LOG_ERR = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [22 x i8] c"ERROR: chdir() failed\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"ERROR: setsid() failed\00", align 1 @STDIN_FILENO = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 @STDERR_FILENO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @daemonize() #0 { %1 = alloca ptr, align 8 %2 = call i64 (...) @getuid() %3 = icmp eq i64 %2, 0 br i1 %3, label %7, label %4 4: ; preds = %0 %5 = load i64, ptr @geteuid, align 8 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %19 7: ; preds = %4, %0 %8 = call ptr @getpwnam(ptr noundef @.str) store ptr %8, ptr %1, align 8 %9 = load ptr, ptr %1, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %18 11: ; preds = %7 %12 = load i32, ptr @LOG_NOTICE, align 4 %13 = call i32 @syslog(i32 noundef %12, ptr noundef @.str.1) %14 = load ptr, ptr %1, align 8 %15 = getelementptr inbounds %struct.passwd, ptr %14, i32 0, i32 0 %16 = load i32, ptr %15, align 4 %17 = call i32 @setuid(i32 noundef %16) br label %18 18: ; preds = %11, %7 br label %19 19: ; preds = %18, %4 %20 = call i64 @chdir(ptr noundef @.str.2) %21 = icmp slt i64 %20, 0 br i1 %21, label %22, label %26 22: ; preds = %19 %23 = load i32, ptr @LOG_ERR, align 4 %24 = call i32 @syslog(i32 noundef %23, ptr noundef @.str.3) %25 = call i32 @exit(i32 noundef 1) #3 unreachable 26: ; preds = %19 %27 = call i32 @umask(i32 noundef 0) %28 = call i64 (...) @setsid() %29 = icmp slt i64 %28, 0 br i1 %29, label %30, label %34 30: ; preds = %26 %31 = load i32, ptr @LOG_ERR, align 4 %32 = call i32 @syslog(i32 noundef %31, ptr noundef @.str.4) %33 = call i32 @exit(i32 noundef 1) #3 unreachable 34: ; preds = %26 %35 = load i32, ptr @STDIN_FILENO, align 4 %36 = call i32 @close(i32 noundef %35) %37 = load i32, ptr @STDOUT_FILENO, align 4 %38 = call i32 @close(i32 noundef %37) %39 = load i32, ptr @STDERR_FILENO, align 4 %40 = call i32 @close(i32 noundef %39) ret void } declare i64 @getuid(...) #1 declare ptr @getpwnam(ptr noundef) #1 declare i32 @syslog(i32 noundef, ptr noundef) #1 declare i32 @setuid(i32 noundef) #1 declare i64 @chdir(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @umask(i32 noundef) #1 declare i64 @setsid(...) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgqbw4ekw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.passwd = type { i32 } @geteuid = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [7 x i8] c"daemon\00", align 1 @LOG_NOTICE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"Setting User To: daemon\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"/\00", align 1 @LOG_ERR = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [22 x i8] c"ERROR: chdir() failed\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"ERROR: setsid() failed\00", align 1 @STDIN_FILENO = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 @STDERR_FILENO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @daemonize() #0 { %1 = alloca ptr, align 8 %2 = call i64 (...) @getuid() %3 = icmp eq i64 %2, 0 br i1 %3, label %7, label %4 4: ; preds = %0 %5 = load i64, ptr @geteuid, align 8 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %19 7: ; preds = %4, %0 %8 = call ptr @getpwnam(ptr noundef @.str) store ptr %8, ptr %1, align 8 %9 = load ptr, ptr %1, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %18 11: ; preds = %7 %12 = load i32, ptr @LOG_NOTICE, align 4 %13 = call i32 @syslog(i32 noundef %12, ptr noundef @.str.1) %14 = load ptr, ptr %1, align 8 %15 = getelementptr inbounds %struct.passwd, ptr %14, i32 0, i32 0 %16 = load i32, ptr %15, align 4 %17 = call i32 @setuid(i32 noundef %16) br label %18 18: ; preds = %11, %7 br label %19 19: ; preds = %18, %4 %20 = call i64 @chdir(ptr noundef @.str.2) %21 = icmp slt i64 %20, 0 br i1 %21, label %22, label %26 22: ; preds = %19 %23 = load i32, ptr @LOG_ERR, align 4 %24 = call i32 @syslog(i32 noundef %23, ptr noundef @.str.3) %25 = call i32 @exit(i32 noundef 1) #3 unreachable 26: ; preds = %19 %27 = call i32 @umask(i32 noundef 0) %28 = call i64 (...) @setsid() %29 = icmp slt i64 %28, 0 br i1 %29, label %30, label %34 30: ; preds = %26 %31 = load i32, ptr @LOG_ERR, align 4 %32 = call i32 @syslog(i32 noundef %31, ptr noundef @.str.4) %33 = call i32 @exit(i32 noundef 1) #3 unreachable 34: ; preds = %26 %35 = load i32, ptr @STDIN_FILENO, align 4 %36 = call i32 @close(i32 noundef %35) %37 = load i32, ptr @STDOUT_FILENO, align 4 %38 = call i32 @close(i32 noundef %37) %39 = load i32, ptr @STDERR_FILENO, align 4 %40 = call i32 @close(i32 noundef %39) ret void } declare i64 @getuid(...) #1 declare ptr @getpwnam(ptr noundef) #1 declare i32 @syslog(i32 noundef, ptr noundef) #1 declare i32 @setuid(i32 noundef) #1 declare i64 @chdir(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @umask(i32 noundef) #1 declare i64 @setsid(...) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplzl5e25z.c' source_filename = "/tmp/tmplzl5e25z.c" target datalayout = "e-m:e-p270: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 ptr null, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @uninit_fputc() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = load ptr, ptr @stdout, align 8 %4 = call i32 @fputc(i8 noundef signext 97, ptr noundef %3) %5 = load i32, ptr %1, align 4 %6 = trunc i32 %5 to i8 %7 = load ptr, ptr @stdout, align 8 %8 = call i32 @fputc(i8 noundef signext %6, ptr noundef %7) %9 = load ptr, ptr %2, align 8 %10 = call i32 @fputc(i8 noundef signext 97, ptr noundef %9) ret void } declare i32 @fputc(i8 noundef signext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplzl5e25z.c" target datalayout = "e-m:e-p270: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 ptr null, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @uninit_fputc() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = load ptr, ptr @stdout, align 8 %4 = call i32 @fputc(i8 noundef signext 97, ptr noundef %3) %5 = load i32, ptr %1, align 4 %6 = trunc i32 %5 to i8 %7 = load ptr, ptr @stdout, align 8 %8 = call i32 @fputc(i8 noundef signext %6, ptr noundef %7) %9 = load ptr, ptr %2, align 8 %10 = call i32 @fputc(i8 noundef signext 97, ptr noundef %9) ret void } declare i32 @fputc(i8 noundef signext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0itlaxc0.c' source_filename = "/tmp/tmp0itlaxc0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = getelementptr inbounds ptr, ptr %6, i64 1 %8 = load ptr, ptr %7, align 8 %9 = call i32 @atoi(ptr noundef %8) %10 = call i32 @fib(i32 noundef %9) %11 = call i32 @printf(ptr noundef @.str, i32 noundef %10) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @fib(i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0itlaxc0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = getelementptr inbounds ptr, ptr %6, i64 1 %8 = load ptr, ptr %7, align 8 %9 = call i32 @atoi(ptr noundef %8) %10 = call i32 @fib(i32 noundef %9) %11 = call i32 @printf(ptr noundef @.str, i32 noundef %10) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @fib(i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp24dovx45.c' source_filename = "/tmp/tmp24dovx45.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tangent(float noundef %0) #0 { %2 = alloca float, align 4 %3 = alloca float, align 4 store float %0, ptr %2, align 4 %4 = load float, ptr %2, align 4 %5 = call float @tan(float noundef %4) store float %5, ptr %3, align 4 %6 = load float, ptr %3, align 4 ret float %6 } declare float @tan(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp24dovx45.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tangent(float noundef %0) #0 { %2 = alloca float, align 4 %3 = alloca float, align 4 store float %0, ptr %2, align 4 %4 = load float, ptr %2, align 4 %5 = call float @tan(float noundef %4) store float %5, ptr %3, align 4 %6 = load float, ptr %3, align 4 ret float %6 } declare float @tan(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8jdxd6_e.c' source_filename = "/tmp/tmp8jdxd6_e.c" target datalayout = "e-m:e-p270: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/tmp8jdxd6_e.c" target datalayout = "e-m:e-p270: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/tmpmef3rmtr.c' source_filename = "/tmp/tmpmef3rmtr.c" target datalayout = "e-m:e-p270: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/tmpmef3rmtr.c" target datalayout = "e-m:e-p270: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/tmpic6f3wsy.c' source_filename = "/tmp/tmpic6f3wsy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %5 = call ptr @alloca(i32 noundef 4) store ptr %5, ptr %2, align 8 %6 = call ptr @alloca(i32 noundef 4) store ptr %6, ptr %3, align 8 %7 = call ptr @alloca(i32 noundef 4) store ptr %7, ptr %4, align 8 br label %8 8: ; preds = %48, %0 %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr %9, align 4 %11 = icmp sgt i32 %10, 0 br i1 %11, label %12, label %20 12: ; preds = %8 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %13, align 4 %15 = icmp sgt i32 %14, 0 br i1 %15, label %16, label %20 16: ; preds = %12 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %17, align 4 %19 = icmp sgt i32 %18, 0 br label %20 20: ; preds = %16, %12, %8 %21 = phi i1 [ false, %12 ], [ false, %8 ], [ %19, %16 ] br i1 %21, label %22, label %49 22: ; preds = %20 %23 = call i32 (...) @__VERIFIER_nondet_int() %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %30 25: ; preds = %22 %26 = load ptr, ptr %2, align 8 %27 = load i32, ptr %26, align 4 %28 = sub nsw i32 %27, 1 %29 = load ptr, ptr %2, align 8 store i32 %28, ptr %29, align 4 br label %48 30: ; preds = %22 %31 = call i32 (...) @__VERIFIER_nondet_int() %32 = icmp ne i32 %31, 0 br i1 %32, label %33, label %40 33: ; preds = %30 %34 = load ptr, ptr %3, align 8 %35 = load i32, ptr %34, align 4 %36 = sub nsw i32 %35, 1 %37 = load ptr, ptr %3, align 8 store i32 %36, ptr %37, align 4 %38 = call i32 (...) @__VERIFIER_nondet_int() %39 = load ptr, ptr %4, align 8 store i32 %38, ptr %39, align 4 br label %47 40: ; preds = %30 %41 = load ptr, ptr %4, align 8 %42 = load i32, ptr %41, align 4 %43 = sub nsw i32 %42, 1 %44 = load ptr, ptr %4, align 8 store i32 %43, ptr %44, align 4 %45 = call i32 (...) @__VERIFIER_nondet_int() %46 = load ptr, ptr %2, align 8 store i32 %45, ptr %46, align 4 br label %47 47: ; preds = %40, %33 br label %48 48: ; preds = %47, %25 br label %8, !llvm.loop !6 49: ; preds = %20 %50 = load i32, ptr %1, align 4 ret i32 %50 } declare ptr @alloca(i32 noundef) #1 declare i32 @__VERIFIER_nondet_int(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpic6f3wsy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %5 = call ptr @alloca(i32 noundef 4) store ptr %5, ptr %2, align 8 %6 = call ptr @alloca(i32 noundef 4) store ptr %6, ptr %3, align 8 %7 = call ptr @alloca(i32 noundef 4) store ptr %7, ptr %4, align 8 br label %8 8: ; preds = %48, %0 %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr %9, align 4 %11 = icmp sgt i32 %10, 0 br i1 %11, label %12, label %20 12: ; preds = %8 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %13, align 4 %15 = icmp sgt i32 %14, 0 br i1 %15, label %16, label %20 16: ; preds = %12 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %17, align 4 %19 = icmp sgt i32 %18, 0 br label %20 20: ; preds = %16, %12, %8 %21 = phi i1 [ false, %12 ], [ false, %8 ], [ %19, %16 ] br i1 %21, label %22, label %49 22: ; preds = %20 %23 = call i32 (...) @__VERIFIER_nondet_int() %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %30 25: ; preds = %22 %26 = load ptr, ptr %2, align 8 %27 = load i32, ptr %26, align 4 %28 = sub nsw i32 %27, 1 %29 = load ptr, ptr %2, align 8 store i32 %28, ptr %29, align 4 br label %48 30: ; preds = %22 %31 = call i32 (...) @__VERIFIER_nondet_int() %32 = icmp ne i32 %31, 0 br i1 %32, label %33, label %40 33: ; preds = %30 %34 = load ptr, ptr %3, align 8 %35 = load i32, ptr %34, align 4 %36 = sub nsw i32 %35, 1 %37 = load ptr, ptr %3, align 8 store i32 %36, ptr %37, align 4 %38 = call i32 (...) @__VERIFIER_nondet_int() %39 = load ptr, ptr %4, align 8 store i32 %38, ptr %39, align 4 br label %47 40: ; preds = %30 %41 = load ptr, ptr %4, align 8 %42 = load i32, ptr %41, align 4 %43 = sub nsw i32 %42, 1 %44 = load ptr, ptr %4, align 8 store i32 %43, ptr %44, align 4 %45 = call i32 (...) @__VERIFIER_nondet_int() %46 = load ptr, ptr %2, align 8 store i32 %45, ptr %46, align 4 br label %47 47: ; preds = %40, %33 br label %48 48: ; preds = %47, %25 br label %8, !llvm.loop !6 49: ; preds = %20 %50 = load i32, ptr %1, align 4 ret i32 %50 } declare ptr @alloca(i32 noundef) #1 declare i32 @__VERIFIER_nondet_int(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp9tnic585.c' source_filename = "/tmp/tmp9tnic585.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nb_kernel323nf_f77_double(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 { %32 = alloca ptr, align 8 %33 = alloca ptr, align 8 %34 = alloca ptr, align 8 %35 = alloca ptr, align 8 %36 = alloca ptr, align 8 %37 = alloca ptr, align 8 %38 = alloca ptr, align 8 %39 = alloca ptr, align 8 %40 = alloca ptr, align 8 %41 = alloca ptr, align 8 %42 = alloca ptr, align 8 %43 = alloca ptr, align 8 %44 = alloca ptr, align 8 %45 = alloca ptr, align 8 %46 = alloca ptr, align 8 %47 = alloca ptr, align 8 %48 = alloca ptr, align 8 %49 = alloca ptr, align 8 %50 = alloca ptr, align 8 %51 = alloca ptr, align 8 %52 = alloca ptr, align 8 %53 = alloca ptr, align 8 %54 = alloca ptr, align 8 %55 = alloca ptr, align 8 %56 = alloca ptr, align 8 %57 = alloca ptr, align 8 %58 = alloca ptr, align 8 %59 = alloca ptr, align 8 %60 = alloca ptr, align 8 %61 = alloca ptr, align 8 %62 = alloca ptr, align 8 store ptr %0, ptr %32, align 8 store ptr %1, ptr %33, align 8 store ptr %2, ptr %34, align 8 store ptr %3, ptr %35, align 8 store ptr %4, ptr %36, align 8 store ptr %5, ptr %37, align 8 store ptr %6, ptr %38, align 8 store ptr %7, ptr %39, align 8 store ptr %8, ptr %40, align 8 store ptr %9, ptr %41, align 8 store ptr %10, ptr %42, align 8 store ptr %11, ptr %43, align 8 store ptr %12, ptr %44, align 8 store ptr %13, ptr %45, align 8 store ptr %14, ptr %46, align 8 store ptr %15, ptr %47, align 8 store ptr %16, ptr %48, align 8 store ptr %17, ptr %49, align 8 store ptr %18, ptr %50, align 8 store ptr %19, ptr %51, align 8 store ptr %20, ptr %52, align 8 store ptr %21, ptr %53, align 8 store ptr %22, ptr %54, align 8 store ptr %23, ptr %55, align 8 store ptr %24, ptr %56, align 8 store ptr %25, ptr %57, align 8 store ptr %26, ptr %58, align 8 store ptr %27, ptr %59, align 8 store ptr %28, ptr %60, align 8 store ptr %29, ptr %61, align 8 store ptr %30, ptr %62, align 8 %63 = load ptr, ptr %32, align 8 %64 = load ptr, ptr %33, align 8 %65 = load ptr, ptr %34, align 8 %66 = load ptr, ptr %35, align 8 %67 = load ptr, ptr %36, align 8 %68 = load ptr, ptr %37, align 8 %69 = load ptr, ptr %38, align 8 %70 = load ptr, ptr %39, align 8 %71 = load ptr, ptr %40, align 8 %72 = load ptr, ptr %41, align 8 %73 = load ptr, ptr %42, align 8 %74 = load ptr, ptr %43, align 8 %75 = load ptr, ptr %44, align 8 %76 = load ptr, ptr %45, align 8 %77 = load ptr, ptr %46, align 8 %78 = load ptr, ptr %47, align 8 %79 = load ptr, ptr %48, align 8 %80 = load ptr, ptr %49, align 8 %81 = load ptr, ptr %50, align 8 %82 = load ptr, ptr %51, align 8 %83 = load ptr, ptr %52, align 8 %84 = load ptr, ptr %53, align 8 %85 = load ptr, ptr %54, align 8 %86 = load ptr, ptr %55, align 8 %87 = load ptr, ptr %56, align 8 %88 = load ptr, ptr %57, align 8 %89 = load ptr, ptr %58, align 8 %90 = load ptr, ptr %59, align 8 %91 = load ptr, ptr %60, align 8 %92 = load ptr, ptr %61, align 8 %93 = load ptr, ptr %62, align 8 %94 = call i32 @f77dkernel323nf_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93) ret void } declare i32 @f77dkernel323nf_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9tnic585.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nb_kernel323nf_f77_double(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 { %32 = alloca ptr, align 8 %33 = alloca ptr, align 8 %34 = alloca ptr, align 8 %35 = alloca ptr, align 8 %36 = alloca ptr, align 8 %37 = alloca ptr, align 8 %38 = alloca ptr, align 8 %39 = alloca ptr, align 8 %40 = alloca ptr, align 8 %41 = alloca ptr, align 8 %42 = alloca ptr, align 8 %43 = alloca ptr, align 8 %44 = alloca ptr, align 8 %45 = alloca ptr, align 8 %46 = alloca ptr, align 8 %47 = alloca ptr, align 8 %48 = alloca ptr, align 8 %49 = alloca ptr, align 8 %50 = alloca ptr, align 8 %51 = alloca ptr, align 8 %52 = alloca ptr, align 8 %53 = alloca ptr, align 8 %54 = alloca ptr, align 8 %55 = alloca ptr, align 8 %56 = alloca ptr, align 8 %57 = alloca ptr, align 8 %58 = alloca ptr, align 8 %59 = alloca ptr, align 8 %60 = alloca ptr, align 8 %61 = alloca ptr, align 8 %62 = alloca ptr, align 8 store ptr %0, ptr %32, align 8 store ptr %1, ptr %33, align 8 store ptr %2, ptr %34, align 8 store ptr %3, ptr %35, align 8 store ptr %4, ptr %36, align 8 store ptr %5, ptr %37, align 8 store ptr %6, ptr %38, align 8 store ptr %7, ptr %39, align 8 store ptr %8, ptr %40, align 8 store ptr %9, ptr %41, align 8 store ptr %10, ptr %42, align 8 store ptr %11, ptr %43, align 8 store ptr %12, ptr %44, align 8 store ptr %13, ptr %45, align 8 store ptr %14, ptr %46, align 8 store ptr %15, ptr %47, align 8 store ptr %16, ptr %48, align 8 store ptr %17, ptr %49, align 8 store ptr %18, ptr %50, align 8 store ptr %19, ptr %51, align 8 store ptr %20, ptr %52, align 8 store ptr %21, ptr %53, align 8 store ptr %22, ptr %54, align 8 store ptr %23, ptr %55, align 8 store ptr %24, ptr %56, align 8 store ptr %25, ptr %57, align 8 store ptr %26, ptr %58, align 8 store ptr %27, ptr %59, align 8 store ptr %28, ptr %60, align 8 store ptr %29, ptr %61, align 8 store ptr %30, ptr %62, align 8 %63 = load ptr, ptr %32, align 8 %64 = load ptr, ptr %33, align 8 %65 = load ptr, ptr %34, align 8 %66 = load ptr, ptr %35, align 8 %67 = load ptr, ptr %36, align 8 %68 = load ptr, ptr %37, align 8 %69 = load ptr, ptr %38, align 8 %70 = load ptr, ptr %39, align 8 %71 = load ptr, ptr %40, align 8 %72 = load ptr, ptr %41, align 8 %73 = load ptr, ptr %42, align 8 %74 = load ptr, ptr %43, align 8 %75 = load ptr, ptr %44, align 8 %76 = load ptr, ptr %45, align 8 %77 = load ptr, ptr %46, align 8 %78 = load ptr, ptr %47, align 8 %79 = load ptr, ptr %48, align 8 %80 = load ptr, ptr %49, align 8 %81 = load ptr, ptr %50, align 8 %82 = load ptr, ptr %51, align 8 %83 = load ptr, ptr %52, align 8 %84 = load ptr, ptr %53, align 8 %85 = load ptr, ptr %54, align 8 %86 = load ptr, ptr %55, align 8 %87 = load ptr, ptr %56, align 8 %88 = load ptr, ptr %57, align 8 %89 = load ptr, ptr %58, align 8 %90 = load ptr, ptr %59, align 8 %91 = load ptr, ptr %60, align 8 %92 = load ptr, ptr %61, align 8 %93 = load ptr, ptr %62, align 8 %94 = call i32 @f77dkernel323nf_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93) ret void } declare i32 @f77dkernel323nf_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps3qwsnli.c' source_filename = "/tmp/tmps3qwsnli.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test12() #0 { %1 = alloca ptr, align 8 %2 = call i64 @alloca(i32 noundef 4) %3 = inttoptr i64 %2 to ptr store ptr %3, ptr %1, align 8 %4 = load ptr, ptr %1, align 8 %5 = call i32 @test12a(ptr noundef %4) ret void } declare i64 @alloca(i32 noundef) #1 declare i32 @test12a(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/tmps3qwsnli.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test12() #0 { %1 = alloca ptr, align 8 %2 = call i64 @alloca(i32 noundef 4) %3 = inttoptr i64 %2 to ptr store ptr %3, ptr %1, align 8 %4 = load ptr, ptr %1, align 8 %5 = call i32 @test12a(ptr noundef %4) ret void } declare i64 @alloca(i32 noundef) #1 declare i32 @test12a(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/tmpjsde3xtw.c' source_filename = "/tmp/tmpjsde3xtw.c" target datalayout = "e-m:e-p270: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/tmpjsde3xtw.c" target datalayout = "e-m:e-p270: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/tmpj1z3ef03.c' source_filename = "/tmp/tmpj1z3ef03.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGTTOU = dso_local global i32 0, align 4 @SIG_IGN = dso_local global i32 0, align 4 @STDIN_FILENO = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"tcgetsid:%d,pgrp=%d,sid=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"tcsetpgrp\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = load i32, ptr @SIGTTOU, align 4 %5 = load i32, ptr @SIG_IGN, align 4 %6 = call i32 @signal(i32 noundef %4, i32 noundef %5) %7 = load i32, ptr @STDIN_FILENO, align 4 %8 = call i32 @tcgetsid(i32 noundef %7) store i32 %8, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = call i32 (...) @getpgrp() %11 = call i32 (...) @getpid() %12 = call i32 @getsid(i32 noundef %11) %13 = call i32 @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %10, i32 noundef %12) %14 = call i32 (...) @judge() %15 = load i32, ptr @STDIN_FILENO, align 4 %16 = call i32 (...) @getpgrp() %17 = call i32 @tcsetpgrp(i32 noundef %15, i32 noundef %16) store i32 %17, ptr %3, align 4 %18 = load i32, ptr %3, align 4 %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %22 20: ; preds = %0 %21 = call i32 @perror(ptr noundef @.str.1) store i32 -1, ptr %1, align 4 br label %27 22: ; preds = %0 %23 = call i32 (...) @judge() %24 = load i32, ptr @STDIN_FILENO, align 4 %25 = load i32, ptr %2, align 4 %26 = call i32 @tcsetpgrp(i32 noundef %24, i32 noundef %25) store i32 %26, ptr %3, align 4 store i32 0, ptr %1, align 4 br label %27 27: ; preds = %22, %20 %28 = load i32, ptr %1, align 4 ret i32 %28 } declare i32 @signal(i32 noundef, i32 noundef) #1 declare i32 @tcgetsid(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @getpgrp(...) #1 declare i32 @getsid(i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @judge(...) #1 declare i32 @tcsetpgrp(i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj1z3ef03.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGTTOU = dso_local global i32 0, align 4 @SIG_IGN = dso_local global i32 0, align 4 @STDIN_FILENO = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"tcgetsid:%d,pgrp=%d,sid=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"tcsetpgrp\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = load i32, ptr @SIGTTOU, align 4 %5 = load i32, ptr @SIG_IGN, align 4 %6 = call i32 @signal(i32 noundef %4, i32 noundef %5) %7 = load i32, ptr @STDIN_FILENO, align 4 %8 = call i32 @tcgetsid(i32 noundef %7) store i32 %8, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = call i32 (...) @getpgrp() %11 = call i32 (...) @getpid() %12 = call i32 @getsid(i32 noundef %11) %13 = call i32 @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %10, i32 noundef %12) %14 = call i32 (...) @judge() %15 = load i32, ptr @STDIN_FILENO, align 4 %16 = call i32 (...) @getpgrp() %17 = call i32 @tcsetpgrp(i32 noundef %15, i32 noundef %16) store i32 %17, ptr %3, align 4 %18 = load i32, ptr %3, align 4 %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %22 20: ; preds = %0 %21 = call i32 @perror(ptr noundef @.str.1) store i32 -1, ptr %1, align 4 br label %27 22: ; preds = %0 %23 = call i32 (...) @judge() %24 = load i32, ptr @STDIN_FILENO, align 4 %25 = load i32, ptr %2, align 4 %26 = call i32 @tcsetpgrp(i32 noundef %24, i32 noundef %25) store i32 %26, ptr %3, align 4 store i32 0, ptr %1, align 4 br label %27 27: ; preds = %22, %20 %28 = load i32, ptr %1, align 4 ret i32 %28 } declare i32 @signal(i32 noundef, i32 noundef) #1 declare i32 @tcgetsid(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @getpgrp(...) #1 declare i32 @getsid(i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @judge(...) #1 declare i32 @tcsetpgrp(i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb7r6s8sy.c' source_filename = "/tmp/tmpb7r6s8sy.c" target datalayout = "e-m:e-p270: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/tmpb7r6s8sy.c" target datalayout = "e-m:e-p270: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/tmpdclzfgtl.c' source_filename = "/tmp/tmpdclzfgtl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @c() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = call ptr (...) @b() store ptr %3, ptr %1, align 8 %4 = load ptr, ptr %1, align 8 %5 = call i64 @strlen(ptr noundef %4) %6 = add nsw i64 %5, 2 %7 = call i64 @malloc(i64 noundef %6) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %2, align 8 %9 = load ptr, ptr %2, align 8 %10 = load ptr, ptr %1, align 8 %11 = call i32 @strcpy(ptr noundef %9, ptr noundef %10) %12 = load ptr, ptr %2, align 8 %13 = call i32 @strcat(ptr noundef %12, ptr noundef @.str) %14 = load ptr, ptr %2, align 8 ret ptr %14 } declare ptr @b(...) #1 declare i64 @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(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/tmpdclzfgtl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @c() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = call ptr (...) @b() store ptr %3, ptr %1, align 8 %4 = load ptr, ptr %1, align 8 %5 = call i64 @strlen(ptr noundef %4) %6 = add nsw i64 %5, 2 %7 = call i64 @malloc(i64 noundef %6) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %2, align 8 %9 = load ptr, ptr %2, align 8 %10 = load ptr, ptr %1, align 8 %11 = call i32 @strcpy(ptr noundef %9, ptr noundef %10) %12 = load ptr, ptr %2, align 8 %13 = call i32 @strcat(ptr noundef %12, ptr noundef @.str) %14 = load ptr, ptr %2, align 8 ret ptr %14 } declare ptr @b(...) #1 declare i64 @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(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/tmpt96f2ed3.c' source_filename = "/tmp/tmpt96f2ed3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%u\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [999 x i8], align 16 %4 = alloca [999 x i8], align 16 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %1) %6 = call signext i8 (...) @getchar() call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 999, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 999, i1 false) br label %7 7: ; preds = %35, %0 %8 = load i32, ptr %1, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %38 10: ; preds = %7 store i32 0, ptr %2, align 4 br label %11 11: ; preds = %23, %10 %12 = call signext i8 (...) @getchar() %13 = load i32, ptr %2, align 4 %14 = zext i32 %13 to i64 %15 = getelementptr inbounds [999 x i8], ptr %3, i64 0, i64 %14 store i8 %12, ptr %15, align 1 %16 = load i32, ptr %2, align 4 %17 = zext i32 %16 to i64 %18 = getelementptr inbounds [999 x i8], ptr %3, i64 0, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %20, 10 br i1 %21, label %22, label %26 22: ; preds = %11 br label %23 23: ; preds = %22 %24 = load i32, ptr %2, align 4 %25 = add i32 %24, 1 store i32 %25, ptr %2, align 4 br label %11, !llvm.loop !6 26: ; preds = %11 %27 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %28 = call signext i8 (...) @getchar() %29 = getelementptr inbounds [999 x i8], ptr %4, i64 0, i64 0 %30 = getelementptr inbounds [999 x i8], ptr %3, i64 0, i64 0 %31 = load i32, ptr %2, align 4 %32 = call i32 @mycpy(ptr noundef %29, ptr noundef %30, i32 noundef %31) %33 = getelementptr inbounds [999 x i8], ptr %4, i64 0, i64 0 %34 = call i32 @printf(ptr noundef @.str.1, ptr noundef %33) br label %35 35: ; preds = %26 %36 = load i32, ptr %1, align 4 %37 = add i32 %36, -1 store i32 %37, ptr %1, align 4 br label %7, !llvm.loop !8 38: ; preds = %7 ret void } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare signext i8 @getchar(...) #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 @mycpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt96f2ed3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%u\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [999 x i8], align 16 %4 = alloca [999 x i8], align 16 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %1) %6 = call signext i8 (...) @getchar() call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 999, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 999, i1 false) %7 = load i32, ptr %1, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %.lr.ph2, label %48 .lr.ph2: ; preds = %0 br label %9 9: ; preds = %.lr.ph2, %43 store i32 0, ptr %2, align 4 %10 = call signext i8 (...) @getchar() %11 = load i32, ptr %2, align 4 %12 = zext i32 %11 to i64 %13 = getelementptr inbounds [999 x i8], ptr %3, i64 0, i64 %12 store i8 %10, ptr %13, align 1 %14 = load i32, ptr %2, align 4 %15 = zext i32 %14 to i64 %16 = getelementptr inbounds [999 x i8], ptr %3, i64 0, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp ne i32 %18, 10 br i1 %19, label %.lr.ph, label %34 .lr.ph: ; preds = %9 br label %20 20: ; preds = %.lr.ph, %21 br label %21 21: ; preds = %20 %22 = load i32, ptr %2, align 4 %23 = add i32 %22, 1 store i32 %23, ptr %2, align 4 %24 = call signext i8 (...) @getchar() %25 = load i32, ptr %2, align 4 %26 = zext i32 %25 to i64 %27 = getelementptr inbounds [999 x i8], ptr %3, i64 0, i64 %26 store i8 %24, ptr %27, align 1 %28 = load i32, ptr %2, align 4 %29 = zext i32 %28 to i64 %30 = getelementptr inbounds [999 x i8], ptr %3, i64 0, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp ne i32 %32, 10 br i1 %33, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %34 34: ; preds = %._crit_edge, %9 %35 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %36 = call signext i8 (...) @getchar() %37 = getelementptr inbounds [999 x i8], ptr %4, i64 0, i64 0 %38 = getelementptr inbounds [999 x i8], ptr %3, i64 0, i64 0 %39 = load i32, ptr %2, align 4 %40 = call i32 @mycpy(ptr noundef %37, ptr noundef %38, i32 noundef %39) %41 = getelementptr inbounds [999 x i8], ptr %4, i64 0, i64 0 %42 = call i32 @printf(ptr noundef @.str.1, ptr noundef %41) br label %43 43: ; preds = %34 %44 = load i32, ptr %1, align 4 %45 = add i32 %44, -1 store i32 %45, ptr %1, align 4 %46 = load i32, ptr %1, align 4 %47 = icmp ne i32 %46, 0 br i1 %47, label %9, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %43 br label %48 48: ; preds = %._crit_edge3, %0 ret void } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare signext i8 @getchar(...) #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 @mycpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmphou3h6pp.c' source_filename = "/tmp/tmphou3h6pp.c" target datalayout = "e-m:e-p270: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/tmphou3h6pp.c" target datalayout = "e-m:e-p270: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/tmpzjkzrt53.c' source_filename = "/tmp/tmpzjkzrt53.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cetak(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %17, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %20 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4 %16 = call i32 @printf(ptr noundef @.str, i32 noundef %15) br label %17 17: ; preds = %10 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 br label %6, !llvm.loop !6 20: ; preds = %6 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzjkzrt53.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cetak(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %22 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %16 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = load i32, ptr %13, align 4 %15 = call i32 @printf(ptr noundef @.str, i32 noundef %14) br label %16 16: ; preds = %9 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %5, align 4 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %2 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmptdzfuwvf.c' source_filename = "/tmp/tmptdzfuwvf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPPROTO_TCP = dso_local global i32 0, align 4 @TCP_NODELAY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"setsockopt TCP_NODELAY: %s\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @wheatTcpNoDelay(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 1, ptr %6, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr @IPPROTO_TCP, align 4 %9 = load i32, ptr @TCP_NODELAY, align 4 %10 = call i32 @setsockopt(i32 noundef %7, i32 noundef %8, i32 noundef %9, ptr noundef %6, i32 noundef 4) %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %17 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr @errno, align 4 %15 = call i32 @strerror(i32 noundef %14) %16 = call i32 @wheatSetError(ptr noundef %13, ptr noundef @.str, i32 noundef %15) store i32 -1, ptr %3, align 4 br label %18 17: ; preds = %2 store i32 0, ptr %3, align 4 br label %18 18: ; preds = %17, %12 %19 = load i32, ptr %3, align 4 ret i32 %19 } declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @wheatSetError(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strerror(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptdzfuwvf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPPROTO_TCP = dso_local global i32 0, align 4 @TCP_NODELAY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"setsockopt TCP_NODELAY: %s\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @wheatTcpNoDelay(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 1, ptr %6, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr @IPPROTO_TCP, align 4 %9 = load i32, ptr @TCP_NODELAY, align 4 %10 = call i32 @setsockopt(i32 noundef %7, i32 noundef %8, i32 noundef %9, ptr noundef %6, i32 noundef 4) %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %17 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr @errno, align 4 %15 = call i32 @strerror(i32 noundef %14) %16 = call i32 @wheatSetError(ptr noundef %13, ptr noundef @.str, i32 noundef %15) store i32 -1, ptr %3, align 4 br label %18 17: ; preds = %2 store i32 0, ptr %3, align 4 br label %18 18: ; preds = %17, %12 %19 = load i32, ptr %3, align 4 ret i32 %19 } declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @wheatSetError(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strerror(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcax2f8i0.c' source_filename = "/tmp/tmpcax2f8i0.c" target datalayout = "e-m:e-p270: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/tmpcax2f8i0.c" target datalayout = "e-m:e-p270: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/tmpcf5oh9f9.c' source_filename = "/tmp/tmpcf5oh9f9.c" target datalayout = "e-m:e-p270: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.ifreq = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } %struct.sockaddr_in = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"eth0\00", align 1 @IFNAMSIZ = dso_local global i64 0, align 8 @SIOCGIFADDR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @get_ip() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.ifreq, align 4 %3 = load i32, ptr @AF_INET, align 4 %4 = load i32, ptr @SOCK_DGRAM, align 4 %5 = call i32 @socket(i32 noundef %3, i32 noundef %4, i32 noundef 0) store i32 %5, ptr %1, align 4 %6 = load i32, ptr @AF_INET, align 4 %7 = getelementptr inbounds %struct.ifreq, ptr %2, i32 0, i32 1 %8 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i32 0, i32 0 store i32 %6, ptr %8, align 4 %9 = getelementptr inbounds %struct.ifreq, ptr %2, i32 0, i32 0 %10 = load i32, ptr %9, align 4 %11 = load i64, ptr @IFNAMSIZ, align 8 %12 = sub nsw i64 %11, 1 %13 = call i32 @strncpy(i32 noundef %10, ptr noundef @.str, i64 noundef %12) %14 = load i32, ptr %1, align 4 %15 = load i32, ptr @SIOCGIFADDR, align 4 %16 = call i32 @ioctl(i32 noundef %14, i32 noundef %15, ptr noundef %2) %17 = load i32, ptr %1, align 4 %18 = call i32 @close(i32 noundef %17) %19 = load i32, ptr %1, align 4 %20 = getelementptr inbounds %struct.ifreq, ptr %2, i32 0, i32 1 %21 = getelementptr inbounds %struct.sockaddr_in, ptr %20, i32 0, i32 0 %22 = load i32, ptr %21, align 4 %23 = call ptr @inet_ntoa(i32 noundef %22) %24 = load i64, ptr @IFNAMSIZ, align 8 %25 = sub nsw i64 %24, 1 %26 = call i32 @strncpy(i32 noundef %19, ptr noundef %23, i64 noundef %25) %27 = load i32, ptr %1, align 4 %28 = trunc i32 %27 to i8 ret i8 %28 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @strncpy(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare ptr @inet_ntoa(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/tmpcf5oh9f9.c" target datalayout = "e-m:e-p270: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.ifreq = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } %struct.sockaddr_in = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"eth0\00", align 1 @IFNAMSIZ = dso_local global i64 0, align 8 @SIOCGIFADDR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @get_ip() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.ifreq, align 4 %3 = load i32, ptr @AF_INET, align 4 %4 = load i32, ptr @SOCK_DGRAM, align 4 %5 = call i32 @socket(i32 noundef %3, i32 noundef %4, i32 noundef 0) store i32 %5, ptr %1, align 4 %6 = load i32, ptr @AF_INET, align 4 %7 = getelementptr inbounds %struct.ifreq, ptr %2, i32 0, i32 1 %8 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i32 0, i32 0 store i32 %6, ptr %8, align 4 %9 = getelementptr inbounds %struct.ifreq, ptr %2, i32 0, i32 0 %10 = load i32, ptr %9, align 4 %11 = load i64, ptr @IFNAMSIZ, align 8 %12 = sub nsw i64 %11, 1 %13 = call i32 @strncpy(i32 noundef %10, ptr noundef @.str, i64 noundef %12) %14 = load i32, ptr %1, align 4 %15 = load i32, ptr @SIOCGIFADDR, align 4 %16 = call i32 @ioctl(i32 noundef %14, i32 noundef %15, ptr noundef %2) %17 = load i32, ptr %1, align 4 %18 = call i32 @close(i32 noundef %17) %19 = load i32, ptr %1, align 4 %20 = getelementptr inbounds %struct.ifreq, ptr %2, i32 0, i32 1 %21 = getelementptr inbounds %struct.sockaddr_in, ptr %20, i32 0, i32 0 %22 = load i32, ptr %21, align 4 %23 = call ptr @inet_ntoa(i32 noundef %22) %24 = load i64, ptr @IFNAMSIZ, align 8 %25 = sub nsw i64 %24, 1 %26 = call i32 @strncpy(i32 noundef %19, ptr noundef %23, i64 noundef %25) %27 = load i32, ptr %1, align 4 %28 = trunc i32 %27 to i8 ret i8 %28 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @strncpy(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare ptr @inet_ntoa(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/tmpd5nejz6g.c' source_filename = "/tmp/tmpd5nejz6g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Algorithm is online, Please wait....\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"Algorithm end.\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"Time: %f\00", align 1 @CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 3, ptr %8, align 4 store i32 2, ptr %9, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = call double (...) @clock() store double %11, ptr %6, align 8 br label %12 12: ; preds = %24, %2 %13 = load i32, ptr %9, align 4 %14 = icmp ult i32 %13, 10001 br i1 %14, label %15, label %25 15: ; preds = %12 %16 = load i32, ptr %8, align 4 %17 = add i32 %16, 2 store i32 %17, ptr %8, align 4 %18 = load i32, ptr %8, align 4 %19 = call i64 @isPrime(i32 noundef %18) %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %15 %22 = load i32, ptr %9, align 4 %23 = add i32 %22, 1 store i32 %23, ptr %9, align 4 br label %24 24: ; preds = %21, %15 br label %12, !llvm.loop !6 25: ; preds = %12 %26 = call double (...) @clock() store double %26, ptr %7, align 8 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %28 = load double, ptr %7, align 8 %29 = load double, ptr %6, align 8 %30 = fsub double %28, %29 %31 = load double, ptr @CLOCKS_PER_SEC, align 8 %32 = fdiv double %30, %31 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %32) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare double @clock(...) #1 declare i64 @isPrime(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/tmpd5nejz6g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Algorithm is online, Please wait....\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"Algorithm end.\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"Time: %f\00", align 1 @CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 3, ptr %8, align 4 store i32 2, ptr %9, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = call double (...) @clock() store double %11, ptr %6, align 8 %12 = load i32, ptr %9, align 4 %13 = icmp ult i32 %12, 10001 br i1 %13, label %.lr.ph, label %26 .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %23 %15 = load i32, ptr %8, align 4 %16 = add i32 %15, 2 store i32 %16, ptr %8, align 4 %17 = load i32, ptr %8, align 4 %18 = call i64 @isPrime(i32 noundef %17) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %14 %21 = load i32, ptr %9, align 4 %22 = add i32 %21, 1 store i32 %22, ptr %9, align 4 br label %23 23: ; preds = %20, %14 %24 = load i32, ptr %9, align 4 %25 = icmp ult i32 %24, 10001 br i1 %25, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %26 26: ; preds = %._crit_edge, %2 %27 = call double (...) @clock() store double %27, ptr %7, align 8 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %29 = load double, ptr %7, align 8 %30 = load double, ptr %6, align 8 %31 = fsub double %29, %30 %32 = load double, ptr @CLOCKS_PER_SEC, align 8 %33 = fdiv double %31, %32 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %33) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare double @clock(...) #1 declare i64 @isPrime(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/tmpj5ngejif.c' source_filename = "/tmp/tmpj5ngejif.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @search(i32 noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 %11 = load i64, ptr %9, align 8 %12 = icmp ult i64 %11, 1 br i1 %12, label %24, label %13 13: ; preds = %4 %14 = load i64, ptr %9, align 8 %15 = load i64, ptr %8, align 8 %16 = icmp uge i64 %14, %15 br i1 %16, label %24, label %17 17: ; preds = %13 %18 = load ptr, ptr %7, align 8 %19 = load i64, ptr %9, align 8 %20 = getelementptr inbounds i32, ptr %18, i64 %19 %21 = load i32, ptr %20, align 4 %22 = load i32, ptr %6, align 4 %23 = icmp sgt i32 %21, %22 br i1 %23, label %24, label %25 24: ; preds = %17, %13, %4 store i64 0, ptr %5, align 8 br label %55 25: ; preds = %17 %26 = load ptr, ptr %7, align 8 %27 = load i64, ptr %9, align 8 %28 = getelementptr inbounds i32, ptr %26, i64 %27 %29 = load i32, ptr %28, align 4 %30 = load i32, ptr %6, align 4 %31 = icmp eq i32 %29, %30 br i1 %31, label %32, label %34 32: ; preds = %25 %33 = load i64, ptr %9, align 8 store i64 %33, ptr %5, align 8 br label %55 34: ; preds = %25 %35 = load i32, ptr %6, align 4 %36 = load ptr, ptr %7, align 8 %37 = load i64, ptr %8, align 8 %38 = load i64, ptr %9, align 8 %39 = shl i64 %38, 1 %40 = call i64 @search(i32 noundef %35, ptr noundef %36, i64 noundef %37, i64 noundef %39) store i64 %40, ptr %10, align 8 %41 = load i64, ptr %10, align 8 %42 = icmp ne i64 %41, 0 br i1 %42, label %43, label %45 43: ; preds = %34 %44 = load i64, ptr %10, align 8 br label %53 45: ; preds = %34 %46 = load i32, ptr %6, align 4 %47 = load ptr, ptr %7, align 8 %48 = load i64, ptr %8, align 8 %49 = load i64, ptr %9, align 8 %50 = shl i64 %49, 1 %51 = add i64 %50, 1 %52 = call i64 @search(i32 noundef %46, ptr noundef %47, i64 noundef %48, i64 noundef %51) br label %53 53: ; preds = %45, %43 %54 = phi i64 [ %44, %43 ], [ %52, %45 ] store i64 %54, ptr %5, align 8 br label %55 55: ; preds = %53, %32, %24 %56 = load i64, ptr %5, align 8 ret i64 %56 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj5ngejif.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @search(i32 noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 %11 = load i64, ptr %9, align 8 %12 = icmp ult i64 %11, 1 br i1 %12, label %24, label %13 13: ; preds = %4 %14 = load i64, ptr %9, align 8 %15 = load i64, ptr %8, align 8 %16 = icmp uge i64 %14, %15 br i1 %16, label %24, label %17 17: ; preds = %13 %18 = load ptr, ptr %7, align 8 %19 = load i64, ptr %9, align 8 %20 = getelementptr inbounds i32, ptr %18, i64 %19 %21 = load i32, ptr %20, align 4 %22 = load i32, ptr %6, align 4 %23 = icmp sgt i32 %21, %22 br i1 %23, label %24, label %25 24: ; preds = %17, %13, %4 store i64 0, ptr %5, align 8 br label %55 25: ; preds = %17 %26 = load ptr, ptr %7, align 8 %27 = load i64, ptr %9, align 8 %28 = getelementptr inbounds i32, ptr %26, i64 %27 %29 = load i32, ptr %28, align 4 %30 = load i32, ptr %6, align 4 %31 = icmp eq i32 %29, %30 br i1 %31, label %32, label %34 32: ; preds = %25 %33 = load i64, ptr %9, align 8 store i64 %33, ptr %5, align 8 br label %55 34: ; preds = %25 %35 = load i32, ptr %6, align 4 %36 = load ptr, ptr %7, align 8 %37 = load i64, ptr %8, align 8 %38 = load i64, ptr %9, align 8 %39 = shl i64 %38, 1 %40 = call i64 @search(i32 noundef %35, ptr noundef %36, i64 noundef %37, i64 noundef %39) store i64 %40, ptr %10, align 8 %41 = load i64, ptr %10, align 8 %42 = icmp ne i64 %41, 0 br i1 %42, label %43, label %45 43: ; preds = %34 %44 = load i64, ptr %10, align 8 br label %53 45: ; preds = %34 %46 = load i32, ptr %6, align 4 %47 = load ptr, ptr %7, align 8 %48 = load i64, ptr %8, align 8 %49 = load i64, ptr %9, align 8 %50 = shl i64 %49, 1 %51 = add i64 %50, 1 %52 = call i64 @search(i32 noundef %46, ptr noundef %47, i64 noundef %48, i64 noundef %51) br label %53 53: ; preds = %45, %43 %54 = phi i64 [ %44, %43 ], [ %52, %45 ] store i64 %54, ptr %5, align 8 br label %55 55: ; preds = %53, %32, %24 %56 = load i64, ptr %5, align 8 ret i64 %56 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzg_9nn4_.c' source_filename = "/tmp/tmpzg_9nn4_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vfprintf(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca [512 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %8, align 4 %10 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0 %11 = load ptr, ptr %5, align 8 %12 = load i32, ptr %6, align 4 %13 = call i32 @vsnprintf(ptr noundef %10, i32 noundef 512, ptr noundef %11, i32 noundef %12) store i32 %13, ptr %9, align 4 %14 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0 %15 = load i32, ptr %9, align 4 %16 = load ptr, ptr %4, align 8 %17 = call i32 @fwrite(ptr noundef %14, i32 noundef 1, i32 noundef %15, ptr noundef %16) store i32 %17, ptr %8, align 4 %18 = load i32, ptr %8, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %22, label %20 20: ; preds = %3 %21 = load i32, ptr %9, align 4 store i32 %21, ptr %8, align 4 br label %22 22: ; preds = %20, %3 %23 = load i32, ptr %8, align 4 ret i32 %23 } declare i32 @vsnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzg_9nn4_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vfprintf(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca [512 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %8, align 4 %10 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0 %11 = load ptr, ptr %5, align 8 %12 = load i32, ptr %6, align 4 %13 = call i32 @vsnprintf(ptr noundef %10, i32 noundef 512, ptr noundef %11, i32 noundef %12) store i32 %13, ptr %9, align 4 %14 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0 %15 = load i32, ptr %9, align 4 %16 = load ptr, ptr %4, align 8 %17 = call i32 @fwrite(ptr noundef %14, i32 noundef 1, i32 noundef %15, ptr noundef %16) store i32 %17, ptr %8, align 4 %18 = load i32, ptr %8, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %22, label %20 20: ; preds = %3 %21 = load i32, ptr %9, align 4 store i32 %21, ptr %8, align 4 br label %22 22: ; preds = %20, %3 %23 = load i32, ptr %8, align 4 ret i32 %23 } declare i32 @vsnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0sxu75ql.c' source_filename = "/tmp/tmp0sxu75ql.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @konversi_escaped_character(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %4, align 4 store i32 0, ptr %6, align 4 %9 = load i32, ptr %4, align 4 store i32 %9, ptr %3, align 4 store i32 0, ptr %5, align 4 br label %10 10: ; preds = %50, %1 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %3, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %53 14: ; preds = %10 %15 = load ptr, ptr %2, align 8 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 37 br i1 %21, label %22, label %37 22: ; preds = %14 %23 = load ptr, ptr %2, align 8 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %23, i64 %26 %28 = call signext i8 @hex2dec(ptr noundef %27) %29 = load ptr, ptr %2, align 8 %30 = load i32, ptr %6, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 store i8 %28, ptr %32, align 1 %33 = load i32, ptr %5, align 4 %34 = add nsw i32 %33, 2 store i32 %34, ptr %5, align 4 %35 = load i32, ptr %4, align 4 %36 = sub nsw i32 %35, 2 store i32 %36, ptr %4, align 4 br label %47 37: ; preds = %14 %38 = load ptr, ptr %2, align 8 %39 = load i32, ptr %5, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 %42 = load i8, ptr %41, align 1 %43 = load ptr, ptr %2, align 8 %44 = load i32, ptr %6, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %43, i64 %45 store i8 %42, ptr %46, align 1 br label %47 47: ; preds = %37, %22 %48 = load i32, ptr %6, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %6, align 4 br label %50 50: ; preds = %47 %51 = load i32, ptr %5, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %5, align 4 br label %10, !llvm.loop !6 53: ; preds = %10 %54 = load ptr, ptr %2, align 8 %55 = load i32, ptr %6, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %54, i64 %56 store i8 0, ptr %57, align 1 ret void } declare i32 @strlen(ptr noundef) #1 declare signext i8 @hex2dec(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/tmp0sxu75ql.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @konversi_escaped_character(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %4, align 4 store i32 0, ptr %6, align 4 %9 = load i32, ptr %4, align 4 store i32 %9, ptr %3, align 4 store i32 0, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %55 .lr.ph: ; preds = %1 br label %13 13: ; preds = %.lr.ph, %49 %14 = load ptr, ptr %2, align 8 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 37 br i1 %20, label %21, label %36 21: ; preds = %13 %22 = load ptr, ptr %2, align 8 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %22, i64 %25 %27 = call signext i8 @hex2dec(ptr noundef %26) %28 = load ptr, ptr %2, align 8 %29 = load i32, ptr %6, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 store i8 %27, ptr %31, align 1 %32 = load i32, ptr %5, align 4 %33 = add nsw i32 %32, 2 store i32 %33, ptr %5, align 4 %34 = load i32, ptr %4, align 4 %35 = sub nsw i32 %34, 2 store i32 %35, ptr %4, align 4 br label %46 36: ; preds = %13 %37 = load ptr, ptr %2, align 8 %38 = load i32, ptr %5, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 %41 = load i8, ptr %40, align 1 %42 = load ptr, ptr %2, align 8 %43 = load i32, ptr %6, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 store i8 %41, ptr %45, align 1 br label %46 46: ; preds = %36, %21 %47 = load i32, ptr %6, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %6, align 4 br label %49 49: ; preds = %46 %50 = load i32, ptr %5, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %5, align 4 %52 = load i32, ptr %5, align 4 %53 = load i32, ptr %3, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %49 br label %55 55: ; preds = %._crit_edge, %1 %56 = load ptr, ptr %2, align 8 %57 = load i32, ptr %6, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %56, i64 %58 store i8 0, ptr %59, align 1 ret void } declare i32 @strlen(ptr noundef) #1 declare signext i8 @hex2dec(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/tmp041cl51r.c' source_filename = "/tmp/tmp041cl51r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %14, %0 %5 = call i32 (...) @getchar() store i32 %5, ptr %2, align 4 %6 = load i32, ptr @EOF, align 4 %7 = icmp ne i32 %5, %6 br i1 %7, label %8, label %15 8: ; preds = %4 %9 = load i32, ptr %2, align 4 %10 = icmp eq i32 %9, 10 br i1 %10, label %11, label %14 11: ; preds = %8 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %3, align 4 br label %14 14: ; preds = %11, %8 br label %4, !llvm.loop !6 15: ; preds = %4 %16 = load i32, ptr %3, align 4 %17 = call i32 @printf(ptr noundef @.str, i32 noundef %16) %18 = load i32, ptr %1, align 4 ret i32 %18 } declare i32 @getchar(...) #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/tmp041cl51r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %4 = call i32 (...) @getchar() store i32 %4, ptr %2, align 4 %5 = load i32, ptr @EOF, align 4 %6 = icmp ne i32 %4, %5 br i1 %6, label %.lr.ph, label %17 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %13 %8 = load i32, ptr %2, align 4 %9 = icmp eq i32 %8, 10 br i1 %9, label %10, label %13 10: ; preds = %7 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %3, align 4 br label %13 13: ; preds = %10, %7 %14 = call i32 (...) @getchar() store i32 %14, ptr %2, align 4 %15 = load i32, ptr @EOF, align 4 %16 = icmp ne i32 %14, %15 br i1 %16, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %17 17: ; preds = %._crit_edge, %0 %18 = load i32, ptr %3, align 4 %19 = call i32 @printf(ptr noundef @.str, i32 noundef %18) %20 = load i32, ptr %1, align 4 ret i32 %20 } declare i32 @getchar(...) #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/tmp9qzzqfth.c' source_filename = "/tmp/tmp9qzzqfth.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @foo1(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = call i32 @print_int(i8 noundef signext %3) %5 = call i32 @print_string(ptr noundef @.str) %6 = load i8, ptr %2, align 1 %7 = call i32 @foo2(i8 noundef signext %6) ret void } declare i32 @print_int(i8 noundef signext) #1 declare i32 @print_string(ptr noundef) #1 declare i32 @foo2(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9qzzqfth.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @foo1(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = call i32 @print_int(i8 noundef signext %3) %5 = call i32 @print_string(ptr noundef @.str) %6 = load i8, ptr %2, align 1 %7 = call i32 @foo2(i8 noundef signext %6) ret void } declare i32 @print_int(i8 noundef signext) #1 declare i32 @print_string(ptr noundef) #1 declare i32 @foo2(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsrlubcm7.c' source_filename = "/tmp/tmpsrlubcm7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @W_OK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @parent_dir_is_writeable(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) %7 = add nsw i32 %6, 1 %8 = zext i32 %7 to i64 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %3, align 8 %10 = alloca i8, i64 %8, align 16 store i64 %8, ptr %4, align 8 %11 = load ptr, ptr %2, align 8 %12 = call i32 @strcpy(ptr noundef %10, ptr noundef %11) %13 = call i32 @dirname(ptr noundef %10) %14 = load i32, ptr @W_OK, align 4 %15 = call i64 @access(i32 noundef %13, i32 noundef %14) %16 = icmp eq i64 %15, 0 %17 = zext i1 %16 to i32 %18 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %18) ret i32 %17 } declare i32 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i64 @access(i32 noundef, i32 noundef) #1 declare i32 @dirname(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsrlubcm7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @W_OK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @parent_dir_is_writeable(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) %7 = add nsw i32 %6, 1 %8 = zext i32 %7 to i64 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %3, align 8 %10 = alloca i8, i64 %8, align 16 store i64 %8, ptr %4, align 8 %11 = load ptr, ptr %2, align 8 %12 = call i32 @strcpy(ptr noundef %10, ptr noundef %11) %13 = call i32 @dirname(ptr noundef %10) %14 = load i32, ptr @W_OK, align 4 %15 = call i64 @access(i32 noundef %13, i32 noundef %14) %16 = icmp eq i64 %15, 0 %17 = zext i1 %16 to i32 %18 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %18) ret i32 %17 } declare i32 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i64 @access(i32 noundef, i32 noundef) #1 declare i32 @dirname(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm5kok4nw.c' source_filename = "/tmp/tmpm5kok4nw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @estimate_sample(double noundef %0, double noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca i64, align 8 %7 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store i64 0, ptr %6, align 8 store double 1.000000e+00, ptr %7, align 8 %8 = load double, ptr %5, align 8 %9 = fcmp oeq double %8, 0.000000e+00 br i1 %9, label %10, label %11 10: ; preds = %2 store i64 -1, ptr %3, align 8 br label %26 11: ; preds = %2 br label %12 12: ; preds = %16, %11 %13 = load double, ptr %7, align 8 %14 = load double, ptr %5, align 8 %15 = fcmp ogt double %13, %14 br i1 %15, label %16, label %24 16: ; preds = %12 %17 = load double, ptr %4, align 8 %18 = fsub double 1.000000e+00, %17 %19 = fptosi double %18 to i32 %20 = load i64, ptr %6, align 8 %21 = add i64 %20, 1 store i64 %21, ptr %6, align 8 %22 = uitofp i64 %21 to double %23 = call double @pow(i32 noundef %19, double noundef %22) store double %23, ptr %7, align 8 br label %12, !llvm.loop !6 24: ; preds = %12 %25 = load i64, ptr %6, align 8 store i64 %25, ptr %3, align 8 br label %26 26: ; preds = %24, %10 %27 = load i64, ptr %3, align 8 ret i64 %27 } declare double @pow(i32 noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm5kok4nw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @estimate_sample(double noundef %0, double noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca i64, align 8 %7 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store i64 0, ptr %6, align 8 store double 1.000000e+00, ptr %7, align 8 %8 = load double, ptr %5, align 8 %9 = fcmp oeq double %8, 0.000000e+00 br i1 %9, label %10, label %11 10: ; preds = %2 store i64 -1, ptr %3, align 8 br label %28 11: ; preds = %2 %12 = load double, ptr %7, align 8 %13 = load double, ptr %5, align 8 %14 = fcmp ogt double %12, %13 br i1 %14, label %.lr.ph, label %26 .lr.ph: ; preds = %11 br label %15 15: ; preds = %.lr.ph, %15 %16 = load double, ptr %4, align 8 %17 = fsub double 1.000000e+00, %16 %18 = fptosi double %17 to i32 %19 = load i64, ptr %6, align 8 %20 = add i64 %19, 1 store i64 %20, ptr %6, align 8 %21 = uitofp i64 %20 to double %22 = call double @pow(i32 noundef %18, double noundef %21) store double %22, ptr %7, align 8 %23 = load double, ptr %7, align 8 %24 = load double, ptr %5, align 8 %25 = fcmp ogt double %23, %24 br i1 %25, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %26 26: ; preds = %._crit_edge, %11 %27 = load i64, ptr %6, align 8 store i64 %27, ptr %3, align 8 br label %28 28: ; preds = %26, %10 %29 = load i64, ptr %3, align 8 ret i64 %29 } declare double @pow(i32 noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_bgjqpx4.c' source_filename = "/tmp/tmp_bgjqpx4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_CLOEXEC = dso_local global i32 0, align 4 @O_DIRECTORY = dso_local global i32 0, align 4 @O_RDONLY = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_bgjqpx4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_CLOEXEC = dso_local global i32 0, align 4 @O_DIRECTORY = dso_local global i32 0, align 4 @O_RDONLY = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpov_8n_j4.c' source_filename = "/tmp/tmpov_8n_j4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @j1() #0 { ret i32 255 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpov_8n_j4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @j1() #0 { ret i32 255 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp00t9dhb1.c' source_filename = "/tmp/tmp00t9dhb1.c" target datalayout = "e-m:e-p270: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 [6 x i8] c"www%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @response_check_public_object(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca %struct.stat, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, ptr noundef %7) %9 = load ptr, ptr %3, align 8 %10 = call i32 @stat(ptr noundef %9, ptr noundef %5) %11 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0 %12 = load i32, ptr %11, align 4 %13 = call i64 @S_ISDIR(i32 noundef %12) %14 = icmp ne i64 %13, 0 br i1 %14, label %20, label %15 15: ; preds = %2 %16 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0 %17 = load i32, ptr %16, align 4 %18 = call i64 @S_ISREG(i32 noundef %17) %19 = icmp ne i64 %18, 0 br label %20 20: ; preds = %15, %2 %21 = phi i1 [ true, %2 ], [ %19, %15 ] %22 = zext i1 %21 to i32 ret i32 %22 } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @stat(ptr noundef, ptr noundef) #1 declare i64 @S_ISDIR(i32 noundef) #1 declare i64 @S_ISREG(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/tmp00t9dhb1.c" target datalayout = "e-m:e-p270: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 [6 x i8] c"www%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @response_check_public_object(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca %struct.stat, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, ptr noundef %7) %9 = load ptr, ptr %3, align 8 %10 = call i32 @stat(ptr noundef %9, ptr noundef %5) %11 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0 %12 = load i32, ptr %11, align 4 %13 = call i64 @S_ISDIR(i32 noundef %12) %14 = icmp ne i64 %13, 0 br i1 %14, label %20, label %15 15: ; preds = %2 %16 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0 %17 = load i32, ptr %16, align 4 %18 = call i64 @S_ISREG(i32 noundef %17) %19 = icmp ne i64 %18, 0 br label %20 20: ; preds = %15, %2 %21 = phi i1 [ true, %2 ], [ %19, %15 ] %22 = zext i1 %21 to i32 ret i32 %22 } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @stat(ptr noundef, ptr noundef) #1 declare i64 @S_ISDIR(i32 noundef) #1 declare i64 @S_ISREG(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/tmptknlfm9y.c' source_filename = "/tmp/tmptknlfm9y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [52 x i8] c"Degree Of Freedom should be a positive real integer\00", align 1 @.str.1 = private unnamed_addr constant [59 x i8] c"Probablity Values can only take values between 0.0 and 1.0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @tinv(double noundef %0, i32 noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 store double %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp sle i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 @printf(ptr noundef @.str) %16 = call i32 @exit(i32 noundef 1) #4 unreachable 17: ; preds = %2 %18 = load double, ptr %3, align 8 %19 = fcmp olt double %18, 0.000000e+00 br i1 %19, label %23, label %20 20: ; preds = %17 %21 = load double, ptr %3, align 8 %22 = fcmp ogt double %21, 1.000000e+00 br i1 %22, label %23, label %26 23: ; preds = %20, %17 %24 = call i32 @printf(ptr noundef @.str.1) %25 = call i32 @exit(i32 noundef 1) #4 unreachable 26: ; preds = %20 %27 = load double, ptr %3, align 8 %28 = fsub double 1.000000e+00, %27 store double %28, ptr %6, align 8 %29 = load double, ptr %3, align 8 %30 = load double, ptr %6, align 8 %31 = fcmp ole double %29, %30 br i1 %31, label %32, label %35 32: ; preds = %26 %33 = load double, ptr %3, align 8 %34 = fmul double 2.000000e+00, %33 store double %34, ptr %7, align 8 br label %38 35: ; preds = %26 %36 = load double, ptr %6, align 8 %37 = fmul double 2.000000e+00, %36 store double %37, ptr %7, align 8 br label %38 38: ; preds = %35, %32 %39 = load double, ptr %3, align 8 %40 = fcmp oeq double %39, 0.000000e+00 br i1 %40, label %41, label %42 41: ; preds = %38 store double -1.790000e+308, ptr %5, align 8 br label %42 42: ; preds = %41, %38 %43 = load double, ptr %3, align 8 %44 = fcmp oeq double %43, 1.000000e+00 br i1 %44, label %45, label %46 45: ; preds = %42 store double 1.790000e+308, ptr %5, align 8 br label %46 46: ; preds = %45, %42 %47 = load double, ptr %3, align 8 %48 = fcmp ogt double %47, 0.000000e+00 br i1 %48, label %49, label %76 49: ; preds = %46 %50 = load double, ptr %3, align 8 %51 = fcmp olt double %50, 1.000000e+00 br i1 %51, label %52, label %76 52: ; preds = %49 %53 = load i32, ptr %4, align 4 %54 = icmp sle i32 %53, 1000 br i1 %54, label %55, label %76 55: ; preds = %52 %56 = load double, ptr %3, align 8 %57 = fcmp olt double %56, 5.000000e-01 br i1 %57, label %58, label %59 58: ; preds = %55 store double -1.000000e+00, ptr %11, align 8 br label %60 59: ; preds = %55 store double 1.000000e+00, ptr %11, align 8 br label %60 60: ; preds = %59, %58 %61 = load i32, ptr %4, align 4 %62 = sitofp i32 %61 to double %63 = fdiv double %62, 2.000000e+00 store double %63, ptr %10, align 8 %64 = load double, ptr %7, align 8 %65 = load double, ptr %10, align 8 %66 = call double @betainv(double noundef %64, double noundef %65, double noundef 5.000000e-01) store double %66, ptr %8, align 8 %67 = load double, ptr %8, align 8 %68 = fsub double 1.000000e+00, %67 store double %68, ptr %9, align 8 %69 = load i32, ptr %4, align 4 %70 = sitofp i32 %69 to double %71 = load double, ptr %9, align 8 %72 = fmul double %70, %71 %73 = load double, ptr %8, align 8 %74 = fdiv double %72, %73 %75 = call double @sqrt(double noundef %74) #5 store double %75, ptr %5, align 8 br label %76 76: ; preds = %60, %52, %49, %46 %77 = load double, ptr %3, align 8 %78 = fcmp ogt double %77, 0.000000e+00 br i1 %78, label %79, label %89 79: ; preds = %76 %80 = load double, ptr %3, align 8 %81 = fcmp olt double %80, 1.000000e+00 br i1 %81, label %82, label %89 82: ; preds = %79 %83 = load i32, ptr %4, align 4 %84 = icmp sgt i32 %83, 1000 br i1 %84, label %85, label %89 85: ; preds = %82 %86 = load double, ptr %3, align 8 %87 = load i32, ptr %4, align 4 %88 = call double @tinv_appx(double noundef %86, i32 noundef %87) store double %88, ptr %5, align 8 br label %89 89: ; preds = %85, %82, %79, %76 %90 = load double, ptr %5, align 8 ret double %90 } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare double @betainv(double noundef, double noundef, double noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #3 declare double @tinv_appx(double noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptknlfm9y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [52 x i8] c"Degree Of Freedom should be a positive real integer\00", align 1 @.str.1 = private unnamed_addr constant [59 x i8] c"Probablity Values can only take values between 0.0 and 1.0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @tinv(double noundef %0, i32 noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 store double %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp sle i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 @printf(ptr noundef @.str) %16 = call i32 @exit(i32 noundef 1) #4 unreachable 17: ; preds = %2 %18 = load double, ptr %3, align 8 %19 = fcmp olt double %18, 0.000000e+00 br i1 %19, label %23, label %20 20: ; preds = %17 %21 = load double, ptr %3, align 8 %22 = fcmp ogt double %21, 1.000000e+00 br i1 %22, label %23, label %26 23: ; preds = %20, %17 %24 = call i32 @printf(ptr noundef @.str.1) %25 = call i32 @exit(i32 noundef 1) #4 unreachable 26: ; preds = %20 %27 = load double, ptr %3, align 8 %28 = fsub double 1.000000e+00, %27 store double %28, ptr %6, align 8 %29 = load double, ptr %3, align 8 %30 = load double, ptr %6, align 8 %31 = fcmp ole double %29, %30 br i1 %31, label %32, label %35 32: ; preds = %26 %33 = load double, ptr %3, align 8 %34 = fmul double 2.000000e+00, %33 store double %34, ptr %7, align 8 br label %38 35: ; preds = %26 %36 = load double, ptr %6, align 8 %37 = fmul double 2.000000e+00, %36 store double %37, ptr %7, align 8 br label %38 38: ; preds = %35, %32 %39 = load double, ptr %3, align 8 %40 = fcmp oeq double %39, 0.000000e+00 br i1 %40, label %41, label %42 41: ; preds = %38 store double -1.790000e+308, ptr %5, align 8 br label %42 42: ; preds = %41, %38 %43 = load double, ptr %3, align 8 %44 = fcmp oeq double %43, 1.000000e+00 br i1 %44, label %45, label %46 45: ; preds = %42 store double 1.790000e+308, ptr %5, align 8 br label %46 46: ; preds = %45, %42 %47 = load double, ptr %3, align 8 %48 = fcmp ogt double %47, 0.000000e+00 br i1 %48, label %49, label %76 49: ; preds = %46 %50 = load double, ptr %3, align 8 %51 = fcmp olt double %50, 1.000000e+00 br i1 %51, label %52, label %76 52: ; preds = %49 %53 = load i32, ptr %4, align 4 %54 = icmp sle i32 %53, 1000 br i1 %54, label %55, label %76 55: ; preds = %52 %56 = load double, ptr %3, align 8 %57 = fcmp olt double %56, 5.000000e-01 br i1 %57, label %58, label %59 58: ; preds = %55 store double -1.000000e+00, ptr %11, align 8 br label %60 59: ; preds = %55 store double 1.000000e+00, ptr %11, align 8 br label %60 60: ; preds = %59, %58 %61 = load i32, ptr %4, align 4 %62 = sitofp i32 %61 to double %63 = fdiv double %62, 2.000000e+00 store double %63, ptr %10, align 8 %64 = load double, ptr %7, align 8 %65 = load double, ptr %10, align 8 %66 = call double @betainv(double noundef %64, double noundef %65, double noundef 5.000000e-01) store double %66, ptr %8, align 8 %67 = load double, ptr %8, align 8 %68 = fsub double 1.000000e+00, %67 store double %68, ptr %9, align 8 %69 = load i32, ptr %4, align 4 %70 = sitofp i32 %69 to double %71 = load double, ptr %9, align 8 %72 = fmul double %70, %71 %73 = load double, ptr %8, align 8 %74 = fdiv double %72, %73 %75 = call double @sqrt(double noundef %74) #5 store double %75, ptr %5, align 8 br label %76 76: ; preds = %60, %52, %49, %46 %77 = load double, ptr %3, align 8 %78 = fcmp ogt double %77, 0.000000e+00 br i1 %78, label %79, label %89 79: ; preds = %76 %80 = load double, ptr %3, align 8 %81 = fcmp olt double %80, 1.000000e+00 br i1 %81, label %82, label %89 82: ; preds = %79 %83 = load i32, ptr %4, align 4 %84 = icmp sgt i32 %83, 1000 br i1 %84, label %85, label %89 85: ; preds = %82 %86 = load double, ptr %3, align 8 %87 = load i32, ptr %4, align 4 %88 = call double @tinv_appx(double noundef %86, i32 noundef %87) store double %88, ptr %5, align 8 br label %89 89: ; preds = %85, %82, %79, %76 %90 = load double, ptr %5, align 8 ret double %90 } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare double @betainv(double noundef, double noundef, double noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #3 declare double @tinv_appx(double noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsuyzk7g9.c' source_filename = "/tmp/tmpsuyzk7g9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HDsidx(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca ptr, align 8 %20 = alloca [8 x double], align 16 %21 = alloca ptr, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store i32 %4, ptr %12, align 4 store ptr %5, ptr %13, align 8 store i32 %6, ptr %14, align 4 %29 = load i32, ptr %12, align 4 %30 = mul nsw i32 2, %29 store i32 %30, ptr %18, align 4 store i32 0, ptr %15, align 4 br label %31 31: ; preds = %182, %7 %32 = load i32, ptr %15, align 4 %33 = load i32, ptr %14, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %35, label %185 35: ; preds = %31 %36 = load ptr, ptr %13, align 8 %37 = load i32, ptr %15, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %36, i64 %38 %40 = load i32, ptr %39, align 4 store i32 %40, ptr %16, align 4 store double 0.000000e+00, ptr %22, align 8 store double 0.000000e+00, ptr %23, align 8 %41 = load ptr, ptr %8, align 8 %42 = load i32, ptr %16, align 4 %43 = mul nsw i32 2, %42 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds double, ptr %41, i64 %44 store ptr %45, ptr %19, align 8 %46 = load ptr, ptr %9, align 8 %47 = load i32, ptr %16, align 4 %48 = mul nsw i32 6, %47 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds double, ptr %46, i64 %49 store ptr %50, ptr %21, align 8 store i32 0, ptr %17, align 4 br label %51 51: ; preds = %78, %35 %52 = load i32, ptr %17, align 4 %53 = icmp slt i32 %52, 9 br i1 %53, label %54, label %81 54: ; preds = %51 %55 = load ptr, ptr %10, align 8 %56 = load i32, ptr %17, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds double, ptr %55, i64 %57 %59 = load double, ptr %58, align 8 %60 = load ptr, ptr %19, align 8 %61 = load double, ptr %60, align 8 %62 = load double, ptr %22, align 8 %63 = call double @llvm.fmuladd.f64(double %59, double %61, double %62) store double %63, ptr %22, align 8 %64 = load ptr, ptr %10, align 8 %65 = load i32, ptr %17, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds double, ptr %64, i64 %66 %68 = load double, ptr %67, align 8 %69 = load ptr, ptr %19, align 8 %70 = getelementptr inbounds double, ptr %69, i64 1 %71 = load double, ptr %70, align 8 %72 = load double, ptr %23, align 8 %73 = call double @llvm.fmuladd.f64(double %68, double %71, double %72) store double %73, ptr %23, align 8 %74 = load i32, ptr %18, align 4 %75 = load ptr, ptr %19, align 8 %76 = sext i32 %74 to i64 %77 = getelementptr inbounds double, ptr %75, i64 %76 store ptr %77, ptr %19, align 8 br label %78 78: ; preds = %54 %79 = load i32, ptr %17, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %17, align 4 br label %51, !llvm.loop !6 81: ; preds = %51 %82 = load ptr, ptr %10, align 8 %83 = getelementptr inbounds double, ptr %82, i64 0 %84 = load double, ptr %83, align 8 %85 = load ptr, ptr %10, align 8 %86 = getelementptr inbounds double, ptr %85, i64 2 %87 = load double, ptr %86, align 8 %88 = load ptr, ptr %21, align 8 %89 = getelementptr inbounds double, ptr %88, i64 0 %90 = load double, ptr %89, align 8 %91 = fneg double %87 %92 = call double @llvm.fmuladd.f64(double %91, double %90, double %84) store double %92, ptr %24, align 8 %93 = load ptr, ptr %10, align 8 %94 = getelementptr inbounds double, ptr %93, i64 3 %95 = load double, ptr %94, align 8 %96 = load ptr, ptr %10, align 8 %97 = getelementptr inbounds double, ptr %96, i64 5 %98 = load double, ptr %97, align 8 %99 = load ptr, ptr %21, align 8 %100 = getelementptr inbounds double, ptr %99, i64 0 %101 = load double, ptr %100, align 8 %102 = fneg double %98 %103 = call double @llvm.fmuladd.f64(double %102, double %101, double %95) store double %103, ptr %25, align 8 %104 = load ptr, ptr %10, align 8 %105 = getelementptr inbounds double, ptr %104, i64 8 %106 = load double, ptr %105, align 8 %107 = fneg double %106 %108 = load ptr, ptr %10, align 8 %109 = getelementptr inbounds double, ptr %108, i64 2 %110 = load double, ptr %109, align 8 %111 = load ptr, ptr %21, align 8 %112 = getelementptr inbounds double, ptr %111, i64 3 %113 = load double, ptr %112, align 8 %114 = fneg double %110 %115 = call double @llvm.fmuladd.f64(double %114, double %113, double %107) %116 = load ptr, ptr %10, align 8 %117 = getelementptr inbounds double, ptr %116, i64 5 %118 = load double, ptr %117, align 8 %119 = load ptr, ptr %21, align 8 %120 = getelementptr inbounds double, ptr %119, i64 4 %121 = load double, ptr %120, align 8 %122 = fneg double %118 %123 = call double @llvm.fmuladd.f64(double %122, double %121, double %115) store double %123, ptr %26, align 8 %124 = load ptr, ptr %10, align 8 %125 = getelementptr inbounds double, ptr %124, i64 1 %126 = load double, ptr %125, align 8 %127 = load ptr, ptr %10, align 8 %128 = getelementptr inbounds double, ptr %127, i64 2 %129 = load double, ptr %128, align 8 %130 = load ptr, ptr %21, align 8 %131 = getelementptr inbounds double, ptr %130, i64 1 %132 = load double, ptr %131, align 8 %133 = fneg double %129 %134 = call double @llvm.fmuladd.f64(double %133, double %132, double %126) store double %134, ptr %27, align 8 %135 = load ptr, ptr %10, align 8 %136 = getelementptr inbounds double, ptr %135, i64 4 %137 = load double, ptr %136, align 8 %138 = load ptr, ptr %10, align 8 %139 = getelementptr inbounds double, ptr %138, i64 5 %140 = load double, ptr %139, align 8 %141 = load ptr, ptr %21, align 8 %142 = getelementptr inbounds double, ptr %141, i64 1 %143 = load double, ptr %142, align 8 %144 = fneg double %140 %145 = call double @llvm.fmuladd.f64(double %144, double %143, double %137) store double %145, ptr %28, align 8 %146 = load double, ptr %24, align 8 %147 = load double, ptr %25, align 8 %148 = load double, ptr %26, align 8 %149 = load double, ptr %27, align 8 %150 = load double, ptr %28, align 8 %151 = getelementptr inbounds [8 x double], ptr %20, i64 0, i64 0 %152 = call i32 @pinvJ(double noundef %146, double noundef %147, double noundef %148, double noundef %149, double noundef %150, ptr noundef %151) %153 = load ptr, ptr %11, align 8 store double 0.000000e+00, ptr %153, align 8 store i32 0, ptr %17, align 4 br label %154 154: ; preds = %176, %81 %155 = load i32, ptr %17, align 4 %156 = icmp slt i32 %155, 4 br i1 %156, label %157, label %179 157: ; preds = %154 %158 = load i32, ptr %17, align 4 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds [8 x double], ptr %20, i64 0, i64 %159 %161 = load double, ptr %160, align 8 %162 = load double, ptr %22, align 8 %163 = load i32, ptr %17, align 4 %164 = add nsw i32 %163, 4 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds [8 x double], ptr %20, i64 0, i64 %165 %167 = load double, ptr %166, align 8 %168 = load double, ptr %23, align 8 %169 = fmul double %167, %168 %170 = call double @llvm.fmuladd.f64(double %161, double %162, double %169) store double %170, ptr %24, align 8 %171 = load double, ptr %24, align 8 %172 = load double, ptr %24, align 8 %173 = load ptr, ptr %11, align 8 %174 = load double, ptr %173, align 8 %175 = call double @llvm.fmuladd.f64(double %171, double %172, double %174) store double %175, ptr %173, align 8 br label %176 176: ; preds = %157 %177 = load i32, ptr %17, align 4 %178 = add nsw i32 %177, 1 store i32 %178, ptr %17, align 4 br label %154, !llvm.loop !8 179: ; preds = %154 %180 = load ptr, ptr %11, align 8 %181 = getelementptr inbounds double, ptr %180, i32 1 store ptr %181, ptr %11, align 8 br label %182 182: ; preds = %179 %183 = load i32, ptr %15, align 4 %184 = add nsw i32 %183, 1 store i32 %184, ptr %15, align 4 br label %31, !llvm.loop !9 185: ; preds = %31 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @pinvJ(double noundef, double noundef, double noundef, double noundef, double noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsuyzk7g9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HDsidx(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca ptr, align 8 %20 = alloca [8 x double], align 16 %21 = alloca ptr, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store i32 %4, ptr %12, align 4 store ptr %5, ptr %13, align 8 store i32 %6, ptr %14, align 4 %29 = load i32, ptr %12, align 4 %30 = mul nsw i32 2, %29 store i32 %30, ptr %18, align 4 store i32 0, ptr %15, align 4 %31 = load i32, ptr %15, align 4 %32 = load i32, ptr %14, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %.lr.ph5, label %189 .lr.ph5: ; preds = %7 br label %34 34: ; preds = %.lr.ph5, %183 %35 = load ptr, ptr %13, align 8 %36 = load i32, ptr %15, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %35, i64 %37 %39 = load i32, ptr %38, align 4 store i32 %39, ptr %16, align 4 store double 0.000000e+00, ptr %22, align 8 store double 0.000000e+00, ptr %23, align 8 %40 = load ptr, ptr %8, align 8 %41 = load i32, ptr %16, align 4 %42 = mul nsw i32 2, %41 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds double, ptr %40, i64 %43 store ptr %44, ptr %19, align 8 %45 = load ptr, ptr %9, align 8 %46 = load i32, ptr %16, align 4 %47 = mul nsw i32 6, %46 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds double, ptr %45, i64 %48 store ptr %49, ptr %21, align 8 store i32 0, ptr %17, align 4 %50 = load i32, ptr %17, align 4 %51 = icmp slt i32 %50, 9 br i1 %51, label %.lr.ph, label %81 .lr.ph: ; preds = %34 br label %52 52: ; preds = %.lr.ph, %76 %53 = load ptr, ptr %10, align 8 %54 = load i32, ptr %17, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds double, ptr %53, i64 %55 %57 = load double, ptr %56, align 8 %58 = load ptr, ptr %19, align 8 %59 = load double, ptr %58, align 8 %60 = load double, ptr %22, align 8 %61 = call double @llvm.fmuladd.f64(double %57, double %59, double %60) store double %61, ptr %22, align 8 %62 = load ptr, ptr %10, align 8 %63 = load i32, ptr %17, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds double, ptr %62, i64 %64 %66 = load double, ptr %65, align 8 %67 = load ptr, ptr %19, align 8 %68 = getelementptr inbounds double, ptr %67, i64 1 %69 = load double, ptr %68, align 8 %70 = load double, ptr %23, align 8 %71 = call double @llvm.fmuladd.f64(double %66, double %69, double %70) store double %71, ptr %23, align 8 %72 = load i32, ptr %18, align 4 %73 = load ptr, ptr %19, align 8 %74 = sext i32 %72 to i64 %75 = getelementptr inbounds double, ptr %73, i64 %74 store ptr %75, ptr %19, align 8 br label %76 76: ; preds = %52 %77 = load i32, ptr %17, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %17, align 4 %79 = load i32, ptr %17, align 4 %80 = icmp slt i32 %79, 9 br i1 %80, label %52, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %76 br label %81 81: ; preds = %._crit_edge, %34 %82 = load ptr, ptr %10, align 8 %83 = getelementptr inbounds double, ptr %82, i64 0 %84 = load double, ptr %83, align 8 %85 = load ptr, ptr %10, align 8 %86 = getelementptr inbounds double, ptr %85, i64 2 %87 = load double, ptr %86, align 8 %88 = load ptr, ptr %21, align 8 %89 = getelementptr inbounds double, ptr %88, i64 0 %90 = load double, ptr %89, align 8 %91 = fneg double %87 %92 = call double @llvm.fmuladd.f64(double %91, double %90, double %84) store double %92, ptr %24, align 8 %93 = load ptr, ptr %10, align 8 %94 = getelementptr inbounds double, ptr %93, i64 3 %95 = load double, ptr %94, align 8 %96 = load ptr, ptr %10, align 8 %97 = getelementptr inbounds double, ptr %96, i64 5 %98 = load double, ptr %97, align 8 %99 = load ptr, ptr %21, align 8 %100 = getelementptr inbounds double, ptr %99, i64 0 %101 = load double, ptr %100, align 8 %102 = fneg double %98 %103 = call double @llvm.fmuladd.f64(double %102, double %101, double %95) store double %103, ptr %25, align 8 %104 = load ptr, ptr %10, align 8 %105 = getelementptr inbounds double, ptr %104, i64 8 %106 = load double, ptr %105, align 8 %107 = fneg double %106 %108 = load ptr, ptr %10, align 8 %109 = getelementptr inbounds double, ptr %108, i64 2 %110 = load double, ptr %109, align 8 %111 = load ptr, ptr %21, align 8 %112 = getelementptr inbounds double, ptr %111, i64 3 %113 = load double, ptr %112, align 8 %114 = fneg double %110 %115 = call double @llvm.fmuladd.f64(double %114, double %113, double %107) %116 = load ptr, ptr %10, align 8 %117 = getelementptr inbounds double, ptr %116, i64 5 %118 = load double, ptr %117, align 8 %119 = load ptr, ptr %21, align 8 %120 = getelementptr inbounds double, ptr %119, i64 4 %121 = load double, ptr %120, align 8 %122 = fneg double %118 %123 = call double @llvm.fmuladd.f64(double %122, double %121, double %115) store double %123, ptr %26, align 8 %124 = load ptr, ptr %10, align 8 %125 = getelementptr inbounds double, ptr %124, i64 1 %126 = load double, ptr %125, align 8 %127 = load ptr, ptr %10, align 8 %128 = getelementptr inbounds double, ptr %127, i64 2 %129 = load double, ptr %128, align 8 %130 = load ptr, ptr %21, align 8 %131 = getelementptr inbounds double, ptr %130, i64 1 %132 = load double, ptr %131, align 8 %133 = fneg double %129 %134 = call double @llvm.fmuladd.f64(double %133, double %132, double %126) store double %134, ptr %27, align 8 %135 = load ptr, ptr %10, align 8 %136 = getelementptr inbounds double, ptr %135, i64 4 %137 = load double, ptr %136, align 8 %138 = load ptr, ptr %10, align 8 %139 = getelementptr inbounds double, ptr %138, i64 5 %140 = load double, ptr %139, align 8 %141 = load ptr, ptr %21, align 8 %142 = getelementptr inbounds double, ptr %141, i64 1 %143 = load double, ptr %142, align 8 %144 = fneg double %140 %145 = call double @llvm.fmuladd.f64(double %144, double %143, double %137) store double %145, ptr %28, align 8 %146 = load double, ptr %24, align 8 %147 = load double, ptr %25, align 8 %148 = load double, ptr %26, align 8 %149 = load double, ptr %27, align 8 %150 = load double, ptr %28, align 8 %151 = getelementptr inbounds [8 x double], ptr %20, i64 0, i64 0 %152 = call i32 @pinvJ(double noundef %146, double noundef %147, double noundef %148, double noundef %149, double noundef %150, ptr noundef %151) %153 = load ptr, ptr %11, align 8 store double 0.000000e+00, ptr %153, align 8 store i32 0, ptr %17, align 4 %154 = load i32, ptr %17, align 4 %155 = icmp slt i32 %154, 4 br i1 %155, label %.lr.ph2, label %180 .lr.ph2: ; preds = %81 br label %156 156: ; preds = %.lr.ph2, %175 %157 = load i32, ptr %17, align 4 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds [8 x double], ptr %20, i64 0, i64 %158 %160 = load double, ptr %159, align 8 %161 = load double, ptr %22, align 8 %162 = load i32, ptr %17, align 4 %163 = add nsw i32 %162, 4 %164 = sext i32 %163 to i64 %165 = getelementptr inbounds [8 x double], ptr %20, i64 0, i64 %164 %166 = load double, ptr %165, align 8 %167 = load double, ptr %23, align 8 %168 = fmul double %166, %167 %169 = call double @llvm.fmuladd.f64(double %160, double %161, double %168) store double %169, ptr %24, align 8 %170 = load double, ptr %24, align 8 %171 = load double, ptr %24, align 8 %172 = load ptr, ptr %11, align 8 %173 = load double, ptr %172, align 8 %174 = call double @llvm.fmuladd.f64(double %170, double %171, double %173) store double %174, ptr %172, align 8 br label %175 175: ; preds = %156 %176 = load i32, ptr %17, align 4 %177 = add nsw i32 %176, 1 store i32 %177, ptr %17, align 4 %178 = load i32, ptr %17, align 4 %179 = icmp slt i32 %178, 4 br i1 %179, label %156, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %175 br label %180 180: ; preds = %._crit_edge3, %81 %181 = load ptr, ptr %11, align 8 %182 = getelementptr inbounds double, ptr %181, i32 1 store ptr %182, ptr %11, align 8 br label %183 183: ; preds = %180 %184 = load i32, ptr %15, align 4 %185 = add nsw i32 %184, 1 store i32 %185, ptr %15, align 4 %186 = load i32, ptr %15, align 4 %187 = load i32, ptr %14, align 4 %188 = icmp slt i32 %186, %187 br i1 %188, label %34, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %183 br label %189 189: ; preds = %._crit_edge6, %7 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @pinvJ(double noundef, double noundef, double noundef, double noundef, double noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpqbz5nm0i.c' source_filename = "/tmp/tmpqbz5nm0i.c" target datalayout = "e-m:e-p270: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.fac = private unnamed_addr constant [10 x i32] [i32 1, i32 1, i32 2, i32 6, i32 24, i32 120, i32 720, i32 5040, i32 40320, i32 362880], 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 [10 x i32], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %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 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.fac, i64 40, i1 false) store i32 0, ptr %8, align 4 store i32 10, ptr %7, align 4 br label %11 11: ; preds = %38, %2 %12 = load i32, ptr %7, align 4 %13 = icmp slt i32 %12, 9999999 br i1 %13, label %14, label %41 14: ; preds = %11 store i32 0, ptr %10, align 4 %15 = load i32, ptr %7, align 4 store i32 %15, ptr %9, align 4 br label %16 16: ; preds = %19, %14 %17 = load i32, ptr %9, align 4 %18 = icmp sgt i32 %17, 0 br i1 %18, label %19, label %29 19: ; preds = %16 %20 = load i32, ptr %9, align 4 %21 = srem i32 %20, 10 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %22 %24 = load i32, ptr %23, align 4 %25 = load i32, ptr %10, align 4 %26 = add nsw i32 %25, %24 store i32 %26, ptr %10, align 4 %27 = load i32, ptr %9, align 4 %28 = sdiv i32 %27, 10 store i32 %28, ptr %9, align 4 br label %16, !llvm.loop !6 29: ; preds = %16 %30 = load i32, ptr %10, align 4 %31 = load i32, ptr %7, align 4 %32 = icmp eq i32 %30, %31 br i1 %32, label %33, label %37 33: ; preds = %29 %34 = load i32, ptr %7, align 4 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, %34 store i32 %36, ptr %8, align 4 br label %37 37: ; preds = %33, %29 br label %38 38: ; preds = %37 %39 = load i32, ptr %7, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %7, align 4 br label %11, !llvm.loop !8 41: ; preds = %11 %42 = load i32, ptr %8, align 4 %43 = call i32 @printf(ptr noundef @.str, i32 noundef %42) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqbz5nm0i.c" target datalayout = "e-m:e-p270: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.fac = private unnamed_addr constant [10 x i32] [i32 1, i32 1, i32 2, i32 6, i32 24, i32 120, i32 720, i32 5040, i32 40320, i32 362880], 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 [10 x i32], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %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 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.fac, i64 40, i1 false) store i32 0, ptr %8, align 4 store i32 10, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp slt i32 %11, 9999999 br i1 %12, label %.lr.ph2, label %43 .lr.ph2: ; preds = %2 br label %13 13: ; preds = %.lr.ph2, %38 store i32 0, ptr %10, align 4 %14 = load i32, ptr %7, align 4 store i32 %14, ptr %9, align 4 %15 = load i32, ptr %9, align 4 %16 = icmp sgt i32 %15, 0 br i1 %16, label %.lr.ph, label %29 .lr.ph: ; preds = %13 br label %17 17: ; preds = %.lr.ph, %17 %18 = load i32, ptr %9, align 4 %19 = srem i32 %18, 10 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %20 %22 = load i32, ptr %21, align 4 %23 = load i32, ptr %10, align 4 %24 = add nsw i32 %23, %22 store i32 %24, ptr %10, align 4 %25 = load i32, ptr %9, align 4 %26 = sdiv i32 %25, 10 store i32 %26, ptr %9, align 4 %27 = load i32, ptr %9, align 4 %28 = icmp sgt i32 %27, 0 br i1 %28, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %29 29: ; preds = %._crit_edge, %13 %30 = load i32, ptr %10, align 4 %31 = load i32, ptr %7, align 4 %32 = icmp eq i32 %30, %31 br i1 %32, label %33, label %37 33: ; preds = %29 %34 = load i32, ptr %7, align 4 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, %34 store i32 %36, ptr %8, align 4 br label %37 37: ; preds = %33, %29 br label %38 38: ; preds = %37 %39 = load i32, ptr %7, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %7, align 4 %41 = load i32, ptr %7, align 4 %42 = icmp slt i32 %41, 9999999 br i1 %42, label %13, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %38 br label %43 43: ; preds = %._crit_edge3, %2 %44 = load i32, ptr %8, align 4 %45 = call i32 @printf(ptr noundef @.str, i32 noundef %44) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, 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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp4klgx3jt.c' source_filename = "/tmp/tmp4klgx3jt.c" target datalayout = "e-m:e-p270: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/tmp4klgx3jt.c" target datalayout = "e-m:e-p270: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/tmpe042eycr.c' source_filename = "/tmp/tmpe042eycr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @StrCmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %9, align 8 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %11, align 8 %13 = call i32 @strcmp(ptr noundef %10, ptr noundef %12) ret i32 %13 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe042eycr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @StrCmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %9, align 8 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %11, align 8 %13 = call i32 @strcmp(ptr noundef %10, ptr noundef %12) ret i32 %13 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvjb2pfx8.c' source_filename = "/tmp/tmpvjb2pfx8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"/opt/robocomp/bin/main.py\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s \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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = call i32 @strlen(ptr noundef @.str) %11 = add nsw i32 %10, 1 store i32 %11, ptr %7, align 4 store i32 1, ptr %6, align 4 br label %12 12: ; preds = %26, %2 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %29 16: ; preds = %12 %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds ptr, ptr %17, i64 %19 %21 = load ptr, ptr %20, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 1 %23 = call i32 @strlen(ptr noundef %22) %24 = load i32, ptr %7, align 4 %25 = add nsw i32 %24, %23 store i32 %25, ptr %7, align 4 br label %26 26: ; preds = %16 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %6, align 4 br label %12, !llvm.loop !6 29: ; preds = %12 %30 = load i32, ptr %7, align 4 %31 = sext i32 %30 to i64 %32 = mul i64 %31, 1 %33 = trunc i64 %32 to i32 %34 = call i64 @malloc(i32 noundef %33) %35 = inttoptr i64 %34 to ptr store ptr %35, ptr %8, align 8 %36 = load ptr, ptr %8, align 8 store ptr %36, ptr %9, align 8 %37 = call i32 @strlen(ptr noundef @.str) %38 = add nsw i32 %37, 1 %39 = load ptr, ptr %9, align 8 %40 = sext i32 %38 to i64 %41 = getelementptr inbounds i8, ptr %39, i64 %40 store ptr %41, ptr %9, align 8 %42 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str) store i32 1, ptr %6, align 4 br label %43 43: ; preds = %65, %29 %44 = load i32, ptr %6, align 4 %45 = load i32, ptr %4, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %47, label %68 47: ; preds = %43 %48 = load ptr, ptr %9, align 8 %49 = load ptr, ptr %5, align 8 %50 = load i32, ptr %6, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds ptr, ptr %49, i64 %51 %53 = load ptr, ptr %52, align 8 %54 = call i32 @sprintf(ptr noundef %48, ptr noundef @.str.1, ptr noundef %53) %55 = load ptr, ptr %5, align 8 %56 = load i32, ptr %6, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds ptr, ptr %55, i64 %57 %59 = load ptr, ptr %58, align 8 %60 = call i32 @strlen(ptr noundef %59) %61 = add nsw i32 %60, 1 %62 = load ptr, ptr %9, align 8 %63 = sext i32 %61 to i64 %64 = getelementptr inbounds i8, ptr %62, i64 %63 store ptr %64, ptr %9, align 8 br label %65 65: ; preds = %47 %66 = load i32, ptr %6, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %6, align 4 br label %43, !llvm.loop !8 68: ; preds = %43 %69 = load ptr, ptr %8, align 8 %70 = call i32 @system(ptr noundef %69) store i32 %70, ptr %6, align 4 %71 = load ptr, ptr %8, align 8 %72 = call i32 @free(ptr noundef %71) %73 = load i32, ptr %6, align 4 ret i32 %73 } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvjb2pfx8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"/opt/robocomp/bin/main.py\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s \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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = call i32 @strlen(ptr noundef @.str) %11 = add nsw i32 %10, 1 store i32 %11, ptr %7, align 4 store i32 1, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %31 .lr.ph: ; preds = %2 br label %15 15: ; preds = %.lr.ph, %25 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %6, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %16, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 1 %22 = call i32 @strlen(ptr noundef %21) %23 = load i32, ptr %7, align 4 %24 = add nsw i32 %23, %22 store i32 %24, ptr %7, align 4 br label %25 25: ; preds = %15 %26 = load i32, ptr %6, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %6, align 4 %28 = load i32, ptr %6, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %31 31: ; preds = %._crit_edge, %2 %32 = load i32, ptr %7, align 4 %33 = sext i32 %32 to i64 %34 = mul i64 %33, 1 %35 = trunc i64 %34 to i32 %36 = call i64 @malloc(i32 noundef %35) %37 = inttoptr i64 %36 to ptr store ptr %37, ptr %8, align 8 %38 = load ptr, ptr %8, align 8 store ptr %38, ptr %9, align 8 %39 = call i32 @strlen(ptr noundef @.str) %40 = add nsw i32 %39, 1 %41 = load ptr, ptr %9, align 8 %42 = sext i32 %40 to i64 %43 = getelementptr inbounds i8, ptr %41, i64 %42 store ptr %43, ptr %9, align 8 %44 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str) store i32 1, ptr %6, align 4 %45 = load i32, ptr %6, align 4 %46 = load i32, ptr %4, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %.lr.ph2, label %72 .lr.ph2: ; preds = %31 br label %48 48: ; preds = %.lr.ph2, %66 %49 = load ptr, ptr %9, align 8 %50 = load ptr, ptr %5, align 8 %51 = load i32, ptr %6, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds ptr, ptr %50, i64 %52 %54 = load ptr, ptr %53, align 8 %55 = call i32 @sprintf(ptr noundef %49, ptr noundef @.str.1, ptr noundef %54) %56 = load ptr, ptr %5, align 8 %57 = load i32, ptr %6, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds ptr, ptr %56, i64 %58 %60 = load ptr, ptr %59, align 8 %61 = call i32 @strlen(ptr noundef %60) %62 = add nsw i32 %61, 1 %63 = load ptr, ptr %9, align 8 %64 = sext i32 %62 to i64 %65 = getelementptr inbounds i8, ptr %63, i64 %64 store ptr %65, ptr %9, align 8 br label %66 66: ; preds = %48 %67 = load i32, ptr %6, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %6, align 4 %69 = load i32, ptr %6, align 4 %70 = load i32, ptr %4, align 4 %71 = icmp slt i32 %69, %70 br i1 %71, label %48, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %66 br label %72 72: ; preds = %._crit_edge3, %31 %73 = load ptr, ptr %8, align 8 %74 = call i32 @system(ptr noundef %73) store i32 %74, ptr %6, align 4 %75 = load ptr, ptr %8, align 8 %76 = call i32 @free(ptr noundef %75) %77 = load i32, ptr %6, align 4 ret i32 %77 } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp0c9win5y.c' source_filename = "/tmp/tmp0c9win5y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_bloc(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = icmp ult i32 %7, 8 br i1 %8, label %9, label %21 9: ; preds = %3 %10 = load i32, ptr %5, align 4 %11 = icmp ult i32 %10, 512 br i1 %11, label %12, label %21 12: ; preds = %9 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %5, align 4 %15 = call i32 @cylindre_of_bloc(i32 noundef %13, i32 noundef %14) %16 = load i32, ptr %4, align 4 %17 = load i32, ptr %5, align 4 %18 = call i32 @sector_of_bloc(i32 noundef %16, i32 noundef %17) %19 = load ptr, ptr %6, align 8 %20 = call i32 @read_sector(i32 noundef %15, i32 noundef %18, ptr noundef %19) br label %21 21: ; preds = %12, %9, %3 ret void } declare i32 @read_sector(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @cylindre_of_bloc(i32 noundef, i32 noundef) #1 declare i32 @sector_of_bloc(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/tmp0c9win5y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_bloc(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = icmp ult i32 %7, 8 br i1 %8, label %9, label %21 9: ; preds = %3 %10 = load i32, ptr %5, align 4 %11 = icmp ult i32 %10, 512 br i1 %11, label %12, label %21 12: ; preds = %9 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %5, align 4 %15 = call i32 @cylindre_of_bloc(i32 noundef %13, i32 noundef %14) %16 = load i32, ptr %4, align 4 %17 = load i32, ptr %5, align 4 %18 = call i32 @sector_of_bloc(i32 noundef %16, i32 noundef %17) %19 = load ptr, ptr %6, align 8 %20 = call i32 @read_sector(i32 noundef %15, i32 noundef %18, ptr noundef %19) br label %21 21: ; preds = %12, %9, %3 ret void } declare i32 @read_sector(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @cylindre_of_bloc(i32 noundef, i32 noundef) #1 declare i32 @sector_of_bloc(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"}