llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp79s3kbgh.c' source_filename = "/tmp/tmp79s3kbgh.c" target datalayout = "e-m:e-p270: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/tmp79s3kbgh.c" target datalayout = "e-m:e-p270: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/tmp91_ceb8f.c' source_filename = "/tmp/tmp91_ceb8f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @getrand() %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @getrand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp91_ceb8f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @getrand() %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @getrand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr4q0q63x.c' source_filename = "/tmp/tmpr4q0q63x.c" target datalayout = "e-m:e-p270: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/tmpr4q0q63x.c" target datalayout = "e-m:e-p270: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/tmpjd5advfx.c' source_filename = "/tmp/tmpjd5advfx.c" target datalayout = "e-m:e-p270: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/tmpjd5advfx.c" target datalayout = "e-m:e-p270: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/tmp4yqq6eg7.c' source_filename = "/tmp/tmp4yqq6eg7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UARTRxErrorGet(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @_UARTBaseValid(i32 noundef %3) %5 = call i32 @ASSERT(i32 noundef %4) %6 = load i32, ptr %2, align 4 %7 = add nsw i32 %6, 4 %8 = sext i32 %7 to i64 %9 = inttoptr i64 %8 to ptr %10 = load volatile i32, ptr %9, align 4 %11 = and i32 %10, 15 ret i32 %11 } declare i32 @ASSERT(i32 noundef) #1 declare i32 @_UARTBaseValid(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/tmp4yqq6eg7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UARTRxErrorGet(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @_UARTBaseValid(i32 noundef %3) %5 = call i32 @ASSERT(i32 noundef %4) %6 = load i32, ptr %2, align 4 %7 = add nsw i32 %6, 4 %8 = sext i32 %7 to i64 %9 = inttoptr i64 %8 to ptr %10 = load volatile i32, ptr %9, align 4 %11 = and i32 %10, 15 ret i32 %11 } declare i32 @ASSERT(i32 noundef) #1 declare i32 @_UARTBaseValid(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/tmp3_bgtgwt.c' source_filename = "/tmp/tmp3_bgtgwt.c" target datalayout = "e-m:e-p270: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 [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %10 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %11 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) store i32 1, ptr %8, align 4 br label %12 12: ; preds = %39, %0 %13 = load i32, ptr %8, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp sle i32 %13, %14 br i1 %15, label %16, label %42 16: ; preds = %12 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp eq i32 %17, %18 br i1 %19, label %20, label %23 20: ; preds = %16 %21 = load i32, ptr %7, align 4 %22 = add nsw i32 %21, 2 store i32 %22, ptr %7, align 4 store i32 0, ptr %5, align 4 br label %23 23: ; preds = %20, %16 %24 = load i32, ptr %3, align 4 %25 = sitofp i32 %24 to float %26 = load i32, ptr %3, align 4 %27 = sitofp i32 %26 to float %28 = load i32, ptr %7, align 4 %29 = sitofp i32 %28 to float %30 = fdiv float %29, 1.000000e+02 %31 = fneg float %27 %32 = call float @llvm.fmuladd.f32(float %31, float %30, float %25) %33 = load i32, ptr %6, align 4 %34 = sitofp i32 %33 to float %35 = fadd float %34, %32 %36 = fptosi float %35 to i32 store i32 %36, ptr %6, align 4 %37 = load i32, ptr %5, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %5, align 4 br label %39 39: ; preds = %23 %40 = load i32, ptr %8, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %8, align 4 br label %12, !llvm.loop !6 42: ; preds = %12 %43 = load i32, ptr %6, align 4 %44 = call i32 @printf(ptr noundef @.str.1, i32 noundef %43) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree 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/tmp3_bgtgwt.c" target datalayout = "e-m:e-p270: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 [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %10 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %11 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) store i32 1, ptr %8, align 4 %12 = load i32, ptr %8, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp sle i32 %12, %13 br i1 %14, label %.lr.ph, label %44 .lr.ph: ; preds = %0 br label %15 15: ; preds = %.lr.ph, %38 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp eq i32 %16, %17 br i1 %18, label %19, label %22 19: ; preds = %15 %20 = load i32, ptr %7, align 4 %21 = add nsw i32 %20, 2 store i32 %21, ptr %7, align 4 store i32 0, ptr %5, align 4 br label %22 22: ; preds = %19, %15 %23 = load i32, ptr %3, align 4 %24 = sitofp i32 %23 to float %25 = load i32, ptr %3, align 4 %26 = sitofp i32 %25 to float %27 = load i32, ptr %7, align 4 %28 = sitofp i32 %27 to float %29 = fdiv float %28, 1.000000e+02 %30 = fneg float %26 %31 = call float @llvm.fmuladd.f32(float %30, float %29, float %24) %32 = load i32, ptr %6, align 4 %33 = sitofp i32 %32 to float %34 = fadd float %33, %31 %35 = fptosi float %34 to i32 store i32 %35, ptr %6, align 4 %36 = load i32, ptr %5, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %5, align 4 br label %38 38: ; preds = %22 %39 = load i32, ptr %8, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %8, align 4 %41 = load i32, ptr %8, align 4 %42 = load i32, ptr %2, align 4 %43 = icmp sle i32 %41, %42 br i1 %43, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %44 44: ; preds = %._crit_edge, %0 %45 = load i32, ptr %6, align 4 %46 = call i32 @printf(ptr noundef @.str.1, i32 noundef %45) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree 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/tmpaaj3aq51.c' source_filename = "/tmp/tmpaaj3aq51.c" target datalayout = "e-m:e-p270: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/tmpaaj3aq51.c" target datalayout = "e-m:e-p270: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/tmp1xh9yc25.c' source_filename = "/tmp/tmp1xh9yc25.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPPROTO_UDP = 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/tmp1xh9yc25.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPPROTO_UDP = 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/tmp5k3ksoby.c' source_filename = "/tmp/tmp5k3ksoby.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @s_strncpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = call i32 @strncpy(ptr noundef %7, ptr noundef %8, i64 noundef %9) %11 = load ptr, ptr %4, align 8 %12 = load i64, ptr %6, align 8 %13 = sub i64 %12, 1 %14 = getelementptr inbounds i8, ptr %11, i64 %13 store i8 0, ptr %14, align 1 ret void } declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5k3ksoby.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @s_strncpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = call i32 @strncpy(ptr noundef %7, ptr noundef %8, i64 noundef %9) %11 = load ptr, ptr %4, align 8 %12 = load i64, ptr %6, align 8 %13 = sub i64 %12, 1 %14 = getelementptr inbounds i8, ptr %11, i64 %13 store i8 0, ptr %14, align 1 ret void } declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfzc9xbtp.c' source_filename = "/tmp/tmpfzc9xbtp.c" target datalayout = "e-m:e-p270: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/tmpfzc9xbtp.c" target datalayout = "e-m:e-p270: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/tmpu1gqsp63.c' source_filename = "/tmp/tmpu1gqsp63.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @z0_m(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load double, ptr %3, align 8 %6 = load double, ptr %4, align 8 %7 = fdiv double %5, %6 %8 = call double @pow(double noundef %7, double noundef 2.500000e+00) #3 %9 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %8, double 5.000000e-03) ret double %9 } ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu1gqsp63.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @z0_m(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load double, ptr %3, align 8 %6 = load double, ptr %4, align 8 %7 = fdiv double %5, %6 %8 = call double @pow(double noundef %7, double noundef 2.500000e+00) #3 %9 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %8, double 5.000000e-03) ret double %9 } ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx0ix3v2_.c' source_filename = "/tmp/tmpx0ix3v2_.c" target datalayout = "e-m:e-p270: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.greedy_align_paragraph.delims = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @greedy_align_paragraph(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca [2 x i8], align 1 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = zext i32 %10 to i64 %12 = call ptr @llvm.stacksave() store ptr %12, ptr %5, align 8 %13 = alloca i8, i64 %11, align 16 store i64 %11, ptr %6, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.greedy_align_paragraph.delims, i64 2, i1 false) store i32 0, ptr %8, align 4 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %16 = call ptr @strtok(ptr noundef %14, ptr noundef %15) store ptr %16, ptr %9, align 8 %17 = getelementptr inbounds i8, ptr %13, i64 0 store i8 0, ptr %17, align 16 br label %18 18: ; preds = %51, %2 br label %19 19: ; preds = %18 %20 = load ptr, ptr %9, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %22, label %26 22: ; preds = %19 %23 = load ptr, ptr %9, align 8 %24 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %25 = call i32 @strcspn(ptr noundef %23, ptr noundef %24) store i32 %25, ptr %8, align 4 br label %26 26: ; preds = %22, %19 %27 = load i32, ptr %8, align 4 %28 = call i32 @strlen(ptr noundef %13) %29 = add nsw i32 %27, %28 %30 = load i32, ptr %4, align 4 %31 = sub nsw i32 %30, 4 %32 = icmp sgt i32 %29, %31 br i1 %32, label %36, label %33 33: ; preds = %26 %34 = load ptr, ptr %9, align 8 %35 = icmp ne ptr %34, null br i1 %35, label %42, label %36 36: ; preds = %33, %26 %37 = load i32, ptr %4, align 4 %38 = call i32 @print_centered(ptr noundef %13, i32 noundef %37, i8 noundef signext 42) %39 = load i32, ptr %4, align 4 %40 = call i32 @memset(ptr noundef %13, i32 noundef -1, i32 noundef %39) %41 = getelementptr inbounds i8, ptr %13, i64 0 store i8 0, ptr %41, align 16 br label %42 42: ; preds = %36, %33 %43 = load ptr, ptr %9, align 8 %44 = icmp ne ptr %43, null br i1 %44, label %46, label %45 45: ; preds = %42 br label %56 46: ; preds = %42 %47 = call i32 @strlen(ptr noundef %13) %48 = icmp sgt i32 %47, 0 br i1 %48, label %49, label %51 49: ; preds = %46 %50 = call i32 @strcat(ptr noundef %13, ptr noundef @.str) br label %51 51: ; preds = %49, %46 %52 = load ptr, ptr %9, align 8 %53 = call i32 @strcat(ptr noundef %13, ptr noundef %52) %54 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %55 = call ptr @strtok(ptr noundef null, ptr noundef %54) store ptr %55, ptr %9, align 8 br label %18 56: ; preds = %45 %57 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %57) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare ptr @strtok(ptr noundef, ptr noundef) #3 declare i32 @strcspn(ptr noundef, ptr noundef) #3 declare i32 @strlen(ptr noundef) #3 declare i32 @print_centered(ptr noundef, i32 noundef, i8 noundef signext) #3 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #3 declare i32 @strcat(ptr noundef, ptr noundef) #3 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx0ix3v2_.c" target datalayout = "e-m:e-p270: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.greedy_align_paragraph.delims = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @greedy_align_paragraph(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca [2 x i8], align 1 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = zext i32 %10 to i64 %12 = call ptr @llvm.stacksave() store ptr %12, ptr %5, align 8 %13 = alloca i8, i64 %11, align 16 store i64 %11, ptr %6, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.greedy_align_paragraph.delims, i64 2, i1 false) store i32 0, ptr %8, align 4 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %16 = call ptr @strtok(ptr noundef %14, ptr noundef %15) store ptr %16, ptr %9, align 8 %17 = getelementptr inbounds i8, ptr %13, i64 0 store i8 0, ptr %17, align 16 br label %18 18: ; preds = %51, %2 br label %19 19: ; preds = %18 %20 = load ptr, ptr %9, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %22, label %26 22: ; preds = %19 %23 = load ptr, ptr %9, align 8 %24 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %25 = call i32 @strcspn(ptr noundef %23, ptr noundef %24) store i32 %25, ptr %8, align 4 br label %26 26: ; preds = %22, %19 %27 = load i32, ptr %8, align 4 %28 = call i32 @strlen(ptr noundef %13) %29 = add nsw i32 %27, %28 %30 = load i32, ptr %4, align 4 %31 = sub nsw i32 %30, 4 %32 = icmp sgt i32 %29, %31 br i1 %32, label %36, label %33 33: ; preds = %26 %34 = load ptr, ptr %9, align 8 %35 = icmp ne ptr %34, null br i1 %35, label %42, label %36 36: ; preds = %33, %26 %37 = load i32, ptr %4, align 4 %38 = call i32 @print_centered(ptr noundef %13, i32 noundef %37, i8 noundef signext 42) %39 = load i32, ptr %4, align 4 %40 = call i32 @memset(ptr noundef %13, i32 noundef -1, i32 noundef %39) %41 = getelementptr inbounds i8, ptr %13, i64 0 store i8 0, ptr %41, align 16 br label %42 42: ; preds = %36, %33 %43 = load ptr, ptr %9, align 8 %44 = icmp ne ptr %43, null br i1 %44, label %46, label %45 45: ; preds = %42 br label %56 46: ; preds = %42 %47 = call i32 @strlen(ptr noundef %13) %48 = icmp sgt i32 %47, 0 br i1 %48, label %49, label %51 49: ; preds = %46 %50 = call i32 @strcat(ptr noundef %13, ptr noundef @.str) br label %51 51: ; preds = %49, %46 %52 = load ptr, ptr %9, align 8 %53 = call i32 @strcat(ptr noundef %13, ptr noundef %52) %54 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %55 = call ptr @strtok(ptr noundef null, ptr noundef %54) store ptr %55, ptr %9, align 8 br label %18 56: ; preds = %45 %57 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %57) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare ptr @strtok(ptr noundef, ptr noundef) #3 declare i32 @strcspn(ptr noundef, ptr noundef) #3 declare i32 @strlen(ptr noundef) #3 declare i32 @print_centered(ptr noundef, i32 noundef, i8 noundef signext) #3 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #3 declare i32 @strcat(ptr noundef, ptr noundef) #3 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprwpmkpt1.c' source_filename = "/tmp/tmprwpmkpt1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @build_Q_flat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca double, align 8 %11 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 store i64 0, ptr %7, align 8 br label %12 12: ; preds = %39, %3 %13 = load i64, ptr %7, align 8 %14 = load i64, ptr %6, align 8 %15 = icmp ult i64 %13, %14 br i1 %15, label %16, label %42 16: ; preds = %12 store i64 0, ptr %8, align 8 br label %17 17: ; preds = %35, %16 %18 = load i64, ptr %8, align 8 %19 = load i64, ptr %6, align 8 %20 = icmp ult i64 %18, %19 br i1 %20, label %21, label %38 21: ; preds = %17 %22 = load ptr, ptr %5, align 8 %23 = load i64, ptr %8, align 8 %24 = getelementptr inbounds double, ptr %22, i64 %23 %25 = load double, ptr %24, align 8 %26 = load ptr, ptr %4, align 8 %27 = load i64, ptr %7, align 8 %28 = load i64, ptr %6, align 8 %29 = mul i64 %27, %28 %30 = load i64, ptr %8, align 8 %31 = add i64 %29, %30 %32 = getelementptr inbounds double, ptr %26, i64 %31 %33 = load double, ptr %32, align 8 %34 = fmul double %33, %25 store double %34, ptr %32, align 8 br label %35 35: ; preds = %21 %36 = load i64, ptr %8, align 8 %37 = add i64 %36, 1 store i64 %37, ptr %8, align 8 br label %17, !llvm.loop !6 38: ; preds = %17 br label %39 39: ; preds = %38 %40 = load i64, ptr %7, align 8 %41 = add i64 %40, 1 store i64 %41, ptr %7, align 8 br label %12, !llvm.loop !8 42: ; preds = %12 store i64 0, ptr %9, align 8 br label %43 43: ; preds = %83, %42 %44 = load i64, ptr %9, align 8 %45 = load i64, ptr %6, align 8 %46 = icmp ult i64 %44, %45 br i1 %46, label %47, label %86 47: ; preds = %43 store double 0.000000e+00, ptr %10, align 8 %48 = load ptr, ptr %4, align 8 %49 = load i64, ptr %9, align 8 %50 = load i64, ptr %6, align 8 %51 = mul i64 %49, %50 %52 = load i64, ptr %9, align 8 %53 = add i64 %51, %52 %54 = getelementptr inbounds double, ptr %48, i64 %53 store double 0.000000e+00, ptr %54, align 8 store i64 0, ptr %11, align 8 br label %55 55: ; preds = %70, %47 %56 = load i64, ptr %11, align 8 %57 = load i64, ptr %6, align 8 %58 = icmp ult i64 %56, %57 br i1 %58, label %59, label %73 59: ; preds = %55 %60 = load ptr, ptr %4, align 8 %61 = load i64, ptr %9, align 8 %62 = load i64, ptr %6, align 8 %63 = mul i64 %61, %62 %64 = load i64, ptr %11, align 8 %65 = add i64 %63, %64 %66 = getelementptr inbounds double, ptr %60, i64 %65 %67 = load double, ptr %66, align 8 %68 = load double, ptr %10, align 8 %69 = fadd double %68, %67 store double %69, ptr %10, align 8 br label %70 70: ; preds = %59 %71 = load i64, ptr %11, align 8 %72 = add i64 %71, 1 store i64 %72, ptr %11, align 8 br label %55, !llvm.loop !9 73: ; preds = %55 %74 = load double, ptr %10, align 8 %75 = fneg double %74 %76 = load ptr, ptr %4, align 8 %77 = load i64, ptr %9, align 8 %78 = load i64, ptr %6, align 8 %79 = mul i64 %77, %78 %80 = load i64, ptr %9, align 8 %81 = add i64 %79, %80 %82 = getelementptr inbounds double, ptr %76, i64 %81 store double %75, ptr %82, align 8 br label %83 83: ; preds = %73 %84 = load i64, ptr %9, align 8 %85 = add i64 %84, 1 store i64 %85, ptr %9, align 8 br label %43, !llvm.loop !10 86: ; preds = %43 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprwpmkpt1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @build_Q_flat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca double, align 8 %11 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 store i64 0, ptr %7, align 8 %12 = load i64, ptr %7, align 8 %13 = load i64, ptr %6, align 8 %14 = icmp ult i64 %12, %13 br i1 %14, label %.lr.ph2, label %46 .lr.ph2: ; preds = %3 br label %15 15: ; preds = %.lr.ph2, %40 store i64 0, ptr %8, align 8 %16 = load i64, ptr %8, align 8 %17 = load i64, ptr %6, align 8 %18 = icmp ult i64 %16, %17 br i1 %18, label %.lr.ph, label %39 .lr.ph: ; preds = %15 br label %19 19: ; preds = %.lr.ph, %33 %20 = load ptr, ptr %5, align 8 %21 = load i64, ptr %8, align 8 %22 = getelementptr inbounds double, ptr %20, i64 %21 %23 = load double, ptr %22, align 8 %24 = load ptr, ptr %4, align 8 %25 = load i64, ptr %7, align 8 %26 = load i64, ptr %6, align 8 %27 = mul i64 %25, %26 %28 = load i64, ptr %8, align 8 %29 = add i64 %27, %28 %30 = getelementptr inbounds double, ptr %24, i64 %29 %31 = load double, ptr %30, align 8 %32 = fmul double %31, %23 store double %32, ptr %30, align 8 br label %33 33: ; preds = %19 %34 = load i64, ptr %8, align 8 %35 = add i64 %34, 1 store i64 %35, ptr %8, align 8 %36 = load i64, ptr %8, align 8 %37 = load i64, ptr %6, align 8 %38 = icmp ult i64 %36, %37 br i1 %38, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %39 39: ; preds = %._crit_edge, %15 br label %40 40: ; preds = %39 %41 = load i64, ptr %7, align 8 %42 = add i64 %41, 1 store i64 %42, ptr %7, align 8 %43 = load i64, ptr %7, align 8 %44 = load i64, ptr %6, align 8 %45 = icmp ult i64 %43, %44 br i1 %45, label %15, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %40 br label %46 46: ; preds = %._crit_edge3, %3 store i64 0, ptr %9, align 8 %47 = load i64, ptr %9, align 8 %48 = load i64, ptr %6, align 8 %49 = icmp ult i64 %47, %48 br i1 %49, label %.lr.ph8, label %94 .lr.ph8: ; preds = %46 br label %50 50: ; preds = %.lr.ph8, %88 store double 0.000000e+00, ptr %10, align 8 %51 = load ptr, ptr %4, align 8 %52 = load i64, ptr %9, align 8 %53 = load i64, ptr %6, align 8 %54 = mul i64 %52, %53 %55 = load i64, ptr %9, align 8 %56 = add i64 %54, %55 %57 = getelementptr inbounds double, ptr %51, i64 %56 store double 0.000000e+00, ptr %57, align 8 store i64 0, ptr %11, align 8 %58 = load i64, ptr %11, align 8 %59 = load i64, ptr %6, align 8 %60 = icmp ult i64 %58, %59 br i1 %60, label %.lr.ph5, label %78 .lr.ph5: ; preds = %50 br label %61 61: ; preds = %.lr.ph5, %72 %62 = load ptr, ptr %4, align 8 %63 = load i64, ptr %9, align 8 %64 = load i64, ptr %6, align 8 %65 = mul i64 %63, %64 %66 = load i64, ptr %11, align 8 %67 = add i64 %65, %66 %68 = getelementptr inbounds double, ptr %62, i64 %67 %69 = load double, ptr %68, align 8 %70 = load double, ptr %10, align 8 %71 = fadd double %70, %69 store double %71, ptr %10, align 8 br label %72 72: ; preds = %61 %73 = load i64, ptr %11, align 8 %74 = add i64 %73, 1 store i64 %74, ptr %11, align 8 %75 = load i64, ptr %11, align 8 %76 = load i64, ptr %6, align 8 %77 = icmp ult i64 %75, %76 br i1 %77, label %61, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %72 br label %78 78: ; preds = %._crit_edge6, %50 %79 = load double, ptr %10, align 8 %80 = fneg double %79 %81 = load ptr, ptr %4, align 8 %82 = load i64, ptr %9, align 8 %83 = load i64, ptr %6, align 8 %84 = mul i64 %82, %83 %85 = load i64, ptr %9, align 8 %86 = add i64 %84, %85 %87 = getelementptr inbounds double, ptr %81, i64 %86 store double %80, ptr %87, align 8 br label %88 88: ; preds = %78 %89 = load i64, ptr %9, align 8 %90 = add i64 %89, 1 store i64 %90, ptr %9, align 8 %91 = load i64, ptr %9, align 8 %92 = load i64, ptr %6, align 8 %93 = icmp ult i64 %91, %92 br i1 %93, label %50, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %88 br label %94 94: ; preds = %._crit_edge9, %46 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpeyod_2eh.c' source_filename = "/tmp/tmpeyod_2eh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @NF_Page_Write(i64 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i32, align 4 store i64 %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 store i64 0, ptr %7, align 8 %12 = load i64, ptr %6, align 8 store i64 %12, ptr %9, align 8 %13 = load i64, ptr %4, align 8 %14 = urem i64 %13, 2048 %15 = trunc i64 %14 to i32 store i32 %15, ptr %11, align 4 %16 = call i32 (...) @select_chip() br label %17 17: ; preds = %46, %3 %18 = load i64, ptr %7, align 8 %19 = load i64, ptr %9, align 8 %20 = icmp ult i64 %18, %19 br i1 %20, label %21, label %52 21: ; preds = %17 %22 = call i32 (...) @clear_RnB() %23 = call i32 @send_cmd(i32 noundef 128) %24 = load i64, ptr %4, align 8 %25 = call i32 @nand_addr(i64 noundef %24) br label %26 26: ; preds = %43, %21 %27 = load i32, ptr %11, align 4 %28 = icmp ult i32 %27, 2048 br i1 %28, label %29, label %33 29: ; preds = %26 %30 = load i64, ptr %7, align 8 %31 = load i64, ptr %9, align 8 %32 = icmp ult i64 %30, %31 br label %33 33: ; preds = %29, %26 %34 = phi i1 [ false, %26 ], [ %32, %29 ] br i1 %34, label %35, label %46 35: ; preds = %33 %36 = load ptr, ptr %5, align 8 %37 = load i64, ptr %7, align 8 %38 = add i64 %37, 1 store i64 %38, ptr %7, align 8 %39 = getelementptr inbounds i8, ptr %36, i64 %37 %40 = load i8, ptr %39, align 1 store volatile i8 %40, ptr inttoptr (i64 1881145360 to ptr), align 1 %41 = load i64, ptr %4, align 8 %42 = add i64 %41, 1 store i64 %42, ptr %4, align 8 br label %43 43: ; preds = %35 %44 = load i32, ptr %11, align 4 %45 = add i32 %44, 1 store i32 %45, ptr %11, align 4 br label %26, !llvm.loop !6 46: ; preds = %33 store i32 0, ptr %11, align 4 %47 = call i32 @send_cmd(i32 noundef 16) %48 = call i32 (...) @wait_RnB() %49 = call i32 @send_cmd(i32 noundef 112) %50 = load volatile i8, ptr inttoptr (i64 1881145360 to ptr), align 1 %51 = zext i8 %50 to i32 store i32 %51, ptr %8, align 4 br label %17, !llvm.loop !8 52: ; preds = %17 %53 = call i32 (...) @delete_chip() ret void } declare i32 @select_chip(...) #1 declare i32 @clear_RnB(...) #1 declare i32 @send_cmd(i32 noundef) #1 declare i32 @nand_addr(i64 noundef) #1 declare i32 @wait_RnB(...) #1 declare i32 @delete_chip(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpeyod_2eh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @NF_Page_Write(i64 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i32, align 4 store i64 %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 store i64 0, ptr %7, align 8 %12 = load i64, ptr %6, align 8 store i64 %12, ptr %9, align 8 %13 = load i64, ptr %4, align 8 %14 = urem i64 %13, 2048 %15 = trunc i64 %14 to i32 store i32 %15, ptr %11, align 4 %16 = call i32 (...) @select_chip() %17 = load i64, ptr %7, align 8 %18 = load i64, ptr %9, align 8 %19 = icmp ult i64 %17, %18 br i1 %19, label %.lr.ph, label %54 .lr.ph: ; preds = %3 br label %20 20: ; preds = %.lr.ph, %45 %21 = call i32 (...) @clear_RnB() %22 = call i32 @send_cmd(i32 noundef 128) %23 = load i64, ptr %4, align 8 %24 = call i32 @nand_addr(i64 noundef %23) br label %25 25: ; preds = %42, %20 %26 = load i32, ptr %11, align 4 %27 = icmp ult i32 %26, 2048 br i1 %27, label %28, label %32 28: ; preds = %25 %29 = load i64, ptr %7, align 8 %30 = load i64, ptr %9, align 8 %31 = icmp ult i64 %29, %30 br label %32 32: ; preds = %28, %25 %33 = phi i1 [ false, %25 ], [ %31, %28 ] br i1 %33, label %34, label %45 34: ; preds = %32 %35 = load ptr, ptr %5, align 8 %36 = load i64, ptr %7, align 8 %37 = add i64 %36, 1 store i64 %37, ptr %7, align 8 %38 = getelementptr inbounds i8, ptr %35, i64 %36 %39 = load i8, ptr %38, align 1 store volatile i8 %39, ptr inttoptr (i64 1881145360 to ptr), align 1 %40 = load i64, ptr %4, align 8 %41 = add i64 %40, 1 store i64 %41, ptr %4, align 8 br label %42 42: ; preds = %34 %43 = load i32, ptr %11, align 4 %44 = add i32 %43, 1 store i32 %44, ptr %11, align 4 br label %25, !llvm.loop !6 45: ; preds = %32 store i32 0, ptr %11, align 4 %46 = call i32 @send_cmd(i32 noundef 16) %47 = call i32 (...) @wait_RnB() %48 = call i32 @send_cmd(i32 noundef 112) %49 = load volatile i8, ptr inttoptr (i64 1881145360 to ptr), align 1 %50 = zext i8 %49 to i32 store i32 %50, ptr %8, align 4 %51 = load i64, ptr %7, align 8 %52 = load i64, ptr %9, align 8 %53 = icmp ult i64 %51, %52 br i1 %53, label %20, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %45 br label %54 54: ; preds = %._crit_edge, %3 %55 = call i32 (...) @delete_chip() ret void } declare i32 @select_chip(...) #1 declare i32 @clear_RnB(...) #1 declare i32 @send_cmd(i32 noundef) #1 declare i32 @nand_addr(i64 noundef) #1 declare i32 @wait_RnB(...) #1 declare i32 @delete_chip(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpwhg63yxs.c' source_filename = "/tmp/tmpwhg63yxs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"a = %d, b = %d, c = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fun_call_align_8(i32 noundef %0, i16 noundef signext %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i16, align 2 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i16 %1, ptr %5, align 2 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = load i16, ptr %5, align 2 %9 = load i32, ptr %6, align 4 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i16 noundef signext %8, i32 noundef %9) %11 = load i32, ptr %4, align 4 %12 = load i16, ptr %5, align 2 %13 = sext i16 %12 to i32 %14 = add nsw i32 %11, %13 %15 = load i32, ptr %6, align 4 %16 = add nsw i32 %14, %15 ret i32 %16 } declare i32 @printf(ptr noundef, i32 noundef, i16 noundef signext, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwhg63yxs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"a = %d, b = %d, c = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fun_call_align_8(i32 noundef %0, i16 noundef signext %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i16, align 2 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i16 %1, ptr %5, align 2 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = load i16, ptr %5, align 2 %9 = load i32, ptr %6, align 4 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i16 noundef signext %8, i32 noundef %9) %11 = load i32, ptr %4, align 4 %12 = load i16, ptr %5, align 2 %13 = sext i16 %12 to i32 %14 = add nsw i32 %11, %13 %15 = load i32, ptr %6, align 4 %16 = add nsw i32 %14, %15 ret i32 %16 } declare i32 @printf(ptr noundef, i32 noundef, i16 noundef signext, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3rucuyfc.c' source_filename = "/tmp/tmp3rucuyfc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @find_char_val(i8 noundef signext %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i8, align 1 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i8 %0, ptr %4, align 1 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %27, %2 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i8, ptr %8, i64 %10 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %30 15: ; preds = %7 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %6, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = load i8, ptr %4, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %21, %23 br i1 %24, label %25, label %27 25: ; preds = %15 %26 = load i32, ptr %6, align 4 store i32 %26, ptr %3, align 4 br label %32 27: ; preds = %15 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %6, align 4 br label %7, !llvm.loop !6 30: ; preds = %7 %31 = call i32 @print_fatal_error(i32 noundef 6) store i32 1, ptr %3, align 4 br label %32 32: ; preds = %30, %25 %33 = load i32, ptr %3, align 4 ret i32 %33 } declare i32 @print_fatal_error(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/tmp3rucuyfc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @find_char_val(i8 noundef signext %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i8, align 1 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i8 %0, ptr %4, align 1 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %7 = load ptr, ptr %5, align 8 %8 = load i32, ptr %6, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i8, ptr %7, i64 %9 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp ne i32 %12, 0 br i1 %13, label %.lr.ph, label %36 .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %26 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %6, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = load i8, ptr %4, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %20, %22 br i1 %23, label %24, label %26 24: ; preds = %14 %25 = load i32, ptr %6, align 4 store i32 %25, ptr %3, align 4 br label %38 26: ; preds = %14 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %6, align 4 %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %6, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp ne i32 %34, 0 br i1 %35, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %36 36: ; preds = %._crit_edge, %2 %37 = call i32 @print_fatal_error(i32 noundef 6) store i32 1, ptr %3, align 4 br label %38 38: ; preds = %36, %24 %39 = load i32, ptr %3, align 4 ret i32 %39 } declare i32 @print_fatal_error(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/tmp51g8g7ju.c' source_filename = "/tmp/tmp51g8g7ju.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GUI_DrawPixel(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @ili9163_set_window(i32 noundef %5, i32 noundef %6, i32 noundef 1, i32 noundef 1) %8 = call i32 @LCD_COM(i32 noundef 44) %9 = call i32 @LCD_DATA(i32 noundef 85) %10 = call i32 @LCD_DATA(i32 noundef 85) ret void } declare i32 @ili9163_set_window(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @LCD_COM(i32 noundef) #1 declare i32 @LCD_DATA(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/tmp51g8g7ju.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GUI_DrawPixel(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @ili9163_set_window(i32 noundef %5, i32 noundef %6, i32 noundef 1, i32 noundef 1) %8 = call i32 @LCD_COM(i32 noundef 44) %9 = call i32 @LCD_DATA(i32 noundef 85) %10 = call i32 @LCD_DATA(i32 noundef 85) ret void } declare i32 @ili9163_set_window(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @LCD_COM(i32 noundef) #1 declare i32 @LCD_DATA(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/tmp9dx5m0ye.c' source_filename = "/tmp/tmp9dx5m0ye.c" target datalayout = "e-m:e-p270: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"Success\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @f1() %3 = call i32 (...) @f2() %4 = call i32 @printf(ptr noundef @.str) %5 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @f1(...) #1 declare i32 @f2(...) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9dx5m0ye.c" target datalayout = "e-m:e-p270: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"Success\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @f1() %3 = call i32 (...) @f2() %4 = call i32 @printf(ptr noundef @.str) %5 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @f1(...) #1 declare i32 @f2(...) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpidhky32l.c' source_filename = "/tmp/tmpidhky32l.c" target datalayout = "e-m:e-p270: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"\0AEnter an integer > \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"\0A0\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"\0A%d\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"That's all, have a nice day!\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 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %10 = load i32, ptr %2, align 4 store i32 %10, ptr %5, align 4 %11 = load i32, ptr %2, align 4 %12 = call i32 @abs(i32 noundef %11) #3 store i32 %12, ptr %2, align 4 %13 = load i32, ptr %2, align 4 store i32 %13, ptr %4, align 4 store i32 1, ptr %3, align 4 store i32 0, ptr %6, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %0 br label %17 17: ; preds = %16, %0 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %19 19: ; preds = %22, %17 %20 = load i32, ptr %4, align 4 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %27 22: ; preds = %19 %23 = load i32, ptr %4, align 4 %24 = sdiv i32 %23, 10 store i32 %24, ptr %4, align 4 %25 = load i32, ptr %6, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %6, align 4 br label %19, !llvm.loop !6 27: ; preds = %19 br label %28 28: ; preds = %73, %27 %29 = load i32, ptr %3, align 4 %30 = load i32, ptr %6, align 4 %31 = icmp sle i32 %29, %30 br i1 %31, label %32, label %79 32: ; preds = %28 %33 = load i32, ptr %2, align 4 %34 = load i32, ptr %3, align 4 %35 = call i32 @pow(i32 noundef 10, i32 noundef %34) %36 = srem i32 %33, %35 store i32 %36, ptr %7, align 4 %37 = load i32, ptr %7, align 4 %38 = icmp slt i32 %37, 10 br i1 %38, label %39, label %45 39: ; preds = %32 %40 = load i32, ptr %3, align 4 %41 = icmp eq i32 %40, 1 br i1 %41, label %42, label %45 42: ; preds = %39 %43 = load i32, ptr %7, align 4 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %43) br label %73 45: ; preds = %39, %32 %46 = load i32, ptr %7, align 4 %47 = icmp sge i32 %46, 10 br i1 %47, label %51, label %48 48: ; preds = %45 %49 = load i32, ptr %7, align 4 %50 = icmp eq i32 %49, 0 br i1 %50, label %51, label %72 51: ; preds = %48, %45 %52 = load i32, ptr %7, align 4 %53 = load i32, ptr %3, align 4 %54 = sub nsw i32 %53, 1 %55 = call i32 @pow(i32 noundef 10, i32 noundef %54) %56 = sdiv i32 %52, %55 store i32 %56, ptr %7, align 4 %57 = load i32, ptr %3, align 4 %58 = load i32, ptr %6, align 4 %59 = icmp eq i32 %57, %58 br i1 %59, label %60, label %68 60: ; preds = %51 %61 = load i32, ptr %5, align 4 %62 = icmp slt i32 %61, 0 br i1 %62, label %63, label %68 63: ; preds = %60 %64 = load i32, ptr %7, align 4 %65 = mul nsw i32 %64, -1 store i32 %65, ptr %7, align 4 %66 = load i32, ptr %7, align 4 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %66) br label %71 68: ; preds = %60, %51 %69 = load i32, ptr %7, align 4 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %69) br label %71 71: ; preds = %68, %63 br label %72 72: ; preds = %71, %48 br label %73 73: ; preds = %72, %42 %74 = load i32, ptr %2, align 4 %75 = load i32, ptr %7, align 4 %76 = sub nsw i32 %74, %75 store i32 %76, ptr %2, align 4 %77 = load i32, ptr %3, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %3, align 4 br label %28, !llvm.loop !8 79: ; preds = %28 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(i32 noundef) #2 declare i32 @pow(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" } attributes #2 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpidhky32l.c" target datalayout = "e-m:e-p270: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"\0AEnter an integer > \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"\0A0\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"\0A%d\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"That's all, have a nice day!\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 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %10 = load i32, ptr %2, align 4 store i32 %10, ptr %5, align 4 %11 = load i32, ptr %2, align 4 %12 = call i32 @abs(i32 noundef %11) #3 store i32 %12, ptr %2, align 4 %13 = load i32, ptr %2, align 4 store i32 %13, ptr %4, align 4 store i32 1, ptr %3, align 4 store i32 0, ptr %6, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %0 br label %17 17: ; preds = %16, %0 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %19 = load i32, ptr %4, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %.lr.ph, label %28 .lr.ph: ; preds = %17 br label %21 21: ; preds = %.lr.ph, %21 %22 = load i32, ptr %4, align 4 %23 = sdiv i32 %22, 10 store i32 %23, ptr %4, align 4 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %6, align 4 %26 = load i32, ptr %4, align 4 %27 = icmp ne i32 %26, 0 br i1 %27, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %28 28: ; preds = %._crit_edge, %17 %29 = load i32, ptr %3, align 4 %30 = load i32, ptr %6, align 4 %31 = icmp sle i32 %29, %30 br i1 %31, label %.lr.ph2, label %82 .lr.ph2: ; preds = %28 br label %32 32: ; preds = %.lr.ph2, %73 %33 = load i32, ptr %2, align 4 %34 = load i32, ptr %3, align 4 %35 = call i32 @pow(i32 noundef 10, i32 noundef %34) %36 = srem i32 %33, %35 store i32 %36, ptr %7, align 4 %37 = load i32, ptr %7, align 4 %38 = icmp slt i32 %37, 10 br i1 %38, label %39, label %45 39: ; preds = %32 %40 = load i32, ptr %3, align 4 %41 = icmp eq i32 %40, 1 br i1 %41, label %42, label %45 42: ; preds = %39 %43 = load i32, ptr %7, align 4 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %43) br label %73 45: ; preds = %39, %32 %46 = load i32, ptr %7, align 4 %47 = icmp sge i32 %46, 10 br i1 %47, label %51, label %48 48: ; preds = %45 %49 = load i32, ptr %7, align 4 %50 = icmp eq i32 %49, 0 br i1 %50, label %51, label %72 51: ; preds = %48, %45 %52 = load i32, ptr %7, align 4 %53 = load i32, ptr %3, align 4 %54 = sub nsw i32 %53, 1 %55 = call i32 @pow(i32 noundef 10, i32 noundef %54) %56 = sdiv i32 %52, %55 store i32 %56, ptr %7, align 4 %57 = load i32, ptr %3, align 4 %58 = load i32, ptr %6, align 4 %59 = icmp eq i32 %57, %58 br i1 %59, label %60, label %68 60: ; preds = %51 %61 = load i32, ptr %5, align 4 %62 = icmp slt i32 %61, 0 br i1 %62, label %63, label %68 63: ; preds = %60 %64 = load i32, ptr %7, align 4 %65 = mul nsw i32 %64, -1 store i32 %65, ptr %7, align 4 %66 = load i32, ptr %7, align 4 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %66) br label %71 68: ; preds = %60, %51 %69 = load i32, ptr %7, align 4 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %69) br label %71 71: ; preds = %68, %63 br label %72 72: ; preds = %71, %48 br label %73 73: ; preds = %72, %42 %74 = load i32, ptr %2, align 4 %75 = load i32, ptr %7, align 4 %76 = sub nsw i32 %74, %75 store i32 %76, ptr %2, align 4 %77 = load i32, ptr %3, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %3, align 4 %79 = load i32, ptr %3, align 4 %80 = load i32, ptr %6, align 4 %81 = icmp sle i32 %79, %80 br i1 %81, label %32, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %73 br label %82 82: ; preds = %._crit_edge3, %28 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(i32 noundef) #2 declare i32 @pow(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" } attributes #2 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmphh9a8g_f.c' source_filename = "/tmp/tmphh9a8g_f.c" target datalayout = "e-m:e-p270: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/tmphh9a8g_f.c" target datalayout = "e-m:e-p270: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/tmpej4vgt0g.c' source_filename = "/tmp/tmpej4vgt0g.c" target datalayout = "e-m:e-p270: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 [36 x i8] c"/usr/local/etc/httpd/conf/mail.conf\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"Unauthorized Destination\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @authenticate(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca [80 x i8], align 16 %5 = alloca i16, align 2 store ptr %0, ptr %2, align 8 store i16 0, ptr %5, align 2 %6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %6, ptr %3, align 8 br label %7 7: ; preds = %29, %1 %8 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0 %9 = load ptr, ptr %3, align 8 %10 = call ptr @fgets(ptr noundef %8, i32 noundef 80, ptr noundef %9) %11 = icmp ne ptr %10, null br i1 %11, label %12, label %16 12: ; preds = %7 %13 = load i16, ptr %5, align 2 %14 = icmp ne i16 %13, 0 %15 = xor i1 %14, true br label %16 16: ; preds = %12, %7 %17 = phi i1 [ false, %7 ], [ %15, %12 ] br i1 %17, label %18, label %30 18: ; preds = %16 %19 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0 %20 = call i32 @strlen(ptr noundef %19) %21 = sub nsw i32 %20, 1 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 %22 store i8 0, ptr %23, align 1 %24 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0 %25 = load ptr, ptr %2, align 8 %26 = call i32 @strcmp(ptr noundef %24, ptr noundef %25) %27 = icmp ne i32 %26, 0 br i1 %27, label %29, label %28 28: ; preds = %18 store i16 1, ptr %5, align 2 br label %29 29: ; preds = %28, %18 br label %7, !llvm.loop !6 30: ; preds = %16 %31 = load i16, ptr %5, align 2 %32 = icmp ne i16 %31, 0 br i1 %32, label %38, label %33 33: ; preds = %30 %34 = call i32 @html_begin(ptr noundef @.str.2) %35 = call i32 @h1(ptr noundef @.str.2) %36 = call i32 (...) @html_end() %37 = call i32 @exit(i32 noundef 1) #3 unreachable 38: ; preds = %30 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @html_begin(ptr noundef) #1 declare i32 @h1(ptr noundef) #1 declare i32 @html_end(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpej4vgt0g.c" target datalayout = "e-m:e-p270: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 [36 x i8] c"/usr/local/etc/httpd/conf/mail.conf\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"Unauthorized Destination\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @authenticate(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca [80 x i8], align 16 %5 = alloca i16, align 2 store ptr %0, ptr %2, align 8 store i16 0, ptr %5, align 2 %6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %6, ptr %3, align 8 br label %7 7: ; preds = %29, %1 %8 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0 %9 = load ptr, ptr %3, align 8 %10 = call ptr @fgets(ptr noundef %8, i32 noundef 80, ptr noundef %9) %11 = icmp ne ptr %10, null br i1 %11, label %12, label %16 12: ; preds = %7 %13 = load i16, ptr %5, align 2 %14 = icmp ne i16 %13, 0 %15 = xor i1 %14, true br label %16 16: ; preds = %12, %7 %17 = phi i1 [ false, %7 ], [ %15, %12 ] br i1 %17, label %18, label %30 18: ; preds = %16 %19 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0 %20 = call i32 @strlen(ptr noundef %19) %21 = sub nsw i32 %20, 1 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 %22 store i8 0, ptr %23, align 1 %24 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0 %25 = load ptr, ptr %2, align 8 %26 = call i32 @strcmp(ptr noundef %24, ptr noundef %25) %27 = icmp ne i32 %26, 0 br i1 %27, label %29, label %28 28: ; preds = %18 store i16 1, ptr %5, align 2 br label %29 29: ; preds = %28, %18 br label %7, !llvm.loop !6 30: ; preds = %16 %31 = load i16, ptr %5, align 2 %32 = icmp ne i16 %31, 0 br i1 %32, label %38, label %33 33: ; preds = %30 %34 = call i32 @html_begin(ptr noundef @.str.2) %35 = call i32 @h1(ptr noundef @.str.2) %36 = call i32 (...) @html_end() %37 = call i32 @exit(i32 noundef 1) #3 unreachable 38: ; preds = %30 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @html_begin(ptr noundef) #1 declare i32 @h1(ptr noundef) #1 declare i32 @html_end(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp4ulrold2.c' source_filename = "/tmp/tmp4ulrold2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @configure_umip_recovery() %3 = call i32 (...) @print_segments() %4 = call i32 @printf(ptr noundef @.str) %5 = call i32 (...) @print_segment_bases() %6 = call i32 @printf(ptr noundef @.str) %7 = call i32 (...) @print_gdt_limits() %8 = call i32 @printf(ptr noundef @.str) %9 = call i32 (...) @print_cr0() ret i32 0 } declare i32 @configure_umip_recovery(...) #1 declare i32 @print_segments(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @print_segment_bases(...) #1 declare i32 @print_gdt_limits(...) #1 declare i32 @print_cr0(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4ulrold2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @configure_umip_recovery() %3 = call i32 (...) @print_segments() %4 = call i32 @printf(ptr noundef @.str) %5 = call i32 (...) @print_segment_bases() %6 = call i32 @printf(ptr noundef @.str) %7 = call i32 (...) @print_gdt_limits() %8 = call i32 @printf(ptr noundef @.str) %9 = call i32 (...) @print_cr0() ret i32 0 } declare i32 @configure_umip_recovery(...) #1 declare i32 @print_segments(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @print_segment_bases(...) #1 declare i32 @print_gdt_limits(...) #1 declare i32 @print_cr0(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp260nu5xl.c' source_filename = "/tmp/tmp260nu5xl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sr_indent_except_first_line(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %8 = call ptr (...) @sr_strbuf_new() store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %3, align 8 store ptr %9, ptr %6, align 8 br label %10 10: ; preds = %44, %38, %2 %11 = load ptr, ptr %6, align 8 %12 = load i8, ptr %11, align 1 %13 = icmp ne i8 %12, 0 br i1 %13, label %14, label %47 14: ; preds = %10 %15 = load ptr, ptr %6, align 8 %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 %39 19: ; preds = %14 %20 = load ptr, ptr %5, align 8 %21 = call i32 @sr_strbuf_append_char(ptr noundef %20, i8 noundef signext 10) %22 = load ptr, ptr %6, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %6, align 8 %24 = load i8, ptr %23, align 1 %25 = icmp ne i8 %24, 0 br i1 %25, label %26, label %38 26: ; preds = %19 store i32 0, ptr %7, align 4 br label %27 27: ; preds = %34, %26 %28 = load i32, ptr %7, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %37 31: ; preds = %27 %32 = load ptr, ptr %5, align 8 %33 = call i32 @sr_strbuf_append_char(ptr noundef %32, i8 noundef signext 32) br label %34 34: ; preds = %31 %35 = load i32, ptr %7, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %7, align 4 br label %27, !llvm.loop !6 37: ; preds = %27 br label %38 38: ; preds = %37, %19 br label %10, !llvm.loop !8 39: ; preds = %14 %40 = load ptr, ptr %5, align 8 %41 = load ptr, ptr %6, align 8 %42 = load i8, ptr %41, align 1 %43 = call i32 @sr_strbuf_append_char(ptr noundef %40, i8 noundef signext %42) br label %44 44: ; preds = %39 %45 = load ptr, ptr %6, align 8 %46 = getelementptr inbounds i8, ptr %45, i32 1 store ptr %46, ptr %6, align 8 br label %10, !llvm.loop !8 47: ; preds = %10 %48 = load ptr, ptr %5, align 8 %49 = call ptr @sr_strbuf_free_nobuf(ptr noundef %48) ret ptr %49 } declare ptr @sr_strbuf_new(...) #1 declare i32 @sr_strbuf_append_char(ptr noundef, i8 noundef signext) #1 declare ptr @sr_strbuf_free_nobuf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp260nu5xl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sr_indent_except_first_line(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %8 = call ptr (...) @sr_strbuf_new() store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %3, align 8 store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = load i8, ptr %10, align 1 %12 = icmp ne i8 %11, 0 br i1 %12, label %.lr.ph2, label %51 .lr.ph2: ; preds = %2 br label %13 13: ; preds = %.lr.ph2, %.backedge %14 = load ptr, ptr %6, align 8 %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 %43 18: ; preds = %13 %19 = load ptr, ptr %5, align 8 %20 = call i32 @sr_strbuf_append_char(ptr noundef %19, i8 noundef signext 10) %21 = load ptr, ptr %6, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %6, align 8 %23 = load i8, ptr %22, align 1 %24 = icmp ne i8 %23, 0 br i1 %24, label %25, label %39 25: ; preds = %18 store i32 0, ptr %7, align 4 %26 = load i32, ptr %7, align 4 %27 = load i32, ptr %4, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %.lr.ph, label %38 .lr.ph: ; preds = %25 br label %29 29: ; preds = %.lr.ph, %32 %30 = load ptr, ptr %5, align 8 %31 = call i32 @sr_strbuf_append_char(ptr noundef %30, i8 noundef signext 32) br label %32 32: ; preds = %29 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %7, align 4 %35 = load i32, ptr %7, align 4 %36 = load i32, ptr %4, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %38 38: ; preds = %._crit_edge, %25 br label %39 39: ; preds = %38, %18 br label %.backedge .backedge: ; preds = %39, %48 %40 = load ptr, ptr %6, align 8 %41 = load i8, ptr %40, align 1 %42 = icmp ne i8 %41, 0 br i1 %42, label %13, label %._crit_edge3, !llvm.loop !8 43: ; preds = %13 %44 = load ptr, ptr %5, align 8 %45 = load ptr, ptr %6, align 8 %46 = load i8, ptr %45, align 1 %47 = call i32 @sr_strbuf_append_char(ptr noundef %44, i8 noundef signext %46) br label %48 48: ; preds = %43 %49 = load ptr, ptr %6, align 8 %50 = getelementptr inbounds i8, ptr %49, i32 1 store ptr %50, ptr %6, align 8 br label %.backedge ._crit_edge3: ; preds = %.backedge br label %51 51: ; preds = %._crit_edge3, %2 %52 = load ptr, ptr %5, align 8 %53 = call ptr @sr_strbuf_free_nobuf(ptr noundef %52) ret ptr %53 } declare ptr @sr_strbuf_new(...) #1 declare i32 @sr_strbuf_append_char(ptr noundef, i8 noundef signext) #1 declare ptr @sr_strbuf_free_nobuf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmphyn6qe7y.c' source_filename = "/tmp/tmphyn6qe7y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BioTell(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %7, label %6 6: ; preds = %1 store i32 -1, ptr %2, align 4 br label %10 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = call i32 @BIO_tell(ptr noundef %8) store i32 %9, ptr %2, align 4 br label %10 10: ; preds = %7, %6 %11 = load i32, ptr %2, align 4 ret i32 %11 } declare i32 @BIO_tell(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphyn6qe7y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BioTell(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %7, label %6 6: ; preds = %1 store i32 -1, ptr %2, align 4 br label %10 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = call i32 @BIO_tell(ptr noundef %8) store i32 %9, ptr %2, align 4 br label %10 10: ; preds = %7, %6 %11 = load i32, ptr %2, align 4 ret i32 %11 } declare i32 @BIO_tell(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3gz75rqb.c' source_filename = "/tmp/tmp3gz75rqb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_mm_sll_pi32(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @_mm_sll_pi32(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @_mm_sll_pi32(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/tmp3gz75rqb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_mm_sll_pi32(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @_mm_sll_pi32(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @_mm_sll_pi32(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/tmpi_q20gko.c' source_filename = "/tmp/tmpi_q20gko.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @normal_01_cdf(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %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 %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 double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 store double %0, ptr %2, align 8 store double 0x3FD9884533DFE9B9, ptr %3, align 8 store double 0x3FD99804977BB02A, ptr %4, align 8 store double 0x401709113BE05594, ptr %5, align 8 store double 0x403DD2445F58EAA3, ptr %6, align 8 store double 0x4004FEA15D6FE126, ptr %7, align 8 store double 0x404859164D073A74, ptr %8, align 8 store double 0x4017B7265A7D0F22, ptr %9, align 8 store double 0x3FD9884533CFB1F8, ptr %10, align 8 store double 3.805200e-08, ptr %11, align 8 store double 0x3FF0000673B05093, ptr %12, align 8 store double 0x3F3A166B459C7B69, ptr %13, align 8 store double 0x3FFFC74938A68D3A, ptr %14, align 8 store double 0x3FC36A38A6B77CC0, ptr %15, align 8 store double 0x40152C57AFDD8769, ptr %16, align 8 store double 0x40135AB7AC36FCAD, ptr %17, align 8 store double 0x402E4D42675985A1, ptr %18, align 8 store double 0x3FE7C195A3BBD8E3, ptr %19, align 8 store double 0x403ECA390D230F60, ptr %20, align 8 store double 0x400FEBEAEBCA7F9D, ptr %21, align 8 %25 = load double, ptr %2, align 8 %26 = call double @llvm.fabs.f64(double %25) %27 = fcmp ole double %26, 1.280000e+00 br i1 %27, label %28, label %58 28: ; preds = %1 %29 = load double, ptr %2, align 8 %30 = fmul double 5.000000e-01, %29 %31 = load double, ptr %2, align 8 %32 = fmul double %30, %31 store double %32, ptr %24, align 8 %33 = load double, ptr %2, align 8 %34 = call double @llvm.fabs.f64(double %33) %35 = load double, ptr %3, align 8 %36 = load double, ptr %4, align 8 %37 = load double, ptr %24, align 8 %38 = fmul double %36, %37 %39 = load double, ptr %24, align 8 %40 = load double, ptr %5, align 8 %41 = fadd double %39, %40 %42 = load double, ptr %6, align 8 %43 = load double, ptr %24, align 8 %44 = load double, ptr %7, align 8 %45 = fadd double %43, %44 %46 = load double, ptr %8, align 8 %47 = load double, ptr %24, align 8 %48 = load double, ptr %9, align 8 %49 = fadd double %47, %48 %50 = fdiv double %46, %49 %51 = fadd double %45, %50 %52 = fdiv double %42, %51 %53 = fsub double %41, %52 %54 = fdiv double %38, %53 %55 = fsub double %35, %54 %56 = fneg double %34 %57 = call double @llvm.fmuladd.f64(double %56, double %55, double 5.000000e-01) store double %57, ptr %23, align 8 br label %114 58: ; preds = %1 %59 = load double, ptr %2, align 8 %60 = call double @llvm.fabs.f64(double %59) %61 = fcmp ole double %60, 1.270000e+01 br i1 %61, label %62, label %112 62: ; preds = %58 %63 = load double, ptr %2, align 8 %64 = fmul double 5.000000e-01, %63 %65 = load double, ptr %2, align 8 %66 = fmul double %64, %65 store double %66, ptr %24, align 8 %67 = load double, ptr %24, align 8 %68 = fneg double %67 %69 = call double @exp(double noundef %68) #3 %70 = load double, ptr %10, align 8 %71 = fmul double %69, %70 %72 = load double, ptr %2, align 8 %73 = call double @llvm.fabs.f64(double %72) %74 = load double, ptr %11, align 8 %75 = fsub double %73, %74 %76 = load double, ptr %12, align 8 %77 = load double, ptr %2, align 8 %78 = call double @llvm.fabs.f64(double %77) %79 = load double, ptr %13, align 8 %80 = fadd double %78, %79 %81 = load double, ptr %14, align 8 %82 = load double, ptr %2, align 8 %83 = call double @llvm.fabs.f64(double %82) %84 = load double, ptr %15, align 8 %85 = fsub double %83, %84 %86 = load double, ptr %16, align 8 %87 = load double, ptr %2, align 8 %88 = call double @llvm.fabs.f64(double %87) %89 = load double, ptr %17, align 8 %90 = fadd double %88, %89 %91 = load double, ptr %18, align 8 %92 = load double, ptr %2, align 8 %93 = call double @llvm.fabs.f64(double %92) %94 = load double, ptr %19, align 8 %95 = fadd double %93, %94 %96 = load double, ptr %20, align 8 %97 = load double, ptr %2, align 8 %98 = call double @llvm.fabs.f64(double %97) %99 = load double, ptr %21, align 8 %100 = fadd double %98, %99 %101 = fdiv double %96, %100 %102 = fadd double %95, %101 %103 = fdiv double %91, %102 %104 = fsub double %90, %103 %105 = fdiv double %86, %104 %106 = fadd double %85, %105 %107 = fdiv double %81, %106 %108 = fadd double %80, %107 %109 = fdiv double %76, %108 %110 = fadd double %75, %109 %111 = fdiv double %71, %110 store double %111, ptr %23, align 8 br label %113 112: ; preds = %58 store double 0.000000e+00, ptr %23, align 8 br label %113 113: ; preds = %112, %62 br label %114 114: ; preds = %113, %28 %115 = load double, ptr %2, align 8 %116 = fcmp olt double %115, 0.000000e+00 br i1 %116, label %117, label %119 117: ; preds = %114 %118 = load double, ptr %23, align 8 store double %118, ptr %22, align 8 br label %122 119: ; preds = %114 %120 = load double, ptr %23, align 8 %121 = fsub double 1.000000e+00, %120 store double %121, ptr %22, align 8 br label %122 122: ; preds = %119, %117 %123 = load double, ptr %22, align 8 ret double %123 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nounwind declare double @exp(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi_q20gko.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @normal_01_cdf(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %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 %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 double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 store double %0, ptr %2, align 8 store double 0x3FD9884533DFE9B9, ptr %3, align 8 store double 0x3FD99804977BB02A, ptr %4, align 8 store double 0x401709113BE05594, ptr %5, align 8 store double 0x403DD2445F58EAA3, ptr %6, align 8 store double 0x4004FEA15D6FE126, ptr %7, align 8 store double 0x404859164D073A74, ptr %8, align 8 store double 0x4017B7265A7D0F22, ptr %9, align 8 store double 0x3FD9884533CFB1F8, ptr %10, align 8 store double 3.805200e-08, ptr %11, align 8 store double 0x3FF0000673B05093, ptr %12, align 8 store double 0x3F3A166B459C7B69, ptr %13, align 8 store double 0x3FFFC74938A68D3A, ptr %14, align 8 store double 0x3FC36A38A6B77CC0, ptr %15, align 8 store double 0x40152C57AFDD8769, ptr %16, align 8 store double 0x40135AB7AC36FCAD, ptr %17, align 8 store double 0x402E4D42675985A1, ptr %18, align 8 store double 0x3FE7C195A3BBD8E3, ptr %19, align 8 store double 0x403ECA390D230F60, ptr %20, align 8 store double 0x400FEBEAEBCA7F9D, ptr %21, align 8 %25 = load double, ptr %2, align 8 %26 = call double @llvm.fabs.f64(double %25) %27 = fcmp ole double %26, 1.280000e+00 br i1 %27, label %28, label %58 28: ; preds = %1 %29 = load double, ptr %2, align 8 %30 = fmul double 5.000000e-01, %29 %31 = load double, ptr %2, align 8 %32 = fmul double %30, %31 store double %32, ptr %24, align 8 %33 = load double, ptr %2, align 8 %34 = call double @llvm.fabs.f64(double %33) %35 = load double, ptr %3, align 8 %36 = load double, ptr %4, align 8 %37 = load double, ptr %24, align 8 %38 = fmul double %36, %37 %39 = load double, ptr %24, align 8 %40 = load double, ptr %5, align 8 %41 = fadd double %39, %40 %42 = load double, ptr %6, align 8 %43 = load double, ptr %24, align 8 %44 = load double, ptr %7, align 8 %45 = fadd double %43, %44 %46 = load double, ptr %8, align 8 %47 = load double, ptr %24, align 8 %48 = load double, ptr %9, align 8 %49 = fadd double %47, %48 %50 = fdiv double %46, %49 %51 = fadd double %45, %50 %52 = fdiv double %42, %51 %53 = fsub double %41, %52 %54 = fdiv double %38, %53 %55 = fsub double %35, %54 %56 = fneg double %34 %57 = call double @llvm.fmuladd.f64(double %56, double %55, double 5.000000e-01) store double %57, ptr %23, align 8 br label %114 58: ; preds = %1 %59 = load double, ptr %2, align 8 %60 = call double @llvm.fabs.f64(double %59) %61 = fcmp ole double %60, 1.270000e+01 br i1 %61, label %62, label %112 62: ; preds = %58 %63 = load double, ptr %2, align 8 %64 = fmul double 5.000000e-01, %63 %65 = load double, ptr %2, align 8 %66 = fmul double %64, %65 store double %66, ptr %24, align 8 %67 = load double, ptr %24, align 8 %68 = fneg double %67 %69 = call double @exp(double noundef %68) #3 %70 = load double, ptr %10, align 8 %71 = fmul double %69, %70 %72 = load double, ptr %2, align 8 %73 = call double @llvm.fabs.f64(double %72) %74 = load double, ptr %11, align 8 %75 = fsub double %73, %74 %76 = load double, ptr %12, align 8 %77 = load double, ptr %2, align 8 %78 = call double @llvm.fabs.f64(double %77) %79 = load double, ptr %13, align 8 %80 = fadd double %78, %79 %81 = load double, ptr %14, align 8 %82 = load double, ptr %2, align 8 %83 = call double @llvm.fabs.f64(double %82) %84 = load double, ptr %15, align 8 %85 = fsub double %83, %84 %86 = load double, ptr %16, align 8 %87 = load double, ptr %2, align 8 %88 = call double @llvm.fabs.f64(double %87) %89 = load double, ptr %17, align 8 %90 = fadd double %88, %89 %91 = load double, ptr %18, align 8 %92 = load double, ptr %2, align 8 %93 = call double @llvm.fabs.f64(double %92) %94 = load double, ptr %19, align 8 %95 = fadd double %93, %94 %96 = load double, ptr %20, align 8 %97 = load double, ptr %2, align 8 %98 = call double @llvm.fabs.f64(double %97) %99 = load double, ptr %21, align 8 %100 = fadd double %98, %99 %101 = fdiv double %96, %100 %102 = fadd double %95, %101 %103 = fdiv double %91, %102 %104 = fsub double %90, %103 %105 = fdiv double %86, %104 %106 = fadd double %85, %105 %107 = fdiv double %81, %106 %108 = fadd double %80, %107 %109 = fdiv double %76, %108 %110 = fadd double %75, %109 %111 = fdiv double %71, %110 store double %111, ptr %23, align 8 br label %113 112: ; preds = %58 store double 0.000000e+00, ptr %23, align 8 br label %113 113: ; preds = %112, %62 br label %114 114: ; preds = %113, %28 %115 = load double, ptr %2, align 8 %116 = fcmp olt double %115, 0.000000e+00 br i1 %116, label %117, label %119 117: ; preds = %114 %118 = load double, ptr %23, align 8 store double %118, ptr %22, align 8 br label %122 119: ; preds = %114 %120 = load double, ptr %23, align 8 %121 = fsub double 1.000000e+00, %120 store double %121, ptr %22, align 8 br label %122 122: ; preds = %119, %117 %123 = load double, ptr %22, align 8 ret double %123 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nounwind declare double @exp(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpux2bnmfx.c' source_filename = "/tmp/tmpux2bnmfx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_wday(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = add nsw i32 %6, 1900 %8 = and i32 %7, 1000 %9 = sdiv i32 %8, 2 store i32 %9, ptr %5, align 4 %10 = load i32, ptr %3, align 4 %11 = srem i32 %10, 100 store i32 %11, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %4, align 4 %14 = call i32 @_mday(i32 noundef %12, i32 noundef %13) %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %4, align 4 %17 = call i32 @_mon(i32 noundef %15, i32 noundef %16) %18 = add nsw i32 %14, %17 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %18, %19 %21 = load i32, ptr %3, align 4 %22 = sitofp i32 %21 to double %23 = fdiv double %22, 4.000000e+00 %24 = call i64 @floor(double noundef %23) %25 = trunc i64 %24 to i32 %26 = add nsw i32 %20, %25 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %26, %27 %29 = srem i32 %28, 7 ret i32 %29 } declare i32 @_mday(i32 noundef, i32 noundef) #1 declare i32 @_mon(i32 noundef, i32 noundef) #1 declare i64 @floor(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/tmpux2bnmfx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_wday(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = add nsw i32 %6, 1900 %8 = and i32 %7, 1000 %9 = sdiv i32 %8, 2 store i32 %9, ptr %5, align 4 %10 = load i32, ptr %3, align 4 %11 = srem i32 %10, 100 store i32 %11, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %4, align 4 %14 = call i32 @_mday(i32 noundef %12, i32 noundef %13) %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %4, align 4 %17 = call i32 @_mon(i32 noundef %15, i32 noundef %16) %18 = add nsw i32 %14, %17 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %18, %19 %21 = load i32, ptr %3, align 4 %22 = sitofp i32 %21 to double %23 = fdiv double %22, 4.000000e+00 %24 = call i64 @floor(double noundef %23) %25 = trunc i64 %24 to i32 %26 = add nsw i32 %20, %25 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %26, %27 %29 = srem i32 %28, 7 ret i32 %29 } declare i32 @_mday(i32 noundef, i32 noundef) #1 declare i32 @_mon(i32 noundef, i32 noundef) #1 declare i64 @floor(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/tmpjg0kiy7m.c' source_filename = "/tmp/tmpjg0kiy7m.c" target datalayout = "e-m:e-p270: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/tmpjg0kiy7m.c" target datalayout = "e-m:e-p270: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/tmpy2r9c7wo.c' source_filename = "/tmp/tmpy2r9c7wo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atanh(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca x86_fp80, align 16 store double %0, ptr %2, align 8 %4 = load double, ptr %2, align 8 %5 = call x86_fp80 @__fabsl(double noundef %4) store x86_fp80 %5, ptr %3, align 16 %6 = load x86_fp80, ptr %3, align 16 %7 = load x86_fp80, ptr %3, align 16 %8 = fadd x86_fp80 %6, %7 %9 = fneg x86_fp80 %8 %10 = load x86_fp80, ptr %3, align 16 %11 = fadd x86_fp80 0xK3FFF8000000000000000, %10 %12 = fdiv x86_fp80 %9, %11 %13 = call double @log1pl(x86_fp80 noundef %12) %14 = fmul double -5.000000e-01, %13 %15 = load double, ptr %2, align 8 %16 = call double @__sgn1l(double noundef %15) %17 = fmul double %14, %16 ret double %17 } declare x86_fp80 @__fabsl(double noundef) #1 declare double @log1pl(x86_fp80 noundef) #1 declare double @__sgn1l(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy2r9c7wo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atanh(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca x86_fp80, align 16 store double %0, ptr %2, align 8 %4 = load double, ptr %2, align 8 %5 = call x86_fp80 @__fabsl(double noundef %4) store x86_fp80 %5, ptr %3, align 16 %6 = load x86_fp80, ptr %3, align 16 %7 = load x86_fp80, ptr %3, align 16 %8 = fadd x86_fp80 %6, %7 %9 = fneg x86_fp80 %8 %10 = load x86_fp80, ptr %3, align 16 %11 = fadd x86_fp80 0xK3FFF8000000000000000, %10 %12 = fdiv x86_fp80 %9, %11 %13 = call double @log1pl(x86_fp80 noundef %12) %14 = fmul double -5.000000e-01, %13 %15 = load double, ptr %2, align 8 %16 = call double @__sgn1l(double noundef %15) %17 = fmul double %14, %16 ret double %17 } declare x86_fp80 @__fabsl(double noundef) #1 declare double @log1pl(x86_fp80 noundef) #1 declare double @__sgn1l(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf9p45s60.c' source_filename = "/tmp/tmpf9p45s60.c" target datalayout = "e-m:e-p270: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/tmpf9p45s60.c" target datalayout = "e-m:e-p270: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/tmpsjsfl0hr.c' source_filename = "/tmp/tmpsjsfl0hr.c" target datalayout = "e-m:e-p270: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_un = type { ptr, i32 } @AF_LOCAL = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @client_listen(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca %struct.sockaddr_un, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %8 = load i32, ptr @AF_LOCAL, align 4 %9 = load i32, ptr @SOCK_STREAM, align 4 %10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0) store i32 %10, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %1 %14 = load i32, ptr %7, align 4 store i32 %14, ptr %2, align 4 br label %50 15: ; preds = %1 %16 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 16) %17 = load i32, ptr @AF_LOCAL, align 4 %18 = getelementptr inbounds %struct.sockaddr_un, ptr %4, i32 0, i32 1 store i32 %17, ptr %18, align 8 %19 = getelementptr inbounds %struct.sockaddr_un, ptr %4, i32 0, i32 0 %20 = load ptr, ptr %19, align 8 %21 = getelementptr inbounds i32, ptr %20, i64 1 %22 = load ptr, ptr %3, align 8 %23 = call i32 @strcpy(ptr noundef %21, ptr noundef %22) %24 = getelementptr inbounds %struct.sockaddr_un, ptr %4, i32 0, i32 0 %25 = load ptr, ptr %24, align 8 %26 = getelementptr inbounds i32, ptr %25, i64 1 %27 = call i64 @strlen(ptr noundef %26) %28 = add i64 4, %27 %29 = add i64 %28, 1 store i64 %29, ptr %5, align 8 %30 = load i32, ptr %7, align 4 %31 = load i64, ptr %5, align 8 %32 = call i32 @bind(i32 noundef %30, ptr noundef %4, i64 noundef %31) store i32 %32, ptr %6, align 4 %33 = load i32, ptr %6, align 4 %34 = icmp slt i32 %33, 0 br i1 %34, label %35, label %39 35: ; preds = %15 %36 = load i32, ptr %7, align 4 %37 = call i32 @close(i32 noundef %36) %38 = load i32, ptr %6, align 4 store i32 %38, ptr %2, align 4 br label %50 39: ; preds = %15 %40 = load i32, ptr %7, align 4 %41 = call i32 @listen(i32 noundef %40, i32 noundef 5) store i32 %41, ptr %6, align 4 %42 = load i32, ptr %6, align 4 %43 = icmp slt i32 %42, 0 br i1 %43, label %44, label %48 44: ; preds = %39 %45 = load i32, ptr %7, align 4 %46 = call i32 @close(i32 noundef %45) %47 = load i32, ptr %6, align 4 store i32 %47, ptr %2, align 4 br label %50 48: ; preds = %39 %49 = load i32, ptr %7, align 4 store i32 %49, ptr %2, align 4 br label %50 50: ; preds = %48, %44, %35, %13 %51 = load i32, ptr %2, align 4 ret i32 %51 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @listen(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/tmpsjsfl0hr.c" target datalayout = "e-m:e-p270: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_un = type { ptr, i32 } @AF_LOCAL = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @client_listen(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca %struct.sockaddr_un, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %8 = load i32, ptr @AF_LOCAL, align 4 %9 = load i32, ptr @SOCK_STREAM, align 4 %10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0) store i32 %10, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %1 %14 = load i32, ptr %7, align 4 store i32 %14, ptr %2, align 4 br label %50 15: ; preds = %1 %16 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 16) %17 = load i32, ptr @AF_LOCAL, align 4 %18 = getelementptr inbounds %struct.sockaddr_un, ptr %4, i32 0, i32 1 store i32 %17, ptr %18, align 8 %19 = getelementptr inbounds %struct.sockaddr_un, ptr %4, i32 0, i32 0 %20 = load ptr, ptr %19, align 8 %21 = getelementptr inbounds i32, ptr %20, i64 1 %22 = load ptr, ptr %3, align 8 %23 = call i32 @strcpy(ptr noundef %21, ptr noundef %22) %24 = getelementptr inbounds %struct.sockaddr_un, ptr %4, i32 0, i32 0 %25 = load ptr, ptr %24, align 8 %26 = getelementptr inbounds i32, ptr %25, i64 1 %27 = call i64 @strlen(ptr noundef %26) %28 = add i64 4, %27 %29 = add i64 %28, 1 store i64 %29, ptr %5, align 8 %30 = load i32, ptr %7, align 4 %31 = load i64, ptr %5, align 8 %32 = call i32 @bind(i32 noundef %30, ptr noundef %4, i64 noundef %31) store i32 %32, ptr %6, align 4 %33 = load i32, ptr %6, align 4 %34 = icmp slt i32 %33, 0 br i1 %34, label %35, label %39 35: ; preds = %15 %36 = load i32, ptr %7, align 4 %37 = call i32 @close(i32 noundef %36) %38 = load i32, ptr %6, align 4 store i32 %38, ptr %2, align 4 br label %50 39: ; preds = %15 %40 = load i32, ptr %7, align 4 %41 = call i32 @listen(i32 noundef %40, i32 noundef 5) store i32 %41, ptr %6, align 4 %42 = load i32, ptr %6, align 4 %43 = icmp slt i32 %42, 0 br i1 %43, label %44, label %48 44: ; preds = %39 %45 = load i32, ptr %7, align 4 %46 = call i32 @close(i32 noundef %45) %47 = load i32, ptr %6, align 4 store i32 %47, ptr %2, align 4 br label %50 48: ; preds = %39 %49 = load i32, ptr %7, align 4 store i32 %49, ptr %2, align 4 br label %50 50: ; preds = %48, %44, %35, %13 %51 = load i32, ptr %2, align 4 ret i32 %51 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @listen(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/tmp094jmj7r.c' source_filename = "/tmp/tmp094jmj7r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"%s on %#02x to %#02x: error.\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"%s on %#02x to %#02x: done.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @LogMessageAddress(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = call i32 (...) @LogDateTime() %10 = load i32, ptr %5, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %17, label %12 12: ; preds = %4 %13 = load ptr, ptr %6, align 8 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %8, align 4 %16 = call i32 @printf(ptr noundef @.str, ptr noundef %13, i32 noundef %14, i32 noundef %15) br label %22 17: ; preds = %4 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %8, align 4 %21 = call i32 @printf(ptr noundef @.str.1, ptr noundef %18, i32 noundef %19, i32 noundef %20) br label %22 22: ; preds = %17, %12 ret void } declare i32 @LogDateTime(...) #1 declare i32 @printf(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/tmp094jmj7r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"%s on %#02x to %#02x: error.\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"%s on %#02x to %#02x: done.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @LogMessageAddress(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = call i32 (...) @LogDateTime() %10 = load i32, ptr %5, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %17, label %12 12: ; preds = %4 %13 = load ptr, ptr %6, align 8 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %8, align 4 %16 = call i32 @printf(ptr noundef @.str, ptr noundef %13, i32 noundef %14, i32 noundef %15) br label %22 17: ; preds = %4 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %8, align 4 %21 = call i32 @printf(ptr noundef @.str.1, ptr noundef %18, i32 noundef %19, i32 noundef %20) br label %22 22: ; preds = %17, %12 ret void } declare i32 @LogDateTime(...) #1 declare i32 @printf(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/tmpdfdbajg5.c' source_filename = "/tmp/tmpdfdbajg5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"Can't get current directory\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_directory(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call ptr @getcwd(ptr noundef %4, i32 noundef 1024) %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %1 %8 = call i32 @plintf(ptr noundef @.str, ptr noundef @.str.1) %9 = load ptr, ptr %3, align 8 store i8 0, ptr %9, align 1 store i32 0, ptr %2, align 4 br label %11 10: ; preds = %1 store i32 1, ptr %2, align 4 br label %11 11: ; preds = %10, %7 %12 = load i32, ptr %2, align 4 ret i32 %12 } declare ptr @getcwd(ptr noundef, i32 noundef) #1 declare i32 @plintf(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/tmpdfdbajg5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"Can't get current directory\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_directory(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call ptr @getcwd(ptr noundef %4, i32 noundef 1024) %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %1 %8 = call i32 @plintf(ptr noundef @.str, ptr noundef @.str.1) %9 = load ptr, ptr %3, align 8 store i8 0, ptr %9, align 1 store i32 0, ptr %2, align 4 br label %11 10: ; preds = %1 store i32 1, ptr %2, align 4 br label %11 11: ; preds = %10, %7 %12 = load i32, ptr %2, align 4 ret i32 %12 } declare ptr @getcwd(ptr noundef, i32 noundef) #1 declare i32 @plintf(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/tmp_nh7_7lr.c' source_filename = "/tmp/tmp_nh7_7lr.c" target datalayout = "e-m:e-p270: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"p_bench_getpid [-d?] [-c count]\0A\00", align 1 @errno = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) store i64 0, ptr @errno, align 8 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/tmp_nh7_7lr.c" target datalayout = "e-m:e-p270: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"p_bench_getpid [-d?] [-c count]\0A\00", align 1 @errno = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) store i64 0, ptr @errno, align 8 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/tmp2axyo_m3.c' source_filename = "/tmp/tmp2axyo_m3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @my_round(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = fadd double %3, 5.000000e-01 %5 = call i64 @floor(double noundef %4) %6 = trunc i64 %5 to i32 ret i32 %6 } declare i64 @floor(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/tmp2axyo_m3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @my_round(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = fadd double %3, 5.000000e-01 %5 = call i64 @floor(double noundef %4) %6 = trunc i64 %5 to i32 ret i32 %6 } declare i64 @floor(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/tmp3qezg4zr.c' source_filename = "/tmp/tmp3qezg4zr.c" target datalayout = "e-m:e-p270: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"\0D%i\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %3 3: ; preds = %9, %0 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 10000000 br i1 %5, label %6, label %12 6: ; preds = %3 %7 = load i32, ptr %2, align 4 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %7) br label %9 9: ; preds = %6 %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %2, align 4 br label %3, !llvm.loop !6 12: ; preds = %3 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3qezg4zr.c" target datalayout = "e-m:e-p270: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"\0D%i\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp slt i32 %3, 10000000 br i1 %4, label %.lr.ph, label %13 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %8 %6 = load i32, ptr %2, align 4 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) br label %8 8: ; preds = %5 %9 = load i32, ptr %2, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %2, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %11, 10000000 br i1 %12, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %13 13: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp3_5xvs_p.c' source_filename = "/tmp/tmp3_5xvs_p.c" target datalayout = "e-m:e-p270: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/tmp3_5xvs_p.c" target datalayout = "e-m:e-p270: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/tmpgjnh4h3s.c' source_filename = "/tmp/tmpgjnh4h3s.c" target datalayout = "e-m:e-p270: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.mntent = type { ptr, ptr } %struct.passwd = type { i32, i32 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"usage: 9umount mountpt...\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"who are you? getpwuid failed\00", align 1 @PATH_MAX = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [13 x i8] c"/proc/mounts\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"couldn't open /proc/mounts\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"9p\00", align 1 @.str.6 = private unnamed_addr constant [34 x i8] c"%s: refusing to unmount non-9p fs\00", align 1 @.str.7 = private unnamed_addr constant [23 x i8] c"%s: not mounted by you\00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c"umount %s\00", align 1 @.str.9 = private unnamed_addr constant [29 x i8] c"%s not found in /proc/mounts\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 2 br i1 %14, label %15, label %18 15: ; preds = %2 %16 = load i32, ptr @stderr, align 4 %17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str) store i32 1, ptr %3, align 4 br label %106 18: ; preds = %2 %19 = call i32 (...) @getuid() %20 = call ptr @getpwuid(i32 noundef %19) store ptr %20, ptr %6, align 8 %21 = load ptr, ptr %6, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %25, label %23 23: ; preds = %18 %24 = call i32 @err(i32 noundef 1, ptr noundef @.str.1) br label %25 25: ; preds = %23, %18 store i32 0, ptr %7, align 4 br label %26 26: ; preds = %100, %25 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i32 1 store ptr %28, ptr %5, align 8 %29 = load ptr, ptr %28, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %31, label %104 31: ; preds = %26 %32 = load i32, ptr @PATH_MAX, align 4 %33 = zext i32 %32 to i64 %34 = call ptr @llvm.stacksave() store ptr %34, ptr %8, align 8 %35 = alloca i8, i64 %33, align 16 store i64 %33, ptr %9, align 8 %36 = load ptr, ptr %5, align 8 %37 = load ptr, ptr %36, align 8 %38 = call i32 @realpath(ptr noundef %37, ptr noundef %35) %39 = call ptr @setmntent(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %39, ptr %10, align 8 %40 = load ptr, ptr %10, align 8 %41 = icmp ne ptr %40, null br i1 %41, label %44, label %42 42: ; preds = %31 %43 = call i32 @err(i32 noundef 1, ptr noundef @.str.4) br label %44 44: ; preds = %42, %31 br label %45 45: ; preds = %97, %44 %46 = load ptr, ptr %10, align 8 %47 = call ptr @getmntent(ptr noundef %46) store ptr %47, ptr %11, align 8 %48 = icmp ne ptr %47, null br i1 %48, label %49, label %98 49: ; preds = %45 %50 = load ptr, ptr %11, align 8 %51 = getelementptr inbounds %struct.mntent, ptr %50, i32 0, i32 0 %52 = load ptr, ptr %51, align 8 %53 = call i64 @strcmp(ptr noundef %35, ptr noundef %52) %54 = icmp ne i64 %53, 0 br i1 %54, label %97, label %55 55: ; preds = %49 %56 = load ptr, ptr %11, align 8 %57 = load ptr, ptr %6, align 8 %58 = getelementptr inbounds %struct.passwd, ptr %57, i32 0, i32 1 %59 = load i32, ptr %58, align 4 %60 = call i32 @indir(ptr noundef %56, i32 noundef %59) store i32 %60, ptr %12, align 4 %61 = load i32, ptr %12, align 4 %62 = icmp ne i32 %61, 0 br i1 %62, label %71, label %63 63: ; preds = %55 %64 = load ptr, ptr %11, align 8 %65 = getelementptr inbounds %struct.mntent, ptr %64, i32 0, i32 1 %66 = load ptr, ptr %65, align 8 %67 = call i64 @strcmp(ptr noundef %66, ptr noundef @.str.5) %68 = icmp ne i64 %67, 0 br i1 %68, label %69, label %71 69: ; preds = %63 %70 = call i32 @warn(ptr noundef @.str.6, ptr noundef %35) store i32 1, ptr %7, align 4 br label %96 71: ; preds = %63, %55 %72 = load i32, ptr %12, align 4 %73 = icmp ne i32 %72, 0 br i1 %73, label %83, label %74 74: ; preds = %71 %75 = load ptr, ptr %11, align 8 %76 = load ptr, ptr %6, align 8 %77 = getelementptr inbounds %struct.passwd, ptr %76, i32 0, i32 0 %78 = load i32, ptr %77, align 4 %79 = call i32 @mountedby(ptr noundef %75, i32 noundef %78) %80 = icmp ne i32 %79, 0 br i1 %80, label %83, label %81 81: ; preds = %74 %82 = call i32 @warn(ptr noundef @.str.7, ptr noundef %35) store i32 1, ptr %7, align 4 br label %95 83: ; preds = %74, %71 %84 = load ptr, ptr %11, align 8 %85 = getelementptr inbounds %struct.mntent, ptr %84, i32 0, i32 0 %86 = load ptr, ptr %85, align 8 %87 = call i64 @umount(ptr noundef %86) %88 = icmp ne i64 %87, 0 br i1 %88, label %89, label %94 89: ; preds = %83 %90 = load ptr, ptr %11, align 8 %91 = getelementptr inbounds %struct.mntent, ptr %90, i32 0, i32 0 %92 = load ptr, ptr %91, align 8 %93 = call i32 @warn(ptr noundef @.str.8, ptr noundef %92) store i32 1, ptr %7, align 4 br label %94 94: ; preds = %89, %83 br label %95 95: ; preds = %94, %81 br label %96 96: ; preds = %95, %69 br label %100 97: ; preds = %49 br label %45, !llvm.loop !6 98: ; preds = %45 %99 = call i32 @warn(ptr noundef @.str.9, ptr noundef %35) store i32 1, ptr %7, align 4 br label %100 100: ; preds = %98, %96 %101 = load ptr, ptr %10, align 8 %102 = call i32 @endmntent(ptr noundef %101) %103 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %103) br label %26, !llvm.loop !8 104: ; preds = %26 %105 = load i32, ptr %7, align 4 store i32 %105, ptr %3, align 4 br label %106 106: ; preds = %104, %15 %107 = load i32, ptr %3, align 4 ret i32 %107 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare ptr @getpwuid(i32 noundef) #1 declare i32 @getuid(...) #1 declare i32 @err(i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @realpath(ptr noundef, ptr noundef) #1 declare ptr @setmntent(ptr noundef, ptr noundef) #1 declare ptr @getmntent(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @indir(ptr noundef, i32 noundef) #1 declare i32 @warn(ptr noundef, ptr noundef) #1 declare i32 @mountedby(ptr noundef, i32 noundef) #1 declare i64 @umount(ptr noundef) #1 declare i32 @endmntent(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgjnh4h3s.c" target datalayout = "e-m:e-p270: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.mntent = type { ptr, ptr } %struct.passwd = type { i32, i32 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"usage: 9umount mountpt...\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"who are you? getpwuid failed\00", align 1 @PATH_MAX = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [13 x i8] c"/proc/mounts\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"couldn't open /proc/mounts\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"9p\00", align 1 @.str.6 = private unnamed_addr constant [34 x i8] c"%s: refusing to unmount non-9p fs\00", align 1 @.str.7 = private unnamed_addr constant [23 x i8] c"%s: not mounted by you\00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c"umount %s\00", align 1 @.str.9 = private unnamed_addr constant [29 x i8] c"%s not found in /proc/mounts\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 2 br i1 %14, label %15, label %18 15: ; preds = %2 %16 = load i32, ptr @stderr, align 4 %17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str) store i32 1, ptr %3, align 4 br label %111 18: ; preds = %2 %19 = call i32 (...) @getuid() %20 = call ptr @getpwuid(i32 noundef %19) store ptr %20, ptr %6, align 8 %21 = load ptr, ptr %6, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %25, label %23 23: ; preds = %18 %24 = call i32 @err(i32 noundef 1, ptr noundef @.str.1) br label %25 25: ; preds = %23, %18 store i32 0, ptr %7, align 4 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i32 1 store ptr %27, ptr %5, align 8 %28 = load ptr, ptr %27, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %.lr.ph2, label %109 .lr.ph2: ; preds = %25 br label %30 30: ; preds = %.lr.ph2, %101 %31 = load i32, ptr @PATH_MAX, align 4 %32 = zext i32 %31 to i64 %33 = call ptr @llvm.stacksave() store ptr %33, ptr %8, align 8 %34 = alloca i8, i64 %32, align 16 store i64 %32, ptr %9, align 8 %35 = load ptr, ptr %5, align 8 %36 = load ptr, ptr %35, align 8 %37 = call i32 @realpath(ptr noundef %36, ptr noundef %34) %38 = call ptr @setmntent(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %38, ptr %10, align 8 %39 = load ptr, ptr %10, align 8 %40 = icmp ne ptr %39, null br i1 %40, label %43, label %41 41: ; preds = %30 %42 = call i32 @err(i32 noundef 1, ptr noundef @.str.4) br label %43 43: ; preds = %41, %30 %44 = load ptr, ptr %10, align 8 %45 = call ptr @getmntent(ptr noundef %44) store ptr %45, ptr %11, align 8 %46 = icmp ne ptr %45, null br i1 %46, label %.lr.ph, label %99 .lr.ph: ; preds = %43 br label %51 47: ; preds = %51 %48 = load ptr, ptr %10, align 8 %49 = call ptr @getmntent(ptr noundef %48) store ptr %49, ptr %11, align 8 %50 = icmp ne ptr %49, null br i1 %50, label %51, label %._crit_edge, !llvm.loop !6 51: ; preds = %.lr.ph, %47 %52 = load ptr, ptr %11, align 8 %53 = getelementptr inbounds %struct.mntent, ptr %52, i32 0, i32 0 %54 = load ptr, ptr %53, align 8 %55 = call i64 @strcmp(ptr noundef %34, ptr noundef %54) %56 = icmp ne i64 %55, 0 br i1 %56, label %47, label %57 57: ; preds = %51 %58 = load ptr, ptr %11, align 8 %59 = load ptr, ptr %6, align 8 %60 = getelementptr inbounds %struct.passwd, ptr %59, i32 0, i32 1 %61 = load i32, ptr %60, align 4 %62 = call i32 @indir(ptr noundef %58, i32 noundef %61) store i32 %62, ptr %12, align 4 %63 = load i32, ptr %12, align 4 %64 = icmp ne i32 %63, 0 br i1 %64, label %73, label %65 65: ; preds = %57 %66 = load ptr, ptr %11, align 8 %67 = getelementptr inbounds %struct.mntent, ptr %66, i32 0, i32 1 %68 = load ptr, ptr %67, align 8 %69 = call i64 @strcmp(ptr noundef %68, ptr noundef @.str.5) %70 = icmp ne i64 %69, 0 br i1 %70, label %71, label %73 71: ; preds = %65 %72 = call i32 @warn(ptr noundef @.str.6, ptr noundef %34) store i32 1, ptr %7, align 4 br label %98 73: ; preds = %65, %57 %74 = load i32, ptr %12, align 4 %75 = icmp ne i32 %74, 0 br i1 %75, label %85, label %76 76: ; preds = %73 %77 = load ptr, ptr %11, align 8 %78 = load ptr, ptr %6, align 8 %79 = getelementptr inbounds %struct.passwd, ptr %78, i32 0, i32 0 %80 = load i32, ptr %79, align 4 %81 = call i32 @mountedby(ptr noundef %77, i32 noundef %80) %82 = icmp ne i32 %81, 0 br i1 %82, label %85, label %83 83: ; preds = %76 %84 = call i32 @warn(ptr noundef @.str.7, ptr noundef %34) store i32 1, ptr %7, align 4 br label %97 85: ; preds = %76, %73 %86 = load ptr, ptr %11, align 8 %87 = getelementptr inbounds %struct.mntent, ptr %86, i32 0, i32 0 %88 = load ptr, ptr %87, align 8 %89 = call i64 @umount(ptr noundef %88) %90 = icmp ne i64 %89, 0 br i1 %90, label %91, label %96 91: ; preds = %85 %92 = load ptr, ptr %11, align 8 %93 = getelementptr inbounds %struct.mntent, ptr %92, i32 0, i32 0 %94 = load ptr, ptr %93, align 8 %95 = call i32 @warn(ptr noundef @.str.8, ptr noundef %94) store i32 1, ptr %7, align 4 br label %96 96: ; preds = %91, %85 br label %97 97: ; preds = %96, %83 br label %98 98: ; preds = %97, %71 br label %101 ._crit_edge: ; preds = %47 br label %99 99: ; preds = %._crit_edge, %43 %100 = call i32 @warn(ptr noundef @.str.9, ptr noundef %34) store i32 1, ptr %7, align 4 br label %101 101: ; preds = %99, %98 %102 = load ptr, ptr %10, align 8 %103 = call i32 @endmntent(ptr noundef %102) %104 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %104) %105 = load ptr, ptr %5, align 8 %106 = getelementptr inbounds ptr, ptr %105, i32 1 store ptr %106, ptr %5, align 8 %107 = load ptr, ptr %106, align 8 %108 = icmp ne ptr %107, null br i1 %108, label %30, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %101 br label %109 109: ; preds = %._crit_edge3, %25 %110 = load i32, ptr %7, align 4 store i32 %110, ptr %3, align 4 br label %111 111: ; preds = %109, %15 %112 = load i32, ptr %3, align 4 ret i32 %112 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare ptr @getpwuid(i32 noundef) #1 declare i32 @getuid(...) #1 declare i32 @err(i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @realpath(ptr noundef, ptr noundef) #1 declare ptr @setmntent(ptr noundef, ptr noundef) #1 declare ptr @getmntent(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @indir(ptr noundef, i32 noundef) #1 declare i32 @warn(ptr noundef, ptr noundef) #1 declare i32 @mountedby(ptr noundef, i32 noundef) #1 declare i64 @umount(ptr noundef) #1 declare i32 @endmntent(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpscp4amt6.c' source_filename = "/tmp/tmpscp4amt6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @div_deo(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call i64 @__builtin_divdeo(i64 noundef %5, i64 noundef %6) ret i64 %7 } declare i64 @__builtin_divdeo(i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpscp4amt6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @div_deo(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call i64 @__builtin_divdeo(i64 noundef %5, i64 noundef %6) ret i64 %7 } declare i64 @__builtin_divdeo(i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7lzfrw91.c' source_filename = "/tmp/tmp7lzfrw91.c" target datalayout = "e-m:e-p270: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/tmp7lzfrw91.c" target datalayout = "e-m:e-p270: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/tmpzxb22p16.c' source_filename = "/tmp/tmpzxb22p16.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mallocZeroedPointerArray(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = zext i32 %5 to i64 %7 = mul i64 %6, 8 %8 = trunc i64 %7 to i32 %9 = call i64 @malloc(i32 noundef %8) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %27 13: ; preds = %1 store i32 0, ptr %3, align 4 br label %14 14: ; preds = %23, %13 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp ult i32 %15, %16 br i1 %17, label %18, label %26 18: ; preds = %14 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %3, align 4 %21 = zext i32 %20 to i64 %22 = getelementptr inbounds ptr, ptr %19, i64 %21 store ptr null, ptr %22, align 8 br label %23 23: ; preds = %18 %24 = load i32, ptr %3, align 4 %25 = add i32 %24, 1 store i32 %25, ptr %3, align 4 br label %14, !llvm.loop !6 26: ; preds = %14 br label %27 27: ; preds = %26, %1 %28 = load ptr, ptr %4, align 8 ret ptr %28 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzxb22p16.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mallocZeroedPointerArray(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = zext i32 %5 to i64 %7 = mul i64 %6, 8 %8 = trunc i64 %7 to i32 %9 = call i64 @malloc(i32 noundef %8) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %29 13: ; preds = %1 store i32 0, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp ult i32 %14, %15 br i1 %16, label %.lr.ph, label %28 .lr.ph: ; preds = %13 br label %17 17: ; preds = %.lr.ph, %22 %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %3, align 4 %20 = zext i32 %19 to i64 %21 = getelementptr inbounds ptr, ptr %18, i64 %20 store ptr null, ptr %21, align 8 br label %22 22: ; preds = %17 %23 = load i32, ptr %3, align 4 %24 = add i32 %23, 1 store i32 %24, ptr %3, align 4 %25 = load i32, ptr %3, align 4 %26 = load i32, ptr %2, align 4 %27 = icmp ult i32 %25, %26 br i1 %27, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %28 28: ; preds = %._crit_edge, %13 br label %29 29: ; preds = %28, %1 %30 = load ptr, ptr %4, align 8 ret ptr %30 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpy0ltsbd3.c' source_filename = "/tmp/tmpy0ltsbd3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @rand_password.text = internal constant [63 x i8] c"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890\00", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @rand_password(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %20, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %23 10: ; preds = %6 %11 = call i32 (...) @rand() %12 = sext i32 %11 to i64 %13 = urem i64 %12, 62 %14 = getelementptr inbounds [63 x i8], ptr @rand_password.text, i64 0, i64 %13 %15 = load i8, ptr %14, align 1 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 store i8 %15, ptr %19, align 1 br label %20 20: ; preds = %10 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %5, align 4 br label %6, !llvm.loop !6 23: ; preds = %6 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %5, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 store i8 0, ptr %27, align 1 %28 = load ptr, ptr %3, align 8 ret ptr %28 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy0ltsbd3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @rand_password.text = internal constant [63 x i8] c"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890\00", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @rand_password(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %25 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %19 %10 = call i32 (...) @rand() %11 = sext i32 %10 to i64 %12 = urem i64 %11, 62 %13 = getelementptr inbounds [63 x i8], ptr @rand_password.text, i64 0, i64 %12 %14 = load i8, ptr %13, align 1 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 store i8 %14, ptr %18, align 1 br label %19 19: ; preds = %9 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %5, align 4 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %25 25: ; preds = %._crit_edge, %2 %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %5, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 store i8 0, ptr %29, align 1 %30 = load ptr, ptr %3, align 8 ret ptr %30 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8crwm0wb.c' source_filename = "/tmp/tmp8crwm0wb.c" target datalayout = "e-m:e-p270: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/tmp8crwm0wb.c" target datalayout = "e-m:e-p270: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/tmpayip57r1.c' source_filename = "/tmp/tmpayip57r1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @.str = private unnamed_addr constant [21 x i8] c"%s [file] [length] \0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"%s : Error with stat\0A\00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"%s : Error with ftruncate\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 ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca %struct.stat, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %8 = load i32, ptr %3, align 4 %9 = icmp ne i32 %8, 3 br i1 %9, label %10, label %16 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 0 %13 = load ptr, ptr %12, align 8 %14 = call i32 @printf(ptr noundef @.str, ptr noundef %13) %15 = call i32 @exit(i32 noundef 1) #3 unreachable 16: ; preds = %2 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 store ptr %19, ptr %5, align 8 %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 2 %22 = load ptr, ptr %21, align 8 %23 = call i32 @atoi(ptr noundef %22) store i32 %23, ptr %6, align 4 %24 = load ptr, ptr %5, align 8 %25 = call i64 @stat(ptr noundef %24, ptr noundef %7) %26 = icmp ne i64 0, %25 br i1 %26, label %27, label %32 27: ; preds = %16 %28 = load ptr, ptr %5, align 8 %29 = call i32 @printf(ptr noundef @.str.1, ptr noundef %28) %30 = call i32 @perror(ptr noundef @.str.2) %31 = call i32 @exit(i32 noundef -1) #3 unreachable 32: ; preds = %16 %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %6, align 4 %35 = call i32 @truncate(ptr noundef %33, i32 noundef %34) %36 = icmp eq i32 -1, %35 br i1 %36, label %37, label %42 37: ; preds = %32 %38 = load ptr, ptr %5, align 8 %39 = call i32 @printf(ptr noundef @.str.3, ptr noundef %38) %40 = call i32 @perror(ptr noundef @.str.2) %41 = call i32 @exit(i32 noundef -1) #3 unreachable 42: ; preds = %32 ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 declare i64 @stat(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @truncate(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/tmpayip57r1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @.str = private unnamed_addr constant [21 x i8] c"%s [file] [length] \0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"%s : Error with stat\0A\00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"%s : Error with ftruncate\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 ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca %struct.stat, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %8 = load i32, ptr %3, align 4 %9 = icmp ne i32 %8, 3 br i1 %9, label %10, label %16 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 0 %13 = load ptr, ptr %12, align 8 %14 = call i32 @printf(ptr noundef @.str, ptr noundef %13) %15 = call i32 @exit(i32 noundef 1) #3 unreachable 16: ; preds = %2 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 store ptr %19, ptr %5, align 8 %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 2 %22 = load ptr, ptr %21, align 8 %23 = call i32 @atoi(ptr noundef %22) store i32 %23, ptr %6, align 4 %24 = load ptr, ptr %5, align 8 %25 = call i64 @stat(ptr noundef %24, ptr noundef %7) %26 = icmp ne i64 0, %25 br i1 %26, label %27, label %32 27: ; preds = %16 %28 = load ptr, ptr %5, align 8 %29 = call i32 @printf(ptr noundef @.str.1, ptr noundef %28) %30 = call i32 @perror(ptr noundef @.str.2) %31 = call i32 @exit(i32 noundef -1) #3 unreachable 32: ; preds = %16 %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %6, align 4 %35 = call i32 @truncate(ptr noundef %33, i32 noundef %34) %36 = icmp eq i32 -1, %35 br i1 %36, label %37, label %42 37: ; preds = %32 %38 = load ptr, ptr %5, align 8 %39 = call i32 @printf(ptr noundef @.str.3, ptr noundef %38) %40 = call i32 @perror(ptr noundef @.str.2) %41 = call i32 @exit(i32 noundef -1) #3 unreachable 42: ; preds = %32 ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 declare i64 @stat(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @truncate(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/tmpt033m151.c' source_filename = "/tmp/tmpt033m151.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pivot() #0 { %1 = alloca [10 x i8], align 1 %2 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @gets(ptr noundef %2) ret void } declare i32 @gets(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt033m151.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pivot() #0 { %1 = alloca [10 x i8], align 1 %2 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @gets(ptr noundef %2) ret void } declare i32 @gets(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkazvmo7e.c' source_filename = "/tmp/tmpkazvmo7e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rank3(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = call i32 @rank2(ptr noundef %7, ptr noundef %8) %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %6, align 8 %12 = call i32 @rank2(ptr noundef %10, ptr noundef %11) %13 = load ptr, ptr %4, align 8 %14 = load ptr, ptr %6, align 8 %15 = call i32 @rank2(ptr noundef %13, ptr noundef %14) ret void } declare i32 @rank2(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/tmpkazvmo7e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rank3(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = call i32 @rank2(ptr noundef %7, ptr noundef %8) %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %6, align 8 %12 = call i32 @rank2(ptr noundef %10, ptr noundef %11) %13 = load ptr, ptr %4, align 8 %14 = load ptr, ptr %6, align 8 %15 = call i32 @rank2(ptr noundef %13, ptr noundef %14) ret void } declare i32 @rank2(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/tmppx7g1gjw.c' source_filename = "/tmp/tmppx7g1gjw.c" target datalayout = "e-m:e-p270: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_un = type { i32, i32 } @AF_UNIX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"/tmp/mysock\00", align 1 @PF_UNIX = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.sockaddr_un, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [1024 x i8], align 16 store i32 0, ptr %1, align 4 store i32 8, ptr %6, align 4 %8 = load i32, ptr @AF_UNIX, align 4 %9 = getelementptr inbounds %struct.sockaddr_un, ptr %2, i32 0, i32 1 store i32 %8, ptr %9, align 4 %10 = getelementptr inbounds %struct.sockaddr_un, ptr %2, i32 0, i32 0 %11 = load i32, ptr %10, align 4 %12 = call i32 @strcpy(i32 noundef %11, ptr noundef @.str) %13 = load i32, ptr @PF_UNIX, align 4 %14 = load i32, ptr @SOCK_STREAM, align 4 %15 = call i32 @socket(i32 noundef %13, i32 noundef %14, i32 noundef 0) store i32 %15, ptr %4, align 4 %16 = call i32 @unlink(ptr noundef @.str) %17 = load i32, ptr %4, align 4 %18 = call i32 @bind(i32 noundef %17, ptr noundef %2, i32 noundef 8) %19 = load i32, ptr %4, align 4 %20 = call i32 @listen(i32 noundef %19, i32 noundef 5) br label %21 21: ; preds = %21, %0 %22 = load i32, ptr %4, align 4 %23 = call i32 @accept(i32 noundef %22, ptr noundef null, ptr noundef %6) store i32 %23, ptr %5, align 4 %24 = load i32, ptr %5, align 4 %25 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %26 = call i32 @read(i32 noundef %24, ptr noundef %25, i32 noundef 1024) store i32 %26, ptr %3, align 4 %27 = load i32, ptr @STDOUT_FILENO, align 4 %28 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %29 = load i32, ptr %3, align 4 %30 = call i32 @write(i32 noundef %27, ptr noundef %28, i32 noundef %29) %31 = load i32, ptr %5, align 4 %32 = call i32 @close(i32 noundef %31) br label %21 } declare i32 @strcpy(i32 noundef, ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @unlink(ptr noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppx7g1gjw.c" target datalayout = "e-m:e-p270: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_un = type { i32, i32 } @AF_UNIX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"/tmp/mysock\00", align 1 @PF_UNIX = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.sockaddr_un, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [1024 x i8], align 16 store i32 0, ptr %1, align 4 store i32 8, ptr %6, align 4 %8 = load i32, ptr @AF_UNIX, align 4 %9 = getelementptr inbounds %struct.sockaddr_un, ptr %2, i32 0, i32 1 store i32 %8, ptr %9, align 4 %10 = getelementptr inbounds %struct.sockaddr_un, ptr %2, i32 0, i32 0 %11 = load i32, ptr %10, align 4 %12 = call i32 @strcpy(i32 noundef %11, ptr noundef @.str) %13 = load i32, ptr @PF_UNIX, align 4 %14 = load i32, ptr @SOCK_STREAM, align 4 %15 = call i32 @socket(i32 noundef %13, i32 noundef %14, i32 noundef 0) store i32 %15, ptr %4, align 4 %16 = call i32 @unlink(ptr noundef @.str) %17 = load i32, ptr %4, align 4 %18 = call i32 @bind(i32 noundef %17, ptr noundef %2, i32 noundef 8) %19 = load i32, ptr %4, align 4 %20 = call i32 @listen(i32 noundef %19, i32 noundef 5) br label %21 21: ; preds = %21, %0 %22 = load i32, ptr %4, align 4 %23 = call i32 @accept(i32 noundef %22, ptr noundef null, ptr noundef %6) store i32 %23, ptr %5, align 4 %24 = load i32, ptr %5, align 4 %25 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %26 = call i32 @read(i32 noundef %24, ptr noundef %25, i32 noundef 1024) store i32 %26, ptr %3, align 4 %27 = load i32, ptr @STDOUT_FILENO, align 4 %28 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %29 = load i32, ptr %3, align 4 %30 = call i32 @write(i32 noundef %27, ptr noundef %28, i32 noundef %29) %31 = load i32, ptr %5, align 4 %32 = call i32 @close(i32 noundef %31) br label %21 } declare i32 @strcpy(i32 noundef, ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @unlink(ptr noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu3yyy2lm.c' source_filename = "/tmp/tmpu3yyy2lm.c" target datalayout = "e-m:e-p270: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/tmpu3yyy2lm.c" target datalayout = "e-m:e-p270: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/tmpa_w_8gcy.c' source_filename = "/tmp/tmpa_w_8gcy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ClearTileRow(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 br label %6 6: ; preds = %15, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %18 10: ; preds = %6 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %5, align 4 %13 = add nsw i32 %11, %12 %14 = call i32 @ClearTile(i32 noundef %13) br label %15 15: ; preds = %10 %16 = load i32, ptr %5, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %5, align 4 br label %6, !llvm.loop !6 18: ; preds = %6 ret void } declare i32 @ClearTile(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/tmpa_w_8gcy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ClearTileRow(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 %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %20 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %14 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %5, align 4 %12 = add nsw i32 %10, %11 %13 = call i32 @ClearTile(i32 noundef %12) br label %14 14: ; preds = %9 %15 = load i32, ptr %5, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %5, align 4 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %20 20: ; preds = %._crit_edge, %2 ret void } declare i32 @ClearTile(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/tmpbbv_int8.c' source_filename = "/tmp/tmpbbv_int8.c" target datalayout = "e-m:e-p270: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/tmpbbv_int8.c" target datalayout = "e-m:e-p270: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/tmpjwuohpy8.c' source_filename = "/tmp/tmpjwuohpy8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_mm_castps_si128(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @_mm_castps_si128(i32 noundef %3) ret i32 %4 } declare i32 @_mm_castps_si128(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/tmpjwuohpy8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_mm_castps_si128(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @_mm_castps_si128(i32 noundef %3) ret i32 %4 } declare i32 @_mm_castps_si128(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/tmp68wru5_q.c' source_filename = "/tmp/tmp68wru5_q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 1, ptr %5, align 4 br label %7 7: ; preds = %18, %0 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp sle i32 %8, %9 br i1 %10, label %11, label %21 11: ; preds = %7 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %13, %12 store i32 %14, ptr %3, align 4 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %16, %15 store i32 %17, ptr %4, align 4 br label %18 18: ; preds = %11 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 br label %7, !llvm.loop !6 21: ; preds = %7 %22 = load i32, ptr %4, align 4 %23 = call i32 @printf(ptr noundef @.str, i32 noundef %22) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp68wru5_q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 1, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp sle i32 %7, %8 br i1 %9, label %.lr.ph, label %23 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %17 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %12, %11 store i32 %13, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %4, align 4 %16 = add nsw i32 %15, %14 store i32 %16, ptr %4, align 4 br label %17 17: ; preds = %10 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %2, align 4 %22 = icmp sle i32 %20, %21 br i1 %22, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %23 23: ; preds = %._crit_edge, %0 %24 = load i32, ptr %4, align 4 %25 = call i32 @printf(ptr noundef @.str, i32 noundef %24) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpjniw_o08.c' source_filename = "/tmp/tmpjniw_o08.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isEmpty(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i8, ptr %3, align 1 %5 = sext i8 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = zext i1 %6 to i32 ret i32 %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjniw_o08.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isEmpty(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i8, ptr %3, align 1 %5 = sext i8 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = zext i1 %6 to i32 ret i32 %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_j581e_8.c' source_filename = "/tmp/tmp_j581e_8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @f271(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 @f270(ptr noundef %3) ret i32 %4 } declare i32 @f270(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_j581e_8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @f271(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 @f270(ptr noundef %3) ret i32 %4 } declare i32 @f270(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwoejhbde.c' source_filename = "/tmp/tmpwoejhbde.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"Enciphering with DES\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"Before enciphering\0A\00", align 1 @.str.2 = private unnamed_addr constant [49 x i8] c"destmp: %02x %02x %02x %02x %02x %02x %02x %02x\0A\00", align 1 @.str.3 = private unnamed_addr constant [49 x i8] c"deskey: %02x %02x %02x %02x %02x %02x %02x %02x\0A\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"After enciphering\0A\00", align 1 @.str.5 = private unnamed_addr constant [49 x i8] c"desctx: %02x %02x %02x %02x %02x %02x %02x %02x\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"Before deciphering\0A\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"After deciphering\0A\00", align 1 @.str.8 = private unnamed_addr constant [49 x i8] c"desptx: %02x %02x %02x %02x %02x %02x %02x %02x\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 [8 x i8], align 1 %7 = alloca [8 x i8], align 1 %8 = alloca [8 x i8], align 1 %9 = alloca [8 x i8], align 1 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = load i32, ptr @stdout, align 4 %12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str) %13 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0 store i8 -87, ptr %13, align 1 %14 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 1 store i8 16, ptr %14, align 1 %15 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 2 store i8 17, ptr %15, align 1 %16 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 3 store i8 56, ptr %16, align 1 %17 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 4 store i8 -109, ptr %17, align 1 %18 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 5 store i8 -54, ptr %18, align 1 %19 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 6 store i8 -76, ptr %19, align 1 %20 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 7 store i8 -95, ptr %20, align 1 %21 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0 store i8 1, ptr %21, align 1 %22 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 1 store i8 31, ptr %22, align 1 %23 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 2 store i8 1, ptr %23, align 1 %24 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 3 store i8 31, ptr %24, align 1 %25 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 4 store i8 1, ptr %25, align 1 %26 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 5 store i8 14, ptr %26, align 1 %27 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 6 store i8 1, ptr %27, align 1 %28 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 7 store i8 14, ptr %28, align 1 %29 = load i32, ptr @stdout, align 4 %30 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %29, ptr noundef @.str.1) %31 = load i32, ptr @stdout, align 4 %32 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0 %33 = load i8, ptr %32, align 1 %34 = zext i8 %33 to i32 %35 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 1 %36 = load i8, ptr %35, align 1 %37 = zext i8 %36 to i32 %38 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 2 %39 = load i8, ptr %38, align 1 %40 = zext i8 %39 to i32 %41 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 3 %42 = load i8, ptr %41, align 1 %43 = zext i8 %42 to i32 %44 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 4 %45 = load i8, ptr %44, align 1 %46 = zext i8 %45 to i32 %47 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 5 %48 = load i8, ptr %47, align 1 %49 = zext i8 %48 to i32 %50 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 6 %51 = load i8, ptr %50, align 1 %52 = zext i8 %51 to i32 %53 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 7 %54 = load i8, ptr %53, align 1 %55 = zext i8 %54 to i32 %56 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %31, ptr noundef @.str.2, i32 noundef %34, i32 noundef %37, i32 noundef %40, i32 noundef %43, i32 noundef %46, i32 noundef %49, i32 noundef %52, i32 noundef %55) %57 = load i32, ptr @stdout, align 4 %58 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0 %59 = load i8, ptr %58, align 1 %60 = zext i8 %59 to i32 %61 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 1 %62 = load i8, ptr %61, align 1 %63 = zext i8 %62 to i32 %64 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 2 %65 = load i8, ptr %64, align 1 %66 = zext i8 %65 to i32 %67 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 3 %68 = load i8, ptr %67, align 1 %69 = zext i8 %68 to i32 %70 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 4 %71 = load i8, ptr %70, align 1 %72 = zext i8 %71 to i32 %73 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 5 %74 = load i8, ptr %73, align 1 %75 = zext i8 %74 to i32 %76 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 6 %77 = load i8, ptr %76, align 1 %78 = zext i8 %77 to i32 %79 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 7 %80 = load i8, ptr %79, align 1 %81 = zext i8 %80 to i32 %82 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %57, ptr noundef @.str.3, i32 noundef %60, i32 noundef %63, i32 noundef %66, i32 noundef %69, i32 noundef %72, i32 noundef %75, i32 noundef %78, i32 noundef %81) %83 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0 %84 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0 %85 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0 %86 = call i32 @des_encipher(ptr noundef %83, ptr noundef %84, ptr noundef %85) %87 = load i32, ptr @stdout, align 4 %88 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %87, ptr noundef @.str.4) %89 = load i32, ptr @stdout, align 4 %90 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0 %91 = load i8, ptr %90, align 1 %92 = zext i8 %91 to i32 %93 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 1 %94 = load i8, ptr %93, align 1 %95 = zext i8 %94 to i32 %96 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 2 %97 = load i8, ptr %96, align 1 %98 = zext i8 %97 to i32 %99 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 3 %100 = load i8, ptr %99, align 1 %101 = zext i8 %100 to i32 %102 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 4 %103 = load i8, ptr %102, align 1 %104 = zext i8 %103 to i32 %105 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 5 %106 = load i8, ptr %105, align 1 %107 = zext i8 %106 to i32 %108 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 6 %109 = load i8, ptr %108, align 1 %110 = zext i8 %109 to i32 %111 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 7 %112 = load i8, ptr %111, align 1 %113 = zext i8 %112 to i32 %114 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %89, ptr noundef @.str.2, i32 noundef %92, i32 noundef %95, i32 noundef %98, i32 noundef %101, i32 noundef %104, i32 noundef %107, i32 noundef %110, i32 noundef %113) %115 = load i32, ptr @stdout, align 4 %116 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0 %117 = load i8, ptr %116, align 1 %118 = zext i8 %117 to i32 %119 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 1 %120 = load i8, ptr %119, align 1 %121 = zext i8 %120 to i32 %122 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 2 %123 = load i8, ptr %122, align 1 %124 = zext i8 %123 to i32 %125 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 3 %126 = load i8, ptr %125, align 1 %127 = zext i8 %126 to i32 %128 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 4 %129 = load i8, ptr %128, align 1 %130 = zext i8 %129 to i32 %131 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 5 %132 = load i8, ptr %131, align 1 %133 = zext i8 %132 to i32 %134 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 6 %135 = load i8, ptr %134, align 1 %136 = zext i8 %135 to i32 %137 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 7 %138 = load i8, ptr %137, align 1 %139 = zext i8 %138 to i32 %140 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %115, ptr noundef @.str.5, i32 noundef %118, i32 noundef %121, i32 noundef %124, i32 noundef %127, i32 noundef %130, i32 noundef %133, i32 noundef %136, i32 noundef %139) %141 = load i32, ptr @stdout, align 4 %142 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %141, ptr noundef @.str.6) %143 = load i32, ptr @stdout, align 4 %144 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0 %145 = load i8, ptr %144, align 1 %146 = zext i8 %145 to i32 %147 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 1 %148 = load i8, ptr %147, align 1 %149 = zext i8 %148 to i32 %150 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 2 %151 = load i8, ptr %150, align 1 %152 = zext i8 %151 to i32 %153 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 3 %154 = load i8, ptr %153, align 1 %155 = zext i8 %154 to i32 %156 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 4 %157 = load i8, ptr %156, align 1 %158 = zext i8 %157 to i32 %159 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 5 %160 = load i8, ptr %159, align 1 %161 = zext i8 %160 to i32 %162 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 6 %163 = load i8, ptr %162, align 1 %164 = zext i8 %163 to i32 %165 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 7 %166 = load i8, ptr %165, align 1 %167 = zext i8 %166 to i32 %168 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %143, ptr noundef @.str.5, i32 noundef %146, i32 noundef %149, i32 noundef %152, i32 noundef %155, i32 noundef %158, i32 noundef %161, i32 noundef %164, i32 noundef %167) %169 = load i32, ptr @stdout, align 4 %170 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0 %171 = load i8, ptr %170, align 1 %172 = zext i8 %171 to i32 %173 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 1 %174 = load i8, ptr %173, align 1 %175 = zext i8 %174 to i32 %176 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 2 %177 = load i8, ptr %176, align 1 %178 = zext i8 %177 to i32 %179 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 3 %180 = load i8, ptr %179, align 1 %181 = zext i8 %180 to i32 %182 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 4 %183 = load i8, ptr %182, align 1 %184 = zext i8 %183 to i32 %185 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 5 %186 = load i8, ptr %185, align 1 %187 = zext i8 %186 to i32 %188 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 6 %189 = load i8, ptr %188, align 1 %190 = zext i8 %189 to i32 %191 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 7 %192 = load i8, ptr %191, align 1 %193 = zext i8 %192 to i32 %194 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %169, ptr noundef @.str.3, i32 noundef %172, i32 noundef %175, i32 noundef %178, i32 noundef %181, i32 noundef %184, i32 noundef %187, i32 noundef %190, i32 noundef %193) %195 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0 %196 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0 %197 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0 %198 = call i32 @des_decipher(ptr noundef %195, ptr noundef %196, ptr noundef %197) %199 = load i32, ptr @stdout, align 4 %200 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %199, ptr noundef @.str.7) %201 = load i32, ptr @stdout, align 4 %202 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0 %203 = load i8, ptr %202, align 1 %204 = zext i8 %203 to i32 %205 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 1 %206 = load i8, ptr %205, align 1 %207 = zext i8 %206 to i32 %208 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 2 %209 = load i8, ptr %208, align 1 %210 = zext i8 %209 to i32 %211 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 3 %212 = load i8, ptr %211, align 1 %213 = zext i8 %212 to i32 %214 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 4 %215 = load i8, ptr %214, align 1 %216 = zext i8 %215 to i32 %217 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 5 %218 = load i8, ptr %217, align 1 %219 = zext i8 %218 to i32 %220 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 6 %221 = load i8, ptr %220, align 1 %222 = zext i8 %221 to i32 %223 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 7 %224 = load i8, ptr %223, align 1 %225 = zext i8 %224 to i32 %226 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %201, ptr noundef @.str.5, i32 noundef %204, i32 noundef %207, i32 noundef %210, i32 noundef %213, i32 noundef %216, i32 noundef %219, i32 noundef %222, i32 noundef %225) %227 = load i32, ptr @stdout, align 4 %228 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0 %229 = load i8, ptr %228, align 1 %230 = zext i8 %229 to i32 %231 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 1 %232 = load i8, ptr %231, align 1 %233 = zext i8 %232 to i32 %234 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 2 %235 = load i8, ptr %234, align 1 %236 = zext i8 %235 to i32 %237 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 3 %238 = load i8, ptr %237, align 1 %239 = zext i8 %238 to i32 %240 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 4 %241 = load i8, ptr %240, align 1 %242 = zext i8 %241 to i32 %243 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 5 %244 = load i8, ptr %243, align 1 %245 = zext i8 %244 to i32 %246 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 6 %247 = load i8, ptr %246, align 1 %248 = zext i8 %247 to i32 %249 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 7 %250 = load i8, ptr %249, align 1 %251 = zext i8 %250 to i32 %252 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %227, ptr noundef @.str.8, i32 noundef %230, i32 noundef %233, i32 noundef %236, i32 noundef %239, i32 noundef %242, i32 noundef %245, i32 noundef %248, i32 noundef %251) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @des_encipher(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @des_decipher(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwoejhbde.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"Enciphering with DES\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"Before enciphering\0A\00", align 1 @.str.2 = private unnamed_addr constant [49 x i8] c"destmp: %02x %02x %02x %02x %02x %02x %02x %02x\0A\00", align 1 @.str.3 = private unnamed_addr constant [49 x i8] c"deskey: %02x %02x %02x %02x %02x %02x %02x %02x\0A\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"After enciphering\0A\00", align 1 @.str.5 = private unnamed_addr constant [49 x i8] c"desctx: %02x %02x %02x %02x %02x %02x %02x %02x\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"Before deciphering\0A\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"After deciphering\0A\00", align 1 @.str.8 = private unnamed_addr constant [49 x i8] c"desptx: %02x %02x %02x %02x %02x %02x %02x %02x\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 [8 x i8], align 1 %7 = alloca [8 x i8], align 1 %8 = alloca [8 x i8], align 1 %9 = alloca [8 x i8], align 1 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = load i32, ptr @stdout, align 4 %12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str) %13 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0 store i8 -87, ptr %13, align 1 %14 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 1 store i8 16, ptr %14, align 1 %15 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 2 store i8 17, ptr %15, align 1 %16 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 3 store i8 56, ptr %16, align 1 %17 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 4 store i8 -109, ptr %17, align 1 %18 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 5 store i8 -54, ptr %18, align 1 %19 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 6 store i8 -76, ptr %19, align 1 %20 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 7 store i8 -95, ptr %20, align 1 %21 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0 store i8 1, ptr %21, align 1 %22 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 1 store i8 31, ptr %22, align 1 %23 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 2 store i8 1, ptr %23, align 1 %24 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 3 store i8 31, ptr %24, align 1 %25 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 4 store i8 1, ptr %25, align 1 %26 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 5 store i8 14, ptr %26, align 1 %27 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 6 store i8 1, ptr %27, align 1 %28 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 7 store i8 14, ptr %28, align 1 %29 = load i32, ptr @stdout, align 4 %30 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %29, ptr noundef @.str.1) %31 = load i32, ptr @stdout, align 4 %32 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0 %33 = load i8, ptr %32, align 1 %34 = zext i8 %33 to i32 %35 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 1 %36 = load i8, ptr %35, align 1 %37 = zext i8 %36 to i32 %38 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 2 %39 = load i8, ptr %38, align 1 %40 = zext i8 %39 to i32 %41 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 3 %42 = load i8, ptr %41, align 1 %43 = zext i8 %42 to i32 %44 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 4 %45 = load i8, ptr %44, align 1 %46 = zext i8 %45 to i32 %47 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 5 %48 = load i8, ptr %47, align 1 %49 = zext i8 %48 to i32 %50 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 6 %51 = load i8, ptr %50, align 1 %52 = zext i8 %51 to i32 %53 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 7 %54 = load i8, ptr %53, align 1 %55 = zext i8 %54 to i32 %56 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %31, ptr noundef @.str.2, i32 noundef %34, i32 noundef %37, i32 noundef %40, i32 noundef %43, i32 noundef %46, i32 noundef %49, i32 noundef %52, i32 noundef %55) %57 = load i32, ptr @stdout, align 4 %58 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0 %59 = load i8, ptr %58, align 1 %60 = zext i8 %59 to i32 %61 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 1 %62 = load i8, ptr %61, align 1 %63 = zext i8 %62 to i32 %64 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 2 %65 = load i8, ptr %64, align 1 %66 = zext i8 %65 to i32 %67 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 3 %68 = load i8, ptr %67, align 1 %69 = zext i8 %68 to i32 %70 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 4 %71 = load i8, ptr %70, align 1 %72 = zext i8 %71 to i32 %73 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 5 %74 = load i8, ptr %73, align 1 %75 = zext i8 %74 to i32 %76 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 6 %77 = load i8, ptr %76, align 1 %78 = zext i8 %77 to i32 %79 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 7 %80 = load i8, ptr %79, align 1 %81 = zext i8 %80 to i32 %82 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %57, ptr noundef @.str.3, i32 noundef %60, i32 noundef %63, i32 noundef %66, i32 noundef %69, i32 noundef %72, i32 noundef %75, i32 noundef %78, i32 noundef %81) %83 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0 %84 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0 %85 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0 %86 = call i32 @des_encipher(ptr noundef %83, ptr noundef %84, ptr noundef %85) %87 = load i32, ptr @stdout, align 4 %88 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %87, ptr noundef @.str.4) %89 = load i32, ptr @stdout, align 4 %90 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0 %91 = load i8, ptr %90, align 1 %92 = zext i8 %91 to i32 %93 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 1 %94 = load i8, ptr %93, align 1 %95 = zext i8 %94 to i32 %96 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 2 %97 = load i8, ptr %96, align 1 %98 = zext i8 %97 to i32 %99 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 3 %100 = load i8, ptr %99, align 1 %101 = zext i8 %100 to i32 %102 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 4 %103 = load i8, ptr %102, align 1 %104 = zext i8 %103 to i32 %105 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 5 %106 = load i8, ptr %105, align 1 %107 = zext i8 %106 to i32 %108 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 6 %109 = load i8, ptr %108, align 1 %110 = zext i8 %109 to i32 %111 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 7 %112 = load i8, ptr %111, align 1 %113 = zext i8 %112 to i32 %114 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %89, ptr noundef @.str.2, i32 noundef %92, i32 noundef %95, i32 noundef %98, i32 noundef %101, i32 noundef %104, i32 noundef %107, i32 noundef %110, i32 noundef %113) %115 = load i32, ptr @stdout, align 4 %116 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0 %117 = load i8, ptr %116, align 1 %118 = zext i8 %117 to i32 %119 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 1 %120 = load i8, ptr %119, align 1 %121 = zext i8 %120 to i32 %122 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 2 %123 = load i8, ptr %122, align 1 %124 = zext i8 %123 to i32 %125 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 3 %126 = load i8, ptr %125, align 1 %127 = zext i8 %126 to i32 %128 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 4 %129 = load i8, ptr %128, align 1 %130 = zext i8 %129 to i32 %131 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 5 %132 = load i8, ptr %131, align 1 %133 = zext i8 %132 to i32 %134 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 6 %135 = load i8, ptr %134, align 1 %136 = zext i8 %135 to i32 %137 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 7 %138 = load i8, ptr %137, align 1 %139 = zext i8 %138 to i32 %140 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %115, ptr noundef @.str.5, i32 noundef %118, i32 noundef %121, i32 noundef %124, i32 noundef %127, i32 noundef %130, i32 noundef %133, i32 noundef %136, i32 noundef %139) %141 = load i32, ptr @stdout, align 4 %142 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %141, ptr noundef @.str.6) %143 = load i32, ptr @stdout, align 4 %144 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0 %145 = load i8, ptr %144, align 1 %146 = zext i8 %145 to i32 %147 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 1 %148 = load i8, ptr %147, align 1 %149 = zext i8 %148 to i32 %150 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 2 %151 = load i8, ptr %150, align 1 %152 = zext i8 %151 to i32 %153 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 3 %154 = load i8, ptr %153, align 1 %155 = zext i8 %154 to i32 %156 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 4 %157 = load i8, ptr %156, align 1 %158 = zext i8 %157 to i32 %159 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 5 %160 = load i8, ptr %159, align 1 %161 = zext i8 %160 to i32 %162 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 6 %163 = load i8, ptr %162, align 1 %164 = zext i8 %163 to i32 %165 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 7 %166 = load i8, ptr %165, align 1 %167 = zext i8 %166 to i32 %168 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %143, ptr noundef @.str.5, i32 noundef %146, i32 noundef %149, i32 noundef %152, i32 noundef %155, i32 noundef %158, i32 noundef %161, i32 noundef %164, i32 noundef %167) %169 = load i32, ptr @stdout, align 4 %170 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0 %171 = load i8, ptr %170, align 1 %172 = zext i8 %171 to i32 %173 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 1 %174 = load i8, ptr %173, align 1 %175 = zext i8 %174 to i32 %176 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 2 %177 = load i8, ptr %176, align 1 %178 = zext i8 %177 to i32 %179 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 3 %180 = load i8, ptr %179, align 1 %181 = zext i8 %180 to i32 %182 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 4 %183 = load i8, ptr %182, align 1 %184 = zext i8 %183 to i32 %185 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 5 %186 = load i8, ptr %185, align 1 %187 = zext i8 %186 to i32 %188 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 6 %189 = load i8, ptr %188, align 1 %190 = zext i8 %189 to i32 %191 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 7 %192 = load i8, ptr %191, align 1 %193 = zext i8 %192 to i32 %194 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %169, ptr noundef @.str.3, i32 noundef %172, i32 noundef %175, i32 noundef %178, i32 noundef %181, i32 noundef %184, i32 noundef %187, i32 noundef %190, i32 noundef %193) %195 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0 %196 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0 %197 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0 %198 = call i32 @des_decipher(ptr noundef %195, ptr noundef %196, ptr noundef %197) %199 = load i32, ptr @stdout, align 4 %200 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %199, ptr noundef @.str.7) %201 = load i32, ptr @stdout, align 4 %202 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0 %203 = load i8, ptr %202, align 1 %204 = zext i8 %203 to i32 %205 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 1 %206 = load i8, ptr %205, align 1 %207 = zext i8 %206 to i32 %208 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 2 %209 = load i8, ptr %208, align 1 %210 = zext i8 %209 to i32 %211 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 3 %212 = load i8, ptr %211, align 1 %213 = zext i8 %212 to i32 %214 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 4 %215 = load i8, ptr %214, align 1 %216 = zext i8 %215 to i32 %217 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 5 %218 = load i8, ptr %217, align 1 %219 = zext i8 %218 to i32 %220 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 6 %221 = load i8, ptr %220, align 1 %222 = zext i8 %221 to i32 %223 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 7 %224 = load i8, ptr %223, align 1 %225 = zext i8 %224 to i32 %226 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %201, ptr noundef @.str.5, i32 noundef %204, i32 noundef %207, i32 noundef %210, i32 noundef %213, i32 noundef %216, i32 noundef %219, i32 noundef %222, i32 noundef %225) %227 = load i32, ptr @stdout, align 4 %228 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0 %229 = load i8, ptr %228, align 1 %230 = zext i8 %229 to i32 %231 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 1 %232 = load i8, ptr %231, align 1 %233 = zext i8 %232 to i32 %234 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 2 %235 = load i8, ptr %234, align 1 %236 = zext i8 %235 to i32 %237 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 3 %238 = load i8, ptr %237, align 1 %239 = zext i8 %238 to i32 %240 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 4 %241 = load i8, ptr %240, align 1 %242 = zext i8 %241 to i32 %243 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 5 %244 = load i8, ptr %243, align 1 %245 = zext i8 %244 to i32 %246 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 6 %247 = load i8, ptr %246, align 1 %248 = zext i8 %247 to i32 %249 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 7 %250 = load i8, ptr %249, align 1 %251 = zext i8 %250 to i32 %252 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %227, ptr noundef @.str.8, i32 noundef %230, i32 noundef %233, i32 noundef %236, i32 noundef %239, i32 noundef %242, i32 noundef %245, i32 noundef %248, i32 noundef %251) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @des_encipher(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @des_decipher(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpul_d8qyp.c' source_filename = "/tmp/tmpul_d8qyp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gestionnaire(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @exit(i32 noundef 0) #2 unreachable } ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpul_d8qyp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gestionnaire(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @exit(i32 noundef 0) #2 unreachable } ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps1akzah5.c' source_filename = "/tmp/tmps1akzah5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"-\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %3 3: ; preds = %9, %0 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 2 br i1 %5, label %6, label %12 6: ; preds = %3 %7 = call i32 (...) @fork() %8 = call i32 @printf(ptr noundef @.str) br label %9 9: ; preds = %6 %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %2, align 4 br label %3, !llvm.loop !6 12: ; preds = %3 ret i32 0 } declare i32 @fork(...) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps1akzah5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"-\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp slt i32 %3, 2 br i1 %4, label %.lr.ph, label %13 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %8 %6 = call i32 (...) @fork() %7 = call i32 @printf(ptr noundef @.str) br label %8 8: ; preds = %5 %9 = load i32, ptr %2, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %2, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %11, 2 br i1 %12, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %13 13: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @fork(...) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp21xgajyv.c' source_filename = "/tmp/tmp21xgajyv.c" target datalayout = "e-m:e-p270: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/tmp21xgajyv.c" target datalayout = "e-m:e-p270: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/tmpo437614t.c' source_filename = "/tmp/tmpo437614t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @librpip_dt_file_get_raw(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 store i32 0, ptr %12, align 4 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr @O_RDONLY, align 4 %16 = call i64 @librpip_dt_file_open(i32 noundef %13, i32 noundef %14, i32 noundef %15, ptr noundef %11) %17 = icmp ne i64 %16, 0 br i1 %17, label %18, label %31 18: ; preds = %5 %19 = load i32, ptr %11, align 4 %20 = load ptr, ptr %8, align 8 %21 = load i32, ptr %9, align 4 %22 = call i32 @read(i32 noundef %19, ptr noundef %20, i32 noundef %21) %23 = load ptr, ptr %10, align 8 store i32 %22, ptr %23, align 4 %24 = load ptr, ptr %10, align 8 %25 = load i32, ptr %24, align 4 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %18 store i32 1, ptr %12, align 4 br label %28 28: ; preds = %27, %18 %29 = load i32, ptr %11, align 4 %30 = call i32 @close(i32 noundef %29) br label %31 31: ; preds = %28, %5 %32 = load i32, ptr %12, align 4 ret i32 %32 } declare i64 @librpip_dt_file_open(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo437614t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @librpip_dt_file_get_raw(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 store i32 0, ptr %12, align 4 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr @O_RDONLY, align 4 %16 = call i64 @librpip_dt_file_open(i32 noundef %13, i32 noundef %14, i32 noundef %15, ptr noundef %11) %17 = icmp ne i64 %16, 0 br i1 %17, label %18, label %31 18: ; preds = %5 %19 = load i32, ptr %11, align 4 %20 = load ptr, ptr %8, align 8 %21 = load i32, ptr %9, align 4 %22 = call i32 @read(i32 noundef %19, ptr noundef %20, i32 noundef %21) %23 = load ptr, ptr %10, align 8 store i32 %22, ptr %23, align 4 %24 = load ptr, ptr %10, align 8 %25 = load i32, ptr %24, align 4 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %18 store i32 1, ptr %12, align 4 br label %28 28: ; preds = %27, %18 %29 = load i32, ptr %11, align 4 %30 = call i32 @close(i32 noundef %29) br label %31 31: ; preds = %28, %5 %32 = load i32, ptr %12, align 4 ret i32 %32 } declare i64 @librpip_dt_file_open(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1nxwxfs0.c' source_filename = "/tmp/tmp1nxwxfs0.c" target datalayout = "e-m:e-p270: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/tmp1nxwxfs0.c" target datalayout = "e-m:e-p270: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/tmpfj18svr9.c' source_filename = "/tmp/tmpfj18svr9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MB_CUR_MAX = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @_mb_cur_max_l(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i64, ptr @MB_CUR_MAX, align 8 ret i64 %3 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfj18svr9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MB_CUR_MAX = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @_mb_cur_max_l(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i64, ptr @MB_CUR_MAX, align 8 ret i64 %3 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa0fefrrf.c' source_filename = "/tmp/tmpa0fefrrf.c" target datalayout = "e-m:e-p270: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/tmpa0fefrrf.c" target datalayout = "e-m:e-p270: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/tmpp4oiof9b.c' source_filename = "/tmp/tmpp4oiof9b.c" target datalayout = "e-m:e-p270: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, i32 } @CLOCK_MONOTONIC = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [65 x i8] c"/sys/devices/system/clocksource/clocksource0/current_clocksource\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rt\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"fopen\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"kvm-clock\00", align 1 @.str.5 = private unnamed_addr constant [50 x i8] c"FAIL: clock_getres returned bad clock resolution\0A\00", align 1 @.str.6 = private unnamed_addr constant [24 x i8] c"PASS: check successful\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [27 x i8] c"FAIL: clock_getres failed\0A\00", align 1 @.str.8 = private unnamed_addr constant [32 x i8] c"FAIL: invalid clock source: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.timespec, align 4 %3 = alloca i32, align 4 %4 = alloca [50 x i8], align 16 %5 = alloca [80 x i8], align 16 %6 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %7 = load i32, ptr @CLOCK_MONOTONIC, align 4 %8 = call i32 @clock_getres(i32 noundef %7, ptr noundef %2) store i32 %8, ptr %3, align 4 %9 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %9, ptr %6, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %14 11: ; preds = %0 %12 = call i32 @perror(ptr noundef @.str.2) %13 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %13, ptr %1, align 4 br label %54 14: ; preds = %0 br label %15 15: ; preds = %20, %14 %16 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0 %17 = load ptr, ptr %6, align 8 %18 = call ptr @fgets(ptr noundef %16, i32 noundef 80, ptr noundef %17) %19 = icmp ne ptr %18, null br i1 %19, label %20, label %23 20: ; preds = %15 %21 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0 %22 = call i32 @sscanf(ptr noundef %21, ptr noundef @.str.3, ptr noundef %4) br label %15, !llvm.loop !6 23: ; preds = %15 %24 = load ptr, ptr %6, align 8 %25 = call i32 @fclose(ptr noundef %24) %26 = getelementptr inbounds [50 x i8], ptr %4, i64 0, i64 0 %27 = call i32 @strlen(ptr noundef @.str.4) %28 = call i32 @strncmp(ptr noundef %26, ptr noundef @.str.4, i32 noundef %27) %29 = icmp ne i32 %28, 0 br i1 %29, label %50, label %30 30: ; preds = %23 %31 = load i32, ptr %3, align 4 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %47 33: ; preds = %30 %34 = getelementptr inbounds %struct.timespec, ptr %2, i32 0, i32 0 %35 = load i32, ptr %34, align 4 %36 = icmp sgt i32 %35, 1 br i1 %36, label %41, label %37 37: ; preds = %33 %38 = getelementptr inbounds %struct.timespec, ptr %2, i32 0, i32 1 %39 = load i32, ptr %38, align 4 %40 = icmp sgt i32 %39, 100 br i1 %40, label %41, label %44 41: ; preds = %37, %33 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %43 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %43, ptr %1, align 4 br label %54 44: ; preds = %37 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %46 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %46, ptr %1, align 4 br label %54 47: ; preds = %30 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %49 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %49, ptr %1, align 4 br label %54 50: ; preds = %23 %51 = getelementptr inbounds [50 x i8], ptr %4, i64 0, i64 0 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %51) %53 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %53, ptr %1, align 4 br label %54 54: ; preds = %50, %47, %44, %41, %11 %55 = load i32, ptr %1, align 4 ret i32 %55 } declare i32 @clock_getres(i32 noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp4oiof9b.c" target datalayout = "e-m:e-p270: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, i32 } @CLOCK_MONOTONIC = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [65 x i8] c"/sys/devices/system/clocksource/clocksource0/current_clocksource\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rt\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"fopen\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"kvm-clock\00", align 1 @.str.5 = private unnamed_addr constant [50 x i8] c"FAIL: clock_getres returned bad clock resolution\0A\00", align 1 @.str.6 = private unnamed_addr constant [24 x i8] c"PASS: check successful\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [27 x i8] c"FAIL: clock_getres failed\0A\00", align 1 @.str.8 = private unnamed_addr constant [32 x i8] c"FAIL: invalid clock source: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.timespec, align 4 %3 = alloca i32, align 4 %4 = alloca [50 x i8], align 16 %5 = alloca [80 x i8], align 16 %6 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %7 = load i32, ptr @CLOCK_MONOTONIC, align 4 %8 = call i32 @clock_getres(i32 noundef %7, ptr noundef %2) store i32 %8, ptr %3, align 4 %9 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %9, ptr %6, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %14 11: ; preds = %0 %12 = call i32 @perror(ptr noundef @.str.2) %13 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %13, ptr %1, align 4 br label %56 14: ; preds = %0 %15 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0 %16 = load ptr, ptr %6, align 8 %17 = call ptr @fgets(ptr noundef %15, i32 noundef 80, ptr noundef %16) %18 = icmp ne ptr %17, null br i1 %18, label %.lr.ph, label %25 .lr.ph: ; preds = %14 br label %19 19: ; preds = %.lr.ph, %19 %20 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0 %21 = call i32 @sscanf(ptr noundef %20, ptr noundef @.str.3, ptr noundef %4) %22 = load ptr, ptr %6, align 8 %23 = call ptr @fgets(ptr noundef %15, i32 noundef 80, ptr noundef %22) %24 = icmp ne ptr %23, null br i1 %24, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %25 25: ; preds = %._crit_edge, %14 %26 = load ptr, ptr %6, align 8 %27 = call i32 @fclose(ptr noundef %26) %28 = getelementptr inbounds [50 x i8], ptr %4, i64 0, i64 0 %29 = call i32 @strlen(ptr noundef @.str.4) %30 = call i32 @strncmp(ptr noundef %28, ptr noundef @.str.4, i32 noundef %29) %31 = icmp ne i32 %30, 0 br i1 %31, label %52, label %32 32: ; preds = %25 %33 = load i32, ptr %3, align 4 %34 = icmp eq i32 %33, 0 br i1 %34, label %35, label %49 35: ; preds = %32 %36 = getelementptr inbounds %struct.timespec, ptr %2, i32 0, i32 0 %37 = load i32, ptr %36, align 4 %38 = icmp sgt i32 %37, 1 br i1 %38, label %43, label %39 39: ; preds = %35 %40 = getelementptr inbounds %struct.timespec, ptr %2, i32 0, i32 1 %41 = load i32, ptr %40, align 4 %42 = icmp sgt i32 %41, 100 br i1 %42, label %43, label %46 43: ; preds = %39, %35 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %45 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %45, ptr %1, align 4 br label %56 46: ; preds = %39 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %48 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %48, ptr %1, align 4 br label %56 49: ; preds = %32 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %51 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %51, ptr %1, align 4 br label %56 52: ; preds = %25 %53 = getelementptr inbounds [50 x i8], ptr %4, i64 0, i64 0 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %53) %55 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %55, ptr %1, align 4 br label %56 56: ; preds = %52, %49, %46, %43, %11 %57 = load i32, ptr %1, align 4 ret i32 %57 } declare i32 @clock_getres(i32 noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpsi3kk5yt.c' source_filename = "/tmp/tmpsi3kk5yt.c" target datalayout = "e-m:e-p270: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/tmpsi3kk5yt.c" target datalayout = "e-m:e-p270: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/tmps243prcc.c' source_filename = "/tmp/tmps243prcc.c" target datalayout = "e-m:e-p270: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"All OK\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps243prcc.c" target datalayout = "e-m:e-p270: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"All OK\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzke6swv1.c' source_filename = "/tmp/tmpzke6swv1.c" target datalayout = "e-m:e-p270: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"--help\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"--helpshort\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"evp:u:h:f:c:\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @optarg = dso_local global ptr null, align 8 @stderr = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [46 x i8] c"pactester.c: You didn't specify the PAC file\0A\00", align 1 @.str.5 = private unnamed_addr constant [41 x i8] c"pactester.c: You didn't specify the URL\0A\00", align 1 @.str.6 = private unnamed_addr constant [45 x i8] c"pactester.c: Could not initialize pacparser\0A\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"-\00", align 1 @.str.8 = private unnamed_addr constant [58 x i8] c"pactetser.c: Failed to allocate the memory for the script\00", align 1 @stdin = dso_local global ptr null, align 8 @.str.9 = private unnamed_addr constant [51 x i8] c"Input file is too big. Maximum allowed size is: %d\00", align 1 @.str.10 = private unnamed_addr constant [58 x i8] c"pactester.c: Failed to allocate the memory for the script\00", align 1 @.str.11 = private unnamed_addr constant [38 x i8] c"pactester.c: Error reading from stdin\00", align 1 @.str.12 = private unnamed_addr constant [49 x i8] c"pactester.c: Could not parse the pac script: %s\0A\00", align 1 @.str.13 = private unnamed_addr constant [47 x i8] c"pactester.c: Could not parse the pac file: %s\0A\00", align 1 @.str.14 = private unnamed_addr constant [21 x i8] c"pactester.c: %s %s.\0A\00", align 1 @.str.15 = private unnamed_addr constant [29 x i8] c"Problem in finding proxy for\00", align 1 @.str.16 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.17 = private unnamed_addr constant [41 x i8] c"pactester.c: Could not open urlslist: %s\00", align 1 @.str.18 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.19 = private unnamed_addr constant [9 x i8] c"%s : %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i8, align 1 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca [4096 x i8], align 16 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca [4096 x i8], align 16 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 store ptr null, ptr %7, align 8 store ptr null, ptr %8, align 8 store ptr null, ptr %9, align 8 store ptr null, ptr %10, align 8 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %25, label %42 25: ; preds = %2 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 1 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strcmp(ptr noundef %28, ptr noundef @.str) %30 = icmp eq i64 %29, 0 br i1 %30, label %37, label %31 31: ; preds = %25 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 1 %34 = load ptr, ptr %33, align 8 %35 = call i64 @strcmp(ptr noundef %34, ptr noundef @.str.1) %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %42 37: ; preds = %31, %25 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds ptr, ptr %38, i64 0 %40 = load ptr, ptr %39, align 8 %41 = call i32 @usage(ptr noundef %40) br label %42 42: ; preds = %37, %31, %2 br label %43 43: ; preds = %73, %42 %44 = load i32, ptr %4, align 4 %45 = load ptr, ptr %5, align 8 %46 = call signext i8 @getopt(i32 noundef %44, ptr noundef %45, ptr noundef @.str.2) store i8 %46, ptr %11, align 1 %47 = sext i8 %46 to i32 %48 = icmp ne i32 %47, -1 br i1 %48, label %49, label %74 49: ; preds = %43 %50 = load i8, ptr %11, align 1 %51 = sext i8 %50 to i32 switch i32 %51, label %71 [ i32 118, label %52 i32 112, label %55 i32 117, label %57 i32 104, label %59 i32 102, label %61 i32 99, label %63 i32 101, label %65 i32 63, label %66 ] 52: ; preds = %49 %53 = call ptr (...) @pacparser_version() %54 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %53) store i32 0, ptr %3, align 4 br label %328 55: ; preds = %49 %56 = load ptr, ptr @optarg, align 8 store ptr %56, ptr %6, align 8 br label %73 57: ; preds = %49 %58 = load ptr, ptr @optarg, align 8 store ptr %58, ptr %7, align 8 br label %73 59: ; preds = %49 %60 = load ptr, ptr @optarg, align 8 store ptr %60, ptr %8, align 8 br label %73 61: ; preds = %49 %62 = load ptr, ptr @optarg, align 8 store ptr %62, ptr %9, align 8 br label %73 63: ; preds = %49 %64 = load ptr, ptr @optarg, align 8 store ptr %64, ptr %10, align 8 br label %73 65: ; preds = %49 br label %73 66: ; preds = %49 %67 = load ptr, ptr %5, align 8 %68 = getelementptr inbounds ptr, ptr %67, i64 0 %69 = load ptr, ptr %68, align 8 %70 = call i32 @usage(ptr noundef %69) br label %71 71: ; preds = %49, %66 %72 = call i32 (...) @abort() #3 unreachable 73: ; preds = %65, %63, %61, %59, %57, %55 br label %43, !llvm.loop !6 74: ; preds = %43 %75 = load ptr, ptr %6, align 8 %76 = icmp ne ptr %75, null br i1 %76, label %84, label %77 77: ; preds = %74 %78 = load i32, ptr @stderr, align 4 %79 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %78, ptr noundef @.str.4) %80 = load ptr, ptr %5, align 8 %81 = getelementptr inbounds ptr, ptr %80, i64 0 %82 = load ptr, ptr %81, align 8 %83 = call i32 @usage(ptr noundef %82) br label %84 84: ; preds = %77, %74 %85 = load ptr, ptr %7, align 8 %86 = icmp ne ptr %85, null br i1 %86, label %97, label %87 87: ; preds = %84 %88 = load ptr, ptr %9, align 8 %89 = icmp ne ptr %88, null br i1 %89, label %97, label %90 90: ; preds = %87 %91 = load i32, ptr @stderr, align 4 %92 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %91, ptr noundef @.str.5) %93 = load ptr, ptr %5, align 8 %94 = getelementptr inbounds ptr, ptr %93, i64 0 %95 = load ptr, ptr %94, align 8 %96 = call i32 @usage(ptr noundef %95) br label %97 97: ; preds = %90, %87, %84 %98 = call i32 (...) @pacparser_init() %99 = icmp ne i32 %98, 0 br i1 %99, label %103, label %100 100: ; preds = %97 %101 = load i32, ptr @stderr, align 4 %102 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %101, ptr noundef @.str.6) store i32 1, ptr %3, align 4 br label %328 103: ; preds = %97 %104 = load ptr, ptr %6, align 8 %105 = call i64 @strcmp(ptr noundef @.str.7, ptr noundef %104) %106 = icmp eq i64 %105, 0 br i1 %106, label %107, label %176 107: ; preds = %103 store i64 1, ptr %13, align 8 %108 = call i64 @malloc(i32 noundef 4096) %109 = inttoptr i64 %108 to ptr store ptr %109, ptr %12, align 8 %110 = load ptr, ptr %12, align 8 %111 = icmp eq ptr %110, null br i1 %111, label %112, label %114 112: ; preds = %107 %113 = call i32 @perror(ptr noundef @.str.8) store i32 1, ptr %3, align 4 br label %328 114: ; preds = %107 %115 = load ptr, ptr %12, align 8 %116 = getelementptr inbounds i8, ptr %115, i64 0 store i8 0, ptr %116, align 1 br label %117 117: ; preds = %150, %114 %118 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0 %119 = load ptr, ptr @stdin, align 8 %120 = call i64 @fgets(ptr noundef %118, i32 noundef 4096, ptr noundef %119) %121 = icmp ne i64 %120, 0 br i1 %121, label %122, label %154 122: ; preds = %117 %123 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0 %124 = call i64 @strlen(ptr noundef %123) %125 = icmp eq i64 %124, 0 br i1 %125, label %126, label %127 126: ; preds = %122 br label %154 127: ; preds = %122 %128 = load ptr, ptr %12, align 8 store ptr %128, ptr %15, align 8 %129 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0 %130 = call i64 @strlen(ptr noundef %129) %131 = load i64, ptr %13, align 8 %132 = add i64 %131, %130 store i64 %132, ptr %13, align 8 %133 = load i64, ptr %13, align 8 %134 = icmp ugt i64 %133, 1048576 br i1 %134, label %135, label %140 135: ; preds = %127 %136 = load i32, ptr @stderr, align 4 %137 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %136, ptr noundef @.str.9, i32 noundef 1048576) %138 = load ptr, ptr %12, align 8 %139 = call i32 @free(ptr noundef %138) store i32 1, ptr %3, align 4 br label %328 140: ; preds = %127 %141 = load ptr, ptr %12, align 8 %142 = load i64, ptr %13, align 8 %143 = call ptr @realloc(ptr noundef %141, i64 noundef %142) store ptr %143, ptr %12, align 8 %144 = load ptr, ptr %12, align 8 %145 = icmp eq ptr %144, null br i1 %145, label %146, label %150 146: ; preds = %140 %147 = call i32 @perror(ptr noundef @.str.10) %148 = load ptr, ptr %15, align 8 %149 = call i32 @free(ptr noundef %148) store i32 1, ptr %3, align 4 br label %328 150: ; preds = %140 %151 = load ptr, ptr %12, align 8 %152 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0 %153 = call i32 @strcat(ptr noundef %151, ptr noundef %152) br label %117, !llvm.loop !8 154: ; preds = %126, %117 %155 = load ptr, ptr @stdin, align 8 %156 = call i64 @ferror(ptr noundef %155) %157 = icmp ne i64 %156, 0 br i1 %157, label %158, label %162 158: ; preds = %154 %159 = load ptr, ptr %12, align 8 %160 = call i32 @free(ptr noundef %159) %161 = call i32 @perror(ptr noundef @.str.11) store i32 1, ptr %3, align 4 br label %328 162: ; preds = %154 %163 = load ptr, ptr %12, align 8 %164 = call i32 @pacparser_parse_pac_string(ptr noundef %163) %165 = icmp ne i32 %164, 0 br i1 %165, label %173, label %166 166: ; preds = %162 %167 = load i32, ptr @stderr, align 4 %168 = load ptr, ptr %12, align 8 %169 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %167, ptr noundef @.str.12, ptr noundef %168) %170 = load ptr, ptr %12, align 8 %171 = call i32 @free(ptr noundef %170) %172 = call i32 (...) @pacparser_cleanup() store i32 1, ptr %3, align 4 br label %328 173: ; preds = %162 %174 = load ptr, ptr %12, align 8 %175 = call i32 @free(ptr noundef %174) br label %186 176: ; preds = %103 %177 = load ptr, ptr %6, align 8 %178 = call i32 @pacparser_parse_pac_file(ptr noundef %177) %179 = icmp ne i32 %178, 0 br i1 %179, label %185, label %180 180: ; preds = %176 %181 = load i32, ptr @stderr, align 4 %182 = load ptr, ptr %6, align 8 %183 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %181, ptr noundef @.str.13, ptr noundef %182) %184 = call i32 (...) @pacparser_cleanup() store i32 1, ptr %3, align 4 br label %328 185: ; preds = %176 br label %186 186: ; preds = %185, %173 %187 = load ptr, ptr %10, align 8 %188 = icmp ne ptr %187, null br i1 %188, label %189, label %192 189: ; preds = %186 %190 = load ptr, ptr %10, align 8 %191 = call i32 @pacparser_setmyip(ptr noundef %190) br label %192 192: ; preds = %189, %186 %193 = load ptr, ptr %7, align 8 %194 = icmp ne ptr %193, null br i1 %194, label %195, label %222 195: ; preds = %192 %196 = load ptr, ptr %8, align 8 %197 = icmp ne ptr %196, null br i1 %197, label %198, label %200 198: ; preds = %195 %199 = load ptr, ptr %8, align 8 br label %203 200: ; preds = %195 %201 = load ptr, ptr %7, align 8 %202 = call ptr @get_host_from_url(ptr noundef %201) br label %203 203: ; preds = %200, %198 %204 = phi ptr [ %199, %198 ], [ %202, %200 ] store ptr %204, ptr %8, align 8 %205 = load ptr, ptr %8, align 8 %206 = icmp ne ptr %205, null br i1 %206, label %208, label %207 207: ; preds = %203 store i32 1, ptr %3, align 4 br label %328 208: ; preds = %203 %209 = load ptr, ptr %7, align 8 %210 = load ptr, ptr %8, align 8 %211 = call ptr @pacparser_find_proxy(ptr noundef %209, ptr noundef %210) store ptr %211, ptr %16, align 8 %212 = load ptr, ptr %16, align 8 %213 = icmp eq ptr %212, null br i1 %213, label %214, label %219 214: ; preds = %208 %215 = load i32, ptr @stderr, align 4 %216 = load ptr, ptr %7, align 8 %217 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %215, ptr noundef @.str.14, ptr noundef @.str.15, ptr noundef %216) %218 = call i32 (...) @pacparser_cleanup() store i32 1, ptr %3, align 4 br label %328 219: ; preds = %208 %220 = load ptr, ptr %16, align 8 %221 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %220) br label %326 222: ; preds = %192 %223 = load ptr, ptr %9, align 8 %224 = icmp ne ptr %223, null br i1 %224, label %225, label %325 225: ; preds = %222 %226 = load ptr, ptr %9, align 8 %227 = call ptr @fopen(ptr noundef %226, ptr noundef @.str.16) store ptr %227, ptr %18, align 8 %228 = icmp ne ptr %227, null br i1 %228, label %234, label %229 229: ; preds = %225 %230 = load i32, ptr @stderr, align 4 %231 = load ptr, ptr %9, align 8 %232 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %230, ptr noundef @.str.17, ptr noundef %231) %233 = call i32 (...) @pacparser_cleanup() store i32 1, ptr %3, align 4 br label %328 234: ; preds = %225 br label %235 235: ; preds = %321, %302, %262, %234 %236 = getelementptr inbounds [4096 x i8], ptr %17, i64 0, i64 0 %237 = load ptr, ptr %18, align 8 %238 = call i64 @fgets(ptr noundef %236, i32 noundef 4096, ptr noundef %237) %239 = icmp ne i64 %238, 0 br i1 %239, label %240, label %322 240: ; preds = %235 %241 = getelementptr inbounds [4096 x i8], ptr %17, i64 0, i64 0 store ptr %241, ptr %19, align 8 br label %242 242: ; preds = %254, %240 %243 = load ptr, ptr %19, align 8 %244 = load i8, ptr %243, align 1 %245 = sext i8 %244 to i32 %246 = icmp eq i32 %245, 32 br i1 %246, label %252, label %247 247: ; preds = %242 %248 = load ptr, ptr %19, align 8 %249 = load i8, ptr %248, align 1 %250 = sext i8 %249 to i32 %251 = icmp eq i32 %250, 9 br label %252 252: ; preds = %247, %242 %253 = phi i1 [ true, %242 ], [ %251, %247 ] br i1 %253, label %254, label %257 254: ; preds = %252 %255 = load ptr, ptr %19, align 8 %256 = getelementptr inbounds i8, ptr %255, i32 1 store ptr %256, ptr %19, align 8 br label %242, !llvm.loop !9 257: ; preds = %252 %258 = load ptr, ptr %19, align 8 %259 = load i8, ptr %258, align 1 %260 = sext i8 %259 to i32 %261 = icmp eq i32 %260, 35 br i1 %261, label %262, label %265 262: ; preds = %257 %263 = load ptr, ptr %19, align 8 %264 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.18, ptr noundef %263) br label %235, !llvm.loop !10 265: ; preds = %257 %266 = load ptr, ptr %19, align 8 store ptr %266, ptr %20, align 8 br label %267 267: ; preds = %294, %265 %268 = load ptr, ptr %20, align 8 %269 = load i8, ptr %268, align 1 %270 = sext i8 %269 to i32 %271 = icmp ne i32 %270, 13 br i1 %271, label %272, label %292 272: ; preds = %267 %273 = load ptr, ptr %20, align 8 %274 = load i8, ptr %273, align 1 %275 = sext i8 %274 to i32 %276 = icmp ne i32 %275, 10 br i1 %276, label %277, label %292 277: ; preds = %272 %278 = load ptr, ptr %20, align 8 %279 = load i8, ptr %278, align 1 %280 = sext i8 %279 to i32 %281 = icmp ne i32 %280, 0 br i1 %281, label %282, label %292 282: ; preds = %277 %283 = load ptr, ptr %20, align 8 %284 = load i8, ptr %283, align 1 %285 = sext i8 %284 to i32 %286 = icmp ne i32 %285, 32 br i1 %286, label %287, label %292 287: ; preds = %282 %288 = load ptr, ptr %20, align 8 %289 = load i8, ptr %288, align 1 %290 = sext i8 %289 to i32 %291 = icmp ne i32 %290, 9 br label %292 292: ; preds = %287, %282, %277, %272, %267 %293 = phi i1 [ false, %282 ], [ false, %277 ], [ false, %272 ], [ false, %267 ], [ %291, %287 ] br i1 %293, label %294, label %297 294: ; preds = %292 %295 = load ptr, ptr %20, align 8 %296 = getelementptr inbounds i8, ptr %295, i32 1 store ptr %296, ptr %20, align 8 br label %267, !llvm.loop !11 297: ; preds = %292 %298 = load ptr, ptr %20, align 8 store i8 0, ptr %298, align 1 %299 = load ptr, ptr %19, align 8 %300 = call ptr @get_host_from_url(ptr noundef %299) store ptr %300, ptr %8, align 8 %301 = icmp ne ptr %300, null br i1 %301, label %303, label %302 302: ; preds = %297 br label %235, !llvm.loop !10 303: ; preds = %297 store ptr null, ptr %16, align 8 %304 = load ptr, ptr %19, align 8 %305 = load ptr, ptr %8, align 8 %306 = call ptr @pacparser_find_proxy(ptr noundef %304, ptr noundef %305) store ptr %306, ptr %16, align 8 %307 = load ptr, ptr %16, align 8 %308 = icmp eq ptr %307, null br i1 %308, label %309, label %314 309: ; preds = %303 %310 = load i32, ptr @stderr, align 4 %311 = load ptr, ptr %19, align 8 %312 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %310, ptr noundef @.str.14, ptr noundef @.str.15, ptr noundef %311) %313 = call i32 (...) @pacparser_cleanup() store i32 1, ptr %3, align 4 br label %328 314: ; preds = %303 %315 = load ptr, ptr %16, align 8 %316 = icmp ne ptr %315, null br i1 %316, label %317, label %321 317: ; preds = %314 %318 = load ptr, ptr %19, align 8 %319 = load ptr, ptr %16, align 8 %320 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.19, ptr noundef %318, ptr noundef %319) br label %321 321: ; preds = %317, %314 br label %235, !llvm.loop !10 322: ; preds = %235 %323 = load ptr, ptr %18, align 8 %324 = call i32 @fclose(ptr noundef %323) br label %325 325: ; preds = %322, %222 br label %326 326: ; preds = %325, %219 %327 = call i32 (...) @pacparser_cleanup() store i32 0, ptr %3, align 4 br label %328 328: ; preds = %326, %309, %229, %214, %207, %180, %166, %158, %146, %135, %112, %100, %52 %329 = load i32, ptr %3, align 4 ret i32 %329 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @usage(ptr noundef) #1 declare signext i8 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ...) #1 declare ptr @pacparser_version(...) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @pacparser_init(...) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i64 @ferror(ptr noundef) #1 declare i32 @pacparser_parse_pac_string(ptr noundef) #1 declare i32 @pacparser_cleanup(...) #1 declare i32 @pacparser_parse_pac_file(ptr noundef) #1 declare i32 @pacparser_setmyip(ptr noundef) #1 declare ptr @get_host_from_url(ptr noundef) #1 declare ptr @pacparser_find_proxy(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzke6swv1.c" target datalayout = "e-m:e-p270: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"--help\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"--helpshort\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"evp:u:h:f:c:\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @optarg = dso_local global ptr null, align 8 @stderr = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [46 x i8] c"pactester.c: You didn't specify the PAC file\0A\00", align 1 @.str.5 = private unnamed_addr constant [41 x i8] c"pactester.c: You didn't specify the URL\0A\00", align 1 @.str.6 = private unnamed_addr constant [45 x i8] c"pactester.c: Could not initialize pacparser\0A\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"-\00", align 1 @.str.8 = private unnamed_addr constant [58 x i8] c"pactetser.c: Failed to allocate the memory for the script\00", align 1 @stdin = dso_local global ptr null, align 8 @.str.9 = private unnamed_addr constant [51 x i8] c"Input file is too big. Maximum allowed size is: %d\00", align 1 @.str.10 = private unnamed_addr constant [58 x i8] c"pactester.c: Failed to allocate the memory for the script\00", align 1 @.str.11 = private unnamed_addr constant [38 x i8] c"pactester.c: Error reading from stdin\00", align 1 @.str.12 = private unnamed_addr constant [49 x i8] c"pactester.c: Could not parse the pac script: %s\0A\00", align 1 @.str.13 = private unnamed_addr constant [47 x i8] c"pactester.c: Could not parse the pac file: %s\0A\00", align 1 @.str.14 = private unnamed_addr constant [21 x i8] c"pactester.c: %s %s.\0A\00", align 1 @.str.15 = private unnamed_addr constant [29 x i8] c"Problem in finding proxy for\00", align 1 @.str.16 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.17 = private unnamed_addr constant [41 x i8] c"pactester.c: Could not open urlslist: %s\00", align 1 @.str.18 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.19 = private unnamed_addr constant [9 x i8] c"%s : %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i8, align 1 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca [4096 x i8], align 16 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca [4096 x i8], align 16 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 store ptr null, ptr %7, align 8 store ptr null, ptr %8, align 8 store ptr null, ptr %9, align 8 store ptr null, ptr %10, align 8 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %25, label %42 25: ; preds = %2 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 1 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strcmp(ptr noundef %28, ptr noundef @.str) %30 = icmp eq i64 %29, 0 br i1 %30, label %37, label %31 31: ; preds = %25 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 1 %34 = load ptr, ptr %33, align 8 %35 = call i64 @strcmp(ptr noundef %34, ptr noundef @.str.1) %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %42 37: ; preds = %31, %25 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds ptr, ptr %38, i64 0 %40 = load ptr, ptr %39, align 8 %41 = call i32 @usage(ptr noundef %40) br label %42 42: ; preds = %37, %31, %2 %43 = load i32, ptr %4, align 4 %44 = load ptr, ptr %5, align 8 %45 = call signext i8 @getopt(i32 noundef %43, ptr noundef %44, ptr noundef @.str.2) store i8 %45, ptr %11, align 1 %46 = sext i8 %45 to i32 %47 = icmp ne i32 %46, -1 br i1 %47, label %.lr.ph, label %78 .lr.ph: ; preds = %42 br label %48 48: ; preds = %.lr.ph, %72 %49 = load i8, ptr %11, align 1 %50 = sext i8 %49 to i32 switch i32 %50, label %.loopexit1 [ i32 118, label %51 i32 112, label %54 i32 117, label %56 i32 104, label %58 i32 102, label %60 i32 99, label %62 i32 101, label %64 i32 63, label %65 ] 51: ; preds = %48 %52 = call ptr (...) @pacparser_version() %53 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %52) store i32 0, ptr %3, align 4 br label %336 54: ; preds = %48 %55 = load ptr, ptr @optarg, align 8 store ptr %55, ptr %6, align 8 br label %72 56: ; preds = %48 %57 = load ptr, ptr @optarg, align 8 store ptr %57, ptr %7, align 8 br label %72 58: ; preds = %48 %59 = load ptr, ptr @optarg, align 8 store ptr %59, ptr %8, align 8 br label %72 60: ; preds = %48 %61 = load ptr, ptr @optarg, align 8 store ptr %61, ptr %9, align 8 br label %72 62: ; preds = %48 %63 = load ptr, ptr @optarg, align 8 store ptr %63, ptr %10, align 8 br label %72 64: ; preds = %48 br label %72 65: ; preds = %48 %66 = load ptr, ptr %5, align 8 %67 = getelementptr inbounds ptr, ptr %66, i64 0 %68 = load ptr, ptr %67, align 8 %69 = call i32 @usage(ptr noundef %68) br label %70 .loopexit1: ; preds = %48 br label %70 70: ; preds = %.loopexit1, %65 %71 = call i32 (...) @abort() #3 unreachable 72: ; preds = %64, %62, %60, %58, %56, %54 %73 = load i32, ptr %4, align 4 %74 = load ptr, ptr %5, align 8 %75 = call signext i8 @getopt(i32 noundef %73, ptr noundef %74, ptr noundef @.str.2) store i8 %75, ptr %11, align 1 %76 = sext i8 %75 to i32 %77 = icmp ne i32 %76, -1 br i1 %77, label %48, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %72 br label %78 78: ; preds = %._crit_edge, %42 %79 = load ptr, ptr %6, align 8 %80 = icmp ne ptr %79, null br i1 %80, label %88, label %81 81: ; preds = %78 %82 = load i32, ptr @stderr, align 4 %83 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %82, ptr noundef @.str.4) %84 = load ptr, ptr %5, align 8 %85 = getelementptr inbounds ptr, ptr %84, i64 0 %86 = load ptr, ptr %85, align 8 %87 = call i32 @usage(ptr noundef %86) br label %88 88: ; preds = %81, %78 %89 = load ptr, ptr %7, align 8 %90 = icmp ne ptr %89, null br i1 %90, label %101, label %91 91: ; preds = %88 %92 = load ptr, ptr %9, align 8 %93 = icmp ne ptr %92, null br i1 %93, label %101, label %94 94: ; preds = %91 %95 = load i32, ptr @stderr, align 4 %96 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %95, ptr noundef @.str.5) %97 = load ptr, ptr %5, align 8 %98 = getelementptr inbounds ptr, ptr %97, i64 0 %99 = load ptr, ptr %98, align 8 %100 = call i32 @usage(ptr noundef %99) br label %101 101: ; preds = %94, %91, %88 %102 = call i32 (...) @pacparser_init() %103 = icmp ne i32 %102, 0 br i1 %103, label %107, label %104 104: ; preds = %101 %105 = load i32, ptr @stderr, align 4 %106 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %105, ptr noundef @.str.6) store i32 1, ptr %3, align 4 br label %336 107: ; preds = %101 %108 = load ptr, ptr %6, align 8 %109 = call i64 @strcmp(ptr noundef @.str.7, ptr noundef %108) %110 = icmp eq i64 %109, 0 br i1 %110, label %111, label %182 111: ; preds = %107 store i64 1, ptr %13, align 8 %112 = call i64 @malloc(i32 noundef 4096) %113 = inttoptr i64 %112 to ptr store ptr %113, ptr %12, align 8 %114 = load ptr, ptr %12, align 8 %115 = icmp eq ptr %114, null br i1 %115, label %116, label %118 116: ; preds = %111 %117 = call i32 @perror(ptr noundef @.str.8) store i32 1, ptr %3, align 4 br label %336 118: ; preds = %111 %119 = load ptr, ptr %12, align 8 %120 = getelementptr inbounds i8, ptr %119, i64 0 store i8 0, ptr %120, align 1 %121 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0 %122 = load ptr, ptr @stdin, align 8 %123 = call i64 @fgets(ptr noundef %121, i32 noundef 4096, ptr noundef %122) %124 = icmp ne i64 %123, 0 br i1 %124, label %.lr.ph3, label %.loopexit .lr.ph3: ; preds = %118 br label %125 125: ; preds = %.lr.ph3, %153 %126 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0 %127 = call i64 @strlen(ptr noundef %126) %128 = icmp eq i64 %127, 0 br i1 %128, label %129, label %130 129: ; preds = %125 br label %160 130: ; preds = %125 %131 = load ptr, ptr %12, align 8 store ptr %131, ptr %15, align 8 %132 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0 %133 = call i64 @strlen(ptr noundef %132) %134 = load i64, ptr %13, align 8 %135 = add i64 %134, %133 store i64 %135, ptr %13, align 8 %136 = load i64, ptr %13, align 8 %137 = icmp ugt i64 %136, 1048576 br i1 %137, label %138, label %143 138: ; preds = %130 %139 = load i32, ptr @stderr, align 4 %140 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %139, ptr noundef @.str.9, i32 noundef 1048576) %141 = load ptr, ptr %12, align 8 %142 = call i32 @free(ptr noundef %141) store i32 1, ptr %3, align 4 br label %336 143: ; preds = %130 %144 = load ptr, ptr %12, align 8 %145 = load i64, ptr %13, align 8 %146 = call ptr @realloc(ptr noundef %144, i64 noundef %145) store ptr %146, ptr %12, align 8 %147 = load ptr, ptr %12, align 8 %148 = icmp eq ptr %147, null br i1 %148, label %149, label %153 149: ; preds = %143 %150 = call i32 @perror(ptr noundef @.str.10) %151 = load ptr, ptr %15, align 8 %152 = call i32 @free(ptr noundef %151) store i32 1, ptr %3, align 4 br label %336 153: ; preds = %143 %154 = load ptr, ptr %12, align 8 %155 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0 %156 = call i32 @strcat(ptr noundef %154, ptr noundef %155) %157 = load ptr, ptr @stdin, align 8 %158 = call i64 @fgets(ptr noundef %121, i32 noundef 4096, ptr noundef %157) %159 = icmp ne i64 %158, 0 br i1 %159, label %125, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %153 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %118 br label %160 160: ; preds = %.loopexit, %129 %161 = load ptr, ptr @stdin, align 8 %162 = call i64 @ferror(ptr noundef %161) %163 = icmp ne i64 %162, 0 br i1 %163, label %164, label %168 164: ; preds = %160 %165 = load ptr, ptr %12, align 8 %166 = call i32 @free(ptr noundef %165) %167 = call i32 @perror(ptr noundef @.str.11) store i32 1, ptr %3, align 4 br label %336 168: ; preds = %160 %169 = load ptr, ptr %12, align 8 %170 = call i32 @pacparser_parse_pac_string(ptr noundef %169) %171 = icmp ne i32 %170, 0 br i1 %171, label %179, label %172 172: ; preds = %168 %173 = load i32, ptr @stderr, align 4 %174 = load ptr, ptr %12, align 8 %175 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %173, ptr noundef @.str.12, ptr noundef %174) %176 = load ptr, ptr %12, align 8 %177 = call i32 @free(ptr noundef %176) %178 = call i32 (...) @pacparser_cleanup() store i32 1, ptr %3, align 4 br label %336 179: ; preds = %168 %180 = load ptr, ptr %12, align 8 %181 = call i32 @free(ptr noundef %180) br label %192 182: ; preds = %107 %183 = load ptr, ptr %6, align 8 %184 = call i32 @pacparser_parse_pac_file(ptr noundef %183) %185 = icmp ne i32 %184, 0 br i1 %185, label %191, label %186 186: ; preds = %182 %187 = load i32, ptr @stderr, align 4 %188 = load ptr, ptr %6, align 8 %189 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %187, ptr noundef @.str.13, ptr noundef %188) %190 = call i32 (...) @pacparser_cleanup() store i32 1, ptr %3, align 4 br label %336 191: ; preds = %182 br label %192 192: ; preds = %191, %179 %193 = load ptr, ptr %10, align 8 %194 = icmp ne ptr %193, null br i1 %194, label %195, label %198 195: ; preds = %192 %196 = load ptr, ptr %10, align 8 %197 = call i32 @pacparser_setmyip(ptr noundef %196) br label %198 198: ; preds = %195, %192 %199 = load ptr, ptr %7, align 8 %200 = icmp ne ptr %199, null br i1 %200, label %201, label %228 201: ; preds = %198 %202 = load ptr, ptr %8, align 8 %203 = icmp ne ptr %202, null br i1 %203, label %204, label %206 204: ; preds = %201 %205 = load ptr, ptr %8, align 8 br label %209 206: ; preds = %201 %207 = load ptr, ptr %7, align 8 %208 = call ptr @get_host_from_url(ptr noundef %207) br label %209 209: ; preds = %206, %204 %210 = phi ptr [ %205, %204 ], [ %208, %206 ] store ptr %210, ptr %8, align 8 %211 = load ptr, ptr %8, align 8 %212 = icmp ne ptr %211, null br i1 %212, label %214, label %213 213: ; preds = %209 store i32 1, ptr %3, align 4 br label %336 214: ; preds = %209 %215 = load ptr, ptr %7, align 8 %216 = load ptr, ptr %8, align 8 %217 = call ptr @pacparser_find_proxy(ptr noundef %215, ptr noundef %216) store ptr %217, ptr %16, align 8 %218 = load ptr, ptr %16, align 8 %219 = icmp eq ptr %218, null br i1 %219, label %220, label %225 220: ; preds = %214 %221 = load i32, ptr @stderr, align 4 %222 = load ptr, ptr %7, align 8 %223 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %221, ptr noundef @.str.14, ptr noundef @.str.15, ptr noundef %222) %224 = call i32 (...) @pacparser_cleanup() store i32 1, ptr %3, align 4 br label %336 225: ; preds = %214 %226 = load ptr, ptr %16, align 8 %227 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %226) br label %334 228: ; preds = %198 %229 = load ptr, ptr %9, align 8 %230 = icmp ne ptr %229, null br i1 %230, label %231, label %333 231: ; preds = %228 %232 = load ptr, ptr %9, align 8 %233 = call ptr @fopen(ptr noundef %232, ptr noundef @.str.16) store ptr %233, ptr %18, align 8 %234 = icmp ne ptr %233, null br i1 %234, label %240, label %235 235: ; preds = %231 %236 = load i32, ptr @stderr, align 4 %237 = load ptr, ptr %9, align 8 %238 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %236, ptr noundef @.str.17, ptr noundef %237) %239 = call i32 (...) @pacparser_cleanup() store i32 1, ptr %3, align 4 br label %336 240: ; preds = %231 %241 = getelementptr inbounds [4096 x i8], ptr %17, i64 0, i64 0 %242 = load ptr, ptr %18, align 8 %243 = call i64 @fgets(ptr noundef %241, i32 noundef 4096, ptr noundef %242) %244 = icmp ne i64 %243, 0 br i1 %244, label %.lr.ph5, label %330 .lr.ph5: ; preds = %240 br label %245 245: ; preds = %.lr.ph5, %.backedge %246 = getelementptr inbounds [4096 x i8], ptr %17, i64 0, i64 0 store ptr %246, ptr %19, align 8 br label %247 247: ; preds = %259, %245 %248 = load ptr, ptr %19, align 8 %249 = load i8, ptr %248, align 1 %250 = sext i8 %249 to i32 %251 = icmp eq i32 %250, 32 br i1 %251, label %257, label %252 252: ; preds = %247 %253 = load ptr, ptr %19, align 8 %254 = load i8, ptr %253, align 1 %255 = sext i8 %254 to i32 %256 = icmp eq i32 %255, 9 br label %257 257: ; preds = %252, %247 %258 = phi i1 [ true, %247 ], [ %256, %252 ] br i1 %258, label %259, label %262 259: ; preds = %257 %260 = load ptr, ptr %19, align 8 %261 = getelementptr inbounds i8, ptr %260, i32 1 store ptr %261, ptr %19, align 8 br label %247, !llvm.loop !9 262: ; preds = %257 %263 = load ptr, ptr %19, align 8 %264 = load i8, ptr %263, align 1 %265 = sext i8 %264 to i32 %266 = icmp eq i32 %265, 35 br i1 %266, label %267, label %273 267: ; preds = %262 %268 = load ptr, ptr %19, align 8 %269 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.18, ptr noundef %268) br label %.backedge .backedge: ; preds = %267, %310, %329 %270 = load ptr, ptr %18, align 8 %271 = call i64 @fgets(ptr noundef %241, i32 noundef 4096, ptr noundef %270) %272 = icmp ne i64 %271, 0 br i1 %272, label %245, label %._crit_edge6, !llvm.loop !10 273: ; preds = %262 %274 = load ptr, ptr %19, align 8 store ptr %274, ptr %20, align 8 br label %275 275: ; preds = %302, %273 %276 = load ptr, ptr %20, align 8 %277 = load i8, ptr %276, align 1 %278 = sext i8 %277 to i32 %279 = icmp ne i32 %278, 13 br i1 %279, label %280, label %300 280: ; preds = %275 %281 = load ptr, ptr %20, align 8 %282 = load i8, ptr %281, align 1 %283 = sext i8 %282 to i32 %284 = icmp ne i32 %283, 10 br i1 %284, label %285, label %300 285: ; preds = %280 %286 = load ptr, ptr %20, align 8 %287 = load i8, ptr %286, align 1 %288 = sext i8 %287 to i32 %289 = icmp ne i32 %288, 0 br i1 %289, label %290, label %300 290: ; preds = %285 %291 = load ptr, ptr %20, align 8 %292 = load i8, ptr %291, align 1 %293 = sext i8 %292 to i32 %294 = icmp ne i32 %293, 32 br i1 %294, label %295, label %300 295: ; preds = %290 %296 = load ptr, ptr %20, align 8 %297 = load i8, ptr %296, align 1 %298 = sext i8 %297 to i32 %299 = icmp ne i32 %298, 9 br label %300 300: ; preds = %295, %290, %285, %280, %275 %301 = phi i1 [ false, %290 ], [ false, %285 ], [ false, %280 ], [ false, %275 ], [ %299, %295 ] br i1 %301, label %302, label %305 302: ; preds = %300 %303 = load ptr, ptr %20, align 8 %304 = getelementptr inbounds i8, ptr %303, i32 1 store ptr %304, ptr %20, align 8 br label %275, !llvm.loop !11 305: ; preds = %300 %306 = load ptr, ptr %20, align 8 store i8 0, ptr %306, align 1 %307 = load ptr, ptr %19, align 8 %308 = call ptr @get_host_from_url(ptr noundef %307) store ptr %308, ptr %8, align 8 %309 = icmp ne ptr %308, null br i1 %309, label %311, label %310 310: ; preds = %305 br label %.backedge 311: ; preds = %305 store ptr null, ptr %16, align 8 %312 = load ptr, ptr %19, align 8 %313 = load ptr, ptr %8, align 8 %314 = call ptr @pacparser_find_proxy(ptr noundef %312, ptr noundef %313) store ptr %314, ptr %16, align 8 %315 = load ptr, ptr %16, align 8 %316 = icmp eq ptr %315, null br i1 %316, label %317, label %322 317: ; preds = %311 %318 = load i32, ptr @stderr, align 4 %319 = load ptr, ptr %19, align 8 %320 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %318, ptr noundef @.str.14, ptr noundef @.str.15, ptr noundef %319) %321 = call i32 (...) @pacparser_cleanup() store i32 1, ptr %3, align 4 br label %336 322: ; preds = %311 %323 = load ptr, ptr %16, align 8 %324 = icmp ne ptr %323, null br i1 %324, label %325, label %329 325: ; preds = %322 %326 = load ptr, ptr %19, align 8 %327 = load ptr, ptr %16, align 8 %328 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.19, ptr noundef %326, ptr noundef %327) br label %329 329: ; preds = %325, %322 br label %.backedge ._crit_edge6: ; preds = %.backedge br label %330 330: ; preds = %._crit_edge6, %240 %331 = load ptr, ptr %18, align 8 %332 = call i32 @fclose(ptr noundef %331) br label %333 333: ; preds = %330, %228 br label %334 334: ; preds = %333, %225 %335 = call i32 (...) @pacparser_cleanup() store i32 0, ptr %3, align 4 br label %336 336: ; preds = %334, %317, %235, %220, %213, %186, %172, %164, %149, %138, %116, %104, %51 %337 = load i32, ptr %3, align 4 ret i32 %337 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @usage(ptr noundef) #1 declare signext i8 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ...) #1 declare ptr @pacparser_version(...) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @pacparser_init(...) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i64 @ferror(ptr noundef) #1 declare i32 @pacparser_parse_pac_string(ptr noundef) #1 declare i32 @pacparser_cleanup(...) #1 declare i32 @pacparser_parse_pac_file(ptr noundef) #1 declare i32 @pacparser_setmyip(ptr noundef) #1 declare ptr @get_host_from_url(ptr noundef) #1 declare ptr @pacparser_find_proxy(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmp6sj745a1.c' source_filename = "/tmp/tmp6sj745a1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solve_advection_diffusion(ptr noundef %0, ptr noundef %1, ptr noundef %2, double noundef %3, double noundef %4, ptr noundef %5, double noundef %6, double noundef %7, ptr noundef %8, double noundef %9) #0 { %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca ptr, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca ptr, align 8 %20 = alloca double, align 8 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca [5151 x double], align 16 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 %30 = alloca i32, align 4 %31 = alloca i32, align 4 %32 = alloca i32, align 4 %33 = alloca i32, align 4 %34 = alloca i32, align 4 store ptr %0, ptr %11, align 8 store ptr %1, ptr %12, align 8 store ptr %2, ptr %13, align 8 store double %3, ptr %14, align 8 store double %4, ptr %15, align 8 store ptr %5, ptr %16, align 8 store double %6, ptr %17, align 8 store double %7, ptr %18, align 8 store ptr %8, ptr %19, align 8 store double %9, ptr %20, align 8 %35 = load double, ptr %14, align 8 %36 = load double, ptr %14, align 8 %37 = fmul double %35, %36 store double %37, ptr %26, align 8 %38 = load double, ptr %15, align 8 %39 = load double, ptr %15, align 8 %40 = fmul double %38, %39 store double %40, ptr %27, align 8 %41 = load double, ptr %14, align 8 %42 = fmul double 2.000000e+00, %41 store double %42, ptr %28, align 8 %43 = load double, ptr %15, align 8 %44 = fmul double 2.000000e+00, %43 store double %44, ptr %29, align 8 store i32 0, ptr %22, align 4 br label %45 45: ; preds = %71, %10 %46 = load i32, ptr %22, align 4 %47 = icmp slt i32 %46, 51 br i1 %47, label %48, label %74 48: ; preds = %45 store i32 0, ptr %21, align 4 br label %49 49: ; preds = %67, %48 %50 = load i32, ptr %21, align 4 %51 = icmp slt i32 %50, 101 br i1 %51, label %52, label %70 52: ; preds = %49 %53 = load ptr, ptr %11, align 8 %54 = load i32, ptr %22, align 4 %55 = mul nsw i32 101, %54 %56 = load i32, ptr %21, align 4 %57 = add nsw i32 %55, %56 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds double, ptr %53, i64 %58 %60 = load double, ptr %59, align 8 %61 = load i32, ptr %22, align 4 %62 = mul nsw i32 101, %61 %63 = load i32, ptr %21, align 4 %64 = add nsw i32 %62, %63 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [5151 x double], ptr %23, i64 0, i64 %65 store double %60, ptr %66, align 8 br label %67 67: ; preds = %52 %68 = load i32, ptr %21, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %21, align 4 br label %49, !llvm.loop !6 70: ; preds = %49 br label %71 71: ; preds = %70 %72 = load i32, ptr %22, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %22, align 4 br label %45, !llvm.loop !8 74: ; preds = %45 store i32 0, ptr %30, align 4 store i32 0, ptr %31, align 4 store i32 0, ptr %32, align 4 store i32 0, ptr %33, align 4 store i32 0, ptr %34, align 4 store i32 1, ptr %22, align 4 br label %75 75: ; preds = %214, %74 %76 = load i32, ptr %22, align 4 %77 = icmp slt i32 %76, 50 br i1 %77, label %78, label %217 78: ; preds = %75 store i32 1, ptr %21, align 4 br label %79 79: ; preds = %210, %78 %80 = load i32, ptr %21, align 4 %81 = icmp slt i32 %80, 100 br i1 %81, label %82, label %213 82: ; preds = %79 %83 = load i32, ptr %22, align 4 %84 = mul nsw i32 101, %83 %85 = load i32, ptr %21, align 4 %86 = add nsw i32 %84, %85 store i32 %86, ptr %32, align 4 %87 = load i32, ptr %22, align 4 %88 = sub nsw i32 %87, 1 %89 = mul nsw i32 101, %88 %90 = load i32, ptr %21, align 4 %91 = add nsw i32 %89, %90 store i32 %91, ptr %30, align 4 %92 = load i32, ptr %22, align 4 %93 = add nsw i32 %92, 1 %94 = mul nsw i32 101, %93 %95 = load i32, ptr %21, align 4 %96 = add nsw i32 %94, %95 store i32 %96, ptr %31, align 4 %97 = load i32, ptr %22, align 4 %98 = mul nsw i32 101, %97 %99 = load i32, ptr %21, align 4 %100 = add nsw i32 %99, 1 %101 = add nsw i32 %98, %100 store i32 %101, ptr %33, align 4 %102 = load i32, ptr %22, align 4 %103 = mul nsw i32 101, %102 %104 = load i32, ptr %21, align 4 %105 = sub nsw i32 %104, 1 %106 = add nsw i32 %103, %105 store i32 %106, ptr %34, align 4 %107 = load ptr, ptr %19, align 8 %108 = load i32, ptr %32, align 4 %109 = zext i32 %108 to i64 %110 = getelementptr inbounds double, ptr %107, i64 %109 %111 = load double, ptr %110, align 8 %112 = load i32, ptr %33, align 4 %113 = zext i32 %112 to i64 %114 = getelementptr inbounds [5151 x double], ptr %23, i64 0, i64 %113 %115 = load double, ptr %114, align 8 %116 = load i32, ptr %32, align 4 %117 = zext i32 %116 to i64 %118 = getelementptr inbounds [5151 x double], ptr %23, i64 0, i64 %117 %119 = load double, ptr %118, align 8 %120 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %119, double %115) %121 = load i32, ptr %34, align 4 %122 = zext i32 %121 to i64 %123 = getelementptr inbounds [5151 x double], ptr %23, i64 0, i64 %122 %124 = load double, ptr %123, align 8 %125 = fadd double %120, %124 %126 = fmul double %111, %125 %127 = load double, ptr %26, align 8 %128 = fdiv double %126, %127 store double %128, ptr %24, align 8 %129 = load ptr, ptr %19, align 8 %130 = load i32, ptr %32, align 4 %131 = zext i32 %130 to i64 %132 = getelementptr inbounds double, ptr %129, i64 %131 %133 = load double, ptr %132, align 8 %134 = load i32, ptr %31, align 4 %135 = zext i32 %134 to i64 %136 = getelementptr inbounds [5151 x double], ptr %23, i64 0, i64 %135 %137 = load double, ptr %136, align 8 %138 = load i32, ptr %32, align 4 %139 = zext i32 %138 to i64 %140 = getelementptr inbounds [5151 x double], ptr %23, i64 0, i64 %139 %141 = load double, ptr %140, align 8 %142 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %141, double %137) %143 = load i32, ptr %30, align 4 %144 = zext i32 %143 to i64 %145 = getelementptr inbounds [5151 x double], ptr %23, i64 0, i64 %144 %146 = load double, ptr %145, align 8 %147 = fadd double %142, %146 %148 = fmul double %133, %147 %149 = load double, ptr %27, align 8 %150 = fdiv double %148, %149 store double %150, ptr %25, align 8 %151 = load i32, ptr %32, align 4 %152 = zext i32 %151 to i64 %153 = getelementptr inbounds [5151 x double], ptr %23, i64 0, i64 %152 %154 = load double, ptr %153, align 8 %155 = load double, ptr %17, align 8 %156 = load double, ptr %20, align 8 %157 = load double, ptr %24, align 8 %158 = fadd double %156, %157 %159 = load double, ptr %25, align 8 %160 = fadd double %158, %159 %161 = load ptr, ptr %16, align 8 %162 = load i32, ptr %32, align 4 %163 = zext i32 %162 to i64 %164 = getelementptr inbounds double, ptr %161, i64 %163 %165 = load double, ptr %164, align 8 %166 = load double, ptr %18, align 8 %167 = fmul double %165, %166 %168 = fdiv double %160, %167 %169 = load ptr, ptr %12, align 8 %170 = load i32, ptr %32, align 4 %171 = zext i32 %170 to i64 %172 = getelementptr inbounds double, ptr %169, i64 %171 %173 = load double, ptr %172, align 8 %174 = load i32, ptr %33, align 4 %175 = zext i32 %174 to i64 %176 = getelementptr inbounds [5151 x double], ptr %23, i64 0, i64 %175 %177 = load double, ptr %176, align 8 %178 = load i32, ptr %34, align 4 %179 = zext i32 %178 to i64 %180 = getelementptr inbounds [5151 x double], ptr %23, i64 0, i64 %179 %181 = load double, ptr %180, align 8 %182 = fsub double %177, %181 %183 = load double, ptr %28, align 8 %184 = fdiv double %182, %183 %185 = fneg double %173 %186 = call double @llvm.fmuladd.f64(double %185, double %184, double %168) %187 = load ptr, ptr %13, align 8 %188 = load i32, ptr %32, align 4 %189 = zext i32 %188 to i64 %190 = getelementptr inbounds double, ptr %187, i64 %189 %191 = load double, ptr %190, align 8 %192 = load i32, ptr %31, align 4 %193 = zext i32 %192 to i64 %194 = getelementptr inbounds [5151 x double], ptr %23, i64 0, i64 %193 %195 = load double, ptr %194, align 8 %196 = load i32, ptr %30, align 4 %197 = zext i32 %196 to i64 %198 = getelementptr inbounds [5151 x double], ptr %23, i64 0, i64 %197 %199 = load double, ptr %198, align 8 %200 = fsub double %195, %199 %201 = load double, ptr %29, align 8 %202 = fdiv double %200, %201 %203 = fneg double %191 %204 = call double @llvm.fmuladd.f64(double %203, double %202, double %186) %205 = call double @llvm.fmuladd.f64(double %155, double %204, double %154) %206 = load ptr, ptr %11, align 8 %207 = load i32, ptr %32, align 4 %208 = zext i32 %207 to i64 %209 = getelementptr inbounds double, ptr %206, i64 %208 store double %205, ptr %209, align 8 br label %210 210: ; preds = %82 %211 = load i32, ptr %21, align 4 %212 = add nsw i32 %211, 1 store i32 %212, ptr %21, align 4 br label %79, !llvm.loop !9 213: ; preds = %79 br label %214 214: ; preds = %213 %215 = load i32, ptr %22, align 4 %216 = add nsw i32 %215, 1 store i32 %216, ptr %22, align 4 br label %75, !llvm.loop !10 217: ; preds = %75 %218 = load ptr, ptr %11, align 8 %219 = call i32 @apply_thermal_boundary_conditions(ptr noundef %218) ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @apply_thermal_boundary_conditions(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6sj745a1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solve_advection_diffusion(ptr noundef %0, ptr noundef %1, ptr noundef %2, double noundef %3, double noundef %4, ptr noundef %5, double noundef %6, double noundef %7, ptr noundef %8, double noundef %9) #0 { %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca ptr, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca ptr, align 8 %20 = alloca double, align 8 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca [5151 x double], align 16 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 %30 = alloca i32, align 4 %31 = alloca i32, align 4 %32 = alloca i32, align 4 %33 = alloca i32, align 4 %34 = alloca i32, align 4 store ptr %0, ptr %11, align 8 store ptr %1, ptr %12, align 8 store ptr %2, ptr %13, align 8 store double %3, ptr %14, align 8 store double %4, ptr %15, align 8 store ptr %5, ptr %16, align 8 store double %6, ptr %17, align 8 store double %7, ptr %18, align 8 store ptr %8, ptr %19, align 8 store double %9, ptr %20, align 8 %35 = load double, ptr %14, align 8 %36 = load double, ptr %14, align 8 %37 = fmul double %35, %36 store double %37, ptr %26, align 8 %38 = load double, ptr %15, align 8 %39 = load double, ptr %15, align 8 %40 = fmul double %38, %39 store double %40, ptr %27, align 8 %41 = load double, ptr %14, align 8 %42 = fmul double 2.000000e+00, %41 store double %42, ptr %28, align 8 %43 = load double, ptr %15, align 8 %44 = fmul double 2.000000e+00, %43 store double %44, ptr %29, align 8 store i32 0, ptr %22, align 4 %45 = load i32, ptr %22, align 4 %46 = icmp slt i32 %45, 51 br i1 %46, label %.lr.ph2, label %76 .lr.ph2: ; preds = %10 br label %47 47: ; preds = %.lr.ph2, %71 store i32 0, ptr %21, align 4 %48 = load i32, ptr %21, align 4 %49 = icmp slt i32 %48, 101 br i1 %49, label %.lr.ph, label %70 .lr.ph: ; preds = %47 br label %50 50: ; preds = %.lr.ph, %65 %51 = load ptr, ptr %11, align 8 %52 = load i32, ptr %22, align 4 %53 = mul nsw i32 101, %52 %54 = load i32, ptr %21, align 4 %55 = add nsw i32 %53, %54 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds double, ptr %51, i64 %56 %58 = load double, ptr %57, align 8 %59 = load i32, ptr %22, align 4 %60 = mul nsw i32 101, %59 %61 = load i32, ptr %21, align 4 %62 = add nsw i32 %60, %61 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [5151 x double], ptr %23, i64 0, i64 %63 store double %58, ptr %64, align 8 br label %65 65: ; preds = %50 %66 = load i32, ptr %21, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %21, align 4 %68 = load i32, ptr %21, align 4 %69 = icmp slt i32 %68, 101 br i1 %69, label %50, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %65 br label %70 70: ; preds = %._crit_edge, %47 br label %71 71: ; preds = %70 %72 = load i32, ptr %22, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %22, align 4 %74 = load i32, ptr %22, align 4 %75 = icmp slt i32 %74, 51 br i1 %75, label %47, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %71 br label %76 76: ; preds = %._crit_edge3, %10 store i32 0, ptr %30, align 4 store i32 0, ptr %31, align 4 store i32 0, ptr %32, align 4 store i32 0, ptr %33, align 4 store i32 0, ptr %34, align 4 store i32 1, ptr %22, align 4 %77 = load i32, ptr %22, align 4 %78 = icmp slt i32 %77, 50 br i1 %78, label %.lr.ph8, label %221 .lr.ph8: ; preds = %76 br label %79 79: ; preds = %.lr.ph8, %216 store i32 1, ptr %21, align 4 %80 = load i32, ptr %21, align 4 %81 = icmp slt i32 %80, 100 br i1 %81, label %.lr.ph5, label %215 .lr.ph5: ; preds = %79 br label %82 82: ; preds = %.lr.ph5, %210 %83 = load i32, ptr %22, align 4 %84 = mul nsw i32 101, %83 %85 = load i32, ptr %21, align 4 %86 = add nsw i32 %84, %85 store i32 %86, ptr %32, align 4 %87 = load i32, ptr %22, align 4 %88 = sub nsw i32 %87, 1 %89 = mul nsw i32 101, %88 %90 = load i32, ptr %21, align 4 %91 = add nsw i32 %89, %90 store i32 %91, ptr %30, align 4 %92 = load i32, ptr %22, align 4 %93 = add nsw i32 %92, 1 %94 = mul nsw i32 101, %93 %95 = load i32, ptr %21, align 4 %96 = add nsw i32 %94, %95 store i32 %96, ptr %31, align 4 %97 = load i32, ptr %22, align 4 %98 = mul nsw i32 101, %97 %99 = load i32, ptr %21, align 4 %100 = add nsw i32 %99, 1 %101 = add nsw i32 %98, %100 store i32 %101, ptr %33, align 4 %102 = load i32, ptr %22, align 4 %103 = mul nsw i32 101, %102 %104 = load i32, ptr %21, align 4 %105 = sub nsw i32 %104, 1 %106 = add nsw i32 %103, %105 store i32 %106, ptr %34, align 4 %107 = load ptr, ptr %19, align 8 %108 = load i32, ptr %32, align 4 %109 = zext i32 %108 to i64 %110 = getelementptr inbounds double, ptr %107, i64 %109 %111 = load double, ptr %110, align 8 %112 = load i32, ptr %33, align 4 %113 = zext i32 %112 to i64 %114 = getelementptr inbounds [5151 x double], ptr %23, i64 0, i64 %113 %115 = load double, ptr %114, align 8 %116 = load i32, ptr %32, align 4 %117 = zext i32 %116 to i64 %118 = getelementptr inbounds [5151 x double], ptr %23, i64 0, i64 %117 %119 = load double, ptr %118, align 8 %120 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %119, double %115) %121 = load i32, ptr %34, align 4 %122 = zext i32 %121 to i64 %123 = getelementptr inbounds [5151 x double], ptr %23, i64 0, i64 %122 %124 = load double, ptr %123, align 8 %125 = fadd double %120, %124 %126 = fmul double %111, %125 %127 = load double, ptr %26, align 8 %128 = fdiv double %126, %127 store double %128, ptr %24, align 8 %129 = load ptr, ptr %19, align 8 %130 = load i32, ptr %32, align 4 %131 = zext i32 %130 to i64 %132 = getelementptr inbounds double, ptr %129, i64 %131 %133 = load double, ptr %132, align 8 %134 = load i32, ptr %31, align 4 %135 = zext i32 %134 to i64 %136 = getelementptr inbounds [5151 x double], ptr %23, i64 0, i64 %135 %137 = load double, ptr %136, align 8 %138 = load i32, ptr %32, align 4 %139 = zext i32 %138 to i64 %140 = getelementptr inbounds [5151 x double], ptr %23, i64 0, i64 %139 %141 = load double, ptr %140, align 8 %142 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %141, double %137) %143 = load i32, ptr %30, align 4 %144 = zext i32 %143 to i64 %145 = getelementptr inbounds [5151 x double], ptr %23, i64 0, i64 %144 %146 = load double, ptr %145, align 8 %147 = fadd double %142, %146 %148 = fmul double %133, %147 %149 = load double, ptr %27, align 8 %150 = fdiv double %148, %149 store double %150, ptr %25, align 8 %151 = load i32, ptr %32, align 4 %152 = zext i32 %151 to i64 %153 = getelementptr inbounds [5151 x double], ptr %23, i64 0, i64 %152 %154 = load double, ptr %153, align 8 %155 = load double, ptr %17, align 8 %156 = load double, ptr %20, align 8 %157 = load double, ptr %24, align 8 %158 = fadd double %156, %157 %159 = load double, ptr %25, align 8 %160 = fadd double %158, %159 %161 = load ptr, ptr %16, align 8 %162 = load i32, ptr %32, align 4 %163 = zext i32 %162 to i64 %164 = getelementptr inbounds double, ptr %161, i64 %163 %165 = load double, ptr %164, align 8 %166 = load double, ptr %18, align 8 %167 = fmul double %165, %166 %168 = fdiv double %160, %167 %169 = load ptr, ptr %12, align 8 %170 = load i32, ptr %32, align 4 %171 = zext i32 %170 to i64 %172 = getelementptr inbounds double, ptr %169, i64 %171 %173 = load double, ptr %172, align 8 %174 = load i32, ptr %33, align 4 %175 = zext i32 %174 to i64 %176 = getelementptr inbounds [5151 x double], ptr %23, i64 0, i64 %175 %177 = load double, ptr %176, align 8 %178 = load i32, ptr %34, align 4 %179 = zext i32 %178 to i64 %180 = getelementptr inbounds [5151 x double], ptr %23, i64 0, i64 %179 %181 = load double, ptr %180, align 8 %182 = fsub double %177, %181 %183 = load double, ptr %28, align 8 %184 = fdiv double %182, %183 %185 = fneg double %173 %186 = call double @llvm.fmuladd.f64(double %185, double %184, double %168) %187 = load ptr, ptr %13, align 8 %188 = load i32, ptr %32, align 4 %189 = zext i32 %188 to i64 %190 = getelementptr inbounds double, ptr %187, i64 %189 %191 = load double, ptr %190, align 8 %192 = load i32, ptr %31, align 4 %193 = zext i32 %192 to i64 %194 = getelementptr inbounds [5151 x double], ptr %23, i64 0, i64 %193 %195 = load double, ptr %194, align 8 %196 = load i32, ptr %30, align 4 %197 = zext i32 %196 to i64 %198 = getelementptr inbounds [5151 x double], ptr %23, i64 0, i64 %197 %199 = load double, ptr %198, align 8 %200 = fsub double %195, %199 %201 = load double, ptr %29, align 8 %202 = fdiv double %200, %201 %203 = fneg double %191 %204 = call double @llvm.fmuladd.f64(double %203, double %202, double %186) %205 = call double @llvm.fmuladd.f64(double %155, double %204, double %154) %206 = load ptr, ptr %11, align 8 %207 = load i32, ptr %32, align 4 %208 = zext i32 %207 to i64 %209 = getelementptr inbounds double, ptr %206, i64 %208 store double %205, ptr %209, align 8 br label %210 210: ; preds = %82 %211 = load i32, ptr %21, align 4 %212 = add nsw i32 %211, 1 store i32 %212, ptr %21, align 4 %213 = load i32, ptr %21, align 4 %214 = icmp slt i32 %213, 100 br i1 %214, label %82, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %210 br label %215 215: ; preds = %._crit_edge6, %79 br label %216 216: ; preds = %215 %217 = load i32, ptr %22, align 4 %218 = add nsw i32 %217, 1 store i32 %218, ptr %22, align 4 %219 = load i32, ptr %22, align 4 %220 = icmp slt i32 %219, 50 br i1 %220, label %79, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %216 br label %221 221: ; preds = %._crit_edge9, %76 %222 = load ptr, ptr %11, align 8 %223 = call i32 @apply_thermal_boundary_conditions(ptr noundef %222) ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @apply_thermal_boundary_conditions(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmppz95u4vz.c' source_filename = "/tmp/tmppz95u4vz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [100000 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 store i32 0, ptr %1, align 4 %13 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) br label %14 14: ; preds = %147, %0 %15 = load i32, ptr %2, align 4 %16 = add nsw i32 %15, -1 store i32 %16, ptr %2, align 4 %17 = icmp ne i32 %15, 0 br i1 %17, label %18, label %151 18: ; preds = %14 %19 = getelementptr inbounds [100000 x i8], ptr %3, i64 0, i64 0 %20 = call i32 @gets(ptr noundef %19) %21 = getelementptr inbounds [100000 x i8], ptr %3, i64 0, i64 0 %22 = call i32 @strlen(ptr noundef %21) store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %23, 3 %25 = zext i32 %24 to i64 %26 = call ptr @llvm.stacksave() store ptr %26, ptr %8, align 8 %27 = alloca i32, i64 %25, align 16 store i64 %25, ptr %9, align 8 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, 3 %30 = zext i32 %29 to i64 %31 = alloca i32, i64 %30, align 16 store i64 %30, ptr %10, align 8 store i32 0, ptr %5, align 4 br label %32 32: ; preds = %45, %18 %33 = load i32, ptr %5, align 4 %34 = load i32, ptr %4, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %36, label %48 36: ; preds = %32 %37 = load i32, ptr %5, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [100000 x i8], ptr %3, i64 0, i64 %38 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = load i32, ptr %5, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %27, i64 %43 store i32 %41, ptr %44, align 4 br label %45 45: ; preds = %36 %46 = load i32, ptr %5, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %5, align 4 br label %32, !llvm.loop !6 48: ; preds = %32 %49 = load i32, ptr %4, align 4 %50 = call i32 @suffix_array(ptr noundef %27, ptr noundef %31, i32 noundef %49, i32 noundef 256) %51 = load i32, ptr %4, align 4 %52 = add nsw i32 %51, 1 %53 = zext i32 %52 to i64 %54 = alloca i32, i64 %53, align 16 store i64 %53, ptr %11, align 8 store i32 0, ptr %5, align 4 br label %55 55: ; preds = %67, %48 %56 = load i32, ptr %5, align 4 %57 = load i32, ptr %4, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %59, label %70 59: ; preds = %55 %60 = load i32, ptr %5, align 4 %61 = load i32, ptr %5, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i32, ptr %31, i64 %62 %64 = load i32, ptr %63, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i32, ptr %54, i64 %65 store i32 %60, ptr %66, align 4 br label %67 67: ; preds = %59 %68 = load i32, ptr %5, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %5, align 4 br label %55, !llvm.loop !8 70: ; preds = %55 %71 = load i32, ptr %4, align 4 %72 = sext i32 %71 to i64 store i64 %72, ptr %12, align 8 %73 = load i32, ptr %4, align 4 %74 = add nsw i32 %73, 1 %75 = sext i32 %74 to i64 %76 = load i64, ptr %12, align 8 %77 = mul nsw i64 %76, %75 store i64 %77, ptr %12, align 8 %78 = load i64, ptr %12, align 8 %79 = sdiv i64 %78, 2 store i64 %79, ptr %12, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %5, align 4 br label %80 80: ; preds = %144, %70 %81 = load i32, ptr %5, align 4 %82 = load i32, ptr %4, align 4 %83 = icmp slt i32 %81, %82 br i1 %83, label %84, label %147 84: ; preds = %80 %85 = load i32, ptr %7, align 4 %86 = icmp sgt i32 %85, 0 br i1 %86, label %87, label %90 87: ; preds = %84 %88 = load i32, ptr %7, align 4 %89 = add nsw i32 %88, -1 store i32 %89, ptr %7, align 4 br label %90 90: ; preds = %87, %84 %91 = load i32, ptr %5, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds i32, ptr %54, i64 %92 %94 = load i32, ptr %93, align 4 %95 = load i32, ptr %4, align 4 %96 = sub nsw i32 %95, 1 %97 = icmp eq i32 %94, %96 br i1 %97, label %98, label %99 98: ; preds = %90 store i32 0, ptr %7, align 4 br label %144 99: ; preds = %90 %100 = load i32, ptr %5, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds i32, ptr %54, i64 %101 %103 = load i32, ptr %102, align 4 %104 = add nsw i32 %103, 1 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds i32, ptr %31, i64 %105 %107 = load i32, ptr %106, align 4 store i32 %107, ptr %6, align 4 br label %108 108: ; preds = %136, %99 %109 = load i32, ptr %5, align 4 %110 = load i32, ptr %7, align 4 %111 = add nsw i32 %109, %110 %112 = load i32, ptr %4, align 4 %113 = icmp slt i32 %111, %112 br i1 %113, label %114, label %134 114: ; preds = %108 %115 = load i32, ptr %6, align 4 %116 = load i32, ptr %7, align 4 %117 = add nsw i32 %115, %116 %118 = load i32, ptr %4, align 4 %119 = icmp slt i32 %117, %118 br i1 %119, label %120, label %134 120: ; preds = %114 %121 = load i32, ptr %5, align 4 %122 = load i32, ptr %7, align 4 %123 = add nsw i32 %121, %122 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds i32, ptr %27, i64 %124 %126 = load i32, ptr %125, align 4 %127 = load i32, ptr %6, align 4 %128 = load i32, ptr %7, align 4 %129 = add nsw i32 %127, %128 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds i32, ptr %27, i64 %130 %132 = load i32, ptr %131, align 4 %133 = icmp eq i32 %126, %132 br label %134 134: ; preds = %120, %114, %108 %135 = phi i1 [ false, %114 ], [ false, %108 ], [ %133, %120 ] br i1 %135, label %136, label %139 136: ; preds = %134 %137 = load i32, ptr %7, align 4 %138 = add nsw i32 %137, 1 store i32 %138, ptr %7, align 4 br label %108, !llvm.loop !9 139: ; preds = %134 %140 = load i32, ptr %7, align 4 %141 = sext i32 %140 to i64 %142 = load i64, ptr %12, align 8 %143 = sub nsw i64 %142, %141 store i64 %143, ptr %12, align 8 br label %144 144: ; preds = %139, %98 %145 = load i32, ptr %5, align 4 %146 = add nsw i32 %145, 1 store i32 %146, ptr %5, align 4 br label %80, !llvm.loop !10 147: ; preds = %80 %148 = load i64, ptr %12, align 8 %149 = call i32 @printf(ptr noundef @.str.1, i64 noundef %148) %150 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %150) br label %14, !llvm.loop !11 151: ; preds = %14 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @gets(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @suffix_array(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppz95u4vz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [100000 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 store i32 0, ptr %1, align 4 %13 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, -1 store i32 %15, ptr %2, align 4 %16 = icmp ne i32 %14, 0 br i1 %16, label %.lr.ph8, label %159 .lr.ph8: ; preds = %0 br label %17 17: ; preds = %.lr.ph8, %152 %18 = getelementptr inbounds [100000 x i8], ptr %3, i64 0, i64 0 %19 = call i32 @gets(ptr noundef %18) %20 = getelementptr inbounds [100000 x i8], ptr %3, i64 0, i64 0 %21 = call i32 @strlen(ptr noundef %20) store i32 %21, ptr %4, align 4 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 3 %24 = zext i32 %23 to i64 %25 = call ptr @llvm.stacksave() store ptr %25, ptr %8, align 8 %26 = alloca i32, i64 %24, align 16 store i64 %24, ptr %9, align 8 %27 = load i32, ptr %4, align 4 %28 = add nsw i32 %27, 3 %29 = zext i32 %28 to i64 %30 = alloca i32, i64 %29, align 16 store i64 %29, ptr %10, align 8 store i32 0, ptr %5, align 4 %31 = load i32, ptr %5, align 4 %32 = load i32, ptr %4, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %.lr.ph, label %49 .lr.ph: ; preds = %17 br label %34 34: ; preds = %.lr.ph, %43 %35 = load i32, ptr %5, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [100000 x i8], ptr %3, i64 0, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = load i32, ptr %5, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %26, i64 %41 store i32 %39, ptr %42, align 4 br label %43 43: ; preds = %34 %44 = load i32, ptr %5, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %5, align 4 %46 = load i32, ptr %5, align 4 %47 = load i32, ptr %4, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %34, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %43 br label %49 49: ; preds = %._crit_edge, %17 %50 = load i32, ptr %4, align 4 %51 = call i32 @suffix_array(ptr noundef %26, ptr noundef %30, i32 noundef %50, i32 noundef 256) %52 = load i32, ptr %4, align 4 %53 = add nsw i32 %52, 1 %54 = zext i32 %53 to i64 %55 = alloca i32, i64 %54, align 16 store i64 %54, ptr %11, align 8 store i32 0, ptr %5, align 4 %56 = load i32, ptr %5, align 4 %57 = load i32, ptr %4, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %.lr.ph2, label %73 .lr.ph2: ; preds = %49 br label %59 59: ; preds = %.lr.ph2, %67 %60 = load i32, ptr %5, align 4 %61 = load i32, ptr %5, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i32, ptr %30, i64 %62 %64 = load i32, ptr %63, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i32, ptr %55, i64 %65 store i32 %60, ptr %66, align 4 br label %67 67: ; preds = %59 %68 = load i32, ptr %5, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %5, align 4 %70 = load i32, ptr %5, align 4 %71 = load i32, ptr %4, align 4 %72 = icmp slt i32 %70, %71 br i1 %72, label %59, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %67 br label %73 73: ; preds = %._crit_edge3, %49 %74 = load i32, ptr %4, align 4 %75 = sext i32 %74 to i64 store i64 %75, ptr %12, align 8 %76 = load i32, ptr %4, align 4 %77 = add nsw i32 %76, 1 %78 = sext i32 %77 to i64 %79 = load i64, ptr %12, align 8 %80 = mul nsw i64 %79, %78 store i64 %80, ptr %12, align 8 %81 = load i64, ptr %12, align 8 %82 = sdiv i64 %81, 2 store i64 %82, ptr %12, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %5, align 4 %83 = load i32, ptr %5, align 4 %84 = load i32, ptr %4, align 4 %85 = icmp slt i32 %83, %84 br i1 %85, label %.lr.ph5, label %152 .lr.ph5: ; preds = %73 br label %86 86: ; preds = %.lr.ph5, %146 %87 = load i32, ptr %7, align 4 %88 = icmp sgt i32 %87, 0 br i1 %88, label %89, label %92 89: ; preds = %86 %90 = load i32, ptr %7, align 4 %91 = add nsw i32 %90, -1 store i32 %91, ptr %7, align 4 br label %92 92: ; preds = %89, %86 %93 = load i32, ptr %5, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds i32, ptr %55, i64 %94 %96 = load i32, ptr %95, align 4 %97 = load i32, ptr %4, align 4 %98 = sub nsw i32 %97, 1 %99 = icmp eq i32 %96, %98 br i1 %99, label %100, label %101 100: ; preds = %92 store i32 0, ptr %7, align 4 br label %146 101: ; preds = %92 %102 = load i32, ptr %5, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds i32, ptr %55, i64 %103 %105 = load i32, ptr %104, align 4 %106 = add nsw i32 %105, 1 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds i32, ptr %30, i64 %107 %109 = load i32, ptr %108, align 4 store i32 %109, ptr %6, align 4 br label %110 110: ; preds = %138, %101 %111 = load i32, ptr %5, align 4 %112 = load i32, ptr %7, align 4 %113 = add nsw i32 %111, %112 %114 = load i32, ptr %4, align 4 %115 = icmp slt i32 %113, %114 br i1 %115, label %116, label %136 116: ; preds = %110 %117 = load i32, ptr %6, align 4 %118 = load i32, ptr %7, align 4 %119 = add nsw i32 %117, %118 %120 = load i32, ptr %4, align 4 %121 = icmp slt i32 %119, %120 br i1 %121, label %122, label %136 122: ; preds = %116 %123 = load i32, ptr %5, align 4 %124 = load i32, ptr %7, align 4 %125 = add nsw i32 %123, %124 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds i32, ptr %26, i64 %126 %128 = load i32, ptr %127, align 4 %129 = load i32, ptr %6, align 4 %130 = load i32, ptr %7, align 4 %131 = add nsw i32 %129, %130 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds i32, ptr %26, i64 %132 %134 = load i32, ptr %133, align 4 %135 = icmp eq i32 %128, %134 br label %136 136: ; preds = %122, %116, %110 %137 = phi i1 [ false, %116 ], [ false, %110 ], [ %135, %122 ] br i1 %137, label %138, label %141 138: ; preds = %136 %139 = load i32, ptr %7, align 4 %140 = add nsw i32 %139, 1 store i32 %140, ptr %7, align 4 br label %110, !llvm.loop !9 141: ; preds = %136 %142 = load i32, ptr %7, align 4 %143 = sext i32 %142 to i64 %144 = load i64, ptr %12, align 8 %145 = sub nsw i64 %144, %143 store i64 %145, ptr %12, align 8 br label %146 146: ; preds = %141, %100 %147 = load i32, ptr %5, align 4 %148 = add nsw i32 %147, 1 store i32 %148, ptr %5, align 4 %149 = load i32, ptr %5, align 4 %150 = load i32, ptr %4, align 4 %151 = icmp slt i32 %149, %150 br i1 %151, label %86, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %146 br label %152 152: ; preds = %._crit_edge6, %73 %153 = load i64, ptr %12, align 8 %154 = call i32 @printf(ptr noundef @.str.1, i64 noundef %153) %155 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %155) %156 = load i32, ptr %2, align 4 %157 = add nsw i32 %156, -1 store i32 %157, ptr %2, align 4 %158 = icmp ne i32 %156, 0 br i1 %158, label %17, label %._crit_edge9, !llvm.loop !11 ._crit_edge9: ; preds = %152 br label %159 159: ; preds = %._crit_edge9, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @gets(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @suffix_array(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpto24gwmu.c' source_filename = "/tmp/tmpto24gwmu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @STDOUT_FILENO = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"recv error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_uptime(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [128 x i8], align 16 store i32 %0, ptr %2, align 4 br label %5 5: ; preds = %10, %1 %6 = load i32, ptr %2, align 4 %7 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %8 = call i32 @recv(i32 noundef %6, ptr noundef %7, i32 noundef 128, i32 noundef 0) store i32 %8, ptr %3, align 4 %9 = icmp sgt i32 %8, 0 br i1 %9, label %10, label %15 10: ; preds = %5 %11 = load i32, ptr @STDOUT_FILENO, align 4 %12 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %13 = load i32, ptr %3, align 4 %14 = call i32 @write(i32 noundef %11, ptr noundef %12, i32 noundef %13) br label %5, !llvm.loop !6 15: ; preds = %5 %16 = load i32, ptr %3, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %15 %19 = call i32 @err_sys(ptr noundef @.str) br label %20 20: ; preds = %18, %15 ret void } declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @err_sys(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpto24gwmu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @STDOUT_FILENO = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"recv error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_uptime(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [128 x i8], align 16 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %7 = call i32 @recv(i32 noundef %5, ptr noundef %6, i32 noundef 128, i32 noundef 0) store i32 %7, ptr %3, align 4 %8 = icmp sgt i32 %7, 0 br i1 %8, label %.lr.ph, label %17 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %9 %10 = load i32, ptr @STDOUT_FILENO, align 4 %11 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0 %12 = load i32, ptr %3, align 4 %13 = call i32 @write(i32 noundef %10, ptr noundef %11, i32 noundef %12) %14 = load i32, ptr %2, align 4 %15 = call i32 @recv(i32 noundef %14, ptr noundef %6, i32 noundef 128, i32 noundef 0) store i32 %15, ptr %3, align 4 %16 = icmp sgt i32 %15, 0 br i1 %16, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %17 17: ; preds = %._crit_edge, %1 %18 = load i32, ptr %3, align 4 %19 = icmp slt i32 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %17 %21 = call i32 @err_sys(ptr noundef @.str) br label %22 22: ; preds = %20, %17 ret void } declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @err_sys(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp7vbc2avk.c' source_filename = "/tmp/tmp7vbc2avk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c_daxpy(i32 noundef %0, double noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca double, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store double %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 store i32 %5, ptr %12, align 4 %13 = load i32, ptr %7, align 4 %14 = load double, ptr %8, align 8 %15 = load ptr, ptr %9, align 8 %16 = load i32, ptr %10, align 4 %17 = load ptr, ptr %11, align 8 %18 = load i32, ptr %12, align 4 %19 = call i32 @cblas_daxpy(i32 noundef %13, double noundef %14, ptr noundef %15, i32 noundef %16, ptr noundef %17, i32 noundef %18) ret void } declare i32 @cblas_daxpy(i32 noundef, double noundef, ptr noundef, 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/tmp7vbc2avk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c_daxpy(i32 noundef %0, double noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca double, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store double %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 store i32 %5, ptr %12, align 4 %13 = load i32, ptr %7, align 4 %14 = load double, ptr %8, align 8 %15 = load ptr, ptr %9, align 8 %16 = load i32, ptr %10, align 4 %17 = load ptr, ptr %11, align 8 %18 = load i32, ptr %12, align 4 %19 = call i32 @cblas_daxpy(i32 noundef %13, double noundef %14, ptr noundef %15, i32 noundef %16, ptr noundef %17, i32 noundef %18) ret void } declare i32 @cblas_daxpy(i32 noundef, double noundef, ptr noundef, 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/tmpgzlf4ony.c' source_filename = "/tmp/tmpgzlf4ony.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PTRACE_CONT = dso_local global i32 0, align 4 @__WALL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgzlf4ony.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PTRACE_CONT = dso_local global i32 0, align 4 @__WALL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpls108r4f.c' source_filename = "/tmp/tmpls108r4f.c" target datalayout = "e-m:e-p270: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_2__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XAnyEvent_send_event(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store i32 %5, ptr %7, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpls108r4f.c" target datalayout = "e-m:e-p270: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_2__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XAnyEvent_send_event(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store i32 %5, ptr %7, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppvsvpfyt.c' source_filename = "/tmp/tmppvsvpfyt.c" target datalayout = "e-m:e-p270: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/tmppvsvpfyt.c" target datalayout = "e-m:e-p270: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/tmp67w0jq46.c' source_filename = "/tmp/tmp67w0jq46.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @delete_lines(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %4, align 4 %8 = call i64 @is_range_in_range(i32 noundef %6, i32 noundef %7) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %23 10: ; preds = %2 %11 = load i32, ptr %3, align 4 store i32 %11, ptr %5, align 4 br label %12 12: ; preds = %19, %10 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp sle i32 %13, %14 br i1 %15, label %16, label %22 16: ; preds = %12 %17 = load i32, ptr %3, align 4 %18 = call i32 @delete_line(i32 noundef %17) br label %19 19: ; preds = %16 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %5, align 4 br label %12, !llvm.loop !6 22: ; preds = %12 br label %23 23: ; preds = %22, %2 ret void } declare i64 @is_range_in_range(i32 noundef, i32 noundef) #1 declare i32 @delete_line(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/tmp67w0jq46.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @delete_lines(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %4, align 4 %8 = call i64 @is_range_in_range(i32 noundef %6, i32 noundef %7) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %25 10: ; preds = %2 %11 = load i32, ptr %3, align 4 store i32 %11, ptr %5, align 4 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp sle i32 %12, %13 br i1 %14, label %.lr.ph, label %24 .lr.ph: ; preds = %10 br label %15 15: ; preds = %.lr.ph, %18 %16 = load i32, ptr %3, align 4 %17 = call i32 @delete_line(i32 noundef %16) br label %18 18: ; preds = %15 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp sle i32 %21, %22 br i1 %23, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %24 24: ; preds = %._crit_edge, %10 br label %25 25: ; preds = %24, %2 ret void } declare i64 @is_range_in_range(i32 noundef, i32 noundef) #1 declare i32 @delete_line(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/tmp5jct0are.c' source_filename = "/tmp/tmp5jct0are.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"data_output\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Error opening the output file.\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"%d\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Lab1_saveoutput(ptr noundef %0, ptr noundef %1, double noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store double %2, ptr %7, align 8 %11 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %11, ptr %8, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %15 13: ; preds = %3 %14 = call i32 @printf(ptr noundef @.str.2) store i32 1, ptr %4, align 4 br label %58 15: ; preds = %3 %16 = load ptr, ptr %8, align 8 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %17, align 4 %19 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %16, ptr noundef @.str.3, i32 noundef %18) store i32 0, ptr %9, align 4 br label %20 20: ; preds = %49, %15 %21 = load i32, ptr %9, align 4 %22 = load ptr, ptr %6, align 8 %23 = load i32, ptr %22, align 4 %24 = icmp slt i32 %21, %23 br i1 %24, label %25, label %52 25: ; preds = %20 store i32 0, ptr %10, align 4 br label %26 26: ; preds = %43, %25 %27 = load i32, ptr %10, align 4 %28 = load ptr, ptr %6, align 8 %29 = load i32, ptr %28, align 4 %30 = icmp slt i32 %27, %29 br i1 %30, label %31, label %46 31: ; preds = %26 %32 = load ptr, ptr %8, align 8 %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %9, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds ptr, ptr %33, i64 %35 %37 = load ptr, ptr %36, align 8 %38 = load i32, ptr %10, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %37, i64 %39 %41 = load i32, ptr %40, align 4 %42 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef @.str.4, i32 noundef %41) br label %43 43: ; preds = %31 %44 = load i32, ptr %10, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %10, align 4 br label %26, !llvm.loop !6 46: ; preds = %26 %47 = load ptr, ptr %8, align 8 %48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef @.str.5) br label %49 49: ; preds = %46 %50 = load i32, ptr %9, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %9, align 4 br label %20, !llvm.loop !8 52: ; preds = %20 %53 = load ptr, ptr %8, align 8 %54 = load double, ptr %7, align 8 %55 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %53, ptr noundef @.str.6, double noundef %54) %56 = load ptr, ptr %8, align 8 %57 = call i32 @fclose(ptr noundef %56) store i32 0, ptr %4, align 4 br label %58 58: ; preds = %52, %13 %59 = load i32, ptr %4, align 4 ret i32 %59 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5jct0are.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"data_output\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Error opening the output file.\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"%d\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Lab1_saveoutput(ptr noundef %0, ptr noundef %1, double noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store double %2, ptr %7, align 8 %11 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %11, ptr %8, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %15 13: ; preds = %3 %14 = call i32 @printf(ptr noundef @.str.2) store i32 1, ptr %4, align 4 br label %64 15: ; preds = %3 %16 = load ptr, ptr %8, align 8 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %17, align 4 %19 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %16, ptr noundef @.str.3, i32 noundef %18) store i32 0, ptr %9, align 4 %20 = load i32, ptr %9, align 4 %21 = load ptr, ptr %6, align 8 %22 = load i32, ptr %21, align 4 %23 = icmp slt i32 %20, %22 br i1 %23, label %.lr.ph2, label %58 .lr.ph2: ; preds = %15 br label %24 24: ; preds = %.lr.ph2, %51 store i32 0, ptr %10, align 4 %25 = load i32, ptr %10, align 4 %26 = load ptr, ptr %6, align 8 %27 = load i32, ptr %26, align 4 %28 = icmp slt i32 %25, %27 br i1 %28, label %.lr.ph, label %48 .lr.ph: ; preds = %24 br label %29 29: ; preds = %.lr.ph, %41 %30 = load ptr, ptr %8, align 8 %31 = load ptr, ptr %5, align 8 %32 = load i32, ptr %9, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds ptr, ptr %31, i64 %33 %35 = load ptr, ptr %34, align 8 %36 = load i32, ptr %10, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %35, i64 %37 %39 = load i32, ptr %38, align 4 %40 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef @.str.4, i32 noundef %39) br label %41 41: ; preds = %29 %42 = load i32, ptr %10, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %10, align 4 %44 = load i32, ptr %10, align 4 %45 = load ptr, ptr %6, align 8 %46 = load i32, ptr %45, align 4 %47 = icmp slt i32 %44, %46 br i1 %47, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %48 48: ; preds = %._crit_edge, %24 %49 = load ptr, ptr %8, align 8 %50 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %49, ptr noundef @.str.5) br label %51 51: ; preds = %48 %52 = load i32, ptr %9, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %9, align 4 %54 = load i32, ptr %9, align 4 %55 = load ptr, ptr %6, align 8 %56 = load i32, ptr %55, align 4 %57 = icmp slt i32 %54, %56 br i1 %57, label %24, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %51 br label %58 58: ; preds = %._crit_edge3, %15 %59 = load ptr, ptr %8, align 8 %60 = load double, ptr %7, align 8 %61 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef @.str.6, double noundef %60) %62 = load ptr, ptr %8, align 8 %63 = call i32 @fclose(ptr noundef %62) store i32 0, ptr %4, align 4 br label %64 64: ; preds = %58, %13 %65 = load i32, ptr %4, align 4 ret i32 %65 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpqfbto_j_.c' source_filename = "/tmp/tmpqfbto_j_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqfbto_j_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbbrvrdgg.c' source_filename = "/tmp/tmpbbrvrdgg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clearScreen() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 32768, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %3 3: ; preds = %14, %0 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 2000 br i1 %5, label %6, label %17 6: ; preds = %3 %7 = load i32, ptr %1, align 4 %8 = call i32 @putInMemory(i32 noundef 45056, i32 noundef %7, i32 noundef 32) %9 = load i32, ptr %1, align 4 %10 = add nsw i32 %9, 1 %11 = call i32 @putInMemory(i32 noundef 45056, i32 noundef %10, i32 noundef 7) %12 = load i32, ptr %1, align 4 %13 = add nsw i32 %12, 2 store i32 %13, ptr %1, align 4 br label %14 14: ; preds = %6 %15 = load i32, ptr %2, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %2, align 4 br label %3, !llvm.loop !6 17: ; preds = %3 %18 = call i32 @interrupt(i32 noundef 16, i32 noundef 512, i32 noundef 0, i32 noundef 0, i32 noundef 0) ret void } declare i32 @putInMemory(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @interrupt(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbbrvrdgg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clearScreen() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 32768, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp slt i32 %3, 2000 br i1 %4, label %.lr.ph, label %18 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %13 %6 = load i32, ptr %1, align 4 %7 = call i32 @putInMemory(i32 noundef 45056, i32 noundef %6, i32 noundef 32) %8 = load i32, ptr %1, align 4 %9 = add nsw i32 %8, 1 %10 = call i32 @putInMemory(i32 noundef 45056, i32 noundef %9, i32 noundef 7) %11 = load i32, ptr %1, align 4 %12 = add nsw i32 %11, 2 store i32 %12, ptr %1, align 4 br label %13 13: ; preds = %5 %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %2, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp slt i32 %16, 2000 br i1 %17, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %18 18: ; preds = %._crit_edge, %0 %19 = call i32 @interrupt(i32 noundef 16, i32 noundef 512, i32 noundef 0, i32 noundef 0, i32 noundef 0) ret void } declare i32 @putInMemory(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @interrupt(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp5r7ficz2.c' source_filename = "/tmp/tmp5r7ficz2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UART_Init() #0 { %1 = call i32 (...) @UART_UartInit() ret void } declare i32 @UART_UartInit(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5r7ficz2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UART_Init() #0 { %1 = call i32 (...) @UART_UartInit() ret void } declare i32 @UART_UartInit(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps6_ga9gp.c' source_filename = "/tmp/tmps6_ga9gp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"Abort called.\0A\00", align 1 ; Function Attrs: noinline noreturn nounwind sspstrong uwtable define dso_local void @abort() #0 { %1 = call i32 @write(i32 noundef 2, ptr noundef @.str, i32 noundef 14) %2 = call i32 @_exit(i32 noundef 1) #3 unreachable } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #2 attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmps6_ga9gp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"Abort called.\0A\00", align 1 ; Function Attrs: noinline noreturn nounwind sspstrong uwtable define dso_local void @abort() #0 { %1 = call i32 @write(i32 noundef 2, ptr noundef @.str, i32 noundef 14) %2 = call i32 @_exit(i32 noundef 1) #3 unreachable } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #2 attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp_m6ovpw0.c' source_filename = "/tmp/tmp_m6ovpw0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zstrncat(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %9 = load ptr, ptr %4, align 8 %10 = call i32 @strlen(ptr noundef %9) store i32 %10, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %11 11: ; preds = %35, %3 %12 = load i32, ptr %8, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %38 15: ; preds = %11 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %8, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i8, ptr %19, align 1 %21 = icmp ne i8 %20, 0 br i1 %21, label %23, label %22 22: ; preds = %15 br label %38 23: ; preds = %15 %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr %8, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load i8, ptr %27, align 1 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %7, align 4 %31 = load i32, ptr %8, align 4 %32 = add nsw i32 %30, %31 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %29, i64 %33 store i8 %28, ptr %34, align 1 br label %35 35: ; preds = %23 %36 = load i32, ptr %8, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %8, align 4 br label %11, !llvm.loop !6 38: ; preds = %22, %11 %39 = load ptr, ptr %4, align 8 %40 = load i32, ptr %7, align 4 %41 = load i32, ptr %8, align 4 %42 = add nsw i32 %40, %41 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %39, i64 %43 store i8 0, ptr %44, align 1 %45 = load ptr, ptr %4, align 8 ret ptr %45 } 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/tmp_m6ovpw0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zstrncat(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %9 = load ptr, ptr %4, align 8 %10 = call i32 @strlen(ptr noundef %9) store i32 %10, ptr %7, align 4 store i32 0, ptr %8, align 4 %11 = load i32, ptr %8, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %3 br label %14 14: ; preds = %.lr.ph, %34 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %8, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = icmp ne i8 %19, 0 br i1 %20, label %22, label %21 21: ; preds = %14 br label %40 22: ; preds = %14 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %8, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i8, ptr %26, align 1 %28 = load ptr, ptr %4, align 8 %29 = load i32, ptr %7, align 4 %30 = load i32, ptr %8, align 4 %31 = add nsw i32 %29, %30 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %28, i64 %32 store i8 %27, ptr %33, align 1 br label %34 34: ; preds = %22 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %8, align 4 %37 = load i32, ptr %8, align 4 %38 = load i32, ptr %6, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %14, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %34 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %3 br label %40 40: ; preds = %.loopexit, %21 %41 = load ptr, ptr %4, align 8 %42 = load i32, ptr %7, align 4 %43 = load i32, ptr %8, align 4 %44 = add nsw i32 %42, %43 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %41, i64 %45 store i8 0, ptr %46, align 1 %47 = load ptr, ptr %4, align 8 ret ptr %47 } 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/tmp49u8pocm.c' source_filename = "/tmp/tmp49u8pocm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_int64_t_shr(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, ptr noalias noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 store i32 0, ptr %11, align 4 br label %12 12: ; preds = %47, %5 %13 = load i32, ptr %11, align 4 %14 = load i32, ptr %10, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %50 16: ; preds = %12 %17 = load ptr, ptr %7, align 8 %18 = load i32, ptr %11, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 %21 = load i32, ptr %20, align 4 %22 = icmp sgt i32 %21, 20 br i1 %22, label %23, label %35 23: ; preds = %16 %24 = load ptr, ptr %8, align 8 %25 = load i32, ptr %11, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load i32, ptr %27, align 4 %29 = load ptr, ptr %9, align 8 %30 = load i32, ptr %11, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %29, i64 %31 %33 = load i32, ptr %32, align 4 %34 = ashr i32 %28, %33 br label %41 35: ; preds = %16 %36 = load ptr, ptr %7, align 8 %37 = load i32, ptr %11, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %36, i64 %38 %40 = load i32, ptr %39, align 4 br label %41 41: ; preds = %35, %23 %42 = phi i32 [ %34, %23 ], [ %40, %35 ] %43 = load ptr, ptr %6, align 8 %44 = load i32, ptr %11, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %43, i64 %45 store i32 %42, ptr %46, align 4 br label %47 47: ; preds = %41 %48 = load i32, ptr %11, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %11, align 4 br label %12, !llvm.loop !6 50: ; preds = %12 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp49u8pocm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_int64_t_shr(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, ptr noalias noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 store i32 0, ptr %11, align 4 %12 = load i32, ptr %11, align 4 %13 = load i32, ptr %10, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %52 .lr.ph: ; preds = %5 br label %15 15: ; preds = %.lr.ph, %46 %16 = load ptr, ptr %7, align 8 %17 = load i32, ptr %11, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 %20 = load i32, ptr %19, align 4 %21 = icmp sgt i32 %20, 20 br i1 %21, label %22, label %34 22: ; preds = %15 %23 = load ptr, ptr %8, align 8 %24 = load i32, ptr %11, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 %27 = load i32, ptr %26, align 4 %28 = load ptr, ptr %9, align 8 %29 = load i32, ptr %11, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 %32 = load i32, ptr %31, align 4 %33 = ashr i32 %27, %32 br label %40 34: ; preds = %15 %35 = load ptr, ptr %7, align 8 %36 = load i32, ptr %11, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %35, i64 %37 %39 = load i32, ptr %38, align 4 br label %40 40: ; preds = %34, %22 %41 = phi i32 [ %33, %22 ], [ %39, %34 ] %42 = load ptr, ptr %6, align 8 %43 = load i32, ptr %11, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i32, ptr %42, i64 %44 store i32 %41, ptr %45, align 4 br label %46 46: ; preds = %40 %47 = load i32, ptr %11, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %11, align 4 %49 = load i32, ptr %11, align 4 %50 = load i32, ptr %10, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %46 br label %52 52: ; preds = %._crit_edge, %5 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_nr6d7ld.c' source_filename = "/tmp/tmp_nr6d7ld.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"mkdir(%s)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @makeDirectory(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) ret i32 0 } 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/tmp_nr6d7ld.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"mkdir(%s)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @makeDirectory(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) ret i32 0 } 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/tmpuj90_d73.c' source_filename = "/tmp/tmpuj90_d73.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_lower(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = sext i8 %3 to i32 %5 = icmp sge i32 %4, 97 br i1 %5, label %6, label %10 6: ; preds = %1 %7 = load i8, ptr %2, align 1 %8 = sext i8 %7 to i32 %9 = icmp sle i32 %8, 122 br label %10 10: ; preds = %6, %1 %11 = phi i1 [ false, %1 ], [ %9, %6 ] %12 = zext i1 %11 to i32 ret i32 %12 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuj90_d73.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_lower(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = sext i8 %3 to i32 %5 = icmp sge i32 %4, 97 br i1 %5, label %6, label %10 6: ; preds = %1 %7 = load i8, ptr %2, align 1 %8 = sext i8 %7 to i32 %9 = icmp sle i32 %8, 122 br label %10 10: ; preds = %6, %1 %11 = phi i1 [ false, %1 ], [ %9, %6 ] %12 = zext i1 %11 to i32 ret i32 %12 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9pd6hgox.c' source_filename = "/tmp/tmp9pd6hgox.c" target datalayout = "e-m:e-p270: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 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"\0Argb(%d,%d,%d)\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"%d,%d,%d\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"\0A#%c%c\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"%c%c\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"%c%c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca [7 x i8], align 1 %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 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %8 = load i8, ptr %2, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %9, 104 br i1 %10, label %11, label %42 11: ; preds = %0 %12 = getelementptr inbounds [7 x i8], ptr %3, i64 0, i64 0 %13 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %12) %14 = getelementptr inbounds [7 x i8], ptr %3, i64 0, i64 1 %15 = load i8, ptr %14, align 1 %16 = call i32 @Numbervalue(i8 noundef signext %15) %17 = mul nsw i32 %16, 16 %18 = getelementptr inbounds [7 x i8], ptr %3, i64 0, i64 2 %19 = load i8, ptr %18, align 1 %20 = call i32 @Numbervalue(i8 noundef signext %19) %21 = add nsw i32 %17, %20 store i32 %21, ptr %4, align 4 %22 = getelementptr inbounds [7 x i8], ptr %3, i64 0, i64 3 %23 = load i8, ptr %22, align 1 %24 = call i32 @Numbervalue(i8 noundef signext %23) %25 = mul nsw i32 %24, 16 %26 = getelementptr inbounds [7 x i8], ptr %3, i64 0, i64 4 %27 = load i8, ptr %26, align 1 %28 = call i32 @Numbervalue(i8 noundef signext %27) %29 = add nsw i32 %25, %28 store i32 %29, ptr %5, align 4 %30 = getelementptr inbounds [7 x i8], ptr %3, i64 0, i64 5 %31 = load i8, ptr %30, align 1 %32 = call i32 @Numbervalue(i8 noundef signext %31) %33 = mul nsw i32 %32, 16 %34 = getelementptr inbounds [7 x i8], ptr %3, i64 0, i64 6 %35 = load i8, ptr %34, align 1 %36 = call i32 @Numbervalue(i8 noundef signext %35) %37 = add nsw i32 %33, %36 store i32 %37, ptr %6, align 4 %38 = load i32, ptr %4, align 4 %39 = load i32, ptr %5, align 4 %40 = load i32, ptr %6, align 4 %41 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %38, i32 noundef %39, i32 noundef %40) br label %89 42: ; preds = %0 %43 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %4, ptr noundef %5, ptr noundef %6) %44 = load i32, ptr %4, align 4 %45 = icmp slt i32 %44, 0 br i1 %45, label %46, label %47 46: ; preds = %42 store i32 0, ptr %4, align 4 br label %47 47: ; preds = %46, %42 %48 = load i32, ptr %4, align 4 %49 = icmp sgt i32 %48, 255 br i1 %49, label %50, label %51 50: ; preds = %47 store i32 255, ptr %4, align 4 br label %51 51: ; preds = %50, %47 %52 = load i32, ptr %5, align 4 %53 = icmp slt i32 %52, 0 br i1 %53, label %54, label %55 54: ; preds = %51 store i32 0, ptr %5, align 4 br label %55 55: ; preds = %54, %51 %56 = load i32, ptr %5, align 4 %57 = icmp sgt i32 %56, 255 br i1 %57, label %58, label %59 58: ; preds = %55 store i32 255, ptr %5, align 4 br label %59 59: ; preds = %58, %55 %60 = load i32, ptr %6, align 4 %61 = icmp slt i32 %60, 0 br i1 %61, label %62, label %63 62: ; preds = %59 store i32 0, ptr %6, align 4 br label %63 63: ; preds = %62, %59 %64 = load i32, ptr %6, align 4 %65 = icmp sgt i32 %64, 255 br i1 %65, label %66, label %67 66: ; preds = %63 store i32 255, ptr %6, align 4 br label %67 67: ; preds = %66, %63 %68 = load i32, ptr %4, align 4 %69 = sdiv i32 %68, 16 %70 = call i32 @Hexvalue(i32 noundef %69) %71 = load i32, ptr %4, align 4 %72 = srem i32 %71, 16 %73 = call i32 @Hexvalue(i32 noundef %72) %74 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %70, i32 noundef %73) %75 = load i32, ptr %5, align 4 %76 = sdiv i32 %75, 16 %77 = call i32 @Hexvalue(i32 noundef %76) %78 = load i32, ptr %5, align 4 %79 = srem i32 %78, 16 %80 = call i32 @Hexvalue(i32 noundef %79) %81 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str.5, i32 noundef %77, i32 noundef %80) %82 = load i32, ptr %6, align 4 %83 = sdiv i32 %82, 16 %84 = call i32 @Hexvalue(i32 noundef %83) %85 = load i32, ptr %6, align 4 %86 = srem i32 %85, 16 %87 = call i32 @Hexvalue(i32 noundef %86) %88 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str.6, i32 noundef %84, i32 noundef %87) br label %89 89: ; preds = %67, %11 %90 = load i32, ptr %1, align 4 ret i32 %90 } declare i32 @scanf(ptr noundef, ...) #1 declare i32 @Numbervalue(i8 noundef signext) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, ...) #1 declare i32 @Hexvalue(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/tmp9pd6hgox.c" target datalayout = "e-m:e-p270: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 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"\0Argb(%d,%d,%d)\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"%d,%d,%d\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"\0A#%c%c\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"%c%c\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"%c%c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca [7 x i8], align 1 %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 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %8 = load i8, ptr %2, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %9, 104 br i1 %10, label %11, label %42 11: ; preds = %0 %12 = getelementptr inbounds [7 x i8], ptr %3, i64 0, i64 0 %13 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %12) %14 = getelementptr inbounds [7 x i8], ptr %3, i64 0, i64 1 %15 = load i8, ptr %14, align 1 %16 = call i32 @Numbervalue(i8 noundef signext %15) %17 = mul nsw i32 %16, 16 %18 = getelementptr inbounds [7 x i8], ptr %3, i64 0, i64 2 %19 = load i8, ptr %18, align 1 %20 = call i32 @Numbervalue(i8 noundef signext %19) %21 = add nsw i32 %17, %20 store i32 %21, ptr %4, align 4 %22 = getelementptr inbounds [7 x i8], ptr %3, i64 0, i64 3 %23 = load i8, ptr %22, align 1 %24 = call i32 @Numbervalue(i8 noundef signext %23) %25 = mul nsw i32 %24, 16 %26 = getelementptr inbounds [7 x i8], ptr %3, i64 0, i64 4 %27 = load i8, ptr %26, align 1 %28 = call i32 @Numbervalue(i8 noundef signext %27) %29 = add nsw i32 %25, %28 store i32 %29, ptr %5, align 4 %30 = getelementptr inbounds [7 x i8], ptr %3, i64 0, i64 5 %31 = load i8, ptr %30, align 1 %32 = call i32 @Numbervalue(i8 noundef signext %31) %33 = mul nsw i32 %32, 16 %34 = getelementptr inbounds [7 x i8], ptr %3, i64 0, i64 6 %35 = load i8, ptr %34, align 1 %36 = call i32 @Numbervalue(i8 noundef signext %35) %37 = add nsw i32 %33, %36 store i32 %37, ptr %6, align 4 %38 = load i32, ptr %4, align 4 %39 = load i32, ptr %5, align 4 %40 = load i32, ptr %6, align 4 %41 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %38, i32 noundef %39, i32 noundef %40) br label %89 42: ; preds = %0 %43 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %4, ptr noundef %5, ptr noundef %6) %44 = load i32, ptr %4, align 4 %45 = icmp slt i32 %44, 0 br i1 %45, label %46, label %47 46: ; preds = %42 store i32 0, ptr %4, align 4 br label %47 47: ; preds = %46, %42 %48 = load i32, ptr %4, align 4 %49 = icmp sgt i32 %48, 255 br i1 %49, label %50, label %51 50: ; preds = %47 store i32 255, ptr %4, align 4 br label %51 51: ; preds = %50, %47 %52 = load i32, ptr %5, align 4 %53 = icmp slt i32 %52, 0 br i1 %53, label %54, label %55 54: ; preds = %51 store i32 0, ptr %5, align 4 br label %55 55: ; preds = %54, %51 %56 = load i32, ptr %5, align 4 %57 = icmp sgt i32 %56, 255 br i1 %57, label %58, label %59 58: ; preds = %55 store i32 255, ptr %5, align 4 br label %59 59: ; preds = %58, %55 %60 = load i32, ptr %6, align 4 %61 = icmp slt i32 %60, 0 br i1 %61, label %62, label %63 62: ; preds = %59 store i32 0, ptr %6, align 4 br label %63 63: ; preds = %62, %59 %64 = load i32, ptr %6, align 4 %65 = icmp sgt i32 %64, 255 br i1 %65, label %66, label %67 66: ; preds = %63 store i32 255, ptr %6, align 4 br label %67 67: ; preds = %66, %63 %68 = load i32, ptr %4, align 4 %69 = sdiv i32 %68, 16 %70 = call i32 @Hexvalue(i32 noundef %69) %71 = load i32, ptr %4, align 4 %72 = srem i32 %71, 16 %73 = call i32 @Hexvalue(i32 noundef %72) %74 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %70, i32 noundef %73) %75 = load i32, ptr %5, align 4 %76 = sdiv i32 %75, 16 %77 = call i32 @Hexvalue(i32 noundef %76) %78 = load i32, ptr %5, align 4 %79 = srem i32 %78, 16 %80 = call i32 @Hexvalue(i32 noundef %79) %81 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str.5, i32 noundef %77, i32 noundef %80) %82 = load i32, ptr %6, align 4 %83 = sdiv i32 %82, 16 %84 = call i32 @Hexvalue(i32 noundef %83) %85 = load i32, ptr %6, align 4 %86 = srem i32 %85, 16 %87 = call i32 @Hexvalue(i32 noundef %86) %88 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str.6, i32 noundef %84, i32 noundef %87) br label %89 89: ; preds = %67, %11 %90 = load i32, ptr %1, align 4 ret i32 %90 } declare i32 @scanf(ptr noundef, ...) #1 declare i32 @Numbervalue(i8 noundef signext) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, ...) #1 declare i32 @Hexvalue(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/tmpfb98yx1s.c' source_filename = "/tmp/tmpfb98yx1s.c" target datalayout = "e-m:e-p270: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/tmpfb98yx1s.c" target datalayout = "e-m:e-p270: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/tmp3dx7cedo.c' source_filename = "/tmp/tmp3dx7cedo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EVP_PKEY_EC = dso_local constant 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/tmp3dx7cedo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EVP_PKEY_EC = dso_local constant 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/tmpt6dsfp5v.c' source_filename = "/tmp/tmpt6dsfp5v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readdata(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = ashr i32 %3, 5 %5 = and i32 %4, 248 %6 = or i32 5, %5 %7 = call i32 @SPI_Out(i32 noundef %6) %8 = load i32, ptr %2, align 4 %9 = and i32 %8, 255 %10 = call i32 @SPI_Out(i32 noundef %9) %11 = call i32 (...) @SPI_In() ret i32 %11 } declare i32 @SPI_Out(i32 noundef) #1 declare i32 @SPI_In(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt6dsfp5v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readdata(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = ashr i32 %3, 5 %5 = and i32 %4, 248 %6 = or i32 5, %5 %7 = call i32 @SPI_Out(i32 noundef %6) %8 = load i32, ptr %2, align 4 %9 = and i32 %8, 255 %10 = call i32 @SPI_Out(i32 noundef %9) %11 = call i32 (...) @SPI_In() ret i32 %11 } declare i32 @SPI_Out(i32 noundef) #1 declare i32 @SPI_In(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxpfstkk8.c' source_filename = "/tmp/tmpxpfstkk8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"ENTER THE SIZE \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"ENTER THE ARRAY \0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %4, align 4 br label %8 8: ; preds = %17, %0 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %20 12: ; preds = %8 %13 = load i32, ptr %4, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %14 %16 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %15) br label %17 17: ; preds = %12 %18 = load i32, ptr %4, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %4, align 4 br label %8, !llvm.loop !6 20: ; preds = %8 %21 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %22 = load i32, ptr %3, align 4 %23 = sub nsw i32 %22, 1 %24 = call i32 @quick_sort(ptr noundef %21, i32 noundef 0, i32 noundef %23) store i32 0, ptr %4, align 4 br label %25 25: ; preds = %35, %20 %26 = load i32, ptr %4, align 4 %27 = load i32, ptr %3, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %29, label %38 29: ; preds = %25 %30 = load i32, ptr %4, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %31 %33 = load i32, ptr %32, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %33) br label %35 35: ; preds = %29 %36 = load i32, ptr %4, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %4, align 4 br label %25, !llvm.loop !8 38: ; preds = %25 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @quick_sort(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxpfstkk8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"ENTER THE SIZE \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"ENTER THE ARRAY \0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %16 %12 = load i32, ptr %4, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %13 %15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %14) br label %16 16: ; preds = %11 %17 = load i32, ptr %4, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %4, align 4 %19 = load i32, ptr %4, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %0 %23 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %24 = load i32, ptr %3, align 4 %25 = sub nsw i32 %24, 1 %26 = call i32 @quick_sort(ptr noundef %23, i32 noundef 0, i32 noundef %25) store i32 0, ptr %4, align 4 %27 = load i32, ptr %4, align 4 %28 = load i32, ptr %3, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %.lr.ph2, label %42 .lr.ph2: ; preds = %22 br label %30 30: ; preds = %.lr.ph2, %36 %31 = load i32, ptr %4, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %32 %34 = load i32, ptr %33, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %34) br label %36 36: ; preds = %30 %37 = load i32, ptr %4, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %4, align 4 %39 = load i32, ptr %4, align 4 %40 = load i32, ptr %3, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %30, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %36 br label %42 42: ; preds = %._crit_edge3, %22 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @quick_sort(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmprnsw9enf.c' source_filename = "/tmp/tmprnsw9enf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mag2dB(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 store double %0, ptr %2, align 8 store double 0x40215F2CED384F29, ptr %3, align 8 %4 = load double, ptr %2, align 8 %5 = call double @log(double noundef %4) %6 = fmul double %5, 0x40215F2CED384F29 ret double %6 } declare double @log(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/tmprnsw9enf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mag2dB(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 store double %0, ptr %2, align 8 store double 0x40215F2CED384F29, ptr %3, align 8 %4 = load double, ptr %2, align 8 %5 = call double @log(double noundef %4) %6 = fmul double %5, 0x40215F2CED384F29 ret double %6 } declare double @log(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/tmp6khr4rfq.c' source_filename = "/tmp/tmp6khr4rfq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ReturnADoubleArray() #0 { %1 = alloca ptr, align 8 %2 = call ptr @malloc(i32 noundef 24) store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = getelementptr inbounds double, ptr %3, i64 0 store double 2.345000e+01, ptr %4, align 8 %5 = load ptr, ptr %1, align 8 %6 = getelementptr inbounds double, ptr %5, i64 1 store double -9.987000e+01, ptr %6, align 8 %7 = load ptr, ptr %1, align 8 %8 = getelementptr inbounds double, ptr %7, i64 2 store double 2.500000e-01, ptr %8, align 8 %9 = load ptr, ptr %1, align 8 ret ptr %9 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6khr4rfq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ReturnADoubleArray() #0 { %1 = alloca ptr, align 8 %2 = call ptr @malloc(i32 noundef 24) store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = getelementptr inbounds double, ptr %3, i64 0 store double 2.345000e+01, ptr %4, align 8 %5 = load ptr, ptr %1, align 8 %6 = getelementptr inbounds double, ptr %5, i64 1 store double -9.987000e+01, ptr %6, align 8 %7 = load ptr, ptr %1, align 8 %8 = getelementptr inbounds double, ptr %7, i64 2 store double 2.500000e-01, ptr %8, align 8 %9 = load ptr, ptr %1, align 8 ret ptr %9 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsd3e3kkv.c' source_filename = "/tmp/tmpsd3e3kkv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dci_format2A_sizeof(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = sitofp i32 %6 to float %8 = load i32, ptr %3, align 4 %9 = call float @srslte_ra_type0_P(i32 noundef %8) %10 = fdiv float %7, %9 %11 = call i64 @ceilf(float noundef %10) %12 = trunc i64 %11 to i32 %13 = add nsw i32 %12, 2 %14 = add nsw i32 %13, 3 %15 = add nsw i32 %14, 1 %16 = add nsw i32 %15, 16 %17 = load i32, ptr %4, align 4 %18 = call i32 @precoding_bits_f2a(i32 noundef %17) %19 = add nsw i32 %16, %18 store i32 %19, ptr %5, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp sgt i32 %20, 10 br i1 %21, label %22, label %25 22: ; preds = %2 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 br label %25 25: ; preds = %22, %2 br label %26 26: ; preds = %30, %25 %27 = load i32, ptr %5, align 4 %28 = call i64 @is_ambiguous_size(i32 noundef %27) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %33 30: ; preds = %26 %31 = load i32, ptr %5, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %5, align 4 br label %26, !llvm.loop !6 33: ; preds = %26 %34 = load i32, ptr %5, align 4 ret i32 %34 } declare i64 @ceilf(float noundef) #1 declare float @srslte_ra_type0_P(i32 noundef) #1 declare i32 @precoding_bits_f2a(i32 noundef) #1 declare i64 @is_ambiguous_size(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/tmpsd3e3kkv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dci_format2A_sizeof(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = sitofp i32 %6 to float %8 = load i32, ptr %3, align 4 %9 = call float @srslte_ra_type0_P(i32 noundef %8) %10 = fdiv float %7, %9 %11 = call i64 @ceilf(float noundef %10) %12 = trunc i64 %11 to i32 %13 = add nsw i32 %12, 2 %14 = add nsw i32 %13, 3 %15 = add nsw i32 %14, 1 %16 = add nsw i32 %15, 16 %17 = load i32, ptr %4, align 4 %18 = call i32 @precoding_bits_f2a(i32 noundef %17) %19 = add nsw i32 %16, %18 store i32 %19, ptr %5, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp sgt i32 %20, 10 br i1 %21, label %22, label %25 22: ; preds = %2 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 br label %25 25: ; preds = %22, %2 %26 = load i32, ptr %5, align 4 %27 = call i64 @is_ambiguous_size(i32 noundef %26) %28 = icmp ne i64 %27, 0 br i1 %28, label %.lr.ph, label %35 .lr.ph: ; preds = %25 br label %29 29: ; preds = %.lr.ph, %29 %30 = load i32, ptr %5, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %5, align 4 %32 = load i32, ptr %5, align 4 %33 = call i64 @is_ambiguous_size(i32 noundef %32) %34 = icmp ne i64 %33, 0 br i1 %34, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %25 %36 = load i32, ptr %5, align 4 ret i32 %36 } declare i64 @ceilf(float noundef) #1 declare float @srslte_ra_type0_P(i32 noundef) #1 declare i32 @precoding_bits_f2a(i32 noundef) #1 declare i64 @is_ambiguous_size(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/tmp6pqlwjg8.c' source_filename = "/tmp/tmp6pqlwjg8.c" target datalayout = "e-m:e-p270: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"%c - %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 65, ptr %2, align 4 br label %3 3: ; preds = %10, %0 %4 = load i32, ptr %2, align 4 %5 = icmp sle i32 %4, 90 br i1 %5, label %6, label %13 6: ; preds = %3 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8) br label %10 10: ; preds = %6 %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %2, align 4 br label %3, !llvm.loop !6 13: ; preds = %3 store i32 97, ptr %2, align 4 br label %14 14: ; preds = %21, %13 %15 = load i32, ptr %2, align 4 %16 = icmp sle i32 %15, 122 br i1 %16, label %17, label %24 17: ; preds = %14 %18 = load i32, ptr %2, align 4 %19 = load i32, ptr %2, align 4 %20 = call i32 @printf(ptr noundef @.str, i32 noundef %18, i32 noundef %19) br label %21 21: ; preds = %17 %22 = load i32, ptr %2, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %2, align 4 br label %14, !llvm.loop !8 24: ; preds = %14 store i32 48, ptr %2, align 4 br label %25 25: ; preds = %32, %24 %26 = load i32, ptr %2, align 4 %27 = icmp sle i32 %26, 57 br i1 %27, label %28, label %35 28: ; preds = %25 %29 = load i32, ptr %2, align 4 %30 = load i32, ptr %2, align 4 %31 = call i32 @printf(ptr noundef @.str, i32 noundef %29, i32 noundef %30) 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 %25, !llvm.loop !9 35: ; preds = %25 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6pqlwjg8.c" target datalayout = "e-m:e-p270: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"%c - %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 65, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp sle i32 %3, 90 br i1 %4, label %.lr.ph, label %14 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %9 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %7) br label %9 9: ; preds = %5 %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %2, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp sle i32 %12, 90 br i1 %13, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %14 14: ; preds = %._crit_edge, %0 store i32 97, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp sle i32 %15, 122 br i1 %16, label %.lr.ph2, label %26 .lr.ph2: ; preds = %14 br label %17 17: ; preds = %.lr.ph2, %21 %18 = load i32, ptr %2, align 4 %19 = load i32, ptr %2, align 4 %20 = call i32 @printf(ptr noundef @.str, i32 noundef %18, i32 noundef %19) br label %21 21: ; preds = %17 %22 = load i32, ptr %2, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %2, align 4 %24 = load i32, ptr %2, align 4 %25 = icmp sle i32 %24, 122 br i1 %25, label %17, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %21 br label %26 26: ; preds = %._crit_edge3, %14 store i32 48, ptr %2, align 4 %27 = load i32, ptr %2, align 4 %28 = icmp sle i32 %27, 57 br i1 %28, label %.lr.ph5, label %38 .lr.ph5: ; preds = %26 br label %29 29: ; preds = %.lr.ph5, %33 %30 = load i32, ptr %2, align 4 %31 = load i32, ptr %2, align 4 %32 = call i32 @printf(ptr noundef @.str, i32 noundef %30, i32 noundef %31) br label %33 33: ; preds = %29 %34 = load i32, ptr %2, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %2, align 4 %36 = load i32, ptr %2, align 4 %37 = icmp sle i32 %36, 57 br i1 %37, label %29, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %33 br label %38 38: ; preds = %._crit_edge6, %26 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpwwqib7qs.c' source_filename = "/tmp/tmpwwqib7qs.c" target datalayout = "e-m:e-p270: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 [22 x i8] c"\1B[46;1m \1B[0m\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"\1B[31;42;1m%6d%s\1B[0m\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"\1B[32;43;1m%6d%s\1B[0m\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"\1B[33;44;1m%6d%s\1B[0m\00", align 1 @.str.5 = private unnamed_addr constant [20 x i8] c"\1B[34;45;1m%6d%s\1B[0m\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"\1B[35;46;1m%6d%s\1B[0m\00", align 1 @.str.7 = private unnamed_addr constant [20 x i8] c"\1B[36;41;1m%6d%s\1B[0m\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_number(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 switch i32 %3, label %39 [ i32 0, label %4 i32 2, label %6 i32 4, label %9 i32 8, label %12 i32 16, label %15 i32 32, label %18 i32 64, label %21 i32 128, label %24 i32 256, label %27 i32 512, label %30 i32 1024, label %33 i32 2048, label %36 ] 4: ; preds = %1 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %39 6: ; preds = %1 %7 = load i32, ptr %2, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7, ptr noundef @.str.2) br label %39 9: ; preds = %1 %10 = load i32, ptr %2, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %10, ptr noundef @.str.2) br label %39 12: ; preds = %1 %13 = load i32, ptr %2, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %13, ptr noundef @.str.2) br label %39 15: ; preds = %1 %16 = load i32, ptr %2, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %16, ptr noundef @.str.2) br label %39 18: ; preds = %1 %19 = load i32, ptr %2, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %19, ptr noundef @.str.2) br label %39 21: ; preds = %1 %22 = load i32, ptr %2, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %22, ptr noundef @.str.2) br label %39 24: ; preds = %1 %25 = load i32, ptr %2, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %25, ptr noundef @.str.2) br label %39 27: ; preds = %1 %28 = load i32, ptr %2, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %28, ptr noundef @.str.2) br label %39 30: ; preds = %1 %31 = load i32, ptr %2, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %31, ptr noundef @.str.2) br label %39 33: ; preds = %1 %34 = load i32, ptr %2, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %34, ptr noundef @.str.2) br label %39 36: ; preds = %1 %37 = load i32, ptr %2, align 4 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %37, ptr noundef @.str.2) br label %39 39: ; preds = %1, %36, %33, %30, %27, %24, %21, %18, %15, %12, %9, %6, %4 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwwqib7qs.c" target datalayout = "e-m:e-p270: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 [22 x i8] c"\1B[46;1m \1B[0m\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"\1B[31;42;1m%6d%s\1B[0m\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"\1B[32;43;1m%6d%s\1B[0m\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"\1B[33;44;1m%6d%s\1B[0m\00", align 1 @.str.5 = private unnamed_addr constant [20 x i8] c"\1B[34;45;1m%6d%s\1B[0m\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"\1B[35;46;1m%6d%s\1B[0m\00", align 1 @.str.7 = private unnamed_addr constant [20 x i8] c"\1B[36;41;1m%6d%s\1B[0m\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_number(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 switch i32 %3, label %39 [ i32 0, label %4 i32 2, label %6 i32 4, label %9 i32 8, label %12 i32 16, label %15 i32 32, label %18 i32 64, label %21 i32 128, label %24 i32 256, label %27 i32 512, label %30 i32 1024, label %33 i32 2048, label %36 ] 4: ; preds = %1 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %39 6: ; preds = %1 %7 = load i32, ptr %2, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7, ptr noundef @.str.2) br label %39 9: ; preds = %1 %10 = load i32, ptr %2, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %10, ptr noundef @.str.2) br label %39 12: ; preds = %1 %13 = load i32, ptr %2, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %13, ptr noundef @.str.2) br label %39 15: ; preds = %1 %16 = load i32, ptr %2, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %16, ptr noundef @.str.2) br label %39 18: ; preds = %1 %19 = load i32, ptr %2, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %19, ptr noundef @.str.2) br label %39 21: ; preds = %1 %22 = load i32, ptr %2, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %22, ptr noundef @.str.2) br label %39 24: ; preds = %1 %25 = load i32, ptr %2, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %25, ptr noundef @.str.2) br label %39 27: ; preds = %1 %28 = load i32, ptr %2, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %28, ptr noundef @.str.2) br label %39 30: ; preds = %1 %31 = load i32, ptr %2, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %31, ptr noundef @.str.2) br label %39 33: ; preds = %1 %34 = load i32, ptr %2, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %34, ptr noundef @.str.2) br label %39 36: ; preds = %1 %37 = load i32, ptr %2, align 4 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %37, ptr noundef @.str.2) br label %39 39: ; preds = %36, %33, %30, %27, %24, %21, %18, %15, %12, %9, %6, %4, %1 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/tmpk6yb2l0j.c' source_filename = "/tmp/tmpk6yb2l0j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %7, align 8 br label %9 9: ; preds = %12, %3 %10 = load i64, ptr %6, align 8 %11 = icmp ugt i64 %10, 0 br i1 %11, label %12, label %19 12: ; preds = %9 %13 = load i32, ptr %5, align 4 %14 = trunc i32 %13 to i8 %15 = load ptr, ptr %7, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %7, align 8 store i8 %14, ptr %15, align 1 %17 = load i64, ptr %6, align 8 %18 = add i64 %17, -1 store i64 %18, ptr %6, align 8 br label %9, !llvm.loop !6 19: ; preds = %9 %20 = load ptr, ptr %4, align 8 ret ptr %20 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpk6yb2l0j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %7, align 8 %9 = load i64, ptr %6, align 8 %10 = icmp ugt i64 %9, 0 br i1 %10, label %.lr.ph, label %20 .lr.ph: ; preds = %3 br label %11 11: ; preds = %.lr.ph, %11 %12 = load i32, ptr %5, align 4 %13 = trunc i32 %12 to i8 %14 = load ptr, ptr %7, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %7, align 8 store i8 %13, ptr %14, align 1 %16 = load i64, ptr %6, align 8 %17 = add i64 %16, -1 store i64 %17, ptr %6, align 8 %18 = load i64, ptr %6, align 8 %19 = icmp ugt i64 %18, 0 br i1 %19, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %20 20: ; preds = %._crit_edge, %3 %21 = load ptr, ptr %4, align 8 ret ptr %21 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpqb6cn9d1.c' source_filename = "/tmp/tmpqb6cn9d1.c" target datalayout = "e-m:e-p270: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/tmpqb6cn9d1.c" target datalayout = "e-m:e-p270: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/tmpc6oererw.c' source_filename = "/tmp/tmpc6oererw.c" target datalayout = "e-m:e-p270: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/tmpc6oererw.c" target datalayout = "e-m:e-p270: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/tmpeqo80brg.c' source_filename = "/tmp/tmpeqo80brg.c" target datalayout = "e-m:e-p270: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/tmpeqo80brg.c" target datalayout = "e-m:e-p270: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/tmpwiax7oe4.c' source_filename = "/tmp/tmpwiax7oe4.c" target datalayout = "e-m:e-p270: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"Ready to run. Press g/G to run.\00\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"Branching to program. Good bye!\00\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @notmain() #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 ptr, align 8 %8 = call i32 (...) @uart_init() %9 = call i32 @hexstring(i32 noundef 305419896) %10 = call i32 (...) @GETPC() %11 = call i32 @hexstring(i32 noundef %10) %12 = call i32 @hexstring(i32 noundef 32768) %13 = call i32 (...) @timer_init() br label %14 14: ; preds = %0, %161 store i32 1, ptr %4, align 4 store i32 192, ptr %5, align 4 store i32 0, ptr %6, align 4 store ptr inttoptr (i64 32768 to ptr), ptr %7, align 8 %15 = call i32 @uart_send(i32 noundef 21) %16 = call i32 (...) @timer_tick() store i32 %16, ptr %3, align 4 br label %17 17: ; preds = %14, %31 %18 = call i32 (...) @timer_tick() store i32 %18, ptr %1, align 4 %19 = load i32, ptr %1, align 4 %20 = load i32, ptr %3, align 4 %21 = sub i32 %19, %20 %22 = icmp uge i32 %21, 4000000 br i1 %22, label %23, label %27 23: ; preds = %17 %24 = call i32 @uart_send(i32 noundef 21) %25 = load i32, ptr %3, align 4 %26 = add i32 %25, 4000000 store i32 %26, ptr %3, align 4 br label %27 27: ; preds = %23, %17 %28 = call i64 (...) @uart_check() %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %27 br label %32 31: ; preds = %27 br label %17 32: ; preds = %30 br label %33 33: ; preds = %132, %32 %34 = load i32, ptr %5, align 4 %35 = icmp ne i32 %34, 255 br i1 %35, label %36, label %133 36: ; preds = %33 %37 = call i32 (...) @uart_recv() store i32 %37, ptr %2, align 4 %38 = load i32, ptr %5, align 4 switch i32 %38, label %119 [ i32 192, label %39 i32 193, label %81 i32 194, label %93 i32 128, label %104 ] 39: ; preds = %36 %40 = load i32, ptr %2, align 4 switch i32 %40, label %79 [ i32 1, label %41 i32 4, label %45 ] 41: ; preds = %39 %42 = load i32, ptr %2, align 4 store i32 %42, ptr %6, align 4 %43 = load i32, ptr %5, align 4 %44 = add i32 %43, 1 store i32 %44, ptr %5, align 4 br label %80 45: ; preds = %39 %46 = call i32 @uart_send(i32 noundef 6) %47 = call i32 (...) @timer_tick() store i32 %47, ptr %3, align 4 br label %48 48: ; preds = %45, %55 %49 = call i32 (...) @timer_tick() store i32 %49, ptr %1, align 4 %50 = load i32, ptr %1, align 4 %51 = load i32, ptr %3, align 4 %52 = sub i32 %50, %51 %53 = icmp uge i32 %52, 2000000 br i1 %53, label %54, label %55 54: ; preds = %48 br label %56 55: ; preds = %48 br label %48 56: ; preds = %54 %57 = call i32 @uart_send(i32 noundef 13) %58 = call i32 @uart_send(i32 noundef 10) %59 = call i32 @uart_send(i32 noundef 10) %60 = call i32 @uart_send(i32 noundef 10) %61 = call i32 @uart_writeline(ptr noundef @.str) br label %62 62: ; preds = %56, %78 %63 = call i32 (...) @uart_recv() store i32 %63, ptr %2, align 4 %64 = load i32, ptr %2, align 4 %65 = icmp eq i32 %64, 103 br i1 %65, label %69, label %66 66: ; preds = %62 %67 = load i32, ptr %2, align 4 %68 = icmp eq i32 %67, 71 br i1 %68, label %69, label %78 69: ; preds = %66, %62 %70 = call i32 @uart_send(i32 noundef 13) %71 = call i32 @uart_send(i32 noundef 45) %72 = call i32 @uart_send(i32 noundef 45) %73 = call i32 @uart_send(i32 noundef 13) %74 = call i32 @uart_send(i32 noundef 10) %75 = call i32 @uart_send(i32 noundef 10) %76 = call i32 @uart_writeline(ptr noundef @.str.1) %77 = call i32 @BRANCHTO(i32 noundef 32768) br label %78 78: ; preds = %69, %66 br label %62 79: ; preds = %39 store i32 255, ptr %5, align 4 br label %80 80: ; preds = %79, %41 br label %132 81: ; preds = %36 %82 = load i32, ptr %2, align 4 %83 = load i32, ptr %4, align 4 %84 = icmp eq i32 %82, %83 br i1 %84, label %85, label %91 85: ; preds = %81 %86 = load i32, ptr %2, align 4 %87 = load i32, ptr %6, align 4 %88 = add i32 %87, %86 store i32 %88, ptr %6, align 4 %89 = load i32, ptr %5, align 4 %90 = add i32 %89, 1 store i32 %90, ptr %5, align 4 br label %92 91: ; preds = %81 store i32 255, ptr %5, align 4 br label %92 92: ; preds = %91, %85 br label %132 93: ; preds = %36 %94 = load i32, ptr %2, align 4 %95 = load i32, ptr %4, align 4 %96 = sub i32 255, %95 %97 = icmp eq i32 %94, %96 br i1 %97, label %98, label %102 98: ; preds = %93 %99 = load i32, ptr %2, align 4 %100 = load i32, ptr %6, align 4 %101 = add i32 %100, %99 store i32 %101, ptr %6, align 4 store i32 0, ptr %5, align 4 br label %103 102: ; preds = %93 store i32 255, ptr %5, align 4 br label %103 103: ; preds = %102, %98 br label %132 104: ; preds = %36 %105 = load i32, ptr %6, align 4 %106 = and i32 %105, 255 store i32 %106, ptr %6, align 4 %107 = load i32, ptr %2, align 4 %108 = load i32, ptr %6, align 4 %109 = icmp eq i32 %107, %108 br i1 %109, label %110, label %117 110: ; preds = %104 %111 = call i32 @uart_send(i32 noundef 6) %112 = load i32, ptr %4, align 4 %113 = add i32 %112, 1 %114 = and i32 %113, 255 store i32 %114, ptr %4, align 4 %115 = load ptr, ptr %7, align 8 %116 = getelementptr inbounds i8, ptr %115, i64 128 store ptr %116, ptr %7, align 8 store i32 192, ptr %5, align 4 br label %118 117: ; preds = %104 store i32 255, ptr %5, align 4 br label %118 118: ; preds = %117, %110 br label %132 119: ; preds = %36 %120 = load i32, ptr %2, align 4 %121 = load i32, ptr %6, align 4 %122 = add i32 %121, %120 store i32 %122, ptr %6, align 4 %123 = load i32, ptr %2, align 4 %124 = and i32 %123, 255 %125 = trunc i32 %124 to i8 %126 = load ptr, ptr %7, align 8 %127 = load i32, ptr %5, align 4 %128 = zext i32 %127 to i64 %129 = getelementptr inbounds i8, ptr %126, i64 %128 store i8 %125, ptr %129, align 1 %130 = load i32, ptr %5, align 4 %131 = add i32 %130, 1 store i32 %131, ptr %5, align 4 br label %132 132: ; preds = %119, %118, %103, %92, %80 br label %33, !llvm.loop !6 133: ; preds = %33 %134 = call i32 @uart_send(i32 noundef 24) %135 = call i32 @uart_send(i32 noundef 24) %136 = call i32 @uart_send(i32 noundef 24) %137 = call i32 @uart_send(i32 noundef 24) %138 = call i32 @uart_send(i32 noundef 24) %139 = call i32 (...) @timer_tick() store i32 %139, ptr %3, align 4 br label %140 140: ; preds = %133, %147 %141 = call i32 (...) @timer_tick() store i32 %141, ptr %1, align 4 %142 = load i32, ptr %1, align 4 %143 = load i32, ptr %3, align 4 %144 = sub i32 %142, %143 %145 = icmp uge i32 %144, 2000000 br i1 %145, label %146, label %147 146: ; preds = %140 br label %148 147: ; preds = %140 br label %140 148: ; preds = %146 %149 = call i32 @uart_send(i32 noundef 13) %150 = call i32 @uart_send(i32 noundef 10) %151 = call i32 @uart_send(i32 noundef 10) %152 = call i32 @hexstring(i32 noundef 12245933) %153 = call i32 (...) @uart_flush() br label %154 154: ; preds = %148, %160 %155 = call i64 (...) @uart_check() %156 = icmp ne i64 %155, 0 br i1 %156, label %157, label %159 157: ; preds = %154 %158 = call i32 (...) @uart_recv() br label %160 159: ; preds = %154 br label %161 160: ; preds = %157 br label %154 161: ; preds = %159 br label %14 } declare i32 @uart_init(...) #1 declare i32 @hexstring(i32 noundef) #1 declare i32 @GETPC(...) #1 declare i32 @timer_init(...) #1 declare i32 @uart_send(i32 noundef) #1 declare i32 @timer_tick(...) #1 declare i64 @uart_check(...) #1 declare i32 @uart_recv(...) #1 declare i32 @uart_writeline(ptr noundef) #1 declare i32 @BRANCHTO(i32 noundef) #1 declare i32 @uart_flush(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpwiax7oe4.c" target datalayout = "e-m:e-p270: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"Ready to run. Press g/G to run.\00\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"Branching to program. Good bye!\00\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @notmain() #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 ptr, align 8 %8 = call i32 (...) @uart_init() %9 = call i32 @hexstring(i32 noundef 305419896) %10 = call i32 (...) @GETPC() %11 = call i32 @hexstring(i32 noundef %10) %12 = call i32 @hexstring(i32 noundef 32768) %13 = call i32 (...) @timer_init() br label %14 14: ; preds = %160, %0 store i32 1, ptr %4, align 4 store i32 192, ptr %5, align 4 store i32 0, ptr %6, align 4 store ptr inttoptr (i64 32768 to ptr), ptr %7, align 8 %15 = call i32 @uart_send(i32 noundef 21) %16 = call i32 (...) @timer_tick() store i32 %16, ptr %3, align 4 br label %17 17: ; preds = %27, %14 %18 = call i32 (...) @timer_tick() store i32 %18, ptr %1, align 4 %19 = load i32, ptr %1, align 4 %20 = load i32, ptr %3, align 4 %21 = sub i32 %19, %20 %22 = icmp uge i32 %21, 4000000 br i1 %22, label %23, label %27 23: ; preds = %17 %24 = call i32 @uart_send(i32 noundef 21) %25 = load i32, ptr %3, align 4 %26 = add i32 %25, 4000000 store i32 %26, ptr %3, align 4 br label %27 27: ; preds = %23, %17 %28 = call i64 (...) @uart_check() %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %17 30: ; preds = %27 br label %31 31: ; preds = %30 %32 = load i32, ptr %5, align 4 %33 = icmp ne i32 %32, 255 br i1 %33, label %.lr.ph, label %132 .lr.ph: ; preds = %31 br label %34 34: ; preds = %.lr.ph, %129 %35 = call i32 (...) @uart_recv() store i32 %35, ptr %2, align 4 %36 = load i32, ptr %5, align 4 switch i32 %36, label %116 [ i32 192, label %37 i32 193, label %78 i32 194, label %90 i32 128, label %101 ] 37: ; preds = %34 %38 = load i32, ptr %2, align 4 switch i32 %38, label %76 [ i32 1, label %39 i32 4, label %43 ] 39: ; preds = %37 %40 = load i32, ptr %2, align 4 store i32 %40, ptr %6, align 4 %41 = load i32, ptr %5, align 4 %42 = add i32 %41, 1 store i32 %42, ptr %5, align 4 br label %77 43: ; preds = %37 %44 = call i32 @uart_send(i32 noundef 6) %45 = call i32 (...) @timer_tick() store i32 %45, ptr %3, align 4 br label %46 46: ; preds = %46, %43 %47 = call i32 (...) @timer_tick() store i32 %47, ptr %1, align 4 %48 = load i32, ptr %1, align 4 %49 = load i32, ptr %3, align 4 %50 = sub i32 %48, %49 %51 = icmp uge i32 %50, 2000000 br i1 %51, label %52, label %46 52: ; preds = %46 br label %53 53: ; preds = %52 %54 = call i32 @uart_send(i32 noundef 13) %55 = call i32 @uart_send(i32 noundef 10) %56 = call i32 @uart_send(i32 noundef 10) %57 = call i32 @uart_send(i32 noundef 10) %58 = call i32 @uart_writeline(ptr noundef @.str) br label %59 59: ; preds = %75, %53 %60 = call i32 (...) @uart_recv() store i32 %60, ptr %2, align 4 %61 = load i32, ptr %2, align 4 %62 = icmp eq i32 %61, 103 br i1 %62, label %66, label %63 63: ; preds = %59 %64 = load i32, ptr %2, align 4 %65 = icmp eq i32 %64, 71 br i1 %65, label %66, label %75 66: ; preds = %63, %59 %67 = call i32 @uart_send(i32 noundef 13) %68 = call i32 @uart_send(i32 noundef 45) %69 = call i32 @uart_send(i32 noundef 45) %70 = call i32 @uart_send(i32 noundef 13) %71 = call i32 @uart_send(i32 noundef 10) %72 = call i32 @uart_send(i32 noundef 10) %73 = call i32 @uart_writeline(ptr noundef @.str.1) %74 = call i32 @BRANCHTO(i32 noundef 32768) br label %75 75: ; preds = %66, %63 br label %59 76: ; preds = %37 store i32 255, ptr %5, align 4 br label %77 77: ; preds = %76, %39 br label %129 78: ; preds = %34 %79 = load i32, ptr %2, align 4 %80 = load i32, ptr %4, align 4 %81 = icmp eq i32 %79, %80 br i1 %81, label %82, label %88 82: ; preds = %78 %83 = load i32, ptr %2, align 4 %84 = load i32, ptr %6, align 4 %85 = add i32 %84, %83 store i32 %85, ptr %6, align 4 %86 = load i32, ptr %5, align 4 %87 = add i32 %86, 1 store i32 %87, ptr %5, align 4 br label %89 88: ; preds = %78 store i32 255, ptr %5, align 4 br label %89 89: ; preds = %88, %82 br label %129 90: ; preds = %34 %91 = load i32, ptr %2, align 4 %92 = load i32, ptr %4, align 4 %93 = sub i32 255, %92 %94 = icmp eq i32 %91, %93 br i1 %94, label %95, label %99 95: ; preds = %90 %96 = load i32, ptr %2, align 4 %97 = load i32, ptr %6, align 4 %98 = add i32 %97, %96 store i32 %98, ptr %6, align 4 store i32 0, ptr %5, align 4 br label %100 99: ; preds = %90 store i32 255, ptr %5, align 4 br label %100 100: ; preds = %99, %95 br label %129 101: ; preds = %34 %102 = load i32, ptr %6, align 4 %103 = and i32 %102, 255 store i32 %103, ptr %6, align 4 %104 = load i32, ptr %2, align 4 %105 = load i32, ptr %6, align 4 %106 = icmp eq i32 %104, %105 br i1 %106, label %107, label %114 107: ; preds = %101 %108 = call i32 @uart_send(i32 noundef 6) %109 = load i32, ptr %4, align 4 %110 = add i32 %109, 1 %111 = and i32 %110, 255 store i32 %111, ptr %4, align 4 %112 = load ptr, ptr %7, align 8 %113 = getelementptr inbounds i8, ptr %112, i64 128 store ptr %113, ptr %7, align 8 store i32 192, ptr %5, align 4 br label %115 114: ; preds = %101 store i32 255, ptr %5, align 4 br label %115 115: ; preds = %114, %107 br label %129 116: ; preds = %34 %117 = load i32, ptr %2, align 4 %118 = load i32, ptr %6, align 4 %119 = add i32 %118, %117 store i32 %119, ptr %6, align 4 %120 = load i32, ptr %2, align 4 %121 = and i32 %120, 255 %122 = trunc i32 %121 to i8 %123 = load ptr, ptr %7, align 8 %124 = load i32, ptr %5, align 4 %125 = zext i32 %124 to i64 %126 = getelementptr inbounds i8, ptr %123, i64 %125 store i8 %122, ptr %126, align 1 %127 = load i32, ptr %5, align 4 %128 = add i32 %127, 1 store i32 %128, ptr %5, align 4 br label %129 129: ; preds = %116, %115, %100, %89, %77 %130 = load i32, ptr %5, align 4 %131 = icmp ne i32 %130, 255 br i1 %131, label %34, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %129 br label %132 132: ; preds = %._crit_edge, %31 %133 = call i32 @uart_send(i32 noundef 24) %134 = call i32 @uart_send(i32 noundef 24) %135 = call i32 @uart_send(i32 noundef 24) %136 = call i32 @uart_send(i32 noundef 24) %137 = call i32 @uart_send(i32 noundef 24) %138 = call i32 (...) @timer_tick() store i32 %138, ptr %3, align 4 br label %139 139: ; preds = %139, %132 %140 = call i32 (...) @timer_tick() store i32 %140, ptr %1, align 4 %141 = load i32, ptr %1, align 4 %142 = load i32, ptr %3, align 4 %143 = sub i32 %141, %142 %144 = icmp uge i32 %143, 2000000 br i1 %144, label %145, label %139 145: ; preds = %139 br label %146 146: ; preds = %145 %147 = call i32 @uart_send(i32 noundef 13) %148 = call i32 @uart_send(i32 noundef 10) %149 = call i32 @uart_send(i32 noundef 10) %150 = call i32 @hexstring(i32 noundef 12245933) %151 = call i32 (...) @uart_flush() %152 = call i64 (...) @uart_check() %153 = icmp ne i64 %152, 0 br i1 %153, label %.lr.ph2, label %156 .lr.ph2: ; preds = %146 br label %154 154: ; preds = %.lr.ph2, %157 %155 = call i32 (...) @uart_recv() br label %157 ._crit_edge3: ; preds = %157 br label %156 156: ; preds = %._crit_edge3, %146 br label %160 157: ; preds = %154 %158 = call i64 (...) @uart_check() %159 = icmp ne i64 %158, 0 br i1 %159, label %154, label %._crit_edge3 160: ; preds = %156 br label %14 } declare i32 @uart_init(...) #1 declare i32 @hexstring(i32 noundef) #1 declare i32 @GETPC(...) #1 declare i32 @timer_init(...) #1 declare i32 @uart_send(i32 noundef) #1 declare i32 @timer_tick(...) #1 declare i64 @uart_check(...) #1 declare i32 @uart_recv(...) #1 declare i32 @uart_writeline(ptr noundef) #1 declare i32 @BRANCHTO(i32 noundef) #1 declare i32 @uart_flush(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp6odl4qnb.c' source_filename = "/tmp/tmp6odl4qnb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"*\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %4 4: ; preds = %18, %0 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 7 br i1 %6, label %7, label %21 7: ; preds = %4 %8 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %9 9: ; preds = %14, %7 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %10, 7 br i1 %11, label %12, label %17 12: ; preds = %9 %13 = call i32 @printf(ptr noundef @.str.1) br label %14 14: ; preds = %12 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 br label %9, !llvm.loop !6 17: ; preds = %9 br label %18 18: ; preds = %17 %19 = load i32, ptr %2, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %2, align 4 br label %4, !llvm.loop !8 21: ; preds = %4 ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6odl4qnb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"*\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 7 br i1 %5, label %.lr.ph2, label %23 .lr.ph2: ; preds = %0 br label %6 6: ; preds = %.lr.ph2, %18 %7 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 7 br i1 %9, label %.lr.ph, label %17 .lr.ph: ; preds = %6 br label %10 10: ; preds = %.lr.ph, %12 %11 = call i32 @printf(ptr noundef @.str.1) br label %12 12: ; preds = %10 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %3, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp slt i32 %15, 7 br i1 %16, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %17 17: ; preds = %._crit_edge, %6 br label %18 18: ; preds = %17 %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 = icmp slt i32 %21, 7 br i1 %22, label %6, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %18 br label %23 23: ; preds = %._crit_edge3, %0 ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpm7lufnzh.c' source_filename = "/tmp/tmpm7lufnzh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @ES_archivo() ret i32 0 } declare i32 @ES_archivo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm7lufnzh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @ES_archivo() ret i32 0 } declare i32 @ES_archivo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}