llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp75evyxff.c' source_filename = "/tmp/tmp75evyxff.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"%ld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @inv_sysfs_write(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %11, label %10 10: ; preds = %2 store i32 -1, ptr %3, align 4 br label %26 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str) store ptr %13, ptr %6, align 8 %14 = load ptr, ptr %6, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %19, label %16 16: ; preds = %11 %17 = load i32, ptr @errno, align 4 %18 = sub nsw i32 0, %17 store i32 %18, ptr %3, align 4 br label %26 19: ; preds = %11 %20 = load ptr, ptr %6, align 8 %21 = load i64, ptr %5, align 8 %22 = call i32 @fprintf(ptr noundef %20, ptr noundef @.str.1, i64 noundef %21) store i32 %22, ptr %7, align 4 %23 = load ptr, ptr %6, align 8 %24 = call i32 @fclose(ptr noundef %23) %25 = load i32, ptr %7, align 4 store i32 %25, ptr %3, align 4 br label %26 26: ; preds = %19, %16, %10 %27 = load i32, ptr %3, align 4 ret i32 %27 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i64 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/tmp75evyxff.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"%ld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @inv_sysfs_write(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %11, label %10 10: ; preds = %2 store i32 -1, ptr %3, align 4 br label %26 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str) store ptr %13, ptr %6, align 8 %14 = load ptr, ptr %6, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %19, label %16 16: ; preds = %11 %17 = load i32, ptr @errno, align 4 %18 = sub nsw i32 0, %17 store i32 %18, ptr %3, align 4 br label %26 19: ; preds = %11 %20 = load ptr, ptr %6, align 8 %21 = load i64, ptr %5, align 8 %22 = call i32 @fprintf(ptr noundef %20, ptr noundef @.str.1, i64 noundef %21) store i32 %22, ptr %7, align 4 %23 = load ptr, ptr %6, align 8 %24 = call i32 @fclose(ptr noundef %23) %25 = load i32, ptr %7, align 4 store i32 %25, ptr %3, align 4 br label %26 26: ; preds = %19, %16, %10 %27 = load i32, ptr %3, align 4 ret i32 %27 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i64 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/tmp4a70pi2v.c' source_filename = "/tmp/tmp4a70pi2v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"func_b! %d of %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @func_b(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %14, %1 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %5, %6 br i1 %7, label %8, label %17 8: ; preds = %4 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %10) %12 = load i32, ptr %3, align 4 %13 = call i32 @func_a(i32 noundef %12) br label %14 14: ; preds = %8 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 br label %4, !llvm.loop !6 17: ; preds = %4 ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @func_a(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/tmp4a70pi2v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"func_b! %d of %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @func_b(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %4, %5 br i1 %6, label %.lr.ph, label %19 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %13 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %9) %11 = load i32, ptr %3, align 4 %12 = call i32 @func_a(i32 noundef %11) br label %13 13: ; preds = %7 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %3, align 4 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %2, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %19 19: ; preds = %._crit_edge, %1 ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @func_a(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/tmp88yg7of4.c' source_filename = "/tmp/tmp88yg7of4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ISR_CYCLES_Stop() #0 { %1 = call i32 (...) @ISR_CYCLES_Disable() ret void } declare i32 @ISR_CYCLES_Disable(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp88yg7of4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ISR_CYCLES_Stop() #0 { %1 = call i32 (...) @ISR_CYCLES_Disable() ret void } declare i32 @ISR_CYCLES_Disable(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE 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_tzehime.c' source_filename = "/tmp/tmp_tzehime.c" target datalayout = "e-m:e-p270: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.PeakData = type { float, float } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"usage: %s [threshold] <peakfile>\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Cannot open file '%s'\0A\00", align 1 @.str.3 = private unnamed_addr constant [49 x i8] c" # ) audio sample range : MIN MAX\0A\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"%8d) %10d - %10d: %+.3f %+.3f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca float, align 4 %9 = alloca ptr, align 8 %10 = alloca %struct.PeakData, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store float -1.000000e+00, ptr %8, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %11, 2 br i1 %12, label %16, label %13 13: ; preds = %2 %14 = load i32, ptr %4, align 4 %15 = icmp sgt i32 %14, 3 br i1 %15, label %16, label %22 16: ; preds = %13, %2 %17 = load i32, ptr @stderr, align 4 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 0 %20 = load ptr, ptr %19, align 8 %21 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str, ptr noundef %20) store i32 -1, ptr %3, align 4 br label %95 22: ; preds = %13 %23 = load i32, ptr %4, align 4 %24 = icmp eq i32 %23, 3 br i1 %24, label %25, label %30 25: ; preds = %22 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 1 %28 = load ptr, ptr %27, align 8 %29 = call float @atof(ptr noundef %28) store float %29, ptr %8, align 4 br label %30 30: ; preds = %25, %22 %31 = load ptr, ptr %5, align 8 %32 = load i32, ptr %4, align 4 %33 = sub nsw i32 %32, 1 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds ptr, ptr %31, i64 %34 %36 = load ptr, ptr %35, align 8 %37 = call ptr @fopen(ptr noundef %36, ptr noundef @.str.1) store ptr %37, ptr %9, align 8 %38 = load ptr, ptr %9, align 8 %39 = icmp ne ptr %38, null br i1 %39, label %49, label %40 40: ; preds = %30 %41 = load i32, ptr @stderr, align 4 %42 = load ptr, ptr %5, align 8 %43 = load i32, ptr %4, align 4 %44 = sub nsw i32 %43, 1 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds ptr, ptr %42, i64 %45 %47 = load ptr, ptr %46, align 8 %48 = call i32 @fprintf(i32 noundef %41, ptr noundef @.str.2, ptr noundef %47) store i32 -1, ptr %3, align 4 br label %95 49: ; preds = %30 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %51 51: ; preds = %89, %49 %52 = load ptr, ptr %9, align 8 %53 = call i32 @feof(ptr noundef %52) %54 = icmp ne i32 %53, 0 %55 = xor i1 %54, true br i1 %55, label %56, label %92 56: ; preds = %51 %57 = load ptr, ptr %9, align 8 %58 = call i64 @fread(ptr noundef %10, i32 noundef 8, i32 noundef 1, ptr noundef %57) %59 = icmp sle i64 %58, 0 br i1 %59, label %60, label %61 60: ; preds = %56 br label %92 61: ; preds = %56 %62 = getelementptr inbounds %struct.PeakData, ptr %10, i32 0, i32 0 %63 = load float, ptr %62, align 4 %64 = call float @llvm.fabs.f32(float %63) %65 = load float, ptr %8, align 4 %66 = fcmp ogt float %64, %65 br i1 %66, label %73, label %67 67: ; preds = %61 %68 = getelementptr inbounds %struct.PeakData, ptr %10, i32 0, i32 1 %69 = load float, ptr %68, align 4 %70 = call float @llvm.fabs.f32(float %69) %71 = load float, ptr %8, align 4 %72 = fcmp ogt float %70, %71 br i1 %72, label %73, label %89 73: ; preds = %67, %61 %74 = load i32, ptr %7, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %7, align 4 %76 = load i32, ptr %6, align 4 %77 = mul nsw i32 256, %76 %78 = load i32, ptr %6, align 4 %79 = add nsw i32 %78, 1 %80 = mul nsw i32 256, %79 %81 = sub nsw i32 %80, 1 %82 = getelementptr inbounds %struct.PeakData, ptr %10, i32 0, i32 0 %83 = load float, ptr %82, align 4 %84 = fpext float %83 to double %85 = getelementptr inbounds %struct.PeakData, ptr %10, i32 0, i32 1 %86 = load float, ptr %85, align 4 %87 = fpext float %86 to double %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %75, i32 noundef %77, i32 noundef %81, double noundef %84, double noundef %87) br label %89 89: ; preds = %73, %67 %90 = load i32, ptr %6, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %6, align 4 br label %51, !llvm.loop !6 92: ; preds = %60, %51 %93 = load ptr, ptr %9, align 8 %94 = call i32 @fclose(ptr noundef %93) store i32 0, ptr %3, align 4 br label %95 95: ; preds = %92, %40, %16 %96 = load i32, ptr %3, align 4 ret i32 %96 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare float @atof(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @feof(ptr noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fabs.f32(float) #2 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_tzehime.c" target datalayout = "e-m:e-p270: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.PeakData = type { float, float } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"usage: %s [threshold] <peakfile>\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Cannot open file '%s'\0A\00", align 1 @.str.3 = private unnamed_addr constant [49 x i8] c" # ) audio sample range : MIN MAX\0A\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"%8d) %10d - %10d: %+.3f %+.3f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca float, align 4 %9 = alloca ptr, align 8 %10 = alloca %struct.PeakData, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store float -1.000000e+00, ptr %8, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %11, 2 br i1 %12, label %16, label %13 13: ; preds = %2 %14 = load i32, ptr %4, align 4 %15 = icmp sgt i32 %14, 3 br i1 %15, label %16, label %22 16: ; preds = %13, %2 %17 = load i32, ptr @stderr, align 4 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 0 %20 = load ptr, ptr %19, align 8 %21 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str, ptr noundef %20) store i32 -1, ptr %3, align 4 br label %98 22: ; preds = %13 %23 = load i32, ptr %4, align 4 %24 = icmp eq i32 %23, 3 br i1 %24, label %25, label %30 25: ; preds = %22 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 1 %28 = load ptr, ptr %27, align 8 %29 = call float @atof(ptr noundef %28) store float %29, ptr %8, align 4 br label %30 30: ; preds = %25, %22 %31 = load ptr, ptr %5, align 8 %32 = load i32, ptr %4, align 4 %33 = sub nsw i32 %32, 1 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds ptr, ptr %31, i64 %34 %36 = load ptr, ptr %35, align 8 %37 = call ptr @fopen(ptr noundef %36, ptr noundef @.str.1) store ptr %37, ptr %9, align 8 %38 = load ptr, ptr %9, align 8 %39 = icmp ne ptr %38, null br i1 %39, label %49, label %40 40: ; preds = %30 %41 = load i32, ptr @stderr, align 4 %42 = load ptr, ptr %5, align 8 %43 = load i32, ptr %4, align 4 %44 = sub nsw i32 %43, 1 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds ptr, ptr %42, i64 %45 %47 = load ptr, ptr %46, align 8 %48 = call i32 @fprintf(i32 noundef %41, ptr noundef @.str.2, ptr noundef %47) store i32 -1, ptr %3, align 4 br label %98 49: ; preds = %30 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %51 = load ptr, ptr %9, align 8 %52 = call i32 @feof(ptr noundef %51) %53 = icmp ne i32 %52, 0 %54 = xor i1 %53, true br i1 %54, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %49 br label %55 55: ; preds = %.lr.ph, %88 %56 = load ptr, ptr %9, align 8 %57 = call i64 @fread(ptr noundef %10, i32 noundef 8, i32 noundef 1, ptr noundef %56) %58 = icmp sle i64 %57, 0 br i1 %58, label %59, label %60 59: ; preds = %55 br label %95 60: ; preds = %55 %61 = getelementptr inbounds %struct.PeakData, ptr %10, i32 0, i32 0 %62 = load float, ptr %61, align 4 %63 = call float @llvm.fabs.f32(float %62) %64 = load float, ptr %8, align 4 %65 = fcmp ogt float %63, %64 br i1 %65, label %72, label %66 66: ; preds = %60 %67 = getelementptr inbounds %struct.PeakData, ptr %10, i32 0, i32 1 %68 = load float, ptr %67, align 4 %69 = call float @llvm.fabs.f32(float %68) %70 = load float, ptr %8, align 4 %71 = fcmp ogt float %69, %70 br i1 %71, label %72, label %88 72: ; preds = %66, %60 %73 = load i32, ptr %7, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %7, align 4 %75 = load i32, ptr %6, align 4 %76 = mul nsw i32 256, %75 %77 = load i32, ptr %6, align 4 %78 = add nsw i32 %77, 1 %79 = mul nsw i32 256, %78 %80 = sub nsw i32 %79, 1 %81 = getelementptr inbounds %struct.PeakData, ptr %10, i32 0, i32 0 %82 = load float, ptr %81, align 4 %83 = fpext float %82 to double %84 = getelementptr inbounds %struct.PeakData, ptr %10, i32 0, i32 1 %85 = load float, ptr %84, align 4 %86 = fpext float %85 to double %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %74, i32 noundef %76, i32 noundef %80, double noundef %83, double noundef %86) br label %88 88: ; preds = %72, %66 %89 = load i32, ptr %6, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %6, align 4 %91 = load ptr, ptr %9, align 8 %92 = call i32 @feof(ptr noundef %91) %93 = icmp ne i32 %92, 0 %94 = xor i1 %93, true br i1 %94, label %55, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %88 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %49 br label %95 95: ; preds = %.loopexit, %59 %96 = load ptr, ptr %9, align 8 %97 = call i32 @fclose(ptr noundef %96) store i32 0, ptr %3, align 4 br label %98 98: ; preds = %95, %40, %16 %99 = load i32, ptr %3, align 4 ret i32 %99 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare float @atof(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @feof(ptr noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fabs.f32(float) #2 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpj4pswas3.c' source_filename = "/tmp/tmpj4pswas3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ResetISR() #0 { %1 = load volatile i32, ptr inttoptr (i64 3758157192 to ptr), align 4 %2 = and i32 %1, -15728641 %3 = or i32 %2, 3145728 %4 = or i32 %3, 12582912 store volatile i32 %4, ptr inttoptr (i64 3758157192 to ptr), align 4 %5 = call i32 (...) @__iar_program_start() ret void } declare i32 @__iar_program_start(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj4pswas3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ResetISR() #0 { %1 = load volatile i32, ptr inttoptr (i64 3758157192 to ptr), align 4 %2 = and i32 %1, -15728641 %3 = or i32 %2, 3145728 %4 = or i32 %3, 12582912 store volatile i32 %4, ptr inttoptr (i64 3758157192 to ptr), align 4 %5 = call i32 (...) @__iar_program_start() ret void } declare i32 @__iar_program_start(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpno0tyi87.c' source_filename = "/tmp/tmpno0tyi87.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isANum(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 br label %4 4: ; preds = %19, %1 %5 = load ptr, ptr %3, align 8 %6 = load i8, ptr %5, align 1 %7 = icmp ne i8 %6, 0 br i1 %7, label %8, label %22 8: ; preds = %4 %9 = load ptr, ptr %3, align 8 %10 = load i8, ptr %9, align 1 %11 = call i32 @isdigit(i8 noundef signext %10) %12 = icmp ne i32 %11, 0 br i1 %12, label %19, label %13 13: ; preds = %8 %14 = load ptr, ptr %3, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 45 br i1 %17, label %18, label %19 18: ; preds = %13 store i32 0, ptr %2, align 4 br label %23 19: ; preds = %13, %8 %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %3, align 8 br label %4, !llvm.loop !6 22: ; preds = %4 store i32 1, ptr %2, align 4 br label %23 23: ; preds = %22, %18 %24 = load i32, ptr %2, align 4 ret i32 %24 } declare i32 @isdigit(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpno0tyi87.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isANum(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = load i8, ptr %4, align 1 %6 = icmp ne i8 %5, 0 br i1 %6, label %.lr.ph, label %24 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %18 %8 = load ptr, ptr %3, align 8 %9 = load i8, ptr %8, align 1 %10 = call i32 @isdigit(i8 noundef signext %9) %11 = icmp ne i32 %10, 0 br i1 %11, label %18, label %12 12: ; preds = %7 %13 = load ptr, ptr %3, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 45 br i1 %16, label %17, label %18 17: ; preds = %12 store i32 0, ptr %2, align 4 br label %25 18: ; preds = %12, %7 %19 = load ptr, ptr %3, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %3, align 8 %21 = load ptr, ptr %3, align 8 %22 = load i8, ptr %21, align 1 %23 = icmp ne i8 %22, 0 br i1 %23, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %24 24: ; preds = %._crit_edge, %1 store i32 1, ptr %2, align 4 br label %25 25: ; preds = %24, %17 %26 = load i32, ptr %2, align 4 ret i32 %26 } declare i32 @isdigit(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp1fwqvdu6.c' source_filename = "/tmp/tmp1fwqvdu6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"/proc/self/pagemap\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @getRealMemPage(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = call ptr @valloc(i32 noundef 4096) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds i32, ptr %9, i64 0 store i32 1, ptr %10, align 4 %11 = load ptr, ptr %5, align 8 %12 = call i32 @mlock(ptr noundef %11, i32 noundef 4096) %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %3, align 8 store ptr %13, ptr %14, align 8 %15 = call i32 @open(ptr noundef @.str, i8 noundef signext 114) store i32 %15, ptr %7, align 4 %16 = load i32, ptr %7, align 4 %17 = load ptr, ptr %5, align 8 %18 = ptrtoint ptr %17 to i32 %19 = sdiv i32 %18, 4096 %20 = mul nsw i32 %19, 8 %21 = load i32, ptr @SEEK_SET, align 4 %22 = call i32 @lseek(i32 noundef %16, i32 noundef %20, i32 noundef %21) %23 = load i32, ptr %7, align 4 %24 = call i32 @read(i32 noundef %23, ptr noundef %6, i32 noundef 8) %25 = load i64, ptr %6, align 8 %26 = mul i64 %25, 4096 %27 = trunc i64 %26 to i32 %28 = sext i32 %27 to i64 %29 = inttoptr i64 %28 to ptr %30 = load ptr, ptr %4, align 8 store ptr %29, ptr %30, align 8 ret void } declare ptr @valloc(i32 noundef) #1 declare i32 @mlock(ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i8 noundef signext) #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1fwqvdu6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"/proc/self/pagemap\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @getRealMemPage(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = call ptr @valloc(i32 noundef 4096) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds i32, ptr %9, i64 0 store i32 1, ptr %10, align 4 %11 = load ptr, ptr %5, align 8 %12 = call i32 @mlock(ptr noundef %11, i32 noundef 4096) %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %3, align 8 store ptr %13, ptr %14, align 8 %15 = call i32 @open(ptr noundef @.str, i8 noundef signext 114) store i32 %15, ptr %7, align 4 %16 = load i32, ptr %7, align 4 %17 = load ptr, ptr %5, align 8 %18 = ptrtoint ptr %17 to i32 %19 = sdiv i32 %18, 4096 %20 = mul nsw i32 %19, 8 %21 = load i32, ptr @SEEK_SET, align 4 %22 = call i32 @lseek(i32 noundef %16, i32 noundef %20, i32 noundef %21) %23 = load i32, ptr %7, align 4 %24 = call i32 @read(i32 noundef %23, ptr noundef %6, i32 noundef 8) %25 = load i64, ptr %6, align 8 %26 = mul i64 %25, 4096 %27 = trunc i64 %26 to i32 %28 = sext i32 %27 to i64 %29 = inttoptr i64 %28 to ptr %30 = load ptr, ptr %4, align 8 store ptr %29, ptr %30, align 8 ret void } declare ptr @valloc(i32 noundef) #1 declare i32 @mlock(ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i8 noundef signext) #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpye0ik1x7.c' source_filename = "/tmp/tmpye0ik1x7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strspn(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 = %42, %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 %45 13: ; preds = %9 %14 = load ptr, ptr %5, align 8 store ptr %14, ptr %7, align 8 br label %15 15: ; preds = %28, %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 %31 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 %28 27: ; preds = %19 br label %31 28: ; preds = %19 %29 = load ptr, ptr %7, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %7, align 8 br label %15, !llvm.loop !6 31: ; preds = %27, %15 %32 = load ptr, ptr %7, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %42 36: ; preds = %31 %37 = load ptr, ptr %6, align 8 %38 = load ptr, ptr %4, align 8 %39 = ptrtoint ptr %37 to i64 %40 = ptrtoint ptr %38 to i64 %41 = sub i64 %39, %40 store i64 %41, ptr %3, align 8 br label %51 42: ; preds = %31 %43 = load ptr, ptr %6, align 8 %44 = getelementptr inbounds i8, ptr %43, i32 1 store ptr %44, ptr %6, align 8 br label %9, !llvm.loop !8 45: ; preds = %9 %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, %36 %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 = '<stdin>' source_filename = "/tmp/tmpye0ik1x7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strspn(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.ph1, label %49 .lr.ph1: ; preds = %2 br label %12 12: ; preds = %.lr.ph1, %43 %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 %.loopexit .lr.ph: ; preds = %12 br label %17 17: ; preds = %.lr.ph, %26 %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 %26 25: ; preds = %17 br label %32 26: ; preds = %17 %27 = load ptr, ptr %7, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %7, align 8 %29 = load ptr, ptr %7, align 8 %30 = load i8, ptr %29, align 1 %31 = icmp ne i8 %30, 0 br i1 %31, label %17, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %26 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %12 br label %32 32: ; preds = %.loopexit, %25 %33 = load ptr, ptr %7, align 8 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp eq i32 %35, 0 br i1 %36, label %37, label %43 37: ; preds = %32 %38 = load ptr, ptr %6, align 8 %39 = load ptr, ptr %4, align 8 %40 = ptrtoint ptr %38 to i64 %41 = ptrtoint ptr %39 to i64 %42 = sub i64 %40, %41 store i64 %42, ptr %3, align 8 br label %55 43: ; preds = %32 %44 = load ptr, ptr %6, align 8 %45 = getelementptr inbounds i8, ptr %44, i32 1 store ptr %45, ptr %6, align 8 %46 = load ptr, ptr %6, align 8 %47 = load i8, ptr %46, align 1 %48 = icmp ne i8 %47, 0 br i1 %48, label %12, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %43 br label %49 49: ; preds = %._crit_edge, %2 %50 = load ptr, ptr %6, align 8 %51 = load ptr, ptr %4, align 8 %52 = ptrtoint ptr %50 to i64 %53 = ptrtoint ptr %51 to i64 %54 = sub i64 %52, %53 store i64 %54, ptr %3, align 8 br label %55 55: ; preds = %49, %37 %56 = load i64, ptr %3, align 8 ret i64 %56 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpu38j1x70.c' source_filename = "/tmp/tmpu38j1x70.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca double, align 8 %8 = alloca i64, align 8 %9 = alloca float, align 4 %10 = alloca double, align 8 %11 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = zext i32 %12 to i64 %14 = call ptr @llvm.stacksave() store ptr %14, ptr %5, align 8 %15 = alloca i8, i64 %13, align 16 store i64 %13, ptr %6, align 8 %16 = load i32, ptr %4, align 4 %17 = zext i32 %16 to i64 %18 = alloca float, i64 %17, align 16 store i64 %17, ptr %8, align 8 store i32 0, ptr %11, align 4 br label %19 19: ; preds = %40, %2 %20 = load i32, ptr %11, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %43 23: ; preds = %19 %24 = call float (...) @rand_float() %25 = fcmp olt float %24, 0x3FC99999A0000000 br i1 %25, label %26, label %30 26: ; preds = %23 %27 = load i32, ptr %11, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %15, i64 %28 store i8 1, ptr %29, align 1 br label %34 30: ; preds = %23 %31 = load i32, ptr %11, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %15, i64 %32 store i8 0, ptr %33, align 1 br label %34 34: ; preds = %30, %26 %35 = call float (...) @rand_float() %36 = call float @llvm.fmuladd.f32(float %35, float 2.000000e+04, float -1.000000e+04) %37 = load i32, ptr %11, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds float, ptr %18, i64 %38 store float %36, ptr %39, align 4 br label %40 40: ; preds = %34 %41 = load i32, ptr %11, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %11, align 4 br label %19, !llvm.loop !6 43: ; preds = %19 store float 0.000000e+00, ptr %9, align 4 %44 = call double (...) @tic() store double %44, ptr %10, align 8 store i32 0, ptr %11, align 4 br label %45 45: ; preds = %58, %43 %46 = load i32, ptr %11, align 4 %47 = load i32, ptr %3, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %49, label %61 49: ; preds = %45 %50 = load i32, ptr %4, align 4 %51 = call float @stdlib_strided_smskmin(i32 noundef %50, ptr noundef %18, i32 noundef 1, ptr noundef %15, i32 noundef 1) store float %51, ptr %9, align 4 %52 = load float, ptr %9, align 4 %53 = load float, ptr %9, align 4 %54 = fcmp une float %52, %53 br i1 %54, label %55, label %57 55: ; preds = %49 %56 = call i32 @printf(ptr noundef @.str) br label %61 57: ; preds = %49 br label %58 58: ; preds = %57 %59 = load i32, ptr %11, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %11, align 4 br label %45, !llvm.loop !8 61: ; preds = %55, %45 %62 = call double (...) @tic() %63 = load double, ptr %10, align 8 %64 = fsub double %62, %63 store double %64, ptr %7, align 8 %65 = load float, ptr %9, align 4 %66 = load float, ptr %9, align 4 %67 = fcmp une float %65, %66 br i1 %67, label %68, label %70 68: ; preds = %61 %69 = call i32 @printf(ptr noundef @.str) br label %70 70: ; preds = %68, %61 %71 = load double, ptr %7, align 8 %72 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %72) ret double %71 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare float @rand_float(...) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #3 declare double @tic(...) #2 declare float @stdlib_strided_smskmin(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu38j1x70.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca double, align 8 %8 = alloca i64, align 8 %9 = alloca float, align 4 %10 = alloca double, align 8 %11 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = zext i32 %12 to i64 %14 = call ptr @llvm.stacksave() store ptr %14, ptr %5, align 8 %15 = alloca i8, i64 %13, align 16 store i64 %13, ptr %6, align 8 %16 = load i32, ptr %4, align 4 %17 = zext i32 %16 to i64 %18 = alloca float, i64 %17, align 16 store i64 %17, ptr %8, align 8 store i32 0, ptr %11, align 4 %19 = load i32, ptr %11, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %.lr.ph, label %45 .lr.ph: ; preds = %2 br label %22 22: ; preds = %.lr.ph, %39 %23 = call float (...) @rand_float() %24 = fcmp olt float %23, 0x3FC99999A0000000 br i1 %24, label %25, label %29 25: ; preds = %22 %26 = load i32, ptr %11, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %15, i64 %27 store i8 1, ptr %28, align 1 br label %33 29: ; preds = %22 %30 = load i32, ptr %11, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %15, i64 %31 store i8 0, ptr %32, align 1 br label %33 33: ; preds = %29, %25 %34 = call float (...) @rand_float() %35 = call float @llvm.fmuladd.f32(float %34, float 2.000000e+04, float -1.000000e+04) %36 = load i32, ptr %11, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds float, ptr %18, i64 %37 store float %35, ptr %38, align 4 br label %39 39: ; preds = %33 %40 = load i32, ptr %11, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %11, align 4 %42 = load i32, ptr %11, align 4 %43 = load i32, ptr %4, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %39 br label %45 45: ; preds = %._crit_edge, %2 store float 0.000000e+00, ptr %9, align 4 %46 = call double (...) @tic() store double %46, ptr %10, align 8 store i32 0, ptr %11, align 4 %47 = load i32, ptr %11, align 4 %48 = load i32, ptr %3, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %45 br label %50 50: ; preds = %.lr.ph2, %59 %51 = load i32, ptr %4, align 4 %52 = call float @stdlib_strided_smskmin(i32 noundef %51, ptr noundef %18, i32 noundef 1, ptr noundef %15, i32 noundef 1) store float %52, ptr %9, align 4 %53 = load float, ptr %9, align 4 %54 = load float, ptr %9, align 4 %55 = fcmp une float %53, %54 br i1 %55, label %56, label %58 56: ; preds = %50 %57 = call i32 @printf(ptr noundef @.str) br label %65 58: ; preds = %50 br label %59 59: ; preds = %58 %60 = load i32, ptr %11, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %11, align 4 %62 = load i32, ptr %11, align 4 %63 = load i32, ptr %3, align 4 %64 = icmp slt i32 %62, %63 br i1 %64, label %50, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %59 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %45 br label %65 65: ; preds = %.loopexit, %56 %66 = call double (...) @tic() %67 = load double, ptr %10, align 8 %68 = fsub double %66, %67 store double %68, ptr %7, align 8 %69 = load float, ptr %9, align 4 %70 = load float, ptr %9, align 4 %71 = fcmp une float %69, %70 br i1 %71, label %72, label %74 72: ; preds = %65 %73 = call i32 @printf(ptr noundef @.str) br label %74 74: ; preds = %72, %65 %75 = load double, ptr %7, align 8 %76 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %76) ret double %75 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare float @rand_float(...) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #3 declare double @tic(...) #2 declare float @stdlib_strided_smskmin(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpgz4n0u2j.c' source_filename = "/tmp/tmpgz4n0u2j.c" target datalayout = "e-m:e-p270: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/tmpgz4n0u2j.c" target datalayout = "e-m:e-p270: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/tmpwp0fagt6.c' source_filename = "/tmp/tmpwp0fagt6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skew_array(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = sub nsw i32 %7, 1 store i32 %8, ptr %6, align 4 br label %9 9: ; preds = %13, %2 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %28 13: ; preds = %9 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %6, align 4 %17 = call i32 @swap(ptr noundef %14, i32 noundef %15, i32 noundef %16) %18 = call i32 (...) @rand() %19 = srem i32 %18, 50 %20 = add nsw i32 50, %19 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, %20 store i32 %22, ptr %5, align 4 %23 = call i32 (...) @rand() %24 = srem i32 %23, 50 %25 = add nsw i32 50, %24 %26 = load i32, ptr %6, align 4 %27 = sub nsw i32 %26, %25 store i32 %27, ptr %6, align 4 br label %9, !llvm.loop !6 28: ; preds = %9 ret void } declare i32 @swap(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwp0fagt6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skew_array(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = sub nsw i32 %7, 1 store i32 %8, ptr %6, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %30 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %12 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %6, align 4 %16 = call i32 @swap(ptr noundef %13, i32 noundef %14, i32 noundef %15) %17 = call i32 (...) @rand() %18 = srem i32 %17, 50 %19 = add nsw i32 50, %18 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, %19 store i32 %21, ptr %5, align 4 %22 = call i32 (...) @rand() %23 = srem i32 %22, 50 %24 = add nsw i32 50, %23 %25 = load i32, ptr %6, align 4 %26 = sub nsw i32 %25, %24 store i32 %26, ptr %6, align 4 %27 = load i32, ptr %5, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %30 30: ; preds = %._crit_edge, %2 ret void } declare i32 @swap(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpia73xpz2.c' source_filename = "/tmp/tmpia73xpz2.c" target datalayout = "e-m:e-p270: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/tmpia73xpz2.c" target datalayout = "e-m:e-p270: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/tmpega2rdf4.c' source_filename = "/tmp/tmpega2rdf4.c" target datalayout = "e-m:e-p270: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/tmpega2rdf4.c" target datalayout = "e-m:e-p270: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/tmps0bkeu9i.c' source_filename = "/tmp/tmps0bkeu9i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @noExpr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %21, %1 %5 = load ptr, ptr %2, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %7, label %19 7: ; preds = %4 %8 = load ptr, ptr %2, align 8 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %19 12: ; preds = %7 %13 = load ptr, ptr %2, align 8 %14 = getelementptr inbounds i8, ptr %13, i32 1 store ptr %14, ptr %2, align 8 %15 = load i8, ptr %13, align 1 %16 = sext i8 %15 to i32 %17 = call i64 @isspace(i32 noundef %16) %18 = icmp ne i64 %17, 0 br label %19 19: ; preds = %12, %7, %4 %20 = phi i1 [ false, %7 ], [ false, %4 ], [ %18, %12 ] br i1 %20, label %21, label %22 21: ; preds = %19 br label %4, !llvm.loop !6 22: ; preds = %19 %23 = load ptr, ptr %2, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %22 store i32 1, ptr %3, align 4 br label %29 28: ; preds = %22 store i32 0, ptr %3, align 4 br label %29 29: ; preds = %28, %27 %30 = load i32, ptr %3, align 4 ret i32 %30 } declare i64 @isspace(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/tmps0bkeu9i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @noExpr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %19, %1 %5 = load ptr, ptr %2, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %7, label %19 7: ; preds = %4 %8 = load ptr, ptr %2, align 8 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %19 12: ; preds = %7 %13 = load ptr, ptr %2, align 8 %14 = getelementptr inbounds i8, ptr %13, i32 1 store ptr %14, ptr %2, align 8 %15 = load i8, ptr %13, align 1 %16 = sext i8 %15 to i32 %17 = call i64 @isspace(i32 noundef %16) %18 = icmp ne i64 %17, 0 br label %19 19: ; preds = %12, %7, %4 %20 = phi i1 [ false, %7 ], [ false, %4 ], [ %18, %12 ] br i1 %20, label %4, label %21, !llvm.loop !6 21: ; preds = %19 %22 = load ptr, ptr %2, align 8 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %21 store i32 1, ptr %3, align 4 br label %28 27: ; preds = %21 store i32 0, ptr %3, align 4 br label %28 28: ; preds = %27, %26 %29 = load i32, ptr %3, align 4 ret i32 %29 } declare i64 @isspace(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/tmppjmxjd4f.c' source_filename = "/tmp/tmppjmxjd4f.c" target datalayout = "e-m:e-p270: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/tmppjmxjd4f.c" target datalayout = "e-m:e-p270: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/tmp5i2cjqqa.c' source_filename = "/tmp/tmp5i2cjqqa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @caml_gr_current_y() #0 { %1 = call i32 @exit(i32 noundef 1) #2 unreachable } ; Function Attrs: noreturn declare i32 @exit(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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5i2cjqqa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @caml_gr_current_y() #0 { %1 = call i32 @exit(i32 noundef 1) #2 unreachable } ; Function Attrs: noreturn declare i32 @exit(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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy8rcjrel.c' source_filename = "/tmp/tmpy8rcjrel.c" target datalayout = "e-m:e-p270: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 i64 0, align 8 @.str = private unnamed_addr constant [13 x i8] c"raw_tty_putc\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @tty_putc(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i64 @raw_tty_putc(i32 noundef %3) %5 = load i64, ptr @EOF, align 8 %6 = icmp eq i64 %4, %5 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = call i32 @err(i32 noundef 1, ptr noundef @.str) br label %9 9: ; preds = %7, %1 ret void } declare i64 @raw_tty_putc(i32 noundef) #1 declare i32 @err(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy8rcjrel.c" target datalayout = "e-m:e-p270: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 i64 0, align 8 @.str = private unnamed_addr constant [13 x i8] c"raw_tty_putc\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @tty_putc(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i64 @raw_tty_putc(i32 noundef %3) %5 = load i64, ptr @EOF, align 8 %6 = icmp eq i64 %4, %5 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = call i32 @err(i32 noundef 1, ptr noundef @.str) br label %9 9: ; preds = %7, %1 ret void } declare i64 @raw_tty_putc(i32 noundef) #1 declare i32 @err(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp03woncec.c' source_filename = "/tmp/tmp03woncec.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_strdup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) %7 = add nsw i32 %6, 1 %8 = sext i32 %7 to i64 store i64 %8, ptr %3, align 8 %9 = load i64, ptr %3, align 8 %10 = call ptr @malloc(i64 noundef %9) store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %18 13: ; preds = %1 %14 = load ptr, ptr %4, align 8 %15 = load ptr, ptr %2, align 8 %16 = load i64, ptr %3, align 8 %17 = call i32 @memcpy(ptr noundef %14, ptr noundef %15, i64 noundef %16) br label %18 18: ; preds = %13, %1 %19 = load ptr, ptr %4, align 8 ret ptr %19 } declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp03woncec.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_strdup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) %7 = add nsw i32 %6, 1 %8 = sext i32 %7 to i64 store i64 %8, ptr %3, align 8 %9 = load i64, ptr %3, align 8 %10 = call ptr @malloc(i64 noundef %9) store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %18 13: ; preds = %1 %14 = load ptr, ptr %4, align 8 %15 = load ptr, ptr %2, align 8 %16 = load i64, ptr %3, align 8 %17 = call i32 @memcpy(ptr noundef %14, ptr noundef %15, i64 noundef %16) br label %18 18: ; preds = %13, %1 %19 = load ptr, ptr %4, align 8 ret ptr %19 } declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbij4i9mb.c' source_filename = "/tmp/tmpbij4i9mb.c" target datalayout = "e-m:e-p270: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/tmpbij4i9mb.c" target datalayout = "e-m:e-p270: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/tmp3foe5u7y.c' source_filename = "/tmp/tmp3foe5u7y.c" target datalayout = "e-m:e-p270: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/tmp3foe5u7y.c" target datalayout = "e-m:e-p270: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/tmpyzus6h9_.c' source_filename = "/tmp/tmpyzus6h9_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %10 = load ptr, ptr %4, align 8 store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %5, align 8 store ptr %11, ptr %8, align 8 %12 = load i64, ptr %6, align 8 store i64 %12, ptr %9, align 8 %13 = load i64, ptr %9, align 8 %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %35 15: ; preds = %3 %16 = load i64, ptr %9, align 8 %17 = add i64 %16, -1 store i64 %17, ptr %9, align 8 %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %35 19: ; preds = %15 br label %20 20: ; preds = %30, %19 %21 = load ptr, ptr %8, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %8, align 8 %23 = load i8, ptr %21, align 1 %24 = load ptr, ptr %7, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %7, align 8 store i8 %23, ptr %24, align 1 %26 = sext i8 %23 to i32 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %29 28: ; preds = %20 br label %34 29: ; preds = %20 br label %30 30: ; preds = %29 %31 = load i64, ptr %9, align 8 %32 = add i64 %31, -1 store i64 %32, ptr %9, align 8 %33 = icmp ne i64 %32, 0 br i1 %33, label %20, label %34, !llvm.loop !6 34: ; preds = %30, %28 br label %35 35: ; preds = %34, %15, %3 %36 = load i64, ptr %9, align 8 %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %51 38: ; preds = %35 %39 = load i64, ptr %6, align 8 %40 = icmp ne i64 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %38 %42 = load ptr, ptr %7, align 8 store i8 0, ptr %42, align 1 br label %43 43: ; preds = %41, %38 br label %44 44: ; preds = %49, %43 %45 = load ptr, ptr %8, align 8 %46 = getelementptr inbounds i8, ptr %45, i32 1 store ptr %46, ptr %8, align 8 %47 = load i8, ptr %45, align 1 %48 = icmp ne i8 %47, 0 br i1 %48, label %49, label %50 49: ; preds = %44 br label %44, !llvm.loop !8 50: ; preds = %44 br label %51 51: ; preds = %50, %35 %52 = load ptr, ptr %8, align 8 %53 = load ptr, ptr %5, align 8 %54 = ptrtoint ptr %52 to i64 %55 = ptrtoint ptr %53 to i64 %56 = sub i64 %54, %55 %57 = sub nsw i64 %56, 1 ret i64 %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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyzus6h9_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %10 = load ptr, ptr %4, align 8 store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %5, align 8 store ptr %11, ptr %8, align 8 %12 = load i64, ptr %6, align 8 store i64 %12, ptr %9, align 8 %13 = load i64, ptr %9, align 8 %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %35 15: ; preds = %3 %16 = load i64, ptr %9, align 8 %17 = add i64 %16, -1 store i64 %17, ptr %9, align 8 %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %35 19: ; preds = %15 br label %20 20: ; preds = %30, %19 %21 = load ptr, ptr %8, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %8, align 8 %23 = load i8, ptr %21, align 1 %24 = load ptr, ptr %7, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %7, align 8 store i8 %23, ptr %24, align 1 %26 = sext i8 %23 to i32 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %29 28: ; preds = %20 br label %34 29: ; preds = %20 br label %30 30: ; preds = %29 %31 = load i64, ptr %9, align 8 %32 = add i64 %31, -1 store i64 %32, ptr %9, align 8 %33 = icmp ne i64 %32, 0 br i1 %33, label %20, label %.loopexit, !llvm.loop !6 .loopexit: ; preds = %30 br label %34 34: ; preds = %.loopexit, %28 br label %35 35: ; preds = %34, %15, %3 %36 = load i64, ptr %9, align 8 %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %50 38: ; preds = %35 %39 = load i64, ptr %6, align 8 %40 = icmp ne i64 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %38 %42 = load ptr, ptr %7, align 8 store i8 0, ptr %42, align 1 br label %43 43: ; preds = %41, %38 br label %44 44: ; preds = %44, %43 %45 = load ptr, ptr %8, align 8 %46 = getelementptr inbounds i8, ptr %45, i32 1 store ptr %46, ptr %8, align 8 %47 = load i8, ptr %45, align 1 %48 = icmp ne i8 %47, 0 br i1 %48, label %44, label %49, !llvm.loop !8 49: ; preds = %44 br label %50 50: ; preds = %49, %35 %51 = load ptr, ptr %8, align 8 %52 = load ptr, ptr %5, align 8 %53 = ptrtoint ptr %51 to i64 %54 = ptrtoint ptr %52 to i64 %55 = sub i64 %53, %54 %56 = sub nsw i64 %55, 1 ret i64 %56 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpx5ozahfa.c' source_filename = "/tmp/tmpx5ozahfa.c" target datalayout = "e-m:e-p270: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/tmpx5ozahfa.c" target datalayout = "e-m:e-p270: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/tmp5ekc19c5.c' source_filename = "/tmp/tmp5ekc19c5.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"Between %d and %d, \00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"%d has a maximum of %d divisors.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [10001 x i32], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = load i32, ptr @stdin, align 4 %14 = call i32 @fflush(i32 noundef %13) %15 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %7) br label %16 16: ; preds = %64, %2 %17 = load i32, ptr %7, align 4 %18 = add nsw i32 %17, -1 store i32 %18, ptr %7, align 4 %19 = icmp ne i32 %17, 0 br i1 %19, label %20, label %68 20: ; preds = %16 call void @llvm.memset.p0.i64(ptr align 16 %12, i8 0, i64 40004, i1 false) store i32 0, ptr %11, align 4 store i32 0, ptr %10, align 4 %21 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %8, ptr noundef %9) %22 = load i32, ptr %9, align 4 %23 = load i32, ptr %8, align 4 %24 = sub nsw i32 %22, %23 %25 = icmp sgt i32 %24, 10000 br i1 %25, label %26, label %27 26: ; preds = %20 store i32 1, ptr %3, align 4 br label %69 27: ; preds = %20 %28 = load i32, ptr %8, align 4 %29 = load i32, ptr %9, align 4 %30 = call i32 @printf(ptr noundef @.str.2, i32 noundef %28, i32 noundef %29) %31 = load i32, ptr %8, align 4 store i32 %31, ptr %6, align 4 br label %32 32: ; preds = %61, %27 %33 = load i32, ptr %6, align 4 %34 = load i32, ptr %9, align 4 %35 = icmp sle i32 %33, %34 br i1 %35, label %36, label %64 36: ; preds = %32 %37 = load i32, ptr %6, align 4 %38 = call i32 @Factor(i32 noundef %37) %39 = load i32, ptr %6, align 4 %40 = load i32, ptr %8, align 4 %41 = sub nsw i32 %39, %40 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [10001 x i32], ptr %12, i64 0, i64 %42 store i32 %38, ptr %43, align 4 %44 = load i32, ptr %10, align 4 %45 = load i32, ptr %6, align 4 %46 = load i32, ptr %8, align 4 %47 = sub nsw i32 %45, %46 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [10001 x i32], ptr %12, i64 0, i64 %48 %50 = load i32, ptr %49, align 4 %51 = icmp slt i32 %44, %50 br i1 %51, label %52, label %60 52: ; preds = %36 %53 = load i32, ptr %6, align 4 %54 = load i32, ptr %8, align 4 %55 = sub nsw i32 %53, %54 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [10001 x i32], ptr %12, i64 0, i64 %56 %58 = load i32, ptr %57, align 4 store i32 %58, ptr %10, align 4 %59 = load i32, ptr %6, align 4 store i32 %59, ptr %11, align 4 br label %60 60: ; preds = %52, %36 br label %61 61: ; preds = %60 %62 = load i32, ptr %6, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %6, align 4 br label %32, !llvm.loop !6 64: ; preds = %32 %65 = load i32, ptr %11, align 4 %66 = load i32, ptr %10, align 4 %67 = call i32 @printf(ptr noundef @.str.3, i32 noundef %65, i32 noundef %66) br label %16, !llvm.loop !8 68: ; preds = %16 store i32 0, ptr %3, align 4 br label %69 69: ; preds = %68, %26 %70 = load i32, ptr %3, align 4 ret i32 %70 } declare i32 @fflush(i32 noundef) #1 declare i32 @scanf(ptr noundef, 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 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @Factor(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5ekc19c5.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"Between %d and %d, \00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"%d has a maximum of %d divisors.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [10001 x i32], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = load i32, ptr @stdin, align 4 %14 = call i32 @fflush(i32 noundef %13) %15 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %7) %16 = load i32, ptr %7, align 4 %17 = add nsw i32 %16, -1 store i32 %17, ptr %7, align 4 %18 = icmp ne i32 %16, 0 br i1 %18, label %.lr.ph2, label %72 .lr.ph2: ; preds = %2 br label %19 19: ; preds = %.lr.ph2, %65 call void @llvm.memset.p0.i64(ptr align 16 %12, i8 0, i64 40004, i1 false) store i32 0, ptr %11, align 4 store i32 0, ptr %10, align 4 %20 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %8, ptr noundef %9) %21 = load i32, ptr %9, align 4 %22 = load i32, ptr %8, align 4 %23 = sub nsw i32 %21, %22 %24 = icmp sgt i32 %23, 10000 br i1 %24, label %25, label %26 25: ; preds = %19 store i32 1, ptr %3, align 4 br label %73 26: ; preds = %19 %27 = load i32, ptr %8, align 4 %28 = load i32, ptr %9, align 4 %29 = call i32 @printf(ptr noundef @.str.2, i32 noundef %27, i32 noundef %28) %30 = load i32, ptr %8, align 4 store i32 %30, ptr %6, align 4 %31 = load i32, ptr %6, align 4 %32 = load i32, ptr %9, align 4 %33 = icmp sle i32 %31, %32 br i1 %33, label %.lr.ph, label %65 .lr.ph: ; preds = %26 br label %34 34: ; preds = %.lr.ph, %59 %35 = load i32, ptr %6, align 4 %36 = call i32 @Factor(i32 noundef %35) %37 = load i32, ptr %6, align 4 %38 = load i32, ptr %8, align 4 %39 = sub nsw i32 %37, %38 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [10001 x i32], ptr %12, i64 0, i64 %40 store i32 %36, ptr %41, align 4 %42 = load i32, ptr %10, align 4 %43 = load i32, ptr %6, align 4 %44 = load i32, ptr %8, align 4 %45 = sub nsw i32 %43, %44 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [10001 x i32], ptr %12, i64 0, i64 %46 %48 = load i32, ptr %47, align 4 %49 = icmp slt i32 %42, %48 br i1 %49, label %50, label %58 50: ; preds = %34 %51 = load i32, ptr %6, align 4 %52 = load i32, ptr %8, align 4 %53 = sub nsw i32 %51, %52 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [10001 x i32], ptr %12, i64 0, i64 %54 %56 = load i32, ptr %55, align 4 store i32 %56, ptr %10, align 4 %57 = load i32, ptr %6, align 4 store i32 %57, ptr %11, align 4 br label %58 58: ; preds = %50, %34 br label %59 59: ; preds = %58 %60 = load i32, ptr %6, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %6, align 4 %62 = load i32, ptr %6, align 4 %63 = load i32, ptr %9, align 4 %64 = icmp sle i32 %62, %63 br i1 %64, label %34, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %59 br label %65 65: ; preds = %._crit_edge, %26 %66 = load i32, ptr %11, align 4 %67 = load i32, ptr %10, align 4 %68 = call i32 @printf(ptr noundef @.str.3, i32 noundef %66, i32 noundef %67) %69 = load i32, ptr %7, align 4 %70 = add nsw i32 %69, -1 store i32 %70, ptr %7, align 4 %71 = icmp ne i32 %69, 0 br i1 %71, label %19, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %65 br label %72 72: ; preds = %._crit_edge3, %2 store i32 0, ptr %3, align 4 br label %73 73: ; preds = %72, %25 %74 = load i32, ptr %3, align 4 ret i32 %74 } declare i32 @fflush(i32 noundef) #1 declare i32 @scanf(ptr noundef, 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 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @Factor(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpzmhg9t27.c' source_filename = "/tmp/tmpzmhg9t27.c" target datalayout = "e-m:e-p270: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/tmpzmhg9t27.c" target datalayout = "e-m:e-p270: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/tmp2b4wkswq.c' source_filename = "/tmp/tmp2b4wkswq.c" target datalayout = "e-m:e-p270: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/tmp2b4wkswq.c" target datalayout = "e-m:e-p270: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/tmpd93g_iqc.c' source_filename = "/tmp/tmpd93g_iqc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd93g_iqc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1fs1z7p8.c' source_filename = "/tmp/tmp1fs1z7p8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kendl1(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca float, align 4 %19 = alloca float, align 4 %20 = alloca float, align 4 %21 = alloca float, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 store i64 0, ptr %13, align 8 store i64 0, ptr %14, align 8 store i64 0, ptr %17, align 8 store i64 1, ptr %16, align 8 br label %22 22: ; preds = %91, %6 %23 = load i64, ptr %16, align 8 %24 = load i64, ptr %9, align 8 %25 = icmp ult i64 %23, %24 br i1 %25, label %26, label %94 26: ; preds = %22 %27 = load i64, ptr %16, align 8 %28 = add i64 %27, 1 store i64 %28, ptr %15, align 8 br label %29 29: ; preds = %87, %26 %30 = load i64, ptr %15, align 8 %31 = load i64, ptr %9, align 8 %32 = icmp ule i64 %30, %31 br i1 %32, label %33, label %90 33: ; preds = %29 %34 = load ptr, ptr %7, align 8 %35 = load i64, ptr %16, align 8 %36 = getelementptr inbounds float, ptr %34, i64 %35 %37 = load float, ptr %36, align 4 %38 = load ptr, ptr %7, align 8 %39 = load i64, ptr %15, align 8 %40 = getelementptr inbounds float, ptr %38, i64 %39 %41 = load float, ptr %40, align 4 %42 = fsub float %37, %41 store float %42, ptr %21, align 4 %43 = load ptr, ptr %8, align 8 %44 = load i64, ptr %16, align 8 %45 = getelementptr inbounds float, ptr %43, i64 %44 %46 = load float, ptr %45, align 4 %47 = load ptr, ptr %8, align 8 %48 = load i64, ptr %15, align 8 %49 = getelementptr inbounds float, ptr %47, i64 %48 %50 = load float, ptr %49, align 4 %51 = fsub float %46, %50 store float %51, ptr %20, align 4 %52 = load float, ptr %21, align 4 %53 = load float, ptr %20, align 4 %54 = fmul float %52, %53 store float %54, ptr %19, align 4 %55 = load float, ptr %19, align 4 %56 = fcmp une float %55, 0.000000e+00 br i1 %56, label %57, label %73 57: ; preds = %33 %58 = load i64, ptr %14, align 8 %59 = add i64 %58, 1 store i64 %59, ptr %14, align 8 %60 = load i64, ptr %13, align 8 %61 = add i64 %60, 1 store i64 %61, ptr %13, align 8 %62 = load float, ptr %19, align 4 %63 = fpext float %62 to double %64 = fcmp ogt double %63, 0.000000e+00 br i1 %64, label %65, label %68 65: ; preds = %57 %66 = load i64, ptr %17, align 8 %67 = add nsw i64 %66, 1 store i64 %67, ptr %17, align 8 br label %71 68: ; preds = %57 %69 = load i64, ptr %17, align 8 %70 = add nsw i64 %69, -1 store i64 %70, ptr %17, align 8 br label %71 71: ; preds = %68, %65 %72 = phi i64 [ %67, %65 ], [ %70, %68 ] br label %86 73: ; preds = %33 %74 = load float, ptr %21, align 4 %75 = fcmp une float %74, 0.000000e+00 br i1 %75, label %76, label %79 76: ; preds = %73 %77 = load i64, ptr %14, align 8 %78 = add i64 %77, 1 store i64 %78, ptr %14, align 8 br label %79 79: ; preds = %76, %73 %80 = load float, ptr %20, align 4 %81 = fcmp une float %80, 0.000000e+00 br i1 %81, label %82, label %85 82: ; preds = %79 %83 = load i64, ptr %13, align 8 %84 = add i64 %83, 1 store i64 %84, ptr %13, align 8 br label %85 85: ; preds = %82, %79 br label %86 86: ; preds = %85, %71 br label %87 87: ; preds = %86 %88 = load i64, ptr %15, align 8 %89 = add i64 %88, 1 store i64 %89, ptr %15, align 8 br label %29, !llvm.loop !6 90: ; preds = %29 br label %91 91: ; preds = %90 %92 = load i64, ptr %16, align 8 %93 = add i64 %92, 1 store i64 %93, ptr %16, align 8 br label %22, !llvm.loop !8 94: ; preds = %22 %95 = load i64, ptr %17, align 8 %96 = sitofp i64 %95 to float %97 = load i64, ptr %14, align 8 %98 = uitofp i64 %97 to double %99 = fptrunc double %98 to float %100 = call float @sqrt(float noundef %99) %101 = load i64, ptr %13, align 8 %102 = uitofp i64 %101 to double %103 = fptrunc double %102 to float %104 = call float @sqrt(float noundef %103) %105 = fmul float %100, %104 %106 = fdiv float %96, %105 %107 = load ptr, ptr %10, align 8 store float %106, ptr %107, align 4 %108 = load i64, ptr %9, align 8 %109 = uitofp i64 %108 to double %110 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %109, double 1.000000e+01) %111 = load i64, ptr %9, align 8 %112 = uitofp i64 %111 to double %113 = fmul double 9.000000e+00, %112 %114 = load i64, ptr %9, align 8 %115 = uitofp i64 %114 to double %116 = fsub double %115, 1.000000e+00 %117 = fmul double %113, %116 %118 = fdiv double %110, %117 %119 = fptrunc double %118 to float store float %119, ptr %18, align 4 %120 = load ptr, ptr %10, align 8 %121 = load float, ptr %120, align 4 %122 = load float, ptr %18, align 4 %123 = call float @sqrt(float noundef %122) %124 = fdiv float %121, %123 %125 = load ptr, ptr %11, align 8 store float %124, ptr %125, align 4 %126 = load ptr, ptr %11, align 8 %127 = load float, ptr %126, align 4 %128 = call double @fabs(float noundef %127) %129 = fdiv double %128, 0x3FF6A09E7098EF50 %130 = fptrunc double %129 to float %131 = call float @erfcc(float noundef %130) %132 = load ptr, ptr %12, align 8 store float %131, ptr %132, align 4 ret void } declare float @sqrt(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare float @erfcc(float noundef) #1 declare double @fabs(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1fs1z7p8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kendl1(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca float, align 4 %19 = alloca float, align 4 %20 = alloca float, align 4 %21 = alloca float, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 store i64 0, ptr %13, align 8 store i64 0, ptr %14, align 8 store i64 0, ptr %17, align 8 store i64 1, ptr %16, align 8 %22 = load i64, ptr %16, align 8 %23 = load i64, ptr %9, align 8 %24 = icmp ult i64 %22, %23 br i1 %24, label %.lr.ph2, label %98 .lr.ph2: ; preds = %6 br label %25 25: ; preds = %.lr.ph2, %92 %26 = load i64, ptr %16, align 8 %27 = add i64 %26, 1 store i64 %27, ptr %15, align 8 %28 = load i64, ptr %15, align 8 %29 = load i64, ptr %9, align 8 %30 = icmp ule i64 %28, %29 br i1 %30, label %.lr.ph, label %91 .lr.ph: ; preds = %25 br label %31 31: ; preds = %.lr.ph, %85 %32 = load ptr, ptr %7, align 8 %33 = load i64, ptr %16, align 8 %34 = getelementptr inbounds float, ptr %32, i64 %33 %35 = load float, ptr %34, align 4 %36 = load ptr, ptr %7, align 8 %37 = load i64, ptr %15, align 8 %38 = getelementptr inbounds float, ptr %36, i64 %37 %39 = load float, ptr %38, align 4 %40 = fsub float %35, %39 store float %40, ptr %21, align 4 %41 = load ptr, ptr %8, align 8 %42 = load i64, ptr %16, align 8 %43 = getelementptr inbounds float, ptr %41, i64 %42 %44 = load float, ptr %43, align 4 %45 = load ptr, ptr %8, align 8 %46 = load i64, ptr %15, align 8 %47 = getelementptr inbounds float, ptr %45, i64 %46 %48 = load float, ptr %47, align 4 %49 = fsub float %44, %48 store float %49, ptr %20, align 4 %50 = load float, ptr %21, align 4 %51 = load float, ptr %20, align 4 %52 = fmul float %50, %51 store float %52, ptr %19, align 4 %53 = load float, ptr %19, align 4 %54 = fcmp une float %53, 0.000000e+00 br i1 %54, label %55, label %71 55: ; preds = %31 %56 = load i64, ptr %14, align 8 %57 = add i64 %56, 1 store i64 %57, ptr %14, align 8 %58 = load i64, ptr %13, align 8 %59 = add i64 %58, 1 store i64 %59, ptr %13, align 8 %60 = load float, ptr %19, align 4 %61 = fpext float %60 to double %62 = fcmp ogt double %61, 0.000000e+00 br i1 %62, label %63, label %66 63: ; preds = %55 %64 = load i64, ptr %17, align 8 %65 = add nsw i64 %64, 1 store i64 %65, ptr %17, align 8 br label %69 66: ; preds = %55 %67 = load i64, ptr %17, align 8 %68 = add nsw i64 %67, -1 store i64 %68, ptr %17, align 8 br label %69 69: ; preds = %66, %63 %70 = phi i64 [ %65, %63 ], [ %68, %66 ] br label %84 71: ; preds = %31 %72 = load float, ptr %21, align 4 %73 = fcmp une float %72, 0.000000e+00 br i1 %73, label %74, label %77 74: ; preds = %71 %75 = load i64, ptr %14, align 8 %76 = add i64 %75, 1 store i64 %76, ptr %14, align 8 br label %77 77: ; preds = %74, %71 %78 = load float, ptr %20, align 4 %79 = fcmp une float %78, 0.000000e+00 br i1 %79, label %80, label %83 80: ; preds = %77 %81 = load i64, ptr %13, align 8 %82 = add i64 %81, 1 store i64 %82, ptr %13, align 8 br label %83 83: ; preds = %80, %77 br label %84 84: ; preds = %83, %69 br label %85 85: ; preds = %84 %86 = load i64, ptr %15, align 8 %87 = add i64 %86, 1 store i64 %87, ptr %15, align 8 %88 = load i64, ptr %15, align 8 %89 = load i64, ptr %9, align 8 %90 = icmp ule i64 %88, %89 br i1 %90, label %31, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %85 br label %91 91: ; preds = %._crit_edge, %25 br label %92 92: ; preds = %91 %93 = load i64, ptr %16, align 8 %94 = add i64 %93, 1 store i64 %94, ptr %16, align 8 %95 = load i64, ptr %16, align 8 %96 = load i64, ptr %9, align 8 %97 = icmp ult i64 %95, %96 br i1 %97, label %25, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %92 br label %98 98: ; preds = %._crit_edge3, %6 %99 = load i64, ptr %17, align 8 %100 = sitofp i64 %99 to float %101 = load i64, ptr %14, align 8 %102 = uitofp i64 %101 to double %103 = fptrunc double %102 to float %104 = call float @sqrt(float noundef %103) %105 = load i64, ptr %13, align 8 %106 = uitofp i64 %105 to double %107 = fptrunc double %106 to float %108 = call float @sqrt(float noundef %107) %109 = fmul float %104, %108 %110 = fdiv float %100, %109 %111 = load ptr, ptr %10, align 8 store float %110, ptr %111, align 4 %112 = load i64, ptr %9, align 8 %113 = uitofp i64 %112 to double %114 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %113, double 1.000000e+01) %115 = load i64, ptr %9, align 8 %116 = uitofp i64 %115 to double %117 = fmul double 9.000000e+00, %116 %118 = load i64, ptr %9, align 8 %119 = uitofp i64 %118 to double %120 = fsub double %119, 1.000000e+00 %121 = fmul double %117, %120 %122 = fdiv double %114, %121 %123 = fptrunc double %122 to float store float %123, ptr %18, align 4 %124 = load ptr, ptr %10, align 8 %125 = load float, ptr %124, align 4 %126 = load float, ptr %18, align 4 %127 = call float @sqrt(float noundef %126) %128 = fdiv float %125, %127 %129 = load ptr, ptr %11, align 8 store float %128, ptr %129, align 4 %130 = load ptr, ptr %11, align 8 %131 = load float, ptr %130, align 4 %132 = call double @fabs(float noundef %131) %133 = fdiv double %132, 0x3FF6A09E7098EF50 %134 = fptrunc double %133 to float %135 = call float @erfcc(float noundef %134) %136 = load ptr, ptr %12, align 8 store float %135, ptr %136, align 4 ret void } declare float @sqrt(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare float @erfcc(float noundef) #1 declare double @fabs(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpg8926mkj.c' source_filename = "/tmp/tmpg8926mkj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @insertionSort(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 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %6, align 4 store i32 1, ptr %5, align 4 br label %8 8: ; preds = %58, %2 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %61 12: ; preds = %8 %13 = load i32, ptr %5, align 4 store i32 %13, ptr %6, align 4 br label %14 14: ; preds = %33, %12 %15 = load i32, ptr %6, align 4 %16 = icmp sgt i32 %15, 0 br i1 %16, label %17, label %31 17: ; preds = %14 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %6, align 4 %20 = sub nsw i32 %19, 1 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds ptr, ptr %18, i64 %21 %23 = load ptr, ptr %22, align 8 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %24, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strcmp(ptr noundef %23, ptr noundef %28) %30 = icmp sgt i64 %29, 0 br label %31 31: ; preds = %17, %14 %32 = phi i1 [ false, %14 ], [ %30, %17 ] br i1 %32, label %33, label %57 33: ; preds = %31 %34 = load ptr, ptr %3, align 8 %35 = load i32, ptr %6, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds ptr, ptr %34, i64 %36 %38 = load ptr, ptr %37, align 8 store ptr %38, ptr %7, align 8 %39 = load ptr, ptr %3, align 8 %40 = load i32, ptr %6, align 4 %41 = sub nsw i32 %40, 1 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds ptr, ptr %39, i64 %42 %44 = load ptr, ptr %43, align 8 %45 = load ptr, ptr %3, align 8 %46 = load i32, ptr %6, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds ptr, ptr %45, i64 %47 store ptr %44, ptr %48, align 8 %49 = load ptr, ptr %7, align 8 %50 = load ptr, ptr %3, align 8 %51 = load i32, ptr %6, align 4 %52 = sub nsw i32 %51, 1 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds ptr, ptr %50, i64 %53 store ptr %49, ptr %54, align 8 %55 = load i32, ptr %6, align 4 %56 = add nsw i32 %55, -1 store i32 %56, ptr %6, align 4 br label %14, !llvm.loop !6 57: ; preds = %31 br label %58 58: ; preds = %57 %59 = load i32, ptr %5, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %5, align 4 br label %8, !llvm.loop !8 61: ; preds = %8 ret void } declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg8926mkj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @insertionSort(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 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %6, align 4 store i32 1, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %63 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %57 %12 = load i32, ptr %5, align 4 store i32 %12, ptr %6, align 4 br label %13 13: ; preds = %32, %11 %14 = load i32, ptr %6, align 4 %15 = icmp sgt i32 %14, 0 br i1 %15, label %16, label %30 16: ; preds = %13 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %6, align 4 %19 = sub nsw i32 %18, 1 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds ptr, ptr %17, i64 %20 %22 = load ptr, ptr %21, align 8 %23 = load ptr, ptr %3, align 8 %24 = load i32, ptr %6, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %23, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strcmp(ptr noundef %22, ptr noundef %27) %29 = icmp sgt i64 %28, 0 br label %30 30: ; preds = %16, %13 %31 = phi i1 [ false, %13 ], [ %29, %16 ] br i1 %31, label %32, label %56 32: ; preds = %30 %33 = load ptr, ptr %3, align 8 %34 = load i32, ptr %6, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds ptr, ptr %33, i64 %35 %37 = load ptr, ptr %36, align 8 store ptr %37, ptr %7, align 8 %38 = load ptr, ptr %3, align 8 %39 = load i32, ptr %6, align 4 %40 = sub nsw i32 %39, 1 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds ptr, ptr %38, i64 %41 %43 = load ptr, ptr %42, align 8 %44 = load ptr, ptr %3, align 8 %45 = load i32, ptr %6, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds ptr, ptr %44, i64 %46 store ptr %43, ptr %47, align 8 %48 = load ptr, ptr %7, align 8 %49 = load ptr, ptr %3, align 8 %50 = load i32, ptr %6, align 4 %51 = sub nsw i32 %50, 1 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds ptr, ptr %49, i64 %52 store ptr %48, ptr %53, align 8 %54 = load i32, ptr %6, align 4 %55 = add nsw i32 %54, -1 store i32 %55, ptr %6, align 4 br label %13, !llvm.loop !6 56: ; preds = %30 br label %57 57: ; preds = %56 %58 = load i32, ptr %5, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %5, align 4 %60 = load i32, ptr %5, align 4 %61 = load i32, ptr %4, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %11, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %57 br label %63 63: ; preds = %._crit_edge, %2 ret void } declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpwar6gski.c' source_filename = "/tmp/tmpwar6gski.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @end_win(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 = call i32 @delwin(ptr noundef %5) %7 = load ptr, ptr %4, align 8 %8 = call i32 @delwin(ptr noundef %7) %9 = call i32 (...) @endwin() ret void } declare i32 @delwin(ptr noundef) #1 declare i32 @endwin(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwar6gski.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @end_win(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 = call i32 @delwin(ptr noundef %5) %7 = load ptr, ptr %4, align 8 %8 = call i32 @delwin(ptr noundef %7) %9 = call i32 (...) @endwin() ret void } declare i32 @delwin(ptr noundef) #1 declare i32 @endwin(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyuuzqycn.c' source_filename = "/tmp/tmpyuuzqycn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @output_plain(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 @printf(ptr noundef @.str, ptr noundef %3) %5 = load i32, ptr @stdout, align 4 %6 = call i32 @fflush(i32 noundef %5) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @fflush(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/tmpyuuzqycn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @output_plain(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 @printf(ptr noundef @.str, ptr noundef %3) %5 = load i32, ptr @stdout, align 4 %6 = call i32 @fflush(i32 noundef %5) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @fflush(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/tmpw6z4t3fh.c' source_filename = "/tmp/tmpw6z4t3fh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Cannot alloc %d bytes.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @sal_realloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @realloc(ptr noundef %6, i64 noundef %7) #4 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %16 11: ; preds = %2 %12 = load i64, ptr %4, align 8 %13 = trunc i64 %12 to i32 %14 = call i32 @printf(ptr noundef @.str, i32 noundef %13) %15 = call i32 @exit(i32 noundef 1) #5 unreachable 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 ret ptr %17 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(1) } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw6z4t3fh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Cannot alloc %d bytes.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @sal_realloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @realloc(ptr noundef %6, i64 noundef %7) #4 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %16 11: ; preds = %2 %12 = load i64, ptr %4, align 8 %13 = trunc i64 %12 to i32 %14 = call i32 @printf(ptr noundef @.str, i32 noundef %13) %15 = call i32 @exit(i32 noundef 1) #5 unreachable 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 ret ptr %17 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(1) } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp42fp0n9d.c' source_filename = "/tmp/tmp42fp0n9d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = sext i32 %6 to i64 %8 = mul i64 %7, 4 %9 = trunc i64 %8 to i32 %10 = call i64 @malloc(i32 noundef %9) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %12 12: ; preds = %22, %0 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %25 16: ; preds = %12 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %4, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 %21 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %20) br label %22 22: ; preds = %16 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %4, align 4 br label %12, !llvm.loop !6 25: ; preds = %12 %26 = load i32, ptr %2, align 4 %27 = load ptr, ptr %3, align 8 %28 = call i32 @comb_sort(i32 noundef %26, ptr noundef %27) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @comb_sort(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/tmp42fp0n9d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = sext i32 %6 to i64 %8 = mul i64 %7, 4 %9 = trunc i64 %8 to i32 %10 = call i64 @malloc(i32 noundef %9) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %3, align 8 store i32 0, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %27 .lr.ph: ; preds = %0 br label %15 15: ; preds = %.lr.ph, %21 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 %20 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %19) br label %21 21: ; preds = %15 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %2, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %27 27: ; preds = %._crit_edge, %0 %28 = load i32, ptr %2, align 4 %29 = load ptr, ptr %3, align 8 %30 = call i32 @comb_sort(i32 noundef %28, ptr noundef %29) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @comb_sort(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/tmpy70h62t8.c' source_filename = "/tmp/tmpy70h62t8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call ptr @malloc(i32 noundef 128) store ptr %8, ptr %6, align 8 store i32 0, ptr %7, align 4 br label %9 9: ; preds = %19, %2 %10 = load i32, ptr %7, align 4 %11 = icmp slt i32 %10, 32 br i1 %11, label %12, label %22 12: ; preds = %9 %13 = load i32, ptr %7, align 4 %14 = trunc i32 %13 to i8 %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr %7, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 store i8 %14, ptr %18, align 1 br label %19 19: ; preds = %12 %20 = load i32, ptr %7, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %7, align 4 br label %9, !llvm.loop !6 22: ; preds = %9 store i32 0, ptr %7, align 4 br label %23 23: ; preds = %37, %22 %24 = load i32, ptr %7, align 4 %25 = icmp slt i32 %24, 32 br i1 %25, label %26, label %40 26: ; preds = %23 %27 = load ptr, ptr %6, align 8 %28 = load i32, ptr %7, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = load ptr, ptr %6, align 8 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %33, 64 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %32, i64 %35 store i8 %31, ptr %36, align 1 br label %37 37: ; preds = %26 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %7, align 4 br label %23, !llvm.loop !8 40: ; preds = %23 ret i32 0 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy70h62t8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call ptr @malloc(i32 noundef 128) store ptr %8, ptr %6, align 8 store i32 0, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = icmp slt i32 %9, 32 br i1 %10, label %.lr.ph, label %23 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %18 %12 = load i32, ptr %7, align 4 %13 = trunc i32 %12 to i8 %14 = load ptr, ptr %6, align 8 %15 = load i32, ptr %7, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 store i8 %13, ptr %17, align 1 br label %18 18: ; preds = %11 %19 = load i32, ptr %7, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %7, align 4 %21 = load i32, ptr %7, align 4 %22 = icmp slt i32 %21, 32 br i1 %22, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %23 23: ; preds = %._crit_edge, %2 store i32 0, ptr %7, align 4 %24 = load i32, ptr %7, align 4 %25 = icmp slt i32 %24, 32 br i1 %25, label %.lr.ph2, label %42 .lr.ph2: ; preds = %23 br label %26 26: ; preds = %.lr.ph2, %37 %27 = load ptr, ptr %6, align 8 %28 = load i32, ptr %7, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = load ptr, ptr %6, align 8 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %33, 64 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %32, i64 %35 store i8 %31, ptr %36, align 1 br label %37 37: ; preds = %26 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %7, align 4 %40 = load i32, ptr %7, align 4 %41 = icmp slt i32 %40, 32 br i1 %41, label %26, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %37 br label %42 42: ; preds = %._crit_edge3, %23 ret i32 0 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp5m_n5ee3.c' source_filename = "/tmp/tmp5m_n5ee3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [56 x i8] c"Enter a floating number ( integer and fractional part):\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"Integer part : \00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"\0ADecimal part: \00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"%lf \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @Modf(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 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 %7 = call ptr @gettext(ptr noundef @.str) %8 = call i32 (ptr, ...) @printf(ptr noundef %7) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %10 = load double, ptr %4, align 8 %11 = call double @modf(double noundef %10, ptr noundef %6) #3 store double %11, ptr %5, align 8 %12 = call ptr @gettext(ptr noundef @.str.2) %13 = call i32 (ptr, ...) @printf(ptr noundef %12) %14 = load double, ptr %6, align 8 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %14) %16 = call ptr @gettext(ptr noundef @.str.3) %17 = call i32 (ptr, ...) @printf(ptr noundef %16) %18 = load double, ptr %5, align 8 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %18) ret double 0.000000e+00 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @gettext(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nounwind declare double @modf(double noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5m_n5ee3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [56 x i8] c"Enter a floating number ( integer and fractional part):\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"Integer part : \00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"\0ADecimal part: \00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"%lf \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @Modf(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 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 %7 = call ptr @gettext(ptr noundef @.str) %8 = call i32 (ptr, ...) @printf(ptr noundef %7) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %10 = load double, ptr %4, align 8 %11 = call double @modf(double noundef %10, ptr noundef %6) #3 store double %11, ptr %5, align 8 %12 = call ptr @gettext(ptr noundef @.str.2) %13 = call i32 (ptr, ...) @printf(ptr noundef %12) %14 = load double, ptr %6, align 8 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %14) %16 = call ptr @gettext(ptr noundef @.str.3) %17 = call i32 (ptr, ...) @printf(ptr noundef %16) %18 = load double, ptr %5, align 8 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %18) ret double 0.000000e+00 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @gettext(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nounwind declare double @modf(double noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbr9y_aw7.c' source_filename = "/tmp/tmpbr9y_aw7.c" target datalayout = "e-m:e-p270: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/tmpbr9y_aw7.c" target datalayout = "e-m:e-p270: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/tmppxyvqe5s.c' source_filename = "/tmp/tmppxyvqe5s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"I am the parent of pid=%d!\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"I am the baby pid=%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"fork\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 (...) @fork() store i32 %7, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = icmp sgt i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = call i32 (...) @getpid() %12 = call i32 @printf(ptr noundef @.str, i32 noundef %11) br label %26 13: ; preds = %2 %14 = load i32, ptr %6, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %13 %17 = call i32 (...) @getpid() %18 = call i32 @printf(ptr noundef @.str.1, i32 noundef %17) br label %25 19: ; preds = %13 %20 = load i32, ptr %6, align 4 %21 = icmp eq i32 %20, -1 br i1 %21, label %22, label %24 22: ; preds = %19 %23 = call i32 @perror(ptr noundef @.str.2) br label %24 24: ; preds = %22, %19 br label %25 25: ; preds = %24, %16 br label %26 26: ; preds = %25, %10 ret i32 0 } declare i32 @fork(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppxyvqe5s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"I am the parent of pid=%d!\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"I am the baby pid=%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"fork\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 (...) @fork() store i32 %7, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = icmp sgt i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = call i32 (...) @getpid() %12 = call i32 @printf(ptr noundef @.str, i32 noundef %11) br label %26 13: ; preds = %2 %14 = load i32, ptr %6, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %13 %17 = call i32 (...) @getpid() %18 = call i32 @printf(ptr noundef @.str.1, i32 noundef %17) br label %25 19: ; preds = %13 %20 = load i32, ptr %6, align 4 %21 = icmp eq i32 %20, -1 br i1 %21, label %22, label %24 22: ; preds = %19 %23 = call i32 @perror(ptr noundef @.str.2) br label %24 24: ; preds = %22, %19 br label %25 25: ; preds = %24, %16 br label %26 26: ; preds = %25, %10 ret i32 0 } declare i32 @fork(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvon3ptyc.c' source_filename = "/tmp/tmpvon3ptyc.c" target datalayout = "e-m:e-p270: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/tmpvon3ptyc.c" target datalayout = "e-m:e-p270: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/tmp20rg0224.c' source_filename = "/tmp/tmp20rg0224.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isxdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isxdigit should be 0 for 0xd3\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isxdigit_0xd3() #0 { %1 = call i64 @isxdigit(i32 noundef 211) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1060, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isxdigit(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/tmp20rg0224.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isxdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isxdigit should be 0 for 0xd3\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isxdigit_0xd3() #0 { %1 = call i64 @isxdigit(i32 noundef 211) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1060, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isxdigit(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/tmpvmo8tl3z.c' source_filename = "/tmp/tmpvmo8tl3z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @function_sse2(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %5, align 8 %8 = load i32, ptr %7, align 4 %9 = load ptr, ptr %6, align 8 %10 = load i32, ptr %9, align 4 %11 = call i32 @_mm_xor_si128(i32 noundef %8, i32 noundef %10) %12 = load ptr, ptr %4, align 8 store i32 %11, ptr %12, align 4 ret void } declare i32 @_mm_xor_si128(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/tmpvmo8tl3z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @function_sse2(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %5, align 8 %8 = load i32, ptr %7, align 4 %9 = load ptr, ptr %6, align 8 %10 = load i32, ptr %9, align 4 %11 = call i32 @_mm_xor_si128(i32 noundef %8, i32 noundef %10) %12 = load ptr, ptr %4, align 8 store i32 %11, ptr %12, align 4 ret void } declare i32 @_mm_xor_si128(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/tmpacnskw9h.c' source_filename = "/tmp/tmpacnskw9h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KL_create_identifier(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i64 @strlen(ptr noundef %4) %6 = add nsw i64 %5, 1 %7 = call i64 @KL_util_malloc(i64 noundef %6) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %3, align 8 %9 = load ptr, ptr %3, align 8 %10 = load ptr, ptr %2, align 8 %11 = call i32 @strcpy(ptr noundef %9, ptr noundef %10) %12 = load ptr, ptr %3, align 8 ret ptr %12 } declare i64 @KL_util_malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpacnskw9h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KL_create_identifier(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i64 @strlen(ptr noundef %4) %6 = add nsw i64 %5, 1 %7 = call i64 @KL_util_malloc(i64 noundef %6) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %3, align 8 %9 = load ptr, ptr %3, align 8 %10 = load ptr, ptr %2, align 8 %11 = call i32 @strcpy(ptr noundef %9, ptr noundef %10) %12 = load ptr, ptr %3, align 8 ret ptr %12 } declare i64 @KL_util_malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbd5a9hrf.c' source_filename = "/tmp/tmpbd5a9hrf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"FORM_%s=\22\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @HandleString(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 %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %9 8: ; preds = %1 br label %86 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 %11 = call ptr @FP_strdup(ptr noundef %10) store ptr %11, ptr %3, align 8 %12 = load ptr, ptr %3, align 8 %13 = call ptr @ParseString(ptr noundef %12) store ptr %13, ptr %4, align 8 %14 = load ptr, ptr %4, align 8 %15 = load i8, ptr %14, align 1 %16 = call i32 @isalpha(i8 noundef signext %15) %17 = icmp ne i32 %16, 0 br i1 %17, label %26, label %18 18: ; preds = %9 %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, 95 br i1 %22, label %23, label %26 23: ; preds = %18 %24 = load ptr, ptr %3, align 8 %25 = call i32 @free(ptr noundef %24) br label %86 26: ; preds = %18, %9 %27 = load ptr, ptr %4, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %4, align 8 br label %29 29: ; preds = %41, %26 %30 = load ptr, ptr %4, align 8 %31 = load i8, ptr %30, align 1 %32 = call i64 @isalnum(i8 noundef signext %31) %33 = icmp ne i64 %32, 0 br i1 %33, label %39, label %34 34: ; preds = %29 %35 = load ptr, ptr %4, align 8 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp eq i32 %37, 95 br label %39 39: ; preds = %34, %29 %40 = phi i1 [ true, %29 ], [ %38, %34 ] br i1 %40, label %41, label %44 41: ; preds = %39 %42 = load ptr, ptr %4, align 8 %43 = getelementptr inbounds i8, ptr %42, i32 1 store ptr %43, ptr %4, align 8 br label %29, !llvm.loop !6 44: ; preds = %39 %45 = load ptr, ptr %4, align 8 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp ne i32 %47, 61 br i1 %48, label %49, label %52 49: ; preds = %44 %50 = load ptr, ptr %3, align 8 %51 = call i32 @free(ptr noundef %50) br label %86 52: ; preds = %44 %53 = load ptr, ptr %4, align 8 store i8 0, ptr %53, align 1 %54 = load ptr, ptr %4, align 8 %55 = getelementptr inbounds i8, ptr %54, i64 1 store ptr %55, ptr %5, align 8 %56 = load i32, ptr @stdout, align 4 %57 = load ptr, ptr %3, align 8 %58 = call i32 @fprintf(i32 noundef %56, ptr noundef @.str, ptr noundef %57) br label %59 59: ; preds = %75, %52 %60 = load ptr, ptr %5, align 8 %61 = load i8, ptr %60, align 1 %62 = icmp ne i8 %61, 0 br i1 %62, label %63, label %78 63: ; preds = %59 %64 = load ptr, ptr %5, align 8 %65 = load i8, ptr %64, align 1 %66 = sext i8 %65 to i32 switch i32 %66, label %70 [ i32 34, label %67 i32 92, label %67 i32 96, label %67 i32 36, label %67 ] 67: ; preds = %63, %63, %63, %63 %68 = load i32, ptr @stdout, align 4 %69 = call i32 @putc(i8 noundef signext 92, i32 noundef %68) br label %70 70: ; preds = %63, %67 %71 = load ptr, ptr %5, align 8 %72 = load i8, ptr %71, align 1 %73 = load i32, ptr @stdout, align 4 %74 = call i32 @putc(i8 noundef signext %72, i32 noundef %73) br label %75 75: ; preds = %70 %76 = load ptr, ptr %5, align 8 %77 = getelementptr inbounds i8, ptr %76, i32 1 store ptr %77, ptr %5, align 8 br label %59, !llvm.loop !8 78: ; preds = %59 %79 = load i32, ptr @stdout, align 4 %80 = call i32 @putc(i8 noundef signext 34, i32 noundef %79) %81 = load i32, ptr @stdout, align 4 %82 = call i32 @putc(i8 noundef signext 10, i32 noundef %81) %83 = load ptr, ptr %4, align 8 store i8 61, ptr %83, align 1 %84 = load ptr, ptr %3, align 8 %85 = call i32 @free(ptr noundef %84) br label %86 86: ; preds = %78, %49, %23, %8 ret void } declare ptr @FP_strdup(ptr noundef) #1 declare ptr @ParseString(ptr noundef) #1 declare i32 @isalpha(i8 noundef signext) #1 declare i32 @free(ptr noundef) #1 declare i64 @isalnum(i8 noundef signext) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @putc(i8 noundef signext, 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/tmpbd5a9hrf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"FORM_%s=\22\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @HandleString(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 %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %9 8: ; preds = %1 br label %88 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 %11 = call ptr @FP_strdup(ptr noundef %10) store ptr %11, ptr %3, align 8 %12 = load ptr, ptr %3, align 8 %13 = call ptr @ParseString(ptr noundef %12) store ptr %13, ptr %4, align 8 %14 = load ptr, ptr %4, align 8 %15 = load i8, ptr %14, align 1 %16 = call i32 @isalpha(i8 noundef signext %15) %17 = icmp ne i32 %16, 0 br i1 %17, label %26, label %18 18: ; preds = %9 %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, 95 br i1 %22, label %23, label %26 23: ; preds = %18 %24 = load ptr, ptr %3, align 8 %25 = call i32 @free(ptr noundef %24) br label %88 26: ; preds = %18, %9 %27 = load ptr, ptr %4, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %4, align 8 br label %29 29: ; preds = %41, %26 %30 = load ptr, ptr %4, align 8 %31 = load i8, ptr %30, align 1 %32 = call i64 @isalnum(i8 noundef signext %31) %33 = icmp ne i64 %32, 0 br i1 %33, label %39, label %34 34: ; preds = %29 %35 = load ptr, ptr %4, align 8 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp eq i32 %37, 95 br label %39 39: ; preds = %34, %29 %40 = phi i1 [ true, %29 ], [ %38, %34 ] br i1 %40, label %41, label %44 41: ; preds = %39 %42 = load ptr, ptr %4, align 8 %43 = getelementptr inbounds i8, ptr %42, i32 1 store ptr %43, ptr %4, align 8 br label %29, !llvm.loop !6 44: ; preds = %39 %45 = load ptr, ptr %4, align 8 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp ne i32 %47, 61 br i1 %48, label %49, label %52 49: ; preds = %44 %50 = load ptr, ptr %3, align 8 %51 = call i32 @free(ptr noundef %50) br label %88 52: ; preds = %44 %53 = load ptr, ptr %4, align 8 store i8 0, ptr %53, align 1 %54 = load ptr, ptr %4, align 8 %55 = getelementptr inbounds i8, ptr %54, i64 1 store ptr %55, ptr %5, align 8 %56 = load i32, ptr @stdout, align 4 %57 = load ptr, ptr %3, align 8 %58 = call i32 @fprintf(i32 noundef %56, ptr noundef @.str, ptr noundef %57) %59 = load ptr, ptr %5, align 8 %60 = load i8, ptr %59, align 1 %61 = icmp ne i8 %60, 0 br i1 %61, label %.lr.ph, label %80 .lr.ph: ; preds = %52 br label %62 62: ; preds = %.lr.ph, %74 %63 = load ptr, ptr %5, align 8 %64 = load i8, ptr %63, align 1 %65 = sext i8 %64 to i32 switch i32 %65, label %69 [ i32 34, label %66 i32 92, label %66 i32 96, label %66 i32 36, label %66 ] 66: ; preds = %62, %62, %62, %62 %67 = load i32, ptr @stdout, align 4 %68 = call i32 @putc(i8 noundef signext 92, i32 noundef %67) br label %69 69: ; preds = %66, %62 %70 = load ptr, ptr %5, align 8 %71 = load i8, ptr %70, align 1 %72 = load i32, ptr @stdout, align 4 %73 = call i32 @putc(i8 noundef signext %71, i32 noundef %72) br label %74 74: ; preds = %69 %75 = load ptr, ptr %5, align 8 %76 = getelementptr inbounds i8, ptr %75, i32 1 store ptr %76, ptr %5, align 8 %77 = load ptr, ptr %5, align 8 %78 = load i8, ptr %77, align 1 %79 = icmp ne i8 %78, 0 br i1 %79, label %62, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %74 br label %80 80: ; preds = %._crit_edge, %52 %81 = load i32, ptr @stdout, align 4 %82 = call i32 @putc(i8 noundef signext 34, i32 noundef %81) %83 = load i32, ptr @stdout, align 4 %84 = call i32 @putc(i8 noundef signext 10, i32 noundef %83) %85 = load ptr, ptr %4, align 8 store i8 61, ptr %85, align 1 %86 = load ptr, ptr %3, align 8 %87 = call i32 @free(ptr noundef %86) br label %88 88: ; preds = %80, %49, %23, %8 ret void } declare ptr @FP_strdup(ptr noundef) #1 declare ptr @ParseString(ptr noundef) #1 declare i32 @isalpha(i8 noundef signext) #1 declare i32 @free(ptr noundef) #1 declare i64 @isalnum(i8 noundef signext) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @putc(i8 noundef signext, 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/tmp5_zy8xan.c' source_filename = "/tmp/tmp5_zy8xan.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rdrand_get_n_32(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %8, align 4 br label %9 9: ; preds = %34, %2 %10 = load i32, ptr %8, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp ult i32 %10, %11 br i1 %12, label %13, label %37 13: ; preds = %9 store i32 0, ptr %7, align 4 br label %14 14: ; preds = %24, %13 %15 = load ptr, ptr %5, align 8 %16 = call i32 @rdrand_32(ptr noundef %15, i32 noundef 1) store i32 %16, ptr %6, align 4 br label %17 17: ; preds = %14 %18 = load i32, ptr %6, align 4 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %24 20: ; preds = %17 %21 = load i32, ptr %7, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %7, align 4 %23 = icmp slt i32 %21, 10 br label %24 24: ; preds = %20, %17 %25 = phi i1 [ false, %17 ], [ %23, %20 ] br i1 %25, label %14, label %26, !llvm.loop !6 26: ; preds = %24 %27 = load i32, ptr %6, align 4 %28 = icmp ne i32 %27, 1 br i1 %28, label %29, label %31 29: ; preds = %26 %30 = load i32, ptr %6, align 4 store i32 %30, ptr %3, align 4 br label %38 31: ; preds = %26 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds i32, ptr %32, i64 1 store ptr %33, ptr %5, align 8 br label %34 34: ; preds = %31 %35 = load i32, ptr %8, align 4 %36 = add i32 %35, 1 store i32 %36, ptr %8, align 4 br label %9, !llvm.loop !8 37: ; preds = %9 store i32 1, ptr %3, align 4 br label %38 38: ; preds = %37, %29 %39 = load i32, ptr %3, align 4 ret i32 %39 } declare i32 @rdrand_32(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5_zy8xan.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rdrand_get_n_32(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %8, align 4 %9 = load i32, ptr %8, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp ult i32 %9, %10 br i1 %11, label %.lr.ph, label %39 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %33 store i32 0, ptr %7, align 4 br label %13 13: ; preds = %23, %12 %14 = load ptr, ptr %5, align 8 %15 = call i32 @rdrand_32(ptr noundef %14, i32 noundef 1) store i32 %15, ptr %6, align 4 br label %16 16: ; preds = %13 %17 = load i32, ptr %6, align 4 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %16 %20 = load i32, ptr %7, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %7, align 4 %22 = icmp slt i32 %20, 10 br label %23 23: ; preds = %19, %16 %24 = phi i1 [ false, %16 ], [ %22, %19 ] br i1 %24, label %13, label %25, !llvm.loop !6 25: ; preds = %23 %26 = load i32, ptr %6, align 4 %27 = icmp ne i32 %26, 1 br i1 %27, label %28, label %30 28: ; preds = %25 %29 = load i32, ptr %6, align 4 store i32 %29, ptr %3, align 4 br label %40 30: ; preds = %25 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds i32, ptr %31, i64 1 store ptr %32, ptr %5, align 8 br label %33 33: ; preds = %30 %34 = load i32, ptr %8, align 4 %35 = add i32 %34, 1 store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = load i32, ptr %4, align 4 %38 = icmp ult i32 %36, %37 br i1 %38, label %12, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %33 br label %39 39: ; preds = %._crit_edge, %2 store i32 1, ptr %3, align 4 br label %40 40: ; preds = %39, %28 %41 = load i32, ptr %3, align 4 ret i32 %41 } declare i32 @rdrand_32(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpej11gvlq.c' source_filename = "/tmp/tmpej11gvlq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"\0DHello World!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) 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/tmpej11gvlq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"\0DHello World!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) 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/tmpwabav1iy.c' source_filename = "/tmp/tmpwabav1iy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @echo() #0 { %1 = alloca [4 x i8], align 1 %2 = getelementptr inbounds [4 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @gets(ptr noundef %2) %4 = getelementptr inbounds [4 x i8], ptr %1, i64 0, i64 0 %5 = call i32 @puts(ptr noundef %4) ret void } declare i32 @gets(ptr noundef) #1 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwabav1iy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @echo() #0 { %1 = alloca [4 x i8], align 1 %2 = getelementptr inbounds [4 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @gets(ptr noundef %2) %4 = getelementptr inbounds [4 x i8], ptr %1, i64 0, i64 0 %5 = call i32 @puts(ptr noundef %4) ret void } declare i32 @gets(ptr noundef) #1 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4nzdaq8d.c' source_filename = "/tmp/tmp4nzdaq8d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_adc_ain(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @lookup_ain_by_key(ptr noundef %6) %8 = load ptr, ptr %5, align 8 store i32 %7, ptr %8, align 4 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %9, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %21 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = call i32 @lookup_ain_by_name(ptr noundef %13) %15 = load ptr, ptr %5, align 8 store i32 %14, ptr %15, align 4 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %16, align 4 %18 = icmp eq i32 %17, -1 br i1 %18, label %19, label %20 19: ; preds = %12 store i32 0, ptr %3, align 4 br label %22 20: ; preds = %12 br label %21 21: ; preds = %20, %2 store i32 1, ptr %3, align 4 br label %22 22: ; preds = %21, %19 %23 = load i32, ptr %3, align 4 ret i32 %23 } declare i32 @lookup_ain_by_key(ptr noundef) #1 declare i32 @lookup_ain_by_name(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4nzdaq8d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_adc_ain(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @lookup_ain_by_key(ptr noundef %6) %8 = load ptr, ptr %5, align 8 store i32 %7, ptr %8, align 4 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %9, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %21 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = call i32 @lookup_ain_by_name(ptr noundef %13) %15 = load ptr, ptr %5, align 8 store i32 %14, ptr %15, align 4 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %16, align 4 %18 = icmp eq i32 %17, -1 br i1 %18, label %19, label %20 19: ; preds = %12 store i32 0, ptr %3, align 4 br label %22 20: ; preds = %12 br label %21 21: ; preds = %20, %2 store i32 1, ptr %3, align 4 br label %22 22: ; preds = %21, %19 %23 = load i32, ptr %3, align 4 ret i32 %23 } declare i32 @lookup_ain_by_key(ptr noundef) #1 declare i32 @lookup_ain_by_name(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpczgahmbr.c' source_filename = "/tmp/tmpczgahmbr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cpufreq_get_hardware_limits(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = 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 %8 = load ptr, ptr %6, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %3 %11 = load ptr, ptr %7, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %16, label %13 13: ; preds = %10, %3 %14 = load i32, ptr @EINVAL, align 4 %15 = sub nsw i32 0, %14 store i32 %15, ptr %4, align 4 br label %21 16: ; preds = %10 %17 = load i32, ptr %5, align 4 %18 = load ptr, ptr %6, align 8 %19 = load ptr, ptr %7, align 8 %20 = call i32 @sysfs_get_hardware_limits(i32 noundef %17, ptr noundef %18, ptr noundef %19) store i32 %20, ptr %4, align 4 br label %21 21: ; preds = %16, %13 %22 = load i32, ptr %4, align 4 ret i32 %22 } declare i32 @sysfs_get_hardware_limits(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpczgahmbr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cpufreq_get_hardware_limits(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = 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 %8 = load ptr, ptr %6, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %3 %11 = load ptr, ptr %7, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %16, label %13 13: ; preds = %10, %3 %14 = load i32, ptr @EINVAL, align 4 %15 = sub nsw i32 0, %14 store i32 %15, ptr %4, align 4 br label %21 16: ; preds = %10 %17 = load i32, ptr %5, align 4 %18 = load ptr, ptr %6, align 8 %19 = load ptr, ptr %7, align 8 %20 = call i32 @sysfs_get_hardware_limits(i32 noundef %17, ptr noundef %18, ptr noundef %19) store i32 %20, ptr %4, align 4 br label %21 21: ; preds = %16, %13 %22 = load i32, ptr %4, align 4 ret i32 %22 } declare i32 @sysfs_get_hardware_limits(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzwyb967b.c' source_filename = "/tmp/tmpzwyb967b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [47 x i8] c" --> test_balloc_safe bail, no BALLOC_SAFE\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %4 = load i32, ptr @stderr, align 4 %5 = call i32 @fprintf(i32 noundef %4, ptr noundef @.str) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzwyb967b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [47 x i8] c" --> test_balloc_safe bail, no BALLOC_SAFE\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %4 = load i32, ptr @stderr, align 4 %5 = call i32 @fprintf(i32 noundef %4, ptr noundef @.str) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmph_kp70_q.c' source_filename = "/tmp/tmph_kp70_q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_isspace(i8 noundef signext %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i8, align 1 %5 = alloca ptr, align 8 store i8 %0, ptr %4, align 1 store ptr %1, ptr %5, align 8 %6 = load i8, ptr %4, align 1 %7 = load ptr, ptr %5, align 8 %8 = call i64 @my_isdigit(i8 noundef signext %6, ptr noundef %7) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 0, ptr %3, align 4 br label %17 11: ; preds = %2 %12 = load i8, ptr %4, align 1 %13 = sext i8 %12 to i32 %14 = icmp eq i32 %13, 32 br i1 %14, label %15, label %16 15: ; preds = %11 store i32 1, ptr %3, align 4 br label %17 16: ; preds = %11 store i32 0, ptr %3, align 4 br label %17 17: ; preds = %16, %15, %10 %18 = load i32, ptr %3, align 4 ret i32 %18 } declare i64 @my_isdigit(i8 noundef signext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph_kp70_q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_isspace(i8 noundef signext %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i8, align 1 %5 = alloca ptr, align 8 store i8 %0, ptr %4, align 1 store ptr %1, ptr %5, align 8 %6 = load i8, ptr %4, align 1 %7 = load ptr, ptr %5, align 8 %8 = call i64 @my_isdigit(i8 noundef signext %6, ptr noundef %7) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 0, ptr %3, align 4 br label %17 11: ; preds = %2 %12 = load i8, ptr %4, align 1 %13 = sext i8 %12 to i32 %14 = icmp eq i32 %13, 32 br i1 %14, label %15, label %16 15: ; preds = %11 store i32 1, ptr %3, align 4 br label %17 16: ; preds = %11 store i32 0, ptr %3, align 4 br label %17 17: ; preds = %16, %15, %10 %18 = load i32, ptr %3, align 4 ret i32 %18 } declare i64 @my_isdigit(i8 noundef signext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1k2cfngc.c' source_filename = "/tmp/tmp1k2cfngc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i64 @strlen(ptr noundef %4) store i64 %5, ptr %3, align 8 %6 = load ptr, ptr %2, align 8 %7 = load i64, ptr %3, align 8 %8 = sub i64 %7, 1 %9 = getelementptr inbounds i8, ptr %6, i64 %8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp eq i32 %11, 10 br i1 %12, label %13, label %18 13: ; preds = %1 %14 = load ptr, ptr %2, align 8 %15 = load i64, ptr %3, align 8 %16 = sub i64 %15, 1 %17 = getelementptr inbounds i8, ptr %14, i64 %16 store i8 0, ptr %17, align 1 br label %18 18: ; preds = %13, %1 ret void } declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1k2cfngc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i64 @strlen(ptr noundef %4) store i64 %5, ptr %3, align 8 %6 = load ptr, ptr %2, align 8 %7 = load i64, ptr %3, align 8 %8 = sub i64 %7, 1 %9 = getelementptr inbounds i8, ptr %6, i64 %8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp eq i32 %11, 10 br i1 %12, label %13, label %18 13: ; preds = %1 %14 = load ptr, ptr %2, align 8 %15 = load i64, ptr %3, align 8 %16 = sub i64 %15, 1 %17 = getelementptr inbounds i8, ptr %14, i64 %16 store i8 0, ptr %17, align 1 br label %18 18: ; preds = %13, %1 ret void } declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpimlv8l4j.c' source_filename = "/tmp/tmpimlv8l4j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%d%d%d%d\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"The second largest number is %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca 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 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp eq i32 %8, %9 %11 = zext i1 %10 to i32 %12 = load i32, ptr %4, align 4 %13 = icmp eq i32 %11, %12 %14 = zext i1 %13 to i32 %15 = load i32, ptr %5, align 4 %16 = icmp eq i32 %14, %15 br i1 %16, label %17, label %20 17: ; preds = %0 %18 = load i32, ptr %2, align 4 %19 = call i32 @printf(ptr noundef @.str.1, i32 noundef %18) br label %349 20: ; preds = %0 %21 = load i32, ptr %2, align 4 %22 = load i32, ptr %3, align 4 %23 = icmp sgt i32 %21, %22 br i1 %23, label %24, label %34 24: ; preds = %20 %25 = load i32, ptr %2, align 4 %26 = load i32, ptr %4, align 4 %27 = icmp sgt i32 %25, %26 br i1 %27, label %28, label %34 28: ; preds = %24 %29 = load i32, ptr %2, align 4 %30 = load i32, ptr %5, align 4 %31 = icmp sgt i32 %29, %30 br i1 %31, label %32, label %34 32: ; preds = %28 %33 = load i32, ptr %2, align 4 store i32 %33, ptr %6, align 4 br label %34 34: ; preds = %32, %28, %24, %20 %35 = load i32, ptr %3, align 4 %36 = load i32, ptr %2, align 4 %37 = icmp sgt i32 %35, %36 br i1 %37, label %38, label %48 38: ; preds = %34 %39 = load i32, ptr %3, align 4 %40 = load i32, ptr %4, align 4 %41 = icmp sgt i32 %39, %40 br i1 %41, label %42, label %48 42: ; preds = %38 %43 = load i32, ptr %3, align 4 %44 = load i32, ptr %5, align 4 %45 = icmp sgt i32 %43, %44 br i1 %45, label %46, label %48 46: ; preds = %42 %47 = load i32, ptr %3, align 4 store i32 %47, ptr %6, align 4 br label %48 48: ; preds = %46, %42, %38, %34 %49 = load i32, ptr %4, align 4 %50 = load i32, ptr %2, align 4 %51 = icmp sgt i32 %49, %50 br i1 %51, label %52, label %62 52: ; preds = %48 %53 = load i32, ptr %4, align 4 %54 = load i32, ptr %3, align 4 %55 = icmp sgt i32 %53, %54 br i1 %55, label %56, label %62 56: ; preds = %52 %57 = load i32, ptr %4, align 4 %58 = load i32, ptr %5, align 4 %59 = icmp sgt i32 %57, %58 br i1 %59, label %60, label %62 60: ; preds = %56 %61 = load i32, ptr %4, align 4 store i32 %61, ptr %6, align 4 br label %62 62: ; preds = %60, %56, %52, %48 %63 = load i32, ptr %5, align 4 %64 = load i32, ptr %2, align 4 %65 = icmp sgt i32 %63, %64 br i1 %65, label %66, label %76 66: ; preds = %62 %67 = load i32, ptr %5, align 4 %68 = load i32, ptr %4, align 4 %69 = icmp sgt i32 %67, %68 br i1 %69, label %70, label %76 70: ; preds = %66 %71 = load i32, ptr %5, align 4 %72 = load i32, ptr %3, align 4 %73 = icmp sgt i32 %71, %72 br i1 %73, label %74, label %76 74: ; preds = %70 %75 = load i32, ptr %5, align 4 store i32 %75, ptr %6, align 4 br label %76 76: ; preds = %74, %70, %66, %62 %77 = load i32, ptr %6, align 4 %78 = load i32, ptr %2, align 4 %79 = icmp eq i32 %77, %78 br i1 %79, label %80, label %156 80: ; preds = %76 %81 = load i32, ptr %2, align 4 %82 = load i32, ptr %3, align 4 %83 = icmp eq i32 %81, %82 br i1 %83, label %92, label %84 84: ; preds = %80 %85 = load i32, ptr %2, align 4 %86 = load i32, ptr %4, align 4 %87 = icmp eq i32 %85, %86 br i1 %87, label %92, label %88 88: ; preds = %84 %89 = load i32, ptr %2, align 4 %90 = load i32, ptr %5, align 4 %91 = icmp eq i32 %89, %90 br i1 %91, label %92, label %95 92: ; preds = %88, %84, %80 %93 = load i32, ptr %2, align 4 %94 = call i32 @printf(ptr noundef @.str.1, i32 noundef %93) br label %155 95: ; preds = %88 %96 = load i32, ptr %3, align 4 %97 = load i32, ptr %4, align 4 %98 = icmp sgt i32 %96, %97 br i1 %98, label %99, label %106 99: ; preds = %95 %100 = load i32, ptr %3, align 4 %101 = load i32, ptr %5, align 4 %102 = icmp sgt i32 %100, %101 br i1 %102, label %103, label %106 103: ; preds = %99 %104 = load i32, ptr %3, align 4 %105 = call i32 @printf(ptr noundef @.str.1, i32 noundef %104) br label %154 106: ; preds = %99, %95 %107 = load i32, ptr %3, align 4 %108 = load i32, ptr %4, align 4 %109 = icmp eq i32 %107, %108 br i1 %109, label %114, label %110 110: ; preds = %106 %111 = load i32, ptr %3, align 4 %112 = load i32, ptr %5, align 4 %113 = icmp eq i32 %111, %112 br i1 %113, label %114, label %117 114: ; preds = %110, %106 %115 = load i32, ptr %3, align 4 %116 = call i32 @printf(ptr noundef @.str.1, i32 noundef %115) br label %153 117: ; preds = %110 %118 = load i32, ptr %4, align 4 %119 = load i32, ptr %3, align 4 %120 = icmp sgt i32 %118, %119 br i1 %120, label %121, label %128 121: ; preds = %117 %122 = load i32, ptr %4, align 4 %123 = load i32, ptr %5, align 4 %124 = icmp sgt i32 %122, %123 br i1 %124, label %125, label %128 125: ; preds = %121 %126 = load i32, ptr %4, align 4 %127 = call i32 @printf(ptr noundef @.str.1, i32 noundef %126) br label %152 128: ; preds = %121, %117 %129 = load i32, ptr %3, align 4 %130 = load i32, ptr %4, align 4 %131 = icmp eq i32 %129, %130 br i1 %131, label %136, label %132 132: ; preds = %128 %133 = load i32, ptr %4, align 4 %134 = load i32, ptr %5, align 4 %135 = icmp eq i32 %133, %134 br i1 %135, label %136, label %139 136: ; preds = %132, %128 %137 = load i32, ptr %4, align 4 %138 = call i32 @printf(ptr noundef @.str.1, i32 noundef %137) br label %151 139: ; preds = %132 %140 = load i32, ptr %5, align 4 %141 = load i32, ptr %3, align 4 %142 = icmp sgt i32 %140, %141 br i1 %142, label %143, label %150 143: ; preds = %139 %144 = load i32, ptr %5, align 4 %145 = load i32, ptr %4, align 4 %146 = icmp sgt i32 %144, %145 br i1 %146, label %147, label %150 147: ; preds = %143 %148 = load i32, ptr %5, align 4 %149 = call i32 @printf(ptr noundef @.str.1, i32 noundef %148) br label %150 150: ; preds = %147, %143, %139 br label %151 151: ; preds = %150, %136 br label %152 152: ; preds = %151, %125 br label %153 153: ; preds = %152, %114 br label %154 154: ; preds = %153, %103 br label %155 155: ; preds = %154, %92 br label %156 156: ; preds = %155, %76 %157 = load i32, ptr %6, align 4 %158 = load i32, ptr %3, align 4 %159 = icmp eq i32 %157, %158 br i1 %159, label %160, label %220 160: ; preds = %156 %161 = load i32, ptr %2, align 4 %162 = load i32, ptr %4, align 4 %163 = icmp sgt i32 %161, %162 br i1 %163, label %164, label %171 164: ; preds = %160 %165 = load i32, ptr %2, align 4 %166 = load i32, ptr %5, align 4 %167 = icmp sgt i32 %165, %166 br i1 %167, label %168, label %171 168: ; preds = %164 %169 = load i32, ptr %2, align 4 %170 = call i32 @printf(ptr noundef @.str.1, i32 noundef %169) br label %219 171: ; preds = %164, %160 %172 = load i32, ptr %2, align 4 %173 = load i32, ptr %4, align 4 %174 = icmp eq i32 %172, %173 br i1 %174, label %179, label %175 175: ; preds = %171 %176 = load i32, ptr %2, align 4 %177 = load i32, ptr %5, align 4 %178 = icmp eq i32 %176, %177 br i1 %178, label %179, label %182 179: ; preds = %175, %171 %180 = load i32, ptr %2, align 4 %181 = call i32 @printf(ptr noundef @.str.1, i32 noundef %180) br label %218 182: ; preds = %175 %183 = load i32, ptr %4, align 4 %184 = load i32, ptr %2, align 4 %185 = icmp sgt i32 %183, %184 br i1 %185, label %186, label %193 186: ; preds = %182 %187 = load i32, ptr %4, align 4 %188 = load i32, ptr %5, align 4 %189 = icmp sgt i32 %187, %188 br i1 %189, label %190, label %193 190: ; preds = %186 %191 = load i32, ptr %4, align 4 %192 = call i32 @printf(ptr noundef @.str.1, i32 noundef %191) br label %217 193: ; preds = %186, %182 %194 = load i32, ptr %4, align 4 %195 = load i32, ptr %2, align 4 %196 = icmp eq i32 %194, %195 br i1 %196, label %201, label %197 197: ; preds = %193 %198 = load i32, ptr %4, align 4 %199 = load i32, ptr %5, align 4 %200 = icmp eq i32 %198, %199 br i1 %200, label %201, label %204 201: ; preds = %197, %193 %202 = load i32, ptr %4, align 4 %203 = call i32 @printf(ptr noundef @.str.1, i32 noundef %202) br label %216 204: ; preds = %197 %205 = load i32, ptr %5, align 4 %206 = load i32, ptr %2, align 4 %207 = icmp sgt i32 %205, %206 br i1 %207, label %208, label %215 208: ; preds = %204 %209 = load i32, ptr %5, align 4 %210 = load i32, ptr %4, align 4 %211 = icmp sgt i32 %209, %210 br i1 %211, label %212, label %215 212: ; preds = %208 %213 = load i32, ptr %5, align 4 %214 = call i32 @printf(ptr noundef @.str.1, i32 noundef %213) br label %215 215: ; preds = %212, %208, %204 br label %216 216: ; preds = %215, %201 br label %217 217: ; preds = %216, %190 br label %218 218: ; preds = %217, %179 br label %219 219: ; preds = %218, %168 br label %220 220: ; preds = %219, %156 %221 = load i32, ptr %6, align 4 %222 = load i32, ptr %4, align 4 %223 = icmp eq i32 %221, %222 br i1 %223, label %224, label %284 224: ; preds = %220 %225 = load i32, ptr %3, align 4 %226 = load i32, ptr %2, align 4 %227 = icmp sgt i32 %225, %226 br i1 %227, label %228, label %235 228: ; preds = %224 %229 = load i32, ptr %3, align 4 %230 = load i32, ptr %5, align 4 %231 = icmp sgt i32 %229, %230 br i1 %231, label %232, label %235 232: ; preds = %228 %233 = load i32, ptr %3, align 4 %234 = call i32 @printf(ptr noundef @.str.1, i32 noundef %233) br label %283 235: ; preds = %228, %224 %236 = load i32, ptr %3, align 4 %237 = load i32, ptr %2, align 4 %238 = icmp eq i32 %236, %237 br i1 %238, label %243, label %239 239: ; preds = %235 %240 = load i32, ptr %3, align 4 %241 = load i32, ptr %5, align 4 %242 = icmp eq i32 %240, %241 br i1 %242, label %243, label %246 243: ; preds = %239, %235 %244 = load i32, ptr %3, align 4 %245 = call i32 @printf(ptr noundef @.str.1, i32 noundef %244) br label %282 246: ; preds = %239 %247 = load i32, ptr %2, align 4 %248 = load i32, ptr %3, align 4 %249 = icmp sgt i32 %247, %248 br i1 %249, label %250, label %257 250: ; preds = %246 %251 = load i32, ptr %2, align 4 %252 = load i32, ptr %5, align 4 %253 = icmp sgt i32 %251, %252 br i1 %253, label %254, label %257 254: ; preds = %250 %255 = load i32, ptr %2, align 4 %256 = call i32 @printf(ptr noundef @.str.1, i32 noundef %255) br label %281 257: ; preds = %250, %246 %258 = load i32, ptr %2, align 4 %259 = load i32, ptr %3, align 4 %260 = icmp eq i32 %258, %259 br i1 %260, label %265, label %261 261: ; preds = %257 %262 = load i32, ptr %2, align 4 %263 = load i32, ptr %5, align 4 %264 = icmp eq i32 %262, %263 br i1 %264, label %265, label %268 265: ; preds = %261, %257 %266 = load i32, ptr %2, align 4 %267 = call i32 @printf(ptr noundef @.str.1, i32 noundef %266) br label %280 268: ; preds = %261 %269 = load i32, ptr %5, align 4 %270 = load i32, ptr %3, align 4 %271 = icmp sgt i32 %269, %270 br i1 %271, label %272, label %279 272: ; preds = %268 %273 = load i32, ptr %5, align 4 %274 = load i32, ptr %2, align 4 %275 = icmp sgt i32 %273, %274 br i1 %275, label %276, label %279 276: ; preds = %272 %277 = load i32, ptr %5, align 4 %278 = call i32 @printf(ptr noundef @.str.1, i32 noundef %277) br label %279 279: ; preds = %276, %272, %268 br label %280 280: ; preds = %279, %265 br label %281 281: ; preds = %280, %254 br label %282 282: ; preds = %281, %243 br label %283 283: ; preds = %282, %232 br label %284 284: ; preds = %283, %220 %285 = load i32, ptr %6, align 4 %286 = load i32, ptr %5, align 4 %287 = icmp eq i32 %285, %286 br i1 %287, label %288, label %348 288: ; preds = %284 %289 = load i32, ptr %3, align 4 %290 = load i32, ptr %4, align 4 %291 = icmp sgt i32 %289, %290 br i1 %291, label %292, label %299 292: ; preds = %288 %293 = load i32, ptr %3, align 4 %294 = load i32, ptr %2, align 4 %295 = icmp sgt i32 %293, %294 br i1 %295, label %296, label %299 296: ; preds = %292 %297 = load i32, ptr %3, align 4 %298 = call i32 @printf(ptr noundef @.str.1, i32 noundef %297) br label %347 299: ; preds = %292, %288 %300 = load i32, ptr %3, align 4 %301 = load i32, ptr %4, align 4 %302 = icmp eq i32 %300, %301 br i1 %302, label %307, label %303 303: ; preds = %299 %304 = load i32, ptr %3, align 4 %305 = load i32, ptr %2, align 4 %306 = icmp eq i32 %304, %305 br i1 %306, label %307, label %310 307: ; preds = %303, %299 %308 = load i32, ptr %3, align 4 %309 = call i32 @printf(ptr noundef @.str.1, i32 noundef %308) br label %346 310: ; preds = %303 %311 = load i32, ptr %4, align 4 %312 = load i32, ptr %3, align 4 %313 = icmp sgt i32 %311, %312 br i1 %313, label %314, label %321 314: ; preds = %310 %315 = load i32, ptr %4, align 4 %316 = load i32, ptr %2, align 4 %317 = icmp sgt i32 %315, %316 br i1 %317, label %318, label %321 318: ; preds = %314 %319 = load i32, ptr %4, align 4 %320 = call i32 @printf(ptr noundef @.str.1, i32 noundef %319) br label %345 321: ; preds = %314, %310 %322 = load i32, ptr %4, align 4 %323 = load i32, ptr %3, align 4 %324 = icmp eq i32 %322, %323 br i1 %324, label %329, label %325 325: ; preds = %321 %326 = load i32, ptr %2, align 4 %327 = load i32, ptr %4, align 4 %328 = icmp eq i32 %326, %327 br i1 %328, label %329, label %332 329: ; preds = %325, %321 %330 = load i32, ptr %4, align 4 %331 = call i32 @printf(ptr noundef @.str.1, i32 noundef %330) br label %344 332: ; preds = %325 %333 = load i32, ptr %2, align 4 %334 = load i32, ptr %3, align 4 %335 = icmp sgt i32 %333, %334 br i1 %335, label %336, label %343 336: ; preds = %332 %337 = load i32, ptr %2, align 4 %338 = load i32, ptr %4, align 4 %339 = icmp sgt i32 %337, %338 br i1 %339, label %340, label %343 340: ; preds = %336 %341 = load i32, ptr %2, align 4 %342 = call i32 @printf(ptr noundef @.str.1, i32 noundef %341) br label %343 343: ; preds = %340, %336, %332 br label %344 344: ; preds = %343, %329 br label %345 345: ; preds = %344, %318 br label %346 346: ; preds = %345, %307 br label %347 347: ; preds = %346, %296 br label %348 348: ; preds = %347, %284 br label %349 349: ; preds = %348, %17 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpimlv8l4j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%d%d%d%d\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"The second largest number is %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca 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 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp eq i32 %8, %9 %11 = zext i1 %10 to i32 %12 = load i32, ptr %4, align 4 %13 = icmp eq i32 %11, %12 %14 = zext i1 %13 to i32 %15 = load i32, ptr %5, align 4 %16 = icmp eq i32 %14, %15 br i1 %16, label %17, label %20 17: ; preds = %0 %18 = load i32, ptr %2, align 4 %19 = call i32 @printf(ptr noundef @.str.1, i32 noundef %18) br label %349 20: ; preds = %0 %21 = load i32, ptr %2, align 4 %22 = load i32, ptr %3, align 4 %23 = icmp sgt i32 %21, %22 br i1 %23, label %24, label %34 24: ; preds = %20 %25 = load i32, ptr %2, align 4 %26 = load i32, ptr %4, align 4 %27 = icmp sgt i32 %25, %26 br i1 %27, label %28, label %34 28: ; preds = %24 %29 = load i32, ptr %2, align 4 %30 = load i32, ptr %5, align 4 %31 = icmp sgt i32 %29, %30 br i1 %31, label %32, label %34 32: ; preds = %28 %33 = load i32, ptr %2, align 4 store i32 %33, ptr %6, align 4 br label %34 34: ; preds = %32, %28, %24, %20 %35 = load i32, ptr %3, align 4 %36 = load i32, ptr %2, align 4 %37 = icmp sgt i32 %35, %36 br i1 %37, label %38, label %48 38: ; preds = %34 %39 = load i32, ptr %3, align 4 %40 = load i32, ptr %4, align 4 %41 = icmp sgt i32 %39, %40 br i1 %41, label %42, label %48 42: ; preds = %38 %43 = load i32, ptr %3, align 4 %44 = load i32, ptr %5, align 4 %45 = icmp sgt i32 %43, %44 br i1 %45, label %46, label %48 46: ; preds = %42 %47 = load i32, ptr %3, align 4 store i32 %47, ptr %6, align 4 br label %48 48: ; preds = %46, %42, %38, %34 %49 = load i32, ptr %4, align 4 %50 = load i32, ptr %2, align 4 %51 = icmp sgt i32 %49, %50 br i1 %51, label %52, label %62 52: ; preds = %48 %53 = load i32, ptr %4, align 4 %54 = load i32, ptr %3, align 4 %55 = icmp sgt i32 %53, %54 br i1 %55, label %56, label %62 56: ; preds = %52 %57 = load i32, ptr %4, align 4 %58 = load i32, ptr %5, align 4 %59 = icmp sgt i32 %57, %58 br i1 %59, label %60, label %62 60: ; preds = %56 %61 = load i32, ptr %4, align 4 store i32 %61, ptr %6, align 4 br label %62 62: ; preds = %60, %56, %52, %48 %63 = load i32, ptr %5, align 4 %64 = load i32, ptr %2, align 4 %65 = icmp sgt i32 %63, %64 br i1 %65, label %66, label %76 66: ; preds = %62 %67 = load i32, ptr %5, align 4 %68 = load i32, ptr %4, align 4 %69 = icmp sgt i32 %67, %68 br i1 %69, label %70, label %76 70: ; preds = %66 %71 = load i32, ptr %5, align 4 %72 = load i32, ptr %3, align 4 %73 = icmp sgt i32 %71, %72 br i1 %73, label %74, label %76 74: ; preds = %70 %75 = load i32, ptr %5, align 4 store i32 %75, ptr %6, align 4 br label %76 76: ; preds = %74, %70, %66, %62 %77 = load i32, ptr %6, align 4 %78 = load i32, ptr %2, align 4 %79 = icmp eq i32 %77, %78 br i1 %79, label %80, label %156 80: ; preds = %76 %81 = load i32, ptr %2, align 4 %82 = load i32, ptr %3, align 4 %83 = icmp eq i32 %81, %82 br i1 %83, label %92, label %84 84: ; preds = %80 %85 = load i32, ptr %2, align 4 %86 = load i32, ptr %4, align 4 %87 = icmp eq i32 %85, %86 br i1 %87, label %92, label %88 88: ; preds = %84 %89 = load i32, ptr %2, align 4 %90 = load i32, ptr %5, align 4 %91 = icmp eq i32 %89, %90 br i1 %91, label %92, label %95 92: ; preds = %88, %84, %80 %93 = load i32, ptr %2, align 4 %94 = call i32 @printf(ptr noundef @.str.1, i32 noundef %93) br label %155 95: ; preds = %88 %96 = load i32, ptr %3, align 4 %97 = load i32, ptr %4, align 4 %98 = icmp sgt i32 %96, %97 br i1 %98, label %99, label %106 99: ; preds = %95 %100 = load i32, ptr %3, align 4 %101 = load i32, ptr %5, align 4 %102 = icmp sgt i32 %100, %101 br i1 %102, label %103, label %106 103: ; preds = %99 %104 = load i32, ptr %3, align 4 %105 = call i32 @printf(ptr noundef @.str.1, i32 noundef %104) br label %154 106: ; preds = %99, %95 %107 = load i32, ptr %3, align 4 %108 = load i32, ptr %4, align 4 %109 = icmp eq i32 %107, %108 br i1 %109, label %114, label %110 110: ; preds = %106 %111 = load i32, ptr %3, align 4 %112 = load i32, ptr %5, align 4 %113 = icmp eq i32 %111, %112 br i1 %113, label %114, label %117 114: ; preds = %110, %106 %115 = load i32, ptr %3, align 4 %116 = call i32 @printf(ptr noundef @.str.1, i32 noundef %115) br label %153 117: ; preds = %110 %118 = load i32, ptr %4, align 4 %119 = load i32, ptr %3, align 4 %120 = icmp sgt i32 %118, %119 br i1 %120, label %121, label %128 121: ; preds = %117 %122 = load i32, ptr %4, align 4 %123 = load i32, ptr %5, align 4 %124 = icmp sgt i32 %122, %123 br i1 %124, label %125, label %128 125: ; preds = %121 %126 = load i32, ptr %4, align 4 %127 = call i32 @printf(ptr noundef @.str.1, i32 noundef %126) br label %152 128: ; preds = %121, %117 %129 = load i32, ptr %3, align 4 %130 = load i32, ptr %4, align 4 %131 = icmp eq i32 %129, %130 br i1 %131, label %136, label %132 132: ; preds = %128 %133 = load i32, ptr %4, align 4 %134 = load i32, ptr %5, align 4 %135 = icmp eq i32 %133, %134 br i1 %135, label %136, label %139 136: ; preds = %132, %128 %137 = load i32, ptr %4, align 4 %138 = call i32 @printf(ptr noundef @.str.1, i32 noundef %137) br label %151 139: ; preds = %132 %140 = load i32, ptr %5, align 4 %141 = load i32, ptr %3, align 4 %142 = icmp sgt i32 %140, %141 br i1 %142, label %143, label %150 143: ; preds = %139 %144 = load i32, ptr %5, align 4 %145 = load i32, ptr %4, align 4 %146 = icmp sgt i32 %144, %145 br i1 %146, label %147, label %150 147: ; preds = %143 %148 = load i32, ptr %5, align 4 %149 = call i32 @printf(ptr noundef @.str.1, i32 noundef %148) br label %150 150: ; preds = %147, %143, %139 br label %151 151: ; preds = %150, %136 br label %152 152: ; preds = %151, %125 br label %153 153: ; preds = %152, %114 br label %154 154: ; preds = %153, %103 br label %155 155: ; preds = %154, %92 br label %156 156: ; preds = %155, %76 %157 = load i32, ptr %6, align 4 %158 = load i32, ptr %3, align 4 %159 = icmp eq i32 %157, %158 br i1 %159, label %160, label %220 160: ; preds = %156 %161 = load i32, ptr %2, align 4 %162 = load i32, ptr %4, align 4 %163 = icmp sgt i32 %161, %162 br i1 %163, label %164, label %171 164: ; preds = %160 %165 = load i32, ptr %2, align 4 %166 = load i32, ptr %5, align 4 %167 = icmp sgt i32 %165, %166 br i1 %167, label %168, label %171 168: ; preds = %164 %169 = load i32, ptr %2, align 4 %170 = call i32 @printf(ptr noundef @.str.1, i32 noundef %169) br label %219 171: ; preds = %164, %160 %172 = load i32, ptr %2, align 4 %173 = load i32, ptr %4, align 4 %174 = icmp eq i32 %172, %173 br i1 %174, label %179, label %175 175: ; preds = %171 %176 = load i32, ptr %2, align 4 %177 = load i32, ptr %5, align 4 %178 = icmp eq i32 %176, %177 br i1 %178, label %179, label %182 179: ; preds = %175, %171 %180 = load i32, ptr %2, align 4 %181 = call i32 @printf(ptr noundef @.str.1, i32 noundef %180) br label %218 182: ; preds = %175 %183 = load i32, ptr %4, align 4 %184 = load i32, ptr %2, align 4 %185 = icmp sgt i32 %183, %184 br i1 %185, label %186, label %193 186: ; preds = %182 %187 = load i32, ptr %4, align 4 %188 = load i32, ptr %5, align 4 %189 = icmp sgt i32 %187, %188 br i1 %189, label %190, label %193 190: ; preds = %186 %191 = load i32, ptr %4, align 4 %192 = call i32 @printf(ptr noundef @.str.1, i32 noundef %191) br label %217 193: ; preds = %186, %182 %194 = load i32, ptr %4, align 4 %195 = load i32, ptr %2, align 4 %196 = icmp eq i32 %194, %195 br i1 %196, label %201, label %197 197: ; preds = %193 %198 = load i32, ptr %4, align 4 %199 = load i32, ptr %5, align 4 %200 = icmp eq i32 %198, %199 br i1 %200, label %201, label %204 201: ; preds = %197, %193 %202 = load i32, ptr %4, align 4 %203 = call i32 @printf(ptr noundef @.str.1, i32 noundef %202) br label %216 204: ; preds = %197 %205 = load i32, ptr %5, align 4 %206 = load i32, ptr %2, align 4 %207 = icmp sgt i32 %205, %206 br i1 %207, label %208, label %215 208: ; preds = %204 %209 = load i32, ptr %5, align 4 %210 = load i32, ptr %4, align 4 %211 = icmp sgt i32 %209, %210 br i1 %211, label %212, label %215 212: ; preds = %208 %213 = load i32, ptr %5, align 4 %214 = call i32 @printf(ptr noundef @.str.1, i32 noundef %213) br label %215 215: ; preds = %212, %208, %204 br label %216 216: ; preds = %215, %201 br label %217 217: ; preds = %216, %190 br label %218 218: ; preds = %217, %179 br label %219 219: ; preds = %218, %168 br label %220 220: ; preds = %219, %156 %221 = load i32, ptr %6, align 4 %222 = load i32, ptr %4, align 4 %223 = icmp eq i32 %221, %222 br i1 %223, label %224, label %284 224: ; preds = %220 %225 = load i32, ptr %3, align 4 %226 = load i32, ptr %2, align 4 %227 = icmp sgt i32 %225, %226 br i1 %227, label %228, label %235 228: ; preds = %224 %229 = load i32, ptr %3, align 4 %230 = load i32, ptr %5, align 4 %231 = icmp sgt i32 %229, %230 br i1 %231, label %232, label %235 232: ; preds = %228 %233 = load i32, ptr %3, align 4 %234 = call i32 @printf(ptr noundef @.str.1, i32 noundef %233) br label %283 235: ; preds = %228, %224 %236 = load i32, ptr %3, align 4 %237 = load i32, ptr %2, align 4 %238 = icmp eq i32 %236, %237 br i1 %238, label %243, label %239 239: ; preds = %235 %240 = load i32, ptr %3, align 4 %241 = load i32, ptr %5, align 4 %242 = icmp eq i32 %240, %241 br i1 %242, label %243, label %246 243: ; preds = %239, %235 %244 = load i32, ptr %3, align 4 %245 = call i32 @printf(ptr noundef @.str.1, i32 noundef %244) br label %282 246: ; preds = %239 %247 = load i32, ptr %2, align 4 %248 = load i32, ptr %3, align 4 %249 = icmp sgt i32 %247, %248 br i1 %249, label %250, label %257 250: ; preds = %246 %251 = load i32, ptr %2, align 4 %252 = load i32, ptr %5, align 4 %253 = icmp sgt i32 %251, %252 br i1 %253, label %254, label %257 254: ; preds = %250 %255 = load i32, ptr %2, align 4 %256 = call i32 @printf(ptr noundef @.str.1, i32 noundef %255) br label %281 257: ; preds = %250, %246 %258 = load i32, ptr %2, align 4 %259 = load i32, ptr %3, align 4 %260 = icmp eq i32 %258, %259 br i1 %260, label %265, label %261 261: ; preds = %257 %262 = load i32, ptr %2, align 4 %263 = load i32, ptr %5, align 4 %264 = icmp eq i32 %262, %263 br i1 %264, label %265, label %268 265: ; preds = %261, %257 %266 = load i32, ptr %2, align 4 %267 = call i32 @printf(ptr noundef @.str.1, i32 noundef %266) br label %280 268: ; preds = %261 %269 = load i32, ptr %5, align 4 %270 = load i32, ptr %3, align 4 %271 = icmp sgt i32 %269, %270 br i1 %271, label %272, label %279 272: ; preds = %268 %273 = load i32, ptr %5, align 4 %274 = load i32, ptr %2, align 4 %275 = icmp sgt i32 %273, %274 br i1 %275, label %276, label %279 276: ; preds = %272 %277 = load i32, ptr %5, align 4 %278 = call i32 @printf(ptr noundef @.str.1, i32 noundef %277) br label %279 279: ; preds = %276, %272, %268 br label %280 280: ; preds = %279, %265 br label %281 281: ; preds = %280, %254 br label %282 282: ; preds = %281, %243 br label %283 283: ; preds = %282, %232 br label %284 284: ; preds = %283, %220 %285 = load i32, ptr %6, align 4 %286 = load i32, ptr %5, align 4 %287 = icmp eq i32 %285, %286 br i1 %287, label %288, label %348 288: ; preds = %284 %289 = load i32, ptr %3, align 4 %290 = load i32, ptr %4, align 4 %291 = icmp sgt i32 %289, %290 br i1 %291, label %292, label %299 292: ; preds = %288 %293 = load i32, ptr %3, align 4 %294 = load i32, ptr %2, align 4 %295 = icmp sgt i32 %293, %294 br i1 %295, label %296, label %299 296: ; preds = %292 %297 = load i32, ptr %3, align 4 %298 = call i32 @printf(ptr noundef @.str.1, i32 noundef %297) br label %347 299: ; preds = %292, %288 %300 = load i32, ptr %3, align 4 %301 = load i32, ptr %4, align 4 %302 = icmp eq i32 %300, %301 br i1 %302, label %307, label %303 303: ; preds = %299 %304 = load i32, ptr %3, align 4 %305 = load i32, ptr %2, align 4 %306 = icmp eq i32 %304, %305 br i1 %306, label %307, label %310 307: ; preds = %303, %299 %308 = load i32, ptr %3, align 4 %309 = call i32 @printf(ptr noundef @.str.1, i32 noundef %308) br label %346 310: ; preds = %303 %311 = load i32, ptr %4, align 4 %312 = load i32, ptr %3, align 4 %313 = icmp sgt i32 %311, %312 br i1 %313, label %314, label %321 314: ; preds = %310 %315 = load i32, ptr %4, align 4 %316 = load i32, ptr %2, align 4 %317 = icmp sgt i32 %315, %316 br i1 %317, label %318, label %321 318: ; preds = %314 %319 = load i32, ptr %4, align 4 %320 = call i32 @printf(ptr noundef @.str.1, i32 noundef %319) br label %345 321: ; preds = %314, %310 %322 = load i32, ptr %4, align 4 %323 = load i32, ptr %3, align 4 %324 = icmp eq i32 %322, %323 br i1 %324, label %329, label %325 325: ; preds = %321 %326 = load i32, ptr %2, align 4 %327 = load i32, ptr %4, align 4 %328 = icmp eq i32 %326, %327 br i1 %328, label %329, label %332 329: ; preds = %325, %321 %330 = load i32, ptr %4, align 4 %331 = call i32 @printf(ptr noundef @.str.1, i32 noundef %330) br label %344 332: ; preds = %325 %333 = load i32, ptr %2, align 4 %334 = load i32, ptr %3, align 4 %335 = icmp sgt i32 %333, %334 br i1 %335, label %336, label %343 336: ; preds = %332 %337 = load i32, ptr %2, align 4 %338 = load i32, ptr %4, align 4 %339 = icmp sgt i32 %337, %338 br i1 %339, label %340, label %343 340: ; preds = %336 %341 = load i32, ptr %2, align 4 %342 = call i32 @printf(ptr noundef @.str.1, i32 noundef %341) br label %343 343: ; preds = %340, %336, %332 br label %344 344: ; preds = %343, %329 br label %345 345: ; preds = %344, %318 br label %346 346: ; preds = %345, %307 br label %347 347: ; preds = %346, %296 br label %348 348: ; preds = %347, %284 br label %349 349: ; preds = %348, %17 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmponuh8ft2.c' source_filename = "/tmp/tmponuh8ft2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %17, %2 %8 = load i32, ptr %6, align 4 %9 = icmp slt i32 %8, 10 br i1 %9, label %10, label %20 10: ; preds = %7 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = call i32 @power(i32 noundef 2, i32 noundef %12) %14 = load i32, ptr %6, align 4 %15 = call i32 @power(i32 noundef -3, i32 noundef %14) %16 = call i32 @printf(ptr noundef @.str, i32 noundef %11, i32 noundef %13, i32 noundef %15) br label %17 17: ; preds = %10 %18 = load i32, ptr %6, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %6, align 4 br label %7, !llvm.loop !6 20: ; preds = %7 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @power(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/tmponuh8ft2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = icmp slt i32 %7, 10 br i1 %8, label %.lr.ph, label %21 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %16 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = call i32 @power(i32 noundef 2, i32 noundef %11) %13 = load i32, ptr %6, align 4 %14 = call i32 @power(i32 noundef -3, i32 noundef %13) %15 = call i32 @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %12, i32 noundef %14) br label %16 16: ; preds = %9 %17 = load i32, ptr %6, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %6, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp slt i32 %19, 10 br i1 %20, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %21 21: ; preds = %._crit_edge, %2 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @power(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/tmppp0751ye.c' source_filename = "/tmp/tmppp0751ye.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bubblesort_int(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %37, %2 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %8 8: ; preds = %33, %7 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %4, align 4 %11 = sub nsw i32 %10, 1 %12 = icmp slt i32 %9, %11 br i1 %12, label %13, label %36 13: ; preds = %8 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %6, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i32, ptr %14, i64 %16 %18 = load i32, ptr %17, align 4 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %6, align 4 %21 = add nsw i32 %20, 1 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i32, ptr %19, i64 %22 %24 = load i32, ptr %23, align 4 %25 = icmp sgt i32 %18, %24 br i1 %25, label %26, label %32 26: ; preds = %13 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %6, align 4 %29 = load i32, ptr %6, align 4 %30 = add nsw i32 %29, 1 %31 = call i32 @swap(ptr noundef %27, i32 noundef %28, i32 noundef %30) store i32 1, ptr %5, align 4 br label %32 32: ; preds = %26, %13 br label %33 33: ; preds = %32 %34 = load i32, ptr %6, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %6, align 4 br label %8, !llvm.loop !6 36: ; preds = %8 br label %37 37: ; preds = %36 %38 = load i32, ptr %5, align 4 %39 = icmp ne i32 %38, 0 br i1 %39, label %7, label %40, !llvm.loop !8 40: ; preds = %37 ret void } declare i32 @swap(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppp0751ye.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bubblesort_int(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %40, %2 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = sub nsw i32 %9, 1 %11 = icmp slt i32 %8, %10 br i1 %11, label %.lr.ph, label %39 .lr.ph: ; preds = %7 br label %12 12: ; preds = %.lr.ph, %32 %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 ptr, ptr %3, align 8 %19 = load i32, ptr %6, align 4 %20 = add nsw i32 %19, 1 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %18, i64 %21 %23 = load i32, ptr %22, align 4 %24 = icmp sgt i32 %17, %23 br i1 %24, label %25, label %31 25: ; preds = %12 %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, 1 %30 = call i32 @swap(ptr noundef %26, i32 noundef %27, i32 noundef %29) store i32 1, ptr %5, align 4 br label %31 31: ; preds = %25, %12 br label %32 32: ; preds = %31 %33 = load i32, ptr %6, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %6, align 4 %35 = load i32, ptr %6, align 4 %36 = load i32, ptr %4, align 4 %37 = sub nsw i32 %36, 1 %38 = icmp slt i32 %35, %37 br i1 %38, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %39 39: ; preds = %._crit_edge, %7 br label %40 40: ; preds = %39 %41 = load i32, ptr %5, align 4 %42 = icmp ne i32 %41, 0 br i1 %42, label %7, label %43, !llvm.loop !8 43: ; preds = %40 ret void } declare i32 @swap(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpiqjeg9kb.c' source_filename = "/tmp/tmpiqjeg9kb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kfree(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 @__kern_mm_free(ptr noundef %3) ret i32 %4 } declare i32 @__kern_mm_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/tmpiqjeg9kb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kfree(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 @__kern_mm_free(ptr noundef %3) ret i32 %4 } declare i32 @__kern_mm_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/tmpmgps2m9t.c' source_filename = "/tmp/tmpmgps2m9t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIG_BLOCK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sig_block(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = call i32 @sigemptyset(ptr noundef %3) %5 = load i32, ptr %2, align 4 %6 = call i32 @sigaddset(ptr noundef %3, i32 noundef %5) %7 = load i32, ptr @SIG_BLOCK, align 4 %8 = call i32 @sigprocmask(i32 noundef %7, ptr noundef %3, i32 noundef 0) ret void } declare i32 @sigemptyset(ptr noundef) #1 declare i32 @sigaddset(ptr noundef, i32 noundef) #1 declare i32 @sigprocmask(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmgps2m9t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIG_BLOCK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sig_block(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = call i32 @sigemptyset(ptr noundef %3) %5 = load i32, ptr %2, align 4 %6 = call i32 @sigaddset(ptr noundef %3, i32 noundef %5) %7 = load i32, ptr @SIG_BLOCK, align 4 %8 = call i32 @sigprocmask(i32 noundef %7, ptr noundef %3, i32 noundef 0) ret void } declare i32 @sigemptyset(ptr noundef) #1 declare i32 @sigaddset(ptr noundef, i32 noundef) #1 declare i32 @sigprocmask(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptt_nfku_.c' source_filename = "/tmp/tmptt_nfku_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @longest_collatz_sequence(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 %0, ptr %2, align 8 store i32 0, ptr %4, align 4 %7 = load i64, ptr %2, align 8 store i64 %7, ptr %5, align 8 %8 = load i64, ptr %2, align 8 %9 = udiv i64 %8, 2 store i64 %9, ptr %6, align 8 br label %10 10: ; preds = %24, %1 %11 = load i64, ptr %6, align 8 %12 = load i64, ptr %2, align 8 %13 = icmp ule i64 %11, %12 br i1 %13, label %14, label %27 14: ; preds = %10 %15 = load i64, ptr %6, align 8 %16 = call i32 @collatz_sequence(i64 noundef %15) store i32 %16, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp sgt i32 %17, %18 br i1 %19, label %20, label %23 20: ; preds = %14 %21 = load i64, ptr %6, align 8 store i64 %21, ptr %5, align 8 %22 = load i32, ptr %3, align 4 store i32 %22, ptr %4, align 4 br label %23 23: ; preds = %20, %14 br label %24 24: ; preds = %23 %25 = load i64, ptr %6, align 8 %26 = add i64 %25, 1 store i64 %26, ptr %6, align 8 br label %10, !llvm.loop !6 27: ; preds = %10 %28 = load i64, ptr %5, align 8 ret i64 %28 } declare i32 @collatz_sequence(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/tmptt_nfku_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @longest_collatz_sequence(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 %0, ptr %2, align 8 store i32 0, ptr %4, align 4 %7 = load i64, ptr %2, align 8 store i64 %7, ptr %5, align 8 %8 = load i64, ptr %2, align 8 %9 = udiv i64 %8, 2 store i64 %9, ptr %6, align 8 %10 = load i64, ptr %6, align 8 %11 = load i64, ptr %2, align 8 %12 = icmp ule i64 %10, %11 br i1 %12, label %.lr.ph, label %29 .lr.ph: ; preds = %1 br label %13 13: ; preds = %.lr.ph, %23 %14 = load i64, ptr %6, align 8 %15 = call i32 @collatz_sequence(i64 noundef %14) store i32 %15, ptr %3, align 4 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp sgt i32 %16, %17 br i1 %18, label %19, label %22 19: ; preds = %13 %20 = load i64, ptr %6, align 8 store i64 %20, ptr %5, align 8 %21 = load i32, ptr %3, align 4 store i32 %21, ptr %4, align 4 br label %22 22: ; preds = %19, %13 br label %23 23: ; preds = %22 %24 = load i64, ptr %6, align 8 %25 = add i64 %24, 1 store i64 %25, ptr %6, align 8 %26 = load i64, ptr %6, align 8 %27 = load i64, ptr %2, align 8 %28 = icmp ule i64 %26, %27 br i1 %28, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %29 29: ; preds = %._crit_edge, %1 %30 = load i64, ptr %5, align 8 ret i64 %30 } declare i32 @collatz_sequence(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/tmppei5p2w4.c' source_filename = "/tmp/tmppei5p2w4.c" target datalayout = "e-m:e-p270: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 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @test_integration_test() %3 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %3 } declare i32 @test_integration_test(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppei5p2w4.c" target datalayout = "e-m:e-p270: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 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @test_integration_test() %3 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %3 } declare i32 @test_integration_test(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuj66qhya.c' source_filename = "/tmp/tmpuj66qhya.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ui_set_null_cursor() #0 { ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuj66qhya.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ui_set_null_cursor() #0 { ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu1iuosbh.c' source_filename = "/tmp/tmpu1iuosbh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @v4l2_mmap(ptr noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i64 %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 %13 = call i32 (...) @init() %14 = load ptr, ptr %7, align 8 %15 = load i64, ptr %8, align 8 %16 = load i32, ptr %9, align 4 %17 = load i32, ptr %10, align 4 %18 = load i32, ptr %11, align 4 %19 = load i32, ptr %12, align 4 %20 = call ptr @x_mmap(ptr noundef %14, i64 noundef %15, i32 noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef %19) ret ptr %20 } declare i32 @init(...) #1 declare ptr @x_mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu1iuosbh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @v4l2_mmap(ptr noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i64 %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 %13 = call i32 (...) @init() %14 = load ptr, ptr %7, align 8 %15 = load i64, ptr %8, align 8 %16 = load i32, ptr %9, align 4 %17 = load i32, ptr %10, align 4 %18 = load i32, ptr %11, align 4 %19 = load i32, ptr %12, align 4 %20 = call ptr @x_mmap(ptr noundef %14, i64 noundef %15, i32 noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef %19) ret ptr %20 } declare i32 @init(...) #1 declare ptr @x_mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu2539zv6.c' source_filename = "/tmp/tmpu2539zv6.c" target datalayout = "e-m:e-p270: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/tmpu2539zv6.c" target datalayout = "e-m:e-p270: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/tmpyqiyw5rw.c' source_filename = "/tmp/tmpyqiyw5rw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strsep(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 ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %8, align 8 store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %13, label %12 12: ; preds = %2 store ptr null, ptr %3, align 8 br label %31 13: ; preds = %2 %14 = load ptr, ptr %6, align 8 %15 = load ptr, ptr %6, align 8 %16 = load ptr, ptr %5, align 8 %17 = call i32 @strcspn(ptr noundef %15, ptr noundef %16) %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %14, i64 %18 store ptr %19, ptr %7, align 8 %20 = load ptr, ptr %7, align 8 %21 = load i8, ptr %20, align 1 %22 = icmp ne i8 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %13 %24 = load ptr, ptr %7, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %7, align 8 store i8 0, ptr %24, align 1 br label %27 26: ; preds = %13 store ptr null, ptr %7, align 8 br label %27 27: ; preds = %26, %23 %28 = load ptr, ptr %7, align 8 %29 = load ptr, ptr %4, align 8 store ptr %28, ptr %29, align 8 %30 = load ptr, ptr %6, align 8 store ptr %30, ptr %3, align 8 br label %31 31: ; preds = %27, %12 %32 = load ptr, ptr %3, align 8 ret ptr %32 } declare i32 @strcspn(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/tmpyqiyw5rw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strsep(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 ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %8, align 8 store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %13, label %12 12: ; preds = %2 store ptr null, ptr %3, align 8 br label %31 13: ; preds = %2 %14 = load ptr, ptr %6, align 8 %15 = load ptr, ptr %6, align 8 %16 = load ptr, ptr %5, align 8 %17 = call i32 @strcspn(ptr noundef %15, ptr noundef %16) %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %14, i64 %18 store ptr %19, ptr %7, align 8 %20 = load ptr, ptr %7, align 8 %21 = load i8, ptr %20, align 1 %22 = icmp ne i8 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %13 %24 = load ptr, ptr %7, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %7, align 8 store i8 0, ptr %24, align 1 br label %27 26: ; preds = %13 store ptr null, ptr %7, align 8 br label %27 27: ; preds = %26, %23 %28 = load ptr, ptr %7, align 8 %29 = load ptr, ptr %4, align 8 store ptr %28, ptr %29, align 8 %30 = load ptr, ptr %6, align 8 store ptr %30, ptr %3, align 8 br label %31 31: ; preds = %27, %12 %32 = load ptr, ptr %3, align 8 ret ptr %32 } declare i32 @strcspn(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/tmp3ac09lsz.c' source_filename = "/tmp/tmp3ac09lsz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @test_mult() %3 = call i32 (...) @test_div() %4 = call i32 (...) @test_mod() %5 = call i32 (...) @test_plus() %6 = call i32 (...) @test_minus() %7 = call i32 (...) @test_lshift() %8 = call i32 (...) @test_rshift() %9 = call i32 (...) @test_and() %10 = call i32 (...) @test_xor() %11 = call i32 (...) @test_or() %12 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @test_mult(...) #1 declare i32 @test_div(...) #1 declare i32 @test_mod(...) #1 declare i32 @test_plus(...) #1 declare i32 @test_minus(...) #1 declare i32 @test_lshift(...) #1 declare i32 @test_rshift(...) #1 declare i32 @test_and(...) #1 declare i32 @test_xor(...) #1 declare i32 @test_or(...) #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/tmp3ac09lsz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @test_mult() %3 = call i32 (...) @test_div() %4 = call i32 (...) @test_mod() %5 = call i32 (...) @test_plus() %6 = call i32 (...) @test_minus() %7 = call i32 (...) @test_lshift() %8 = call i32 (...) @test_rshift() %9 = call i32 (...) @test_and() %10 = call i32 (...) @test_xor() %11 = call i32 (...) @test_or() %12 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @test_mult(...) #1 declare i32 @test_div(...) #1 declare i32 @test_mod(...) #1 declare i32 @test_plus(...) #1 declare i32 @test_minus(...) #1 declare i32 @test_lshift(...) #1 declare i32 @test_rshift(...) #1 declare i32 @test_and(...) #1 declare i32 @test_xor(...) #1 declare i32 @test_or(...) #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/tmp4q2t6_bg.c' source_filename = "/tmp/tmp4q2t6_bg.c" target datalayout = "e-m:e-p270: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/tmp4q2t6_bg.c" target datalayout = "e-m:e-p270: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/tmp8a8zdn3q.c' source_filename = "/tmp/tmp8a8zdn3q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @max_height(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = add nsw i32 %3, 2 %5 = sitofp i32 %4 to double %6 = call double @log2(double noundef %5) #3 %7 = call double @llvm.fmuladd.f64(double 1.440000e+00, double %6, double 6.720000e-01) %8 = fptosi double %7 to i32 ret i32 %8 } ; Function Attrs: nounwind declare double @log2(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8a8zdn3q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @max_height(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = add nsw i32 %3, 2 %5 = sitofp i32 %4 to double %6 = call double @log2(double noundef %5) #3 %7 = call double @llvm.fmuladd.f64(double 1.440000e+00, double %6, double 6.720000e-01) %8 = fptosi double %7 to i32 ret i32 %8 } ; Function Attrs: nounwind declare double @log2(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp66rq638w.c' source_filename = "/tmp/tmp66rq638w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memchr(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i64 %2, ptr %7, align 8 %9 = load ptr, ptr %5, align 8 store ptr %9, ptr %8, align 8 br label %10 10: ; preds = %23, %3 %11 = load i64, ptr %7, align 8 %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %28 13: ; preds = %10 %14 = load ptr, ptr %8, align 8 %15 = load i8, ptr %14, align 1 %16 = zext i8 %15 to i32 %17 = load i32, ptr %6, align 4 %18 = trunc i32 %17 to i8 %19 = zext i8 %18 to i32 %20 = icmp eq i32 %16, %19 br i1 %20, label %21, label %23 21: ; preds = %13 %22 = load ptr, ptr %8, align 8 store ptr %22, ptr %4, align 8 br label %29 23: ; preds = %13 %24 = load ptr, ptr %8, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %8, align 8 %26 = load i64, ptr %7, align 8 %27 = add i64 %26, -1 store i64 %27, ptr %7, align 8 br label %10, !llvm.loop !6 28: ; preds = %10 store ptr null, ptr %4, align 8 br label %29 29: ; preds = %28, %21 %30 = load ptr, ptr %4, align 8 ret ptr %30 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp66rq638w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memchr(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i64 %2, ptr %7, align 8 %9 = load ptr, ptr %5, align 8 store ptr %9, ptr %8, align 8 %10 = load i64, ptr %7, align 8 %11 = icmp ne i64 %10, 0 br i1 %11, label %.lr.ph, label %29 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %22 %13 = load ptr, ptr %8, align 8 %14 = load i8, ptr %13, align 1 %15 = zext i8 %14 to i32 %16 = load i32, ptr %6, align 4 %17 = trunc i32 %16 to i8 %18 = zext i8 %17 to i32 %19 = icmp eq i32 %15, %18 br i1 %19, label %20, label %22 20: ; preds = %12 %21 = load ptr, ptr %8, align 8 store ptr %21, ptr %4, align 8 br label %30 22: ; preds = %12 %23 = load ptr, ptr %8, align 8 %24 = getelementptr inbounds i8, ptr %23, i32 1 store ptr %24, ptr %8, align 8 %25 = load i64, ptr %7, align 8 %26 = add i64 %25, -1 store i64 %26, ptr %7, align 8 %27 = load i64, ptr %7, align 8 %28 = icmp ne i64 %27, 0 br i1 %28, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %29 29: ; preds = %._crit_edge, %3 store ptr null, ptr %4, align 8 br label %30 30: ; preds = %29, %20 %31 = load ptr, ptr %4, align 8 ret ptr %31 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp7l_fp7mq.c' source_filename = "/tmp/tmp7l_fp7mq.c" target datalayout = "e-m:e-p270: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/tmp7l_fp7mq.c" target datalayout = "e-m:e-p270: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/tmpro1r7cg7.c' source_filename = "/tmp/tmpro1r7cg7.c" target datalayout = "e-m:e-p270: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/tmpro1r7cg7.c" target datalayout = "e-m:e-p270: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/tmp4ioyvwif.c' source_filename = "/tmp/tmp4ioyvwif.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @UCHAR_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @time_seed() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i64, align 8 %5 = call i32 @time(i32 noundef 0) store i32 %5, ptr %1, align 4 store ptr %1, ptr %2, align 8 store i32 0, ptr %3, align 4 store i64 0, ptr %4, align 8 br label %6 6: ; preds = %20, %0 %7 = load i64, ptr %4, align 8 %8 = icmp ult i64 %7, 4 br i1 %8, label %9, label %23 9: ; preds = %6 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr @UCHAR_MAX, align 4 %12 = add i32 %11, 2 %13 = mul i32 %10, %12 %14 = load ptr, ptr %2, align 8 %15 = load i64, ptr %4, align 8 %16 = getelementptr inbounds i8, ptr %14, i64 %15 %17 = load i8, ptr %16, align 1 %18 = zext i8 %17 to i32 %19 = add i32 %13, %18 store i32 %19, ptr %3, align 4 br label %20 20: ; preds = %9 %21 = load i64, ptr %4, align 8 %22 = add i64 %21, 1 store i64 %22, ptr %4, align 8 br label %6, !llvm.loop !6 23: ; preds = %6 %24 = load i32, ptr %3, align 4 ret i32 %24 } declare i32 @time(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/tmp4ioyvwif.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @UCHAR_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @time_seed() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i64, align 8 %5 = call i32 @time(i32 noundef 0) store i32 %5, ptr %1, align 4 store ptr %1, ptr %2, align 8 store i32 0, ptr %3, align 4 store i64 0, ptr %4, align 8 %6 = load i64, ptr %4, align 8 %7 = icmp ult i64 %6, 4 br i1 %7, label %.lr.ph, label %24 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %19 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr @UCHAR_MAX, align 4 %11 = add i32 %10, 2 %12 = mul i32 %9, %11 %13 = load ptr, ptr %2, align 8 %14 = load i64, ptr %4, align 8 %15 = getelementptr inbounds i8, ptr %13, i64 %14 %16 = load i8, ptr %15, align 1 %17 = zext i8 %16 to i32 %18 = add i32 %12, %17 store i32 %18, ptr %3, align 4 br label %19 19: ; preds = %8 %20 = load i64, ptr %4, align 8 %21 = add i64 %20, 1 store i64 %21, ptr %4, align 8 %22 = load i64, ptr %4, align 8 %23 = icmp ult i64 %22, 4 br i1 %23, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %0 %25 = load i32, ptr %3, align 4 ret i32 %25 } declare i32 @time(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/tmpzea8h4ly.c' source_filename = "/tmp/tmpzea8h4ly.c" target datalayout = "e-m:e-p270: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/tmpzea8h4ly.c" target datalayout = "e-m:e-p270: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/tmp5lb_79m6.c' source_filename = "/tmp/tmp5lb_79m6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @key_alloc(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 = call i64 @key_size(ptr noundef %5) %7 = load ptr, ptr %4, align 8 store i64 %6, ptr %7, align 8 %8 = call ptr @calloc(i32 noundef 1, i64 noundef %6) ret ptr %8 } declare ptr @calloc(i32 noundef, i64 noundef) #1 declare i64 @key_size(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5lb_79m6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @key_alloc(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 = call i64 @key_size(ptr noundef %5) %7 = load ptr, ptr %4, align 8 store i64 %6, ptr %7, align 8 %8 = call ptr @calloc(i32 noundef 1, i64 noundef %6) ret ptr %8 } declare ptr @calloc(i32 noundef, i64 noundef) #1 declare i64 @key_size(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppnwb8y7a.c' source_filename = "/tmp/tmppnwb8y7a.c" target datalayout = "e-m:e-p270: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/tmppnwb8y7a.c" target datalayout = "e-m:e-p270: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/tmpla7vlhpk.c' source_filename = "/tmp/tmpla7vlhpk.c" target datalayout = "e-m:e-p270: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/tmpla7vlhpk.c" target datalayout = "e-m:e-p270: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/tmpl427v2ep.c' source_filename = "/tmp/tmpl427v2ep.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Error %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"Success\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @read_header() %3 = icmp ne i32 %2, 156 br i1 %3, label %4, label %7 4: ; preds = %0 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %6 = call i32 @exit(i32 noundef 1) #3 unreachable 7: ; preds = %0 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %9 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @read_header(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl427v2ep.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Error %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"Success\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @read_header() %3 = icmp ne i32 %2, 156 br i1 %3, label %4, label %7 4: ; preds = %0 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %6 = call i32 @exit(i32 noundef 1) #3 unreachable 7: ; preds = %0 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %9 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @read_header(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvz6kohyu.c' source_filename = "/tmp/tmpvz6kohyu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SensorSetContrast_SIV100B(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = zext i8 %3 to i32 switch i32 %4, label %15 [ i32 1, label %5 i32 2, label %7 i32 3, label %9 i32 4, label %11 i32 5, label %13 ] 5: ; preds = %1 %6 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 212, i32 noundef 4) br label %16 7: ; preds = %1 %8 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 212, i32 noundef 10) br label %16 9: ; preds = %1 %10 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 212, i32 noundef 16) br label %16 11: ; preds = %1 %12 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 212, i32 noundef 24) br label %16 13: ; preds = %1 %14 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 212, i32 noundef 32) br label %16 15: ; preds = %1 br label %16 16: ; preds = %15, %13, %11, %9, %7, %5 ret void } declare i32 @VIM_SIF_I2cWriteByte(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/tmpvz6kohyu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SensorSetContrast_SIV100B(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = zext i8 %3 to i32 switch i32 %4, label %15 [ i32 1, label %5 i32 2, label %7 i32 3, label %9 i32 4, label %11 i32 5, label %13 ] 5: ; preds = %1 %6 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 212, i32 noundef 4) br label %16 7: ; preds = %1 %8 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 212, i32 noundef 10) br label %16 9: ; preds = %1 %10 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 212, i32 noundef 16) br label %16 11: ; preds = %1 %12 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 212, i32 noundef 24) br label %16 13: ; preds = %1 %14 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 212, i32 noundef 32) br label %16 15: ; preds = %1 br label %16 16: ; preds = %15, %13, %11, %9, %7, %5 ret void } declare i32 @VIM_SIF_I2cWriteByte(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/tmpo8dezm8l.c' source_filename = "/tmp/tmpo8dezm8l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nordisrnd(double noundef %0, double noundef %1, ptr noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca i32, align 4 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 1, ptr %8, align 4 store double 0.000000e+00, ptr %7, align 8 br label %9 9: ; preds = %17, %3 %10 = load i32, ptr %8, align 4 %11 = icmp sle i32 %10, 12 br i1 %11, label %12, label %20 12: ; preds = %9 %13 = load double, ptr %7, align 8 %14 = load ptr, ptr %6, align 8 %15 = call double @edisrnd(ptr noundef %14) %16 = fadd double %13, %15 store double %16, ptr %7, align 8 br label %17 17: ; preds = %12 %18 = load i32, ptr %8, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %8, align 4 br label %9, !llvm.loop !6 20: ; preds = %9 %21 = load double, ptr %4, align 8 %22 = load double, ptr %5, align 8 %23 = load double, ptr %7, align 8 %24 = fsub double %23, 6.000000e+00 %25 = call double @llvm.fmuladd.f64(double %22, double %24, double %21) store double %25, ptr %7, align 8 %26 = load double, ptr %7, align 8 ret double %26 } declare double @edisrnd(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo8dezm8l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nordisrnd(double noundef %0, double noundef %1, ptr noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca i32, align 4 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 1, ptr %8, align 4 store double 0.000000e+00, ptr %7, align 8 %9 = load i32, ptr %8, align 4 %10 = icmp sle i32 %9, 12 br i1 %10, label %.lr.ph, label %21 .lr.ph: ; preds = %3 br label %11 11: ; preds = %.lr.ph, %16 %12 = load double, ptr %7, align 8 %13 = load ptr, ptr %6, align 8 %14 = call double @edisrnd(ptr noundef %13) %15 = fadd double %12, %14 store double %15, ptr %7, align 8 br label %16 16: ; preds = %11 %17 = load i32, ptr %8, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp sle i32 %19, 12 br i1 %20, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %21 21: ; preds = %._crit_edge, %3 %22 = load double, ptr %4, align 8 %23 = load double, ptr %5, align 8 %24 = load double, ptr %7, align 8 %25 = fsub double %24, 6.000000e+00 %26 = call double @llvm.fmuladd.f64(double %23, double %25, double %22) store double %26, ptr %7, align 8 %27 = load double, ptr %7, align 8 ret double %27 } declare double @edisrnd(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp9psddmnt.c' source_filename = "/tmp/tmp9psddmnt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swapstr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [50 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strcpy(ptr noundef %6, ptr noundef %7) %9 = load ptr, ptr %3, align 8 %10 = load ptr, ptr %4, align 8 %11 = call i32 @strcpy(ptr noundef %9, ptr noundef %10) %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %14 = call i32 @strcpy(ptr noundef %12, ptr noundef %13) ret void } declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9psddmnt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swapstr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [50 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strcpy(ptr noundef %6, ptr noundef %7) %9 = load ptr, ptr %3, align 8 %10 = load ptr, ptr %4, align 8 %11 = call i32 @strcpy(ptr noundef %9, ptr noundef %10) %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %14 = call i32 @strcpy(ptr noundef %12, ptr noundef %13) ret void } declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpezd8uy3g.c' source_filename = "/tmp/tmpezd8uy3g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @sfd_preproc(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @remove(ptr noundef %6) %8 = load ptr, ptr %4, align 8 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %3, align 8 %11 = call i32 @fclose(ptr noundef %10) %12 = load ptr, ptr %5, align 8 ret ptr %12 } declare i32 @remove(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpezd8uy3g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @sfd_preproc(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @remove(ptr noundef %6) %8 = load ptr, ptr %4, align 8 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %3, align 8 %11 = call i32 @fclose(ptr noundef %10) %12 = load ptr, ptr %5, align 8 ret ptr %12 } declare i32 @remove(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp98d28w5i.c' source_filename = "/tmp/tmp98d28w5i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"%3d %10ld %.14f % .14f % .14f\0A\00", align 1 @M_PI = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i64 4, ptr %3, align 8 %6 = call i32 @sqrt(i32 noundef 2) %7 = sitofp i32 %6 to double store double %7, ptr %4, align 8 %8 = load i64, ptr %3, align 8 %9 = sitofp i64 %8 to double %10 = load double, ptr %4, align 8 %11 = fdiv double %9, %10 store double %11, ptr %5, align 8 %12 = load i32, ptr %2, align 4 %13 = load i64, ptr %3, align 8 %14 = load double, ptr %4, align 8 %15 = load double, ptr %5, align 8 %16 = load i64, ptr @M_PI, align 8 %17 = sitofp i64 %16 to double %18 = load double, ptr %5, align 8 %19 = fsub double %17, %18 %20 = fptosi double %19 to i64 %21 = call i32 @printf(ptr noundef @.str, i32 noundef %12, i64 noundef %13, double noundef %14, double noundef %15, i64 noundef %20) store i32 1, ptr %2, align 4 br label %22 22: ; preds = %64, %0 %23 = load i32, ptr %2, align 4 %24 = icmp slt i32 %23, 28 br i1 %24, label %25, label %67 25: ; preds = %22 %26 = load double, ptr %4, align 8 %27 = fmul double 2.000000e+00, %26 %28 = load double, ptr %4, align 8 %29 = load double, ptr %4, align 8 %30 = load double, ptr %4, align 8 %31 = fmul double %29, %30 %32 = load double, ptr %4, align 8 %33 = fmul double %31, %32 %34 = load double, ptr %4, align 8 %35 = load double, ptr %4, align 8 %36 = load double, ptr %4, align 8 %37 = fmul double %35, %36 %38 = fneg double %37 %39 = call double @llvm.fmuladd.f64(double %33, double %34, double %38) %40 = fptosi double %39 to i32 %41 = call i32 @sqrt(i32 noundef %40) %42 = mul nsw i32 2, %41 %43 = sitofp i32 %42 to double %44 = call double @llvm.fmuladd.f64(double %27, double %28, double %43) %45 = fptosi double %44 to i32 %46 = call i32 @sqrt(i32 noundef %45) %47 = sitofp i32 %46 to double store double %47, ptr %4, align 8 %48 = load i64, ptr %3, align 8 %49 = mul nsw i64 %48, 2 store i64 %49, ptr %3, align 8 %50 = load i64, ptr %3, align 8 %51 = sitofp i64 %50 to double %52 = load double, ptr %4, align 8 %53 = fdiv double %51, %52 store double %53, ptr %5, align 8 %54 = load i32, ptr %2, align 4 %55 = load i64, ptr %3, align 8 %56 = load double, ptr %4, align 8 %57 = load double, ptr %5, align 8 %58 = load i64, ptr @M_PI, align 8 %59 = sitofp i64 %58 to double %60 = load double, ptr %5, align 8 %61 = fsub double %59, %60 %62 = fptosi double %61 to i64 %63 = call i32 @printf(ptr noundef @.str, i32 noundef %54, i64 noundef %55, double noundef %56, double noundef %57, i64 noundef %62) br label %64 64: ; preds = %25 %65 = load i32, ptr %2, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %2, align 4 br label %22, !llvm.loop !6 67: ; preds = %22 ret i32 0 } declare i32 @sqrt(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i64 noundef, double noundef, double noundef, i64 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp98d28w5i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"%3d %10ld %.14f % .14f % .14f\0A\00", align 1 @M_PI = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i64 4, ptr %3, align 8 %6 = call i32 @sqrt(i32 noundef 2) %7 = sitofp i32 %6 to double store double %7, ptr %4, align 8 %8 = load i64, ptr %3, align 8 %9 = sitofp i64 %8 to double %10 = load double, ptr %4, align 8 %11 = fdiv double %9, %10 store double %11, ptr %5, align 8 %12 = load i32, ptr %2, align 4 %13 = load i64, ptr %3, align 8 %14 = load double, ptr %4, align 8 %15 = load double, ptr %5, align 8 %16 = load i64, ptr @M_PI, align 8 %17 = sitofp i64 %16 to double %18 = load double, ptr %5, align 8 %19 = fsub double %17, %18 %20 = fptosi double %19 to i64 %21 = call i32 @printf(ptr noundef @.str, i32 noundef %12, i64 noundef %13, double noundef %14, double noundef %15, i64 noundef %20) store i32 1, ptr %2, align 4 %22 = load i32, ptr %2, align 4 %23 = icmp slt i32 %22, 28 br i1 %23, label %.lr.ph, label %68 .lr.ph: ; preds = %0 br label %24 24: ; preds = %.lr.ph, %63 %25 = load double, ptr %4, align 8 %26 = fmul double 2.000000e+00, %25 %27 = load double, ptr %4, align 8 %28 = load double, ptr %4, align 8 %29 = load double, ptr %4, align 8 %30 = fmul double %28, %29 %31 = load double, ptr %4, align 8 %32 = fmul double %30, %31 %33 = load double, ptr %4, align 8 %34 = load double, ptr %4, align 8 %35 = load double, ptr %4, align 8 %36 = fmul double %34, %35 %37 = fneg double %36 %38 = call double @llvm.fmuladd.f64(double %32, double %33, double %37) %39 = fptosi double %38 to i32 %40 = call i32 @sqrt(i32 noundef %39) %41 = mul nsw i32 2, %40 %42 = sitofp i32 %41 to double %43 = call double @llvm.fmuladd.f64(double %26, double %27, double %42) %44 = fptosi double %43 to i32 %45 = call i32 @sqrt(i32 noundef %44) %46 = sitofp i32 %45 to double store double %46, ptr %4, align 8 %47 = load i64, ptr %3, align 8 %48 = mul nsw i64 %47, 2 store i64 %48, ptr %3, align 8 %49 = load i64, ptr %3, align 8 %50 = sitofp i64 %49 to double %51 = load double, ptr %4, align 8 %52 = fdiv double %50, %51 store double %52, ptr %5, align 8 %53 = load i32, ptr %2, align 4 %54 = load i64, ptr %3, align 8 %55 = load double, ptr %4, align 8 %56 = load double, ptr %5, align 8 %57 = load i64, ptr @M_PI, align 8 %58 = sitofp i64 %57 to double %59 = load double, ptr %5, align 8 %60 = fsub double %58, %59 %61 = fptosi double %60 to i64 %62 = call i32 @printf(ptr noundef @.str, i32 noundef %53, i64 noundef %54, double noundef %55, double noundef %56, i64 noundef %61) br label %63 63: ; preds = %24 %64 = load i32, ptr %2, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %2, align 4 %66 = load i32, ptr %2, align 4 %67 = icmp slt i32 %66, 28 br i1 %67, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %63 br label %68 68: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @sqrt(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i64 noundef, double noundef, double noundef, i64 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpjcpi6f8c.c' source_filename = "/tmp/tmpjcpi6f8c.c" target datalayout = "e-m:e-p270: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/tmpjcpi6f8c.c" target datalayout = "e-m:e-p270: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/tmptzsy9v50.c' source_filename = "/tmp/tmptzsy9v50.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parseLine(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %15, %1 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 %6 = sext i8 %5 to i32 %7 = icmp slt i32 %6, 48 br i1 %7, label %13, label %8 8: ; preds = %3 %9 = load ptr, ptr %2, align 8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp sgt i32 %11, 57 br label %13 13: ; preds = %8, %3 %14 = phi i1 [ true, %3 ], [ %12, %8 ] br i1 %14, label %15, label %18 15: ; preds = %13 %16 = load ptr, ptr %2, align 8 %17 = getelementptr inbounds i8, ptr %16, i32 1 store ptr %17, ptr %2, align 8 br label %3, !llvm.loop !6 18: ; preds = %13 %19 = load ptr, ptr %2, align 8 %20 = call i32 @atoi(ptr noundef %19) ret i32 %20 } declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptzsy9v50.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parseLine(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %15, %1 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 %6 = sext i8 %5 to i32 %7 = icmp slt i32 %6, 48 br i1 %7, label %13, label %8 8: ; preds = %3 %9 = load ptr, ptr %2, align 8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp sgt i32 %11, 57 br label %13 13: ; preds = %8, %3 %14 = phi i1 [ true, %3 ], [ %12, %8 ] br i1 %14, label %15, label %18 15: ; preds = %13 %16 = load ptr, ptr %2, align 8 %17 = getelementptr inbounds i8, ptr %16, i32 1 store ptr %17, ptr %2, align 8 br label %3, !llvm.loop !6 18: ; preds = %13 %19 = load ptr, ptr %2, align 8 %20 = call i32 @atoi(ptr noundef %19) ret i32 %20 } declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpjxvmsevk.c' source_filename = "/tmp/tmpjxvmsevk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isnScramble(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca [26 x i32], align 16 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %6, align 8 %14 = load i32, ptr %7, align 4 %15 = call i32 @strncmp(ptr noundef %12, ptr noundef %13, i32 noundef %14) %16 = icmp ne i32 %15, 0 br i1 %16, label %18, label %17 17: ; preds = %3 store i32 1, ptr %4, align 4 br label %119 18: ; preds = %3 call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 104, i1 false) store i32 0, ptr %9, align 4 br label %19 19: ; preds = %46, %18 %20 = load i32, ptr %9, align 4 %21 = load i32, ptr %7, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %49 23: ; preds = %19 %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr %9, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = sub nsw i32 %29, 97 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [26 x i32], ptr %8, i64 0, i64 %31 %33 = load i32, ptr %32, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %32, align 4 %35 = load ptr, ptr %6, align 8 %36 = load i32, ptr %9, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = sub nsw i32 %40, 97 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [26 x i32], ptr %8, i64 0, i64 %42 %44 = load i32, ptr %43, align 4 %45 = add nsw i32 %44, -1 store i32 %45, ptr %43, align 4 br label %46 46: ; preds = %23 %47 = load i32, ptr %9, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %9, align 4 br label %19, !llvm.loop !6 49: ; preds = %19 store i32 0, ptr %10, align 4 br label %50 50: ; preds = %61, %49 %51 = load i32, ptr %10, align 4 %52 = icmp slt i32 %51, 26 br i1 %52, label %53, label %64 53: ; preds = %50 %54 = load i32, ptr %10, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [26 x i32], ptr %8, i64 0, i64 %55 %57 = load i32, ptr %56, align 4 %58 = icmp ne i32 %57, 0 br i1 %58, label %59, label %60 59: ; preds = %53 store i32 0, ptr %4, align 4 br label %119 60: ; preds = %53 br label %61 61: ; preds = %60 %62 = load i32, ptr %10, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %10, align 4 br label %50, !llvm.loop !8 64: ; preds = %50 store i32 1, ptr %11, align 4 br label %65 65: ; preds = %115, %64 %66 = load i32, ptr %11, align 4 %67 = load i32, ptr %7, align 4 %68 = icmp slt i32 %66, %67 br i1 %68, label %69, label %118 69: ; preds = %65 %70 = load ptr, ptr %5, align 8 %71 = load ptr, ptr %6, align 8 %72 = load i32, ptr %11, align 4 %73 = call i32 @isnScramble(ptr noundef %70, ptr noundef %71, i32 noundef %72) %74 = icmp ne i32 %73, 0 br i1 %74, label %75, label %89 75: ; preds = %69 %76 = load ptr, ptr %5, align 8 %77 = load i32, ptr %11, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i8, ptr %76, i64 %78 %80 = load ptr, ptr %6, align 8 %81 = load i32, ptr %11, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i8, ptr %80, i64 %82 %84 = load i32, ptr %7, align 4 %85 = load i32, ptr %11, align 4 %86 = sub nsw i32 %84, %85 %87 = call i32 @isnScramble(ptr noundef %79, ptr noundef %83, i32 noundef %86) %88 = icmp ne i32 %87, 0 br i1 %88, label %113, label %89 89: ; preds = %75, %69 %90 = load ptr, ptr %5, align 8 %91 = load ptr, ptr %6, align 8 %92 = load i32, ptr %7, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds i8, ptr %91, i64 %93 %95 = load i32, ptr %11, align 4 %96 = sext i32 %95 to i64 %97 = sub i64 0, %96 %98 = getelementptr inbounds i8, ptr %94, i64 %97 %99 = load i32, ptr %11, align 4 %100 = call i32 @isnScramble(ptr noundef %90, ptr noundef %98, i32 noundef %99) %101 = icmp ne i32 %100, 0 br i1 %101, label %102, label %114 102: ; preds = %89 %103 = load ptr, ptr %5, align 8 %104 = load i32, ptr %11, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds i8, ptr %103, i64 %105 %107 = load ptr, ptr %6, align 8 %108 = load i32, ptr %7, align 4 %109 = load i32, ptr %11, align 4 %110 = sub nsw i32 %108, %109 %111 = call i32 @isnScramble(ptr noundef %106, ptr noundef %107, i32 noundef %110) %112 = icmp ne i32 %111, 0 br i1 %112, label %113, label %114 113: ; preds = %102, %75 store i32 1, ptr %4, align 4 br label %119 114: ; preds = %102, %89 br label %115 115: ; preds = %114 %116 = load i32, ptr %11, align 4 %117 = add nsw i32 %116, 1 store i32 %117, ptr %11, align 4 br label %65, !llvm.loop !9 118: ; preds = %65 store i32 0, ptr %4, align 4 br label %119 119: ; preds = %118, %113, %59, %17 %120 = load i32, ptr %4, align 4 ret i32 %120 } declare i32 @strncmp(ptr noundef, ptr noundef, i32 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 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjxvmsevk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isnScramble(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca [26 x i32], align 16 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %6, align 8 %14 = load i32, ptr %7, align 4 %15 = call i32 @strncmp(ptr noundef %12, ptr noundef %13, i32 noundef %14) %16 = icmp ne i32 %15, 0 br i1 %16, label %18, label %17 17: ; preds = %3 store i32 1, ptr %4, align 4 br label %124 18: ; preds = %3 call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 104, i1 false) store i32 0, ptr %9, align 4 %19 = load i32, ptr %9, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %.lr.ph, label %51 .lr.ph: ; preds = %18 br label %22 22: ; preds = %.lr.ph, %45 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %9, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = sub nsw i32 %28, 97 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [26 x i32], ptr %8, i64 0, i64 %30 %32 = load i32, ptr %31, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %31, align 4 %34 = load ptr, ptr %6, align 8 %35 = load i32, ptr %9, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = sub nsw i32 %39, 97 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [26 x i32], ptr %8, i64 0, i64 %41 %43 = load i32, ptr %42, align 4 %44 = add nsw i32 %43, -1 store i32 %44, ptr %42, align 4 br label %45 45: ; preds = %22 %46 = load i32, ptr %9, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %9, align 4 %48 = load i32, ptr %9, align 4 %49 = load i32, ptr %7, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %51 51: ; preds = %._crit_edge, %18 store i32 0, ptr %10, align 4 %52 = load i32, ptr %10, align 4 %53 = icmp slt i32 %52, 26 br i1 %53, label %.lr.ph2, label %67 .lr.ph2: ; preds = %51 br label %54 54: ; preds = %.lr.ph2, %62 %55 = load i32, ptr %10, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [26 x i32], ptr %8, i64 0, i64 %56 %58 = load i32, ptr %57, align 4 %59 = icmp ne i32 %58, 0 br i1 %59, label %60, label %61 60: ; preds = %54 store i32 0, ptr %4, align 4 br label %124 61: ; preds = %54 br label %62 62: ; preds = %61 %63 = load i32, ptr %10, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %10, align 4 %65 = load i32, ptr %10, align 4 %66 = icmp slt i32 %65, 26 br i1 %66, label %54, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %62 br label %67 67: ; preds = %._crit_edge3, %51 store i32 1, ptr %11, align 4 %68 = load i32, ptr %11, align 4 %69 = load i32, ptr %7, align 4 %70 = icmp slt i32 %68, %69 br i1 %70, label %.lr.ph5, label %123 .lr.ph5: ; preds = %67 br label %71 71: ; preds = %.lr.ph5, %117 %72 = load ptr, ptr %5, align 8 %73 = load ptr, ptr %6, align 8 %74 = load i32, ptr %11, align 4 %75 = call i32 @isnScramble(ptr noundef %72, ptr noundef %73, i32 noundef %74) %76 = icmp ne i32 %75, 0 br i1 %76, label %77, label %91 77: ; preds = %71 %78 = load ptr, ptr %5, align 8 %79 = load i32, ptr %11, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i8, ptr %78, i64 %80 %82 = load ptr, ptr %6, align 8 %83 = load i32, ptr %11, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i8, ptr %82, i64 %84 %86 = load i32, ptr %7, align 4 %87 = load i32, ptr %11, align 4 %88 = sub nsw i32 %86, %87 %89 = call i32 @isnScramble(ptr noundef %81, ptr noundef %85, i32 noundef %88) %90 = icmp ne i32 %89, 0 br i1 %90, label %115, label %91 91: ; preds = %77, %71 %92 = load ptr, ptr %5, align 8 %93 = load ptr, ptr %6, align 8 %94 = load i32, ptr %7, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds i8, ptr %93, i64 %95 %97 = load i32, ptr %11, align 4 %98 = sext i32 %97 to i64 %99 = sub i64 0, %98 %100 = getelementptr inbounds i8, ptr %96, i64 %99 %101 = load i32, ptr %11, align 4 %102 = call i32 @isnScramble(ptr noundef %92, ptr noundef %100, i32 noundef %101) %103 = icmp ne i32 %102, 0 br i1 %103, label %104, label %116 104: ; preds = %91 %105 = load ptr, ptr %5, align 8 %106 = load i32, ptr %11, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds i8, ptr %105, i64 %107 %109 = load ptr, ptr %6, align 8 %110 = load i32, ptr %7, align 4 %111 = load i32, ptr %11, align 4 %112 = sub nsw i32 %110, %111 %113 = call i32 @isnScramble(ptr noundef %108, ptr noundef %109, i32 noundef %112) %114 = icmp ne i32 %113, 0 br i1 %114, label %115, label %116 115: ; preds = %104, %77 store i32 1, ptr %4, align 4 br label %124 116: ; preds = %104, %91 br label %117 117: ; preds = %116 %118 = load i32, ptr %11, align 4 %119 = add nsw i32 %118, 1 store i32 %119, ptr %11, align 4 %120 = load i32, ptr %11, align 4 %121 = load i32, ptr %7, align 4 %122 = icmp slt i32 %120, %121 br i1 %122, label %71, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %117 br label %123 123: ; preds = %._crit_edge6, %67 store i32 0, ptr %4, align 4 br label %124 124: ; preds = %123, %115, %60, %17 %125 = load i32, ptr %4, align 4 ret i32 %125 } declare i32 @strncmp(ptr noundef, ptr noundef, i32 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 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpvyclbaly.c' source_filename = "/tmp/tmpvyclbaly.c" target datalayout = "e-m:e-p270: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/tmpvyclbaly.c" target datalayout = "e-m:e-p270: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/tmp4gkv70n5.c' source_filename = "/tmp/tmp4gkv70n5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getpriority(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %4, align 4 %8 = call i32 @__getpriority(i32 noundef %6, i32 noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = load i32, ptr %5, align 4 br label %16 13: ; preds = %2 %14 = load i32, ptr %5, align 4 %15 = sub nsw i32 20, %14 br label %16 16: ; preds = %13, %11 %17 = phi i32 [ %12, %11 ], [ %15, %13 ] ret i32 %17 } declare i32 @__getpriority(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4gkv70n5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getpriority(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %4, align 4 %8 = call i32 @__getpriority(i32 noundef %6, i32 noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = load i32, ptr %5, align 4 br label %16 13: ; preds = %2 %14 = load i32, ptr %5, align 4 %15 = sub nsw i32 20, %14 br label %16 16: ; preds = %13, %11 %17 = phi i32 [ %12, %11 ], [ %15, %13 ] ret i32 %17 } declare i32 @__getpriority(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw2jwi_c1.c' source_filename = "/tmp/tmpw2jwi_c1.c" target datalayout = "e-m:e-p270: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.group = type { ptr, ptr, i32, ptr } @.str = private unnamed_addr constant [6 x i8] c"fnord\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"uucp\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"not found\00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c"name %s\09password %s\09gid %u\09[\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c",\00", align 1 @.str.6 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.7 = private unnamed_addr constant [3 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 ptr, align 8 store i32 0, ptr %1, align 4 %4 = call ptr @getgrnam(ptr noundef @.str) store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %9, label %7 7: ; preds = %0 %8 = call ptr @getgrnam(ptr noundef @.str.1) store ptr %8, ptr %3, align 8 br label %9 9: ; preds = %7, %0 %10 = load ptr, ptr %3, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %14, label %12 12: ; preds = %9 %13 = call i32 @puts(ptr noundef @.str.2) store i32 0, ptr %1, align 4 br label %64 14: ; preds = %9 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds %struct.group, ptr %15, i32 0, i32 0 %17 = load ptr, ptr %16, align 8 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds %struct.group, ptr %18, i32 0, i32 1 %20 = load ptr, ptr %19, align 8 %21 = load ptr, ptr %3, align 8 %22 = getelementptr inbounds %struct.group, ptr %21, i32 0, i32 2 %23 = load i32, ptr %22, align 8 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %17, ptr noundef %20, i32 noundef %23) store i32 0, ptr %2, align 4 br label %25 25: ; preds = %59, %14 %26 = load i32, ptr %2, align 4 %27 = icmp slt i32 %26, 8 br i1 %27, label %28, label %62 28: ; preds = %25 %29 = load ptr, ptr %3, align 8 %30 = getelementptr inbounds %struct.group, ptr %29, i32 0, i32 3 %31 = load ptr, ptr %30, align 8 %32 = load i32, ptr %2, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds ptr, ptr %31, i64 %33 %35 = load ptr, ptr %34, align 8 %36 = icmp ne ptr %35, null br i1 %36, label %37, label %57 37: ; preds = %28 %38 = load ptr, ptr %3, align 8 %39 = getelementptr inbounds %struct.group, ptr %38, i32 0, i32 3 %40 = load ptr, ptr %39, align 8 %41 = load i32, ptr %2, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds ptr, ptr %40, i64 %42 %44 = load ptr, ptr %43, align 8 %45 = load ptr, ptr %3, align 8 %46 = getelementptr inbounds %struct.group, ptr %45, i32 0, i32 3 %47 = load ptr, ptr %46, align 8 %48 = load i32, ptr %2, align 4 %49 = add nsw i32 %48, 1 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds ptr, ptr %47, i64 %50 %52 = load ptr, ptr %51, align 8 %53 = icmp ne ptr %52, null %54 = zext i1 %53 to i64 %55 = select i1 %53, ptr @.str.5, ptr @.str.6 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %44, ptr noundef %55) br label %58 57: ; preds = %28 br label %62 58: ; preds = %37 br label %59 59: ; preds = %58 %60 = load i32, ptr %2, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %2, align 4 br label %25, !llvm.loop !6 62: ; preds = %57, %25 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 0, ptr %1, align 4 br label %64 64: ; preds = %62, %12 %65 = load i32, ptr %1, align 4 ret i32 %65 } declare ptr @getgrnam(ptr noundef) #1 declare i32 @puts(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw2jwi_c1.c" target datalayout = "e-m:e-p270: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.group = type { ptr, ptr, i32, ptr } @.str = private unnamed_addr constant [6 x i8] c"fnord\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"uucp\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"not found\00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c"name %s\09password %s\09gid %u\09[\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c",\00", align 1 @.str.6 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.7 = private unnamed_addr constant [3 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 ptr, align 8 store i32 0, ptr %1, align 4 %4 = call ptr @getgrnam(ptr noundef @.str) store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %9, label %7 7: ; preds = %0 %8 = call ptr @getgrnam(ptr noundef @.str.1) store ptr %8, ptr %3, align 8 br label %9 9: ; preds = %7, %0 %10 = load ptr, ptr %3, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %14, label %12 12: ; preds = %9 %13 = call i32 @puts(ptr noundef @.str.2) store i32 0, ptr %1, align 4 br label %65 14: ; preds = %9 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds %struct.group, ptr %15, i32 0, i32 0 %17 = load ptr, ptr %16, align 8 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds %struct.group, ptr %18, i32 0, i32 1 %20 = load ptr, ptr %19, align 8 %21 = load ptr, ptr %3, align 8 %22 = getelementptr inbounds %struct.group, ptr %21, i32 0, i32 2 %23 = load i32, ptr %22, align 8 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %17, ptr noundef %20, i32 noundef %23) store i32 0, ptr %2, align 4 %25 = load i32, ptr %2, align 4 %26 = icmp slt i32 %25, 8 br i1 %26, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %14 br label %27 27: ; preds = %.lr.ph, %58 %28 = load ptr, ptr %3, align 8 %29 = getelementptr inbounds %struct.group, ptr %28, i32 0, i32 3 %30 = load ptr, ptr %29, align 8 %31 = load i32, ptr %2, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds ptr, ptr %30, i64 %32 %34 = load ptr, ptr %33, align 8 %35 = icmp ne ptr %34, null br i1 %35, label %36, label %56 36: ; preds = %27 %37 = load ptr, ptr %3, align 8 %38 = getelementptr inbounds %struct.group, ptr %37, i32 0, i32 3 %39 = load ptr, ptr %38, align 8 %40 = load i32, ptr %2, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds ptr, ptr %39, i64 %41 %43 = load ptr, ptr %42, align 8 %44 = load ptr, ptr %3, align 8 %45 = getelementptr inbounds %struct.group, ptr %44, i32 0, i32 3 %46 = load ptr, ptr %45, align 8 %47 = load i32, ptr %2, align 4 %48 = add nsw i32 %47, 1 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds ptr, ptr %46, i64 %49 %51 = load ptr, ptr %50, align 8 %52 = icmp ne ptr %51, null %53 = zext i1 %52 to i64 %54 = select i1 %52, ptr @.str.5, ptr @.str.6 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %43, ptr noundef %54) br label %57 56: ; preds = %27 br label %63 57: ; preds = %36 br label %58 58: ; preds = %57 %59 = load i32, ptr %2, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %2, align 4 %61 = load i32, ptr %2, align 4 %62 = icmp slt i32 %61, 8 br i1 %62, label %27, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %58 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %14 br label %63 63: ; preds = %.loopexit, %56 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 0, ptr %1, align 4 br label %65 65: ; preds = %63, %12 %66 = load i32, ptr %1, align 4 ret i32 %66 } declare ptr @getgrnam(ptr noundef) #1 declare i32 @puts(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpfof7grrx.c' source_filename = "/tmp/tmpfof7grrx.c" target datalayout = "e-m:e-p270: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/tmpfof7grrx.c" target datalayout = "e-m:e-p270: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/tmpykgnuv1b.c' source_filename = "/tmp/tmpykgnuv1b.c" target datalayout = "e-m:e-p270: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/tmpykgnuv1b.c" target datalayout = "e-m:e-p270: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/tmp100h_wvo.c' source_filename = "/tmp/tmp100h_wvo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SHRT_MIN = dso_local global i16 0, align 2 @SHRT_MAX = dso_local global i16 0, align 2 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ffi1fi2(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca double, align 8 store ptr %0, ptr %7, align 8 store i64 %1, ptr %8, align 8 store double %2, ptr %9, align 8 store double %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %15 = load double, ptr %9, align 8 %16 = fcmp oeq double %15, 1.000000e+00 br i1 %16, label %17, label %38 17: ; preds = %6 %18 = load double, ptr %10, align 8 %19 = fcmp oeq double %18, 0.000000e+00 br i1 %19, label %20, label %38 20: ; preds = %17 store i64 0, ptr %13, align 8 br label %21 21: ; preds = %34, %20 %22 = load i64, ptr %13, align 8 %23 = load i64, ptr %8, align 8 %24 = icmp slt i64 %22, %23 br i1 %24, label %25, label %37 25: ; preds = %21 %26 = load ptr, ptr %7, align 8 %27 = load i64, ptr %13, align 8 %28 = getelementptr inbounds i8, ptr %26, i64 %27 %29 = load i8, ptr %28, align 1 %30 = zext i8 %29 to i16 %31 = load ptr, ptr %11, align 8 %32 = load i64, ptr %13, align 8 %33 = getelementptr inbounds i16, ptr %31, i64 %32 store i16 %30, ptr %33, align 2 br label %34 34: ; preds = %25 %35 = load i64, ptr %13, align 8 %36 = add nsw i64 %35, 1 store i64 %36, ptr %13, align 8 br label %21, !llvm.loop !6 37: ; preds = %21 br label %94 38: ; preds = %17, %6 store i64 0, ptr %13, align 8 br label %39 39: ; preds = %90, %38 %40 = load i64, ptr %13, align 8 %41 = load i64, ptr %8, align 8 %42 = icmp slt i64 %40, %41 br i1 %42, label %43, label %93 43: ; preds = %39 %44 = load ptr, ptr %7, align 8 %45 = load i64, ptr %13, align 8 %46 = getelementptr inbounds i8, ptr %44, i64 %45 %47 = load i8, ptr %46, align 1 %48 = uitofp i8 %47 to double %49 = load double, ptr %10, align 8 %50 = fsub double %48, %49 %51 = load double, ptr %9, align 8 %52 = fdiv double %50, %51 store double %52, ptr %14, align 8 %53 = load double, ptr %14, align 8 %54 = fcmp olt double %53, 0xC0E0000FAE147AE1 br i1 %54, label %55, label %61 55: ; preds = %43 %56 = load ptr, ptr %12, align 8 store i32 -11, ptr %56, align 4 %57 = load i16, ptr @SHRT_MIN, align 2 %58 = load ptr, ptr %11, align 8 %59 = load i64, ptr %13, align 8 %60 = getelementptr inbounds i16, ptr %58, i64 %59 store i16 %57, ptr %60, align 2 br label %89 61: ; preds = %43 %62 = load double, ptr %14, align 8 %63 = fcmp ogt double %62, 0x40DFFFDF5C28F5C3 br i1 %63, label %64, label %70 64: ; preds = %61 %65 = load ptr, ptr %12, align 8 store i32 -11, ptr %65, align 4 %66 = load i16, ptr @SHRT_MAX, align 2 %67 = load ptr, ptr %11, align 8 %68 = load i64, ptr %13, align 8 %69 = getelementptr inbounds i16, ptr %67, i64 %68 store i16 %66, ptr %69, align 2 br label %88 70: ; preds = %61 %71 = load double, ptr %14, align 8 %72 = fcmp oge double %71, 0.000000e+00 br i1 %72, label %73, label %80 73: ; preds = %70 %74 = load double, ptr %14, align 8 %75 = fadd double %74, 5.000000e-01 %76 = fptosi double %75 to i16 %77 = load ptr, ptr %11, align 8 %78 = load i64, ptr %13, align 8 %79 = getelementptr inbounds i16, ptr %77, i64 %78 store i16 %76, ptr %79, align 2 br label %87 80: ; preds = %70 %81 = load double, ptr %14, align 8 %82 = fsub double %81, 5.000000e-01 %83 = fptosi double %82 to i16 %84 = load ptr, ptr %11, align 8 %85 = load i64, ptr %13, align 8 %86 = getelementptr inbounds i16, ptr %84, i64 %85 store i16 %83, ptr %86, align 2 br label %87 87: ; preds = %80, %73 br label %88 88: ; preds = %87, %64 br label %89 89: ; preds = %88, %55 br label %90 90: ; preds = %89 %91 = load i64, ptr %13, align 8 %92 = add nsw i64 %91, 1 store i64 %92, ptr %13, align 8 br label %39, !llvm.loop !8 93: ; preds = %39 br label %94 94: ; preds = %93, %37 %95 = load ptr, ptr %12, align 8 %96 = load i32, ptr %95, align 4 ret i32 %96 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp100h_wvo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SHRT_MIN = dso_local global i16 0, align 2 @SHRT_MAX = dso_local global i16 0, align 2 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ffi1fi2(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca double, align 8 store ptr %0, ptr %7, align 8 store i64 %1, ptr %8, align 8 store double %2, ptr %9, align 8 store double %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %15 = load double, ptr %9, align 8 %16 = fcmp oeq double %15, 1.000000e+00 br i1 %16, label %17, label %40 17: ; preds = %6 %18 = load double, ptr %10, align 8 %19 = fcmp oeq double %18, 0.000000e+00 br i1 %19, label %20, label %40 20: ; preds = %17 store i64 0, ptr %13, align 8 %21 = load i64, ptr %13, align 8 %22 = load i64, ptr %8, align 8 %23 = icmp slt i64 %21, %22 br i1 %23, label %.lr.ph2, label %39 .lr.ph2: ; preds = %20 br label %24 24: ; preds = %.lr.ph2, %33 %25 = load ptr, ptr %7, align 8 %26 = load i64, ptr %13, align 8 %27 = getelementptr inbounds i8, ptr %25, i64 %26 %28 = load i8, ptr %27, align 1 %29 = zext i8 %28 to i16 %30 = load ptr, ptr %11, align 8 %31 = load i64, ptr %13, align 8 %32 = getelementptr inbounds i16, ptr %30, i64 %31 store i16 %29, ptr %32, align 2 br label %33 33: ; preds = %24 %34 = load i64, ptr %13, align 8 %35 = add nsw i64 %34, 1 store i64 %35, ptr %13, align 8 %36 = load i64, ptr %13, align 8 %37 = load i64, ptr %8, align 8 %38 = icmp slt i64 %36, %37 br i1 %38, label %24, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %33 br label %39 39: ; preds = %._crit_edge3, %20 br label %98 40: ; preds = %17, %6 store i64 0, ptr %13, align 8 %41 = load i64, ptr %13, align 8 %42 = load i64, ptr %8, align 8 %43 = icmp slt i64 %41, %42 br i1 %43, label %.lr.ph, label %97 .lr.ph: ; preds = %40 br label %44 44: ; preds = %.lr.ph, %91 %45 = load ptr, ptr %7, align 8 %46 = load i64, ptr %13, align 8 %47 = getelementptr inbounds i8, ptr %45, i64 %46 %48 = load i8, ptr %47, align 1 %49 = uitofp i8 %48 to double %50 = load double, ptr %10, align 8 %51 = fsub double %49, %50 %52 = load double, ptr %9, align 8 %53 = fdiv double %51, %52 store double %53, ptr %14, align 8 %54 = load double, ptr %14, align 8 %55 = fcmp olt double %54, 0xC0E0000FAE147AE1 br i1 %55, label %56, label %62 56: ; preds = %44 %57 = load ptr, ptr %12, align 8 store i32 -11, ptr %57, align 4 %58 = load i16, ptr @SHRT_MIN, align 2 %59 = load ptr, ptr %11, align 8 %60 = load i64, ptr %13, align 8 %61 = getelementptr inbounds i16, ptr %59, i64 %60 store i16 %58, ptr %61, align 2 br label %90 62: ; preds = %44 %63 = load double, ptr %14, align 8 %64 = fcmp ogt double %63, 0x40DFFFDF5C28F5C3 br i1 %64, label %65, label %71 65: ; preds = %62 %66 = load ptr, ptr %12, align 8 store i32 -11, ptr %66, align 4 %67 = load i16, ptr @SHRT_MAX, align 2 %68 = load ptr, ptr %11, align 8 %69 = load i64, ptr %13, align 8 %70 = getelementptr inbounds i16, ptr %68, i64 %69 store i16 %67, ptr %70, align 2 br label %89 71: ; preds = %62 %72 = load double, ptr %14, align 8 %73 = fcmp oge double %72, 0.000000e+00 br i1 %73, label %74, label %81 74: ; preds = %71 %75 = load double, ptr %14, align 8 %76 = fadd double %75, 5.000000e-01 %77 = fptosi double %76 to i16 %78 = load ptr, ptr %11, align 8 %79 = load i64, ptr %13, align 8 %80 = getelementptr inbounds i16, ptr %78, i64 %79 store i16 %77, ptr %80, align 2 br label %88 81: ; preds = %71 %82 = load double, ptr %14, align 8 %83 = fsub double %82, 5.000000e-01 %84 = fptosi double %83 to i16 %85 = load ptr, ptr %11, align 8 %86 = load i64, ptr %13, align 8 %87 = getelementptr inbounds i16, ptr %85, i64 %86 store i16 %84, ptr %87, align 2 br label %88 88: ; preds = %81, %74 br label %89 89: ; preds = %88, %65 br label %90 90: ; preds = %89, %56 br label %91 91: ; preds = %90 %92 = load i64, ptr %13, align 8 %93 = add nsw i64 %92, 1 store i64 %93, ptr %13, align 8 %94 = load i64, ptr %13, align 8 %95 = load i64, ptr %8, align 8 %96 = icmp slt i64 %94, %95 br i1 %96, label %44, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %91 br label %97 97: ; preds = %._crit_edge, %40 br label %98 98: ; preds = %97, %39 %99 = load ptr, ptr %12, align 8 %100 = load i32, ptr %99, align 4 ret i32 %100 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp32bq1aqw.c' source_filename = "/tmp/tmp32bq1aqw.c" target datalayout = "e-m:e-p270: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/tmp32bq1aqw.c" target datalayout = "e-m:e-p270: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/tmp491yrm89.c' source_filename = "/tmp/tmp491yrm89.c" target datalayout = "e-m:e-p270: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/tmp491yrm89.c" target datalayout = "e-m:e-p270: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/tmps91z0rhk.c' source_filename = "/tmp/tmps91z0rhk.c" target datalayout = "e-m:e-p270: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.automaticArrayInit.arr2 = private unnamed_addr constant [3 x i32] [i32 1, i32 2, i32 3], align 4 @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @automaticArrayInit() #0 { %1 = alloca [3 x i32], align 4 %2 = alloca i32, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1, ptr align 4 @__const.automaticArrayInit.arr2, i64 12, i1 false) store i32 0, ptr %2, align 4 br label %3 3: ; preds = %12, %0 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 3 br i1 %5, label %6, label %15 6: ; preds = %3 %7 = load i32, ptr %2, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 %8 %10 = load i32, ptr %9, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %10) br label %12 12: ; preds = %6 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %2, align 4 br label %3, !llvm.loop !6 15: ; preds = %3 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 br label %17 17: ; preds = %34, %15 %18 = load i32, ptr %2, align 4 %19 = icmp slt i32 %18, 3 br i1 %19, label %20, label %37 20: ; preds = %17 %21 = load i32, ptr %2, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 %22 %24 = load i32, ptr %23, align 4 %25 = add nsw i32 %24, 5 %26 = load i32, ptr %2, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 %27 store i32 %25, ptr %28, align 4 %29 = load i32, ptr %2, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 %30 %32 = load i32, ptr %31, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %32) br label %34 34: ; preds = %20 %35 = load i32, ptr %2, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %2, align 4 br label %17, !llvm.loop !8 37: ; preds = %17 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) 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 @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 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/tmps91z0rhk.c" target datalayout = "e-m:e-p270: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.automaticArrayInit.arr2 = private unnamed_addr constant [3 x i32] [i32 1, i32 2, i32 3], align 4 @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @automaticArrayInit() #0 { %1 = alloca [3 x i32], align 4 %2 = alloca i32, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1, ptr align 4 @__const.automaticArrayInit.arr2, i64 12, i1 false) store i32 0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp slt i32 %3, 3 br i1 %4, label %.lr.ph, label %16 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %11 %6 = load i32, ptr %2, align 4 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 %7 %9 = load i32, ptr %8, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9) br label %11 11: ; preds = %5 %12 = load i32, ptr %2, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp slt i32 %14, 3 br i1 %15, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %16 16: ; preds = %._crit_edge, %0 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %18 = load i32, ptr %2, align 4 %19 = icmp slt i32 %18, 3 br i1 %19, label %.lr.ph2, label %39 .lr.ph2: ; preds = %16 br label %20 20: ; preds = %.lr.ph2, %34 %21 = load i32, ptr %2, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 %22 %24 = load i32, ptr %23, align 4 %25 = add nsw i32 %24, 5 %26 = load i32, ptr %2, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 %27 store i32 %25, ptr %28, align 4 %29 = load i32, ptr %2, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 %30 %32 = load i32, ptr %31, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %32) br label %34 34: ; preds = %20 %35 = load i32, ptr %2, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %2, align 4 %37 = load i32, ptr %2, align 4 %38 = icmp slt i32 %37, 3 br i1 %38, label %20, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %34 br label %39 39: ; preds = %._crit_edge3, %16 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) 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 @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 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/tmp811bvwou.c' source_filename = "/tmp/tmp811bvwou.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xstrncmpi(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %19, label %11 11: ; preds = %3 %12 = load ptr, ptr %4, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %19 14: ; preds = %11 %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 0 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 store i32 %18, ptr %8, align 4 br label %84 19: ; preds = %11, %3 %20 = load ptr, ptr %4, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %31, label %22 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %25, label %31 25: ; preds = %22 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 0 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = sub nsw i32 0, %29 store i32 %30, ptr %8, align 4 br label %83 31: ; preds = %22, %19 %32 = load ptr, ptr %4, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %38, label %34 34: ; preds = %31 %35 = load ptr, ptr %5, align 8 %36 = icmp ne ptr %35, null br i1 %36, label %38, label %37 37: ; preds = %34 store i32 0, ptr %8, align 4 br label %82 38: ; preds = %34, %31 store i32 0, ptr %7, align 4 br label %39 39: ; preds = %76, %38 %40 = load i64, ptr %6, align 8 %41 = icmp ne i64 %40, 0 br i1 %41, label %42, label %58 42: ; preds = %39 %43 = load ptr, ptr %4, align 8 %44 = load i32, ptr %7, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %43, i64 %45 %47 = load i8, ptr %46, align 1 %48 = call i32 @toupper(i8 noundef signext %47) %49 = load ptr, ptr %5, align 8 %50 = load i32, ptr %7, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %49, i64 %51 %53 = load i8, ptr %52, align 1 %54 = call i32 @toupper(i8 noundef signext %53) %55 = sub nsw i32 %48, %54 store i32 %55, ptr %8, align 4 %56 = icmp ne i32 %55, 0 %57 = xor i1 %56, true br label %58 58: ; preds = %42, %39 %59 = phi i1 [ false, %39 ], [ %57, %42 ] br i1 %59, label %60, label %81 60: ; preds = %58 %61 = load ptr, ptr %4, align 8 %62 = load i32, ptr %7, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %61, i64 %63 %65 = load i8, ptr %64, align 1 %66 = icmp ne i8 %65, 0 br i1 %66, label %67, label %74 67: ; preds = %60 %68 = load ptr, ptr %5, align 8 %69 = load i32, ptr %7, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i8, ptr %68, i64 %70 %72 = load i8, ptr %71, align 1 %73 = icmp ne i8 %72, 0 br i1 %73, label %75, label %74 74: ; preds = %67, %60 br label %81 75: ; preds = %67 br label %76 76: ; preds = %75 %77 = load i32, ptr %7, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %7, align 4 %79 = load i64, ptr %6, align 8 %80 = add i64 %79, -1 store i64 %80, ptr %6, align 8 br label %39, !llvm.loop !6 81: ; preds = %74, %58 br label %82 82: ; preds = %81, %37 br label %83 83: ; preds = %82, %25 br label %84 84: ; preds = %83, %14 %85 = load i32, ptr %8, align 4 ret i32 %85 } declare i32 @toupper(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/tmp811bvwou.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xstrncmpi(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %19, label %11 11: ; preds = %3 %12 = load ptr, ptr %4, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %19 14: ; preds = %11 %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 0 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 store i32 %18, ptr %8, align 4 br label %84 19: ; preds = %11, %3 %20 = load ptr, ptr %4, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %31, label %22 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %25, label %31 25: ; preds = %22 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 0 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = sub nsw i32 0, %29 store i32 %30, ptr %8, align 4 br label %83 31: ; preds = %22, %19 %32 = load ptr, ptr %4, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %38, label %34 34: ; preds = %31 %35 = load ptr, ptr %5, align 8 %36 = icmp ne ptr %35, null br i1 %36, label %38, label %37 37: ; preds = %34 store i32 0, ptr %8, align 4 br label %82 38: ; preds = %34, %31 store i32 0, ptr %7, align 4 br label %39 39: ; preds = %76, %38 %40 = load i64, ptr %6, align 8 %41 = icmp ne i64 %40, 0 br i1 %41, label %42, label %58 42: ; preds = %39 %43 = load ptr, ptr %4, align 8 %44 = load i32, ptr %7, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %43, i64 %45 %47 = load i8, ptr %46, align 1 %48 = call i32 @toupper(i8 noundef signext %47) %49 = load ptr, ptr %5, align 8 %50 = load i32, ptr %7, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %49, i64 %51 %53 = load i8, ptr %52, align 1 %54 = call i32 @toupper(i8 noundef signext %53) %55 = sub nsw i32 %48, %54 store i32 %55, ptr %8, align 4 %56 = icmp ne i32 %55, 0 %57 = xor i1 %56, true br label %58 58: ; preds = %42, %39 %59 = phi i1 [ false, %39 ], [ %57, %42 ] br i1 %59, label %60, label %.loopexit 60: ; preds = %58 %61 = load ptr, ptr %4, align 8 %62 = load i32, ptr %7, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %61, i64 %63 %65 = load i8, ptr %64, align 1 %66 = icmp ne i8 %65, 0 br i1 %66, label %67, label %74 67: ; preds = %60 %68 = load ptr, ptr %5, align 8 %69 = load i32, ptr %7, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i8, ptr %68, i64 %70 %72 = load i8, ptr %71, align 1 %73 = icmp ne i8 %72, 0 br i1 %73, label %75, label %74 74: ; preds = %67, %60 br label %81 75: ; preds = %67 br label %76 76: ; preds = %75 %77 = load i32, ptr %7, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %7, align 4 %79 = load i64, ptr %6, align 8 %80 = add i64 %79, -1 store i64 %80, ptr %6, align 8 br label %39, !llvm.loop !6 .loopexit: ; preds = %58 br label %81 81: ; preds = %.loopexit, %74 br label %82 82: ; preds = %81, %37 br label %83 83: ; preds = %82, %25 br label %84 84: ; preds = %83, %14 %85 = load i32, ptr %8, align 4 ret i32 %85 } declare i32 @toupper(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/tmpnh78zgu0.c' source_filename = "/tmp/tmpnh78zgu0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"irq_ssf!%x:%x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @irq_ssf(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6) %8 = call i32 (...) @halt() ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @halt(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnh78zgu0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"irq_ssf!%x:%x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @irq_ssf(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6) %8 = call i32 (...) @halt() ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @halt(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmg4334vr.c' source_filename = "/tmp/tmpmg4334vr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"in btr_opt nbstage_opt:%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @estimate_btr_opt(i32 noundef %0, double noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca double, align 8 store i32 %0, ptr %3, align 4 store double %1, ptr %4, align 8 %5 = load i32, ptr @stderr, align 4 %6 = load i32, ptr %3, align 4 %7 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, i32 noundef %6) %8 = load double, ptr %4, align 8 %9 = call double @estimate_MOSFET_CG(i32 noundef 1, double noundef 5.400000e-01) %10 = call double @estimate_MOSFET_CG(i32 noundef 0, double noundef 0x3FE9EB851EB851EB) %11 = fadd double %9, %10 %12 = fdiv double %8, %11 %13 = load i32, ptr %3, align 4 %14 = uitofp i32 %13 to double %15 = fdiv double 1.000000e+00, %14 %16 = call double @pow(double noundef %12, double noundef %15) #3 ret double %16 } declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #2 declare double @estimate_MOSFET_CG(i32 noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmg4334vr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"in btr_opt nbstage_opt:%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @estimate_btr_opt(i32 noundef %0, double noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca double, align 8 store i32 %0, ptr %3, align 4 store double %1, ptr %4, align 8 %5 = load i32, ptr @stderr, align 4 %6 = load i32, ptr %3, align 4 %7 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, i32 noundef %6) %8 = load double, ptr %4, align 8 %9 = call double @estimate_MOSFET_CG(i32 noundef 1, double noundef 5.400000e-01) %10 = call double @estimate_MOSFET_CG(i32 noundef 0, double noundef 0x3FE9EB851EB851EB) %11 = fadd double %9, %10 %12 = fdiv double %8, %11 %13 = load i32, ptr %3, align 4 %14 = uitofp i32 %13 to double %15 = fdiv double 1.000000e+00, %14 %16 = call double @pow(double noundef %12, double noundef %15) #3 ret double %16 } declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #2 declare double @estimate_MOSFET_CG(i32 noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkjbaj9ur.c' source_filename = "/tmp/tmpkjbaj9ur.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%u\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @bind2node(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [8 x i8], align 1 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %1 %8 = call i32 (...) @numa_available() %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %11 10: ; preds = %7, %1 store i32 -1, ptr %2, align 4 br label %19 11: ; preds = %7 %12 = getelementptr inbounds [8 x i8], ptr %4, i64 0, i64 0 %13 = load i32, ptr %3, align 4 %14 = call i32 @numa_node_of_cpu(i32 noundef %13) %15 = call i32 @snprintf(ptr noundef %12, i32 noundef 8, ptr noundef @.str, i32 noundef %14) %16 = getelementptr inbounds [8 x i8], ptr %4, i64 0, i64 0 %17 = call i32 @numa_parse_nodestring(ptr noundef %16) %18 = call i32 @numa_bind(i32 noundef %17) store i32 0, ptr %2, align 4 br label %19 19: ; preds = %11, %10 %20 = load i32, ptr %2, align 4 ret i32 %20 } declare i32 @numa_available(...) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @numa_node_of_cpu(i32 noundef) #1 declare i32 @numa_bind(i32 noundef) #1 declare i32 @numa_parse_nodestring(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkjbaj9ur.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%u\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @bind2node(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [8 x i8], align 1 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %1 %8 = call i32 (...) @numa_available() %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %11 10: ; preds = %7, %1 store i32 -1, ptr %2, align 4 br label %19 11: ; preds = %7 %12 = getelementptr inbounds [8 x i8], ptr %4, i64 0, i64 0 %13 = load i32, ptr %3, align 4 %14 = call i32 @numa_node_of_cpu(i32 noundef %13) %15 = call i32 @snprintf(ptr noundef %12, i32 noundef 8, ptr noundef @.str, i32 noundef %14) %16 = getelementptr inbounds [8 x i8], ptr %4, i64 0, i64 0 %17 = call i32 @numa_parse_nodestring(ptr noundef %16) %18 = call i32 @numa_bind(i32 noundef %17) store i32 0, ptr %2, align 4 br label %19 19: ; preds = %11, %10 %20 = load i32, ptr %2, align 4 ret i32 %20 } declare i32 @numa_available(...) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @numa_node_of_cpu(i32 noundef) #1 declare i32 @numa_bind(i32 noundef) #1 declare i32 @numa_parse_nodestring(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7sgdr4ku.c' source_filename = "/tmp/tmp7sgdr4ku.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isPrime003(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 0, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 4 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 1, ptr %2, align 4 br label %30 8: ; preds = %1 %9 = load i32, ptr %3, align 4 %10 = srem i32 %9, 2 %11 = icmp ne i32 %10, 0 br i1 %11, label %13, label %12 12: ; preds = %8 store i32 0, ptr %2, align 4 br label %30 13: ; preds = %8 store i32 3, ptr %4, align 4 br label %14 14: ; preds = %26, %13 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %3, align 4 %17 = call i32 @pow(i32 noundef %16, double noundef 5.000000e-01) %18 = icmp sle i32 %15, %17 br i1 %18, label %19, label %29 19: ; preds = %14 %20 = load i32, ptr %3, align 4 %21 = load i32, ptr %4, align 4 %22 = srem i32 %20, %21 %23 = icmp ne i32 %22, 0 br i1 %23, label %25, label %24 24: ; preds = %19 store i32 0, ptr %2, align 4 br label %30 25: ; preds = %19 br label %26 26: ; preds = %25 %27 = load i32, ptr %4, align 4 %28 = add nsw i32 %27, 2 store i32 %28, ptr %4, align 4 br label %14, !llvm.loop !6 29: ; preds = %14 store i32 1, ptr %2, align 4 br label %30 30: ; preds = %29, %24, %12, %7 %31 = load i32, ptr %2, align 4 ret i32 %31 } declare i32 @pow(i32 noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7sgdr4ku.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isPrime003(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 0, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 4 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 1, ptr %2, align 4 br label %33 8: ; preds = %1 %9 = load i32, ptr %3, align 4 %10 = srem i32 %9, 2 %11 = icmp ne i32 %10, 0 br i1 %11, label %13, label %12 12: ; preds = %8 store i32 0, ptr %2, align 4 br label %33 13: ; preds = %8 store i32 3, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %3, align 4 %16 = call i32 @pow(i32 noundef %15, double noundef 5.000000e-01) %17 = icmp sle i32 %14, %16 br i1 %17, label %.lr.ph, label %32 .lr.ph: ; preds = %13 br label %18 18: ; preds = %.lr.ph, %25 %19 = load i32, ptr %3, align 4 %20 = load i32, ptr %4, align 4 %21 = srem i32 %19, %20 %22 = icmp ne i32 %21, 0 br i1 %22, label %24, label %23 23: ; preds = %18 store i32 0, ptr %2, align 4 br label %33 24: ; preds = %18 br label %25 25: ; preds = %24 %26 = load i32, ptr %4, align 4 %27 = add nsw i32 %26, 2 store i32 %27, ptr %4, align 4 %28 = load i32, ptr %4, align 4 %29 = load i32, ptr %3, align 4 %30 = call i32 @pow(i32 noundef %29, double noundef 5.000000e-01) %31 = icmp sle i32 %28, %30 br i1 %31, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %32 32: ; preds = %._crit_edge, %13 store i32 1, ptr %2, align 4 br label %33 33: ; preds = %32, %23, %12, %7 %34 = load i32, ptr %2, align 4 ret i32 %34 } declare i32 @pow(i32 noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpx25n5ss6.c' source_filename = "/tmp/tmpx25n5ss6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_WRONLY = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [49 x i8] c"Failed to write data to northbridge register %s\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @wrnb(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 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr @O_WRONLY, align 4 %10 = call i32 @open(ptr noundef %8, i32 noundef %9) store i32 %10, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %5, align 4 %13 = call i32 @pwrite(i32 noundef %11, ptr noundef %6, i32 noundef 4, i32 noundef %12) %14 = sext i32 %13 to i64 %15 = icmp ne i64 %14, 4 br i1 %15, label %16, label %24 16: ; preds = %3 %17 = load i32, ptr @stderr, align 4 %18 = load ptr, ptr %4, align 8 %19 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str, ptr noundef %18) %20 = load i32, ptr %7, align 4 %21 = call i32 @close(i32 noundef %20) %22 = load i32, ptr @EXIT_FAILURE, align 4 %23 = call i32 @exit(i32 noundef %22) #3 unreachable 24: ; preds = %3 %25 = load i32, ptr %7, align 4 %26 = call i32 @close(i32 noundef %25) ret void } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @pwrite(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx25n5ss6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_WRONLY = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [49 x i8] c"Failed to write data to northbridge register %s\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @wrnb(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 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr @O_WRONLY, align 4 %10 = call i32 @open(ptr noundef %8, i32 noundef %9) store i32 %10, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %5, align 4 %13 = call i32 @pwrite(i32 noundef %11, ptr noundef %6, i32 noundef 4, i32 noundef %12) %14 = sext i32 %13 to i64 %15 = icmp ne i64 %14, 4 br i1 %15, label %16, label %24 16: ; preds = %3 %17 = load i32, ptr @stderr, align 4 %18 = load ptr, ptr %4, align 8 %19 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str, ptr noundef %18) %20 = load i32, ptr %7, align 4 %21 = call i32 @close(i32 noundef %20) %22 = load i32, ptr @EXIT_FAILURE, align 4 %23 = call i32 @exit(i32 noundef %22) #3 unreachable 24: ; preds = %3 %25 = load i32, ptr %7, align 4 %26 = call i32 @close(i32 noundef %25) ret void } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @pwrite(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjev6usu7.c' source_filename = "/tmp/tmpjev6usu7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca double, align 8 %10 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %6, align 8 %14 = alloca double, i64 %12, align 16 store i64 %12, ptr %7, align 8 %15 = load i32, ptr %4, align 4 %16 = zext i32 %15 to i64 %17 = alloca double, i64 %16, align 16 store i64 %16, ptr %8, align 8 store i32 0, ptr %10, align 4 br label %18 18: ; preds = %30, %2 %19 = load i32, ptr %10, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %33 22: ; preds = %18 %23 = call double @rand_uniform(double noundef -1.000000e+01, double noundef 1.000000e+01) %24 = load i32, ptr %10, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds double, ptr %14, i64 %25 store double %23, ptr %26, align 8 %27 = load i32, ptr %10, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds double, ptr %17, i64 %28 store double 0.000000e+00, ptr %29, align 8 br label %30 30: ; preds = %22 %31 = load i32, ptr %10, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %10, align 4 br label %18, !llvm.loop !6 33: ; preds = %18 %34 = call double (...) @tic() store double %34, ptr %9, align 8 store i32 0, ptr %10, align 4 br label %35 35: ; preds = %50, %33 %36 = load i32, ptr %10, align 4 %37 = load i32, ptr %3, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %39, label %53 39: ; preds = %35 %40 = load i32, ptr %4, align 4 %41 = call i32 @stdlib_strided_dfloor(i32 noundef %40, ptr noundef %14, i32 noundef 1, ptr noundef %17, i32 noundef 1) %42 = getelementptr inbounds double, ptr %17, i64 0 %43 = load double, ptr %42, align 16 %44 = getelementptr inbounds double, ptr %17, i64 0 %45 = load double, ptr %44, align 16 %46 = fcmp une double %43, %45 br i1 %46, label %47, label %49 47: ; preds = %39 %48 = call i32 @printf(ptr noundef @.str) br label %53 49: ; preds = %39 br label %50 50: ; preds = %49 %51 = load i32, ptr %10, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %10, align 4 br label %35, !llvm.loop !8 53: ; preds = %47, %35 %54 = call double (...) @tic() %55 = load double, ptr %9, align 8 %56 = fsub double %54, %55 store double %56, ptr %5, align 8 %57 = getelementptr inbounds double, ptr %17, i64 0 %58 = load double, ptr %57, align 16 %59 = getelementptr inbounds double, ptr %17, i64 0 %60 = load double, ptr %59, align 16 %61 = fcmp une double %58, %60 br i1 %61, label %62, label %64 62: ; preds = %53 %63 = call i32 @printf(ptr noundef @.str) br label %64 64: ; preds = %62, %53 %65 = load double, ptr %5, align 8 %66 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %66) ret double %65 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare double @rand_uniform(double noundef, double noundef) #2 declare double @tic(...) #2 declare i32 @stdlib_strided_dfloor(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpjev6usu7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca double, align 8 %10 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %6, align 8 %14 = alloca double, i64 %12, align 16 store i64 %12, ptr %7, align 8 %15 = load i32, ptr %4, align 4 %16 = zext i32 %15 to i64 %17 = alloca double, i64 %16, align 16 store i64 %16, ptr %8, align 8 store i32 0, ptr %10, align 4 %18 = load i32, ptr %10, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph, label %35 .lr.ph: ; preds = %2 br label %21 21: ; preds = %.lr.ph, %29 %22 = call double @rand_uniform(double noundef -1.000000e+01, double noundef 1.000000e+01) %23 = load i32, ptr %10, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds double, ptr %14, i64 %24 store double %22, ptr %25, align 8 %26 = load i32, ptr %10, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds double, ptr %17, i64 %27 store double 0.000000e+00, ptr %28, align 8 br label %29 29: ; preds = %21 %30 = load i32, ptr %10, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %10, align 4 %32 = load i32, ptr %10, align 4 %33 = load i32, ptr %4, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %2 %36 = call double (...) @tic() store double %36, ptr %9, align 8 store i32 0, ptr %10, align 4 %37 = load i32, ptr %10, align 4 %38 = load i32, ptr %3, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %35 br label %40 40: ; preds = %.lr.ph2, %51 %41 = load i32, ptr %4, align 4 %42 = call i32 @stdlib_strided_dfloor(i32 noundef %41, ptr noundef %14, i32 noundef 1, ptr noundef %17, i32 noundef 1) %43 = getelementptr inbounds double, ptr %17, i64 0 %44 = load double, ptr %43, align 16 %45 = getelementptr inbounds double, ptr %17, i64 0 %46 = load double, ptr %45, align 16 %47 = fcmp une double %44, %46 br i1 %47, label %48, label %50 48: ; preds = %40 %49 = call i32 @printf(ptr noundef @.str) br label %57 50: ; preds = %40 br label %51 51: ; preds = %50 %52 = load i32, ptr %10, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %10, align 4 %54 = load i32, ptr %10, align 4 %55 = load i32, ptr %3, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %40, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %51 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %35 br label %57 57: ; preds = %.loopexit, %48 %58 = call double (...) @tic() %59 = load double, ptr %9, align 8 %60 = fsub double %58, %59 store double %60, ptr %5, align 8 %61 = getelementptr inbounds double, ptr %17, i64 0 %62 = load double, ptr %61, align 16 %63 = getelementptr inbounds double, ptr %17, i64 0 %64 = load double, ptr %63, align 16 %65 = fcmp une double %62, %64 br i1 %65, label %66, label %68 66: ; preds = %57 %67 = call i32 @printf(ptr noundef @.str) br label %68 68: ; preds = %66, %57 %69 = load double, ptr %5, align 8 %70 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %70) ret double %69 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare double @rand_uniform(double noundef, double noundef) #2 declare double @tic(...) #2 declare i32 @stdlib_strided_dfloor(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp8cpzuimy.c' source_filename = "/tmp/tmp8cpzuimy.c" target datalayout = "e-m:e-p270: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.dirent = type { ptr } @.str = private unnamed_addr constant [24 x i8] c"Opening directory \22%s\22\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Opening \22.\22\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"Directory open failed!\0A\00", align 1 @errno = dso_local global i64 0, align 8 @.str.4 = private unnamed_addr constant [12 x i8] c"Error : %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [22 x i8] c"%d : \22%s\22 (tell %ld)\0A\00", align 1 @.str.6 = private unnamed_addr constant [26 x i8] c"We will seek here later.\0A\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"Rewind directory.\0A\00", align 1 @.str.8 = private unnamed_addr constant [20 x i8] c"First entry : \22%s\22\0A\00", align 1 @.str.9 = private unnamed_addr constant [18 x i8] c"Empty directory.\0A\00", align 1 @.str.10 = private unnamed_addr constant [26 x i8] c"Seeking to fourth entry.\0A\00", align 1 @.str.11 = private unnamed_addr constant [21 x i8] c"Fourth entry : \22%s\22\0A\00", align 1 @.str.12 = private unnamed_addr constant [18 x i8] c"No fourth entry.\0A\00", align 1 @.str.13 = private unnamed_addr constant [41 x i8] c"Seek position is past end of directory.\0A\00", align 1 @.str.14 = private unnamed_addr constant [20 x i8] c"Closing directory.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca 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 eq i32 %10, 2 br i1 %11, label %12, label %21 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 i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %15) %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call ptr @opendir(ptr noundef %19) store ptr %20, ptr %8, align 8 br label %24 21: ; preds = %2 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %23 = call ptr @opendir(ptr noundef @.str.2) store ptr %23, ptr %8, align 8 br label %24 24: ; preds = %21, %12 %25 = load ptr, ptr %8, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %36, label %27 27: ; preds = %24 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %29 = load i64, ptr @errno, align 8 %30 = icmp ne i64 %29, 0 br i1 %30, label %31, label %35 31: ; preds = %27 %32 = load i64, ptr @errno, align 8 %33 = call ptr @strerror(i64 noundef %32) %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %33) br label %35 35: ; preds = %31, %27 store i32 1, ptr %3, align 4 br label %97 36: ; preds = %24 store i32 0, ptr %6, align 4 store i64 -1, ptr %9, align 8 br label %37 37: ; preds = %57, %36 %38 = load ptr, ptr %8, align 8 %39 = call ptr @readdir(ptr noundef %38) store ptr %39, ptr %7, align 8 %40 = icmp ne ptr %39, null br i1 %40, label %41, label %58 41: ; preds = %37 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %6, align 4 %44 = load i32, ptr %6, align 4 %45 = load ptr, ptr %7, align 8 %46 = getelementptr inbounds %struct.dirent, ptr %45, i32 0, i32 0 %47 = load ptr, ptr %46, align 8 %48 = load ptr, ptr %8, align 8 %49 = call i64 @telldir(ptr noundef %48) %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %44, ptr noundef %47, i64 noundef %49) %51 = load i32, ptr %6, align 4 %52 = icmp eq i32 %51, 3 br i1 %52, label %53, label %57 53: ; preds = %41 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %55 = load ptr, ptr %8, align 8 %56 = call i64 @telldir(ptr noundef %55) store i64 %56, ptr %9, align 8 br label %57 57: ; preds = %53, %41 br label %37, !llvm.loop !6 58: ; preds = %37 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %60 = load ptr, ptr %8, align 8 %61 = call i32 @rewinddir(ptr noundef %60) %62 = load ptr, ptr %8, align 8 %63 = call ptr @readdir(ptr noundef %62) store ptr %63, ptr %7, align 8 %64 = icmp ne ptr %63, null br i1 %64, label %65, label %70 65: ; preds = %58 %66 = load ptr, ptr %7, align 8 %67 = getelementptr inbounds %struct.dirent, ptr %66, i32 0, i32 0 %68 = load ptr, ptr %67, align 8 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %68) br label %72 70: ; preds = %58 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %72 72: ; preds = %70, %65 %73 = load i64, ptr %9, align 8 %74 = icmp ne i64 %73, -1 br i1 %74, label %75, label %91 75: ; preds = %72 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %77 = load ptr, ptr %8, align 8 %78 = load i64, ptr %9, align 8 %79 = call i32 @seekdir(ptr noundef %77, i64 noundef %78) %80 = load ptr, ptr %8, align 8 %81 = call ptr @readdir(ptr noundef %80) store ptr %81, ptr %7, align 8 %82 = icmp ne ptr %81, null br i1 %82, label %83, label %88 83: ; preds = %75 %84 = load ptr, ptr %7, align 8 %85 = getelementptr inbounds %struct.dirent, ptr %84, i32 0, i32 0 %86 = load ptr, ptr %85, align 8 %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %86) br label %90 88: ; preds = %75 %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) br label %90 90: ; preds = %88, %83 br label %93 91: ; preds = %72 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) br label %93 93: ; preds = %91, %90 %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %95 = load ptr, ptr %8, align 8 %96 = call i32 @closedir(ptr noundef %95) br label %97 97: ; preds = %93, %35 %98 = load i32, ptr %3, align 4 ret i32 %98 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @opendir(ptr noundef) #1 declare ptr @strerror(i64 noundef) #1 declare ptr @readdir(ptr noundef) #1 declare i64 @telldir(ptr noundef) #1 declare i32 @rewinddir(ptr noundef) #1 declare i32 @seekdir(ptr noundef, i64 noundef) #1 declare i32 @closedir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp8cpzuimy.c" target datalayout = "e-m:e-p270: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.dirent = type { ptr } @.str = private unnamed_addr constant [24 x i8] c"Opening directory \22%s\22\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Opening \22.\22\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"Directory open failed!\0A\00", align 1 @errno = dso_local global i64 0, align 8 @.str.4 = private unnamed_addr constant [12 x i8] c"Error : %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [22 x i8] c"%d : \22%s\22 (tell %ld)\0A\00", align 1 @.str.6 = private unnamed_addr constant [26 x i8] c"We will seek here later.\0A\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"Rewind directory.\0A\00", align 1 @.str.8 = private unnamed_addr constant [20 x i8] c"First entry : \22%s\22\0A\00", align 1 @.str.9 = private unnamed_addr constant [18 x i8] c"Empty directory.\0A\00", align 1 @.str.10 = private unnamed_addr constant [26 x i8] c"Seeking to fourth entry.\0A\00", align 1 @.str.11 = private unnamed_addr constant [21 x i8] c"Fourth entry : \22%s\22\0A\00", align 1 @.str.12 = private unnamed_addr constant [18 x i8] c"No fourth entry.\0A\00", align 1 @.str.13 = private unnamed_addr constant [41 x i8] c"Seek position is past end of directory.\0A\00", align 1 @.str.14 = private unnamed_addr constant [20 x i8] c"Closing directory.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca 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 eq i32 %10, 2 br i1 %11, label %12, label %21 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 i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %15) %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call ptr @opendir(ptr noundef %19) store ptr %20, ptr %8, align 8 br label %24 21: ; preds = %2 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %23 = call ptr @opendir(ptr noundef @.str.2) store ptr %23, ptr %8, align 8 br label %24 24: ; preds = %21, %12 %25 = load ptr, ptr %8, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %36, label %27 27: ; preds = %24 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %29 = load i64, ptr @errno, align 8 %30 = icmp ne i64 %29, 0 br i1 %30, label %31, label %35 31: ; preds = %27 %32 = load i64, ptr @errno, align 8 %33 = call ptr @strerror(i64 noundef %32) %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %33) br label %35 35: ; preds = %31, %27 store i32 1, ptr %3, align 4 br label %99 36: ; preds = %24 store i32 0, ptr %6, align 4 store i64 -1, ptr %9, align 8 %37 = load ptr, ptr %8, align 8 %38 = call ptr @readdir(ptr noundef %37) store ptr %38, ptr %7, align 8 %39 = icmp ne ptr %38, null br i1 %39, label %.lr.ph, label %60 .lr.ph: ; preds = %36 br label %40 40: ; preds = %.lr.ph, %56 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %6, align 4 %43 = load i32, ptr %6, align 4 %44 = load ptr, ptr %7, align 8 %45 = getelementptr inbounds %struct.dirent, ptr %44, i32 0, i32 0 %46 = load ptr, ptr %45, align 8 %47 = load ptr, ptr %8, align 8 %48 = call i64 @telldir(ptr noundef %47) %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %43, ptr noundef %46, i64 noundef %48) %50 = load i32, ptr %6, align 4 %51 = icmp eq i32 %50, 3 br i1 %51, label %52, label %56 52: ; preds = %40 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %54 = load ptr, ptr %8, align 8 %55 = call i64 @telldir(ptr noundef %54) store i64 %55, ptr %9, align 8 br label %56 56: ; preds = %52, %40 %57 = load ptr, ptr %8, align 8 %58 = call ptr @readdir(ptr noundef %57) store ptr %58, ptr %7, align 8 %59 = icmp ne ptr %58, null br i1 %59, label %40, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %56 br label %60 60: ; preds = %._crit_edge, %36 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %62 = load ptr, ptr %8, align 8 %63 = call i32 @rewinddir(ptr noundef %62) %64 = load ptr, ptr %8, align 8 %65 = call ptr @readdir(ptr noundef %64) store ptr %65, ptr %7, align 8 %66 = icmp ne ptr %65, null br i1 %66, label %67, label %72 67: ; preds = %60 %68 = load ptr, ptr %7, align 8 %69 = getelementptr inbounds %struct.dirent, ptr %68, i32 0, i32 0 %70 = load ptr, ptr %69, align 8 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %70) br label %74 72: ; preds = %60 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %74 74: ; preds = %72, %67 %75 = load i64, ptr %9, align 8 %76 = icmp ne i64 %75, -1 br i1 %76, label %77, label %93 77: ; preds = %74 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %79 = load ptr, ptr %8, align 8 %80 = load i64, ptr %9, align 8 %81 = call i32 @seekdir(ptr noundef %79, i64 noundef %80) %82 = load ptr, ptr %8, align 8 %83 = call ptr @readdir(ptr noundef %82) store ptr %83, ptr %7, align 8 %84 = icmp ne ptr %83, null br i1 %84, label %85, label %90 85: ; preds = %77 %86 = load ptr, ptr %7, align 8 %87 = getelementptr inbounds %struct.dirent, ptr %86, i32 0, i32 0 %88 = load ptr, ptr %87, align 8 %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %88) br label %92 90: ; preds = %77 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) br label %92 92: ; preds = %90, %85 br label %95 93: ; preds = %74 %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) br label %95 95: ; preds = %93, %92 %96 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %97 = load ptr, ptr %8, align 8 %98 = call i32 @closedir(ptr noundef %97) br label %99 99: ; preds = %95, %35 %100 = load i32, ptr %3, align 4 ret i32 %100 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @opendir(ptr noundef) #1 declare ptr @strerror(i64 noundef) #1 declare ptr @readdir(ptr noundef) #1 declare i64 @telldir(ptr noundef) #1 declare i32 @rewinddir(ptr noundef) #1 declare i32 @seekdir(ptr noundef, i64 noundef) #1 declare i32 @closedir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp2hbs6a24.c' source_filename = "/tmp/tmp2hbs6a24.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lo8(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = and i32 %3, 255 ret i32 %4 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2hbs6a24.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lo8(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = and i32 %3, 255 ret i32 %4 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnskw5fxv.c' source_filename = "/tmp/tmpnskw5fxv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SPI_IOC_WR_MODE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"Cannot set mode\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_spi_mode(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr @SPI_IOC_WR_MODE, align 4 %8 = call i32 @ioctl(i32 noundef %6, i32 noundef %7, ptr noundef %4) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 @pabort(ptr noundef @.str) br label %13 13: ; preds = %11, %2 ret void } declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @pabort(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnskw5fxv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SPI_IOC_WR_MODE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"Cannot set mode\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_spi_mode(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr @SPI_IOC_WR_MODE, align 4 %8 = call i32 @ioctl(i32 noundef %6, i32 noundef %7, ptr noundef %4) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 @pabort(ptr noundef @.str) br label %13 13: ; preds = %11, %2 ret void } declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @pabort(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz3ypsyf_.c' source_filename = "/tmp/tmpz3ypsyf_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @applyContactLineSlipJacobian(i32 noundef %0, i32 noundef %1, i32 noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca double, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca double, align 8 store i32 %0, ptr %8, align 4 store i32 %1, ptr %9, align 4 store i32 %2, ptr %10, align 4 store double %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 store i32 0, ptr %15, align 4 br label %19 19: ; preds = %88, %7 %20 = load i32, ptr %15, align 4 %21 = load i32, ptr %8, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %91 23: ; preds = %19 store i32 0, ptr %16, align 4 br label %24 24: ; preds = %84, %23 %25 = load i32, ptr %16, align 4 %26 = load i32, ptr %9, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %87 28: ; preds = %24 %29 = load ptr, ptr %12, align 8 %30 = load i32, ptr %15, align 4 %31 = load i32, ptr %9, align 4 %32 = mul nsw i32 %30, %31 %33 = load i32, ptr %16, align 4 %34 = add nsw i32 %32, %33 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %29, i64 %35 %37 = load i32, ptr %36, align 4 %38 = icmp eq i32 %37, 1 br i1 %38, label %39, label %83 39: ; preds = %28 %40 = load double, ptr %11, align 8 %41 = call double @smoothedDirac(double noundef %40, double noundef 0.000000e+00) %42 = load double, ptr %11, align 8 %43 = load ptr, ptr %13, align 8 %44 = load i32, ptr %15, align 4 %45 = load i32, ptr %9, align 4 %46 = mul nsw i32 %44, %45 %47 = load i32, ptr %16, align 4 %48 = add nsw i32 %46, %47 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds double, ptr %43, i64 %49 %51 = load double, ptr %50, align 8 %52 = call double @smoothedDirac(double noundef %42, double noundef %51) %53 = fsub double %41, %52 %54 = load double, ptr %11, align 8 %55 = call double @smoothedDirac(double noundef %54, double noundef 0.000000e+00) %56 = fdiv double %53, %55 store double %56, ptr %18, align 8 store i32 0, ptr %17, align 4 br label %57 57: ; preds = %79, %39 %58 = load i32, ptr %17, align 4 %59 = load i32, ptr %10, align 4 %60 = icmp slt i32 %58, %59 br i1 %60, label %61, label %82 61: ; preds = %57 %62 = load double, ptr %18, align 8 %63 = load ptr, ptr %14, align 8 %64 = load i32, ptr %15, align 4 %65 = load i32, ptr %9, align 4 %66 = mul nsw i32 %64, %65 %67 = load i32, ptr %10, align 4 %68 = mul nsw i32 %66, %67 %69 = load i32, ptr %16, align 4 %70 = load i32, ptr %10, align 4 %71 = mul nsw i32 %69, %70 %72 = add nsw i32 %68, %71 %73 = load i32, ptr %17, align 4 %74 = add nsw i32 %72, %73 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds double, ptr %63, i64 %75 %77 = load double, ptr %76, align 8 %78 = fmul double %77, %62 store double %78, ptr %76, align 8 br label %79 79: ; preds = %61 %80 = load i32, ptr %17, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %17, align 4 br label %57, !llvm.loop !6 82: ; preds = %57 br label %83 83: ; preds = %82, %28 br label %84 84: ; preds = %83 %85 = load i32, ptr %16, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %16, align 4 br label %24, !llvm.loop !8 87: ; preds = %24 br label %88 88: ; preds = %87 %89 = load i32, ptr %15, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %15, align 4 br label %19, !llvm.loop !9 91: ; preds = %19 ret void } declare double @smoothedDirac(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpz3ypsyf_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @applyContactLineSlipJacobian(i32 noundef %0, i32 noundef %1, i32 noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca double, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca double, align 8 store i32 %0, ptr %8, align 4 store i32 %1, ptr %9, align 4 store i32 %2, ptr %10, align 4 store double %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 store i32 0, ptr %15, align 4 %19 = load i32, ptr %15, align 4 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %.lr.ph5, label %97 .lr.ph5: ; preds = %7 br label %22 22: ; preds = %.lr.ph5, %91 store i32 0, ptr %16, align 4 %23 = load i32, ptr %16, align 4 %24 = load i32, ptr %9, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %.lr.ph2, label %90 .lr.ph2: ; preds = %22 br label %26 26: ; preds = %.lr.ph2, %84 %27 = load ptr, ptr %12, align 8 %28 = load i32, ptr %15, align 4 %29 = load i32, ptr %9, align 4 %30 = mul nsw i32 %28, %29 %31 = load i32, ptr %16, align 4 %32 = add nsw i32 %30, %31 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %27, i64 %33 %35 = load i32, ptr %34, align 4 %36 = icmp eq i32 %35, 1 br i1 %36, label %37, label %83 37: ; preds = %26 %38 = load double, ptr %11, align 8 %39 = call double @smoothedDirac(double noundef %38, double noundef 0.000000e+00) %40 = load double, ptr %11, align 8 %41 = load ptr, ptr %13, align 8 %42 = load i32, ptr %15, align 4 %43 = load i32, ptr %9, align 4 %44 = mul nsw i32 %42, %43 %45 = load i32, ptr %16, align 4 %46 = add nsw i32 %44, %45 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds double, ptr %41, i64 %47 %49 = load double, ptr %48, align 8 %50 = call double @smoothedDirac(double noundef %40, double noundef %49) %51 = fsub double %39, %50 %52 = load double, ptr %11, align 8 %53 = call double @smoothedDirac(double noundef %52, double noundef 0.000000e+00) %54 = fdiv double %51, %53 store double %54, ptr %18, align 8 store i32 0, ptr %17, align 4 %55 = load i32, ptr %17, align 4 %56 = load i32, ptr %10, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %.lr.ph, label %82 .lr.ph: ; preds = %37 br label %58 58: ; preds = %.lr.ph, %76 %59 = load double, ptr %18, align 8 %60 = load ptr, ptr %14, align 8 %61 = load i32, ptr %15, align 4 %62 = load i32, ptr %9, align 4 %63 = mul nsw i32 %61, %62 %64 = load i32, ptr %10, align 4 %65 = mul nsw i32 %63, %64 %66 = load i32, ptr %16, align 4 %67 = load i32, ptr %10, align 4 %68 = mul nsw i32 %66, %67 %69 = add nsw i32 %65, %68 %70 = load i32, ptr %17, align 4 %71 = add nsw i32 %69, %70 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds double, ptr %60, i64 %72 %74 = load double, ptr %73, align 8 %75 = fmul double %74, %59 store double %75, ptr %73, align 8 br label %76 76: ; preds = %58 %77 = load i32, ptr %17, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %17, align 4 %79 = load i32, ptr %17, align 4 %80 = load i32, ptr %10, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %58, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %76 br label %82 82: ; preds = %._crit_edge, %37 br label %83 83: ; preds = %82, %26 br label %84 84: ; preds = %83 %85 = load i32, ptr %16, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %16, align 4 %87 = load i32, ptr %16, align 4 %88 = load i32, ptr %9, align 4 %89 = icmp slt i32 %87, %88 br i1 %89, label %26, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %84 br label %90 90: ; preds = %._crit_edge3, %22 br label %91 91: ; preds = %90 %92 = load i32, ptr %15, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %15, align 4 %94 = load i32, ptr %15, align 4 %95 = load i32, ptr %8, align 4 %96 = icmp slt i32 %94, %95 br i1 %96, label %22, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %91 br label %97 97: ; preds = %._crit_edge6, %7 ret void } declare double @smoothedDirac(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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}