llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp6639aekz.c' source_filename = "/tmp/tmp6639aekz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"/home/mohit/Desktop/c-programs/myfile.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [300 x i8], align 16 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %4, ptr %3, align 8 br label %5 5: ; preds = %0, %18 %6 = getelementptr inbounds [300 x i8], ptr %2, i64 0, i64 0 %7 = load ptr, ptr %3, align 8 %8 = call ptr @fgets(ptr noundef %6, i32 noundef 300, ptr noundef %7) %9 = icmp ne ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %5 %11 = getelementptr inbounds [300 x i8], ptr %2, i64 0, i64 0 %12 = call i32 @puts(ptr noundef %11) br label %13 13: ; preds = %10, %5 %14 = load ptr, ptr %3, align 8 %15 = call i64 @feof(ptr noundef %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %13 br label %19 18: ; preds = %13 br label %5 19: ; preds = %17 %20 = load ptr, ptr %3, align 8 %21 = call i32 @fclose(ptr noundef %20) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @puts(ptr noundef) #1 declare i64 @feof(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/tmp6639aekz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"/home/mohit/Desktop/c-programs/myfile.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [300 x i8], align 16 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %4, ptr %3, align 8 br label %5 5: ; preds = %13, %0 %6 = getelementptr inbounds [300 x i8], ptr %2, i64 0, i64 0 %7 = load ptr, ptr %3, align 8 %8 = call ptr @fgets(ptr noundef %6, i32 noundef 300, ptr noundef %7) %9 = icmp ne ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %5 %11 = getelementptr inbounds [300 x i8], ptr %2, i64 0, i64 0 %12 = call i32 @puts(ptr noundef %11) br label %13 13: ; preds = %10, %5 %14 = load ptr, ptr %3, align 8 %15 = call i64 @feof(ptr noundef %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %5 17: ; preds = %13 br label %18 18: ; preds = %17 %19 = load ptr, ptr %3, align 8 %20 = call i32 @fclose(ptr noundef %19) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @puts(ptr noundef) #1 declare i64 @feof(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/tmpcda543re.c' source_filename = "/tmp/tmpcda543re.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pal_mem_free(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 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcda543re.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pal_mem_free(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 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcslqcow7.c' source_filename = "/tmp/tmpcslqcow7.c" target datalayout = "e-m:e-p270: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/tmpcslqcow7.c" target datalayout = "e-m:e-p270: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/tmp66siksuw.c' source_filename = "/tmp/tmp66siksuw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @put() %7 = call i32 (...) @get() ret i32 0 } declare i32 @put(...) #1 declare i32 @get(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp66siksuw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @put() %7 = call i32 (...) @get() ret i32 0 } declare i32 @put(...) #1 declare i32 @get(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_4oicav1.c' source_filename = "/tmp/tmp_4oicav1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"vuvedi h:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"*\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 i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %6, align 4 %7 = call i32 @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %9 = load i32, ptr %2, align 4 %10 = mul nsw i32 2, %9 %11 = sub nsw i32 %10, 1 store i32 %11, ptr %3, align 4 br label %12 12: ; preds = %44, %0 %13 = load i32, ptr %2, align 4 %14 = icmp sgt i32 %13, 0 br i1 %14, label %15, label %47 15: ; preds = %12 store i32 1, ptr %5, align 4 br label %16 16: ; preds = %22, %15 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %2, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %25 20: ; preds = %16 %21 = call i32 @printf(ptr noundef @.str.2) br label %22 22: ; preds = %20 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 br label %16, !llvm.loop !6 25: ; preds = %16 store i32 1, ptr %4, align 4 br label %26 26: ; preds = %32, %25 %27 = load i32, ptr %4, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp sle i32 %27, %28 br i1 %29, label %30, label %35 30: ; preds = %26 %31 = call i32 @printf(ptr noundef @.str.3) br label %32 32: ; preds = %30 %33 = load i32, ptr %4, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %4, align 4 br label %26, !llvm.loop !8 35: ; preds = %26 %36 = load i32, ptr %6, align 4 %37 = load i32, ptr %3, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %39, label %42 39: ; preds = %35 %40 = load i32, ptr %6, align 4 %41 = add nsw i32 %40, 2 store i32 %41, ptr %6, align 4 br label %42 42: ; preds = %39, %35 %43 = call i32 @printf(ptr noundef @.str.4) br label %44 44: ; preds = %42 %45 = load i32, ptr %2, align 4 %46 = add nsw i32 %45, -1 store i32 %46, ptr %2, align 4 br label %12, !llvm.loop !9 47: ; preds = %12 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_4oicav1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"vuvedi h:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"*\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 i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %6, align 4 %7 = call i32 @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %9 = load i32, ptr %2, align 4 %10 = mul nsw i32 2, %9 %11 = sub nsw i32 %10, 1 store i32 %11, ptr %3, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp sgt i32 %12, 0 br i1 %13, label %.lr.ph5, label %52 .lr.ph5: ; preds = %0 br label %14 14: ; preds = %.lr.ph5, %47 store i32 1, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %26 .lr.ph: ; preds = %14 br label %18 18: ; preds = %.lr.ph, %20 %19 = call i32 @printf(ptr noundef @.str.2) br label %20 20: ; preds = %18 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %2, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %26 26: ; preds = %._crit_edge, %14 store i32 1, ptr %4, align 4 %27 = load i32, ptr %4, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp sle i32 %27, %28 br i1 %29, label %.lr.ph2, label %38 .lr.ph2: ; preds = %26 br label %30 30: ; preds = %.lr.ph2, %32 %31 = call i32 @printf(ptr noundef @.str.3) br label %32 32: ; preds = %30 %33 = load i32, ptr %4, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %4, align 4 %35 = load i32, ptr %4, align 4 %36 = load i32, ptr %6, align 4 %37 = icmp sle i32 %35, %36 br i1 %37, label %30, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %32 br label %38 38: ; preds = %._crit_edge3, %26 %39 = load i32, ptr %6, align 4 %40 = load i32, ptr %3, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %42, label %45 42: ; preds = %38 %43 = load i32, ptr %6, align 4 %44 = add nsw i32 %43, 2 store i32 %44, ptr %6, align 4 br label %45 45: ; preds = %42, %38 %46 = call i32 @printf(ptr noundef @.str.4) br label %47 47: ; preds = %45 %48 = load i32, ptr %2, align 4 %49 = add nsw i32 %48, -1 store i32 %49, ptr %2, align 4 %50 = load i32, ptr %2, align 4 %51 = icmp sgt i32 %50, 0 br i1 %51, label %14, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %47 br label %52 52: ; preds = %._crit_edge6, %0 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpnt0l0paj.c' source_filename = "/tmp/tmpnt0l0paj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @generate_moves_black(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @generate_king_moves_black(ptr noundef %5, ptr noundef %6) %8 = load ptr, ptr %3, align 8 %9 = load ptr, ptr %4, align 8 %10 = call i32 @generate_queen_moves_black(ptr noundef %8, ptr noundef %9) %11 = add nsw i32 %7, %10 %12 = load ptr, ptr %3, align 8 %13 = load ptr, ptr %4, align 8 %14 = call i32 @generate_bishop_moves_black(ptr noundef %12, ptr noundef %13) %15 = add nsw i32 %11, %14 %16 = load ptr, ptr %3, align 8 %17 = load ptr, ptr %4, align 8 %18 = call i32 @generate_knight_moves_black(ptr noundef %16, ptr noundef %17) %19 = add nsw i32 %15, %18 %20 = load ptr, ptr %3, align 8 %21 = load ptr, ptr %4, align 8 %22 = call i32 @generate_rook_moves_black(ptr noundef %20, ptr noundef %21) %23 = add nsw i32 %19, %22 %24 = load ptr, ptr %3, align 8 %25 = load ptr, ptr %4, align 8 %26 = call i32 @generate_pawn_moves_black(ptr noundef %24, ptr noundef %25) %27 = add nsw i32 %23, %26 %28 = load ptr, ptr %3, align 8 %29 = load ptr, ptr %4, align 8 %30 = call i32 @generate_castle_black(ptr noundef %28, ptr noundef %29) %31 = add nsw i32 %27, %30 ret i32 %31 } declare i32 @generate_king_moves_black(ptr noundef, ptr noundef) #1 declare i32 @generate_queen_moves_black(ptr noundef, ptr noundef) #1 declare i32 @generate_bishop_moves_black(ptr noundef, ptr noundef) #1 declare i32 @generate_knight_moves_black(ptr noundef, ptr noundef) #1 declare i32 @generate_rook_moves_black(ptr noundef, ptr noundef) #1 declare i32 @generate_pawn_moves_black(ptr noundef, ptr noundef) #1 declare i32 @generate_castle_black(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/tmpnt0l0paj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @generate_moves_black(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @generate_king_moves_black(ptr noundef %5, ptr noundef %6) %8 = load ptr, ptr %3, align 8 %9 = load ptr, ptr %4, align 8 %10 = call i32 @generate_queen_moves_black(ptr noundef %8, ptr noundef %9) %11 = add nsw i32 %7, %10 %12 = load ptr, ptr %3, align 8 %13 = load ptr, ptr %4, align 8 %14 = call i32 @generate_bishop_moves_black(ptr noundef %12, ptr noundef %13) %15 = add nsw i32 %11, %14 %16 = load ptr, ptr %3, align 8 %17 = load ptr, ptr %4, align 8 %18 = call i32 @generate_knight_moves_black(ptr noundef %16, ptr noundef %17) %19 = add nsw i32 %15, %18 %20 = load ptr, ptr %3, align 8 %21 = load ptr, ptr %4, align 8 %22 = call i32 @generate_rook_moves_black(ptr noundef %20, ptr noundef %21) %23 = add nsw i32 %19, %22 %24 = load ptr, ptr %3, align 8 %25 = load ptr, ptr %4, align 8 %26 = call i32 @generate_pawn_moves_black(ptr noundef %24, ptr noundef %25) %27 = add nsw i32 %23, %26 %28 = load ptr, ptr %3, align 8 %29 = load ptr, ptr %4, align 8 %30 = call i32 @generate_castle_black(ptr noundef %28, ptr noundef %29) %31 = add nsw i32 %27, %30 ret i32 %31 } declare i32 @generate_king_moves_black(ptr noundef, ptr noundef) #1 declare i32 @generate_queen_moves_black(ptr noundef, ptr noundef) #1 declare i32 @generate_bishop_moves_black(ptr noundef, ptr noundef) #1 declare i32 @generate_knight_moves_black(ptr noundef, ptr noundef) #1 declare i32 @generate_rook_moves_black(ptr noundef, ptr noundef) #1 declare i32 @generate_pawn_moves_black(ptr noundef, ptr noundef) #1 declare i32 @generate_castle_black(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/tmpvzk5y0wg.c' source_filename = "/tmp/tmpvzk5y0wg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fast_random(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = load i64, ptr %7, align 8 %9 = and i64 %8, 65535 %10 = mul i64 16807, %9 store i64 %10, ptr %6, align 8 %11 = load ptr, ptr %3, align 8 %12 = load i64, ptr %11, align 8 %13 = lshr i64 %12, 16 %14 = mul i64 16807, %13 store i64 %14, ptr %5, align 8 %15 = load i64, ptr %5, align 8 %16 = and i64 %15, 32767 %17 = shl i64 %16, 16 %18 = load i64, ptr %6, align 8 %19 = add i64 %18, %17 store i64 %19, ptr %6, align 8 %20 = load i64, ptr %5, align 8 %21 = lshr i64 %20, 15 %22 = load i64, ptr %6, align 8 %23 = add i64 %22, %21 store i64 %23, ptr %6, align 8 %24 = load i64, ptr %6, align 8 %25 = and i64 %24, 2147483647 %26 = load i64, ptr %6, align 8 %27 = lshr i64 %26, 31 %28 = add i64 %25, %27 %29 = load ptr, ptr %3, align 8 store i64 %28, ptr %29, align 8 %30 = load ptr, ptr %3, align 8 %31 = load i64, ptr %30, align 8 %32 = and i64 %31, 65535 %33 = load i32, ptr %4, align 4 %34 = zext i32 %33 to i64 %35 = mul i64 %32, %34 %36 = lshr i64 %35, 16 ret i64 %36 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvzk5y0wg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fast_random(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = load i64, ptr %7, align 8 %9 = and i64 %8, 65535 %10 = mul i64 16807, %9 store i64 %10, ptr %6, align 8 %11 = load ptr, ptr %3, align 8 %12 = load i64, ptr %11, align 8 %13 = lshr i64 %12, 16 %14 = mul i64 16807, %13 store i64 %14, ptr %5, align 8 %15 = load i64, ptr %5, align 8 %16 = and i64 %15, 32767 %17 = shl i64 %16, 16 %18 = load i64, ptr %6, align 8 %19 = add i64 %18, %17 store i64 %19, ptr %6, align 8 %20 = load i64, ptr %5, align 8 %21 = lshr i64 %20, 15 %22 = load i64, ptr %6, align 8 %23 = add i64 %22, %21 store i64 %23, ptr %6, align 8 %24 = load i64, ptr %6, align 8 %25 = and i64 %24, 2147483647 %26 = load i64, ptr %6, align 8 %27 = lshr i64 %26, 31 %28 = add i64 %25, %27 %29 = load ptr, ptr %3, align 8 store i64 %28, ptr %29, align 8 %30 = load ptr, ptr %3, align 8 %31 = load i64, ptr %30, align 8 %32 = and i64 %31, 65535 %33 = load i32, ptr %4, align 4 %34 = zext i32 %33 to i64 %35 = mul i64 %32, %34 %36 = lshr i64 %35, 16 ret i64 %36 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4oj69qb3.c' source_filename = "/tmp/tmp4oj69qb3.c" target datalayout = "e-m:e-p270: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/tmp4oj69qb3.c" target datalayout = "e-m:e-p270: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/tmpva404jw7.c' source_filename = "/tmp/tmpva404jw7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @default_mpgdecoder_init(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 @mpgdecoder_init(ptr noundef %3) ret void } declare i32 @mpgdecoder_init(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpva404jw7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @default_mpgdecoder_init(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 @mpgdecoder_init(ptr noundef %3) ret void } declare i32 @mpgdecoder_init(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmcsophdr.c' source_filename = "/tmp/tmpmcsophdr.c" target datalayout = "e-m:e-p270: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/tmpmcsophdr.c" target datalayout = "e-m:e-p270: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/tmpu6hlz1zb.c' source_filename = "/tmp/tmpu6hlz1zb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @iothub_registrymanager_sample_run() ret i32 0 } declare i32 @iothub_registrymanager_sample_run(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu6hlz1zb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @iothub_registrymanager_sample_run() ret i32 0 } declare i32 @iothub_registrymanager_sample_run(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmjhmhr84.c' source_filename = "/tmp/tmpmjhmhr84.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"Hipotenusun limitini giriniz:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"%d\09%d\09%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"Bulunan ucgen sayisi:%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %6, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) store i32 1, ptr %2, align 4 br label %9 9: ; preds = %49, %0 %10 = load i32, ptr %2, align 4 %11 = icmp slt i32 %10, 500 br i1 %11, label %12, label %52 12: ; preds = %9 store i32 1, ptr %3, align 4 br label %13 13: ; preds = %45, %12 %14 = load i32, ptr %3, align 4 %15 = icmp slt i32 %14, 500 br i1 %15, label %16, label %48 16: ; preds = %13 store i32 1, ptr %4, align 4 br label %17 17: ; preds = %41, %16 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %5, align 4 %20 = icmp sle i32 %18, %19 br i1 %20, label %21, label %44 21: ; preds = %17 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = mul nsw i32 %22, %23 %25 = load i32, ptr %2, align 4 %26 = load i32, ptr %2, align 4 %27 = mul nsw i32 %25, %26 %28 = load i32, ptr %3, align 4 %29 = load i32, ptr %3, align 4 %30 = mul nsw i32 %28, %29 %31 = add nsw i32 %27, %30 %32 = icmp eq i32 %24, %31 br i1 %32, label %33, label %40 33: ; preds = %21 %34 = load i32, ptr %2, align 4 %35 = load i32, ptr %3, align 4 %36 = load i32, ptr %4, align 4 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %34, i32 noundef %35, i32 noundef %36) %38 = load i32, ptr %6, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %6, align 4 br label %40 40: ; preds = %33, %21 br label %41 41: ; preds = %40 %42 = load i32, ptr %4, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %4, align 4 br label %17, !llvm.loop !6 44: ; preds = %17 br label %45 45: ; preds = %44 %46 = load i32, ptr %3, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %3, align 4 br label %13, !llvm.loop !8 48: ; preds = %13 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 %9, !llvm.loop !9 52: ; preds = %9 %53 = load i32, ptr %6, align 4 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %53) 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmjhmhr84.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"Hipotenusun limitini giriniz:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"%d\09%d\09%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"Bulunan ucgen sayisi:%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %6, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) store i32 1, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %9, 500 br i1 %10, label %.lr.ph5, label %56 .lr.ph5: ; preds = %0 br label %11 11: ; preds = %.lr.ph5, %51 store i32 1, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = icmp slt i32 %12, 500 br i1 %13, label %.lr.ph2, label %50 .lr.ph2: ; preds = %11 br label %14 14: ; preds = %.lr.ph2, %45 store i32 1, ptr %4, align 4 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %5, align 4 %17 = icmp sle i32 %15, %16 br i1 %17, label %.lr.ph, label %44 .lr.ph: ; preds = %14 br label %18 18: ; preds = %.lr.ph, %38 %19 = load i32, ptr %4, align 4 %20 = load i32, ptr %4, align 4 %21 = mul nsw i32 %19, %20 %22 = load i32, ptr %2, align 4 %23 = load i32, ptr %2, align 4 %24 = mul nsw i32 %22, %23 %25 = load i32, ptr %3, align 4 %26 = load i32, ptr %3, align 4 %27 = mul nsw i32 %25, %26 %28 = add nsw i32 %24, %27 %29 = icmp eq i32 %21, %28 br i1 %29, label %30, label %37 30: ; preds = %18 %31 = load i32, ptr %2, align 4 %32 = load i32, ptr %3, align 4 %33 = load i32, ptr %4, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %31, i32 noundef %32, i32 noundef %33) %35 = load i32, ptr %6, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %6, align 4 br label %37 37: ; preds = %30, %18 br label %38 38: ; preds = %37 %39 = load i32, ptr %4, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %4, align 4 %41 = load i32, ptr %4, align 4 %42 = load i32, ptr %5, align 4 %43 = icmp sle i32 %41, %42 br i1 %43, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %44 44: ; preds = %._crit_edge, %14 br label %45 45: ; preds = %44 %46 = load i32, ptr %3, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %3, align 4 %48 = load i32, ptr %3, align 4 %49 = icmp slt i32 %48, 500 br i1 %49, label %14, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %45 br label %50 50: ; preds = %._crit_edge3, %11 br label %51 51: ; preds = %50 %52 = load i32, ptr %2, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %2, align 4 %54 = load i32, ptr %2, align 4 %55 = icmp slt i32 %54, 500 br i1 %55, label %11, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %51 br label %56 56: ; preds = %._crit_edge6, %0 %57 = load i32, ptr %6, align 4 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %57) 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpkbgccizr.c' source_filename = "/tmp/tmpkbgccizr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SHA_DIGEST_LENGTH = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"File not found\0A\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"Error while allocating the checksum in memory\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"%02X\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @sha1_on_file(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca [32768 x i8], align 16 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i64, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr null, ptr %4, align 8 %13 = load i32, ptr @SHA_DIGEST_LENGTH, align 4 %14 = zext i32 %13 to i64 %15 = call ptr @llvm.stacksave() store ptr %15, ptr %5, align 8 %16 = alloca i8, i64 %14, align 16 store i64 %14, ptr %6, align 8 call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 32768, i1 false) store ptr null, ptr %8, align 8 store i64 0, ptr %10, align 8 store i32 0, ptr %11, align 4 %17 = load ptr, ptr %3, align 8 %18 = call ptr @fopen(ptr noundef %17, ptr noundef @.str) store ptr %18, ptr %4, align 8 %19 = load ptr, ptr %4, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %23, label %21 21: ; preds = %1 %22 = call i32 @perror(ptr noundef @.str.1) store ptr null, ptr %2, align 8 store i32 1, ptr %12, align 4 br label %70 23: ; preds = %1 %24 = call i64 @malloc(i32 noundef 41) %25 = inttoptr i64 %24 to ptr store ptr %25, ptr %8, align 8 %26 = load ptr, ptr %8, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %30, label %28 28: ; preds = %23 %29 = call i32 @perror(ptr noundef @.str.2) store ptr null, ptr %2, align 8 store i32 1, ptr %12, align 4 br label %70 30: ; preds = %23 %31 = call i32 @SHA1_Init(ptr noundef %9) br label %32 32: ; preds = %39, %30 %33 = getelementptr inbounds [32768 x i8], ptr %7, i64 0, i64 0 %34 = load ptr, ptr %4, align 8 %35 = call i64 @fread(ptr noundef %33, i32 noundef 1, i32 noundef 32768, ptr noundef %34) store i64 %35, ptr %10, align 8 %36 = getelementptr inbounds [32768 x i8], ptr %7, i64 0, i64 0 %37 = load i64, ptr %10, align 8 %38 = call i32 @SHA1_Update(ptr noundef %9, ptr noundef %36, i64 noundef %37) br label %39 39: ; preds = %32 %40 = load i64, ptr %10, align 8 %41 = icmp ne i64 %40, 0 br i1 %41, label %32, label %42, !llvm.loop !6 42: ; preds = %39 %43 = load ptr, ptr %4, align 8 %44 = call i32 @fclose(ptr noundef %43) %45 = call i32 @SHA1_Final(ptr noundef %16, ptr noundef %9) store i32 0, ptr %11, align 4 br label %46 46: ; preds = %63, %42 %47 = load i32, ptr %11, align 4 %48 = load i32, ptr @SHA_DIGEST_LENGTH, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %50, label %66 50: ; preds = %46 %51 = load ptr, ptr %8, align 8 %52 = load i32, ptr %11, align 4 %53 = mul nsw i32 2, %52 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %51, i64 %54 %56 = load i32, ptr %11, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i8, ptr %16, i64 %57 %59 = load i8, ptr %58, align 1 %60 = zext i8 %59 to i32 %61 = and i32 255, %60 %62 = call i32 @sprintf(ptr noundef %55, ptr noundef @.str.3, i32 noundef %61) br label %63 63: ; preds = %50 %64 = load i32, ptr %11, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %11, align 4 br label %46, !llvm.loop !8 66: ; preds = %46 %67 = load ptr, ptr %8, align 8 %68 = getelementptr inbounds i8, ptr %67, i64 40 store i8 0, ptr %68, align 1 %69 = load ptr, ptr %8, align 8 store ptr %69, ptr %2, align 8 store i32 1, ptr %12, align 4 br label %70 70: ; preds = %66, %28, %21 %71 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %71) %72 = load ptr, ptr %2, align 8 ret ptr %72 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #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 ptr @fopen(ptr noundef, ptr noundef) #3 declare i32 @perror(ptr noundef) #3 declare i64 @malloc(i32 noundef) #3 declare i32 @SHA1_Init(ptr noundef) #3 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #3 declare i32 @SHA1_Update(ptr noundef, ptr noundef, i64 noundef) #3 declare i32 @fclose(ptr noundef) #3 declare i32 @SHA1_Final(ptr noundef, ptr noundef) #3 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #3 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkbgccizr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SHA_DIGEST_LENGTH = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"File not found\0A\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"Error while allocating the checksum in memory\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"%02X\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @sha1_on_file(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca [32768 x i8], align 16 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i64, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr null, ptr %4, align 8 %13 = load i32, ptr @SHA_DIGEST_LENGTH, align 4 %14 = zext i32 %13 to i64 %15 = call ptr @llvm.stacksave() store ptr %15, ptr %5, align 8 %16 = alloca i8, i64 %14, align 16 store i64 %14, ptr %6, align 8 call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 32768, i1 false) store ptr null, ptr %8, align 8 store i64 0, ptr %10, align 8 store i32 0, ptr %11, align 4 %17 = load ptr, ptr %3, align 8 %18 = call ptr @fopen(ptr noundef %17, ptr noundef @.str) store ptr %18, ptr %4, align 8 %19 = load ptr, ptr %4, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %23, label %21 21: ; preds = %1 %22 = call i32 @perror(ptr noundef @.str.1) store ptr null, ptr %2, align 8 store i32 1, ptr %12, align 4 br label %72 23: ; preds = %1 %24 = call i64 @malloc(i32 noundef 41) %25 = inttoptr i64 %24 to ptr store ptr %25, ptr %8, align 8 %26 = load ptr, ptr %8, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %30, label %28 28: ; preds = %23 %29 = call i32 @perror(ptr noundef @.str.2) store ptr null, ptr %2, align 8 store i32 1, ptr %12, align 4 br label %72 30: ; preds = %23 %31 = call i32 @SHA1_Init(ptr noundef %9) br label %32 32: ; preds = %39, %30 %33 = getelementptr inbounds [32768 x i8], ptr %7, i64 0, i64 0 %34 = load ptr, ptr %4, align 8 %35 = call i64 @fread(ptr noundef %33, i32 noundef 1, i32 noundef 32768, ptr noundef %34) store i64 %35, ptr %10, align 8 %36 = getelementptr inbounds [32768 x i8], ptr %7, i64 0, i64 0 %37 = load i64, ptr %10, align 8 %38 = call i32 @SHA1_Update(ptr noundef %9, ptr noundef %36, i64 noundef %37) br label %39 39: ; preds = %32 %40 = load i64, ptr %10, align 8 %41 = icmp ne i64 %40, 0 br i1 %41, label %32, label %42, !llvm.loop !6 42: ; preds = %39 %43 = load ptr, ptr %4, align 8 %44 = call i32 @fclose(ptr noundef %43) %45 = call i32 @SHA1_Final(ptr noundef %16, ptr noundef %9) store i32 0, ptr %11, align 4 %46 = load i32, ptr %11, align 4 %47 = load i32, ptr @SHA_DIGEST_LENGTH, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %.lr.ph, label %68 .lr.ph: ; preds = %42 br label %49 49: ; preds = %.lr.ph, %62 %50 = load ptr, ptr %8, align 8 %51 = load i32, ptr %11, align 4 %52 = mul nsw i32 2, %51 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %50, i64 %53 %55 = load i32, ptr %11, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %16, i64 %56 %58 = load i8, ptr %57, align 1 %59 = zext i8 %58 to i32 %60 = and i32 255, %59 %61 = call i32 @sprintf(ptr noundef %54, ptr noundef @.str.3, i32 noundef %60) br label %62 62: ; preds = %49 %63 = load i32, ptr %11, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %11, align 4 %65 = load i32, ptr %11, align 4 %66 = load i32, ptr @SHA_DIGEST_LENGTH, align 4 %67 = icmp slt i32 %65, %66 br i1 %67, label %49, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %62 br label %68 68: ; preds = %._crit_edge, %42 %69 = load ptr, ptr %8, align 8 %70 = getelementptr inbounds i8, ptr %69, i64 40 store i8 0, ptr %70, align 1 %71 = load ptr, ptr %8, align 8 store ptr %71, ptr %2, align 8 store i32 1, ptr %12, align 4 br label %72 72: ; preds = %68, %28, %21 %73 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %73) %74 = load ptr, ptr %2, align 8 ret ptr %74 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #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 ptr @fopen(ptr noundef, ptr noundef) #3 declare i32 @perror(ptr noundef) #3 declare i64 @malloc(i32 noundef) #3 declare i32 @SHA1_Init(ptr noundef) #3 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #3 declare i32 @SHA1_Update(ptr noundef, ptr noundef, i64 noundef) #3 declare i32 @fclose(ptr noundef) #3 declare i32 @SHA1_Final(ptr noundef, ptr noundef) #3 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #3 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpz5esuk7a.c' source_filename = "/tmp/tmpz5esuk7a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"could not open %s for output\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"%lf %lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @output_array(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %11 = load ptr, ptr %8, align 8 %12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str) store ptr %12, ptr %10, align 8 %13 = load ptr, ptr %10, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %19 15: ; preds = %4 %16 = load ptr, ptr %8, align 8 %17 = call i32 @printf(ptr noundef @.str.1, ptr noundef %16) %18 = call i32 @exit(i32 noundef -1) #3 unreachable 19: ; preds = %4 store i32 0, ptr %9, align 4 br label %20 20: ; preds = %37, %19 %21 = load i32, ptr %9, align 4 %22 = load i32, ptr %5, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %40 24: ; preds = %20 %25 = load ptr, ptr %10, align 8 %26 = load ptr, ptr %6, align 8 %27 = load i32, ptr %9, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds double, ptr %26, i64 %28 %30 = load double, ptr %29, align 8 %31 = load ptr, ptr %7, align 8 %32 = load i32, ptr %9, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds double, ptr %31, i64 %33 %35 = load double, ptr %34, align 8 %36 = call i32 @fprintf(ptr noundef %25, ptr noundef @.str.2, double noundef %30, double noundef %35) br label %37 37: ; preds = %24 %38 = load i32, ptr %9, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %9, align 4 br label %20, !llvm.loop !6 40: ; preds = %20 %41 = load ptr, ptr %10, align 8 %42 = call i32 @fclose(ptr noundef %41) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fprintf(ptr noundef, ptr noundef, double noundef, double noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz5esuk7a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"could not open %s for output\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"%lf %lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @output_array(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %11 = load ptr, ptr %8, align 8 %12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str) store ptr %12, ptr %10, align 8 %13 = load ptr, ptr %10, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %19 15: ; preds = %4 %16 = load ptr, ptr %8, align 8 %17 = call i32 @printf(ptr noundef @.str.1, ptr noundef %16) %18 = call i32 @exit(i32 noundef -1) #3 unreachable 19: ; preds = %4 store i32 0, ptr %9, align 4 %20 = load i32, ptr %9, align 4 %21 = load i32, ptr %5, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph, label %42 .lr.ph: ; preds = %19 br label %23 23: ; preds = %.lr.ph, %36 %24 = load ptr, ptr %10, align 8 %25 = load ptr, ptr %6, align 8 %26 = load i32, ptr %9, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds double, ptr %25, i64 %27 %29 = load double, ptr %28, align 8 %30 = load ptr, ptr %7, align 8 %31 = load i32, ptr %9, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds double, ptr %30, i64 %32 %34 = load double, ptr %33, align 8 %35 = call i32 @fprintf(ptr noundef %24, ptr noundef @.str.2, double noundef %29, double noundef %34) br label %36 36: ; preds = %23 %37 = load i32, ptr %9, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %9, align 4 %39 = load i32, ptr %9, align 4 %40 = load i32, ptr %5, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %42 42: ; preds = %._crit_edge, %19 %43 = load ptr, ptr %10, align 8 %44 = call i32 @fclose(ptr noundef %43) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fprintf(ptr noundef, ptr noundef, double noundef, double noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmptbewb3ta.c' source_filename = "/tmp/tmptbewb3ta.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Informe o %do numero: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Menor numero: %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"Maior numero: %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"Media dos numeros: %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"Porcentagem de pares: %.2f%%\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ex5() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 10, ptr %1, align 4 %11 = load i32, ptr %1, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %2, align 8 %14 = alloca i32, i64 %12, align 16 store i64 %12, ptr %3, align 8 store i32 0, 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 %9, align 4 store i32 0, ptr %10, align 4 br label %15 15: ; preds = %75, %0 %16 = load i32, ptr %10, align 4 %17 = load i32, ptr %1, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %78 19: ; preds = %15 %20 = load i32, ptr %10, align 4 %21 = add nsw i32 %20, 1 %22 = sitofp i32 %21 to float %23 = call i32 @printf(ptr noundef @.str, float noundef %22) %24 = load i32, ptr %10, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %14, i64 %25 %27 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %26) %28 = load i32, ptr %10, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %14, i64 %29 %31 = load i32, ptr %30, align 4 %32 = load i32, ptr %5, align 4 %33 = icmp sgt i32 %31, %32 br i1 %33, label %34, label %39 34: ; preds = %19 %35 = load i32, ptr %10, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %14, i64 %36 %38 = load i32, ptr %37, align 4 store i32 %38, ptr %5, align 4 br label %39 39: ; preds = %34, %19 %40 = load i32, ptr %10, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %14, i64 %41 %43 = load i32, ptr %42, align 4 %44 = load i32, ptr %4, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %50, label %46 46: ; preds = %39 %47 = load i32, ptr %6, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %6, align 4 %49 = icmp ne i32 %47, 0 br i1 %49, label %55, label %50 50: ; preds = %46, %39 %51 = load i32, ptr %10, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %14, i64 %52 %54 = load i32, ptr %53, align 4 store i32 %54, ptr %4, align 4 br label %55 55: ; preds = %50, %46 %56 = load i32, ptr %10, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i32, ptr %14, i64 %57 %59 = load i32, ptr %58, align 4 %60 = srem i32 %59, 2 %61 = icmp eq i32 %60, 0 br i1 %61, label %62, label %65 62: ; preds = %55 %63 = load i32, ptr %7, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %7, align 4 br label %68 65: ; preds = %55 %66 = load i32, ptr %8, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %8, align 4 br label %68 68: ; preds = %65, %62 %69 = load i32, ptr %10, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i32, ptr %14, i64 %70 %72 = load i32, ptr %71, align 4 %73 = load i32, ptr %9, align 4 %74 = add nsw i32 %73, %72 store i32 %74, ptr %9, align 4 br label %75 75: ; preds = %68 %76 = load i32, ptr %10, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %10, align 4 br label %15, !llvm.loop !6 78: ; preds = %15 %79 = load i32, ptr %4, align 4 %80 = sitofp i32 %79 to float %81 = call i32 @printf(ptr noundef @.str.2, float noundef %80) %82 = load i32, ptr %5, align 4 %83 = sitofp i32 %82 to float %84 = call i32 @printf(ptr noundef @.str.3, float noundef %83) %85 = load i32, ptr %9, align 4 %86 = load i32, ptr %8, align 4 %87 = load i32, ptr %7, align 4 %88 = add nsw i32 %86, %87 %89 = sdiv i32 %85, %88 %90 = sitofp i32 %89 to float %91 = call i32 @printf(ptr noundef @.str.4, float noundef %90) %92 = load i32, ptr %7, align 4 %93 = sitofp i32 %92 to float %94 = load i32, ptr %8, align 4 %95 = load i32, ptr %7, align 4 %96 = add nsw i32 %94, %95 %97 = sitofp i32 %96 to float %98 = fdiv float %93, %97 %99 = fmul float %98, 1.000000e+02 %100 = call i32 @printf(ptr noundef @.str.5, float noundef %99) %101 = load ptr, ptr %2, align 8 call void @llvm.stackrestore(ptr %101) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @printf(ptr noundef, float noundef) #2 declare i32 @scanf(ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptbewb3ta.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Informe o %do numero: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Menor numero: %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"Maior numero: %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"Media dos numeros: %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"Porcentagem de pares: %.2f%%\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ex5() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 10, ptr %1, align 4 %11 = load i32, ptr %1, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %2, align 8 %14 = alloca i32, i64 %12, align 16 store i64 %12, ptr %3, align 8 store i32 0, 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 %9, align 4 store i32 0, ptr %10, align 4 %15 = load i32, ptr %10, align 4 %16 = load i32, ptr %1, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %80 .lr.ph: ; preds = %0 br label %18 18: ; preds = %.lr.ph, %74 %19 = load i32, ptr %10, align 4 %20 = add nsw i32 %19, 1 %21 = sitofp i32 %20 to float %22 = call i32 @printf(ptr noundef @.str, float noundef %21) %23 = load i32, ptr %10, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %14, i64 %24 %26 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %25) %27 = load i32, ptr %10, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %14, i64 %28 %30 = load i32, ptr %29, align 4 %31 = load i32, ptr %5, align 4 %32 = icmp sgt i32 %30, %31 br i1 %32, label %33, label %38 33: ; preds = %18 %34 = load i32, ptr %10, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %14, i64 %35 %37 = load i32, ptr %36, align 4 store i32 %37, ptr %5, align 4 br label %38 38: ; preds = %33, %18 %39 = load i32, ptr %10, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %14, i64 %40 %42 = load i32, ptr %41, align 4 %43 = load i32, ptr %4, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %49, label %45 45: ; preds = %38 %46 = load i32, ptr %6, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %6, align 4 %48 = icmp ne i32 %46, 0 br i1 %48, label %54, label %49 49: ; preds = %45, %38 %50 = load i32, ptr %10, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i32, ptr %14, i64 %51 %53 = load i32, ptr %52, align 4 store i32 %53, ptr %4, align 4 br label %54 54: ; preds = %49, %45 %55 = load i32, ptr %10, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i32, ptr %14, i64 %56 %58 = load i32, ptr %57, align 4 %59 = srem i32 %58, 2 %60 = icmp eq i32 %59, 0 br i1 %60, label %61, label %64 61: ; preds = %54 %62 = load i32, ptr %7, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %7, align 4 br label %67 64: ; preds = %54 %65 = load i32, ptr %8, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %8, align 4 br label %67 67: ; preds = %64, %61 %68 = load i32, ptr %10, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i32, ptr %14, i64 %69 %71 = load i32, ptr %70, align 4 %72 = load i32, ptr %9, align 4 %73 = add nsw i32 %72, %71 store i32 %73, ptr %9, align 4 br label %74 74: ; preds = %67 %75 = load i32, ptr %10, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %10, align 4 %77 = load i32, ptr %10, align 4 %78 = load i32, ptr %1, align 4 %79 = icmp slt i32 %77, %78 br i1 %79, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %74 br label %80 80: ; preds = %._crit_edge, %0 %81 = load i32, ptr %4, align 4 %82 = sitofp i32 %81 to float %83 = call i32 @printf(ptr noundef @.str.2, float noundef %82) %84 = load i32, ptr %5, align 4 %85 = sitofp i32 %84 to float %86 = call i32 @printf(ptr noundef @.str.3, float noundef %85) %87 = load i32, ptr %9, align 4 %88 = load i32, ptr %8, align 4 %89 = load i32, ptr %7, align 4 %90 = add nsw i32 %88, %89 %91 = sdiv i32 %87, %90 %92 = sitofp i32 %91 to float %93 = call i32 @printf(ptr noundef @.str.4, float noundef %92) %94 = load i32, ptr %7, align 4 %95 = sitofp i32 %94 to float %96 = load i32, ptr %8, align 4 %97 = load i32, ptr %7, align 4 %98 = add nsw i32 %96, %97 %99 = sitofp i32 %98 to float %100 = fdiv float %95, %99 %101 = fmul float %100, 1.000000e+02 %102 = call i32 @printf(ptr noundef @.str.5, float noundef %101) %103 = load ptr, ptr %2, align 8 call void @llvm.stackrestore(ptr %103) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @printf(ptr noundef, float noundef) #2 declare i32 @scanf(ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvyyvww2j.c' source_filename = "/tmp/tmpvyyvww2j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i16 @calc_ipchksum(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %9 = load ptr, ptr %3, align 8 store ptr %9, ptr %6, align 8 br label %10 10: ; preds = %20, %2 %11 = load i64, ptr %4, align 8 %12 = icmp ugt i64 %11, 1 br i1 %12, label %13, label %25 13: ; preds = %10 %14 = load ptr, ptr %6, align 8 %15 = load i64, ptr %14, align 8 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = add nsw i64 %17, %15 %19 = trunc i64 %18 to i32 store i32 %19, ptr %5, align 4 br label %20 20: ; preds = %13 %21 = load i64, ptr %4, align 8 %22 = sub i64 %21, 2 store i64 %22, ptr %4, align 8 %23 = load ptr, ptr %6, align 8 %24 = getelementptr inbounds i64, ptr %23, i32 1 store ptr %24, ptr %6, align 8 br label %10, !llvm.loop !6 25: ; preds = %10 %26 = load i64, ptr %4, align 8 %27 = icmp eq i64 %26, 1 br i1 %27, label %28, label %43 28: ; preds = %25 %29 = load ptr, ptr %6, align 8 %30 = load i32, ptr %29, align 4 store i32 %30, ptr %7, align 4 store i32 1, ptr %8, align 4 %31 = load i8, ptr %8, align 4 %32 = icmp ne i8 %31, 0 br i1 %32, label %33, label %37 33: ; preds = %28 %34 = load i32, ptr %7, align 4 %35 = load i32, ptr %5, align 4 %36 = add nsw i32 %35, %34 store i32 %36, ptr %5, align 4 br label %42 37: ; preds = %28 %38 = load i32, ptr %7, align 4 %39 = shl i32 %38, 8 %40 = load i32, ptr %5, align 4 %41 = add nsw i32 %40, %39 store i32 %41, ptr %5, align 4 br label %42 42: ; preds = %37, %33 br label %43 43: ; preds = %42, %25 %44 = load i32, ptr %5, align 4 %45 = ashr i32 %44, 16 %46 = load i32, ptr %5, align 4 %47 = and i32 %46, 65535 %48 = add nsw i32 %45, %47 store i32 %48, ptr %5, align 4 %49 = load i32, ptr %5, align 4 %50 = ashr i32 %49, 16 %51 = load i32, ptr %5, align 4 %52 = and i32 %51, 65535 %53 = add nsw i32 %50, %52 store i32 %53, ptr %5, align 4 %54 = load i32, ptr %5, align 4 %55 = xor i32 %54, -1 %56 = trunc i32 %55 to i16 ret i16 %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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvyyvww2j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i16 @calc_ipchksum(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %9 = load ptr, ptr %3, align 8 store ptr %9, ptr %6, align 8 %10 = load i64, ptr %4, align 8 %11 = icmp ugt i64 %10, 1 br i1 %11, label %.lr.ph, label %26 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %19 %13 = load ptr, ptr %6, align 8 %14 = load i64, ptr %13, align 8 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = add nsw i64 %16, %14 %18 = trunc i64 %17 to i32 store i32 %18, ptr %5, align 4 br label %19 19: ; preds = %12 %20 = load i64, ptr %4, align 8 %21 = sub i64 %20, 2 store i64 %21, ptr %4, align 8 %22 = load ptr, ptr %6, align 8 %23 = getelementptr inbounds i64, ptr %22, i32 1 store ptr %23, ptr %6, align 8 %24 = load i64, ptr %4, align 8 %25 = icmp ugt i64 %24, 1 br i1 %25, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %26 26: ; preds = %._crit_edge, %2 %27 = load i64, ptr %4, align 8 %28 = icmp eq i64 %27, 1 br i1 %28, label %29, label %44 29: ; preds = %26 %30 = load ptr, ptr %6, align 8 %31 = load i32, ptr %30, align 4 store i32 %31, ptr %7, align 4 store i32 1, ptr %8, align 4 %32 = load i8, ptr %8, align 4 %33 = icmp ne i8 %32, 0 br i1 %33, label %34, label %38 34: ; preds = %29 %35 = load i32, ptr %7, align 4 %36 = load i32, ptr %5, align 4 %37 = add nsw i32 %36, %35 store i32 %37, ptr %5, align 4 br label %43 38: ; preds = %29 %39 = load i32, ptr %7, align 4 %40 = shl i32 %39, 8 %41 = load i32, ptr %5, align 4 %42 = add nsw i32 %41, %40 store i32 %42, ptr %5, align 4 br label %43 43: ; preds = %38, %34 br label %44 44: ; preds = %43, %26 %45 = load i32, ptr %5, align 4 %46 = ashr i32 %45, 16 %47 = load i32, ptr %5, align 4 %48 = and i32 %47, 65535 %49 = add nsw i32 %46, %48 store i32 %49, ptr %5, align 4 %50 = load i32, ptr %5, align 4 %51 = ashr i32 %50, 16 %52 = load i32, ptr %5, align 4 %53 = and i32 %52, 65535 %54 = add nsw i32 %51, %53 store i32 %54, ptr %5, align 4 %55 = load i32, ptr %5, align 4 %56 = xor i32 %55, -1 %57 = trunc i32 %56 to i16 ret i16 %57 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpbnrsr5mc.c' source_filename = "/tmp/tmpbnrsr5mc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @bucketsort(ptr noundef %5, i32 noundef %6) ret void } declare i32 @bucketsort(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/tmpbnrsr5mc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @bucketsort(ptr noundef %5, i32 noundef %6) ret void } declare i32 @bucketsort(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/tmp7d0slzj4.c' source_filename = "/tmp/tmp7d0slzj4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = alloca [50 x i32], align 16 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = getelementptr inbounds [50 x i32], ptr %1, i64 0, i64 0 store ptr %6, ptr %2, align 8 store i32 17, ptr %4, align 4 store i32 31, ptr %5, align 4 store i32 0, ptr %3, align 4 br label %7 7: ; preds = %28, %0 %8 = load i32, ptr %3, align 4 %9 = icmp ult i32 %8, 50 br i1 %9, label %10, label %33 10: ; preds = %7 %11 = load i32, ptr %5, align 4 %12 = and i32 %11, 65535 %13 = mul i32 36969, %12 %14 = load i32, ptr %5, align 4 %15 = lshr i32 %14, 16 %16 = add i32 %13, %15 store i32 %16, ptr %5, align 4 %17 = load i32, ptr %4, align 4 %18 = and i32 %17, 65535 %19 = mul i32 18000, %18 %20 = load i32, ptr %4, align 4 %21 = lshr i32 %20, 16 %22 = add i32 %19, %21 store i32 %22, ptr %4, align 4 %23 = load i32, ptr %5, align 4 %24 = shl i32 %23, 16 %25 = load i32, ptr %4, align 4 %26 = add i32 %24, %25 %27 = load ptr, ptr %2, align 8 store i32 %26, ptr %27, align 4 br label %28 28: ; preds = %10 %29 = load i32, ptr %3, align 4 %30 = add i32 %29, 1 store i32 %30, ptr %3, align 4 %31 = load ptr, ptr %2, align 8 %32 = getelementptr inbounds i32, ptr %31, i32 1 store ptr %32, ptr %2, align 8 br label %7, !llvm.loop !6 33: ; preds = %7 %34 = getelementptr inbounds [50 x i32], ptr %1, i64 0, i64 0 %35 = call i32 @quickSort(ptr noundef %34, i32 noundef 50) %36 = getelementptr inbounds [50 x i32], ptr %1, i64 0, i64 0 %37 = call i32 @myprint(ptr noundef %36, i32 noundef 50) ret void } declare i32 @quickSort(ptr noundef, i32 noundef) #1 declare i32 @myprint(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/tmp7d0slzj4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = alloca [50 x i32], align 16 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = getelementptr inbounds [50 x i32], ptr %1, i64 0, i64 0 store ptr %6, ptr %2, align 8 store i32 17, ptr %4, align 4 store i32 31, ptr %5, align 4 store i32 0, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp ult i32 %7, 50 br i1 %8, label %.lr.ph, label %34 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %27 %10 = load i32, ptr %5, align 4 %11 = and i32 %10, 65535 %12 = mul i32 36969, %11 %13 = load i32, ptr %5, align 4 %14 = lshr i32 %13, 16 %15 = add i32 %12, %14 store i32 %15, ptr %5, align 4 %16 = load i32, ptr %4, align 4 %17 = and i32 %16, 65535 %18 = mul i32 18000, %17 %19 = load i32, ptr %4, align 4 %20 = lshr i32 %19, 16 %21 = add i32 %18, %20 store i32 %21, ptr %4, align 4 %22 = load i32, ptr %5, align 4 %23 = shl i32 %22, 16 %24 = load i32, ptr %4, align 4 %25 = add i32 %23, %24 %26 = load ptr, ptr %2, align 8 store i32 %25, ptr %26, align 4 br label %27 27: ; preds = %9 %28 = load i32, ptr %3, align 4 %29 = add i32 %28, 1 store i32 %29, ptr %3, align 4 %30 = load ptr, ptr %2, align 8 %31 = getelementptr inbounds i32, ptr %30, i32 1 store ptr %31, ptr %2, align 8 %32 = load i32, ptr %3, align 4 %33 = icmp ult i32 %32, 50 br i1 %33, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %34 34: ; preds = %._crit_edge, %0 %35 = getelementptr inbounds [50 x i32], ptr %1, i64 0, i64 0 %36 = call i32 @quickSort(ptr noundef %35, i32 noundef 50) %37 = getelementptr inbounds [50 x i32], ptr %1, i64 0, i64 0 %38 = call i32 @myprint(ptr noundef %37, i32 noundef 50) ret void } declare i32 @quickSort(ptr noundef, i32 noundef) #1 declare i32 @myprint(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/tmpk3nudtsc.c' source_filename = "/tmp/tmpk3nudtsc.c" target datalayout = "e-m:e-p270: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/tmpk3nudtsc.c" target datalayout = "e-m:e-p270: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/tmp7newrisc.c' source_filename = "/tmp/tmp7newrisc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strftime(ptr noalias noundef %0, i64 noundef %1, ptr noalias noundef %2, ptr noalias noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 ret i64 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7newrisc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strftime(ptr noalias noundef %0, i64 noundef %1, ptr noalias noundef %2, ptr noalias noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 ret i64 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpydaas3nm.c' source_filename = "/tmp/tmpydaas3nm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sample(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %10 = call i32 (...) @random() %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %6, align 4 %13 = sub nsw i32 %11, %12 %14 = srem i32 %10, %13 store i32 %14, ptr %9, align 4 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %6, align 4 %17 = sub nsw i32 %15, %16 %18 = sub nsw i32 %17, 1 store i32 %18, ptr %7, align 4 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %9, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %19, i64 %21 %23 = load i32, ptr %22, align 4 store i32 %23, ptr %8, align 4 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %7, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load i32, ptr %27, align 4 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %9, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %29, i64 %31 store i32 %28, ptr %32, align 4 %33 = load i32, ptr %8, align 4 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %7, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %34, i64 %36 store i32 %33, ptr %37, align 4 %38 = load i32, ptr %8, align 4 ret i32 %38 } declare i32 @random(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpydaas3nm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sample(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %10 = call i32 (...) @random() %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %6, align 4 %13 = sub nsw i32 %11, %12 %14 = srem i32 %10, %13 store i32 %14, ptr %9, align 4 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %6, align 4 %17 = sub nsw i32 %15, %16 %18 = sub nsw i32 %17, 1 store i32 %18, ptr %7, align 4 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %9, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %19, i64 %21 %23 = load i32, ptr %22, align 4 store i32 %23, ptr %8, align 4 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %7, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load i32, ptr %27, align 4 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %9, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %29, i64 %31 store i32 %28, ptr %32, align 4 %33 = load i32, ptr %8, align 4 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %7, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %34, i64 %36 store i32 %33, ptr %37, align 4 %38 = load i32, ptr %8, align 4 ret i32 %38 } declare i32 @random(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphrhyn5g9.c' source_filename = "/tmp/tmphrhyn5g9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tanh(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca x86_fp80, align 16 store double %0, ptr %2, align 8 %4 = load double, ptr %2, align 8 %5 = load double, ptr %2, align 8 %6 = fadd double %4, %5 %7 = call i32 @__fabsl(double noundef %6) %8 = sub nsw i32 0, %7 %9 = call x86_fp80 @__expm1l(i32 noundef %8) store x86_fp80 %9, ptr %3, align 16 %10 = load x86_fp80, ptr %3, align 16 %11 = load x86_fp80, ptr %3, align 16 %12 = fadd x86_fp80 %11, 0xK40008000000000000000 %13 = fdiv x86_fp80 %10, %12 %14 = load double, ptr %2, align 8 %15 = fneg double %14 %16 = call x86_fp80 @__sgn1l(double noundef %15) %17 = fmul x86_fp80 %13, %16 %18 = fptrunc x86_fp80 %17 to double ret double %18 } declare x86_fp80 @__expm1l(i32 noundef) #1 declare i32 @__fabsl(double noundef) #1 declare x86_fp80 @__sgn1l(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/tmphrhyn5g9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tanh(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca x86_fp80, align 16 store double %0, ptr %2, align 8 %4 = load double, ptr %2, align 8 %5 = load double, ptr %2, align 8 %6 = fadd double %4, %5 %7 = call i32 @__fabsl(double noundef %6) %8 = sub nsw i32 0, %7 %9 = call x86_fp80 @__expm1l(i32 noundef %8) store x86_fp80 %9, ptr %3, align 16 %10 = load x86_fp80, ptr %3, align 16 %11 = load x86_fp80, ptr %3, align 16 %12 = fadd x86_fp80 %11, 0xK40008000000000000000 %13 = fdiv x86_fp80 %10, %12 %14 = load double, ptr %2, align 8 %15 = fneg double %14 %16 = call x86_fp80 @__sgn1l(double noundef %15) %17 = fmul x86_fp80 %13, %16 %18 = fptrunc x86_fp80 %17 to double ret double %18 } declare x86_fp80 @__expm1l(i32 noundef) #1 declare i32 @__fabsl(double noundef) #1 declare x86_fp80 @__sgn1l(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/tmph3ptzfjm.c' source_filename = "/tmp/tmph3ptzfjm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"sysGetPsiSize(): %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"flashing...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @board_flash_write_datafs(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 = call i32 (...) @sysGetPsiSize() %6 = call i32 (ptr, ...) @dbg(ptr noundef @.str, i32 noundef %5) %7 = call i32 (ptr, ...) @dbg(ptr noundef @.str.1) %8 = load ptr, ptr %3, align 8 %9 = call i32 (...) @board_flash_get_datafs_size() %10 = call i32 @sysPersistentSet(ptr noundef %8, i32 noundef %9, i32 noundef 0) ret i32 1 } declare i32 @dbg(ptr noundef, ...) #1 declare i32 @sysGetPsiSize(...) #1 declare i32 @sysPersistentSet(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @board_flash_get_datafs_size(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph3ptzfjm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"sysGetPsiSize(): %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"flashing...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @board_flash_write_datafs(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 = call i32 (...) @sysGetPsiSize() %6 = call i32 (ptr, ...) @dbg(ptr noundef @.str, i32 noundef %5) %7 = call i32 (ptr, ...) @dbg(ptr noundef @.str.1) %8 = load ptr, ptr %3, align 8 %9 = call i32 (...) @board_flash_get_datafs_size() %10 = call i32 @sysPersistentSet(ptr noundef %8, i32 noundef %9, i32 noundef 0) ret i32 1 } declare i32 @dbg(ptr noundef, ...) #1 declare i32 @sysGetPsiSize(...) #1 declare i32 @sysPersistentSet(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @board_flash_get_datafs_size(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp82i8p3fi.c' source_filename = "/tmp/tmp82i8p3fi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @sra(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i32, align 4 store i8 %0, ptr %2, align 1 %4 = load i8, ptr %2, align 1 %5 = zext i8 %4 to i32 %6 = and i32 %5, 128 store i32 %6, ptr %3, align 4 %7 = load i8, ptr %2, align 1 %8 = zext i8 %7 to i32 %9 = and i32 %8, 1 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %1 %12 = call i32 @setFlag(i32 noundef 4) br label %15 13: ; preds = %1 %14 = call i32 @resetFlag(i32 noundef 4) br label %15 15: ; preds = %13, %11 %16 = call i32 @resetFlag(i32 noundef 6) %17 = call i32 @resetFlag(i32 noundef 5) %18 = load i8, ptr %2, align 1 %19 = zext i8 %18 to i32 %20 = ashr i32 %19, 1 %21 = trunc i32 %20 to i8 store i8 %21, ptr %2, align 1 %22 = load i32, ptr %3, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %29 24: ; preds = %15 %25 = load i8, ptr %2, align 1 %26 = zext i8 %25 to i32 %27 = or i32 %26, 128 %28 = trunc i32 %27 to i8 store i8 %28, ptr %2, align 1 br label %29 29: ; preds = %24, %15 %30 = load i8, ptr %2, align 1 %31 = icmp ne i8 %30, 0 br i1 %31, label %32, label %34 32: ; preds = %29 %33 = call i32 @resetFlag(i32 noundef 7) br label %36 34: ; preds = %29 %35 = call i32 @setFlag(i32 noundef 7) br label %36 36: ; preds = %34, %32 %37 = load i8, ptr %2, align 1 ret i8 %37 } declare i32 @setFlag(i32 noundef) #1 declare i32 @resetFlag(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/tmp82i8p3fi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @sra(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i32, align 4 store i8 %0, ptr %2, align 1 %4 = load i8, ptr %2, align 1 %5 = zext i8 %4 to i32 %6 = and i32 %5, 128 store i32 %6, ptr %3, align 4 %7 = load i8, ptr %2, align 1 %8 = zext i8 %7 to i32 %9 = and i32 %8, 1 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %1 %12 = call i32 @setFlag(i32 noundef 4) br label %15 13: ; preds = %1 %14 = call i32 @resetFlag(i32 noundef 4) br label %15 15: ; preds = %13, %11 %16 = call i32 @resetFlag(i32 noundef 6) %17 = call i32 @resetFlag(i32 noundef 5) %18 = load i8, ptr %2, align 1 %19 = zext i8 %18 to i32 %20 = ashr i32 %19, 1 %21 = trunc i32 %20 to i8 store i8 %21, ptr %2, align 1 %22 = load i32, ptr %3, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %29 24: ; preds = %15 %25 = load i8, ptr %2, align 1 %26 = zext i8 %25 to i32 %27 = or i32 %26, 128 %28 = trunc i32 %27 to i8 store i8 %28, ptr %2, align 1 br label %29 29: ; preds = %24, %15 %30 = load i8, ptr %2, align 1 %31 = icmp ne i8 %30, 0 br i1 %31, label %32, label %34 32: ; preds = %29 %33 = call i32 @resetFlag(i32 noundef 7) br label %36 34: ; preds = %29 %35 = call i32 @setFlag(i32 noundef 7) br label %36 36: ; preds = %34, %32 %37 = load i8, ptr %2, align 1 ret i8 %37 } declare i32 @setFlag(i32 noundef) #1 declare i32 @resetFlag(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/tmphjs6ufd5.c' source_filename = "/tmp/tmphjs6ufd5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcspn(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %6, align 8 br label %9 9: ; preds = %38, %2 %10 = load ptr, ptr %6, align 8 %11 = load i8, ptr %10, align 1 %12 = icmp ne i8 %11, 0 br i1 %12, label %13, label %41 13: ; preds = %9 %14 = load ptr, ptr %5, align 8 store ptr %14, ptr %7, align 8 br label %15 15: ; preds = %34, %13 %16 = load ptr, ptr %7, align 8 %17 = load i8, ptr %16, align 1 %18 = icmp ne i8 %17, 0 br i1 %18, label %19, label %37 19: ; preds = %15 %20 = load ptr, ptr %6, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = load ptr, ptr %7, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %22, %25 br i1 %26, label %27, label %33 27: ; preds = %19 %28 = load ptr, ptr %6, align 8 %29 = load ptr, ptr %4, align 8 %30 = ptrtoint ptr %28 to i64 %31 = ptrtoint ptr %29 to i64 %32 = sub i64 %30, %31 store i64 %32, ptr %3, align 8 br label %47 33: ; preds = %19 br label %34 34: ; preds = %33 %35 = load ptr, ptr %7, align 8 %36 = getelementptr inbounds i8, ptr %35, i32 1 store ptr %36, ptr %7, align 8 br label %15, !llvm.loop !6 37: ; preds = %15 br label %38 38: ; preds = %37 %39 = load ptr, ptr %6, align 8 %40 = getelementptr inbounds i8, ptr %39, i32 1 store ptr %40, ptr %6, align 8 br label %9, !llvm.loop !8 41: ; preds = %9 %42 = load ptr, ptr %6, align 8 %43 = load ptr, ptr %4, align 8 %44 = ptrtoint ptr %42 to i64 %45 = ptrtoint ptr %43 to i64 %46 = sub i64 %44, %45 store i64 %46, ptr %3, align 8 br label %47 47: ; preds = %41, %27 %48 = load i64, ptr %3, align 8 ret i64 %48 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmphjs6ufd5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcspn(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %6, align 8 %10 = load i8, ptr %9, align 1 %11 = icmp ne i8 %10, 0 br i1 %11, label %.lr.ph2, label %45 .lr.ph2: ; preds = %2 br label %12 12: ; preds = %.lr.ph2, %39 %13 = load ptr, ptr %5, align 8 store ptr %13, ptr %7, align 8 %14 = load ptr, ptr %7, align 8 %15 = load i8, ptr %14, align 1 %16 = icmp ne i8 %15, 0 br i1 %16, label %.lr.ph, label %38 .lr.ph: ; preds = %12 br label %17 17: ; preds = %.lr.ph, %32 %18 = load ptr, ptr %6, align 8 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = load ptr, ptr %7, align 8 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %20, %23 br i1 %24, label %25, label %31 25: ; preds = %17 %26 = load ptr, ptr %6, align 8 %27 = load ptr, ptr %4, align 8 %28 = ptrtoint ptr %26 to i64 %29 = ptrtoint ptr %27 to i64 %30 = sub i64 %28, %29 store i64 %30, ptr %3, align 8 br label %51 31: ; preds = %17 br label %32 32: ; preds = %31 %33 = load ptr, ptr %7, align 8 %34 = getelementptr inbounds i8, ptr %33, i32 1 store ptr %34, ptr %7, align 8 %35 = load ptr, ptr %7, align 8 %36 = load i8, ptr %35, align 1 %37 = icmp ne i8 %36, 0 br i1 %37, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %38 38: ; preds = %._crit_edge, %12 br label %39 39: ; preds = %38 %40 = load ptr, ptr %6, align 8 %41 = getelementptr inbounds i8, ptr %40, i32 1 store ptr %41, ptr %6, align 8 %42 = load ptr, ptr %6, align 8 %43 = load i8, ptr %42, align 1 %44 = icmp ne i8 %43, 0 br i1 %44, label %12, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %39 br label %45 45: ; preds = %._crit_edge3, %2 %46 = load ptr, ptr %6, align 8 %47 = load ptr, ptr %4, align 8 %48 = ptrtoint ptr %46 to i64 %49 = ptrtoint ptr %47 to i64 %50 = sub i64 %48, %49 store i64 %50, ptr %3, align 8 br label %51 51: ; preds = %45, %25 %52 = load i64, ptr %3, align 8 ret i64 %52 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp7fumvjxa.c' source_filename = "/tmp/tmp7fumvjxa.c" target datalayout = "e-m:e-p270: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.fizz = private unnamed_addr constant [5 x i8] c"Fizz\00", align 1 @__const.main.buzz = private unnamed_addr constant [5 x i8] c"Buzz\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x i8], align 1 %3 = alloca [5 x i8], align 1 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.fizz, i64 5, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.buzz, i64 5, i1 false) store i32 0, ptr %4, align 4 store i32 1, ptr %4, align 4 br label %5 5: ; preds = %53, %0 %6 = load i32, ptr %4, align 4 %7 = icmp sle i32 %6, 30 br i1 %7, label %8, label %56 8: ; preds = %5 %9 = load i32, ptr %4, align 4 %10 = srem i32 %9, 3 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %35 12: ; preds = %8 %13 = load i32, ptr %4, align 4 %14 = srem i32 %13, 5 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %26 16: ; preds = %12 %17 = load i32, ptr %4, align 4 %18 = call i32 @print_int(i32 noundef %17) %19 = call i32 @print_char(i8 noundef signext 58) %20 = call i32 @print_char(i8 noundef signext 32) %21 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %22 = call i32 @print_string(ptr noundef %21) %23 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0 %24 = call i32 @print_string(ptr noundef %23) %25 = call i32 @print_char(i8 noundef signext 10) br label %34 26: ; preds = %12 %27 = load i32, ptr %4, align 4 %28 = call i32 @print_int(i32 noundef %27) %29 = call i32 @print_char(i8 noundef signext 58) %30 = call i32 @print_char(i8 noundef signext 32) %31 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %32 = call i32 @print_string(ptr noundef %31) %33 = call i32 @print_char(i8 noundef signext 10) br label %34 34: ; preds = %26, %16 br label %52 35: ; preds = %8 %36 = load i32, ptr %4, align 4 %37 = srem i32 %36, 5 %38 = icmp eq i32 %37, 0 br i1 %38, label %39, label %47 39: ; preds = %35 %40 = load i32, ptr %4, align 4 %41 = call i32 @print_int(i32 noundef %40) %42 = call i32 @print_char(i8 noundef signext 58) %43 = call i32 @print_char(i8 noundef signext 32) %44 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0 %45 = call i32 @print_string(ptr noundef %44) %46 = call i32 @print_char(i8 noundef signext 10) br label %51 47: ; preds = %35 %48 = load i32, ptr %4, align 4 %49 = call i32 @print_int(i32 noundef %48) %50 = call i32 @print_char(i8 noundef signext 10) br label %51 51: ; preds = %47, %39 br label %52 52: ; preds = %51, %34 br label %53 53: ; preds = %52 %54 = load i32, ptr %4, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %4, align 4 br label %5, !llvm.loop !6 56: ; preds = %5 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 @print_int(i32 noundef) #2 declare i32 @print_char(i8 noundef signext) #2 declare i32 @print_string(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7fumvjxa.c" target datalayout = "e-m:e-p270: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.fizz = private unnamed_addr constant [5 x i8] c"Fizz\00", align 1 @__const.main.buzz = private unnamed_addr constant [5 x i8] c"Buzz\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x i8], align 1 %3 = alloca [5 x i8], align 1 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.fizz, i64 5, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.buzz, i64 5, i1 false) store i32 0, ptr %4, align 4 store i32 1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp sle i32 %5, 30 br i1 %6, label %.lr.ph, label %57 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %52 %8 = load i32, ptr %4, align 4 %9 = srem i32 %8, 3 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %34 11: ; preds = %7 %12 = load i32, ptr %4, align 4 %13 = srem i32 %12, 5 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %25 15: ; preds = %11 %16 = load i32, ptr %4, align 4 %17 = call i32 @print_int(i32 noundef %16) %18 = call i32 @print_char(i8 noundef signext 58) %19 = call i32 @print_char(i8 noundef signext 32) %20 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %21 = call i32 @print_string(ptr noundef %20) %22 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0 %23 = call i32 @print_string(ptr noundef %22) %24 = call i32 @print_char(i8 noundef signext 10) br label %33 25: ; preds = %11 %26 = load i32, ptr %4, align 4 %27 = call i32 @print_int(i32 noundef %26) %28 = call i32 @print_char(i8 noundef signext 58) %29 = call i32 @print_char(i8 noundef signext 32) %30 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %31 = call i32 @print_string(ptr noundef %30) %32 = call i32 @print_char(i8 noundef signext 10) br label %33 33: ; preds = %25, %15 br label %51 34: ; preds = %7 %35 = load i32, ptr %4, align 4 %36 = srem i32 %35, 5 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %46 38: ; preds = %34 %39 = load i32, ptr %4, align 4 %40 = call i32 @print_int(i32 noundef %39) %41 = call i32 @print_char(i8 noundef signext 58) %42 = call i32 @print_char(i8 noundef signext 32) %43 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0 %44 = call i32 @print_string(ptr noundef %43) %45 = call i32 @print_char(i8 noundef signext 10) br label %50 46: ; preds = %34 %47 = load i32, ptr %4, align 4 %48 = call i32 @print_int(i32 noundef %47) %49 = call i32 @print_char(i8 noundef signext 10) br label %50 50: ; preds = %46, %38 br label %51 51: ; preds = %50, %33 br label %52 52: ; preds = %51 %53 = load i32, ptr %4, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %4, align 4 %55 = load i32, ptr %4, align 4 %56 = icmp sle i32 %55, 30 br i1 %56, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %52 br label %57 57: ; preds = %._crit_edge, %0 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 @print_int(i32 noundef) #2 declare i32 @print_char(i8 noundef signext) #2 declare i32 @print_string(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpnudvxv8y.c' source_filename = "/tmp/tmpnudvxv8y.c" target datalayout = "e-m:e-p270: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 { i64 } @.str = private unnamed_addr constant [34 x i8] c"cannot allocate buffer (%d bytes)\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"cannot open 1 %s\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"cannot stat %s\00", align 1 @.str.3 = private unnamed_addr constant [48 x i8] c"reading input file: %s size: %ld num_reads: %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"cannot read from %s\00", align 1 @.str.5 = private unnamed_addr constant [53 x i8] c"reading operations: %d total_size: %ld st_size: %ld\0A\00", align 1 @.str.6 = private unnamed_addr constant [41 x i8] c"read : %ld bytes to %s with bufsize: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @readfiles(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i64, align 8 %14 = alloca %struct.stat, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = mul i64 %16, 1 %18 = trunc i64 %17 to i32 %19 = call ptr @malloc(i32 noundef %18) store ptr %19, ptr %9, align 8 %20 = load ptr, ptr %9, align 8 %21 = icmp eq ptr null, %20 br i1 %21, label %22, label %25 22: ; preds = %3 %23 = load i32, ptr %5, align 4 %24 = call i32 (ptr, ...) @bail(ptr noundef @.str, i32 noundef %23) br label %25 25: ; preds = %22, %3 store i32 0, ptr %7, align 4 br label %26 26: ; preds = %147, %25 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %150 30: ; preds = %26 store i32 0, ptr %12, align 4 store i64 0, ptr %13, align 8 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %7, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds ptr, ptr %31, i64 %33 %35 = load ptr, ptr %34, align 8 %36 = load i32, ptr @O_RDONLY, align 4 %37 = call i32 @open(ptr noundef %35, i32 noundef %36) store i32 %37, ptr %10, align 4 %38 = load i32, ptr %10, align 4 %39 = icmp slt i32 %38, 0 br i1 %39, label %40, label %47 40: ; preds = %30 %41 = load ptr, ptr %4, align 8 %42 = load i32, ptr %7, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds ptr, ptr %41, i64 %43 %45 = load ptr, ptr %44, align 8 %46 = call i32 (ptr, ...) @bail(ptr noundef @.str.1, ptr noundef %45) br label %47 47: ; preds = %40, %30 %48 = load ptr, ptr %4, align 8 %49 = load i32, ptr %7, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds ptr, ptr %48, i64 %50 %52 = load ptr, ptr %51, align 8 %53 = call i32 @stat(ptr noundef %52, ptr noundef %14) store i32 %53, ptr %8, align 4 %54 = load i32, ptr %8, align 4 %55 = icmp slt i32 %54, 0 br i1 %55, label %56, label %63 56: ; preds = %47 %57 = load ptr, ptr %4, align 8 %58 = load i32, ptr %7, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds ptr, ptr %57, i64 %59 %61 = load ptr, ptr %60, align 8 %62 = call i32 (ptr, ...) @bail(ptr noundef @.str.2, ptr noundef %61) br label %63 63: ; preds = %56, %47 %64 = load ptr, ptr %4, align 8 %65 = load i32, ptr %7, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds ptr, ptr %64, i64 %66 %68 = load ptr, ptr %67, align 8 %69 = getelementptr inbounds %struct.stat, ptr %14, i32 0, i32 0 %70 = load i64, ptr %69, align 8 %71 = getelementptr inbounds %struct.stat, ptr %14, i32 0, i32 0 %72 = load i64, ptr %71, align 8 %73 = load i32, ptr %5, align 4 %74 = sext i32 %73 to i64 %75 = sdiv i64 %72, %74 %76 = call i64 @ceil(i64 noundef %75) %77 = trunc i64 %76 to i32 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %68, i64 noundef %70, i32 noundef %77) br label %79 79: ; preds = %135, %63 %80 = load i64, ptr %13, align 8 %81 = getelementptr inbounds %struct.stat, ptr %14, i32 0, i32 0 %82 = load i64, ptr %81, align 8 %83 = icmp slt i64 %80, %82 br i1 %83, label %84, label %136 84: ; preds = %79 %85 = load ptr, ptr %9, align 8 %86 = load i32, ptr %5, align 4 %87 = call i32 @memset(ptr noundef %85, i8 noundef signext 0, i32 noundef %86) %88 = getelementptr inbounds %struct.stat, ptr %14, i32 0, i32 0 %89 = load i64, ptr %88, align 8 %90 = load i64, ptr %13, align 8 %91 = sub nsw i64 %89, %90 %92 = load i32, ptr %5, align 4 %93 = sext i32 %92 to i64 %94 = icmp sgt i64 %91, %93 br i1 %94, label %95, label %101 95: ; preds = %84 %96 = load i32, ptr %10, align 4 %97 = load ptr, ptr %9, align 8 %98 = load i32, ptr %5, align 4 %99 = sext i32 %98 to i64 %100 = call i32 @read(i32 noundef %96, ptr noundef %97, i64 noundef %99) store i32 %100, ptr %11, align 4 br label %109 101: ; preds = %84 %102 = load i32, ptr %10, align 4 %103 = load ptr, ptr %9, align 8 %104 = getelementptr inbounds %struct.stat, ptr %14, i32 0, i32 0 %105 = load i64, ptr %104, align 8 %106 = load i64, ptr %13, align 8 %107 = sub nsw i64 %105, %106 %108 = call i32 @read(i32 noundef %102, ptr noundef %103, i64 noundef %107) store i32 %108, ptr %11, align 4 br label %109 109: ; preds = %101, %95 %110 = load i32, ptr %11, align 4 %111 = icmp slt i32 %110, 0 br i1 %111, label %112, label %119 112: ; preds = %109 %113 = load ptr, ptr %4, align 8 %114 = load i32, ptr %7, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds ptr, ptr %113, i64 %115 %117 = load ptr, ptr %116, align 8 %118 = call i32 (ptr, ...) @bail(ptr noundef @.str.4, ptr noundef %117) br label %119 119: ; preds = %112, %109 %120 = load i64, ptr %13, align 8 %121 = load i32, ptr %11, align 4 %122 = sext i32 %121 to i64 %123 = add nsw i64 %120, %122 store i64 %123, ptr %13, align 8 %124 = load i32, ptr %12, align 4 %125 = add nsw i32 %124, 1 store i32 %125, ptr %12, align 4 %126 = load i32, ptr %12, align 4 %127 = srem i32 %126, 1000 %128 = icmp eq i32 %127, 0 br i1 %128, label %129, label %135 129: ; preds = %119 %130 = load i32, ptr %12, align 4 %131 = load i64, ptr %13, align 8 %132 = getelementptr inbounds %struct.stat, ptr %14, i32 0, i32 0 %133 = load i64, ptr %132, align 8 %134 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %130, i64 noundef %131, i64 noundef %133) br label %135 135: ; preds = %129, %119 br label %79, !llvm.loop !6 136: ; preds = %79 %137 = load i64, ptr %13, align 8 %138 = load ptr, ptr %4, align 8 %139 = load i32, ptr %7, align 4 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds ptr, ptr %138, i64 %140 %142 = load ptr, ptr %141, align 8 %143 = load i32, ptr %5, align 4 %144 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %137, ptr noundef %142, i32 noundef %143) %145 = load i32, ptr %10, align 4 %146 = call i32 @close(i32 noundef %145) br label %147 147: ; preds = %136 %148 = load i32, ptr %7, align 4 %149 = add nsw i32 %148, 1 store i32 %149, ptr %7, align 4 br label %26, !llvm.loop !8 150: ; preds = %26 ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @bail(ptr noundef, ...) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @ceil(i64 noundef) #1 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnudvxv8y.c" target datalayout = "e-m:e-p270: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 { i64 } @.str = private unnamed_addr constant [34 x i8] c"cannot allocate buffer (%d bytes)\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"cannot open 1 %s\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"cannot stat %s\00", align 1 @.str.3 = private unnamed_addr constant [48 x i8] c"reading input file: %s size: %ld num_reads: %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"cannot read from %s\00", align 1 @.str.5 = private unnamed_addr constant [53 x i8] c"reading operations: %d total_size: %ld st_size: %ld\0A\00", align 1 @.str.6 = private unnamed_addr constant [41 x i8] c"read : %ld bytes to %s with bufsize: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @readfiles(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i64, align 8 %14 = alloca %struct.stat, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = mul i64 %16, 1 %18 = trunc i64 %17 to i32 %19 = call ptr @malloc(i32 noundef %18) store ptr %19, ptr %9, align 8 %20 = load ptr, ptr %9, align 8 %21 = icmp eq ptr null, %20 br i1 %21, label %22, label %25 22: ; preds = %3 %23 = load i32, ptr %5, align 4 %24 = call i32 (ptr, ...) @bail(ptr noundef @.str, i32 noundef %23) br label %25 25: ; preds = %22, %3 store i32 0, ptr %7, align 4 %26 = load i32, ptr %7, align 4 %27 = load i32, ptr %6, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %.lr.ph2, label %154 .lr.ph2: ; preds = %25 br label %29 29: ; preds = %.lr.ph2, %148 store i32 0, ptr %12, align 4 store i64 0, ptr %13, align 8 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr %7, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds ptr, ptr %30, i64 %32 %34 = load ptr, ptr %33, align 8 %35 = load i32, ptr @O_RDONLY, align 4 %36 = call i32 @open(ptr noundef %34, i32 noundef %35) store i32 %36, ptr %10, align 4 %37 = load i32, ptr %10, align 4 %38 = icmp slt i32 %37, 0 br i1 %38, label %39, label %46 39: ; preds = %29 %40 = load ptr, ptr %4, align 8 %41 = load i32, ptr %7, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds ptr, ptr %40, i64 %42 %44 = load ptr, ptr %43, align 8 %45 = call i32 (ptr, ...) @bail(ptr noundef @.str.1, ptr noundef %44) br label %46 46: ; preds = %39, %29 %47 = load ptr, ptr %4, align 8 %48 = load i32, ptr %7, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds ptr, ptr %47, i64 %49 %51 = load ptr, ptr %50, align 8 %52 = call i32 @stat(ptr noundef %51, ptr noundef %14) store i32 %52, ptr %8, align 4 %53 = load i32, ptr %8, align 4 %54 = icmp slt i32 %53, 0 br i1 %54, label %55, label %62 55: ; preds = %46 %56 = load ptr, ptr %4, align 8 %57 = load i32, ptr %7, 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 (ptr, ...) @bail(ptr noundef @.str.2, ptr noundef %60) br label %62 62: ; preds = %55, %46 %63 = load ptr, ptr %4, align 8 %64 = load i32, ptr %7, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds ptr, ptr %63, i64 %65 %67 = load ptr, ptr %66, align 8 %68 = getelementptr inbounds %struct.stat, ptr %14, i32 0, i32 0 %69 = load i64, ptr %68, align 8 %70 = getelementptr inbounds %struct.stat, ptr %14, i32 0, i32 0 %71 = load i64, ptr %70, align 8 %72 = load i32, ptr %5, align 4 %73 = sext i32 %72 to i64 %74 = sdiv i64 %71, %73 %75 = call i64 @ceil(i64 noundef %74) %76 = trunc i64 %75 to i32 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %67, i64 noundef %69, i32 noundef %76) %78 = load i64, ptr %13, align 8 %79 = getelementptr inbounds %struct.stat, ptr %14, i32 0, i32 0 %80 = load i64, ptr %79, align 8 %81 = icmp slt i64 %78, %80 br i1 %81, label %.lr.ph, label %137 .lr.ph: ; preds = %62 br label %82 82: ; preds = %.lr.ph, %133 %83 = load ptr, ptr %9, align 8 %84 = load i32, ptr %5, align 4 %85 = call i32 @memset(ptr noundef %83, i8 noundef signext 0, i32 noundef %84) %86 = getelementptr inbounds %struct.stat, ptr %14, i32 0, i32 0 %87 = load i64, ptr %86, align 8 %88 = load i64, ptr %13, align 8 %89 = sub nsw i64 %87, %88 %90 = load i32, ptr %5, align 4 %91 = sext i32 %90 to i64 %92 = icmp sgt i64 %89, %91 br i1 %92, label %93, label %99 93: ; preds = %82 %94 = load i32, ptr %10, align 4 %95 = load ptr, ptr %9, align 8 %96 = load i32, ptr %5, align 4 %97 = sext i32 %96 to i64 %98 = call i32 @read(i32 noundef %94, ptr noundef %95, i64 noundef %97) store i32 %98, ptr %11, align 4 br label %107 99: ; preds = %82 %100 = load i32, ptr %10, align 4 %101 = load ptr, ptr %9, align 8 %102 = getelementptr inbounds %struct.stat, ptr %14, i32 0, i32 0 %103 = load i64, ptr %102, align 8 %104 = load i64, ptr %13, align 8 %105 = sub nsw i64 %103, %104 %106 = call i32 @read(i32 noundef %100, ptr noundef %101, i64 noundef %105) store i32 %106, ptr %11, align 4 br label %107 107: ; preds = %99, %93 %108 = load i32, ptr %11, align 4 %109 = icmp slt i32 %108, 0 br i1 %109, label %110, label %117 110: ; preds = %107 %111 = load ptr, ptr %4, align 8 %112 = load i32, ptr %7, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds ptr, ptr %111, i64 %113 %115 = load ptr, ptr %114, align 8 %116 = call i32 (ptr, ...) @bail(ptr noundef @.str.4, ptr noundef %115) br label %117 117: ; preds = %110, %107 %118 = load i64, ptr %13, align 8 %119 = load i32, ptr %11, align 4 %120 = sext i32 %119 to i64 %121 = add nsw i64 %118, %120 store i64 %121, ptr %13, align 8 %122 = load i32, ptr %12, align 4 %123 = add nsw i32 %122, 1 store i32 %123, ptr %12, align 4 %124 = load i32, ptr %12, align 4 %125 = srem i32 %124, 1000 %126 = icmp eq i32 %125, 0 br i1 %126, label %127, label %133 127: ; preds = %117 %128 = load i32, ptr %12, align 4 %129 = load i64, ptr %13, align 8 %130 = getelementptr inbounds %struct.stat, ptr %14, i32 0, i32 0 %131 = load i64, ptr %130, align 8 %132 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %128, i64 noundef %129, i64 noundef %131) br label %133 133: ; preds = %127, %117 %134 = load i64, ptr %13, align 8 %135 = load i64, ptr %79, align 8 %136 = icmp slt i64 %134, %135 br i1 %136, label %82, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %133 br label %137 137: ; preds = %._crit_edge, %62 %138 = load i64, ptr %13, align 8 %139 = load ptr, ptr %4, align 8 %140 = load i32, ptr %7, align 4 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds ptr, ptr %139, i64 %141 %143 = load ptr, ptr %142, align 8 %144 = load i32, ptr %5, align 4 %145 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %138, ptr noundef %143, i32 noundef %144) %146 = load i32, ptr %10, align 4 %147 = call i32 @close(i32 noundef %146) br label %148 148: ; preds = %137 %149 = load i32, ptr %7, align 4 %150 = add nsw i32 %149, 1 store i32 %150, ptr %7, align 4 %151 = load i32, ptr %7, align 4 %152 = load i32, ptr %6, align 4 %153 = icmp slt i32 %151, %152 br i1 %153, label %29, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %148 br label %154 154: ; preds = %._crit_edge3, %25 ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @bail(ptr noundef, ...) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @ceil(i64 noundef) #1 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpx5sgiqok.c' source_filename = "/tmp/tmpx5sgiqok.c" target datalayout = "e-m:e-p270: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.tm = type { i32, i32, i32, ptr, ptr, i32 } @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"<CFe>...</CFe>\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"000001\00", align 1 @.str.3 = private unnamed_addr constant [48 x i8] c"CFe12345678901234567890123456789012345678901234\00", align 1 @TesteFimAFim.resp = internal global [512 x i8] zeroinitializer, align 16 @.str.4 = private unnamed_addr constant [69 x i8] c"%d|09000|Emitido com sucesso|%s|%s|%s|%04d%02d%02d%02d%02d%02d|%s|%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @TesteFimAFim(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca 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 %struct.tm, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store ptr @.str, ptr %7, align 8 store ptr @.str, ptr %8, align 8 store ptr @.str.1, ptr %9, align 8 store ptr @.str.2, ptr %10, align 8 store ptr @.str.3, ptr %11, align 8 %14 = call i32 @time(ptr noundef null) store i32 %14, ptr %12, align 4 %15 = call ptr @localtime(ptr noundef %12) call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %15, i64 40, i1 false) %16 = load i32, ptr %4, align 4 %17 = load ptr, ptr %7, align 8 %18 = load ptr, ptr %8, align 8 %19 = load ptr, ptr %9, align 8 %20 = getelementptr inbounds %struct.tm, ptr %13, i32 0, i32 0 %21 = load i32, ptr %20, align 8 %22 = add nsw i32 %21, 1900 %23 = getelementptr inbounds %struct.tm, ptr %13, i32 0, i32 1 %24 = load i32, ptr %23, align 4 %25 = add nsw i32 %24, 1 %26 = getelementptr inbounds %struct.tm, ptr %13, i32 0, i32 2 %27 = load i32, ptr %26, align 8 %28 = getelementptr inbounds %struct.tm, ptr %13, i32 0, i32 3 %29 = load ptr, ptr %28, align 8 %30 = getelementptr inbounds %struct.tm, ptr %13, i32 0, i32 4 %31 = load ptr, ptr %30, align 8 %32 = getelementptr inbounds %struct.tm, ptr %13, i32 0, i32 5 %33 = load i32, ptr %32, align 8 %34 = load ptr, ptr %10, align 8 %35 = load ptr, ptr %11, align 8 %36 = call i32 @sprintf(ptr noundef @TesteFimAFim.resp, ptr noundef @.str.4, i32 noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, i32 noundef %22, i32 noundef %25, i32 noundef %27, ptr noundef %29, ptr noundef %31, i32 noundef %33, ptr noundef %34, ptr noundef %35) ret ptr @TesteFimAFim.resp } declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx5sgiqok.c" target datalayout = "e-m:e-p270: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.tm = type { i32, i32, i32, ptr, ptr, i32 } @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"<CFe>...</CFe>\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"000001\00", align 1 @.str.3 = private unnamed_addr constant [48 x i8] c"CFe12345678901234567890123456789012345678901234\00", align 1 @TesteFimAFim.resp = internal global [512 x i8] zeroinitializer, align 16 @.str.4 = private unnamed_addr constant [69 x i8] c"%d|09000|Emitido com sucesso|%s|%s|%s|%04d%02d%02d%02d%02d%02d|%s|%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @TesteFimAFim(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca 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 %struct.tm, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store ptr @.str, ptr %7, align 8 store ptr @.str, ptr %8, align 8 store ptr @.str.1, ptr %9, align 8 store ptr @.str.2, ptr %10, align 8 store ptr @.str.3, ptr %11, align 8 %14 = call i32 @time(ptr noundef null) store i32 %14, ptr %12, align 4 %15 = call ptr @localtime(ptr noundef %12) call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %15, i64 40, i1 false) %16 = load i32, ptr %4, align 4 %17 = load ptr, ptr %7, align 8 %18 = load ptr, ptr %8, align 8 %19 = load ptr, ptr %9, align 8 %20 = getelementptr inbounds %struct.tm, ptr %13, i32 0, i32 0 %21 = load i32, ptr %20, align 8 %22 = add nsw i32 %21, 1900 %23 = getelementptr inbounds %struct.tm, ptr %13, i32 0, i32 1 %24 = load i32, ptr %23, align 4 %25 = add nsw i32 %24, 1 %26 = getelementptr inbounds %struct.tm, ptr %13, i32 0, i32 2 %27 = load i32, ptr %26, align 8 %28 = getelementptr inbounds %struct.tm, ptr %13, i32 0, i32 3 %29 = load ptr, ptr %28, align 8 %30 = getelementptr inbounds %struct.tm, ptr %13, i32 0, i32 4 %31 = load ptr, ptr %30, align 8 %32 = getelementptr inbounds %struct.tm, ptr %13, i32 0, i32 5 %33 = load i32, ptr %32, align 8 %34 = load ptr, ptr %10, align 8 %35 = load ptr, ptr %11, align 8 %36 = call i32 @sprintf(ptr noundef @TesteFimAFim.resp, ptr noundef @.str.4, i32 noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, i32 noundef %22, i32 noundef %25, i32 noundef %27, ptr noundef %29, ptr noundef %31, i32 noundef %33, ptr noundef %34, ptr noundef %35) ret ptr @TesteFimAFim.resp } declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzxebugh7.c' source_filename = "/tmp/tmpzxebugh7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @f(i32 noundef %3) %5 = load i32, ptr %2, align 4 %6 = call i32 @printf(ptr noundef @.str, i32 noundef %5) ret i32 0 } declare i32 @f(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzxebugh7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @f(i32 noundef %3) %5 = load i32, ptr %2, align 4 %6 = call i32 @printf(ptr noundef @.str, i32 noundef %5) ret i32 0 } declare i32 @f(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp65q1tsjb.c' source_filename = "/tmp/tmp65q1tsjb.c" target datalayout = "e-m:e-p270: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/tmp65q1tsjb.c" target datalayout = "e-m:e-p270: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/tmp8dghgd08.c' source_filename = "/tmp/tmp8dghgd08.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"IS NAN!!!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @weighted_average(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 %8 = load double, ptr %6, align 8 %9 = load double, ptr %4, align 8 %10 = load double, ptr %6, align 8 %11 = fsub double 1.000000e+00, %10 %12 = load double, ptr %5, align 8 %13 = fmul double %11, %12 %14 = call double @llvm.fmuladd.f64(double %8, double %9, double %13) store double %14, ptr %7, align 8 %15 = load double, ptr %7, align 8 %16 = call i64 @isnan(double noundef %15) %17 = icmp ne i64 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %3 %19 = call i32 @printf(ptr noundef @.str) store double 0.000000e+00, ptr %7, align 8 br label %20 20: ; preds = %18, %3 %21 = load double, ptr %7, align 8 ret double %21 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i64 @isnan(double noundef) #2 declare i32 @printf(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8dghgd08.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"IS NAN!!!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @weighted_average(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 %8 = load double, ptr %6, align 8 %9 = load double, ptr %4, align 8 %10 = load double, ptr %6, align 8 %11 = fsub double 1.000000e+00, %10 %12 = load double, ptr %5, align 8 %13 = fmul double %11, %12 %14 = call double @llvm.fmuladd.f64(double %8, double %9, double %13) store double %14, ptr %7, align 8 %15 = load double, ptr %7, align 8 %16 = call i64 @isnan(double noundef %15) %17 = icmp ne i64 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %3 %19 = call i32 @printf(ptr noundef @.str) store double 0.000000e+00, ptr %7, align 8 br label %20 20: ; preds = %18, %3 %21 = load double, ptr %7, align 8 ret double %21 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i64 @isnan(double noundef) #2 declare i32 @printf(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0f263jym.c' source_filename = "/tmp/tmp0f263jym.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @extension(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 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %6, align 4 %9 = load i32, ptr %6, align 4 store i32 %9, ptr %5, align 4 br label %10 10: ; preds = %13, %2 %11 = load i32, ptr %5, align 4 %12 = add nsw i32 %11, -1 store i32 %12, ptr %5, align 4 br label %13 13: ; preds = %10 %14 = load ptr, ptr %4, 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 ne i32 %19, 46 br i1 %20, label %10, label %21, !llvm.loop !6 21: ; preds = %13 %22 = load ptr, ptr %3, align 8 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %5, align 4 %27 = sub nsw i32 %25, %26 %28 = call i32 @substr(ptr noundef %22, ptr noundef %23, i32 noundef %24, i32 noundef %27) ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @substr(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0f263jym.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @extension(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 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %6, align 4 %9 = load i32, ptr %6, align 4 store i32 %9, ptr %5, align 4 br label %10 10: ; preds = %13, %2 %11 = load i32, ptr %5, align 4 %12 = add nsw i32 %11, -1 store i32 %12, ptr %5, align 4 br label %13 13: ; preds = %10 %14 = load ptr, ptr %4, 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 ne i32 %19, 46 br i1 %20, label %10, label %21, !llvm.loop !6 21: ; preds = %13 %22 = load ptr, ptr %3, align 8 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %5, align 4 %27 = sub nsw i32 %25, %26 %28 = call i32 @substr(ptr noundef %22, ptr noundef %23, i32 noundef %24, i32 noundef %27) ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @substr(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpi3cmr8ob.c' source_filename = "/tmp/tmpi3cmr8ob.c" target datalayout = "e-m:e-p270: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/tmpi3cmr8ob.c" target datalayout = "e-m:e-p270: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/tmp54sx8yce.c' source_filename = "/tmp/tmp54sx8yce.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @timer_elapsed_minutes(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load i64, ptr %4, align 8 store i64 %6, ptr %5, align 8 %7 = load i64, ptr %5, align 8 %8 = mul nsw i64 %7, 1000 store i64 %8, ptr %5, align 8 %9 = load i64, ptr %5, align 8 %10 = mul nsw i64 %9, 60 store i64 %10, ptr %5, align 8 %11 = load ptr, ptr %3, align 8 %12 = load i64, ptr %5, align 8 %13 = call i32 @timer_elapsed_milliseconds(ptr noundef %11, i64 noundef %12) ret i32 %13 } declare i32 @timer_elapsed_milliseconds(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp54sx8yce.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @timer_elapsed_minutes(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load i64, ptr %4, align 8 store i64 %6, ptr %5, align 8 %7 = load i64, ptr %5, align 8 %8 = mul nsw i64 %7, 1000 store i64 %8, ptr %5, align 8 %9 = load i64, ptr %5, align 8 %10 = mul nsw i64 %9, 60 store i64 %10, ptr %5, align 8 %11 = load ptr, ptr %3, align 8 %12 = load i64, ptr %5, align 8 %13 = call i32 @timer_elapsed_milliseconds(ptr noundef %11, i64 noundef %12) ret i32 %13 } declare i32 @timer_elapsed_milliseconds(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj8zcr7k9.c' source_filename = "/tmp/tmpj8zcr7k9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ancil_send_fds_with_buffer(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %9 = load i32, ptr %5, align 4 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %7, align 4 %12 = load ptr, ptr %8, align 8 %13 = call i32 @ancil_send_fds_with_buffer_to(i32 noundef %9, ptr noundef %10, i32 noundef %11, ptr noundef %12, ptr noundef null, i32 noundef 0) ret i32 %13 } declare i32 @ancil_send_fds_with_buffer_to(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj8zcr7k9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ancil_send_fds_with_buffer(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %9 = load i32, ptr %5, align 4 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %7, align 4 %12 = load ptr, ptr %8, align 8 %13 = call i32 @ancil_send_fds_with_buffer_to(i32 noundef %9, ptr noundef %10, i32 noundef %11, ptr noundef %12, ptr noundef null, i32 noundef 0) ret i32 %13 } declare i32 @ancil_send_fds_with_buffer_to(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0km4fe3u.c' source_filename = "/tmp/tmp0km4fe3u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%s:%s\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"default\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ini_getdouble_default(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [256 x i8], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %8 = load ptr, ptr %5, align 8 %9 = call i32 @snprintf(ptr noundef %7, i32 noundef 256, ptr noundef @.str, ptr noundef @.str.1, ptr noundef %8) %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %12 = call i64 @ini_getdouble(ptr noundef %10, ptr noundef %11) %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %2 store i32 1, ptr %3, align 4 br label %16 15: ; preds = %2 store i32 0, ptr %3, align 4 br label %16 16: ; preds = %15, %14 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @ini_getdouble(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/tmp0km4fe3u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%s:%s\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"default\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ini_getdouble_default(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [256 x i8], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %8 = load ptr, ptr %5, align 8 %9 = call i32 @snprintf(ptr noundef %7, i32 noundef 256, ptr noundef @.str, ptr noundef @.str.1, ptr noundef %8) %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %12 = call i64 @ini_getdouble(ptr noundef %10, ptr noundef %11) %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %2 store i32 1, ptr %3, align 4 br label %16 15: ; preds = %2 store i32 0, ptr %3, align 4 br label %16 16: ; preds = %15, %14 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @ini_getdouble(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/tmpfxr4nt4o.c' source_filename = "/tmp/tmpfxr4nt4o.c" target datalayout = "e-m:e-p270: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.hexify_string.table = private unnamed_addr constant [16 x i8] c"0123456789ABCDEF", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @hexify_string(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 [16 x i8], align 16 %8 = 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 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.hexify_string.table, i64 16, i1 false) %9 = load ptr, ptr %4, align 8 %10 = load i32, ptr %6, align 4 %11 = call i32 @strnlen(ptr noundef %9, i32 noundef %10) %12 = sdiv i32 %11, 4 %13 = add nsw i32 %12, 1 %14 = mul nsw i32 %13, 8 store i32 %14, ptr %8, align 4 br label %15 15: ; preds = %18, %3 %16 = load i32, ptr %8, align 4 %17 = icmp slt i32 0, %16 br i1 %17, label %18, label %25 18: ; preds = %15 %19 = load i32, ptr %8, align 4 %20 = sub nsw i32 %19, 1 store i32 %20, ptr %8, align 4 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %8, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 store i8 48, ptr %24, align 1 br label %15, !llvm.loop !6 25: ; preds = %15 br label %26 26: ; preds = %74, %25 %27 = load i32, ptr %8, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %75 30: ; preds = %26 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %31, i64 %33 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp eq i32 0, %36 br i1 %37, label %38, label %40 38: ; preds = %30 %39 = load i32, ptr %6, align 4 store i32 %39, ptr %8, align 4 br label %74 40: ; preds = %30 %41 = load ptr, ptr %4, align 8 %42 = load i32, ptr %8, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = sdiv i32 %46, 16 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 %48 %50 = load i8, ptr %49, align 1 %51 = load ptr, ptr %5, align 8 %52 = load i32, ptr %8, align 4 %53 = mul nsw i32 2, %52 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %51, i64 %54 store i8 %50, ptr %55, align 1 %56 = load ptr, ptr %4, align 8 %57 = load i32, ptr %8, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %56, i64 %58 %60 = load i8, ptr %59, align 1 %61 = sext i8 %60 to i32 %62 = srem i32 %61, 16 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 %63 %65 = load i8, ptr %64, align 1 %66 = load ptr, ptr %5, align 8 %67 = load i32, ptr %8, align 4 %68 = mul nsw i32 2, %67 %69 = add nsw i32 %68, 1 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i8, ptr %66, i64 %70 store i8 %65, ptr %71, align 1 %72 = load i32, ptr %8, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %8, align 4 br label %74 74: ; preds = %40, %38 br label %26, !llvm.loop !8 75: ; preds = %26 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @strnlen(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/tmpfxr4nt4o.c" target datalayout = "e-m:e-p270: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.hexify_string.table = private unnamed_addr constant [16 x i8] c"0123456789ABCDEF", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @hexify_string(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 [16 x i8], align 16 %8 = 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 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.hexify_string.table, i64 16, i1 false) %9 = load ptr, ptr %4, align 8 %10 = load i32, ptr %6, align 4 %11 = call i32 @strnlen(ptr noundef %9, i32 noundef %10) %12 = sdiv i32 %11, 4 %13 = add nsw i32 %12, 1 %14 = mul nsw i32 %13, 8 store i32 %14, ptr %8, align 4 %15 = load i32, ptr %8, align 4 %16 = icmp slt i32 0, %15 br i1 %16, label %.lr.ph, label %26 .lr.ph: ; preds = %3 br label %17 17: ; preds = %.lr.ph, %17 %18 = load i32, ptr %8, align 4 %19 = sub nsw i32 %18, 1 store i32 %19, ptr %8, align 4 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %8, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 store i8 48, ptr %23, align 1 %24 = load i32, ptr %8, align 4 %25 = icmp slt i32 0, %24 br i1 %25, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %26 26: ; preds = %._crit_edge, %3 %27 = load i32, ptr %8, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %.lr.ph2, label %78 .lr.ph2: ; preds = %26 br label %30 30: ; preds = %.lr.ph2, %74 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %31, i64 %33 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp eq i32 0, %36 br i1 %37, label %38, label %40 38: ; preds = %30 %39 = load i32, ptr %6, align 4 store i32 %39, ptr %8, align 4 br label %74 40: ; preds = %30 %41 = load ptr, ptr %4, align 8 %42 = load i32, ptr %8, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = sdiv i32 %46, 16 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 %48 %50 = load i8, ptr %49, align 1 %51 = load ptr, ptr %5, align 8 %52 = load i32, ptr %8, align 4 %53 = mul nsw i32 2, %52 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %51, i64 %54 store i8 %50, ptr %55, align 1 %56 = load ptr, ptr %4, align 8 %57 = load i32, ptr %8, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %56, i64 %58 %60 = load i8, ptr %59, align 1 %61 = sext i8 %60 to i32 %62 = srem i32 %61, 16 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 %63 %65 = load i8, ptr %64, align 1 %66 = load ptr, ptr %5, align 8 %67 = load i32, ptr %8, align 4 %68 = mul nsw i32 2, %67 %69 = add nsw i32 %68, 1 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i8, ptr %66, i64 %70 store i8 %65, ptr %71, align 1 %72 = load i32, ptr %8, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %8, align 4 br label %74 74: ; preds = %40, %38 %75 = load i32, ptr %8, align 4 %76 = load i32, ptr %6, align 4 %77 = icmp slt i32 %75, %76 br i1 %77, label %30, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %74 br label %78 78: ; preds = %._crit_edge3, %26 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @strnlen(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/tmp03qhx8sh.c' source_filename = "/tmp/tmp03qhx8sh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_storage = type { i32 } @INET6_ADDRSTRLEN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @receive_msg(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca %struct.sockaddr_storage, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store i32 %0, ptr %2, align 4 %10 = call i64 @malloc(i32 noundef 1000) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %3, align 8 %12 = load i32, ptr @INET6_ADDRSTRLEN, align 4 %13 = zext i32 %12 to i64 %14 = call ptr @llvm.stacksave() store ptr %14, ptr %8, align 8 %15 = alloca i8, i64 %13, align 16 store i64 %13, ptr %9, align 8 store i32 4, ptr %7, align 4 %16 = load i32, ptr %2, align 4 %17 = call i32 @accept(i32 noundef %16, ptr noundef %6, ptr noundef %7) store i32 %17, ptr %5, align 4 %18 = getelementptr inbounds %struct.sockaddr_storage, ptr %6, i32 0, i32 0 %19 = load i32, ptr %18, align 4 %20 = call i32 @get_in_addr(ptr noundef %6) %21 = trunc i64 %13 to i32 %22 = call i32 @inet_ntop(i32 noundef %19, i32 noundef %20, ptr noundef %15, i32 noundef %21) %23 = load i32, ptr %2, align 4 %24 = call i32 @close(i32 noundef %23) %25 = load i32, ptr %5, align 4 %26 = load ptr, ptr %3, align 8 %27 = call i32 @recv(i32 noundef %25, ptr noundef %26, i32 noundef 99, i32 noundef 0) store i32 %27, ptr %4, align 4 %28 = load ptr, ptr %3, align 8 %29 = load i32, ptr %4, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 store i8 0, ptr %31, align 1 %32 = load i32, ptr %5, align 4 %33 = call i32 @close(i32 noundef %32) %34 = load ptr, ptr %3, align 8 %35 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %35) ret ptr %34 } declare i64 @malloc(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @inet_ntop(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @get_in_addr(ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @recv(i32 noundef, ptr noundef, i32 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp03qhx8sh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_storage = type { i32 } @INET6_ADDRSTRLEN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @receive_msg(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca %struct.sockaddr_storage, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store i32 %0, ptr %2, align 4 %10 = call i64 @malloc(i32 noundef 1000) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %3, align 8 %12 = load i32, ptr @INET6_ADDRSTRLEN, align 4 %13 = zext i32 %12 to i64 %14 = call ptr @llvm.stacksave() store ptr %14, ptr %8, align 8 %15 = alloca i8, i64 %13, align 16 store i64 %13, ptr %9, align 8 store i32 4, ptr %7, align 4 %16 = load i32, ptr %2, align 4 %17 = call i32 @accept(i32 noundef %16, ptr noundef %6, ptr noundef %7) store i32 %17, ptr %5, align 4 %18 = getelementptr inbounds %struct.sockaddr_storage, ptr %6, i32 0, i32 0 %19 = load i32, ptr %18, align 4 %20 = call i32 @get_in_addr(ptr noundef %6) %21 = trunc i64 %13 to i32 %22 = call i32 @inet_ntop(i32 noundef %19, i32 noundef %20, ptr noundef %15, i32 noundef %21) %23 = load i32, ptr %2, align 4 %24 = call i32 @close(i32 noundef %23) %25 = load i32, ptr %5, align 4 %26 = load ptr, ptr %3, align 8 %27 = call i32 @recv(i32 noundef %25, ptr noundef %26, i32 noundef 99, i32 noundef 0) store i32 %27, ptr %4, align 4 %28 = load ptr, ptr %3, align 8 %29 = load i32, ptr %4, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 store i8 0, ptr %31, align 1 %32 = load i32, ptr %5, align 4 %33 = call i32 @close(i32 noundef %32) %34 = load ptr, ptr %3, align 8 %35 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %35) ret ptr %34 } declare i64 @malloc(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @inet_ntop(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @get_in_addr(ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @recv(i32 noundef, ptr noundef, i32 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"}
; ModuleID = '/tmp/tmpzm8u1j5r.c' source_filename = "/tmp/tmpzm8u1j5r.c" target datalayout = "e-m:e-p270: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/tmpzm8u1j5r.c" target datalayout = "e-m:e-p270: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/tmppigjn8mf.c' source_filename = "/tmp/tmppigjn8mf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"T matrix dump:\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"nr rows: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"nr columns: %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"%Lf \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 void @dump_T_matrix(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 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = load i32, ptr %4, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10) %12 = load i32, ptr %5, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %12) store i32 0, ptr %7, align 4 br label %14 14: ; preds = %34, %3 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %37 18: ; preds = %14 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %29, %18 %20 = load i32, ptr %8, align 4 %21 = load i32, ptr %5, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %32 23: ; preds = %19 %24 = load ptr, ptr %6, align 8 %25 = load x86_fp80, ptr %24, align 16 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, x86_fp80 noundef %25) %27 = load ptr, ptr %6, align 8 %28 = getelementptr inbounds x86_fp80, ptr %27, i32 1 store ptr %28, ptr %6, align 8 br label %29 29: ; preds = %23 %30 = load i32, ptr %8, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %8, align 4 br label %19, !llvm.loop !6 32: ; preds = %19 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %34 34: ; preds = %32 %35 = load i32, ptr %7, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %7, align 4 br label %14, !llvm.loop !8 37: ; preds = %14 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppigjn8mf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"T matrix dump:\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"nr rows: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"nr columns: %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"%Lf \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 void @dump_T_matrix(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 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = load i32, ptr %4, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10) %12 = load i32, ptr %5, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %12) store i32 0, ptr %7, align 4 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph2, label %41 .lr.ph2: ; preds = %3 br label %17 17: ; preds = %.lr.ph2, %35 store i32 0, ptr %8, align 4 %18 = load i32, ptr %8, align 4 %19 = load i32, ptr %5, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph, label %33 .lr.ph: ; preds = %17 br label %21 21: ; preds = %.lr.ph, %27 %22 = load ptr, ptr %6, align 8 %23 = load x86_fp80, ptr %22, align 16 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, x86_fp80 noundef %23) %25 = load ptr, ptr %6, align 8 %26 = getelementptr inbounds x86_fp80, ptr %25, i32 1 store ptr %26, ptr %6, align 8 br label %27 27: ; preds = %21 %28 = load i32, ptr %8, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %8, align 4 %30 = load i32, ptr %8, align 4 %31 = load i32, ptr %5, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %33 33: ; preds = %._crit_edge, %17 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %35 35: ; preds = %33 %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 %4, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %17, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %35 br label %41 41: ; preds = %._crit_edge3, %3 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpf8gy8j9x.c' source_filename = "/tmp/tmpf8gy8j9x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__sched_getparam(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr @ENOSYS, align 4 %6 = call i32 @__set_errno(i32 noundef %5) ret i32 -1 } declare i32 @__set_errno(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/tmpf8gy8j9x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__sched_getparam(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr @ENOSYS, align 4 %6 = call i32 @__set_errno(i32 noundef %5) ret i32 -1 } declare i32 @__set_errno(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/tmp91qea0_j.c' source_filename = "/tmp/tmp91qea0_j.c" target datalayout = "e-m:e-p270: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/tmp91qea0_j.c" target datalayout = "e-m:e-p270: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/tmpe7rvu12x.c' source_filename = "/tmp/tmpe7rvu12x.c" target datalayout = "e-m:e-p270: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/tmpe7rvu12x.c" target datalayout = "e-m:e-p270: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/tmpipu7wzof.c' source_filename = "/tmp/tmpipu7wzof.c" target datalayout = "e-m:e-p270: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.gas = private unnamed_addr constant [1 x i32] [i32 4], align 4 @__const.main.cost = private unnamed_addr constant [1 x i32] [i32 5], 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 [1 x i32], align 4 %3 = alloca [1 x i32], align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.main.gas, i64 4, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 @__const.main.cost, i64 4, i1 false) store i32 1, ptr %4, align 4 %5 = getelementptr inbounds [1 x i32], ptr %2, i64 0, i64 0 %6 = load i32, ptr %4, align 4 %7 = getelementptr inbounds [1 x i32], ptr %3, i64 0, i64 0 %8 = load i32, ptr %4, align 4 %9 = call i32 @canCompleteCircuit(ptr noundef %5, i32 noundef %6, ptr noundef %7, i32 noundef %8) %10 = call i32 @printf(ptr noundef @.str, i32 noundef %9) 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 declare i32 @canCompleteCircuit(ptr noundef, i32 noundef, 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpipu7wzof.c" target datalayout = "e-m:e-p270: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.gas = private unnamed_addr constant [1 x i32] [i32 4], align 4 @__const.main.cost = private unnamed_addr constant [1 x i32] [i32 5], 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 [1 x i32], align 4 %3 = alloca [1 x i32], align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.main.gas, i64 4, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 @__const.main.cost, i64 4, i1 false) store i32 1, ptr %4, align 4 %5 = getelementptr inbounds [1 x i32], ptr %2, i64 0, i64 0 %6 = load i32, ptr %4, align 4 %7 = getelementptr inbounds [1 x i32], ptr %3, i64 0, i64 0 %8 = load i32, ptr %4, align 4 %9 = call i32 @canCompleteCircuit(ptr noundef %5, i32 noundef %6, ptr noundef %7, i32 noundef %8) %10 = call i32 @printf(ptr noundef @.str, i32 noundef %9) 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 declare i32 @canCompleteCircuit(ptr noundef, i32 noundef, 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"}
; ModuleID = '/tmp/tmp1c2fszuk.c' source_filename = "/tmp/tmp1c2fszuk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"Hello\00", align 1 @.str.2 = 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 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %4) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1c2fszuk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"Hello\00", align 1 @.str.2 = 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 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %4) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4zu4wtai.c' source_filename = "/tmp/tmp4zu4wtai.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"Assertion failed: %s, file %s, line %d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"p1\00", align 1 @.str.2 = private unnamed_addr constant [140 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/alown/chromium/refs/heads/cmake-fixing/util/mem.c\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"p2\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @crMemcmp(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %10 9: ; preds = %3 br label %11 10: ; preds = %3 call void @crError(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 135) br label %11 11: ; preds = %10, %9 %12 = load ptr, ptr %5, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %11 br label %16 15: ; preds = %11 call void @crError(ptr noundef @.str, ptr noundef @.str.3, ptr noundef @.str.2, i32 noundef 136) br label %16 16: ; preds = %15, %14 %17 = load ptr, ptr %4, align 8 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %6, align 4 %20 = call i32 @memcmp(ptr noundef %17, ptr noundef %18, i32 noundef %19) ret i32 %20 } declare void @crError(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4zu4wtai.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"Assertion failed: %s, file %s, line %d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"p1\00", align 1 @.str.2 = private unnamed_addr constant [140 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/alown/chromium/refs/heads/cmake-fixing/util/mem.c\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"p2\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @crMemcmp(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %10 9: ; preds = %3 br label %11 10: ; preds = %3 call void @crError(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 135) br label %11 11: ; preds = %10, %9 %12 = load ptr, ptr %5, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %11 br label %16 15: ; preds = %11 call void @crError(ptr noundef @.str, ptr noundef @.str.3, ptr noundef @.str.2, i32 noundef 136) br label %16 16: ; preds = %15, %14 %17 = load ptr, ptr %4, align 8 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %6, align 4 %20 = call i32 @memcmp(ptr noundef %17, ptr noundef %18, i32 noundef %19) ret i32 %20 } declare void @crError(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6vqkwklf.c' source_filename = "/tmp/tmp6vqkwklf.c" target datalayout = "e-m:e-p270: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/tmp6vqkwklf.c" target datalayout = "e-m:e-p270: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/tmp1c5jrjb1.c' source_filename = "/tmp/tmp1c5jrjb1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [7 x i8] c"%.2lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 store i32 0, ptr %1, align 4 br label %3 3: ; preds = %7, %0 %4 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %5 = load i64, ptr @EOF, align 8 %6 = icmp ne i64 %4, %5 br i1 %6, label %7, label %11 7: ; preds = %3 %8 = load double, ptr %2, align 8 %9 = fdiv double %8, 6.280000e+00 %10 = call i32 @printf(ptr noundef @.str.1, double noundef %9) br label %3, !llvm.loop !6 11: ; preds = %3 %12 = load i32, ptr %1, align 4 ret i32 %12 } declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1c5jrjb1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [7 x i8] c"%.2lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 store i32 0, ptr %1, align 4 %3 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load i64, ptr @EOF, align 8 %5 = icmp ne i64 %3, %4 br i1 %5, label %.lr.ph, label %13 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %6 %7 = load double, ptr %2, align 8 %8 = fdiv double %7, 6.280000e+00 %9 = call i32 @printf(ptr noundef @.str.1, double noundef %8) %10 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %11 = load i64, ptr @EOF, align 8 %12 = icmp ne i64 %10, %11 br i1 %12, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %6 br label %13 13: ; preds = %._crit_edge, %0 %14 = load i32, ptr %1, align 4 ret i32 %14 } declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp1zn0_i_n.c' source_filename = "/tmp/tmp1zn0_i_n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xorc_uimatrix(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i32 noundef %5, ptr noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 store ptr %0, ptr %8, align 8 store i64 %1, ptr %9, align 8 store i64 %2, ptr %10, align 8 store i64 %3, ptr %11, align 8 store i64 %4, ptr %12, align 8 store i32 %5, ptr %13, align 4 store ptr %6, ptr %14, align 8 %21 = load i64, ptr %9, align 8 store i64 %21, ptr %15, align 8 br label %22 22: ; preds = %56, %7 %23 = load i64, ptr %15, align 8 %24 = load i64, ptr %10, align 8 %25 = icmp sle i64 %23, %24 br i1 %25, label %26, label %59 26: ; preds = %22 %27 = load ptr, ptr %8, align 8 %28 = load i64, ptr %15, align 8 %29 = getelementptr inbounds ptr, ptr %27, i64 %28 %30 = load ptr, ptr %29, align 8 store ptr %30, ptr %19, align 8 %31 = load ptr, ptr %14, align 8 %32 = load i64, ptr %15, align 8 %33 = getelementptr inbounds ptr, ptr %31, i64 %32 %34 = load ptr, ptr %33, align 8 store ptr %34, ptr %20, align 8 %35 = load i64, ptr %11, align 8 store i64 %35, ptr %16, align 8 br label %36 36: ; preds = %52, %26 %37 = load i64, ptr %16, align 8 %38 = load i64, ptr %12, align 8 %39 = icmp sle i64 %37, %38 br i1 %39, label %40, label %55 40: ; preds = %36 %41 = load ptr, ptr %19, align 8 %42 = load i64, ptr %16, align 8 %43 = getelementptr inbounds i32, ptr %41, i64 %42 %44 = load i32, ptr %43, align 4 store i32 %44, ptr %17, align 4 %45 = load i32, ptr %17, align 4 %46 = load i32, ptr %13, align 4 %47 = xor i32 %45, %46 store i32 %47, ptr %18, align 4 %48 = load i32, ptr %18, align 4 %49 = load ptr, ptr %20, align 8 %50 = load i64, ptr %16, align 8 %51 = getelementptr inbounds i32, ptr %49, i64 %50 store i32 %48, ptr %51, align 4 br label %52 52: ; preds = %40 %53 = load i64, ptr %16, align 8 %54 = add nsw i64 %53, 1 store i64 %54, ptr %16, align 8 br label %36, !llvm.loop !6 55: ; preds = %36 br label %56 56: ; preds = %55 %57 = load i64, ptr %15, align 8 %58 = add nsw i64 %57, 1 store i64 %58, ptr %15, align 8 br label %22, !llvm.loop !8 59: ; preds = %22 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1zn0_i_n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xorc_uimatrix(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i32 noundef %5, ptr noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 store ptr %0, ptr %8, align 8 store i64 %1, ptr %9, align 8 store i64 %2, ptr %10, align 8 store i64 %3, ptr %11, align 8 store i64 %4, ptr %12, align 8 store i32 %5, ptr %13, align 4 store ptr %6, ptr %14, align 8 %21 = load i64, ptr %9, align 8 store i64 %21, ptr %15, align 8 %22 = load i64, ptr %15, align 8 %23 = load i64, ptr %10, align 8 %24 = icmp sle i64 %22, %23 br i1 %24, label %.lr.ph2, label %63 .lr.ph2: ; preds = %7 br label %25 25: ; preds = %.lr.ph2, %57 %26 = load ptr, ptr %8, align 8 %27 = load i64, ptr %15, align 8 %28 = getelementptr inbounds ptr, ptr %26, i64 %27 %29 = load ptr, ptr %28, align 8 store ptr %29, ptr %19, align 8 %30 = load ptr, ptr %14, align 8 %31 = load i64, ptr %15, align 8 %32 = getelementptr inbounds ptr, ptr %30, i64 %31 %33 = load ptr, ptr %32, align 8 store ptr %33, ptr %20, align 8 %34 = load i64, ptr %11, align 8 store i64 %34, ptr %16, align 8 %35 = load i64, ptr %16, align 8 %36 = load i64, ptr %12, align 8 %37 = icmp sle i64 %35, %36 br i1 %37, label %.lr.ph, label %56 .lr.ph: ; preds = %25 br label %38 38: ; preds = %.lr.ph, %50 %39 = load ptr, ptr %19, align 8 %40 = load i64, ptr %16, align 8 %41 = getelementptr inbounds i32, ptr %39, i64 %40 %42 = load i32, ptr %41, align 4 store i32 %42, ptr %17, align 4 %43 = load i32, ptr %17, align 4 %44 = load i32, ptr %13, align 4 %45 = xor i32 %43, %44 store i32 %45, ptr %18, align 4 %46 = load i32, ptr %18, align 4 %47 = load ptr, ptr %20, align 8 %48 = load i64, ptr %16, align 8 %49 = getelementptr inbounds i32, ptr %47, i64 %48 store i32 %46, ptr %49, align 4 br label %50 50: ; preds = %38 %51 = load i64, ptr %16, align 8 %52 = add nsw i64 %51, 1 store i64 %52, ptr %16, align 8 %53 = load i64, ptr %16, align 8 %54 = load i64, ptr %12, align 8 %55 = icmp sle i64 %53, %54 br i1 %55, label %38, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %50 br label %56 56: ; preds = %._crit_edge, %25 br label %57 57: ; preds = %56 %58 = load i64, ptr %15, align 8 %59 = add nsw i64 %58, 1 store i64 %59, ptr %15, align 8 %60 = load i64, ptr %15, align 8 %61 = load i64, ptr %10, align 8 %62 = icmp sle i64 %60, %61 br i1 %62, label %25, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %57 br label %63 63: ; preds = %._crit_edge3, %7 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmph_lkwkaa.c' source_filename = "/tmp/tmph_lkwkaa.c" target datalayout = "e-m:e-p270: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/tmph_lkwkaa.c" target datalayout = "e-m:e-p270: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/tmp4b8pf9jz.c' source_filename = "/tmp/tmp4b8pf9jz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_ifelse() #0 { %1 = call i32 (...) @do_a() %2 = call i64 (...) @test_condition() %3 = icmp ne i64 %2, 0 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = call i32 (...) @do_b() br label %8 6: ; preds = %0 %7 = call i32 (...) @do_c() br label %8 8: ; preds = %6, %4 %9 = call i32 (...) @do_d() ret void } declare i32 @do_a(...) #1 declare i64 @test_condition(...) #1 declare i32 @do_b(...) #1 declare i32 @do_c(...) #1 declare i32 @do_d(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4b8pf9jz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_ifelse() #0 { %1 = call i32 (...) @do_a() %2 = call i64 (...) @test_condition() %3 = icmp ne i64 %2, 0 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = call i32 (...) @do_b() br label %8 6: ; preds = %0 %7 = call i32 (...) @do_c() br label %8 8: ; preds = %6, %4 %9 = call i32 (...) @do_d() ret void } declare i32 @do_a(...) #1 declare i64 @test_condition(...) #1 declare i32 @do_b(...) #1 declare i32 @do_c(...) #1 declare i32 @do_d(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvjjhrt1e.c' source_filename = "/tmp/tmpvjjhrt1e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @foo() #0 { %1 = call i32 (...) @bar() %2 = call i32 (...) @baz() ret void } declare i32 @bar(...) #1 declare i32 @baz(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvjjhrt1e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @foo() #0 { %1 = call i32 (...) @bar() %2 = call i32 (...) @baz() ret void } declare i32 @bar(...) #1 declare i32 @baz(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj7ewn1nx.c' source_filename = "/tmp/tmpj7ewn1nx.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj7ewn1nx.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz4kd8y10.c' source_filename = "/tmp/tmpz4kd8y10.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_palette(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 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %9 = call i32 (...) @io_load_eflags() store i32 %9, ptr %8, align 4 %10 = call i32 (...) @io_cli() %11 = load i32, ptr %4, align 4 %12 = trunc i32 %11 to i8 %13 = call i32 @io_out8(i32 noundef 968, i8 noundef zeroext %12) %14 = load i32, ptr %4, align 4 store i32 %14, ptr %7, align 4 br label %15 15: ; preds = %43, %3 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp sle i32 %16, %17 br i1 %18, label %19, label %46 19: ; preds = %15 %20 = load ptr, ptr %6, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 0 %22 = load i8, ptr %21, align 1 %23 = zext i8 %22 to i32 %24 = sdiv i32 %23, 4 %25 = trunc i32 %24 to i8 %26 = call i32 @io_out8(i32 noundef 969, i8 noundef zeroext %25) %27 = load ptr, ptr %6, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 1 %29 = load i8, ptr %28, align 1 %30 = zext i8 %29 to i32 %31 = sdiv i32 %30, 4 %32 = trunc i32 %31 to i8 %33 = call i32 @io_out8(i32 noundef 969, i8 noundef zeroext %32) %34 = load ptr, ptr %6, align 8 %35 = getelementptr inbounds i8, ptr %34, i64 2 %36 = load i8, ptr %35, align 1 %37 = zext i8 %36 to i32 %38 = sdiv i32 %37, 4 %39 = trunc i32 %38 to i8 %40 = call i32 @io_out8(i32 noundef 969, i8 noundef zeroext %39) %41 = load ptr, ptr %6, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 3 store ptr %42, ptr %6, align 8 br label %43 43: ; preds = %19 %44 = load i32, ptr %7, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %7, align 4 br label %15, !llvm.loop !6 46: ; preds = %15 %47 = load i32, ptr %8, align 4 %48 = call i32 @io_store_eflags(i32 noundef %47) ret void } declare i32 @io_load_eflags(...) #1 declare i32 @io_cli(...) #1 declare i32 @io_out8(i32 noundef, i8 noundef zeroext) #1 declare i32 @io_store_eflags(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/tmpz4kd8y10.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_palette(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 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %9 = call i32 (...) @io_load_eflags() store i32 %9, ptr %8, align 4 %10 = call i32 (...) @io_cli() %11 = load i32, ptr %4, align 4 %12 = trunc i32 %11 to i8 %13 = call i32 @io_out8(i32 noundef 968, i8 noundef zeroext %12) %14 = load i32, ptr %4, align 4 store i32 %14, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %5, align 4 %17 = icmp sle i32 %15, %16 br i1 %17, label %.lr.ph, label %48 .lr.ph: ; preds = %3 br label %18 18: ; preds = %.lr.ph, %42 %19 = load ptr, ptr %6, align 8 %20 = getelementptr inbounds i8, ptr %19, i64 0 %21 = load i8, ptr %20, align 1 %22 = zext i8 %21 to i32 %23 = sdiv i32 %22, 4 %24 = trunc i32 %23 to i8 %25 = call i32 @io_out8(i32 noundef 969, i8 noundef zeroext %24) %26 = load ptr, ptr %6, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 1 %28 = load i8, ptr %27, align 1 %29 = zext i8 %28 to i32 %30 = sdiv i32 %29, 4 %31 = trunc i32 %30 to i8 %32 = call i32 @io_out8(i32 noundef 969, i8 noundef zeroext %31) %33 = load ptr, ptr %6, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 2 %35 = load i8, ptr %34, align 1 %36 = zext i8 %35 to i32 %37 = sdiv i32 %36, 4 %38 = trunc i32 %37 to i8 %39 = call i32 @io_out8(i32 noundef 969, i8 noundef zeroext %38) %40 = load ptr, ptr %6, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 3 store ptr %41, ptr %6, align 8 br label %42 42: ; preds = %18 %43 = load i32, ptr %7, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %7, align 4 %45 = load i32, ptr %7, align 4 %46 = load i32, ptr %5, align 4 %47 = icmp sle i32 %45, %46 br i1 %47, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %42 br label %48 48: ; preds = %._crit_edge, %3 %49 = load i32, ptr %8, align 4 %50 = call i32 @io_store_eflags(i32 noundef %49) ret void } declare i32 @io_load_eflags(...) #1 declare i32 @io_cli(...) #1 declare i32 @io_out8(i32 noundef, i8 noundef zeroext) #1 declare i32 @io_store_eflags(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/tmpiz1m_x2d.c' source_filename = "/tmp/tmpiz1m_x2d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Routine %s called in %s, %d\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"gmx_txs\00", align 1 @.str.2 = private unnamed_addr constant [148 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Chadi-akel/cere/refs/heads/master/tests/test_07/network.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gmx_txs(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = call i32 @fatal_error(i32 noundef 0, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 101) ret void } declare i32 @fatal_error(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiz1m_x2d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Routine %s called in %s, %d\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"gmx_txs\00", align 1 @.str.2 = private unnamed_addr constant [148 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Chadi-akel/cere/refs/heads/master/tests/test_07/network.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gmx_txs(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = call i32 @fatal_error(i32 noundef 0, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 101) ret void } declare i32 @fatal_error(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdyxapvzs.c' source_filename = "/tmp/tmpdyxapvzs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @irc_strsep(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %12, label %8 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = load ptr, ptr %9, align 8 store ptr %10, ptr %4, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %13 12: ; preds = %8, %1 store ptr null, ptr %2, align 8 br label %54 13: ; preds = %8 %14 = call ptr @irc_strtrim(ptr noundef %4) store ptr %14, ptr %5, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %17 16: ; preds = %13 store ptr null, ptr %2, align 8 br label %54 17: ; preds = %13 br label %18 18: ; preds = %30, %17 %19 = load ptr, ptr %4, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %28 23: ; preds = %18 %24 = load ptr, ptr %4, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp ne i32 %26, 32 br label %28 28: ; preds = %23, %18 %29 = phi i1 [ false, %18 ], [ %27, %23 ] br i1 %29, label %30, label %33 30: ; preds = %28 %31 = load ptr, ptr %4, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %4, align 8 br label %18, !llvm.loop !6 33: ; preds = %28 %34 = load ptr, ptr %4, align 8 %35 = load i8, ptr %34, align 1 %36 = icmp ne i8 %35, 0 br i1 %36, label %37, label %42 37: ; preds = %33 %38 = load ptr, ptr %4, align 8 store i8 0, ptr %38, align 1 %39 = load ptr, ptr %4, align 8 %40 = getelementptr inbounds i8, ptr %39, i64 1 %41 = load ptr, ptr %3, align 8 store ptr %40, ptr %41, align 8 br label %44 42: ; preds = %33 %43 = load ptr, ptr %3, align 8 store ptr null, ptr %43, align 8 br label %44 44: ; preds = %42, %37 %45 = load ptr, ptr %5, align 8 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp ne i32 %47, 0 br i1 %48, label %49, label %51 49: ; preds = %44 %50 = load ptr, ptr %5, align 8 br label %52 51: ; preds = %44 br label %52 52: ; preds = %51, %49 %53 = phi ptr [ %50, %49 ], [ null, %51 ] store ptr %53, ptr %2, align 8 br label %54 54: ; preds = %52, %16, %12 %55 = load ptr, ptr %2, align 8 ret ptr %55 } declare ptr @irc_strtrim(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpdyxapvzs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @irc_strsep(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %12, label %8 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = load ptr, ptr %9, align 8 store ptr %10, ptr %4, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %13 12: ; preds = %8, %1 store ptr null, ptr %2, align 8 br label %54 13: ; preds = %8 %14 = call ptr @irc_strtrim(ptr noundef %4) store ptr %14, ptr %5, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %17 16: ; preds = %13 store ptr null, ptr %2, align 8 br label %54 17: ; preds = %13 br label %18 18: ; preds = %30, %17 %19 = load ptr, ptr %4, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %28 23: ; preds = %18 %24 = load ptr, ptr %4, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp ne i32 %26, 32 br label %28 28: ; preds = %23, %18 %29 = phi i1 [ false, %18 ], [ %27, %23 ] br i1 %29, label %30, label %33 30: ; preds = %28 %31 = load ptr, ptr %4, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %4, align 8 br label %18, !llvm.loop !6 33: ; preds = %28 %34 = load ptr, ptr %4, align 8 %35 = load i8, ptr %34, align 1 %36 = icmp ne i8 %35, 0 br i1 %36, label %37, label %42 37: ; preds = %33 %38 = load ptr, ptr %4, align 8 store i8 0, ptr %38, align 1 %39 = load ptr, ptr %4, align 8 %40 = getelementptr inbounds i8, ptr %39, i64 1 %41 = load ptr, ptr %3, align 8 store ptr %40, ptr %41, align 8 br label %44 42: ; preds = %33 %43 = load ptr, ptr %3, align 8 store ptr null, ptr %43, align 8 br label %44 44: ; preds = %42, %37 %45 = load ptr, ptr %5, align 8 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp ne i32 %47, 0 br i1 %48, label %49, label %51 49: ; preds = %44 %50 = load ptr, ptr %5, align 8 br label %52 51: ; preds = %44 br label %52 52: ; preds = %51, %49 %53 = phi ptr [ %50, %49 ], [ null, %51 ] store ptr %53, ptr %2, align 8 br label %54 54: ; preds = %52, %16, %12 %55 = load ptr, ptr %2, align 8 ret ptr %55 } declare ptr @irc_strtrim(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpsiyuuplg.c' source_filename = "/tmp/tmpsiyuuplg.c" target datalayout = "e-m:e-p270: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/tmpsiyuuplg.c" target datalayout = "e-m:e-p270: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/tmp3d_7tlzb.c' source_filename = "/tmp/tmp3d_7tlzb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @omb_utils_umount(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 i64 @umount(ptr noundef %3) %5 = icmp eq i64 %4, 0 %6 = zext i1 %5 to i64 %7 = select i1 %5, i32 0, i32 -1 ret i32 %7 } declare i64 @umount(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3d_7tlzb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @omb_utils_umount(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 i64 @umount(ptr noundef %3) %5 = icmp eq i64 %4, 0 %6 = zext i1 %5 to i64 %7 = select i1 %5, i32 0, i32 -1 ret i32 %7 } declare i64 @umount(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq448xuj8.c' source_filename = "/tmp/tmpq448xuj8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @sqlite_quit(ptr noundef %0, ptr noundef %1, i8 noundef signext %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i8 %2, ptr %6, align 1 %7 = load ptr, ptr %5, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %3 %10 = load ptr, ptr %5, align 8 %11 = call i32 @sqlite3_finalize(ptr noundef %10) br label %12 12: ; preds = %9, %3 %13 = load ptr, ptr %4, align 8 %14 = call i32 @sqlite3_close(ptr noundef %13) %15 = load i8, ptr %6, align 1 ret i8 %15 } declare i32 @sqlite3_finalize(ptr noundef) #1 declare i32 @sqlite3_close(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq448xuj8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @sqlite_quit(ptr noundef %0, ptr noundef %1, i8 noundef signext %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i8 %2, ptr %6, align 1 %7 = load ptr, ptr %5, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %3 %10 = load ptr, ptr %5, align 8 %11 = call i32 @sqlite3_finalize(ptr noundef %10) br label %12 12: ; preds = %9, %3 %13 = load ptr, ptr %4, align 8 %14 = call i32 @sqlite3_close(ptr noundef %13) %15 = load i8, ptr %6, align 1 ret i8 %15 } declare i32 @sqlite3_finalize(ptr noundef) #1 declare i32 @sqlite3_close(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6wo6hd32.c' source_filename = "/tmp/tmp6wo6hd32.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fabs(float noundef %0) #0 { %2 = alloca float, align 4 %3 = alloca float, align 4 store float %0, ptr %3, align 4 %4 = load float, ptr %3, align 4 %5 = fpext float %4 to double %6 = fcmp oge double %5, 0.000000e+00 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = load float, ptr %3, align 4 store float %8, ptr %2, align 4 br label %12 9: ; preds = %1 %10 = load float, ptr %3, align 4 %11 = fneg float %10 store float %11, ptr %2, align 4 br label %12 12: ; preds = %9, %7 %13 = load float, ptr %2, align 4 ret float %13 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6wo6hd32.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fabs(float noundef %0) #0 { %2 = alloca float, align 4 %3 = alloca float, align 4 store float %0, ptr %3, align 4 %4 = load float, ptr %3, align 4 %5 = fpext float %4 to double %6 = fcmp oge double %5, 0.000000e+00 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = load float, ptr %3, align 4 store float %8, ptr %2, align 4 br label %12 9: ; preds = %1 %10 = load float, ptr %3, align 4 %11 = fneg float %10 store float %11, ptr %2, align 4 br label %12 12: ; preds = %9, %7 %13 = load float, ptr %2, align 4 ret float %13 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzkp2jki8.c' source_filename = "/tmp/tmpzkp2jki8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c"1\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %4 4: ; preds = %12, %0 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) br label %6 6: ; preds = %4 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %7, 0 br i1 %8, label %12, label %9 9: ; preds = %6 %10 = load i32, ptr %2, align 4 %11 = icmp sgt i32 %10, 7 br label %12 12: ; preds = %9, %6 %13 = phi i1 [ true, %6 ], [ %11, %9 ] br i1 %13, label %4, label %14, !llvm.loop !6 14: ; preds = %12 br label %15 15: ; preds = %23, %14 %16 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) br label %17 17: ; preds = %15 %18 = load i32, ptr %3, align 4 %19 = icmp slt i32 %18, 0 br i1 %19, label %23, label %20 20: ; preds = %17 %21 = load i32, ptr %3, align 4 %22 = icmp sgt i32 %21, 200 br label %23 23: ; preds = %20, %17 %24 = phi i1 [ true, %17 ], [ %22, %20 ] br i1 %24, label %15, label %25, !llvm.loop !8 25: ; preds = %23 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %2, align 4 %28 = ashr i32 %26, %27 %29 = and i32 %28, 1 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %33 31: ; preds = %25 %32 = call i32 @printf(ptr noundef @.str.1) br label %35 33: ; preds = %25 %34 = call i32 @printf(ptr noundef @.str.2) br label %35 35: ; preds = %33, %31 %36 = load i32, ptr %1, align 4 ret i32 %36 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzkp2jki8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c"1\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %4 4: ; preds = %12, %0 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) br label %6 6: ; preds = %4 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %7, 0 br i1 %8, label %12, label %9 9: ; preds = %6 %10 = load i32, ptr %2, align 4 %11 = icmp sgt i32 %10, 7 br label %12 12: ; preds = %9, %6 %13 = phi i1 [ true, %6 ], [ %11, %9 ] br i1 %13, label %4, label %14, !llvm.loop !6 14: ; preds = %12 br label %15 15: ; preds = %23, %14 %16 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) br label %17 17: ; preds = %15 %18 = load i32, ptr %3, align 4 %19 = icmp slt i32 %18, 0 br i1 %19, label %23, label %20 20: ; preds = %17 %21 = load i32, ptr %3, align 4 %22 = icmp sgt i32 %21, 200 br label %23 23: ; preds = %20, %17 %24 = phi i1 [ true, %17 ], [ %22, %20 ] br i1 %24, label %15, label %25, !llvm.loop !8 25: ; preds = %23 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %2, align 4 %28 = ashr i32 %26, %27 %29 = and i32 %28, 1 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %33 31: ; preds = %25 %32 = call i32 @printf(ptr noundef @.str.1) br label %35 33: ; preds = %25 %34 = call i32 @printf(ptr noundef @.str.2) br label %35 35: ; preds = %33, %31 %36 = load i32, ptr %1, align 4 ret i32 %36 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpmx4fgeov.c' source_filename = "/tmp/tmpmx4fgeov.c" target datalayout = "e-m:e-p270: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 [6 x i8] c"%c | \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"#\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [26 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 br label %7 7: ; preds = %14, %0 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 26 br i1 %9, label %10, label %17 10: ; preds = %7 %11 = load i32, ptr %4, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %12 store i32 0, ptr %13, align 4 br label %14 14: ; preds = %10 %15 = load i32, ptr %4, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %4, align 4 br label %7, !llvm.loop !6 17: ; preds = %7 br label %18 18: ; preds = %36, %17 %19 = call i32 (...) @getchar() store i32 %19, ptr %2, align 4 %20 = load i32, ptr @EOF, align 4 %21 = icmp ne i32 %19, %20 br i1 %21, label %22, label %37 22: ; preds = %18 %23 = load i32, ptr %2, align 4 %24 = call i32 @tolower(i32 noundef %23) #3 store i32 %24, ptr %2, align 4 %25 = icmp sge i32 %24, 97 br i1 %25, label %26, label %36 26: ; preds = %22 %27 = load i32, ptr %2, align 4 %28 = icmp sle i32 %27, 122 br i1 %28, label %29, label %36 29: ; preds = %26 %30 = load i32, ptr %2, align 4 %31 = sub nsw i32 %30, 97 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %32 %34 = load i32, ptr %33, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %33, align 4 br label %36 36: ; preds = %29, %26, %22 br label %18, !llvm.loop !8 37: ; preds = %18 store i32 97, ptr %5, align 4 br label %38 38: ; preds = %59, %37 %39 = load i32, ptr %5, align 4 %40 = icmp sle i32 %39, 122 br i1 %40, label %41, label %62 41: ; preds = %38 %42 = load i32, ptr %5, align 4 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %42) %44 = load i32, ptr %5, align 4 %45 = sub nsw i32 %44, 97 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %46 %48 = load i32, ptr %47, align 4 store i32 %48, ptr %6, align 4 br label %49 49: ; preds = %54, %41 %50 = load i32, ptr %6, align 4 %51 = icmp sgt i32 %50, 0 br i1 %51, label %52, label %57 52: ; preds = %49 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %54 54: ; preds = %52 %55 = load i32, ptr %6, align 4 %56 = add nsw i32 %55, -1 store i32 %56, ptr %6, align 4 br label %49, !llvm.loop !9 57: ; preds = %49 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %59 59: ; preds = %57 %60 = load i32, ptr %5, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %5, align 4 br label %38, !llvm.loop !10 62: ; preds = %38 %63 = load i32, ptr %1, align 4 ret i32 %63 } declare i32 @getchar(...) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @tolower(i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmx4fgeov.c" target datalayout = "e-m:e-p270: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 [6 x i8] c"%c | \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"#\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [26 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 26 br i1 %8, label %.lr.ph, label %18 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %13 %10 = load i32, ptr %4, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %11 store i32 0, ptr %12, align 4 br label %13 13: ; preds = %9 %14 = load i32, ptr %4, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %4, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %16, 26 br i1 %17, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %18 18: ; preds = %._crit_edge, %0 %19 = call i32 (...) @getchar() store i32 %19, ptr %2, align 4 %20 = load i32, ptr @EOF, align 4 %21 = icmp ne i32 %19, %20 br i1 %21, label %.lr.ph2, label %40 .lr.ph2: ; preds = %18 br label %22 22: ; preds = %.lr.ph2, %36 %23 = load i32, ptr %2, align 4 %24 = call i32 @tolower(i32 noundef %23) #3 store i32 %24, ptr %2, align 4 %25 = icmp sge i32 %24, 97 br i1 %25, label %26, label %36 26: ; preds = %22 %27 = load i32, ptr %2, align 4 %28 = icmp sle i32 %27, 122 br i1 %28, label %29, label %36 29: ; preds = %26 %30 = load i32, ptr %2, align 4 %31 = sub nsw i32 %30, 97 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %32 %34 = load i32, ptr %33, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %33, align 4 br label %36 36: ; preds = %29, %26, %22 %37 = call i32 (...) @getchar() store i32 %37, ptr %2, align 4 %38 = load i32, ptr @EOF, align 4 %39 = icmp ne i32 %37, %38 br i1 %39, label %22, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %36 br label %40 40: ; preds = %._crit_edge3, %18 store i32 97, ptr %5, align 4 %41 = load i32, ptr %5, align 4 %42 = icmp sle i32 %41, 122 br i1 %42, label %.lr.ph8, label %67 .lr.ph8: ; preds = %40 br label %43 43: ; preds = %.lr.ph8, %62 %44 = load i32, ptr %5, align 4 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %44) %46 = load i32, ptr %5, align 4 %47 = sub nsw i32 %46, 97 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %48 %50 = load i32, ptr %49, align 4 store i32 %50, ptr %6, align 4 %51 = load i32, ptr %6, align 4 %52 = icmp sgt i32 %51, 0 br i1 %52, label %.lr.ph5, label %60 .lr.ph5: ; preds = %43 br label %53 53: ; preds = %.lr.ph5, %55 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %55 55: ; preds = %53 %56 = load i32, ptr %6, align 4 %57 = add nsw i32 %56, -1 store i32 %57, ptr %6, align 4 %58 = load i32, ptr %6, align 4 %59 = icmp sgt i32 %58, 0 br i1 %59, label %53, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %55 br label %60 60: ; preds = %._crit_edge6, %43 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %62 62: ; preds = %60 %63 = load i32, ptr %5, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %5, align 4 %65 = load i32, ptr %5, align 4 %66 = icmp sle i32 %65, 122 br i1 %66, label %43, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %62 br label %67 67: ; preds = %._crit_edge9, %40 %68 = load i32, ptr %1, align 4 ret i32 %68 } declare i32 @getchar(...) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @tolower(i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpetdnqtj6.c' source_filename = "/tmp/tmpetdnqtj6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1 x i16], align 2 %7 = alloca [1 x i16], align 2 %8 = alloca i32, align 4 %9 = alloca i16, align 2 %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 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %22, %18 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %20, 1 br i1 %21, label %22, label %37 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %23, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10) %30 = trunc i64 %29 to i16 store i16 %30, ptr %9, align 2 %31 = load i16, ptr %9, align 2 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %33 store i16 %31, ptr %34, align 2 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %8, align 4 br label %19, !llvm.loop !6 37: ; preds = %19 %38 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39) %41 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %42 = load i16, ptr %41, align 2 %43 = zext i16 %42 to i32 %44 = icmp eq i32 %43, 15426 br i1 %44, label %45, label %47 45: ; preds = %37 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %48 47: ; preds = %37 br label %48 48: ; preds = %47, %45 store i32 0, ptr %10, align 4 br label %49 49: ; preds = %52, %48 %50 = load i32, ptr %10, align 4 %51 = icmp slt i32 %50, 1 br i1 %51, label %52, label %61 52: ; preds = %49 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54 %56 = load i16, ptr %55, align 2 %57 = zext i16 %56 to i32 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57) %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 br label %49, !llvm.loop !8 61: ; preds = %49 %62 = load i32, ptr %3, align 4 ret i32 %62 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpetdnqtj6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1 x i16], align 2 %7 = alloca [1 x i16], align 2 %8 = alloca i32, align 4 %9 = alloca i16, align 2 %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 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %19, 1 br i1 %20, label %.lr.ph, label %38 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %21 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %22, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10) %29 = trunc i64 %28 to i16 store i16 %29, ptr %9, align 2 %30 = load i16, ptr %9, align 2 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %32 store i16 %30, ptr %33, align 2 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %36, 1 br i1 %37, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %38 38: ; preds = %._crit_edge, %18 %39 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 0 %40 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40) %42 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %43 = load i16, ptr %42, align 2 %44 = zext i16 %43 to i32 %45 = icmp eq i32 %44, 15426 br i1 %45, label %46, label %48 46: ; preds = %38 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %49 48: ; preds = %38 br label %49 49: ; preds = %48, %46 store i32 0, ptr %10, align 4 %50 = load i32, ptr %10, align 4 %51 = icmp slt i32 %50, 1 br i1 %51, label %.lr.ph2, label %63 .lr.ph2: ; preds = %49 br label %52 52: ; preds = %.lr.ph2, %52 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54 %56 = load i16, ptr %55, align 2 %57 = zext i16 %56 to i32 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57) %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 %61 = load i32, ptr %10, align 4 %62 = icmp slt i32 %61, 1 br i1 %62, label %52, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %52 br label %63 63: ; preds = %._crit_edge3, %49 %64 = load i32, ptr %3, align 4 ret i32 %64 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpfefghcqi.c' source_filename = "/tmp/tmpfefghcqi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f404(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 @f403(ptr noundef %3) ret i32 %4 } declare i32 @f403(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfefghcqi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f404(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 @f403(ptr noundef %3) ret i32 %4 } declare i32 @f403(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi8giihqz.c' source_filename = "/tmp/tmpi8giihqz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"What is your name? \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"say Hello %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i8], align 1 %3 = alloca [30 x i8], align 16 store i32 0, ptr %1, align 4 %4 = call i32 @printf(ptr noundef @.str) call void @llvm.memset.p0.i64(ptr align 1 %2, i8 0, i64 10, i1 false) %5 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 30, i1 false) %7 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0 %8 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @sprintf(ptr noundef %7, ptr noundef @.str.2, ptr noundef %8) %10 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0 %11 = call i32 @system(ptr noundef %10) ret i32 0 } declare i32 @printf(ptr noundef) #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 @scanf(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, 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 = { 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi8giihqz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"What is your name? \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"say Hello %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i8], align 1 %3 = alloca [30 x i8], align 16 store i32 0, ptr %1, align 4 %4 = call i32 @printf(ptr noundef @.str) call void @llvm.memset.p0.i64(ptr align 1 %2, i8 0, i64 10, i1 false) %5 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 30, i1 false) %7 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0 %8 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @sprintf(ptr noundef %7, ptr noundef @.str.2, ptr noundef %8) %10 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0 %11 = call i32 @system(ptr noundef %10) ret i32 0 } declare i32 @printf(ptr noundef) #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 @scanf(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, 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 = { 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"}
; ModuleID = '/tmp/tmpxiuaz8_m.c' source_filename = "/tmp/tmpxiuaz8_m.c" target datalayout = "e-m:e-p270: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/tmpxiuaz8_m.c" target datalayout = "e-m:e-p270: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/tmpoluwpd8g.c' source_filename = "/tmp/tmpoluwpd8g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"this process has id %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"the parent process has id %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (...) @getpid() store i32 %7, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) %10 = call i32 (...) @getppid() store i32 %10, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11) ret i32 0 } declare i32 @getpid(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @getppid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoluwpd8g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"this process has id %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"the parent process has id %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (...) @getpid() store i32 %7, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) %10 = call i32 (...) @getppid() store i32 %10, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11) ret i32 0 } declare i32 @getpid(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @getppid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5xx1y3iu.c' source_filename = "/tmp/tmp5xx1y3iu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Vertex2iv(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 @glVertex2iv(ptr noundef %3) ret void } declare i32 @glVertex2iv(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5xx1y3iu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Vertex2iv(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 @glVertex2iv(ptr noundef %3) ret void } declare i32 @glVertex2iv(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj3v2fxbr.c' source_filename = "/tmp/tmpj3v2fxbr.c" target datalayout = "e-m:e-p270: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/tmpj3v2fxbr.c" target datalayout = "e-m:e-p270: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/tmp79rvwl9q.c' source_filename = "/tmp/tmp79rvwl9q.c" target datalayout = "e-m:e-p270: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/tmp79rvwl9q.c" target datalayout = "e-m:e-p270: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/tmpm7efhskd.c' source_filename = "/tmp/tmpm7efhskd.c" target datalayout = "e-m:e-p270: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/tmpm7efhskd.c" target datalayout = "e-m:e-p270: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/tmp9e2owsx4.c' source_filename = "/tmp/tmp9e2owsx4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @options_required(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9e2owsx4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @options_required(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6nbe530d.c' source_filename = "/tmp/tmp6nbe530d.c" target datalayout = "e-m:e-p270: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/tmp6nbe530d.c" target datalayout = "e-m:e-p270: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/tmp6l1un63z.c' source_filename = "/tmp/tmp6l1un63z.c" target datalayout = "e-m:e-p270: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/tmp6l1un63z.c" target datalayout = "e-m:e-p270: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/tmprc1gln35.c' source_filename = "/tmp/tmprc1gln35.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-v\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"%s: RAND_MAX=%u\0A\00", align 1 @RAND_MAX = dso_local global i32 0, align 4 @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [7 x i8] c"fwrite\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp sge i32 %10, 2 br i1 %11, label %12, label %40 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 %16 = call i64 @strcmp(ptr noundef %15, ptr noundef @.str) %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %40 18: ; preds = %12 %19 = load i32, ptr @stderr, align 4 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 0 %22 = load ptr, ptr %21, align 8 %23 = call ptr @strrchr(ptr noundef %22, i8 noundef signext 47) store ptr %23, ptr %7, align 8 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %29 25: ; preds = %18 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 0 %28 = load ptr, ptr %27, align 8 br label %32 29: ; preds = %18 %30 = load ptr, ptr %7, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 1 br label %32 32: ; preds = %29, %25 %33 = phi ptr [ %28, %25 ], [ %31, %29 ] %34 = load i32, ptr @RAND_MAX, align 4 %35 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.1, ptr noundef %33, i32 noundef %34) %36 = load i32, ptr %4, align 4 %37 = add nsw i32 %36, -1 store i32 %37, ptr %4, align 4 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds ptr, ptr %38, i32 1 store ptr %39, ptr %5, align 8 br label %40 40: ; preds = %32, %12, %2 %41 = load i32, ptr %4, align 4 %42 = icmp sge i32 %41, 2 br i1 %42, label %43, label %62 43: ; preds = %40 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds ptr, ptr %44, i64 1 %46 = load ptr, ptr %45, align 8 %47 = call i64 @strtoul(ptr noundef %46, ptr noundef %8, i32 noundef 0) store i64 %47, ptr %9, align 8 %48 = load ptr, ptr %8, align 8 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = icmp ne i32 %50, 0 br i1 %51, label %52, label %58 52: ; preds = %43 %53 = load i32, ptr @EINVAL, align 4 store i32 %53, ptr @errno, align 4 %54 = load ptr, ptr %5, align 8 %55 = getelementptr inbounds ptr, ptr %54, i64 1 %56 = load ptr, ptr %55, align 8 %57 = call i32 @perror(ptr noundef %56) store i32 1, ptr %3, align 4 br label %77 58: ; preds = %43 %59 = load i64, ptr %9, align 8 %60 = trunc i64 %59 to i32 %61 = call i32 @srandom(i32 noundef %60) br label %62 62: ; preds = %58, %40 br label %63 63: ; preds = %62, %76 %64 = call i32 (...) @random() store i32 %64, ptr %6, align 4 %65 = load i32, ptr @stdout, align 4 %66 = call i32 @fwrite(ptr noundef %6, i32 noundef 4, i32 noundef 1, i32 noundef %65) %67 = icmp eq i32 %66, 1 br i1 %67, label %68, label %69 68: ; preds = %63 br label %76 69: ; preds = %63 %70 = load i32, ptr @stdout, align 4 %71 = call i64 @ferror(i32 noundef %70) %72 = icmp ne i64 %71, 0 br i1 %72, label %73, label %75 73: ; preds = %69 %74 = call i32 @perror(ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %77 75: ; preds = %69 store i32 0, ptr %3, align 4 br label %77 76: ; preds = %68 br label %63 77: ; preds = %75, %73, %52 %78 = load i32, ptr %3, align 4 ret i32 %78 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i64 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @srandom(i32 noundef) #1 declare i32 @random(...) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @ferror(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/tmprc1gln35.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-v\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"%s: RAND_MAX=%u\0A\00", align 1 @RAND_MAX = dso_local global i32 0, align 4 @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [7 x i8] c"fwrite\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp sge i32 %10, 2 br i1 %11, label %12, label %40 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 %16 = call i64 @strcmp(ptr noundef %15, ptr noundef @.str) %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %40 18: ; preds = %12 %19 = load i32, ptr @stderr, align 4 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 0 %22 = load ptr, ptr %21, align 8 %23 = call ptr @strrchr(ptr noundef %22, i8 noundef signext 47) store ptr %23, ptr %7, align 8 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %29 25: ; preds = %18 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 0 %28 = load ptr, ptr %27, align 8 br label %32 29: ; preds = %18 %30 = load ptr, ptr %7, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 1 br label %32 32: ; preds = %29, %25 %33 = phi ptr [ %28, %25 ], [ %31, %29 ] %34 = load i32, ptr @RAND_MAX, align 4 %35 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.1, ptr noundef %33, i32 noundef %34) %36 = load i32, ptr %4, align 4 %37 = add nsw i32 %36, -1 store i32 %37, ptr %4, align 4 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds ptr, ptr %38, i32 1 store ptr %39, ptr %5, align 8 br label %40 40: ; preds = %32, %12, %2 %41 = load i32, ptr %4, align 4 %42 = icmp sge i32 %41, 2 br i1 %42, label %43, label %62 43: ; preds = %40 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds ptr, ptr %44, i64 1 %46 = load ptr, ptr %45, align 8 %47 = call i64 @strtoul(ptr noundef %46, ptr noundef %8, i32 noundef 0) store i64 %47, ptr %9, align 8 %48 = load ptr, ptr %8, align 8 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = icmp ne i32 %50, 0 br i1 %51, label %52, label %58 52: ; preds = %43 %53 = load i32, ptr @EINVAL, align 4 store i32 %53, ptr @errno, align 4 %54 = load ptr, ptr %5, align 8 %55 = getelementptr inbounds ptr, ptr %54, i64 1 %56 = load ptr, ptr %55, align 8 %57 = call i32 @perror(ptr noundef %56) store i32 1, ptr %3, align 4 br label %80 58: ; preds = %43 %59 = load i64, ptr %9, align 8 %60 = trunc i64 %59 to i32 %61 = call i32 @srandom(i32 noundef %60) br label %62 62: ; preds = %58, %40 %63 = call i32 (...) @random() store i32 %63, ptr %6, align 4 %64 = load i32, ptr @stdout, align 4 %65 = call i32 @fwrite(ptr noundef %6, i32 noundef 4, i32 noundef 1, i32 noundef %64) %66 = icmp eq i32 %65, 1 br i1 %66, label %.lr.ph, label %68 .lr.ph: ; preds = %62 br label %67 67: ; preds = %.lr.ph, %75 br label %75 ._crit_edge: ; preds = %75 br label %68 68: ; preds = %._crit_edge, %62 %69 = load i32, ptr @stdout, align 4 %70 = call i64 @ferror(i32 noundef %69) %71 = icmp ne i64 %70, 0 br i1 %71, label %72, label %74 72: ; preds = %68 %73 = call i32 @perror(ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %80 74: ; preds = %68 store i32 0, ptr %3, align 4 br label %80 75: ; preds = %67 %76 = call i32 (...) @random() store i32 %76, ptr %6, align 4 %77 = load i32, ptr @stdout, align 4 %78 = call i32 @fwrite(ptr noundef %6, i32 noundef 4, i32 noundef 1, i32 noundef %77) %79 = icmp eq i32 %78, 1 br i1 %79, label %67, label %._crit_edge 80: ; preds = %74, %72, %52 %81 = load i32, ptr %3, align 4 ret i32 %81 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i64 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @srandom(i32 noundef) #1 declare i32 @random(...) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @ferror(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/tmpujn658wo.c' source_filename = "/tmp/tmpujn658wo.c" target datalayout = "e-m:e-p270: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/tmpujn658wo.c" target datalayout = "e-m:e-p270: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/tmp0_xhow4v.c' source_filename = "/tmp/tmp0_xhow4v.c" target datalayout = "e-m:e-p270: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/tmp0_xhow4v.c" target datalayout = "e-m:e-p270: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/tmp0daa28vk.c' source_filename = "/tmp/tmp0daa28vk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hook_completion_get_string(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call ptr @gui_completion_get_string(ptr noundef %5, ptr noundef %6) ret ptr %7 } declare ptr @gui_completion_get_string(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/tmp0daa28vk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hook_completion_get_string(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call ptr @gui_completion_get_string(ptr noundef %5, ptr noundef %6) ret ptr %7 } declare ptr @gui_completion_get_string(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/tmpm9vv2dly.c' source_filename = "/tmp/tmpm9vv2dly.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"delta1[%c] = %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"delta1[other] = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @make_delta1(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 i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = zext i32 %14 to i64 %16 = call ptr @llvm.stacksave() store ptr %16, ptr %9, align 8 %17 = alloca i32, i64 %15, align 16 store i64 %15, ptr %10, align 8 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %7, align 4 br label %18 18: ; preds = %27, %3 %19 = load i32, ptr %7, align 4 %20 = icmp slt i32 %19, 256 br i1 %20, label %21, label %30 21: ; preds = %18 %22 = load i32, ptr %6, align 4 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %7, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 store i32 %22, ptr %26, align 4 br label %27 27: ; preds = %21 %28 = load i32, ptr %7, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %7, align 4 br label %18, !llvm.loop !6 30: ; preds = %18 store i32 0, ptr %7, align 4 br label %31 31: ; preds = %85, %30 %32 = load i32, ptr %7, align 4 %33 = load i32, ptr %6, align 4 %34 = sub nsw i32 %33, 1 %35 = icmp slt i32 %32, %34 br i1 %35, label %36, label %88 36: ; preds = %31 %37 = load i32, ptr %6, align 4 %38 = sub nsw i32 %37, 1 %39 = load i32, ptr %7, align 4 %40 = sub nsw i32 %38, %39 %41 = load ptr, ptr %4, align 8 %42 = load ptr, ptr %5, align 8 %43 = load i32, ptr %7, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i64, ptr %42, i64 %44 %46 = load i64, ptr %45, align 8 %47 = getelementptr inbounds i32, ptr %41, i64 %46 store i32 %40, ptr %47, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %8, align 4 br label %48 48: ; preds = %66, %36 %49 = load i32, ptr %8, align 4 %50 = load i32, ptr %11, align 4 %51 = icmp sle i32 %49, %50 br i1 %51, label %52, label %69 52: ; preds = %48 %53 = load i32, ptr %8, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %17, i64 %54 %56 = load i32, ptr %55, align 4 %57 = sext i32 %56 to i64 %58 = load ptr, ptr %5, align 8 %59 = load i32, ptr %7, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i64, ptr %58, i64 %60 %62 = load i64, ptr %61, align 8 %63 = icmp eq i64 %57, %62 br i1 %63, label %64, label %65 64: ; preds = %52 store i32 1, ptr %12, align 4 br label %65 65: ; preds = %64, %52 br label %66 66: ; preds = %65 %67 = load i32, ptr %8, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %8, align 4 br label %48, !llvm.loop !8 69: ; preds = %48 %70 = load i32, ptr %12, align 4 %71 = icmp eq i32 %70, 0 br i1 %71, label %72, label %84 72: ; preds = %69 %73 = load ptr, ptr %5, align 8 %74 = load i32, ptr %7, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i64, ptr %73, i64 %75 %77 = load i64, ptr %76, align 8 %78 = trunc i64 %77 to i32 %79 = load i32, ptr %11, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i32, ptr %17, i64 %80 store i32 %78, ptr %81, align 4 %82 = load i32, ptr %11, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %11, align 4 br label %84 84: ; preds = %72, %69 br label %85 85: ; preds = %84 %86 = load i32, ptr %7, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %7, align 4 br label %31, !llvm.loop !9 88: ; preds = %31 %89 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %13, align 4 br label %90 90: ; preds = %108, %88 %91 = load i32, ptr %13, align 4 %92 = load i32, ptr %11, align 4 %93 = icmp slt i32 %91, %92 br i1 %93, label %94, label %111 94: ; preds = %90 %95 = load i32, ptr %13, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i32, ptr %17, i64 %96 %98 = load i32, ptr %97, align 4 %99 = load ptr, ptr %4, align 8 %100 = load i32, ptr %13, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds i32, ptr %17, i64 %101 %103 = load i32, ptr %102, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds i32, ptr %99, i64 %104 %106 = load i32, ptr %105, align 4 %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %98, i32 noundef %106) br label %108 108: ; preds = %94 %109 = load i32, ptr %13, align 4 %110 = add nsw i32 %109, 1 store i32 %110, ptr %13, align 4 br label %90, !llvm.loop !10 111: ; preds = %90 %112 = load i32, ptr %6, align 4 %113 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %112) %114 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %114) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @printf(ptr noundef, ...) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpm9vv2dly.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"delta1[%c] = %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"delta1[other] = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @make_delta1(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 i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = zext i32 %14 to i64 %16 = call ptr @llvm.stacksave() store ptr %16, ptr %9, align 8 %17 = alloca i32, i64 %15, align 16 store i64 %15, ptr %10, align 8 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %7, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp slt i32 %18, 256 br i1 %19, label %.lr.ph, label %31 .lr.ph: ; preds = %3 br label %20 20: ; preds = %.lr.ph, %26 %21 = load i32, ptr %6, align 4 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %7, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %22, i64 %24 store i32 %21, ptr %25, align 4 br label %26 26: ; preds = %20 %27 = load i32, ptr %7, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %7, align 4 %29 = load i32, ptr %7, align 4 %30 = icmp slt i32 %29, 256 br i1 %30, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %31 31: ; preds = %._crit_edge, %3 store i32 0, ptr %7, align 4 %32 = load i32, ptr %7, align 4 %33 = load i32, ptr %6, align 4 %34 = sub nsw i32 %33, 1 %35 = icmp slt i32 %32, %34 br i1 %35, label %.lr.ph5, label %94 .lr.ph5: ; preds = %31 br label %36 36: ; preds = %.lr.ph5, %87 %37 = load i32, ptr %6, align 4 %38 = sub nsw i32 %37, 1 %39 = load i32, ptr %7, align 4 %40 = sub nsw i32 %38, %39 %41 = load ptr, ptr %4, align 8 %42 = load ptr, ptr %5, align 8 %43 = load i32, ptr %7, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i64, ptr %42, i64 %44 %46 = load i64, ptr %45, align 8 %47 = getelementptr inbounds i32, ptr %41, i64 %46 store i32 %40, ptr %47, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %8, align 4 %48 = load i32, ptr %8, align 4 %49 = load i32, ptr %11, align 4 %50 = icmp sle i32 %48, %49 br i1 %50, label %.lr.ph2, label %71 .lr.ph2: ; preds = %36 br label %51 51: ; preds = %.lr.ph2, %65 %52 = load i32, ptr %8, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %17, i64 %53 %55 = load i32, ptr %54, align 4 %56 = sext i32 %55 to i64 %57 = load ptr, ptr %5, align 8 %58 = load i32, ptr %7, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i64, ptr %57, i64 %59 %61 = load i64, ptr %60, align 8 %62 = icmp eq i64 %56, %61 br i1 %62, label %63, label %64 63: ; preds = %51 store i32 1, ptr %12, align 4 br label %64 64: ; preds = %63, %51 br label %65 65: ; preds = %64 %66 = load i32, ptr %8, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %8, align 4 %68 = load i32, ptr %8, align 4 %69 = load i32, ptr %11, align 4 %70 = icmp sle i32 %68, %69 br i1 %70, label %51, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %65 br label %71 71: ; preds = %._crit_edge3, %36 %72 = load i32, ptr %12, align 4 %73 = icmp eq i32 %72, 0 br i1 %73, label %74, label %86 74: ; preds = %71 %75 = load ptr, ptr %5, align 8 %76 = load i32, ptr %7, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i64, ptr %75, i64 %77 %79 = load i64, ptr %78, align 8 %80 = trunc i64 %79 to i32 %81 = load i32, ptr %11, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i32, ptr %17, i64 %82 store i32 %80, ptr %83, align 4 %84 = load i32, ptr %11, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %11, align 4 br label %86 86: ; preds = %74, %71 br label %87 87: ; preds = %86 %88 = load i32, ptr %7, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %7, align 4 %90 = load i32, ptr %7, align 4 %91 = load i32, ptr %6, align 4 %92 = sub nsw i32 %91, 1 %93 = icmp slt i32 %90, %92 br i1 %93, label %36, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %87 br label %94 94: ; preds = %._crit_edge6, %31 %95 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %13, align 4 %96 = load i32, ptr %13, align 4 %97 = load i32, ptr %11, align 4 %98 = icmp slt i32 %96, %97 br i1 %98, label %.lr.ph8, label %119 .lr.ph8: ; preds = %94 br label %99 99: ; preds = %.lr.ph8, %113 %100 = load i32, ptr %13, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds i32, ptr %17, i64 %101 %103 = load i32, ptr %102, align 4 %104 = load ptr, ptr %4, align 8 %105 = load i32, ptr %13, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds i32, ptr %17, i64 %106 %108 = load i32, ptr %107, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds i32, ptr %104, i64 %109 %111 = load i32, ptr %110, align 4 %112 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %103, i32 noundef %111) br label %113 113: ; preds = %99 %114 = load i32, ptr %13, align 4 %115 = add nsw i32 %114, 1 store i32 %115, ptr %13, align 4 %116 = load i32, ptr %13, align 4 %117 = load i32, ptr %11, align 4 %118 = icmp slt i32 %116, %117 br i1 %118, label %99, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %113 br label %119 119: ; preds = %._crit_edge9, %94 %120 = load i32, ptr %6, align 4 %121 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %120) %122 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %122) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @printf(ptr noundef, ...) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp690a4dtk.c' source_filename = "/tmp/tmp690a4dtk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local x86_fp80 @fdiml(x86_fp80 noundef %0, x86_fp80 noundef %1) #0 { %3 = alloca x86_fp80, align 16 %4 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %3, align 16 store x86_fp80 %1, ptr %4, align 16 %5 = call x86_fp80 (...) @__infer_nondet_long_double() ret x86_fp80 %5 } declare x86_fp80 @__infer_nondet_long_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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp690a4dtk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local x86_fp80 @fdiml(x86_fp80 noundef %0, x86_fp80 noundef %1) #0 { %3 = alloca x86_fp80, align 16 %4 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %3, align 16 store x86_fp80 %1, ptr %4, align 16 %5 = call x86_fp80 (...) @__infer_nondet_long_double() ret x86_fp80 %5 } declare x86_fp80 @__infer_nondet_long_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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsrs8sdx8.c' source_filename = "/tmp/tmpsrs8sdx8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @file_size(ptr noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr @SEEK_END, align 4 %7 = call i64 @fseek(ptr noundef %5, i64 noundef 0, i32 noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %1 store i64 -1, ptr %2, align 8 br label %23 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 %12 = call i64 @ftell(ptr noundef %11) store i64 %12, ptr %4, align 8 %13 = icmp eq i64 %12, -1 br i1 %13, label %14, label %15 14: ; preds = %10 store i64 -1, ptr %2, align 8 br label %23 15: ; preds = %10 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr @SEEK_SET, align 4 %18 = call i64 @fseek(ptr noundef %16, i64 noundef 0, i32 noundef %17) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %15 store i64 -1, ptr %2, align 8 br label %23 21: ; preds = %15 %22 = load i64, ptr %4, align 8 store i64 %22, ptr %2, align 8 br label %23 23: ; preds = %21, %20, %14, %9 %24 = load i64, ptr %2, align 8 ret i64 %24 } declare i64 @fseek(ptr noundef, i64 noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsrs8sdx8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @file_size(ptr noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr @SEEK_END, align 4 %7 = call i64 @fseek(ptr noundef %5, i64 noundef 0, i32 noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %1 store i64 -1, ptr %2, align 8 br label %23 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 %12 = call i64 @ftell(ptr noundef %11) store i64 %12, ptr %4, align 8 %13 = icmp eq i64 %12, -1 br i1 %13, label %14, label %15 14: ; preds = %10 store i64 -1, ptr %2, align 8 br label %23 15: ; preds = %10 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr @SEEK_SET, align 4 %18 = call i64 @fseek(ptr noundef %16, i64 noundef 0, i32 noundef %17) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %15 store i64 -1, ptr %2, align 8 br label %23 21: ; preds = %15 %22 = load i64, ptr %4, align 8 store i64 %22, ptr %2, align 8 br label %23 23: ; preds = %21, %20, %14, %9 %24 = load i64, ptr %2, align 8 ret i64 %24 } declare i64 @fseek(ptr noundef, i64 noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprtujt4al.c' source_filename = "/tmp/tmprtujt4al.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cvmx_shmem_close(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = call i32 @__cvmx_shmem_close_standalone(ptr noundef %6, i32 noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 ret i32 %9 } declare i32 @__cvmx_shmem_close_standalone(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/tmprtujt4al.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cvmx_shmem_close(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = call i32 @__cvmx_shmem_close_standalone(ptr noundef %6, i32 noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 ret i32 %9 } declare i32 @__cvmx_shmem_close_standalone(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/tmpr4wcy7xb.c' source_filename = "/tmp/tmpr4wcy7xb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @array_sum(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = call i32 @_ssdm_SpecArrayDimSize(ptr noundef %7, i32 noundef 64) store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %9 9: ; preds = %20, %2 %10 = load i32, ptr %6, align 4 %11 = icmp slt i32 %10, 64 br i1 %11, label %12, label %23 12: ; preds = %9 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %6, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i32, ptr %13, i64 %15 %17 = load i32, ptr %16, align 4 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, %17 store i32 %19, ptr %5, align 4 br label %20 20: ; preds = %12 %21 = load i32, ptr %6, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %6, align 4 br label %9, !llvm.loop !6 23: ; preds = %9 %24 = load i32, ptr %5, align 4 ret i32 %24 } declare i32 @_ssdm_SpecArrayDimSize(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/tmpr4wcy7xb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @array_sum(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = call i32 @_ssdm_SpecArrayDimSize(ptr noundef %7, i32 noundef 64) store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %9, 64 br i1 %10, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %19 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %6, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i32, ptr %12, i64 %14 %16 = load i32, ptr %15, align 4 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, %16 store i32 %18, ptr %5, align 4 br label %19 19: ; preds = %11 %20 = load i32, ptr %6, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %6, align 4 %22 = load i32, ptr %6, align 4 %23 = icmp slt i32 %22, 64 br i1 %23, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %2 %25 = load i32, ptr %5, align 4 ret i32 %25 } declare i32 @_ssdm_SpecArrayDimSize(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/tmpze8y0l_r.c' source_filename = "/tmp/tmpze8y0l_r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fileExist(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca %struct.stat, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @stat(ptr noundef %6, ptr noundef %4) store i32 %7, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %1 store i32 1, ptr %2, align 4 br label %12 11: ; preds = %1 store i32 0, ptr %2, align 4 br label %12 12: ; preds = %11, %10 %13 = load i32, ptr %2, align 4 ret i32 %13 } declare i32 @stat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpze8y0l_r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fileExist(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca %struct.stat, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @stat(ptr noundef %6, ptr noundef %4) store i32 %7, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %1 store i32 1, ptr %2, align 4 br label %12 11: ; preds = %1 store i32 0, ptr %2, align 4 br label %12 12: ; preds = %11, %10 %13 = load i32, ptr %2, align 4 ret i32 %13 } declare i32 @stat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxq3m_3tp.c' source_filename = "/tmp/tmpxq3m_3tp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtoul0(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 ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %11 = load ptr, ptr %4, align 8 %12 = load ptr, ptr %11, align 8 store ptr %12, ptr %7, align 8 store i64 0, ptr %8, align 8 %13 = load i32, ptr %5, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %34 15: ; preds = %3 %16 = load i32, ptr %5, align 4 %17 = add nsw i32 %16, 10 store i32 %17, ptr %5, align 4 %18 = load ptr, ptr %7, align 8 %19 = load i8, ptr %18, align 1 %20 = zext i8 %19 to i32 %21 = icmp eq i32 %20, 48 br i1 %21, label %22, label %33 22: ; preds = %15 %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 1 %25 = load i8, ptr %24, align 1 %26 = call i32 @prefix(i8 noundef zeroext %25) store i32 %26, ptr %5, align 4 %27 = load i32, ptr %5, align 4 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %22 %30 = load i32, ptr %5, align 4 %31 = add nsw i32 %30, 8 store i32 %31, ptr %5, align 4 br label %32 32: ; preds = %29, %22 br label %33 33: ; preds = %32, %15 br label %34 34: ; preds = %33, %3 %35 = load ptr, ptr %7, align 8 %36 = load i8, ptr %35, align 1 %37 = zext i8 %36 to i32 %38 = icmp eq i32 %37, 48 br i1 %38, label %39, label %50 39: ; preds = %34 %40 = load i32, ptr %5, align 4 %41 = load ptr, ptr %7, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 1 %43 = load i8, ptr %42, align 1 %44 = call i32 @prefix(i8 noundef zeroext %43) %45 = icmp eq i32 %40, %44 br i1 %45, label %46, label %49 46: ; preds = %39 %47 = load ptr, ptr %7, align 8 %48 = getelementptr inbounds i8, ptr %47, i64 2 store ptr %48, ptr %7, align 8 br label %49 49: ; preds = %46, %39 br label %50 50: ; preds = %49, %34 %51 = load i32, ptr %5, align 4 %52 = udiv i32 -1, %51 %53 = zext i32 %52 to i64 store i64 %53, ptr %9, align 8 %54 = load ptr, ptr %6, align 8 store i8 0, ptr %54, align 1 br label %55 55: ; preds = %128, %50 store i32 99, ptr %10, align 4 %56 = load ptr, ptr %7, align 8 %57 = load i8, ptr %56, align 1 %58 = zext i8 %57 to i32 %59 = icmp sle i32 48, %58 br i1 %59, label %60, label %70 60: ; preds = %55 %61 = load ptr, ptr %7, align 8 %62 = load i8, ptr %61, align 1 %63 = zext i8 %62 to i32 %64 = icmp sle i32 %63, 57 br i1 %64, label %65, label %70 65: ; preds = %60 %66 = load ptr, ptr %7, align 8 %67 = load i8, ptr %66, align 1 %68 = zext i8 %67 to i32 %69 = sub nsw i32 %68, 48 store i32 %69, ptr %10, align 4 br label %70 70: ; preds = %65, %60, %55 %71 = load ptr, ptr %7, align 8 %72 = load i8, ptr %71, align 1 %73 = zext i8 %72 to i32 %74 = icmp sle i32 65, %73 br i1 %74, label %75, label %85 75: ; preds = %70 %76 = load ptr, ptr %7, align 8 %77 = load i8, ptr %76, align 1 %78 = zext i8 %77 to i32 %79 = icmp sle i32 %78, 90 br i1 %79, label %80, label %85 80: ; preds = %75 %81 = load ptr, ptr %7, align 8 %82 = load i8, ptr %81, align 1 %83 = zext i8 %82 to i32 %84 = sub nsw i32 %83, 55 store i32 %84, ptr %10, align 4 br label %85 85: ; preds = %80, %75, %70 %86 = load ptr, ptr %7, align 8 %87 = load i8, ptr %86, align 1 %88 = zext i8 %87 to i32 %89 = icmp sle i32 97, %88 br i1 %89, label %90, label %100 90: ; preds = %85 %91 = load ptr, ptr %7, align 8 %92 = load i8, ptr %91, align 1 %93 = zext i8 %92 to i32 %94 = icmp sle i32 %93, 122 br i1 %94, label %95, label %100 95: ; preds = %90 %96 = load ptr, ptr %7, align 8 %97 = load i8, ptr %96, align 1 %98 = zext i8 %97 to i32 %99 = sub nsw i32 %98, 87 store i32 %99, ptr %10, align 4 br label %100 100: ; preds = %95, %90, %85 %101 = load i32, ptr %10, align 4 %102 = load i32, ptr %5, align 4 %103 = icmp sge i32 %101, %102 br i1 %103, label %104, label %105 104: ; preds = %100 br label %131 105: ; preds = %100 %106 = load i64, ptr %8, align 8 %107 = load i64, ptr %9, align 8 %108 = icmp ugt i64 %106, %107 br i1 %108, label %109, label %110 109: ; preds = %105 br label %121 110: ; preds = %105 %111 = load i32, ptr %5, align 4 %112 = sext i32 %111 to i64 %113 = load i64, ptr %8, align 8 %114 = mul i64 %113, %112 store i64 %114, ptr %8, align 8 %115 = load i64, ptr %8, align 8 %116 = sub i64 4294967295, %115 %117 = load i32, ptr %10, align 4 %118 = sext i32 %117 to i64 %119 = icmp ult i64 %116, %118 br i1 %119, label %120, label %123 120: ; preds = %110 br label %121 121: ; preds = %120, %109 %122 = load ptr, ptr %6, align 8 store i8 1, ptr %122, align 1 store i64 4294967295, ptr %8, align 8 br label %128 123: ; preds = %110 %124 = load i32, ptr %10, align 4 %125 = sext i32 %124 to i64 %126 = load i64, ptr %8, align 8 %127 = add i64 %126, %125 store i64 %127, ptr %8, align 8 br label %128 128: ; preds = %123, %121 %129 = load ptr, ptr %7, align 8 %130 = getelementptr inbounds i8, ptr %129, i32 1 store ptr %130, ptr %7, align 8 br label %55 131: ; preds = %104 %132 = load ptr, ptr %7, align 8 %133 = load ptr, ptr %4, align 8 store ptr %132, ptr %133, align 8 %134 = load i64, ptr %8, align 8 ret i64 %134 } declare i32 @prefix(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxq3m_3tp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtoul0(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 ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %11 = load ptr, ptr %4, align 8 %12 = load ptr, ptr %11, align 8 store ptr %12, ptr %7, align 8 store i64 0, ptr %8, align 8 %13 = load i32, ptr %5, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %34 15: ; preds = %3 %16 = load i32, ptr %5, align 4 %17 = add nsw i32 %16, 10 store i32 %17, ptr %5, align 4 %18 = load ptr, ptr %7, align 8 %19 = load i8, ptr %18, align 1 %20 = zext i8 %19 to i32 %21 = icmp eq i32 %20, 48 br i1 %21, label %22, label %33 22: ; preds = %15 %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 1 %25 = load i8, ptr %24, align 1 %26 = call i32 @prefix(i8 noundef zeroext %25) store i32 %26, ptr %5, align 4 %27 = load i32, ptr %5, align 4 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %22 %30 = load i32, ptr %5, align 4 %31 = add nsw i32 %30, 8 store i32 %31, ptr %5, align 4 br label %32 32: ; preds = %29, %22 br label %33 33: ; preds = %32, %15 br label %34 34: ; preds = %33, %3 %35 = load ptr, ptr %7, align 8 %36 = load i8, ptr %35, align 1 %37 = zext i8 %36 to i32 %38 = icmp eq i32 %37, 48 br i1 %38, label %39, label %50 39: ; preds = %34 %40 = load i32, ptr %5, align 4 %41 = load ptr, ptr %7, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 1 %43 = load i8, ptr %42, align 1 %44 = call i32 @prefix(i8 noundef zeroext %43) %45 = icmp eq i32 %40, %44 br i1 %45, label %46, label %49 46: ; preds = %39 %47 = load ptr, ptr %7, align 8 %48 = getelementptr inbounds i8, ptr %47, i64 2 store ptr %48, ptr %7, align 8 br label %49 49: ; preds = %46, %39 br label %50 50: ; preds = %49, %34 %51 = load i32, ptr %5, align 4 %52 = udiv i32 -1, %51 %53 = zext i32 %52 to i64 store i64 %53, ptr %9, align 8 %54 = load ptr, ptr %6, align 8 store i8 0, ptr %54, align 1 br label %55 55: ; preds = %128, %50 store i32 99, ptr %10, align 4 %56 = load ptr, ptr %7, align 8 %57 = load i8, ptr %56, align 1 %58 = zext i8 %57 to i32 %59 = icmp sle i32 48, %58 br i1 %59, label %60, label %70 60: ; preds = %55 %61 = load ptr, ptr %7, align 8 %62 = load i8, ptr %61, align 1 %63 = zext i8 %62 to i32 %64 = icmp sle i32 %63, 57 br i1 %64, label %65, label %70 65: ; preds = %60 %66 = load ptr, ptr %7, align 8 %67 = load i8, ptr %66, align 1 %68 = zext i8 %67 to i32 %69 = sub nsw i32 %68, 48 store i32 %69, ptr %10, align 4 br label %70 70: ; preds = %65, %60, %55 %71 = load ptr, ptr %7, align 8 %72 = load i8, ptr %71, align 1 %73 = zext i8 %72 to i32 %74 = icmp sle i32 65, %73 br i1 %74, label %75, label %85 75: ; preds = %70 %76 = load ptr, ptr %7, align 8 %77 = load i8, ptr %76, align 1 %78 = zext i8 %77 to i32 %79 = icmp sle i32 %78, 90 br i1 %79, label %80, label %85 80: ; preds = %75 %81 = load ptr, ptr %7, align 8 %82 = load i8, ptr %81, align 1 %83 = zext i8 %82 to i32 %84 = sub nsw i32 %83, 55 store i32 %84, ptr %10, align 4 br label %85 85: ; preds = %80, %75, %70 %86 = load ptr, ptr %7, align 8 %87 = load i8, ptr %86, align 1 %88 = zext i8 %87 to i32 %89 = icmp sle i32 97, %88 br i1 %89, label %90, label %100 90: ; preds = %85 %91 = load ptr, ptr %7, align 8 %92 = load i8, ptr %91, align 1 %93 = zext i8 %92 to i32 %94 = icmp sle i32 %93, 122 br i1 %94, label %95, label %100 95: ; preds = %90 %96 = load ptr, ptr %7, align 8 %97 = load i8, ptr %96, align 1 %98 = zext i8 %97 to i32 %99 = sub nsw i32 %98, 87 store i32 %99, ptr %10, align 4 br label %100 100: ; preds = %95, %90, %85 %101 = load i32, ptr %10, align 4 %102 = load i32, ptr %5, align 4 %103 = icmp sge i32 %101, %102 br i1 %103, label %104, label %105 104: ; preds = %100 br label %131 105: ; preds = %100 %106 = load i64, ptr %8, align 8 %107 = load i64, ptr %9, align 8 %108 = icmp ugt i64 %106, %107 br i1 %108, label %109, label %110 109: ; preds = %105 br label %121 110: ; preds = %105 %111 = load i32, ptr %5, align 4 %112 = sext i32 %111 to i64 %113 = load i64, ptr %8, align 8 %114 = mul i64 %113, %112 store i64 %114, ptr %8, align 8 %115 = load i64, ptr %8, align 8 %116 = sub i64 4294967295, %115 %117 = load i32, ptr %10, align 4 %118 = sext i32 %117 to i64 %119 = icmp ult i64 %116, %118 br i1 %119, label %120, label %123 120: ; preds = %110 br label %121 121: ; preds = %120, %109 %122 = load ptr, ptr %6, align 8 store i8 1, ptr %122, align 1 store i64 4294967295, ptr %8, align 8 br label %128 123: ; preds = %110 %124 = load i32, ptr %10, align 4 %125 = sext i32 %124 to i64 %126 = load i64, ptr %8, align 8 %127 = add i64 %126, %125 store i64 %127, ptr %8, align 8 br label %128 128: ; preds = %123, %121 %129 = load ptr, ptr %7, align 8 %130 = getelementptr inbounds i8, ptr %129, i32 1 store ptr %130, ptr %7, align 8 br label %55 131: ; preds = %104 %132 = load ptr, ptr %7, align 8 %133 = load ptr, ptr %4, align 8 store ptr %132, ptr %133, align 8 %134 = load i64, ptr %8, align 8 ret i64 %134 } declare i32 @prefix(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkp82jsaz.c' source_filename = "/tmp/tmpkp82jsaz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"you pressed ctrl+c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sig(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkp82jsaz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"you pressed ctrl+c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sig(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa0wtu1uy.c' source_filename = "/tmp/tmpa0wtu1uy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"This is Main\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"Z:%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 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 10, ptr %2, align 4 store i32 20, ptr %3, align 4 %5 = call i32 @sum(ptr noundef %2, ptr noundef %3) store i32 %5, ptr %4, align 4 %6 = call i32 @puts(ptr noundef @.str) %7 = load i32, ptr %4, align 4 %8 = call i32 @printf(ptr noundef @.str.1, i32 noundef %7) store i32 20, ptr %2, align 4 %9 = call i32 @get(ptr noundef %2, ptr noundef %3) store i32 %9, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10) ret i32 1 } declare i32 @sum(ptr noundef, ptr noundef) #1 declare i32 @puts(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @get(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/tmpa0wtu1uy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"This is Main\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"Z:%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 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 10, ptr %2, align 4 store i32 20, ptr %3, align 4 %5 = call i32 @sum(ptr noundef %2, ptr noundef %3) store i32 %5, ptr %4, align 4 %6 = call i32 @puts(ptr noundef @.str) %7 = load i32, ptr %4, align 4 %8 = call i32 @printf(ptr noundef @.str.1, i32 noundef %7) store i32 20, ptr %2, align 4 %9 = call i32 @get(ptr noundef %2, ptr noundef %3) store i32 %9, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10) ret i32 1 } declare i32 @sum(ptr noundef, ptr noundef) #1 declare i32 @puts(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @get(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/tmpagp6pacu.c' source_filename = "/tmp/tmpagp6pacu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ClrGyr(i16 noundef zeroext %0, i8 noundef zeroext %1) #0 { %3 = alloca i16, align 2 %4 = alloca i8, align 1 %5 = alloca i8, align 1 store i16 %0, ptr %3, align 2 store i8 %1, ptr %4, align 1 %6 = load i16, ptr %3, align 2 %7 = zext i16 %6 to i32 %8 = ashr i32 %7, 8 %9 = trunc i32 %8 to i8 %10 = call i32 @RegWriteA(i32 noundef 399, i8 noundef zeroext %9) %11 = load i16, ptr %3, align 2 %12 = trunc i16 %11 to i8 %13 = call i32 @RegWriteA(i32 noundef 398, i8 noundef zeroext %12) %14 = load i8, ptr %4, align 1 %15 = call i32 @RegWriteA(i32 noundef 258, i8 noundef zeroext %14) br label %16 16: ; preds = %24, %2 %17 = call i32 @RegReadA(i32 noundef 258, ptr noundef %5) %18 = load i8, ptr %4, align 1 %19 = zext i8 %18 to i32 %20 = load i8, ptr %5, align 1 %21 = zext i8 %20 to i32 %22 = and i32 %21, %19 %23 = trunc i32 %22 to i8 store i8 %23, ptr %5, align 1 br label %24 24: ; preds = %16 %25 = load i8, ptr %5, align 1 %26 = zext i8 %25 to i32 %27 = icmp ne i32 %26, 0 br i1 %27, label %16, label %28, !llvm.loop !6 28: ; preds = %24 ret void } declare i32 @RegWriteA(i32 noundef, i8 noundef zeroext) #1 declare i32 @RegReadA(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/tmpagp6pacu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ClrGyr(i16 noundef zeroext %0, i8 noundef zeroext %1) #0 { %3 = alloca i16, align 2 %4 = alloca i8, align 1 %5 = alloca i8, align 1 store i16 %0, ptr %3, align 2 store i8 %1, ptr %4, align 1 %6 = load i16, ptr %3, align 2 %7 = zext i16 %6 to i32 %8 = ashr i32 %7, 8 %9 = trunc i32 %8 to i8 %10 = call i32 @RegWriteA(i32 noundef 399, i8 noundef zeroext %9) %11 = load i16, ptr %3, align 2 %12 = trunc i16 %11 to i8 %13 = call i32 @RegWriteA(i32 noundef 398, i8 noundef zeroext %12) %14 = load i8, ptr %4, align 1 %15 = call i32 @RegWriteA(i32 noundef 258, i8 noundef zeroext %14) br label %16 16: ; preds = %24, %2 %17 = call i32 @RegReadA(i32 noundef 258, ptr noundef %5) %18 = load i8, ptr %4, align 1 %19 = zext i8 %18 to i32 %20 = load i8, ptr %5, align 1 %21 = zext i8 %20 to i32 %22 = and i32 %21, %19 %23 = trunc i32 %22 to i8 store i8 %23, ptr %5, align 1 br label %24 24: ; preds = %16 %25 = load i8, ptr %5, align 1 %26 = zext i8 %25 to i32 %27 = icmp ne i32 %26, 0 br i1 %27, label %16, label %28, !llvm.loop !6 28: ; preds = %24 ret void } declare i32 @RegWriteA(i32 noundef, i8 noundef zeroext) #1 declare i32 @RegReadA(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/tmpzae8mi80.c' source_filename = "/tmp/tmpzae8mi80.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @random_range(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store volatile i32 0, ptr %5, align 4 %6 = call i32 (...) @rand() %7 = load i32, ptr %4, align 4 %8 = add nsw i32 %7, 1 %9 = load i32, ptr %3, align 4 %10 = sub nsw i32 %8, %9 %11 = srem i32 %6, %10 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %11, %12 store volatile i32 %13, ptr %5, align 4 %14 = load volatile i32, ptr %5, align 4 ret i32 %14 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzae8mi80.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @random_range(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store volatile i32 0, ptr %5, align 4 %6 = call i32 (...) @rand() %7 = load i32, ptr %4, align 4 %8 = add nsw i32 %7, 1 %9 = load i32, ptr %3, align 4 %10 = sub nsw i32 %8, %9 %11 = srem i32 %6, %10 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %11, %12 store volatile i32 %13, ptr %5, align 4 %14 = load volatile i32, ptr %5, align 4 ret i32 %14 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp92_xc869.c' source_filename = "/tmp/tmp92_xc869.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @lcd_cursor_vb(i16 noundef signext %0, i16 noundef signext %1) #0 { %3 = alloca i16, align 2 %4 = alloca i16, align 2 store i16 %0, ptr %3, align 2 store i16 %1, ptr %4, align 2 %5 = load i16, ptr %3, align 2 %6 = sext i16 %5 to i32 %7 = shl i32 %6, 1 %8 = or i32 12, %7 %9 = load i16, ptr %4, align 2 %10 = sext i16 %9 to i32 %11 = or i32 %8, %10 %12 = call i32 @lcd_send_byte(i32 noundef 0, i32 noundef %11) ret void } declare i32 @lcd_send_byte(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/tmp92_xc869.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @lcd_cursor_vb(i16 noundef signext %0, i16 noundef signext %1) #0 { %3 = alloca i16, align 2 %4 = alloca i16, align 2 store i16 %0, ptr %3, align 2 store i16 %1, ptr %4, align 2 %5 = load i16, ptr %3, align 2 %6 = sext i16 %5 to i32 %7 = shl i32 %6, 1 %8 = or i32 12, %7 %9 = load i16, ptr %4, align 2 %10 = sext i16 %9 to i32 %11 = or i32 %8, %10 %12 = call i32 @lcd_send_byte(i32 noundef 0, i32 noundef %11) ret void } declare i32 @lcd_send_byte(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp60pma1pt.c' source_filename = "/tmp/tmp60pma1pt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ZLIBH_decompress(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 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %3, align 8 store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = load ptr, ptr %5, align 8 %12 = call i32 @ZLIBH_inflate(ptr noundef %10, ptr noundef %11) store i32 %12, ptr %7, align 4 %13 = load i32, ptr %7, align 4 ret i32 %13 } declare i32 @ZLIBH_inflate(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/tmp60pma1pt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ZLIBH_decompress(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 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %3, align 8 store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = load ptr, ptr %5, align 8 %12 = call i32 @ZLIBH_inflate(ptr noundef %10, ptr noundef %11) store i32 %12, ptr %7, align 4 %13 = load i32, ptr %7, align 4 ret i32 %13 } declare i32 @ZLIBH_inflate(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/tmphrha8zv3.c' source_filename = "/tmp/tmphrha8zv3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"file error\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @oferror(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @exit(i32 noundef 2) #3 unreachable } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphrha8zv3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"file error\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @oferror(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @exit(i32 noundef 2) #3 unreachable } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm8ff29v2.c' source_filename = "/tmp/tmpm8ff29v2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [8 x i8] c"%.3f%%\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 %2, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) br label %5 5: ; preds = %9, %0 %6 = load i32, ptr %2, align 4 %7 = add nsw i32 %6, -1 store i32 %7, ptr %2, align 4 %8 = icmp ne i32 %6, 0 br i1 %8, label %9, label %14 9: ; preds = %5 store i32 0, ptr %3, align 4 %10 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %11 = load i32, ptr %3, align 4 %12 = call double @average_test(i32 noundef %11) %13 = call i32 @printf(ptr noundef @.str.1, double noundef %12) br label %5, !llvm.loop !6 14: ; preds = %5 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, double noundef) #1 declare double @average_test(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/tmpm8ff29v2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [8 x i8] c"%.3f%%\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 %2, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %5 = load i32, ptr %2, align 4 %6 = add nsw i32 %5, -1 store i32 %6, ptr %2, align 4 %7 = icmp ne i32 %5, 0 br i1 %7, label %.lr.ph, label %16 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %8 store i32 0, ptr %3, align 4 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %10 = load i32, ptr %3, align 4 %11 = call double @average_test(i32 noundef %10) %12 = call i32 @printf(ptr noundef @.str.1, double noundef %11) %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, -1 store i32 %14, ptr %2, align 4 %15 = icmp ne i32 %13, 0 br i1 %15, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %16 16: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, double noundef) #1 declare double @average_test(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/tmp12hgcc2g.c' source_filename = "/tmp/tmp12hgcc2g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @int_primes(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds i64, ptr %10, i64 0 store i64 2, ptr %11, align 8 %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds i64, ptr %12, i64 1 store i64 3, ptr %13, align 8 store i64 3, ptr %5, align 8 store i64 2, ptr %6, align 8 br label %14 14: ; preds = %49, %2 %15 = load i64, ptr %6, align 8 %16 = load i64, ptr %3, align 8 %17 = icmp slt i64 %15, %16 br i1 %17, label %18, label %52 18: ; preds = %14 br label %19 19: ; preds = %43, %18 %20 = load i64, ptr %5, align 8 %21 = add nsw i64 %20, 2 store i64 %21, ptr %5, align 8 %22 = load i64, ptr %5, align 8 %23 = call i64 @sqrt(i64 noundef %22) store i64 %23, ptr %9, align 8 store i64 1, ptr %7, align 8 br label %24 24: ; preds = %40, %19 %25 = load ptr, ptr %4, align 8 %26 = load i64, ptr %7, align 8 %27 = getelementptr inbounds i64, ptr %25, i64 %26 %28 = load i64, ptr %27, align 8 store i64 %28, ptr %8, align 8 %29 = load i64, ptr %5, align 8 %30 = load i64, ptr %8, align 8 %31 = srem i64 %29, %30 %32 = icmp eq i64 %31, 0 br i1 %32, label %33, label %34 33: ; preds = %24 br label %43 34: ; preds = %24 %35 = load i64, ptr %8, align 8 %36 = load i64, ptr %9, align 8 %37 = icmp sge i64 %35, %36 br i1 %37, label %38, label %39 38: ; preds = %34 br label %44 39: ; preds = %34 br label %40 40: ; preds = %39 %41 = load i64, ptr %7, align 8 %42 = add nsw i64 %41, 1 store i64 %42, ptr %7, align 8 br label %24 43: ; preds = %33 br label %19 44: ; preds = %38 %45 = load i64, ptr %5, align 8 %46 = load ptr, ptr %4, align 8 %47 = load i64, ptr %6, align 8 %48 = getelementptr inbounds i64, ptr %46, i64 %47 store i64 %45, ptr %48, align 8 br label %49 49: ; preds = %44 %50 = load i64, ptr %6, align 8 %51 = add nsw i64 %50, 1 store i64 %51, ptr %6, align 8 br label %14, !llvm.loop !6 52: ; preds = %14 ret void } declare i64 @sqrt(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/tmp12hgcc2g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @int_primes(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds i64, ptr %10, i64 0 store i64 2, ptr %11, align 8 %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds i64, ptr %12, i64 1 store i64 3, ptr %13, align 8 store i64 3, ptr %5, align 8 store i64 2, ptr %6, align 8 %14 = load i64, ptr %6, align 8 %15 = load i64, ptr %3, align 8 %16 = icmp slt i64 %14, %15 br i1 %16, label %.lr.ph2, label %61 .lr.ph2: ; preds = %2 br label %17 17: ; preds = %.lr.ph2, %55 br label %18 18: ; preds = %49, %17 %19 = load i64, ptr %5, align 8 %20 = add nsw i64 %19, 2 store i64 %20, ptr %5, align 8 %21 = load i64, ptr %5, align 8 %22 = call i64 @sqrt(i64 noundef %21) store i64 %22, ptr %9, align 8 store i64 1, ptr %7, align 8 %23 = load ptr, ptr %4, align 8 %24 = load i64, ptr %7, align 8 %25 = getelementptr inbounds i64, ptr %23, i64 %24 %26 = load i64, ptr %25, align 8 store i64 %26, ptr %8, align 8 %27 = load i64, ptr %5, align 8 %28 = load i64, ptr %8, align 8 %29 = srem i64 %27, %28 %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %.lr.ph .lr.ph: ; preds = %18 br label %32 ._crit_edge: ; preds = %38 br label %31 31: ; preds = %._crit_edge, %18 br label %49 32: ; preds = %.lr.ph, %38 %33 = load i64, ptr %8, align 8 %34 = load i64, ptr %9, align 8 %35 = icmp sge i64 %33, %34 br i1 %35, label %36, label %37 36: ; preds = %32 br label %50 37: ; preds = %32 br label %38 38: ; preds = %37 %39 = load i64, ptr %7, align 8 %40 = add nsw i64 %39, 1 store i64 %40, ptr %7, align 8 %41 = load ptr, ptr %4, align 8 %42 = load i64, ptr %7, align 8 %43 = getelementptr inbounds i64, ptr %41, i64 %42 %44 = load i64, ptr %43, align 8 store i64 %44, ptr %8, align 8 %45 = load i64, ptr %5, align 8 %46 = load i64, ptr %8, align 8 %47 = srem i64 %45, %46 %48 = icmp eq i64 %47, 0 br i1 %48, label %._crit_edge, label %32 49: ; preds = %31 br label %18 50: ; preds = %36 %51 = load i64, ptr %5, align 8 %52 = load ptr, ptr %4, align 8 %53 = load i64, ptr %6, align 8 %54 = getelementptr inbounds i64, ptr %52, i64 %53 store i64 %51, ptr %54, align 8 br label %55 55: ; preds = %50 %56 = load i64, ptr %6, align 8 %57 = add nsw i64 %56, 1 store i64 %57, ptr %6, align 8 %58 = load i64, ptr %6, align 8 %59 = load i64, ptr %3, align 8 %60 = icmp slt i64 %58, %59 br i1 %60, label %17, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %55 br label %61 61: ; preds = %._crit_edge3, %2 ret void } declare i64 @sqrt(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/tmprx1dmkvh.c' source_filename = "/tmp/tmprx1dmkvh.c" target datalayout = "e-m:e-p270: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/tmprx1dmkvh.c" target datalayout = "e-m:e-p270: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/tmpt9yu0ptb.c' source_filename = "/tmp/tmpt9yu0ptb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtol(ptr noalias noundef %0, ptr noalias noundef %1, i32 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp sgt i32 %11, 35 br i1 %12, label %19, label %13 13: ; preds = %3 %14 = load i32, ptr %7, align 4 %15 = icmp eq i32 %14, 1 br i1 %15, label %19, label %16 16: ; preds = %13 %17 = load i32, ptr %7, align 4 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %16, %13, %3 store i64 0, ptr %4, align 8 br label %134 20: ; preds = %16 br label %21 21: ; preds = %26, %20 %22 = load ptr, ptr %5, align 8 %23 = load i8, ptr %22, align 1 %24 = call i64 @isspace(i8 noundef signext %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %21 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %5, align 8 br label %21, !llvm.loop !6 29: ; preds = %21 store i32 43, ptr %10, align 4 %30 = load ptr, ptr %5, align 8 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %32, 45 br i1 %33, label %39, label %34 34: ; preds = %29 %35 = load ptr, ptr %5, align 8 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp eq i32 %37, 43 br i1 %38, label %39, label %44 39: ; preds = %34, %29 %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds i8, ptr %40, i32 1 store ptr %41, ptr %5, align 8 %42 = load i8, ptr %40, align 1 %43 = sext i8 %42 to i32 store i32 %43, ptr %10, align 4 br label %44 44: ; preds = %39, %34 %45 = load i32, ptr %7, align 4 %46 = icmp eq i32 %45, 0 br i1 %46, label %47, label %69 47: ; preds = %44 store i32 10, ptr %7, align 4 %48 = load ptr, ptr %5, align 8 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = icmp eq i32 %50, 48 br i1 %51, label %52, label %68 52: ; preds = %47 store i32 8, ptr %7, align 4 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds i8, ptr %53, i32 1 store ptr %54, ptr %5, align 8 %55 = load ptr, ptr %5, align 8 %56 = load i8, ptr %55, align 1 %57 = sext i8 %56 to i32 %58 = icmp eq i32 %57, 120 br i1 %58, label %64, label %59 59: ; preds = %52 %60 = load ptr, ptr %5, align 8 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = icmp eq i32 %62, 88 br i1 %63, label %64, label %67 64: ; preds = %59, %52 store i32 16, ptr %7, align 4 %65 = load ptr, ptr %5, align 8 %66 = getelementptr inbounds i8, ptr %65, i32 1 store ptr %66, ptr %5, align 8 br label %67 67: ; preds = %64, %59 br label %68 68: ; preds = %67, %47 br label %69 69: ; preds = %68, %44 store i64 0, ptr %8, align 8 br label %70 70: ; preds = %69, %110 %71 = load ptr, ptr %5, align 8 %72 = load i8, ptr %71, align 1 %73 = call i64 @isdigit(i8 noundef signext %72) %74 = icmp ne i64 %73, 0 br i1 %74, label %75, label %80 75: ; preds = %70 %76 = load ptr, ptr %5, align 8 %77 = load i8, ptr %76, align 1 %78 = sext i8 %77 to i32 %79 = sub nsw i32 %78, 48 store i32 %79, ptr %9, align 4 br label %105 80: ; preds = %70 %81 = load ptr, ptr %5, align 8 %82 = load i8, ptr %81, align 1 %83 = call i64 @isupper(i8 noundef signext %82) %84 = icmp ne i64 %83, 0 br i1 %84, label %85, label %91 85: ; preds = %80 %86 = load ptr, ptr %5, align 8 %87 = load i8, ptr %86, align 1 %88 = sext i8 %87 to i32 %89 = sub nsw i32 %88, 65 %90 = add nsw i32 %89, 10 store i32 %90, ptr %9, align 4 br label %104 91: ; preds = %80 %92 = load ptr, ptr %5, align 8 %93 = load i8, ptr %92, align 1 %94 = call i64 @islower(i8 noundef signext %93) %95 = icmp ne i64 %94, 0 br i1 %95, label %96, label %102 96: ; preds = %91 %97 = load ptr, ptr %5, align 8 %98 = load i8, ptr %97, align 1 %99 = sext i8 %98 to i32 %100 = sub nsw i32 %99, 97 %101 = add nsw i32 %100, 10 store i32 %101, ptr %9, align 4 br label %103 102: ; preds = %91 br label %120 103: ; preds = %96 br label %104 104: ; preds = %103, %85 br label %105 105: ; preds = %104, %75 %106 = load i32, ptr %9, align 4 %107 = load i32, ptr %7, align 4 %108 = icmp sge i32 %106, %107 br i1 %108, label %109, label %110 109: ; preds = %105 br label %120 110: ; preds = %105 %111 = load i64, ptr %8, align 8 %112 = load i32, ptr %7, align 4 %113 = sext i32 %112 to i64 %114 = mul nsw i64 %111, %113 %115 = load i32, ptr %9, align 4 %116 = sext i32 %115 to i64 %117 = add nsw i64 %114, %116 store i64 %117, ptr %8, align 8 %118 = load ptr, ptr %5, align 8 %119 = getelementptr inbounds i8, ptr %118, i32 1 store ptr %119, ptr %5, align 8 br label %70 120: ; preds = %109, %102 %121 = load ptr, ptr %6, align 8 %122 = icmp ne ptr %121, null br i1 %122, label %123, label %126 123: ; preds = %120 %124 = load ptr, ptr %5, align 8 %125 = load ptr, ptr %6, align 8 store ptr %124, ptr %125, align 8 br label %126 126: ; preds = %123, %120 %127 = load i32, ptr %10, align 4 %128 = icmp eq i32 %127, 45 br i1 %128, label %129, label %132 129: ; preds = %126 %130 = load i64, ptr %8, align 8 %131 = sub nsw i64 0, %130 store i64 %131, ptr %4, align 8 br label %134 132: ; preds = %126 %133 = load i64, ptr %8, align 8 store i64 %133, ptr %4, align 8 br label %134 134: ; preds = %132, %129, %19 %135 = load i64, ptr %4, align 8 ret i64 %135 } declare i64 @isspace(i8 noundef signext) #1 declare i64 @isdigit(i8 noundef signext) #1 declare i64 @isupper(i8 noundef signext) #1 declare i64 @islower(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/tmpt9yu0ptb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtol(ptr noalias noundef %0, ptr noalias noundef %1, i32 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp sgt i32 %11, 35 br i1 %12, label %19, label %13 13: ; preds = %3 %14 = load i32, ptr %7, align 4 %15 = icmp eq i32 %14, 1 br i1 %15, label %19, label %16 16: ; preds = %13 %17 = load i32, ptr %7, align 4 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %16, %13, %3 store i64 0, ptr %4, align 8 br label %137 20: ; preds = %16 %21 = load ptr, ptr %5, align 8 %22 = load i8, ptr %21, align 1 %23 = call i64 @isspace(i8 noundef signext %22) %24 = icmp ne i64 %23, 0 br i1 %24, label %.lr.ph, label %32 .lr.ph: ; preds = %20 br label %25 25: ; preds = %.lr.ph, %25 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds i8, ptr %26, i32 1 store ptr %27, ptr %5, align 8 %28 = load ptr, ptr %5, align 8 %29 = load i8, ptr %28, align 1 %30 = call i64 @isspace(i8 noundef signext %29) %31 = icmp ne i64 %30, 0 br i1 %31, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %32 32: ; preds = %._crit_edge, %20 store i32 43, ptr %10, align 4 %33 = load ptr, ptr %5, align 8 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp eq i32 %35, 45 br i1 %36, label %42, label %37 37: ; preds = %32 %38 = load ptr, ptr %5, align 8 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %40, 43 br i1 %41, label %42, label %47 42: ; preds = %37, %32 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds i8, ptr %43, i32 1 store ptr %44, ptr %5, align 8 %45 = load i8, ptr %43, align 1 %46 = sext i8 %45 to i32 store i32 %46, ptr %10, align 4 br label %47 47: ; preds = %42, %37 %48 = load i32, ptr %7, align 4 %49 = icmp eq i32 %48, 0 br i1 %49, label %50, label %72 50: ; preds = %47 store i32 10, ptr %7, align 4 %51 = load ptr, ptr %5, align 8 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = icmp eq i32 %53, 48 br i1 %54, label %55, label %71 55: ; preds = %50 store i32 8, ptr %7, align 4 %56 = load ptr, ptr %5, align 8 %57 = getelementptr inbounds i8, ptr %56, i32 1 store ptr %57, ptr %5, align 8 %58 = load ptr, ptr %5, align 8 %59 = load i8, ptr %58, align 1 %60 = sext i8 %59 to i32 %61 = icmp eq i32 %60, 120 br i1 %61, label %67, label %62 62: ; preds = %55 %63 = load ptr, ptr %5, align 8 %64 = load i8, ptr %63, align 1 %65 = sext i8 %64 to i32 %66 = icmp eq i32 %65, 88 br i1 %66, label %67, label %70 67: ; preds = %62, %55 store i32 16, ptr %7, align 4 %68 = load ptr, ptr %5, align 8 %69 = getelementptr inbounds i8, ptr %68, i32 1 store ptr %69, ptr %5, align 8 br label %70 70: ; preds = %67, %62 br label %71 71: ; preds = %70, %50 br label %72 72: ; preds = %71, %47 store i64 0, ptr %8, align 8 br label %73 73: ; preds = %113, %72 %74 = load ptr, ptr %5, align 8 %75 = load i8, ptr %74, align 1 %76 = call i64 @isdigit(i8 noundef signext %75) %77 = icmp ne i64 %76, 0 br i1 %77, label %78, label %83 78: ; preds = %73 %79 = load ptr, ptr %5, align 8 %80 = load i8, ptr %79, align 1 %81 = sext i8 %80 to i32 %82 = sub nsw i32 %81, 48 store i32 %82, ptr %9, align 4 br label %108 83: ; preds = %73 %84 = load ptr, ptr %5, align 8 %85 = load i8, ptr %84, align 1 %86 = call i64 @isupper(i8 noundef signext %85) %87 = icmp ne i64 %86, 0 br i1 %87, label %88, label %94 88: ; preds = %83 %89 = load ptr, ptr %5, align 8 %90 = load i8, ptr %89, align 1 %91 = sext i8 %90 to i32 %92 = sub nsw i32 %91, 65 %93 = add nsw i32 %92, 10 store i32 %93, ptr %9, align 4 br label %107 94: ; preds = %83 %95 = load ptr, ptr %5, align 8 %96 = load i8, ptr %95, align 1 %97 = call i64 @islower(i8 noundef signext %96) %98 = icmp ne i64 %97, 0 br i1 %98, label %99, label %105 99: ; preds = %94 %100 = load ptr, ptr %5, align 8 %101 = load i8, ptr %100, align 1 %102 = sext i8 %101 to i32 %103 = sub nsw i32 %102, 97 %104 = add nsw i32 %103, 10 store i32 %104, ptr %9, align 4 br label %106 105: ; preds = %94 br label %123 106: ; preds = %99 br label %107 107: ; preds = %106, %88 br label %108 108: ; preds = %107, %78 %109 = load i32, ptr %9, align 4 %110 = load i32, ptr %7, align 4 %111 = icmp sge i32 %109, %110 br i1 %111, label %112, label %113 112: ; preds = %108 br label %123 113: ; preds = %108 %114 = load i64, ptr %8, align 8 %115 = load i32, ptr %7, align 4 %116 = sext i32 %115 to i64 %117 = mul nsw i64 %114, %116 %118 = load i32, ptr %9, align 4 %119 = sext i32 %118 to i64 %120 = add nsw i64 %117, %119 store i64 %120, ptr %8, align 8 %121 = load ptr, ptr %5, align 8 %122 = getelementptr inbounds i8, ptr %121, i32 1 store ptr %122, ptr %5, align 8 br label %73 123: ; preds = %112, %105 %124 = load ptr, ptr %6, align 8 %125 = icmp ne ptr %124, null br i1 %125, label %126, label %129 126: ; preds = %123 %127 = load ptr, ptr %5, align 8 %128 = load ptr, ptr %6, align 8 store ptr %127, ptr %128, align 8 br label %129 129: ; preds = %126, %123 %130 = load i32, ptr %10, align 4 %131 = icmp eq i32 %130, 45 br i1 %131, label %132, label %135 132: ; preds = %129 %133 = load i64, ptr %8, align 8 %134 = sub nsw i64 0, %133 store i64 %134, ptr %4, align 8 br label %137 135: ; preds = %129 %136 = load i64, ptr %8, align 8 store i64 %136, ptr %4, align 8 br label %137 137: ; preds = %135, %132, %19 %138 = load i64, ptr %4, align 8 ret i64 %138 } declare i64 @isspace(i8 noundef signext) #1 declare i64 @isdigit(i8 noundef signext) #1 declare i64 @isupper(i8 noundef signext) #1 declare i64 @islower(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/tmpftuq9v9s.c' source_filename = "/tmp/tmpftuq9v9s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [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 i64, align 8 %8 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 255, ptr %6, align 8 store i64 0, ptr %7, align 8 br label %9 9: ; preds = %30, %2 %10 = load i64, ptr %7, align 8 %11 = load i64, ptr %6, align 8 %12 = icmp sle i64 %10, %11 br i1 %12, label %13, label %33 13: ; preds = %9 store i64 0, ptr %8, align 8 br label %14 14: ; preds = %25, %13 %15 = load i64, ptr %8, align 8 %16 = load i64, ptr %6, align 8 %17 = icmp slt i64 %15, %16 br i1 %17, label %18, label %28 18: ; preds = %14 %19 = load i64, ptr %7, align 8 %20 = load i64, ptr %8, align 8 %21 = sub nsw i64 %19, %20 %22 = icmp sge i64 %21, 0 %23 = zext i1 %22 to i32 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %23) br label %25 25: ; preds = %18 %26 = load i64, ptr %8, align 8 %27 = add nsw i64 %26, 1 store i64 %27, ptr %8, align 8 br label %14, !llvm.loop !6 28: ; preds = %14 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %30 30: ; preds = %28 %31 = load i64, ptr %7, align 8 %32 = add nsw i64 %31, 1 store i64 %32, ptr %7, align 8 br label %9, !llvm.loop !8 33: ; preds = %9 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpftuq9v9s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [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 i64, align 8 %8 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 255, ptr %6, align 8 store i64 0, ptr %7, align 8 %9 = load i64, ptr %7, align 8 %10 = load i64, ptr %6, align 8 %11 = icmp sle i64 %9, %10 br i1 %11, label %.lr.ph2, label %37 .lr.ph2: ; preds = %2 br label %12 12: ; preds = %.lr.ph2, %31 store i64 0, ptr %8, align 8 %13 = load i64, ptr %8, align 8 %14 = load i64, ptr %6, align 8 %15 = icmp slt i64 %13, %14 br i1 %15, label %.lr.ph, label %29 .lr.ph: ; preds = %12 br label %16 16: ; preds = %.lr.ph, %23 %17 = load i64, ptr %7, align 8 %18 = load i64, ptr %8, align 8 %19 = sub nsw i64 %17, %18 %20 = icmp sge i64 %19, 0 %21 = zext i1 %20 to i32 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %21) br label %23 23: ; preds = %16 %24 = load i64, ptr %8, align 8 %25 = add nsw i64 %24, 1 store i64 %25, ptr %8, align 8 %26 = load i64, ptr %8, align 8 %27 = load i64, ptr %6, align 8 %28 = icmp slt i64 %26, %27 br i1 %28, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %29 29: ; preds = %._crit_edge, %12 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %31 31: ; preds = %29 %32 = load i64, ptr %7, align 8 %33 = add nsw i64 %32, 1 store i64 %33, ptr %7, align 8 %34 = load i64, ptr %7, align 8 %35 = load i64, ptr %6, align 8 %36 = icmp sle i64 %34, %35 br i1 %36, label %12, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %31 br label %37 37: ; preds = %._crit_edge3, %2 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmplu2va77p.c' source_filename = "/tmp/tmplu2va77p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @clean_path(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i64 @strlen(ptr noundef %7) store i64 %8, ptr %3, align 8 %9 = load ptr, ptr %2, align 8 %10 = load i64, ptr %3, align 8 %11 = sub i64 %10, 1 %12 = getelementptr inbounds i8, ptr %9, i64 %11 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 47 br i1 %15, label %16, label %21 16: ; preds = %1 %17 = load ptr, ptr %2, align 8 %18 = load i64, ptr %3, align 8 %19 = sub i64 %18, 1 %20 = getelementptr inbounds i8, ptr %17, i64 %19 store i8 0, ptr %20, align 1 br label %21 21: ; preds = %16, %1 %22 = load ptr, ptr %2, align 8 %23 = call ptr @path_base(ptr noundef %22) store ptr %23, ptr %4, align 8 %24 = load ptr, ptr %4, align 8 %25 = load ptr, ptr %2, align 8 %26 = icmp eq ptr %24, %25 br i1 %26, label %27, label %28 27: ; preds = %21 store ptr @.str, ptr %5, align 8 br label %32 28: ; preds = %21 %29 = load ptr, ptr %2, align 8 store ptr %29, ptr %5, align 8 %30 = load ptr, ptr %4, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 -1 store i8 0, ptr %31, align 1 br label %32 32: ; preds = %28, %27 %33 = load ptr, ptr %5, align 8 %34 = call ptr @realpath(ptr noundef %33, ptr noundef null) store ptr %34, ptr %5, align 8 %35 = load ptr, ptr %5, align 8 %36 = load ptr, ptr %4, align 8 %37 = call ptr @path_str(ptr noundef %35, ptr noundef %36) store ptr %37, ptr %6, align 8 %38 = load ptr, ptr %5, align 8 %39 = call i32 @free(ptr noundef %38) %40 = load ptr, ptr %6, align 8 ret ptr %40 } declare i64 @strlen(ptr noundef) #1 declare ptr @path_base(ptr noundef) #1 declare ptr @realpath(ptr noundef, ptr noundef) #1 declare ptr @path_str(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplu2va77p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @clean_path(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i64 @strlen(ptr noundef %7) store i64 %8, ptr %3, align 8 %9 = load ptr, ptr %2, align 8 %10 = load i64, ptr %3, align 8 %11 = sub i64 %10, 1 %12 = getelementptr inbounds i8, ptr %9, i64 %11 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 47 br i1 %15, label %16, label %21 16: ; preds = %1 %17 = load ptr, ptr %2, align 8 %18 = load i64, ptr %3, align 8 %19 = sub i64 %18, 1 %20 = getelementptr inbounds i8, ptr %17, i64 %19 store i8 0, ptr %20, align 1 br label %21 21: ; preds = %16, %1 %22 = load ptr, ptr %2, align 8 %23 = call ptr @path_base(ptr noundef %22) store ptr %23, ptr %4, align 8 %24 = load ptr, ptr %4, align 8 %25 = load ptr, ptr %2, align 8 %26 = icmp eq ptr %24, %25 br i1 %26, label %27, label %28 27: ; preds = %21 store ptr @.str, ptr %5, align 8 br label %32 28: ; preds = %21 %29 = load ptr, ptr %2, align 8 store ptr %29, ptr %5, align 8 %30 = load ptr, ptr %4, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 -1 store i8 0, ptr %31, align 1 br label %32 32: ; preds = %28, %27 %33 = load ptr, ptr %5, align 8 %34 = call ptr @realpath(ptr noundef %33, ptr noundef null) store ptr %34, ptr %5, align 8 %35 = load ptr, ptr %5, align 8 %36 = load ptr, ptr %4, align 8 %37 = call ptr @path_str(ptr noundef %35, ptr noundef %36) store ptr %37, ptr %6, align 8 %38 = load ptr, ptr %5, align 8 %39 = call i32 @free(ptr noundef %38) %40 = load ptr, ptr %6, align 8 ret ptr %40 } declare i64 @strlen(ptr noundef) #1 declare ptr @path_base(ptr noundef) #1 declare ptr @realpath(ptr noundef, ptr noundef) #1 declare ptr @path_str(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuz4qysmw.c' source_filename = "/tmp/tmpuz4qysmw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = 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/tmpuz4qysmw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = 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/tmpk8_h490g.c' source_filename = "/tmp/tmpk8_h490g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_copyn(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %10 = load ptr, ptr %7, align 8 %11 = call i64 @str_len(ptr noundef %10) store i64 %11, ptr %8, align 8 store i32 1, ptr %9, align 4 %12 = load i64, ptr %6, align 8 %13 = icmp sle i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %3 store i32 0, ptr %4, align 4 br label %40 15: ; preds = %3 %16 = load i64, ptr %6, align 8 %17 = sub nsw i64 %16, 1 %18 = load i64, ptr %8, align 8 %19 = icmp slt i64 %17, %18 br i1 %19, label %20, label %23 20: ; preds = %15 %21 = load i64, ptr %6, align 8 %22 = sub nsw i64 %21, 1 store i64 %22, ptr %8, align 8 store i32 0, ptr %9, align 4 br label %23 23: ; preds = %20, %15 %24 = load ptr, ptr %5, align 8 %25 = load i64, ptr %8, align 8 %26 = getelementptr inbounds i8, ptr %24, i64 %25 store i8 0, ptr %26, align 1 br label %27 27: ; preds = %30, %23 %28 = load i64, ptr %8, align 8 %29 = icmp sgt i64 %28, 0 br i1 %29, label %30, label %38 30: ; preds = %27 %31 = load ptr, ptr %7, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %7, align 8 %33 = load i8, ptr %31, align 1 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds i8, ptr %34, i32 1 store ptr %35, ptr %5, align 8 store i8 %33, ptr %34, align 1 %36 = load i64, ptr %8, align 8 %37 = add nsw i64 %36, -1 store i64 %37, ptr %8, align 8 br label %27, !llvm.loop !6 38: ; preds = %27 %39 = load i32, ptr %9, align 4 store i32 %39, ptr %4, align 4 br label %40 40: ; preds = %38, %14 %41 = load i32, ptr %4, align 4 ret i32 %41 } declare i64 @str_len(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpk8_h490g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_copyn(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %10 = load ptr, ptr %7, align 8 %11 = call i64 @str_len(ptr noundef %10) store i64 %11, ptr %8, align 8 store i32 1, ptr %9, align 4 %12 = load i64, ptr %6, align 8 %13 = icmp sle i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %3 store i32 0, ptr %4, align 4 br label %41 15: ; preds = %3 %16 = load i64, ptr %6, align 8 %17 = sub nsw i64 %16, 1 %18 = load i64, ptr %8, align 8 %19 = icmp slt i64 %17, %18 br i1 %19, label %20, label %23 20: ; preds = %15 %21 = load i64, ptr %6, align 8 %22 = sub nsw i64 %21, 1 store i64 %22, ptr %8, align 8 store i32 0, ptr %9, align 4 br label %23 23: ; preds = %20, %15 %24 = load ptr, ptr %5, align 8 %25 = load i64, ptr %8, align 8 %26 = getelementptr inbounds i8, ptr %24, i64 %25 store i8 0, ptr %26, align 1 %27 = load i64, ptr %8, align 8 %28 = icmp sgt i64 %27, 0 br i1 %28, label %.lr.ph, label %39 .lr.ph: ; preds = %23 br label %29 29: ; preds = %.lr.ph, %29 %30 = load ptr, ptr %7, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 1 store ptr %31, ptr %7, align 8 %32 = load i8, ptr %30, align 1 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds i8, ptr %33, i32 1 store ptr %34, ptr %5, align 8 store i8 %32, ptr %33, align 1 %35 = load i64, ptr %8, align 8 %36 = add nsw i64 %35, -1 store i64 %36, ptr %8, align 8 %37 = load i64, ptr %8, align 8 %38 = icmp sgt i64 %37, 0 br i1 %38, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %39 39: ; preds = %._crit_edge, %23 %40 = load i32, ptr %9, align 4 store i32 %40, ptr %4, align 4 br label %41 41: ; preds = %39, %14 %42 = load i32, ptr %4, align 4 ret i32 %42 } declare i64 @str_len(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}