llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpcm6yn9v6.c' source_filename = "/tmp/tmpcm6yn9v6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c" \0Aend\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @encode(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca [63 x i8], align 16 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 store i32 0, ptr %8, align 4 br label %9 9: ; preds = %34, %3 %10 = load i32, ptr %8, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %43 13: ; preds = %9 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %8, align 4 %16 = sub nsw i32 %14, %15 %17 = icmp sge i32 %16, 45 br i1 %17, label %18, label %25 18: ; preds = %13 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %8, align 4 %21 = getelementptr inbounds [63 x i8], ptr %7, i64 0, i64 0 %22 = call i32 @encode_line(ptr noundef %19, i32 noundef %20, i32 noundef 45, ptr noundef %21) %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 45 store i32 %24, ptr %8, align 4 br label %34 25: ; preds = %13 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %8, align 4 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %8, align 4 %30 = sub nsw i32 %28, %29 %31 = getelementptr inbounds [63 x i8], ptr %7, i64 0, i64 0 %32 = call i32 @encode_line(ptr noundef %26, i32 noundef %27, i32 noundef %30, ptr noundef %31) %33 = load i32, ptr %5, align 4 store i32 %33, ptr %8, align 4 br label %34 34: ; preds = %25, %18 %35 = load ptr, ptr %6, align 8 %36 = getelementptr inbounds [63 x i8], ptr %7, i64 0, i64 0 %37 = call i32 @strcat(ptr noundef %35, ptr noundef %36) %38 = load ptr, ptr %6, align 8 %39 = load ptr, ptr %6, align 8 %40 = call i32 @strlen(ptr noundef %39) %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %38, i64 %41 store ptr %42, ptr %6, align 8 br label %9, !llvm.loop !6 43: ; preds = %9 %44 = load ptr, ptr %6, align 8 %45 = call i32 @strcat(ptr noundef %44, ptr noundef @.str) ret void } declare i32 @encode_line(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcm6yn9v6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c" \0Aend\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @encode(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca [63 x i8], align 16 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 store i32 0, ptr %8, align 4 %9 = load i32, ptr %8, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %45 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %33 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %8, align 4 %15 = sub nsw i32 %13, %14 %16 = icmp sge i32 %15, 45 br i1 %16, label %17, label %24 17: ; preds = %12 %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %8, align 4 %20 = getelementptr inbounds [63 x i8], ptr %7, i64 0, i64 0 %21 = call i32 @encode_line(ptr noundef %18, i32 noundef %19, i32 noundef 45, ptr noundef %20) %22 = load i32, ptr %8, align 4 %23 = add nsw i32 %22, 45 store i32 %23, ptr %8, align 4 br label %33 24: ; preds = %12 %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %8, align 4 %27 = load i32, ptr %5, align 4 %28 = load i32, ptr %8, align 4 %29 = sub nsw i32 %27, %28 %30 = getelementptr inbounds [63 x i8], ptr %7, i64 0, i64 0 %31 = call i32 @encode_line(ptr noundef %25, i32 noundef %26, i32 noundef %29, ptr noundef %30) %32 = load i32, ptr %5, align 4 store i32 %32, ptr %8, align 4 br label %33 33: ; preds = %24, %17 %34 = load ptr, ptr %6, align 8 %35 = getelementptr inbounds [63 x i8], ptr %7, i64 0, i64 0 %36 = call i32 @strcat(ptr noundef %34, ptr noundef %35) %37 = load ptr, ptr %6, align 8 %38 = load ptr, ptr %6, align 8 %39 = call i32 @strlen(ptr noundef %38) %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %37, i64 %40 store ptr %41, ptr %6, align 8 %42 = load i32, ptr %8, align 4 %43 = load i32, ptr %5, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %45 45: ; preds = %._crit_edge, %3 %46 = load ptr, ptr %6, align 8 %47 = call i32 @strcat(ptr noundef %46, ptr noundef @.str) ret void } declare i32 @encode_line(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpzmoee6m8.c' source_filename = "/tmp/tmpzmoee6m8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @testFor() #0 { %1 = call i32 (...) @for1() %2 = call i32 (...) @for2() ret void } declare i32 @for1(...) #1 declare i32 @for2(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzmoee6m8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @testFor() #0 { %1 = call i32 (...) @for1() %2 = call i32 (...) @for2() ret void } declare i32 @for1(...) #1 declare i32 @for2(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv7poeajj.c' source_filename = "/tmp/tmpv7poeajj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cpuid_get(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 @memcpy(ptr noundef %3, ptr noundef inttoptr (i64 536868780 to ptr), i32 noundef 12) ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv7poeajj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cpuid_get(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 @memcpy(ptr noundef %3, ptr noundef inttoptr (i64 536868780 to ptr), i32 noundef 12) ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa0sgyt7q.c' source_filename = "/tmp/tmpa0sgyt7q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CNAME(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca x86_fp80, align 16 %10 = alloca x86_fp80, align 16 %11 = alloca x86_fp80, align 16 %12 = alloca x86_fp80, align 16 %13 = alloca x86_fp80, align 16 %14 = alloca x86_fp80, align 16 %15 = alloca x86_fp80, align 16 %16 = alloca x86_fp80, align 16 %17 = alloca x86_fp80, align 16 %18 = alloca x86_fp80, align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %19 = load ptr, ptr %5, align 8 %20 = load double, ptr %19, align 8 %21 = fpext double %20 to x86_fp80 store x86_fp80 %21, ptr %9, align 16 %22 = load ptr, ptr %6, align 8 %23 = load double, ptr %22, align 8 %24 = fpext double %23 to x86_fp80 store x86_fp80 %24, ptr %10, align 16 %25 = load x86_fp80, ptr %9, align 16 %26 = call x86_fp80 @llvm.fabs.f80(x86_fp80 %25) store x86_fp80 %26, ptr %16, align 16 %27 = load x86_fp80, ptr %10, align 16 %28 = call x86_fp80 @llvm.fabs.f80(x86_fp80 %27) store x86_fp80 %28, ptr %17, align 16 %29 = load x86_fp80, ptr %16, align 16 %30 = load x86_fp80, ptr %17, align 16 %31 = fadd x86_fp80 %29, %30 store x86_fp80 %31, ptr %18, align 16 %32 = load x86_fp80, ptr %10, align 16 store x86_fp80 %32, ptr %14, align 16 %33 = load x86_fp80, ptr %16, align 16 %34 = load x86_fp80, ptr %17, align 16 %35 = fcmp ogt x86_fp80 %33, %34 br i1 %35, label %36, label %38 36: ; preds = %4 %37 = load x86_fp80, ptr %9, align 16 store x86_fp80 %37, ptr %14, align 16 br label %38 38: ; preds = %36, %4 %39 = load x86_fp80, ptr %18, align 16 %40 = fcmp oeq x86_fp80 %39, 0xK00000000000000000000 br i1 %40, label %41, label %46 41: ; preds = %38 %42 = load ptr, ptr %7, align 8 store double 1.000000e+00, ptr %42, align 8 %43 = load ptr, ptr %8, align 8 store double 0.000000e+00, ptr %43, align 8 %44 = load ptr, ptr %5, align 8 store double 0.000000e+00, ptr %44, align 8 %45 = load ptr, ptr %6, align 8 store double 0.000000e+00, ptr %45, align 8 br label %91 46: ; preds = %38 %47 = load x86_fp80, ptr %9, align 16 %48 = load x86_fp80, ptr %9, align 16 %49 = load x86_fp80, ptr %10, align 16 %50 = load x86_fp80, ptr %10, align 16 %51 = fmul x86_fp80 %49, %50 %52 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %47, x86_fp80 %48, x86_fp80 %51) %53 = call x86_fp80 @sqrt(x86_fp80 noundef %52) store x86_fp80 %53, ptr %13, align 16 %54 = load x86_fp80, ptr %14, align 16 %55 = fcmp olt x86_fp80 %54, 0xK00000000000000000000 br i1 %55, label %56, label %59 56: ; preds = %46 %57 = load x86_fp80, ptr %13, align 16 %58 = fneg x86_fp80 %57 store x86_fp80 %58, ptr %13, align 16 br label %59 59: ; preds = %56, %46 %60 = load x86_fp80, ptr %9, align 16 %61 = load x86_fp80, ptr %13, align 16 %62 = fdiv x86_fp80 %60, %61 store x86_fp80 %62, ptr %11, align 16 %63 = load x86_fp80, ptr %10, align 16 %64 = load x86_fp80, ptr %13, align 16 %65 = fdiv x86_fp80 %63, %64 store x86_fp80 %65, ptr %12, align 16 store x86_fp80 0xK3FFF8000000000000000, ptr %15, align 16 %66 = load x86_fp80, ptr %9, align 16 %67 = fcmp une x86_fp80 %66, 0xK00000000000000000000 br i1 %67, label %68, label %78 68: ; preds = %59 %69 = load x86_fp80, ptr %16, align 16 %70 = load x86_fp80, ptr %17, align 16 %71 = fcmp ogt x86_fp80 %69, %70 br i1 %71, label %72, label %74 72: ; preds = %68 %73 = load x86_fp80, ptr %12, align 16 store x86_fp80 %73, ptr %15, align 16 br label %77 74: ; preds = %68 %75 = load x86_fp80, ptr %11, align 16 %76 = fdiv x86_fp80 0xK3FFF8000000000000000, %75 store x86_fp80 %76, ptr %15, align 16 br label %77 77: ; preds = %74, %72 br label %78 78: ; preds = %77, %59 %79 = load x86_fp80, ptr %11, align 16 %80 = fptrunc x86_fp80 %79 to double %81 = load ptr, ptr %7, align 8 store double %80, ptr %81, align 8 %82 = load x86_fp80, ptr %12, align 16 %83 = fptrunc x86_fp80 %82 to double %84 = load ptr, ptr %8, align 8 store double %83, ptr %84, align 8 %85 = load x86_fp80, ptr %13, align 16 %86 = fptrunc x86_fp80 %85 to double %87 = load ptr, ptr %5, align 8 store double %86, ptr %87, align 8 %88 = load x86_fp80, ptr %15, align 16 %89 = fptrunc x86_fp80 %88 to double %90 = load ptr, ptr %6, align 8 store double %89, ptr %90, align 8 br label %91 91: ; preds = %78, %41 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare x86_fp80 @llvm.fabs.f80(x86_fp80) #1 declare x86_fp80 @sqrt(x86_fp80 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa0sgyt7q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CNAME(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca x86_fp80, align 16 %10 = alloca x86_fp80, align 16 %11 = alloca x86_fp80, align 16 %12 = alloca x86_fp80, align 16 %13 = alloca x86_fp80, align 16 %14 = alloca x86_fp80, align 16 %15 = alloca x86_fp80, align 16 %16 = alloca x86_fp80, align 16 %17 = alloca x86_fp80, align 16 %18 = alloca x86_fp80, align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %19 = load ptr, ptr %5, align 8 %20 = load double, ptr %19, align 8 %21 = fpext double %20 to x86_fp80 store x86_fp80 %21, ptr %9, align 16 %22 = load ptr, ptr %6, align 8 %23 = load double, ptr %22, align 8 %24 = fpext double %23 to x86_fp80 store x86_fp80 %24, ptr %10, align 16 %25 = load x86_fp80, ptr %9, align 16 %26 = call x86_fp80 @llvm.fabs.f80(x86_fp80 %25) store x86_fp80 %26, ptr %16, align 16 %27 = load x86_fp80, ptr %10, align 16 %28 = call x86_fp80 @llvm.fabs.f80(x86_fp80 %27) store x86_fp80 %28, ptr %17, align 16 %29 = load x86_fp80, ptr %16, align 16 %30 = load x86_fp80, ptr %17, align 16 %31 = fadd x86_fp80 %29, %30 store x86_fp80 %31, ptr %18, align 16 %32 = load x86_fp80, ptr %10, align 16 store x86_fp80 %32, ptr %14, align 16 %33 = load x86_fp80, ptr %16, align 16 %34 = load x86_fp80, ptr %17, align 16 %35 = fcmp ogt x86_fp80 %33, %34 br i1 %35, label %36, label %38 36: ; preds = %4 %37 = load x86_fp80, ptr %9, align 16 store x86_fp80 %37, ptr %14, align 16 br label %38 38: ; preds = %36, %4 %39 = load x86_fp80, ptr %18, align 16 %40 = fcmp oeq x86_fp80 %39, 0xK00000000000000000000 br i1 %40, label %41, label %46 41: ; preds = %38 %42 = load ptr, ptr %7, align 8 store double 1.000000e+00, ptr %42, align 8 %43 = load ptr, ptr %8, align 8 store double 0.000000e+00, ptr %43, align 8 %44 = load ptr, ptr %5, align 8 store double 0.000000e+00, ptr %44, align 8 %45 = load ptr, ptr %6, align 8 store double 0.000000e+00, ptr %45, align 8 br label %91 46: ; preds = %38 %47 = load x86_fp80, ptr %9, align 16 %48 = load x86_fp80, ptr %9, align 16 %49 = load x86_fp80, ptr %10, align 16 %50 = load x86_fp80, ptr %10, align 16 %51 = fmul x86_fp80 %49, %50 %52 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %47, x86_fp80 %48, x86_fp80 %51) %53 = call x86_fp80 @sqrt(x86_fp80 noundef %52) store x86_fp80 %53, ptr %13, align 16 %54 = load x86_fp80, ptr %14, align 16 %55 = fcmp olt x86_fp80 %54, 0xK00000000000000000000 br i1 %55, label %56, label %59 56: ; preds = %46 %57 = load x86_fp80, ptr %13, align 16 %58 = fneg x86_fp80 %57 store x86_fp80 %58, ptr %13, align 16 br label %59 59: ; preds = %56, %46 %60 = load x86_fp80, ptr %9, align 16 %61 = load x86_fp80, ptr %13, align 16 %62 = fdiv x86_fp80 %60, %61 store x86_fp80 %62, ptr %11, align 16 %63 = load x86_fp80, ptr %10, align 16 %64 = load x86_fp80, ptr %13, align 16 %65 = fdiv x86_fp80 %63, %64 store x86_fp80 %65, ptr %12, align 16 store x86_fp80 0xK3FFF8000000000000000, ptr %15, align 16 %66 = load x86_fp80, ptr %9, align 16 %67 = fcmp une x86_fp80 %66, 0xK00000000000000000000 br i1 %67, label %68, label %78 68: ; preds = %59 %69 = load x86_fp80, ptr %16, align 16 %70 = load x86_fp80, ptr %17, align 16 %71 = fcmp ogt x86_fp80 %69, %70 br i1 %71, label %72, label %74 72: ; preds = %68 %73 = load x86_fp80, ptr %12, align 16 store x86_fp80 %73, ptr %15, align 16 br label %77 74: ; preds = %68 %75 = load x86_fp80, ptr %11, align 16 %76 = fdiv x86_fp80 0xK3FFF8000000000000000, %75 store x86_fp80 %76, ptr %15, align 16 br label %77 77: ; preds = %74, %72 br label %78 78: ; preds = %77, %59 %79 = load x86_fp80, ptr %11, align 16 %80 = fptrunc x86_fp80 %79 to double %81 = load ptr, ptr %7, align 8 store double %80, ptr %81, align 8 %82 = load x86_fp80, ptr %12, align 16 %83 = fptrunc x86_fp80 %82 to double %84 = load ptr, ptr %8, align 8 store double %83, ptr %84, align 8 %85 = load x86_fp80, ptr %13, align 16 %86 = fptrunc x86_fp80 %85 to double %87 = load ptr, ptr %5, align 8 store double %86, ptr %87, align 8 %88 = load x86_fp80, ptr %15, align 16 %89 = fptrunc x86_fp80 %88 to double %90 = load ptr, ptr %6, align 8 store double %89, ptr %90, align 8 br label %91 91: ; preds = %78, %41 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare x86_fp80 @llvm.fabs.f80(x86_fp80) #1 declare x86_fp80 @sqrt(x86_fp80 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyd83qo0h.c' source_filename = "/tmp/tmpyd83qo0h.c" target datalayout = "e-m:e-p270: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"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [41 x i8], align 16 store i32 0, ptr %1, align 4 %3 = getelementptr inbounds [41 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %5 = getelementptr inbounds [41 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @check_if_valid(ptr noundef %5) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @check_if_valid(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyd83qo0h.c" target datalayout = "e-m:e-p270: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"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [41 x i8], align 16 store i32 0, ptr %1, align 4 %3 = getelementptr inbounds [41 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %5 = getelementptr inbounds [41 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @check_if_valid(ptr noundef %5) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @check_if_valid(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4fusi01d.c' source_filename = "/tmp/tmp4fusi01d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @randomDoor(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 (...) @rand() %4 = load i32, ptr %2, align 4 %5 = srem i32 %3, %4 ret i32 %5 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4fusi01d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @randomDoor(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 (...) @rand() %4 = load i32, ptr %2, align 4 %5 = srem i32 %3, %4 ret i32 %5 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp03qjpf17.c' source_filename = "/tmp/tmp03qjpf17.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = call ptr (...) @output_25() store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds i8, ptr %4, i64 0 %6 = load i8, ptr %5, align 1 %7 = sext i8 %6 to i32 %8 = icmp ne i32 %7, 115 br i1 %8, label %9, label %11 9: ; preds = %0 %10 = call i32 (...) @abort() #3 unreachable 11: ; preds = %0 %12 = call i32 @exit(i32 noundef 0) #3 unreachable } declare ptr @output_25(...) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 ; 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/tmp03qjpf17.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = call ptr (...) @output_25() store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds i8, ptr %4, i64 0 %6 = load i8, ptr %5, align 1 %7 = sext i8 %6 to i32 %8 = icmp ne i32 %7, 115 br i1 %8, label %9, label %11 9: ; preds = %0 %10 = call i32 (...) @abort() #3 unreachable 11: ; preds = %0 %12 = call i32 @exit(i32 noundef 0) #3 unreachable } declare ptr @output_25(...) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 ; 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/tmp8ujyfpgg.c' source_filename = "/tmp/tmp8ujyfpgg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @merge(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %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 ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %6, align 4 %18 = sub nsw i32 %16, %17 %19 = add nsw i32 %18, 1 store i32 %19, ptr %9, align 4 %20 = load i32, ptr %8, align 4 %21 = load i32, ptr %7, align 4 %22 = sub nsw i32 %20, %21 store i32 %22, ptr %10, align 4 %23 = load i32, ptr %9, align 4 %24 = sext i32 %23 to i64 %25 = mul i64 4, %24 %26 = trunc i64 %25 to i32 %27 = call i64 @malloc(i32 noundef %26) %28 = inttoptr i64 %27 to ptr store ptr %28, ptr %11, align 8 %29 = load i32, ptr %10, align 4 %30 = sext i32 %29 to i64 %31 = mul i64 4, %30 %32 = trunc i64 %31 to i32 %33 = call i64 @malloc(i32 noundef %32) %34 = inttoptr i64 %33 to ptr store ptr %34, ptr %12, align 8 store i32 0, ptr %13, align 4 br label %35 35: ; preds = %51, %4 %36 = load i32, ptr %13, align 4 %37 = load i32, ptr %9, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %39, label %54 39: ; preds = %35 %40 = load ptr, ptr %5, align 8 %41 = load i32, ptr %6, align 4 %42 = load i32, ptr %13, align 4 %43 = add nsw i32 %41, %42 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i32, ptr %40, i64 %44 %46 = load i32, ptr %45, align 4 %47 = load ptr, ptr %11, align 8 %48 = load i32, ptr %13, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i32, ptr %47, i64 %49 store i32 %46, ptr %50, align 4 br label %51 51: ; preds = %39 %52 = load i32, ptr %13, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %13, align 4 br label %35, !llvm.loop !6 54: ; preds = %35 store i32 0, ptr %13, align 4 br label %55 55: ; preds = %72, %54 %56 = load i32, ptr %13, align 4 %57 = load i32, ptr %10, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %59, label %75 59: ; preds = %55 %60 = load ptr, ptr %5, align 8 %61 = load i32, ptr %7, align 4 %62 = load i32, ptr %13, align 4 %63 = add nsw i32 %61, %62 %64 = add nsw i32 %63, 1 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i32, ptr %60, i64 %65 %67 = load i32, ptr %66, align 4 %68 = load ptr, ptr %12, align 8 %69 = load i32, ptr %13, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i32, ptr %68, i64 %70 store i32 %67, ptr %71, align 4 br label %72 72: ; preds = %59 %73 = load i32, ptr %13, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %13, align 4 br label %55, !llvm.loop !8 75: ; preds = %55 store i32 0, ptr %13, align 4 store i32 0, ptr %14, align 4 %76 = load i32, ptr %6, align 4 store i32 %76, ptr %15, align 4 br label %77 77: ; preds = %123, %75 %78 = load i32, ptr %13, align 4 %79 = load i32, ptr %9, align 4 %80 = icmp slt i32 %78, %79 br i1 %80, label %81, label %85 81: ; preds = %77 %82 = load i32, ptr %14, align 4 %83 = load i32, ptr %10, align 4 %84 = icmp slt i32 %82, %83 br label %85 85: ; preds = %81, %77 %86 = phi i1 [ false, %77 ], [ %84, %81 ] br i1 %86, label %87, label %124 87: ; preds = %85 %88 = load ptr, ptr %11, align 8 %89 = load i32, ptr %13, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i32, ptr %88, i64 %90 %92 = load i32, ptr %91, align 4 %93 = load ptr, ptr %12, align 8 %94 = load i32, ptr %14, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds i32, ptr %93, i64 %95 %97 = load i32, ptr %96, align 4 %98 = icmp slt i32 %92, %97 br i1 %98, label %99, label %111 99: ; preds = %87 %100 = load ptr, ptr %11, align 8 %101 = load i32, ptr %13, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %13, align 4 %103 = sext i32 %101 to i64 %104 = getelementptr inbounds i32, ptr %100, i64 %103 %105 = load i32, ptr %104, align 4 %106 = load ptr, ptr %5, align 8 %107 = load i32, ptr %15, align 4 %108 = add nsw i32 %107, 1 store i32 %108, ptr %15, align 4 %109 = sext i32 %107 to i64 %110 = getelementptr inbounds i32, ptr %106, i64 %109 store i32 %105, ptr %110, align 4 br label %123 111: ; preds = %87 %112 = load ptr, ptr %12, align 8 %113 = load i32, ptr %14, align 4 %114 = add nsw i32 %113, 1 store i32 %114, ptr %14, align 4 %115 = sext i32 %113 to i64 %116 = getelementptr inbounds i32, ptr %112, i64 %115 %117 = load i32, ptr %116, align 4 %118 = load ptr, ptr %5, align 8 %119 = load i32, ptr %15, align 4 %120 = add nsw i32 %119, 1 store i32 %120, ptr %15, align 4 %121 = sext i32 %119 to i64 %122 = getelementptr inbounds i32, ptr %118, i64 %121 store i32 %117, ptr %122, align 4 br label %123 123: ; preds = %111, %99 br label %77, !llvm.loop !9 124: ; preds = %85 br label %125 125: ; preds = %129, %124 %126 = load i32, ptr %13, align 4 %127 = load i32, ptr %9, align 4 %128 = icmp slt i32 %126, %127 br i1 %128, label %129, label %141 129: ; preds = %125 %130 = load ptr, ptr %11, align 8 %131 = load i32, ptr %13, align 4 %132 = add nsw i32 %131, 1 store i32 %132, ptr %13, align 4 %133 = sext i32 %131 to i64 %134 = getelementptr inbounds i32, ptr %130, i64 %133 %135 = load i32, ptr %134, align 4 %136 = load ptr, ptr %5, align 8 %137 = load i32, ptr %15, align 4 %138 = add nsw i32 %137, 1 store i32 %138, ptr %15, align 4 %139 = sext i32 %137 to i64 %140 = getelementptr inbounds i32, ptr %136, i64 %139 store i32 %135, ptr %140, align 4 br label %125, !llvm.loop !10 141: ; preds = %125 br label %142 142: ; preds = %146, %141 %143 = load i32, ptr %14, align 4 %144 = load i32, ptr %10, align 4 %145 = icmp slt i32 %143, %144 br i1 %145, label %146, label %158 146: ; preds = %142 %147 = load ptr, ptr %12, align 8 %148 = load i32, ptr %14, align 4 %149 = add nsw i32 %148, 1 store i32 %149, ptr %14, align 4 %150 = sext i32 %148 to i64 %151 = getelementptr inbounds i32, ptr %147, i64 %150 %152 = load i32, ptr %151, align 4 %153 = load ptr, ptr %5, align 8 %154 = load i32, ptr %15, align 4 %155 = add nsw i32 %154, 1 store i32 %155, ptr %15, align 4 %156 = sext i32 %154 to i64 %157 = getelementptr inbounds i32, ptr %153, i64 %156 store i32 %152, ptr %157, align 4 br label %142, !llvm.loop !11 158: ; preds = %142 %159 = load ptr, ptr %11, align 8 %160 = call i32 @free(ptr noundef %159) %161 = load ptr, ptr %12, align 8 %162 = call i32 @free(ptr noundef %161) ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8ujyfpgg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @merge(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %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 ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %6, align 4 %18 = sub nsw i32 %16, %17 %19 = add nsw i32 %18, 1 store i32 %19, ptr %9, align 4 %20 = load i32, ptr %8, align 4 %21 = load i32, ptr %7, align 4 %22 = sub nsw i32 %20, %21 store i32 %22, ptr %10, align 4 %23 = load i32, ptr %9, align 4 %24 = sext i32 %23 to i64 %25 = mul i64 4, %24 %26 = trunc i64 %25 to i32 %27 = call i64 @malloc(i32 noundef %26) %28 = inttoptr i64 %27 to ptr store ptr %28, ptr %11, align 8 %29 = load i32, ptr %10, align 4 %30 = sext i32 %29 to i64 %31 = mul i64 4, %30 %32 = trunc i64 %31 to i32 %33 = call i64 @malloc(i32 noundef %32) %34 = inttoptr i64 %33 to ptr store ptr %34, ptr %12, align 8 store i32 0, ptr %13, align 4 %35 = load i32, ptr %13, align 4 %36 = load i32, ptr %9, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %.lr.ph, label %56 .lr.ph: ; preds = %4 br label %38 38: ; preds = %.lr.ph, %50 %39 = load ptr, ptr %5, align 8 %40 = load i32, ptr %6, align 4 %41 = load i32, ptr %13, align 4 %42 = add nsw i32 %40, %41 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %39, i64 %43 %45 = load i32, ptr %44, align 4 %46 = load ptr, ptr %11, align 8 %47 = load i32, ptr %13, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 store i32 %45, ptr %49, align 4 br label %50 50: ; preds = %38 %51 = load i32, ptr %13, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %13, align 4 %53 = load i32, ptr %13, align 4 %54 = load i32, ptr %9, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %38, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %50 br label %56 56: ; preds = %._crit_edge, %4 store i32 0, ptr %13, align 4 %57 = load i32, ptr %13, align 4 %58 = load i32, ptr %10, align 4 %59 = icmp slt i32 %57, %58 br i1 %59, label %.lr.ph2, label %79 .lr.ph2: ; preds = %56 br label %60 60: ; preds = %.lr.ph2, %73 %61 = load ptr, ptr %5, align 8 %62 = load i32, ptr %7, align 4 %63 = load i32, ptr %13, align 4 %64 = add nsw i32 %62, %63 %65 = add nsw i32 %64, 1 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i32, ptr %61, i64 %66 %68 = load i32, ptr %67, align 4 %69 = load ptr, ptr %12, align 8 %70 = load i32, ptr %13, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i32, ptr %69, i64 %71 store i32 %68, ptr %72, align 4 br label %73 73: ; preds = %60 %74 = load i32, ptr %13, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %13, align 4 %76 = load i32, ptr %13, align 4 %77 = load i32, ptr %10, align 4 %78 = icmp slt i32 %76, %77 br i1 %78, label %60, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %73 br label %79 79: ; preds = %._crit_edge3, %56 store i32 0, ptr %13, align 4 store i32 0, ptr %14, align 4 %80 = load i32, ptr %6, align 4 store i32 %80, ptr %15, align 4 br label %81 81: ; preds = %127, %79 %82 = load i32, ptr %13, align 4 %83 = load i32, ptr %9, align 4 %84 = icmp slt i32 %82, %83 br i1 %84, label %85, label %89 85: ; preds = %81 %86 = load i32, ptr %14, align 4 %87 = load i32, ptr %10, align 4 %88 = icmp slt i32 %86, %87 br label %89 89: ; preds = %85, %81 %90 = phi i1 [ false, %81 ], [ %88, %85 ] br i1 %90, label %91, label %128 91: ; preds = %89 %92 = load ptr, ptr %11, align 8 %93 = load i32, ptr %13, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds i32, ptr %92, i64 %94 %96 = load i32, ptr %95, align 4 %97 = load ptr, ptr %12, align 8 %98 = load i32, ptr %14, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i32, ptr %97, i64 %99 %101 = load i32, ptr %100, align 4 %102 = icmp slt i32 %96, %101 br i1 %102, label %103, label %115 103: ; preds = %91 %104 = load ptr, ptr %11, align 8 %105 = load i32, ptr %13, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %13, align 4 %107 = sext i32 %105 to i64 %108 = getelementptr inbounds i32, ptr %104, i64 %107 %109 = load i32, ptr %108, align 4 %110 = load ptr, ptr %5, align 8 %111 = load i32, ptr %15, align 4 %112 = add nsw i32 %111, 1 store i32 %112, ptr %15, align 4 %113 = sext i32 %111 to i64 %114 = getelementptr inbounds i32, ptr %110, i64 %113 store i32 %109, ptr %114, align 4 br label %127 115: ; preds = %91 %116 = load ptr, ptr %12, align 8 %117 = load i32, ptr %14, align 4 %118 = add nsw i32 %117, 1 store i32 %118, ptr %14, align 4 %119 = sext i32 %117 to i64 %120 = getelementptr inbounds i32, ptr %116, i64 %119 %121 = load i32, ptr %120, align 4 %122 = load ptr, ptr %5, align 8 %123 = load i32, ptr %15, align 4 %124 = add nsw i32 %123, 1 store i32 %124, ptr %15, align 4 %125 = sext i32 %123 to i64 %126 = getelementptr inbounds i32, ptr %122, i64 %125 store i32 %121, ptr %126, align 4 br label %127 127: ; preds = %115, %103 br label %81, !llvm.loop !9 128: ; preds = %89 %129 = load i32, ptr %13, align 4 %130 = load i32, ptr %9, align 4 %131 = icmp slt i32 %129, %130 br i1 %131, label %.lr.ph5, label %147 .lr.ph5: ; preds = %128 br label %132 132: ; preds = %.lr.ph5, %132 %133 = load ptr, ptr %11, align 8 %134 = load i32, ptr %13, align 4 %135 = add nsw i32 %134, 1 store i32 %135, ptr %13, align 4 %136 = sext i32 %134 to i64 %137 = getelementptr inbounds i32, ptr %133, i64 %136 %138 = load i32, ptr %137, align 4 %139 = load ptr, ptr %5, align 8 %140 = load i32, ptr %15, align 4 %141 = add nsw i32 %140, 1 store i32 %141, ptr %15, align 4 %142 = sext i32 %140 to i64 %143 = getelementptr inbounds i32, ptr %139, i64 %142 store i32 %138, ptr %143, align 4 %144 = load i32, ptr %13, align 4 %145 = load i32, ptr %9, align 4 %146 = icmp slt i32 %144, %145 br i1 %146, label %132, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %132 br label %147 147: ; preds = %._crit_edge6, %128 %148 = load i32, ptr %14, align 4 %149 = load i32, ptr %10, align 4 %150 = icmp slt i32 %148, %149 br i1 %150, label %.lr.ph8, label %166 .lr.ph8: ; preds = %147 br label %151 151: ; preds = %.lr.ph8, %151 %152 = load ptr, ptr %12, align 8 %153 = load i32, ptr %14, align 4 %154 = add nsw i32 %153, 1 store i32 %154, ptr %14, align 4 %155 = sext i32 %153 to i64 %156 = getelementptr inbounds i32, ptr %152, i64 %155 %157 = load i32, ptr %156, align 4 %158 = load ptr, ptr %5, align 8 %159 = load i32, ptr %15, align 4 %160 = add nsw i32 %159, 1 store i32 %160, ptr %15, align 4 %161 = sext i32 %159 to i64 %162 = getelementptr inbounds i32, ptr %158, i64 %161 store i32 %157, ptr %162, align 4 %163 = load i32, ptr %14, align 4 %164 = load i32, ptr %10, align 4 %165 = icmp slt i32 %163, %164 br i1 %165, label %151, label %._crit_edge9, !llvm.loop !11 ._crit_edge9: ; preds = %151 br label %166 166: ; preds = %._crit_edge9, %147 %167 = load ptr, ptr %11, align 8 %168 = call i32 @free(ptr noundef %167) %169 = load ptr, ptr %12, align 8 %170 = call i32 @free(ptr noundef %169) ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmp33p3l6zw.c' source_filename = "/tmp/tmp33p3l6zw.c" target datalayout = "e-m:e-p270: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/tmp33p3l6zw.c" target datalayout = "e-m:e-p270: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/tmp1d3o0gfc.c' source_filename = "/tmp/tmp1d3o0gfc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @next_char(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fgetc(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp eq i32 %6, 13 br i1 %7, label %8, label %18 8: ; preds = %1 %9 = load ptr, ptr %2, align 8 %10 = call i32 @fgetc(ptr noundef %9) store i32 %10, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp ne i32 %11, 10 br i1 %12, label %13, label %17 13: ; preds = %8 %14 = load i32, ptr %3, align 4 %15 = load ptr, ptr %2, align 8 %16 = call i32 @ungetc(i32 noundef %14, ptr noundef %15) store i32 13, ptr %3, align 4 br label %17 17: ; preds = %13, %8 br label %18 18: ; preds = %17, %1 %19 = load i32, ptr %3, align 4 ret i32 %19 } declare i32 @fgetc(ptr noundef) #1 declare i32 @ungetc(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/tmp1d3o0gfc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @next_char(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fgetc(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp eq i32 %6, 13 br i1 %7, label %8, label %18 8: ; preds = %1 %9 = load ptr, ptr %2, align 8 %10 = call i32 @fgetc(ptr noundef %9) store i32 %10, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp ne i32 %11, 10 br i1 %12, label %13, label %17 13: ; preds = %8 %14 = load i32, ptr %3, align 4 %15 = load ptr, ptr %2, align 8 %16 = call i32 @ungetc(i32 noundef %14, ptr noundef %15) store i32 13, ptr %3, align 4 br label %17 17: ; preds = %13, %8 br label %18 18: ; preds = %17, %1 %19 = load i32, ptr %3, align 4 ret i32 %19 } declare i32 @fgetc(ptr noundef) #1 declare i32 @ungetc(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/tmpi49zj90z.c' source_filename = "/tmp/tmpi49zj90z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TrimString(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %4 4: ; preds = %9, %1 %5 = load ptr, ptr %2, align 8 %6 = load i8, ptr %5, align 1 %7 = call i64 @IsSpace(i8 noundef signext %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %4 %10 = load ptr, ptr %2, align 8 %11 = getelementptr inbounds i8, ptr %10, i32 1 store ptr %11, ptr %2, align 8 br label %4, !llvm.loop !6 12: ; preds = %4 %13 = load ptr, ptr %2, align 8 %14 = load ptr, ptr %2, align 8 %15 = call i32 @strlen(ptr noundef %14) %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %13, i64 %16 %18 = getelementptr inbounds i8, ptr %17, i64 -1 store ptr %18, ptr %3, align 8 br label %19 19: ; preds = %30, %12 %20 = load ptr, ptr %3, align 8 %21 = load ptr, ptr %2, align 8 %22 = icmp ugt ptr %20, %21 br i1 %22, label %23, label %28 23: ; preds = %19 %24 = load ptr, ptr %3, align 8 %25 = load i8, ptr %24, align 1 %26 = call i64 @IsSpace(i8 noundef signext %25) %27 = icmp ne i64 %26, 0 br label %28 28: ; preds = %23, %19 %29 = phi i1 [ false, %19 ], [ %27, %23 ] br i1 %29, label %30, label %33 30: ; preds = %28 %31 = load ptr, ptr %3, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 -1 store ptr %32, ptr %3, align 8 br label %19, !llvm.loop !8 33: ; preds = %28 %34 = load ptr, ptr %3, align 8 %35 = getelementptr inbounds i8, ptr %34, i64 1 store i8 0, ptr %35, align 1 %36 = load ptr, ptr %2, align 8 ret ptr %36 } declare i64 @IsSpace(i8 noundef signext) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi49zj90z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TrimString(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 = load i8, ptr %4, align 1 %6 = call i64 @IsSpace(i8 noundef signext %5) %7 = icmp ne i64 %6, 0 br i1 %7, label %.lr.ph, label %15 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %8 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds i8, ptr %9, i32 1 store ptr %10, ptr %2, align 8 %11 = load ptr, ptr %2, align 8 %12 = load i8, ptr %11, align 1 %13 = call i64 @IsSpace(i8 noundef signext %12) %14 = icmp ne i64 %13, 0 br i1 %14, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %15 15: ; preds = %._crit_edge, %1 %16 = load ptr, ptr %2, align 8 %17 = load ptr, ptr %2, align 8 %18 = call i32 @strlen(ptr noundef %17) %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %16, i64 %19 %21 = getelementptr inbounds i8, ptr %20, i64 -1 store ptr %21, ptr %3, align 8 br label %22 22: ; preds = %33, %15 %23 = load ptr, ptr %3, align 8 %24 = load ptr, ptr %2, align 8 %25 = icmp ugt ptr %23, %24 br i1 %25, label %26, label %31 26: ; preds = %22 %27 = load ptr, ptr %3, align 8 %28 = load i8, ptr %27, align 1 %29 = call i64 @IsSpace(i8 noundef signext %28) %30 = icmp ne i64 %29, 0 br label %31 31: ; preds = %26, %22 %32 = phi i1 [ false, %22 ], [ %30, %26 ] br i1 %32, label %33, label %36 33: ; preds = %31 %34 = load ptr, ptr %3, align 8 %35 = getelementptr inbounds i8, ptr %34, i32 -1 store ptr %35, ptr %3, align 8 br label %22, !llvm.loop !8 36: ; preds = %31 %37 = load ptr, ptr %3, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 1 store i8 0, ptr %38, align 1 %39 = load ptr, ptr %2, align 8 ret ptr %39 } declare i64 @IsSpace(i8 noundef signext) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmph3ch3zgp.c' source_filename = "/tmp/tmph3ch3zgp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TCSETS = dso_local global i32 0, align 4 @TCSETSW = dso_local global i32 0, align 4 @TCSETSF = dso_local global i32 0, align 4 @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tcsetattr(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 0, ptr %8, align 4 %9 = load i32, ptr %6, align 4 switch i32 %9, label %16 [ i32 128, label %10 i32 130, label %12 i32 129, label %14 ] 10: ; preds = %3 %11 = load i32, ptr @TCSETS, align 4 store i32 %11, ptr %8, align 4 br label %19 12: ; preds = %3 %13 = load i32, ptr @TCSETSW, align 4 store i32 %13, ptr %8, align 4 br label %19 14: ; preds = %3 %15 = load i32, ptr @TCSETSF, align 4 store i32 %15, ptr %8, align 4 br label %19 16: ; preds = %3 %17 = load i32, ptr @EINVAL, align 4 %18 = sub nsw i32 0, %17 store i32 %18, ptr @errno, align 4 store i32 -1, ptr %4, align 4 br label %24 19: ; preds = %14, %12, %10 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %8, align 4 %22 = load ptr, ptr %7, align 8 %23 = call i32 @ioctl(i32 noundef %20, i32 noundef %21, ptr noundef %22) store i32 %23, ptr %4, align 4 br label %24 24: ; preds = %19, %16 %25 = load i32, ptr %4, align 4 ret i32 %25 } declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph3ch3zgp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TCSETS = dso_local global i32 0, align 4 @TCSETSW = dso_local global i32 0, align 4 @TCSETSF = dso_local global i32 0, align 4 @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tcsetattr(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 0, ptr %8, align 4 %9 = load i32, ptr %6, align 4 switch i32 %9, label %16 [ i32 128, label %10 i32 130, label %12 i32 129, label %14 ] 10: ; preds = %3 %11 = load i32, ptr @TCSETS, align 4 store i32 %11, ptr %8, align 4 br label %19 12: ; preds = %3 %13 = load i32, ptr @TCSETSW, align 4 store i32 %13, ptr %8, align 4 br label %19 14: ; preds = %3 %15 = load i32, ptr @TCSETSF, align 4 store i32 %15, ptr %8, align 4 br label %19 16: ; preds = %3 %17 = load i32, ptr @EINVAL, align 4 %18 = sub nsw i32 0, %17 store i32 %18, ptr @errno, align 4 store i32 -1, ptr %4, align 4 br label %24 19: ; preds = %14, %12, %10 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %8, align 4 %22 = load ptr, ptr %7, align 8 %23 = call i32 @ioctl(i32 noundef %20, i32 noundef %21, ptr noundef %22) store i32 %23, ptr %4, align 4 br label %24 24: ; preds = %19, %16 %25 = load i32, ptr %4, align 4 ret i32 %25 } declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqtuhdt8w.c' source_filename = "/tmp/tmpqtuhdt8w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @picosat_reset_phases() #0 { %1 = call i32 (...) @rebias() ret void } declare i32 @rebias(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqtuhdt8w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @picosat_reset_phases() #0 { %1 = call i32 (...) @rebias() ret void } declare i32 @rebias(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5f01tkfh.c' source_filename = "/tmp/tmp5f01tkfh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @receive_downstream_message(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @readPort(ptr noundef %5, ptr noundef %6) ret void } declare i32 @readPort(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/tmp5f01tkfh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @receive_downstream_message(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @readPort(ptr noundef %5, ptr noundef %6) ret void } declare i32 @readPort(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/tmp9tqtk4np.c' source_filename = "/tmp/tmp9tqtk4np.c" target datalayout = "e-m:e-p270: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/tmp9tqtk4np.c" target datalayout = "e-m:e-p270: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/tmpsf4p4f5m.c' source_filename = "/tmp/tmpsf4p4f5m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @salinity(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 %10 = load double, ptr %6, align 8 %11 = fsub double %10, 1.500000e+01 store double %11, ptr %8, align 8 %12 = load double, ptr %5, align 8 %13 = fcmp ole double %12, 5.000000e-04 br i1 %13, label %14, label %15 14: ; preds = %3 store double 0.000000e+00, ptr %4, align 8 br label %49 15: ; preds = %3 %16 = load double, ptr %5, align 8 %17 = load double, ptr %6, align 8 %18 = call double @llvm.fmuladd.f64(double 1.003100e-09, double %17, double -6.969800e-07) %19 = load double, ptr %6, align 8 %20 = call double @llvm.fmuladd.f64(double %18, double %19, double 0x3F1CF28E843B034E) %21 = load double, ptr %6, align 8 %22 = call double @llvm.fmuladd.f64(double %20, double %21, double 2.005640e-02) %23 = load double, ptr %6, align 8 %24 = call double @llvm.fmuladd.f64(double %22, double %23, double 0x3FE5A6C962B500FE) %25 = load double, ptr %7, align 8 %26 = call double @llvm.fmuladd.f64(double 3.989000e-15, double %25, double -6.370000e-10) %27 = load double, ptr %7, align 8 %28 = call double @llvm.fmuladd.f64(double %26, double %27, double 2.070000e-05) %29 = load double, ptr %7, align 8 %30 = fmul double %28, %29 %31 = load double, ptr %6, align 8 %32 = call double @llvm.fmuladd.f64(double 4.464000e-04, double %31, double 3.426000e-02) %33 = load double, ptr %6, align 8 %34 = call double @llvm.fmuladd.f64(double %32, double %33, double 1.000000e+00) %35 = load double, ptr %6, align 8 %36 = call double @llvm.fmuladd.f64(double -3.107000e-03, double %35, double 4.215000e-01) %37 = load double, ptr %5, align 8 %38 = call double @llvm.fmuladd.f64(double %36, double %37, double %34) %39 = fdiv double %30, %38 %40 = fadd double 1.000000e+00, %39 %41 = fmul double %24, %40 %42 = fdiv double %16, %41 store double %42, ptr %9, align 8 %43 = load double, ptr %9, align 8 %44 = call i32 @fabs(double noundef %43) %45 = call double @sqrt(i32 noundef %44) store double %45, ptr %9, align 8 %46 = load double, ptr %9, align 8 %47 = load double, ptr %8, align 8 %48 = call double @_sal(double noundef %46, double noundef %47) store double %48, ptr %4, align 8 br label %49 49: ; preds = %15, %14 %50 = load double, ptr %4, align 8 ret double %50 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare double @sqrt(i32 noundef) #2 declare i32 @fabs(double noundef) #2 declare double @_sal(double noundef, double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsf4p4f5m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @salinity(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 %10 = load double, ptr %6, align 8 %11 = fsub double %10, 1.500000e+01 store double %11, ptr %8, align 8 %12 = load double, ptr %5, align 8 %13 = fcmp ole double %12, 5.000000e-04 br i1 %13, label %14, label %15 14: ; preds = %3 store double 0.000000e+00, ptr %4, align 8 br label %49 15: ; preds = %3 %16 = load double, ptr %5, align 8 %17 = load double, ptr %6, align 8 %18 = call double @llvm.fmuladd.f64(double 1.003100e-09, double %17, double -6.969800e-07) %19 = load double, ptr %6, align 8 %20 = call double @llvm.fmuladd.f64(double %18, double %19, double 0x3F1CF28E843B034E) %21 = load double, ptr %6, align 8 %22 = call double @llvm.fmuladd.f64(double %20, double %21, double 2.005640e-02) %23 = load double, ptr %6, align 8 %24 = call double @llvm.fmuladd.f64(double %22, double %23, double 0x3FE5A6C962B500FE) %25 = load double, ptr %7, align 8 %26 = call double @llvm.fmuladd.f64(double 3.989000e-15, double %25, double -6.370000e-10) %27 = load double, ptr %7, align 8 %28 = call double @llvm.fmuladd.f64(double %26, double %27, double 2.070000e-05) %29 = load double, ptr %7, align 8 %30 = fmul double %28, %29 %31 = load double, ptr %6, align 8 %32 = call double @llvm.fmuladd.f64(double 4.464000e-04, double %31, double 3.426000e-02) %33 = load double, ptr %6, align 8 %34 = call double @llvm.fmuladd.f64(double %32, double %33, double 1.000000e+00) %35 = load double, ptr %6, align 8 %36 = call double @llvm.fmuladd.f64(double -3.107000e-03, double %35, double 4.215000e-01) %37 = load double, ptr %5, align 8 %38 = call double @llvm.fmuladd.f64(double %36, double %37, double %34) %39 = fdiv double %30, %38 %40 = fadd double 1.000000e+00, %39 %41 = fmul double %24, %40 %42 = fdiv double %16, %41 store double %42, ptr %9, align 8 %43 = load double, ptr %9, align 8 %44 = call i32 @fabs(double noundef %43) %45 = call double @sqrt(i32 noundef %44) store double %45, ptr %9, align 8 %46 = load double, ptr %9, align 8 %47 = load double, ptr %8, align 8 %48 = call double @_sal(double noundef %46, double noundef %47) store double %48, ptr %4, align 8 br label %49 49: ; preds = %15, %14 %50 = load double, ptr %4, align 8 ret double %50 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare double @sqrt(i32 noundef) #2 declare i32 @fabs(double noundef) #2 declare double @_sal(double noundef, double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpoaayc1dj.c' source_filename = "/tmp/tmpoaayc1dj.c" target datalayout = "e-m:e-p270: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/tmpoaayc1dj.c" target datalayout = "e-m:e-p270: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/tmp7hv5e0m5.c' source_filename = "/tmp/tmp7hv5e0m5.c" target datalayout = "e-m:e-p270: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 [50 x i8] c"cannot allocate enough memory to buffer samples!\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"could not read all samples!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @load_samples(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %7 = load i64, ptr %4, align 8 %8 = call i64 @calloc(i64 noundef %7, i32 noundef 2) %9 = inttoptr i64 %8 to ptr store ptr %9, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str) %14 = call i32 @exit(i32 noundef -1) #3 unreachable 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = load i64, ptr %4, align 8 %18 = load ptr, ptr %3, align 8 %19 = call i64 @fread(ptr noundef %16, i32 noundef 2, i64 noundef %17, ptr noundef %18) %20 = load i64, ptr %4, align 8 %21 = icmp ne i64 %19, %20 br i1 %21, label %22, label %26 22: ; preds = %15 %23 = load i32, ptr @stderr, align 4 %24 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str.1) %25 = call i32 @exit(i32 noundef -1) #3 unreachable 26: ; preds = %15 %27 = load ptr, ptr %3, align 8 %28 = call i32 @rewind(ptr noundef %27) %29 = load i64, ptr %4, align 8 %30 = call i64 @calloc(i64 noundef %29, i32 noundef 4) %31 = inttoptr i64 %30 to ptr store ptr %31, ptr %6, align 8 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %37 33: ; preds = %26 %34 = load i32, ptr @stderr, align 4 %35 = call i32 @fprintf(i32 noundef %34, ptr noundef @.str) %36 = call i32 @exit(i32 noundef -1) #3 unreachable 37: ; preds = %26 %38 = load i64, ptr %4, align 8 %39 = load ptr, ptr %5, align 8 %40 = load ptr, ptr %6, align 8 %41 = call i32 @sh2fl_alt(i64 noundef %38, ptr noundef %39, ptr noundef %40, i16 noundef signext -1) %42 = load ptr, ptr %5, align 8 %43 = call i32 @free(ptr noundef %42) %44 = load ptr, ptr %6, align 8 ret ptr %44 } declare i64 @calloc(i64 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1 declare i32 @rewind(ptr noundef) #1 declare i32 @sh2fl_alt(i64 noundef, ptr noundef, ptr noundef, i16 noundef signext) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp7hv5e0m5.c" target datalayout = "e-m:e-p270: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 [50 x i8] c"cannot allocate enough memory to buffer samples!\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"could not read all samples!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @load_samples(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %7 = load i64, ptr %4, align 8 %8 = call i64 @calloc(i64 noundef %7, i32 noundef 2) %9 = inttoptr i64 %8 to ptr store ptr %9, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str) %14 = call i32 @exit(i32 noundef -1) #3 unreachable 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = load i64, ptr %4, align 8 %18 = load ptr, ptr %3, align 8 %19 = call i64 @fread(ptr noundef %16, i32 noundef 2, i64 noundef %17, ptr noundef %18) %20 = load i64, ptr %4, align 8 %21 = icmp ne i64 %19, %20 br i1 %21, label %22, label %26 22: ; preds = %15 %23 = load i32, ptr @stderr, align 4 %24 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str.1) %25 = call i32 @exit(i32 noundef -1) #3 unreachable 26: ; preds = %15 %27 = load ptr, ptr %3, align 8 %28 = call i32 @rewind(ptr noundef %27) %29 = load i64, ptr %4, align 8 %30 = call i64 @calloc(i64 noundef %29, i32 noundef 4) %31 = inttoptr i64 %30 to ptr store ptr %31, ptr %6, align 8 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %37 33: ; preds = %26 %34 = load i32, ptr @stderr, align 4 %35 = call i32 @fprintf(i32 noundef %34, ptr noundef @.str) %36 = call i32 @exit(i32 noundef -1) #3 unreachable 37: ; preds = %26 %38 = load i64, ptr %4, align 8 %39 = load ptr, ptr %5, align 8 %40 = load ptr, ptr %6, align 8 %41 = call i32 @sh2fl_alt(i64 noundef %38, ptr noundef %39, ptr noundef %40, i16 noundef signext -1) %42 = load ptr, ptr %5, align 8 %43 = call i32 @free(ptr noundef %42) %44 = load ptr, ptr %6, align 8 ret ptr %44 } declare i64 @calloc(i64 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1 declare i32 @rewind(ptr noundef) #1 declare i32 @sh2fl_alt(i64 noundef, ptr noundef, ptr noundef, i16 noundef signext) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmph9hf1cdu.c' source_filename = "/tmp/tmph9hf1cdu.c" target datalayout = "e-m:e-p270: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 i64 0, align 8 @EAGAIN = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"Packet timeout\0A\00", align 1 @EINTR = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [28 x i8] c"write to device failed: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_blocking(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 store i32 0, ptr %8, align 4 br label %9 9: ; preds = %50, %36, %30, %3 %10 = load i32, ptr %4, align 4 %11 = load ptr, ptr %5, align 8 %12 = load i64, ptr %6, align 8 %13 = call i64 @write(i32 noundef %10, ptr noundef %11, i64 noundef %12) store i64 %13, ptr %7, align 8 %14 = load i64, ptr %6, align 8 %15 = icmp slt i64 %13, %14 br i1 %15, label %16, label %51 16: ; preds = %9 %17 = load i64, ptr %7, align 8 %18 = icmp slt i64 %17, 0 br i1 %18, label %19, label %43 19: ; preds = %16 %20 = load i64, ptr @errno, align 8 %21 = load i64, ptr @EAGAIN, align 8 %22 = icmp eq i64 %20, %21 br i1 %22, label %23, label %32 23: ; preds = %19 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %8, align 4 %26 = icmp sgt i32 %25, 10 br i1 %26, label %27, label %30 27: ; preds = %23 %28 = load i32, ptr @stderr, align 4 %29 = call i32 @fprintf(i32 noundef %28, ptr noundef @.str) br label %51 30: ; preds = %23 %31 = call i32 @usleep(i32 noundef 3000) br label %9, !llvm.loop !6 32: ; preds = %19 %33 = load i64, ptr @errno, align 8 %34 = load i64, ptr @EINTR, align 8 %35 = icmp eq i64 %33, %34 br i1 %35, label %36, label %37 36: ; preds = %32 br label %9, !llvm.loop !6 37: ; preds = %32 %38 = load i64, ptr @errno, align 8 %39 = call i32 @strerror(i64 noundef %38) %40 = call i32 @die(ptr noundef @.str.1, i32 noundef %39) br label %41 41: ; preds = %37 br label %42 42: ; preds = %41 br label %50 43: ; preds = %16 %44 = load ptr, ptr %5, align 8 %45 = load i64, ptr %7, align 8 %46 = getelementptr inbounds i8, ptr %44, i64 %45 store ptr %46, ptr %5, align 8 %47 = load i64, ptr %7, align 8 %48 = load i64, ptr %6, align 8 %49 = sub i64 %48, %47 store i64 %49, ptr %6, align 8 br label %50 50: ; preds = %43, %42 br label %9, !llvm.loop !6 51: ; preds = %27, %9 ret void } declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @usleep(i32 noundef) #1 declare i32 @die(ptr noundef, i32 noundef) #1 declare i32 @strerror(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/tmph9hf1cdu.c" target datalayout = "e-m:e-p270: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 i64 0, align 8 @EAGAIN = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"Packet timeout\0A\00", align 1 @EINTR = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [28 x i8] c"write to device failed: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_blocking(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 store i32 0, ptr %8, align 4 %9 = load i32, ptr %4, align 4 %10 = load ptr, ptr %5, align 8 %11 = load i64, ptr %6, align 8 %12 = call i64 @write(i32 noundef %9, ptr noundef %10, i64 noundef %11) store i64 %12, ptr %7, align 8 %13 = load i64, ptr %6, align 8 %14 = icmp slt i64 %12, %13 br i1 %14, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %3 br label %15 15: ; preds = %.lr.ph, %.backedge %16 = load i64, ptr %7, align 8 %17 = icmp slt i64 %16, 0 br i1 %17, label %18, label %48 18: ; preds = %15 %19 = load i64, ptr @errno, align 8 %20 = load i64, ptr @EAGAIN, align 8 %21 = icmp eq i64 %19, %20 br i1 %21, label %22, label %37 22: ; preds = %18 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %8, align 4 %25 = icmp sgt i32 %24, 10 br i1 %25, label %26, label %29 26: ; preds = %22 %27 = load i32, ptr @stderr, align 4 %28 = call i32 @fprintf(i32 noundef %27, ptr noundef @.str) br label %56 29: ; preds = %22 %30 = call i32 @usleep(i32 noundef 3000) br label %.backedge .backedge: ; preds = %29, %41, %55 %31 = load i32, ptr %4, align 4 %32 = load ptr, ptr %5, align 8 %33 = load i64, ptr %6, align 8 %34 = call i64 @write(i32 noundef %31, ptr noundef %32, i64 noundef %33) store i64 %34, ptr %7, align 8 %35 = load i64, ptr %6, align 8 %36 = icmp slt i64 %34, %35 br i1 %36, label %15, label %..loopexit_crit_edge, !llvm.loop !6 37: ; preds = %18 %38 = load i64, ptr @errno, align 8 %39 = load i64, ptr @EINTR, align 8 %40 = icmp eq i64 %38, %39 br i1 %40, label %41, label %42 41: ; preds = %37 br label %.backedge 42: ; preds = %37 %43 = load i64, ptr @errno, align 8 %44 = call i32 @strerror(i64 noundef %43) %45 = call i32 @die(ptr noundef @.str.1, i32 noundef %44) br label %46 46: ; preds = %42 br label %47 47: ; preds = %46 br label %55 48: ; preds = %15 %49 = load ptr, ptr %5, align 8 %50 = load i64, ptr %7, align 8 %51 = getelementptr inbounds i8, ptr %49, i64 %50 store ptr %51, ptr %5, align 8 %52 = load i64, ptr %7, align 8 %53 = load i64, ptr %6, align 8 %54 = sub i64 %53, %52 store i64 %54, ptr %6, align 8 br label %55 55: ; preds = %48, %47 br label %.backedge ..loopexit_crit_edge: ; preds = %.backedge br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %3 br label %56 56: ; preds = %.loopexit, %26 ret void } declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @usleep(i32 noundef) #1 declare i32 @die(ptr noundef, i32 noundef) #1 declare i32 @strerror(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/tmpbe_lgkmd.c' source_filename = "/tmp/tmpbe_lgkmd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"String\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_string_buffer(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 @strcpy(ptr noundef %3, ptr noundef @.str) 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/tmpbe_lgkmd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"String\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_string_buffer(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 @strcpy(ptr noundef %3, ptr noundef @.str) 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/tmpuy3v8sls.c' source_filename = "/tmp/tmpuy3v8sls.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"digits =\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c", white space = %d, other = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [10 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 store i32 0, ptr %9, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %7, align 4 br label %11 11: ; preds = %18, %2 %12 = load i32, ptr %7, align 4 %13 = icmp slt i32 %12, 10 br i1 %13, label %14, label %21 14: ; preds = %11 %15 = load i32, ptr %7, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %16 store i32 0, ptr %17, align 4 br label %18 18: ; preds = %14 %19 = load i32, ptr %7, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %7, align 4 br label %11, !llvm.loop !6 21: ; preds = %11 br label %22 22: ; preds = %55, %21 %23 = call i32 (...) @getchar() store i32 %23, ptr %6, align 4 %24 = load i32, ptr @EOF, align 4 %25 = icmp ne i32 %23, %24 br i1 %25, label %26, label %56 26: ; preds = %22 %27 = load i32, ptr %6, align 4 %28 = icmp sge i32 %27, 48 br i1 %28, label %29, label %39 29: ; preds = %26 %30 = load i32, ptr %6, align 4 %31 = icmp sle i32 %30, 57 br i1 %31, label %32, label %39 32: ; preds = %29 %33 = load i32, ptr %6, align 4 %34 = sub nsw i32 %33, 48 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %35 %37 = load i32, ptr %36, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %36, align 4 br label %55 39: ; preds = %29, %26 %40 = load i32, ptr %6, align 4 %41 = icmp eq i32 %40, 32 br i1 %41, label %48, label %42 42: ; preds = %39 %43 = load i32, ptr %6, align 4 %44 = icmp eq i32 %43, 10 br i1 %44, label %48, label %45 45: ; preds = %42 %46 = load i32, ptr %6, align 4 %47 = icmp eq i32 %46, 9 br i1 %47, label %48, label %51 48: ; preds = %45, %42, %39 %49 = load i32, ptr %8, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %8, align 4 br label %54 51: ; preds = %45 %52 = load i32, ptr %9, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %9, align 4 br label %54 54: ; preds = %51, %48 br label %55 55: ; preds = %54, %32 br label %22, !llvm.loop !8 56: ; preds = %22 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %7, align 4 br label %58 58: ; preds = %67, %56 %59 = load i32, ptr %7, align 4 %60 = icmp slt i32 %59, 10 br i1 %60, label %61, label %70 61: ; preds = %58 %62 = load i32, ptr %7, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %63 %65 = load i32, ptr %64, align 4 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %65) br label %67 67: ; preds = %61 %68 = load i32, ptr %7, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %7, align 4 br label %58, !llvm.loop !9 70: ; preds = %58 %71 = load i32, ptr %8, align 4 %72 = load i32, ptr %9, align 4 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %71, i32 noundef %72) ret i32 0 } declare i32 @getchar(...) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuy3v8sls.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"digits =\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c", white space = %d, other = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [10 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 store i32 0, ptr %9, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp slt i32 %11, 10 br i1 %12, label %.lr.ph, label %22 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %17 %14 = load i32, ptr %7, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %15 store i32 0, ptr %16, align 4 br label %17 17: ; preds = %13 %18 = load i32, ptr %7, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp slt i32 %20, 10 br i1 %21, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %2 %23 = call i32 (...) @getchar() store i32 %23, ptr %6, align 4 %24 = load i32, ptr @EOF, align 4 %25 = icmp ne i32 %23, %24 br i1 %25, label %.lr.ph2, label %59 .lr.ph2: ; preds = %22 br label %26 26: ; preds = %.lr.ph2, %55 %27 = load i32, ptr %6, align 4 %28 = icmp sge i32 %27, 48 br i1 %28, label %29, label %39 29: ; preds = %26 %30 = load i32, ptr %6, align 4 %31 = icmp sle i32 %30, 57 br i1 %31, label %32, label %39 32: ; preds = %29 %33 = load i32, ptr %6, align 4 %34 = sub nsw i32 %33, 48 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %35 %37 = load i32, ptr %36, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %36, align 4 br label %55 39: ; preds = %29, %26 %40 = load i32, ptr %6, align 4 %41 = icmp eq i32 %40, 32 br i1 %41, label %48, label %42 42: ; preds = %39 %43 = load i32, ptr %6, align 4 %44 = icmp eq i32 %43, 10 br i1 %44, label %48, label %45 45: ; preds = %42 %46 = load i32, ptr %6, align 4 %47 = icmp eq i32 %46, 9 br i1 %47, label %48, label %51 48: ; preds = %45, %42, %39 %49 = load i32, ptr %8, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %8, align 4 br label %54 51: ; preds = %45 %52 = load i32, ptr %9, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %9, align 4 br label %54 54: ; preds = %51, %48 br label %55 55: ; preds = %54, %32 %56 = call i32 (...) @getchar() store i32 %56, ptr %6, align 4 %57 = load i32, ptr @EOF, align 4 %58 = icmp ne i32 %56, %57 br i1 %58, label %26, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %55 br label %59 59: ; preds = %._crit_edge3, %22 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %7, align 4 %61 = load i32, ptr %7, align 4 %62 = icmp slt i32 %61, 10 br i1 %62, label %.lr.ph5, label %74 .lr.ph5: ; preds = %59 br label %63 63: ; preds = %.lr.ph5, %69 %64 = load i32, ptr %7, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %65 %67 = load i32, ptr %66, align 4 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %67) br label %69 69: ; preds = %63 %70 = load i32, ptr %7, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %7, align 4 %72 = load i32, ptr %7, align 4 %73 = icmp slt i32 %72, 10 br i1 %73, label %63, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %69 br label %74 74: ; preds = %._crit_edge6, %59 %75 = load i32, ptr %8, align 4 %76 = load i32, ptr %9, align 4 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %75, i32 noundef %76) ret i32 0 } declare i32 @getchar(...) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpxaa8jpl5.c' source_filename = "/tmp/tmpxaa8jpl5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @S_ISVTX = 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/tmpxaa8jpl5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @S_ISVTX = 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/tmpn5srnxl3.c' source_filename = "/tmp/tmpn5srnxl3.c" target datalayout = "e-m:e-p270: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/tmpn5srnxl3.c" target datalayout = "e-m:e-p270: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/tmpcjltxpd4.c' source_filename = "/tmp/tmpcjltxpd4.c" target datalayout = "e-m:e-p270: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/tmpcjltxpd4.c" target datalayout = "e-m:e-p270: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/tmp7pjnzu9k.c' source_filename = "/tmp/tmp7pjnzu9k.c" target datalayout = "e-m:e-p270: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.timeb = type { i32, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @random_int(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca %struct.timeb, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = call i32 @ftime(ptr noundef %5) %8 = getelementptr inbounds %struct.timeb, ptr %5, i32 0, i32 0 %9 = load i32, ptr %8, align 8 %10 = mul i32 1000, %9 %11 = zext i32 %10 to i64 %12 = getelementptr inbounds %struct.timeb, ptr %5, i32 0, i32 1 %13 = load i64, ptr %12, align 8 %14 = add nsw i64 %11, %13 %15 = call i64 (...) @random() %16 = add nsw i64 %14, %15 %17 = call i32 @srand(i64 noundef %16) %18 = call i32 (...) @rand() %19 = mul nsw i32 214013, %18 %20 = add nsw i32 %19, 2531011 store i32 %20, ptr %6, align 4 %21 = load i32, ptr %3, align 4 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %6, align 4 %24 = lshr i32 %23, 15 %25 = xor i32 %22, %24 %26 = load i32, ptr %4, align 4 %27 = load i32, ptr %3, align 4 %28 = sub nsw i32 %26, %27 %29 = add nsw i32 %28, 1 %30 = urem i32 %25, %29 %31 = add i32 %21, %30 ret i32 %31 } declare i32 @ftime(ptr noundef) #1 declare i32 @srand(i64 noundef) #1 declare i64 @random(...) #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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7pjnzu9k.c" target datalayout = "e-m:e-p270: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.timeb = type { i32, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @random_int(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca %struct.timeb, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = call i32 @ftime(ptr noundef %5) %8 = getelementptr inbounds %struct.timeb, ptr %5, i32 0, i32 0 %9 = load i32, ptr %8, align 8 %10 = mul i32 1000, %9 %11 = zext i32 %10 to i64 %12 = getelementptr inbounds %struct.timeb, ptr %5, i32 0, i32 1 %13 = load i64, ptr %12, align 8 %14 = add nsw i64 %11, %13 %15 = call i64 (...) @random() %16 = add nsw i64 %14, %15 %17 = call i32 @srand(i64 noundef %16) %18 = call i32 (...) @rand() %19 = mul nsw i32 214013, %18 %20 = add nsw i32 %19, 2531011 store i32 %20, ptr %6, align 4 %21 = load i32, ptr %3, align 4 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %6, align 4 %24 = lshr i32 %23, 15 %25 = xor i32 %22, %24 %26 = load i32, ptr %4, align 4 %27 = load i32, ptr %3, align 4 %28 = sub nsw i32 %26, %27 %29 = add nsw i32 %28, 1 %30 = urem i32 %25, %29 %31 = add i32 %21, %30 ret i32 %31 } declare i32 @ftime(ptr noundef) #1 declare i32 @srand(i64 noundef) #1 declare i64 @random(...) #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"}
; ModuleID = '/tmp/tmpl2fl0m7f.c' source_filename = "/tmp/tmpl2fl0m7f.c" target datalayout = "e-m:e-p270: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/tmpl2fl0m7f.c" target datalayout = "e-m:e-p270: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/tmplkpm7chp.c' source_filename = "/tmp/tmplkpm7chp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c" \09\0A\0D\0C\0B\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @char_isspace(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 @strchr(ptr noundef @.str, i32 noundef %3) %5 = icmp ne i64 %4, 0 %6 = zext i1 %5 to i64 %7 = select i1 %5, i32 1, i32 0 ret i32 %7 } declare i64 @strchr(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/tmplkpm7chp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c" \09\0A\0D\0C\0B\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @char_isspace(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 @strchr(ptr noundef @.str, i32 noundef %3) %5 = icmp ne i64 %4, 0 %6 = zext i1 %5 to i64 %7 = select i1 %5, i32 1, i32 0 ret i32 %7 } declare i64 @strchr(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/tmphr39q24q.c' source_filename = "/tmp/tmphr39q24q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"function in subfile\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fct_subfile() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphr39q24q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"function in subfile\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fct_subfile() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn8jgn9ki.c' source_filename = "/tmp/tmpn8jgn9ki.c" target datalayout = "e-m:e-p270: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/tmpn8jgn9ki.c" target datalayout = "e-m:e-p270: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/tmp2b5likea.c' source_filename = "/tmp/tmp2b5likea.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i32, i64 } @errno = dso_local global i64 0, align 8 @EBADF = dso_local global i64 0, align 8 @EINVAL = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"BUG: read: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"BUG: failed to read any data from pipe\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"BUG: unexpected EOF\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [20 x i8], align 16 %5 = alloca %struct.timespec, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %6 6: ; preds = %32, %0 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %7, 100 br i1 %8, label %9, label %35 9: ; preds = %6 %10 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 0 %11 = call i32 @read(i32 noundef 100, ptr noundef %10, i32 noundef 20) store i32 %11, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = icmp sge i32 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %9 br label %35 15: ; preds = %9 %16 = load i64, ptr @errno, align 8 %17 = load i64, ptr @EBADF, align 8 %18 = icmp ne i64 %16, %17 br i1 %18, label %19, label %28 19: ; preds = %15 %20 = load i64, ptr @errno, align 8 %21 = load i64, ptr @EINVAL, align 8 %22 = icmp ne i64 %20, %21 br i1 %22, label %23, label %28 23: ; preds = %19 %24 = load i32, ptr @stderr, align 4 %25 = load i64, ptr @errno, align 8 %26 = call ptr @strerror(i64 noundef %25) %27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str, ptr noundef %26) store i32 2, ptr %1, align 4 br label %60 28: ; preds = %19, %15 %29 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1 store i64 0, ptr %29, align 8 %30 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0 store i32 1000000, ptr %30, align 8 %31 = call i32 @nanosleep(ptr noundef %5, ptr noundef null) br label %32 32: ; preds = %28 %33 = load i32, ptr %2, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %2, align 4 br label %6, !llvm.loop !6 35: ; preds = %14, %6 %36 = load i32, ptr %3, align 4 %37 = icmp slt i32 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %35 %39 = load i32, ptr @stderr, align 4 %40 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %39, ptr noundef @.str.1) store i32 2, ptr %1, align 4 br label %60 41: ; preds = %35 %42 = load i32, ptr %3, align 4 %43 = icmp eq i32 %42, 0 br i1 %43, label %44, label %47 44: ; preds = %41 %45 = load i32, ptr @stderr, align 4 %46 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %45, ptr noundef @.str.2) store i32 2, ptr %1, align 4 br label %60 47: ; preds = %41 %48 = load i32, ptr %3, align 4 %49 = sext i32 %48 to i64 %50 = icmp eq i64 %49, 20 br i1 %50, label %51, label %54 51: ; preds = %47 %52 = load i32, ptr %3, align 4 %53 = add nsw i32 %52, -1 store i32 %53, ptr %3, align 4 br label %54 54: ; preds = %51, %47 %55 = load i32, ptr %3, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 %56 store i8 0, ptr %57, align 1 %58 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 0 %59 = call i32 @printf(ptr noundef @.str.3, ptr noundef %58) store i32 0, ptr %1, align 4 br label %60 60: ; preds = %54, %44, %38, %23 %61 = load i32, ptr %1, align 4 ret i32 %61 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @strerror(i64 noundef) #1 declare i32 @nanosleep(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2b5likea.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i32, i64 } @errno = dso_local global i64 0, align 8 @EBADF = dso_local global i64 0, align 8 @EINVAL = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"BUG: read: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"BUG: failed to read any data from pipe\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"BUG: unexpected EOF\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [20 x i8], align 16 %5 = alloca %struct.timespec, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 100 br i1 %7, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %31 %9 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 0 %10 = call i32 @read(i32 noundef 100, ptr noundef %9, i32 noundef 20) store i32 %10, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp sge i32 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %8 br label %36 14: ; preds = %8 %15 = load i64, ptr @errno, align 8 %16 = load i64, ptr @EBADF, align 8 %17 = icmp ne i64 %15, %16 br i1 %17, label %18, label %27 18: ; preds = %14 %19 = load i64, ptr @errno, align 8 %20 = load i64, ptr @EINVAL, align 8 %21 = icmp ne i64 %19, %20 br i1 %21, label %22, label %27 22: ; preds = %18 %23 = load i32, ptr @stderr, align 4 %24 = load i64, ptr @errno, align 8 %25 = call ptr @strerror(i64 noundef %24) %26 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str, ptr noundef %25) store i32 2, ptr %1, align 4 br label %61 27: ; preds = %18, %14 %28 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1 store i64 0, ptr %28, align 8 %29 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0 store i32 1000000, ptr %29, align 8 %30 = call i32 @nanosleep(ptr noundef %5, ptr noundef null) br label %31 31: ; preds = %27 %32 = load i32, ptr %2, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %2, align 4 %34 = load i32, ptr %2, align 4 %35 = icmp slt i32 %34, 100 br i1 %35, label %8, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %31 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %36 36: ; preds = %.loopexit, %13 %37 = load i32, ptr %3, align 4 %38 = icmp slt i32 %37, 0 br i1 %38, label %39, label %42 39: ; preds = %36 %40 = load i32, ptr @stderr, align 4 %41 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %40, ptr noundef @.str.1) store i32 2, ptr %1, align 4 br label %61 42: ; preds = %36 %43 = load i32, ptr %3, align 4 %44 = icmp eq i32 %43, 0 br i1 %44, label %45, label %48 45: ; preds = %42 %46 = load i32, ptr @stderr, align 4 %47 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %46, ptr noundef @.str.2) store i32 2, ptr %1, align 4 br label %61 48: ; preds = %42 %49 = load i32, ptr %3, align 4 %50 = sext i32 %49 to i64 %51 = icmp eq i64 %50, 20 br i1 %51, label %52, label %55 52: ; preds = %48 %53 = load i32, ptr %3, align 4 %54 = add nsw i32 %53, -1 store i32 %54, ptr %3, align 4 br label %55 55: ; preds = %52, %48 %56 = load i32, ptr %3, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 %57 store i8 0, ptr %58, align 1 %59 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 0 %60 = call i32 @printf(ptr noundef @.str.3, ptr noundef %59) store i32 0, ptr %1, align 4 br label %61 61: ; preds = %55, %45, %39, %22 %62 = load i32, ptr %1, align 4 ret i32 %62 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @strerror(i64 noundef) #1 declare i32 @nanosleep(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpgoz4tdwo.c' source_filename = "/tmp/tmpgoz4tdwo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bio_write(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 %4, align 4 %7 = sub nsw i32 %6, 1 store i32 %7, ptr %5, align 4 br label %8 8: ; preds = %17, %2 %9 = load i32, ptr %5, align 4 %10 = icmp sge i32 %9, 0 br i1 %10, label %11, label %20 11: ; preds = %8 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %5, align 4 %14 = ashr i32 %12, %13 %15 = and i32 %14, 1 %16 = call i32 @bio_putbit(i32 noundef %15) br label %17 17: ; preds = %11 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, -1 store i32 %19, ptr %5, align 4 br label %8, !llvm.loop !6 20: ; preds = %8 ret void } declare i32 @bio_putbit(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/tmpgoz4tdwo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bio_write(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 %4, align 4 %7 = sub nsw i32 %6, 1 store i32 %7, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp sge i32 %8, 0 br i1 %9, label %.lr.ph, label %21 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %16 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %5, align 4 %13 = ashr i32 %11, %12 %14 = and i32 %13, 1 %15 = call i32 @bio_putbit(i32 noundef %14) br label %16 16: ; preds = %10 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, -1 store i32 %18, ptr %5, align 4 %19 = load i32, ptr %5, align 4 %20 = icmp sge i32 %19, 0 br i1 %20, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %21 21: ; preds = %._crit_edge, %2 ret void } declare i32 @bio_putbit(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/tmp91ess48v.c' source_filename = "/tmp/tmp91ess48v.c" target datalayout = "e-m:e-p270: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"\0A-- Total usable memory:\0A\09\09\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"/proc/meminfo\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"MemFree\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @printMemoryAvailable() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %1, align 4 %6 = call ptr @getLineFromFile(ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 7, ptr noundef %1) store ptr %6, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 1, ptr %4, align 4 br label %7 7: ; preds = %43, %0 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %1, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %46 11: ; preds = %7 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 32 br i1 %18, label %19, label %24 19: ; preds = %11 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %4, align 4 %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %3, align 4 br label %24 24: ; preds = %19, %11 %25 = load i32, ptr %4, align 4 %26 = icmp sgt i32 %25, 1 br i1 %26, label %27, label %43 27: ; preds = %24 %28 = load ptr, ptr %2, align 8 %29 = load i32, ptr %3, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp ne i32 %33, 32 br i1 %34, label %35, label %43 35: ; preds = %27 %36 = load ptr, ptr %2, align 8 %37 = load i32, ptr %3, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %41) br label %43 43: ; preds = %35, %27, %24 %44 = load i32, ptr %3, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %3, align 4 br label %7, !llvm.loop !6 46: ; preds = %7 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @getLineFromFile(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp91ess48v.c" target datalayout = "e-m:e-p270: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"\0A-- Total usable memory:\0A\09\09\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"/proc/meminfo\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"MemFree\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @printMemoryAvailable() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %1, align 4 %6 = call ptr @getLineFromFile(ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 7, ptr noundef %1) store ptr %6, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 1, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %1, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %48 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %42 %11 = load ptr, ptr %2, align 8 %12 = load i32, ptr %3, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 32 br i1 %17, label %18, label %23 18: ; preds = %10 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %4, align 4 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %3, align 4 br label %23 23: ; preds = %18, %10 %24 = load i32, ptr %4, align 4 %25 = icmp sgt i32 %24, 1 br i1 %25, label %26, label %42 26: ; preds = %23 %27 = load ptr, ptr %2, align 8 %28 = load i32, ptr %3, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp ne i32 %32, 32 br i1 %33, label %34, label %42 34: ; preds = %26 %35 = load ptr, ptr %2, align 8 %36 = load i32, ptr %3, 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 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %40) br label %42 42: ; preds = %34, %26, %23 %43 = load i32, ptr %3, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %3, align 4 %45 = load i32, ptr %3, align 4 %46 = load i32, ptr %1, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %42 br label %48 48: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @getLineFromFile(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpwkprjupk.c' source_filename = "/tmp/tmpwkprjupk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, i32, i32 } @.str = private unnamed_addr constant [190 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Aaron0927/xen-4.2.1/refs/heads/master/Codes/xen-4.3.1/tools/qemu-xen-traditional/tests/linux-test.c\00", align 1 @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @AF_INET = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @client_socket() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.sockaddr_in, align 4 %3 = load i32, ptr @PF_INET, align 4 %4 = load i32, ptr @SOCK_STREAM, align 4 %5 = call i32 @socket(i32 noundef %3, i32 noundef %4, i32 noundef 0) %6 = call i32 @__chk_error(ptr noundef @.str, i32 noundef 307, i32 noundef %5) store i32 %6, ptr %1, align 4 %7 = load i32, ptr @AF_INET, align 4 %8 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 2 store i32 %7, ptr %8, align 4 %9 = call i32 @htons(i32 noundef 7654) %10 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 1 store i32 %9, ptr %10, align 4 %11 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 0 %12 = call i32 @inet_aton(ptr noundef @.str.1, ptr noundef %11) %13 = load i32, ptr %1, align 4 %14 = call i32 @connect(i32 noundef %13, ptr noundef %2, i32 noundef 12) %15 = call i32 @__chk_error(ptr noundef @.str, i32 noundef 311, i32 noundef %14) %16 = load i32, ptr %1, align 4 ret i32 %16 } declare i32 @__chk_error(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @inet_aton(ptr noundef, ptr noundef) #1 declare i32 @connect(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/tmpwkprjupk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, i32, i32 } @.str = private unnamed_addr constant [190 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Aaron0927/xen-4.2.1/refs/heads/master/Codes/xen-4.3.1/tools/qemu-xen-traditional/tests/linux-test.c\00", align 1 @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @AF_INET = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @client_socket() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.sockaddr_in, align 4 %3 = load i32, ptr @PF_INET, align 4 %4 = load i32, ptr @SOCK_STREAM, align 4 %5 = call i32 @socket(i32 noundef %3, i32 noundef %4, i32 noundef 0) %6 = call i32 @__chk_error(ptr noundef @.str, i32 noundef 307, i32 noundef %5) store i32 %6, ptr %1, align 4 %7 = load i32, ptr @AF_INET, align 4 %8 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 2 store i32 %7, ptr %8, align 4 %9 = call i32 @htons(i32 noundef 7654) %10 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 1 store i32 %9, ptr %10, align 4 %11 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 0 %12 = call i32 @inet_aton(ptr noundef @.str.1, ptr noundef %11) %13 = load i32, ptr %1, align 4 %14 = call i32 @connect(i32 noundef %13, ptr noundef %2, i32 noundef 12) %15 = call i32 @__chk_error(ptr noundef @.str, i32 noundef 311, i32 noundef %14) %16 = load i32, ptr %1, align 4 ret i32 %16 } declare i32 @__chk_error(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @inet_aton(ptr noundef, ptr noundef) #1 declare i32 @connect(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/tmpb8poc4l7.c' source_filename = "/tmp/tmpb8poc4l7.c" target datalayout = "e-m:e-p270: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 [26 x i8] c"pshell: allocation error\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @pshell_read_line() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store i32 1024, ptr %1, align 4 store i32 0, ptr %2, align 4 %5 = load i32, ptr %1, align 4 %6 = sext i32 %5 to i64 %7 = mul i64 1, %6 %8 = trunc i64 %7 to i32 %9 = call ptr @malloc(i32 noundef %8) store ptr %9, ptr %3, align 8 %10 = load ptr, ptr %3, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %17, label %12 12: ; preds = %0 %13 = load i32, ptr @stderr, align 4 %14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str) %15 = load i32, ptr @EXIT_FAILURE, align 4 %16 = call i32 @exit(i32 noundef %15) #3 unreachable 17: ; preds = %0 br label %18 18: ; preds = %17, %59 %19 = call i32 (...) @getchar() store i32 %19, ptr %4, align 4 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr @EOF, align 4 %22 = icmp eq i32 %20, %21 br i1 %22, label %26, label %23 23: ; preds = %18 %24 = load i32, ptr %4, align 4 %25 = icmp eq i32 %24, 10 br i1 %25, label %26, label %32 26: ; preds = %23, %18 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %2, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 store i8 0, ptr %30, align 1 %31 = load ptr, ptr %3, align 8 ret ptr %31 32: ; preds = %23 %33 = load i32, ptr %4, align 4 %34 = trunc i32 %33 to i8 %35 = load ptr, ptr %3, align 8 %36 = load i32, ptr %2, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 store i8 %34, ptr %38, align 1 br label %39 39: ; preds = %32 %40 = load i32, ptr %2, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %2, align 4 %42 = load i32, ptr %2, align 4 %43 = load i32, ptr %1, align 4 %44 = icmp sge i32 %42, %43 br i1 %44, label %45, label %59 45: ; preds = %39 %46 = load i32, ptr %1, align 4 %47 = add nsw i32 %46, 1024 store i32 %47, ptr %1, align 4 %48 = load ptr, ptr %3, align 8 %49 = load i32, ptr %1, align 4 %50 = call ptr @realloc(ptr noundef %48, i32 noundef %49) store ptr %50, ptr %3, align 8 %51 = load ptr, ptr %3, align 8 %52 = icmp ne ptr %51, null br i1 %52, label %58, label %53 53: ; preds = %45 %54 = load i32, ptr @stderr, align 4 %55 = call i32 @fprintf(i32 noundef %54, ptr noundef @.str) %56 = load i32, ptr @EXIT_FAILURE, align 4 %57 = call i32 @exit(i32 noundef %56) #3 unreachable 58: ; preds = %45 br label %59 59: ; preds = %58, %39 br label %18 } declare ptr @malloc(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @getchar(...) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb8poc4l7.c" target datalayout = "e-m:e-p270: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 [26 x i8] c"pshell: allocation error\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @pshell_read_line() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store i32 1024, ptr %1, align 4 store i32 0, ptr %2, align 4 %5 = load i32, ptr %1, align 4 %6 = sext i32 %5 to i64 %7 = mul i64 1, %6 %8 = trunc i64 %7 to i32 %9 = call ptr @malloc(i32 noundef %8) store ptr %9, ptr %3, align 8 %10 = load ptr, ptr %3, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %17, label %12 12: ; preds = %0 %13 = load i32, ptr @stderr, align 4 %14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str) %15 = load i32, ptr @EXIT_FAILURE, align 4 %16 = call i32 @exit(i32 noundef %15) #3 unreachable 17: ; preds = %0 %18 = call i32 (...) @getchar() store i32 %18, ptr %4, align 4 %19 = load i32, ptr %4, align 4 %20 = load i32, ptr @EOF, align 4 %21 = icmp eq i32 %19, %20 br i1 %21, label %25, label %.lr.ph .lr.ph: ; preds = %17 br label %22 22: ; preds = %.lr.ph, %58 %23 = load i32, ptr %4, align 4 %24 = icmp eq i32 %23, 10 br i1 %24, label %._crit_edge, label %31 ._crit_edge: ; preds = %22 br label %25 ._crit_edge1: ; preds = %58 br label %25 25: ; preds = %._crit_edge1, %._crit_edge, %17 %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %2, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 store i8 0, ptr %29, align 1 %30 = load ptr, ptr %3, align 8 ret ptr %30 31: ; preds = %22 %32 = load i32, ptr %4, align 4 %33 = trunc i32 %32 to i8 %34 = load ptr, ptr %3, align 8 %35 = load i32, ptr %2, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 store i8 %33, ptr %37, align 1 br label %38 38: ; preds = %31 %39 = load i32, ptr %2, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %2, align 4 %41 = load i32, ptr %2, align 4 %42 = load i32, ptr %1, align 4 %43 = icmp sge i32 %41, %42 br i1 %43, label %44, label %58 44: ; preds = %38 %45 = load i32, ptr %1, align 4 %46 = add nsw i32 %45, 1024 store i32 %46, ptr %1, align 4 %47 = load ptr, ptr %3, align 8 %48 = load i32, ptr %1, align 4 %49 = call ptr @realloc(ptr noundef %47, i32 noundef %48) store ptr %49, ptr %3, align 8 %50 = load ptr, ptr %3, align 8 %51 = icmp ne ptr %50, null br i1 %51, label %57, label %52 52: ; preds = %44 %53 = load i32, ptr @stderr, align 4 %54 = call i32 @fprintf(i32 noundef %53, ptr noundef @.str) %55 = load i32, ptr @EXIT_FAILURE, align 4 %56 = call i32 @exit(i32 noundef %55) #3 unreachable 57: ; preds = %44 br label %58 58: ; preds = %57, %38 %59 = call i32 (...) @getchar() store i32 %59, ptr %4, align 4 %60 = load i32, ptr %4, align 4 %61 = load i32, ptr @EOF, align 4 %62 = icmp eq i32 %60, %61 br i1 %62, label %._crit_edge1, label %22 } declare ptr @malloc(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @getchar(...) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplmnt58fy.c' source_filename = "/tmp/tmplmnt58fy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.sign = private unnamed_addr constant [10 x i8] c"aabaabrac\00", align 1 @EOF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(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 [10 x i8], align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %9, ptr align 1 @__const.main.sign, i64 10, i1 false) store i32 0, ptr %8, align 4 store i32 0, ptr %7, align 4 br label %10 10: ; preds = %32, %2 %11 = call i32 (...) @getchar() store i32 %11, ptr %6, align 4 %12 = load i32, ptr @EOF, align 4 %13 = icmp ne i32 %11, %12 br i1 %13, label %14, label %33 14: ; preds = %10 %15 = load i32, ptr %8, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = load i32, ptr %6, align 4 %21 = icmp eq i32 %19, %20 br i1 %21, label %22, label %31 22: ; preds = %14 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %8, align 4 %25 = load i32, ptr %8, align 4 %26 = icmp eq i32 %25, 9 br i1 %26, label %27, label %30 27: ; preds = %22 store i32 0, ptr %8, align 4 %28 = load i32, ptr %7, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %7, align 4 br label %30 30: ; preds = %27, %22 br label %32 31: ; preds = %14 store i32 0, ptr %8, align 4 br label %32 32: ; preds = %31, %30 br label %10, !llvm.loop !6 33: ; preds = %10 %34 = load i32, ptr %7, align 4 %35 = call i32 @printf(ptr noundef @.str, i32 noundef %34) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @getchar(...) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplmnt58fy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.sign = private unnamed_addr constant [10 x i8] c"aabaabrac\00", align 1 @EOF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(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 [10 x i8], align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %9, ptr align 1 @__const.main.sign, i64 10, i1 false) store i32 0, ptr %8, align 4 store i32 0, ptr %7, align 4 %10 = call i32 (...) @getchar() store i32 %10, ptr %6, align 4 %11 = load i32, ptr @EOF, align 4 %12 = icmp ne i32 %10, %11 br i1 %12, label %.lr.ph, label %35 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %31 %14 = load i32, ptr %8, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = load i32, ptr %6, align 4 %20 = icmp eq i32 %18, %19 br i1 %20, label %21, label %30 21: ; preds = %13 %22 = load i32, ptr %8, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %8, align 4 %24 = load i32, ptr %8, align 4 %25 = icmp eq i32 %24, 9 br i1 %25, label %26, label %29 26: ; preds = %21 store i32 0, ptr %8, align 4 %27 = load i32, ptr %7, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %7, align 4 br label %29 29: ; preds = %26, %21 br label %31 30: ; preds = %13 store i32 0, ptr %8, align 4 br label %31 31: ; preds = %30, %29 %32 = call i32 (...) @getchar() store i32 %32, ptr %6, align 4 %33 = load i32, ptr @EOF, align 4 %34 = icmp ne i32 %32, %33 br i1 %34, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %35 35: ; preds = %._crit_edge, %2 %36 = load i32, ptr %7, align 4 %37 = call i32 @printf(ptr noundef @.str, i32 noundef %36) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @getchar(...) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpkbx55b10.c' source_filename = "/tmp/tmpkbx55b10.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i64 } @NI_MAXHOST = dso_local global i32 0, align 4 @NI_MAXSERV = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @BIO_R_ACCEPT_ERROR = dso_local global i32 0, align 4 @AF_INET = dso_local global i64 0, align 8 @NI_NUMERICHOST = dso_local global i32 0, align 4 @NI_NUMERICSERV = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"%s:%s\00", align 1 @ERR_R_MALLOC_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @BIO_accept(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 i64, align 8 %8 = alloca i64, align 8 %9 = alloca %struct.sockaddr_in, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = load i32, ptr @NI_MAXHOST, align 4 %14 = zext i32 %13 to i64 %15 = call ptr @llvm.stacksave() store ptr %15, ptr %6, align 8 %16 = alloca i8, i64 %14, align 16 store i64 %14, ptr %7, align 8 %17 = load i32, ptr @NI_MAXSERV, align 4 %18 = zext i32 %17 to i64 %19 = alloca i8, i64 %18, align 16 store i64 %18, ptr %8, align 8 store i32 8, ptr %10, align 4 store i32 -1, ptr %11, align 4 %20 = load ptr, ptr %5, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %23 22: ; preds = %2 br label %72 23: ; preds = %2 %24 = load i32, ptr %4, align 4 %25 = call i32 @accept(i32 noundef %24, ptr noundef %9, ptr noundef %10) store i32 %25, ptr %11, align 4 %26 = load i32, ptr %11, align 4 %27 = icmp eq i32 %26, -1 br i1 %27, label %28, label %38 28: ; preds = %23 %29 = load i32, ptr %11, align 4 %30 = call i64 @BIO_sock_should_retry(i32 noundef %29) %31 = icmp ne i64 %30, 0 br i1 %31, label %32, label %33 32: ; preds = %28 store i32 -2, ptr %3, align 4 store i32 1, ptr %12, align 4 br label %74 33: ; preds = %28 %34 = load i32, ptr @errno, align 4 %35 = call i32 @SYSerror(i32 noundef %34) %36 = load i32, ptr @BIO_R_ACCEPT_ERROR, align 4 %37 = call i32 @BIOerror(i32 noundef %36) br label %72 38: ; preds = %23 %39 = load ptr, ptr %5, align 8 %40 = load ptr, ptr %39, align 8 %41 = icmp ne ptr %40, null br i1 %41, label %42, label %47 42: ; preds = %38 %43 = load ptr, ptr %5, align 8 %44 = load ptr, ptr %43, align 8 %45 = call i32 @free(ptr noundef %44) %46 = load ptr, ptr %5, align 8 store ptr null, ptr %46, align 8 br label %47 47: ; preds = %42, %38 %48 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0 %49 = load i64, ptr %48, align 8 %50 = load i64, ptr @AF_INET, align 8 %51 = icmp ne i64 %49, %50 br i1 %51, label %52, label %53 52: ; preds = %47 br label %72 53: ; preds = %47 %54 = load i32, ptr %10, align 4 %55 = trunc i64 %14 to i32 %56 = trunc i64 %18 to i32 %57 = load i32, ptr @NI_NUMERICHOST, align 4 %58 = load i32, ptr @NI_NUMERICSERV, align 4 %59 = or i32 %57, %58 %60 = call i64 @getnameinfo(ptr noundef %9, i32 noundef %54, ptr noundef %16, i32 noundef %55, ptr noundef %19, i32 noundef %56, i32 noundef %59) %61 = icmp ne i64 %60, 0 br i1 %61, label %62, label %63 62: ; preds = %53 br label %72 63: ; preds = %53 %64 = load ptr, ptr %5, align 8 %65 = call i32 @asprintf(ptr noundef %64, ptr noundef @.str, ptr noundef %16, ptr noundef %19) %66 = icmp eq i32 %65, -1 br i1 %66, label %67, label %71 67: ; preds = %63 %68 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4 %69 = call i32 @BIOerror(i32 noundef %68) %70 = load ptr, ptr %5, align 8 store ptr null, ptr %70, align 8 br label %72 71: ; preds = %63 br label %72 72: ; preds = %71, %67, %62, %52, %33, %22 %73 = load i32, ptr %11, align 4 store i32 %73, ptr %3, align 4 store i32 1, ptr %12, align 4 br label %74 74: ; preds = %72, %32 %75 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %75) %76 = load i32, ptr %3, align 4 ret i32 %76 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #2 declare i64 @BIO_sock_should_retry(i32 noundef) #2 declare i32 @SYSerror(i32 noundef) #2 declare i32 @BIOerror(i32 noundef) #2 declare i32 @free(ptr noundef) #2 declare i64 @getnameinfo(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @asprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkbx55b10.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i64 } @NI_MAXHOST = dso_local global i32 0, align 4 @NI_MAXSERV = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @BIO_R_ACCEPT_ERROR = dso_local global i32 0, align 4 @AF_INET = dso_local global i64 0, align 8 @NI_NUMERICHOST = dso_local global i32 0, align 4 @NI_NUMERICSERV = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"%s:%s\00", align 1 @ERR_R_MALLOC_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @BIO_accept(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 i64, align 8 %8 = alloca i64, align 8 %9 = alloca %struct.sockaddr_in, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = load i32, ptr @NI_MAXHOST, align 4 %14 = zext i32 %13 to i64 %15 = call ptr @llvm.stacksave() store ptr %15, ptr %6, align 8 %16 = alloca i8, i64 %14, align 16 store i64 %14, ptr %7, align 8 %17 = load i32, ptr @NI_MAXSERV, align 4 %18 = zext i32 %17 to i64 %19 = alloca i8, i64 %18, align 16 store i64 %18, ptr %8, align 8 store i32 8, ptr %10, align 4 store i32 -1, ptr %11, align 4 %20 = load ptr, ptr %5, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %23 22: ; preds = %2 br label %72 23: ; preds = %2 %24 = load i32, ptr %4, align 4 %25 = call i32 @accept(i32 noundef %24, ptr noundef %9, ptr noundef %10) store i32 %25, ptr %11, align 4 %26 = load i32, ptr %11, align 4 %27 = icmp eq i32 %26, -1 br i1 %27, label %28, label %38 28: ; preds = %23 %29 = load i32, ptr %11, align 4 %30 = call i64 @BIO_sock_should_retry(i32 noundef %29) %31 = icmp ne i64 %30, 0 br i1 %31, label %32, label %33 32: ; preds = %28 store i32 -2, ptr %3, align 4 store i32 1, ptr %12, align 4 br label %74 33: ; preds = %28 %34 = load i32, ptr @errno, align 4 %35 = call i32 @SYSerror(i32 noundef %34) %36 = load i32, ptr @BIO_R_ACCEPT_ERROR, align 4 %37 = call i32 @BIOerror(i32 noundef %36) br label %72 38: ; preds = %23 %39 = load ptr, ptr %5, align 8 %40 = load ptr, ptr %39, align 8 %41 = icmp ne ptr %40, null br i1 %41, label %42, label %47 42: ; preds = %38 %43 = load ptr, ptr %5, align 8 %44 = load ptr, ptr %43, align 8 %45 = call i32 @free(ptr noundef %44) %46 = load ptr, ptr %5, align 8 store ptr null, ptr %46, align 8 br label %47 47: ; preds = %42, %38 %48 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0 %49 = load i64, ptr %48, align 8 %50 = load i64, ptr @AF_INET, align 8 %51 = icmp ne i64 %49, %50 br i1 %51, label %52, label %53 52: ; preds = %47 br label %72 53: ; preds = %47 %54 = load i32, ptr %10, align 4 %55 = trunc i64 %14 to i32 %56 = trunc i64 %18 to i32 %57 = load i32, ptr @NI_NUMERICHOST, align 4 %58 = load i32, ptr @NI_NUMERICSERV, align 4 %59 = or i32 %57, %58 %60 = call i64 @getnameinfo(ptr noundef %9, i32 noundef %54, ptr noundef %16, i32 noundef %55, ptr noundef %19, i32 noundef %56, i32 noundef %59) %61 = icmp ne i64 %60, 0 br i1 %61, label %62, label %63 62: ; preds = %53 br label %72 63: ; preds = %53 %64 = load ptr, ptr %5, align 8 %65 = call i32 @asprintf(ptr noundef %64, ptr noundef @.str, ptr noundef %16, ptr noundef %19) %66 = icmp eq i32 %65, -1 br i1 %66, label %67, label %71 67: ; preds = %63 %68 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4 %69 = call i32 @BIOerror(i32 noundef %68) %70 = load ptr, ptr %5, align 8 store ptr null, ptr %70, align 8 br label %72 71: ; preds = %63 br label %72 72: ; preds = %71, %67, %62, %52, %33, %22 %73 = load i32, ptr %11, align 4 store i32 %73, ptr %3, align 4 store i32 1, ptr %12, align 4 br label %74 74: ; preds = %72, %32 %75 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %75) %76 = load i32, ptr %3, align 4 ret i32 %76 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #2 declare i64 @BIO_sock_should_retry(i32 noundef) #2 declare i32 @SYSerror(i32 noundef) #2 declare i32 @BIOerror(i32 noundef) #2 declare i32 @free(ptr noundef) #2 declare i64 @getnameinfo(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @asprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmph4yusmax.c' source_filename = "/tmp/tmph4yusmax.c" target datalayout = "e-m:e-p270: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"%d - %d = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [61 x i8] c"This calculator isn't capable of handling negative numbers.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @subtract(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp uge i32 %6, %7 br i1 %8, label %9, label %17 9: ; preds = %2 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = sub i32 %10, %11 store i32 %12, ptr %5, align 4 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %5, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %13, i32 noundef %14, i32 noundef %15) br label %19 17: ; preds = %2 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %19 19: ; preds = %17, %9 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph4yusmax.c" target datalayout = "e-m:e-p270: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"%d - %d = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [61 x i8] c"This calculator isn't capable of handling negative numbers.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @subtract(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp uge i32 %6, %7 br i1 %8, label %9, label %17 9: ; preds = %2 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = sub i32 %10, %11 store i32 %12, ptr %5, align 4 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %5, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %13, i32 noundef %14, i32 noundef %15) br label %19 17: ; preds = %2 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %19 19: ; preds = %17, %9 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4eh1t0n3.c' source_filename = "/tmp/tmp4eh1t0n3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.before = private unnamed_addr constant [7 x i8] c"12 + 3\00", align 1 @__const.main.after = private unnamed_addr constant [5 x i8] c"12+3\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [7 x i8], align 1 %3 = alloca [5 x i8], align 1 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.before, i64 7, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.after, i64 5, i1 false) %4 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %5 = call i32 @remove_space(ptr noundef %4) %6 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %7 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0 %8 = call i64 @strcmp(ptr noundef %6, ptr noundef %7) %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %0 store i32 0, ptr %1, align 4 br label %12 11: ; preds = %0 store i32 -1, ptr %1, align 4 br label %12 12: ; preds = %11, %10 %13 = load i32, ptr %1, align 4 ret i32 %13 } ; 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 @remove_space(ptr noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4eh1t0n3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.before = private unnamed_addr constant [7 x i8] c"12 + 3\00", align 1 @__const.main.after = private unnamed_addr constant [5 x i8] c"12+3\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [7 x i8], align 1 %3 = alloca [5 x i8], align 1 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.before, i64 7, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.after, i64 5, i1 false) %4 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %5 = call i32 @remove_space(ptr noundef %4) %6 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %7 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0 %8 = call i64 @strcmp(ptr noundef %6, ptr noundef %7) %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %0 store i32 0, ptr %1, align 4 br label %12 11: ; preds = %0 store i32 -1, ptr %1, align 4 br label %12 12: ; preds = %11, %10 %13 = load i32, ptr %1, align 4 ret i32 %13 } ; 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 @remove_space(ptr noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvpta_nw6.c' source_filename = "/tmp/tmpvpta_nw6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spg_delaunay_reduce_(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = load double, ptr %6, align 8 %8 = call i32 @spg_delaunay_reduce(ptr noundef %5, double noundef %7) ret void } declare i32 @spg_delaunay_reduce(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvpta_nw6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spg_delaunay_reduce_(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = load double, ptr %6, align 8 %8 = call i32 @spg_delaunay_reduce(ptr noundef %5, double noundef %7) ret void } declare i32 @spg_delaunay_reduce(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm9vimj49.c' source_filename = "/tmp/tmpm9vimj49.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kadaneAlgo(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 i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %27, %2 %9 = load i32, ptr %7, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %30 12: ; preds = %8 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %7, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i32, ptr %13, i64 %15 %17 = load i32, ptr %16, align 4 %18 = load i32, ptr %6, align 4 %19 = add nsw i32 %18, %17 store i32 %19, ptr %6, align 4 %20 = load i32, ptr %6, align 4 %21 = icmp slt i32 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %12 store i32 0, ptr %6, align 4 br label %23 23: ; preds = %22, %12 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %5, align 4 %26 = call i32 @max(i32 noundef %24, i32 noundef %25) store i32 %26, ptr %5, align 4 br label %27 27: ; preds = %23 %28 = load i32, ptr %7, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %7, align 4 br label %8, !llvm.loop !6 30: ; preds = %8 %31 = load i32, ptr %5, align 4 ret i32 %31 } declare i32 @max(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/tmpm9vimj49.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kadaneAlgo(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 i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %8 = load i32, ptr %7, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %32 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %26 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %7, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i32, ptr %12, i64 %14 %16 = load i32, ptr %15, align 4 %17 = load i32, ptr %6, align 4 %18 = add nsw i32 %17, %16 store i32 %18, ptr %6, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp slt i32 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %11 store i32 0, ptr %6, align 4 br label %22 22: ; preds = %21, %11 %23 = load i32, ptr %6, align 4 %24 = load i32, ptr %5, align 4 %25 = call i32 @max(i32 noundef %23, i32 noundef %24) store i32 %25, ptr %5, align 4 br label %26 26: ; preds = %22 %27 = load i32, ptr %7, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %7, align 4 %29 = load i32, ptr %7, align 4 %30 = load i32, ptr %4, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %2 %33 = load i32, ptr %5, align 4 ret i32 %33 } declare i32 @max(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/tmpci6cjjlt.c' source_filename = "/tmp/tmpci6cjjlt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MIN = dso_local global i32 0, align 4 @INT_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fffi4int(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 { %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca i64, align 8 %24 = alloca double, align 8 store ptr %0, ptr %12, align 8 store i64 %1, ptr %13, align 8 store double %2, ptr %14, align 8 store double %3, ptr %15, align 8 store i32 %4, ptr %16, align 4 store i32 %5, ptr %17, align 4 store i32 %6, ptr %18, align 4 store ptr %7, ptr %19, align 8 store ptr %8, ptr %20, align 8 store ptr %9, ptr %21, align 8 store ptr %10, ptr %22, align 8 %25 = load i32, ptr %16, align 4 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %94 27: ; preds = %11 %28 = load double, ptr %14, align 8 %29 = fcmp oeq double %28, 1.000000e+00 br i1 %29, label %30, label %50 30: ; preds = %27 %31 = load double, ptr %15, align 8 %32 = fcmp oeq double %31, 0.000000e+00 br i1 %32, label %33, label %50 33: ; preds = %30 store i64 0, ptr %23, align 8 br label %34 34: ; preds = %46, %33 %35 = load i64, ptr %23, align 8 %36 = load i64, ptr %13, align 8 %37 = icmp slt i64 %35, %36 br i1 %37, label %38, label %49 38: ; preds = %34 %39 = load ptr, ptr %12, align 8 %40 = load i64, ptr %23, align 8 %41 = getelementptr inbounds i32, ptr %39, i64 %40 %42 = load i32, ptr %41, align 4 %43 = load ptr, ptr %21, align 8 %44 = load i64, ptr %23, align 8 %45 = getelementptr inbounds i32, ptr %43, i64 %44 store i32 %42, ptr %45, align 4 br label %46 46: ; preds = %38 %47 = load i64, ptr %23, align 8 %48 = add nsw i64 %47, 1 store i64 %48, ptr %23, align 8 br label %34, !llvm.loop !6 49: ; preds = %34 br label %93 50: ; preds = %30, %27 store i64 0, ptr %23, align 8 br label %51 51: ; preds = %89, %50 %52 = load i64, ptr %23, align 8 %53 = load i64, ptr %13, align 8 %54 = icmp slt i64 %52, %53 br i1 %54, label %55, label %92 55: ; preds = %51 %56 = load ptr, ptr %12, align 8 %57 = load i64, ptr %23, align 8 %58 = getelementptr inbounds i32, ptr %56, i64 %57 %59 = load i32, ptr %58, align 4 %60 = sitofp i32 %59 to double %61 = load double, ptr %14, align 8 %62 = load double, ptr %15, align 8 %63 = call double @llvm.fmuladd.f64(double %60, double %61, double %62) store double %63, ptr %24, align 8 %64 = load double, ptr %24, align 8 %65 = fcmp olt double %64, 0xC1E00000000FAE14 br i1 %65, label %66, label %72 66: ; preds = %55 %67 = load ptr, ptr %22, align 8 store i32 -11, ptr %67, align 4 %68 = load i32, ptr @INT_MIN, align 4 %69 = load ptr, ptr %21, align 8 %70 = load i64, ptr %23, align 8 %71 = getelementptr inbounds i32, ptr %69, i64 %70 store i32 %68, ptr %71, align 4 br label %88 72: ; preds = %55 %73 = load double, ptr %24, align 8 %74 = fcmp ogt double %73, 0x41DFFFFFFFDF5C29 br i1 %74, label %75, label %81 75: ; preds = %72 %76 = load ptr, ptr %22, align 8 store i32 -11, ptr %76, align 4 %77 = load i32, ptr @INT_MAX, align 4 %78 = load ptr, ptr %21, align 8 %79 = load i64, ptr %23, align 8 %80 = getelementptr inbounds i32, ptr %78, i64 %79 store i32 %77, ptr %80, align 4 br label %87 81: ; preds = %72 %82 = load double, ptr %24, align 8 %83 = fptosi double %82 to i32 %84 = load ptr, ptr %21, align 8 %85 = load i64, ptr %23, align 8 %86 = getelementptr inbounds i32, ptr %84, i64 %85 store i32 %83, ptr %86, align 4 br label %87 87: ; preds = %81, %75 br label %88 88: ; preds = %87, %66 br label %89 89: ; preds = %88 %90 = load i64, ptr %23, align 8 %91 = add nsw i64 %90, 1 store i64 %91, ptr %23, align 8 br label %51, !llvm.loop !8 92: ; preds = %51 br label %93 93: ; preds = %92, %49 br label %205 94: ; preds = %11 %95 = load double, ptr %14, align 8 %96 = fcmp oeq double %95, 1.000000e+00 br i1 %96, label %97, label %139 97: ; preds = %94 %98 = load double, ptr %15, align 8 %99 = fcmp oeq double %98, 0.000000e+00 br i1 %99, label %100, label %139 100: ; preds = %97 store i64 0, ptr %23, align 8 br label %101 101: ; preds = %135, %100 %102 = load i64, ptr %23, align 8 %103 = load i64, ptr %13, align 8 %104 = icmp slt i64 %102, %103 br i1 %104, label %105, label %138 105: ; preds = %101 %106 = load ptr, ptr %12, align 8 %107 = load i64, ptr %23, align 8 %108 = getelementptr inbounds i32, ptr %106, i64 %107 %109 = load i32, ptr %108, align 4 %110 = load i32, ptr %17, align 4 %111 = icmp eq i32 %109, %110 br i1 %111, label %112, label %126 112: ; preds = %105 %113 = load ptr, ptr %20, align 8 store i32 1, ptr %113, align 4 %114 = load i32, ptr %16, align 4 %115 = icmp eq i32 %114, 1 br i1 %115, label %116, label %121 116: ; preds = %112 %117 = load i32, ptr %18, align 4 %118 = load ptr, ptr %21, align 8 %119 = load i64, ptr %23, align 8 %120 = getelementptr inbounds i32, ptr %118, i64 %119 store i32 %117, ptr %120, align 4 br label %125 121: ; preds = %112 %122 = load ptr, ptr %19, align 8 %123 = load i64, ptr %23, align 8 %124 = getelementptr inbounds i8, ptr %122, i64 %123 store i8 1, ptr %124, align 1 br label %125 125: ; preds = %121, %116 br label %134 126: ; preds = %105 %127 = load ptr, ptr %12, align 8 %128 = load i64, ptr %23, align 8 %129 = getelementptr inbounds i32, ptr %127, i64 %128 %130 = load i32, ptr %129, align 4 %131 = load ptr, ptr %21, align 8 %132 = load i64, ptr %23, align 8 %133 = getelementptr inbounds i32, ptr %131, i64 %132 store i32 %130, ptr %133, align 4 br label %134 134: ; preds = %126, %125 br label %135 135: ; preds = %134 %136 = load i64, ptr %23, align 8 %137 = add nsw i64 %136, 1 store i64 %137, ptr %23, align 8 br label %101, !llvm.loop !9 138: ; preds = %101 br label %204 139: ; preds = %97, %94 store i64 0, ptr %23, align 8 br label %140 140: ; preds = %200, %139 %141 = load i64, ptr %23, align 8 %142 = load i64, ptr %13, align 8 %143 = icmp slt i64 %141, %142 br i1 %143, label %144, label %203 144: ; preds = %140 %145 = load ptr, ptr %12, align 8 %146 = load i64, ptr %23, align 8 %147 = getelementptr inbounds i32, ptr %145, i64 %146 %148 = load i32, ptr %147, align 4 %149 = load i32, ptr %17, align 4 %150 = icmp eq i32 %148, %149 br i1 %150, label %151, label %165 151: ; preds = %144 %152 = load ptr, ptr %20, align 8 store i32 1, ptr %152, align 4 %153 = load i32, ptr %16, align 4 %154 = icmp eq i32 %153, 1 br i1 %154, label %155, label %160 155: ; preds = %151 %156 = load i32, ptr %18, align 4 %157 = load ptr, ptr %21, align 8 %158 = load i64, ptr %23, align 8 %159 = getelementptr inbounds i32, ptr %157, i64 %158 store i32 %156, ptr %159, align 4 br label %164 160: ; preds = %151 %161 = load ptr, ptr %19, align 8 %162 = load i64, ptr %23, align 8 %163 = getelementptr inbounds i8, ptr %161, i64 %162 store i8 1, ptr %163, align 1 br label %164 164: ; preds = %160, %155 br label %199 165: ; preds = %144 %166 = load ptr, ptr %12, align 8 %167 = load i64, ptr %23, align 8 %168 = getelementptr inbounds i32, ptr %166, i64 %167 %169 = load i32, ptr %168, align 4 %170 = sitofp i32 %169 to double %171 = load double, ptr %14, align 8 %172 = load double, ptr %15, align 8 %173 = call double @llvm.fmuladd.f64(double %170, double %171, double %172) store double %173, ptr %24, align 8 %174 = load double, ptr %24, align 8 %175 = fcmp olt double %174, 0xC1E00000000FAE14 br i1 %175, label %176, label %182 176: ; preds = %165 %177 = load ptr, ptr %22, align 8 store i32 -11, ptr %177, align 4 %178 = load i32, ptr @INT_MIN, align 4 %179 = load ptr, ptr %21, align 8 %180 = load i64, ptr %23, align 8 %181 = getelementptr inbounds i32, ptr %179, i64 %180 store i32 %178, ptr %181, align 4 br label %198 182: ; preds = %165 %183 = load double, ptr %24, align 8 %184 = fcmp ogt double %183, 0x41DFFFFFFFDF5C29 br i1 %184, label %185, label %191 185: ; preds = %182 %186 = load ptr, ptr %22, align 8 store i32 -11, ptr %186, align 4 %187 = load i32, ptr @INT_MAX, align 4 %188 = load ptr, ptr %21, align 8 %189 = load i64, ptr %23, align 8 %190 = getelementptr inbounds i32, ptr %188, i64 %189 store i32 %187, ptr %190, align 4 br label %197 191: ; preds = %182 %192 = load double, ptr %24, align 8 %193 = fptosi double %192 to i32 %194 = load ptr, ptr %21, align 8 %195 = load i64, ptr %23, align 8 %196 = getelementptr inbounds i32, ptr %194, i64 %195 store i32 %193, ptr %196, align 4 br label %197 197: ; preds = %191, %185 br label %198 198: ; preds = %197, %176 br label %199 199: ; preds = %198, %164 br label %200 200: ; preds = %199 %201 = load i64, ptr %23, align 8 %202 = add nsw i64 %201, 1 store i64 %202, ptr %23, align 8 br label %140, !llvm.loop !10 203: ; preds = %140 br label %204 204: ; preds = %203, %138 br label %205 205: ; preds = %204, %93 %206 = load ptr, ptr %22, align 8 %207 = load i32, ptr %206, align 4 ret i32 %207 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpci6cjjlt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MIN = dso_local global i32 0, align 4 @INT_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fffi4int(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 { %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca i64, align 8 %24 = alloca double, align 8 store ptr %0, ptr %12, align 8 store i64 %1, ptr %13, align 8 store double %2, ptr %14, align 8 store double %3, ptr %15, align 8 store i32 %4, ptr %16, align 4 store i32 %5, ptr %17, align 4 store i32 %6, ptr %18, align 4 store ptr %7, ptr %19, align 8 store ptr %8, ptr %20, align 8 store ptr %9, ptr %21, align 8 store ptr %10, ptr %22, align 8 %25 = load i32, ptr %16, align 4 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %98 27: ; preds = %11 %28 = load double, ptr %14, align 8 %29 = fcmp oeq double %28, 1.000000e+00 br i1 %29, label %30, label %52 30: ; preds = %27 %31 = load double, ptr %15, align 8 %32 = fcmp oeq double %31, 0.000000e+00 br i1 %32, label %33, label %52 33: ; preds = %30 store i64 0, ptr %23, align 8 %34 = load i64, ptr %23, align 8 %35 = load i64, ptr %13, align 8 %36 = icmp slt i64 %34, %35 br i1 %36, label %.lr.ph8, label %51 .lr.ph8: ; preds = %33 br label %37 37: ; preds = %.lr.ph8, %45 %38 = load ptr, ptr %12, align 8 %39 = load i64, ptr %23, align 8 %40 = getelementptr inbounds i32, ptr %38, i64 %39 %41 = load i32, ptr %40, align 4 %42 = load ptr, ptr %21, align 8 %43 = load i64, ptr %23, align 8 %44 = getelementptr inbounds i32, ptr %42, i64 %43 store i32 %41, ptr %44, align 4 br label %45 45: ; preds = %37 %46 = load i64, ptr %23, align 8 %47 = add nsw i64 %46, 1 store i64 %47, ptr %23, align 8 %48 = load i64, ptr %23, align 8 %49 = load i64, ptr %13, align 8 %50 = icmp slt i64 %48, %49 br i1 %50, label %37, label %._crit_edge9, !llvm.loop !6 ._crit_edge9: ; preds = %45 br label %51 51: ; preds = %._crit_edge9, %33 br label %97 52: ; preds = %30, %27 store i64 0, ptr %23, align 8 %53 = load i64, ptr %23, align 8 %54 = load i64, ptr %13, align 8 %55 = icmp slt i64 %53, %54 br i1 %55, label %.lr.ph5, label %96 .lr.ph5: ; preds = %52 br label %56 56: ; preds = %.lr.ph5, %90 %57 = load ptr, ptr %12, align 8 %58 = load i64, ptr %23, align 8 %59 = getelementptr inbounds i32, ptr %57, i64 %58 %60 = load i32, ptr %59, align 4 %61 = sitofp i32 %60 to double %62 = load double, ptr %14, align 8 %63 = load double, ptr %15, align 8 %64 = call double @llvm.fmuladd.f64(double %61, double %62, double %63) store double %64, ptr %24, align 8 %65 = load double, ptr %24, align 8 %66 = fcmp olt double %65, 0xC1E00000000FAE14 br i1 %66, label %67, label %73 67: ; preds = %56 %68 = load ptr, ptr %22, align 8 store i32 -11, ptr %68, align 4 %69 = load i32, ptr @INT_MIN, align 4 %70 = load ptr, ptr %21, align 8 %71 = load i64, ptr %23, align 8 %72 = getelementptr inbounds i32, ptr %70, i64 %71 store i32 %69, ptr %72, align 4 br label %89 73: ; preds = %56 %74 = load double, ptr %24, align 8 %75 = fcmp ogt double %74, 0x41DFFFFFFFDF5C29 br i1 %75, label %76, label %82 76: ; preds = %73 %77 = load ptr, ptr %22, align 8 store i32 -11, ptr %77, align 4 %78 = load i32, ptr @INT_MAX, align 4 %79 = load ptr, ptr %21, align 8 %80 = load i64, ptr %23, align 8 %81 = getelementptr inbounds i32, ptr %79, i64 %80 store i32 %78, ptr %81, align 4 br label %88 82: ; preds = %73 %83 = load double, ptr %24, align 8 %84 = fptosi double %83 to i32 %85 = load ptr, ptr %21, align 8 %86 = load i64, ptr %23, align 8 %87 = getelementptr inbounds i32, ptr %85, i64 %86 store i32 %84, ptr %87, align 4 br label %88 88: ; preds = %82, %76 br label %89 89: ; preds = %88, %67 br label %90 90: ; preds = %89 %91 = load i64, ptr %23, align 8 %92 = add nsw i64 %91, 1 store i64 %92, ptr %23, align 8 %93 = load i64, ptr %23, align 8 %94 = load i64, ptr %13, align 8 %95 = icmp slt i64 %93, %94 br i1 %95, label %56, label %._crit_edge6, !llvm.loop !8 ._crit_edge6: ; preds = %90 br label %96 96: ; preds = %._crit_edge6, %52 br label %97 97: ; preds = %96, %51 br label %213 98: ; preds = %11 %99 = load double, ptr %14, align 8 %100 = fcmp oeq double %99, 1.000000e+00 br i1 %100, label %101, label %145 101: ; preds = %98 %102 = load double, ptr %15, align 8 %103 = fcmp oeq double %102, 0.000000e+00 br i1 %103, label %104, label %145 104: ; preds = %101 store i64 0, ptr %23, align 8 %105 = load i64, ptr %23, align 8 %106 = load i64, ptr %13, align 8 %107 = icmp slt i64 %105, %106 br i1 %107, label %.lr.ph2, label %144 .lr.ph2: ; preds = %104 br label %108 108: ; preds = %.lr.ph2, %138 %109 = load ptr, ptr %12, align 8 %110 = load i64, ptr %23, align 8 %111 = getelementptr inbounds i32, ptr %109, i64 %110 %112 = load i32, ptr %111, align 4 %113 = load i32, ptr %17, align 4 %114 = icmp eq i32 %112, %113 br i1 %114, label %115, label %129 115: ; preds = %108 %116 = load ptr, ptr %20, align 8 store i32 1, ptr %116, align 4 %117 = load i32, ptr %16, align 4 %118 = icmp eq i32 %117, 1 br i1 %118, label %119, label %124 119: ; preds = %115 %120 = load i32, ptr %18, align 4 %121 = load ptr, ptr %21, align 8 %122 = load i64, ptr %23, align 8 %123 = getelementptr inbounds i32, ptr %121, i64 %122 store i32 %120, ptr %123, align 4 br label %128 124: ; preds = %115 %125 = load ptr, ptr %19, align 8 %126 = load i64, ptr %23, align 8 %127 = getelementptr inbounds i8, ptr %125, i64 %126 store i8 1, ptr %127, align 1 br label %128 128: ; preds = %124, %119 br label %137 129: ; preds = %108 %130 = load ptr, ptr %12, align 8 %131 = load i64, ptr %23, align 8 %132 = getelementptr inbounds i32, ptr %130, i64 %131 %133 = load i32, ptr %132, align 4 %134 = load ptr, ptr %21, align 8 %135 = load i64, ptr %23, align 8 %136 = getelementptr inbounds i32, ptr %134, i64 %135 store i32 %133, ptr %136, align 4 br label %137 137: ; preds = %129, %128 br label %138 138: ; preds = %137 %139 = load i64, ptr %23, align 8 %140 = add nsw i64 %139, 1 store i64 %140, ptr %23, align 8 %141 = load i64, ptr %23, align 8 %142 = load i64, ptr %13, align 8 %143 = icmp slt i64 %141, %142 br i1 %143, label %108, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %138 br label %144 144: ; preds = %._crit_edge3, %104 br label %212 145: ; preds = %101, %98 store i64 0, ptr %23, align 8 %146 = load i64, ptr %23, align 8 %147 = load i64, ptr %13, align 8 %148 = icmp slt i64 %146, %147 br i1 %148, label %.lr.ph, label %211 .lr.ph: ; preds = %145 br label %149 149: ; preds = %.lr.ph, %205 %150 = load ptr, ptr %12, align 8 %151 = load i64, ptr %23, align 8 %152 = getelementptr inbounds i32, ptr %150, i64 %151 %153 = load i32, ptr %152, align 4 %154 = load i32, ptr %17, align 4 %155 = icmp eq i32 %153, %154 br i1 %155, label %156, label %170 156: ; preds = %149 %157 = load ptr, ptr %20, align 8 store i32 1, ptr %157, align 4 %158 = load i32, ptr %16, align 4 %159 = icmp eq i32 %158, 1 br i1 %159, label %160, label %165 160: ; preds = %156 %161 = load i32, ptr %18, align 4 %162 = load ptr, ptr %21, align 8 %163 = load i64, ptr %23, align 8 %164 = getelementptr inbounds i32, ptr %162, i64 %163 store i32 %161, ptr %164, align 4 br label %169 165: ; preds = %156 %166 = load ptr, ptr %19, align 8 %167 = load i64, ptr %23, align 8 %168 = getelementptr inbounds i8, ptr %166, i64 %167 store i8 1, ptr %168, align 1 br label %169 169: ; preds = %165, %160 br label %204 170: ; preds = %149 %171 = load ptr, ptr %12, align 8 %172 = load i64, ptr %23, align 8 %173 = getelementptr inbounds i32, ptr %171, i64 %172 %174 = load i32, ptr %173, align 4 %175 = sitofp i32 %174 to double %176 = load double, ptr %14, align 8 %177 = load double, ptr %15, align 8 %178 = call double @llvm.fmuladd.f64(double %175, double %176, double %177) store double %178, ptr %24, align 8 %179 = load double, ptr %24, align 8 %180 = fcmp olt double %179, 0xC1E00000000FAE14 br i1 %180, label %181, label %187 181: ; preds = %170 %182 = load ptr, ptr %22, align 8 store i32 -11, ptr %182, align 4 %183 = load i32, ptr @INT_MIN, align 4 %184 = load ptr, ptr %21, align 8 %185 = load i64, ptr %23, align 8 %186 = getelementptr inbounds i32, ptr %184, i64 %185 store i32 %183, ptr %186, align 4 br label %203 187: ; preds = %170 %188 = load double, ptr %24, align 8 %189 = fcmp ogt double %188, 0x41DFFFFFFFDF5C29 br i1 %189, label %190, label %196 190: ; preds = %187 %191 = load ptr, ptr %22, align 8 store i32 -11, ptr %191, align 4 %192 = load i32, ptr @INT_MAX, align 4 %193 = load ptr, ptr %21, align 8 %194 = load i64, ptr %23, align 8 %195 = getelementptr inbounds i32, ptr %193, i64 %194 store i32 %192, ptr %195, align 4 br label %202 196: ; preds = %187 %197 = load double, ptr %24, align 8 %198 = fptosi double %197 to i32 %199 = load ptr, ptr %21, align 8 %200 = load i64, ptr %23, align 8 %201 = getelementptr inbounds i32, ptr %199, i64 %200 store i32 %198, ptr %201, align 4 br label %202 202: ; preds = %196, %190 br label %203 203: ; preds = %202, %181 br label %204 204: ; preds = %203, %169 br label %205 205: ; preds = %204 %206 = load i64, ptr %23, align 8 %207 = add nsw i64 %206, 1 store i64 %207, ptr %23, align 8 %208 = load i64, ptr %23, align 8 %209 = load i64, ptr %13, align 8 %210 = icmp slt i64 %208, %209 br i1 %210, label %149, label %._crit_edge, !llvm.loop !10 ._crit_edge: ; preds = %205 br label %211 211: ; preds = %._crit_edge, %145 br label %212 212: ; preds = %211, %144 br label %213 213: ; preds = %212, %97 %214 = load ptr, ptr %22, align 8 %215 = load i32, ptr %214, align 4 ret i32 %215 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp3ezs08tq.c' source_filename = "/tmp/tmp3ezs08tq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"x value: %d \0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"x address: %p \0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"xp: %p \0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"y value: %d \0A\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"y address: %p \0A\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"\0A -- extended -- \0A\00", align 1 @.str.6 = private unnamed_addr constant [53 x i8] c"Changing the value of x using xp (which points to x)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 12, ptr %1, align 4 store ptr %1, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %4, align 4 store i32 %5, ptr %3, align 4 %6 = load i32, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %6) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %1) %9 = load ptr, ptr %2, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %9) %11 = load i32, ptr %3, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %11) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %3) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %16 = load i32, ptr %3, align 4 %17 = mul nsw i32 %16, 2 %18 = load ptr, ptr %2, align 8 store i32 %17, ptr %18, align 4 %19 = load i32, ptr %1, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %19) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %1) %22 = load ptr, ptr %2, align 8 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %22) %24 = load i32, ptr %3, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %24) %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %3) 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/tmp3ezs08tq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"x value: %d \0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"x address: %p \0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"xp: %p \0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"y value: %d \0A\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"y address: %p \0A\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"\0A -- extended -- \0A\00", align 1 @.str.6 = private unnamed_addr constant [53 x i8] c"Changing the value of x using xp (which points to x)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 12, ptr %1, align 4 store ptr %1, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %4, align 4 store i32 %5, ptr %3, align 4 %6 = load i32, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %6) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %1) %9 = load ptr, ptr %2, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %9) %11 = load i32, ptr %3, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %11) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %3) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %16 = load i32, ptr %3, align 4 %17 = mul nsw i32 %16, 2 %18 = load ptr, ptr %2, align 8 store i32 %17, ptr %18, align 4 %19 = load i32, ptr %1, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %19) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %1) %22 = load ptr, ptr %2, align 8 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %22) %24 = load i32, ptr %3, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %24) %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %3) 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/tmprp9bk9ly.c' source_filename = "/tmp/tmprp9bk9ly.c" target datalayout = "e-m:e-p270: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 [198 x i8] c"typedef struct charset_s\0A{\0A\09const char *value;\0A\09unsigned char length; // set length\0A\09unsigned char numsets; // number of sets used\0A\09unsigned char lensets[%i]; // lengths of sets used\0A} charset_t;\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [38 x i8] c"static const charset_t cslist[] = \0A{\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"};\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 15, ptr %4, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 4) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %7 = load i32, ptr %3, align 4 store i32 %7, ptr %2, align 4 br label %8 8: ; preds = %19, %0 %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp sle i32 %9, %10 br i1 %11, label %12, label %22 12: ; preds = %8 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp eq i32 %14, %15 %17 = zext i1 %16 to i32 %18 = call i32 @print_charset(i32 noundef %13, i32 noundef %17) br label %19 19: ; preds = %12 %20 = load i32, ptr %2, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %2, align 4 br label %8, !llvm.loop !6 22: ; preds = %8 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @print_charset(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/tmprp9bk9ly.c" target datalayout = "e-m:e-p270: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 [198 x i8] c"typedef struct charset_s\0A{\0A\09const char *value;\0A\09unsigned char length; // set length\0A\09unsigned char numsets; // number of sets used\0A\09unsigned char lensets[%i]; // lengths of sets used\0A} charset_t;\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [38 x i8] c"static const charset_t cslist[] = \0A{\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"};\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 15, ptr %4, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 4) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %7 = load i32, ptr %3, align 4 store i32 %7, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp sle i32 %8, %9 br i1 %10, label %.lr.ph, label %24 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %18 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp eq i32 %13, %14 %16 = zext i1 %15 to i32 %17 = call i32 @print_charset(i32 noundef %12, i32 noundef %16) br label %18 18: ; preds = %11 %19 = load i32, ptr %2, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %2, align 4 %21 = load i32, ptr %2, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp sle i32 %21, %22 br i1 %23, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %24 24: ; preds = %._crit_edge, %0 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @print_charset(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/tmpe_u0a096.c' source_filename = "/tmp/tmpe_u0a096.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = call ptr (...) @get_gd() store ptr %3, ptr %2, align 8 %4 = call i32 @set_gd(i32 noundef 3) %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr %5, align 4 %7 = icmp ne i32 %6, 3 br i1 %7, label %11, label %8 8: ; preds = %0 %9 = call i32 @test_gd(i32 noundef 3) %10 = icmp ne i32 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %8, %0 %12 = call i32 (...) @abort() #3 unreachable 13: ; preds = %8 %14 = call ptr (...) @get_ld() store ptr %14, ptr %2, align 8 %15 = call i32 @set_ld(i32 noundef 4) %16 = load ptr, ptr %2, align 8 %17 = load i32, ptr %16, align 4 %18 = icmp ne i32 %17, 4 br i1 %18, label %22, label %19 19: ; preds = %13 %20 = call i32 @test_ld(i32 noundef 4) %21 = icmp ne i32 %20, 0 br i1 %21, label %24, label %22 22: ; preds = %19, %13 %23 = call i32 (...) @abort() #3 unreachable 24: ; preds = %19 ret i32 0 } declare ptr @get_gd(...) #1 declare i32 @set_gd(i32 noundef) #1 declare i32 @test_gd(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare ptr @get_ld(...) #1 declare i32 @set_ld(i32 noundef) #1 declare i32 @test_ld(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe_u0a096.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = call ptr (...) @get_gd() store ptr %3, ptr %2, align 8 %4 = call i32 @set_gd(i32 noundef 3) %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr %5, align 4 %7 = icmp ne i32 %6, 3 br i1 %7, label %11, label %8 8: ; preds = %0 %9 = call i32 @test_gd(i32 noundef 3) %10 = icmp ne i32 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %8, %0 %12 = call i32 (...) @abort() #3 unreachable 13: ; preds = %8 %14 = call ptr (...) @get_ld() store ptr %14, ptr %2, align 8 %15 = call i32 @set_ld(i32 noundef 4) %16 = load ptr, ptr %2, align 8 %17 = load i32, ptr %16, align 4 %18 = icmp ne i32 %17, 4 br i1 %18, label %22, label %19 19: ; preds = %13 %20 = call i32 @test_ld(i32 noundef 4) %21 = icmp ne i32 %20, 0 br i1 %21, label %24, label %22 22: ; preds = %19, %13 %23 = call i32 (...) @abort() #3 unreachable 24: ; preds = %19 ret i32 0 } declare ptr @get_gd(...) #1 declare i32 @set_gd(i32 noundef) #1 declare i32 @test_gd(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare ptr @get_ld(...) #1 declare i32 @set_ld(i32 noundef) #1 declare i32 @test_ld(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprjca268s.c' source_filename = "/tmp/tmprjca268s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @getfloat(ptr noundef %0) #0 { %2 = alloca float, align 4 %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 0, ptr %4, align 4 store i32 1, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %11, %1 %8 = call i32 (...) @getch() store i32 %8, ptr %4, align 4 %9 = call i64 @isspace(i32 noundef %8) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %7 br label %7, !llvm.loop !6 12: ; preds = %7 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr @EOF, align 4 %15 = icmp eq i32 %13, %14 br i1 %15, label %16, label %19 16: ; preds = %12 %17 = load i32, ptr @EOF, align 4 %18 = sitofp i32 %17 to float store float %18, ptr %2, align 4 br label %114 19: ; preds = %12 %20 = load i32, ptr %4, align 4 %21 = call i64 @isdigit(i32 noundef %20) %22 = icmp ne i64 %21, 0 br i1 %22, label %39, label %23 23: ; preds = %19 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr @EOF, align 4 %26 = icmp ne i32 %24, %25 br i1 %26, label %27, label %39 27: ; preds = %23 %28 = load i32, ptr %4, align 4 %29 = icmp ne i32 %28, 43 br i1 %29, label %30, label %39 30: ; preds = %27 %31 = load i32, ptr %4, align 4 %32 = icmp ne i32 %31, 45 br i1 %32, label %33, label %39 33: ; preds = %30 %34 = load i32, ptr %4, align 4 %35 = icmp ne i32 %34, 46 br i1 %35, label %36, label %39 36: ; preds = %33 %37 = load i32, ptr %4, align 4 %38 = call i32 @ungetch(i32 noundef %37) store float 0.000000e+00, ptr %2, align 4 br label %114 39: ; preds = %33, %30, %27, %23, %19 %40 = load i32, ptr %4, align 4 %41 = icmp eq i32 %40, 45 %42 = zext i1 %41 to i64 %43 = select i1 %41, i32 -1, i32 1 store i32 %43, ptr %5, align 4 %44 = load i32, ptr %4, align 4 %45 = icmp eq i32 %44, 43 br i1 %45, label %49, label %46 46: ; preds = %39 %47 = load i32, ptr %4, align 4 %48 = icmp eq i32 %47, 45 br i1 %48, label %49, label %51 49: ; preds = %46, %39 %50 = call i32 (...) @getch() store i32 %50, ptr %4, align 4 br label %51 51: ; preds = %49, %46 %52 = load ptr, ptr %3, align 8 store float 0.000000e+00, ptr %52, align 4 br label %53 53: ; preds = %65, %51 %54 = load i32, ptr %4, align 4 %55 = call i64 @isdigit(i32 noundef %54) %56 = icmp ne i64 %55, 0 br i1 %56, label %57, label %67 57: ; preds = %53 %58 = load ptr, ptr %3, align 8 %59 = load float, ptr %58, align 4 %60 = load i32, ptr %4, align 4 %61 = sub nsw i32 %60, 48 %62 = sitofp i32 %61 to float %63 = call float @llvm.fmuladd.f32(float 1.000000e+01, float %59, float %62) %64 = load ptr, ptr %3, align 8 store float %63, ptr %64, align 4 br label %65 65: ; preds = %57 %66 = call i32 (...) @getch() store i32 %66, ptr %4, align 4 br label %53, !llvm.loop !8 67: ; preds = %53 %68 = load i32, ptr %4, align 4 %69 = icmp eq i32 %68, 46 br i1 %69, label %70, label %99 70: ; preds = %67 store i32 0, ptr %6, align 4 %71 = call i32 (...) @getch() store i32 %71, ptr %4, align 4 br label %72 72: ; preds = %84, %70 %73 = load i32, ptr %4, align 4 %74 = call i64 @isdigit(i32 noundef %73) %75 = icmp ne i64 %74, 0 br i1 %75, label %76, label %88 76: ; preds = %72 %77 = load ptr, ptr %3, align 8 %78 = load float, ptr %77, align 4 %79 = load i32, ptr %4, align 4 %80 = sub nsw i32 %79, 48 %81 = sitofp i32 %80 to float %82 = call float @llvm.fmuladd.f32(float 1.000000e+01, float %78, float %81) %83 = load ptr, ptr %3, align 8 store float %82, ptr %83, align 4 br label %84 84: ; preds = %76 %85 = call i32 (...) @getch() store i32 %85, ptr %4, align 4 %86 = load i32, ptr %6, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %6, align 4 br label %72, !llvm.loop !9 88: ; preds = %72 br label %89 89: ; preds = %92, %88 %90 = load i32, ptr %6, align 4 %91 = icmp ne i32 %90, 0 br i1 %91, label %92, label %98 92: ; preds = %89 %93 = load ptr, ptr %3, align 8 %94 = load float, ptr %93, align 4 %95 = fdiv float %94, 1.000000e+01 store float %95, ptr %93, align 4 %96 = load i32, ptr %6, align 4 %97 = add nsw i32 %96, -1 store i32 %97, ptr %6, align 4 br label %89, !llvm.loop !10 98: ; preds = %89 br label %99 99: ; preds = %98, %67 %100 = load i32, ptr %5, align 4 %101 = sitofp i32 %100 to float %102 = load ptr, ptr %3, align 8 %103 = load float, ptr %102, align 4 %104 = fmul float %103, %101 store float %104, ptr %102, align 4 %105 = load i32, ptr %4, align 4 %106 = load i32, ptr @EOF, align 4 %107 = icmp ne i32 %105, %106 br i1 %107, label %108, label %111 108: ; preds = %99 %109 = load i32, ptr %4, align 4 %110 = call i32 @ungetch(i32 noundef %109) br label %111 111: ; preds = %108, %99 %112 = load ptr, ptr %3, align 8 %113 = load float, ptr %112, align 4 store float %113, ptr %2, align 4 br label %114 114: ; preds = %111, %36, %16 %115 = load float, ptr %2, align 4 ret float %115 } declare i64 @isspace(i32 noundef) #1 declare i32 @getch(...) #1 declare i64 @isdigit(i32 noundef) #1 declare i32 @ungetch(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprjca268s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @getfloat(ptr noundef %0) #0 { %2 = alloca float, align 4 %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 0, ptr %4, align 4 store i32 1, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %7, %1 %8 = call i32 (...) @getch() store i32 %8, ptr %4, align 4 %9 = call i64 @isspace(i32 noundef %8) %10 = icmp ne i64 %9, 0 br i1 %10, label %7, label %11, !llvm.loop !6 11: ; preds = %7 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr @EOF, align 4 %14 = icmp eq i32 %12, %13 br i1 %14, label %15, label %18 15: ; preds = %11 %16 = load i32, ptr @EOF, align 4 %17 = sitofp i32 %16 to float store float %17, ptr %2, align 4 br label %118 18: ; preds = %11 %19 = load i32, ptr %4, align 4 %20 = call i64 @isdigit(i32 noundef %19) %21 = icmp ne i64 %20, 0 br i1 %21, label %38, label %22 22: ; preds = %18 %23 = load i32, ptr %4, align 4 %24 = load i32, ptr @EOF, align 4 %25 = icmp ne i32 %23, %24 br i1 %25, label %26, label %38 26: ; preds = %22 %27 = load i32, ptr %4, align 4 %28 = icmp ne i32 %27, 43 br i1 %28, label %29, label %38 29: ; preds = %26 %30 = load i32, ptr %4, align 4 %31 = icmp ne i32 %30, 45 br i1 %31, label %32, label %38 32: ; preds = %29 %33 = load i32, ptr %4, align 4 %34 = icmp ne i32 %33, 46 br i1 %34, label %35, label %38 35: ; preds = %32 %36 = load i32, ptr %4, align 4 %37 = call i32 @ungetch(i32 noundef %36) store float 0.000000e+00, ptr %2, align 4 br label %118 38: ; preds = %32, %29, %26, %22, %18 %39 = load i32, ptr %4, align 4 %40 = icmp eq i32 %39, 45 %41 = zext i1 %40 to i64 %42 = select i1 %40, i32 -1, i32 1 store i32 %42, ptr %5, align 4 %43 = load i32, ptr %4, align 4 %44 = icmp eq i32 %43, 43 br i1 %44, label %48, label %45 45: ; preds = %38 %46 = load i32, ptr %4, align 4 %47 = icmp eq i32 %46, 45 br i1 %47, label %48, label %50 48: ; preds = %45, %38 %49 = call i32 (...) @getch() store i32 %49, ptr %4, align 4 br label %50 50: ; preds = %48, %45 %51 = load ptr, ptr %3, align 8 store float 0.000000e+00, ptr %51, align 4 %52 = load i32, ptr %4, align 4 %53 = call i64 @isdigit(i32 noundef %52) %54 = icmp ne i64 %53, 0 br i1 %54, label %.lr.ph, label %68 .lr.ph: ; preds = %50 br label %55 55: ; preds = %.lr.ph, %63 %56 = load ptr, ptr %3, align 8 %57 = load float, ptr %56, align 4 %58 = load i32, ptr %4, align 4 %59 = sub nsw i32 %58, 48 %60 = sitofp i32 %59 to float %61 = call float @llvm.fmuladd.f32(float 1.000000e+01, float %57, float %60) %62 = load ptr, ptr %3, align 8 store float %61, ptr %62, align 4 br label %63 63: ; preds = %55 %64 = call i32 (...) @getch() store i32 %64, ptr %4, align 4 %65 = load i32, ptr %4, align 4 %66 = call i64 @isdigit(i32 noundef %65) %67 = icmp ne i64 %66, 0 br i1 %67, label %55, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %63 br label %68 68: ; preds = %._crit_edge, %50 %69 = load i32, ptr %4, align 4 %70 = icmp eq i32 %69, 46 br i1 %70, label %71, label %103 71: ; preds = %68 store i32 0, ptr %6, align 4 %72 = call i32 (...) @getch() store i32 %72, ptr %4, align 4 %73 = load i32, ptr %4, align 4 %74 = call i64 @isdigit(i32 noundef %73) %75 = icmp ne i64 %74, 0 br i1 %75, label %.lr.ph2, label %91 .lr.ph2: ; preds = %71 br label %76 76: ; preds = %.lr.ph2, %84 %77 = load ptr, ptr %3, align 8 %78 = load float, ptr %77, align 4 %79 = load i32, ptr %4, align 4 %80 = sub nsw i32 %79, 48 %81 = sitofp i32 %80 to float %82 = call float @llvm.fmuladd.f32(float 1.000000e+01, float %78, float %81) %83 = load ptr, ptr %3, align 8 store float %82, ptr %83, align 4 br label %84 84: ; preds = %76 %85 = call i32 (...) @getch() store i32 %85, ptr %4, align 4 %86 = load i32, ptr %6, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %6, align 4 %88 = load i32, ptr %4, align 4 %89 = call i64 @isdigit(i32 noundef %88) %90 = icmp ne i64 %89, 0 br i1 %90, label %76, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %84 br label %91 91: ; preds = %._crit_edge3, %71 %92 = load i32, ptr %6, align 4 %93 = icmp ne i32 %92, 0 br i1 %93, label %.lr.ph5, label %102 .lr.ph5: ; preds = %91 br label %94 94: ; preds = %.lr.ph5, %94 %95 = load ptr, ptr %3, align 8 %96 = load float, ptr %95, align 4 %97 = fdiv float %96, 1.000000e+01 store float %97, ptr %95, align 4 %98 = load i32, ptr %6, align 4 %99 = add nsw i32 %98, -1 store i32 %99, ptr %6, align 4 %100 = load i32, ptr %6, align 4 %101 = icmp ne i32 %100, 0 br i1 %101, label %94, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %94 br label %102 102: ; preds = %._crit_edge6, %91 br label %103 103: ; preds = %102, %68 %104 = load i32, ptr %5, align 4 %105 = sitofp i32 %104 to float %106 = load ptr, ptr %3, align 8 %107 = load float, ptr %106, align 4 %108 = fmul float %107, %105 store float %108, ptr %106, align 4 %109 = load i32, ptr %4, align 4 %110 = load i32, ptr @EOF, align 4 %111 = icmp ne i32 %109, %110 br i1 %111, label %112, label %115 112: ; preds = %103 %113 = load i32, ptr %4, align 4 %114 = call i32 @ungetch(i32 noundef %113) br label %115 115: ; preds = %112, %103 %116 = load ptr, ptr %3, align 8 %117 = load float, ptr %116, align 4 store float %117, ptr %2, align 4 br label %118 118: ; preds = %115, %35, %15 %119 = load float, ptr %2, align 4 ret float %119 } declare i64 @isspace(i32 noundef) #1 declare i32 @getch(...) #1 declare i64 @isdigit(i32 noundef) #1 declare i32 @ungetch(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpn8gvafqf.c' source_filename = "/tmp/tmpn8gvafqf.c" target datalayout = "e-m:e-p270: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/tmpn8gvafqf.c" target datalayout = "e-m:e-p270: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/tmpb7lq83yg.c' source_filename = "/tmp/tmpb7lq83yg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"The strings %s and %s have a common prefix\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @validate_replacement_strings(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 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 %8 8: ; preds = %115, %2 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp ult i32 %9, %10 br i1 %11, label %12, label %118 12: ; preds = %8 %13 = load i32, ptr %5, align 4 %14 = add i32 %13, 1 store i32 %14, ptr %6, align 4 br label %15 15: ; preds = %111, %12 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp ult i32 %16, %17 br i1 %18, label %19, label %114 19: ; preds = %15 store i32 0, ptr %7, align 4 br label %20 20: ; preds = %107, %19 %21 = load ptr, ptr %3, align 8 %22 = load i32, ptr %5, align 4 %23 = zext i32 %22 to i64 %24 = getelementptr inbounds ptr, ptr %21, i64 %23 %25 = load ptr, ptr %24, align 8 %26 = load i32, ptr %7, align 4 %27 = zext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = load i8, ptr %28, align 1 %30 = zext i8 %29 to i32 %31 = load ptr, ptr %3, align 8 %32 = load i32, ptr %6, align 4 %33 = zext i32 %32 to i64 %34 = getelementptr inbounds ptr, ptr %31, i64 %33 %35 = load ptr, ptr %34, align 8 %36 = load i32, ptr %7, align 4 %37 = zext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = zext i8 %39 to i32 %41 = icmp eq i32 %30, %40 br i1 %41, label %68, label %42 42: ; preds = %20 %43 = load ptr, ptr %3, align 8 %44 = load i32, ptr %5, align 4 %45 = zext i32 %44 to i64 %46 = getelementptr inbounds ptr, ptr %43, i64 %45 %47 = load ptr, ptr %46, align 8 %48 = load i32, ptr %7, align 4 %49 = zext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %47, i64 %49 %51 = load i8, ptr %50, align 1 %52 = zext i8 %51 to i32 %53 = icmp eq i32 %52, 0 br i1 %53, label %66, label %54 54: ; preds = %42 %55 = load ptr, ptr %3, align 8 %56 = load i32, ptr %6, align 4 %57 = zext i32 %56 to i64 %58 = getelementptr inbounds ptr, ptr %55, i64 %57 %59 = load ptr, ptr %58, align 8 %60 = load i32, ptr %7, align 4 %61 = zext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 %63 = load i8, ptr %62, align 1 %64 = zext i8 %63 to i32 %65 = icmp eq i32 %64, 0 br label %66 66: ; preds = %54, %42 %67 = phi i1 [ true, %42 ], [ %65, %54 ] br label %68 68: ; preds = %66, %20 %69 = phi i1 [ true, %20 ], [ %67, %66 ] br i1 %69, label %70, label %110 70: ; preds = %68 %71 = load ptr, ptr %3, align 8 %72 = load i32, ptr %5, align 4 %73 = zext i32 %72 to i64 %74 = getelementptr inbounds ptr, ptr %71, i64 %73 %75 = load ptr, ptr %74, align 8 %76 = load i32, ptr %7, align 4 %77 = zext i32 %76 to i64 %78 = getelementptr inbounds i8, ptr %75, i64 %77 %79 = load i8, ptr %78, align 1 %80 = zext i8 %79 to i32 %81 = icmp eq i32 %80, 0 br i1 %81, label %94, label %82 82: ; preds = %70 %83 = load ptr, ptr %3, align 8 %84 = load i32, ptr %6, align 4 %85 = zext i32 %84 to i64 %86 = getelementptr inbounds ptr, ptr %83, i64 %85 %87 = load ptr, ptr %86, align 8 %88 = load i32, ptr %7, align 4 %89 = zext i32 %88 to i64 %90 = getelementptr inbounds i8, ptr %87, i64 %89 %91 = load i8, ptr %90, align 1 %92 = zext i8 %91 to i32 %93 = icmp eq i32 %92, 0 br i1 %93, label %94, label %107 94: ; preds = %82, %70 %95 = load ptr, ptr %3, align 8 %96 = load i32, ptr %5, align 4 %97 = zext i32 %96 to i64 %98 = getelementptr inbounds ptr, ptr %95, i64 %97 %99 = load ptr, ptr %98, align 8 %100 = load ptr, ptr %3, align 8 %101 = load i32, ptr %6, align 4 %102 = zext i32 %101 to i64 %103 = getelementptr inbounds ptr, ptr %100, i64 %102 %104 = load ptr, ptr %103, align 8 %105 = call i32 @printf(ptr noundef @.str, ptr noundef %99, ptr noundef %104) %106 = call i32 @assert(i32 noundef 0) br label %107 107: ; preds = %94, %82 %108 = load i32, ptr %7, align 4 %109 = add i32 %108, 1 store i32 %109, ptr %7, align 4 br label %20, !llvm.loop !6 110: ; preds = %68 br label %111 111: ; preds = %110 %112 = load i32, ptr %6, align 4 %113 = add i32 %112, 1 store i32 %113, ptr %6, align 4 br label %15, !llvm.loop !8 114: ; preds = %15 br label %115 115: ; preds = %114 %116 = load i32, ptr %5, align 4 %117 = add i32 %116, 1 store i32 %117, ptr %5, align 4 br label %8, !llvm.loop !9 118: ; preds = %8 ret void } declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb7lq83yg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"The strings %s and %s have a common prefix\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @validate_replacement_strings(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 i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp ult i32 %8, %9 br i1 %10, label %.lr.ph2, label %122 .lr.ph2: ; preds = %2 br label %11 11: ; preds = %.lr.ph2, %116 %12 = load i32, ptr %5, align 4 %13 = add i32 %12, 1 store i32 %13, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp ult i32 %14, %15 br i1 %16, label %.lr.ph, label %115 .lr.ph: ; preds = %11 br label %17 17: ; preds = %.lr.ph, %109 store i32 0, ptr %7, align 4 br label %18 18: ; preds = %105, %17 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %5, align 4 %21 = zext i32 %20 to i64 %22 = getelementptr inbounds ptr, ptr %19, i64 %21 %23 = load ptr, ptr %22, align 8 %24 = load i32, ptr %7, align 4 %25 = zext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i8, ptr %26, align 1 %28 = zext i8 %27 to i32 %29 = load ptr, ptr %3, align 8 %30 = load i32, ptr %6, align 4 %31 = zext i32 %30 to i64 %32 = getelementptr inbounds ptr, ptr %29, i64 %31 %33 = load ptr, ptr %32, align 8 %34 = load i32, ptr %7, align 4 %35 = zext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 %37 = load i8, ptr %36, align 1 %38 = zext i8 %37 to i32 %39 = icmp eq i32 %28, %38 br i1 %39, label %66, label %40 40: ; preds = %18 %41 = load ptr, ptr %3, align 8 %42 = load i32, ptr %5, align 4 %43 = zext i32 %42 to i64 %44 = getelementptr inbounds ptr, ptr %41, i64 %43 %45 = load ptr, ptr %44, align 8 %46 = load i32, ptr %7, align 4 %47 = zext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %45, i64 %47 %49 = load i8, ptr %48, align 1 %50 = zext i8 %49 to i32 %51 = icmp eq i32 %50, 0 br i1 %51, label %64, label %52 52: ; preds = %40 %53 = load ptr, ptr %3, align 8 %54 = load i32, ptr %6, align 4 %55 = zext i32 %54 to i64 %56 = getelementptr inbounds ptr, ptr %53, i64 %55 %57 = load ptr, ptr %56, align 8 %58 = load i32, ptr %7, align 4 %59 = zext i32 %58 to i64 %60 = getelementptr inbounds i8, ptr %57, i64 %59 %61 = load i8, ptr %60, align 1 %62 = zext i8 %61 to i32 %63 = icmp eq i32 %62, 0 br label %64 64: ; preds = %52, %40 %65 = phi i1 [ true, %40 ], [ %63, %52 ] br label %66 66: ; preds = %64, %18 %67 = phi i1 [ true, %18 ], [ %65, %64 ] br i1 %67, label %68, label %108 68: ; preds = %66 %69 = load ptr, ptr %3, align 8 %70 = load i32, ptr %5, align 4 %71 = zext i32 %70 to i64 %72 = getelementptr inbounds ptr, ptr %69, i64 %71 %73 = load ptr, ptr %72, align 8 %74 = load i32, ptr %7, align 4 %75 = zext i32 %74 to i64 %76 = getelementptr inbounds i8, ptr %73, i64 %75 %77 = load i8, ptr %76, align 1 %78 = zext i8 %77 to i32 %79 = icmp eq i32 %78, 0 br i1 %79, label %92, label %80 80: ; preds = %68 %81 = load ptr, ptr %3, align 8 %82 = load i32, ptr %6, align 4 %83 = zext i32 %82 to i64 %84 = getelementptr inbounds ptr, ptr %81, i64 %83 %85 = load ptr, ptr %84, align 8 %86 = load i32, ptr %7, align 4 %87 = zext i32 %86 to i64 %88 = getelementptr inbounds i8, ptr %85, i64 %87 %89 = load i8, ptr %88, align 1 %90 = zext i8 %89 to i32 %91 = icmp eq i32 %90, 0 br i1 %91, label %92, label %105 92: ; preds = %80, %68 %93 = load ptr, ptr %3, align 8 %94 = load i32, ptr %5, align 4 %95 = zext i32 %94 to i64 %96 = getelementptr inbounds ptr, ptr %93, i64 %95 %97 = load ptr, ptr %96, align 8 %98 = load ptr, ptr %3, align 8 %99 = load i32, ptr %6, align 4 %100 = zext i32 %99 to i64 %101 = getelementptr inbounds ptr, ptr %98, i64 %100 %102 = load ptr, ptr %101, align 8 %103 = call i32 @printf(ptr noundef @.str, ptr noundef %97, ptr noundef %102) %104 = call i32 @assert(i32 noundef 0) br label %105 105: ; preds = %92, %80 %106 = load i32, ptr %7, align 4 %107 = add i32 %106, 1 store i32 %107, ptr %7, align 4 br label %18, !llvm.loop !6 108: ; preds = %66 br label %109 109: ; preds = %108 %110 = load i32, ptr %6, align 4 %111 = add i32 %110, 1 store i32 %111, ptr %6, align 4 %112 = load i32, ptr %6, align 4 %113 = load i32, ptr %4, align 4 %114 = icmp ult i32 %112, %113 br i1 %114, label %17, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %109 br label %115 115: ; preds = %._crit_edge, %11 br label %116 116: ; preds = %115 %117 = load i32, ptr %5, align 4 %118 = add i32 %117, 1 store i32 %118, ptr %5, align 4 %119 = load i32, ptr %5, align 4 %120 = load i32, ptr %4, align 4 %121 = icmp ult i32 %119, %120 br i1 %121, label %11, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %116 br label %122 122: ; preds = %._crit_edge3, %2 ret void } declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpv7_x_734.c' source_filename = "/tmp/tmpv7_x_734.c" target datalayout = "e-m:e-p270: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\09\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%s%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @count_to_ten(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [100 x i8], align 16 %6 = alloca [20 x i8], align 16 %7 = alloca i32, align 4 store ptr %0, ptr %2, align 8 call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 20, i1 false) %8 = load ptr, ptr %2, align 8 %9 = load i32, ptr %8, align 4 store i32 %9, ptr %7, align 4 store i32 0, ptr %4, align 4 br label %10 10: ; preds = %18, %1 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %21 14: ; preds = %10 %15 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %16 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %17 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %15, ptr noundef @.str, ptr noundef %16) br label %18 18: ; preds = %14 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %4, align 4 br label %10, !llvm.loop !6 21: ; preds = %10 store i32 0, ptr %3, align 4 br label %22 22: ; preds = %35, %21 %23 = load i32, ptr %3, align 4 %24 = icmp slt i32 %23, 10 br i1 %24, label %25, label %38 25: ; preds = %22 %26 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %27 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %28 = load i32, ptr %3, align 4 %29 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %26, ptr noundef @.str.1, ptr noundef %27, i32 noundef %28) %30 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %31 = call i32 @printf(ptr noundef @.str.2, ptr noundef %30) %32 = load i32, ptr @stdout, align 4 %33 = call i32 @fflush(i32 noundef %32) %34 = call i32 @sleep(i32 noundef 1) br label %35 35: ; preds = %25 %36 = load i32, ptr %3, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %3, align 4 br label %22, !llvm.loop !8 38: ; preds = %22 ret ptr null } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ...) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 declare i32 @fflush(i32 noundef) #2 declare i32 @sleep(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpv7_x_734.c" target datalayout = "e-m:e-p270: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\09\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%s%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @count_to_ten(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [100 x i8], align 16 %6 = alloca [20 x i8], align 16 %7 = alloca i32, align 4 store ptr %0, ptr %2, align 8 call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 20, i1 false) %8 = load ptr, ptr %2, align 8 %9 = load i32, ptr %8, align 4 store i32 %9, ptr %7, align 4 store i32 0, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %23 .lr.ph: ; preds = %1 br label %13 13: ; preds = %.lr.ph, %17 %14 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %15 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %16 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %14, ptr noundef @.str, ptr noundef %15) br label %17 17: ; preds = %13 %18 = load i32, ptr %4, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %4, align 4 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %7, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %23 23: ; preds = %._crit_edge, %1 store i32 0, ptr %3, align 4 %24 = load i32, ptr %3, align 4 %25 = icmp slt i32 %24, 10 br i1 %25, label %.lr.ph2, label %41 .lr.ph2: ; preds = %23 br label %26 26: ; preds = %.lr.ph2, %36 %27 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %28 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %29 = load i32, ptr %3, align 4 %30 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %27, ptr noundef @.str.1, ptr noundef %28, i32 noundef %29) %31 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %32 = call i32 @printf(ptr noundef @.str.2, ptr noundef %31) %33 = load i32, ptr @stdout, align 4 %34 = call i32 @fflush(i32 noundef %33) %35 = call i32 @sleep(i32 noundef 1) br label %36 36: ; preds = %26 %37 = load i32, ptr %3, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %3, align 4 %39 = load i32, ptr %3, align 4 %40 = icmp slt i32 %39, 10 br i1 %40, label %26, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %36 br label %41 41: ; preds = %._crit_edge3, %23 ret ptr null } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ...) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 declare i32 @fflush(i32 noundef) #2 declare i32 @sleep(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp_ta_kx6i.c' source_filename = "/tmp/tmp_ta_kx6i.c" target datalayout = "e-m:e-p270: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/tmp_ta_kx6i.c" target datalayout = "e-m:e-p270: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/tmpxfs0j7pz.c' source_filename = "/tmp/tmpxfs0j7pz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%*[^\0A]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @vider_stdin() #0 { %1 = call i32 @scanf(ptr noundef @.str) %2 = call i32 (...) @getchar() ret void } declare i32 @scanf(ptr noundef) #1 declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxfs0j7pz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%*[^\0A]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @vider_stdin() #0 { %1 = call i32 @scanf(ptr noundef @.str) %2 = call i32 (...) @getchar() ret void } declare i32 @scanf(ptr noundef) #1 declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3msqy6tx.c' source_filename = "/tmp/tmp3msqy6tx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rgamma(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca double, align 8 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 %16 = load double, ptr %5, align 8 %17 = fdiv double 1.000000e+00, %16 store double %17, ptr %6, align 8 %18 = load double, ptr %4, align 8 %19 = call i32 @floor(double noundef %18) store i32 %19, ptr %7, align 4 store double 0.000000e+00, ptr %8, align 8 store i32 0, ptr %9, align 4 br label %20 20: ; preds = %30, %2 %21 = load i32, ptr %9, align 4 %22 = load i32, ptr %7, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %33 24: ; preds = %20 %25 = load double, ptr %8, align 8 %26 = call double (...) @runif() %27 = call i32 @log(double noundef %26) %28 = sitofp i32 %27 to double %29 = fsub double %25, %28 store double %29, ptr %8, align 8 br label %30 30: ; preds = %24 %31 = load i32, ptr %9, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %9, align 4 br label %20, !llvm.loop !6 33: ; preds = %20 %34 = load i32, ptr %7, align 4 %35 = sitofp i32 %34 to double %36 = load double, ptr %4, align 8 %37 = fcmp oeq double %35, %36 br i1 %37, label %38, label %42 38: ; preds = %33 %39 = load double, ptr %6, align 8 %40 = load double, ptr %8, align 8 %41 = fmul double %39, %40 store double %41, ptr %3, align 8 br label %97 42: ; preds = %33 %43 = load double, ptr %4, align 8 %44 = load i32, ptr %7, align 4 %45 = sitofp i32 %44 to double %46 = fsub double %43, %45 store double %46, ptr %15, align 8 br label %47 47: ; preds = %80, %42 %48 = call double (...) @runif() store double %48, ptr %10, align 8 %49 = call double (...) @runif() store double %49, ptr %11, align 8 %50 = call double (...) @runif() store double %50, ptr %12, align 8 %51 = load double, ptr %10, align 8 %52 = call double @exp(double noundef 1.000000e+00) #3 %53 = call double @exp(double noundef 1.000000e+00) #3 %54 = load double, ptr %15, align 8 %55 = fadd double %53, %54 %56 = fdiv double %52, %55 %57 = fcmp ole double %51, %56 br i1 %57, label %58, label %69 58: ; preds = %47 %59 = load double, ptr %11, align 8 %60 = load double, ptr %15, align 8 %61 = fdiv double 1.000000e+00, %60 %62 = call double @pow(double noundef %59, double noundef %61) #3 store double %62, ptr %13, align 8 %63 = load double, ptr %12, align 8 %64 = load double, ptr %13, align 8 %65 = load double, ptr %15, align 8 %66 = fsub double %65, 1.000000e+00 %67 = call double @pow(double noundef %64, double noundef %66) #3 %68 = fmul double %63, %67 store double %68, ptr %14, align 8 br label %79 69: ; preds = %47 %70 = load double, ptr %11, align 8 %71 = call i32 @log(double noundef %70) %72 = sub nsw i32 1, %71 %73 = sitofp i32 %72 to double store double %73, ptr %13, align 8 %74 = load double, ptr %12, align 8 %75 = load double, ptr %13, align 8 %76 = fneg double %75 %77 = call double @exp(double noundef %76) #3 %78 = fmul double %74, %77 store double %78, ptr %14, align 8 br label %79 79: ; preds = %69, %58 br label %80 80: ; preds = %79 %81 = load double, ptr %14, align 8 %82 = load double, ptr %13, align 8 %83 = load double, ptr %15, align 8 %84 = fsub double %83, 1.000000e+00 %85 = call double @pow(double noundef %82, double noundef %84) #3 %86 = load double, ptr %13, align 8 %87 = fneg double %86 %88 = call double @exp(double noundef %87) #3 %89 = fmul double %85, %88 %90 = fcmp ogt double %81, %89 br i1 %90, label %47, label %91, !llvm.loop !8 91: ; preds = %80 %92 = load double, ptr %6, align 8 %93 = load double, ptr %13, align 8 %94 = load double, ptr %8, align 8 %95 = fadd double %93, %94 %96 = fmul double %92, %95 store double %96, ptr %3, align 8 br label %97 97: ; preds = %91, %38 %98 = load double, ptr %3, align 8 ret double %98 } declare i32 @floor(double noundef) #1 declare i32 @log(double noundef) #1 declare double @runif(...) #1 ; Function Attrs: nounwind declare double @exp(double noundef) #2 ; Function Attrs: nounwind declare double @pow(double noundef, double 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3msqy6tx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rgamma(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca double, align 8 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 %16 = load double, ptr %5, align 8 %17 = fdiv double 1.000000e+00, %16 store double %17, ptr %6, align 8 %18 = load double, ptr %4, align 8 %19 = call i32 @floor(double noundef %18) store i32 %19, ptr %7, align 4 store double 0.000000e+00, ptr %8, align 8 store i32 0, ptr %9, align 4 %20 = load i32, ptr %9, align 4 %21 = load i32, ptr %7, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph, label %35 .lr.ph: ; preds = %2 br label %23 23: ; preds = %.lr.ph, %29 %24 = load double, ptr %8, align 8 %25 = call double (...) @runif() %26 = call i32 @log(double noundef %25) %27 = sitofp i32 %26 to double %28 = fsub double %24, %27 store double %28, ptr %8, align 8 br label %29 29: ; preds = %23 %30 = load i32, ptr %9, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %9, align 4 %32 = load i32, ptr %9, align 4 %33 = load i32, ptr %7, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %2 %36 = load i32, ptr %7, align 4 %37 = sitofp i32 %36 to double %38 = load double, ptr %4, align 8 %39 = fcmp oeq double %37, %38 br i1 %39, label %40, label %44 40: ; preds = %35 %41 = load double, ptr %6, align 8 %42 = load double, ptr %8, align 8 %43 = fmul double %41, %42 store double %43, ptr %3, align 8 br label %99 44: ; preds = %35 %45 = load double, ptr %4, align 8 %46 = load i32, ptr %7, align 4 %47 = sitofp i32 %46 to double %48 = fsub double %45, %47 store double %48, ptr %15, align 8 br label %49 49: ; preds = %82, %44 %50 = call double (...) @runif() store double %50, ptr %10, align 8 %51 = call double (...) @runif() store double %51, ptr %11, align 8 %52 = call double (...) @runif() store double %52, ptr %12, align 8 %53 = load double, ptr %10, align 8 %54 = call double @exp(double noundef 1.000000e+00) #3 %55 = call double @exp(double noundef 1.000000e+00) #3 %56 = load double, ptr %15, align 8 %57 = fadd double %55, %56 %58 = fdiv double %54, %57 %59 = fcmp ole double %53, %58 br i1 %59, label %60, label %71 60: ; preds = %49 %61 = load double, ptr %11, align 8 %62 = load double, ptr %15, align 8 %63 = fdiv double 1.000000e+00, %62 %64 = call double @pow(double noundef %61, double noundef %63) #3 store double %64, ptr %13, align 8 %65 = load double, ptr %12, align 8 %66 = load double, ptr %13, align 8 %67 = load double, ptr %15, align 8 %68 = fsub double %67, 1.000000e+00 %69 = call double @pow(double noundef %66, double noundef %68) #3 %70 = fmul double %65, %69 store double %70, ptr %14, align 8 br label %81 71: ; preds = %49 %72 = load double, ptr %11, align 8 %73 = call i32 @log(double noundef %72) %74 = sub nsw i32 1, %73 %75 = sitofp i32 %74 to double store double %75, ptr %13, align 8 %76 = load double, ptr %12, align 8 %77 = load double, ptr %13, align 8 %78 = fneg double %77 %79 = call double @exp(double noundef %78) #3 %80 = fmul double %76, %79 store double %80, ptr %14, align 8 br label %81 81: ; preds = %71, %60 br label %82 82: ; preds = %81 %83 = load double, ptr %14, align 8 %84 = load double, ptr %13, align 8 %85 = load double, ptr %15, align 8 %86 = fsub double %85, 1.000000e+00 %87 = call double @pow(double noundef %84, double noundef %86) #3 %88 = load double, ptr %13, align 8 %89 = fneg double %88 %90 = call double @exp(double noundef %89) #3 %91 = fmul double %87, %90 %92 = fcmp ogt double %83, %91 br i1 %92, label %49, label %93, !llvm.loop !8 93: ; preds = %82 %94 = load double, ptr %6, align 8 %95 = load double, ptr %13, align 8 %96 = load double, ptr %8, align 8 %97 = fadd double %95, %96 %98 = fmul double %94, %97 store double %98, ptr %3, align 8 br label %99 99: ; preds = %93, %40 %100 = load double, ptr %3, align 8 ret double %100 } declare i32 @floor(double noundef) #1 declare i32 @log(double noundef) #1 declare double @runif(...) #1 ; Function Attrs: nounwind declare double @exp(double noundef) #2 ; Function Attrs: nounwind declare double @pow(double noundef, double 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp27cd69n4.c' source_filename = "/tmp/tmp27cd69n4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @DT_DIR = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp27cd69n4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @DT_DIR = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphiqoqbk1.c' source_filename = "/tmp/tmphiqoqbk1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"Vetor:\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"Ordenado:\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 [5000 x i32], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %4 = getelementptr inbounds [5000 x i32], ptr %3, i64 0, i64 0 %5 = call i64 @carregarray(ptr noundef %4, ptr noundef %2) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %0 store i32 -1, ptr %1, align 4 br label %21 8: ; preds = %0 %9 = call i32 @printf(ptr noundef @.str) %10 = getelementptr inbounds [5000 x i32], ptr %3, i64 0, i64 0 %11 = load i32, ptr %2, align 4 %12 = call i32 @mostra(ptr noundef %10, i32 noundef %11) %13 = call i32 @printf(ptr noundef @.str.1) %14 = getelementptr inbounds [5000 x i32], ptr %3, i64 0, i64 0 %15 = load i32, ptr %2, align 4 %16 = sub nsw i32 %15, 1 %17 = call i32 @quicksort(ptr noundef %14, i32 noundef 0, i32 noundef %16) %18 = getelementptr inbounds [5000 x i32], ptr %3, i64 0, i64 0 %19 = load i32, ptr %2, align 4 %20 = call i32 @mostra(ptr noundef %18, i32 noundef %19) store i32 0, ptr %1, align 4 br label %21 21: ; preds = %8, %7 %22 = load i32, ptr %1, align 4 ret i32 %22 } declare i64 @carregarray(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @mostra(ptr noundef, i32 noundef) #1 declare i32 @quicksort(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphiqoqbk1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"Vetor:\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"Ordenado:\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 [5000 x i32], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %4 = getelementptr inbounds [5000 x i32], ptr %3, i64 0, i64 0 %5 = call i64 @carregarray(ptr noundef %4, ptr noundef %2) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %0 store i32 -1, ptr %1, align 4 br label %21 8: ; preds = %0 %9 = call i32 @printf(ptr noundef @.str) %10 = getelementptr inbounds [5000 x i32], ptr %3, i64 0, i64 0 %11 = load i32, ptr %2, align 4 %12 = call i32 @mostra(ptr noundef %10, i32 noundef %11) %13 = call i32 @printf(ptr noundef @.str.1) %14 = getelementptr inbounds [5000 x i32], ptr %3, i64 0, i64 0 %15 = load i32, ptr %2, align 4 %16 = sub nsw i32 %15, 1 %17 = call i32 @quicksort(ptr noundef %14, i32 noundef 0, i32 noundef %16) %18 = getelementptr inbounds [5000 x i32], ptr %3, i64 0, i64 0 %19 = load i32, ptr %2, align 4 %20 = call i32 @mostra(ptr noundef %18, i32 noundef %19) store i32 0, ptr %1, align 4 br label %21 21: ; preds = %8, %7 %22 = load i32, ptr %1, align 4 ret i32 %22 } declare i64 @carregarray(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @mostra(ptr noundef, i32 noundef) #1 declare i32 @quicksort(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"}
; ModuleID = '/tmp/tmps6ylid89.c' source_filename = "/tmp/tmps6ylid89.c" target datalayout = "e-m:e-p270: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/tmps6ylid89.c" target datalayout = "e-m:e-p270: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/tmpr_5a4yqw.c' source_filename = "/tmp/tmpr_5a4yqw.c" target datalayout = "e-m:e-p270: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/tmpr_5a4yqw.c" target datalayout = "e-m:e-p270: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/tmpwz8gw451.c' source_filename = "/tmp/tmpwz8gw451.c" target datalayout = "e-m:e-p270: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 [138 x i8] c"\0AYou are in room [%d,%d]of the CAVE.\0AThe computer can either shoot, turn or move.\0APress[Enter] To have the computer execute it next Move\0A\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @myPause(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 = add nsw i32 %5, 1 %7 = load i32, ptr %4, align 4 %8 = add nsw i32 %7, 1 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %8) %10 = load i32, ptr @stdout, align 4 %11 = call i32 @fflush(i32 noundef %10) %12 = call i32 (...) @getchar() ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwz8gw451.c" target datalayout = "e-m:e-p270: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 [138 x i8] c"\0AYou are in room [%d,%d]of the CAVE.\0AThe computer can either shoot, turn or move.\0APress[Enter] To have the computer execute it next Move\0A\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @myPause(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 = add nsw i32 %5, 1 %7 = load i32, ptr %4, align 4 %8 = add nsw i32 %7, 1 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %8) %10 = load i32, ptr @stdout, align 4 %11 = call i32 @fflush(i32 noundef %10) %12 = call i32 (...) @getchar() ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj9nsdwfm.c' source_filename = "/tmp/tmpj9nsdwfm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 34, ptr %3, align 4 %4 = call i32 @assert(i32 noundef 1) %5 = load i32, ptr %2, align 4 %6 = icmp eq i32 %5, 0 %7 = zext i1 %6 to i32 %8 = call i32 @assert(i32 noundef %7) %9 = load i32, ptr %3, align 4 %10 = icmp eq i32 %9, 34 %11 = zext i1 %10 to i32 %12 = call i32 @assert(i32 noundef %11) store i32 23, ptr %2, align 4 %13 = call i32 @assert(i32 noundef 1) %14 = load i32, ptr %2, align 4 %15 = icmp eq i32 %14, 23 %16 = zext i1 %15 to i32 %17 = call i32 @assert(i32 noundef %16) %18 = load i32, ptr %3, align 4 %19 = icmp eq i32 %18, 34 %20 = zext i1 %19 to i32 %21 = call i32 @assert(i32 noundef %20) ret i32 0 } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj9nsdwfm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 34, ptr %3, align 4 %4 = call i32 @assert(i32 noundef 1) %5 = load i32, ptr %2, align 4 %6 = icmp eq i32 %5, 0 %7 = zext i1 %6 to i32 %8 = call i32 @assert(i32 noundef %7) %9 = load i32, ptr %3, align 4 %10 = icmp eq i32 %9, 34 %11 = zext i1 %10 to i32 %12 = call i32 @assert(i32 noundef %11) store i32 23, ptr %2, align 4 %13 = call i32 @assert(i32 noundef 1) %14 = load i32, ptr %2, align 4 %15 = icmp eq i32 %14, 23 %16 = zext i1 %15 to i32 %17 = call i32 @assert(i32 noundef %16) %18 = load i32, ptr %3, align 4 %19 = icmp eq i32 %18, 34 %20 = zext i1 %19 to i32 %21 = call i32 @assert(i32 noundef %20) ret i32 0 } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5h4c61gh.c' source_filename = "/tmp/tmp5h4c61gh.c" target datalayout = "e-m:e-p270: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"Enter first value\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"Enter second value\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"Enter third value\0A\00", align 1 @.str.4 = private unnamed_addr constant [37 x i8] c"Illustrate the following operators:\0A\00", align 1 @.str.5 = private unnamed_addr constant [37 x i8] c"Arithmetic operators: +, -, *, /, %\0A\00", align 1 @.str.6 = private unnamed_addr constant [15 x i8] c"\0A%d + %d = %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [14 x i8] c"%d - %d = %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [14 x i8] c"%d * %d = %d\0A\00", align 1 @.str.9 = private unnamed_addr constant [14 x i8] c"%d / %d = %g\0A\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c"%d %% %d = %d\0A\0A\00", align 1 @.str.11 = private unnamed_addr constant [57 x i8] c"Relational operators: (1=true, 0=false)\0A<\09>\09<=\09>=\09==\09!=\0A\00", align 1 @.str.12 = private unnamed_addr constant [21 x i8] c"%d\09%d\09%d\09%d\09%d\09%d\09\0A\0A\00", align 1 @.str.13 = private unnamed_addr constant [34 x i8] c"Logical operators: &&, ||, and !\0A\00", align 1 @.str.14 = private unnamed_addr constant [36 x i8] c"Testing && operator\0Aif a-b>0&&c>=0\0A\00", align 1 @.str.15 = private unnamed_addr constant [7 x i8] c"true\0A\0A\00", align 1 @.str.16 = private unnamed_addr constant [8 x i8] c"false\0A\0A\00", align 1 @.str.17 = private unnamed_addr constant [36 x i8] c"Testing && operator\0Aif a-b>0||c>=0\0A\00", align 1 @.str.18 = private unnamed_addr constant [38 x i8] c"Testing ! operator\0Aif a-b>0||!(c>=0)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca double, align 8 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca [6 x i32], align 16 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 24, i1 false) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %17 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %20 = load i32, ptr %2, align 4 %21 = sitofp i32 %20 to double store double %21, ptr %10, align 8 %22 = load i32, ptr %2, align 4 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %22, %23 store i32 %24, ptr %5, align 4 %25 = load i32, ptr %2, align 4 %26 = load i32, ptr %3, align 4 %27 = sub nsw i32 %25, %26 store i32 %27, ptr %6, align 4 %28 = load i32, ptr %2, align 4 %29 = load i32, ptr %3, align 4 %30 = mul nsw i32 %28, %29 store i32 %30, ptr %7, align 4 %31 = load double, ptr %10, align 8 %32 = load i32, ptr %3, align 4 %33 = sitofp i32 %32 to double %34 = fdiv double %31, %33 store double %34, ptr %8, align 8 %35 = load i32, ptr %2, align 4 %36 = load i32, ptr %3, align 4 %37 = srem i32 %35, %36 store i32 %37, ptr %9, align 4 %38 = load i32, ptr %2, align 4 %39 = load i32, ptr %3, align 4 %40 = load i32, ptr %5, align 4 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %38, i32 noundef %39, i32 noundef %40) %42 = load i32, ptr %2, align 4 %43 = load i32, ptr %3, align 4 %44 = load i32, ptr %6, align 4 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %42, i32 noundef %43, i32 noundef %44) %46 = load i32, ptr %2, align 4 %47 = load i32, ptr %3, align 4 %48 = load i32, ptr %7, align 4 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %46, i32 noundef %47, i32 noundef %48) %50 = load i32, ptr %2, align 4 %51 = load i32, ptr %3, align 4 %52 = load double, ptr %8, align 8 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %50, i32 noundef %51, double noundef %52) %54 = load i32, ptr %2, align 4 %55 = load i32, ptr %3, align 4 %56 = load i32, ptr %9, align 4 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %54, i32 noundef %55, i32 noundef %56) %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %59 = load i32, ptr %2, align 4 %60 = load i32, ptr %3, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %62, label %64 62: ; preds = %0 %63 = getelementptr inbounds [6 x i32], ptr %11, i64 0, i64 0 store i32 1, ptr %63, align 16 br label %64 64: ; preds = %62, %0 %65 = load i32, ptr %2, align 4 %66 = load i32, ptr %3, align 4 %67 = icmp sgt i32 %65, %66 br i1 %67, label %68, label %70 68: ; preds = %64 %69 = getelementptr inbounds [6 x i32], ptr %11, i64 0, i64 1 store i32 1, ptr %69, align 4 br label %70 70: ; preds = %68, %64 %71 = load i32, ptr %2, align 4 %72 = load i32, ptr %3, align 4 %73 = icmp sle i32 %71, %72 br i1 %73, label %74, label %76 74: ; preds = %70 %75 = getelementptr inbounds [6 x i32], ptr %11, i64 0, i64 2 store i32 1, ptr %75, align 8 br label %76 76: ; preds = %74, %70 %77 = load i32, ptr %2, align 4 %78 = load i32, ptr %3, align 4 %79 = icmp sge i32 %77, %78 br i1 %79, label %80, label %82 80: ; preds = %76 %81 = getelementptr inbounds [6 x i32], ptr %11, i64 0, i64 3 store i32 1, ptr %81, align 4 br label %82 82: ; preds = %80, %76 %83 = load i32, ptr %2, align 4 %84 = load i32, ptr %3, align 4 %85 = icmp eq i32 %83, %84 br i1 %85, label %86, label %88 86: ; preds = %82 %87 = getelementptr inbounds [6 x i32], ptr %11, i64 0, i64 4 store i32 1, ptr %87, align 16 br label %88 88: ; preds = %86, %82 %89 = load i32, ptr %2, align 4 %90 = load i32, ptr %3, align 4 %91 = icmp ne i32 %89, %90 br i1 %91, label %92, label %94 92: ; preds = %88 %93 = getelementptr inbounds [6 x i32], ptr %11, i64 0, i64 5 store i32 1, ptr %93, align 4 br label %94 94: ; preds = %92, %88 %95 = getelementptr inbounds [6 x i32], ptr %11, i64 0, i64 0 %96 = load i32, ptr %95, align 16 %97 = getelementptr inbounds [6 x i32], ptr %11, i64 0, i64 1 %98 = load i32, ptr %97, align 4 %99 = getelementptr inbounds [6 x i32], ptr %11, i64 0, i64 2 %100 = load i32, ptr %99, align 8 %101 = getelementptr inbounds [6 x i32], ptr %11, i64 0, i64 3 %102 = load i32, ptr %101, align 4 %103 = getelementptr inbounds [6 x i32], ptr %11, i64 0, i64 4 %104 = load i32, ptr %103, align 16 %105 = getelementptr inbounds [6 x i32], ptr %11, i64 0, i64 5 %106 = load i32, ptr %105, align 4 %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %96, i32 noundef %98, i32 noundef %100, i32 noundef %102, i32 noundef %104, i32 noundef %106) %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %110 = load i32, ptr %2, align 4 %111 = load i32, ptr %3, align 4 %112 = sub nsw i32 %110, %111 %113 = icmp sgt i32 %112, 0 br i1 %113, label %114, label %119 114: ; preds = %94 %115 = load i32, ptr %4, align 4 %116 = icmp sge i32 %115, 0 br i1 %116, label %117, label %119 117: ; preds = %114 %118 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) br label %121 119: ; preds = %114, %94 %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) br label %121 121: ; preds = %119, %117 %122 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) %123 = load i32, ptr %2, align 4 %124 = load i32, ptr %3, align 4 %125 = sub nsw i32 %123, %124 %126 = icmp sgt i32 %125, 0 br i1 %126, label %130, label %127 127: ; preds = %121 %128 = load i32, ptr %4, align 4 %129 = icmp sge i32 %128, 0 br i1 %129, label %130, label %132 130: ; preds = %127, %121 %131 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) br label %134 132: ; preds = %127 %133 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) br label %134 134: ; preds = %132, %130 %135 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %136 = load i32, ptr %2, align 4 %137 = load i32, ptr %3, align 4 %138 = sub nsw i32 %136, %137 %139 = icmp sgt i32 %138, 0 br i1 %139, label %143, label %140 140: ; preds = %134 %141 = load i32, ptr %4, align 4 %142 = icmp sge i32 %141, 0 br i1 %142, label %145, label %143 143: ; preds = %140, %134 %144 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) br label %147 145: ; preds = %140 %146 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) br label %147 147: ; preds = %145, %143 %148 = load i32, ptr %1, align 4 ret i32 %148 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare i32 @scanf(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5h4c61gh.c" target datalayout = "e-m:e-p270: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"Enter first value\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"Enter second value\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"Enter third value\0A\00", align 1 @.str.4 = private unnamed_addr constant [37 x i8] c"Illustrate the following operators:\0A\00", align 1 @.str.5 = private unnamed_addr constant [37 x i8] c"Arithmetic operators: +, -, *, /, %\0A\00", align 1 @.str.6 = private unnamed_addr constant [15 x i8] c"\0A%d + %d = %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [14 x i8] c"%d - %d = %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [14 x i8] c"%d * %d = %d\0A\00", align 1 @.str.9 = private unnamed_addr constant [14 x i8] c"%d / %d = %g\0A\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c"%d %% %d = %d\0A\0A\00", align 1 @.str.11 = private unnamed_addr constant [57 x i8] c"Relational operators: (1=true, 0=false)\0A<\09>\09<=\09>=\09==\09!=\0A\00", align 1 @.str.12 = private unnamed_addr constant [21 x i8] c"%d\09%d\09%d\09%d\09%d\09%d\09\0A\0A\00", align 1 @.str.13 = private unnamed_addr constant [34 x i8] c"Logical operators: &&, ||, and !\0A\00", align 1 @.str.14 = private unnamed_addr constant [36 x i8] c"Testing && operator\0Aif a-b>0&&c>=0\0A\00", align 1 @.str.15 = private unnamed_addr constant [7 x i8] c"true\0A\0A\00", align 1 @.str.16 = private unnamed_addr constant [8 x i8] c"false\0A\0A\00", align 1 @.str.17 = private unnamed_addr constant [36 x i8] c"Testing && operator\0Aif a-b>0||c>=0\0A\00", align 1 @.str.18 = private unnamed_addr constant [38 x i8] c"Testing ! operator\0Aif a-b>0||!(c>=0)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca double, align 8 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca [6 x i32], align 16 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 24, i1 false) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %17 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %20 = load i32, ptr %2, align 4 %21 = sitofp i32 %20 to double store double %21, ptr %10, align 8 %22 = load i32, ptr %2, align 4 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %22, %23 store i32 %24, ptr %5, align 4 %25 = load i32, ptr %2, align 4 %26 = load i32, ptr %3, align 4 %27 = sub nsw i32 %25, %26 store i32 %27, ptr %6, align 4 %28 = load i32, ptr %2, align 4 %29 = load i32, ptr %3, align 4 %30 = mul nsw i32 %28, %29 store i32 %30, ptr %7, align 4 %31 = load double, ptr %10, align 8 %32 = load i32, ptr %3, align 4 %33 = sitofp i32 %32 to double %34 = fdiv double %31, %33 store double %34, ptr %8, align 8 %35 = load i32, ptr %2, align 4 %36 = load i32, ptr %3, align 4 %37 = srem i32 %35, %36 store i32 %37, ptr %9, align 4 %38 = load i32, ptr %2, align 4 %39 = load i32, ptr %3, align 4 %40 = load i32, ptr %5, align 4 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %38, i32 noundef %39, i32 noundef %40) %42 = load i32, ptr %2, align 4 %43 = load i32, ptr %3, align 4 %44 = load i32, ptr %6, align 4 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %42, i32 noundef %43, i32 noundef %44) %46 = load i32, ptr %2, align 4 %47 = load i32, ptr %3, align 4 %48 = load i32, ptr %7, align 4 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %46, i32 noundef %47, i32 noundef %48) %50 = load i32, ptr %2, align 4 %51 = load i32, ptr %3, align 4 %52 = load double, ptr %8, align 8 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %50, i32 noundef %51, double noundef %52) %54 = load i32, ptr %2, align 4 %55 = load i32, ptr %3, align 4 %56 = load i32, ptr %9, align 4 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %54, i32 noundef %55, i32 noundef %56) %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %59 = load i32, ptr %2, align 4 %60 = load i32, ptr %3, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %62, label %64 62: ; preds = %0 %63 = getelementptr inbounds [6 x i32], ptr %11, i64 0, i64 0 store i32 1, ptr %63, align 16 br label %64 64: ; preds = %62, %0 %65 = load i32, ptr %2, align 4 %66 = load i32, ptr %3, align 4 %67 = icmp sgt i32 %65, %66 br i1 %67, label %68, label %70 68: ; preds = %64 %69 = getelementptr inbounds [6 x i32], ptr %11, i64 0, i64 1 store i32 1, ptr %69, align 4 br label %70 70: ; preds = %68, %64 %71 = load i32, ptr %2, align 4 %72 = load i32, ptr %3, align 4 %73 = icmp sle i32 %71, %72 br i1 %73, label %74, label %76 74: ; preds = %70 %75 = getelementptr inbounds [6 x i32], ptr %11, i64 0, i64 2 store i32 1, ptr %75, align 8 br label %76 76: ; preds = %74, %70 %77 = load i32, ptr %2, align 4 %78 = load i32, ptr %3, align 4 %79 = icmp sge i32 %77, %78 br i1 %79, label %80, label %82 80: ; preds = %76 %81 = getelementptr inbounds [6 x i32], ptr %11, i64 0, i64 3 store i32 1, ptr %81, align 4 br label %82 82: ; preds = %80, %76 %83 = load i32, ptr %2, align 4 %84 = load i32, ptr %3, align 4 %85 = icmp eq i32 %83, %84 br i1 %85, label %86, label %88 86: ; preds = %82 %87 = getelementptr inbounds [6 x i32], ptr %11, i64 0, i64 4 store i32 1, ptr %87, align 16 br label %88 88: ; preds = %86, %82 %89 = load i32, ptr %2, align 4 %90 = load i32, ptr %3, align 4 %91 = icmp ne i32 %89, %90 br i1 %91, label %92, label %94 92: ; preds = %88 %93 = getelementptr inbounds [6 x i32], ptr %11, i64 0, i64 5 store i32 1, ptr %93, align 4 br label %94 94: ; preds = %92, %88 %95 = getelementptr inbounds [6 x i32], ptr %11, i64 0, i64 0 %96 = load i32, ptr %95, align 16 %97 = getelementptr inbounds [6 x i32], ptr %11, i64 0, i64 1 %98 = load i32, ptr %97, align 4 %99 = getelementptr inbounds [6 x i32], ptr %11, i64 0, i64 2 %100 = load i32, ptr %99, align 8 %101 = getelementptr inbounds [6 x i32], ptr %11, i64 0, i64 3 %102 = load i32, ptr %101, align 4 %103 = getelementptr inbounds [6 x i32], ptr %11, i64 0, i64 4 %104 = load i32, ptr %103, align 16 %105 = getelementptr inbounds [6 x i32], ptr %11, i64 0, i64 5 %106 = load i32, ptr %105, align 4 %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %96, i32 noundef %98, i32 noundef %100, i32 noundef %102, i32 noundef %104, i32 noundef %106) %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %110 = load i32, ptr %2, align 4 %111 = load i32, ptr %3, align 4 %112 = sub nsw i32 %110, %111 %113 = icmp sgt i32 %112, 0 br i1 %113, label %114, label %119 114: ; preds = %94 %115 = load i32, ptr %4, align 4 %116 = icmp sge i32 %115, 0 br i1 %116, label %117, label %119 117: ; preds = %114 %118 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) br label %121 119: ; preds = %114, %94 %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) br label %121 121: ; preds = %119, %117 %122 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) %123 = load i32, ptr %2, align 4 %124 = load i32, ptr %3, align 4 %125 = sub nsw i32 %123, %124 %126 = icmp sgt i32 %125, 0 br i1 %126, label %130, label %127 127: ; preds = %121 %128 = load i32, ptr %4, align 4 %129 = icmp sge i32 %128, 0 br i1 %129, label %130, label %132 130: ; preds = %127, %121 %131 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) br label %134 132: ; preds = %127 %133 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) br label %134 134: ; preds = %132, %130 %135 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %136 = load i32, ptr %2, align 4 %137 = load i32, ptr %3, align 4 %138 = sub nsw i32 %136, %137 %139 = icmp sgt i32 %138, 0 br i1 %139, label %143, label %140 140: ; preds = %134 %141 = load i32, ptr %4, align 4 %142 = icmp sge i32 %141, 0 br i1 %142, label %145, label %143 143: ; preds = %140, %134 %144 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) br label %147 145: ; preds = %140 %146 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) br label %147 147: ; preds = %145, %143 %148 = load i32, ptr %1, align 4 ret i32 %148 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare i32 @scanf(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppeue68uf.c' source_filename = "/tmp/tmppeue68uf.c" target datalayout = "e-m:e-p270: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"auto.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"Greska prilikom otvaranja datoteke\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"auto88.txt\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"%15s%15s%9s\00", align 1 @.str.6 = private unnamed_addr constant [16 x i8] c"%-15s%-15s%-9s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [15 x i8], align 1 %3 = alloca [15 x i8], align 1 %4 = alloca [10 x i8], align 1 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %10 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %10, ptr %5, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %0 %13 = call i32 @printf(ptr noundef @.str.2) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %0 %16 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.4) store ptr %16, ptr %6, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %23 18: ; preds = %15 %19 = load ptr, ptr %5, align 8 %20 = call i32 @fclose(ptr noundef %19) %21 = call i32 @printf(ptr noundef @.str.2) %22 = call i32 @exit(i32 noundef 1) #3 unreachable 23: ; preds = %15 br label %24 24: ; preds = %59, %23 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 0 %27 = getelementptr inbounds [15 x i8], ptr %3, i64 0, i64 0 %28 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %29 = call i32 @fscanf(ptr noundef %25, ptr noundef @.str.5, ptr noundef %26, ptr noundef %27, ptr noundef %28) %30 = icmp eq i32 %29, 3 br i1 %30, label %31, label %60 31: ; preds = %24 store i32 0, ptr %7, align 4 %32 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 store ptr %32, ptr %9, align 8 store i32 0, ptr %8, align 4 br label %33 33: ; preds = %47, %31 %34 = load i32, ptr %8, align 4 %35 = icmp slt i32 %34, 9 br i1 %35, label %36, label %50 36: ; preds = %33 %37 = load ptr, ptr %9, align 8 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %39, 56 br i1 %40, label %41, label %44 41: ; preds = %36 %42 = load i32, ptr %7, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %7, align 4 br label %44 44: ; preds = %41, %36 %45 = load ptr, ptr %9, align 8 %46 = getelementptr inbounds i8, ptr %45, i32 1 store ptr %46, ptr %9, align 8 br label %47 47: ; preds = %44 %48 = load i32, ptr %8, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %8, align 4 br label %33, !llvm.loop !6 50: ; preds = %33 %51 = load i32, ptr %7, align 4 %52 = icmp eq i32 %51, 2 br i1 %52, label %53, label %59 53: ; preds = %50 %54 = load ptr, ptr %6, align 8 %55 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 0 %56 = getelementptr inbounds [15 x i8], ptr %3, i64 0, i64 0 %57 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %58 = call i32 @fprintf(ptr noundef %54, ptr noundef @.str.6, ptr noundef %55, ptr noundef %56, ptr noundef %57) br label %59 59: ; preds = %53, %50 br label %24, !llvm.loop !8 60: ; preds = %24 %61 = load ptr, ptr %5, align 8 %62 = call i32 @fclose(ptr noundef %61) %63 = load ptr, ptr %6, align 8 %64 = call i32 @fclose(ptr noundef %63) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fclose(ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppeue68uf.c" target datalayout = "e-m:e-p270: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"auto.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"Greska prilikom otvaranja datoteke\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"auto88.txt\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"%15s%15s%9s\00", align 1 @.str.6 = private unnamed_addr constant [16 x i8] c"%-15s%-15s%-9s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [15 x i8], align 1 %3 = alloca [15 x i8], align 1 %4 = alloca [10 x i8], align 1 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %10 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %10, ptr %5, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %0 %13 = call i32 @printf(ptr noundef @.str.2) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %0 %16 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.4) store ptr %16, ptr %6, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %23 18: ; preds = %15 %19 = load ptr, ptr %5, align 8 %20 = call i32 @fclose(ptr noundef %19) %21 = call i32 @printf(ptr noundef @.str.2) %22 = call i32 @exit(i32 noundef 1) #3 unreachable 23: ; preds = %15 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 0 %26 = getelementptr inbounds [15 x i8], ptr %3, i64 0, i64 0 %27 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %28 = call i32 @fscanf(ptr noundef %24, ptr noundef @.str.5, ptr noundef %25, ptr noundef %26, ptr noundef %27) %29 = icmp eq i32 %28, 3 br i1 %29, label %.lr.ph2, label %63 .lr.ph2: ; preds = %23 br label %30 30: ; preds = %.lr.ph2, %59 store i32 0, ptr %7, align 4 %31 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 store ptr %31, ptr %9, align 8 store i32 0, ptr %8, align 4 %32 = load i32, ptr %8, align 4 %33 = icmp slt i32 %32, 9 br i1 %33, label %.lr.ph, label %50 .lr.ph: ; preds = %30 br label %34 34: ; preds = %.lr.ph, %45 %35 = load ptr, ptr %9, align 8 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp eq i32 %37, 56 br i1 %38, label %39, label %42 39: ; preds = %34 %40 = load i32, ptr %7, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %7, align 4 br label %42 42: ; preds = %39, %34 %43 = load ptr, ptr %9, align 8 %44 = getelementptr inbounds i8, ptr %43, i32 1 store ptr %44, ptr %9, align 8 br label %45 45: ; preds = %42 %46 = load i32, ptr %8, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %8, align 4 %48 = load i32, ptr %8, align 4 %49 = icmp slt i32 %48, 9 br i1 %49, label %34, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %50 50: ; preds = %._crit_edge, %30 %51 = load i32, ptr %7, align 4 %52 = icmp eq i32 %51, 2 br i1 %52, label %53, label %59 53: ; preds = %50 %54 = load ptr, ptr %6, align 8 %55 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 0 %56 = getelementptr inbounds [15 x i8], ptr %3, i64 0, i64 0 %57 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %58 = call i32 @fprintf(ptr noundef %54, ptr noundef @.str.6, ptr noundef %55, ptr noundef %56, ptr noundef %57) br label %59 59: ; preds = %53, %50 %60 = load ptr, ptr %5, align 8 %61 = call i32 @fscanf(ptr noundef %60, ptr noundef @.str.5, ptr noundef %25, ptr noundef %26, ptr noundef %27) %62 = icmp eq i32 %61, 3 br i1 %62, label %30, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %59 br label %63 63: ; preds = %._crit_edge3, %23 %64 = load ptr, ptr %5, align 8 %65 = call i32 @fclose(ptr noundef %64) %66 = load ptr, ptr %6, align 8 %67 = call i32 @fclose(ptr noundef %66) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fclose(ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpg0h3i7vp.c' source_filename = "/tmp/tmpg0h3i7vp.c" target datalayout = "e-m:e-p270: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"fabs((2.0*x) - y) < 0.00001\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_real96() #0 { %1 = alloca x86_fp80, align 16 %2 = alloca x86_fp80, align 16 store x86_fp80 0xK00000000000000000000, ptr %1, align 16 store x86_fp80 0xK00000000000000000000, ptr %2, align 16 %3 = load x86_fp80, ptr %1, align 16 %4 = load x86_fp80, ptr %2, align 16 %5 = fneg x86_fp80 %4 %6 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 0xK40008000000000000000, x86_fp80 %3, x86_fp80 %5) %7 = fptrunc x86_fp80 %6 to double %8 = call double @llvm.fabs.f64(double %7) %9 = fcmp olt double %8, 1.000000e-05 %10 = zext i1 %9 to i32 %11 = call i32 @assertTrue(ptr noundef @.str, i32 noundef %10) ret void } declare i32 @assertTrue(ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg0h3i7vp.c" target datalayout = "e-m:e-p270: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"fabs((2.0*x) - y) < 0.00001\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_real96() #0 { %1 = alloca x86_fp80, align 16 %2 = alloca x86_fp80, align 16 store x86_fp80 0xK00000000000000000000, ptr %1, align 16 store x86_fp80 0xK00000000000000000000, ptr %2, align 16 %3 = load x86_fp80, ptr %1, align 16 %4 = load x86_fp80, ptr %2, align 16 %5 = fneg x86_fp80 %4 %6 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 0xK40008000000000000000, x86_fp80 %3, x86_fp80 %5) %7 = fptrunc x86_fp80 %6 to double %8 = call double @llvm.fabs.f64(double %7) %9 = fcmp olt double %8, 1.000000e-05 %10 = zext i1 %9 to i32 %11 = call i32 @assertTrue(ptr noundef @.str, i32 noundef %10) ret void } declare i32 @assertTrue(ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(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"}
; ModuleID = '/tmp/tmpzs9vnmcy.c' source_filename = "/tmp/tmpzs9vnmcy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c" C\09F\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"\0A------------\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"\0A%3.0f %6.1f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 200, ptr %5, align 4 store i32 20, ptr %6, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %9 = load i32, ptr %4, align 4 %10 = sitofp i32 %9 to float store float %10, ptr %3, align 4 br label %11 11: ; preds = %16, %0 %12 = load float, ptr %3, align 4 %13 = load i32, ptr %5, align 4 %14 = sitofp i32 %13 to float %15 = fcmp ole float %12, %14 br i1 %15, label %16, label %30 16: ; preds = %11 %17 = load float, ptr %3, align 4 %18 = fpext float %17 to double %19 = call double @llvm.fmuladd.f64(double 1.800000e+00, double %18, double 3.200000e+01) %20 = fptrunc double %19 to float store float %20, ptr %2, align 4 %21 = load float, ptr %3, align 4 %22 = fpext float %21 to double %23 = load float, ptr %2, align 4 %24 = fpext float %23 to double %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %22, double noundef %24) %26 = load float, ptr %3, align 4 %27 = load i32, ptr %6, align 4 %28 = sitofp i32 %27 to float %29 = fadd float %26, %28 store float %29, ptr %3, align 4 br label %11, !llvm.loop !6 30: ; preds = %11 ret i32 0 } declare i32 @printf(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/tmpzs9vnmcy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c" C\09F\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"\0A------------\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"\0A%3.0f %6.1f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 200, ptr %5, align 4 store i32 20, ptr %6, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %9 = load i32, ptr %4, align 4 %10 = sitofp i32 %9 to float store float %10, ptr %3, align 4 %11 = load float, ptr %3, align 4 %12 = load i32, ptr %5, align 4 %13 = sitofp i32 %12 to float %14 = fcmp ole float %11, %13 br i1 %14, label %.lr.ph, label %33 .lr.ph: ; preds = %0 br label %15 15: ; preds = %.lr.ph, %15 %16 = load float, ptr %3, align 4 %17 = fpext float %16 to double %18 = call double @llvm.fmuladd.f64(double 1.800000e+00, double %17, double 3.200000e+01) %19 = fptrunc double %18 to float store float %19, ptr %2, align 4 %20 = load float, ptr %3, align 4 %21 = fpext float %20 to double %22 = load float, ptr %2, align 4 %23 = fpext float %22 to double %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %21, double noundef %23) %25 = load float, ptr %3, align 4 %26 = load i32, ptr %6, align 4 %27 = sitofp i32 %26 to float %28 = fadd float %25, %27 store float %28, ptr %3, align 4 %29 = load float, ptr %3, align 4 %30 = load i32, ptr %5, align 4 %31 = sitofp i32 %30 to float %32 = fcmp ole float %29, %31 br i1 %32, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %33 33: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(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/tmpa638wf_x.c' source_filename = "/tmp/tmpa638wf_x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HariMain() #0 { %1 = call i32 @api_putchar(i8 noundef signext 72) %2 = call i32 @api_putchar(i8 noundef signext 101) %3 = call i32 @api_putchar(i8 noundef signext 108) %4 = call i32 @api_putchar(i8 noundef signext 108) %5 = call i32 @api_putchar(i8 noundef signext 111) ret void } declare i32 @api_putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa638wf_x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HariMain() #0 { %1 = call i32 @api_putchar(i8 noundef signext 72) %2 = call i32 @api_putchar(i8 noundef signext 101) %3 = call i32 @api_putchar(i8 noundef signext 108) %4 = call i32 @api_putchar(i8 noundef signext 108) %5 = call i32 @api_putchar(i8 noundef signext 111) ret void } declare i32 @api_putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwvg0a6a4.c' source_filename = "/tmp/tmpwvg0a6a4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: alwaysinline nounwind sspstrong uwtable define weak dso_local i32 @softboundcets_clock_gettime(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = call i32 @clock_gettime(i32 noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @clock_gettime(i32 noundef, ptr noundef) #1 attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwvg0a6a4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: alwaysinline nounwind sspstrong uwtable define weak dso_local i32 @softboundcets_clock_gettime(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = call i32 @clock_gettime(i32 noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @clock_gettime(i32 noundef, ptr noundef) #1 attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpldi0_fo3.c' source_filename = "/tmp/tmpldi0_fo3.c" target datalayout = "e-m:e-p270: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/tmpldi0_fo3.c" target datalayout = "e-m:e-p270: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/tmpwc550ir3.c' source_filename = "/tmp/tmpwc550ir3.c" target datalayout = "e-m:e-p270: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/tmpwc550ir3.c" target datalayout = "e-m:e-p270: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/tmpylicp1zg.c' source_filename = "/tmp/tmpylicp1zg.c" target datalayout = "e-m:e-p270: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/tmpylicp1zg.c" target datalayout = "e-m:e-p270: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/tmp18uqhzhl.c' source_filename = "/tmp/tmp18uqhzhl.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"chdir\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @STDIN_FILENO = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [11 x i8] c"dup2 stdin\00", align 1 @STDOUT_FILENO = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [12 x i8] c"dup2 stdout\00", align 1 @STDERR_FILENO = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [12 x i8] c"dup2 stderr\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"close\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @daemon(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %7 = call i32 (...) @fork() switch i32 %7, label %10 [ i32 -1, label %8 i32 0, label %9 ] 8: ; preds = %2 store i32 -1, ptr %3, align 4 br label %67 9: ; preds = %2 br label %13 10: ; preds = %2 %11 = load i32, ptr @EXIT_SUCCESS, align 4 %12 = call i32 @_exit(i32 noundef %11) #3 unreachable 13: ; preds = %9 %14 = call i32 (...) @setsid() %15 = icmp eq i32 %14, -1 br i1 %15, label %16, label %17 16: ; preds = %13 store i32 -1, ptr %3, align 4 br label %67 17: ; preds = %13 %18 = load i32, ptr %4, align 4 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %26 20: ; preds = %17 %21 = call i64 @chdir(ptr noundef @.str) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %20 %24 = call i32 @perror(ptr noundef @.str.1) store i32 -1, ptr %3, align 4 br label %67 25: ; preds = %20 br label %26 26: ; preds = %25, %17 %27 = load i32, ptr %5, align 4 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %66 29: ; preds = %26 %30 = load i32, ptr @O_RDWR, align 4 %31 = call i32 @open(ptr noundef @.str.2, i32 noundef %30, i32 noundef 0) store i32 %31, ptr %6, align 4 %32 = icmp ne i32 %31, -1 br i1 %32, label %33, label %66 33: ; preds = %29 %34 = load i32, ptr %6, align 4 %35 = load i32, ptr @STDIN_FILENO, align 4 %36 = call i64 @dup2(i32 noundef %34, i32 noundef %35) %37 = icmp slt i64 %36, 0 br i1 %37, label %38, label %40 38: ; preds = %33 %39 = call i32 @perror(ptr noundef @.str.3) store i32 -1, ptr %3, align 4 br label %67 40: ; preds = %33 %41 = load i32, ptr %6, align 4 %42 = load i32, ptr @STDOUT_FILENO, align 4 %43 = call i64 @dup2(i32 noundef %41, i32 noundef %42) %44 = icmp slt i64 %43, 0 br i1 %44, label %45, label %47 45: ; preds = %40 %46 = call i32 @perror(ptr noundef @.str.4) store i32 -1, ptr %3, align 4 br label %67 47: ; preds = %40 %48 = load i32, ptr %6, align 4 %49 = load i32, ptr @STDERR_FILENO, align 4 %50 = call i64 @dup2(i32 noundef %48, i32 noundef %49) %51 = icmp slt i64 %50, 0 br i1 %51, label %52, label %54 52: ; preds = %47 %53 = call i32 @perror(ptr noundef @.str.5) store i32 -1, ptr %3, align 4 br label %67 54: ; preds = %47 %55 = load i32, ptr %6, align 4 %56 = load i32, ptr @STDERR_FILENO, align 4 %57 = icmp sgt i32 %55, %56 br i1 %57, label %58, label %65 58: ; preds = %54 %59 = load i32, ptr %6, align 4 %60 = call i64 @close(i32 noundef %59) %61 = icmp slt i64 %60, 0 br i1 %61, label %62, label %64 62: ; preds = %58 %63 = call i32 @perror(ptr noundef @.str.6) store i32 -1, ptr %3, align 4 br label %67 64: ; preds = %58 br label %65 65: ; preds = %64, %54 br label %66 66: ; preds = %65, %29, %26 store i32 0, ptr %3, align 4 br label %67 67: ; preds = %66, %62, %52, %45, %38, %23, %16, %8 %68 = load i32, ptr %3, align 4 ret i32 %68 } declare i32 @fork(...) #1 ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #2 declare i32 @setsid(...) #1 declare i64 @chdir(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @dup2(i32 noundef, i32 noundef) #1 declare i64 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp18uqhzhl.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"chdir\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @STDIN_FILENO = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [11 x i8] c"dup2 stdin\00", align 1 @STDOUT_FILENO = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [12 x i8] c"dup2 stdout\00", align 1 @STDERR_FILENO = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [12 x i8] c"dup2 stderr\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"close\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @daemon(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %7 = call i32 (...) @fork() switch i32 %7, label %10 [ i32 -1, label %8 i32 0, label %9 ] 8: ; preds = %2 store i32 -1, ptr %3, align 4 br label %67 9: ; preds = %2 br label %13 10: ; preds = %2 %11 = load i32, ptr @EXIT_SUCCESS, align 4 %12 = call i32 @_exit(i32 noundef %11) #3 unreachable 13: ; preds = %9 %14 = call i32 (...) @setsid() %15 = icmp eq i32 %14, -1 br i1 %15, label %16, label %17 16: ; preds = %13 store i32 -1, ptr %3, align 4 br label %67 17: ; preds = %13 %18 = load i32, ptr %4, align 4 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %26 20: ; preds = %17 %21 = call i64 @chdir(ptr noundef @.str) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %20 %24 = call i32 @perror(ptr noundef @.str.1) store i32 -1, ptr %3, align 4 br label %67 25: ; preds = %20 br label %26 26: ; preds = %25, %17 %27 = load i32, ptr %5, align 4 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %66 29: ; preds = %26 %30 = load i32, ptr @O_RDWR, align 4 %31 = call i32 @open(ptr noundef @.str.2, i32 noundef %30, i32 noundef 0) store i32 %31, ptr %6, align 4 %32 = icmp ne i32 %31, -1 br i1 %32, label %33, label %66 33: ; preds = %29 %34 = load i32, ptr %6, align 4 %35 = load i32, ptr @STDIN_FILENO, align 4 %36 = call i64 @dup2(i32 noundef %34, i32 noundef %35) %37 = icmp slt i64 %36, 0 br i1 %37, label %38, label %40 38: ; preds = %33 %39 = call i32 @perror(ptr noundef @.str.3) store i32 -1, ptr %3, align 4 br label %67 40: ; preds = %33 %41 = load i32, ptr %6, align 4 %42 = load i32, ptr @STDOUT_FILENO, align 4 %43 = call i64 @dup2(i32 noundef %41, i32 noundef %42) %44 = icmp slt i64 %43, 0 br i1 %44, label %45, label %47 45: ; preds = %40 %46 = call i32 @perror(ptr noundef @.str.4) store i32 -1, ptr %3, align 4 br label %67 47: ; preds = %40 %48 = load i32, ptr %6, align 4 %49 = load i32, ptr @STDERR_FILENO, align 4 %50 = call i64 @dup2(i32 noundef %48, i32 noundef %49) %51 = icmp slt i64 %50, 0 br i1 %51, label %52, label %54 52: ; preds = %47 %53 = call i32 @perror(ptr noundef @.str.5) store i32 -1, ptr %3, align 4 br label %67 54: ; preds = %47 %55 = load i32, ptr %6, align 4 %56 = load i32, ptr @STDERR_FILENO, align 4 %57 = icmp sgt i32 %55, %56 br i1 %57, label %58, label %65 58: ; preds = %54 %59 = load i32, ptr %6, align 4 %60 = call i64 @close(i32 noundef %59) %61 = icmp slt i64 %60, 0 br i1 %61, label %62, label %64 62: ; preds = %58 %63 = call i32 @perror(ptr noundef @.str.6) store i32 -1, ptr %3, align 4 br label %67 64: ; preds = %58 br label %65 65: ; preds = %64, %54 br label %66 66: ; preds = %65, %29, %26 store i32 0, ptr %3, align 4 br label %67 67: ; preds = %66, %62, %52, %45, %38, %23, %16, %8 %68 = load i32, ptr %3, align 4 ret i32 %68 } declare i32 @fork(...) #1 ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #2 declare i32 @setsid(...) #1 declare i64 @chdir(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @dup2(i32 noundef, i32 noundef) #1 declare i64 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp01efiye1.c' source_filename = "/tmp/tmp01efiye1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @slurp(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %4, align 8 %10 = load ptr, ptr %4, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %13, label %12 12: ; preds = %1 store ptr null, ptr %2, align 8 br label %40 13: ; preds = %1 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr @SEEK_END, align 4 %16 = call i32 @fseek(ptr noundef %14, i32 noundef 0, i32 noundef %15) %17 = load ptr, ptr %4, align 8 %18 = call i64 @ftell(ptr noundef %17) store i64 %18, ptr %6, align 8 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr @SEEK_SET, align 4 %21 = call i32 @fseek(ptr noundef %19, i32 noundef 0, i32 noundef %20) %22 = load i64, ptr %6, align 8 %23 = add nsw i64 %22, 1 %24 = call ptr @malloc(i64 noundef %23) store ptr %24, ptr %5, align 8 %25 = load ptr, ptr %5, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %28, label %27 27: ; preds = %13 store ptr null, ptr %2, align 8 br label %40 28: ; preds = %13 %29 = load ptr, ptr %5, align 8 %30 = load i64, ptr %6, align 8 %31 = load ptr, ptr %4, align 8 %32 = call i32 @fread(ptr noundef %29, i32 noundef 1, i64 noundef %30, ptr noundef %31) store i32 %32, ptr %7, align 4 %33 = load i32, ptr %7, align 4 %34 = load ptr, ptr %5, align 8 %35 = load i64, ptr %6, align 8 %36 = getelementptr inbounds i8, ptr %34, i64 %35 store i8 0, ptr %36, align 1 %37 = load ptr, ptr %4, align 8 %38 = call i32 @fclose(ptr noundef %37) %39 = load ptr, ptr %5, align 8 store ptr %39, ptr %2, align 8 br label %40 40: ; preds = %28, %27, %12 %41 = load ptr, ptr %2, align 8 ret ptr %41 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i64 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/tmp01efiye1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @slurp(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %4, align 8 %10 = load ptr, ptr %4, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %13, label %12 12: ; preds = %1 store ptr null, ptr %2, align 8 br label %40 13: ; preds = %1 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr @SEEK_END, align 4 %16 = call i32 @fseek(ptr noundef %14, i32 noundef 0, i32 noundef %15) %17 = load ptr, ptr %4, align 8 %18 = call i64 @ftell(ptr noundef %17) store i64 %18, ptr %6, align 8 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr @SEEK_SET, align 4 %21 = call i32 @fseek(ptr noundef %19, i32 noundef 0, i32 noundef %20) %22 = load i64, ptr %6, align 8 %23 = add nsw i64 %22, 1 %24 = call ptr @malloc(i64 noundef %23) store ptr %24, ptr %5, align 8 %25 = load ptr, ptr %5, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %28, label %27 27: ; preds = %13 store ptr null, ptr %2, align 8 br label %40 28: ; preds = %13 %29 = load ptr, ptr %5, align 8 %30 = load i64, ptr %6, align 8 %31 = load ptr, ptr %4, align 8 %32 = call i32 @fread(ptr noundef %29, i32 noundef 1, i64 noundef %30, ptr noundef %31) store i32 %32, ptr %7, align 4 %33 = load i32, ptr %7, align 4 %34 = load ptr, ptr %5, align 8 %35 = load i64, ptr %6, align 8 %36 = getelementptr inbounds i8, ptr %34, i64 %35 store i8 0, ptr %36, align 1 %37 = load ptr, ptr %4, align 8 %38 = call i32 @fclose(ptr noundef %37) %39 = load ptr, ptr %5, align 8 store ptr %39, ptr %2, align 8 br label %40 40: ; preds = %28, %27, %12 %41 = load ptr, ptr %2, align 8 ret ptr %41 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i64 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/tmpyy0g36jk.c' source_filename = "/tmp/tmpyy0g36jk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.tm = type { i32, i32, i32, i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @MinsToDate(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca %struct.tm, align 4 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store ptr %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 %16 = call i32 @time(ptr noundef %13) %17 = load i64, ptr %13, align 8 %18 = load i32, ptr %7, align 4 %19 = mul i32 60, %18 %20 = zext i32 %19 to i64 %21 = add nsw i64 %17, %20 store i64 %21, ptr %14, align 8 %22 = call i32 @localtime_r(ptr noundef %14, ptr noundef %15) %23 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 0 %24 = load i32, ptr %23, align 4 %25 = load ptr, ptr %8, align 8 store i32 %24, ptr %25, align 4 %26 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 1 %27 = load i32, ptr %26, align 4 %28 = load ptr, ptr %9, align 8 store i32 %27, ptr %28, align 4 %29 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 2 %30 = load i32, ptr %29, align 4 %31 = add i32 %30, 1 %32 = load ptr, ptr %10, align 8 store i32 %31, ptr %32, align 4 %33 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 3 %34 = load i32, ptr %33, align 4 %35 = load ptr, ptr %11, align 8 store i32 %34, ptr %35, align 4 %36 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 4 %37 = load i32, ptr %36, align 4 %38 = add i32 %37, 1900 %39 = load ptr, ptr %12, align 8 store i32 %38, ptr %39, align 4 ret void } declare i32 @time(ptr noundef) #1 declare i32 @localtime_r(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/tmpyy0g36jk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.tm = type { i32, i32, i32, i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @MinsToDate(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca %struct.tm, align 4 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store ptr %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 %16 = call i32 @time(ptr noundef %13) %17 = load i64, ptr %13, align 8 %18 = load i32, ptr %7, align 4 %19 = mul i32 60, %18 %20 = zext i32 %19 to i64 %21 = add nsw i64 %17, %20 store i64 %21, ptr %14, align 8 %22 = call i32 @localtime_r(ptr noundef %14, ptr noundef %15) %23 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 0 %24 = load i32, ptr %23, align 4 %25 = load ptr, ptr %8, align 8 store i32 %24, ptr %25, align 4 %26 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 1 %27 = load i32, ptr %26, align 4 %28 = load ptr, ptr %9, align 8 store i32 %27, ptr %28, align 4 %29 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 2 %30 = load i32, ptr %29, align 4 %31 = add i32 %30, 1 %32 = load ptr, ptr %10, align 8 store i32 %31, ptr %32, align 4 %33 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 3 %34 = load i32, ptr %33, align 4 %35 = load ptr, ptr %11, align 8 store i32 %34, ptr %35, align 4 %36 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 4 %37 = load i32, ptr %36, align 4 %38 = add i32 %37, 1900 %39 = load ptr, ptr %12, align 8 store i32 %38, ptr %39, align 4 ret void } declare i32 @time(ptr noundef) #1 declare i32 @localtime_r(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/tmpgcdbhotn.c' source_filename = "/tmp/tmpgcdbhotn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%d:%d:%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %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) %8 = load i32, ptr %2, align 4 %9 = sdiv i32 %8, 3600 store i32 %9, ptr %6, align 4 %10 = load i32, ptr %2, align 4 %11 = srem i32 %10, 3600 store i32 %11, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = sdiv i32 %12, 60 store i32 %13, ptr %3, align 4 %14 = load i32, ptr %4, align 4 %15 = srem i32 %14, 60 store i32 %15, ptr %5, align 4 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %3, align 4 %18 = load i32, ptr %5, align 4 %19 = call i32 @printf(ptr noundef @.str.1, i32 noundef %16, i32 noundef %17, i32 noundef %18) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr 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/tmpgcdbhotn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%d:%d:%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %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) %8 = load i32, ptr %2, align 4 %9 = sdiv i32 %8, 3600 store i32 %9, ptr %6, align 4 %10 = load i32, ptr %2, align 4 %11 = srem i32 %10, 3600 store i32 %11, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = sdiv i32 %12, 60 store i32 %13, ptr %3, align 4 %14 = load i32, ptr %4, align 4 %15 = srem i32 %14, 60 store i32 %15, ptr %5, align 4 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %3, align 4 %18 = load i32, ptr %5, align 4 %19 = call i32 @printf(ptr noundef @.str.1, i32 noundef %16, i32 noundef %17, i32 noundef %18) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr 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/tmp53zh_xr1.c' source_filename = "/tmp/tmp53zh_xr1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"W1 termios.%s is 0%08o, not 0%08o\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ckfld(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 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %6, align 4 %9 = icmp eq i32 %7, %8 br i1 %9, label %10, label %11 10: ; preds = %3 br label %16 11: ; preds = %3 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %5, align 4 %15 = call i32 @msg(ptr noundef @.str, ptr noundef %12, i32 noundef %13, i32 noundef %14) br label %16 16: ; preds = %11, %10 %17 = phi i32 [ 0, %10 ], [ %15, %11 ] ret i32 %17 } declare i32 @msg(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp53zh_xr1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"W1 termios.%s is 0%08o, not 0%08o\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ckfld(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 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %6, align 4 %9 = icmp eq i32 %7, %8 br i1 %9, label %10, label %11 10: ; preds = %3 br label %16 11: ; preds = %3 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %5, align 4 %15 = call i32 @msg(ptr noundef @.str, ptr noundef %12, i32 noundef %13, i32 noundef %14) br label %16 16: ; preds = %11, %10 %17 = phi i32 [ 0, %10 ], [ %15, %11 ] ret i32 %17 } declare i32 @msg(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmjxscpjv.c' source_filename = "/tmp/tmpmjxscpjv.c" target datalayout = "e-m:e-p270: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/tmpmjxscpjv.c" target datalayout = "e-m:e-p270: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/tmpz5igw029.c' source_filename = "/tmp/tmpz5igw029.c" target datalayout = "e-m:e-p270: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/tmpz5igw029.c" target datalayout = "e-m:e-p270: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/tmp8a61eb5y.c' source_filename = "/tmp/tmp8a61eb5y.c" target datalayout = "e-m:e-p270: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 [201 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/AmesianX/OpenBLT/refs/heads/master/Target/Demo/ARMCM3_LM3S_EK_LM3S8962_Crossworks/Boot/lib/driverlib/uartlib.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @UARTSmartCardEnable(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %4 = load volatile i64, ptr inttoptr (i64 1074782208 to ptr), align 8 %5 = and i64 %4, 1879048192 %6 = icmp eq i64 %5, 0 br i1 %6, label %19, label %7 7: ; preds = %1 %8 = load volatile i64, ptr inttoptr (i64 1074782208 to ptr), align 8 %9 = and i64 %8, 1895759872 %10 = icmp eq i64 %9, 268435456 br i1 %10, label %19, label %11 11: ; preds = %7 %12 = load volatile i64, ptr inttoptr (i64 1074782208 to ptr), align 8 %13 = and i64 %12, 1895759872 %14 = icmp eq i64 %13, 268500992 br i1 %14, label %19, label %15 15: ; preds = %11 %16 = load volatile i64, ptr inttoptr (i64 1074782208 to ptr), align 8 %17 = and i64 %16, 1895759872 %18 = icmp eq i64 %17, 268632064 br i1 %18, label %19, label %21 19: ; preds = %15, %11, %7, %1 %20 = call i32 @AssertFailure(ptr noundef @.str, i32 noundef 605) br label %21 21: ; preds = %19, %15 %22 = load i64, ptr %2, align 8 %23 = call i32 @UARTBaseValid(i64 noundef %22) %24 = icmp ne i32 %23, 0 br i1 %24, label %27, label %25 25: ; preds = %21 %26 = call i32 @AssertFailure(ptr noundef @.str, i32 noundef 606) br label %27 27: ; preds = %25, %21 %28 = load i64, ptr %2, align 8 %29 = add i64 %28, 44 %30 = inttoptr i64 %29 to ptr %31 = load volatile i64, ptr %30, align 8 store i64 %31, ptr %3, align 8 %32 = load i64, ptr %3, align 8 %33 = and i64 %32, -231 store i64 %33, ptr %3, align 8 %34 = load i64, ptr %3, align 8 %35 = or i64 %34, 110 store i64 %35, ptr %3, align 8 %36 = load i64, ptr %3, align 8 %37 = load i64, ptr %2, align 8 %38 = add i64 %37, 44 %39 = inttoptr i64 %38 to ptr store volatile i64 %36, ptr %39, align 8 %40 = load i64, ptr %2, align 8 %41 = add i64 %40, 48 %42 = inttoptr i64 %41 to ptr %43 = load volatile i64, ptr %42, align 8 %44 = or i64 %43, 8 store volatile i64 %44, ptr %42, align 8 ret void } declare i32 @AssertFailure(ptr noundef, i32 noundef) #1 declare i32 @UARTBaseValid(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/tmp8a61eb5y.c" target datalayout = "e-m:e-p270: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 [201 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/AmesianX/OpenBLT/refs/heads/master/Target/Demo/ARMCM3_LM3S_EK_LM3S8962_Crossworks/Boot/lib/driverlib/uartlib.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @UARTSmartCardEnable(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %4 = load volatile i64, ptr inttoptr (i64 1074782208 to ptr), align 8 %5 = and i64 %4, 1879048192 %6 = icmp eq i64 %5, 0 br i1 %6, label %19, label %7 7: ; preds = %1 %8 = load volatile i64, ptr inttoptr (i64 1074782208 to ptr), align 8 %9 = and i64 %8, 1895759872 %10 = icmp eq i64 %9, 268435456 br i1 %10, label %19, label %11 11: ; preds = %7 %12 = load volatile i64, ptr inttoptr (i64 1074782208 to ptr), align 8 %13 = and i64 %12, 1895759872 %14 = icmp eq i64 %13, 268500992 br i1 %14, label %19, label %15 15: ; preds = %11 %16 = load volatile i64, ptr inttoptr (i64 1074782208 to ptr), align 8 %17 = and i64 %16, 1895759872 %18 = icmp eq i64 %17, 268632064 br i1 %18, label %19, label %21 19: ; preds = %15, %11, %7, %1 %20 = call i32 @AssertFailure(ptr noundef @.str, i32 noundef 605) br label %21 21: ; preds = %19, %15 %22 = load i64, ptr %2, align 8 %23 = call i32 @UARTBaseValid(i64 noundef %22) %24 = icmp ne i32 %23, 0 br i1 %24, label %27, label %25 25: ; preds = %21 %26 = call i32 @AssertFailure(ptr noundef @.str, i32 noundef 606) br label %27 27: ; preds = %25, %21 %28 = load i64, ptr %2, align 8 %29 = add i64 %28, 44 %30 = inttoptr i64 %29 to ptr %31 = load volatile i64, ptr %30, align 8 store i64 %31, ptr %3, align 8 %32 = load i64, ptr %3, align 8 %33 = and i64 %32, -231 store i64 %33, ptr %3, align 8 %34 = load i64, ptr %3, align 8 %35 = or i64 %34, 110 store i64 %35, ptr %3, align 8 %36 = load i64, ptr %3, align 8 %37 = load i64, ptr %2, align 8 %38 = add i64 %37, 44 %39 = inttoptr i64 %38 to ptr store volatile i64 %36, ptr %39, align 8 %40 = load i64, ptr %2, align 8 %41 = add i64 %40, 48 %42 = inttoptr i64 %41 to ptr %43 = load volatile i64, ptr %42, align 8 %44 = or i64 %43, 8 store volatile i64 %44, ptr %42, align 8 ret void } declare i32 @AssertFailure(ptr noundef, i32 noundef) #1 declare i32 @UARTBaseValid(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/tmpfzjcp5xd.c' source_filename = "/tmp/tmpfzjcp5xd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"The function does not return 1.\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"The function returns 1.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @return_1() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp ne i32 %4, 1 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str) br label %10 8: ; preds = %0 %9 = call i32 @printf(ptr noundef @.str.1) br label %10 10: ; preds = %8, %6 %11 = load i32, ptr %1, align 4 ret i32 %11 } declare i32 @return_1(...) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfzjcp5xd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"The function does not return 1.\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"The function returns 1.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @return_1() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp ne i32 %4, 1 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str) br label %10 8: ; preds = %0 %9 = call i32 @printf(ptr noundef @.str.1) br label %10 10: ; preds = %8, %6 %11 = load i32, ptr %1, align 4 ret i32 %11 } declare i32 @return_1(...) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp07odku6k.c' source_filename = "/tmp/tmp07odku6k.c" target datalayout = "e-m:e-p270: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 { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_gid(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @getgrnam(ptr noundef %5) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %10 9: ; preds = %1 store i32 -1, ptr %3, align 4 br label %14 10: ; preds = %1 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds %struct.group, ptr %11, i32 0, i32 0 %13 = load i32, ptr %12, align 4 store i32 %13, ptr %3, align 4 br label %14 14: ; preds = %10, %9 %15 = load i32, ptr %3, align 4 ret i32 %15 } declare ptr @getgrnam(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp07odku6k.c" target datalayout = "e-m:e-p270: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 { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_gid(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @getgrnam(ptr noundef %5) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %10 9: ; preds = %1 store i32 -1, ptr %3, align 4 br label %14 10: ; preds = %1 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds %struct.group, ptr %11, i32 0, i32 0 %13 = load i32, ptr %12, align 4 store i32 %13, ptr %3, align 4 br label %14 14: ; preds = %10, %9 %15 = load i32, ptr %3, align 4 ret i32 %15 } declare ptr @getgrnam(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf8o3u9c_.c' source_filename = "/tmp/tmpf8o3u9c_.c" target datalayout = "e-m:e-p270: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"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @stupify(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 1, ptr %3, align 4 br label %4 4: ; preds = %73, %1 %5 = load ptr, ptr %2, align 8 %6 = load i8, ptr %5, align 1 %7 = icmp ne i8 %6, 0 br i1 %7, label %8, label %76 8: ; preds = %4 %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, 64 br i1 %12, label %13, label %69 13: ; preds = %8 %14 = load ptr, ptr %2, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp slt i32 %16, 123 br i1 %17, label %18, label %69 18: ; preds = %13 %19 = load ptr, ptr %2, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp slt i32 %21, 91 br i1 %22, label %28, label %23 23: ; preds = %18 %24 = load ptr, ptr %2, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp sgt i32 %26, 96 br i1 %27, label %28, label %68 28: ; preds = %23, %18 %29 = load i32, ptr %3, align 4 %30 = srem i32 %29, 2 store i32 %30, ptr %3, align 4 %31 = load i32, ptr %3, align 4 %32 = icmp ne i32 %31, 0 br i1 %32, label %45, label %33 33: ; preds = %28 %34 = load ptr, ptr %2, align 8 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp sgt i32 %36, 96 br i1 %37, label %38, label %45 38: ; preds = %33 %39 = load ptr, ptr %2, align 8 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = sub nsw i32 %41, 32 %43 = trunc i32 %42 to i8 %44 = call i32 @printf(ptr noundef @.str, i8 noundef signext %43) br label %65 45: ; preds = %33, %28 %46 = load i32, ptr %3, align 4 %47 = icmp ne i32 %46, 0 br i1 %47, label %48, label %60 48: ; preds = %45 %49 = load ptr, ptr %2, align 8 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = icmp slt i32 %51, 91 br i1 %52, label %53, label %60 53: ; preds = %48 %54 = load ptr, ptr %2, align 8 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = add nsw i32 %56, 32 %58 = trunc i32 %57 to i8 %59 = call i32 @printf(ptr noundef @.str, i8 noundef signext %58) br label %64 60: ; preds = %48, %45 %61 = load ptr, ptr %2, align 8 %62 = load i8, ptr %61, align 1 %63 = call i32 @printf(ptr noundef @.str, i8 noundef signext %62) br label %64 64: ; preds = %60, %53 br label %65 65: ; preds = %64, %38 %66 = load i32, ptr %3, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %3, align 4 br label %68 68: ; preds = %65, %23 br label %73 69: ; preds = %13, %8 %70 = load ptr, ptr %2, align 8 %71 = load i8, ptr %70, align 1 %72 = call i32 @printf(ptr noundef @.str, i8 noundef signext %71) br label %73 73: ; preds = %69, %68 %74 = load ptr, ptr %2, align 8 %75 = getelementptr inbounds i8, ptr %74, i32 1 store ptr %75, ptr %2, align 8 br label %4, !llvm.loop !6 76: ; preds = %4 ret void } declare i32 @printf(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf8o3u9c_.c" target datalayout = "e-m:e-p270: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"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @stupify(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 1, ptr %3, align 4 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 %6 = icmp ne i8 %5, 0 br i1 %6, label %.lr.ph, label %78 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %72 %8 = load ptr, ptr %2, align 8 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp sgt i32 %10, 64 br i1 %11, label %12, label %68 12: ; preds = %7 %13 = load ptr, ptr %2, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp slt i32 %15, 123 br i1 %16, label %17, label %68 17: ; preds = %12 %18 = load ptr, ptr %2, align 8 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp slt i32 %20, 91 br i1 %21, label %27, label %22 22: ; preds = %17 %23 = load ptr, ptr %2, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp sgt i32 %25, 96 br i1 %26, label %27, label %67 27: ; preds = %22, %17 %28 = load i32, ptr %3, align 4 %29 = srem i32 %28, 2 store i32 %29, ptr %3, align 4 %30 = load i32, ptr %3, align 4 %31 = icmp ne i32 %30, 0 br i1 %31, label %44, label %32 32: ; preds = %27 %33 = load ptr, ptr %2, align 8 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp sgt i32 %35, 96 br i1 %36, label %37, label %44 37: ; preds = %32 %38 = load ptr, ptr %2, align 8 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = sub nsw i32 %40, 32 %42 = trunc i32 %41 to i8 %43 = call i32 @printf(ptr noundef @.str, i8 noundef signext %42) br label %64 44: ; preds = %32, %27 %45 = load i32, ptr %3, align 4 %46 = icmp ne i32 %45, 0 br i1 %46, label %47, label %59 47: ; preds = %44 %48 = load ptr, ptr %2, align 8 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = icmp slt i32 %50, 91 br i1 %51, label %52, label %59 52: ; preds = %47 %53 = load ptr, ptr %2, align 8 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = add nsw i32 %55, 32 %57 = trunc i32 %56 to i8 %58 = call i32 @printf(ptr noundef @.str, i8 noundef signext %57) br label %63 59: ; preds = %47, %44 %60 = load ptr, ptr %2, align 8 %61 = load i8, ptr %60, align 1 %62 = call i32 @printf(ptr noundef @.str, i8 noundef signext %61) br label %63 63: ; preds = %59, %52 br label %64 64: ; preds = %63, %37 %65 = load i32, ptr %3, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %3, align 4 br label %67 67: ; preds = %64, %22 br label %72 68: ; preds = %12, %7 %69 = load ptr, ptr %2, align 8 %70 = load i8, ptr %69, align 1 %71 = call i32 @printf(ptr noundef @.str, i8 noundef signext %70) br label %72 72: ; preds = %68, %67 %73 = load ptr, ptr %2, align 8 %74 = getelementptr inbounds i8, ptr %73, i32 1 store ptr %74, ptr %2, align 8 %75 = load ptr, ptr %2, align 8 %76 = load i8, ptr %75, align 1 %77 = icmp ne i8 %76, 0 br i1 %77, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %72 br label %78 78: ; preds = %._crit_edge, %1 ret void } declare i32 @printf(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp32i1bmzm.c' source_filename = "/tmp/tmp32i1bmzm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tan_ru(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @scs_tan_ru(double noundef %3) ret double %4 } declare double @scs_tan_ru(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp32i1bmzm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tan_ru(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @scs_tan_ru(double noundef %3) ret double %4 } declare double @scs_tan_ru(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0cbudhx8.c' source_filename = "/tmp/tmp0cbudhx8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"/tmp\00", align 1 @IN_ALL_EVENTS = dso_local global i32 0, align 4 @IN_MODIFY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (...) @inotify_init() store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr @IN_ALL_EVENTS, align 4 %7 = call i32 @inotify_add_watch(i32 noundef %5, ptr noundef @.str, i32 noundef %6) store i32 %7, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = call i32 @inotify_rm_watch(i32 noundef %8, i32 noundef %9) %11 = call i32 @inotify_init1(i32 noundef -1) %12 = load i32, ptr @IN_MODIFY, align 4 %13 = call i32 @inotify_add_watch(i32 noundef -1, ptr noundef @.str, i32 noundef %12) %14 = load i32, ptr %2, align 4 %15 = load i32, ptr @IN_MODIFY, align 4 %16 = call i32 @inotify_add_watch(i32 noundef %14, ptr noundef inttoptr (i64 -1 to ptr), i32 noundef %15) %17 = load i32, ptr %2, align 4 %18 = call i32 @inotify_add_watch(i32 noundef %17, ptr noundef @.str, i32 noundef -1) store i32 %18, ptr %3, align 4 %19 = load i32, ptr %2, align 4 %20 = load i32, ptr %3, align 4 %21 = call i32 @inotify_rm_watch(i32 noundef %19, i32 noundef %20) %22 = load i32, ptr %3, align 4 %23 = call i32 @inotify_rm_watch(i32 noundef -1, i32 noundef %22) %24 = load i32, ptr %2, align 4 %25 = call i32 @inotify_rm_watch(i32 noundef %24, i32 noundef -1) ret i32 0 } declare i32 @inotify_init(...) #1 declare i32 @inotify_add_watch(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @inotify_rm_watch(i32 noundef, i32 noundef) #1 declare i32 @inotify_init1(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/tmp0cbudhx8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"/tmp\00", align 1 @IN_ALL_EVENTS = dso_local global i32 0, align 4 @IN_MODIFY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (...) @inotify_init() store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr @IN_ALL_EVENTS, align 4 %7 = call i32 @inotify_add_watch(i32 noundef %5, ptr noundef @.str, i32 noundef %6) store i32 %7, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = call i32 @inotify_rm_watch(i32 noundef %8, i32 noundef %9) %11 = call i32 @inotify_init1(i32 noundef -1) %12 = load i32, ptr @IN_MODIFY, align 4 %13 = call i32 @inotify_add_watch(i32 noundef -1, ptr noundef @.str, i32 noundef %12) %14 = load i32, ptr %2, align 4 %15 = load i32, ptr @IN_MODIFY, align 4 %16 = call i32 @inotify_add_watch(i32 noundef %14, ptr noundef inttoptr (i64 -1 to ptr), i32 noundef %15) %17 = load i32, ptr %2, align 4 %18 = call i32 @inotify_add_watch(i32 noundef %17, ptr noundef @.str, i32 noundef -1) store i32 %18, ptr %3, align 4 %19 = load i32, ptr %2, align 4 %20 = load i32, ptr %3, align 4 %21 = call i32 @inotify_rm_watch(i32 noundef %19, i32 noundef %20) %22 = load i32, ptr %3, align 4 %23 = call i32 @inotify_rm_watch(i32 noundef -1, i32 noundef %22) %24 = load i32, ptr %2, align 4 %25 = call i32 @inotify_rm_watch(i32 noundef %24, i32 noundef -1) ret i32 0 } declare i32 @inotify_init(...) #1 declare i32 @inotify_add_watch(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @inotify_rm_watch(i32 noundef, i32 noundef) #1 declare i32 @inotify_init1(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/tmphz__k18s.c' source_filename = "/tmp/tmphz__k18s.c" target datalayout = "e-m:e-p270: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/tmphz__k18s.c" target datalayout = "e-m:e-p270: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/tmpikwz93ko.c' source_filename = "/tmp/tmpikwz93ko.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%[1]\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%[^:]\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 ptr, align 8 %5 = alloca [10 x i8], align 1 %6 = alloca [1024 x i8], align 16 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 store i8 0, ptr %7, align 1 %8 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %8) %10 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %11 = call i32 @printf(ptr noundef @.str.1, ptr noundef %10) %12 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %13 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %12) %14 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %15 = call i32 @printf(ptr noundef @.str.1, ptr noundef %14) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpikwz93ko.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%[1]\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%[^:]\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 ptr, align 8 %5 = alloca [10 x i8], align 1 %6 = alloca [1024 x i8], align 16 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 store i8 0, ptr %7, align 1 %8 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %8) %10 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %11 = call i32 @printf(ptr noundef @.str.1, ptr noundef %10) %12 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %13 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %12) %14 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %15 = call i32 @printf(ptr noundef @.str.1, ptr noundef %14) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5es1ch7p.c' source_filename = "/tmp/tmp5es1ch7p.c" target datalayout = "e-m:e-p270: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/tmp5es1ch7p.c" target datalayout = "e-m:e-p270: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/tmpj12q3sdd.c' source_filename = "/tmp/tmpj12q3sdd.c" target datalayout = "e-m:e-p270: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/tmpj12q3sdd.c" target datalayout = "e-m:e-p270: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/tmpze0bv02h.c' source_filename = "/tmp/tmpze0bv02h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FMSTR_Poll() #0 { %1 = call i32 (...) @FMSTR_RxDequeue() ret void } declare i32 @FMSTR_RxDequeue(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpze0bv02h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FMSTR_Poll() #0 { %1 = call i32 (...) @FMSTR_RxDequeue() ret void } declare i32 @FMSTR_RxDequeue(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmjdkngu6.c' source_filename = "/tmp/tmpmjdkngu6.c" target datalayout = "e-m:e-p270: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/tmpmjdkngu6.c" target datalayout = "e-m:e-p270: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/tmprjm1aqgr.c' source_filename = "/tmp/tmprjm1aqgr.c" target datalayout = "e-m:e-p270: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/tmprjm1aqgr.c" target datalayout = "e-m:e-p270: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/tmplzm0udnc.c' source_filename = "/tmp/tmplzm0udnc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { i32, i32 } @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @string_replace_regex(ptr noundef %0, ptr noundef %1, ptr noundef %2, i8 noundef signext %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i8, align 1 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca [100 x %struct.TYPE_4__], align 16 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i8 %3, ptr %9, align 1 %21 = load ptr, ptr %6, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %24, label %23 23: ; preds = %4 store ptr null, ptr %5, align 8 br label %217 24: ; preds = %4 %25 = load ptr, ptr %6, align 8 %26 = call i32 @strlen(ptr noundef %25) %27 = add nsw i32 %26, 1 store i32 %27, ptr %13, align 4 %28 = load i32, ptr %13, align 4 %29 = call ptr @malloc(i32 noundef %28) store ptr %29, ptr %10, align 8 %30 = load ptr, ptr %10, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %33, label %32 32: ; preds = %24 store ptr null, ptr %5, align 8 br label %217 33: ; preds = %24 %34 = load ptr, ptr %10, align 8 %35 = load i32, ptr %13, align 4 %36 = load ptr, ptr %6, align 8 %37 = call i32 @snprintf(ptr noundef %34, i32 noundef %35, ptr noundef @.str, ptr noundef %36) store i32 0, ptr %15, align 4 br label %38 38: ; preds = %209, %33 %39 = load ptr, ptr %10, align 8 %40 = icmp ne ptr %39, null br i1 %40, label %41, label %49 41: ; preds = %38 %42 = load ptr, ptr %10, align 8 %43 = load i32, ptr %15, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp ne i32 %47, 0 br label %49 49: ; preds = %41, %38 %50 = phi i1 [ false, %38 ], [ %48, %41 ] br i1 %50, label %51, label %215 51: ; preds = %49 store i32 0, ptr %16, align 4 br label %52 52: ; preds = %60, %51 %53 = load i32, ptr %16, align 4 %54 = icmp slt i32 %53, 100 br i1 %54, label %55, label %63 55: ; preds = %52 %56 = load i32, ptr %16, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [100 x %struct.TYPE_4__], ptr %20, i64 0, i64 %57 %59 = getelementptr inbounds %struct.TYPE_4__, ptr %58, i32 0, i32 0 store i32 -1, ptr %59, align 8 br label %60 60: ; preds = %55 %61 = load i32, ptr %16, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %16, align 4 br label %52, !llvm.loop !6 63: ; preds = %52 %64 = load ptr, ptr %7, align 8 %65 = load ptr, ptr %10, align 8 %66 = load i32, ptr %15, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i8, ptr %65, i64 %67 %69 = getelementptr inbounds [100 x %struct.TYPE_4__], ptr %20, i64 0, i64 0 %70 = call i32 @regexec(ptr noundef %64, ptr noundef %68, i32 noundef 100, ptr noundef %69, i32 noundef 0) store i32 %70, ptr %17, align 4 %71 = load i32, ptr %17, align 4 %72 = icmp ne i32 %71, 0 br i1 %72, label %83, label %73 73: ; preds = %63 %74 = getelementptr inbounds [100 x %struct.TYPE_4__], ptr %20, i64 0, i64 0 %75 = getelementptr inbounds %struct.TYPE_4__, ptr %74, i32 0, i32 0 %76 = load i32, ptr %75, align 16 %77 = icmp slt i32 %76, 0 br i1 %77, label %83, label %78 78: ; preds = %73 %79 = getelementptr inbounds [100 x %struct.TYPE_4__], ptr %20, i64 0, i64 0 %80 = getelementptr inbounds %struct.TYPE_4__, ptr %79, i32 0, i32 1 %81 = load i32, ptr %80, align 4 %82 = icmp sle i32 %81, 0 br i1 %82, label %83, label %84 83: ; preds = %78, %73, %63 br label %215 84: ; preds = %78 store i32 0, ptr %19, align 4 store i32 0, ptr %16, align 4 br label %85 85: ; preds = %112, %84 %86 = load i32, ptr %16, align 4 %87 = icmp slt i32 %86, 100 br i1 %87, label %88, label %115 88: ; preds = %85 %89 = load i32, ptr %16, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds [100 x %struct.TYPE_4__], ptr %20, i64 0, i64 %90 %92 = getelementptr inbounds %struct.TYPE_4__, ptr %91, i32 0, i32 0 %93 = load i32, ptr %92, align 8 %94 = icmp sge i32 %93, 0 br i1 %94, label %95, label %111 95: ; preds = %88 %96 = load i32, ptr %16, align 4 store i32 %96, ptr %19, align 4 %97 = load i32, ptr %15, align 4 %98 = load i32, ptr %16, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds [100 x %struct.TYPE_4__], ptr %20, i64 0, i64 %99 %101 = getelementptr inbounds %struct.TYPE_4__, ptr %100, i32 0, i32 0 %102 = load i32, ptr %101, align 8 %103 = add nsw i32 %102, %97 store i32 %103, ptr %101, align 8 %104 = load i32, ptr %15, align 4 %105 = load i32, ptr %16, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds [100 x %struct.TYPE_4__], ptr %20, i64 0, i64 %106 %108 = getelementptr inbounds %struct.TYPE_4__, ptr %107, i32 0, i32 1 %109 = load i32, ptr %108, align 4 %110 = add nsw i32 %109, %104 store i32 %110, ptr %108, align 4 br label %111 111: ; preds = %95, %88 br label %112 112: ; preds = %111 %113 = load i32, ptr %16, align 4 %114 = add nsw i32 %113, 1 store i32 %114, ptr %16, align 4 br label %85, !llvm.loop !8 115: ; preds = %85 %116 = load ptr, ptr %10, align 8 %117 = getelementptr inbounds [100 x %struct.TYPE_4__], ptr %20, i64 0, i64 0 %118 = getelementptr inbounds %struct.TYPE_4__, ptr %117, i32 0, i32 1 %119 = load i32, ptr %118, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds i8, ptr %116, i64 %120 %122 = load i8, ptr %121, align 1 %123 = icmp ne i8 %122, 0 %124 = xor i1 %123, true %125 = zext i1 %124 to i32 store i32 %125, ptr %18, align 4 %126 = load ptr, ptr %10, align 8 %127 = getelementptr inbounds [100 x %struct.TYPE_4__], ptr %20, i64 0, i64 0 %128 = load i32, ptr %19, align 4 %129 = load ptr, ptr %8, align 8 %130 = load i8, ptr %9, align 1 %131 = call ptr @string_replace_regex_get_replace(ptr noundef %126, ptr noundef %127, i32 noundef %128, ptr noundef %129, i8 noundef signext %130) store ptr %131, ptr %12, align 8 %132 = load ptr, ptr %12, align 8 %133 = icmp ne ptr %132, null br i1 %133, label %134, label %137 134: ; preds = %115 %135 = load ptr, ptr %12, align 8 %136 = call i32 @strlen(ptr noundef %135) br label %138 137: ; preds = %115 br label %138 138: ; preds = %137, %134 %139 = phi i32 [ %136, %134 ], [ 0, %137 ] store i32 %139, ptr %14, align 4 %140 = getelementptr inbounds [100 x %struct.TYPE_4__], ptr %20, i64 0, i64 0 %141 = getelementptr inbounds %struct.TYPE_4__, ptr %140, i32 0, i32 0 %142 = load i32, ptr %141, align 16 %143 = load i32, ptr %14, align 4 %144 = add nsw i32 %142, %143 %145 = load ptr, ptr %10, align 8 %146 = getelementptr inbounds [100 x %struct.TYPE_4__], ptr %20, i64 0, i64 0 %147 = getelementptr inbounds %struct.TYPE_4__, ptr %146, i32 0, i32 1 %148 = load i32, ptr %147, align 4 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds i8, ptr %145, i64 %149 %151 = call i32 @strlen(ptr noundef %150) %152 = add nsw i32 %144, %151 %153 = add nsw i32 %152, 1 store i32 %153, ptr %13, align 4 %154 = load i32, ptr %13, align 4 %155 = call ptr @malloc(i32 noundef %154) store ptr %155, ptr %11, align 8 %156 = load ptr, ptr %11, align 8 %157 = icmp ne ptr %156, null br i1 %157, label %161, label %158 158: ; preds = %138 %159 = load ptr, ptr %10, align 8 %160 = call i32 @free(ptr noundef %159) store ptr null, ptr %5, align 8 br label %217 161: ; preds = %138 %162 = load ptr, ptr %11, align 8 %163 = getelementptr inbounds i8, ptr %162, i64 0 store i8 0, ptr %163, align 1 %164 = getelementptr inbounds [100 x %struct.TYPE_4__], ptr %20, i64 0, i64 0 %165 = getelementptr inbounds %struct.TYPE_4__, ptr %164, i32 0, i32 0 %166 = load i32, ptr %165, align 16 %167 = icmp sgt i32 %166, 0 br i1 %167, label %168, label %181 168: ; preds = %161 %169 = load ptr, ptr %11, align 8 %170 = load ptr, ptr %10, align 8 %171 = getelementptr inbounds [100 x %struct.TYPE_4__], ptr %20, i64 0, i64 0 %172 = getelementptr inbounds %struct.TYPE_4__, ptr %171, i32 0, i32 0 %173 = load i32, ptr %172, align 16 %174 = call i32 @memcpy(ptr noundef %169, ptr noundef %170, i32 noundef %173) %175 = load ptr, ptr %11, align 8 %176 = getelementptr inbounds [100 x %struct.TYPE_4__], ptr %20, i64 0, i64 0 %177 = getelementptr inbounds %struct.TYPE_4__, ptr %176, i32 0, i32 0 %178 = load i32, ptr %177, align 16 %179 = sext i32 %178 to i64 %180 = getelementptr inbounds i8, ptr %175, i64 %179 store i8 0, ptr %180, align 1 br label %181 181: ; preds = %168, %161 %182 = load ptr, ptr %12, align 8 %183 = icmp ne ptr %182, null br i1 %183, label %184, label %188 184: ; preds = %181 %185 = load ptr, ptr %11, align 8 %186 = load ptr, ptr %12, align 8 %187 = call i32 @strcat(ptr noundef %185, ptr noundef %186) br label %188 188: ; preds = %184, %181 %189 = load ptr, ptr %11, align 8 %190 = load ptr, ptr %10, align 8 %191 = getelementptr inbounds [100 x %struct.TYPE_4__], ptr %20, i64 0, i64 0 %192 = getelementptr inbounds %struct.TYPE_4__, ptr %191, i32 0, i32 1 %193 = load i32, ptr %192, align 4 %194 = sext i32 %193 to i64 %195 = getelementptr inbounds i8, ptr %190, i64 %194 %196 = call i32 @strcat(ptr noundef %189, ptr noundef %195) %197 = load ptr, ptr %10, align 8 %198 = call i32 @free(ptr noundef %197) %199 = load ptr, ptr %11, align 8 store ptr %199, ptr %10, align 8 %200 = load ptr, ptr %12, align 8 %201 = icmp ne ptr %200, null br i1 %201, label %202, label %205 202: ; preds = %188 %203 = load ptr, ptr %12, align 8 %204 = call i32 @free(ptr noundef %203) br label %205 205: ; preds = %202, %188 %206 = load i32, ptr %18, align 4 %207 = icmp ne i32 %206, 0 br i1 %207, label %208, label %209 208: ; preds = %205 br label %215 209: ; preds = %205 %210 = getelementptr inbounds [100 x %struct.TYPE_4__], ptr %20, i64 0, i64 0 %211 = getelementptr inbounds %struct.TYPE_4__, ptr %210, i32 0, i32 0 %212 = load i32, ptr %211, align 16 %213 = load i32, ptr %14, align 4 %214 = add nsw i32 %212, %213 store i32 %214, ptr %15, align 4 br label %38, !llvm.loop !9 215: ; preds = %208, %83, %49 %216 = load ptr, ptr %10, align 8 store ptr %216, ptr %5, align 8 br label %217 217: ; preds = %215, %158, %32, %23 %218 = load ptr, ptr %5, align 8 ret ptr %218 } declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @regexec(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @string_replace_regex_get_replace(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i8 noundef signext) #1 declare i32 @free(ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplzm0udnc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { i32, i32 } @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @string_replace_regex(ptr noundef %0, ptr noundef %1, ptr noundef %2, i8 noundef signext %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i8, align 1 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca [100 x %struct.TYPE_4__], align 16 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i8 %3, ptr %9, align 1 %21 = load ptr, ptr %6, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %24, label %23 23: ; preds = %4 store ptr null, ptr %5, align 8 br label %219 24: ; preds = %4 %25 = load ptr, ptr %6, align 8 %26 = call i32 @strlen(ptr noundef %25) %27 = add nsw i32 %26, 1 store i32 %27, ptr %13, align 4 %28 = load i32, ptr %13, align 4 %29 = call ptr @malloc(i32 noundef %28) store ptr %29, ptr %10, align 8 %30 = load ptr, ptr %10, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %33, label %32 32: ; preds = %24 store ptr null, ptr %5, align 8 br label %219 33: ; preds = %24 %34 = load ptr, ptr %10, align 8 %35 = load i32, ptr %13, align 4 %36 = load ptr, ptr %6, align 8 %37 = call i32 @snprintf(ptr noundef %34, i32 noundef %35, ptr noundef @.str, ptr noundef %36) store i32 0, ptr %15, align 4 br label %38 38: ; preds = %211, %33 %39 = load ptr, ptr %10, align 8 %40 = icmp ne ptr %39, null br i1 %40, label %41, label %49 41: ; preds = %38 %42 = load ptr, ptr %10, align 8 %43 = load i32, ptr %15, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp ne i32 %47, 0 br label %49 49: ; preds = %41, %38 %50 = phi i1 [ false, %38 ], [ %48, %41 ] br i1 %50, label %51, label %.loopexit 51: ; preds = %49 store i32 0, ptr %16, align 4 %52 = load i32, ptr %16, align 4 %53 = icmp slt i32 %52, 100 br i1 %53, label %.lr.ph, label %64 .lr.ph: ; preds = %51 br label %54 54: ; preds = %.lr.ph, %59 %55 = load i32, ptr %16, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [100 x %struct.TYPE_4__], ptr %20, i64 0, i64 %56 %58 = getelementptr inbounds %struct.TYPE_4__, ptr %57, i32 0, i32 0 store i32 -1, ptr %58, align 8 br label %59 59: ; preds = %54 %60 = load i32, ptr %16, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %16, align 4 %62 = load i32, ptr %16, align 4 %63 = icmp slt i32 %62, 100 br i1 %63, label %54, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %59 br label %64 64: ; preds = %._crit_edge, %51 %65 = load ptr, ptr %7, align 8 %66 = load ptr, ptr %10, align 8 %67 = load i32, ptr %15, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %66, i64 %68 %70 = getelementptr inbounds [100 x %struct.TYPE_4__], ptr %20, i64 0, i64 0 %71 = call i32 @regexec(ptr noundef %65, ptr noundef %69, i32 noundef 100, ptr noundef %70, i32 noundef 0) store i32 %71, ptr %17, align 4 %72 = load i32, ptr %17, align 4 %73 = icmp ne i32 %72, 0 br i1 %73, label %84, label %74 74: ; preds = %64 %75 = getelementptr inbounds [100 x %struct.TYPE_4__], ptr %20, i64 0, i64 0 %76 = getelementptr inbounds %struct.TYPE_4__, ptr %75, i32 0, i32 0 %77 = load i32, ptr %76, align 16 %78 = icmp slt i32 %77, 0 br i1 %78, label %84, label %79 79: ; preds = %74 %80 = getelementptr inbounds [100 x %struct.TYPE_4__], ptr %20, i64 0, i64 0 %81 = getelementptr inbounds %struct.TYPE_4__, ptr %80, i32 0, i32 1 %82 = load i32, ptr %81, align 4 %83 = icmp sle i32 %82, 0 br i1 %83, label %84, label %85 84: ; preds = %79, %74, %64 br label %217 85: ; preds = %79 store i32 0, ptr %19, align 4 store i32 0, ptr %16, align 4 %86 = load i32, ptr %16, align 4 %87 = icmp slt i32 %86, 100 br i1 %87, label %.lr.ph2, label %117 .lr.ph2: ; preds = %85 br label %88 88: ; preds = %.lr.ph2, %112 %89 = load i32, ptr %16, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds [100 x %struct.TYPE_4__], ptr %20, i64 0, i64 %90 %92 = getelementptr inbounds %struct.TYPE_4__, ptr %91, i32 0, i32 0 %93 = load i32, ptr %92, align 8 %94 = icmp sge i32 %93, 0 br i1 %94, label %95, label %111 95: ; preds = %88 %96 = load i32, ptr %16, align 4 store i32 %96, ptr %19, align 4 %97 = load i32, ptr %15, align 4 %98 = load i32, ptr %16, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds [100 x %struct.TYPE_4__], ptr %20, i64 0, i64 %99 %101 = getelementptr inbounds %struct.TYPE_4__, ptr %100, i32 0, i32 0 %102 = load i32, ptr %101, align 8 %103 = add nsw i32 %102, %97 store i32 %103, ptr %101, align 8 %104 = load i32, ptr %15, align 4 %105 = load i32, ptr %16, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds [100 x %struct.TYPE_4__], ptr %20, i64 0, i64 %106 %108 = getelementptr inbounds %struct.TYPE_4__, ptr %107, i32 0, i32 1 %109 = load i32, ptr %108, align 4 %110 = add nsw i32 %109, %104 store i32 %110, ptr %108, align 4 br label %111 111: ; preds = %95, %88 br label %112 112: ; preds = %111 %113 = load i32, ptr %16, align 4 %114 = add nsw i32 %113, 1 store i32 %114, ptr %16, align 4 %115 = load i32, ptr %16, align 4 %116 = icmp slt i32 %115, 100 br i1 %116, label %88, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %112 br label %117 117: ; preds = %._crit_edge3, %85 %118 = load ptr, ptr %10, align 8 %119 = getelementptr inbounds [100 x %struct.TYPE_4__], ptr %20, i64 0, i64 0 %120 = getelementptr inbounds %struct.TYPE_4__, ptr %119, i32 0, i32 1 %121 = load i32, ptr %120, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds i8, ptr %118, i64 %122 %124 = load i8, ptr %123, align 1 %125 = icmp ne i8 %124, 0 %126 = xor i1 %125, true %127 = zext i1 %126 to i32 store i32 %127, ptr %18, align 4 %128 = load ptr, ptr %10, align 8 %129 = getelementptr inbounds [100 x %struct.TYPE_4__], ptr %20, i64 0, i64 0 %130 = load i32, ptr %19, align 4 %131 = load ptr, ptr %8, align 8 %132 = load i8, ptr %9, align 1 %133 = call ptr @string_replace_regex_get_replace(ptr noundef %128, ptr noundef %129, i32 noundef %130, ptr noundef %131, i8 noundef signext %132) store ptr %133, ptr %12, align 8 %134 = load ptr, ptr %12, align 8 %135 = icmp ne ptr %134, null br i1 %135, label %136, label %139 136: ; preds = %117 %137 = load ptr, ptr %12, align 8 %138 = call i32 @strlen(ptr noundef %137) br label %140 139: ; preds = %117 br label %140 140: ; preds = %139, %136 %141 = phi i32 [ %138, %136 ], [ 0, %139 ] store i32 %141, ptr %14, align 4 %142 = getelementptr inbounds [100 x %struct.TYPE_4__], ptr %20, i64 0, i64 0 %143 = getelementptr inbounds %struct.TYPE_4__, ptr %142, i32 0, i32 0 %144 = load i32, ptr %143, align 16 %145 = load i32, ptr %14, align 4 %146 = add nsw i32 %144, %145 %147 = load ptr, ptr %10, align 8 %148 = getelementptr inbounds [100 x %struct.TYPE_4__], ptr %20, i64 0, i64 0 %149 = getelementptr inbounds %struct.TYPE_4__, ptr %148, i32 0, i32 1 %150 = load i32, ptr %149, align 4 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds i8, ptr %147, i64 %151 %153 = call i32 @strlen(ptr noundef %152) %154 = add nsw i32 %146, %153 %155 = add nsw i32 %154, 1 store i32 %155, ptr %13, align 4 %156 = load i32, ptr %13, align 4 %157 = call ptr @malloc(i32 noundef %156) store ptr %157, ptr %11, align 8 %158 = load ptr, ptr %11, align 8 %159 = icmp ne ptr %158, null br i1 %159, label %163, label %160 160: ; preds = %140 %161 = load ptr, ptr %10, align 8 %162 = call i32 @free(ptr noundef %161) store ptr null, ptr %5, align 8 br label %219 163: ; preds = %140 %164 = load ptr, ptr %11, align 8 %165 = getelementptr inbounds i8, ptr %164, i64 0 store i8 0, ptr %165, align 1 %166 = getelementptr inbounds [100 x %struct.TYPE_4__], ptr %20, i64 0, i64 0 %167 = getelementptr inbounds %struct.TYPE_4__, ptr %166, i32 0, i32 0 %168 = load i32, ptr %167, align 16 %169 = icmp sgt i32 %168, 0 br i1 %169, label %170, label %183 170: ; preds = %163 %171 = load ptr, ptr %11, align 8 %172 = load ptr, ptr %10, align 8 %173 = getelementptr inbounds [100 x %struct.TYPE_4__], ptr %20, i64 0, i64 0 %174 = getelementptr inbounds %struct.TYPE_4__, ptr %173, i32 0, i32 0 %175 = load i32, ptr %174, align 16 %176 = call i32 @memcpy(ptr noundef %171, ptr noundef %172, i32 noundef %175) %177 = load ptr, ptr %11, align 8 %178 = getelementptr inbounds [100 x %struct.TYPE_4__], ptr %20, i64 0, i64 0 %179 = getelementptr inbounds %struct.TYPE_4__, ptr %178, i32 0, i32 0 %180 = load i32, ptr %179, align 16 %181 = sext i32 %180 to i64 %182 = getelementptr inbounds i8, ptr %177, i64 %181 store i8 0, ptr %182, align 1 br label %183 183: ; preds = %170, %163 %184 = load ptr, ptr %12, align 8 %185 = icmp ne ptr %184, null br i1 %185, label %186, label %190 186: ; preds = %183 %187 = load ptr, ptr %11, align 8 %188 = load ptr, ptr %12, align 8 %189 = call i32 @strcat(ptr noundef %187, ptr noundef %188) br label %190 190: ; preds = %186, %183 %191 = load ptr, ptr %11, align 8 %192 = load ptr, ptr %10, align 8 %193 = getelementptr inbounds [100 x %struct.TYPE_4__], ptr %20, i64 0, i64 0 %194 = getelementptr inbounds %struct.TYPE_4__, ptr %193, i32 0, i32 1 %195 = load i32, ptr %194, align 4 %196 = sext i32 %195 to i64 %197 = getelementptr inbounds i8, ptr %192, i64 %196 %198 = call i32 @strcat(ptr noundef %191, ptr noundef %197) %199 = load ptr, ptr %10, align 8 %200 = call i32 @free(ptr noundef %199) %201 = load ptr, ptr %11, align 8 store ptr %201, ptr %10, align 8 %202 = load ptr, ptr %12, align 8 %203 = icmp ne ptr %202, null br i1 %203, label %204, label %207 204: ; preds = %190 %205 = load ptr, ptr %12, align 8 %206 = call i32 @free(ptr noundef %205) br label %207 207: ; preds = %204, %190 %208 = load i32, ptr %18, align 4 %209 = icmp ne i32 %208, 0 br i1 %209, label %210, label %211 210: ; preds = %207 br label %217 211: ; preds = %207 %212 = getelementptr inbounds [100 x %struct.TYPE_4__], ptr %20, i64 0, i64 0 %213 = getelementptr inbounds %struct.TYPE_4__, ptr %212, i32 0, i32 0 %214 = load i32, ptr %213, align 16 %215 = load i32, ptr %14, align 4 %216 = add nsw i32 %214, %215 store i32 %216, ptr %15, align 4 br label %38, !llvm.loop !9 .loopexit: ; preds = %49 br label %217 217: ; preds = %.loopexit, %210, %84 %218 = load ptr, ptr %10, align 8 store ptr %218, ptr %5, align 8 br label %219 219: ; preds = %217, %160, %32, %23 %220 = load ptr, ptr %5, align 8 ret ptr %220 } declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @regexec(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @string_replace_regex_get_replace(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i8 noundef signext) #1 declare i32 @free(ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp68c72was.c' source_filename = "/tmp/tmp68c72was.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printString(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 = %28, %1 %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr %3, align 4 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds i8, ptr %5, i64 %7 %9 = load i8, ptr %8, align 1 %10 = icmp ne i8 %9, 0 br i1 %10, label %11, label %31 11: ; preds = %4 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 10 br i1 %18, label %19, label %21 19: ; preds = %11 %20 = call i32 @printChar(i8 noundef signext 13) br label %21 21: ; preds = %19, %11 %22 = load ptr, ptr %2, align 8 %23 = load i32, ptr %3, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 %26 = load i8, ptr %25, align 1 %27 = call i32 @printChar(i8 noundef signext %26) br label %28 28: ; preds = %21 %29 = load i32, ptr %3, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %3, align 4 br label %4, !llvm.loop !6 31: ; preds = %4 ret void } declare i32 @printChar(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/tmp68c72was.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printString(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %3, align 4 %6 = sext i32 %5 to i64 %7 = getelementptr inbounds i8, ptr %4, i64 %6 %8 = load i8, ptr %7, align 1 %9 = icmp ne i8 %8, 0 br i1 %9, label %.lr.ph, label %36 .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %27 %11 = load ptr, ptr %2, align 8 %12 = load i32, ptr %3, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 10 br i1 %17, label %18, label %20 18: ; preds = %10 %19 = call i32 @printChar(i8 noundef signext 13) br label %20 20: ; preds = %18, %10 %21 = load ptr, ptr %2, align 8 %22 = load i32, ptr %3, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 %25 = load i8, ptr %24, align 1 %26 = call i32 @printChar(i8 noundef signext %25) br label %27 27: ; preds = %20 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %3, align 4 %30 = load ptr, ptr %2, align 8 %31 = load i32, ptr %3, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 %34 = load i8, ptr %33, align 1 %35 = icmp ne i8 %34, 0 br i1 %35, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %36 36: ; preds = %._crit_edge, %1 ret void } declare i32 @printChar(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/tmpt5fx4wzq.c' source_filename = "/tmp/tmpt5fx4wzq.c" target datalayout = "e-m:e-p270: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"defined\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"ok\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"not ok\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 store i32 0, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str) %5 = load i32, ptr %2, align 4 %6 = load i32, ptr @AF_INET, align 4 %7 = call ptr @getnetbyaddr(i32 noundef %5, i32 noundef %6) store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %12 10: ; preds = %0 %11 = call i32 @printf(ptr noundef @.str.1) br label %14 12: ; preds = %0 %13 = call i32 @printf(ptr noundef @.str.2) br label %14 14: ; preds = %12, %10 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare ptr @getnetbyaddr(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/tmpt5fx4wzq.c" target datalayout = "e-m:e-p270: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"defined\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"ok\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"not ok\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 store i32 0, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str) %5 = load i32, ptr %2, align 4 %6 = load i32, ptr @AF_INET, align 4 %7 = call ptr @getnetbyaddr(i32 noundef %5, i32 noundef %6) store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %12 10: ; preds = %0 %11 = call i32 @printf(ptr noundef @.str.1) br label %14 12: ; preds = %0 %13 = call i32 @printf(ptr noundef @.str.2) br label %14 14: ; preds = %12, %10 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare ptr @getnetbyaddr(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/tmpil7w7sn1.c' source_filename = "/tmp/tmpil7w7sn1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = 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 %8 = load i32, ptr %4, align 4 %9 = sub nsw i32 %8, 1 store i32 %9, ptr %6, align 4 br label %10 10: ; preds = %14, %2 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %25 14: ; preds = %10 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %4, align 4 %17 = load i32, ptr %5, align 4 %18 = call i32 @find_minimal_index(ptr noundef %15, i32 noundef %16, i32 noundef %17) store i32 %18, ptr %7, align 4 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %5, align 4 %22 = call i32 @swap(ptr noundef %19, i32 noundef %20, i32 noundef %21) %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 br label %10, !llvm.loop !6 25: ; preds = %10 ret void } declare i32 @find_minimal_index(ptr noundef, i32 noundef, i32 noundef) #1 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpil7w7sn1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = 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 %8 = load i32, ptr %4, align 4 %9 = sub nsw i32 %8, 1 store i32 %9, ptr %6, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %27 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %13 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %5, align 4 %17 = call i32 @find_minimal_index(ptr noundef %14, i32 noundef %15, i32 noundef %16) store i32 %17, ptr %7, align 4 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %5, align 4 %21 = call i32 @swap(ptr noundef %18, i32 noundef %19, i32 noundef %20) %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %6, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %27 27: ; preds = %._crit_edge, %2 ret void } declare i32 @find_minimal_index(ptr noundef, i32 noundef, i32 noundef) #1 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"}
; ModuleID = '/tmp/tmppq8htlvi.c' source_filename = "/tmp/tmppq8htlvi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stradd(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %5, align 4 %8 = load i8, ptr %4, align 1 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %5, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 store i8 %8, ptr %12, align 1 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %5, align 4 %15 = add nsw i32 %14, 1 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %13, i64 %16 store i8 0, ptr %17, align 1 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppq8htlvi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stradd(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %5, align 4 %8 = load i8, ptr %4, align 1 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %5, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 store i8 %8, ptr %12, align 1 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %5, align 4 %15 = add nsw i32 %14, 1 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %13, i64 %16 store i8 0, ptr %17, align 1 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2novfgp0.c' source_filename = "/tmp/tmp2novfgp0.c" target datalayout = "e-m:e-p270: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 [25 x i8] c"Error : n < 2 in nc8()\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @nc8(double noundef %0, double noundef %1, i32 noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca i32, align 4 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp slt i32 %20, 2 br i1 %21, label %22, label %25 22: ; preds = %3 %23 = load i32, ptr @stderr, align 4 %24 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str) store double 0.000000e+00, ptr %4, align 8 br label %122 25: ; preds = %3 %26 = load double, ptr %5, align 8 %27 = load double, ptr %6, align 8 %28 = fcmp oeq double %26, %27 br i1 %28, label %29, label %30 29: ; preds = %25 store double 0.000000e+00, ptr %4, align 8 br label %122 30: ; preds = %25 %31 = load double, ptr %5, align 8 %32 = call i32 @_f(double noundef %31) %33 = sitofp i32 %32 to double %34 = load double, ptr %6, align 8 %35 = call i32 @_f(double noundef %34) %36 = sitofp i32 %35 to double %37 = call double @llvm.fmuladd.f64(double -9.890000e+02, double %36, double %33) store double %37, ptr %17, align 8 %38 = load double, ptr %6, align 8 %39 = load double, ptr %5, align 8 %40 = fsub double %38, %39 %41 = load i32, ptr %7, align 4 %42 = sitofp i32 %41 to double %43 = fdiv double %40, %42 store double %43, ptr %8, align 8 %44 = load double, ptr %8, align 8 %45 = fdiv double %44, 8.000000e+00 store double %45, ptr %9, align 8 %46 = load double, ptr %8, align 8 %47 = fdiv double %46, 4.000000e+00 store double %47, ptr %10, align 8 %48 = load double, ptr %8, align 8 %49 = fmul double %48, 3.750000e-01 store double %49, ptr %11, align 8 %50 = load double, ptr %8, align 8 %51 = fdiv double %50, 2.000000e+00 store double %51, ptr %12, align 8 %52 = load double, ptr %8, align 8 %53 = fdiv double %52, 1.600000e+00 store double %53, ptr %13, align 8 %54 = load double, ptr %8, align 8 %55 = fmul double %54, 7.500000e-01 store double %55, ptr %14, align 8 %56 = load double, ptr %8, align 8 %57 = fmul double %56, 8.750000e-01 store double %57, ptr %15, align 8 store i32 0, ptr %19, align 4 store double 1.000000e+00, ptr %16, align 8 br label %58 58: ; preds = %112, %30 %59 = load i32, ptr %19, align 4 %60 = load i32, ptr %7, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %62, label %117 62: ; preds = %58 %63 = load double, ptr %5, align 8 %64 = load double, ptr %8, align 8 %65 = load double, ptr %16, align 8 %66 = call double @llvm.fmuladd.f64(double %64, double %65, double %63) store double %66, ptr %18, align 8 %67 = load double, ptr %18, align 8 %68 = call i32 @_f(double noundef %67) %69 = sitofp i32 %68 to double %70 = load double, ptr %18, align 8 %71 = load double, ptr %15, align 8 %72 = fsub double %70, %71 %73 = call i32 @_f(double noundef %72) %74 = load double, ptr %18, align 8 %75 = load double, ptr %9, align 8 %76 = fsub double %74, %75 %77 = call i32 @_f(double noundef %76) %78 = add nsw i32 %73, %77 %79 = sitofp i32 %78 to double %80 = fmul double 5.888000e+03, %79 %81 = call double @llvm.fmuladd.f64(double 1.978000e+03, double %69, double %80) %82 = load double, ptr %18, align 8 %83 = load double, ptr %14, align 8 %84 = fsub double %82, %83 %85 = call i32 @_f(double noundef %84) %86 = load double, ptr %18, align 8 %87 = load double, ptr %10, align 8 %88 = fsub double %86, %87 %89 = call i32 @_f(double noundef %88) %90 = add nsw i32 %85, %89 %91 = sitofp i32 %90 to double %92 = call double @llvm.fmuladd.f64(double -9.280000e+02, double %91, double %81) %93 = load double, ptr %18, align 8 %94 = load double, ptr %13, align 8 %95 = fsub double %93, %94 %96 = call i32 @_f(double noundef %95) %97 = load double, ptr %18, align 8 %98 = load double, ptr %11, align 8 %99 = fsub double %97, %98 %100 = call i32 @_f(double noundef %99) %101 = add nsw i32 %96, %100 %102 = sitofp i32 %101 to double %103 = call double @llvm.fmuladd.f64(double 1.049600e+04, double %102, double %92) %104 = load double, ptr %18, align 8 %105 = load double, ptr %12, align 8 %106 = fsub double %104, %105 %107 = call i32 @_f(double noundef %106) %108 = sitofp i32 %107 to double %109 = call double @llvm.fmuladd.f64(double -4.540000e+03, double %108, double %103) %110 = load double, ptr %17, align 8 %111 = fadd double %110, %109 store double %111, ptr %17, align 8 br label %112 112: ; preds = %62 %113 = load i32, ptr %19, align 4 %114 = add nsw i32 %113, 1 store i32 %114, ptr %19, align 4 %115 = load double, ptr %16, align 8 %116 = fadd double %115, 1.000000e+00 store double %116, ptr %16, align 8 br label %58, !llvm.loop !6 117: ; preds = %58 %118 = load double, ptr %17, align 8 %119 = load double, ptr %8, align 8 %120 = fmul double %118, %119 %121 = fdiv double %120, 2.835000e+04 store double %121, ptr %4, align 8 br label %122 122: ; preds = %117, %29, %22 %123 = load double, ptr %4, align 8 ret double %123 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @_f(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2novfgp0.c" target datalayout = "e-m:e-p270: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 [25 x i8] c"Error : n < 2 in nc8()\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @nc8(double noundef %0, double noundef %1, i32 noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca i32, align 4 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp slt i32 %20, 2 br i1 %21, label %22, label %25 22: ; preds = %3 %23 = load i32, ptr @stderr, align 4 %24 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str) store double 0.000000e+00, ptr %4, align 8 br label %124 25: ; preds = %3 %26 = load double, ptr %5, align 8 %27 = load double, ptr %6, align 8 %28 = fcmp oeq double %26, %27 br i1 %28, label %29, label %30 29: ; preds = %25 store double 0.000000e+00, ptr %4, align 8 br label %124 30: ; preds = %25 %31 = load double, ptr %5, align 8 %32 = call i32 @_f(double noundef %31) %33 = sitofp i32 %32 to double %34 = load double, ptr %6, align 8 %35 = call i32 @_f(double noundef %34) %36 = sitofp i32 %35 to double %37 = call double @llvm.fmuladd.f64(double -9.890000e+02, double %36, double %33) store double %37, ptr %17, align 8 %38 = load double, ptr %6, align 8 %39 = load double, ptr %5, align 8 %40 = fsub double %38, %39 %41 = load i32, ptr %7, align 4 %42 = sitofp i32 %41 to double %43 = fdiv double %40, %42 store double %43, ptr %8, align 8 %44 = load double, ptr %8, align 8 %45 = fdiv double %44, 8.000000e+00 store double %45, ptr %9, align 8 %46 = load double, ptr %8, align 8 %47 = fdiv double %46, 4.000000e+00 store double %47, ptr %10, align 8 %48 = load double, ptr %8, align 8 %49 = fmul double %48, 3.750000e-01 store double %49, ptr %11, align 8 %50 = load double, ptr %8, align 8 %51 = fdiv double %50, 2.000000e+00 store double %51, ptr %12, align 8 %52 = load double, ptr %8, align 8 %53 = fdiv double %52, 1.600000e+00 store double %53, ptr %13, align 8 %54 = load double, ptr %8, align 8 %55 = fmul double %54, 7.500000e-01 store double %55, ptr %14, align 8 %56 = load double, ptr %8, align 8 %57 = fmul double %56, 8.750000e-01 store double %57, ptr %15, align 8 store i32 0, ptr %19, align 4 store double 1.000000e+00, ptr %16, align 8 %58 = load i32, ptr %19, align 4 %59 = load i32, ptr %7, align 4 %60 = icmp slt i32 %58, %59 br i1 %60, label %.lr.ph, label %119 .lr.ph: ; preds = %30 br label %61 61: ; preds = %.lr.ph, %111 %62 = load double, ptr %5, align 8 %63 = load double, ptr %8, align 8 %64 = load double, ptr %16, align 8 %65 = call double @llvm.fmuladd.f64(double %63, double %64, double %62) store double %65, ptr %18, align 8 %66 = load double, ptr %18, align 8 %67 = call i32 @_f(double noundef %66) %68 = sitofp i32 %67 to double %69 = load double, ptr %18, align 8 %70 = load double, ptr %15, align 8 %71 = fsub double %69, %70 %72 = call i32 @_f(double noundef %71) %73 = load double, ptr %18, align 8 %74 = load double, ptr %9, align 8 %75 = fsub double %73, %74 %76 = call i32 @_f(double noundef %75) %77 = add nsw i32 %72, %76 %78 = sitofp i32 %77 to double %79 = fmul double 5.888000e+03, %78 %80 = call double @llvm.fmuladd.f64(double 1.978000e+03, double %68, double %79) %81 = load double, ptr %18, align 8 %82 = load double, ptr %14, align 8 %83 = fsub double %81, %82 %84 = call i32 @_f(double noundef %83) %85 = load double, ptr %18, align 8 %86 = load double, ptr %10, align 8 %87 = fsub double %85, %86 %88 = call i32 @_f(double noundef %87) %89 = add nsw i32 %84, %88 %90 = sitofp i32 %89 to double %91 = call double @llvm.fmuladd.f64(double -9.280000e+02, double %90, double %80) %92 = load double, ptr %18, align 8 %93 = load double, ptr %13, align 8 %94 = fsub double %92, %93 %95 = call i32 @_f(double noundef %94) %96 = load double, ptr %18, align 8 %97 = load double, ptr %11, align 8 %98 = fsub double %96, %97 %99 = call i32 @_f(double noundef %98) %100 = add nsw i32 %95, %99 %101 = sitofp i32 %100 to double %102 = call double @llvm.fmuladd.f64(double 1.049600e+04, double %101, double %91) %103 = load double, ptr %18, align 8 %104 = load double, ptr %12, align 8 %105 = fsub double %103, %104 %106 = call i32 @_f(double noundef %105) %107 = sitofp i32 %106 to double %108 = call double @llvm.fmuladd.f64(double -4.540000e+03, double %107, double %102) %109 = load double, ptr %17, align 8 %110 = fadd double %109, %108 store double %110, ptr %17, align 8 br label %111 111: ; preds = %61 %112 = load i32, ptr %19, align 4 %113 = add nsw i32 %112, 1 store i32 %113, ptr %19, align 4 %114 = load double, ptr %16, align 8 %115 = fadd double %114, 1.000000e+00 store double %115, ptr %16, align 8 %116 = load i32, ptr %19, align 4 %117 = load i32, ptr %7, align 4 %118 = icmp slt i32 %116, %117 br i1 %118, label %61, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %111 br label %119 119: ; preds = %._crit_edge, %30 %120 = load double, ptr %17, align 8 %121 = load double, ptr %8, align 8 %122 = fmul double %120, %121 %123 = fdiv double %122, 2.835000e+04 store double %123, ptr %4, align 8 br label %124 124: ; preds = %119, %29, %22 %125 = load double, ptr %4, align 8 ret double %125 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @_f(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpkrfeaows.c' source_filename = "/tmp/tmpkrfeaows.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skip_spaces(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %17, %1 %4 = load ptr, ptr %2, align 8 %5 = load ptr, ptr %4, align 8 %6 = load i8, ptr %5, align 1 %7 = sext i8 %6 to i32 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %15 9: ; preds = %3 %10 = load ptr, ptr %2, align 8 %11 = load ptr, ptr %10, align 8 %12 = load i8, ptr %11, align 1 %13 = call i64 @isspace(i8 noundef signext %12) %14 = icmp ne i64 %13, 0 br label %15 15: ; preds = %9, %3 %16 = phi i1 [ false, %3 ], [ %14, %9 ] br i1 %16, label %17, label %21 17: ; preds = %15 %18 = load ptr, ptr %2, align 8 %19 = load ptr, ptr %18, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %18, align 8 br label %3, !llvm.loop !6 21: ; preds = %15 ret void } declare i64 @isspace(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkrfeaows.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skip_spaces(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %17, %1 %4 = load ptr, ptr %2, align 8 %5 = load ptr, ptr %4, align 8 %6 = load i8, ptr %5, align 1 %7 = sext i8 %6 to i32 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %15 9: ; preds = %3 %10 = load ptr, ptr %2, align 8 %11 = load ptr, ptr %10, align 8 %12 = load i8, ptr %11, align 1 %13 = call i64 @isspace(i8 noundef signext %12) %14 = icmp ne i64 %13, 0 br label %15 15: ; preds = %9, %3 %16 = phi i1 [ false, %3 ], [ %14, %9 ] br i1 %16, label %17, label %21 17: ; preds = %15 %18 = load ptr, ptr %2, align 8 %19 = load ptr, ptr %18, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %18, align 8 br label %3, !llvm.loop !6 21: ; preds = %15 ret void } declare i64 @isspace(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpkvj_lb19.c' source_filename = "/tmp/tmpkvj_lb19.c" target datalayout = "e-m:e-p270: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/tmpkvj_lb19.c" target datalayout = "e-m:e-p270: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/tmpxs_kh5dm.c' source_filename = "/tmp/tmpxs_kh5dm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @get_next_token.eob = internal global i32 1, align 4 @get_next_token.t_index = internal global ptr null, align 8 @get_next_token.last_inbuf = internal global ptr null, align 8 @get_next_token.token_buf = internal global [256 x i8] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_next_token(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 0, ptr %5, align 4 %7 = load ptr, ptr %3, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %13 9: ; preds = %1 %10 = load ptr, ptr @get_next_token.last_inbuf, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %13 12: ; preds = %9 store ptr null, ptr %2, align 8 br label %217 13: ; preds = %9, %1 %14 = load i32, ptr @get_next_token.eob, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %13 store i32 0, ptr @get_next_token.eob, align 4 %17 = load ptr, ptr %3, align 8 store ptr %17, ptr @get_next_token.t_index, align 8 br label %18 18: ; preds = %16, %13 %19 = load ptr, ptr @get_next_token.t_index, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %36, label %21 21: ; preds = %18 %22 = load ptr, ptr @get_next_token.t_index, 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 %36, label %26 26: ; preds = %21 %27 = load ptr, ptr @get_next_token.t_index, align 8 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 35 br i1 %30, label %36, label %31 31: ; preds = %26 %32 = load ptr, ptr @get_next_token.t_index, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 10 br i1 %35, label %36, label %37 36: ; preds = %31, %26, %21, %18 store i32 1, ptr @get_next_token.eob, align 4 store ptr null, ptr %2, align 8 br label %217 37: ; preds = %31 br label %38 38: ; preds = %50, %37 %39 = load ptr, ptr @get_next_token.t_index, align 8 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 32 br i1 %42, label %48, label %43 43: ; preds = %38 %44 = load ptr, ptr @get_next_token.t_index, align 8 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp eq i32 %46, 9 br label %48 48: ; preds = %43, %38 %49 = phi i1 [ true, %38 ], [ %47, %43 ] br i1 %49, label %50, label %53 50: ; preds = %48 %51 = load ptr, ptr @get_next_token.t_index, align 8 %52 = getelementptr inbounds i8, ptr %51, i32 1 store ptr %52, ptr @get_next_token.t_index, align 8 br label %38, !llvm.loop !6 53: ; preds = %48 %54 = load ptr, ptr @get_next_token.t_index, align 8 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = icmp eq i32 %56, 34 br i1 %57, label %58, label %61 58: ; preds = %53 store i32 1, ptr %5, align 4 %59 = load ptr, ptr @get_next_token.t_index, align 8 %60 = getelementptr inbounds i8, ptr %59, i32 1 store ptr %60, ptr @get_next_token.t_index, align 8 br label %61 61: ; preds = %58, %53 %62 = load ptr, ptr @get_next_token.t_index, align 8 store ptr %62, ptr %6, align 8 %63 = load i32, ptr %5, align 4 %64 = icmp ne i32 %63, 0 br i1 %64, label %65, label %75 65: ; preds = %61 br label %66 66: ; preds = %71, %65 %67 = load ptr, ptr @get_next_token.t_index, align 8 %68 = load i8, ptr %67, align 1 %69 = sext i8 %68 to i32 %70 = icmp ne i32 %69, 34 br i1 %70, label %71, label %74 71: ; preds = %66 %72 = load ptr, ptr @get_next_token.t_index, align 8 %73 = getelementptr inbounds i8, ptr %72, i32 1 store ptr %73, ptr @get_next_token.t_index, align 8 br label %66, !llvm.loop !8 74: ; preds = %66 br label %161 75: ; preds = %61 %76 = load ptr, ptr @get_next_token.t_index, align 8 %77 = load i8, ptr %76, align 1 %78 = sext i8 %77 to i32 %79 = icmp eq i32 %78, 123 br i1 %79, label %100, label %80 80: ; preds = %75 %81 = load ptr, ptr @get_next_token.t_index, align 8 %82 = load i8, ptr %81, align 1 %83 = sext i8 %82 to i32 %84 = icmp eq i32 %83, 125 br i1 %84, label %100, label %85 85: ; preds = %80 %86 = load ptr, ptr @get_next_token.t_index, align 8 %87 = load i8, ptr %86, align 1 %88 = sext i8 %87 to i32 %89 = icmp eq i32 %88, 59 br i1 %89, label %100, label %90 90: ; preds = %85 %91 = load ptr, ptr @get_next_token.t_index, align 8 %92 = load i8, ptr %91, align 1 %93 = sext i8 %92 to i32 %94 = icmp eq i32 %93, 61 br i1 %94, label %100, label %95 95: ; preds = %90 %96 = load ptr, ptr @get_next_token.t_index, align 8 %97 = load i8, ptr %96, align 1 %98 = sext i8 %97 to i32 %99 = icmp eq i32 %98, 44 br i1 %99, label %100, label %103 100: ; preds = %95, %90, %85, %80, %75 %101 = load ptr, ptr @get_next_token.t_index, align 8 %102 = getelementptr inbounds i8, ptr %101, i32 1 store ptr %102, ptr @get_next_token.t_index, align 8 br label %160 103: ; preds = %95 br label %104 104: ; preds = %156, %103 %105 = load ptr, ptr @get_next_token.t_index, align 8 %106 = load i8, ptr %105, align 1 %107 = sext i8 %106 to i32 %108 = icmp ne i32 %107, 32 br i1 %108, label %109, label %154 109: ; preds = %104 %110 = load ptr, ptr @get_next_token.t_index, align 8 %111 = load i8, ptr %110, align 1 %112 = sext i8 %111 to i32 %113 = icmp ne i32 %112, 9 br i1 %113, label %114, label %154 114: ; preds = %109 %115 = load ptr, ptr @get_next_token.t_index, align 8 %116 = load i8, ptr %115, align 1 %117 = sext i8 %116 to i32 %118 = icmp ne i32 %117, 123 br i1 %118, label %119, label %154 119: ; preds = %114 %120 = load ptr, ptr @get_next_token.t_index, align 8 %121 = load i8, ptr %120, align 1 %122 = sext i8 %121 to i32 %123 = icmp ne i32 %122, 125 br i1 %123, label %124, label %154 124: ; preds = %119 %125 = load ptr, ptr @get_next_token.t_index, align 8 %126 = load i8, ptr %125, align 1 %127 = sext i8 %126 to i32 %128 = icmp ne i32 %127, 59 br i1 %128, label %129, label %154 129: ; preds = %124 %130 = load ptr, ptr @get_next_token.t_index, align 8 %131 = load i8, ptr %130, align 1 %132 = sext i8 %131 to i32 %133 = icmp ne i32 %132, 61 br i1 %133, label %134, label %154 134: ; preds = %129 %135 = load ptr, ptr @get_next_token.t_index, align 8 %136 = load i8, ptr %135, align 1 %137 = sext i8 %136 to i32 %138 = icmp ne i32 %137, 0 br i1 %138, label %139, label %154 139: ; preds = %134 %140 = load ptr, ptr @get_next_token.t_index, align 8 %141 = load i8, ptr %140, align 1 %142 = sext i8 %141 to i32 %143 = icmp ne i32 %142, 10 br i1 %143, label %144, label %154 144: ; preds = %139 %145 = load ptr, ptr @get_next_token.t_index, align 8 %146 = load i8, ptr %145, align 1 %147 = sext i8 %146 to i32 %148 = icmp ne i32 %147, 35 br i1 %148, label %149, label %154 149: ; preds = %144 %150 = load ptr, ptr @get_next_token.t_index, align 8 %151 = load i8, ptr %150, align 1 %152 = sext i8 %151 to i32 %153 = icmp ne i32 %152, 44 br label %154 154: ; preds = %149, %144, %139, %134, %129, %124, %119, %114, %109, %104 %155 = phi i1 [ false, %144 ], [ false, %139 ], [ false, %134 ], [ false, %129 ], [ false, %124 ], [ false, %119 ], [ false, %114 ], [ false, %109 ], [ false, %104 ], [ %153, %149 ] br i1 %155, label %156, label %159 156: ; preds = %154 %157 = load ptr, ptr @get_next_token.t_index, align 8 %158 = getelementptr inbounds i8, ptr %157, i32 1 store ptr %158, ptr @get_next_token.t_index, align 8 br label %104, !llvm.loop !9 159: ; preds = %154 br label %160 160: ; preds = %159, %100 br label %161 161: ; preds = %160, %74 %162 = load ptr, ptr @get_next_token.t_index, align 8 %163 = load ptr, ptr %6, align 8 %164 = icmp eq ptr %162, %163 br i1 %164, label %165, label %181 165: ; preds = %161 %166 = load ptr, ptr @get_next_token.t_index, align 8 %167 = load i8, ptr %166, align 1 %168 = sext i8 %167 to i32 %169 = icmp eq i32 %168, 0 br i1 %169, label %180, label %170 170: ; preds = %165 %171 = load ptr, ptr @get_next_token.t_index, align 8 %172 = load i8, ptr %171, align 1 %173 = sext i8 %172 to i32 %174 = icmp eq i32 %173, 10 br i1 %174, label %180, label %175 175: ; preds = %170 %176 = load ptr, ptr @get_next_token.t_index, align 8 %177 = load i8, ptr %176, align 1 %178 = sext i8 %177 to i32 %179 = icmp eq i32 %178, 35 br i1 %179, label %180, label %181 180: ; preds = %175, %170, %165 store i32 1, ptr @get_next_token.eob, align 4 store ptr null, ptr %2, align 8 br label %217 181: ; preds = %175, %161 %182 = load ptr, ptr @get_next_token.t_index, align 8 %183 = load ptr, ptr %6, align 8 %184 = ptrtoint ptr %182 to i64 %185 = ptrtoint ptr %183 to i64 %186 = sub i64 %184, %185 %187 = urem i64 %186, 256 %188 = trunc i64 %187 to i32 store i32 %188, ptr %4, align 4 %189 = load ptr, ptr %6, align 8 %190 = load i32, ptr %4, align 4 %191 = call i32 @strncpy(ptr noundef @get_next_token.token_buf, ptr noundef %189, i32 noundef %190) %192 = load i32, ptr %4, align 4 %193 = zext i32 %192 to i64 %194 = getelementptr inbounds [256 x i8], ptr @get_next_token.token_buf, i64 0, i64 %193 store i8 0, ptr %194, align 1 %195 = load i32, ptr %5, align 4 %196 = icmp ne i32 %195, 0 br i1 %196, label %197, label %200 197: ; preds = %181 %198 = load ptr, ptr @get_next_token.t_index, align 8 %199 = getelementptr inbounds i8, ptr %198, i32 1 store ptr %199, ptr @get_next_token.t_index, align 8 br label %200 200: ; preds = %197, %181 br label %201 201: ; preds = %213, %200 %202 = load ptr, ptr @get_next_token.t_index, align 8 %203 = load i8, ptr %202, align 1 %204 = sext i8 %203 to i32 %205 = icmp eq i32 %204, 32 br i1 %205, label %211, label %206 206: ; preds = %201 %207 = load ptr, ptr @get_next_token.t_index, align 8 %208 = load i8, ptr %207, align 1 %209 = sext i8 %208 to i32 %210 = icmp eq i32 %209, 9 br label %211 211: ; preds = %206, %201 %212 = phi i1 [ true, %201 ], [ %210, %206 ] br i1 %212, label %213, label %216 213: ; preds = %211 %214 = load ptr, ptr @get_next_token.t_index, align 8 %215 = getelementptr inbounds i8, ptr %214, i32 1 store ptr %215, ptr @get_next_token.t_index, align 8 br label %201, !llvm.loop !10 216: ; preds = %211 store ptr @get_next_token.token_buf, ptr %2, align 8 br label %217 217: ; preds = %216, %180, %36, %12 %218 = load ptr, ptr %2, align 8 ret ptr %218 } declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxs_kh5dm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @get_next_token.eob = internal global i32 1, align 4 @get_next_token.t_index = internal global ptr null, align 8 @get_next_token.last_inbuf = internal global ptr null, align 8 @get_next_token.token_buf = internal global [256 x i8] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_next_token(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 0, ptr %5, align 4 %7 = load ptr, ptr %3, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %13 9: ; preds = %1 %10 = load ptr, ptr @get_next_token.last_inbuf, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %13 12: ; preds = %9 store ptr null, ptr %2, align 8 br label %220 13: ; preds = %9, %1 %14 = load i32, ptr @get_next_token.eob, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %13 store i32 0, ptr @get_next_token.eob, align 4 %17 = load ptr, ptr %3, align 8 store ptr %17, ptr @get_next_token.t_index, align 8 br label %18 18: ; preds = %16, %13 %19 = load ptr, ptr @get_next_token.t_index, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %36, label %21 21: ; preds = %18 %22 = load ptr, ptr @get_next_token.t_index, 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 %36, label %26 26: ; preds = %21 %27 = load ptr, ptr @get_next_token.t_index, align 8 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 35 br i1 %30, label %36, label %31 31: ; preds = %26 %32 = load ptr, ptr @get_next_token.t_index, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 10 br i1 %35, label %36, label %37 36: ; preds = %31, %26, %21, %18 store i32 1, ptr @get_next_token.eob, align 4 store ptr null, ptr %2, align 8 br label %220 37: ; preds = %31 br label %38 38: ; preds = %50, %37 %39 = load ptr, ptr @get_next_token.t_index, align 8 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 32 br i1 %42, label %48, label %43 43: ; preds = %38 %44 = load ptr, ptr @get_next_token.t_index, align 8 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp eq i32 %46, 9 br label %48 48: ; preds = %43, %38 %49 = phi i1 [ true, %38 ], [ %47, %43 ] br i1 %49, label %50, label %53 50: ; preds = %48 %51 = load ptr, ptr @get_next_token.t_index, align 8 %52 = getelementptr inbounds i8, ptr %51, i32 1 store ptr %52, ptr @get_next_token.t_index, align 8 br label %38, !llvm.loop !6 53: ; preds = %48 %54 = load ptr, ptr @get_next_token.t_index, align 8 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = icmp eq i32 %56, 34 br i1 %57, label %58, label %61 58: ; preds = %53 store i32 1, ptr %5, align 4 %59 = load ptr, ptr @get_next_token.t_index, align 8 %60 = getelementptr inbounds i8, ptr %59, i32 1 store ptr %60, ptr @get_next_token.t_index, align 8 br label %61 61: ; preds = %58, %53 %62 = load ptr, ptr @get_next_token.t_index, align 8 store ptr %62, ptr %6, align 8 %63 = load i32, ptr %5, align 4 %64 = icmp ne i32 %63, 0 br i1 %64, label %65, label %78 65: ; preds = %61 %66 = load ptr, ptr @get_next_token.t_index, align 8 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = icmp ne i32 %68, 34 br i1 %69, label %.lr.ph, label %77 .lr.ph: ; preds = %65 br label %70 70: ; preds = %.lr.ph, %70 %71 = load ptr, ptr @get_next_token.t_index, align 8 %72 = getelementptr inbounds i8, ptr %71, i32 1 store ptr %72, ptr @get_next_token.t_index, align 8 %73 = load ptr, ptr @get_next_token.t_index, align 8 %74 = load i8, ptr %73, align 1 %75 = sext i8 %74 to i32 %76 = icmp ne i32 %75, 34 br i1 %76, label %70, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %70 br label %77 77: ; preds = %._crit_edge, %65 br label %164 78: ; preds = %61 %79 = load ptr, ptr @get_next_token.t_index, align 8 %80 = load i8, ptr %79, align 1 %81 = sext i8 %80 to i32 %82 = icmp eq i32 %81, 123 br i1 %82, label %103, label %83 83: ; preds = %78 %84 = load ptr, ptr @get_next_token.t_index, align 8 %85 = load i8, ptr %84, align 1 %86 = sext i8 %85 to i32 %87 = icmp eq i32 %86, 125 br i1 %87, label %103, label %88 88: ; preds = %83 %89 = load ptr, ptr @get_next_token.t_index, align 8 %90 = load i8, ptr %89, align 1 %91 = sext i8 %90 to i32 %92 = icmp eq i32 %91, 59 br i1 %92, label %103, label %93 93: ; preds = %88 %94 = load ptr, ptr @get_next_token.t_index, align 8 %95 = load i8, ptr %94, align 1 %96 = sext i8 %95 to i32 %97 = icmp eq i32 %96, 61 br i1 %97, label %103, label %98 98: ; preds = %93 %99 = load ptr, ptr @get_next_token.t_index, align 8 %100 = load i8, ptr %99, align 1 %101 = sext i8 %100 to i32 %102 = icmp eq i32 %101, 44 br i1 %102, label %103, label %106 103: ; preds = %98, %93, %88, %83, %78 %104 = load ptr, ptr @get_next_token.t_index, align 8 %105 = getelementptr inbounds i8, ptr %104, i32 1 store ptr %105, ptr @get_next_token.t_index, align 8 br label %163 106: ; preds = %98 br label %107 107: ; preds = %159, %106 %108 = load ptr, ptr @get_next_token.t_index, align 8 %109 = load i8, ptr %108, align 1 %110 = sext i8 %109 to i32 %111 = icmp ne i32 %110, 32 br i1 %111, label %112, label %157 112: ; preds = %107 %113 = load ptr, ptr @get_next_token.t_index, align 8 %114 = load i8, ptr %113, align 1 %115 = sext i8 %114 to i32 %116 = icmp ne i32 %115, 9 br i1 %116, label %117, label %157 117: ; preds = %112 %118 = load ptr, ptr @get_next_token.t_index, align 8 %119 = load i8, ptr %118, align 1 %120 = sext i8 %119 to i32 %121 = icmp ne i32 %120, 123 br i1 %121, label %122, label %157 122: ; preds = %117 %123 = load ptr, ptr @get_next_token.t_index, align 8 %124 = load i8, ptr %123, align 1 %125 = sext i8 %124 to i32 %126 = icmp ne i32 %125, 125 br i1 %126, label %127, label %157 127: ; preds = %122 %128 = load ptr, ptr @get_next_token.t_index, align 8 %129 = load i8, ptr %128, align 1 %130 = sext i8 %129 to i32 %131 = icmp ne i32 %130, 59 br i1 %131, label %132, label %157 132: ; preds = %127 %133 = load ptr, ptr @get_next_token.t_index, align 8 %134 = load i8, ptr %133, align 1 %135 = sext i8 %134 to i32 %136 = icmp ne i32 %135, 61 br i1 %136, label %137, label %157 137: ; preds = %132 %138 = load ptr, ptr @get_next_token.t_index, align 8 %139 = load i8, ptr %138, align 1 %140 = sext i8 %139 to i32 %141 = icmp ne i32 %140, 0 br i1 %141, label %142, label %157 142: ; preds = %137 %143 = load ptr, ptr @get_next_token.t_index, align 8 %144 = load i8, ptr %143, align 1 %145 = sext i8 %144 to i32 %146 = icmp ne i32 %145, 10 br i1 %146, label %147, label %157 147: ; preds = %142 %148 = load ptr, ptr @get_next_token.t_index, align 8 %149 = load i8, ptr %148, align 1 %150 = sext i8 %149 to i32 %151 = icmp ne i32 %150, 35 br i1 %151, label %152, label %157 152: ; preds = %147 %153 = load ptr, ptr @get_next_token.t_index, align 8 %154 = load i8, ptr %153, align 1 %155 = sext i8 %154 to i32 %156 = icmp ne i32 %155, 44 br label %157 157: ; preds = %152, %147, %142, %137, %132, %127, %122, %117, %112, %107 %158 = phi i1 [ false, %147 ], [ false, %142 ], [ false, %137 ], [ false, %132 ], [ false, %127 ], [ false, %122 ], [ false, %117 ], [ false, %112 ], [ false, %107 ], [ %156, %152 ] br i1 %158, label %159, label %162 159: ; preds = %157 %160 = load ptr, ptr @get_next_token.t_index, align 8 %161 = getelementptr inbounds i8, ptr %160, i32 1 store ptr %161, ptr @get_next_token.t_index, align 8 br label %107, !llvm.loop !9 162: ; preds = %157 br label %163 163: ; preds = %162, %103 br label %164 164: ; preds = %163, %77 %165 = load ptr, ptr @get_next_token.t_index, align 8 %166 = load ptr, ptr %6, align 8 %167 = icmp eq ptr %165, %166 br i1 %167, label %168, label %184 168: ; preds = %164 %169 = load ptr, ptr @get_next_token.t_index, align 8 %170 = load i8, ptr %169, align 1 %171 = sext i8 %170 to i32 %172 = icmp eq i32 %171, 0 br i1 %172, label %183, label %173 173: ; preds = %168 %174 = load ptr, ptr @get_next_token.t_index, align 8 %175 = load i8, ptr %174, align 1 %176 = sext i8 %175 to i32 %177 = icmp eq i32 %176, 10 br i1 %177, label %183, label %178 178: ; preds = %173 %179 = load ptr, ptr @get_next_token.t_index, align 8 %180 = load i8, ptr %179, align 1 %181 = sext i8 %180 to i32 %182 = icmp eq i32 %181, 35 br i1 %182, label %183, label %184 183: ; preds = %178, %173, %168 store i32 1, ptr @get_next_token.eob, align 4 store ptr null, ptr %2, align 8 br label %220 184: ; preds = %178, %164 %185 = load ptr, ptr @get_next_token.t_index, align 8 %186 = load ptr, ptr %6, align 8 %187 = ptrtoint ptr %185 to i64 %188 = ptrtoint ptr %186 to i64 %189 = sub i64 %187, %188 %190 = urem i64 %189, 256 %191 = trunc i64 %190 to i32 store i32 %191, ptr %4, align 4 %192 = load ptr, ptr %6, align 8 %193 = load i32, ptr %4, align 4 %194 = call i32 @strncpy(ptr noundef @get_next_token.token_buf, ptr noundef %192, i32 noundef %193) %195 = load i32, ptr %4, align 4 %196 = zext i32 %195 to i64 %197 = getelementptr inbounds [256 x i8], ptr @get_next_token.token_buf, i64 0, i64 %196 store i8 0, ptr %197, align 1 %198 = load i32, ptr %5, align 4 %199 = icmp ne i32 %198, 0 br i1 %199, label %200, label %203 200: ; preds = %184 %201 = load ptr, ptr @get_next_token.t_index, align 8 %202 = getelementptr inbounds i8, ptr %201, i32 1 store ptr %202, ptr @get_next_token.t_index, align 8 br label %203 203: ; preds = %200, %184 br label %204 204: ; preds = %216, %203 %205 = load ptr, ptr @get_next_token.t_index, align 8 %206 = load i8, ptr %205, align 1 %207 = sext i8 %206 to i32 %208 = icmp eq i32 %207, 32 br i1 %208, label %214, label %209 209: ; preds = %204 %210 = load ptr, ptr @get_next_token.t_index, align 8 %211 = load i8, ptr %210, align 1 %212 = sext i8 %211 to i32 %213 = icmp eq i32 %212, 9 br label %214 214: ; preds = %209, %204 %215 = phi i1 [ true, %204 ], [ %213, %209 ] br i1 %215, label %216, label %219 216: ; preds = %214 %217 = load ptr, ptr @get_next_token.t_index, align 8 %218 = getelementptr inbounds i8, ptr %217, i32 1 store ptr %218, ptr @get_next_token.t_index, align 8 br label %204, !llvm.loop !10 219: ; preds = %214 store ptr @get_next_token.token_buf, ptr %2, align 8 br label %220 220: ; preds = %219, %183, %36, %12 %221 = load ptr, ptr %2, align 8 ret ptr %221 } declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpk10im2i4.c' source_filename = "/tmp/tmpk10im2i4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MAP_FAILED = dso_local global ptr null, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk10im2i4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MAP_FAILED = dso_local global ptr null, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1ry5p22w.c' source_filename = "/tmp/tmp1ry5p22w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @local_g_1() %3 = call i32 (...) @local_w_1() %4 = call i32 (...) @local_w_2() %5 = call i32 (...) @local_w_3() %6 = call i32 (...) @local_w_4() %7 = call i32 (...) @local_w_5() %8 = call i32 (...) @loop_g_1() %9 = call i32 (...) @loop_g_2() %10 = call i32 (...) @loop_g_3() %11 = call i32 (...) @loop_g_4() %12 = call i32 (...) @loop_g_5() %13 = call i32 (...) @loop_g_6() %14 = call i32 (...) @loop_v_1() %15 = call i32 (...) @loop_v_2() %16 = call i32 (...) @loop_w_1() %17 = call i32 (...) @loop_w_2() %18 = call i32 (...) @loop_w_3() %19 = call i32 (...) @loop_w_4() %20 = call i32 (...) @loop_w_5() %21 = call i32 (...) @loop_w_6() %22 = call i32 (...) @loop_w_7() %23 = call i32 (...) @parallel_g_1() %24 = call i32 (...) @parallel_g_2() ret i32 0 } declare i32 @local_g_1(...) #1 declare i32 @local_w_1(...) #1 declare i32 @local_w_2(...) #1 declare i32 @local_w_3(...) #1 declare i32 @local_w_4(...) #1 declare i32 @local_w_5(...) #1 declare i32 @loop_g_1(...) #1 declare i32 @loop_g_2(...) #1 declare i32 @loop_g_3(...) #1 declare i32 @loop_g_4(...) #1 declare i32 @loop_g_5(...) #1 declare i32 @loop_g_6(...) #1 declare i32 @loop_v_1(...) #1 declare i32 @loop_v_2(...) #1 declare i32 @loop_w_1(...) #1 declare i32 @loop_w_2(...) #1 declare i32 @loop_w_3(...) #1 declare i32 @loop_w_4(...) #1 declare i32 @loop_w_5(...) #1 declare i32 @loop_w_6(...) #1 declare i32 @loop_w_7(...) #1 declare i32 @parallel_g_1(...) #1 declare i32 @parallel_g_2(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1ry5p22w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @local_g_1() %3 = call i32 (...) @local_w_1() %4 = call i32 (...) @local_w_2() %5 = call i32 (...) @local_w_3() %6 = call i32 (...) @local_w_4() %7 = call i32 (...) @local_w_5() %8 = call i32 (...) @loop_g_1() %9 = call i32 (...) @loop_g_2() %10 = call i32 (...) @loop_g_3() %11 = call i32 (...) @loop_g_4() %12 = call i32 (...) @loop_g_5() %13 = call i32 (...) @loop_g_6() %14 = call i32 (...) @loop_v_1() %15 = call i32 (...) @loop_v_2() %16 = call i32 (...) @loop_w_1() %17 = call i32 (...) @loop_w_2() %18 = call i32 (...) @loop_w_3() %19 = call i32 (...) @loop_w_4() %20 = call i32 (...) @loop_w_5() %21 = call i32 (...) @loop_w_6() %22 = call i32 (...) @loop_w_7() %23 = call i32 (...) @parallel_g_1() %24 = call i32 (...) @parallel_g_2() ret i32 0 } declare i32 @local_g_1(...) #1 declare i32 @local_w_1(...) #1 declare i32 @local_w_2(...) #1 declare i32 @local_w_3(...) #1 declare i32 @local_w_4(...) #1 declare i32 @local_w_5(...) #1 declare i32 @loop_g_1(...) #1 declare i32 @loop_g_2(...) #1 declare i32 @loop_g_3(...) #1 declare i32 @loop_g_4(...) #1 declare i32 @loop_g_5(...) #1 declare i32 @loop_g_6(...) #1 declare i32 @loop_v_1(...) #1 declare i32 @loop_v_2(...) #1 declare i32 @loop_w_1(...) #1 declare i32 @loop_w_2(...) #1 declare i32 @loop_w_3(...) #1 declare i32 @loop_w_4(...) #1 declare i32 @loop_w_5(...) #1 declare i32 @loop_w_6(...) #1 declare i32 @loop_w_7(...) #1 declare i32 @parallel_g_1(...) #1 declare i32 @parallel_g_2(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprbch_76_.c' source_filename = "/tmp/tmprbch_76_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quote_str(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = load ptr, ptr %2, align 8 %7 = load i32, ptr %3, align 4 %8 = call ptr @quote_bytes(ptr noundef %6, i32 noundef %7) ret ptr %8 } declare i32 @strlen(ptr noundef) #1 declare ptr @quote_bytes(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/tmprbch_76_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quote_str(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = load ptr, ptr %2, align 8 %7 = load i32, ptr %3, align 4 %8 = call ptr @quote_bytes(ptr noundef %6, i32 noundef %7) ret ptr %8 } declare i32 @strlen(ptr noundef) #1 declare ptr @quote_bytes(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/tmpblbwsa04.c' source_filename = "/tmp/tmpblbwsa04.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vmemDumpHeap() #0 { %1 = call i32 (...) @logGC() ret void } declare i32 @logGC(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpblbwsa04.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vmemDumpHeap() #0 { %1 = call i32 (...) @logGC() ret void } declare i32 @logGC(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc29o9rea.c' source_filename = "/tmp/tmpc29o9rea.c" target datalayout = "e-m:e-p270: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"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [4 x i8], align 1 %2 = getelementptr inbounds [4 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @itoa(i32 noundef -10010, ptr noundef %2) %4 = getelementptr inbounds [4 x i8], ptr %1, i64 0, i64 0 %5 = call i32 @printf(ptr noundef @.str, ptr noundef %4) ret i32 0 } declare i32 @itoa(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc29o9rea.c" target datalayout = "e-m:e-p270: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"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [4 x i8], align 1 %2 = getelementptr inbounds [4 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @itoa(i32 noundef -10010, ptr noundef %2) %4 = getelementptr inbounds [4 x i8], ptr %1, i64 0, i64 0 %5 = call i32 @printf(ptr noundef @.str, ptr noundef %4) ret i32 0 } declare i32 @itoa(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}