llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp1ad2oe7f.c' source_filename = "/tmp/tmp1ad2oe7f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Usage: %s <process id> <signal num>\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 @EPERM = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [8 x i8] c"kill() \00", align 1 @ESRCH = dso_local global i64 0, align 8 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 3 br i1 %9, label %10, label %17 10: ; preds = %2 %11 = load ptr, ptr %5, 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 = load i32, ptr @EXIT_SUCCESS, align 4 %16 = call i32 @exit(i32 noundef %15) #3 unreachable 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = call i32 @atoi(ptr noundef %20) %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 2 %24 = load ptr, ptr %23, align 8 %25 = call i32 @atoi(ptr noundef %24) %26 = call i64 @kill(i32 noundef %21, i32 noundef %25) %27 = icmp slt i64 %26, 0 br i1 %27, label %28, label %44 28: ; preds = %17 %29 = load i64, ptr @errno, align 8 %30 = load i64, ptr @EPERM, align 8 %31 = icmp eq i64 %29, %30 br i1 %31, label %32, label %34 32: ; preds = %28 %33 = call i32 @perror(ptr noundef @.str.1) br label %41 34: ; preds = %28 %35 = load i64, ptr @errno, align 8 %36 = load i64, ptr @ESRCH, align 8 %37 = icmp eq i64 %35, %36 br i1 %37, label %38, label %40 38: ; preds = %34 %39 = call i32 @perror(ptr noundef @.str.1) br label %40 40: ; preds = %38, %34 br label %41 41: ; preds = %40, %32 %42 = load i32, ptr @EXIT_FAILURE, align 4 %43 = call i32 @exit(i32 noundef %42) #3 unreachable 44: ; preds = %17 %45 = load i32, ptr @EXIT_SUCCESS, align 4 %46 = call i32 @exit(i32 noundef %45) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @kill(i32 noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp1ad2oe7f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Usage: %s <process id> <signal num>\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 @EPERM = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [8 x i8] c"kill() \00", align 1 @ESRCH = dso_local global i64 0, align 8 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 3 br i1 %9, label %10, label %17 10: ; preds = %2 %11 = load ptr, ptr %5, 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 = load i32, ptr @EXIT_SUCCESS, align 4 %16 = call i32 @exit(i32 noundef %15) #3 unreachable 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = call i32 @atoi(ptr noundef %20) %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 2 %24 = load ptr, ptr %23, align 8 %25 = call i32 @atoi(ptr noundef %24) %26 = call i64 @kill(i32 noundef %21, i32 noundef %25) %27 = icmp slt i64 %26, 0 br i1 %27, label %28, label %44 28: ; preds = %17 %29 = load i64, ptr @errno, align 8 %30 = load i64, ptr @EPERM, align 8 %31 = icmp eq i64 %29, %30 br i1 %31, label %32, label %34 32: ; preds = %28 %33 = call i32 @perror(ptr noundef @.str.1) br label %41 34: ; preds = %28 %35 = load i64, ptr @errno, align 8 %36 = load i64, ptr @ESRCH, align 8 %37 = icmp eq i64 %35, %36 br i1 %37, label %38, label %40 38: ; preds = %34 %39 = call i32 @perror(ptr noundef @.str.1) br label %40 40: ; preds = %38, %34 br label %41 41: ; preds = %40, %32 %42 = load i32, ptr @EXIT_FAILURE, align 4 %43 = call i32 @exit(i32 noundef %42) #3 unreachable 44: ; preds = %17 %45 = load i32, ptr @EXIT_SUCCESS, align 4 %46 = call i32 @exit(i32 noundef %45) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @kill(i32 noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpg2wzybju.c' source_filename = "/tmp/tmpg2wzybju.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @allocTab(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = mul i64 %9, 8 %11 = trunc i64 %10 to i32 %12 = call ptr @malloc(i32 noundef %11) store ptr %12, ptr %5, align 8 %13 = load i32, ptr %4, align 4 %14 = sext i32 %13 to i64 %15 = mul i64 %14, 4 %16 = trunc i64 %15 to i32 %17 = call ptr @malloc(i32 noundef %16) %18 = load ptr, ptr %5, align 8 store ptr %17, ptr %18, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %6, align 4 br label %19 19: ; preds = %50, %2 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %3, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %53 23: ; preds = %19 %24 = load i32, ptr %4, align 4 %25 = sext i32 %24 to i64 %26 = mul i64 %25, 8 %27 = trunc i64 %26 to i32 %28 = call ptr @malloc(i32 noundef %27) %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %6, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds ptr, ptr %29, i64 %31 store ptr %28, ptr %32, align 8 store i32 0, ptr %7, align 4 br label %33 33: ; preds = %46, %23 %34 = load i32, ptr %7, align 4 %35 = load i32, ptr %4, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %37, label %49 37: ; preds = %33 %38 = load ptr, ptr %5, align 8 %39 = load i32, ptr %6, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds ptr, ptr %38, i64 %40 %42 = load ptr, ptr %41, align 8 %43 = load i32, ptr %7, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i32, ptr %42, i64 %44 store i32 0, ptr %45, align 4 br label %46 46: ; preds = %37 %47 = load i32, ptr %7, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %7, align 4 br label %33, !llvm.loop !6 49: ; preds = %33 br label %50 50: ; preds = %49 %51 = load i32, ptr %6, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %6, align 4 br label %19, !llvm.loop !8 53: ; preds = %19 %54 = load ptr, ptr %5, align 8 ret ptr %54 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg2wzybju.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @allocTab(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = mul i64 %9, 8 %11 = trunc i64 %10 to i32 %12 = call ptr @malloc(i32 noundef %11) store ptr %12, ptr %5, align 8 %13 = load i32, ptr %4, align 4 %14 = sext i32 %13 to i64 %15 = mul i64 %14, 4 %16 = trunc i64 %15 to i32 %17 = call ptr @malloc(i32 noundef %16) %18 = load ptr, ptr %5, align 8 store ptr %17, ptr %18, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %6, align 4 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %.lr.ph2, label %57 .lr.ph2: ; preds = %2 br label %22 22: ; preds = %.lr.ph2, %51 %23 = load i32, ptr %4, align 4 %24 = sext i32 %23 to i64 %25 = mul i64 %24, 8 %26 = trunc i64 %25 to i32 %27 = call ptr @malloc(i32 noundef %26) %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %6, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds ptr, ptr %28, i64 %30 store ptr %27, ptr %31, align 8 store i32 0, ptr %7, align 4 %32 = load i32, ptr %7, align 4 %33 = load i32, ptr %4, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %.lr.ph, label %50 .lr.ph: ; preds = %22 br label %35 35: ; preds = %.lr.ph, %44 %36 = load ptr, ptr %5, align 8 %37 = load i32, ptr %6, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds ptr, ptr %36, i64 %38 %40 = load ptr, ptr %39, align 8 %41 = load i32, ptr %7, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %40, i64 %42 store i32 0, ptr %43, align 4 br label %44 44: ; preds = %35 %45 = load i32, ptr %7, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %7, align 4 %47 = load i32, ptr %7, align 4 %48 = load i32, ptr %4, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %35, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %44 br label %50 50: ; preds = %._crit_edge, %22 br label %51 51: ; preds = %50 %52 = load i32, ptr %6, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %6, align 4 %54 = load i32, ptr %6, align 4 %55 = load i32, ptr %3, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %22, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %51 br label %57 57: ; preds = %._crit_edge3, %2 %58 = load ptr, ptr %5, align 8 ret ptr %58 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp33sr5fzi.c' source_filename = "/tmp/tmp33sr5fzi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @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 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 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 = %13, %3 %10 = load i64, ptr %6, align 8 %11 = add i64 %10, -1 store i64 %11, ptr %6, align 8 %12 = icmp ne i64 %10, 0 br i1 %12, label %13, label %19 13: ; preds = %9 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %5, align 8 %16 = load i8, ptr %14, align 1 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds i8, ptr %17, i32 1 store ptr %18, ptr %4, align 8 store i8 %16, ptr %17, align 1 br label %9, !llvm.loop !6 19: ; preds = %9 %20 = load ptr, ptr %7, 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/tmp33sr5fzi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @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 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 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 = add i64 %9, -1 store i64 %10, ptr %6, align 8 %11 = icmp ne i64 %9, 0 br i1 %11, label %.lr.ph, label %21 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %12 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds i8, ptr %13, i32 1 store ptr %14, ptr %5, align 8 %15 = load i8, ptr %13, align 1 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds i8, ptr %16, i32 1 store ptr %17, ptr %4, align 8 store i8 %15, ptr %16, align 1 %18 = load i64, ptr %6, align 8 %19 = add i64 %18, -1 store i64 %19, ptr %6, align 8 %20 = icmp ne i64 %18, 0 br i1 %20, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %21 21: ; preds = %._crit_edge, %3 %22 = load ptr, ptr %7, align 8 ret ptr %22 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp5sxnh5ot.c' source_filename = "/tmp/tmp5sxnh5ot.c" target datalayout = "e-m:e-p270: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"a:\00", align 1 @optarg = dso_local global i32 0, align 4 @optind = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c"r\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 @SEEK_END = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [7 x i8] c"fseeko\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"ftello\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [43 x i8] c"error: image should be smaller than 1 MiB\0A\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [6 x i8] c"fread\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"fwrite\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"fclose\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; 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 i32, align 4 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1075838976, ptr %10, align 4 br label %12 12: ; preds = %22, %2 %13 = load i32, ptr %4, align 4 %14 = load ptr, ptr %5, align 8 %15 = call i32 @getopt(i32 noundef %13, ptr noundef %14, ptr noundef @.str) store i32 %15, ptr %7, align 4 %16 = icmp ne i32 %15, -1 br i1 %16, label %17, label %23 17: ; preds = %12 %18 = load i32, ptr %7, align 4 switch i32 %18, label %22 [ i32 97, label %19 ] 19: ; preds = %17 %20 = load i32, ptr @optarg, align 4 %21 = call i32 @strtoul(i32 noundef %20, ptr noundef null, i32 noundef 0) store i32 %21, ptr %10, align 4 br label %22 22: ; preds = %17, %19 br label %12, !llvm.loop !6 23: ; preds = %12 %24 = load i32, ptr @optind, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp sge i32 %24, %25 br i1 %26, label %27, label %33 27: ; preds = %23 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 0 %30 = load ptr, ptr %29, align 8 %31 = call i32 @usage(ptr noundef %30) %32 = call i32 @exit(i32 noundef 1) #3 unreachable 33: ; preds = %23 %34 = load ptr, ptr %5, align 8 %35 = load i32, ptr @optind, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds ptr, ptr %34, i64 %36 %38 = load ptr, ptr %37, align 8 %39 = call ptr @fopen(ptr noundef %38, ptr noundef @.str.1) store ptr %39, ptr %6, align 8 %40 = load ptr, ptr %6, align 8 %41 = icmp eq ptr %40, null br i1 %41, label %42, label %46 42: ; preds = %33 %43 = call i32 @perror(ptr noundef @.str.2) %44 = load i32, ptr @EXIT_FAILURE, align 4 %45 = call i32 @exit(i32 noundef %44) #3 unreachable 46: ; preds = %33 %47 = load ptr, ptr %6, align 8 %48 = load i32, ptr @SEEK_END, align 4 %49 = call i32 @fseeko(ptr noundef %47, i32 noundef 0, i32 noundef %48) %50 = icmp eq i32 %49, -1 br i1 %50, label %51, label %55 51: ; preds = %46 %52 = call i32 @perror(ptr noundef @.str.3) %53 = load i32, ptr @EXIT_FAILURE, align 4 %54 = call i32 @exit(i32 noundef %53) #3 unreachable 55: ; preds = %46 %56 = load ptr, ptr %6, align 8 %57 = call i32 @ftello(ptr noundef %56) store i32 %57, ptr %8, align 4 %58 = load i32, ptr %8, align 4 %59 = icmp eq i32 %58, -1 br i1 %59, label %60, label %64 60: ; preds = %55 %61 = call i32 @perror(ptr noundef @.str.4) %62 = load i32, ptr @EXIT_FAILURE, align 4 %63 = call i32 @exit(i32 noundef %62) #3 unreachable 64: ; preds = %55 %65 = load i32, ptr %8, align 4 %66 = icmp sgt i32 %65, 1048576 br i1 %66, label %67, label %72 67: ; preds = %64 %68 = load i32, ptr @stderr, align 4 %69 = call i32 @fprintf(i32 noundef %68, ptr noundef @.str.5) %70 = load i32, ptr @EXIT_FAILURE, align 4 %71 = call i32 @exit(i32 noundef %70) #3 unreachable 72: ; preds = %64 %73 = load ptr, ptr %6, align 8 %74 = load i32, ptr @SEEK_SET, align 4 %75 = call i32 @fseeko(ptr noundef %73, i32 noundef 0, i32 noundef %74) %76 = icmp eq i32 %75, -1 br i1 %76, label %77, label %81 77: ; preds = %72 %78 = call i32 @perror(ptr noundef @.str.3) %79 = load i32, ptr @EXIT_FAILURE, align 4 %80 = call i32 @exit(i32 noundef %79) #3 unreachable 81: ; preds = %72 %82 = load i32, ptr %8, align 4 %83 = add nsw i32 %82, 3 %84 = and i32 %83, -4 store i32 %84, ptr %8, align 4 %85 = load i32, ptr %8, align 4 %86 = call i32 @htobe32(i32 noundef %85) store i32 %86, ptr %11, align 4 %87 = load i32, ptr @stdout, align 4 %88 = call i32 @fwrite(ptr noundef %11, i32 noundef 4, i32 noundef 1, i32 noundef %87) %89 = load i32, ptr %10, align 4 %90 = call i32 @htobe32(i32 noundef %89) store i32 %90, ptr %11, align 4 %91 = load i32, ptr @stdout, align 4 %92 = call i32 @fwrite(ptr noundef %11, i32 noundef 4, i32 noundef 1, i32 noundef %91) br label %93 93: ; preds = %121, %81 %94 = load ptr, ptr %6, align 8 %95 = call i64 @fread(ptr noundef %11, i32 noundef 1, i32 noundef 4, ptr noundef %94) store i64 %95, ptr %9, align 8 %96 = load i64, ptr %9, align 8 %97 = icmp ne i64 %96, 0 br i1 %97, label %99, label %98 98: ; preds = %93 br label %122 99: ; preds = %93 %100 = load i64, ptr %9, align 8 %101 = icmp ult i64 %100, 4 br i1 %101, label %102, label %110 102: ; preds = %99 %103 = load ptr, ptr %6, align 8 %104 = call i32 @feof(ptr noundef %103) %105 = icmp ne i32 %104, 0 br i1 %105, label %110, label %106 106: ; preds = %102 %107 = call i32 @perror(ptr noundef @.str.6) %108 = load i32, ptr @EXIT_FAILURE, align 4 %109 = call i32 @exit(i32 noundef %108) #3 unreachable 110: ; preds = %102, %99 %111 = load i32, ptr %11, align 4 %112 = call i32 @le32toh(i32 noundef %111) %113 = call i32 @htobe32(i32 noundef %112) store i32 %113, ptr %11, align 4 %114 = load i32, ptr @stdout, align 4 %115 = call i32 @fwrite(ptr noundef %11, i32 noundef 1, i32 noundef 4, i32 noundef %114) %116 = icmp ne i32 %115, 4 br i1 %116, label %117, label %121 117: ; preds = %110 %118 = call i32 @perror(ptr noundef @.str.7) %119 = load i32, ptr @EXIT_FAILURE, align 4 %120 = call i32 @exit(i32 noundef %119) #3 unreachable 121: ; preds = %110 br label %93 122: ; preds = %98 %123 = load ptr, ptr %6, align 8 %124 = call i64 @fclose(ptr noundef %123) %125 = icmp ne i64 %124, 0 br i1 %125, label %126, label %130 126: ; preds = %122 %127 = call i32 @perror(ptr noundef @.str.8) %128 = load i32, ptr @EXIT_FAILURE, align 4 %129 = call i32 @exit(i32 noundef %128) #3 unreachable 130: ; preds = %122 %131 = load i32, ptr @EXIT_SUCCESS, align 4 %132 = call i32 @exit(i32 noundef %131) #3 unreachable } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @strtoul(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @usage(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @fseeko(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @ftello(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @htobe32(i32 noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @le32toh(i32 noundef) #1 declare i64 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5sxnh5ot.c" target datalayout = "e-m:e-p270: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"a:\00", align 1 @optarg = dso_local global i32 0, align 4 @optind = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c"r\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 @SEEK_END = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [7 x i8] c"fseeko\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"ftello\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [43 x i8] c"error: image should be smaller than 1 MiB\0A\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [6 x i8] c"fread\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"fwrite\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"fclose\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; 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 i32, align 4 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1075838976, ptr %10, align 4 %12 = load i32, ptr %4, align 4 %13 = load ptr, ptr %5, align 8 %14 = call i32 @getopt(i32 noundef %12, ptr noundef %13, ptr noundef @.str) store i32 %14, ptr %7, align 4 %15 = icmp ne i32 %14, -1 br i1 %15, label %.lr.ph, label %26 .lr.ph: ; preds = %2 br label %16 16: ; preds = %.lr.ph, %21 %17 = load i32, ptr %7, align 4 switch i32 %17, label %21 [ i32 97, label %18 ] 18: ; preds = %16 %19 = load i32, ptr @optarg, align 4 %20 = call i32 @strtoul(i32 noundef %19, ptr noundef null, i32 noundef 0) store i32 %20, ptr %10, align 4 br label %21 21: ; preds = %18, %16 %22 = load i32, ptr %4, align 4 %23 = load ptr, ptr %5, align 8 %24 = call i32 @getopt(i32 noundef %22, ptr noundef %23, ptr noundef @.str) store i32 %24, ptr %7, align 4 %25 = icmp ne i32 %24, -1 br i1 %25, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %26 26: ; preds = %._crit_edge, %2 %27 = load i32, ptr @optind, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp sge i32 %27, %28 br i1 %29, label %30, label %36 30: ; preds = %26 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 0 %33 = load ptr, ptr %32, align 8 %34 = call i32 @usage(ptr noundef %33) %35 = call i32 @exit(i32 noundef 1) #3 unreachable 36: ; preds = %26 %37 = load ptr, ptr %5, align 8 %38 = load i32, ptr @optind, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds ptr, ptr %37, i64 %39 %41 = load ptr, ptr %40, align 8 %42 = call ptr @fopen(ptr noundef %41, ptr noundef @.str.1) store ptr %42, ptr %6, align 8 %43 = load ptr, ptr %6, align 8 %44 = icmp eq ptr %43, null br i1 %44, label %45, label %49 45: ; preds = %36 %46 = call i32 @perror(ptr noundef @.str.2) %47 = load i32, ptr @EXIT_FAILURE, align 4 %48 = call i32 @exit(i32 noundef %47) #3 unreachable 49: ; preds = %36 %50 = load ptr, ptr %6, align 8 %51 = load i32, ptr @SEEK_END, align 4 %52 = call i32 @fseeko(ptr noundef %50, i32 noundef 0, i32 noundef %51) %53 = icmp eq i32 %52, -1 br i1 %53, label %54, label %58 54: ; preds = %49 %55 = call i32 @perror(ptr noundef @.str.3) %56 = load i32, ptr @EXIT_FAILURE, align 4 %57 = call i32 @exit(i32 noundef %56) #3 unreachable 58: ; preds = %49 %59 = load ptr, ptr %6, align 8 %60 = call i32 @ftello(ptr noundef %59) store i32 %60, ptr %8, align 4 %61 = load i32, ptr %8, align 4 %62 = icmp eq i32 %61, -1 br i1 %62, label %63, label %67 63: ; preds = %58 %64 = call i32 @perror(ptr noundef @.str.4) %65 = load i32, ptr @EXIT_FAILURE, align 4 %66 = call i32 @exit(i32 noundef %65) #3 unreachable 67: ; preds = %58 %68 = load i32, ptr %8, align 4 %69 = icmp sgt i32 %68, 1048576 br i1 %69, label %70, label %75 70: ; preds = %67 %71 = load i32, ptr @stderr, align 4 %72 = call i32 @fprintf(i32 noundef %71, ptr noundef @.str.5) %73 = load i32, ptr @EXIT_FAILURE, align 4 %74 = call i32 @exit(i32 noundef %73) #3 unreachable 75: ; preds = %67 %76 = load ptr, ptr %6, align 8 %77 = load i32, ptr @SEEK_SET, align 4 %78 = call i32 @fseeko(ptr noundef %76, i32 noundef 0, i32 noundef %77) %79 = icmp eq i32 %78, -1 br i1 %79, label %80, label %84 80: ; preds = %75 %81 = call i32 @perror(ptr noundef @.str.3) %82 = load i32, ptr @EXIT_FAILURE, align 4 %83 = call i32 @exit(i32 noundef %82) #3 unreachable 84: ; preds = %75 %85 = load i32, ptr %8, align 4 %86 = add nsw i32 %85, 3 %87 = and i32 %86, -4 store i32 %87, ptr %8, align 4 %88 = load i32, ptr %8, align 4 %89 = call i32 @htobe32(i32 noundef %88) store i32 %89, ptr %11, align 4 %90 = load i32, ptr @stdout, align 4 %91 = call i32 @fwrite(ptr noundef %11, i32 noundef 4, i32 noundef 1, i32 noundef %90) %92 = load i32, ptr %10, align 4 %93 = call i32 @htobe32(i32 noundef %92) store i32 %93, ptr %11, align 4 %94 = load i32, ptr @stdout, align 4 %95 = call i32 @fwrite(ptr noundef %11, i32 noundef 4, i32 noundef 1, i32 noundef %94) %96 = load ptr, ptr %6, align 8 %97 = call i64 @fread(ptr noundef %11, i32 noundef 1, i32 noundef 4, ptr noundef %96) store i64 %97, ptr %9, align 8 %98 = load i64, ptr %9, align 8 %99 = icmp ne i64 %98, 0 br i1 %99, label %.lr.ph2, label %105 .lr.ph2: ; preds = %84 br label %106 100: ; preds = %117 %101 = load ptr, ptr %6, align 8 %102 = call i64 @fread(ptr noundef %11, i32 noundef 1, i32 noundef 4, ptr noundef %101) store i64 %102, ptr %9, align 8 %103 = load i64, ptr %9, align 8 %104 = icmp ne i64 %103, 0 br i1 %104, label %106, label %._crit_edge3 ._crit_edge3: ; preds = %100 br label %105 105: ; preds = %._crit_edge3, %84 br label %128 106: ; preds = %.lr.ph2, %100 %107 = load i64, ptr %9, align 8 %108 = icmp ult i64 %107, 4 br i1 %108, label %109, label %117 109: ; preds = %106 %110 = load ptr, ptr %6, align 8 %111 = call i32 @feof(ptr noundef %110) %112 = icmp ne i32 %111, 0 br i1 %112, label %117, label %113 113: ; preds = %109 %114 = call i32 @perror(ptr noundef @.str.6) %115 = load i32, ptr @EXIT_FAILURE, align 4 %116 = call i32 @exit(i32 noundef %115) #3 unreachable 117: ; preds = %109, %106 %118 = load i32, ptr %11, align 4 %119 = call i32 @le32toh(i32 noundef %118) %120 = call i32 @htobe32(i32 noundef %119) store i32 %120, ptr %11, align 4 %121 = load i32, ptr @stdout, align 4 %122 = call i32 @fwrite(ptr noundef %11, i32 noundef 1, i32 noundef 4, i32 noundef %121) %123 = icmp ne i32 %122, 4 br i1 %123, label %124, label %100 124: ; preds = %117 %125 = call i32 @perror(ptr noundef @.str.7) %126 = load i32, ptr @EXIT_FAILURE, align 4 %127 = call i32 @exit(i32 noundef %126) #3 unreachable 128: ; preds = %105 %129 = load ptr, ptr %6, align 8 %130 = call i64 @fclose(ptr noundef %129) %131 = icmp ne i64 %130, 0 br i1 %131, label %132, label %136 132: ; preds = %128 %133 = call i32 @perror(ptr noundef @.str.8) %134 = load i32, ptr @EXIT_FAILURE, align 4 %135 = call i32 @exit(i32 noundef %134) #3 unreachable 136: ; preds = %128 %137 = load i32, ptr @EXIT_SUCCESS, align 4 %138 = call i32 @exit(i32 noundef %137) #3 unreachable } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @strtoul(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @usage(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @fseeko(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @ftello(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @htobe32(i32 noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @le32toh(i32 noundef) #1 declare i64 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpm7rdh0r1.c' source_filename = "/tmp/tmpm7rdh0r1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @hk_encode_base64.basis64 = internal global [65 x i8] c"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\00", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @hk_encode_base64(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 ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = sext i32 %10 to i64 store i64 %11, ptr %9, align 8 %12 = load ptr, ptr %5, align 8 store ptr %12, ptr %8, align 8 %13 = load ptr, ptr %4, align 8 store ptr %13, ptr %7, align 8 br label %14 14: ; preds = %17, %3 %15 = load i64, ptr %9, align 8 %16 = icmp ugt i64 %15, 2 br i1 %16, label %17, label %77 17: ; preds = %14 %18 = load ptr, ptr %8, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 0 %20 = load i8, ptr %19, align 1 %21 = zext i8 %20 to i32 %22 = ashr i32 %21, 2 %23 = and i32 %22, 63 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [65 x i8], ptr @hk_encode_base64.basis64, i64 0, i64 %24 %26 = load i8, ptr %25, align 1 %27 = load ptr, ptr %7, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %7, align 8 store i8 %26, ptr %27, align 1 %29 = load ptr, ptr %8, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 0 %31 = load i8, ptr %30, align 1 %32 = zext i8 %31 to i32 %33 = and i32 %32, 3 %34 = shl i32 %33, 4 %35 = load ptr, ptr %8, align 8 %36 = getelementptr inbounds i8, ptr %35, i64 1 %37 = load i8, ptr %36, align 1 %38 = zext i8 %37 to i32 %39 = ashr i32 %38, 4 %40 = or i32 %34, %39 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [65 x i8], ptr @hk_encode_base64.basis64, i64 0, i64 %41 %43 = load i8, ptr %42, align 1 %44 = load ptr, ptr %7, align 8 %45 = getelementptr inbounds i8, ptr %44, i32 1 store ptr %45, ptr %7, align 8 store i8 %43, ptr %44, align 1 %46 = load ptr, ptr %8, align 8 %47 = getelementptr inbounds i8, ptr %46, i64 1 %48 = load i8, ptr %47, align 1 %49 = zext i8 %48 to i32 %50 = and i32 %49, 15 %51 = shl i32 %50, 2 %52 = load ptr, ptr %8, align 8 %53 = getelementptr inbounds i8, ptr %52, i64 2 %54 = load i8, ptr %53, align 1 %55 = zext i8 %54 to i32 %56 = ashr i32 %55, 6 %57 = or i32 %51, %56 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [65 x i8], ptr @hk_encode_base64.basis64, i64 0, i64 %58 %60 = load i8, ptr %59, align 1 %61 = load ptr, ptr %7, align 8 %62 = getelementptr inbounds i8, ptr %61, i32 1 store ptr %62, ptr %7, align 8 store i8 %60, ptr %61, align 1 %63 = load ptr, ptr %8, align 8 %64 = getelementptr inbounds i8, ptr %63, i64 2 %65 = load i8, ptr %64, align 1 %66 = zext i8 %65 to i32 %67 = and i32 %66, 63 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [65 x i8], ptr @hk_encode_base64.basis64, i64 0, i64 %68 %70 = load i8, ptr %69, align 1 %71 = load ptr, ptr %7, align 8 %72 = getelementptr inbounds i8, ptr %71, i32 1 store ptr %72, ptr %7, align 8 store i8 %70, ptr %71, align 1 %73 = load ptr, ptr %8, align 8 %74 = getelementptr inbounds i8, ptr %73, i64 3 store ptr %74, ptr %8, align 8 %75 = load i64, ptr %9, align 8 %76 = sub i64 %75, 3 store i64 %76, ptr %9, align 8 br label %14, !llvm.loop !6 77: ; preds = %14 %78 = load i64, ptr %9, align 8 %79 = icmp ne i64 %78, 0 br i1 %79, label %80, label %140 80: ; preds = %77 %81 = load ptr, ptr %8, align 8 %82 = getelementptr inbounds i8, ptr %81, i64 0 %83 = load i8, ptr %82, align 1 %84 = zext i8 %83 to i32 %85 = ashr i32 %84, 2 %86 = and i32 %85, 63 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds [65 x i8], ptr @hk_encode_base64.basis64, i64 0, i64 %87 %89 = load i8, ptr %88, align 1 %90 = load ptr, ptr %7, align 8 %91 = getelementptr inbounds i8, ptr %90, i32 1 store ptr %91, ptr %7, align 8 store i8 %89, ptr %90, align 1 %92 = load i64, ptr %9, align 8 %93 = icmp eq i64 %92, 1 br i1 %93, label %94, label %108 94: ; preds = %80 %95 = load ptr, ptr %8, align 8 %96 = getelementptr inbounds i8, ptr %95, i64 0 %97 = load i8, ptr %96, align 1 %98 = zext i8 %97 to i32 %99 = and i32 %98, 3 %100 = shl i32 %99, 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds [65 x i8], ptr @hk_encode_base64.basis64, i64 0, i64 %101 %103 = load i8, ptr %102, align 1 %104 = load ptr, ptr %7, align 8 %105 = getelementptr inbounds i8, ptr %104, i32 1 store ptr %105, ptr %7, align 8 store i8 %103, ptr %104, align 1 %106 = load ptr, ptr %7, align 8 %107 = getelementptr inbounds i8, ptr %106, i32 1 store ptr %107, ptr %7, align 8 store i8 61, ptr %106, align 1 br label %137 108: ; preds = %80 %109 = load ptr, ptr %8, align 8 %110 = getelementptr inbounds i8, ptr %109, i64 0 %111 = load i8, ptr %110, align 1 %112 = zext i8 %111 to i32 %113 = and i32 %112, 3 %114 = shl i32 %113, 4 %115 = load ptr, ptr %8, align 8 %116 = getelementptr inbounds i8, ptr %115, i64 1 %117 = load i8, ptr %116, align 1 %118 = zext i8 %117 to i32 %119 = ashr i32 %118, 4 %120 = or i32 %114, %119 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds [65 x i8], ptr @hk_encode_base64.basis64, i64 0, i64 %121 %123 = load i8, ptr %122, align 1 %124 = load ptr, ptr %7, align 8 %125 = getelementptr inbounds i8, ptr %124, i32 1 store ptr %125, ptr %7, align 8 store i8 %123, ptr %124, align 1 %126 = load ptr, ptr %8, align 8 %127 = getelementptr inbounds i8, ptr %126, i64 1 %128 = load i8, ptr %127, align 1 %129 = zext i8 %128 to i32 %130 = and i32 %129, 15 %131 = shl i32 %130, 2 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds [65 x i8], ptr @hk_encode_base64.basis64, i64 0, i64 %132 %134 = load i8, ptr %133, align 1 %135 = load ptr, ptr %7, align 8 %136 = getelementptr inbounds i8, ptr %135, i32 1 store ptr %136, ptr %7, align 8 store i8 %134, ptr %135, align 1 br label %137 137: ; preds = %108, %94 %138 = load ptr, ptr %7, align 8 %139 = getelementptr inbounds i8, ptr %138, i32 1 store ptr %139, ptr %7, align 8 store i8 61, ptr %138, align 1 br label %140 140: ; preds = %137, %77 %141 = load ptr, ptr %7, align 8 %142 = load ptr, ptr %4, align 8 %143 = ptrtoint ptr %141 to i64 %144 = ptrtoint ptr %142 to i64 %145 = sub i64 %143, %144 %146 = trunc i64 %145 to i32 ret i32 %146 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpm7rdh0r1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @hk_encode_base64.basis64 = internal global [65 x i8] c"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\00", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @hk_encode_base64(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 ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = sext i32 %10 to i64 store i64 %11, ptr %9, align 8 %12 = load ptr, ptr %5, align 8 store ptr %12, ptr %8, align 8 %13 = load ptr, ptr %4, align 8 store ptr %13, ptr %7, align 8 %14 = load i64, ptr %9, align 8 %15 = icmp ugt i64 %14, 2 br i1 %15, label %.lr.ph, label %78 .lr.ph: ; preds = %3 br label %16 16: ; preds = %.lr.ph, %16 %17 = load ptr, ptr %8, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 0 %19 = load i8, ptr %18, align 1 %20 = zext i8 %19 to i32 %21 = ashr i32 %20, 2 %22 = and i32 %21, 63 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [65 x i8], ptr @hk_encode_base64.basis64, i64 0, i64 %23 %25 = load i8, ptr %24, align 1 %26 = load ptr, ptr %7, align 8 %27 = getelementptr inbounds i8, ptr %26, i32 1 store ptr %27, ptr %7, align 8 store i8 %25, ptr %26, align 1 %28 = load ptr, ptr %8, align 8 %29 = getelementptr inbounds i8, ptr %28, i64 0 %30 = load i8, ptr %29, align 1 %31 = zext i8 %30 to i32 %32 = and i32 %31, 3 %33 = shl i32 %32, 4 %34 = load ptr, ptr %8, align 8 %35 = getelementptr inbounds i8, ptr %34, i64 1 %36 = load i8, ptr %35, align 1 %37 = zext i8 %36 to i32 %38 = ashr i32 %37, 4 %39 = or i32 %33, %38 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [65 x i8], ptr @hk_encode_base64.basis64, i64 0, i64 %40 %42 = load i8, ptr %41, align 1 %43 = load ptr, ptr %7, align 8 %44 = getelementptr inbounds i8, ptr %43, i32 1 store ptr %44, ptr %7, align 8 store i8 %42, ptr %43, align 1 %45 = load ptr, ptr %8, align 8 %46 = getelementptr inbounds i8, ptr %45, i64 1 %47 = load i8, ptr %46, align 1 %48 = zext i8 %47 to i32 %49 = and i32 %48, 15 %50 = shl i32 %49, 2 %51 = load ptr, ptr %8, align 8 %52 = getelementptr inbounds i8, ptr %51, i64 2 %53 = load i8, ptr %52, align 1 %54 = zext i8 %53 to i32 %55 = ashr i32 %54, 6 %56 = or i32 %50, %55 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [65 x i8], ptr @hk_encode_base64.basis64, i64 0, i64 %57 %59 = load i8, ptr %58, align 1 %60 = load ptr, ptr %7, align 8 %61 = getelementptr inbounds i8, ptr %60, i32 1 store ptr %61, ptr %7, align 8 store i8 %59, ptr %60, align 1 %62 = load ptr, ptr %8, align 8 %63 = getelementptr inbounds i8, ptr %62, i64 2 %64 = load i8, ptr %63, align 1 %65 = zext i8 %64 to i32 %66 = and i32 %65, 63 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds [65 x i8], ptr @hk_encode_base64.basis64, i64 0, i64 %67 %69 = load i8, ptr %68, align 1 %70 = load ptr, ptr %7, align 8 %71 = getelementptr inbounds i8, ptr %70, i32 1 store ptr %71, ptr %7, align 8 store i8 %69, ptr %70, align 1 %72 = load ptr, ptr %8, align 8 %73 = getelementptr inbounds i8, ptr %72, i64 3 store ptr %73, ptr %8, align 8 %74 = load i64, ptr %9, align 8 %75 = sub i64 %74, 3 store i64 %75, ptr %9, align 8 %76 = load i64, ptr %9, align 8 %77 = icmp ugt i64 %76, 2 br i1 %77, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %78 78: ; preds = %._crit_edge, %3 %79 = load i64, ptr %9, align 8 %80 = icmp ne i64 %79, 0 br i1 %80, label %81, label %141 81: ; preds = %78 %82 = load ptr, ptr %8, align 8 %83 = getelementptr inbounds i8, ptr %82, i64 0 %84 = load i8, ptr %83, align 1 %85 = zext i8 %84 to i32 %86 = ashr i32 %85, 2 %87 = and i32 %86, 63 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [65 x i8], ptr @hk_encode_base64.basis64, i64 0, i64 %88 %90 = load i8, ptr %89, align 1 %91 = load ptr, ptr %7, align 8 %92 = getelementptr inbounds i8, ptr %91, i32 1 store ptr %92, ptr %7, align 8 store i8 %90, ptr %91, align 1 %93 = load i64, ptr %9, align 8 %94 = icmp eq i64 %93, 1 br i1 %94, label %95, label %109 95: ; preds = %81 %96 = load ptr, ptr %8, align 8 %97 = getelementptr inbounds i8, ptr %96, i64 0 %98 = load i8, ptr %97, align 1 %99 = zext i8 %98 to i32 %100 = and i32 %99, 3 %101 = shl i32 %100, 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds [65 x i8], ptr @hk_encode_base64.basis64, i64 0, i64 %102 %104 = load i8, ptr %103, align 1 %105 = load ptr, ptr %7, align 8 %106 = getelementptr inbounds i8, ptr %105, i32 1 store ptr %106, ptr %7, align 8 store i8 %104, ptr %105, align 1 %107 = load ptr, ptr %7, align 8 %108 = getelementptr inbounds i8, ptr %107, i32 1 store ptr %108, ptr %7, align 8 store i8 61, ptr %107, align 1 br label %138 109: ; preds = %81 %110 = load ptr, ptr %8, align 8 %111 = getelementptr inbounds i8, ptr %110, i64 0 %112 = load i8, ptr %111, align 1 %113 = zext i8 %112 to i32 %114 = and i32 %113, 3 %115 = shl i32 %114, 4 %116 = load ptr, ptr %8, align 8 %117 = getelementptr inbounds i8, ptr %116, i64 1 %118 = load i8, ptr %117, align 1 %119 = zext i8 %118 to i32 %120 = ashr i32 %119, 4 %121 = or i32 %115, %120 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds [65 x i8], ptr @hk_encode_base64.basis64, i64 0, i64 %122 %124 = load i8, ptr %123, align 1 %125 = load ptr, ptr %7, align 8 %126 = getelementptr inbounds i8, ptr %125, i32 1 store ptr %126, ptr %7, align 8 store i8 %124, ptr %125, align 1 %127 = load ptr, ptr %8, align 8 %128 = getelementptr inbounds i8, ptr %127, i64 1 %129 = load i8, ptr %128, align 1 %130 = zext i8 %129 to i32 %131 = and i32 %130, 15 %132 = shl i32 %131, 2 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds [65 x i8], ptr @hk_encode_base64.basis64, i64 0, i64 %133 %135 = load i8, ptr %134, align 1 %136 = load ptr, ptr %7, align 8 %137 = getelementptr inbounds i8, ptr %136, i32 1 store ptr %137, ptr %7, align 8 store i8 %135, ptr %136, align 1 br label %138 138: ; preds = %109, %95 %139 = load ptr, ptr %7, align 8 %140 = getelementptr inbounds i8, ptr %139, i32 1 store ptr %140, ptr %7, align 8 store i8 61, ptr %139, align 1 br label %141 141: ; preds = %138, %78 %142 = load ptr, ptr %7, align 8 %143 = load ptr, ptr %4, align 8 %144 = ptrtoint ptr %142 to i64 %145 = ptrtoint ptr %143 to i64 %146 = sub i64 %144, %145 %147 = trunc i64 %146 to i32 ret i32 %147 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpbionswdx.c' source_filename = "/tmp/tmpbionswdx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strxfrm(ptr noalias noundef %0, ptr noalias 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 i64 @strlcpy(ptr noundef %7, ptr noundef %8, i64 noundef %9) ret i64 %10 } declare i64 @strlcpy(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/tmpbionswdx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strxfrm(ptr noalias noundef %0, ptr noalias 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 i64 @strlcpy(ptr noundef %7, ptr noundef %8, i64 noundef %9) ret i64 %10 } declare i64 @strlcpy(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/tmpl6_303nv.c' source_filename = "/tmp/tmpl6_303nv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i64, align 8 store i64 1112744053, ptr %1, align 8 %2 = call i32 @puts(ptr noundef %1) ret void } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl6_303nv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i64, align 8 store i64 1112744053, ptr %1, align 8 %2 = call i32 @puts(ptr noundef %1) ret void } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpplfs8y22.c' source_filename = "/tmp/tmpplfs8y22.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sd_bus_slot_get_current_handler(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret ptr null } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpplfs8y22.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sd_bus_slot_get_current_handler(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret ptr null } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5d02ivbn.c' source_filename = "/tmp/tmp5d02ivbn.c" target datalayout = "e-m:e-p270: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/tmp5d02ivbn.c" target datalayout = "e-m:e-p270: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/tmprel2tfol.c' source_filename = "/tmp/tmprel2tfol.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"&lt;\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"&gt;\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"&amp;\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"&quot;\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @xml_quote_string(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %5, align 8 br label %7 7: ; preds = %56, %2 %8 = load ptr, ptr %5, align 8 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp eq i32 %10, 60 br i1 %11, label %12, label %15 12: ; preds = %7 %13 = load ptr, ptr %4, align 8 %14 = call i32 @strcat(ptr noundef %13, ptr noundef @.str) br label %55 15: ; preds = %7 %16 = load ptr, ptr %5, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 62 br i1 %19, label %20, label %23 20: ; preds = %15 %21 = load ptr, ptr %4, align 8 %22 = call i32 @strcat(ptr noundef %21, ptr noundef @.str.1) br label %54 23: ; preds = %15 %24 = load ptr, ptr %5, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 38 br i1 %27, label %28, label %31 28: ; preds = %23 %29 = load ptr, ptr %4, align 8 %30 = call i32 @strcat(ptr noundef %29, ptr noundef @.str.2) br label %53 31: ; preds = %23 %32 = load ptr, ptr %5, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 34 br i1 %35, label %36, label %39 36: ; preds = %31 %37 = load ptr, ptr %4, align 8 %38 = call i32 @strcat(ptr noundef %37, ptr noundef @.str.3) br label %52 39: ; preds = %31 %40 = load ptr, ptr %5, align 8 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = icmp eq i32 %42, 10 br i1 %43, label %44, label %47 44: ; preds = %39 %45 = load ptr, ptr %4, align 8 %46 = call i32 @strcat(ptr noundef %45, ptr noundef @.str.4) br label %51 47: ; preds = %39 %48 = load ptr, ptr %4, align 8 %49 = load ptr, ptr %5, align 8 %50 = call i32 @strncat(ptr noundef %48, ptr noundef %49, i32 noundef 1) br label %51 51: ; preds = %47, %44 br label %52 52: ; preds = %51, %36 br label %53 53: ; preds = %52, %28 br label %54 54: ; preds = %53, %20 br label %55 55: ; preds = %54, %12 br label %56 56: ; preds = %55 %57 = load ptr, ptr %5, align 8 %58 = getelementptr inbounds i8, ptr %57, i32 1 store ptr %58, ptr %5, align 8 %59 = load i8, ptr %57, align 1 %60 = icmp ne i8 %59, 0 br i1 %60, label %7, label %61, !llvm.loop !6 61: ; preds = %56 ret void } declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprel2tfol.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"&lt;\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"&gt;\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"&amp;\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"&quot;\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @xml_quote_string(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %5, align 8 br label %7 7: ; preds = %56, %2 %8 = load ptr, ptr %5, align 8 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp eq i32 %10, 60 br i1 %11, label %12, label %15 12: ; preds = %7 %13 = load ptr, ptr %4, align 8 %14 = call i32 @strcat(ptr noundef %13, ptr noundef @.str) br label %55 15: ; preds = %7 %16 = load ptr, ptr %5, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 62 br i1 %19, label %20, label %23 20: ; preds = %15 %21 = load ptr, ptr %4, align 8 %22 = call i32 @strcat(ptr noundef %21, ptr noundef @.str.1) br label %54 23: ; preds = %15 %24 = load ptr, ptr %5, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 38 br i1 %27, label %28, label %31 28: ; preds = %23 %29 = load ptr, ptr %4, align 8 %30 = call i32 @strcat(ptr noundef %29, ptr noundef @.str.2) br label %53 31: ; preds = %23 %32 = load ptr, ptr %5, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 34 br i1 %35, label %36, label %39 36: ; preds = %31 %37 = load ptr, ptr %4, align 8 %38 = call i32 @strcat(ptr noundef %37, ptr noundef @.str.3) br label %52 39: ; preds = %31 %40 = load ptr, ptr %5, align 8 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = icmp eq i32 %42, 10 br i1 %43, label %44, label %47 44: ; preds = %39 %45 = load ptr, ptr %4, align 8 %46 = call i32 @strcat(ptr noundef %45, ptr noundef @.str.4) br label %51 47: ; preds = %39 %48 = load ptr, ptr %4, align 8 %49 = load ptr, ptr %5, align 8 %50 = call i32 @strncat(ptr noundef %48, ptr noundef %49, i32 noundef 1) br label %51 51: ; preds = %47, %44 br label %52 52: ; preds = %51, %36 br label %53 53: ; preds = %52, %28 br label %54 54: ; preds = %53, %20 br label %55 55: ; preds = %54, %12 br label %56 56: ; preds = %55 %57 = load ptr, ptr %5, align 8 %58 = getelementptr inbounds i8, ptr %57, i32 1 store ptr %58, ptr %5, align 8 %59 = load i8, ptr %57, align 1 %60 = icmp ne i8 %59, 0 br i1 %60, label %7, label %61, !llvm.loop !6 61: ; preds = %56 ret void } declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpku7uq8pu.c' source_filename = "/tmp/tmpku7uq8pu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NormalizeStringN.Output = internal global [2000 x i8] zeroinitializer, align 16 @NormalizeStringN.EndPoint = internal global ptr getelementptr (i8, ptr @NormalizeStringN.Output, i64 1993), align 8 @.str = private unnamed_addr constant [5 x i8] c"&lt;\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"&amp;\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @NormalizeStringN(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %6, align 4 store ptr @NormalizeStringN.Output, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 store i8 0, ptr %8, align 1 br label %9 9: ; preds = %80, %2 %10 = load ptr, ptr %3, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %9 %15 = load ptr, ptr %5, align 8 %16 = load ptr, ptr @NormalizeStringN.EndPoint, align 8 %17 = icmp ult ptr %15, %16 br label %18 18: ; preds = %14, %9 %19 = phi i1 [ false, %9 ], [ %17, %14 ] br i1 %19, label %20, label %83 20: ; preds = %18 %21 = load ptr, ptr %3, align 8 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 60 br i1 %24, label %25, label %32 25: ; preds = %20 %26 = load ptr, ptr %5, align 8 %27 = call i32 @strcpy(ptr noundef %26, ptr noundef @.str) %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds i8, ptr %28, i64 4 store ptr %29, ptr %5, align 8 %30 = load i32, ptr %6, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %6, align 4 br label %79 32: ; preds = %20 %33 = load ptr, ptr %3, align 8 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp eq i32 %35, 38 br i1 %36, label %37, label %44 37: ; preds = %32 %38 = load ptr, ptr %5, align 8 %39 = call i32 @strcpy(ptr noundef %38, ptr noundef @.str.1) %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 5 store ptr %41, ptr %5, align 8 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %6, align 4 br label %78 44: ; preds = %32 %45 = load ptr, ptr %3, align 8 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp eq i32 %47, 9 br i1 %48, label %49, label %70 49: ; preds = %44 %50 = load i32, ptr %6, align 4 %51 = add nsw i32 %50, 8 %52 = and i32 %51, -8 %53 = load i32, ptr %6, align 4 %54 = sub nsw i32 %52, %53 store i32 %54, ptr %7, align 4 %55 = load i32, ptr %7, align 4 %56 = load i32, ptr %6, align 4 %57 = add nsw i32 %56, %55 store i32 %57, ptr %6, align 4 br label %58 58: ; preds = %66, %49 %59 = load i32, ptr %7, align 4 %60 = icmp sgt i32 %59, 0 br i1 %60, label %61, label %69 61: ; preds = %58 %62 = load ptr, ptr %5, align 8 %63 = call i32 @strcpy(ptr noundef %62, ptr noundef @.str.2) %64 = load ptr, ptr %5, align 8 %65 = getelementptr inbounds i8, ptr %64, i64 1 store ptr %65, ptr %5, align 8 br label %66 66: ; preds = %61 %67 = load i32, ptr %7, align 4 %68 = add nsw i32 %67, -1 store i32 %68, ptr %7, align 4 br label %58, !llvm.loop !6 69: ; preds = %58 br label %77 70: ; preds = %44 %71 = load ptr, ptr %3, align 8 %72 = load i8, ptr %71, align 1 %73 = load ptr, ptr %5, align 8 %74 = getelementptr inbounds i8, ptr %73, i32 1 store ptr %74, ptr %5, align 8 store i8 %72, ptr %73, align 1 %75 = load i32, ptr %6, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %6, align 4 br label %77 77: ; preds = %70, %69 br label %78 78: ; preds = %77, %37 br label %79 79: ; preds = %78, %25 br label %80 80: ; preds = %79 %81 = load ptr, ptr %3, align 8 %82 = getelementptr inbounds i8, ptr %81, i32 1 store ptr %82, ptr %3, align 8 br label %9, !llvm.loop !8 83: ; preds = %18 br label %84 84: ; preds = %93, %83 %85 = load i32, ptr %6, align 4 %86 = load i32, ptr %4, align 4 %87 = icmp slt i32 %85, %86 br i1 %87, label %88, label %96 88: ; preds = %84 %89 = load ptr, ptr %5, align 8 %90 = call i32 @strcpy(ptr noundef %89, ptr noundef @.str.2) %91 = load ptr, ptr %5, align 8 %92 = getelementptr inbounds i8, ptr %91, i64 1 store ptr %92, ptr %5, align 8 br label %93 93: ; preds = %88 %94 = load i32, ptr %6, align 4 %95 = add nsw i32 %94, 1 store i32 %95, ptr %6, align 4 br label %84, !llvm.loop !9 96: ; preds = %84 %97 = load ptr, ptr %5, align 8 store i8 0, ptr %97, align 1 ret ptr @NormalizeStringN.Output } declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpku7uq8pu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NormalizeStringN.Output = internal global [2000 x i8] zeroinitializer, align 16 @NormalizeStringN.EndPoint = internal global ptr getelementptr (i8, ptr @NormalizeStringN.Output, i64 1993), align 8 @.str = private unnamed_addr constant [5 x i8] c"&lt;\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"&amp;\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @NormalizeStringN(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %6, align 4 store ptr @NormalizeStringN.Output, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 store i8 0, ptr %8, align 1 br label %9 9: ; preds = %81, %2 %10 = load ptr, ptr %3, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %9 %15 = load ptr, ptr %5, align 8 %16 = load ptr, ptr @NormalizeStringN.EndPoint, align 8 %17 = icmp ult ptr %15, %16 br label %18 18: ; preds = %14, %9 %19 = phi i1 [ false, %9 ], [ %17, %14 ] br i1 %19, label %20, label %84 20: ; preds = %18 %21 = load ptr, ptr %3, align 8 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 60 br i1 %24, label %25, label %32 25: ; preds = %20 %26 = load ptr, ptr %5, align 8 %27 = call i32 @strcpy(ptr noundef %26, ptr noundef @.str) %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds i8, ptr %28, i64 4 store ptr %29, ptr %5, align 8 %30 = load i32, ptr %6, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %6, align 4 br label %80 32: ; preds = %20 %33 = load ptr, ptr %3, align 8 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp eq i32 %35, 38 br i1 %36, label %37, label %44 37: ; preds = %32 %38 = load ptr, ptr %5, align 8 %39 = call i32 @strcpy(ptr noundef %38, ptr noundef @.str.1) %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 5 store ptr %41, ptr %5, align 8 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %6, align 4 br label %79 44: ; preds = %32 %45 = load ptr, ptr %3, align 8 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp eq i32 %47, 9 br i1 %48, label %49, label %71 49: ; preds = %44 %50 = load i32, ptr %6, align 4 %51 = add nsw i32 %50, 8 %52 = and i32 %51, -8 %53 = load i32, ptr %6, align 4 %54 = sub nsw i32 %52, %53 store i32 %54, ptr %7, align 4 %55 = load i32, ptr %7, align 4 %56 = load i32, ptr %6, align 4 %57 = add nsw i32 %56, %55 store i32 %57, ptr %6, align 4 %58 = load i32, ptr %7, align 4 %59 = icmp sgt i32 %58, 0 br i1 %59, label %.lr.ph, label %70 .lr.ph: ; preds = %49 br label %60 60: ; preds = %.lr.ph, %65 %61 = load ptr, ptr %5, align 8 %62 = call i32 @strcpy(ptr noundef %61, ptr noundef @.str.2) %63 = load ptr, ptr %5, align 8 %64 = getelementptr inbounds i8, ptr %63, i64 1 store ptr %64, ptr %5, align 8 br label %65 65: ; preds = %60 %66 = load i32, ptr %7, align 4 %67 = add nsw i32 %66, -1 store i32 %67, ptr %7, align 4 %68 = load i32, ptr %7, align 4 %69 = icmp sgt i32 %68, 0 br i1 %69, label %60, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %65 br label %70 70: ; preds = %._crit_edge, %49 br label %78 71: ; preds = %44 %72 = load ptr, ptr %3, align 8 %73 = load i8, ptr %72, align 1 %74 = load ptr, ptr %5, align 8 %75 = getelementptr inbounds i8, ptr %74, i32 1 store ptr %75, ptr %5, align 8 store i8 %73, ptr %74, align 1 %76 = load i32, ptr %6, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %6, align 4 br label %78 78: ; preds = %71, %70 br label %79 79: ; preds = %78, %37 br label %80 80: ; preds = %79, %25 br label %81 81: ; preds = %80 %82 = load ptr, ptr %3, align 8 %83 = getelementptr inbounds i8, ptr %82, i32 1 store ptr %83, ptr %3, align 8 br label %9, !llvm.loop !8 84: ; preds = %18 %85 = load i32, ptr %6, align 4 %86 = load i32, ptr %4, align 4 %87 = icmp slt i32 %85, %86 br i1 %87, label %.lr.ph2, label %99 .lr.ph2: ; preds = %84 br label %88 88: ; preds = %.lr.ph2, %93 %89 = load ptr, ptr %5, align 8 %90 = call i32 @strcpy(ptr noundef %89, ptr noundef @.str.2) %91 = load ptr, ptr %5, align 8 %92 = getelementptr inbounds i8, ptr %91, i64 1 store ptr %92, ptr %5, align 8 br label %93 93: ; preds = %88 %94 = load i32, ptr %6, align 4 %95 = add nsw i32 %94, 1 store i32 %95, ptr %6, align 4 %96 = load i32, ptr %6, align 4 %97 = load i32, ptr %4, align 4 %98 = icmp slt i32 %96, %97 br i1 %98, label %88, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %93 br label %99 99: ; preds = %._crit_edge3, %84 %100 = load ptr, ptr %5, align 8 store i8 0, ptr %100, align 1 ret ptr @NormalizeStringN.Output } declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmps1zxljoj.c' source_filename = "/tmp/tmps1zxljoj.c" target datalayout = "e-m:e-p270: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 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %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 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %24, %0 %6 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %7 = load i64, ptr @EOF, align 8 %8 = icmp ne i64 %6, %7 br i1 %8, label %9, label %12 9: ; preds = %5 %10 = load i32, ptr %2, align 4 %11 = icmp ne i32 %10, -1 br label %12 12: ; preds = %9, %5 %13 = phi i1 [ false, %5 ], [ %11, %9 ] br i1 %13, label %14, label %25 14: ; preds = %12 %15 = load i32, ptr %2, align 4 %16 = srem i32 %15, 2 %17 = icmp eq i32 %16, 1 br i1 %17, label %18, label %21 18: ; preds = %14 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 br label %24 21: ; preds = %14 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 br label %24 24: ; preds = %21, %18 br label %5, !llvm.loop !6 25: ; preds = %12 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %4, align 4 %28 = call i32 @printf(ptr noundef @.str.1, i32 noundef %26, i32 noundef %27) ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef) #1 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps1zxljoj.c" target datalayout = "e-m:e-p270: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 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %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 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %24, %0 %6 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %7 = load i64, ptr @EOF, align 8 %8 = icmp ne i64 %6, %7 br i1 %8, label %9, label %12 9: ; preds = %5 %10 = load i32, ptr %2, align 4 %11 = icmp ne i32 %10, -1 br label %12 12: ; preds = %9, %5 %13 = phi i1 [ false, %5 ], [ %11, %9 ] br i1 %13, label %14, label %25 14: ; preds = %12 %15 = load i32, ptr %2, align 4 %16 = srem i32 %15, 2 %17 = icmp eq i32 %16, 1 br i1 %17, label %18, label %21 18: ; preds = %14 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 br label %24 21: ; preds = %14 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 br label %24 24: ; preds = %21, %18 br label %5, !llvm.loop !6 25: ; preds = %12 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %4, align 4 %28 = call i32 @printf(ptr noundef @.str.1, i32 noundef %26, i32 noundef %27) ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef) #1 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"}
; ModuleID = '/tmp/tmpi35tm5sv.c' source_filename = "/tmp/tmpi35tm5sv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi35tm5sv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn73sl69o.c' source_filename = "/tmp/tmpn73sl69o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gcd(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %18, label %22 18: ; preds = %3 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %19, %20 store i32 %21, ptr %4, align 4 br label %22 22: ; preds = %18, %3 %23 = load i32, ptr %5, align 4 %24 = icmp slt i32 %23, 0 br i1 %24, label %25, label %29 25: ; preds = %22 %26 = load i32, ptr %6, align 4 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %26, %27 store i32 %28, ptr %5, align 4 br label %29 29: ; preds = %25, %22 %30 = load i32, ptr %4, align 4 store i32 %30, ptr %7, align 4 %31 = load i32, ptr %5, align 4 store i32 %31, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 1, ptr %10, align 4 store i32 1, ptr %11, align 4 store i32 0, ptr %12, align 4 %32 = load i32, ptr %4, align 4 %33 = load i32, ptr %5, align 4 %34 = sdiv i32 %32, %33 %35 = call i32 @floor(i32 noundef %34) store i32 %35, ptr %13, align 4 %36 = load i32, ptr %7, align 4 %37 = load i32, ptr %13, align 4 %38 = load i32, ptr %8, align 4 %39 = mul nsw i32 %37, %38 %40 = sub nsw i32 %36, %39 store i32 %40, ptr %14, align 4 br label %41 41: ; preds = %44, %29 %42 = load i32, ptr %14, align 4 %43 = icmp sgt i32 %42, 0 br i1 %43, label %44, label %70 44: ; preds = %41 %45 = load i32, ptr %9, align 4 %46 = load i32, ptr %13, align 4 %47 = load i32, ptr %10, align 4 %48 = mul nsw i32 %46, %47 %49 = sub nsw i32 %45, %48 store i32 %49, ptr %15, align 4 %50 = load i32, ptr %10, align 4 store i32 %50, ptr %9, align 4 %51 = load i32, ptr %15, align 4 store i32 %51, ptr %10, align 4 %52 = load i32, ptr %11, align 4 %53 = load i32, ptr %13, align 4 %54 = load i32, ptr %12, align 4 %55 = mul nsw i32 %53, %54 %56 = sub nsw i32 %52, %55 store i32 %56, ptr %15, align 4 %57 = load i32, ptr %12, align 4 store i32 %57, ptr %11, align 4 %58 = load i32, ptr %15, align 4 store i32 %58, ptr %12, align 4 %59 = load i32, ptr %8, align 4 store i32 %59, ptr %7, align 4 %60 = load i32, ptr %14, align 4 store i32 %60, ptr %8, align 4 %61 = load i32, ptr %7, align 4 %62 = load i32, ptr %8, align 4 %63 = sdiv i32 %61, %62 %64 = call i32 @floor(i32 noundef %63) store i32 %64, ptr %13, align 4 %65 = load i32, ptr %7, align 4 %66 = load i32, ptr %13, align 4 %67 = load i32, ptr %8, align 4 %68 = mul nsw i32 %66, %67 %69 = sub nsw i32 %65, %68 store i32 %69, ptr %14, align 4 br label %41, !llvm.loop !6 70: ; preds = %41 %71 = load i32, ptr %8, align 4 store i32 %71, ptr %14, align 4 %72 = load i32, ptr %10, align 4 %73 = load i32, ptr %6, align 4 %74 = icmp sgt i32 %72, %73 br i1 %74, label %75, label %79 75: ; preds = %70 %76 = load i32, ptr %10, align 4 %77 = load i32, ptr %6, align 4 %78 = srem i32 %76, %77 store i32 %78, ptr %10, align 4 br label %79 79: ; preds = %75, %70 %80 = load i32, ptr %10, align 4 %81 = icmp slt i32 %80, 0 br i1 %81, label %82, label %86 82: ; preds = %79 %83 = load i32, ptr %6, align 4 %84 = load i32, ptr %10, align 4 %85 = add nsw i32 %83, %84 store i32 %85, ptr %10, align 4 br label %86 86: ; preds = %82, %79 %87 = load i32, ptr %10, align 4 ret i32 %87 } declare i32 @floor(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/tmpn73sl69o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gcd(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %18, label %22 18: ; preds = %3 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %19, %20 store i32 %21, ptr %4, align 4 br label %22 22: ; preds = %18, %3 %23 = load i32, ptr %5, align 4 %24 = icmp slt i32 %23, 0 br i1 %24, label %25, label %29 25: ; preds = %22 %26 = load i32, ptr %6, align 4 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %26, %27 store i32 %28, ptr %5, align 4 br label %29 29: ; preds = %25, %22 %30 = load i32, ptr %4, align 4 store i32 %30, ptr %7, align 4 %31 = load i32, ptr %5, align 4 store i32 %31, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 1, ptr %10, align 4 store i32 1, ptr %11, align 4 store i32 0, ptr %12, align 4 %32 = load i32, ptr %4, align 4 %33 = load i32, ptr %5, align 4 %34 = sdiv i32 %32, %33 %35 = call i32 @floor(i32 noundef %34) store i32 %35, ptr %13, align 4 %36 = load i32, ptr %7, align 4 %37 = load i32, ptr %13, align 4 %38 = load i32, ptr %8, align 4 %39 = mul nsw i32 %37, %38 %40 = sub nsw i32 %36, %39 store i32 %40, ptr %14, align 4 %41 = load i32, ptr %14, align 4 %42 = icmp sgt i32 %41, 0 br i1 %42, label %.lr.ph, label %71 .lr.ph: ; preds = %29 br label %43 43: ; preds = %.lr.ph, %43 %44 = load i32, ptr %9, align 4 %45 = load i32, ptr %13, align 4 %46 = load i32, ptr %10, align 4 %47 = mul nsw i32 %45, %46 %48 = sub nsw i32 %44, %47 store i32 %48, ptr %15, align 4 %49 = load i32, ptr %10, align 4 store i32 %49, ptr %9, align 4 %50 = load i32, ptr %15, align 4 store i32 %50, ptr %10, align 4 %51 = load i32, ptr %11, align 4 %52 = load i32, ptr %13, align 4 %53 = load i32, ptr %12, align 4 %54 = mul nsw i32 %52, %53 %55 = sub nsw i32 %51, %54 store i32 %55, ptr %15, align 4 %56 = load i32, ptr %12, align 4 store i32 %56, ptr %11, align 4 %57 = load i32, ptr %15, align 4 store i32 %57, ptr %12, align 4 %58 = load i32, ptr %8, align 4 store i32 %58, ptr %7, align 4 %59 = load i32, ptr %14, align 4 store i32 %59, ptr %8, align 4 %60 = load i32, ptr %7, align 4 %61 = load i32, ptr %8, align 4 %62 = sdiv i32 %60, %61 %63 = call i32 @floor(i32 noundef %62) store i32 %63, ptr %13, align 4 %64 = load i32, ptr %7, align 4 %65 = load i32, ptr %13, align 4 %66 = load i32, ptr %8, align 4 %67 = mul nsw i32 %65, %66 %68 = sub nsw i32 %64, %67 store i32 %68, ptr %14, align 4 %69 = load i32, ptr %14, align 4 %70 = icmp sgt i32 %69, 0 br i1 %70, label %43, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %43 br label %71 71: ; preds = %._crit_edge, %29 %72 = load i32, ptr %8, align 4 store i32 %72, ptr %14, align 4 %73 = load i32, ptr %10, align 4 %74 = load i32, ptr %6, align 4 %75 = icmp sgt i32 %73, %74 br i1 %75, label %76, label %80 76: ; preds = %71 %77 = load i32, ptr %10, align 4 %78 = load i32, ptr %6, align 4 %79 = srem i32 %77, %78 store i32 %79, ptr %10, align 4 br label %80 80: ; preds = %76, %71 %81 = load i32, ptr %10, align 4 %82 = icmp slt i32 %81, 0 br i1 %82, label %83, label %87 83: ; preds = %80 %84 = load i32, ptr %6, align 4 %85 = load i32, ptr %10, align 4 %86 = add nsw i32 %84, %85 store i32 %86, ptr %10, align 4 br label %87 87: ; preds = %83, %80 %88 = load i32, ptr %10, align 4 ret i32 %88 } declare i32 @floor(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/tmpyvpbrwnm.c' source_filename = "/tmp/tmpyvpbrwnm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"mServer%d\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"MSQ Test\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"Work\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 double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = alloca [10 x i8], align 1 store double 7.500000e+01, ptr %3, align 8 store double 2.000000e-01, ptr %4, align 8 store i32 30, ptr %5, align 4 %7 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 0 store i8 0, ptr %7, align 1 %8 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 0 %9 = load i32, ptr %5, align 4 %10 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str, i32 noundef %9) %11 = call i32 @PDQ_Init(ptr noundef @.str.1) %12 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 0 %13 = load i32, ptr %5, align 4 %14 = call i32 @PDQ_CreateNode(ptr noundef %12, i32 noundef %13, i32 noundef 6) store i32 %14, ptr %1, align 4 %15 = load double, ptr %3, align 8 %16 = call i32 @PDQ_CreateOpen(ptr noundef @.str.2, double noundef %15) store i32 %16, ptr %2, align 4 %17 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 0 %18 = load double, ptr %4, align 8 %19 = call i32 @PDQ_SetDemand(ptr noundef %17, ptr noundef @.str.2, double noundef %18) %20 = call i32 @PDQ_Solve(i32 noundef 16) %21 = call i32 (...) @PDQ_Report() ret i32 0 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @PDQ_Init(ptr noundef) #1 declare i32 @PDQ_CreateNode(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @PDQ_CreateOpen(ptr noundef, double noundef) #1 declare i32 @PDQ_SetDemand(ptr noundef, ptr noundef, double noundef) #1 declare i32 @PDQ_Solve(i32 noundef) #1 declare i32 @PDQ_Report(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyvpbrwnm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"mServer%d\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"MSQ Test\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"Work\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 double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = alloca [10 x i8], align 1 store double 7.500000e+01, ptr %3, align 8 store double 2.000000e-01, ptr %4, align 8 store i32 30, ptr %5, align 4 %7 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 0 store i8 0, ptr %7, align 1 %8 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 0 %9 = load i32, ptr %5, align 4 %10 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str, i32 noundef %9) %11 = call i32 @PDQ_Init(ptr noundef @.str.1) %12 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 0 %13 = load i32, ptr %5, align 4 %14 = call i32 @PDQ_CreateNode(ptr noundef %12, i32 noundef %13, i32 noundef 6) store i32 %14, ptr %1, align 4 %15 = load double, ptr %3, align 8 %16 = call i32 @PDQ_CreateOpen(ptr noundef @.str.2, double noundef %15) store i32 %16, ptr %2, align 4 %17 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 0 %18 = load double, ptr %4, align 8 %19 = call i32 @PDQ_SetDemand(ptr noundef %17, ptr noundef @.str.2, double noundef %18) %20 = call i32 @PDQ_Solve(i32 noundef 16) %21 = call i32 (...) @PDQ_Report() ret i32 0 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @PDQ_Init(ptr noundef) #1 declare i32 @PDQ_CreateNode(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @PDQ_CreateOpen(ptr noundef, double noundef) #1 declare i32 @PDQ_SetDemand(ptr noundef, ptr noundef, double noundef) #1 declare i32 @PDQ_Solve(i32 noundef) #1 declare i32 @PDQ_Report(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpztd8lkpt.c' source_filename = "/tmp/tmpztd8lkpt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 2, ptr %2, align 4 store i32 2, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp ne i32 %4, %5 %7 = zext i1 %6 to i32 %8 = call i32 @__VERIFIER_assert(i32 noundef %7) ret i32 0 } declare i32 @__VERIFIER_assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpztd8lkpt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 2, ptr %2, align 4 store i32 2, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp ne i32 %4, %5 %7 = zext i1 %6 to i32 %8 = call i32 @__VERIFIER_assert(i32 noundef %7) ret i32 0 } declare i32 @__VERIFIER_assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps_ryssnp.c' source_filename = "/tmp/tmps_ryssnp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"[annelid]: %s failed: %s.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_error(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load i32, ptr @stderr, align 4 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6, ptr noundef %7) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps_ryssnp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"[annelid]: %s failed: %s.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_error(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load i32, ptr @stderr, align 4 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6, ptr noundef %7) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbt3upwbb.c' source_filename = "/tmp/tmpbt3upwbb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @print_csid.buf = internal global [128 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [14 x i8] c"[%x.%x.%x.%x]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @print_csid(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = getelementptr inbounds i32, ptr %5, i64 0 %7 = load i32, ptr %6, align 4 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i32, ptr %8, i64 1 %10 = load i32, ptr %9, align 4 %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds i32, ptr %11, i64 2 %13 = load i32, ptr %12, align 4 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i32, ptr %14, i64 3 %16 = load i32, ptr %15, align 4 %17 = call i32 @sprintf(ptr noundef @print_csid.buf, ptr noundef @.str, i32 noundef %7, i32 noundef %10, i32 noundef %13, i32 noundef %16) ret ptr @print_csid.buf } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbt3upwbb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @print_csid.buf = internal global [128 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [14 x i8] c"[%x.%x.%x.%x]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @print_csid(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = getelementptr inbounds i32, ptr %5, i64 0 %7 = load i32, ptr %6, align 4 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i32, ptr %8, i64 1 %10 = load i32, ptr %9, align 4 %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds i32, ptr %11, i64 2 %13 = load i32, ptr %12, align 4 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i32, ptr %14, i64 3 %16 = load i32, ptr %15, align 4 %17 = call i32 @sprintf(ptr noundef @print_csid.buf, ptr noundef @.str, i32 noundef %7, i32 noundef %10, i32 noundef %13, i32 noundef %16) ret ptr @print_csid.buf } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsr9bbr0h.c' source_filename = "/tmp/tmpsr9bbr0h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glp_qmd_qmdupd(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) #0 { %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca i32, align 4 %29 = alloca i32, align 4 %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 ptr %3, ptr %14, align 8 store ptr %4, ptr %15, align 8 store ptr %5, ptr %16, align 8 store ptr %6, ptr %17, align 8 store ptr %7, ptr %18, align 8 store ptr %8, ptr %19, align 8 store ptr %9, ptr %20, align 8 %35 = load ptr, ptr %13, align 8 %36 = load i32, ptr %35, align 4 %37 = icmp sle i32 %36, 0 br i1 %37, label %38, label %39 38: ; preds = %10 br label %229 39: ; preds = %10 store i32 0, ptr %21, align 4 store i32 0, ptr %32, align 4 store i32 1, ptr %23, align 4 br label %40 40: ; preds = %111, %39 %41 = load i32, ptr %23, align 4 %42 = load ptr, ptr %13, align 8 %43 = load i32, ptr %42, align 4 %44 = icmp sle i32 %41, %43 br i1 %44, label %45, label %114 45: ; preds = %40 %46 = load ptr, ptr %14, align 8 %47 = load i32, ptr %23, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 %50 = load i32, ptr %49, align 4 store i32 %50, ptr %33, align 4 %51 = load ptr, ptr %16, align 8 %52 = load i32, ptr %33, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %51, i64 %53 %55 = load i32, ptr %54, align 4 %56 = load i32, ptr %21, align 4 %57 = add nsw i32 %56, %55 store i32 %57, ptr %21, align 4 %58 = load ptr, ptr %11, align 8 %59 = load i32, ptr %33, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %58, i64 %60 %62 = load i32, ptr %61, align 4 store i32 %62, ptr %29, align 4 %63 = load ptr, ptr %11, align 8 %64 = load i32, ptr %33, align 4 %65 = add nsw i32 %64, 1 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i32, ptr %63, i64 %66 %68 = load i32, ptr %67, align 4 %69 = sub nsw i32 %68, 1 store i32 %69, ptr %28, align 4 %70 = load i32, ptr %29, align 4 store i32 %70, ptr %27, align 4 br label %71 71: ; preds = %107, %45 %72 = load i32, ptr %27, align 4 %73 = load i32, ptr %28, align 4 %74 = icmp sle i32 %72, %73 br i1 %74, label %75, label %110 75: ; preds = %71 %76 = load ptr, ptr %12, align 8 %77 = load i32, ptr %27, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i32, ptr %76, i64 %78 %80 = load i32, ptr %79, align 4 store i32 %80, ptr %31, align 4 %81 = load ptr, ptr %18, align 8 %82 = load i32, ptr %31, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i32, ptr %81, i64 %83 %85 = load i32, ptr %84, align 4 %86 = icmp eq i32 %85, 0 br i1 %86, label %87, label %106 87: ; preds = %75 %88 = load ptr, ptr %15, align 8 %89 = load i32, ptr %31, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i32, ptr %88, i64 %90 %92 = load i32, ptr %91, align 4 %93 = icmp slt i32 %92, 0 br i1 %93, label %94, label %106 94: ; preds = %87 %95 = load ptr, ptr %18, align 8 %96 = load i32, ptr %31, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds i32, ptr %95, i64 %97 store i32 -1, ptr %98, align 4 %99 = load i32, ptr %32, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %32, align 4 %101 = load i32, ptr %31, align 4 %102 = load ptr, ptr %20, align 8 %103 = load i32, ptr %32, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds i32, ptr %102, i64 %104 store i32 %101, ptr %105, align 4 br label %106 106: ; preds = %94, %87, %75 br label %107 107: ; preds = %106 %108 = load i32, ptr %27, align 4 %109 = add nsw i32 %108, 1 store i32 %109, ptr %27, align 4 br label %71, !llvm.loop !6 110: ; preds = %71 br label %111 111: ; preds = %110 %112 = load i32, ptr %23, align 4 %113 = add nsw i32 %112, 1 store i32 %113, ptr %23, align 4 br label %40, !llvm.loop !8 114: ; preds = %40 %115 = load i32, ptr %32, align 4 %116 = icmp sgt i32 %115, 0 br i1 %116, label %117, label %132 117: ; preds = %114 %118 = load ptr, ptr %11, align 8 %119 = load ptr, ptr %12, align 8 %120 = load ptr, ptr %15, align 8 %121 = load ptr, ptr %16, align 8 %122 = load ptr, ptr %17, align 8 %123 = load ptr, ptr %18, align 8 %124 = load ptr, ptr %20, align 8 %125 = load ptr, ptr %19, align 8 %126 = load ptr, ptr %20, align 8 %127 = load i32, ptr %32, align 4 %128 = add nsw i32 %127, 1 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds i32, ptr %126, i64 %129 %131 = call i32 @glp_qmd_qmdmrg(ptr noundef %118, ptr noundef %119, ptr noundef %120, ptr noundef %121, ptr noundef %122, ptr noundef %123, ptr noundef %21, ptr noundef %32, ptr noundef %124, ptr noundef %125, ptr noundef %130) br label %132 132: ; preds = %117, %114 store i32 1, ptr %23, align 4 br label %133 133: ; preds = %225, %132 %134 = load i32, ptr %23, align 4 %135 = load ptr, ptr %13, align 8 %136 = load i32, ptr %135, align 4 %137 = icmp sle i32 %134, %136 br i1 %137, label %138, label %228 138: ; preds = %133 %139 = load ptr, ptr %14, align 8 %140 = load i32, ptr %23, align 4 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds i32, ptr %139, i64 %141 %143 = load i32, ptr %142, align 4 store i32 %143, ptr %33, align 4 %144 = load ptr, ptr %18, align 8 %145 = load i32, ptr %33, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds i32, ptr %144, i64 %146 %148 = load i32, ptr %147, align 4 store i32 %148, ptr %30, align 4 %149 = load i32, ptr %30, align 4 %150 = icmp eq i32 %149, 0 br i1 %150, label %154, label %151 151: ; preds = %138 %152 = load i32, ptr %30, align 4 %153 = icmp eq i32 %152, 1 br i1 %153, label %154, label %224 154: ; preds = %151, %138 %155 = load ptr, ptr %18, align 8 %156 = load i32, ptr %33, align 4 %157 = sext i32 %156 to i64 %158 = getelementptr inbounds i32, ptr %155, i64 %157 store i32 2, ptr %158, align 4 %159 = load ptr, ptr %11, align 8 %160 = load ptr, ptr %12, align 8 %161 = load ptr, ptr %15, align 8 %162 = load ptr, ptr %18, align 8 %163 = load ptr, ptr %19, align 8 %164 = load ptr, ptr %20, align 8 %165 = call i32 @glp_qmd_qmdrch(ptr noundef %33, ptr noundef %159, ptr noundef %160, ptr noundef %161, ptr noundef %162, ptr noundef %34, ptr noundef %163, ptr noundef %32, ptr noundef %164) %166 = load i32, ptr %21, align 4 store i32 %166, ptr %22, align 4 %167 = load i32, ptr %34, align 4 %168 = icmp sgt i32 %167, 0 br i1 %168, label %169, label %195 169: ; preds = %154 store i32 1, ptr %26, align 4 br label %170 170: ; preds = %191, %169 %171 = load i32, ptr %26, align 4 %172 = load i32, ptr %34, align 4 %173 = icmp sle i32 %171, %172 br i1 %173, label %174, label %194 174: ; preds = %170 %175 = load ptr, ptr %19, align 8 %176 = load i32, ptr %26, align 4 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds i32, ptr %175, i64 %177 %179 = load i32, ptr %178, align 4 store i32 %179, ptr %25, align 4 %180 = load ptr, ptr %16, align 8 %181 = load i32, ptr %25, align 4 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds i32, ptr %180, i64 %182 %184 = load i32, ptr %183, align 4 %185 = load i32, ptr %22, align 4 %186 = add nsw i32 %185, %184 store i32 %186, ptr %22, align 4 %187 = load ptr, ptr %18, align 8 %188 = load i32, ptr %25, align 4 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds i32, ptr %187, i64 %189 store i32 0, ptr %190, align 4 br label %191 191: ; preds = %174 %192 = load i32, ptr %26, align 4 %193 = add nsw i32 %192, 1 store i32 %193, ptr %26, align 4 br label %170, !llvm.loop !9 194: ; preds = %170 br label %195 195: ; preds = %194, %154 %196 = load i32, ptr %22, align 4 %197 = sub nsw i32 %196, 1 %198 = load ptr, ptr %15, align 8 %199 = load i32, ptr %33, align 4 %200 = sext i32 %199 to i64 %201 = getelementptr inbounds i32, ptr %198, i64 %200 store i32 %197, ptr %201, align 4 %202 = load i32, ptr %32, align 4 %203 = icmp sgt i32 %202, 0 br i1 %203, label %204, label %223 204: ; preds = %195 store i32 1, ptr %24, align 4 br label %205 205: ; preds = %219, %204 %206 = load i32, ptr %24, align 4 %207 = load i32, ptr %32, align 4 %208 = icmp sle i32 %206, %207 br i1 %208, label %209, label %222 209: ; preds = %205 %210 = load ptr, ptr %20, align 8 %211 = load i32, ptr %24, align 4 %212 = sext i32 %211 to i64 %213 = getelementptr inbounds i32, ptr %210, i64 %212 %214 = load i32, ptr %213, align 4 store i32 %214, ptr %25, align 4 %215 = load ptr, ptr %18, align 8 %216 = load i32, ptr %25, align 4 %217 = sext i32 %216 to i64 %218 = getelementptr inbounds i32, ptr %215, i64 %217 store i32 0, ptr %218, align 4 br label %219 219: ; preds = %209 %220 = load i32, ptr %24, align 4 %221 = add nsw i32 %220, 1 store i32 %221, ptr %24, align 4 br label %205, !llvm.loop !10 222: ; preds = %205 br label %223 223: ; preds = %222, %195 br label %224 224: ; preds = %223, %151 br label %225 225: ; preds = %224 %226 = load i32, ptr %23, align 4 %227 = add nsw i32 %226, 1 store i32 %227, ptr %23, align 4 br label %133, !llvm.loop !11 228: ; preds = %133 br label %229 229: ; preds = %228, %38 ret void } declare i32 @glp_qmd_qmdmrg(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @glp_qmd_qmdrch(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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/tmpsr9bbr0h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glp_qmd_qmdupd(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) #0 { %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca i32, align 4 %29 = alloca i32, align 4 %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 ptr %3, ptr %14, align 8 store ptr %4, ptr %15, align 8 store ptr %5, ptr %16, align 8 store ptr %6, ptr %17, align 8 store ptr %7, ptr %18, align 8 store ptr %8, ptr %19, align 8 store ptr %9, ptr %20, align 8 %35 = load ptr, ptr %13, align 8 %36 = load i32, ptr %35, align 4 %37 = icmp sle i32 %36, 0 br i1 %37, label %38, label %39 38: ; preds = %10 br label %241 39: ; preds = %10 store i32 0, ptr %21, align 4 store i32 0, ptr %32, align 4 store i32 1, ptr %23, align 4 %40 = load i32, ptr %23, align 4 %41 = load ptr, ptr %13, align 8 %42 = load i32, ptr %41, align 4 %43 = icmp sle i32 %40, %42 br i1 %43, label %.lr.ph2, label %119 .lr.ph2: ; preds = %39 br label %44 44: ; preds = %.lr.ph2, %112 %45 = load ptr, ptr %14, align 8 %46 = load i32, ptr %23, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %45, i64 %47 %49 = load i32, ptr %48, align 4 store i32 %49, ptr %33, align 4 %50 = load ptr, ptr %16, align 8 %51 = load i32, ptr %33, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %50, i64 %52 %54 = load i32, ptr %53, align 4 %55 = load i32, ptr %21, align 4 %56 = add nsw i32 %55, %54 store i32 %56, ptr %21, align 4 %57 = load ptr, ptr %11, align 8 %58 = load i32, ptr %33, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i32, ptr %57, i64 %59 %61 = load i32, ptr %60, align 4 store i32 %61, ptr %29, align 4 %62 = load ptr, ptr %11, align 8 %63 = load i32, ptr %33, align 4 %64 = add nsw i32 %63, 1 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i32, ptr %62, i64 %65 %67 = load i32, ptr %66, align 4 %68 = sub nsw i32 %67, 1 store i32 %68, ptr %28, align 4 %69 = load i32, ptr %29, align 4 store i32 %69, ptr %27, align 4 %70 = load i32, ptr %27, align 4 %71 = load i32, ptr %28, align 4 %72 = icmp sle i32 %70, %71 br i1 %72, label %.lr.ph, label %111 .lr.ph: ; preds = %44 br label %73 73: ; preds = %.lr.ph, %105 %74 = load ptr, ptr %12, align 8 %75 = load i32, ptr %27, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i32, ptr %74, i64 %76 %78 = load i32, ptr %77, align 4 store i32 %78, ptr %31, align 4 %79 = load ptr, ptr %18, align 8 %80 = load i32, ptr %31, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i32, ptr %79, i64 %81 %83 = load i32, ptr %82, align 4 %84 = icmp eq i32 %83, 0 br i1 %84, label %85, label %104 85: ; preds = %73 %86 = load ptr, ptr %15, align 8 %87 = load i32, ptr %31, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i32, ptr %86, i64 %88 %90 = load i32, ptr %89, align 4 %91 = icmp slt i32 %90, 0 br i1 %91, label %92, label %104 92: ; preds = %85 %93 = load ptr, ptr %18, align 8 %94 = load i32, ptr %31, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds i32, ptr %93, i64 %95 store i32 -1, ptr %96, align 4 %97 = load i32, ptr %32, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %32, align 4 %99 = load i32, ptr %31, align 4 %100 = load ptr, ptr %20, align 8 %101 = load i32, ptr %32, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i32, ptr %100, i64 %102 store i32 %99, ptr %103, align 4 br label %104 104: ; preds = %92, %85, %73 br label %105 105: ; preds = %104 %106 = load i32, ptr %27, align 4 %107 = add nsw i32 %106, 1 store i32 %107, ptr %27, align 4 %108 = load i32, ptr %27, align 4 %109 = load i32, ptr %28, align 4 %110 = icmp sle i32 %108, %109 br i1 %110, label %73, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %105 br label %111 111: ; preds = %._crit_edge, %44 br label %112 112: ; preds = %111 %113 = load i32, ptr %23, align 4 %114 = add nsw i32 %113, 1 store i32 %114, ptr %23, align 4 %115 = load i32, ptr %23, align 4 %116 = load ptr, ptr %13, align 8 %117 = load i32, ptr %116, align 4 %118 = icmp sle i32 %115, %117 br i1 %118, label %44, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %112 br label %119 119: ; preds = %._crit_edge3, %39 %120 = load i32, ptr %32, align 4 %121 = icmp sgt i32 %120, 0 br i1 %121, label %122, label %137 122: ; preds = %119 %123 = load ptr, ptr %11, align 8 %124 = load ptr, ptr %12, align 8 %125 = load ptr, ptr %15, align 8 %126 = load ptr, ptr %16, align 8 %127 = load ptr, ptr %17, align 8 %128 = load ptr, ptr %18, align 8 %129 = load ptr, ptr %20, align 8 %130 = load ptr, ptr %19, align 8 %131 = load ptr, ptr %20, align 8 %132 = load i32, ptr %32, align 4 %133 = add nsw i32 %132, 1 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds i32, ptr %131, i64 %134 %136 = call i32 @glp_qmd_qmdmrg(ptr noundef %123, ptr noundef %124, ptr noundef %125, ptr noundef %126, ptr noundef %127, ptr noundef %128, ptr noundef %21, ptr noundef %32, ptr noundef %129, ptr noundef %130, ptr noundef %135) br label %137 137: ; preds = %122, %119 store i32 1, ptr %23, align 4 %138 = load i32, ptr %23, align 4 %139 = load ptr, ptr %13, align 8 %140 = load i32, ptr %139, align 4 %141 = icmp sle i32 %138, %140 br i1 %141, label %.lr.ph11, label %240 .lr.ph11: ; preds = %137 br label %142 142: ; preds = %.lr.ph11, %233 %143 = load ptr, ptr %14, align 8 %144 = load i32, ptr %23, align 4 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds i32, ptr %143, i64 %145 %147 = load i32, ptr %146, align 4 store i32 %147, ptr %33, align 4 %148 = load ptr, ptr %18, align 8 %149 = load i32, ptr %33, align 4 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds i32, ptr %148, i64 %150 %152 = load i32, ptr %151, align 4 store i32 %152, ptr %30, align 4 %153 = load i32, ptr %30, align 4 %154 = icmp eq i32 %153, 0 br i1 %154, label %158, label %155 155: ; preds = %142 %156 = load i32, ptr %30, align 4 %157 = icmp eq i32 %156, 1 br i1 %157, label %158, label %232 158: ; preds = %155, %142 %159 = load ptr, ptr %18, align 8 %160 = load i32, ptr %33, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds i32, ptr %159, i64 %161 store i32 2, ptr %162, align 4 %163 = load ptr, ptr %11, align 8 %164 = load ptr, ptr %12, align 8 %165 = load ptr, ptr %15, align 8 %166 = load ptr, ptr %18, align 8 %167 = load ptr, ptr %19, align 8 %168 = load ptr, ptr %20, align 8 %169 = call i32 @glp_qmd_qmdrch(ptr noundef %33, ptr noundef %163, ptr noundef %164, ptr noundef %165, ptr noundef %166, ptr noundef %34, ptr noundef %167, ptr noundef %32, ptr noundef %168) %170 = load i32, ptr %21, align 4 store i32 %170, ptr %22, align 4 %171 = load i32, ptr %34, align 4 %172 = icmp sgt i32 %171, 0 br i1 %172, label %173, label %201 173: ; preds = %158 store i32 1, ptr %26, align 4 %174 = load i32, ptr %26, align 4 %175 = load i32, ptr %34, align 4 %176 = icmp sle i32 %174, %175 br i1 %176, label %.lr.ph5, label %200 .lr.ph5: ; preds = %173 br label %177 177: ; preds = %.lr.ph5, %194 %178 = load ptr, ptr %19, align 8 %179 = load i32, ptr %26, align 4 %180 = sext i32 %179 to i64 %181 = getelementptr inbounds i32, ptr %178, i64 %180 %182 = load i32, ptr %181, align 4 store i32 %182, ptr %25, align 4 %183 = load ptr, ptr %16, align 8 %184 = load i32, ptr %25, align 4 %185 = sext i32 %184 to i64 %186 = getelementptr inbounds i32, ptr %183, i64 %185 %187 = load i32, ptr %186, align 4 %188 = load i32, ptr %22, align 4 %189 = add nsw i32 %188, %187 store i32 %189, ptr %22, align 4 %190 = load ptr, ptr %18, align 8 %191 = load i32, ptr %25, align 4 %192 = sext i32 %191 to i64 %193 = getelementptr inbounds i32, ptr %190, i64 %192 store i32 0, ptr %193, align 4 br label %194 194: ; preds = %177 %195 = load i32, ptr %26, align 4 %196 = add nsw i32 %195, 1 store i32 %196, ptr %26, align 4 %197 = load i32, ptr %26, align 4 %198 = load i32, ptr %34, align 4 %199 = icmp sle i32 %197, %198 br i1 %199, label %177, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %194 br label %200 200: ; preds = %._crit_edge6, %173 br label %201 201: ; preds = %200, %158 %202 = load i32, ptr %22, align 4 %203 = sub nsw i32 %202, 1 %204 = load ptr, ptr %15, align 8 %205 = load i32, ptr %33, align 4 %206 = sext i32 %205 to i64 %207 = getelementptr inbounds i32, ptr %204, i64 %206 store i32 %203, ptr %207, align 4 %208 = load i32, ptr %32, align 4 %209 = icmp sgt i32 %208, 0 br i1 %209, label %210, label %231 210: ; preds = %201 store i32 1, ptr %24, align 4 %211 = load i32, ptr %24, align 4 %212 = load i32, ptr %32, align 4 %213 = icmp sle i32 %211, %212 br i1 %213, label %.lr.ph8, label %230 .lr.ph8: ; preds = %210 br label %214 214: ; preds = %.lr.ph8, %224 %215 = load ptr, ptr %20, align 8 %216 = load i32, ptr %24, align 4 %217 = sext i32 %216 to i64 %218 = getelementptr inbounds i32, ptr %215, i64 %217 %219 = load i32, ptr %218, align 4 store i32 %219, ptr %25, align 4 %220 = load ptr, ptr %18, align 8 %221 = load i32, ptr %25, align 4 %222 = sext i32 %221 to i64 %223 = getelementptr inbounds i32, ptr %220, i64 %222 store i32 0, ptr %223, align 4 br label %224 224: ; preds = %214 %225 = load i32, ptr %24, align 4 %226 = add nsw i32 %225, 1 store i32 %226, ptr %24, align 4 %227 = load i32, ptr %24, align 4 %228 = load i32, ptr %32, align 4 %229 = icmp sle i32 %227, %228 br i1 %229, label %214, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %224 br label %230 230: ; preds = %._crit_edge9, %210 br label %231 231: ; preds = %230, %201 br label %232 232: ; preds = %231, %155 br label %233 233: ; preds = %232 %234 = load i32, ptr %23, align 4 %235 = add nsw i32 %234, 1 store i32 %235, ptr %23, align 4 %236 = load i32, ptr %23, align 4 %237 = load ptr, ptr %13, align 8 %238 = load i32, ptr %237, align 4 %239 = icmp sle i32 %236, %238 br i1 %239, label %142, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %233 br label %240 240: ; preds = %._crit_edge12, %137 br label %241 241: ; preds = %240, %38 ret void } declare i32 @glp_qmd_qmdmrg(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @glp_qmd_qmdrch(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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/tmp5iu38rwq.c' source_filename = "/tmp/tmp5iu38rwq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readidew(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 @ide_read_data(i32 noundef %3, i32 noundef 2) ret i32 %4 } declare i32 @ide_read_data(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/tmp5iu38rwq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readidew(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 @ide_read_data(i32 noundef %3, i32 noundef 2) ret i32 %4 } declare i32 @ide_read_data(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/tmpj6uyyjm1.c' source_filename = "/tmp/tmpj6uyyjm1.c" target datalayout = "e-m:e-p270: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 [35 x i8] c"PID reported by /proc/self is: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"PID reported by getpid() is: %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 i64 (...) @get_pid_from_proc_self() %3 = trunc i64 %2 to i32 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) %5 = call i64 (...) @getpid() %6 = trunc i64 %5 to i32 %7 = call i32 @printf(ptr noundef @.str.1, i32 noundef %6) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i64 @get_pid_from_proc_self(...) #1 declare i64 @getpid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj6uyyjm1.c" target datalayout = "e-m:e-p270: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 [35 x i8] c"PID reported by /proc/self is: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"PID reported by getpid() is: %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 i64 (...) @get_pid_from_proc_self() %3 = trunc i64 %2 to i32 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) %5 = call i64 (...) @getpid() %6 = trunc i64 %5 to i32 %7 = call i32 @printf(ptr noundef @.str.1, i32 noundef %6) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i64 @get_pid_from_proc_self(...) #1 declare i64 @getpid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyrx7hwxh.c' source_filename = "/tmp/tmpyrx7hwxh.c" target datalayout = "e-m:e-p270: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/tmpyrx7hwxh.c" target datalayout = "e-m:e-p270: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/tmpkc7j3qot.c' source_filename = "/tmp/tmpkc7j3qot.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"B\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"C\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"D\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %6) %8 = load i32, ptr %6, align 4 %9 = icmp sge i32 %8, 90 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 @printf(ptr noundef @.str.1) br label %26 12: ; preds = %2 %13 = load i32, ptr %6, align 4 %14 = icmp sge i32 %13, 80 br i1 %14, label %15, label %17 15: ; preds = %12 %16 = call i32 @printf(ptr noundef @.str.2) br label %25 17: ; preds = %12 %18 = load i32, ptr %6, align 4 %19 = icmp sge i32 %18, 70 br i1 %19, label %20, label %22 20: ; preds = %17 %21 = call i32 @printf(ptr noundef @.str.3) br label %24 22: ; preds = %17 %23 = call i32 @printf(ptr noundef @.str.4) br label %24 24: ; preds = %22, %20 br label %25 25: ; preds = %24, %15 br label %26 26: ; preds = %25, %10 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkc7j3qot.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"B\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"C\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"D\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %6) %8 = load i32, ptr %6, align 4 %9 = icmp sge i32 %8, 90 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 @printf(ptr noundef @.str.1) br label %26 12: ; preds = %2 %13 = load i32, ptr %6, align 4 %14 = icmp sge i32 %13, 80 br i1 %14, label %15, label %17 15: ; preds = %12 %16 = call i32 @printf(ptr noundef @.str.2) br label %25 17: ; preds = %12 %18 = load i32, ptr %6, align 4 %19 = icmp sge i32 %18, 70 br i1 %19, label %20, label %22 20: ; preds = %17 %21 = call i32 @printf(ptr noundef @.str.3) br label %24 22: ; preds = %17 %23 = call i32 @printf(ptr noundef @.str.4) br label %24 24: ; preds = %22, %20 br label %25 25: ; preds = %24, %15 br label %26 26: ; preds = %25, %10 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd7mh8phv.c' source_filename = "/tmp/tmpd7mh8phv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dgetf2_3l(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca double, align 8 %17 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %18 = load i32, ptr %7, align 4 %19 = icmp sle i32 %18, 0 br i1 %19, label %23, label %20 20: ; preds = %6 %21 = load i32, ptr %8, align 4 %22 = icmp sle i32 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %20, %6 br label %210 24: ; preds = %20 %25 = load i32, ptr %7, align 4 %26 = load i32, ptr %8, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %30 28: ; preds = %24 %29 = load i32, ptr %7, align 4 br label %32 30: ; preds = %24 %31 = load i32, ptr %8, align 4 br label %32 32: ; preds = %30, %28 %33 = phi i32 [ %29, %28 ], [ %31, %30 ] store i32 %33, ptr %17, align 4 store i32 0, ptr %14, align 4 br label %34 34: ; preds = %206, %32 %35 = load i32, ptr %14, align 4 %36 = load i32, ptr %17, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %38, label %209 38: ; preds = %34 %39 = load i32, ptr %14, align 4 %40 = load i32, ptr %7, align 4 %41 = load i32, ptr %14, align 4 %42 = sub nsw i32 %40, %41 %43 = load ptr, ptr %9, align 8 %44 = load i32, ptr %14, align 4 %45 = load i32, ptr %10, align 4 %46 = load i32, ptr %14, align 4 %47 = mul nsw i32 %45, %46 %48 = add nsw i32 %44, %47 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds double, ptr %43, i64 %49 %51 = call i32 @idamax_3l(i32 noundef %42, ptr noundef %50) %52 = add nsw i32 %39, %51 store i32 %52, ptr %15, align 4 %53 = load i32, ptr %15, align 4 %54 = load ptr, ptr %11, align 8 %55 = load i32, ptr %14, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i32, ptr %54, i64 %56 store i32 %53, ptr %57, align 4 %58 = load ptr, ptr %9, align 8 %59 = load i32, ptr %15, align 4 %60 = load i32, ptr %10, align 4 %61 = load i32, ptr %14, align 4 %62 = mul nsw i32 %60, %61 %63 = add nsw i32 %59, %62 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds double, ptr %58, i64 %64 %66 = load double, ptr %65, align 8 %67 = fcmp une double %66, 0.000000e+00 br i1 %67, label %68, label %152 68: ; preds = %38 %69 = load i32, ptr %15, align 4 %70 = load i32, ptr %14, align 4 %71 = icmp ne i32 %69, %70 br i1 %71, label %72, label %85 72: ; preds = %68 %73 = load i32, ptr %8, align 4 %74 = load ptr, ptr %9, align 8 %75 = load i32, ptr %14, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds double, ptr %74, i64 %76 %78 = load i32, ptr %10, align 4 %79 = load ptr, ptr %9, align 8 %80 = load i32, ptr %15, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds double, ptr %79, i64 %81 %83 = load i32, ptr %10, align 4 %84 = call i32 @dswap_3l(i32 noundef %73, ptr noundef %77, i32 noundef %78, ptr noundef %82, i32 noundef %83) br label %85 85: ; preds = %72, %68 %86 = load i32, ptr %14, align 4 %87 = load i32, ptr %7, align 4 %88 = sub nsw i32 %87, 1 %89 = icmp slt i32 %86, %88 br i1 %89, label %90, label %151 90: ; preds = %85 %91 = load ptr, ptr %9, align 8 %92 = load i32, ptr %14, align 4 %93 = load i32, ptr %10, align 4 %94 = load i32, ptr %14, align 4 %95 = mul nsw i32 %93, %94 %96 = add nsw i32 %92, %95 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds double, ptr %91, i64 %97 %99 = load double, ptr %98, align 8 store double %99, ptr %16, align 8 %100 = load double, ptr %16, align 8 %101 = fcmp ogt double %100, 0.000000e+00 br i1 %101, label %102, label %104 102: ; preds = %90 %103 = load double, ptr %16, align 8 br label %107 104: ; preds = %90 %105 = load double, ptr %16, align 8 %106 = fneg double %105 br label %107 107: ; preds = %104, %102 %108 = phi double [ %103, %102 ], [ %106, %104 ] %109 = fcmp oge double %108, 2.220000e-16 br i1 %109, label %110, label %127 110: ; preds = %107 %111 = load i32, ptr %7, align 4 %112 = load i32, ptr %14, align 4 %113 = sub nsw i32 %111, %112 %114 = sub nsw i32 %113, 1 %115 = load double, ptr %16, align 8 %116 = fdiv double 1.000000e+00, %115 %117 = load ptr, ptr %9, align 8 %118 = load i32, ptr %14, align 4 %119 = add nsw i32 %118, 1 %120 = load i32, ptr %10, align 4 %121 = load i32, ptr %14, align 4 %122 = mul nsw i32 %120, %121 %123 = add nsw i32 %119, %122 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds double, ptr %117, i64 %124 %126 = call i32 @dscal_3l(i32 noundef %114, double noundef %116, ptr noundef %125) br label %150 127: ; preds = %107 %128 = load i32, ptr %14, align 4 %129 = add nsw i32 %128, 1 store i32 %129, ptr %13, align 4 br label %130 130: ; preds = %146, %127 %131 = load i32, ptr %13, align 4 %132 = load i32, ptr %7, align 4 %133 = icmp slt i32 %131, %132 br i1 %133, label %134, label %149 134: ; preds = %130 %135 = load double, ptr %16, align 8 %136 = load ptr, ptr %9, align 8 %137 = load i32, ptr %13, align 4 %138 = load i32, ptr %10, align 4 %139 = load i32, ptr %14, align 4 %140 = mul nsw i32 %138, %139 %141 = add nsw i32 %137, %140 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds double, ptr %136, i64 %142 %144 = load double, ptr %143, align 8 %145 = fdiv double %144, %135 store double %145, ptr %143, align 8 br label %146 146: ; preds = %134 %147 = load i32, ptr %13, align 4 %148 = add nsw i32 %147, 1 store i32 %148, ptr %13, align 4 br label %130, !llvm.loop !6 149: ; preds = %130 br label %150 150: ; preds = %149, %110 br label %151 151: ; preds = %150, %85 br label %161 152: ; preds = %38 %153 = load ptr, ptr %12, align 8 %154 = load i32, ptr %153, align 4 %155 = icmp eq i32 %154, 0 br i1 %155, label %156, label %160 156: ; preds = %152 %157 = load i32, ptr %14, align 4 %158 = add nsw i32 %157, 1 %159 = load ptr, ptr %12, align 8 store i32 %158, ptr %159, align 4 br label %160 160: ; preds = %156, %152 br label %161 161: ; preds = %160, %151 %162 = load i32, ptr %14, align 4 %163 = load i32, ptr %17, align 4 %164 = icmp slt i32 %162, %163 br i1 %164, label %165, label %205 165: ; preds = %161 %166 = load i32, ptr %7, align 4 %167 = load i32, ptr %14, align 4 %168 = sub nsw i32 %166, %167 %169 = sub nsw i32 %168, 1 %170 = load i32, ptr %8, align 4 %171 = load i32, ptr %14, align 4 %172 = sub nsw i32 %170, %171 %173 = sub nsw i32 %172, 1 %174 = load ptr, ptr %9, align 8 %175 = load i32, ptr %14, align 4 %176 = add nsw i32 %175, 1 %177 = load i32, ptr %10, align 4 %178 = load i32, ptr %14, align 4 %179 = mul nsw i32 %177, %178 %180 = add nsw i32 %176, %179 %181 = sext i32 %180 to i64 %182 = getelementptr inbounds double, ptr %174, i64 %181 %183 = load ptr, ptr %9, align 8 %184 = load i32, ptr %14, align 4 %185 = load i32, ptr %10, align 4 %186 = load i32, ptr %14, align 4 %187 = add nsw i32 %186, 1 %188 = mul nsw i32 %185, %187 %189 = add nsw i32 %184, %188 %190 = sext i32 %189 to i64 %191 = getelementptr inbounds double, ptr %183, i64 %190 %192 = load i32, ptr %10, align 4 %193 = load ptr, ptr %9, align 8 %194 = load i32, ptr %14, align 4 %195 = add nsw i32 %194, 1 %196 = load i32, ptr %10, align 4 %197 = load i32, ptr %14, align 4 %198 = add nsw i32 %197, 1 %199 = mul nsw i32 %196, %198 %200 = add nsw i32 %195, %199 %201 = sext i32 %200 to i64 %202 = getelementptr inbounds double, ptr %193, i64 %201 %203 = load i32, ptr %10, align 4 %204 = call i32 @dger_3l(i32 noundef %169, i32 noundef %173, double noundef -1.000000e+00, ptr noundef %182, i32 noundef 1, ptr noundef %191, i32 noundef %192, ptr noundef %202, i32 noundef %203) br label %205 205: ; preds = %165, %161 br label %206 206: ; preds = %205 %207 = load i32, ptr %14, align 4 %208 = add nsw i32 %207, 1 store i32 %208, ptr %14, align 4 br label %34, !llvm.loop !8 209: ; preds = %34 br label %210 210: ; preds = %209, %23 ret void } declare i32 @idamax_3l(i32 noundef, ptr noundef) #1 declare i32 @dswap_3l(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @dscal_3l(i32 noundef, double noundef, ptr noundef) #1 declare i32 @dger_3l(i32 noundef, i32 noundef, double noundef, ptr noundef, i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd7mh8phv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dgetf2_3l(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca double, align 8 %17 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %18 = load i32, ptr %7, align 4 %19 = icmp sle i32 %18, 0 br i1 %19, label %23, label %20 20: ; preds = %6 %21 = load i32, ptr %8, align 4 %22 = icmp sle i32 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %20, %6 br label %214 24: ; preds = %20 %25 = load i32, ptr %7, align 4 %26 = load i32, ptr %8, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %30 28: ; preds = %24 %29 = load i32, ptr %7, align 4 br label %32 30: ; preds = %24 %31 = load i32, ptr %8, align 4 br label %32 32: ; preds = %30, %28 %33 = phi i32 [ %29, %28 ], [ %31, %30 ] store i32 %33, ptr %17, align 4 store i32 0, ptr %14, align 4 %34 = load i32, ptr %14, align 4 %35 = load i32, ptr %17, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %.lr.ph2, label %213 .lr.ph2: ; preds = %32 br label %37 37: ; preds = %.lr.ph2, %207 %38 = load i32, ptr %14, align 4 %39 = load i32, ptr %7, align 4 %40 = load i32, ptr %14, align 4 %41 = sub nsw i32 %39, %40 %42 = load ptr, ptr %9, align 8 %43 = load i32, ptr %14, align 4 %44 = load i32, ptr %10, align 4 %45 = load i32, ptr %14, align 4 %46 = mul nsw i32 %44, %45 %47 = add nsw i32 %43, %46 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds double, ptr %42, i64 %48 %50 = call i32 @idamax_3l(i32 noundef %41, ptr noundef %49) %51 = add nsw i32 %38, %50 store i32 %51, ptr %15, align 4 %52 = load i32, ptr %15, align 4 %53 = load ptr, ptr %11, align 8 %54 = load i32, ptr %14, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %53, i64 %55 store i32 %52, ptr %56, align 4 %57 = load ptr, ptr %9, align 8 %58 = load i32, ptr %15, align 4 %59 = load i32, ptr %10, align 4 %60 = load i32, ptr %14, align 4 %61 = mul nsw i32 %59, %60 %62 = add nsw i32 %58, %61 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds double, ptr %57, i64 %63 %65 = load double, ptr %64, align 8 %66 = fcmp une double %65, 0.000000e+00 br i1 %66, label %67, label %153 67: ; preds = %37 %68 = load i32, ptr %15, align 4 %69 = load i32, ptr %14, align 4 %70 = icmp ne i32 %68, %69 br i1 %70, label %71, label %84 71: ; preds = %67 %72 = load i32, ptr %8, align 4 %73 = load ptr, ptr %9, align 8 %74 = load i32, ptr %14, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds double, ptr %73, i64 %75 %77 = load i32, ptr %10, align 4 %78 = load ptr, ptr %9, align 8 %79 = load i32, ptr %15, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds double, ptr %78, i64 %80 %82 = load i32, ptr %10, align 4 %83 = call i32 @dswap_3l(i32 noundef %72, ptr noundef %76, i32 noundef %77, ptr noundef %81, i32 noundef %82) br label %84 84: ; preds = %71, %67 %85 = load i32, ptr %14, align 4 %86 = load i32, ptr %7, align 4 %87 = sub nsw i32 %86, 1 %88 = icmp slt i32 %85, %87 br i1 %88, label %89, label %152 89: ; preds = %84 %90 = load ptr, ptr %9, align 8 %91 = load i32, ptr %14, align 4 %92 = load i32, ptr %10, align 4 %93 = load i32, ptr %14, align 4 %94 = mul nsw i32 %92, %93 %95 = add nsw i32 %91, %94 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds double, ptr %90, i64 %96 %98 = load double, ptr %97, align 8 store double %98, ptr %16, align 8 %99 = load double, ptr %16, align 8 %100 = fcmp ogt double %99, 0.000000e+00 br i1 %100, label %101, label %103 101: ; preds = %89 %102 = load double, ptr %16, align 8 br label %106 103: ; preds = %89 %104 = load double, ptr %16, align 8 %105 = fneg double %104 br label %106 106: ; preds = %103, %101 %107 = phi double [ %102, %101 ], [ %105, %103 ] %108 = fcmp oge double %107, 2.220000e-16 br i1 %108, label %109, label %126 109: ; preds = %106 %110 = load i32, ptr %7, align 4 %111 = load i32, ptr %14, align 4 %112 = sub nsw i32 %110, %111 %113 = sub nsw i32 %112, 1 %114 = load double, ptr %16, align 8 %115 = fdiv double 1.000000e+00, %114 %116 = load ptr, ptr %9, align 8 %117 = load i32, ptr %14, align 4 %118 = add nsw i32 %117, 1 %119 = load i32, ptr %10, align 4 %120 = load i32, ptr %14, align 4 %121 = mul nsw i32 %119, %120 %122 = add nsw i32 %118, %121 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds double, ptr %116, i64 %123 %125 = call i32 @dscal_3l(i32 noundef %113, double noundef %115, ptr noundef %124) br label %151 126: ; preds = %106 %127 = load i32, ptr %14, align 4 %128 = add nsw i32 %127, 1 store i32 %128, ptr %13, align 4 %129 = load i32, ptr %13, align 4 %130 = load i32, ptr %7, align 4 %131 = icmp slt i32 %129, %130 br i1 %131, label %.lr.ph, label %150 .lr.ph: ; preds = %126 br label %132 132: ; preds = %.lr.ph, %144 %133 = load double, ptr %16, align 8 %134 = load ptr, ptr %9, align 8 %135 = load i32, ptr %13, align 4 %136 = load i32, ptr %10, align 4 %137 = load i32, ptr %14, align 4 %138 = mul nsw i32 %136, %137 %139 = add nsw i32 %135, %138 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds double, ptr %134, i64 %140 %142 = load double, ptr %141, align 8 %143 = fdiv double %142, %133 store double %143, ptr %141, align 8 br label %144 144: ; preds = %132 %145 = load i32, ptr %13, align 4 %146 = add nsw i32 %145, 1 store i32 %146, ptr %13, align 4 %147 = load i32, ptr %13, align 4 %148 = load i32, ptr %7, align 4 %149 = icmp slt i32 %147, %148 br i1 %149, label %132, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %144 br label %150 150: ; preds = %._crit_edge, %126 br label %151 151: ; preds = %150, %109 br label %152 152: ; preds = %151, %84 br label %162 153: ; preds = %37 %154 = load ptr, ptr %12, align 8 %155 = load i32, ptr %154, align 4 %156 = icmp eq i32 %155, 0 br i1 %156, label %157, label %161 157: ; preds = %153 %158 = load i32, ptr %14, align 4 %159 = add nsw i32 %158, 1 %160 = load ptr, ptr %12, align 8 store i32 %159, ptr %160, align 4 br label %161 161: ; preds = %157, %153 br label %162 162: ; preds = %161, %152 %163 = load i32, ptr %14, align 4 %164 = load i32, ptr %17, align 4 %165 = icmp slt i32 %163, %164 br i1 %165, label %166, label %206 166: ; preds = %162 %167 = load i32, ptr %7, align 4 %168 = load i32, ptr %14, align 4 %169 = sub nsw i32 %167, %168 %170 = sub nsw i32 %169, 1 %171 = load i32, ptr %8, align 4 %172 = load i32, ptr %14, align 4 %173 = sub nsw i32 %171, %172 %174 = sub nsw i32 %173, 1 %175 = load ptr, ptr %9, align 8 %176 = load i32, ptr %14, align 4 %177 = add nsw i32 %176, 1 %178 = load i32, ptr %10, align 4 %179 = load i32, ptr %14, align 4 %180 = mul nsw i32 %178, %179 %181 = add nsw i32 %177, %180 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds double, ptr %175, i64 %182 %184 = load ptr, ptr %9, align 8 %185 = load i32, ptr %14, align 4 %186 = load i32, ptr %10, align 4 %187 = load i32, ptr %14, align 4 %188 = add nsw i32 %187, 1 %189 = mul nsw i32 %186, %188 %190 = add nsw i32 %185, %189 %191 = sext i32 %190 to i64 %192 = getelementptr inbounds double, ptr %184, i64 %191 %193 = load i32, ptr %10, align 4 %194 = load ptr, ptr %9, align 8 %195 = load i32, ptr %14, align 4 %196 = add nsw i32 %195, 1 %197 = load i32, ptr %10, align 4 %198 = load i32, ptr %14, align 4 %199 = add nsw i32 %198, 1 %200 = mul nsw i32 %197, %199 %201 = add nsw i32 %196, %200 %202 = sext i32 %201 to i64 %203 = getelementptr inbounds double, ptr %194, i64 %202 %204 = load i32, ptr %10, align 4 %205 = call i32 @dger_3l(i32 noundef %170, i32 noundef %174, double noundef -1.000000e+00, ptr noundef %183, i32 noundef 1, ptr noundef %192, i32 noundef %193, ptr noundef %203, i32 noundef %204) br label %206 206: ; preds = %166, %162 br label %207 207: ; preds = %206 %208 = load i32, ptr %14, align 4 %209 = add nsw i32 %208, 1 store i32 %209, ptr %14, align 4 %210 = load i32, ptr %14, align 4 %211 = load i32, ptr %17, align 4 %212 = icmp slt i32 %210, %211 br i1 %212, label %37, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %207 br label %213 213: ; preds = %._crit_edge3, %32 br label %214 214: ; preds = %213, %23 ret void } declare i32 @idamax_3l(i32 noundef, ptr noundef) #1 declare i32 @dswap_3l(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @dscal_3l(i32 noundef, double noundef, ptr noundef) #1 declare i32 @dger_3l(i32 noundef, i32 noundef, double noundef, ptr noundef, i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp2embk9k0.c' source_filename = "/tmp/tmp2embk9k0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"%d * %d; SEQUENTIAL; %f secs\0A\00", align 1 @CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @exercise_3_9(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca double, align 8 store ptr %0, ptr %2, align 8 %11 = load ptr, ptr %2, align 8 %12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str) store ptr %12, ptr %3, align 8 %13 = load ptr, ptr %3, align 8 %14 = call i32 @fscanf(ptr noundef %13, ptr noundef @.str.1, ptr noundef %7, ptr noundef %8) %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %8, align 4 %17 = call ptr @makeMatrix9(i32 noundef %15, i32 noundef %16) store ptr %17, ptr %4, align 8 %18 = load ptr, ptr %3, align 8 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %8, align 4 %22 = call i32 @readMatrix9(ptr noundef %18, ptr noundef %19, i32 noundef %20, i32 noundef %21) %23 = load i32, ptr %8, align 4 %24 = load i32, ptr %7, align 4 %25 = call ptr @makeMatrix9(i32 noundef %23, i32 noundef %24) store ptr %25, ptr %5, align 8 %26 = load ptr, ptr %3, align 8 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr %8, align 4 %29 = load i32, ptr %7, align 4 %30 = call i32 @readMatrix9(ptr noundef %26, ptr noundef %27, i32 noundef %28, i32 noundef %29) %31 = load ptr, ptr %3, align 8 %32 = call i32 @fclose(ptr noundef %31) %33 = load i32, ptr %7, align 4 %34 = load i32, ptr %7, align 4 %35 = call ptr @makeMatrix9(i32 noundef %33, i32 noundef %34) store ptr %35, ptr %6, align 8 %36 = call double (...) @clock() store double %36, ptr %9, align 8 %37 = load ptr, ptr %4, align 8 %38 = load ptr, ptr %5, align 8 %39 = load ptr, ptr %6, align 8 %40 = load i32, ptr %7, align 4 %41 = load i32, ptr %8, align 4 %42 = call i32 @matrixProdCole9(ptr noundef %37, ptr noundef %38, ptr noundef %39, i32 noundef %40, i32 noundef %41, i32 noundef 10) %43 = call double (...) @clock() store double %43, ptr %10, align 8 %44 = load i32, ptr %7, align 4 %45 = load i32, ptr %8, align 4 %46 = load double, ptr %10, align 8 %47 = load double, ptr %9, align 8 %48 = fsub double %46, %47 %49 = load double, ptr @CLOCKS_PER_SEC, align 8 %50 = fdiv double %48, %49 %51 = call i32 @printf(ptr noundef @.str.2, i32 noundef %44, i32 noundef %45, double noundef %50) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @makeMatrix9(i32 noundef, i32 noundef) #1 declare i32 @readMatrix9(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 declare double @clock(...) #1 declare i32 @matrixProdCole9(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2embk9k0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"%d * %d; SEQUENTIAL; %f secs\0A\00", align 1 @CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @exercise_3_9(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca double, align 8 store ptr %0, ptr %2, align 8 %11 = load ptr, ptr %2, align 8 %12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str) store ptr %12, ptr %3, align 8 %13 = load ptr, ptr %3, align 8 %14 = call i32 @fscanf(ptr noundef %13, ptr noundef @.str.1, ptr noundef %7, ptr noundef %8) %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %8, align 4 %17 = call ptr @makeMatrix9(i32 noundef %15, i32 noundef %16) store ptr %17, ptr %4, align 8 %18 = load ptr, ptr %3, align 8 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %8, align 4 %22 = call i32 @readMatrix9(ptr noundef %18, ptr noundef %19, i32 noundef %20, i32 noundef %21) %23 = load i32, ptr %8, align 4 %24 = load i32, ptr %7, align 4 %25 = call ptr @makeMatrix9(i32 noundef %23, i32 noundef %24) store ptr %25, ptr %5, align 8 %26 = load ptr, ptr %3, align 8 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr %8, align 4 %29 = load i32, ptr %7, align 4 %30 = call i32 @readMatrix9(ptr noundef %26, ptr noundef %27, i32 noundef %28, i32 noundef %29) %31 = load ptr, ptr %3, align 8 %32 = call i32 @fclose(ptr noundef %31) %33 = load i32, ptr %7, align 4 %34 = load i32, ptr %7, align 4 %35 = call ptr @makeMatrix9(i32 noundef %33, i32 noundef %34) store ptr %35, ptr %6, align 8 %36 = call double (...) @clock() store double %36, ptr %9, align 8 %37 = load ptr, ptr %4, align 8 %38 = load ptr, ptr %5, align 8 %39 = load ptr, ptr %6, align 8 %40 = load i32, ptr %7, align 4 %41 = load i32, ptr %8, align 4 %42 = call i32 @matrixProdCole9(ptr noundef %37, ptr noundef %38, ptr noundef %39, i32 noundef %40, i32 noundef %41, i32 noundef 10) %43 = call double (...) @clock() store double %43, ptr %10, align 8 %44 = load i32, ptr %7, align 4 %45 = load i32, ptr %8, align 4 %46 = load double, ptr %10, align 8 %47 = load double, ptr %9, align 8 %48 = fsub double %46, %47 %49 = load double, ptr @CLOCKS_PER_SEC, align 8 %50 = fdiv double %48, %49 %51 = call i32 @printf(ptr noundef @.str.2, i32 noundef %44, i32 noundef %45, double noundef %50) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @makeMatrix9(i32 noundef, i32 noundef) #1 declare i32 @readMatrix9(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 declare double @clock(...) #1 declare i32 @matrixProdCole9(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4gvfj84c.c' source_filename = "/tmp/tmp4gvfj84c.c" target datalayout = "e-m:e-p270: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/tmp4gvfj84c.c" target datalayout = "e-m:e-p270: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/tmpws12ao55.c' source_filename = "/tmp/tmpws12ao55.c" target datalayout = "e-m:e-p270: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/tmpws12ao55.c" target datalayout = "e-m:e-p270: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/tmpdd_mdpy1.c' source_filename = "/tmp/tmpdd_mdpy1.c" target datalayout = "e-m:e-p270: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/tmpdd_mdpy1.c" target datalayout = "e-m:e-p270: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/tmp3ze79ao9.c' source_filename = "/tmp/tmp3ze79ao9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"NOT IMPLEMENTED:pa_pstream_send_memblock\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_pstream_send_memblock() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } 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/tmp3ze79ao9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"NOT IMPLEMENTED:pa_pstream_send_memblock\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_pstream_send_memblock() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } 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/tmpd7df3d8l.c' source_filename = "/tmp/tmpd7df3d8l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_XEvent_xexpose_height(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0 %6 = load i64, ptr %5, align 8 %7 = trunc i64 %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/tmpd7df3d8l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_XEvent_xexpose_height(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0 %6 = load i64, ptr %5, align 8 %7 = trunc i64 %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/tmpq40hyssj.c' source_filename = "/tmp/tmpq40hyssj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fpu_ftan(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 store double %0, ptr %2, align 8 %4 = load double, ptr %2, align 8 %5 = call double @tan(double noundef %4) #2 store double %5, ptr %3, align 8 %6 = load double, ptr %3, align 8 ret double %6 } ; Function Attrs: nounwind declare double @tan(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq40hyssj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fpu_ftan(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 store double %0, ptr %2, align 8 %4 = load double, ptr %2, align 8 %5 = call double @tan(double noundef %4) #2 store double %5, ptr %3, align 8 %6 = load double, ptr %3, align 8 ret double %6 } ; Function Attrs: nounwind declare double @tan(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpunpq7epp.c' source_filename = "/tmp/tmpunpq7epp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INADDR_BROADCAST = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpunpq7epp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INADDR_BROADCAST = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6suflo3z.c' source_filename = "/tmp/tmp6suflo3z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"/Users/chen/outfile\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"can't open file!\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca [3 x [10 x i8]], align 16 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 %5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %5, ptr %2, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %0 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %9 = call i32 @exit(i32 noundef 0) #3 unreachable 10: ; preds = %0 br label %11 11: ; preds = %19, %10 %12 = load i32, ptr %4, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [3 x [10 x i8]], ptr %3, i64 0, i64 %13 %15 = getelementptr inbounds [10 x i8], ptr %14, i64 0, i64 0 %16 = load ptr, ptr %2, align 8 %17 = call ptr @fgets(ptr noundef %15, i32 noundef 10, ptr noundef %16) %18 = icmp ne ptr %17, null br i1 %18, label %19, label %27 19: ; preds = %11 %20 = load i32, ptr %4, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [3 x [10 x i8]], ptr %3, i64 0, i64 %21 %23 = getelementptr inbounds [10 x i8], ptr %22, i64 0, i64 0 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %23) %25 = load i32, ptr %4, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %4, align 4 br label %11, !llvm.loop !6 27: ; preds = %11 %28 = load ptr, ptr %2, align 8 %29 = call i32 @fclose(ptr noundef %28) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp6suflo3z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"/Users/chen/outfile\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"can't open file!\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca [3 x [10 x i8]], align 16 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 %5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %5, ptr %2, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %0 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %9 = call i32 @exit(i32 noundef 0) #3 unreachable 10: ; preds = %0 %11 = load i32, ptr %4, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [3 x [10 x i8]], ptr %3, i64 0, i64 %12 %14 = load ptr, ptr %2, align 8 %15 = call ptr @fgets(ptr noundef %13, i32 noundef 10, ptr noundef %14) %16 = icmp ne ptr %15, null br i1 %16, label %.lr.ph, label %32 .lr.ph: ; preds = %10 br label %17 17: ; preds = %.lr.ph, %17 %18 = load i32, ptr %4, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [3 x [10 x i8]], ptr %3, i64 0, i64 %19 %21 = getelementptr inbounds [10 x i8], ptr %20, i64 0, i64 0 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %21) %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %4, align 4 %25 = load i32, ptr %4, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [3 x [10 x i8]], ptr %3, i64 0, i64 %26 %28 = getelementptr inbounds [10 x i8], ptr %27, i64 0, i64 0 %29 = load ptr, ptr %2, align 8 %30 = call ptr @fgets(ptr noundef %28, i32 noundef 10, ptr noundef %29) %31 = icmp ne ptr %30, null br i1 %31, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %32 32: ; preds = %._crit_edge, %10 %33 = load ptr, ptr %2, align 8 %34 = call i32 @fclose(ptr noundef %33) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpfo37_91s.c' source_filename = "/tmp/tmpfo37_91s.c" target datalayout = "e-m:e-p270: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/tmpfo37_91s.c" target datalayout = "e-m:e-p270: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/tmpdw39sauj.c' source_filename = "/tmp/tmpdw39sauj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @ECONNRESET = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @connection_reset() #0 { %1 = load i64, ptr @errno, align 8 %2 = load i64, ptr @ECONNRESET, align 8 %3 = icmp eq i64 %1, %2 %4 = zext i1 %3 to i32 ret i32 %4 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdw39sauj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @ECONNRESET = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @connection_reset() #0 { %1 = load i64, ptr @errno, align 8 %2 = load i64, ptr @ECONNRESET, align 8 %3 = icmp eq i64 %1, %2 %4 = zext i1 %3 to i32 ret i32 %4 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl8ogn9_9.c' source_filename = "/tmp/tmpl8ogn9_9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fputc(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = call i32 @SendChar(i32 noundef %5) %7 = load i32, ptr %3, align 4 ret i32 %7 } declare i32 @SendChar(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/tmpl8ogn9_9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fputc(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = call i32 @SendChar(i32 noundef %5) %7 = load i32, ptr %3, align 4 ret i32 %7 } declare i32 @SendChar(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/tmp9jqat4iz.c' source_filename = "/tmp/tmp9jqat4iz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_UNSPEC = dso_local global i32 0, align 4 @MSG_NOSIGNAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9jqat4iz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_UNSPEC = dso_local global i32 0, align 4 @MSG_NOSIGNAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa0o97kd2.c' source_filename = "/tmp/tmpa0o97kd2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @backend_get_thread() #0 { %1 = call i64 (...) @pthread_self() %2 = inttoptr i64 %1 to ptr ret ptr %2 } declare i64 @pthread_self(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa0o97kd2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @backend_get_thread() #0 { %1 = call i64 (...) @pthread_self() %2 = inttoptr i64 %1 to ptr ret ptr %2 } declare i64 @pthread_self(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp17b34umw.c' source_filename = "/tmp/tmp17b34umw.c" target datalayout = "e-m:e-p270: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 [48 x i8] c"testpassi: %d %d %d %d %d %d %d %d %d %d %d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @testpassi(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %11) #0 { %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 store i32 %0, ptr %13, align 4 store i32 %1, ptr %14, align 4 store i32 %2, ptr %15, align 4 store i32 %3, ptr %16, align 4 store i32 %4, ptr %17, align 4 store i32 %5, ptr %18, align 4 store i32 %6, ptr %19, align 4 store i32 %7, ptr %20, align 4 store i32 %8, ptr %21, align 4 store i32 %9, ptr %22, align 4 store i32 %10, ptr %23, align 4 store i32 %11, ptr %24, align 4 %25 = load i32, ptr %13, align 4 %26 = load i32, ptr %14, align 4 %27 = load i32, ptr %15, align 4 %28 = load i32, ptr %16, align 4 %29 = load i32, ptr %17, align 4 %30 = load i32, ptr %18, align 4 %31 = load i32, ptr %19, align 4 %32 = load i32, ptr %20, align 4 %33 = load i32, ptr %21, align 4 %34 = load i32, ptr %22, align 4 %35 = load i32, ptr %23, align 4 %36 = load i32, ptr %24, align 4 %37 = call i32 @printf(ptr noundef @.str, i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28, i32 noundef %29, i32 noundef %30, i32 noundef %31, i32 noundef %32, i32 noundef %33, i32 noundef %34, i32 noundef %35, i32 noundef %36) ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp17b34umw.c" target datalayout = "e-m:e-p270: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 [48 x i8] c"testpassi: %d %d %d %d %d %d %d %d %d %d %d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @testpassi(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %11) #0 { %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 store i32 %0, ptr %13, align 4 store i32 %1, ptr %14, align 4 store i32 %2, ptr %15, align 4 store i32 %3, ptr %16, align 4 store i32 %4, ptr %17, align 4 store i32 %5, ptr %18, align 4 store i32 %6, ptr %19, align 4 store i32 %7, ptr %20, align 4 store i32 %8, ptr %21, align 4 store i32 %9, ptr %22, align 4 store i32 %10, ptr %23, align 4 store i32 %11, ptr %24, align 4 %25 = load i32, ptr %13, align 4 %26 = load i32, ptr %14, align 4 %27 = load i32, ptr %15, align 4 %28 = load i32, ptr %16, align 4 %29 = load i32, ptr %17, align 4 %30 = load i32, ptr %18, align 4 %31 = load i32, ptr %19, align 4 %32 = load i32, ptr %20, align 4 %33 = load i32, ptr %21, align 4 %34 = load i32, ptr %22, align 4 %35 = load i32, ptr %23, align 4 %36 = load i32, ptr %24, align 4 %37 = call i32 @printf(ptr noundef @.str, i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28, i32 noundef %29, i32 noundef %30, i32 noundef %31, i32 noundef %32, i32 noundef %33, i32 noundef %34, i32 noundef %35, i32 noundef %36) ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, 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"}
; ModuleID = '/tmp/tmp5ib1bdw_.c' source_filename = "/tmp/tmp5ib1bdw_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ledctl(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i64 @syscall(i32 noundef 316, i32 noundef %3) ret i64 %4 } declare i64 @syscall(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/tmp5ib1bdw_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ledctl(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i64 @syscall(i32 noundef 316, i32 noundef %3) ret i64 %4 } declare i64 @syscall(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/tmpwasfuuvx.c' source_filename = "/tmp/tmpwasfuuvx.c" target datalayout = "e-m:e-p270: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/tmpwasfuuvx.c" target datalayout = "e-m:e-p270: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/tmp9hhaf8q2.c' source_filename = "/tmp/tmp9hhaf8q2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"USAGE: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [48 x i8] c"./z2r z_file omega_m omega_l w r_recovered_file\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [34 x i8] c"omega_m=%.2f omega_l=%.2f w=%.2f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 %18 = alloca ptr, align 8 %19 = 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 i32 200000, ptr %15, align 4 store float 0.000000e+00, ptr %16, align 4 store float 5.000000e+00, ptr %17, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp ne i32 %20, 6 br i1 %21, label %22, label %26 22: ; preds = %2 %23 = load i32, ptr @stderr, align 4 %24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str, ptr noundef @.str.1) %25 = call i32 @exit(i32 noundef 1) #3 unreachable 26: ; preds = %2 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 1 %29 = load ptr, ptr %28, align 8 %30 = call ptr @load_mock_file(ptr noundef %29, ptr noundef %6) store ptr %30, ptr %8, align 8 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 2 %33 = load ptr, ptr %32, align 8 %34 = call float @atof(ptr noundef %33) store float %34, ptr %10, align 4 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds ptr, ptr %35, i64 3 %37 = load ptr, ptr %36, align 8 %38 = call float @atof(ptr noundef %37) store float %38, ptr %11, align 4 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds ptr, ptr %39, i64 4 %41 = load ptr, ptr %40, align 8 %42 = call float @atof(ptr noundef %41) store float %42, ptr %12, align 4 %43 = load i32, ptr @stdout, align 4 %44 = load float, ptr %10, align 4 %45 = fpext float %44 to double %46 = load float, ptr %11, align 4 %47 = fpext float %46 to double %48 = load float, ptr %12, align 4 %49 = fpext float %48 to double %50 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.2, double noundef %45, double noundef %47, double noundef %49) %51 = load ptr, ptr %5, align 8 %52 = getelementptr inbounds ptr, ptr %51, i64 1 %53 = load ptr, ptr %52, align 8 %54 = call ptr @load_mock_file(ptr noundef %53, ptr noundef %6) store ptr %54, ptr %8, align 8 %55 = load float, ptr %16, align 4 %56 = load float, ptr %17, align 4 %57 = load i32, ptr %15, align 4 %58 = call ptr @build_z(float noundef %55, float noundef %56, i32 noundef %57) store ptr %58, ptr %18, align 8 %59 = load ptr, ptr %18, align 8 %60 = load i32, ptr %15, align 4 %61 = load float, ptr %10, align 4 %62 = load float, ptr %11, align 4 %63 = load float, ptr %12, align 4 %64 = call ptr @build_comov_r(ptr noundef %59, i32 noundef %60, float noundef %61, float noundef %62, float noundef %63) store ptr %64, ptr %19, align 8 %65 = load ptr, ptr %5, align 8 %66 = getelementptr inbounds ptr, ptr %65, i64 1 %67 = load ptr, ptr %66, align 8 %68 = call ptr @load_mock_file(ptr noundef %67, ptr noundef %6) store ptr %68, ptr %7, align 8 store i32 0, ptr %9, align 4 br label %69 69: ; preds = %87, %26 %70 = load i32, ptr %9, align 4 %71 = load i32, ptr %6, align 4 %72 = icmp slt i32 %70, %71 br i1 %72, label %73, label %90 73: ; preds = %69 %74 = load ptr, ptr %18, align 8 %75 = load ptr, ptr %19, align 8 %76 = load i32, ptr %15, align 4 %77 = load ptr, ptr %8, align 8 %78 = load i32, ptr %9, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds float, ptr %77, i64 %79 %81 = load float, ptr %80, align 4 %82 = call float @get_B_from_A(ptr noundef %74, ptr noundef %75, i32 noundef %76, float noundef %81) %83 = load ptr, ptr %7, align 8 %84 = load i32, ptr %9, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds float, ptr %83, i64 %85 store float %82, ptr %86, align 4 br label %87 87: ; preds = %73 %88 = load i32, ptr %9, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %9, align 4 br label %69, !llvm.loop !6 90: ; preds = %69 %91 = load ptr, ptr %5, align 8 %92 = getelementptr inbounds ptr, ptr %91, i64 5 %93 = load ptr, ptr %92, align 8 %94 = load ptr, ptr %7, align 8 %95 = load i32, ptr %6, align 4 %96 = call i32 @dump_mock_file(ptr noundef %93, ptr noundef %94, i32 noundef %95) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @load_mock_file(ptr noundef, ptr noundef) #1 declare float @atof(ptr noundef) #1 declare ptr @build_z(float noundef, float noundef, i32 noundef) #1 declare ptr @build_comov_r(ptr noundef, i32 noundef, float noundef, float noundef, float noundef) #1 declare float @get_B_from_A(ptr noundef, ptr noundef, i32 noundef, float noundef) #1 declare i32 @dump_mock_file(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp9hhaf8q2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"USAGE: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [48 x i8] c"./z2r z_file omega_m omega_l w r_recovered_file\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [34 x i8] c"omega_m=%.2f omega_l=%.2f w=%.2f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 %18 = alloca ptr, align 8 %19 = 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 i32 200000, ptr %15, align 4 store float 0.000000e+00, ptr %16, align 4 store float 5.000000e+00, ptr %17, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp ne i32 %20, 6 br i1 %21, label %22, label %26 22: ; preds = %2 %23 = load i32, ptr @stderr, align 4 %24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str, ptr noundef @.str.1) %25 = call i32 @exit(i32 noundef 1) #3 unreachable 26: ; preds = %2 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 1 %29 = load ptr, ptr %28, align 8 %30 = call ptr @load_mock_file(ptr noundef %29, ptr noundef %6) store ptr %30, ptr %8, align 8 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 2 %33 = load ptr, ptr %32, align 8 %34 = call float @atof(ptr noundef %33) store float %34, ptr %10, align 4 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds ptr, ptr %35, i64 3 %37 = load ptr, ptr %36, align 8 %38 = call float @atof(ptr noundef %37) store float %38, ptr %11, align 4 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds ptr, ptr %39, i64 4 %41 = load ptr, ptr %40, align 8 %42 = call float @atof(ptr noundef %41) store float %42, ptr %12, align 4 %43 = load i32, ptr @stdout, align 4 %44 = load float, ptr %10, align 4 %45 = fpext float %44 to double %46 = load float, ptr %11, align 4 %47 = fpext float %46 to double %48 = load float, ptr %12, align 4 %49 = fpext float %48 to double %50 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.2, double noundef %45, double noundef %47, double noundef %49) %51 = load ptr, ptr %5, align 8 %52 = getelementptr inbounds ptr, ptr %51, i64 1 %53 = load ptr, ptr %52, align 8 %54 = call ptr @load_mock_file(ptr noundef %53, ptr noundef %6) store ptr %54, ptr %8, align 8 %55 = load float, ptr %16, align 4 %56 = load float, ptr %17, align 4 %57 = load i32, ptr %15, align 4 %58 = call ptr @build_z(float noundef %55, float noundef %56, i32 noundef %57) store ptr %58, ptr %18, align 8 %59 = load ptr, ptr %18, align 8 %60 = load i32, ptr %15, align 4 %61 = load float, ptr %10, align 4 %62 = load float, ptr %11, align 4 %63 = load float, ptr %12, align 4 %64 = call ptr @build_comov_r(ptr noundef %59, i32 noundef %60, float noundef %61, float noundef %62, float noundef %63) store ptr %64, ptr %19, align 8 %65 = load ptr, ptr %5, align 8 %66 = getelementptr inbounds ptr, ptr %65, i64 1 %67 = load ptr, ptr %66, align 8 %68 = call ptr @load_mock_file(ptr noundef %67, ptr noundef %6) store ptr %68, ptr %7, align 8 store i32 0, ptr %9, align 4 %69 = load i32, ptr %9, align 4 %70 = load i32, ptr %6, align 4 %71 = icmp slt i32 %69, %70 br i1 %71, label %.lr.ph, label %92 .lr.ph: ; preds = %26 br label %72 72: ; preds = %.lr.ph, %86 %73 = load ptr, ptr %18, align 8 %74 = load ptr, ptr %19, align 8 %75 = load i32, ptr %15, align 4 %76 = load ptr, ptr %8, align 8 %77 = load i32, ptr %9, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds float, ptr %76, i64 %78 %80 = load float, ptr %79, align 4 %81 = call float @get_B_from_A(ptr noundef %73, ptr noundef %74, i32 noundef %75, float noundef %80) %82 = load ptr, ptr %7, align 8 %83 = load i32, ptr %9, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds float, ptr %82, i64 %84 store float %81, ptr %85, align 4 br label %86 86: ; preds = %72 %87 = load i32, ptr %9, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %9, align 4 %89 = load i32, ptr %9, align 4 %90 = load i32, ptr %6, align 4 %91 = icmp slt i32 %89, %90 br i1 %91, label %72, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %86 br label %92 92: ; preds = %._crit_edge, %26 %93 = load ptr, ptr %5, align 8 %94 = getelementptr inbounds ptr, ptr %93, i64 5 %95 = load ptr, ptr %94, align 8 %96 = load ptr, ptr %7, align 8 %97 = load i32, ptr %6, align 4 %98 = call i32 @dump_mock_file(ptr noundef %95, ptr noundef %96, i32 noundef %97) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @load_mock_file(ptr noundef, ptr noundef) #1 declare float @atof(ptr noundef) #1 declare ptr @build_z(float noundef, float noundef, i32 noundef) #1 declare ptr @build_comov_r(ptr noundef, i32 noundef, float noundef, float noundef, float noundef) #1 declare float @get_B_from_A(ptr noundef, ptr noundef, i32 noundef, float noundef) #1 declare i32 @dump_mock_file(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpr0cnvwur.c' source_filename = "/tmp/tmpr0cnvwur.c" target datalayout = "e-m:e-p270: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 [5 x i8] c"%d%d\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"%d%d%d%d\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"YES\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"NO\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 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %13, align 4 %17 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %12) br label %18 18: ; preds = %124, %0 %19 = load i32, ptr %13, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %13, align 4 %21 = load i32, ptr %12, align 4 %22 = icmp slt i32 %19, %21 br i1 %22, label %23, label %125 23: ; preds = %18 %24 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) %25 = load i32, ptr %2, align 4 %26 = sext i32 %25 to i64 %27 = mul i64 4, %26 %28 = trunc i64 %27 to i32 %29 = call i64 @malloc(i32 noundef %28) %30 = inttoptr i64 %29 to ptr store ptr %30, ptr %14, align 8 store i32 0, ptr %4, align 4 br label %31 31: ; preds = %41, %23 %32 = load i32, ptr %4, align 4 %33 = load i32, ptr %2, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %35, label %44 35: ; preds = %31 %36 = load ptr, ptr %14, align 8 %37 = load i32, ptr %4, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %36, i64 %38 %40 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %39) br label %41 41: ; preds = %35 %42 = load i32, ptr %4, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %4, align 4 br label %31, !llvm.loop !6 44: ; preds = %31 br label %45 45: ; preds = %119, %44 %46 = load i32, ptr %5, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %5, align 4 %48 = load i32, ptr %3, align 4 %49 = icmp slt i32 %46, %48 br i1 %49, label %50, label %124 50: ; preds = %45 %51 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) %52 = load i32, ptr %8, align 4 %53 = load i32, ptr %7, align 4 %54 = sub nsw i32 %52, %53 %55 = add nsw i32 %54, 1 store i32 %55, ptr %11, align 4 %56 = load i32, ptr %11, align 4 %57 = sext i32 %56 to i64 %58 = mul i64 %57, 4 %59 = trunc i64 %58 to i32 %60 = call i64 @malloc(i32 noundef %59) %61 = inttoptr i64 %60 to ptr store ptr %61, ptr %15, align 8 %62 = load i32, ptr %11, align 4 %63 = sext i32 %62 to i64 %64 = mul i64 %63, 4 %65 = trunc i64 %64 to i32 %66 = call i64 @malloc(i32 noundef %65) %67 = inttoptr i64 %66 to ptr store ptr %67, ptr %16, align 8 store i32 0, ptr %6, align 4 %68 = load i32, ptr %7, align 4 %69 = sub nsw i32 %68, 1 store i32 %69, ptr %4, align 4 br label %70 70: ; preds = %85, %50 %71 = load i32, ptr %4, align 4 %72 = load i32, ptr %8, align 4 %73 = icmp slt i32 %71, %72 br i1 %73, label %74, label %88 74: ; preds = %70 %75 = load ptr, ptr %14, align 8 %76 = load i32, ptr %4, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i32, ptr %75, i64 %77 %79 = load i32, ptr %78, align 4 %80 = load ptr, ptr %15, align 8 %81 = load i32, ptr %6, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %6, align 4 %83 = sext i32 %81 to i64 %84 = getelementptr inbounds i32, ptr %80, i64 %83 store i32 %79, ptr %84, align 4 br label %85 85: ; preds = %74 %86 = load i32, ptr %4, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %4, align 4 br label %70, !llvm.loop !8 88: ; preds = %70 store i32 0, ptr %6, align 4 %89 = load i32, ptr %9, align 4 %90 = sub nsw i32 %89, 1 store i32 %90, ptr %4, align 4 br label %91 91: ; preds = %106, %88 %92 = load i32, ptr %4, align 4 %93 = load i32, ptr %10, align 4 %94 = icmp slt i32 %92, %93 br i1 %94, label %95, label %109 95: ; preds = %91 %96 = load ptr, ptr %14, align 8 %97 = load i32, ptr %4, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds i32, ptr %96, i64 %98 %100 = load i32, ptr %99, align 4 %101 = load ptr, ptr %16, align 8 %102 = load i32, ptr %6, align 4 %103 = add nsw i32 %102, 1 store i32 %103, ptr %6, align 4 %104 = sext i32 %102 to i64 %105 = getelementptr inbounds i32, ptr %101, i64 %104 store i32 %100, ptr %105, align 4 br label %106 106: ; preds = %95 %107 = load i32, ptr %4, align 4 %108 = add nsw i32 %107, 1 store i32 %108, ptr %4, align 4 br label %91, !llvm.loop !9 109: ; preds = %91 %110 = load ptr, ptr %15, align 8 %111 = load ptr, ptr %16, align 8 %112 = load i32, ptr %11, align 4 %113 = call i64 @isCloned(ptr noundef %110, ptr noundef %111, i32 noundef %112) %114 = icmp ne i64 %113, 0 br i1 %114, label %115, label %117 115: ; preds = %109 %116 = call i32 @printf(ptr noundef @.str.3) br label %119 117: ; preds = %109 %118 = call i32 @printf(ptr noundef @.str.4) br label %119 119: ; preds = %117, %115 %120 = load ptr, ptr %15, align 8 %121 = call i32 @free(ptr noundef %120) %122 = load ptr, ptr %16, align 8 %123 = call i32 @free(ptr noundef %122) br label %45, !llvm.loop !10 124: ; preds = %45 br label %18, !llvm.loop !11 125: ; preds = %18 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i64 @malloc(i32 noundef) #1 declare i64 @isCloned(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr0cnvwur.c" target datalayout = "e-m:e-p270: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 [5 x i8] c"%d%d\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"%d%d%d%d\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"YES\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"NO\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 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %13, align 4 %17 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %12) %18 = load i32, ptr %13, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %13, align 4 %20 = load i32, ptr %12, align 4 %21 = icmp slt i32 %18, %20 br i1 %21, label %.lr.ph11, label %137 .lr.ph11: ; preds = %0 br label %22 22: ; preds = %.lr.ph11, %132 %23 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) %24 = load i32, ptr %2, align 4 %25 = sext i32 %24 to i64 %26 = mul i64 4, %25 %27 = trunc i64 %26 to i32 %28 = call i64 @malloc(i32 noundef %27) %29 = inttoptr i64 %28 to ptr store ptr %29, ptr %14, align 8 store i32 0, ptr %4, align 4 %30 = load i32, ptr %4, align 4 %31 = load i32, ptr %2, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %.lr.ph, label %45 .lr.ph: ; preds = %22 br label %33 33: ; preds = %.lr.ph, %39 %34 = load ptr, ptr %14, align 8 %35 = load i32, ptr %4, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %34, i64 %36 %38 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %37) br label %39 39: ; preds = %33 %40 = load i32, ptr %4, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %4, align 4 %42 = load i32, ptr %4, align 4 %43 = load i32, ptr %2, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %33, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %39 br label %45 45: ; preds = %._crit_edge, %22 %46 = load i32, ptr %5, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %5, align 4 %48 = load i32, ptr %3, align 4 %49 = icmp slt i32 %46, %48 br i1 %49, label %.lr.ph8, label %132 .lr.ph8: ; preds = %45 br label %50 50: ; preds = %.lr.ph8, %123 %51 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) %52 = load i32, ptr %8, align 4 %53 = load i32, ptr %7, align 4 %54 = sub nsw i32 %52, %53 %55 = add nsw i32 %54, 1 store i32 %55, ptr %11, align 4 %56 = load i32, ptr %11, align 4 %57 = sext i32 %56 to i64 %58 = mul i64 %57, 4 %59 = trunc i64 %58 to i32 %60 = call i64 @malloc(i32 noundef %59) %61 = inttoptr i64 %60 to ptr store ptr %61, ptr %15, align 8 %62 = load i32, ptr %11, align 4 %63 = sext i32 %62 to i64 %64 = mul i64 %63, 4 %65 = trunc i64 %64 to i32 %66 = call i64 @malloc(i32 noundef %65) %67 = inttoptr i64 %66 to ptr store ptr %67, ptr %16, align 8 store i32 0, ptr %6, align 4 %68 = load i32, ptr %7, align 4 %69 = sub nsw i32 %68, 1 store i32 %69, ptr %4, align 4 %70 = load i32, ptr %4, align 4 %71 = load i32, ptr %8, align 4 %72 = icmp slt i32 %70, %71 br i1 %72, label %.lr.ph2, label %90 .lr.ph2: ; preds = %50 br label %73 73: ; preds = %.lr.ph2, %84 %74 = load ptr, ptr %14, align 8 %75 = load i32, ptr %4, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i32, ptr %74, i64 %76 %78 = load i32, ptr %77, align 4 %79 = load ptr, ptr %15, align 8 %80 = load i32, ptr %6, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %6, align 4 %82 = sext i32 %80 to i64 %83 = getelementptr inbounds i32, ptr %79, i64 %82 store i32 %78, ptr %83, align 4 br label %84 84: ; preds = %73 %85 = load i32, ptr %4, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %4, align 4 %87 = load i32, ptr %4, align 4 %88 = load i32, ptr %8, align 4 %89 = icmp slt i32 %87, %88 br i1 %89, label %73, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %84 br label %90 90: ; preds = %._crit_edge3, %50 store i32 0, ptr %6, align 4 %91 = load i32, ptr %9, align 4 %92 = sub nsw i32 %91, 1 store i32 %92, ptr %4, align 4 %93 = load i32, ptr %4, align 4 %94 = load i32, ptr %10, align 4 %95 = icmp slt i32 %93, %94 br i1 %95, label %.lr.ph5, label %113 .lr.ph5: ; preds = %90 br label %96 96: ; preds = %.lr.ph5, %107 %97 = load ptr, ptr %14, align 8 %98 = load i32, ptr %4, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i32, ptr %97, i64 %99 %101 = load i32, ptr %100, align 4 %102 = load ptr, ptr %16, align 8 %103 = load i32, ptr %6, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %6, align 4 %105 = sext i32 %103 to i64 %106 = getelementptr inbounds i32, ptr %102, i64 %105 store i32 %101, ptr %106, align 4 br label %107 107: ; preds = %96 %108 = load i32, ptr %4, align 4 %109 = add nsw i32 %108, 1 store i32 %109, ptr %4, align 4 %110 = load i32, ptr %4, align 4 %111 = load i32, ptr %10, align 4 %112 = icmp slt i32 %110, %111 br i1 %112, label %96, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %107 br label %113 113: ; preds = %._crit_edge6, %90 %114 = load ptr, ptr %15, align 8 %115 = load ptr, ptr %16, align 8 %116 = load i32, ptr %11, align 4 %117 = call i64 @isCloned(ptr noundef %114, ptr noundef %115, i32 noundef %116) %118 = icmp ne i64 %117, 0 br i1 %118, label %119, label %121 119: ; preds = %113 %120 = call i32 @printf(ptr noundef @.str.3) br label %123 121: ; preds = %113 %122 = call i32 @printf(ptr noundef @.str.4) br label %123 123: ; preds = %121, %119 %124 = load ptr, ptr %15, align 8 %125 = call i32 @free(ptr noundef %124) %126 = load ptr, ptr %16, align 8 %127 = call i32 @free(ptr noundef %126) %128 = load i32, ptr %5, align 4 %129 = add nsw i32 %128, 1 store i32 %129, ptr %5, align 4 %130 = load i32, ptr %3, align 4 %131 = icmp slt i32 %128, %130 br i1 %131, label %50, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %123 br label %132 132: ; preds = %._crit_edge9, %45 %133 = load i32, ptr %13, align 4 %134 = add nsw i32 %133, 1 store i32 %134, ptr %13, align 4 %135 = load i32, ptr %12, align 4 %136 = icmp slt i32 %133, %135 br i1 %136, label %22, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %132 br label %137 137: ; preds = %._crit_edge12, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i64 @malloc(i32 noundef) #1 declare i64 @isCloned(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpkrj2f5ud.c' source_filename = "/tmp/tmpkrj2f5ud.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vec_remove(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = getelementptr inbounds i8, ptr %5, i64 -24 %7 = getelementptr inbounds i8, ptr %6, i64 8 %8 = load i64, ptr %7, align 8 %9 = icmp ugt i64 %8, 0 br i1 %9, label %10, label %53 10: ; preds = %2 %11 = load i64, ptr %4, align 8 %12 = load ptr, ptr %3, align 8 %13 = getelementptr inbounds i8, ptr %12, i64 -24 %14 = getelementptr inbounds i8, ptr %13, i64 8 %15 = load i64, ptr %14, align 8 %16 = icmp ult i64 %11, %15 br i1 %16, label %17, label %53 17: ; preds = %10 %18 = load ptr, ptr %3, align 8 %19 = load i64, ptr %4, align 8 %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 -24 %22 = getelementptr inbounds i8, ptr %21, i64 16 %23 = load i64, ptr %22, align 8 %24 = mul i64 %19, %23 %25 = getelementptr inbounds i8, ptr %18, i64 %24 %26 = load ptr, ptr %3, align 8 %27 = load i64, ptr %4, align 8 %28 = add i64 %27, 1 %29 = load ptr, ptr %3, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 -24 %31 = getelementptr inbounds i8, ptr %30, i64 16 %32 = load i64, ptr %31, align 8 %33 = mul i64 %28, %32 %34 = getelementptr inbounds i8, ptr %26, i64 %33 %35 = load ptr, ptr %3, align 8 %36 = getelementptr inbounds i8, ptr %35, i64 -24 %37 = getelementptr inbounds i8, ptr %36, i64 16 %38 = load i64, ptr %37, align 8 %39 = load ptr, ptr %3, align 8 %40 = getelementptr inbounds i8, ptr %39, i64 -24 %41 = getelementptr inbounds i8, ptr %40, i64 8 %42 = load i64, ptr %41, align 8 %43 = load i64, ptr %4, align 8 %44 = add i64 %43, 1 %45 = sub i64 %42, %44 %46 = mul i64 %38, %45 %47 = call i32 @memmove(ptr noundef %25, ptr noundef %34, i64 noundef %46) %48 = load ptr, ptr %3, align 8 %49 = getelementptr inbounds i8, ptr %48, i64 -24 %50 = getelementptr inbounds i8, ptr %49, i64 8 %51 = load i64, ptr %50, align 8 %52 = add i64 %51, -1 store i64 %52, ptr %50, align 8 br label %53 53: ; preds = %17, %10, %2 ret void } declare i32 @memmove(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/tmpkrj2f5ud.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vec_remove(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = getelementptr inbounds i8, ptr %5, i64 -24 %7 = getelementptr inbounds i8, ptr %6, i64 8 %8 = load i64, ptr %7, align 8 %9 = icmp ugt i64 %8, 0 br i1 %9, label %10, label %53 10: ; preds = %2 %11 = load i64, ptr %4, align 8 %12 = load ptr, ptr %3, align 8 %13 = getelementptr inbounds i8, ptr %12, i64 -24 %14 = getelementptr inbounds i8, ptr %13, i64 8 %15 = load i64, ptr %14, align 8 %16 = icmp ult i64 %11, %15 br i1 %16, label %17, label %53 17: ; preds = %10 %18 = load ptr, ptr %3, align 8 %19 = load i64, ptr %4, align 8 %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 -24 %22 = getelementptr inbounds i8, ptr %21, i64 16 %23 = load i64, ptr %22, align 8 %24 = mul i64 %19, %23 %25 = getelementptr inbounds i8, ptr %18, i64 %24 %26 = load ptr, ptr %3, align 8 %27 = load i64, ptr %4, align 8 %28 = add i64 %27, 1 %29 = load ptr, ptr %3, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 -24 %31 = getelementptr inbounds i8, ptr %30, i64 16 %32 = load i64, ptr %31, align 8 %33 = mul i64 %28, %32 %34 = getelementptr inbounds i8, ptr %26, i64 %33 %35 = load ptr, ptr %3, align 8 %36 = getelementptr inbounds i8, ptr %35, i64 -24 %37 = getelementptr inbounds i8, ptr %36, i64 16 %38 = load i64, ptr %37, align 8 %39 = load ptr, ptr %3, align 8 %40 = getelementptr inbounds i8, ptr %39, i64 -24 %41 = getelementptr inbounds i8, ptr %40, i64 8 %42 = load i64, ptr %41, align 8 %43 = load i64, ptr %4, align 8 %44 = add i64 %43, 1 %45 = sub i64 %42, %44 %46 = mul i64 %38, %45 %47 = call i32 @memmove(ptr noundef %25, ptr noundef %34, i64 noundef %46) %48 = load ptr, ptr %3, align 8 %49 = getelementptr inbounds i8, ptr %48, i64 -24 %50 = getelementptr inbounds i8, ptr %49, i64 8 %51 = load i64, ptr %50, align 8 %52 = add i64 %51, -1 store i64 %52, ptr %50, align 8 br label %53 53: ; preds = %17, %10, %2 ret void } declare i32 @memmove(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/tmp8ktalfy_.c' source_filename = "/tmp/tmp8ktalfy_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @hip(float noundef %0, float noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca float, align 4 store float %0, ptr %3, align 4 store float %1, ptr %4, align 4 %5 = load float, ptr %3, align 4 %6 = call i64 @pow(float noundef %5, i32 noundef 2) %7 = load float, ptr %4, align 4 %8 = call i64 @pow(float noundef %7, i32 noundef 2) %9 = add nsw i64 %6, %8 %10 = call float @sqrt(i64 noundef %9) ret float %10 } declare float @sqrt(i64 noundef) #1 declare i64 @pow(float 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/tmp8ktalfy_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @hip(float noundef %0, float noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca float, align 4 store float %0, ptr %3, align 4 store float %1, ptr %4, align 4 %5 = load float, ptr %3, align 4 %6 = call i64 @pow(float noundef %5, i32 noundef 2) %7 = load float, ptr %4, align 4 %8 = call i64 @pow(float noundef %7, i32 noundef 2) %9 = add nsw i64 %6, %8 %10 = call float @sqrt(i64 noundef %9) ret float %10 } declare float @sqrt(i64 noundef) #1 declare i64 @pow(float 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/tmpeb873h6k.c' source_filename = "/tmp/tmpeb873h6k.c" target datalayout = "e-m:e-p270: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_EXCL = dso_local global i32 0, align 4 @O_RDWR = 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/tmpeb873h6k.c" target datalayout = "e-m:e-p270: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_EXCL = dso_local global i32 0, align 4 @O_RDWR = 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/tmppc7r4ydz.c' source_filename = "/tmp/tmppc7r4ydz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fnMyStrCmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %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 0, ptr %8, align 4 store i32 0, ptr %6, align 4 br label %9 9: ; preds = %18, %2 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr %6, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %21 17: ; preds = %9 br label %18 18: ; preds = %17 %19 = load i32, ptr %6, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %6, align 4 br label %9, !llvm.loop !6 21: ; preds = %9 store i32 0, ptr %7, align 4 br label %22 22: ; preds = %31, %21 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %7, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp ne i32 %28, 0 br i1 %29, label %30, label %34 30: ; preds = %22 br label %31 31: ; preds = %30 %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %7, align 4 br label %22, !llvm.loop !8 34: ; preds = %22 %35 = load i32, ptr %6, align 4 %36 = load i32, ptr %7, align 4 %37 = icmp ne i32 %35, %36 br i1 %37, label %38, label %40 38: ; preds = %34 store i32 1, ptr %8, align 4 %39 = load i32, ptr %8, align 4 store i32 %39, ptr %3, align 4 br label %71 40: ; preds = %34 store i32 0, ptr %6, align 4 br label %41 41: ; preds = %66, %40 %42 = load ptr, ptr %4, align 8 %43 = load i32, ptr %6, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp ne i32 %47, 0 br i1 %48, label %49, label %69 49: ; preds = %41 %50 = load ptr, ptr %4, align 8 %51 = load i32, ptr %6, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %50, i64 %52 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = load ptr, ptr %5, align 8 %57 = load i32, ptr %6, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %56, i64 %58 %60 = load i8, ptr %59, align 1 %61 = sext i8 %60 to i32 %62 = icmp ne i32 %55, %61 br i1 %62, label %63, label %65 63: ; preds = %49 store i32 1, ptr %8, align 4 %64 = load i32, ptr %8, align 4 store i32 %64, ptr %3, align 4 br label %71 65: ; preds = %49 br label %66 66: ; preds = %65 %67 = load i32, ptr %6, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %6, align 4 br label %41, !llvm.loop !9 69: ; preds = %41 %70 = load i32, ptr %8, align 4 store i32 %70, ptr %3, align 4 br label %71 71: ; preds = %69, %63, %38 %72 = load i32, ptr %3, align 4 ret i32 %72 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmppc7r4ydz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fnMyStrCmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %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 0, ptr %8, align 4 store i32 0, ptr %6, align 4 %9 = load ptr, ptr %4, align 8 %10 = load i32, ptr %6, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br i1 %15, label %.lr.ph, label %27 .lr.ph: ; preds = %2 br label %16 16: ; preds = %.lr.ph, %17 br label %17 17: ; preds = %16 %18 = load i32, ptr %6, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %6, align 4 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %6, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp ne i32 %25, 0 br i1 %26, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %27 27: ; preds = %._crit_edge, %2 store i32 0, ptr %7, align 4 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %7, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp ne i32 %33, 0 br i1 %34, label %.lr.ph2, label %46 .lr.ph2: ; preds = %27 br label %35 35: ; preds = %.lr.ph2, %36 br label %36 36: ; preds = %35 %37 = load i32, ptr %7, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %7, align 4 %39 = load ptr, ptr %5, align 8 %40 = load i32, ptr %7, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %39, i64 %41 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp ne i32 %44, 0 br i1 %45, label %35, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %36 br label %46 46: ; preds = %._crit_edge3, %27 %47 = load i32, ptr %6, align 4 %48 = load i32, ptr %7, align 4 %49 = icmp ne i32 %47, %48 br i1 %49, label %50, label %52 50: ; preds = %46 store i32 1, ptr %8, align 4 %51 = load i32, ptr %8, align 4 store i32 %51, ptr %3, align 4 br label %89 52: ; preds = %46 store i32 0, ptr %6, align 4 %53 = load ptr, ptr %4, align 8 %54 = load i32, ptr %6, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %53, i64 %55 %57 = load i8, ptr %56, align 1 %58 = sext i8 %57 to i32 %59 = icmp ne i32 %58, 0 br i1 %59, label %.lr.ph5, label %87 .lr.ph5: ; preds = %52 br label %60 60: ; preds = %.lr.ph5, %77 %61 = load ptr, ptr %4, align 8 %62 = load i32, ptr %6, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %61, i64 %63 %65 = load i8, ptr %64, align 1 %66 = sext i8 %65 to i32 %67 = load ptr, ptr %5, align 8 %68 = load i32, ptr %6, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i8, ptr %67, i64 %69 %71 = load i8, ptr %70, align 1 %72 = sext i8 %71 to i32 %73 = icmp ne i32 %66, %72 br i1 %73, label %74, label %76 74: ; preds = %60 store i32 1, ptr %8, align 4 %75 = load i32, ptr %8, align 4 store i32 %75, ptr %3, align 4 br label %89 76: ; preds = %60 br label %77 77: ; preds = %76 %78 = load i32, ptr %6, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %6, align 4 %80 = load ptr, ptr %4, align 8 %81 = load i32, ptr %6, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i8, ptr %80, i64 %82 %84 = load i8, ptr %83, align 1 %85 = sext i8 %84 to i32 %86 = icmp ne i32 %85, 0 br i1 %86, label %60, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %77 br label %87 87: ; preds = %._crit_edge6, %52 %88 = load i32, ptr %8, align 4 store i32 %88, ptr %3, align 4 br label %89 89: ; preds = %87, %74, %50 %90 = load i32, ptr %3, align 4 ret i32 %90 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpf6p6myoi.c' source_filename = "/tmp/tmpf6p6myoi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @turnRightSpider(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 4, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @setAllTorques(i32 noundef %4) br label %6 6: ; preds = %10, %1 %7 = load i32, ptr %3, align 4 %8 = add nsw i32 %7, -1 store i32 %8, ptr %3, align 4 %9 = icmp ne i32 %7, 0 br i1 %9, label %10, label %51 10: ; preds = %6 %11 = call i32 @downArm(i32 noundef 1) %12 = call i32 @downArm(i32 noundef 2) %13 = call i32 @downArm(i32 noundef 5) %14 = call i32 (...) @wait() %15 = call i32 @riseArm(i32 noundef 0) %16 = call i32 @riseArm(i32 noundef 3) %17 = call i32 @riseArm(i32 noundef 4) %18 = call i32 @minMotorSin(i32 noundef 1) %19 = call i32 @setMotorPosition(i32 noundef 1, i32 noundef %18) %20 = call i32 @maxMotorSin(i32 noundef 8) %21 = call i32 @setMotorPosition(i32 noundef 8, i32 noundef %20) %22 = call i32 @maxMotorSin(i32 noundef 13) %23 = call i32 @setMotorPosition(i32 noundef 13, i32 noundef %22) %24 = call i32 @minMotorSin(i32 noundef 2) %25 = call i32 @setMotorPosition(i32 noundef 2, i32 noundef %24) %26 = call i32 @minMotorSin(i32 noundef 7) %27 = call i32 @setMotorPosition(i32 noundef 7, i32 noundef %26) %28 = call i32 @minMotorSin(i32 noundef 14) %29 = call i32 @setMotorPosition(i32 noundef 14, i32 noundef %28) %30 = call i32 (...) @wait() %31 = call i32 @downArm(i32 noundef 0) %32 = call i32 @downArm(i32 noundef 3) %33 = call i32 @downArm(i32 noundef 4) %34 = call i32 (...) @wait() %35 = call i32 @riseArm(i32 noundef 1) %36 = call i32 @riseArm(i32 noundef 2) %37 = call i32 @riseArm(i32 noundef 5) %38 = call i32 @maxMotorSin(i32 noundef 1) %39 = call i32 @setMotorPosition(i32 noundef 1, i32 noundef %38) %40 = call i32 @minMotorSin(i32 noundef 8) %41 = call i32 @setMotorPosition(i32 noundef 8, i32 noundef %40) %42 = call i32 @minMotorSin(i32 noundef 13) %43 = call i32 @setMotorPosition(i32 noundef 13, i32 noundef %42) %44 = call i32 @maxMotorSin(i32 noundef 2) %45 = call i32 @setMotorPosition(i32 noundef 2, i32 noundef %44) %46 = call i32 @maxMotorSin(i32 noundef 7) %47 = call i32 @setMotorPosition(i32 noundef 7, i32 noundef %46) %48 = call i32 @maxMotorSin(i32 noundef 14) %49 = call i32 @setMotorPosition(i32 noundef 14, i32 noundef %48) %50 = call i32 (...) @wait() br label %6, !llvm.loop !6 51: ; preds = %6 ret void } declare i32 @setAllTorques(i32 noundef) #1 declare i32 @downArm(i32 noundef) #1 declare i32 @wait(...) #1 declare i32 @riseArm(i32 noundef) #1 declare i32 @setMotorPosition(i32 noundef, i32 noundef) #1 declare i32 @minMotorSin(i32 noundef) #1 declare i32 @maxMotorSin(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/tmpf6p6myoi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @turnRightSpider(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 4, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @setAllTorques(i32 noundef %4) %6 = load i32, ptr %3, align 4 %7 = add nsw i32 %6, -1 store i32 %7, ptr %3, align 4 %8 = icmp ne i32 %6, 0 br i1 %8, label %.lr.ph, label %53 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %9 %10 = call i32 @downArm(i32 noundef 1) %11 = call i32 @downArm(i32 noundef 2) %12 = call i32 @downArm(i32 noundef 5) %13 = call i32 (...) @wait() %14 = call i32 @riseArm(i32 noundef 0) %15 = call i32 @riseArm(i32 noundef 3) %16 = call i32 @riseArm(i32 noundef 4) %17 = call i32 @minMotorSin(i32 noundef 1) %18 = call i32 @setMotorPosition(i32 noundef 1, i32 noundef %17) %19 = call i32 @maxMotorSin(i32 noundef 8) %20 = call i32 @setMotorPosition(i32 noundef 8, i32 noundef %19) %21 = call i32 @maxMotorSin(i32 noundef 13) %22 = call i32 @setMotorPosition(i32 noundef 13, i32 noundef %21) %23 = call i32 @minMotorSin(i32 noundef 2) %24 = call i32 @setMotorPosition(i32 noundef 2, i32 noundef %23) %25 = call i32 @minMotorSin(i32 noundef 7) %26 = call i32 @setMotorPosition(i32 noundef 7, i32 noundef %25) %27 = call i32 @minMotorSin(i32 noundef 14) %28 = call i32 @setMotorPosition(i32 noundef 14, i32 noundef %27) %29 = call i32 (...) @wait() %30 = call i32 @downArm(i32 noundef 0) %31 = call i32 @downArm(i32 noundef 3) %32 = call i32 @downArm(i32 noundef 4) %33 = call i32 (...) @wait() %34 = call i32 @riseArm(i32 noundef 1) %35 = call i32 @riseArm(i32 noundef 2) %36 = call i32 @riseArm(i32 noundef 5) %37 = call i32 @maxMotorSin(i32 noundef 1) %38 = call i32 @setMotorPosition(i32 noundef 1, i32 noundef %37) %39 = call i32 @minMotorSin(i32 noundef 8) %40 = call i32 @setMotorPosition(i32 noundef 8, i32 noundef %39) %41 = call i32 @minMotorSin(i32 noundef 13) %42 = call i32 @setMotorPosition(i32 noundef 13, i32 noundef %41) %43 = call i32 @maxMotorSin(i32 noundef 2) %44 = call i32 @setMotorPosition(i32 noundef 2, i32 noundef %43) %45 = call i32 @maxMotorSin(i32 noundef 7) %46 = call i32 @setMotorPosition(i32 noundef 7, i32 noundef %45) %47 = call i32 @maxMotorSin(i32 noundef 14) %48 = call i32 @setMotorPosition(i32 noundef 14, i32 noundef %47) %49 = call i32 (...) @wait() %50 = load i32, ptr %3, align 4 %51 = add nsw i32 %50, -1 store i32 %51, ptr %3, align 4 %52 = icmp ne i32 %50, 0 br i1 %52, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %53 53: ; preds = %._crit_edge, %1 ret void } declare i32 @setAllTorques(i32 noundef) #1 declare i32 @downArm(i32 noundef) #1 declare i32 @wait(...) #1 declare i32 @riseArm(i32 noundef) #1 declare i32 @setMotorPosition(i32 noundef, i32 noundef) #1 declare i32 @minMotorSin(i32 noundef) #1 declare i32 @maxMotorSin(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/tmpoef_b3fx.c' source_filename = "/tmp/tmpoef_b3fx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"<SOAP-ENV:Body>\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @soap_body_begin_out(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 @soap_send(ptr noundef %3, ptr noundef @.str) ret i32 %4 } declare i32 @soap_send(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/tmpoef_b3fx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"<SOAP-ENV:Body>\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @soap_body_begin_out(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 @soap_send(ptr noundef %3, ptr noundef @.str) ret i32 %4 } declare i32 @soap_send(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/tmpdnnp_wz8.c' source_filename = "/tmp/tmpdnnp_wz8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @logistic_loss(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca double, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store double 0.000000e+00, ptr %6, align 8 store i32 0, ptr %5, align 4 br label %8 8: ; preds = %40, %2 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %43 12: ; preds = %8 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds double, ptr %13, i64 %15 %17 = load double, ptr %16, align 8 %18 = fneg double %17 store double %18, ptr %7, align 8 %19 = load double, ptr %7, align 8 %20 = fcmp olt double %19, 7.000000e+02 br i1 %20, label %21, label %27 21: ; preds = %12 %22 = load double, ptr %7, align 8 %23 = call i64 @exp(double noundef %22) %24 = add nsw i64 1, %23 %25 = call i64 @log(i64 noundef %24) %26 = sitofp i64 %25 to double br label %36 27: ; preds = %12 %28 = load double, ptr %7, align 8 %29 = fneg double %28 %30 = call i64 @exp(double noundef %29) %31 = add nsw i64 1, %30 %32 = call i64 @log(i64 noundef %31) %33 = sitofp i64 %32 to double %34 = load double, ptr %7, align 8 %35 = fadd double %33, %34 br label %36 36: ; preds = %27, %21 %37 = phi double [ %26, %21 ], [ %35, %27 ] %38 = load double, ptr %6, align 8 %39 = fadd double %38, %37 store double %39, ptr %6, align 8 br label %40 40: ; preds = %36 %41 = load i32, ptr %5, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %5, align 4 br label %8, !llvm.loop !6 43: ; preds = %8 %44 = load double, ptr %6, align 8 ret double %44 } declare i64 @log(i64 noundef) #1 declare i64 @exp(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdnnp_wz8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @logistic_loss(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca double, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store double 0.000000e+00, ptr %6, align 8 store i32 0, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %45 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %39 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds double, ptr %12, i64 %14 %16 = load double, ptr %15, align 8 %17 = fneg double %16 store double %17, ptr %7, align 8 %18 = load double, ptr %7, align 8 %19 = fcmp olt double %18, 7.000000e+02 br i1 %19, label %20, label %26 20: ; preds = %11 %21 = load double, ptr %7, align 8 %22 = call i64 @exp(double noundef %21) %23 = add nsw i64 1, %22 %24 = call i64 @log(i64 noundef %23) %25 = sitofp i64 %24 to double br label %35 26: ; preds = %11 %27 = load double, ptr %7, align 8 %28 = fneg double %27 %29 = call i64 @exp(double noundef %28) %30 = add nsw i64 1, %29 %31 = call i64 @log(i64 noundef %30) %32 = sitofp i64 %31 to double %33 = load double, ptr %7, align 8 %34 = fadd double %32, %33 br label %35 35: ; preds = %26, %20 %36 = phi double [ %25, %20 ], [ %34, %26 ] %37 = load double, ptr %6, align 8 %38 = fadd double %37, %36 store double %38, ptr %6, align 8 br label %39 39: ; preds = %35 %40 = load i32, ptr %5, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %5, align 4 %42 = load i32, ptr %5, align 4 %43 = load i32, ptr %3, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %39 br label %45 45: ; preds = %._crit_edge, %2 %46 = load double, ptr %6, align 8 ret double %46 } declare i64 @log(i64 noundef) #1 declare i64 @exp(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpg9qvzvjl.c' source_filename = "/tmp/tmpg9qvzvjl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bzero(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call i32 @memset(ptr noundef %5, i8 noundef signext 0, i64 noundef %6) ret void } declare i32 @memset(ptr noundef, i8 noundef signext, 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/tmpg9qvzvjl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bzero(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call i32 @memset(ptr noundef %5, i8 noundef signext 0, i64 noundef %6) ret void } declare i32 @memset(ptr noundef, i8 noundef signext, 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/tmpwji_hrs2.c' source_filename = "/tmp/tmpwji_hrs2.c" target datalayout = "e-m:e-p270: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/tmpwji_hrs2.c" target datalayout = "e-m:e-p270: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/tmpfs4utyb5.c' source_filename = "/tmp/tmpfs4utyb5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ciao_malloc(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 ptr @malloc(i32 noundef %3) ret ptr %4 } 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/tmpfs4utyb5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ciao_malloc(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 ptr @malloc(i32 noundef %3) ret ptr %4 } 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/tmpha2g9cta.c' source_filename = "/tmp/tmpha2g9cta.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @j_drawimage(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %8, align 4 %13 = call i32 @japi_drawimage(i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12) ret void } declare i32 @japi_drawimage(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpha2g9cta.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @j_drawimage(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %8, align 4 %13 = call i32 @japi_drawimage(i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12) ret void } declare i32 @japi_drawimage(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpop87po37.c' source_filename = "/tmp/tmpop87po37.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [1000 x i8], align 16 %5 = alloca [1000 x i8], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 br label %6 6: ; preds = %25, %0 %7 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %8 = call i32 @getline(ptr noundef %7, i32 noundef 1000) store i32 %8, ptr %2, align 4 %9 = icmp sgt i32 %8, 0 br i1 %9, label %10, label %26 10: ; preds = %6 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %3, align 4 %13 = icmp sgt i32 %11, %12 br i1 %13, label %14, label %19 14: ; preds = %10 %15 = load i32, ptr %2, align 4 store i32 %15, ptr %3, align 4 %16 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0 %17 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %18 = call i32 @copy(ptr noundef %16, ptr noundef %17) br label %19 19: ; preds = %14, %10 %20 = load i32, ptr %2, align 4 %21 = icmp sgt i32 %20, 80 br i1 %21, label %22, label %25 22: ; preds = %19 %23 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %24 = call i32 @printf(ptr noundef @.str, ptr noundef %23) br label %25 25: ; preds = %22, %19 br label %6, !llvm.loop !6 26: ; preds = %6 ret i32 0 } declare i32 @getline(ptr noundef, i32 noundef) #1 declare i32 @copy(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpop87po37.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [1000 x i8], align 16 %5 = alloca [1000 x i8], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %6 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %7 = call i32 @getline(ptr noundef %6, i32 noundef 1000) store i32 %7, ptr %2, align 4 %8 = icmp sgt i32 %7, 0 br i1 %8, label %.lr.ph, label %27 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %24 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp sgt i32 %10, %11 br i1 %12, label %13, label %18 13: ; preds = %9 %14 = load i32, ptr %2, align 4 store i32 %14, ptr %3, align 4 %15 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0 %16 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %17 = call i32 @copy(ptr noundef %15, ptr noundef %16) br label %18 18: ; preds = %13, %9 %19 = load i32, ptr %2, align 4 %20 = icmp sgt i32 %19, 80 br i1 %20, label %21, label %24 21: ; preds = %18 %22 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %23 = call i32 @printf(ptr noundef @.str, ptr noundef %22) br label %24 24: ; preds = %21, %18 %25 = call i32 @getline(ptr noundef %6, i32 noundef 1000) store i32 %25, ptr %2, align 4 %26 = icmp sgt i32 %25, 0 br i1 %26, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %27 27: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @getline(ptr noundef, i32 noundef) #1 declare i32 @copy(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_0e0z4rk.c' source_filename = "/tmp/tmp_0e0z4rk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGFPE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gen_FPE() #0 { %1 = call i32 (...) @getpid() %2 = load i32, ptr @SIGFPE, align 4 %3 = call i32 @kill(i32 noundef %1, i32 noundef %2) ret i32 0 } declare i32 @kill(i32 noundef, i32 noundef) #1 declare i32 @getpid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_0e0z4rk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGFPE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gen_FPE() #0 { %1 = call i32 (...) @getpid() %2 = load i32, ptr @SIGFPE, align 4 %3 = call i32 @kill(i32 noundef %1, i32 noundef %2) ret i32 0 } declare i32 @kill(i32 noundef, i32 noundef) #1 declare i32 @getpid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp51pj0t0d.c' source_filename = "/tmp/tmp51pj0t0d.c" target datalayout = "e-m:e-p270: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 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) br label %7 7: ; preds = %31, %0 %8 = load i32, ptr %2, align 4 %9 = add nsw i32 %8, -1 store i32 %9, ptr %2, align 4 %10 = icmp ne i32 %8, 0 br i1 %10, label %11, label %34 11: ; preds = %7 %12 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) store i32 1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %13 13: ; preds = %28, %11 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %31 17: ; preds = %13 %18 = load i32, ptr %5, align 4 %19 = and i32 %18, 1 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %17 %22 = load i32, ptr %4, align 4 %23 = or i32 %22, 1 store i32 %23, ptr %4, align 4 br label %27 24: ; preds = %17 %25 = load i32, ptr %4, align 4 %26 = shl i32 %25, 1 store i32 %26, ptr %4, align 4 br label %27 27: ; preds = %24, %21 br label %28 28: ; preds = %27 %29 = load i32, ptr %5, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %5, align 4 br label %13, !llvm.loop !6 31: ; preds = %13 %32 = load i32, ptr %4, align 4 %33 = call i32 @printf(ptr noundef @.str.1, i32 noundef %32) br label %7, !llvm.loop !8 34: ; preds = %7 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp51pj0t0d.c" target datalayout = "e-m:e-p270: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 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %7 = load i32, ptr %2, align 4 %8 = add nsw i32 %7, -1 store i32 %8, ptr %2, align 4 %9 = icmp ne i32 %7, 0 br i1 %9, label %.lr.ph2, label %38 .lr.ph2: ; preds = %0 br label %10 10: ; preds = %.lr.ph2, %32 %11 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) store i32 1, ptr %4, align 4 store i32 0, ptr %5, align 4 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %32 .lr.ph: ; preds = %10 br label %15 15: ; preds = %.lr.ph, %26 %16 = load i32, ptr %5, align 4 %17 = and i32 %16, 1 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %15 %20 = load i32, ptr %4, align 4 %21 = or i32 %20, 1 store i32 %21, ptr %4, align 4 br label %25 22: ; preds = %15 %23 = load i32, ptr %4, align 4 %24 = shl i32 %23, 1 store i32 %24, ptr %4, align 4 br label %25 25: ; preds = %22, %19 br label %26 26: ; preds = %25 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %5, align 4 %29 = load i32, ptr %5, align 4 %30 = load i32, ptr %3, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %10 %33 = load i32, ptr %4, align 4 %34 = call i32 @printf(ptr noundef @.str.1, i32 noundef %33) %35 = load i32, ptr %2, align 4 %36 = add nsw i32 %35, -1 store i32 %36, ptr %2, align 4 %37 = icmp ne i32 %35, 0 br i1 %37, label %10, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %32 br label %38 38: ; preds = %._crit_edge3, %0 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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpkrq7ei7d.c' source_filename = "/tmp/tmpkrq7ei7d.c" target datalayout = "e-m:e-p270: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"FFFF converts to %u\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"FFFF\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"0xFFFF converts to %u\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"0xFFFF\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"ABCD converts to %u\0A\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"ABCD\00", align 1 @.str.6 = private unnamed_addr constant [27 x i8] c"0xFFFFFFFF converts to %u\0A\00", align 1 @.str.7 = private unnamed_addr constant [11 x i8] c"0xFFFFFFFF\00", align 1 @.str.8 = private unnamed_addr constant [38 x i8] c"converting an empty string yields %u\0A\00", align 1 @.str.9 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.10 = private unnamed_addr constant [18 x i8] c"0 converts to %u\0A\00", align 1 @.str.11 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @.str.12 = private unnamed_addr constant [19 x i8] c"0A converts to %u\0A\00", align 1 @.str.13 = private unnamed_addr constant [3 x i8] c"0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @htoi(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) %4 = call i32 @htoi(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.2, i32 noundef %4) %6 = call i32 @htoi(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.4, i32 noundef %6) %8 = call i32 @htoi(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.6, i32 noundef %8) %10 = call i32 @htoi(ptr noundef @.str.9) %11 = call i32 @printf(ptr noundef @.str.8, i32 noundef %10) %12 = call i32 @htoi(ptr noundef @.str.11) %13 = call i32 @printf(ptr noundef @.str.10, i32 noundef %12) %14 = call i32 @htoi(ptr noundef @.str.13) %15 = call i32 @printf(ptr noundef @.str.12, i32 noundef %14) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @htoi(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/tmpkrq7ei7d.c" target datalayout = "e-m:e-p270: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"FFFF converts to %u\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"FFFF\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"0xFFFF converts to %u\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"0xFFFF\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"ABCD converts to %u\0A\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"ABCD\00", align 1 @.str.6 = private unnamed_addr constant [27 x i8] c"0xFFFFFFFF converts to %u\0A\00", align 1 @.str.7 = private unnamed_addr constant [11 x i8] c"0xFFFFFFFF\00", align 1 @.str.8 = private unnamed_addr constant [38 x i8] c"converting an empty string yields %u\0A\00", align 1 @.str.9 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.10 = private unnamed_addr constant [18 x i8] c"0 converts to %u\0A\00", align 1 @.str.11 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @.str.12 = private unnamed_addr constant [19 x i8] c"0A converts to %u\0A\00", align 1 @.str.13 = private unnamed_addr constant [3 x i8] c"0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @htoi(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) %4 = call i32 @htoi(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.2, i32 noundef %4) %6 = call i32 @htoi(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.4, i32 noundef %6) %8 = call i32 @htoi(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.6, i32 noundef %8) %10 = call i32 @htoi(ptr noundef @.str.9) %11 = call i32 @printf(ptr noundef @.str.8, i32 noundef %10) %12 = call i32 @htoi(ptr noundef @.str.11) %13 = call i32 @printf(ptr noundef @.str.10, i32 noundef %12) %14 = call i32 @htoi(ptr noundef @.str.13) %15 = call i32 @printf(ptr noundef @.str.12, i32 noundef %14) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @htoi(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/tmpdv1hsnxy.c' source_filename = "/tmp/tmpdv1hsnxy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"should return true or false\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark() #0 { %1 = alloca double, align 8 %2 = alloca double, align 8 %3 = alloca float, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = call double (...) @tic() store double %6, ptr %2, align 8 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %23, %0 %8 = load i32, ptr %5, align 4 %9 = icmp slt i32 %8, 1000000 br i1 %9, label %10, label %26 10: ; preds = %7 %11 = call float (...) @rand_float() %12 = call float @llvm.fmuladd.f32(float 1.000000e+02, float %11, float -5.000000e+01) store float %12, ptr %3, align 4 %13 = load float, ptr %3, align 4 %14 = call i32 @is_negative_zerof(float noundef %13) store i32 %14, ptr %4, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp ne i32 %15, 1 br i1 %16, label %17, label %22 17: ; preds = %10 %18 = load i32, ptr %4, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %17 %21 = call i32 @printf(ptr noundef @.str) br label %26 22: ; preds = %17, %10 br label %23 23: ; preds = %22 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %5, align 4 br label %7, !llvm.loop !6 26: ; preds = %20, %7 %27 = call double (...) @tic() %28 = load double, ptr %2, align 8 %29 = fsub double %27, %28 store double %29, ptr %1, align 8 %30 = load i32, ptr %4, align 4 %31 = icmp ne i32 %30, 1 br i1 %31, label %32, label %37 32: ; preds = %26 %33 = load i32, ptr %4, align 4 %34 = icmp ne i32 %33, 0 br i1 %34, label %35, label %37 35: ; preds = %32 %36 = call i32 @printf(ptr noundef @.str) br label %37 37: ; preds = %35, %32, %26 %38 = load double, ptr %1, align 8 ret double %38 } declare double @tic(...) #1 declare float @rand_float(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare i32 @is_negative_zerof(float 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" } 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/tmpdv1hsnxy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"should return true or false\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark() #0 { %1 = alloca double, align 8 %2 = alloca double, align 8 %3 = alloca float, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = call double (...) @tic() store double %6, ptr %2, align 8 store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = icmp slt i32 %7, 1000000 br i1 %8, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %22 %10 = call float (...) @rand_float() %11 = call float @llvm.fmuladd.f32(float 1.000000e+02, float %10, float -5.000000e+01) store float %11, ptr %3, align 4 %12 = load float, ptr %3, align 4 %13 = call i32 @is_negative_zerof(float noundef %12) store i32 %13, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, 1 br i1 %15, label %16, label %21 16: ; preds = %9 %17 = load i32, ptr %4, align 4 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %16 %20 = call i32 @printf(ptr noundef @.str) br label %27 21: ; preds = %16, %9 br label %22 22: ; preds = %21 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 %25 = load i32, ptr %5, align 4 %26 = icmp slt i32 %25, 1000000 br i1 %26, label %9, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %22 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %27 27: ; preds = %.loopexit, %19 %28 = call double (...) @tic() %29 = load double, ptr %2, align 8 %30 = fsub double %28, %29 store double %30, ptr %1, align 8 %31 = load i32, ptr %4, align 4 %32 = icmp ne i32 %31, 1 br i1 %32, label %33, label %38 33: ; preds = %27 %34 = load i32, ptr %4, align 4 %35 = icmp ne i32 %34, 0 br i1 %35, label %36, label %38 36: ; preds = %33 %37 = call i32 @printf(ptr noundef @.str) br label %38 38: ; preds = %36, %33, %27 %39 = load double, ptr %1, align 8 ret double %39 } declare double @tic(...) #1 declare float @rand_float(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare i32 @is_negative_zerof(float 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" } 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/tmpiq_bi2se.c' source_filename = "/tmp/tmpiq_bi2se.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gtty(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 %4, align 4 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load i32, ptr @EINVAL, align 4 %10 = call i32 @__set_errno(i32 noundef %9) store i32 -1, ptr %3, align 4 br label %14 11: ; preds = %2 %12 = load i32, ptr @ENOSYS, align 4 %13 = call i32 @__set_errno(i32 noundef %12) store i32 -1, ptr %3, align 4 br label %14 14: ; preds = %11, %8 %15 = load i32, ptr %3, align 4 ret i32 %15 } declare i32 @__set_errno(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiq_bi2se.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gtty(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 %4, align 4 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load i32, ptr @EINVAL, align 4 %10 = call i32 @__set_errno(i32 noundef %9) store i32 -1, ptr %3, align 4 br label %14 11: ; preds = %2 %12 = load i32, ptr @ENOSYS, align 4 %13 = call i32 @__set_errno(i32 noundef %12) store i32 -1, ptr %3, align 4 br label %14 14: ; preds = %11, %8 %15 = load i32, ptr %3, align 4 ret i32 %15 } declare i32 @__set_errno(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_2vib_hr.c' source_filename = "/tmp/tmp_2vib_hr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"|%10.2lf |%9.1lf |%12.2lf |%11.2lf |\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_in_flight_statistics(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store double %3, ptr %8, align 8 %9 = load double, ptr %5, align 8 %10 = load double, ptr %6, align 8 %11 = load double, ptr %7, align 8 %12 = load double, ptr %8, align 8 %13 = call i32 @printf(ptr noundef @.str, double noundef %9, double noundef %10, double noundef %11, double noundef %12) ret void } declare i32 @printf(ptr noundef, double noundef, double noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_2vib_hr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"|%10.2lf |%9.1lf |%12.2lf |%11.2lf |\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_in_flight_statistics(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store double %3, ptr %8, align 8 %9 = load double, ptr %5, align 8 %10 = load double, ptr %6, align 8 %11 = load double, ptr %7, align 8 %12 = load double, ptr %8, align 8 %13 = call i32 @printf(ptr noundef @.str, double noundef %9, double noundef %10, double noundef %11, double noundef %12) ret void } declare i32 @printf(ptr noundef, double noundef, double noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcnw8inp9.c' source_filename = "/tmp/tmpcnw8inp9.c" target datalayout = "e-m:e-p270: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/tmpcnw8inp9.c" target datalayout = "e-m:e-p270: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/tmpl783vb4z.c' source_filename = "/tmp/tmpl783vb4z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 @scanf(ptr noundef @.str, ptr noundef %6) %12 = load i32, ptr %6, align 4 %13 = zext i32 %12 to i64 %14 = call ptr @llvm.stacksave() store ptr %14, ptr %8, align 8 %15 = alloca i32, i64 %13, align 16 store i64 %13, ptr %9, align 8 store i32 0, ptr %10, align 4 br label %16 16: ; preds = %26, %2 %17 = load i32, ptr %10, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %29 20: ; preds = %16 %21 = call i32 @scanf(ptr noundef @.str, ptr noundef %7) %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %10, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %15, i64 %24 store i32 %22, ptr %25, align 4 br label %26 26: ; preds = %20 %27 = load i32, ptr %10, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %10, align 4 br label %16, !llvm.loop !6 29: ; preds = %16 %30 = load i32, ptr %6, align 4 %31 = sub nsw i32 %30, 1 %32 = call i32 @insertion_sort2(ptr noundef %15, i32 noundef 0, i32 noundef %31) %33 = load i32, ptr %6, align 4 %34 = sdiv i32 %33, 2 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %15, i64 %35 %37 = load i32, ptr %36, align 4 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %37) %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %40 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %40, ptr %3, align 4 %41 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %41) %42 = load i32, ptr %3, align 4 ret i32 %42 } declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @insertion_sort2(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl783vb4z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 @scanf(ptr noundef @.str, ptr noundef %6) %12 = load i32, ptr %6, align 4 %13 = zext i32 %12 to i64 %14 = call ptr @llvm.stacksave() store ptr %14, ptr %8, align 8 %15 = alloca i32, i64 %13, align 16 store i64 %13, ptr %9, align 8 store i32 0, ptr %10, align 4 %16 = load i32, ptr %10, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph, label %31 .lr.ph: ; preds = %2 br label %19 19: ; preds = %.lr.ph, %25 %20 = call i32 @scanf(ptr noundef @.str, ptr noundef %7) %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %10, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %15, i64 %23 store i32 %21, ptr %24, align 4 br label %25 25: ; preds = %19 %26 = load i32, ptr %10, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %10, align 4 %28 = load i32, ptr %10, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %31 31: ; preds = %._crit_edge, %2 %32 = load i32, ptr %6, align 4 %33 = sub nsw i32 %32, 1 %34 = call i32 @insertion_sort2(ptr noundef %15, i32 noundef 0, i32 noundef %33) %35 = load i32, ptr %6, align 4 %36 = sdiv i32 %35, 2 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %15, i64 %37 %39 = load i32, ptr %38, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %39) %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %42 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %42, ptr %3, align 4 %43 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %43) %44 = load i32, ptr %3, align 4 ret i32 %44 } declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @insertion_sort2(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(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"}
; ModuleID = '/tmp/tmpzvybjx9s.c' source_filename = "/tmp/tmpzvybjx9s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LSKeyframeAnimationFunctionEaseOutCirc(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store double %3, ptr %8, align 8 %9 = load double, ptr %7, align 8 %10 = load double, ptr %5, align 8 %11 = load double, ptr %8, align 8 %12 = fdiv double %10, %11 %13 = fsub double %12, 1.000000e+00 store double %13, ptr %5, align 8 %14 = load double, ptr %5, align 8 %15 = fneg double %13 %16 = call double @llvm.fmuladd.f64(double %15, double %14, double 1.000000e+00) %17 = fptosi double %16 to i32 %18 = call double @sqrt(i32 noundef %17) %19 = load double, ptr %6, align 8 %20 = call double @llvm.fmuladd.f64(double %9, double %18, double %19) ret double %20 } declare double @sqrt(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzvybjx9s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LSKeyframeAnimationFunctionEaseOutCirc(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store double %3, ptr %8, align 8 %9 = load double, ptr %7, align 8 %10 = load double, ptr %5, align 8 %11 = load double, ptr %8, align 8 %12 = fdiv double %10, %11 %13 = fsub double %12, 1.000000e+00 store double %13, ptr %5, align 8 %14 = load double, ptr %5, align 8 %15 = fneg double %13 %16 = call double @llvm.fmuladd.f64(double %15, double %14, double 1.000000e+00) %17 = fptosi double %16 to i32 %18 = call double @sqrt(i32 noundef %17) %19 = load double, ptr %6, align 8 %20 = call double @llvm.fmuladd.f64(double %9, double %18, double %19) ret double %20 } declare double @sqrt(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3lru2jxi.c' source_filename = "/tmp/tmp3lru2jxi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pthread_attr_setschedpolicy(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 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3lru2jxi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pthread_attr_setschedpolicy(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 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplfd9v6jc.c' source_filename = "/tmp/tmplfd9v6jc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_EMRPIE_swap(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @core9_swap(ptr noundef %5, i32 noundef %6) ret void } declare i32 @core9_swap(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/tmplfd9v6jc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_EMRPIE_swap(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @core9_swap(ptr noundef %5, i32 noundef %6) ret void } declare i32 @core9_swap(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/tmpyeprt54q.c' source_filename = "/tmp/tmpyeprt54q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sort_index_imatrix_selection_kmax(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, ptr noundef %5, i32 noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %8, align 8 store i64 %1, ptr %9, align 8 store i64 %2, ptr %10, align 8 store i64 %3, ptr %11, align 8 store i64 %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store i32 %6, ptr %14, align 4 %16 = load ptr, ptr %13, align 8 %17 = load i64, ptr %9, align 8 %18 = load i64, ptr %10, align 8 %19 = load i64, ptr %11, align 8 %20 = load i64, ptr %12, align 8 %21 = call i32 @set_imatrix_j(ptr noundef %16, i64 noundef %17, i64 noundef %18, i64 noundef %19, i64 noundef %20) %22 = load i64, ptr %9, align 8 %23 = trunc i64 %22 to i32 store i32 %23, ptr %15, align 4 br label %24 24: ; preds = %44, %7 %25 = load i32, ptr %15, align 4 %26 = sext i32 %25 to i64 %27 = load i64, ptr %10, align 8 %28 = icmp sle i64 %26, %27 br i1 %28, label %29, label %47 29: ; preds = %24 %30 = load ptr, ptr %8, align 8 %31 = load i32, ptr %15, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds ptr, ptr %30, i64 %32 %34 = load ptr, ptr %33, align 8 %35 = load i64, ptr %11, align 8 %36 = load i64, ptr %12, align 8 %37 = load ptr, ptr %13, align 8 %38 = load i32, ptr %15, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds ptr, ptr %37, i64 %39 %41 = load ptr, ptr %40, align 8 %42 = load i32, ptr %14, align 4 %43 = call i32 @sort_index_ivector_selection_kmax(ptr noundef %34, i64 noundef %35, i64 noundef %36, ptr noundef %41, i32 noundef %42) br label %44 44: ; preds = %29 %45 = load i32, ptr %15, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %15, align 4 br label %24, !llvm.loop !6 47: ; preds = %24 ret void } declare i32 @set_imatrix_j(ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef) #1 declare i32 @sort_index_ivector_selection_kmax(ptr noundef, i64 noundef, i64 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyeprt54q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sort_index_imatrix_selection_kmax(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, ptr noundef %5, i32 noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %8, align 8 store i64 %1, ptr %9, align 8 store i64 %2, ptr %10, align 8 store i64 %3, ptr %11, align 8 store i64 %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store i32 %6, ptr %14, align 4 %16 = load ptr, ptr %13, align 8 %17 = load i64, ptr %9, align 8 %18 = load i64, ptr %10, align 8 %19 = load i64, ptr %11, align 8 %20 = load i64, ptr %12, align 8 %21 = call i32 @set_imatrix_j(ptr noundef %16, i64 noundef %17, i64 noundef %18, i64 noundef %19, i64 noundef %20) %22 = load i64, ptr %9, align 8 %23 = trunc i64 %22 to i32 store i32 %23, ptr %15, align 4 %24 = load i32, ptr %15, align 4 %25 = sext i32 %24 to i64 %26 = load i64, ptr %10, align 8 %27 = icmp sle i64 %25, %26 br i1 %27, label %.lr.ph, label %50 .lr.ph: ; preds = %7 br label %28 28: ; preds = %.lr.ph, %43 %29 = load ptr, ptr %8, align 8 %30 = load i32, ptr %15, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds ptr, ptr %29, i64 %31 %33 = load ptr, ptr %32, align 8 %34 = load i64, ptr %11, align 8 %35 = load i64, ptr %12, align 8 %36 = load ptr, ptr %13, align 8 %37 = load i32, ptr %15, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds ptr, ptr %36, i64 %38 %40 = load ptr, ptr %39, align 8 %41 = load i32, ptr %14, align 4 %42 = call i32 @sort_index_ivector_selection_kmax(ptr noundef %33, i64 noundef %34, i64 noundef %35, ptr noundef %40, i32 noundef %41) br label %43 43: ; preds = %28 %44 = load i32, ptr %15, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %15, align 4 %46 = load i32, ptr %15, align 4 %47 = sext i32 %46 to i64 %48 = load i64, ptr %10, align 8 %49 = icmp sle i64 %47, %48 br i1 %49, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %43 br label %50 50: ; preds = %._crit_edge, %7 ret void } declare i32 @set_imatrix_j(ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef) #1 declare i32 @sort_index_ivector_selection_kmax(ptr noundef, i64 noundef, i64 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpgby8wqpi.c' source_filename = "/tmp/tmpgby8wqpi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @files_to_driver() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %2, align 4 %3 = call i32 (...) @mtx_to_driver() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp ne i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = load i32, ptr %2, align 4 store i32 %7, ptr %1, align 4 br label %17 8: ; preds = %0 %9 = call i32 (...) @uvz_to_driver() store i32 %9, ptr %2, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %8 %13 = load i32, ptr %2, align 4 store i32 %13, ptr %1, align 4 br label %17 14: ; preds = %8 %15 = call i32 (...) @calibrated_to_driver() store i32 %15, ptr %2, align 4 %16 = load i32, ptr %2, align 4 store i32 %16, ptr %1, align 4 br label %17 17: ; preds = %14, %12, %6 %18 = load i32, ptr %1, align 4 ret i32 %18 } declare i32 @mtx_to_driver(...) #1 declare i32 @uvz_to_driver(...) #1 declare i32 @calibrated_to_driver(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgby8wqpi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @files_to_driver() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %2, align 4 %3 = call i32 (...) @mtx_to_driver() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp ne i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = load i32, ptr %2, align 4 store i32 %7, ptr %1, align 4 br label %17 8: ; preds = %0 %9 = call i32 (...) @uvz_to_driver() store i32 %9, ptr %2, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %8 %13 = load i32, ptr %2, align 4 store i32 %13, ptr %1, align 4 br label %17 14: ; preds = %8 %15 = call i32 (...) @calibrated_to_driver() store i32 %15, ptr %2, align 4 %16 = load i32, ptr %2, align 4 store i32 %16, ptr %1, align 4 br label %17 17: ; preds = %14, %12, %6 %18 = load i32, ptr %1, align 4 ret i32 %18 } declare i32 @mtx_to_driver(...) #1 declare i32 @uvz_to_driver(...) #1 declare i32 @calibrated_to_driver(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbdd9zp2q.c' source_filename = "/tmp/tmpbdd9zp2q.c" target datalayout = "e-m:e-p270: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/tmpbdd9zp2q.c" target datalayout = "e-m:e-p270: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/tmphz1hqtci.c' source_filename = "/tmp/tmphz1hqtci.c" target datalayout = "e-m:e-p270: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 \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca 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 [50 x i32], align 16 store i32 0, ptr %1, align 4 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) br label %10 10: ; preds = %114, %0 %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %11, -1 store i32 %12, ptr %2, align 4 %13 = icmp ne i32 %11, 0 br i1 %13, label %14, label %116 14: ; preds = %10 %15 = call i32 @scanf(ptr noundef @.str, ptr noundef %6) store i32 0, ptr %4, align 4 br label %16 16: ; preds = %25, %14 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %28 20: ; preds = %16 %21 = load i32, ptr %4, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [50 x i32], ptr %8, i64 0, i64 %22 %24 = call i32 @scanf(ptr noundef @.str, ptr noundef %23) br label %25 25: ; preds = %20 %26 = load i32, ptr %4, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %4, align 4 br label %16, !llvm.loop !6 28: ; preds = %16 %29 = getelementptr inbounds [50 x i32], ptr %8, i64 0, i64 0 %30 = load i32, ptr %29, align 16 store i32 %30, ptr %3, align 4 store i32 1, ptr %4, align 4 br label %31 31: ; preds = %48, %28 %32 = load i32, ptr %4, align 4 %33 = load i32, ptr %6, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %35, label %51 35: ; preds = %31 %36 = load i32, ptr %4, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [50 x i32], ptr %8, i64 0, i64 %37 %39 = load i32, ptr %38, align 4 %40 = load i32, ptr %3, align 4 %41 = icmp sgt i32 %39, %40 br i1 %41, label %42, label %47 42: ; preds = %35 %43 = load i32, ptr %4, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [50 x i32], ptr %8, i64 0, i64 %44 %46 = load i32, ptr %45, align 4 store i32 %46, ptr %3, align 4 br label %47 47: ; preds = %42, %35 br label %48 48: ; preds = %47 %49 = load i32, ptr %4, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %4, align 4 br label %31, !llvm.loop !8 51: ; preds = %31 %52 = load i32, ptr %3, align 4 store i32 %52, ptr %4, align 4 br label %53 53: ; preds = %97, %51 %54 = load i32, ptr %4, align 4 %55 = icmp sge i32 %54, 2 br i1 %55, label %56, label %100 56: ; preds = %53 store i32 0, ptr %7, align 4 store i32 0, ptr %5, align 4 br label %57 57: ; preds = %71, %56 %58 = load i32, ptr %5, align 4 %59 = load i32, ptr %6, align 4 %60 = icmp slt i32 %58, %59 br i1 %60, label %61, label %74 61: ; preds = %57 %62 = load i32, ptr %5, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [50 x i32], ptr %8, i64 0, i64 %63 %65 = load i32, ptr %64, align 4 %66 = load i32, ptr %4, align 4 %67 = srem i32 %65, %66 %68 = icmp ne i32 %67, 0 br i1 %68, label %69, label %70 69: ; preds = %61 store i32 1, ptr %7, align 4 br label %70 70: ; preds = %69, %61 br label %71 71: ; preds = %70 %72 = load i32, ptr %5, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %5, align 4 br label %57, !llvm.loop !9 74: ; preds = %57 %75 = load i32, ptr %7, align 4 %76 = icmp ne i32 %75, 0 br i1 %76, label %96, label %77 77: ; preds = %74 store i32 0, ptr %5, align 4 br label %78 78: ; preds = %92, %77 %79 = load i32, ptr %5, align 4 %80 = load i32, ptr %6, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %82, label %95 82: ; preds = %78 %83 = load i32, ptr %5, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds [50 x i32], ptr %8, i64 0, i64 %84 %86 = load i32, ptr %85, align 4 %87 = load i32, ptr %4, align 4 %88 = sdiv i32 %86, %87 %89 = load i32, ptr %5, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds [50 x i32], ptr %8, i64 0, i64 %90 store i32 %88, ptr %91, align 4 br label %92 92: ; preds = %82 %93 = load i32, ptr %5, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %5, align 4 br label %78, !llvm.loop !10 95: ; preds = %78 br label %96 96: ; preds = %95, %74 br label %97 97: ; preds = %96 %98 = load i32, ptr %4, align 4 %99 = add nsw i32 %98, -1 store i32 %99, ptr %4, align 4 br label %53, !llvm.loop !11 100: ; preds = %53 store i32 0, ptr %4, align 4 br label %101 101: ; preds = %111, %100 %102 = load i32, ptr %4, align 4 %103 = load i32, ptr %6, align 4 %104 = icmp slt i32 %102, %103 br i1 %104, label %105, label %114 105: ; preds = %101 %106 = load i32, ptr %4, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds [50 x i32], ptr %8, i64 0, i64 %107 %109 = load i32, ptr %108, align 4 %110 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %109) br label %111 111: ; preds = %105 %112 = load i32, ptr %4, align 4 %113 = add nsw i32 %112, 1 store i32 %113, ptr %4, align 4 br label %101, !llvm.loop !12 114: ; preds = %101 %115 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %10, !llvm.loop !13 116: ; preds = %10 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphz1hqtci.c" target datalayout = "e-m:e-p270: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 \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca 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 [50 x i32], align 16 store i32 0, ptr %1, align 4 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, -1 store i32 %11, ptr %2, align 4 %12 = icmp ne i32 %10, 0 br i1 %12, label %.lr.ph17, label %129 .lr.ph17: ; preds = %0 br label %13 13: ; preds = %.lr.ph17, %124 %14 = call i32 @scanf(ptr noundef @.str, ptr noundef %6) store i32 0, ptr %4, align 4 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %29 .lr.ph: ; preds = %13 br label %18 18: ; preds = %.lr.ph, %23 %19 = load i32, ptr %4, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [50 x i32], ptr %8, i64 0, i64 %20 %22 = call i32 @scanf(ptr noundef @.str, ptr noundef %21) br label %23 23: ; preds = %18 %24 = load i32, ptr %4, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %4, align 4 %26 = load i32, ptr %4, align 4 %27 = load i32, ptr %6, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %29 29: ; preds = %._crit_edge, %13 %30 = getelementptr inbounds [50 x i32], ptr %8, i64 0, i64 0 %31 = load i32, ptr %30, align 16 store i32 %31, ptr %3, align 4 store i32 1, ptr %4, align 4 %32 = load i32, ptr %4, align 4 %33 = load i32, ptr %6, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %.lr.ph2, label %54 .lr.ph2: ; preds = %29 br label %35 35: ; preds = %.lr.ph2, %48 %36 = load i32, ptr %4, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [50 x i32], ptr %8, i64 0, i64 %37 %39 = load i32, ptr %38, align 4 %40 = load i32, ptr %3, align 4 %41 = icmp sgt i32 %39, %40 br i1 %41, label %42, label %47 42: ; preds = %35 %43 = load i32, ptr %4, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [50 x i32], ptr %8, i64 0, i64 %44 %46 = load i32, ptr %45, align 4 store i32 %46, ptr %3, align 4 br label %47 47: ; preds = %42, %35 br label %48 48: ; preds = %47 %49 = load i32, ptr %4, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %4, align 4 %51 = load i32, ptr %4, align 4 %52 = load i32, ptr %6, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %35, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %48 br label %54 54: ; preds = %._crit_edge3, %29 %55 = load i32, ptr %3, align 4 store i32 %55, ptr %4, align 4 %56 = load i32, ptr %4, align 4 %57 = icmp sge i32 %56, 2 br i1 %57, label %.lr.ph11, label %108 .lr.ph11: ; preds = %54 br label %58 58: ; preds = %.lr.ph11, %103 store i32 0, ptr %7, align 4 store i32 0, ptr %5, align 4 %59 = load i32, ptr %5, align 4 %60 = load i32, ptr %6, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %.lr.ph5, label %78 .lr.ph5: ; preds = %58 br label %62 62: ; preds = %.lr.ph5, %72 %63 = load i32, ptr %5, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [50 x i32], ptr %8, i64 0, i64 %64 %66 = load i32, ptr %65, align 4 %67 = load i32, ptr %4, align 4 %68 = srem i32 %66, %67 %69 = icmp ne i32 %68, 0 br i1 %69, label %70, label %71 70: ; preds = %62 store i32 1, ptr %7, align 4 br label %71 71: ; preds = %70, %62 br label %72 72: ; preds = %71 %73 = load i32, ptr %5, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %5, align 4 %75 = load i32, ptr %5, align 4 %76 = load i32, ptr %6, align 4 %77 = icmp slt i32 %75, %76 br i1 %77, label %62, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %72 br label %78 78: ; preds = %._crit_edge6, %58 %79 = load i32, ptr %7, align 4 %80 = icmp ne i32 %79, 0 br i1 %80, label %102, label %81 81: ; preds = %78 store i32 0, ptr %5, align 4 %82 = load i32, ptr %5, align 4 %83 = load i32, ptr %6, align 4 %84 = icmp slt i32 %82, %83 br i1 %84, label %.lr.ph8, label %101 .lr.ph8: ; preds = %81 br label %85 85: ; preds = %.lr.ph8, %95 %86 = load i32, ptr %5, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds [50 x i32], ptr %8, i64 0, i64 %87 %89 = load i32, ptr %88, align 4 %90 = load i32, ptr %4, align 4 %91 = sdiv i32 %89, %90 %92 = load i32, ptr %5, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds [50 x i32], ptr %8, i64 0, i64 %93 store i32 %91, ptr %94, align 4 br label %95 95: ; preds = %85 %96 = load i32, ptr %5, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %5, align 4 %98 = load i32, ptr %5, align 4 %99 = load i32, ptr %6, align 4 %100 = icmp slt i32 %98, %99 br i1 %100, label %85, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %95 br label %101 101: ; preds = %._crit_edge9, %81 br label %102 102: ; preds = %101, %78 br label %103 103: ; preds = %102 %104 = load i32, ptr %4, align 4 %105 = add nsw i32 %104, -1 store i32 %105, ptr %4, align 4 %106 = load i32, ptr %4, align 4 %107 = icmp sge i32 %106, 2 br i1 %107, label %58, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %103 br label %108 108: ; preds = %._crit_edge12, %54 store i32 0, ptr %4, align 4 %109 = load i32, ptr %4, align 4 %110 = load i32, ptr %6, align 4 %111 = icmp slt i32 %109, %110 br i1 %111, label %.lr.ph14, label %124 .lr.ph14: ; preds = %108 br label %112 112: ; preds = %.lr.ph14, %118 %113 = load i32, ptr %4, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds [50 x i32], ptr %8, i64 0, i64 %114 %116 = load i32, ptr %115, align 4 %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %116) br label %118 118: ; preds = %112 %119 = load i32, ptr %4, align 4 %120 = add nsw i32 %119, 1 store i32 %120, ptr %4, align 4 %121 = load i32, ptr %4, align 4 %122 = load i32, ptr %6, align 4 %123 = icmp slt i32 %121, %122 br i1 %123, label %112, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %118 br label %124 124: ; preds = %._crit_edge15, %108 %125 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %126 = load i32, ptr %2, align 4 %127 = add nsw i32 %126, -1 store i32 %127, ptr %2, align 4 %128 = icmp ne i32 %126, 0 br i1 %128, label %13, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %124 br label %129 129: ; preds = %._crit_edge18, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7}
; ModuleID = '/tmp/tmpb5umt_rx.c' source_filename = "/tmp/tmpb5umt_rx.c" target datalayout = "e-m:e-p270: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/tmpb5umt_rx.c" target datalayout = "e-m:e-p270: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/tmpydsiqhgh.c' source_filename = "/tmp/tmpydsiqhgh.c" target datalayout = "e-m:e-p270: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_3__ = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @div(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca %struct.TYPE_3__, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %5, align 4 %8 = sdiv i32 %6, %7 %9 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 0 store i32 %8, ptr %9, align 4 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %5, align 4 %12 = srem i32 %10, %11 %13 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 1 store i32 %12, ptr %13, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp sge i32 %14, 0 br i1 %15, label %16, label %28 16: ; preds = %2 %17 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 1 %18 = load i32, ptr %17, align 4 %19 = icmp slt i32 %18, 0 br i1 %19, label %20, label %28 20: ; preds = %16 %21 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 0 %22 = load i32, ptr %21, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %21, align 4 %24 = load i32, ptr %5, align 4 %25 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 1 %26 = load i32, ptr %25, align 4 %27 = sub nsw i32 %26, %24 store i32 %27, ptr %25, align 4 br label %44 28: ; preds = %16, %2 %29 = load i32, ptr %4, align 4 %30 = icmp slt i32 %29, 0 br i1 %30, label %31, label %43 31: ; preds = %28 %32 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 1 %33 = load i32, ptr %32, align 4 %34 = icmp sgt i32 %33, 0 br i1 %34, label %35, label %43 35: ; preds = %31 %36 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 0 %37 = load i32, ptr %36, align 4 %38 = add nsw i32 %37, -1 store i32 %38, ptr %36, align 4 %39 = load i32, ptr %5, align 4 %40 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 1 %41 = load i32, ptr %40, align 4 %42 = add nsw i32 %41, %39 store i32 %42, ptr %40, align 4 br label %43 43: ; preds = %35, %31, %28 br label %44 44: ; preds = %43, %20 %45 = load i64, ptr %3, align 4 ret i64 %45 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpydsiqhgh.c" target datalayout = "e-m:e-p270: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_3__ = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @div(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca %struct.TYPE_3__, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %5, align 4 %8 = sdiv i32 %6, %7 %9 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 0 store i32 %8, ptr %9, align 4 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %5, align 4 %12 = srem i32 %10, %11 %13 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 1 store i32 %12, ptr %13, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp sge i32 %14, 0 br i1 %15, label %16, label %28 16: ; preds = %2 %17 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 1 %18 = load i32, ptr %17, align 4 %19 = icmp slt i32 %18, 0 br i1 %19, label %20, label %28 20: ; preds = %16 %21 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 0 %22 = load i32, ptr %21, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %21, align 4 %24 = load i32, ptr %5, align 4 %25 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 1 %26 = load i32, ptr %25, align 4 %27 = sub nsw i32 %26, %24 store i32 %27, ptr %25, align 4 br label %44 28: ; preds = %16, %2 %29 = load i32, ptr %4, align 4 %30 = icmp slt i32 %29, 0 br i1 %30, label %31, label %43 31: ; preds = %28 %32 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 1 %33 = load i32, ptr %32, align 4 %34 = icmp sgt i32 %33, 0 br i1 %34, label %35, label %43 35: ; preds = %31 %36 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 0 %37 = load i32, ptr %36, align 4 %38 = add nsw i32 %37, -1 store i32 %38, ptr %36, align 4 %39 = load i32, ptr %5, align 4 %40 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 1 %41 = load i32, ptr %40, align 4 %42 = add nsw i32 %41, %39 store i32 %42, ptr %40, align 4 br label %43 43: ; preds = %35, %31, %28 br label %44 44: ; preds = %43, %20 %45 = load i64, ptr %3, align 4 ret i64 %45 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqvj2dj3y.c' source_filename = "/tmp/tmpqvj2dj3y.c" target datalayout = "e-m:e-p270: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/tmpqvj2dj3y.c" target datalayout = "e-m:e-p270: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/tmpxgav7kxb.c' source_filename = "/tmp/tmpxgav7kxb.c" target datalayout = "e-m:e-p270: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"fncval.dat\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Data file fncval.dat not found\0A\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"Elliptic Integral Degenerate RC\00", align 1 @.str.4 = private unnamed_addr constant [30 x i8] c"Data not found in fncval.dat\0A\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"%d %*s\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"\0A%s\0A\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"%7s %8s %16s %18s\0A\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"x\00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"y\00", align 1 @.str.10 = private unnamed_addr constant [7 x i8] c"actual\00", align 1 @.str.11 = private unnamed_addr constant [8 x i8] c"rc(x,y)\00", align 1 @.str.12 = private unnamed_addr constant [9 x i8] c"%f %f %f\00", align 1 @.str.13 = private unnamed_addr constant [27 x i8] c"%8.2f %8.2f %18.6e %18.6e\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [80 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %9 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %9, ptr %8, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %13 11: ; preds = %0 %12 = call i32 @nrerror(ptr noundef @.str.2) br label %13 13: ; preds = %11, %0 %14 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %15 = load ptr, ptr %8, align 8 %16 = call i32 @fgets(ptr noundef %14, i32 noundef 80, ptr noundef %15) br label %17 17: ; preds = %30, %13 %18 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %19 = call i64 @strncmp(ptr noundef %18, ptr noundef @.str.3, i32 noundef 31) %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %31 21: ; preds = %17 %22 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %23 = load ptr, ptr %8, align 8 %24 = call i32 @fgets(ptr noundef %22, i32 noundef 80, ptr noundef %23) %25 = load ptr, ptr %8, align 8 %26 = call i64 @feof(ptr noundef %25) %27 = icmp ne i64 %26, 0 br i1 %27, label %28, label %30 28: ; preds = %21 %29 = call i32 @nrerror(ptr noundef @.str.4) br label %30 30: ; preds = %28, %21 br label %17, !llvm.loop !6 31: ; preds = %17 %32 = load ptr, ptr %8, align 8 %33 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %32, ptr noundef @.str.5, ptr noundef %4) %34 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %34) %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef @.str.10, ptr noundef @.str.11) store i32 1, ptr %3, align 4 br label %37 37: ; preds = %54, %31 %38 = load i32, ptr %3, align 4 %39 = load i32, ptr %4, align 4 %40 = icmp sle i32 %38, %39 br i1 %40, label %41, label %57 41: ; preds = %37 %42 = load ptr, ptr %8, align 8 %43 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %42, ptr noundef @.str.12, ptr noundef %6, ptr noundef %7, ptr noundef %5) %44 = load float, ptr %6, align 4 %45 = fpext float %44 to double %46 = load float, ptr %7, align 4 %47 = fpext float %46 to double %48 = load float, ptr %5, align 4 %49 = fpext float %48 to double %50 = load float, ptr %6, align 4 %51 = load float, ptr %7, align 4 %52 = call double @rc(float noundef %50, float noundef %51) %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, double noundef %45, double noundef %47, double noundef %49, double noundef %52) br label %54 54: ; preds = %41 %55 = load i32, ptr %3, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %3, align 4 br label %37, !llvm.loop !8 57: ; preds = %37 %58 = load ptr, ptr %8, align 8 %59 = call i32 @fclose(ptr noundef %58) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @nrerror(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @feof(ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @rc(float noundef, float 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/tmpxgav7kxb.c" target datalayout = "e-m:e-p270: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"fncval.dat\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Data file fncval.dat not found\0A\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"Elliptic Integral Degenerate RC\00", align 1 @.str.4 = private unnamed_addr constant [30 x i8] c"Data not found in fncval.dat\0A\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"%d %*s\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"\0A%s\0A\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"%7s %8s %16s %18s\0A\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"x\00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"y\00", align 1 @.str.10 = private unnamed_addr constant [7 x i8] c"actual\00", align 1 @.str.11 = private unnamed_addr constant [8 x i8] c"rc(x,y)\00", align 1 @.str.12 = private unnamed_addr constant [9 x i8] c"%f %f %f\00", align 1 @.str.13 = private unnamed_addr constant [27 x i8] c"%8.2f %8.2f %18.6e %18.6e\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [80 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %9 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %9, ptr %8, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %13 11: ; preds = %0 %12 = call i32 @nrerror(ptr noundef @.str.2) br label %13 13: ; preds = %11, %0 %14 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %15 = load ptr, ptr %8, align 8 %16 = call i32 @fgets(ptr noundef %14, i32 noundef 80, ptr noundef %15) %17 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %18 = call i64 @strncmp(ptr noundef %17, ptr noundef @.str.3, i32 noundef 31) %19 = icmp ne i64 %18, 0 br i1 %19, label %.lr.ph, label %32 .lr.ph: ; preds = %13 br label %20 20: ; preds = %.lr.ph, %29 %21 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %22 = load ptr, ptr %8, align 8 %23 = call i32 @fgets(ptr noundef %21, i32 noundef 80, ptr noundef %22) %24 = load ptr, ptr %8, align 8 %25 = call i64 @feof(ptr noundef %24) %26 = icmp ne i64 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %20 %28 = call i32 @nrerror(ptr noundef @.str.4) br label %29 29: ; preds = %27, %20 %30 = call i64 @strncmp(ptr noundef %17, ptr noundef @.str.3, i32 noundef 31) %31 = icmp ne i64 %30, 0 br i1 %31, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %32 32: ; preds = %._crit_edge, %13 %33 = load ptr, ptr %8, align 8 %34 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %33, ptr noundef @.str.5, ptr noundef %4) %35 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %35) %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef @.str.10, ptr noundef @.str.11) store i32 1, ptr %3, align 4 %38 = load i32, ptr %3, align 4 %39 = load i32, ptr %4, align 4 %40 = icmp sle i32 %38, %39 br i1 %40, label %.lr.ph2, label %60 .lr.ph2: ; preds = %32 br label %41 41: ; preds = %.lr.ph2, %54 %42 = load ptr, ptr %8, align 8 %43 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %42, ptr noundef @.str.12, ptr noundef %6, ptr noundef %7, ptr noundef %5) %44 = load float, ptr %6, align 4 %45 = fpext float %44 to double %46 = load float, ptr %7, align 4 %47 = fpext float %46 to double %48 = load float, ptr %5, align 4 %49 = fpext float %48 to double %50 = load float, ptr %6, align 4 %51 = load float, ptr %7, align 4 %52 = call double @rc(float noundef %50, float noundef %51) %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, double noundef %45, double noundef %47, double noundef %49, double noundef %52) br label %54 54: ; preds = %41 %55 = load i32, ptr %3, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %3, align 4 %57 = load i32, ptr %3, align 4 %58 = load i32, ptr %4, align 4 %59 = icmp sle i32 %57, %58 br i1 %59, label %41, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %54 br label %60 60: ; preds = %._crit_edge3, %32 %61 = load ptr, ptr %8, align 8 %62 = call i32 @fclose(ptr noundef %61) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @nrerror(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @feof(ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @rc(float noundef, float 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/tmpgjm3qpf0.c' source_filename = "/tmp/tmpgjm3qpf0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.ifreq = type { i32, i32 } %struct.sockaddr_in = type { i32, i32 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [41 x i8] c"ifname, addr and mask must not be null!\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_RAW = dso_local global i32 0, align 4 @IPPROTO_RAW = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [15 x i8] c"socket error!\0A\00", align 1 @IFNAMSIZ = dso_local global i32 0, align 4 @SIOCSIFADDR = dso_local global i32 0, align 4 @SIOCSIFNETMASK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @set_if_addr(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca %struct.ifreq, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %11 = load ptr, ptr %5, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %19 13: ; preds = %3 %14 = load ptr, ptr %6, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %16, label %19 16: ; preds = %13 %17 = load ptr, ptr %7, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %22, label %19 19: ; preds = %16, %13, %3 %20 = load i32, ptr @stderr, align 4 %21 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str) store i32 -1, ptr %4, align 4 br label %59 22: ; preds = %16 %23 = load i32, ptr @AF_INET, align 4 %24 = load i32, ptr @SOCK_RAW, align 4 %25 = load i32, ptr @IPPROTO_RAW, align 4 %26 = call i32 @socket(i32 noundef %23, i32 noundef %24, i32 noundef %25) store i32 %26, ptr %8, align 4 %27 = load i32, ptr %8, align 4 %28 = icmp slt i32 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %22 %30 = load i32, ptr @stderr, align 4 %31 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str.1) store i32 -1, ptr %4, align 4 br label %59 32: ; preds = %22 %33 = call i32 @bzero(ptr noundef %9, i32 noundef 8) %34 = getelementptr inbounds %struct.ifreq, ptr %9, i32 0, i32 1 %35 = load i32, ptr %34, align 4 %36 = load ptr, ptr %5, align 8 %37 = load i32, ptr @IFNAMSIZ, align 4 %38 = call i32 @strncpy(i32 noundef %35, ptr noundef %36, i32 noundef %37) %39 = getelementptr inbounds %struct.ifreq, ptr %9, i32 0, i32 0 store ptr %39, ptr %10, align 8 %40 = load i32, ptr @AF_INET, align 4 %41 = load ptr, ptr %10, align 8 %42 = getelementptr inbounds %struct.sockaddr_in, ptr %41, i32 0, i32 1 store i32 %40, ptr %42, align 4 %43 = load ptr, ptr %6, align 8 %44 = load ptr, ptr %10, align 8 %45 = getelementptr inbounds %struct.sockaddr_in, ptr %44, i32 0, i32 0 %46 = call i32 @inet_aton(ptr noundef %43, ptr noundef %45) %47 = load i32, ptr %8, align 4 %48 = load i32, ptr @SIOCSIFADDR, align 4 %49 = call i32 @ioctl(i32 noundef %47, i32 noundef %48, ptr noundef %9) %50 = load ptr, ptr %7, align 8 %51 = load ptr, ptr %10, align 8 %52 = getelementptr inbounds %struct.sockaddr_in, ptr %51, i32 0, i32 0 %53 = call i32 @inet_aton(ptr noundef %50, ptr noundef %52) %54 = load i32, ptr %8, align 4 %55 = load i32, ptr @SIOCSIFNETMASK, align 4 %56 = call i32 @ioctl(i32 noundef %54, i32 noundef %55, ptr noundef %9) %57 = load i32, ptr %8, align 4 %58 = call i32 @close(i32 noundef %57) store i32 0, ptr %4, align 4 br label %59 59: ; preds = %32, %29, %19 %60 = load i32, ptr %4, align 4 ret i32 %60 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @inet_aton(ptr noundef, ptr noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr 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/tmpgjm3qpf0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.ifreq = type { i32, i32 } %struct.sockaddr_in = type { i32, i32 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [41 x i8] c"ifname, addr and mask must not be null!\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_RAW = dso_local global i32 0, align 4 @IPPROTO_RAW = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [15 x i8] c"socket error!\0A\00", align 1 @IFNAMSIZ = dso_local global i32 0, align 4 @SIOCSIFADDR = dso_local global i32 0, align 4 @SIOCSIFNETMASK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @set_if_addr(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca %struct.ifreq, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %11 = load ptr, ptr %5, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %19 13: ; preds = %3 %14 = load ptr, ptr %6, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %16, label %19 16: ; preds = %13 %17 = load ptr, ptr %7, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %22, label %19 19: ; preds = %16, %13, %3 %20 = load i32, ptr @stderr, align 4 %21 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str) store i32 -1, ptr %4, align 4 br label %59 22: ; preds = %16 %23 = load i32, ptr @AF_INET, align 4 %24 = load i32, ptr @SOCK_RAW, align 4 %25 = load i32, ptr @IPPROTO_RAW, align 4 %26 = call i32 @socket(i32 noundef %23, i32 noundef %24, i32 noundef %25) store i32 %26, ptr %8, align 4 %27 = load i32, ptr %8, align 4 %28 = icmp slt i32 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %22 %30 = load i32, ptr @stderr, align 4 %31 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str.1) store i32 -1, ptr %4, align 4 br label %59 32: ; preds = %22 %33 = call i32 @bzero(ptr noundef %9, i32 noundef 8) %34 = getelementptr inbounds %struct.ifreq, ptr %9, i32 0, i32 1 %35 = load i32, ptr %34, align 4 %36 = load ptr, ptr %5, align 8 %37 = load i32, ptr @IFNAMSIZ, align 4 %38 = call i32 @strncpy(i32 noundef %35, ptr noundef %36, i32 noundef %37) %39 = getelementptr inbounds %struct.ifreq, ptr %9, i32 0, i32 0 store ptr %39, ptr %10, align 8 %40 = load i32, ptr @AF_INET, align 4 %41 = load ptr, ptr %10, align 8 %42 = getelementptr inbounds %struct.sockaddr_in, ptr %41, i32 0, i32 1 store i32 %40, ptr %42, align 4 %43 = load ptr, ptr %6, align 8 %44 = load ptr, ptr %10, align 8 %45 = getelementptr inbounds %struct.sockaddr_in, ptr %44, i32 0, i32 0 %46 = call i32 @inet_aton(ptr noundef %43, ptr noundef %45) %47 = load i32, ptr %8, align 4 %48 = load i32, ptr @SIOCSIFADDR, align 4 %49 = call i32 @ioctl(i32 noundef %47, i32 noundef %48, ptr noundef %9) %50 = load ptr, ptr %7, align 8 %51 = load ptr, ptr %10, align 8 %52 = getelementptr inbounds %struct.sockaddr_in, ptr %51, i32 0, i32 0 %53 = call i32 @inet_aton(ptr noundef %50, ptr noundef %52) %54 = load i32, ptr %8, align 4 %55 = load i32, ptr @SIOCSIFNETMASK, align 4 %56 = call i32 @ioctl(i32 noundef %54, i32 noundef %55, ptr noundef %9) %57 = load i32, ptr %8, align 4 %58 = call i32 @close(i32 noundef %57) store i32 0, ptr %4, align 4 br label %59 59: ; preds = %32, %29, %19 %60 = load i32, ptr %4, align 4 ret i32 %60 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @inet_aton(ptr noundef, ptr noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr 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/tmpcbgaq4rh.c' source_filename = "/tmp/tmpcbgaq4rh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.ifreq = type { i32, ptr } @.str = private unnamed_addr constant [13 x i8] c"/dev/net/tun\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [37 x i8] c"tun_ifreq]> open tun failed :: %s:%i\00", align 1 @.str.2 = private unnamed_addr constant [156 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/aboudreault/dnds-debian/refs/heads/master/libdnds/src/tun_ifreq.c\00", align 1 @IFF_TAP = dso_local global i32 0, align 4 @IFF_NO_PI = dso_local global i32 0, align 4 @TUNSETIFF = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [37 x i8] c"tun_ifreq]> ioctl TUNSETIFF :: %s:%i\00", align 1 @TUNGETIFF = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [37 x i8] c"tun_ifreq]> ioctl TUNGETIFF :: %s:%i\00", align 1 @IFNAMSIZ = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tun_create(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca %struct.ifreq, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load i32, ptr @O_RDWR, align 4 %10 = call i32 @open(ptr noundef @.str, i32 noundef %9) %11 = load ptr, ptr %5, align 8 store i32 %10, ptr %11, align 4 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %12, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %2 %16 = call i32 @jlog(i32 noundef 4, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 60) store i32 -1, ptr %3, align 4 br label %50 17: ; preds = %2 %18 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 16) %19 = load i32, ptr @IFF_TAP, align 4 %20 = load i32, ptr @IFF_NO_PI, align 4 %21 = or i32 %19, %20 %22 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 0 store i32 %21, ptr %22, align 8 %23 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 1 %24 = load ptr, ptr %23, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 0 store i8 0, ptr %25, align 1 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %26, align 4 %28 = load i32, ptr @TUNSETIFF, align 4 %29 = call i32 @ioctl(i32 noundef %27, i32 noundef %28, ptr noundef %6) store i32 %29, ptr %7, align 4 %30 = load i32, ptr %7, align 4 %31 = icmp slt i32 %30, 0 br i1 %31, label %32, label %34 32: ; preds = %17 %33 = call i32 @jlog(i32 noundef 4, ptr noundef @.str.3, ptr noundef @.str.2, i32 noundef 70) store i32 -1, ptr %3, align 4 br label %50 34: ; preds = %17 %35 = load ptr, ptr %5, align 8 %36 = load i32, ptr %35, align 4 %37 = load i32, ptr @TUNGETIFF, align 4 %38 = call i32 @ioctl(i32 noundef %36, i32 noundef %37, ptr noundef %6) store i32 %38, ptr %7, align 4 %39 = load i32, ptr %7, align 4 %40 = icmp slt i32 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %34 %42 = call i32 @jlog(i32 noundef 4, ptr noundef @.str.4, ptr noundef @.str.2, i32 noundef 76) store i32 -1, ptr %3, align 4 br label %50 43: ; preds = %34 %44 = load ptr, ptr %4, align 8 %45 = load i32, ptr @IFNAMSIZ, align 4 %46 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 1 %47 = load ptr, ptr %46, align 8 %48 = call i32 @snprintf(ptr noundef %44, i32 noundef %45, ptr noundef @.str.5, ptr noundef %47) %49 = load i32, ptr %7, align 4 store i32 %49, ptr %3, align 4 br label %50 50: ; preds = %43, %41, %32, %15 %51 = load i32, ptr %3, align 4 ret i32 %51 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @jlog(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcbgaq4rh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.ifreq = type { i32, ptr } @.str = private unnamed_addr constant [13 x i8] c"/dev/net/tun\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [37 x i8] c"tun_ifreq]> open tun failed :: %s:%i\00", align 1 @.str.2 = private unnamed_addr constant [156 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/aboudreault/dnds-debian/refs/heads/master/libdnds/src/tun_ifreq.c\00", align 1 @IFF_TAP = dso_local global i32 0, align 4 @IFF_NO_PI = dso_local global i32 0, align 4 @TUNSETIFF = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [37 x i8] c"tun_ifreq]> ioctl TUNSETIFF :: %s:%i\00", align 1 @TUNGETIFF = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [37 x i8] c"tun_ifreq]> ioctl TUNGETIFF :: %s:%i\00", align 1 @IFNAMSIZ = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tun_create(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca %struct.ifreq, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load i32, ptr @O_RDWR, align 4 %10 = call i32 @open(ptr noundef @.str, i32 noundef %9) %11 = load ptr, ptr %5, align 8 store i32 %10, ptr %11, align 4 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %12, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %2 %16 = call i32 @jlog(i32 noundef 4, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 60) store i32 -1, ptr %3, align 4 br label %50 17: ; preds = %2 %18 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 16) %19 = load i32, ptr @IFF_TAP, align 4 %20 = load i32, ptr @IFF_NO_PI, align 4 %21 = or i32 %19, %20 %22 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 0 store i32 %21, ptr %22, align 8 %23 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 1 %24 = load ptr, ptr %23, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 0 store i8 0, ptr %25, align 1 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %26, align 4 %28 = load i32, ptr @TUNSETIFF, align 4 %29 = call i32 @ioctl(i32 noundef %27, i32 noundef %28, ptr noundef %6) store i32 %29, ptr %7, align 4 %30 = load i32, ptr %7, align 4 %31 = icmp slt i32 %30, 0 br i1 %31, label %32, label %34 32: ; preds = %17 %33 = call i32 @jlog(i32 noundef 4, ptr noundef @.str.3, ptr noundef @.str.2, i32 noundef 70) store i32 -1, ptr %3, align 4 br label %50 34: ; preds = %17 %35 = load ptr, ptr %5, align 8 %36 = load i32, ptr %35, align 4 %37 = load i32, ptr @TUNGETIFF, align 4 %38 = call i32 @ioctl(i32 noundef %36, i32 noundef %37, ptr noundef %6) store i32 %38, ptr %7, align 4 %39 = load i32, ptr %7, align 4 %40 = icmp slt i32 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %34 %42 = call i32 @jlog(i32 noundef 4, ptr noundef @.str.4, ptr noundef @.str.2, i32 noundef 76) store i32 -1, ptr %3, align 4 br label %50 43: ; preds = %34 %44 = load ptr, ptr %4, align 8 %45 = load i32, ptr @IFNAMSIZ, align 4 %46 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 1 %47 = load ptr, ptr %46, align 8 %48 = call i32 @snprintf(ptr noundef %44, i32 noundef %45, ptr noundef @.str.5, ptr noundef %47) %49 = load i32, ptr %7, align 4 store i32 %49, ptr %3, align 4 br label %50 50: ; preds = %43, %41, %32, %15 %51 = load i32, ptr %3, align 4 ret i32 %51 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @jlog(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphxkmo3fy.c' source_filename = "/tmp/tmphxkmo3fy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yaffs_set_xattrib(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = 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 i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %7, align 8 %13 = load ptr, ptr %8, align 8 %14 = load i32, ptr %9, align 4 %15 = load i32, ptr %10, align 4 %16 = call i32 @yaffs_do_xattrib_mod(ptr noundef %11, i32 noundef 1, ptr noundef %12, ptr noundef %13, i32 noundef %14, i32 noundef %15) ret i32 %16 } declare i32 @yaffs_do_xattrib_mod(ptr noundef, i32 noundef, 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/tmphxkmo3fy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yaffs_set_xattrib(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = 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 i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %7, align 8 %13 = load ptr, ptr %8, align 8 %14 = load i32, ptr %9, align 4 %15 = load i32, ptr %10, align 4 %16 = call i32 @yaffs_do_xattrib_mod(ptr noundef %11, i32 noundef 1, ptr noundef %12, ptr noundef %13, i32 noundef %14, i32 noundef %15) ret i32 %16 } declare i32 @yaffs_do_xattrib_mod(ptr noundef, i32 noundef, 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/tmpp3irif_o.c' source_filename = "/tmp/tmpp3irif_o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qcs_str_insert_at(i32 noundef %0, i8 noundef signext %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i8 %1, ptr %5, align 1 store ptr %2, ptr %6, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @strlen(ptr noundef %9) store i32 %10, ptr %8, align 4 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %8, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %46 14: ; preds = %3 %15 = load i32, ptr %8, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %7, align 4 br label %17 17: ; preds = %32, %14 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp sge i32 %18, %19 br i1 %20, label %21, label %35 21: ; preds = %17 %22 = load ptr, ptr %6, align 8 %23 = load i32, ptr %7, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 %26 = load i8, ptr %25, align 1 %27 = load ptr, ptr %6, align 8 %28 = load i32, ptr %7, align 4 %29 = add nsw i32 %28, 1 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %27, i64 %30 store i8 %26, ptr %31, align 1 br label %32 32: ; preds = %21 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %33, -1 store i32 %34, ptr %7, align 4 br label %17, !llvm.loop !6 35: ; preds = %17 %36 = load i8, ptr %5, align 1 %37 = load ptr, ptr %6, align 8 %38 = load i32, ptr %4, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 store i8 %36, ptr %40, align 1 %41 = load ptr, ptr %6, align 8 %42 = load i32, ptr %8, align 4 %43 = add nsw i32 %42, 1 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %41, i64 %44 store i8 0, ptr %45, align 1 br label %57 46: ; preds = %3 %47 = load i8, ptr %5, align 1 %48 = load ptr, ptr %6, align 8 %49 = load i32, ptr %4, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %48, i64 %50 store i8 %47, ptr %51, align 1 %52 = load ptr, ptr %6, align 8 %53 = load i32, ptr %4, align 4 %54 = add nsw i32 %53, 1 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %52, i64 %55 store i8 0, ptr %56, align 1 br label %57 57: ; preds = %46, %35 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp3irif_o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qcs_str_insert_at(i32 noundef %0, i8 noundef signext %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i8 %1, ptr %5, align 1 store ptr %2, ptr %6, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @strlen(ptr noundef %9) store i32 %10, ptr %8, align 4 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %8, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %48 14: ; preds = %3 %15 = load i32, ptr %8, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %7, align 4 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp sge i32 %17, %18 br i1 %19, label %.lr.ph, label %37 .lr.ph: ; preds = %14 br label %20 20: ; preds = %.lr.ph, %31 %21 = load ptr, ptr %6, align 8 %22 = load i32, ptr %7, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 %25 = load i8, ptr %24, align 1 %26 = load ptr, ptr %6, align 8 %27 = load i32, ptr %7, align 4 %28 = add nsw i32 %27, 1 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %26, i64 %29 store i8 %25, ptr %30, align 1 br label %31 31: ; preds = %20 %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %32, -1 store i32 %33, ptr %7, align 4 %34 = load i32, ptr %7, align 4 %35 = load i32, ptr %4, align 4 %36 = icmp sge i32 %34, %35 br i1 %36, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %37 37: ; preds = %._crit_edge, %14 %38 = load i8, ptr %5, align 1 %39 = load ptr, ptr %6, align 8 %40 = load i32, ptr %4, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %39, i64 %41 store i8 %38, ptr %42, align 1 %43 = load ptr, ptr %6, align 8 %44 = load i32, ptr %8, align 4 %45 = add nsw i32 %44, 1 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %43, i64 %46 store i8 0, ptr %47, align 1 br label %59 48: ; preds = %3 %49 = load i8, ptr %5, align 1 %50 = load ptr, ptr %6, align 8 %51 = load i32, ptr %4, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %50, i64 %52 store i8 %49, ptr %53, align 1 %54 = load ptr, ptr %6, align 8 %55 = load i32, ptr %4, align 4 %56 = add nsw i32 %55, 1 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i8, ptr %54, i64 %57 store i8 0, ptr %58, align 1 br label %59 59: ; preds = %48, %37 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp42maxjoh.c' source_filename = "/tmp/tmp42maxjoh.c" target datalayout = "e-m:e-p270: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_GETSIGINFO = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"ptrace(PTRACE_GETSIGINFO) failed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ptrace_getsiginfo(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr @PTRACE_GETSIGINFO, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 @ptrace(i32 noundef %4, i32 noundef %5, ptr noundef null, ptr noundef %3) %7 = icmp eq i32 %6, -1 br i1 %7, label %8, label %12 8: ; preds = %1 %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str) %11 = call i32 @exit(i32 noundef 1) #3 unreachable 12: ; preds = %1 %13 = load i32, ptr %3, align 4 ret i32 %13 } declare i32 @ptrace(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp42maxjoh.c" target datalayout = "e-m:e-p270: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_GETSIGINFO = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"ptrace(PTRACE_GETSIGINFO) failed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ptrace_getsiginfo(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr @PTRACE_GETSIGINFO, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 @ptrace(i32 noundef %4, i32 noundef %5, ptr noundef null, ptr noundef %3) %7 = icmp eq i32 %6, -1 br i1 %7, label %8, label %12 8: ; preds = %1 %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str) %11 = call i32 @exit(i32 noundef 1) #3 unreachable 12: ; preds = %1 %13 = load i32, ptr %3, align 4 ret i32 %13 } declare i32 @ptrace(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2orxwowu.c' source_filename = "/tmp/tmp2orxwowu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_PROJECTION = 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/tmp2orxwowu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_PROJECTION = 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/tmp297n1ygb.c' source_filename = "/tmp/tmp297n1ygb.c" target datalayout = "e-m:e-p270: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"/bin/ps\00", align 1 @__const.main.args = private unnamed_addr constant [2 x ptr] [ptr @.str, ptr null], align 16 ; 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 [2 x ptr], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.args, i64 16, i1 false) %7 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 0 %8 = call i32 @spawn(i32 noundef 1, ptr noundef %7) ret i32 %8 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @spawn(i32 noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp297n1ygb.c" target datalayout = "e-m:e-p270: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"/bin/ps\00", align 1 @__const.main.args = private unnamed_addr constant [2 x ptr] [ptr @.str, ptr null], align 16 ; 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 [2 x ptr], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.args, i64 16, i1 false) %7 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 0 %8 = call i32 @spawn(i32 noundef 1, ptr noundef %7) ret i32 %8 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @spawn(i32 noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj4x78yx_.c' source_filename = "/tmp/tmpj4x78yx_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GMP_RNDN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @logfr(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca i32, align 4 %4 = alloca double, align 8 store double %0, ptr %2, align 8 %5 = load i32, ptr %3, align 4 %6 = call i32 @mpfr_inits(i32 noundef %5, ptr noundef null) %7 = load i32, ptr %3, align 4 %8 = load double, ptr %2, align 8 %9 = load i32, ptr @GMP_RNDN, align 4 %10 = call i32 @mpfr_set_d(i32 noundef %7, double noundef %8, i32 noundef %9) %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr @GMP_RNDN, align 4 %14 = call i32 @mpfr_log(i32 noundef %11, i32 noundef %12, i32 noundef %13) %15 = load i32, ptr %3, align 4 %16 = load i32, ptr @GMP_RNDN, align 4 %17 = call double @mpfr_get_d(i32 noundef %15, i32 noundef %16) store double %17, ptr %4, align 8 %18 = load i32, ptr %3, align 4 %19 = call i32 @mpfr_clears(i32 noundef %18, ptr noundef null) %20 = load double, ptr %4, align 8 ret double %20 } declare i32 @mpfr_inits(i32 noundef, ptr noundef) #1 declare i32 @mpfr_set_d(i32 noundef, double noundef, i32 noundef) #1 declare i32 @mpfr_log(i32 noundef, i32 noundef, i32 noundef) #1 declare double @mpfr_get_d(i32 noundef, i32 noundef) #1 declare i32 @mpfr_clears(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj4x78yx_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GMP_RNDN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @logfr(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca i32, align 4 %4 = alloca double, align 8 store double %0, ptr %2, align 8 %5 = load i32, ptr %3, align 4 %6 = call i32 @mpfr_inits(i32 noundef %5, ptr noundef null) %7 = load i32, ptr %3, align 4 %8 = load double, ptr %2, align 8 %9 = load i32, ptr @GMP_RNDN, align 4 %10 = call i32 @mpfr_set_d(i32 noundef %7, double noundef %8, i32 noundef %9) %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr @GMP_RNDN, align 4 %14 = call i32 @mpfr_log(i32 noundef %11, i32 noundef %12, i32 noundef %13) %15 = load i32, ptr %3, align 4 %16 = load i32, ptr @GMP_RNDN, align 4 %17 = call double @mpfr_get_d(i32 noundef %15, i32 noundef %16) store double %17, ptr %4, align 8 %18 = load i32, ptr %3, align 4 %19 = call i32 @mpfr_clears(i32 noundef %18, ptr noundef null) %20 = load double, ptr %4, align 8 ret double %20 } declare i32 @mpfr_inits(i32 noundef, ptr noundef) #1 declare i32 @mpfr_set_d(i32 noundef, double noundef, i32 noundef) #1 declare i32 @mpfr_log(i32 noundef, i32 noundef, i32 noundef) #1 declare double @mpfr_get_d(i32 noundef, i32 noundef) #1 declare i32 @mpfr_clears(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpri6eu7lc.c' source_filename = "/tmp/tmpri6eu7lc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"%s\1B[1;1H\1B[2J\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"\1B[0m\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c">> \00", align 1 @stdout = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [10 x i8] c"%s%s: %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"\1B[31m\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"Errore fflush\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @clear_screen() #0 { %1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %2 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %3 3: ; preds = %0 %4 = load i32, ptr @stdout, align 4 %5 = call i64 @fflush(i32 noundef %4) %6 = icmp slt i64 %5, 0 br i1 %6, label %7, label %14 7: ; preds = %3 %8 = load i32, ptr @stderr, align 4 %9 = load i32, ptr @errno, align 4 %10 = call i32 @strerror(i32 noundef %9) %11 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.5, i32 noundef %10) %12 = load i32, ptr @EXIT_FAILURE, align 4 %13 = call i32 @exit(i32 noundef %12) #3 unreachable 14: ; preds = %3 br label %15 15: ; preds = %14 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i64 @fflush(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpri6eu7lc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"%s\1B[1;1H\1B[2J\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"\1B[0m\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c">> \00", align 1 @stdout = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [10 x i8] c"%s%s: %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"\1B[31m\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"Errore fflush\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @clear_screen() #0 { %1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %2 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %3 3: ; preds = %0 %4 = load i32, ptr @stdout, align 4 %5 = call i64 @fflush(i32 noundef %4) %6 = icmp slt i64 %5, 0 br i1 %6, label %7, label %14 7: ; preds = %3 %8 = load i32, ptr @stderr, align 4 %9 = load i32, ptr @errno, align 4 %10 = call i32 @strerror(i32 noundef %9) %11 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.5, i32 noundef %10) %12 = load i32, ptr @EXIT_FAILURE, align 4 %13 = call i32 @exit(i32 noundef %12) #3 unreachable 14: ; preds = %3 br label %15 15: ; preds = %14 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i64 @fflush(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw4zb2ykx.c' source_filename = "/tmp/tmpw4zb2ykx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i64, i64 } @.str = private unnamed_addr constant [2 x i8] c"-\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mz_os_get_file_date(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca %struct.stat, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store ptr null, ptr %10, align 8 store i64 0, ptr %11, align 8 store i32 -104, ptr %12, align 4 %13 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 16) %14 = load ptr, ptr %5, align 8 %15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %78 17: ; preds = %4 %18 = load ptr, ptr %5, align 8 %19 = call i64 @strlen(ptr noundef %18) store i64 %19, ptr %11, align 8 %20 = load i64, ptr %11, align 8 %21 = add i64 %20, 1 %22 = call i64 @malloc(i64 noundef %21) %23 = inttoptr i64 %22 to ptr store ptr %23, ptr %10, align 8 %24 = load ptr, ptr %10, align 8 %25 = load ptr, ptr %5, align 8 %26 = load i64, ptr %11, align 8 %27 = call i32 @strncpy(ptr noundef %24, ptr noundef %25, i64 noundef %26) %28 = load ptr, ptr %10, align 8 %29 = load i64, ptr %11, align 8 %30 = getelementptr inbounds i8, ptr %28, i64 %29 store i8 0, ptr %30, align 1 %31 = load ptr, ptr %10, align 8 %32 = load i64, ptr %11, align 8 %33 = sub i64 %32, 1 %34 = getelementptr inbounds i8, ptr %31, i64 %33 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp eq i32 %36, 47 br i1 %37, label %46, label %38 38: ; preds = %17 %39 = load ptr, ptr %10, align 8 %40 = load i64, ptr %11, align 8 %41 = sub i64 %40, 1 %42 = getelementptr inbounds i8, ptr %39, i64 %41 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp eq i32 %44, 92 br i1 %45, label %46, label %51 46: ; preds = %38, %17 %47 = load ptr, ptr %10, align 8 %48 = load i64, ptr %11, align 8 %49 = sub i64 %48, 1 %50 = getelementptr inbounds i8, ptr %47, i64 %49 store i8 0, ptr %50, align 1 br label %51 51: ; preds = %46, %38 %52 = load ptr, ptr %10, align 8 %53 = call i64 @stat(ptr noundef %52, ptr noundef %9) %54 = icmp eq i64 %53, 0 br i1 %54, label %55, label %75 55: ; preds = %51 %56 = load ptr, ptr %6, align 8 %57 = icmp ne ptr %56, null br i1 %57, label %58, label %62 58: ; preds = %55 %59 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 1 %60 = load i64, ptr %59, align 8 %61 = load ptr, ptr %6, align 8 store i64 %60, ptr %61, align 8 br label %62 62: ; preds = %58, %55 %63 = load ptr, ptr %7, align 8 %64 = icmp ne ptr %63, null br i1 %64, label %65, label %69 65: ; preds = %62 %66 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0 %67 = load i64, ptr %66, align 8 %68 = load ptr, ptr %7, align 8 store i64 %67, ptr %68, align 8 br label %69 69: ; preds = %65, %62 %70 = load ptr, ptr %8, align 8 %71 = icmp ne ptr %70, null br i1 %71, label %72, label %74 72: ; preds = %69 %73 = load ptr, ptr %8, align 8 store i64 0, ptr %73, align 8 br label %74 74: ; preds = %72, %69 store i32 0, ptr %12, align 4 br label %75 75: ; preds = %74, %51 %76 = load ptr, ptr %10, align 8 %77 = call i32 @free(ptr noundef %76) br label %78 78: ; preds = %75, %4 %79 = load i32, ptr %12, align 4 ret i32 %79 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1 declare i64 @stat(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw4zb2ykx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i64, i64 } @.str = private unnamed_addr constant [2 x i8] c"-\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mz_os_get_file_date(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca %struct.stat, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store ptr null, ptr %10, align 8 store i64 0, ptr %11, align 8 store i32 -104, ptr %12, align 4 %13 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 16) %14 = load ptr, ptr %5, align 8 %15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %78 17: ; preds = %4 %18 = load ptr, ptr %5, align 8 %19 = call i64 @strlen(ptr noundef %18) store i64 %19, ptr %11, align 8 %20 = load i64, ptr %11, align 8 %21 = add i64 %20, 1 %22 = call i64 @malloc(i64 noundef %21) %23 = inttoptr i64 %22 to ptr store ptr %23, ptr %10, align 8 %24 = load ptr, ptr %10, align 8 %25 = load ptr, ptr %5, align 8 %26 = load i64, ptr %11, align 8 %27 = call i32 @strncpy(ptr noundef %24, ptr noundef %25, i64 noundef %26) %28 = load ptr, ptr %10, align 8 %29 = load i64, ptr %11, align 8 %30 = getelementptr inbounds i8, ptr %28, i64 %29 store i8 0, ptr %30, align 1 %31 = load ptr, ptr %10, align 8 %32 = load i64, ptr %11, align 8 %33 = sub i64 %32, 1 %34 = getelementptr inbounds i8, ptr %31, i64 %33 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp eq i32 %36, 47 br i1 %37, label %46, label %38 38: ; preds = %17 %39 = load ptr, ptr %10, align 8 %40 = load i64, ptr %11, align 8 %41 = sub i64 %40, 1 %42 = getelementptr inbounds i8, ptr %39, i64 %41 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp eq i32 %44, 92 br i1 %45, label %46, label %51 46: ; preds = %38, %17 %47 = load ptr, ptr %10, align 8 %48 = load i64, ptr %11, align 8 %49 = sub i64 %48, 1 %50 = getelementptr inbounds i8, ptr %47, i64 %49 store i8 0, ptr %50, align 1 br label %51 51: ; preds = %46, %38 %52 = load ptr, ptr %10, align 8 %53 = call i64 @stat(ptr noundef %52, ptr noundef %9) %54 = icmp eq i64 %53, 0 br i1 %54, label %55, label %75 55: ; preds = %51 %56 = load ptr, ptr %6, align 8 %57 = icmp ne ptr %56, null br i1 %57, label %58, label %62 58: ; preds = %55 %59 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 1 %60 = load i64, ptr %59, align 8 %61 = load ptr, ptr %6, align 8 store i64 %60, ptr %61, align 8 br label %62 62: ; preds = %58, %55 %63 = load ptr, ptr %7, align 8 %64 = icmp ne ptr %63, null br i1 %64, label %65, label %69 65: ; preds = %62 %66 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0 %67 = load i64, ptr %66, align 8 %68 = load ptr, ptr %7, align 8 store i64 %67, ptr %68, align 8 br label %69 69: ; preds = %65, %62 %70 = load ptr, ptr %8, align 8 %71 = icmp ne ptr %70, null br i1 %71, label %72, label %74 72: ; preds = %69 %73 = load ptr, ptr %8, align 8 store i64 0, ptr %73, align 8 br label %74 74: ; preds = %72, %69 store i32 0, ptr %12, align 4 br label %75 75: ; preds = %74, %51 %76 = load ptr, ptr %10, align 8 %77 = call i32 @free(ptr noundef %76) br label %78 78: ; preds = %75, %4 %79 = load i32, ptr %12, align 4 ret i32 %79 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1 declare i64 @stat(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4l5taqwu.c' source_filename = "/tmp/tmp4l5taqwu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @celcon_copy_from_dobldobl_systems_container() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = load ptr, ptr %1, align 8 %6 = load ptr, ptr %2, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @_ada_use_c2phc4c(i32 noundef 464, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4l5taqwu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @celcon_copy_from_dobldobl_systems_container() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = load ptr, ptr %1, align 8 %6 = load ptr, ptr %2, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @_ada_use_c2phc4c(i32 noundef 464, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpeqoct6i2.c' source_filename = "/tmp/tmpeqoct6i2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.tm = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @date_get_sec() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = call i32 @time(ptr noundef null) store i32 %3, ptr %1, align 4 %4 = call ptr @localtime(ptr noundef %1) store ptr %4, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds %struct.tm, ptr %5, i32 0, i32 0 %7 = load i32, ptr %6, align 4 ret i32 %7 } declare i32 @time(ptr noundef) #1 declare ptr @localtime(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/tmpeqoct6i2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.tm = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @date_get_sec() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = call i32 @time(ptr noundef null) store i32 %3, ptr %1, align 4 %4 = call ptr @localtime(ptr noundef %1) store ptr %4, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds %struct.tm, ptr %5, i32 0, i32 0 %7 = load i32, ptr %6, align 4 ret i32 %7 } declare i32 @time(ptr noundef) #1 declare ptr @localtime(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/tmpidp3q5vi.c' source_filename = "/tmp/tmpidp3q5vi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Render_DumpDisplay() #0 { %1 = call i32 (...) @pRender_DumpScreen() ret void } declare i32 @pRender_DumpScreen(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpidp3q5vi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Render_DumpDisplay() #0 { %1 = call i32 (...) @pRender_DumpScreen() ret void } declare i32 @pRender_DumpScreen(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkytgib6b.c' source_filename = "/tmp/tmpkytgib6b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @multprec_Newton_step(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i32 @_ada_use_c2phc(i32 noundef 195, ptr noundef %2, ptr noundef %6, ptr noundef %7) store i32 %8, ptr %4, align 4 %9 = load i32, ptr %4, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkytgib6b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @multprec_Newton_step(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i32 @_ada_use_c2phc(i32 noundef 195, ptr noundef %2, ptr noundef %6, ptr noundef %7) store i32 %8, ptr %4, align 4 %9 = load i32, ptr %4, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpeudyk7vx.c' source_filename = "/tmp/tmpeudyk7vx.c" target datalayout = "e-m:e-p270: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/tmpeudyk7vx.c" target datalayout = "e-m:e-p270: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/tmpq9d5e_90.c' source_filename = "/tmp/tmpq9d5e_90.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @SOCK_NONBLOCK = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [41 x i8] c"Master Socket: Failed to generate socket\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"Master Socket: Failed to bind\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"Master Socket: Generated\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @NetSock_GenMaster() #0 { %1 = alloca %struct.sockaddr_in, align 4 %2 = alloca i32, align 4 %3 = load i32, ptr @AF_INET, align 4 %4 = load i32, ptr @SOCK_STREAM, align 4 %5 = load i32, ptr @SOCK_NONBLOCK, align 4 %6 = or i32 %4, %5 %7 = call i32 @socket(i32 noundef %3, i32 noundef %6, i32 noundef 0) store i32 %7, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp ne i32 %8, -1 br i1 %9, label %10, label %27 10: ; preds = %0 %11 = load i32, ptr @AF_INET, align 4 %12 = getelementptr inbounds %struct.sockaddr_in, ptr %1, i32 0, i32 2 store i32 %11, ptr %12, align 4 %13 = load i32, ptr @INADDR_ANY, align 4 %14 = getelementptr inbounds %struct.sockaddr_in, ptr %1, i32 0, i32 1 %15 = getelementptr inbounds %struct.TYPE_2__, ptr %14, i32 0, i32 0 store i32 %13, ptr %15, align 4 %16 = call i32 (...) @GetPort() %17 = call i32 @htons(i32 noundef %16) %18 = getelementptr inbounds %struct.sockaddr_in, ptr %1, i32 0, i32 0 store i32 %17, ptr %18, align 4 %19 = load i32, ptr %2, align 4 %20 = call i64 @bind(i32 noundef %19, ptr noundef %1, i32 noundef 12) %21 = icmp sge i64 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %10 %23 = load i32, ptr %2, align 4 %24 = call i32 @listen(i32 noundef %23, i32 noundef 100) br label %26 25: ; preds = %10 store i32 -2, ptr %2, align 4 br label %26 26: ; preds = %25, %22 br label %27 27: ; preds = %26, %0 %28 = load i32, ptr %2, align 4 %29 = icmp eq i32 %28, -1 br i1 %29, label %30, label %32 30: ; preds = %27 %31 = call i32 @GuiSetStat(ptr noundef @.str, i32 noundef 0) br label %40 32: ; preds = %27 %33 = load i32, ptr %2, align 4 %34 = icmp eq i32 %33, -2 br i1 %34, label %35, label %37 35: ; preds = %32 %36 = call i32 @GuiSetStat(ptr noundef @.str.1, i32 noundef 0) br label %39 37: ; preds = %32 %38 = call i32 @GuiSetStat(ptr noundef @.str.2, i32 noundef 0) br label %39 39: ; preds = %37, %35 br label %40 40: ; preds = %39, %30 %41 = load i32, ptr %2, align 4 ret i32 %41 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @GetPort(...) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 declare i32 @GuiSetStat(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/tmpq9d5e_90.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @SOCK_NONBLOCK = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [41 x i8] c"Master Socket: Failed to generate socket\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"Master Socket: Failed to bind\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"Master Socket: Generated\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @NetSock_GenMaster() #0 { %1 = alloca %struct.sockaddr_in, align 4 %2 = alloca i32, align 4 %3 = load i32, ptr @AF_INET, align 4 %4 = load i32, ptr @SOCK_STREAM, align 4 %5 = load i32, ptr @SOCK_NONBLOCK, align 4 %6 = or i32 %4, %5 %7 = call i32 @socket(i32 noundef %3, i32 noundef %6, i32 noundef 0) store i32 %7, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp ne i32 %8, -1 br i1 %9, label %10, label %27 10: ; preds = %0 %11 = load i32, ptr @AF_INET, align 4 %12 = getelementptr inbounds %struct.sockaddr_in, ptr %1, i32 0, i32 2 store i32 %11, ptr %12, align 4 %13 = load i32, ptr @INADDR_ANY, align 4 %14 = getelementptr inbounds %struct.sockaddr_in, ptr %1, i32 0, i32 1 %15 = getelementptr inbounds %struct.TYPE_2__, ptr %14, i32 0, i32 0 store i32 %13, ptr %15, align 4 %16 = call i32 (...) @GetPort() %17 = call i32 @htons(i32 noundef %16) %18 = getelementptr inbounds %struct.sockaddr_in, ptr %1, i32 0, i32 0 store i32 %17, ptr %18, align 4 %19 = load i32, ptr %2, align 4 %20 = call i64 @bind(i32 noundef %19, ptr noundef %1, i32 noundef 12) %21 = icmp sge i64 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %10 %23 = load i32, ptr %2, align 4 %24 = call i32 @listen(i32 noundef %23, i32 noundef 100) br label %26 25: ; preds = %10 store i32 -2, ptr %2, align 4 br label %26 26: ; preds = %25, %22 br label %27 27: ; preds = %26, %0 %28 = load i32, ptr %2, align 4 %29 = icmp eq i32 %28, -1 br i1 %29, label %30, label %32 30: ; preds = %27 %31 = call i32 @GuiSetStat(ptr noundef @.str, i32 noundef 0) br label %40 32: ; preds = %27 %33 = load i32, ptr %2, align 4 %34 = icmp eq i32 %33, -2 br i1 %34, label %35, label %37 35: ; preds = %32 %36 = call i32 @GuiSetStat(ptr noundef @.str.1, i32 noundef 0) br label %39 37: ; preds = %32 %38 = call i32 @GuiSetStat(ptr noundef @.str.2, i32 noundef 0) br label %39 39: ; preds = %37, %35 br label %40 40: ; preds = %39, %30 %41 = load i32, ptr %2, align 4 ret i32 %41 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @GetPort(...) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 declare i32 @GuiSetStat(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/tmp2ydkl9qk.c' source_filename = "/tmp/tmp2ydkl9qk.c" target datalayout = "e-m:e-p270: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"{\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"\22type\22: \22FeatureCollection\22,\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"\22features\22: [\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dump_begin(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp eq i32 %3, 2 br i1 %4, label %5, label %9 5: ; preds = %1 %6 = call i32 @printf(ptr noundef @.str) %7 = call i32 @printf(ptr noundef @.str.1) %8 = call i32 @printf(ptr noundef @.str.2) br label %9 9: ; preds = %5, %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 = '<stdin>' source_filename = "/tmp/tmp2ydkl9qk.c" target datalayout = "e-m:e-p270: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"{\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"\22type\22: \22FeatureCollection\22,\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"\22features\22: [\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dump_begin(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp eq i32 %3, 2 br i1 %4, label %5, label %9 5: ; preds = %1 %6 = call i32 @printf(ptr noundef @.str) %7 = call i32 @printf(ptr noundef @.str.1) %8 = call i32 @printf(ptr noundef @.str.2) br label %9 9: ; preds = %5, %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/tmpysnvajlm.c' source_filename = "/tmp/tmpysnvajlm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"x = 6\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"x es 3, 4 o 5\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"x < 3 o x > 6\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @switch4() #0 { %1 = alloca i32, align 4 store i32 3, ptr %1, align 4 %2 = load i32, ptr %1, align 4 switch i32 %2, label %7 [ i32 6, label %3 i32 5, label %5 i32 4, label %5 i32 3, label %5 ] 3: ; preds = %0 %4 = call i32 @puts(ptr noundef @.str) br label %9 5: ; preds = %0, %0, %0 %6 = call i32 @puts(ptr noundef @.str.1) br label %9 7: ; preds = %0 %8 = call i32 @puts(ptr noundef @.str.2) br label %9 9: ; preds = %7, %5, %3 ret void } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpysnvajlm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"x = 6\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"x es 3, 4 o 5\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"x < 3 o x > 6\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @switch4() #0 { %1 = alloca i32, align 4 store i32 3, ptr %1, align 4 %2 = load i32, ptr %1, align 4 switch i32 %2, label %7 [ i32 6, label %3 i32 5, label %5 i32 4, label %5 i32 3, label %5 ] 3: ; preds = %0 %4 = call i32 @puts(ptr noundef @.str) br label %9 5: ; preds = %0, %0, %0 %6 = call i32 @puts(ptr noundef @.str.1) br label %9 7: ; preds = %0 %8 = call i32 @puts(ptr noundef @.str.2) br label %9 9: ; preds = %7, %5, %3 ret void } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2_f6l2aa.c' source_filename = "/tmp/tmp2_f6l2aa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strerror_r(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2_f6l2aa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strerror_r(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgt_qxhgb.c' source_filename = "/tmp/tmpgt_qxhgb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TIOCGPGRP = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tcgetpgrp(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp ne i32 %5, -1 %7 = zext i1 %6 to i32 %8 = call i32 @_DIAGASSERT(i32 noundef %7) %9 = load i32, ptr %3, align 4 %10 = load i32, ptr @TIOCGPGRP, align 4 %11 = call i64 @ioctl(i32 noundef %9, i32 noundef %10, ptr noundef %4) %12 = icmp slt i64 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %1 store i32 -1, ptr %2, align 4 br label %20 14: ; preds = %1 %15 = load i32, ptr %4, align 4 %16 = icmp eq i32 %15, -1 br i1 %16, label %17, label %18 17: ; preds = %14 store i32 -1, ptr %4, align 4 br label %18 18: ; preds = %17, %14 %19 = load i32, ptr %4, align 4 store i32 %19, ptr %2, align 4 br label %20 20: ; preds = %18, %13 %21 = load i32, ptr %2, align 4 ret i32 %21 } declare i32 @_DIAGASSERT(i32 noundef) #1 declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgt_qxhgb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TIOCGPGRP = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tcgetpgrp(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp ne i32 %5, -1 %7 = zext i1 %6 to i32 %8 = call i32 @_DIAGASSERT(i32 noundef %7) %9 = load i32, ptr %3, align 4 %10 = load i32, ptr @TIOCGPGRP, align 4 %11 = call i64 @ioctl(i32 noundef %9, i32 noundef %10, ptr noundef %4) %12 = icmp slt i64 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %1 store i32 -1, ptr %2, align 4 br label %20 14: ; preds = %1 %15 = load i32, ptr %4, align 4 %16 = icmp eq i32 %15, -1 br i1 %16, label %17, label %18 17: ; preds = %14 store i32 -1, ptr %4, align 4 br label %18 18: ; preds = %17, %14 %19 = load i32, ptr %4, align 4 store i32 %19, ptr %2, align 4 br label %20 20: ; preds = %18, %13 %21 = load i32, ptr %2, align 4 ret i32 %21 } declare i32 @_DIAGASSERT(i32 noundef) #1 declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdy28au31.c' source_filename = "/tmp/tmpdy28au31.c" target datalayout = "e-m:e-p270: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 } @__const.write_log_file.log_file_name = private unnamed_addr constant [150 x i8] c"/root/logs/\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @.str = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c".log\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"a+\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @LOG_ERR = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [43 x i8] c"Can not write to log stream: %s, error: %s\00", align 1 @stdout = dso_local global ptr null, align 8 @.str.7 = private unnamed_addr constant [7 x i8] c"stdout\00", align 1 @.str.8 = private unnamed_addr constant [8 x i8] c"daemon1\00", align 1 @errno = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [43 x i8] c"Can not fflush() log stream: %s, error: %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_log_file(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 ptr, align 8 %8 = alloca i32, align 4 %9 = alloca [150 x i8], align 16 %10 = alloca [50 x i8], align 16 %11 = alloca ptr, align 8 %12 = alloca %struct.stat, align 4 %13 = alloca [50 x i8], align 16 %14 = alloca ptr, align 8 %15 = alloca [700 x i8], align 16 %16 = alloca [300 x i8], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store ptr null, ptr %7, align 8 store i32 -1, ptr %8, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.write_log_file.log_file_name, i64 150, i1 false) %17 = getelementptr inbounds [50 x i8], ptr %10, i64 0, i64 0 %18 = call ptr @str_date_log(ptr noundef %17) store ptr %18, ptr %11, align 8 %19 = getelementptr inbounds [150 x i8], ptr %9, i64 0, i64 0 %20 = load ptr, ptr %4, align 8 %21 = call i32 @strcat(ptr noundef %19, ptr noundef %20) call void @llvm.memset.p0.i64(ptr align 4 %12, i8 0, i64 4, i1 false) %22 = getelementptr inbounds [150 x i8], ptr %9, i64 0, i64 0 %23 = call i32 @stat(ptr noundef %22, ptr noundef %12) %24 = icmp eq i32 %23, -1 br i1 %24, label %25, label %28 25: ; preds = %3 %26 = getelementptr inbounds [150 x i8], ptr %9, i64 0, i64 0 %27 = call i32 @mkdir(ptr noundef %26, i32 noundef 448) br label %28 28: ; preds = %25, %3 %29 = getelementptr inbounds [150 x i8], ptr %9, i64 0, i64 0 %30 = call i32 @strcat(ptr noundef %29, ptr noundef @.str) %31 = getelementptr inbounds [150 x i8], ptr %9, i64 0, i64 0 %32 = load ptr, ptr %11, align 8 %33 = call i32 @strcat(ptr noundef %31, ptr noundef %32) %34 = getelementptr inbounds [150 x i8], ptr %9, i64 0, i64 0 %35 = call i32 @strcat(ptr noundef %34, ptr noundef @.str.1) %36 = getelementptr inbounds [50 x i8], ptr %13, i64 0, i64 0 %37 = call ptr @string_date_time(ptr noundef %36) store ptr %37, ptr %14, align 8 %38 = getelementptr inbounds [300 x i8], ptr %16, i64 0, i64 0 %39 = call i32 @memset(ptr noundef %38, i32 noundef 0, i32 noundef 300) %40 = getelementptr inbounds [150 x i8], ptr %9, i64 0, i64 0 %41 = call ptr @fopen(ptr noundef %40, ptr noundef @.str.2) store ptr %41, ptr %7, align 8 %42 = getelementptr inbounds [700 x i8], ptr %15, i64 0, i64 0 %43 = call i32 @memset(ptr noundef %42, i32 noundef 0, i32 noundef 700) %44 = getelementptr inbounds [700 x i8], ptr %15, i64 0, i64 0 %45 = load ptr, ptr %14, align 8 %46 = call i32 @strcat(ptr noundef %44, ptr noundef %45) %47 = getelementptr inbounds [700 x i8], ptr %15, i64 0, i64 0 %48 = call i32 @strcat(ptr noundef %47, ptr noundef @.str.3) %49 = getelementptr inbounds [700 x i8], ptr %15, i64 0, i64 0 %50 = call ptr (...) @getUserName() %51 = call i32 @strcat(ptr noundef %49, ptr noundef %50) %52 = getelementptr inbounds [700 x i8], ptr %15, i64 0, i64 0 %53 = call i32 @strcat(ptr noundef %52, ptr noundef @.str.3) %54 = load i32, ptr %6, align 4 %55 = icmp ne i32 %54, -1 br i1 %55, label %56, label %64 56: ; preds = %28 %57 = load ptr, ptr %5, align 8 %58 = load i32, ptr %6, align 4 %59 = getelementptr inbounds [300 x i8], ptr %16, i64 0, i64 0 %60 = call i32 @read_watcher_file(ptr noundef %57, i32 noundef %58, ptr noundef %59) %61 = getelementptr inbounds [700 x i8], ptr %15, i64 0, i64 0 %62 = getelementptr inbounds [300 x i8], ptr %16, i64 0, i64 0 %63 = call i32 @strcat(ptr noundef %61, ptr noundef %62) br label %64 64: ; preds = %56, %28 %65 = getelementptr inbounds [700 x i8], ptr %15, i64 0, i64 0 %66 = call i32 @strcat(ptr noundef %65, ptr noundef @.str.3) %67 = getelementptr inbounds [700 x i8], ptr %15, i64 0, i64 0 %68 = load ptr, ptr %5, align 8 %69 = call i32 @strcat(ptr noundef %67, ptr noundef %68) %70 = getelementptr inbounds [700 x i8], ptr %15, i64 0, i64 0 %71 = call i32 @strcat(ptr noundef %70, ptr noundef @.str.4) %72 = load ptr, ptr %7, align 8 %73 = getelementptr inbounds [700 x i8], ptr %15, i64 0, i64 0 %74 = call i32 @fprintf(ptr noundef %72, ptr noundef @.str.5, ptr noundef %73) store i32 %74, ptr %8, align 4 %75 = load i32, ptr %8, align 4 %76 = icmp slt i32 %75, 0 br i1 %76, label %77, label %87 77: ; preds = %64 %78 = load i32, ptr @LOG_ERR, align 4 %79 = load ptr, ptr %7, align 8 %80 = load ptr, ptr @stdout, align 8 %81 = icmp eq ptr %79, %80 %82 = zext i1 %81 to i64 %83 = select i1 %81, ptr @.str.7, ptr @.str.8 %84 = load i32, ptr @errno, align 4 %85 = call i32 @strerror(i32 noundef %84) %86 = call i32 @syslog(i32 noundef %78, ptr noundef @.str.6, ptr noundef %83, i32 noundef %85) br label %87 87: ; preds = %77, %64 %88 = load ptr, ptr %7, align 8 %89 = call i32 @fflush(ptr noundef %88) store i32 %89, ptr %8, align 4 %90 = load i32, ptr %8, align 4 %91 = icmp ne i32 %90, 0 br i1 %91, label %92, label %102 92: ; preds = %87 %93 = load i32, ptr @LOG_ERR, align 4 %94 = load ptr, ptr %7, align 8 %95 = load ptr, ptr @stdout, align 8 %96 = icmp eq ptr %94, %95 %97 = zext i1 %96 to i64 %98 = select i1 %96, ptr @.str.7, ptr @.str.8 %99 = load i32, ptr @errno, align 4 %100 = call i32 @strerror(i32 noundef %99) %101 = call i32 @syslog(i32 noundef %93, ptr noundef @.str.9, ptr noundef %98, i32 noundef %100) br label %102 102: ; preds = %92, %87 %103 = load ptr, ptr %7, align 8 %104 = call i32 @fclose(ptr noundef %103) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare ptr @str_date_log(ptr noundef) #2 declare i32 @strcat(ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 declare i32 @stat(ptr noundef, ptr noundef) #2 declare i32 @mkdir(ptr noundef, i32 noundef) #2 declare ptr @string_date_time(ptr noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare ptr @getUserName(...) #2 declare i32 @read_watcher_file(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @syslog(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @strerror(i32 noundef) #2 declare i32 @fflush(ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdy28au31.c" target datalayout = "e-m:e-p270: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 } @__const.write_log_file.log_file_name = private unnamed_addr constant [150 x i8] c"/root/logs/\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @.str = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c".log\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"a+\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @LOG_ERR = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [43 x i8] c"Can not write to log stream: %s, error: %s\00", align 1 @stdout = dso_local global ptr null, align 8 @.str.7 = private unnamed_addr constant [7 x i8] c"stdout\00", align 1 @.str.8 = private unnamed_addr constant [8 x i8] c"daemon1\00", align 1 @errno = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [43 x i8] c"Can not fflush() log stream: %s, error: %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_log_file(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 ptr, align 8 %8 = alloca i32, align 4 %9 = alloca [150 x i8], align 16 %10 = alloca [50 x i8], align 16 %11 = alloca ptr, align 8 %12 = alloca %struct.stat, align 4 %13 = alloca [50 x i8], align 16 %14 = alloca ptr, align 8 %15 = alloca [700 x i8], align 16 %16 = alloca [300 x i8], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store ptr null, ptr %7, align 8 store i32 -1, ptr %8, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.write_log_file.log_file_name, i64 150, i1 false) %17 = getelementptr inbounds [50 x i8], ptr %10, i64 0, i64 0 %18 = call ptr @str_date_log(ptr noundef %17) store ptr %18, ptr %11, align 8 %19 = getelementptr inbounds [150 x i8], ptr %9, i64 0, i64 0 %20 = load ptr, ptr %4, align 8 %21 = call i32 @strcat(ptr noundef %19, ptr noundef %20) call void @llvm.memset.p0.i64(ptr align 4 %12, i8 0, i64 4, i1 false) %22 = getelementptr inbounds [150 x i8], ptr %9, i64 0, i64 0 %23 = call i32 @stat(ptr noundef %22, ptr noundef %12) %24 = icmp eq i32 %23, -1 br i1 %24, label %25, label %28 25: ; preds = %3 %26 = getelementptr inbounds [150 x i8], ptr %9, i64 0, i64 0 %27 = call i32 @mkdir(ptr noundef %26, i32 noundef 448) br label %28 28: ; preds = %25, %3 %29 = getelementptr inbounds [150 x i8], ptr %9, i64 0, i64 0 %30 = call i32 @strcat(ptr noundef %29, ptr noundef @.str) %31 = getelementptr inbounds [150 x i8], ptr %9, i64 0, i64 0 %32 = load ptr, ptr %11, align 8 %33 = call i32 @strcat(ptr noundef %31, ptr noundef %32) %34 = getelementptr inbounds [150 x i8], ptr %9, i64 0, i64 0 %35 = call i32 @strcat(ptr noundef %34, ptr noundef @.str.1) %36 = getelementptr inbounds [50 x i8], ptr %13, i64 0, i64 0 %37 = call ptr @string_date_time(ptr noundef %36) store ptr %37, ptr %14, align 8 %38 = getelementptr inbounds [300 x i8], ptr %16, i64 0, i64 0 %39 = call i32 @memset(ptr noundef %38, i32 noundef 0, i32 noundef 300) %40 = getelementptr inbounds [150 x i8], ptr %9, i64 0, i64 0 %41 = call ptr @fopen(ptr noundef %40, ptr noundef @.str.2) store ptr %41, ptr %7, align 8 %42 = getelementptr inbounds [700 x i8], ptr %15, i64 0, i64 0 %43 = call i32 @memset(ptr noundef %42, i32 noundef 0, i32 noundef 700) %44 = getelementptr inbounds [700 x i8], ptr %15, i64 0, i64 0 %45 = load ptr, ptr %14, align 8 %46 = call i32 @strcat(ptr noundef %44, ptr noundef %45) %47 = getelementptr inbounds [700 x i8], ptr %15, i64 0, i64 0 %48 = call i32 @strcat(ptr noundef %47, ptr noundef @.str.3) %49 = getelementptr inbounds [700 x i8], ptr %15, i64 0, i64 0 %50 = call ptr (...) @getUserName() %51 = call i32 @strcat(ptr noundef %49, ptr noundef %50) %52 = getelementptr inbounds [700 x i8], ptr %15, i64 0, i64 0 %53 = call i32 @strcat(ptr noundef %52, ptr noundef @.str.3) %54 = load i32, ptr %6, align 4 %55 = icmp ne i32 %54, -1 br i1 %55, label %56, label %64 56: ; preds = %28 %57 = load ptr, ptr %5, align 8 %58 = load i32, ptr %6, align 4 %59 = getelementptr inbounds [300 x i8], ptr %16, i64 0, i64 0 %60 = call i32 @read_watcher_file(ptr noundef %57, i32 noundef %58, ptr noundef %59) %61 = getelementptr inbounds [700 x i8], ptr %15, i64 0, i64 0 %62 = getelementptr inbounds [300 x i8], ptr %16, i64 0, i64 0 %63 = call i32 @strcat(ptr noundef %61, ptr noundef %62) br label %64 64: ; preds = %56, %28 %65 = getelementptr inbounds [700 x i8], ptr %15, i64 0, i64 0 %66 = call i32 @strcat(ptr noundef %65, ptr noundef @.str.3) %67 = getelementptr inbounds [700 x i8], ptr %15, i64 0, i64 0 %68 = load ptr, ptr %5, align 8 %69 = call i32 @strcat(ptr noundef %67, ptr noundef %68) %70 = getelementptr inbounds [700 x i8], ptr %15, i64 0, i64 0 %71 = call i32 @strcat(ptr noundef %70, ptr noundef @.str.4) %72 = load ptr, ptr %7, align 8 %73 = getelementptr inbounds [700 x i8], ptr %15, i64 0, i64 0 %74 = call i32 @fprintf(ptr noundef %72, ptr noundef @.str.5, ptr noundef %73) store i32 %74, ptr %8, align 4 %75 = load i32, ptr %8, align 4 %76 = icmp slt i32 %75, 0 br i1 %76, label %77, label %87 77: ; preds = %64 %78 = load i32, ptr @LOG_ERR, align 4 %79 = load ptr, ptr %7, align 8 %80 = load ptr, ptr @stdout, align 8 %81 = icmp eq ptr %79, %80 %82 = zext i1 %81 to i64 %83 = select i1 %81, ptr @.str.7, ptr @.str.8 %84 = load i32, ptr @errno, align 4 %85 = call i32 @strerror(i32 noundef %84) %86 = call i32 @syslog(i32 noundef %78, ptr noundef @.str.6, ptr noundef %83, i32 noundef %85) br label %87 87: ; preds = %77, %64 %88 = load ptr, ptr %7, align 8 %89 = call i32 @fflush(ptr noundef %88) store i32 %89, ptr %8, align 4 %90 = load i32, ptr %8, align 4 %91 = icmp ne i32 %90, 0 br i1 %91, label %92, label %102 92: ; preds = %87 %93 = load i32, ptr @LOG_ERR, align 4 %94 = load ptr, ptr %7, align 8 %95 = load ptr, ptr @stdout, align 8 %96 = icmp eq ptr %94, %95 %97 = zext i1 %96 to i64 %98 = select i1 %96, ptr @.str.7, ptr @.str.8 %99 = load i32, ptr @errno, align 4 %100 = call i32 @strerror(i32 noundef %99) %101 = call i32 @syslog(i32 noundef %93, ptr noundef @.str.9, ptr noundef %98, i32 noundef %100) br label %102 102: ; preds = %92, %87 %103 = load ptr, ptr %7, align 8 %104 = call i32 @fclose(ptr noundef %103) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare ptr @str_date_log(ptr noundef) #2 declare i32 @strcat(ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 declare i32 @stat(ptr noundef, ptr noundef) #2 declare i32 @mkdir(ptr noundef, i32 noundef) #2 declare ptr @string_date_time(ptr noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare ptr @getUserName(...) #2 declare i32 @read_watcher_file(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @syslog(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @strerror(i32 noundef) #2 declare i32 @fflush(ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn41jfvbl.c' source_filename = "/tmp/tmpn41jfvbl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strdup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i64 @strlen(ptr noundef %4) %6 = add nsw i64 %5, 1 %7 = call ptr @malloc(i64 noundef %6) store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = load ptr, ptr %2, align 8 %10 = call i32 @strcpy(ptr noundef %8, ptr noundef %9) %11 = load ptr, ptr %3, align 8 ret ptr %11 } declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn41jfvbl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strdup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i64 @strlen(ptr noundef %4) %6 = add nsw i64 %5, 1 %7 = call ptr @malloc(i64 noundef %6) store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = load ptr, ptr %2, align 8 %10 = call i32 @strcpy(ptr noundef %8, ptr noundef %9) %11 = load ptr, ptr %3, align 8 ret ptr %11 } declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmbfkf1az.c' source_filename = "/tmp/tmpmbfkf1az.c" target datalayout = "e-m:e-p270: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/tmpmbfkf1az.c" target datalayout = "e-m:e-p270: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/tmpq_2sk60c.c' source_filename = "/tmp/tmpq_2sk60c.c" target datalayout = "e-m:e-p270: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/tmpq_2sk60c.c" target datalayout = "e-m:e-p270: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/tmp0ya_gcgm.c' source_filename = "/tmp/tmp0ya_gcgm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 @PF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"bind\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"waiting for a packet...\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"recvfrom\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"received packet from %s:\0A\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"contents: %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 i32, align 4 %7 = alloca i32, align 4 %8 = alloca %struct.sockaddr_in, align 4 %9 = alloca %struct.sockaddr_in, align 4 %10 = alloca i32, align 4 %11 = alloca [1024 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %12 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 12) %13 = load i32, ptr @AF_INET, align 4 %14 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2 store i32 %13, ptr %14, align 4 %15 = load i32, ptr @INADDR_ANY, align 4 %16 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 %17 = getelementptr inbounds %struct.TYPE_2__, ptr %16, i32 0, i32 0 store i32 %15, ptr %17, align 4 %18 = call i32 @htons(i32 noundef 8000) %19 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1 store i32 %18, ptr %19, align 4 %20 = load i32, ptr @PF_INET, align 4 %21 = load i32, ptr @SOCK_DGRAM, align 4 %22 = call i32 @socket(i32 noundef %20, i32 noundef %21, i32 noundef 0) store i32 %22, ptr %6, align 4 %23 = icmp slt i32 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %2 %25 = call i32 @perror(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %53 26: ; preds = %2 %27 = load i32, ptr %6, align 4 %28 = call i64 @bind(i32 noundef %27, ptr noundef %8, i32 noundef 4) %29 = icmp slt i64 %28, 0 br i1 %29, label %30, label %32 30: ; preds = %26 %31 = call i32 @perror(ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %53 32: ; preds = %26 store i32 12, ptr %10, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %34 = load i32, ptr %6, align 4 %35 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %36 = call i32 @recvfrom(i32 noundef %34, ptr noundef %35, i32 noundef 1024, i32 noundef 0, ptr noundef %9, ptr noundef %10) store i32 %36, ptr %7, align 4 %37 = icmp slt i32 %36, 0 br i1 %37, label %38, label %40 38: ; preds = %32 %39 = call i32 @perror(ptr noundef @.str.3) store i32 1, ptr %3, align 4 br label %53 40: ; preds = %32 %41 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0 %42 = getelementptr inbounds %struct.TYPE_2__, ptr %41, i32 0, i32 0 %43 = load i32, ptr %42, align 4 %44 = call ptr @inet_ntoa(i32 %43) %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %44) %46 = load i32, ptr %7, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 %47 store i8 0, ptr %48, align 1 %49 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %49) %51 = load i32, ptr %6, align 4 %52 = call i32 @close(i32 noundef %51) store i32 0, ptr %3, align 4 br label %53 53: ; preds = %40, %38, %30, %24 %54 = load i32, ptr %3, align 4 ret i32 %54 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @inet_ntoa(i32) #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/tmp0ya_gcgm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 @PF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"bind\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"waiting for a packet...\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"recvfrom\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"received packet from %s:\0A\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"contents: %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 i32, align 4 %7 = alloca i32, align 4 %8 = alloca %struct.sockaddr_in, align 4 %9 = alloca %struct.sockaddr_in, align 4 %10 = alloca i32, align 4 %11 = alloca [1024 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %12 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 12) %13 = load i32, ptr @AF_INET, align 4 %14 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2 store i32 %13, ptr %14, align 4 %15 = load i32, ptr @INADDR_ANY, align 4 %16 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 %17 = getelementptr inbounds %struct.TYPE_2__, ptr %16, i32 0, i32 0 store i32 %15, ptr %17, align 4 %18 = call i32 @htons(i32 noundef 8000) %19 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1 store i32 %18, ptr %19, align 4 %20 = load i32, ptr @PF_INET, align 4 %21 = load i32, ptr @SOCK_DGRAM, align 4 %22 = call i32 @socket(i32 noundef %20, i32 noundef %21, i32 noundef 0) store i32 %22, ptr %6, align 4 %23 = icmp slt i32 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %2 %25 = call i32 @perror(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %53 26: ; preds = %2 %27 = load i32, ptr %6, align 4 %28 = call i64 @bind(i32 noundef %27, ptr noundef %8, i32 noundef 4) %29 = icmp slt i64 %28, 0 br i1 %29, label %30, label %32 30: ; preds = %26 %31 = call i32 @perror(ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %53 32: ; preds = %26 store i32 12, ptr %10, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %34 = load i32, ptr %6, align 4 %35 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %36 = call i32 @recvfrom(i32 noundef %34, ptr noundef %35, i32 noundef 1024, i32 noundef 0, ptr noundef %9, ptr noundef %10) store i32 %36, ptr %7, align 4 %37 = icmp slt i32 %36, 0 br i1 %37, label %38, label %40 38: ; preds = %32 %39 = call i32 @perror(ptr noundef @.str.3) store i32 1, ptr %3, align 4 br label %53 40: ; preds = %32 %41 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0 %42 = getelementptr inbounds %struct.TYPE_2__, ptr %41, i32 0, i32 0 %43 = load i32, ptr %42, align 4 %44 = call ptr @inet_ntoa(i32 %43) %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %44) %46 = load i32, ptr %7, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 %47 store i8 0, ptr %48, align 1 %49 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %49) %51 = load i32, ptr %6, align 4 %52 = call i32 @close(i32 noundef %51) store i32 0, ptr %3, align 4 br label %53 53: ; preds = %40, %38, %30, %24 %54 = load i32, ptr %3, align 4 ret i32 %54 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @inet_ntoa(i32) #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/tmpxxu0xqpu.c' source_filename = "/tmp/tmpxxu0xqpu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"%s: entered\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"/dev/cdata\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [12 x i8] c"open failed\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"%s: open: successful\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [16 x ptr], align 16 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 0 %12 = load ptr, ptr %11, align 8 %13 = call i32 @printf(ptr noundef @.str, ptr noundef %12) %14 = load i32, ptr @O_RDWR, align 4 %15 = call i32 @open(ptr noundef @.str.1, i32 noundef %14) store i32 %15, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp eq i32 %16, -1 br i1 %17, label %18, label %22 18: ; preds = %2 %19 = call i32 @perror(ptr noundef @.str.2) %20 = load i32, ptr %6, align 4 store i32 %20, ptr %7, align 4 %21 = call i32 @exit(i32 noundef -1) #3 unreachable 22: ; preds = %2 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 0 %25 = load ptr, ptr %24, align 8 %26 = call i32 @printf(ptr noundef @.str.3, ptr noundef %25) br label %27 27: ; preds = %22, %27 br label %27 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(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/tmpxxu0xqpu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"%s: entered\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"/dev/cdata\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [12 x i8] c"open failed\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"%s: open: successful\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [16 x ptr], align 16 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 0 %12 = load ptr, ptr %11, align 8 %13 = call i32 @printf(ptr noundef @.str, ptr noundef %12) %14 = load i32, ptr @O_RDWR, align 4 %15 = call i32 @open(ptr noundef @.str.1, i32 noundef %14) store i32 %15, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp eq i32 %16, -1 br i1 %17, label %18, label %22 18: ; preds = %2 %19 = call i32 @perror(ptr noundef @.str.2) %20 = load i32, ptr %6, align 4 store i32 %20, ptr %7, align 4 %21 = call i32 @exit(i32 noundef -1) #3 unreachable 22: ; preds = %2 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 0 %25 = load ptr, ptr %24, align 8 %26 = call i32 @printf(ptr noundef @.str.3, ptr noundef %25) br label %27 27: ; preds = %27, %22 br label %27 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(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"}