llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpoutzkytq.c' source_filename = "/tmp/tmpoutzkytq.c" target datalayout = "e-m:e-p270: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, i64, i32 } @SIGCHLD = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [75 x i8] c"sigchild_handler() ble calt med noe som ikke var SIGCHLD (%d), men sig %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [45 x i8] c"signal stacken m\C3\A5 ha blirr korypt. Exiter.\0A\00", align 1 @CLD_EXITED = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [42 x i8] c"Got signal '%d', si_code %d for child %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"waitpid()\00", align 1 @.str.4 = private unnamed_addr constant [43 x i8] c"Got signal '%d', si_code %d for child %d: \00", align 1 @.str.5 = private unnamed_addr constant [17 x i8] c"Exited normally\0A\00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c"Child was signaled: %d(%d)\0A\00", align 1 @.str.7 = private unnamed_addr constant [14 x i8] c"Unknown exit\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sigchild_handler(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds %struct.TYPE_3__, ptr %9, i32 0, i32 0 %11 = load i32, ptr %10, align 8 store i32 %11, ptr %7, align 4 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr @SIGCHLD, align 4 %14 = icmp ne i32 %12, %13 br i1 %14, label %15, label %23 15: ; preds = %3 %16 = load i32, ptr @stderr, align 4 %17 = load i32, ptr @SIGCHLD, align 4 %18 = load i32, ptr %4, align 4 %19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str, i32 noundef %17, i32 noundef %18) %20 = load i32, ptr @stderr, align 4 %21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.1) %22 = call i32 @exit(i32 noundef -1) #3 unreachable 23: ; preds = %3 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds %struct.TYPE_3__, ptr %24, i32 0, i32 1 %26 = load i64, ptr %25, align 8 %27 = load i64, ptr @CLD_EXITED, align 8 %28 = icmp eq i64 %26, %27 br i1 %28, label %29, label %43 29: ; preds = %23 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds %struct.TYPE_3__, ptr %30, i32 0, i32 2 %32 = load i32, ptr %31, align 8 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds %struct.TYPE_3__, ptr %33, i32 0, i32 1 %35 = load i64, ptr %34, align 8 %36 = load i32, ptr %7, align 4 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %32, i64 noundef %35, i32 noundef %36) %38 = call i32 @waitpid(i32 noundef -1, ptr noundef %8, i32 noundef 0) %39 = icmp eq i32 %38, -1 br i1 %39, label %40, label %42 40: ; preds = %29 %41 = call i32 @perror(ptr noundef @.str.3) br label %42 42: ; preds = %40, %29 br label %77 43: ; preds = %23 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds %struct.TYPE_3__, ptr %44, i32 0, i32 2 %46 = load i32, ptr %45, align 8 %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds %struct.TYPE_3__, ptr %47, i32 0, i32 1 %49 = load i64, ptr %48, align 8 %50 = load i32, ptr %7, align 4 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %46, i64 noundef %49, i32 noundef %50) %52 = call i32 @waitpid(i32 noundef -1, ptr noundef %8, i32 noundef 0) %53 = icmp eq i32 %52, -1 br i1 %53, label %54, label %56 54: ; preds = %43 %55 = call i32 @perror(ptr noundef @.str.3) br label %76 56: ; preds = %43 %57 = load i32, ptr %8, align 4 %58 = call i64 @WIFEXITED(i32 noundef %57) %59 = icmp ne i64 %58, 0 br i1 %59, label %60, label %62 60: ; preds = %56 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %75 62: ; preds = %56 %63 = load i32, ptr %8, align 4 %64 = call i64 @WIFSIGNALED(i32 noundef %63) %65 = icmp ne i64 %64, 0 br i1 %65, label %66, label %72 66: ; preds = %62 %67 = load i32, ptr %8, align 4 %68 = call i32 @WTERMSIG(i32 noundef %67) %69 = load i32, ptr %8, align 4 %70 = call i32 @WTERMSIG(i32 noundef %69) %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %68, i32 noundef %70) br label %74 72: ; preds = %62 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %74 74: ; preds = %72, %66 br label %75 75: ; preds = %74, %60 br label %76 76: ; preds = %75, %54 br label %77 77: ; preds = %76, %42 ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #1 declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @WIFEXITED(i32 noundef) #1 declare i64 @WIFSIGNALED(i32 noundef) #1 declare i32 @WTERMSIG(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoutzkytq.c" target datalayout = "e-m:e-p270: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, i64, i32 } @SIGCHLD = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [75 x i8] c"sigchild_handler() ble calt med noe som ikke var SIGCHLD (%d), men sig %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [45 x i8] c"signal stacken m\C3\A5 ha blirr korypt. Exiter.\0A\00", align 1 @CLD_EXITED = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [42 x i8] c"Got signal '%d', si_code %d for child %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"waitpid()\00", align 1 @.str.4 = private unnamed_addr constant [43 x i8] c"Got signal '%d', si_code %d for child %d: \00", align 1 @.str.5 = private unnamed_addr constant [17 x i8] c"Exited normally\0A\00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c"Child was signaled: %d(%d)\0A\00", align 1 @.str.7 = private unnamed_addr constant [14 x i8] c"Unknown exit\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sigchild_handler(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds %struct.TYPE_3__, ptr %9, i32 0, i32 0 %11 = load i32, ptr %10, align 8 store i32 %11, ptr %7, align 4 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr @SIGCHLD, align 4 %14 = icmp ne i32 %12, %13 br i1 %14, label %15, label %23 15: ; preds = %3 %16 = load i32, ptr @stderr, align 4 %17 = load i32, ptr @SIGCHLD, align 4 %18 = load i32, ptr %4, align 4 %19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str, i32 noundef %17, i32 noundef %18) %20 = load i32, ptr @stderr, align 4 %21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.1) %22 = call i32 @exit(i32 noundef -1) #3 unreachable 23: ; preds = %3 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds %struct.TYPE_3__, ptr %24, i32 0, i32 1 %26 = load i64, ptr %25, align 8 %27 = load i64, ptr @CLD_EXITED, align 8 %28 = icmp eq i64 %26, %27 br i1 %28, label %29, label %43 29: ; preds = %23 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds %struct.TYPE_3__, ptr %30, i32 0, i32 2 %32 = load i32, ptr %31, align 8 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds %struct.TYPE_3__, ptr %33, i32 0, i32 1 %35 = load i64, ptr %34, align 8 %36 = load i32, ptr %7, align 4 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %32, i64 noundef %35, i32 noundef %36) %38 = call i32 @waitpid(i32 noundef -1, ptr noundef %8, i32 noundef 0) %39 = icmp eq i32 %38, -1 br i1 %39, label %40, label %42 40: ; preds = %29 %41 = call i32 @perror(ptr noundef @.str.3) br label %42 42: ; preds = %40, %29 br label %77 43: ; preds = %23 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds %struct.TYPE_3__, ptr %44, i32 0, i32 2 %46 = load i32, ptr %45, align 8 %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds %struct.TYPE_3__, ptr %47, i32 0, i32 1 %49 = load i64, ptr %48, align 8 %50 = load i32, ptr %7, align 4 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %46, i64 noundef %49, i32 noundef %50) %52 = call i32 @waitpid(i32 noundef -1, ptr noundef %8, i32 noundef 0) %53 = icmp eq i32 %52, -1 br i1 %53, label %54, label %56 54: ; preds = %43 %55 = call i32 @perror(ptr noundef @.str.3) br label %76 56: ; preds = %43 %57 = load i32, ptr %8, align 4 %58 = call i64 @WIFEXITED(i32 noundef %57) %59 = icmp ne i64 %58, 0 br i1 %59, label %60, label %62 60: ; preds = %56 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %75 62: ; preds = %56 %63 = load i32, ptr %8, align 4 %64 = call i64 @WIFSIGNALED(i32 noundef %63) %65 = icmp ne i64 %64, 0 br i1 %65, label %66, label %72 66: ; preds = %62 %67 = load i32, ptr %8, align 4 %68 = call i32 @WTERMSIG(i32 noundef %67) %69 = load i32, ptr %8, align 4 %70 = call i32 @WTERMSIG(i32 noundef %69) %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %68, i32 noundef %70) br label %74 72: ; preds = %62 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %74 74: ; preds = %72, %66 br label %75 75: ; preds = %74, %60 br label %76 76: ; preds = %75, %54 br label %77 77: ; preds = %76, %42 ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #1 declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @WIFEXITED(i32 noundef) #1 declare i64 @WIFSIGNALED(i32 noundef) #1 declare i32 @WTERMSIG(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp161f9mjx.c' source_filename = "/tmp/tmp161f9mjx.c" target datalayout = "e-m:e-p270: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/tmp161f9mjx.c" target datalayout = "e-m:e-p270: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/tmprrmaeff4.c' source_filename = "/tmp/tmprrmaeff4.c" target datalayout = "e-m:e-p270: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/tmprrmaeff4.c" target datalayout = "e-m:e-p270: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/tmppw_mlvwp.c' source_filename = "/tmp/tmppw_mlvwp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i64 @strlen(ptr noundef %9) store i64 %10, ptr %8, align 8 %11 = load i64, ptr %8, align 8 %12 = load i64, ptr %7, align 8 %13 = icmp ugt i64 %11, %12 br i1 %13, label %14, label %15 14: ; preds = %3 store i64 0, ptr %4, align 8 br label %20 15: ; preds = %3 %16 = load ptr, ptr %5, align 8 %17 = load ptr, ptr %6, align 8 %18 = call i32 @strcpy(ptr noundef %16, ptr noundef %17) %19 = load i64, ptr %8, align 8 store i64 %19, ptr %4, align 8 br label %20 20: ; preds = %15, %14 %21 = load i64, ptr %4, align 8 ret i64 %21 } 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/tmppw_mlvwp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i64 @strlen(ptr noundef %9) store i64 %10, ptr %8, align 8 %11 = load i64, ptr %8, align 8 %12 = load i64, ptr %7, align 8 %13 = icmp ugt i64 %11, %12 br i1 %13, label %14, label %15 14: ; preds = %3 store i64 0, ptr %4, align 8 br label %20 15: ; preds = %3 %16 = load ptr, ptr %5, align 8 %17 = load ptr, ptr %6, align 8 %18 = call i32 @strcpy(ptr noundef %16, ptr noundef %17) %19 = load i64, ptr %8, align 8 store i64 %19, ptr %4, align 8 br label %20 20: ; preds = %15, %14 %21 = load i64, ptr %4, align 8 ret i64 %21 } 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/tmpzzdpckd8.c' source_filename = "/tmp/tmpzzdpckd8.c" target datalayout = "e-m:e-p270: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"Error: %d\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"write\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"write() wrote %d bytes\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"read\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"read() read %d bytes:\0A\09\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"%hhx \00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ps3_set_mode(i32 noundef %0, i8 noundef signext %1) #0 { %3 = alloca i32, align 4 %4 = alloca i8, align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [16 x i8], align 16 store i32 %0, ptr %3, align 4 store i8 %1, ptr %4, align 1 %8 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0 %9 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 16) %10 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0 store i8 0, ptr %10, align 16 %11 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 1 store i8 -86, ptr %11, align 1 %12 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 2 store i8 0, ptr %12, align 2 %13 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 3 store i8 85, ptr %13, align 1 %14 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 4 store i8 -91, ptr %14, align 4 %15 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 5 store i8 90, ptr %15, align 1 %16 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 6 store i8 102, ptr %16, align 2 %17 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 7 store i8 -103, ptr %17, align 1 %18 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 8 store i8 105, ptr %18, align 8 %19 = load i32, ptr %3, align 4 %20 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0 %21 = call i32 @write(i32 noundef %19, ptr noundef %20, i32 noundef 9) store i32 %21, ptr %6, align 4 %22 = load i32, ptr %6, align 4 %23 = icmp slt i32 %22, 0 br i1 %23, label %24, label %28 24: ; preds = %2 %25 = load i32, ptr @errno, align 4 %26 = call i32 @printf(ptr noundef @.str, i32 noundef %25) %27 = call i32 @perror(ptr noundef @.str.1) br label %31 28: ; preds = %2 %29 = load i32, ptr %6, align 4 %30 = call i32 @printf(ptr noundef @.str.2, i32 noundef %29) br label %31 31: ; preds = %28, %24 %32 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0 store i8 0, ptr %32, align 16 %33 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 1 store i8 0, ptr %33, align 1 %34 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 2 store i8 -90, ptr %34, align 2 %35 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 3 store i8 0, ptr %35, align 1 %36 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 4 store i8 0, ptr %36, align 4 %37 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 5 store i8 0, ptr %37, align 1 %38 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 6 store i8 0, ptr %38, align 2 %39 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 7 store i8 0, ptr %39, align 1 %40 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 8 store i8 0, ptr %40, align 8 %41 = load i32, ptr %3, align 4 %42 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0 %43 = call i32 @write(i32 noundef %41, ptr noundef %42, i32 noundef 9) store i32 %43, ptr %6, align 4 %44 = load i32, ptr %6, align 4 %45 = icmp slt i32 %44, 0 br i1 %45, label %46, label %50 46: ; preds = %31 %47 = load i32, ptr @errno, align 4 %48 = call i32 @printf(ptr noundef @.str, i32 noundef %47) %49 = call i32 @perror(ptr noundef @.str.1) br label %53 50: ; preds = %31 %51 = load i32, ptr %6, align 4 %52 = call i32 @printf(ptr noundef @.str.2, i32 noundef %51) br label %53 53: ; preds = %50, %46 %54 = load i32, ptr %3, align 4 %55 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0 %56 = call i32 @read(i32 noundef %54, ptr noundef %55, i32 noundef 16) store i32 %56, ptr %6, align 4 %57 = load i32, ptr %6, align 4 %58 = icmp slt i32 %57, 0 br i1 %58, label %59, label %61 59: ; preds = %53 %60 = call i32 @perror(ptr noundef @.str.3) br label %80 61: ; preds = %53 %62 = load i32, ptr %6, align 4 %63 = call i32 @printf(ptr noundef @.str.4, i32 noundef %62) store i32 0, ptr %5, align 4 br label %64 64: ; preds = %75, %61 %65 = load i32, ptr %5, align 4 %66 = load i32, ptr %6, align 4 %67 = icmp slt i32 %65, %66 br i1 %67, label %68, label %78 68: ; preds = %64 %69 = load i32, ptr %5, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 %70 %72 = load i8, ptr %71, align 1 %73 = sext i8 %72 to i32 %74 = call i32 @printf(ptr noundef @.str.5, i32 noundef %73) br label %75 75: ; preds = %68 %76 = load i32, ptr %5, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %5, align 4 br label %64, !llvm.loop !6 78: ; preds = %64 %79 = call i32 @puts(ptr noundef @.str.6) br label %80 80: ; preds = %78, %59 %81 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0 store i8 0, ptr %81, align 16 %82 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 1 store i8 0, ptr %82, align 1 %83 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 2 store i8 -91, ptr %83, align 2 %84 = load i8, ptr %4, align 1 %85 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 3 store i8 %84, ptr %85, align 1 %86 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 4 store i8 0, ptr %86, align 4 %87 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 5 store i8 0, ptr %87, align 1 %88 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 6 store i8 0, ptr %88, align 2 %89 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 7 store i8 0, ptr %89, align 1 %90 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 8 store i8 0, ptr %90, align 8 %91 = load i32, ptr %3, align 4 %92 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0 %93 = call i32 @write(i32 noundef %91, ptr noundef %92, i32 noundef 9) store i32 %93, ptr %6, align 4 %94 = load i32, ptr %6, align 4 %95 = icmp slt i32 %94, 0 br i1 %95, label %96, label %100 96: ; preds = %80 %97 = load i32, ptr @errno, align 4 %98 = call i32 @printf(ptr noundef @.str, i32 noundef %97) %99 = call i32 @perror(ptr noundef @.str.1) br label %103 100: ; preds = %80 %101 = load i32, ptr %6, align 4 %102 = call i32 @printf(ptr noundef @.str.2, i32 noundef %101) br label %103 103: ; preds = %100, %96 %104 = load i32, ptr %3, align 4 %105 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0 %106 = call i32 @read(i32 noundef %104, ptr noundef %105, i32 noundef 16) store i32 %106, ptr %6, align 4 %107 = load i32, ptr %6, align 4 %108 = icmp slt i32 %107, 0 br i1 %108, label %109, label %111 109: ; preds = %103 %110 = call i32 @perror(ptr noundef @.str.3) br label %130 111: ; preds = %103 %112 = load i32, ptr %6, align 4 %113 = call i32 @printf(ptr noundef @.str.4, i32 noundef %112) store i32 0, ptr %5, align 4 br label %114 114: ; preds = %125, %111 %115 = load i32, ptr %5, align 4 %116 = load i32, ptr %6, align 4 %117 = icmp slt i32 %115, %116 br i1 %117, label %118, label %128 118: ; preds = %114 %119 = load i32, ptr %5, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 %120 %122 = load i8, ptr %121, align 1 %123 = sext i8 %122 to i32 %124 = call i32 @printf(ptr noundef @.str.5, i32 noundef %123) br label %125 125: ; preds = %118 %126 = load i32, ptr %5, align 4 %127 = add nsw i32 %126, 1 store i32 %127, ptr %5, align 4 br label %114, !llvm.loop !8 128: ; preds = %114 %129 = call i32 @puts(ptr noundef @.str.6) br label %130 130: ; preds = %128, %109 %131 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0 store i8 0, ptr %131, align 16 %132 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 1 store i8 -86, ptr %132, align 1 %133 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 2 store i8 0, ptr %133, align 2 %134 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 3 store i8 85, ptr %134, align 1 %135 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 4 store i8 -91, ptr %135, align 4 %136 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 5 store i8 90, ptr %136, align 1 %137 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 6 store i8 102, ptr %137, align 2 %138 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 7 store i8 -103, ptr %138, align 1 %139 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 8 store i8 105, ptr %139, align 8 %140 = load i32, ptr %3, align 4 %141 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0 %142 = call i32 @write(i32 noundef %140, ptr noundef %141, i32 noundef 9) store i32 %142, ptr %6, align 4 %143 = load i32, ptr %6, align 4 %144 = icmp slt i32 %143, 0 br i1 %144, label %145, label %149 145: ; preds = %130 %146 = load i32, ptr @errno, align 4 %147 = call i32 @printf(ptr noundef @.str, i32 noundef %146) %148 = call i32 @perror(ptr noundef @.str.1) br label %152 149: ; preds = %130 %150 = load i32, ptr %6, align 4 %151 = call i32 @printf(ptr noundef @.str.2, i32 noundef %150) br label %152 152: ; preds = %149, %145 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzzdpckd8.c" target datalayout = "e-m:e-p270: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"Error: %d\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"write\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"write() wrote %d bytes\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"read\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"read() read %d bytes:\0A\09\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"%hhx \00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ps3_set_mode(i32 noundef %0, i8 noundef signext %1) #0 { %3 = alloca i32, align 4 %4 = alloca i8, align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [16 x i8], align 16 store i32 %0, ptr %3, align 4 store i8 %1, ptr %4, align 1 %8 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0 %9 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 16) %10 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0 store i8 0, ptr %10, align 16 %11 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 1 store i8 -86, ptr %11, align 1 %12 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 2 store i8 0, ptr %12, align 2 %13 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 3 store i8 85, ptr %13, align 1 %14 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 4 store i8 -91, ptr %14, align 4 %15 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 5 store i8 90, ptr %15, align 1 %16 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 6 store i8 102, ptr %16, align 2 %17 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 7 store i8 -103, ptr %17, align 1 %18 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 8 store i8 105, ptr %18, align 8 %19 = load i32, ptr %3, align 4 %20 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0 %21 = call i32 @write(i32 noundef %19, ptr noundef %20, i32 noundef 9) store i32 %21, ptr %6, align 4 %22 = load i32, ptr %6, align 4 %23 = icmp slt i32 %22, 0 br i1 %23, label %24, label %28 24: ; preds = %2 %25 = load i32, ptr @errno, align 4 %26 = call i32 @printf(ptr noundef @.str, i32 noundef %25) %27 = call i32 @perror(ptr noundef @.str.1) br label %31 28: ; preds = %2 %29 = load i32, ptr %6, align 4 %30 = call i32 @printf(ptr noundef @.str.2, i32 noundef %29) br label %31 31: ; preds = %28, %24 %32 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0 store i8 0, ptr %32, align 16 %33 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 1 store i8 0, ptr %33, align 1 %34 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 2 store i8 -90, ptr %34, align 2 %35 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 3 store i8 0, ptr %35, align 1 %36 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 4 store i8 0, ptr %36, align 4 %37 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 5 store i8 0, ptr %37, align 1 %38 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 6 store i8 0, ptr %38, align 2 %39 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 7 store i8 0, ptr %39, align 1 %40 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 8 store i8 0, ptr %40, align 8 %41 = load i32, ptr %3, align 4 %42 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0 %43 = call i32 @write(i32 noundef %41, ptr noundef %42, i32 noundef 9) store i32 %43, ptr %6, align 4 %44 = load i32, ptr %6, align 4 %45 = icmp slt i32 %44, 0 br i1 %45, label %46, label %50 46: ; preds = %31 %47 = load i32, ptr @errno, align 4 %48 = call i32 @printf(ptr noundef @.str, i32 noundef %47) %49 = call i32 @perror(ptr noundef @.str.1) br label %53 50: ; preds = %31 %51 = load i32, ptr %6, align 4 %52 = call i32 @printf(ptr noundef @.str.2, i32 noundef %51) br label %53 53: ; preds = %50, %46 %54 = load i32, ptr %3, align 4 %55 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0 %56 = call i32 @read(i32 noundef %54, ptr noundef %55, i32 noundef 16) store i32 %56, ptr %6, align 4 %57 = load i32, ptr %6, align 4 %58 = icmp slt i32 %57, 0 br i1 %58, label %59, label %61 59: ; preds = %53 %60 = call i32 @perror(ptr noundef @.str.3) br label %82 61: ; preds = %53 %62 = load i32, ptr %6, align 4 %63 = call i32 @printf(ptr noundef @.str.4, i32 noundef %62) store i32 0, ptr %5, align 4 %64 = load i32, ptr %5, align 4 %65 = load i32, ptr %6, align 4 %66 = icmp slt i32 %64, %65 br i1 %66, label %.lr.ph, label %80 .lr.ph: ; preds = %61 br label %67 67: ; preds = %.lr.ph, %74 %68 = load i32, ptr %5, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 %69 %71 = load i8, ptr %70, align 1 %72 = sext i8 %71 to i32 %73 = call i32 @printf(ptr noundef @.str.5, i32 noundef %72) br label %74 74: ; preds = %67 %75 = load i32, ptr %5, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %5, align 4 %77 = load i32, ptr %5, align 4 %78 = load i32, ptr %6, align 4 %79 = icmp slt i32 %77, %78 br i1 %79, label %67, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %74 br label %80 80: ; preds = %._crit_edge, %61 %81 = call i32 @puts(ptr noundef @.str.6) br label %82 82: ; preds = %80, %59 %83 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0 store i8 0, ptr %83, align 16 %84 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 1 store i8 0, ptr %84, align 1 %85 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 2 store i8 -91, ptr %85, align 2 %86 = load i8, ptr %4, align 1 %87 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 3 store i8 %86, ptr %87, align 1 %88 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 4 store i8 0, ptr %88, align 4 %89 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 5 store i8 0, ptr %89, align 1 %90 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 6 store i8 0, ptr %90, align 2 %91 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 7 store i8 0, ptr %91, align 1 %92 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 8 store i8 0, ptr %92, align 8 %93 = load i32, ptr %3, align 4 %94 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0 %95 = call i32 @write(i32 noundef %93, ptr noundef %94, i32 noundef 9) store i32 %95, ptr %6, align 4 %96 = load i32, ptr %6, align 4 %97 = icmp slt i32 %96, 0 br i1 %97, label %98, label %102 98: ; preds = %82 %99 = load i32, ptr @errno, align 4 %100 = call i32 @printf(ptr noundef @.str, i32 noundef %99) %101 = call i32 @perror(ptr noundef @.str.1) br label %105 102: ; preds = %82 %103 = load i32, ptr %6, align 4 %104 = call i32 @printf(ptr noundef @.str.2, i32 noundef %103) br label %105 105: ; preds = %102, %98 %106 = load i32, ptr %3, align 4 %107 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0 %108 = call i32 @read(i32 noundef %106, ptr noundef %107, i32 noundef 16) store i32 %108, ptr %6, align 4 %109 = load i32, ptr %6, align 4 %110 = icmp slt i32 %109, 0 br i1 %110, label %111, label %113 111: ; preds = %105 %112 = call i32 @perror(ptr noundef @.str.3) br label %134 113: ; preds = %105 %114 = load i32, ptr %6, align 4 %115 = call i32 @printf(ptr noundef @.str.4, i32 noundef %114) store i32 0, ptr %5, align 4 %116 = load i32, ptr %5, align 4 %117 = load i32, ptr %6, align 4 %118 = icmp slt i32 %116, %117 br i1 %118, label %.lr.ph2, label %132 .lr.ph2: ; preds = %113 br label %119 119: ; preds = %.lr.ph2, %126 %120 = load i32, ptr %5, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 %121 %123 = load i8, ptr %122, align 1 %124 = sext i8 %123 to i32 %125 = call i32 @printf(ptr noundef @.str.5, i32 noundef %124) br label %126 126: ; preds = %119 %127 = load i32, ptr %5, align 4 %128 = add nsw i32 %127, 1 store i32 %128, ptr %5, align 4 %129 = load i32, ptr %5, align 4 %130 = load i32, ptr %6, align 4 %131 = icmp slt i32 %129, %130 br i1 %131, label %119, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %126 br label %132 132: ; preds = %._crit_edge3, %113 %133 = call i32 @puts(ptr noundef @.str.6) br label %134 134: ; preds = %132, %111 %135 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0 store i8 0, ptr %135, align 16 %136 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 1 store i8 -86, ptr %136, align 1 %137 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 2 store i8 0, ptr %137, align 2 %138 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 3 store i8 85, ptr %138, align 1 %139 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 4 store i8 -91, ptr %139, align 4 %140 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 5 store i8 90, ptr %140, align 1 %141 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 6 store i8 102, ptr %141, align 2 %142 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 7 store i8 -103, ptr %142, align 1 %143 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 8 store i8 105, ptr %143, align 8 %144 = load i32, ptr %3, align 4 %145 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0 %146 = call i32 @write(i32 noundef %144, ptr noundef %145, i32 noundef 9) store i32 %146, ptr %6, align 4 %147 = load i32, ptr %6, align 4 %148 = icmp slt i32 %147, 0 br i1 %148, label %149, label %153 149: ; preds = %134 %150 = load i32, ptr @errno, align 4 %151 = call i32 @printf(ptr noundef @.str, i32 noundef %150) %152 = call i32 @perror(ptr noundef @.str.1) br label %156 153: ; preds = %134 %154 = load i32, ptr %6, align 4 %155 = call i32 @printf(ptr noundef @.str.2, i32 noundef %154) br label %156 156: ; preds = %153, %149 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpj37bcwqh.c' source_filename = "/tmp/tmpj37bcwqh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @basic_memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i64 %2, ptr %6, align 8 store i64 0, ptr %7, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %8, align 8 br label %10 10: ; preds = %14, %3 %11 = load i64, ptr %7, align 8 %12 = load i64, ptr %6, align 8 %13 = icmp ult i64 %11, %12 br i1 %13, label %14, label %21 14: ; preds = %10 %15 = load i32, ptr %5, align 4 %16 = trunc i32 %15 to i8 %17 = load ptr, ptr %8, align 8 %18 = getelementptr inbounds i8, ptr %17, i32 1 store ptr %18, ptr %8, align 8 store i8 %16, ptr %17, align 1 %19 = load i64, ptr %7, align 8 %20 = add i64 %19, 1 store i64 %20, ptr %7, align 8 br label %10, !llvm.loop !6 21: ; preds = %10 %22 = load ptr, ptr %4, 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 = '<stdin>' source_filename = "/tmp/tmpj37bcwqh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @basic_memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i64 %2, ptr %6, align 8 store i64 0, ptr %7, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %8, align 8 %10 = load i64, ptr %7, align 8 %11 = load i64, ptr %6, align 8 %12 = icmp ult i64 %10, %11 br i1 %12, label %.lr.ph, label %23 .lr.ph: ; preds = %3 br label %13 13: ; preds = %.lr.ph, %13 %14 = load i32, ptr %5, align 4 %15 = trunc i32 %14 to i8 %16 = load ptr, ptr %8, align 8 %17 = getelementptr inbounds i8, ptr %16, i32 1 store ptr %17, ptr %8, align 8 store i8 %15, ptr %16, align 1 %18 = load i64, ptr %7, align 8 %19 = add i64 %18, 1 store i64 %19, ptr %7, align 8 %20 = load i64, ptr %7, align 8 %21 = load i64, ptr %6, align 8 %22 = icmp ult i64 %20, %21 br i1 %22, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %23 23: ; preds = %._crit_edge, %3 %24 = load ptr, ptr %4, align 8 ret ptr %24 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpmp2go9_y.c' source_filename = "/tmp/tmpmp2go9_y.c" target datalayout = "e-m:e-p270: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/tmpmp2go9_y.c" target datalayout = "e-m:e-p270: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/tmpw6aiwpd7.c' source_filename = "/tmp/tmpw6aiwpd7.c" target datalayout = "e-m:e-p270: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"error!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = call i32 (...) @open_uevent_socket() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str) store i32 -1, ptr %1, align 4 br label %11 8: ; preds = %0 %9 = load i32, ptr %2, align 4 %10 = call i32 @handle_device_fd(i32 noundef %9) br label %11 11: ; preds = %8, %6 %12 = load i32, ptr %1, align 4 ret i32 %12 } declare i32 @open_uevent_socket(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @handle_device_fd(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/tmpw6aiwpd7.c" target datalayout = "e-m:e-p270: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"error!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = call i32 (...) @open_uevent_socket() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str) store i32 -1, ptr %1, align 4 br label %11 8: ; preds = %0 %9 = load i32, ptr %2, align 4 %10 = call i32 @handle_device_fd(i32 noundef %9) br label %11 11: ; preds = %8, %6 %12 = load i32, ptr %1, align 4 ret i32 %12 } declare i32 @open_uevent_socket(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @handle_device_fd(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/tmpmmgusgio.c' source_filename = "/tmp/tmpmmgusgio.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @W(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca i32, align 4 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 %16 = load double, ptr %4, align 8 %17 = fcmp olt double %16, 0x3BC79CA10C924223 br i1 %17, label %18, label %23 18: ; preds = %2 %19 = load double, ptr %5, align 8 %20 = call i32 @K0(double noundef %19) %21 = mul nsw i32 2, %20 %22 = sitofp i32 %21 to double store double %22, ptr %3, align 8 br label %118 23: ; preds = %2 %24 = load double, ptr %4, align 8 %25 = fcmp ogt double %24, 2.000000e+03 br i1 %25, label %26, label %27 26: ; preds = %23 store double 0.000000e+00, ptr %3, align 8 br label %118 27: ; preds = %23 %28 = load double, ptr %4, align 8 %29 = call double @log(double noundef %28) #4 store double %29, ptr %6, align 8 store double 1.000000e+01, ptr %7, align 8 %30 = load double, ptr %7, align 8 %31 = load double, ptr %6, align 8 %32 = fsub double %30, %31 %33 = fdiv double %32, 2.400000e+01 store double %33, ptr %8, align 8 %34 = load double, ptr %5, align 8 %35 = load double, ptr %5, align 8 %36 = fmul double %34, %35 %37 = fdiv double %36, 4.000000e+00 store double %37, ptr %9, align 8 %38 = load double, ptr %8, align 8 %39 = fmul double %38, 2.000000e+00 store double %39, ptr %10, align 8 %40 = load double, ptr %6, align 8 %41 = load double, ptr %8, align 8 %42 = fadd double %40, %41 store double %42, ptr %12, align 8 %43 = load double, ptr %6, align 8 store double %43, ptr %11, align 8 store double 0.000000e+00, ptr %13, align 8 store double 0.000000e+00, ptr %14, align 8 store i32 0, ptr %15, align 4 br label %44 44: ; preds = %27, %65 %45 = load double, ptr %12, align 8 %46 = call i32 @exp(double noundef %45) %47 = sub nsw i32 0, %46 %48 = sitofp i32 %47 to double %49 = load double, ptr %9, align 8 %50 = load double, ptr %12, align 8 %51 = call i32 @exp(double noundef %50) %52 = sitofp i32 %51 to double %53 = fdiv double %49, %52 %54 = fsub double %48, %53 %55 = call i32 @exp(double noundef %54) %56 = sitofp i32 %55 to double %57 = load double, ptr %14, align 8 %58 = fadd double %57, %56 store double %58, ptr %14, align 8 %59 = load double, ptr %10, align 8 %60 = load double, ptr %12, align 8 %61 = fadd double %60, %59 store double %61, ptr %12, align 8 %62 = load i32, ptr %15, align 4 %63 = icmp eq i32 %62, 10 br i1 %63, label %64, label %65 64: ; preds = %44 br label %85 65: ; preds = %44 %66 = load double, ptr %10, align 8 %67 = load double, ptr %11, align 8 %68 = fadd double %67, %66 store double %68, ptr %11, align 8 %69 = load double, ptr %11, align 8 %70 = call i32 @exp(double noundef %69) %71 = sub nsw i32 0, %70 %72 = sitofp i32 %71 to double %73 = load double, ptr %9, align 8 %74 = load double, ptr %11, align 8 %75 = call i32 @exp(double noundef %74) %76 = sitofp i32 %75 to double %77 = fdiv double %73, %76 %78 = fsub double %72, %77 %79 = call i32 @exp(double noundef %78) %80 = sitofp i32 %79 to double %81 = load double, ptr %13, align 8 %82 = fadd double %81, %80 store double %82, ptr %13, align 8 %83 = load i32, ptr %15, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %15, align 4 br label %44 85: ; preds = %64 %86 = load double, ptr %8, align 8 %87 = load double, ptr %6, align 8 %88 = call i32 @exp(double noundef %87) %89 = sub nsw i32 0, %88 %90 = sitofp i32 %89 to double %91 = load double, ptr %9, align 8 %92 = load double, ptr %6, align 8 %93 = call i32 @exp(double noundef %92) %94 = sitofp i32 %93 to double %95 = fdiv double %91, %94 %96 = fsub double %90, %95 %97 = call i32 @exp(double noundef %96) %98 = sitofp i32 %97 to double %99 = load double, ptr %14, align 8 %100 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %99, double %98) %101 = load double, ptr %13, align 8 %102 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %101, double %100) %103 = load double, ptr %7, align 8 %104 = call i32 @exp(double noundef %103) %105 = sub nsw i32 0, %104 %106 = sitofp i32 %105 to double %107 = load double, ptr %9, align 8 %108 = load double, ptr %7, align 8 %109 = call i32 @exp(double noundef %108) %110 = sitofp i32 %109 to double %111 = fdiv double %107, %110 %112 = fsub double %106, %111 %113 = call i32 @exp(double noundef %112) %114 = sitofp i32 %113 to double %115 = fadd double %102, %114 %116 = fmul double %86, %115 %117 = fdiv double %116, 3.000000e+00 store double %117, ptr %3, align 8 br label %118 118: ; preds = %85, %26, %18 %119 = load double, ptr %3, align 8 ret double %119 } declare i32 @K0(double noundef) #1 ; Function Attrs: nounwind declare double @log(double noundef) #2 declare i32 @exp(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { 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/tmpmmgusgio.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @W(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca i32, align 4 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 %16 = load double, ptr %4, align 8 %17 = fcmp olt double %16, 0x3BC79CA10C924223 br i1 %17, label %18, label %23 18: ; preds = %2 %19 = load double, ptr %5, align 8 %20 = call i32 @K0(double noundef %19) %21 = mul nsw i32 2, %20 %22 = sitofp i32 %21 to double store double %22, ptr %3, align 8 br label %118 23: ; preds = %2 %24 = load double, ptr %4, align 8 %25 = fcmp ogt double %24, 2.000000e+03 br i1 %25, label %26, label %27 26: ; preds = %23 store double 0.000000e+00, ptr %3, align 8 br label %118 27: ; preds = %23 %28 = load double, ptr %4, align 8 %29 = call double @log(double noundef %28) #4 store double %29, ptr %6, align 8 store double 1.000000e+01, ptr %7, align 8 %30 = load double, ptr %7, align 8 %31 = load double, ptr %6, align 8 %32 = fsub double %30, %31 %33 = fdiv double %32, 2.400000e+01 store double %33, ptr %8, align 8 %34 = load double, ptr %5, align 8 %35 = load double, ptr %5, align 8 %36 = fmul double %34, %35 %37 = fdiv double %36, 4.000000e+00 store double %37, ptr %9, align 8 %38 = load double, ptr %8, align 8 %39 = fmul double %38, 2.000000e+00 store double %39, ptr %10, align 8 %40 = load double, ptr %6, align 8 %41 = load double, ptr %8, align 8 %42 = fadd double %40, %41 store double %42, ptr %12, align 8 %43 = load double, ptr %6, align 8 store double %43, ptr %11, align 8 store double 0.000000e+00, ptr %13, align 8 store double 0.000000e+00, ptr %14, align 8 store i32 0, ptr %15, align 4 br label %44 44: ; preds = %65, %27 %45 = load double, ptr %12, align 8 %46 = call i32 @exp(double noundef %45) %47 = sub nsw i32 0, %46 %48 = sitofp i32 %47 to double %49 = load double, ptr %9, align 8 %50 = load double, ptr %12, align 8 %51 = call i32 @exp(double noundef %50) %52 = sitofp i32 %51 to double %53 = fdiv double %49, %52 %54 = fsub double %48, %53 %55 = call i32 @exp(double noundef %54) %56 = sitofp i32 %55 to double %57 = load double, ptr %14, align 8 %58 = fadd double %57, %56 store double %58, ptr %14, align 8 %59 = load double, ptr %10, align 8 %60 = load double, ptr %12, align 8 %61 = fadd double %60, %59 store double %61, ptr %12, align 8 %62 = load i32, ptr %15, align 4 %63 = icmp eq i32 %62, 10 br i1 %63, label %64, label %65 64: ; preds = %44 br label %85 65: ; preds = %44 %66 = load double, ptr %10, align 8 %67 = load double, ptr %11, align 8 %68 = fadd double %67, %66 store double %68, ptr %11, align 8 %69 = load double, ptr %11, align 8 %70 = call i32 @exp(double noundef %69) %71 = sub nsw i32 0, %70 %72 = sitofp i32 %71 to double %73 = load double, ptr %9, align 8 %74 = load double, ptr %11, align 8 %75 = call i32 @exp(double noundef %74) %76 = sitofp i32 %75 to double %77 = fdiv double %73, %76 %78 = fsub double %72, %77 %79 = call i32 @exp(double noundef %78) %80 = sitofp i32 %79 to double %81 = load double, ptr %13, align 8 %82 = fadd double %81, %80 store double %82, ptr %13, align 8 %83 = load i32, ptr %15, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %15, align 4 br label %44 85: ; preds = %64 %86 = load double, ptr %8, align 8 %87 = load double, ptr %6, align 8 %88 = call i32 @exp(double noundef %87) %89 = sub nsw i32 0, %88 %90 = sitofp i32 %89 to double %91 = load double, ptr %9, align 8 %92 = load double, ptr %6, align 8 %93 = call i32 @exp(double noundef %92) %94 = sitofp i32 %93 to double %95 = fdiv double %91, %94 %96 = fsub double %90, %95 %97 = call i32 @exp(double noundef %96) %98 = sitofp i32 %97 to double %99 = load double, ptr %14, align 8 %100 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %99, double %98) %101 = load double, ptr %13, align 8 %102 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %101, double %100) %103 = load double, ptr %7, align 8 %104 = call i32 @exp(double noundef %103) %105 = sub nsw i32 0, %104 %106 = sitofp i32 %105 to double %107 = load double, ptr %9, align 8 %108 = load double, ptr %7, align 8 %109 = call i32 @exp(double noundef %108) %110 = sitofp i32 %109 to double %111 = fdiv double %107, %110 %112 = fsub double %106, %111 %113 = call i32 @exp(double noundef %112) %114 = sitofp i32 %113 to double %115 = fadd double %102, %114 %116 = fmul double %86, %115 %117 = fdiv double %116, 3.000000e+00 store double %117, ptr %3, align 8 br label %118 118: ; preds = %85, %26, %18 %119 = load double, ptr %3, align 8 ret double %119 } declare i32 @K0(double noundef) #1 ; Function Attrs: nounwind declare double @log(double noundef) #2 declare i32 @exp(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { 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/tmps2k24y13.c' source_filename = "/tmp/tmps2k24y13.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"%s (%s) %s :: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"wrapper.mod\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"2.0\00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c"JoMo-Kun <jmk@foofus.net>\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"Generic Wrapper Module\00", align 1 @.str.5 = private unnamed_addr constant [26 x i8] c"Available module options:\00", align 1 @.str.6 = private unnamed_addr constant [25 x i8] c" TYPE:? (SINGLE, STDIN)\00", align 1 @.str.7 = private unnamed_addr constant [83 x i8] c" Option sets type of script being called by module. See included sample scripts\00", align 1 @.str.8 = private unnamed_addr constant [38 x i8] c" for ideas how to use this module.\00", align 1 @.str.9 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.10 = private unnamed_addr constant [76 x i8] c" SINGLE: Script expects all user input comes from original command line.\00", align 1 @.str.11 = private unnamed_addr constant [73 x i8] c" STDIN: Host and user information passed to script via command line.\00", align 1 @.str.12 = private unnamed_addr constant [62 x i8] c" Passwords to test are passed via STDIN to script.\00", align 1 @.str.13 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.14 = private unnamed_addr constant [10 x i8] c" PROG:? \00", align 1 @.str.15 = private unnamed_addr constant [48 x i8] c" Option for setting path to executable file.\00", align 1 @.str.16 = private unnamed_addr constant [10 x i8] c" ARGS:? \00", align 1 @.str.17 = private unnamed_addr constant [87 x i8] c" Option for setting executable parameters. The following substitutions can be used:\00", align 1 @.str.18 = private unnamed_addr constant [42 x i8] c" %H: Replaced with target IP address.\00", align 1 @.str.19 = private unnamed_addr constant [41 x i8] c" %U: Replaced with username to test.\00", align 1 @.str.20 = private unnamed_addr constant [41 x i8] c" %P: Replaced with password to test.\00", align 1 @.str.21 = private unnamed_addr constant [88 x i8] c"Usage example: '-M wrapper -m TYPE:SINGLE -m PROG:./foo.pl -m ARGS:\22-h %H -u %U -p %P\22'\00", align 1 @.str.22 = private unnamed_addr constant [90 x i8] c"Usage example: '-M wrapper -m TYPE:STDIN -m PROG:./bar.pl -m ARGS:\22--host %H --user %U\22'\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @showUsage() #0 { %1 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4) %2 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.5) %3 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.6) %4 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.7) %5 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.8) %6 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.9) %7 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.10) %8 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.11) %9 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.12) %10 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.13) %11 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.14) %12 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.15) %13 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.9) %14 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.16) %15 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.17) %16 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.18) %17 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.19) %18 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.20) %19 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.9) %20 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.21) %21 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.22) ret void } declare i32 @writeVerbose(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/tmps2k24y13.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"%s (%s) %s :: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"wrapper.mod\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"2.0\00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c"JoMo-Kun <jmk@foofus.net>\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"Generic Wrapper Module\00", align 1 @.str.5 = private unnamed_addr constant [26 x i8] c"Available module options:\00", align 1 @.str.6 = private unnamed_addr constant [25 x i8] c" TYPE:? (SINGLE, STDIN)\00", align 1 @.str.7 = private unnamed_addr constant [83 x i8] c" Option sets type of script being called by module. See included sample scripts\00", align 1 @.str.8 = private unnamed_addr constant [38 x i8] c" for ideas how to use this module.\00", align 1 @.str.9 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.10 = private unnamed_addr constant [76 x i8] c" SINGLE: Script expects all user input comes from original command line.\00", align 1 @.str.11 = private unnamed_addr constant [73 x i8] c" STDIN: Host and user information passed to script via command line.\00", align 1 @.str.12 = private unnamed_addr constant [62 x i8] c" Passwords to test are passed via STDIN to script.\00", align 1 @.str.13 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.14 = private unnamed_addr constant [10 x i8] c" PROG:? \00", align 1 @.str.15 = private unnamed_addr constant [48 x i8] c" Option for setting path to executable file.\00", align 1 @.str.16 = private unnamed_addr constant [10 x i8] c" ARGS:? \00", align 1 @.str.17 = private unnamed_addr constant [87 x i8] c" Option for setting executable parameters. The following substitutions can be used:\00", align 1 @.str.18 = private unnamed_addr constant [42 x i8] c" %H: Replaced with target IP address.\00", align 1 @.str.19 = private unnamed_addr constant [41 x i8] c" %U: Replaced with username to test.\00", align 1 @.str.20 = private unnamed_addr constant [41 x i8] c" %P: Replaced with password to test.\00", align 1 @.str.21 = private unnamed_addr constant [88 x i8] c"Usage example: '-M wrapper -m TYPE:SINGLE -m PROG:./foo.pl -m ARGS:\22-h %H -u %U -p %P\22'\00", align 1 @.str.22 = private unnamed_addr constant [90 x i8] c"Usage example: '-M wrapper -m TYPE:STDIN -m PROG:./bar.pl -m ARGS:\22--host %H --user %U\22'\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @showUsage() #0 { %1 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4) %2 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.5) %3 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.6) %4 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.7) %5 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.8) %6 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.9) %7 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.10) %8 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.11) %9 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.12) %10 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.13) %11 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.14) %12 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.15) %13 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.9) %14 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.16) %15 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.17) %16 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.18) %17 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.19) %18 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.20) %19 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.9) %20 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.21) %21 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.22) ret void } declare i32 @writeVerbose(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/tmp823viufz.c' source_filename = "/tmp/tmp823viufz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @AngleNormalize180(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call float @AngleNormalize360(float noundef %3) store float %4, ptr %2, align 4 %5 = load float, ptr %2, align 4 %6 = fpext float %5 to double %7 = fcmp ogt double %6, 1.800000e+02 br i1 %7, label %8, label %13 8: ; preds = %1 %9 = load float, ptr %2, align 4 %10 = fpext float %9 to double %11 = fsub double %10, 3.600000e+02 %12 = fptrunc double %11 to float store float %12, ptr %2, align 4 br label %13 13: ; preds = %8, %1 %14 = load float, ptr %2, align 4 ret float %14 } declare float @AngleNormalize360(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp823viufz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @AngleNormalize180(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call float @AngleNormalize360(float noundef %3) store float %4, ptr %2, align 4 %5 = load float, ptr %2, align 4 %6 = fpext float %5 to double %7 = fcmp ogt double %6, 1.800000e+02 br i1 %7, label %8, label %13 8: ; preds = %1 %9 = load float, ptr %2, align 4 %10 = fpext float %9 to double %11 = fsub double %10, 3.600000e+02 %12 = fptrunc double %11 to float store float %12, ptr %2, align 4 br label %13 13: ; preds = %8, %1 %14 = load float, ptr %2, align 4 ret float %14 } declare float @AngleNormalize360(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqp79u1ps.c' source_filename = "/tmp/tmpqp79u1ps.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nepim_time_unit(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca float, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i64 @parse_float(ptr noundef %4, ptr noundef %5) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %16 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call i32 @atoi(ptr noundef %9) %11 = sitofp i32 %10 to float %12 = load ptr, ptr %3, align 8 %13 = call float @time_affix(ptr noundef %12) %14 = fmul float %11, %13 %15 = fptosi float %14 to i32 store i32 %15, ptr %2, align 4 br label %22 16: ; preds = %1 %17 = load float, ptr %4, align 4 %18 = load ptr, ptr %3, align 8 %19 = call float @time_affix(ptr noundef %18) %20 = fmul float %17, %19 %21 = fptosi float %20 to i32 store i32 %21, ptr %2, align 4 br label %22 22: ; preds = %16, %8 %23 = load i32, ptr %2, align 4 ret i32 %23 } declare i64 @parse_float(ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare float @time_affix(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/tmpqp79u1ps.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nepim_time_unit(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca float, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i64 @parse_float(ptr noundef %4, ptr noundef %5) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %16 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call i32 @atoi(ptr noundef %9) %11 = sitofp i32 %10 to float %12 = load ptr, ptr %3, align 8 %13 = call float @time_affix(ptr noundef %12) %14 = fmul float %11, %13 %15 = fptosi float %14 to i32 store i32 %15, ptr %2, align 4 br label %22 16: ; preds = %1 %17 = load float, ptr %4, align 4 %18 = load ptr, ptr %3, align 8 %19 = call float @time_affix(ptr noundef %18) %20 = fmul float %17, %19 %21 = fptosi float %20 to i32 store i32 %21, ptr %2, align 4 br label %22 22: ; preds = %16, %8 %23 = load i32, ptr %2, align 4 ret i32 %23 } declare i64 @parse_float(ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare float @time_affix(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/tmpwlum6vgp.c' source_filename = "/tmp/tmpwlum6vgp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [56 x i8] c"\0ADouble Couple - Moment Tensor Converter (by Onur TAN)\0A\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"Usage : dc2mt Strike Dip Rake (in degrees)\0A\00", align 1 @.str.2 = private unnamed_addr constant [58 x i8] c"Output Aki&Richards1980: Mxx Myy Mzz Mxy Mxz Myz \0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"\0AStrike = %9.5f degrees\0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"Dip = %9.5f degrees\0A\00", align 1 @.str.5 = private unnamed_addr constant [27 x i8] c"Rake/Slip = %9.5f degrees\0A\00", align 1 @.str.6 = private unnamed_addr constant [58 x i8] c"\0AOutput Aki&Richards1980: Mxx Myy Mzz Mxy Mxz Myz \0A\00", align 1 @.str.7 = private unnamed_addr constant [37 x i8] c"%9.5f %9.5f %9.5f %9.5f %9.5f %9.5f\0A\00", align 1 @.str.8 = private unnamed_addr constant [55 x i8] c"\0AOutput Harvard CMTSOLUTION: Mrr Mtt Mpp Mrt Mrp Mtp\0A\00", align 1 @.str.9 = private unnamed_addr constant [12 x i8] c"Mrr: %9.5f\0A\00", align 1 @.str.10 = private unnamed_addr constant [12 x i8] c"Mtt: %9.5f\0A\00", align 1 @.str.11 = private unnamed_addr constant [12 x i8] c"Mpp: %9.5f\0A\00", align 1 @.str.12 = private unnamed_addr constant [12 x i8] c"Mrt: %9.5f\0A\00", align 1 @.str.13 = private unnamed_addr constant [12 x i8] c"Mrp: %9.5f\0A\00", align 1 @.str.14 = private unnamed_addr constant [13 x i8] c"Mtp: %9.5f\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 %18 = alloca float, align 4 %19 = alloca float, align 4 %20 = alloca float, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %21 = load i32, ptr %3, align 4 %22 = icmp ne i32 %21, 4 br i1 %22, label %23, label %28 23: ; preds = %2 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %27 = call i32 @exit(i32 noundef 1) #4 unreachable 28: ; preds = %2 store float 0x3F91DF46A0000000, ptr %8, align 4 %29 = load ptr, ptr %4, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 1 %31 = load ptr, ptr %30, align 8 %32 = call float @atof(ptr noundef %31) store float %32, ptr %5, align 4 %33 = load ptr, ptr %4, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 2 %35 = load ptr, ptr %34, align 8 %36 = call float @atof(ptr noundef %35) store float %36, ptr %6, align 4 %37 = load ptr, ptr %4, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 3 %39 = load ptr, ptr %38, align 8 %40 = call float @atof(ptr noundef %39) store float %40, ptr %7, align 4 %41 = load float, ptr %5, align 4 %42 = fpext float %41 to double %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %42) %44 = load float, ptr %6, align 4 %45 = fpext float %44 to double %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %45) %47 = load float, ptr %7, align 4 %48 = fpext float %47 to double %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %48) %50 = load float, ptr %8, align 4 %51 = load float, ptr %5, align 4 %52 = fmul float %51, %50 store float %52, ptr %5, align 4 %53 = load float, ptr %8, align 4 %54 = load float, ptr %6, align 4 %55 = fmul float %54, %53 store float %55, ptr %6, align 4 %56 = load float, ptr %8, align 4 %57 = load float, ptr %7, align 4 %58 = fmul float %57, %56 store float %58, ptr %7, align 4 %59 = load float, ptr %6, align 4 %60 = call double @sin(float noundef %59) %61 = load float, ptr %7, align 4 %62 = call double @cos(float noundef %61) %63 = fmul double %60, %62 %64 = load float, ptr %5, align 4 %65 = fmul float 2.000000e+00, %64 %66 = call double @sin(float noundef %65) %67 = load float, ptr %6, align 4 %68 = fmul float 2.000000e+00, %67 %69 = call double @sin(float noundef %68) %70 = load float, ptr %7, align 4 %71 = call double @sin(float noundef %70) %72 = fmul double %69, %71 %73 = load float, ptr %5, align 4 %74 = call double @sin(float noundef %73) %75 = fmul double %72, %74 %76 = load float, ptr %5, align 4 %77 = call double @sin(float noundef %76) %78 = fmul double %75, %77 %79 = call double @llvm.fmuladd.f64(double %63, double %66, double %78) %80 = fmul double -1.000000e+00, %79 %81 = fptrunc double %80 to float store float %81, ptr %9, align 4 %82 = load float, ptr %6, align 4 %83 = call double @sin(float noundef %82) %84 = load float, ptr %7, align 4 %85 = call double @cos(float noundef %84) %86 = fmul double %83, %85 %87 = load float, ptr %5, align 4 %88 = fmul float 2.000000e+00, %87 %89 = call double @sin(float noundef %88) %90 = load float, ptr %6, align 4 %91 = fmul float 2.000000e+00, %90 %92 = call double @sin(float noundef %91) %93 = load float, ptr %7, align 4 %94 = call double @sin(float noundef %93) %95 = fmul double %92, %94 %96 = load float, ptr %5, align 4 %97 = call double @cos(float noundef %96) %98 = fmul double %95, %97 %99 = load float, ptr %5, align 4 %100 = call double @cos(float noundef %99) %101 = fmul double %98, %100 %102 = fneg double %101 %103 = call double @llvm.fmuladd.f64(double %86, double %89, double %102) %104 = fptrunc double %103 to float store float %104, ptr %10, align 4 %105 = load float, ptr %9, align 4 %106 = load float, ptr %10, align 4 %107 = fadd float %105, %106 %108 = fpext float %107 to double %109 = fmul double -1.000000e+00, %108 %110 = fptrunc double %109 to float store float %110, ptr %11, align 4 %111 = load float, ptr %6, align 4 %112 = call double @sin(float noundef %111) %113 = load float, ptr %7, align 4 %114 = call double @cos(float noundef %113) %115 = fmul double %112, %114 %116 = load float, ptr %5, align 4 %117 = fmul float 2.000000e+00, %116 %118 = call double @cos(float noundef %117) %119 = load float, ptr %6, align 4 %120 = fmul float 2.000000e+00, %119 %121 = call double @sin(float noundef %120) %122 = fmul double 5.000000e-01, %121 %123 = load float, ptr %7, align 4 %124 = call double @sin(float noundef %123) %125 = fmul double %122, %124 %126 = load float, ptr %5, align 4 %127 = fmul float 2.000000e+00, %126 %128 = call double @sin(float noundef %127) %129 = fmul double %125, %128 %130 = call double @llvm.fmuladd.f64(double %115, double %118, double %129) %131 = fptrunc double %130 to float store float %131, ptr %12, align 4 %132 = load float, ptr %6, align 4 %133 = call double @cos(float noundef %132) %134 = load float, ptr %7, align 4 %135 = call double @cos(float noundef %134) %136 = fmul double %133, %135 %137 = load float, ptr %5, align 4 %138 = call double @cos(float noundef %137) %139 = load float, ptr %6, align 4 %140 = fmul float 2.000000e+00, %139 %141 = call double @cos(float noundef %140) %142 = load float, ptr %7, align 4 %143 = call double @sin(float noundef %142) %144 = fmul double %141, %143 %145 = load float, ptr %5, align 4 %146 = call double @sin(float noundef %145) %147 = fmul double %144, %146 %148 = call double @llvm.fmuladd.f64(double %136, double %138, double %147) %149 = fmul double -1.000000e+00, %148 %150 = fptrunc double %149 to float store float %150, ptr %13, align 4 %151 = load float, ptr %6, align 4 %152 = call double @cos(float noundef %151) %153 = load float, ptr %7, align 4 %154 = call double @cos(float noundef %153) %155 = fmul double %152, %154 %156 = load float, ptr %5, align 4 %157 = call double @sin(float noundef %156) %158 = load float, ptr %6, align 4 %159 = fmul float 2.000000e+00, %158 %160 = call double @cos(float noundef %159) %161 = load float, ptr %7, align 4 %162 = call double @sin(float noundef %161) %163 = fmul double %160, %162 %164 = load float, ptr %5, align 4 %165 = call double @cos(float noundef %164) %166 = fmul double %163, %165 %167 = fneg double %166 %168 = call double @llvm.fmuladd.f64(double %155, double %157, double %167) %169 = fmul double -1.000000e+00, %168 %170 = fptrunc double %169 to float store float %170, ptr %14, align 4 %171 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %172 = load float, ptr %9, align 4 %173 = fpext float %172 to double %174 = load float, ptr %10, align 4 %175 = fpext float %174 to double %176 = load float, ptr %11, align 4 %177 = fpext float %176 to double %178 = load float, ptr %12, align 4 %179 = fpext float %178 to double %180 = load float, ptr %13, align 4 %181 = fpext float %180 to double %182 = load float, ptr %14, align 4 %183 = fpext float %182 to double %184 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %173, double noundef %175, double noundef %177, double noundef %179, double noundef %181, double noundef %183) %185 = load float, ptr %9, align 4 store float %185, ptr %16, align 4 %186 = load float, ptr %10, align 4 store float %186, ptr %17, align 4 %187 = load float, ptr %11, align 4 store float %187, ptr %15, align 4 %188 = load float, ptr %12, align 4 %189 = fpext float %188 to double %190 = fmul double %189, -1.000000e+00 %191 = fptrunc double %190 to float store float %191, ptr %20, align 4 %192 = load float, ptr %13, align 4 store float %192, ptr %18, align 4 %193 = load float, ptr %14, align 4 %194 = fpext float %193 to double %195 = fmul double %194, -1.000000e+00 %196 = fptrunc double %195 to float store float %196, ptr %19, align 4 %197 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %198 = load float, ptr %15, align 4 %199 = fpext float %198 to double %200 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %199) %201 = load float, ptr %16, align 4 %202 = fpext float %201 to double %203 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %202) %204 = load float, ptr %17, align 4 %205 = fpext float %204 to double %206 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, double noundef %205) %207 = load float, ptr %18, align 4 %208 = fpext float %207 to double %209 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, double noundef %208) %210 = load float, ptr %19, align 4 %211 = fpext float %210 to double %212 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, double noundef %211) %213 = load float, ptr %20, align 4 %214 = fpext float %213 to double %215 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, double noundef %214) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare float @atof(ptr noundef) #1 declare double @sin(float noundef) #1 declare double @cos(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { 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/tmpwlum6vgp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [56 x i8] c"\0ADouble Couple - Moment Tensor Converter (by Onur TAN)\0A\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"Usage : dc2mt Strike Dip Rake (in degrees)\0A\00", align 1 @.str.2 = private unnamed_addr constant [58 x i8] c"Output Aki&Richards1980: Mxx Myy Mzz Mxy Mxz Myz \0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"\0AStrike = %9.5f degrees\0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"Dip = %9.5f degrees\0A\00", align 1 @.str.5 = private unnamed_addr constant [27 x i8] c"Rake/Slip = %9.5f degrees\0A\00", align 1 @.str.6 = private unnamed_addr constant [58 x i8] c"\0AOutput Aki&Richards1980: Mxx Myy Mzz Mxy Mxz Myz \0A\00", align 1 @.str.7 = private unnamed_addr constant [37 x i8] c"%9.5f %9.5f %9.5f %9.5f %9.5f %9.5f\0A\00", align 1 @.str.8 = private unnamed_addr constant [55 x i8] c"\0AOutput Harvard CMTSOLUTION: Mrr Mtt Mpp Mrt Mrp Mtp\0A\00", align 1 @.str.9 = private unnamed_addr constant [12 x i8] c"Mrr: %9.5f\0A\00", align 1 @.str.10 = private unnamed_addr constant [12 x i8] c"Mtt: %9.5f\0A\00", align 1 @.str.11 = private unnamed_addr constant [12 x i8] c"Mpp: %9.5f\0A\00", align 1 @.str.12 = private unnamed_addr constant [12 x i8] c"Mrt: %9.5f\0A\00", align 1 @.str.13 = private unnamed_addr constant [12 x i8] c"Mrp: %9.5f\0A\00", align 1 @.str.14 = private unnamed_addr constant [13 x i8] c"Mtp: %9.5f\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 %18 = alloca float, align 4 %19 = alloca float, align 4 %20 = alloca float, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %21 = load i32, ptr %3, align 4 %22 = icmp ne i32 %21, 4 br i1 %22, label %23, label %28 23: ; preds = %2 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %27 = call i32 @exit(i32 noundef 1) #4 unreachable 28: ; preds = %2 store float 0x3F91DF46A0000000, ptr %8, align 4 %29 = load ptr, ptr %4, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 1 %31 = load ptr, ptr %30, align 8 %32 = call float @atof(ptr noundef %31) store float %32, ptr %5, align 4 %33 = load ptr, ptr %4, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 2 %35 = load ptr, ptr %34, align 8 %36 = call float @atof(ptr noundef %35) store float %36, ptr %6, align 4 %37 = load ptr, ptr %4, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 3 %39 = load ptr, ptr %38, align 8 %40 = call float @atof(ptr noundef %39) store float %40, ptr %7, align 4 %41 = load float, ptr %5, align 4 %42 = fpext float %41 to double %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %42) %44 = load float, ptr %6, align 4 %45 = fpext float %44 to double %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %45) %47 = load float, ptr %7, align 4 %48 = fpext float %47 to double %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %48) %50 = load float, ptr %8, align 4 %51 = load float, ptr %5, align 4 %52 = fmul float %51, %50 store float %52, ptr %5, align 4 %53 = load float, ptr %8, align 4 %54 = load float, ptr %6, align 4 %55 = fmul float %54, %53 store float %55, ptr %6, align 4 %56 = load float, ptr %8, align 4 %57 = load float, ptr %7, align 4 %58 = fmul float %57, %56 store float %58, ptr %7, align 4 %59 = load float, ptr %6, align 4 %60 = call double @sin(float noundef %59) %61 = load float, ptr %7, align 4 %62 = call double @cos(float noundef %61) %63 = fmul double %60, %62 %64 = load float, ptr %5, align 4 %65 = fmul float 2.000000e+00, %64 %66 = call double @sin(float noundef %65) %67 = load float, ptr %6, align 4 %68 = fmul float 2.000000e+00, %67 %69 = call double @sin(float noundef %68) %70 = load float, ptr %7, align 4 %71 = call double @sin(float noundef %70) %72 = fmul double %69, %71 %73 = load float, ptr %5, align 4 %74 = call double @sin(float noundef %73) %75 = fmul double %72, %74 %76 = load float, ptr %5, align 4 %77 = call double @sin(float noundef %76) %78 = fmul double %75, %77 %79 = call double @llvm.fmuladd.f64(double %63, double %66, double %78) %80 = fmul double -1.000000e+00, %79 %81 = fptrunc double %80 to float store float %81, ptr %9, align 4 %82 = load float, ptr %6, align 4 %83 = call double @sin(float noundef %82) %84 = load float, ptr %7, align 4 %85 = call double @cos(float noundef %84) %86 = fmul double %83, %85 %87 = load float, ptr %5, align 4 %88 = fmul float 2.000000e+00, %87 %89 = call double @sin(float noundef %88) %90 = load float, ptr %6, align 4 %91 = fmul float 2.000000e+00, %90 %92 = call double @sin(float noundef %91) %93 = load float, ptr %7, align 4 %94 = call double @sin(float noundef %93) %95 = fmul double %92, %94 %96 = load float, ptr %5, align 4 %97 = call double @cos(float noundef %96) %98 = fmul double %95, %97 %99 = load float, ptr %5, align 4 %100 = call double @cos(float noundef %99) %101 = fmul double %98, %100 %102 = fneg double %101 %103 = call double @llvm.fmuladd.f64(double %86, double %89, double %102) %104 = fptrunc double %103 to float store float %104, ptr %10, align 4 %105 = load float, ptr %9, align 4 %106 = load float, ptr %10, align 4 %107 = fadd float %105, %106 %108 = fpext float %107 to double %109 = fmul double -1.000000e+00, %108 %110 = fptrunc double %109 to float store float %110, ptr %11, align 4 %111 = load float, ptr %6, align 4 %112 = call double @sin(float noundef %111) %113 = load float, ptr %7, align 4 %114 = call double @cos(float noundef %113) %115 = fmul double %112, %114 %116 = load float, ptr %5, align 4 %117 = fmul float 2.000000e+00, %116 %118 = call double @cos(float noundef %117) %119 = load float, ptr %6, align 4 %120 = fmul float 2.000000e+00, %119 %121 = call double @sin(float noundef %120) %122 = fmul double 5.000000e-01, %121 %123 = load float, ptr %7, align 4 %124 = call double @sin(float noundef %123) %125 = fmul double %122, %124 %126 = load float, ptr %5, align 4 %127 = fmul float 2.000000e+00, %126 %128 = call double @sin(float noundef %127) %129 = fmul double %125, %128 %130 = call double @llvm.fmuladd.f64(double %115, double %118, double %129) %131 = fptrunc double %130 to float store float %131, ptr %12, align 4 %132 = load float, ptr %6, align 4 %133 = call double @cos(float noundef %132) %134 = load float, ptr %7, align 4 %135 = call double @cos(float noundef %134) %136 = fmul double %133, %135 %137 = load float, ptr %5, align 4 %138 = call double @cos(float noundef %137) %139 = load float, ptr %6, align 4 %140 = fmul float 2.000000e+00, %139 %141 = call double @cos(float noundef %140) %142 = load float, ptr %7, align 4 %143 = call double @sin(float noundef %142) %144 = fmul double %141, %143 %145 = load float, ptr %5, align 4 %146 = call double @sin(float noundef %145) %147 = fmul double %144, %146 %148 = call double @llvm.fmuladd.f64(double %136, double %138, double %147) %149 = fmul double -1.000000e+00, %148 %150 = fptrunc double %149 to float store float %150, ptr %13, align 4 %151 = load float, ptr %6, align 4 %152 = call double @cos(float noundef %151) %153 = load float, ptr %7, align 4 %154 = call double @cos(float noundef %153) %155 = fmul double %152, %154 %156 = load float, ptr %5, align 4 %157 = call double @sin(float noundef %156) %158 = load float, ptr %6, align 4 %159 = fmul float 2.000000e+00, %158 %160 = call double @cos(float noundef %159) %161 = load float, ptr %7, align 4 %162 = call double @sin(float noundef %161) %163 = fmul double %160, %162 %164 = load float, ptr %5, align 4 %165 = call double @cos(float noundef %164) %166 = fmul double %163, %165 %167 = fneg double %166 %168 = call double @llvm.fmuladd.f64(double %155, double %157, double %167) %169 = fmul double -1.000000e+00, %168 %170 = fptrunc double %169 to float store float %170, ptr %14, align 4 %171 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %172 = load float, ptr %9, align 4 %173 = fpext float %172 to double %174 = load float, ptr %10, align 4 %175 = fpext float %174 to double %176 = load float, ptr %11, align 4 %177 = fpext float %176 to double %178 = load float, ptr %12, align 4 %179 = fpext float %178 to double %180 = load float, ptr %13, align 4 %181 = fpext float %180 to double %182 = load float, ptr %14, align 4 %183 = fpext float %182 to double %184 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %173, double noundef %175, double noundef %177, double noundef %179, double noundef %181, double noundef %183) %185 = load float, ptr %9, align 4 store float %185, ptr %16, align 4 %186 = load float, ptr %10, align 4 store float %186, ptr %17, align 4 %187 = load float, ptr %11, align 4 store float %187, ptr %15, align 4 %188 = load float, ptr %12, align 4 %189 = fpext float %188 to double %190 = fmul double %189, -1.000000e+00 %191 = fptrunc double %190 to float store float %191, ptr %20, align 4 %192 = load float, ptr %13, align 4 store float %192, ptr %18, align 4 %193 = load float, ptr %14, align 4 %194 = fpext float %193 to double %195 = fmul double %194, -1.000000e+00 %196 = fptrunc double %195 to float store float %196, ptr %19, align 4 %197 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %198 = load float, ptr %15, align 4 %199 = fpext float %198 to double %200 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %199) %201 = load float, ptr %16, align 4 %202 = fpext float %201 to double %203 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %202) %204 = load float, ptr %17, align 4 %205 = fpext float %204 to double %206 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, double noundef %205) %207 = load float, ptr %18, align 4 %208 = fpext float %207 to double %209 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, double noundef %208) %210 = load float, ptr %19, align 4 %211 = fpext float %210 to double %212 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, double noundef %211) %213 = load float, ptr %20, align 4 %214 = fpext float %213 to double %215 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, double noundef %214) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare float @atof(ptr noundef) #1 declare double @sin(float noundef) #1 declare double @cos(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { 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/tmpbh7xi0db.c' source_filename = "/tmp/tmpbh7xi0db.c" target datalayout = "e-m:e-p270: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/tmpbh7xi0db.c" target datalayout = "e-m:e-p270: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/tmph_77fa34.c' source_filename = "/tmp/tmph_77fa34.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @evaluatePostfix(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strlen(ptr noundef %8) %10 = call ptr @createStack(i32 noundef %9) store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %14, label %13 13: ; preds = %1 store i32 -1, ptr %2, align 4 br label %83 14: ; preds = %1 store i32 0, ptr %5, align 4 br label %15 15: ; preds = %77, %14 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i8, ptr %19, align 1 %21 = icmp ne i8 %20, 0 br i1 %21, label %22, label %80 22: ; preds = %15 %23 = load ptr, ptr %3, align 8 %24 = load i32, ptr %5, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i8, ptr %26, align 1 %28 = call i64 @isdigit(i8 noundef signext %27) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %40 30: ; preds = %22 %31 = load ptr, ptr %4, align 8 %32 = load ptr, ptr %3, align 8 %33 = load i32, ptr %5, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = sub nsw i32 %37, 48 %39 = call i32 @push(ptr noundef %31, i32 noundef %38) br label %76 40: ; preds = %22 %41 = load ptr, ptr %4, align 8 %42 = call i32 @pop(ptr noundef %41) store i32 %42, ptr %6, align 4 %43 = load ptr, ptr %4, align 8 %44 = call i32 @pop(ptr noundef %43) store i32 %44, ptr %7, align 4 %45 = load ptr, ptr %3, align 8 %46 = load i32, ptr %5, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %45, i64 %47 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 switch i32 %50, label %75 [ i32 43, label %51 i32 45, label %57 i32 42, label %63 i32 47, label %69 ] 51: ; preds = %40 %52 = load ptr, ptr %4, align 8 %53 = load i32, ptr %7, align 4 %54 = load i32, ptr %6, align 4 %55 = add nsw i32 %53, %54 %56 = call i32 @push(ptr noundef %52, i32 noundef %55) br label %75 57: ; preds = %40 %58 = load ptr, ptr %4, align 8 %59 = load i32, ptr %7, align 4 %60 = load i32, ptr %6, align 4 %61 = sub nsw i32 %59, %60 %62 = call i32 @push(ptr noundef %58, i32 noundef %61) br label %75 63: ; preds = %40 %64 = load ptr, ptr %4, align 8 %65 = load i32, ptr %7, align 4 %66 = load i32, ptr %6, align 4 %67 = mul nsw i32 %65, %66 %68 = call i32 @push(ptr noundef %64, i32 noundef %67) br label %75 69: ; preds = %40 %70 = load ptr, ptr %4, align 8 %71 = load i32, ptr %7, align 4 %72 = load i32, ptr %6, align 4 %73 = sdiv i32 %71, %72 %74 = call i32 @push(ptr noundef %70, i32 noundef %73) br label %75 75: ; preds = %40, %69, %63, %57, %51 br label %76 76: ; preds = %75, %30 br label %77 77: ; preds = %76 %78 = load i32, ptr %5, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %5, align 4 br label %15, !llvm.loop !6 80: ; preds = %15 %81 = load ptr, ptr %4, align 8 %82 = call i32 @pop(ptr noundef %81) store i32 %82, ptr %2, align 4 br label %83 83: ; preds = %80, %13 %84 = load i32, ptr %2, align 4 ret i32 %84 } declare ptr @createStack(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @isdigit(i8 noundef signext) #1 declare i32 @push(ptr noundef, i32 noundef) #1 declare i32 @pop(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/tmph_77fa34.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @evaluatePostfix(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strlen(ptr noundef %8) %10 = call ptr @createStack(i32 noundef %9) store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %14, label %13 13: ; preds = %1 store i32 -1, ptr %2, align 4 br label %88 14: ; preds = %1 store i32 0, ptr %5, align 4 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = icmp ne i8 %19, 0 br i1 %20, label %.lr.ph, label %85 .lr.ph: ; preds = %14 br label %21 21: ; preds = %.lr.ph, %76 %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %5, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 %26 = load i8, ptr %25, align 1 %27 = call i64 @isdigit(i8 noundef signext %26) %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %39 29: ; preds = %21 %30 = load ptr, ptr %4, align 8 %31 = load ptr, ptr %3, align 8 %32 = load i32, ptr %5, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %31, i64 %33 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = sub nsw i32 %36, 48 %38 = call i32 @push(ptr noundef %30, i32 noundef %37) br label %75 39: ; preds = %21 %40 = load ptr, ptr %4, align 8 %41 = call i32 @pop(ptr noundef %40) store i32 %41, ptr %6, align 4 %42 = load ptr, ptr %4, align 8 %43 = call i32 @pop(ptr noundef %42) store i32 %43, ptr %7, align 4 %44 = load ptr, ptr %3, align 8 %45 = load i32, ptr %5, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 switch i32 %49, label %74 [ i32 43, label %50 i32 45, label %56 i32 42, label %62 i32 47, label %68 ] 50: ; preds = %39 %51 = load ptr, ptr %4, align 8 %52 = load i32, ptr %7, align 4 %53 = load i32, ptr %6, align 4 %54 = add nsw i32 %52, %53 %55 = call i32 @push(ptr noundef %51, i32 noundef %54) br label %74 56: ; preds = %39 %57 = load ptr, ptr %4, align 8 %58 = load i32, ptr %7, align 4 %59 = load i32, ptr %6, align 4 %60 = sub nsw i32 %58, %59 %61 = call i32 @push(ptr noundef %57, i32 noundef %60) br label %74 62: ; preds = %39 %63 = load ptr, ptr %4, align 8 %64 = load i32, ptr %7, align 4 %65 = load i32, ptr %6, align 4 %66 = mul nsw i32 %64, %65 %67 = call i32 @push(ptr noundef %63, i32 noundef %66) br label %74 68: ; preds = %39 %69 = load ptr, ptr %4, align 8 %70 = load i32, ptr %7, align 4 %71 = load i32, ptr %6, align 4 %72 = sdiv i32 %70, %71 %73 = call i32 @push(ptr noundef %69, i32 noundef %72) br label %74 74: ; preds = %68, %62, %56, %50, %39 br label %75 75: ; preds = %74, %29 br label %76 76: ; preds = %75 %77 = load i32, ptr %5, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %5, align 4 %79 = load ptr, ptr %3, align 8 %80 = load i32, ptr %5, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i8, ptr %79, i64 %81 %83 = load i8, ptr %82, align 1 %84 = icmp ne i8 %83, 0 br i1 %84, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %76 br label %85 85: ; preds = %._crit_edge, %14 %86 = load ptr, ptr %4, align 8 %87 = call i32 @pop(ptr noundef %86) store i32 %87, ptr %2, align 4 br label %88 88: ; preds = %85, %13 %89 = load i32, ptr %2, align 4 ret i32 %89 } declare ptr @createStack(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @isdigit(i8 noundef signext) #1 declare i32 @push(ptr noundef, i32 noundef) #1 declare i32 @pop(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/tmpf922457r.c' source_filename = "/tmp/tmpf922457r.c" target datalayout = "e-m:e-p270: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 [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isspace.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isspace should be 0 for 0x88\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isspace_0x88() #0 { %1 = call i64 @isspace(i32 noundef 136) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 685, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isspace(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf922457r.c" target datalayout = "e-m:e-p270: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 [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isspace.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isspace should be 0 for 0x88\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isspace_0x88() #0 { %1 = call i64 @isspace(i32 noundef 136) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 685, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isspace(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpg7zc_qny.c' source_filename = "/tmp/tmpg7zc_qny.c" target datalayout = "e-m:e-p270: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"%%\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @echo_command_line(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %7, ptr noundef @.str) br label %9 9: ; preds = %13, %3 %10 = load i32, ptr %5, align 4 %11 = add nsw i32 %10, -1 store i32 %11, ptr %5, align 4 %12 = icmp sge i32 %11, 0 br i1 %12, label %13, label %23 13: ; preds = %9 %14 = load ptr, ptr %4, align 8 %15 = load ptr, ptr %6, align 8 %16 = getelementptr inbounds ptr, ptr %15, i32 1 store ptr %16, ptr %6, align 8 %17 = load ptr, ptr %15, align 8 %18 = load i32, ptr %5, align 4 %19 = icmp sgt i32 %18, 0 %20 = zext i1 %19 to i64 %21 = select i1 %19, ptr @.str.2, ptr @.str.3 %22 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %14, ptr noundef @.str.1, ptr noundef %17, ptr noundef %21) br label %9, !llvm.loop !6 23: ; preds = %9 %24 = load ptr, ptr %4, align 8 %25 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef @.str.4) ret void } declare i32 @fprintf(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/tmpg7zc_qny.c" target datalayout = "e-m:e-p270: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"%%\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @echo_command_line(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %7, ptr noundef @.str) %9 = load i32, ptr %5, align 4 %10 = add nsw i32 %9, -1 store i32 %10, ptr %5, align 4 %11 = icmp sge i32 %10, 0 br i1 %11, label %.lr.ph, label %25 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %12 %13 = load ptr, ptr %4, align 8 %14 = load ptr, ptr %6, align 8 %15 = getelementptr inbounds ptr, ptr %14, i32 1 store ptr %15, ptr %6, align 8 %16 = load ptr, ptr %14, align 8 %17 = load i32, ptr %5, align 4 %18 = icmp sgt i32 %17, 0 %19 = zext i1 %18 to i64 %20 = select i1 %18, ptr @.str.2, ptr @.str.3 %21 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %13, ptr noundef @.str.1, ptr noundef %16, ptr noundef %20) %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, -1 store i32 %23, ptr %5, align 4 %24 = icmp sge i32 %23, 0 br i1 %24, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %25 25: ; preds = %._crit_edge, %3 %26 = load ptr, ptr %4, align 8 %27 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %26, ptr noundef @.str.4) ret void } declare i32 @fprintf(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/tmpqo63eo_z.c' source_filename = "/tmp/tmpqo63eo_z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"You are now OFFLINE.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @failure_handler() #0 { %1 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqo63eo_z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"You are now OFFLINE.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @failure_handler() #0 { %1 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4ogs_ovq.c' source_filename = "/tmp/tmp4ogs_ovq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @convert_3d_indices_to_linear_index(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %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 store i32 %0, ptr %7, align 4 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %8, align 4 %15 = load i32, ptr %9, align 4 %16 = load i32, ptr %10, align 4 %17 = load i32, ptr %11, align 4 %18 = load i32, ptr %12, align 4 %19 = call i32 @convert_3d_indices_to_linear_index_inline(i32 noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef %17, i32 noundef %18) ret i32 %19 } declare i32 @convert_3d_indices_to_linear_index_inline(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/tmp4ogs_ovq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @convert_3d_indices_to_linear_index(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %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 store i32 %0, ptr %7, align 4 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %8, align 4 %15 = load i32, ptr %9, align 4 %16 = load i32, ptr %10, align 4 %17 = load i32, ptr %11, align 4 %18 = load i32, ptr %12, align 4 %19 = call i32 @convert_3d_indices_to_linear_index_inline(i32 noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef %17, i32 noundef %18) ret i32 %19 } declare i32 @convert_3d_indices_to_linear_index_inline(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/tmpj8et54ev.c' source_filename = "/tmp/tmpj8et54ev.c" target datalayout = "e-m:e-p270: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 [27 x i8] c"\E6\88\91\E6\98\AF\E7\BE\8E\E5\A5\B3\E5\A5\B6\E8\8C\B6\E5\A6\B9\E5\A6\B9!\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"\E6\98\99\E8\8A\B1\E4\B8\80\E7\8E\B0!\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"\E5\87\89\E8\8C\B6\EF\BC\8C\E7\8E\8B\E8\80\81\E5\90\89!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %3 3: ; preds = %0 %4 = call i32 @printf(ptr noundef @.str) br label %5 5: ; preds = %12, %3 %6 = call i32 @printf(ptr noundef @.str.1) br label %7 7: ; preds = %5 %8 = call i32 @printf(ptr noundef @.str.2) %9 = load i32, ptr %2, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %2, align 4 %11 = icmp sle i32 %10, 2 br i1 %11, label %12, label %13 12: ; preds = %7 br label %5 13: ; preds = %7 %14 = load i32, ptr %1, align 4 ret i32 %14 } 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/tmpj8et54ev.c" target datalayout = "e-m:e-p270: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 [27 x i8] c"\E6\88\91\E6\98\AF\E7\BE\8E\E5\A5\B3\E5\A5\B6\E8\8C\B6\E5\A6\B9\E5\A6\B9!\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"\E6\98\99\E8\8A\B1\E4\B8\80\E7\8E\B0!\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"\E5\87\89\E8\8C\B6\EF\BC\8C\E7\8E\8B\E8\80\81\E5\90\89!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %3 3: ; preds = %0 %4 = call i32 @printf(ptr noundef @.str) br label %5 5: ; preds = %7, %3 %6 = call i32 @printf(ptr noundef @.str.1) br label %7 7: ; preds = %5 %8 = call i32 @printf(ptr noundef @.str.2) %9 = load i32, ptr %2, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %2, align 4 %11 = icmp sle i32 %10, 2 br i1 %11, label %5, label %12 12: ; preds = %7 %13 = load i32, ptr %1, align 4 ret i32 %13 } 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/tmpd6j7wx_a.c' source_filename = "/tmp/tmpd6j7wx_a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 (...) @rec() ret i32 0 } declare i32 @rec(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd6j7wx_a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 (...) @rec() ret i32 0 } declare i32 @rec(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpt08zrxiv.c' source_filename = "/tmp/tmpt08zrxiv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @neighborhoodChange(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, i32 noundef %9, i32 noundef %10) #0 { %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %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 store ptr %0, ptr %12, align 8 store ptr %1, ptr %13, align 8 store ptr %2, ptr %14, align 8 store i32 %3, ptr %15, align 4 store ptr %4, ptr %16, align 8 store i32 %5, ptr %17, align 4 store ptr %6, ptr %18, align 8 store ptr %7, ptr %19, align 8 store ptr %8, ptr %20, align 8 store i32 %9, ptr %21, align 4 store i32 %10, ptr %22, align 4 %23 = load ptr, ptr %13, align 8 %24 = load i32, ptr %15, align 4 %25 = load i32, ptr %21, align 4 %26 = load i32, ptr %22, align 4 %27 = call i32 @checkisLbUb(ptr noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26) %28 = load ptr, ptr %13, align 8 %29 = load ptr, ptr %19, align 8 %30 = call double @objfunc(ptr noundef %28, ptr noundef %17, ptr noundef %15, ptr noundef %29) %31 = load ptr, ptr %20, align 8 store double %30, ptr %31, align 8 %32 = load ptr, ptr %20, align 8 %33 = load double, ptr %32, align 8 %34 = load ptr, ptr %14, align 8 %35 = load double, ptr %34, align 8 %36 = fcmp olt double %33, %35 br i1 %36, label %37, label %52 37: ; preds = %11 %38 = load ptr, ptr %19, align 8 %39 = load i32, ptr %38, align 4 %40 = load ptr, ptr %18, align 8 store i32 %39, ptr %40, align 4 %41 = load ptr, ptr %12, align 8 %42 = load ptr, ptr %13, align 8 %43 = load i32, ptr %15, align 4 %44 = sext i32 %43 to i64 %45 = mul i64 %44, 8 %46 = trunc i64 %45 to i32 %47 = call i32 @memcpy(ptr noundef %41, ptr noundef %42, i32 noundef %46) %48 = load ptr, ptr %20, align 8 %49 = load double, ptr %48, align 8 %50 = load ptr, ptr %14, align 8 store double %49, ptr %50, align 8 %51 = load ptr, ptr %16, align 8 store i32 1, ptr %51, align 4 br label %56 52: ; preds = %11 %53 = load ptr, ptr %16, align 8 %54 = load i32, ptr %53, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %53, align 4 br label %56 56: ; preds = %52, %37 ret void } declare i32 @checkisLbUb(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare double @objfunc(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt08zrxiv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @neighborhoodChange(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, i32 noundef %9, i32 noundef %10) #0 { %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %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 store ptr %0, ptr %12, align 8 store ptr %1, ptr %13, align 8 store ptr %2, ptr %14, align 8 store i32 %3, ptr %15, align 4 store ptr %4, ptr %16, align 8 store i32 %5, ptr %17, align 4 store ptr %6, ptr %18, align 8 store ptr %7, ptr %19, align 8 store ptr %8, ptr %20, align 8 store i32 %9, ptr %21, align 4 store i32 %10, ptr %22, align 4 %23 = load ptr, ptr %13, align 8 %24 = load i32, ptr %15, align 4 %25 = load i32, ptr %21, align 4 %26 = load i32, ptr %22, align 4 %27 = call i32 @checkisLbUb(ptr noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26) %28 = load ptr, ptr %13, align 8 %29 = load ptr, ptr %19, align 8 %30 = call double @objfunc(ptr noundef %28, ptr noundef %17, ptr noundef %15, ptr noundef %29) %31 = load ptr, ptr %20, align 8 store double %30, ptr %31, align 8 %32 = load ptr, ptr %20, align 8 %33 = load double, ptr %32, align 8 %34 = load ptr, ptr %14, align 8 %35 = load double, ptr %34, align 8 %36 = fcmp olt double %33, %35 br i1 %36, label %37, label %52 37: ; preds = %11 %38 = load ptr, ptr %19, align 8 %39 = load i32, ptr %38, align 4 %40 = load ptr, ptr %18, align 8 store i32 %39, ptr %40, align 4 %41 = load ptr, ptr %12, align 8 %42 = load ptr, ptr %13, align 8 %43 = load i32, ptr %15, align 4 %44 = sext i32 %43 to i64 %45 = mul i64 %44, 8 %46 = trunc i64 %45 to i32 %47 = call i32 @memcpy(ptr noundef %41, ptr noundef %42, i32 noundef %46) %48 = load ptr, ptr %20, align 8 %49 = load double, ptr %48, align 8 %50 = load ptr, ptr %14, align 8 store double %49, ptr %50, align 8 %51 = load ptr, ptr %16, align 8 store i32 1, ptr %51, align 4 br label %56 52: ; preds = %11 %53 = load ptr, ptr %16, align 8 %54 = load i32, ptr %53, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %53, align 4 br label %56 56: ; preds = %52, %37 ret void } declare i32 @checkisLbUb(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare double @objfunc(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpigrqgscp.c' source_filename = "/tmp/tmpigrqgscp.c" target datalayout = "e-m:e-p270: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/tmpigrqgscp.c" target datalayout = "e-m:e-p270: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/tmpb_pjlfrn.c' source_filename = "/tmp/tmpb_pjlfrn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initAlloc(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i64 0, ptr %5, align 8 br label %6 6: ; preds = %16, %2 %7 = load i64, ptr %5, align 8 %8 = load i64, ptr %3, align 8 %9 = icmp ult i64 %7, %8 br i1 %9, label %10, label %19 10: ; preds = %6 %11 = call i64 (...) @random() %12 = trunc i64 %11 to i8 %13 = load ptr, ptr %4, align 8 %14 = load i64, ptr %5, align 8 %15 = getelementptr inbounds i8, ptr %13, i64 %14 store i8 %12, ptr %15, align 1 br label %16 16: ; preds = %10 %17 = load i64, ptr %5, align 8 %18 = add i64 %17, 1 store i64 %18, ptr %5, align 8 br label %6, !llvm.loop !6 19: ; preds = %6 ret void } declare i64 @random(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb_pjlfrn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initAlloc(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i64 0, ptr %5, align 8 %6 = load i64, ptr %5, align 8 %7 = load i64, ptr %3, align 8 %8 = icmp ult i64 %6, %7 br i1 %8, label %.lr.ph, label %21 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %15 %10 = call i64 (...) @random() %11 = trunc i64 %10 to i8 %12 = load ptr, ptr %4, align 8 %13 = load i64, ptr %5, align 8 %14 = getelementptr inbounds i8, ptr %12, i64 %13 store i8 %11, ptr %14, align 1 br label %15 15: ; preds = %9 %16 = load i64, ptr %5, align 8 %17 = add i64 %16, 1 store i64 %17, ptr %5, align 8 %18 = load i64, ptr %5, align 8 %19 = load i64, ptr %3, align 8 %20 = icmp ult i64 %18, %19 br i1 %20, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %21 21: ; preds = %._crit_edge, %2 ret void } declare i64 @random(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8bgllpme.c' source_filename = "/tmp/tmp8bgllpme.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [6 x i8] c"%.0f\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 double, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store double 0.000000e+00, ptr %6, align 8 br label %7 7: ; preds = %12, %2 %8 = call i64 (...) @getchar() %9 = load i64, ptr @EOF, align 8 %10 = icmp ne i64 %8, %9 br i1 %10, label %11, label %15 11: ; preds = %7 br label %12 12: ; preds = %11 %13 = load double, ptr %6, align 8 %14 = fadd double %13, 1.000000e+00 store double %14, ptr %6, align 8 br label %7, !llvm.loop !6 15: ; preds = %7 %16 = load double, ptr %6, align 8 %17 = call i32 @printf(ptr noundef @.str, double noundef %16) ret i32 0 } declare i64 @getchar(...) #1 declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8bgllpme.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [6 x i8] c"%.0f\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 double, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store double 0.000000e+00, ptr %6, align 8 %7 = call i64 (...) @getchar() %8 = load i64, ptr @EOF, align 8 %9 = icmp ne i64 %7, %8 br i1 %9, label %.lr.ph, label %17 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %11 br label %11 11: ; preds = %10 %12 = load double, ptr %6, align 8 %13 = fadd double %12, 1.000000e+00 store double %13, ptr %6, align 8 %14 = call i64 (...) @getchar() %15 = load i64, ptr @EOF, align 8 %16 = icmp ne i64 %14, %15 br i1 %16, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %17 17: ; preds = %._crit_edge, %2 %18 = load double, ptr %6, align 8 %19 = call i32 @printf(ptr noundef @.str, double noundef %18) ret i32 0 } declare i64 @getchar(...) #1 declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp97o36bl5.c' source_filename = "/tmp/tmp97o36bl5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @testPrint(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %1 %7 = load ptr, ptr %3, align 8 %8 = call ptr @strdup(ptr noundef %7) store ptr %8, ptr %2, align 8 br label %10 9: ; preds = %1 store ptr null, ptr %2, align 8 br label %10 10: ; preds = %9, %6 %11 = load ptr, ptr %2, align 8 ret ptr %11 } declare ptr @strdup(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/tmp97o36bl5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @testPrint(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %1 %7 = load ptr, ptr %3, align 8 %8 = call ptr @strdup(ptr noundef %7) store ptr %8, ptr %2, align 8 br label %10 9: ; preds = %1 store ptr null, ptr %2, align 8 br label %10 10: ; preds = %9, %6 %11 = load ptr, ptr %2, align 8 ret ptr %11 } declare ptr @strdup(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/tmp2lubu_u2.c' source_filename = "/tmp/tmp2lubu_u2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findIndex(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds i8, ptr %4, i64 0 %6 = load i8, ptr %5, align 1 %7 = call signext i8 @toupper(i8 noundef signext %6) store i8 %7, ptr %3, align 1 %8 = load i8, ptr %3, align 1 %9 = sext i8 %8 to i32 %10 = sub nsw i32 %9, 65 ret i32 %10 } declare signext i8 @toupper(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2lubu_u2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findIndex(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds i8, ptr %4, i64 0 %6 = load i8, ptr %5, align 1 %7 = call signext i8 @toupper(i8 noundef signext %6) store i8 %7, ptr %3, align 1 %8 = load i8, ptr %3, align 1 %9 = sext i8 %8 to i32 %10 = sub nsw i32 %9, 65 ret i32 %10 } declare signext i8 @toupper(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1mnxq08y.c' source_filename = "/tmp/tmp1mnxq08y.c" target datalayout = "e-m:e-p270: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/tmp1mnxq08y.c" target datalayout = "e-m:e-p270: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/tmpsjejcwkb.c' source_filename = "/tmp/tmpsjejcwkb.c" target datalayout = "e-m:e-p270: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 [32 x i8] c"strlcpy: input string too long\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @estrlcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 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 %9 = load ptr, ptr %5, align 8 %10 = load i64, ptr %6, align 8 %11 = call i64 @strlcpy(ptr noundef %8, ptr noundef %9, i64 noundef %10) store i64 %11, ptr %7, align 8 %12 = load i64, ptr %6, align 8 %13 = icmp uge i64 %11, %12 br i1 %13, label %14, label %16 14: ; preds = %3 %15 = call i32 @eprintf(ptr noundef @.str) br label %16 16: ; preds = %14, %3 %17 = load i64, ptr %7, align 8 ret i64 %17 } declare i64 @strlcpy(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @eprintf(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/tmpsjejcwkb.c" target datalayout = "e-m:e-p270: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 [32 x i8] c"strlcpy: input string too long\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @estrlcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 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 %9 = load ptr, ptr %5, align 8 %10 = load i64, ptr %6, align 8 %11 = call i64 @strlcpy(ptr noundef %8, ptr noundef %9, i64 noundef %10) store i64 %11, ptr %7, align 8 %12 = load i64, ptr %6, align 8 %13 = icmp uge i64 %11, %12 br i1 %13, label %14, label %16 14: ; preds = %3 %15 = call i32 @eprintf(ptr noundef @.str) br label %16 16: ; preds = %14, %3 %17 = load i64, ptr %7, align 8 ret i64 %17 } declare i64 @strlcpy(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @eprintf(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/tmpu1szgm3v.c' source_filename = "/tmp/tmpu1szgm3v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_gfortran_caf_deregister(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = 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 i32 %3, ptr %8, align 4 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %9, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 0 %12 = load ptr, ptr %11, align 8 %13 = call i32 @free(ptr noundef %12) %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %14, align 8 %16 = call i32 @free(ptr noundef %15) %17 = load ptr, ptr %6, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %21 19: ; preds = %4 %20 = load ptr, ptr %6, align 8 store i32 0, ptr %20, align 4 br label %21 21: ; preds = %19, %4 ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu1szgm3v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_gfortran_caf_deregister(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = 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 i32 %3, ptr %8, align 4 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %9, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 0 %12 = load ptr, ptr %11, align 8 %13 = call i32 @free(ptr noundef %12) %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %14, align 8 %16 = call i32 @free(ptr noundef %15) %17 = load ptr, ptr %6, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %21 19: ; preds = %4 %20 = load ptr, ptr %6, align 8 store i32 0, ptr %20, align 4 br label %21 21: ; preds = %19, %4 ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvxj49rui.c' source_filename = "/tmp/tmpvxj49rui.c" target datalayout = "e-m:e-p270: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 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [25 x i8] c"Can't read first number\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Can't read second number\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [5 x i8] c"%lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca double, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %11, 3 br i1 %12, label %13, label %26 13: ; preds = %2 %14 = call i32 @scanf(ptr noundef @.str, ptr noundef %6) %15 = icmp ne i32 %14, 1 br i1 %15, label %16, label %19 16: ; preds = %13 %17 = load i32, ptr @stderr, align 4 %18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %75 19: ; preds = %13 %20 = call i32 @scanf(ptr noundef @.str, ptr noundef %7) %21 = icmp ne i32 %20, 1 br i1 %21, label %22, label %25 22: ; preds = %19 %23 = load i32, ptr @stderr, align 4 %24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %75 25: ; preds = %19 br label %45 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 i32 @sscanf(ptr noundef %29, ptr noundef @.str, ptr noundef %6) %31 = icmp ne i32 %30, 1 br i1 %31, label %32, label %35 32: ; preds = %26 %33 = load i32, ptr @stderr, align 4 %34 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %33, ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %75 35: ; preds = %26 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 2 %38 = load ptr, ptr %37, align 8 %39 = call i32 @sscanf(ptr noundef %38, ptr noundef @.str, ptr noundef %7) %40 = icmp ne i32 %39, 1 br i1 %40, label %41, label %44 41: ; preds = %35 %42 = load i32, ptr @stderr, align 4 %43 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %42, ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %75 44: ; preds = %35 br label %45 45: ; preds = %44, %25 store double 0.000000e+00, ptr %10, align 8 store i32 0, ptr %8, align 4 br label %46 46: ; preds = %68, %45 %47 = load i32, ptr %8, align 4 %48 = load i32, ptr %6, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %50, label %71 50: ; preds = %46 store i32 0, ptr %9, align 4 br label %51 51: ; preds = %64, %50 %52 = load i32, ptr %9, align 4 %53 = load i32, ptr %7, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %55, label %67 55: ; preds = %51 %56 = load double, ptr %10, align 8 %57 = load i32, ptr %8, align 4 %58 = sitofp i32 %57 to double %59 = fadd double %56, %58 %60 = load i32, ptr %9, align 4 %61 = sitofp i32 %60 to double %62 = fadd double %59, %61 %63 = call double @sqrt(double noundef %62) #3 store double %63, ptr %10, align 8 br label %64 64: ; preds = %55 %65 = load i32, ptr %9, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %9, align 4 br label %51, !llvm.loop !6 67: ; preds = %51 br label %68 68: ; preds = %67 %69 = load i32, ptr %8, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %8, align 4 br label %46, !llvm.loop !8 71: ; preds = %46 %72 = load i32, ptr @stdout, align 4 %73 = load double, ptr %10, align 8 %74 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %72, ptr noundef @.str.3, double noundef %73) store i32 0, ptr %3, align 4 br label %75 75: ; preds = %71, %41, %32, %22, %16 %76 = load i32, ptr %3, align 4 ret i32 %76 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvxj49rui.c" target datalayout = "e-m:e-p270: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 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [25 x i8] c"Can't read first number\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Can't read second number\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [5 x i8] c"%lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca double, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %11, 3 br i1 %12, label %13, label %26 13: ; preds = %2 %14 = call i32 @scanf(ptr noundef @.str, ptr noundef %6) %15 = icmp ne i32 %14, 1 br i1 %15, label %16, label %19 16: ; preds = %13 %17 = load i32, ptr @stderr, align 4 %18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %79 19: ; preds = %13 %20 = call i32 @scanf(ptr noundef @.str, ptr noundef %7) %21 = icmp ne i32 %20, 1 br i1 %21, label %22, label %25 22: ; preds = %19 %23 = load i32, ptr @stderr, align 4 %24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %79 25: ; preds = %19 br label %45 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 i32 @sscanf(ptr noundef %29, ptr noundef @.str, ptr noundef %6) %31 = icmp ne i32 %30, 1 br i1 %31, label %32, label %35 32: ; preds = %26 %33 = load i32, ptr @stderr, align 4 %34 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %33, ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %79 35: ; preds = %26 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 2 %38 = load ptr, ptr %37, align 8 %39 = call i32 @sscanf(ptr noundef %38, ptr noundef @.str, ptr noundef %7) %40 = icmp ne i32 %39, 1 br i1 %40, label %41, label %44 41: ; preds = %35 %42 = load i32, ptr @stderr, align 4 %43 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %42, ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %79 44: ; preds = %35 br label %45 45: ; preds = %44, %25 store double 0.000000e+00, ptr %10, align 8 store i32 0, ptr %8, align 4 %46 = load i32, ptr %8, align 4 %47 = load i32, ptr %6, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %.lr.ph2, label %75 .lr.ph2: ; preds = %45 br label %49 49: ; preds = %.lr.ph2, %69 store i32 0, ptr %9, align 4 %50 = load i32, ptr %9, align 4 %51 = load i32, ptr %7, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %.lr.ph, label %68 .lr.ph: ; preds = %49 br label %53 53: ; preds = %.lr.ph, %62 %54 = load double, ptr %10, align 8 %55 = load i32, ptr %8, align 4 %56 = sitofp i32 %55 to double %57 = fadd double %54, %56 %58 = load i32, ptr %9, align 4 %59 = sitofp i32 %58 to double %60 = fadd double %57, %59 %61 = call double @sqrt(double noundef %60) #3 store double %61, ptr %10, align 8 br label %62 62: ; preds = %53 %63 = load i32, ptr %9, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %9, align 4 %65 = load i32, ptr %9, align 4 %66 = load i32, ptr %7, align 4 %67 = icmp slt i32 %65, %66 br i1 %67, label %53, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %62 br label %68 68: ; preds = %._crit_edge, %49 br label %69 69: ; preds = %68 %70 = load i32, ptr %8, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %8, align 4 %72 = load i32, ptr %8, align 4 %73 = load i32, ptr %6, align 4 %74 = icmp slt i32 %72, %73 br i1 %74, label %49, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %69 br label %75 75: ; preds = %._crit_edge3, %45 %76 = load i32, ptr @stdout, align 4 %77 = load double, ptr %10, align 8 %78 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %76, ptr noundef @.str.3, double noundef %77) store i32 0, ptr %3, align 4 br label %79 79: ; preds = %75, %41, %32, %22, %16 %80 = load i32, ptr %3, align 4 ret i32 %80 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp_0wu6dt5.c' source_filename = "/tmp/tmp_0wu6dt5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_0wu6dt5.c" target datalayout = "e-m:e-p270: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/tmpft3y946s.c' source_filename = "/tmp/tmpft3y946s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Testing read/write (float*): %g %g\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test7() #0 { %1 = alloca i32, align 4 %2 = call i64 @malloc(i32 noundef 120) %3 = trunc i64 %2 to i32 store i32 %3, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = sext i32 %4 to i64 %6 = inttoptr i64 %5 to ptr store float 0x40219999A0000000, ptr %6, align 4 %7 = load i32, ptr %1, align 4 %8 = add nsw i32 %7, 4 %9 = sext i32 %8 to i64 %10 = inttoptr i64 %9 to ptr store float 0x4023CCCCC0000000, ptr %10, align 4 %11 = load i32, ptr %1, align 4 %12 = sext i32 %11 to i64 %13 = inttoptr i64 %12 to ptr %14 = load float, ptr %13, align 4 %15 = load i32, ptr %1, align 4 %16 = add nsw i32 %15, 4 %17 = sext i32 %16 to i64 %18 = inttoptr i64 %17 to ptr %19 = load float, ptr %18, align 4 %20 = call i32 @printf(ptr noundef @.str, float noundef %14, float noundef %19) %21 = load i32, ptr %1, align 4 %22 = sext i32 %21 to i64 %23 = inttoptr i64 %22 to ptr %24 = call i32 @free(ptr noundef %23) ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, float noundef, float 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/tmpft3y946s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Testing read/write (float*): %g %g\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test7() #0 { %1 = alloca i32, align 4 %2 = call i64 @malloc(i32 noundef 120) %3 = trunc i64 %2 to i32 store i32 %3, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = sext i32 %4 to i64 %6 = inttoptr i64 %5 to ptr store float 0x40219999A0000000, ptr %6, align 4 %7 = load i32, ptr %1, align 4 %8 = add nsw i32 %7, 4 %9 = sext i32 %8 to i64 %10 = inttoptr i64 %9 to ptr store float 0x4023CCCCC0000000, ptr %10, align 4 %11 = load i32, ptr %1, align 4 %12 = sext i32 %11 to i64 %13 = inttoptr i64 %12 to ptr %14 = load float, ptr %13, align 4 %15 = load i32, ptr %1, align 4 %16 = add nsw i32 %15, 4 %17 = sext i32 %16 to i64 %18 = inttoptr i64 %17 to ptr %19 = load float, ptr %18, align 4 %20 = call i32 @printf(ptr noundef @.str, float noundef %14, float noundef %19) %21 = load i32, ptr %1, align 4 %22 = sext i32 %21 to i64 %23 = inttoptr i64 %22 to ptr %24 = call i32 @free(ptr noundef %23) ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, float noundef, float 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/tmpdmf87qpk.c' source_filename = "/tmp/tmpdmf87qpk.c" target datalayout = "e-m:e-p270: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/tmpdmf87qpk.c" target datalayout = "e-m:e-p270: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/tmpefcypttp.c' source_filename = "/tmp/tmpefcypttp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%d%d%d%d\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"The second largest number is %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp sge i32 %7, %8 br i1 %9, label %10, label %29 10: ; preds = %0 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp sge i32 %11, %12 br i1 %13, label %14, label %29 14: ; preds = %10 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %5, align 4 %17 = icmp sge i32 %15, %16 br i1 %17, label %18, label %29 18: ; preds = %14 %19 = load i32, ptr %3, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp sge i32 %19, %20 br i1 %21, label %22, label %29 22: ; preds = %18 %23 = load i32, ptr %3, align 4 %24 = load i32, ptr %5, align 4 %25 = icmp sge i32 %23, %24 br i1 %25, label %26, label %29 26: ; preds = %22 %27 = load i32, ptr %3, align 4 %28 = call i32 @printf(ptr noundef @.str.1, i32 noundef %27) store i32 0, ptr %1, align 4 br label %283 29: ; preds = %22, %18, %14, %10, %0 %30 = load i32, ptr %2, align 4 %31 = load i32, ptr %3, align 4 %32 = icmp sge i32 %30, %31 br i1 %32, label %33, label %52 33: ; preds = %29 %34 = load i32, ptr %2, align 4 %35 = load i32, ptr %4, align 4 %36 = icmp sge i32 %34, %35 br i1 %36, label %37, label %52 37: ; preds = %33 %38 = load i32, ptr %2, align 4 %39 = load i32, ptr %5, align 4 %40 = icmp sge i32 %38, %39 br i1 %40, label %41, label %52 41: ; preds = %37 %42 = load i32, ptr %4, align 4 %43 = load i32, ptr %5, align 4 %44 = icmp sge i32 %42, %43 br i1 %44, label %45, label %52 45: ; preds = %41 %46 = load i32, ptr %4, align 4 %47 = load i32, ptr %3, align 4 %48 = icmp sge i32 %46, %47 br i1 %48, label %49, label %52 49: ; preds = %45 %50 = load i32, ptr %4, align 4 %51 = call i32 @printf(ptr noundef @.str.1, i32 noundef %50) store i32 0, ptr %1, align 4 br label %283 52: ; preds = %45, %41, %37, %33, %29 %53 = load i32, ptr %2, align 4 %54 = load i32, ptr %3, align 4 %55 = icmp sge i32 %53, %54 br i1 %55, label %56, label %75 56: ; preds = %52 %57 = load i32, ptr %2, align 4 %58 = load i32, ptr %4, align 4 %59 = icmp sge i32 %57, %58 br i1 %59, label %60, label %75 60: ; preds = %56 %61 = load i32, ptr %2, align 4 %62 = load i32, ptr %5, align 4 %63 = icmp sge i32 %61, %62 br i1 %63, label %64, label %75 64: ; preds = %60 %65 = load i32, ptr %5, align 4 %66 = load i32, ptr %3, align 4 %67 = icmp sge i32 %65, %66 br i1 %67, label %68, label %75 68: ; preds = %64 %69 = load i32, ptr %5, align 4 %70 = load i32, ptr %4, align 4 %71 = icmp sge i32 %69, %70 br i1 %71, label %72, label %75 72: ; preds = %68 %73 = load i32, ptr %5, align 4 %74 = call i32 @printf(ptr noundef @.str.1, i32 noundef %73) store i32 0, ptr %1, align 4 br label %283 75: ; preds = %68, %64, %60, %56, %52 %76 = load i32, ptr %3, align 4 %77 = load i32, ptr %2, align 4 %78 = icmp sge i32 %76, %77 br i1 %78, label %79, label %98 79: ; preds = %75 %80 = load i32, ptr %3, align 4 %81 = load i32, ptr %4, align 4 %82 = icmp sge i32 %80, %81 br i1 %82, label %83, label %98 83: ; preds = %79 %84 = load i32, ptr %3, align 4 %85 = load i32, ptr %5, align 4 %86 = icmp sge i32 %84, %85 br i1 %86, label %87, label %98 87: ; preds = %83 %88 = load i32, ptr %2, align 4 %89 = load i32, ptr %4, align 4 %90 = icmp sge i32 %88, %89 br i1 %90, label %91, label %98 91: ; preds = %87 %92 = load i32, ptr %2, align 4 %93 = load i32, ptr %5, align 4 %94 = icmp sge i32 %92, %93 br i1 %94, label %95, label %98 95: ; preds = %91 %96 = load i32, ptr %2, align 4 %97 = call i32 @printf(ptr noundef @.str.1, i32 noundef %96) store i32 0, ptr %1, align 4 br label %283 98: ; preds = %91, %87, %83, %79, %75 %99 = load i32, ptr %3, align 4 %100 = load i32, ptr %2, align 4 %101 = icmp sge i32 %99, %100 br i1 %101, label %102, label %121 102: ; preds = %98 %103 = load i32, ptr %3, align 4 %104 = load i32, ptr %4, align 4 %105 = icmp sge i32 %103, %104 br i1 %105, label %106, label %121 106: ; preds = %102 %107 = load i32, ptr %3, align 4 %108 = load i32, ptr %5, align 4 %109 = icmp sge i32 %107, %108 br i1 %109, label %110, label %121 110: ; preds = %106 %111 = load i32, ptr %4, align 4 %112 = load i32, ptr %2, align 4 %113 = icmp sge i32 %111, %112 br i1 %113, label %114, label %121 114: ; preds = %110 %115 = load i32, ptr %4, align 4 %116 = load i32, ptr %5, align 4 %117 = icmp sge i32 %115, %116 br i1 %117, label %118, label %121 118: ; preds = %114 %119 = load i32, ptr %4, align 4 %120 = call i32 @printf(ptr noundef @.str.1, i32 noundef %119) store i32 0, ptr %1, align 4 br label %283 121: ; preds = %114, %110, %106, %102, %98 %122 = load i32, ptr %3, align 4 %123 = load i32, ptr %2, align 4 %124 = icmp sge i32 %122, %123 br i1 %124, label %125, label %144 125: ; preds = %121 %126 = load i32, ptr %3, align 4 %127 = load i32, ptr %4, align 4 %128 = icmp sge i32 %126, %127 br i1 %128, label %129, label %144 129: ; preds = %125 %130 = load i32, ptr %3, align 4 %131 = load i32, ptr %5, align 4 %132 = icmp sge i32 %130, %131 br i1 %132, label %133, label %144 133: ; preds = %129 %134 = load i32, ptr %5, align 4 %135 = load i32, ptr %4, align 4 %136 = icmp sge i32 %134, %135 br i1 %136, label %137, label %144 137: ; preds = %133 %138 = load i32, ptr %5, align 4 %139 = load i32, ptr %2, align 4 %140 = icmp sge i32 %138, %139 br i1 %140, label %141, label %144 141: ; preds = %137 %142 = load i32, ptr %5, align 4 %143 = call i32 @printf(ptr noundef @.str.1, i32 noundef %142) store i32 0, ptr %1, align 4 br label %283 144: ; preds = %137, %133, %129, %125, %121 %145 = load i32, ptr %4, align 4 %146 = load i32, ptr %2, align 4 %147 = icmp sge i32 %145, %146 br i1 %147, label %148, label %167 148: ; preds = %144 %149 = load i32, ptr %4, align 4 %150 = load i32, ptr %3, align 4 %151 = icmp sge i32 %149, %150 br i1 %151, label %152, label %167 152: ; preds = %148 %153 = load i32, ptr %4, align 4 %154 = load i32, ptr %5, align 4 %155 = icmp sge i32 %153, %154 br i1 %155, label %156, label %167 156: ; preds = %152 %157 = load i32, ptr %2, align 4 %158 = load i32, ptr %3, align 4 %159 = icmp sge i32 %157, %158 br i1 %159, label %160, label %167 160: ; preds = %156 %161 = load i32, ptr %2, align 4 %162 = load i32, ptr %5, align 4 %163 = icmp sge i32 %161, %162 br i1 %163, label %164, label %167 164: ; preds = %160 %165 = load i32, ptr %2, align 4 %166 = call i32 @printf(ptr noundef @.str.1, i32 noundef %165) store i32 0, ptr %1, align 4 br label %283 167: ; preds = %160, %156, %152, %148, %144 %168 = load i32, ptr %4, align 4 %169 = load i32, ptr %2, align 4 %170 = icmp sge i32 %168, %169 br i1 %170, label %171, label %190 171: ; preds = %167 %172 = load i32, ptr %4, align 4 %173 = load i32, ptr %3, align 4 %174 = icmp sge i32 %172, %173 br i1 %174, label %175, label %190 175: ; preds = %171 %176 = load i32, ptr %4, align 4 %177 = load i32, ptr %5, align 4 %178 = icmp sge i32 %176, %177 br i1 %178, label %179, label %190 179: ; preds = %175 %180 = load i32, ptr %3, align 4 %181 = load i32, ptr %2, align 4 %182 = icmp sge i32 %180, %181 br i1 %182, label %183, label %190 183: ; preds = %179 %184 = load i32, ptr %3, align 4 %185 = load i32, ptr %5, align 4 %186 = icmp sge i32 %184, %185 br i1 %186, label %187, label %190 187: ; preds = %183 %188 = load i32, ptr %3, align 4 %189 = call i32 @printf(ptr noundef @.str.1, i32 noundef %188) store i32 0, ptr %1, align 4 br label %283 190: ; preds = %183, %179, %175, %171, %167 %191 = load i32, ptr %4, align 4 %192 = load i32, ptr %2, align 4 %193 = icmp sge i32 %191, %192 br i1 %193, label %194, label %213 194: ; preds = %190 %195 = load i32, ptr %4, align 4 %196 = load i32, ptr %3, align 4 %197 = icmp sge i32 %195, %196 br i1 %197, label %198, label %213 198: ; preds = %194 %199 = load i32, ptr %4, align 4 %200 = load i32, ptr %5, align 4 %201 = icmp sge i32 %199, %200 br i1 %201, label %202, label %213 202: ; preds = %198 %203 = load i32, ptr %5, align 4 %204 = load i32, ptr %2, align 4 %205 = icmp sge i32 %203, %204 br i1 %205, label %206, label %213 206: ; preds = %202 %207 = load i32, ptr %5, align 4 %208 = load i32, ptr %3, align 4 %209 = icmp sge i32 %207, %208 br i1 %209, label %210, label %213 210: ; preds = %206 %211 = load i32, ptr %5, align 4 %212 = call i32 @printf(ptr noundef @.str.1, i32 noundef %211) store i32 0, ptr %1, align 4 br label %283 213: ; preds = %206, %202, %198, %194, %190 %214 = load i32, ptr %5, align 4 %215 = load i32, ptr %2, align 4 %216 = icmp sge i32 %214, %215 br i1 %216, label %217, label %236 217: ; preds = %213 %218 = load i32, ptr %5, align 4 %219 = load i32, ptr %3, align 4 %220 = icmp sge i32 %218, %219 br i1 %220, label %221, label %236 221: ; preds = %217 %222 = load i32, ptr %5, align 4 %223 = load i32, ptr %4, align 4 %224 = icmp sge i32 %222, %223 br i1 %224, label %225, label %236 225: ; preds = %221 %226 = load i32, ptr %2, align 4 %227 = load i32, ptr %3, align 4 %228 = icmp sge i32 %226, %227 br i1 %228, label %229, label %236 229: ; preds = %225 %230 = load i32, ptr %2, align 4 %231 = load i32, ptr %4, align 4 %232 = icmp sge i32 %230, %231 br i1 %232, label %233, label %236 233: ; preds = %229 %234 = load i32, ptr %2, align 4 %235 = call i32 @printf(ptr noundef @.str.1, i32 noundef %234) store i32 0, ptr %1, align 4 br label %283 236: ; preds = %229, %225, %221, %217, %213 %237 = load i32, ptr %5, align 4 %238 = load i32, ptr %2, align 4 %239 = icmp sge i32 %237, %238 br i1 %239, label %240, label %259 240: ; preds = %236 %241 = load i32, ptr %5, align 4 %242 = load i32, ptr %3, align 4 %243 = icmp sge i32 %241, %242 br i1 %243, label %244, label %259 244: ; preds = %240 %245 = load i32, ptr %5, align 4 %246 = load i32, ptr %4, align 4 %247 = icmp sge i32 %245, %246 br i1 %247, label %248, label %259 248: ; preds = %244 %249 = load i32, ptr %3, align 4 %250 = load i32, ptr %2, align 4 %251 = icmp sge i32 %249, %250 br i1 %251, label %252, label %259 252: ; preds = %248 %253 = load i32, ptr %3, align 4 %254 = load i32, ptr %4, align 4 %255 = icmp sge i32 %253, %254 br i1 %255, label %256, label %259 256: ; preds = %252 %257 = load i32, ptr %3, align 4 %258 = call i32 @printf(ptr noundef @.str.1, i32 noundef %257) store i32 0, ptr %1, align 4 br label %283 259: ; preds = %252, %248, %244, %240, %236 %260 = load i32, ptr %5, align 4 %261 = load i32, ptr %2, align 4 %262 = icmp sge i32 %260, %261 br i1 %262, label %263, label %282 263: ; preds = %259 %264 = load i32, ptr %5, align 4 %265 = load i32, ptr %3, align 4 %266 = icmp sge i32 %264, %265 br i1 %266, label %267, label %282 267: ; preds = %263 %268 = load i32, ptr %5, align 4 %269 = load i32, ptr %4, align 4 %270 = icmp sge i32 %268, %269 br i1 %270, label %271, label %282 271: ; preds = %267 %272 = load i32, ptr %4, align 4 %273 = load i32, ptr %2, align 4 %274 = icmp sge i32 %272, %273 br i1 %274, label %275, label %282 275: ; preds = %271 %276 = load i32, ptr %4, align 4 %277 = load i32, ptr %3, align 4 %278 = icmp sge i32 %276, %277 br i1 %278, label %279, label %282 279: ; preds = %275 %280 = load i32, ptr %4, align 4 %281 = call i32 @printf(ptr noundef @.str.1, i32 noundef %280) store i32 0, ptr %1, align 4 br label %283 282: ; preds = %275, %271, %267, %263, %259 store i32 0, ptr %1, align 4 br label %283 283: ; preds = %282, %279, %256, %233, %210, %187, %164, %141, %118, %95, %72, %49, %26 %284 = load i32, ptr %1, align 4 ret i32 %284 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpefcypttp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%d%d%d%d\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"The second largest number is %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp sge i32 %7, %8 br i1 %9, label %10, label %29 10: ; preds = %0 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp sge i32 %11, %12 br i1 %13, label %14, label %29 14: ; preds = %10 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %5, align 4 %17 = icmp sge i32 %15, %16 br i1 %17, label %18, label %29 18: ; preds = %14 %19 = load i32, ptr %3, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp sge i32 %19, %20 br i1 %21, label %22, label %29 22: ; preds = %18 %23 = load i32, ptr %3, align 4 %24 = load i32, ptr %5, align 4 %25 = icmp sge i32 %23, %24 br i1 %25, label %26, label %29 26: ; preds = %22 %27 = load i32, ptr %3, align 4 %28 = call i32 @printf(ptr noundef @.str.1, i32 noundef %27) store i32 0, ptr %1, align 4 br label %283 29: ; preds = %22, %18, %14, %10, %0 %30 = load i32, ptr %2, align 4 %31 = load i32, ptr %3, align 4 %32 = icmp sge i32 %30, %31 br i1 %32, label %33, label %52 33: ; preds = %29 %34 = load i32, ptr %2, align 4 %35 = load i32, ptr %4, align 4 %36 = icmp sge i32 %34, %35 br i1 %36, label %37, label %52 37: ; preds = %33 %38 = load i32, ptr %2, align 4 %39 = load i32, ptr %5, align 4 %40 = icmp sge i32 %38, %39 br i1 %40, label %41, label %52 41: ; preds = %37 %42 = load i32, ptr %4, align 4 %43 = load i32, ptr %5, align 4 %44 = icmp sge i32 %42, %43 br i1 %44, label %45, label %52 45: ; preds = %41 %46 = load i32, ptr %4, align 4 %47 = load i32, ptr %3, align 4 %48 = icmp sge i32 %46, %47 br i1 %48, label %49, label %52 49: ; preds = %45 %50 = load i32, ptr %4, align 4 %51 = call i32 @printf(ptr noundef @.str.1, i32 noundef %50) store i32 0, ptr %1, align 4 br label %283 52: ; preds = %45, %41, %37, %33, %29 %53 = load i32, ptr %2, align 4 %54 = load i32, ptr %3, align 4 %55 = icmp sge i32 %53, %54 br i1 %55, label %56, label %75 56: ; preds = %52 %57 = load i32, ptr %2, align 4 %58 = load i32, ptr %4, align 4 %59 = icmp sge i32 %57, %58 br i1 %59, label %60, label %75 60: ; preds = %56 %61 = load i32, ptr %2, align 4 %62 = load i32, ptr %5, align 4 %63 = icmp sge i32 %61, %62 br i1 %63, label %64, label %75 64: ; preds = %60 %65 = load i32, ptr %5, align 4 %66 = load i32, ptr %3, align 4 %67 = icmp sge i32 %65, %66 br i1 %67, label %68, label %75 68: ; preds = %64 %69 = load i32, ptr %5, align 4 %70 = load i32, ptr %4, align 4 %71 = icmp sge i32 %69, %70 br i1 %71, label %72, label %75 72: ; preds = %68 %73 = load i32, ptr %5, align 4 %74 = call i32 @printf(ptr noundef @.str.1, i32 noundef %73) store i32 0, ptr %1, align 4 br label %283 75: ; preds = %68, %64, %60, %56, %52 %76 = load i32, ptr %3, align 4 %77 = load i32, ptr %2, align 4 %78 = icmp sge i32 %76, %77 br i1 %78, label %79, label %98 79: ; preds = %75 %80 = load i32, ptr %3, align 4 %81 = load i32, ptr %4, align 4 %82 = icmp sge i32 %80, %81 br i1 %82, label %83, label %98 83: ; preds = %79 %84 = load i32, ptr %3, align 4 %85 = load i32, ptr %5, align 4 %86 = icmp sge i32 %84, %85 br i1 %86, label %87, label %98 87: ; preds = %83 %88 = load i32, ptr %2, align 4 %89 = load i32, ptr %4, align 4 %90 = icmp sge i32 %88, %89 br i1 %90, label %91, label %98 91: ; preds = %87 %92 = load i32, ptr %2, align 4 %93 = load i32, ptr %5, align 4 %94 = icmp sge i32 %92, %93 br i1 %94, label %95, label %98 95: ; preds = %91 %96 = load i32, ptr %2, align 4 %97 = call i32 @printf(ptr noundef @.str.1, i32 noundef %96) store i32 0, ptr %1, align 4 br label %283 98: ; preds = %91, %87, %83, %79, %75 %99 = load i32, ptr %3, align 4 %100 = load i32, ptr %2, align 4 %101 = icmp sge i32 %99, %100 br i1 %101, label %102, label %121 102: ; preds = %98 %103 = load i32, ptr %3, align 4 %104 = load i32, ptr %4, align 4 %105 = icmp sge i32 %103, %104 br i1 %105, label %106, label %121 106: ; preds = %102 %107 = load i32, ptr %3, align 4 %108 = load i32, ptr %5, align 4 %109 = icmp sge i32 %107, %108 br i1 %109, label %110, label %121 110: ; preds = %106 %111 = load i32, ptr %4, align 4 %112 = load i32, ptr %2, align 4 %113 = icmp sge i32 %111, %112 br i1 %113, label %114, label %121 114: ; preds = %110 %115 = load i32, ptr %4, align 4 %116 = load i32, ptr %5, align 4 %117 = icmp sge i32 %115, %116 br i1 %117, label %118, label %121 118: ; preds = %114 %119 = load i32, ptr %4, align 4 %120 = call i32 @printf(ptr noundef @.str.1, i32 noundef %119) store i32 0, ptr %1, align 4 br label %283 121: ; preds = %114, %110, %106, %102, %98 %122 = load i32, ptr %3, align 4 %123 = load i32, ptr %2, align 4 %124 = icmp sge i32 %122, %123 br i1 %124, label %125, label %144 125: ; preds = %121 %126 = load i32, ptr %3, align 4 %127 = load i32, ptr %4, align 4 %128 = icmp sge i32 %126, %127 br i1 %128, label %129, label %144 129: ; preds = %125 %130 = load i32, ptr %3, align 4 %131 = load i32, ptr %5, align 4 %132 = icmp sge i32 %130, %131 br i1 %132, label %133, label %144 133: ; preds = %129 %134 = load i32, ptr %5, align 4 %135 = load i32, ptr %4, align 4 %136 = icmp sge i32 %134, %135 br i1 %136, label %137, label %144 137: ; preds = %133 %138 = load i32, ptr %5, align 4 %139 = load i32, ptr %2, align 4 %140 = icmp sge i32 %138, %139 br i1 %140, label %141, label %144 141: ; preds = %137 %142 = load i32, ptr %5, align 4 %143 = call i32 @printf(ptr noundef @.str.1, i32 noundef %142) store i32 0, ptr %1, align 4 br label %283 144: ; preds = %137, %133, %129, %125, %121 %145 = load i32, ptr %4, align 4 %146 = load i32, ptr %2, align 4 %147 = icmp sge i32 %145, %146 br i1 %147, label %148, label %167 148: ; preds = %144 %149 = load i32, ptr %4, align 4 %150 = load i32, ptr %3, align 4 %151 = icmp sge i32 %149, %150 br i1 %151, label %152, label %167 152: ; preds = %148 %153 = load i32, ptr %4, align 4 %154 = load i32, ptr %5, align 4 %155 = icmp sge i32 %153, %154 br i1 %155, label %156, label %167 156: ; preds = %152 %157 = load i32, ptr %2, align 4 %158 = load i32, ptr %3, align 4 %159 = icmp sge i32 %157, %158 br i1 %159, label %160, label %167 160: ; preds = %156 %161 = load i32, ptr %2, align 4 %162 = load i32, ptr %5, align 4 %163 = icmp sge i32 %161, %162 br i1 %163, label %164, label %167 164: ; preds = %160 %165 = load i32, ptr %2, align 4 %166 = call i32 @printf(ptr noundef @.str.1, i32 noundef %165) store i32 0, ptr %1, align 4 br label %283 167: ; preds = %160, %156, %152, %148, %144 %168 = load i32, ptr %4, align 4 %169 = load i32, ptr %2, align 4 %170 = icmp sge i32 %168, %169 br i1 %170, label %171, label %190 171: ; preds = %167 %172 = load i32, ptr %4, align 4 %173 = load i32, ptr %3, align 4 %174 = icmp sge i32 %172, %173 br i1 %174, label %175, label %190 175: ; preds = %171 %176 = load i32, ptr %4, align 4 %177 = load i32, ptr %5, align 4 %178 = icmp sge i32 %176, %177 br i1 %178, label %179, label %190 179: ; preds = %175 %180 = load i32, ptr %3, align 4 %181 = load i32, ptr %2, align 4 %182 = icmp sge i32 %180, %181 br i1 %182, label %183, label %190 183: ; preds = %179 %184 = load i32, ptr %3, align 4 %185 = load i32, ptr %5, align 4 %186 = icmp sge i32 %184, %185 br i1 %186, label %187, label %190 187: ; preds = %183 %188 = load i32, ptr %3, align 4 %189 = call i32 @printf(ptr noundef @.str.1, i32 noundef %188) store i32 0, ptr %1, align 4 br label %283 190: ; preds = %183, %179, %175, %171, %167 %191 = load i32, ptr %4, align 4 %192 = load i32, ptr %2, align 4 %193 = icmp sge i32 %191, %192 br i1 %193, label %194, label %213 194: ; preds = %190 %195 = load i32, ptr %4, align 4 %196 = load i32, ptr %3, align 4 %197 = icmp sge i32 %195, %196 br i1 %197, label %198, label %213 198: ; preds = %194 %199 = load i32, ptr %4, align 4 %200 = load i32, ptr %5, align 4 %201 = icmp sge i32 %199, %200 br i1 %201, label %202, label %213 202: ; preds = %198 %203 = load i32, ptr %5, align 4 %204 = load i32, ptr %2, align 4 %205 = icmp sge i32 %203, %204 br i1 %205, label %206, label %213 206: ; preds = %202 %207 = load i32, ptr %5, align 4 %208 = load i32, ptr %3, align 4 %209 = icmp sge i32 %207, %208 br i1 %209, label %210, label %213 210: ; preds = %206 %211 = load i32, ptr %5, align 4 %212 = call i32 @printf(ptr noundef @.str.1, i32 noundef %211) store i32 0, ptr %1, align 4 br label %283 213: ; preds = %206, %202, %198, %194, %190 %214 = load i32, ptr %5, align 4 %215 = load i32, ptr %2, align 4 %216 = icmp sge i32 %214, %215 br i1 %216, label %217, label %236 217: ; preds = %213 %218 = load i32, ptr %5, align 4 %219 = load i32, ptr %3, align 4 %220 = icmp sge i32 %218, %219 br i1 %220, label %221, label %236 221: ; preds = %217 %222 = load i32, ptr %5, align 4 %223 = load i32, ptr %4, align 4 %224 = icmp sge i32 %222, %223 br i1 %224, label %225, label %236 225: ; preds = %221 %226 = load i32, ptr %2, align 4 %227 = load i32, ptr %3, align 4 %228 = icmp sge i32 %226, %227 br i1 %228, label %229, label %236 229: ; preds = %225 %230 = load i32, ptr %2, align 4 %231 = load i32, ptr %4, align 4 %232 = icmp sge i32 %230, %231 br i1 %232, label %233, label %236 233: ; preds = %229 %234 = load i32, ptr %2, align 4 %235 = call i32 @printf(ptr noundef @.str.1, i32 noundef %234) store i32 0, ptr %1, align 4 br label %283 236: ; preds = %229, %225, %221, %217, %213 %237 = load i32, ptr %5, align 4 %238 = load i32, ptr %2, align 4 %239 = icmp sge i32 %237, %238 br i1 %239, label %240, label %259 240: ; preds = %236 %241 = load i32, ptr %5, align 4 %242 = load i32, ptr %3, align 4 %243 = icmp sge i32 %241, %242 br i1 %243, label %244, label %259 244: ; preds = %240 %245 = load i32, ptr %5, align 4 %246 = load i32, ptr %4, align 4 %247 = icmp sge i32 %245, %246 br i1 %247, label %248, label %259 248: ; preds = %244 %249 = load i32, ptr %3, align 4 %250 = load i32, ptr %2, align 4 %251 = icmp sge i32 %249, %250 br i1 %251, label %252, label %259 252: ; preds = %248 %253 = load i32, ptr %3, align 4 %254 = load i32, ptr %4, align 4 %255 = icmp sge i32 %253, %254 br i1 %255, label %256, label %259 256: ; preds = %252 %257 = load i32, ptr %3, align 4 %258 = call i32 @printf(ptr noundef @.str.1, i32 noundef %257) store i32 0, ptr %1, align 4 br label %283 259: ; preds = %252, %248, %244, %240, %236 %260 = load i32, ptr %5, align 4 %261 = load i32, ptr %2, align 4 %262 = icmp sge i32 %260, %261 br i1 %262, label %263, label %282 263: ; preds = %259 %264 = load i32, ptr %5, align 4 %265 = load i32, ptr %3, align 4 %266 = icmp sge i32 %264, %265 br i1 %266, label %267, label %282 267: ; preds = %263 %268 = load i32, ptr %5, align 4 %269 = load i32, ptr %4, align 4 %270 = icmp sge i32 %268, %269 br i1 %270, label %271, label %282 271: ; preds = %267 %272 = load i32, ptr %4, align 4 %273 = load i32, ptr %2, align 4 %274 = icmp sge i32 %272, %273 br i1 %274, label %275, label %282 275: ; preds = %271 %276 = load i32, ptr %4, align 4 %277 = load i32, ptr %3, align 4 %278 = icmp sge i32 %276, %277 br i1 %278, label %279, label %282 279: ; preds = %275 %280 = load i32, ptr %4, align 4 %281 = call i32 @printf(ptr noundef @.str.1, i32 noundef %280) store i32 0, ptr %1, align 4 br label %283 282: ; preds = %275, %271, %267, %263, %259 store i32 0, ptr %1, align 4 br label %283 283: ; preds = %282, %279, %256, %233, %210, %187, %164, %141, %118, %95, %72, %49, %26 %284 = load i32, ptr %1, align 4 ret i32 %284 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkbufu77l.c' source_filename = "/tmp/tmpkbufu77l.c" target datalayout = "e-m:e-p270: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/tmpkbufu77l.c" target datalayout = "e-m:e-p270: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/tmpjnagg4qa.c' source_filename = "/tmp/tmpjnagg4qa.c" target datalayout = "e-m:e-p270: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/tmpjnagg4qa.c" target datalayout = "e-m:e-p270: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/tmp1w5mx3v3.c' source_filename = "/tmp/tmp1w5mx3v3.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 @SOCK_STREAM = dso_local global i32 0, align 4 @IPPROTO_TCP = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"Input a string: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"Message from server: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.sockaddr_in, align 4 %3 = alloca i32, align 4 %4 = alloca [100 x i8], align 16 %5 = alloca i32, align 4 %6 = alloca [100 x i8], align 16 store i32 0, ptr %1, align 4 %7 = call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef 12) %8 = load i32, ptr @AF_INET, align 4 %9 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 2 store i32 %8, ptr %9, align 4 %10 = call i32 @inet_addr(ptr noundef @.str) %11 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 1 %12 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i32 0, i32 0 store i32 %10, ptr %12, align 4 %13 = call i32 @htons(i32 noundef 1234) %14 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 0 store i32 %13, ptr %14, align 4 %15 = load i32, ptr @AF_INET, align 4 %16 = load i32, ptr @SOCK_STREAM, align 4 %17 = load i32, ptr @IPPROTO_TCP, align 4 %18 = call i32 @socket(i32 noundef %15, i32 noundef %16, i32 noundef %17) store i32 %18, ptr %3, align 4 %19 = load i32, ptr %3, align 4 %20 = call i32 @connect(i32 noundef %19, ptr noundef %2, i32 noundef 12) call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 100, i1 false) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %22 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %23 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %22) store i32 0, ptr %5, align 4 br label %24 24: ; preds = %33, %0 %25 = load i32, ptr %5, align 4 %26 = icmp slt i32 %25, 3 br i1 %26, label %27, label %36 27: ; preds = %24 %28 = load i32, ptr %3, align 4 %29 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %30 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %31 = call i32 @strlen(ptr noundef %30) %32 = call i32 @send(i32 noundef %28, ptr noundef %29, i32 noundef %31, i32 noundef 0) br label %33 33: ; preds = %27 %34 = load i32, ptr %5, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %5, align 4 br label %24, !llvm.loop !6 36: ; preds = %24 call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 100, i1 false) %37 = load i32, ptr %3, align 4 %38 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %39 = call i32 @recv(i32 noundef %37, ptr noundef %38, i32 noundef 100, i32 noundef 0) %40 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %40) %42 = load i32, ptr %3, align 4 %43 = call i32 @close(i32 noundef %42) %44 = load i32, ptr %1, align 4 ret i32 %44 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @inet_addr(ptr noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1w5mx3v3.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 @SOCK_STREAM = dso_local global i32 0, align 4 @IPPROTO_TCP = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"Input a string: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"Message from server: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.sockaddr_in, align 4 %3 = alloca i32, align 4 %4 = alloca [100 x i8], align 16 %5 = alloca i32, align 4 %6 = alloca [100 x i8], align 16 store i32 0, ptr %1, align 4 %7 = call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef 12) %8 = load i32, ptr @AF_INET, align 4 %9 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 2 store i32 %8, ptr %9, align 4 %10 = call i32 @inet_addr(ptr noundef @.str) %11 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 1 %12 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i32 0, i32 0 store i32 %10, ptr %12, align 4 %13 = call i32 @htons(i32 noundef 1234) %14 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 0 store i32 %13, ptr %14, align 4 %15 = load i32, ptr @AF_INET, align 4 %16 = load i32, ptr @SOCK_STREAM, align 4 %17 = load i32, ptr @IPPROTO_TCP, align 4 %18 = call i32 @socket(i32 noundef %15, i32 noundef %16, i32 noundef %17) store i32 %18, ptr %3, align 4 %19 = load i32, ptr %3, align 4 %20 = call i32 @connect(i32 noundef %19, ptr noundef %2, i32 noundef 12) call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 100, i1 false) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %22 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %23 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %22) store i32 0, ptr %5, align 4 %24 = load i32, ptr %5, align 4 %25 = icmp slt i32 %24, 3 br i1 %25, label %.lr.ph, label %37 .lr.ph: ; preds = %0 br label %26 26: ; preds = %.lr.ph, %32 %27 = load i32, ptr %3, align 4 %28 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %29 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %30 = call i32 @strlen(ptr noundef %29) %31 = call i32 @send(i32 noundef %27, ptr noundef %28, i32 noundef %30, i32 noundef 0) br label %32 32: ; preds = %26 %33 = load i32, ptr %5, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %5, align 4 %35 = load i32, ptr %5, align 4 %36 = icmp slt i32 %35, 3 br i1 %36, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %37 37: ; preds = %._crit_edge, %0 call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 100, i1 false) %38 = load i32, ptr %3, align 4 %39 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %40 = call i32 @recv(i32 noundef %38, ptr noundef %39, i32 noundef 100, i32 noundef 0) %41 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %41) %43 = load i32, ptr %3, align 4 %44 = call i32 @close(i32 noundef %43) %45 = load i32, ptr %1, align 4 ret i32 %45 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @inet_addr(ptr noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp3ztnk8lr.c' source_filename = "/tmp/tmp3ztnk8lr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @arg_uint2(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = add i32 %7, 1 %9 = call i32 @arg_uint3(i32 noundef %5, i32 noundef %6, i32 noundef %8) ret void } declare i32 @arg_uint3(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/tmp3ztnk8lr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @arg_uint2(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = add i32 %7, 1 %9 = call i32 @arg_uint3(i32 noundef %5, i32 noundef %6, i32 noundef %8) ret void } declare i32 @arg_uint3(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/tmpw5na65hd.c' source_filename = "/tmp/tmpw5na65hd.c" target datalayout = "e-m:e-p270: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"/sys/devices/system/cpu/kernel_max\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_processor_number_kernel_max() #0 { %1 = call i32 @sysfsparser_getvalue(ptr noundef @.str) %2 = add nsw i32 %1, 1 ret i32 %2 } declare i32 @sysfsparser_getvalue(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/tmpw5na65hd.c" target datalayout = "e-m:e-p270: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"/sys/devices/system/cpu/kernel_max\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_processor_number_kernel_max() #0 { %1 = call i32 @sysfsparser_getvalue(ptr noundef @.str) %2 = add nsw i32 %1, 1 ret i32 %2 } declare i32 @sysfsparser_getvalue(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/tmpzm7fkvxh.c' source_filename = "/tmp/tmpzm7fkvxh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alloc_XTextItem16() #0 { %1 = alloca ptr, align 8 %2 = call i64 @malloc(i32 noundef 4) %3 = inttoptr i64 %2 to ptr store ptr %3, ptr %1, align 8 %4 = load ptr, ptr %1, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 (...) @abort() #3 unreachable 8: ; preds = %0 %9 = load ptr, ptr %1, align 8 ret ptr %9 } declare i64 @malloc(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #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/tmpzm7fkvxh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alloc_XTextItem16() #0 { %1 = alloca ptr, align 8 %2 = call i64 @malloc(i32 noundef 4) %3 = inttoptr i64 %2 to ptr store ptr %3, ptr %1, align 8 %4 = load ptr, ptr %1, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 (...) @abort() #3 unreachable 8: ; preds = %0 %9 = load ptr, ptr %1, align 8 ret ptr %9 } declare i64 @malloc(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #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/tmpy0n7ba3i.c' source_filename = "/tmp/tmpy0n7ba3i.c" target datalayout = "e-m:e-p270: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/tmpy0n7ba3i.c" target datalayout = "e-m:e-p270: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/tmp2ftv9aln.c' source_filename = "/tmp/tmp2ftv9aln.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gsw_add_mean(ptr noundef %0, double noundef %1, double noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca double, align 8 store ptr %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %10, align 4 store double 0.000000e+00, ptr %11, align 8 store i32 0, ptr %9, align 4 br label %12 12: ; preds = %34, %4 %13 = load i32, ptr %9, align 4 %14 = icmp slt i32 %13, 4 br i1 %14, label %15, label %37 15: ; preds = %12 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %9, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds double, ptr %16, i64 %18 %20 = load double, ptr %19, align 8 %21 = call double @llvm.fabs.f64(double %20) %22 = fcmp ole double %21, 1.000000e+02 br i1 %22, label %23, label %33 23: ; preds = %15 %24 = load i32, ptr %10, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %10, align 4 %26 = load double, ptr %11, align 8 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr %9, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds double, ptr %27, i64 %29 %31 = load double, ptr %30, align 8 %32 = fadd double %26, %31 store double %32, ptr %11, align 8 br label %33 33: ; preds = %23, %15 br label %34 34: ; preds = %33 %35 = load i32, ptr %9, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %9, align 4 br label %12, !llvm.loop !6 37: ; preds = %12 %38 = load i32, ptr %10, align 4 %39 = icmp eq i32 %38, 0 br i1 %39, label %40, label %41 40: ; preds = %37 store double 0.000000e+00, ptr %11, align 8 br label %46 41: ; preds = %37 %42 = load double, ptr %11, align 8 %43 = load i32, ptr %10, align 4 %44 = sitofp i32 %43 to double %45 = fdiv double %42, %44 store double %45, ptr %11, align 8 br label %46 46: ; preds = %41, %40 store i32 0, ptr %9, align 4 br label %47 47: ; preds = %75, %46 %48 = load i32, ptr %9, align 4 %49 = icmp slt i32 %48, 4 br i1 %49, label %50, label %78 50: ; preds = %47 %51 = load ptr, ptr %5, align 8 %52 = load i32, ptr %9, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds double, ptr %51, i64 %53 %55 = load double, ptr %54, align 8 %56 = call double @llvm.fabs.f64(double %55) %57 = fcmp oge double %56, 1.000000e+02 br i1 %57, label %58, label %64 58: ; preds = %50 %59 = load double, ptr %11, align 8 %60 = load ptr, ptr %8, align 8 %61 = load i32, ptr %9, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds double, ptr %60, i64 %62 store double %59, ptr %63, align 8 br label %74 64: ; preds = %50 %65 = load ptr, ptr %5, align 8 %66 = load i32, ptr %9, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds double, ptr %65, i64 %67 %69 = load double, ptr %68, align 8 %70 = load ptr, ptr %8, align 8 %71 = load i32, ptr %9, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds double, ptr %70, i64 %72 store double %69, ptr %73, align 8 br label %74 74: ; preds = %64, %58 br label %75 75: ; preds = %74 %76 = load i32, ptr %9, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %9, align 4 br label %47, !llvm.loop !8 78: ; preds = %47 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2ftv9aln.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gsw_add_mean(ptr noundef %0, double noundef %1, double noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca double, align 8 store ptr %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %10, align 4 store double 0.000000e+00, ptr %11, align 8 store i32 0, ptr %9, align 4 %12 = load i32, ptr %9, align 4 %13 = icmp slt i32 %12, 4 br i1 %13, label %.lr.ph, label %38 .lr.ph: ; preds = %4 br label %14 14: ; preds = %.lr.ph, %33 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %9, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds double, ptr %15, i64 %17 %19 = load double, ptr %18, align 8 %20 = call double @llvm.fabs.f64(double %19) %21 = fcmp ole double %20, 1.000000e+02 br i1 %21, label %22, label %32 22: ; preds = %14 %23 = load i32, ptr %10, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %10, align 4 %25 = load double, ptr %11, align 8 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %9, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds double, ptr %26, i64 %28 %30 = load double, ptr %29, align 8 %31 = fadd double %25, %30 store double %31, ptr %11, align 8 br label %32 32: ; preds = %22, %14 br label %33 33: ; preds = %32 %34 = load i32, ptr %9, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %9, align 4 %36 = load i32, ptr %9, align 4 %37 = icmp slt i32 %36, 4 br i1 %37, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %38 38: ; preds = %._crit_edge, %4 %39 = load i32, ptr %10, align 4 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %42 41: ; preds = %38 store double 0.000000e+00, ptr %11, align 8 br label %47 42: ; preds = %38 %43 = load double, ptr %11, align 8 %44 = load i32, ptr %10, align 4 %45 = sitofp i32 %44 to double %46 = fdiv double %43, %45 store double %46, ptr %11, align 8 br label %47 47: ; preds = %42, %41 store i32 0, ptr %9, align 4 %48 = load i32, ptr %9, align 4 %49 = icmp slt i32 %48, 4 br i1 %49, label %.lr.ph2, label %80 .lr.ph2: ; preds = %47 br label %50 50: ; preds = %.lr.ph2, %75 %51 = load ptr, ptr %5, align 8 %52 = load i32, ptr %9, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds double, ptr %51, i64 %53 %55 = load double, ptr %54, align 8 %56 = call double @llvm.fabs.f64(double %55) %57 = fcmp oge double %56, 1.000000e+02 br i1 %57, label %58, label %64 58: ; preds = %50 %59 = load double, ptr %11, align 8 %60 = load ptr, ptr %8, align 8 %61 = load i32, ptr %9, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds double, ptr %60, i64 %62 store double %59, ptr %63, align 8 br label %74 64: ; preds = %50 %65 = load ptr, ptr %5, align 8 %66 = load i32, ptr %9, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds double, ptr %65, i64 %67 %69 = load double, ptr %68, align 8 %70 = load ptr, ptr %8, align 8 %71 = load i32, ptr %9, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds double, ptr %70, i64 %72 store double %69, ptr %73, align 8 br label %74 74: ; preds = %64, %58 br label %75 75: ; preds = %74 %76 = load i32, ptr %9, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %9, align 4 %78 = load i32, ptr %9, align 4 %79 = icmp slt i32 %78, 4 br i1 %79, label %50, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %75 br label %80 80: ; preds = %._crit_edge3, %47 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp9wxjylrd.c' source_filename = "/tmp/tmp9wxjylrd.c" target datalayout = "e-m:e-p270: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/tmp9wxjylrd.c" target datalayout = "e-m:e-p270: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/tmpxzv5zdwy.c' source_filename = "/tmp/tmpxzv5zdwy.c" target datalayout = "e-m:e-p270: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/tmpxzv5zdwy.c" target datalayout = "e-m:e-p270: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/tmpgjw4ieth.c' source_filename = "/tmp/tmpgjw4ieth.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.filename = private unnamed_addr constant [9 x i8] c"test.txt\00", align 1 @__const.main.data = private unnamed_addr constant [11 x i8] c"123456789\0A\00", align 1 @.str = private unnamed_addr constant [2 x i8] c"w\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"Unable to create %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Unable to write %d bytes to %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"Wrote %d bytes to %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"Unable to close file\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [9 x i8], align 1 %3 = alloca [11 x i8], align 1 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.filename, i64 9, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.data, i64 11, i1 false) %6 = getelementptr inbounds [9 x i8], ptr %2, i64 0, i64 0 %7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str) store ptr %7, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %14 10: ; preds = %0 %11 = load i32, ptr @stderr, align 4 %12 = getelementptr inbounds [9 x i8], ptr %2, i64 0, i64 0 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.1, ptr noundef %12) store i32 1, ptr %1, align 4 br label %39 14: ; preds = %0 %15 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 0 %16 = load ptr, ptr %4, align 8 %17 = call i32 @fwrite(ptr noundef %15, i32 noundef 1, i32 noundef 10, ptr noundef %16) store i32 %17, ptr %5, align 4 %18 = load i32, ptr %5, align 4 %19 = icmp ne i32 %18, 10 br i1 %19, label %20, label %27 20: ; preds = %14 %21 = load i32, ptr @stderr, align 4 %22 = load i32, ptr %5, align 4 %23 = getelementptr inbounds [9 x i8], ptr %2, i64 0, i64 0 %24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str.2, i32 noundef %22, ptr noundef %23) %25 = load ptr, ptr %4, align 8 %26 = call i32 @fclose(ptr noundef %25) store i32 1, ptr %1, align 4 br label %39 27: ; preds = %14 %28 = load i32, ptr %5, align 4 %29 = getelementptr inbounds [9 x i8], ptr %2, i64 0, i64 0 %30 = call i32 @printf(ptr noundef @.str.3, i32 noundef %28, ptr noundef %29) %31 = load ptr, ptr %4, align 8 %32 = call i32 @fclose(ptr noundef %31) store i32 %32, ptr %5, align 4 %33 = load i32, ptr %5, align 4 %34 = icmp ne i32 %33, 0 br i1 %34, label %35, label %38 35: ; preds = %27 %36 = load i32, ptr @stderr, align 4 %37 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %36, ptr noundef @.str.4) store i32 1, ptr %1, align 4 br label %39 38: ; preds = %27 store i32 0, ptr %1, align 4 br label %39 39: ; preds = %38, %35, %20, %10 %40 = load i32, ptr %1, align 4 ret i32 %40 } ; 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 @fopen(ptr noundef, ptr noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #2 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 declare i32 @printf(ptr noundef, 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/tmpgjw4ieth.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.filename = private unnamed_addr constant [9 x i8] c"test.txt\00", align 1 @__const.main.data = private unnamed_addr constant [11 x i8] c"123456789\0A\00", align 1 @.str = private unnamed_addr constant [2 x i8] c"w\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"Unable to create %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Unable to write %d bytes to %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"Wrote %d bytes to %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"Unable to close file\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [9 x i8], align 1 %3 = alloca [11 x i8], align 1 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.filename, i64 9, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.data, i64 11, i1 false) %6 = getelementptr inbounds [9 x i8], ptr %2, i64 0, i64 0 %7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str) store ptr %7, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %14 10: ; preds = %0 %11 = load i32, ptr @stderr, align 4 %12 = getelementptr inbounds [9 x i8], ptr %2, i64 0, i64 0 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.1, ptr noundef %12) store i32 1, ptr %1, align 4 br label %39 14: ; preds = %0 %15 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 0 %16 = load ptr, ptr %4, align 8 %17 = call i32 @fwrite(ptr noundef %15, i32 noundef 1, i32 noundef 10, ptr noundef %16) store i32 %17, ptr %5, align 4 %18 = load i32, ptr %5, align 4 %19 = icmp ne i32 %18, 10 br i1 %19, label %20, label %27 20: ; preds = %14 %21 = load i32, ptr @stderr, align 4 %22 = load i32, ptr %5, align 4 %23 = getelementptr inbounds [9 x i8], ptr %2, i64 0, i64 0 %24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str.2, i32 noundef %22, ptr noundef %23) %25 = load ptr, ptr %4, align 8 %26 = call i32 @fclose(ptr noundef %25) store i32 1, ptr %1, align 4 br label %39 27: ; preds = %14 %28 = load i32, ptr %5, align 4 %29 = getelementptr inbounds [9 x i8], ptr %2, i64 0, i64 0 %30 = call i32 @printf(ptr noundef @.str.3, i32 noundef %28, ptr noundef %29) %31 = load ptr, ptr %4, align 8 %32 = call i32 @fclose(ptr noundef %31) store i32 %32, ptr %5, align 4 %33 = load i32, ptr %5, align 4 %34 = icmp ne i32 %33, 0 br i1 %34, label %35, label %38 35: ; preds = %27 %36 = load i32, ptr @stderr, align 4 %37 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %36, ptr noundef @.str.4) store i32 1, ptr %1, align 4 br label %39 38: ; preds = %27 store i32 0, ptr %1, align 4 br label %39 39: ; preds = %38, %35, %20, %10 %40 = load i32, ptr %1, align 4 ret i32 %40 } ; 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 @fopen(ptr noundef, ptr noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #2 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 declare i32 @printf(ptr noundef, 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/tmph_li6jwj.c' source_filename = "/tmp/tmph_li6jwj.c" target datalayout = "e-m:e-p270: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 ptr null, align 8 @.str = private unnamed_addr constant [6 x i8] c"</%s>\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @end(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 store ptr null, ptr %9, align 8 %10 = load ptr, ptr %8, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %14 12: ; preds = %4 %13 = load ptr, ptr %8, align 8 store ptr %13, ptr %9, align 8 br label %16 14: ; preds = %4 %15 = load ptr, ptr @stderr, align 8 store ptr %15, ptr %9, align 8 br label %16 16: ; preds = %14, %12 %17 = load ptr, ptr %9, align 8 %18 = load ptr, ptr %5, align 8 %19 = call i32 @fprintf(ptr noundef %17, ptr noundef @.str, ptr noundef %18) ret i32 0 } declare i32 @fprintf(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/tmph_li6jwj.c" target datalayout = "e-m:e-p270: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 ptr null, align 8 @.str = private unnamed_addr constant [6 x i8] c"</%s>\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @end(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 store ptr null, ptr %9, align 8 %10 = load ptr, ptr %8, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %14 12: ; preds = %4 %13 = load ptr, ptr %8, align 8 store ptr %13, ptr %9, align 8 br label %16 14: ; preds = %4 %15 = load ptr, ptr @stderr, align 8 store ptr %15, ptr %9, align 8 br label %16 16: ; preds = %14, %12 %17 = load ptr, ptr %9, align 8 %18 = load ptr, ptr %5, align 8 %19 = call i32 @fprintf(ptr noundef %17, ptr noundef @.str, ptr noundef %18) ret i32 0 } declare i32 @fprintf(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/tmp3e1j9tr4.c' source_filename = "/tmp/tmp3e1j9tr4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hypergeo(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 %6, align 4 %10 = load i32, ptr %5, align 4 %11 = call i64 @lbinom(i32 noundef %9, i32 noundef %10) %12 = load i32, ptr %8, align 4 %13 = load i32, ptr %6, align 4 %14 = sub nsw i32 %12, %13 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %5, align 4 %17 = sub nsw i32 %15, %16 %18 = call i64 @lbinom(i32 noundef %14, i32 noundef %17) %19 = add nsw i64 %11, %18 %20 = load i32, ptr %8, align 4 %21 = load i32, ptr %7, align 4 %22 = call i64 @lbinom(i32 noundef %20, i32 noundef %21) %23 = sub nsw i64 %19, %22 %24 = call double @exp(i64 noundef %23) ret double %24 } declare double @exp(i64 noundef) #1 declare i64 @lbinom(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/tmp3e1j9tr4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hypergeo(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 %6, align 4 %10 = load i32, ptr %5, align 4 %11 = call i64 @lbinom(i32 noundef %9, i32 noundef %10) %12 = load i32, ptr %8, align 4 %13 = load i32, ptr %6, align 4 %14 = sub nsw i32 %12, %13 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %5, align 4 %17 = sub nsw i32 %15, %16 %18 = call i64 @lbinom(i32 noundef %14, i32 noundef %17) %19 = add nsw i64 %11, %18 %20 = load i32, ptr %8, align 4 %21 = load i32, ptr %7, align 4 %22 = call i64 @lbinom(i32 noundef %20, i32 noundef %21) %23 = sub nsw i64 %19, %22 %24 = call double @exp(i64 noundef %23) ret double %24 } declare double @exp(i64 noundef) #1 declare i64 @lbinom(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/tmp0y5q3ahs.c' source_filename = "/tmp/tmp0y5q3ahs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UP3D_GetHeaterTempReached(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp slt i32 %4, 1 br i1 %5, label %9, label %6 6: ; preds = %1 %7 = load i32, ptr %3, align 4 %8 = icmp sgt i32 %7, 2 br i1 %8, label %9, label %10 9: ; preds = %6, %1 store i32 -1, ptr %2, align 4 br label %15 10: ; preds = %6 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 18, %11 %13 = sub nsw i32 %12, 1 %14 = call i32 @UP3D_GetParameter(i32 noundef %13) store i32 %14, ptr %2, align 4 br label %15 15: ; preds = %10, %9 %16 = load i32, ptr %2, align 4 ret i32 %16 } declare i32 @UP3D_GetParameter(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/tmp0y5q3ahs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UP3D_GetHeaterTempReached(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp slt i32 %4, 1 br i1 %5, label %9, label %6 6: ; preds = %1 %7 = load i32, ptr %3, align 4 %8 = icmp sgt i32 %7, 2 br i1 %8, label %9, label %10 9: ; preds = %6, %1 store i32 -1, ptr %2, align 4 br label %15 10: ; preds = %6 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 18, %11 %13 = sub nsw i32 %12, 1 %14 = call i32 @UP3D_GetParameter(i32 noundef %13) store i32 %14, ptr %2, align 4 br label %15 15: ; preds = %10, %9 %16 = load i32, ptr %2, align 4 ret i32 %16 } declare i32 @UP3D_GetParameter(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/tmp9p84w4qe.c' source_filename = "/tmp/tmp9p84w4qe.c" target datalayout = "e-m:e-p270: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.ether_header = type { i32 } @ETHER_ADDR_LEN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @inet_get_mac_addr_dst(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 %7 = load ptr, ptr %5, align 8 %8 = getelementptr inbounds %struct.ether_header, ptr %7, i32 0, i32 0 %9 = load i32, ptr %8, align 4 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr @ETHER_ADDR_LEN, align 4 %12 = call i32 @bcopy(i32 noundef %9, ptr noundef %10, i32 noundef %11) ret i32 0 } declare i32 @bcopy(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9p84w4qe.c" target datalayout = "e-m:e-p270: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.ether_header = type { i32 } @ETHER_ADDR_LEN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @inet_get_mac_addr_dst(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 %7 = load ptr, ptr %5, align 8 %8 = getelementptr inbounds %struct.ether_header, ptr %7, i32 0, i32 0 %9 = load i32, ptr %8, align 4 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr @ETHER_ADDR_LEN, align 4 %12 = call i32 @bcopy(i32 noundef %9, ptr noundef %10, i32 noundef %11) ret i32 0 } declare i32 @bcopy(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp375uq4tc.c' source_filename = "/tmp/tmp375uq4tc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%lu\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @printf(ptr noundef @.str, i32 noundef 8) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp375uq4tc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%lu\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @printf(ptr noundef @.str, i32 noundef 8) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy8qxcqt8.c' source_filename = "/tmp/tmpy8qxcqt8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c" \09\0A\0D\0B\0C\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @trim(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 ptr @_trim(ptr noundef %3, ptr noundef @.str, i32 noundef 3) ret ptr %4 } declare ptr @_trim(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/tmpy8qxcqt8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c" \09\0A\0D\0B\0C\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @trim(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 ptr @_trim(ptr noundef %3, ptr noundef @.str, i32 noundef 3) ret ptr %4 } declare ptr @_trim(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/tmpkvvlb42e.c' source_filename = "/tmp/tmpkvvlb42e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @push_string(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca [8 x i8], align 1 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @insert_unconflicted_element(ptr noundef %5) store ptr %6, ptr %3, align 8 %7 = getelementptr inbounds [8 x i8], ptr %4, i64 0, i64 0 %8 = call i32 @memcpy(ptr noundef %7, ptr noundef %3, i32 noundef 8) %9 = getelementptr inbounds [8 x i8], ptr %4, i64 0, i64 0 %10 = call i32 @push_bytearray(ptr noundef %9, i32 noundef 8) ret void } declare ptr @insert_unconflicted_element(ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @push_bytearray(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/tmpkvvlb42e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @push_string(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca [8 x i8], align 1 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @insert_unconflicted_element(ptr noundef %5) store ptr %6, ptr %3, align 8 %7 = getelementptr inbounds [8 x i8], ptr %4, i64 0, i64 0 %8 = call i32 @memcpy(ptr noundef %7, ptr noundef %3, i32 noundef 8) %9 = getelementptr inbounds [8 x i8], ptr %4, i64 0, i64 0 %10 = call i32 @push_bytearray(ptr noundef %9, i32 noundef 8) ret void } declare ptr @insert_unconflicted_element(ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @push_bytearray(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/tmp7_dlxcf_.c' source_filename = "/tmp/tmp7_dlxcf_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copystring(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %9, label %8 8: ; preds = %1 store ptr null, ptr %2, align 8 br label %27 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = call i32 @strlen(ptr noundef %10) %12 = add nsw i32 %11, 1 %13 = sext i32 %12 to i64 store i64 %13, ptr %4, align 8 store ptr null, ptr %5, align 8 %14 = load i64, ptr %4, align 8 %15 = icmp ugt i64 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %9 %17 = load i64, ptr %4, align 8 %18 = call ptr @malloc(i64 noundef %17) store ptr %18, ptr %5, align 8 br label %19 19: ; preds = %16, %9 %20 = load ptr, ptr %5, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %23, label %22 22: ; preds = %19 store ptr null, ptr %2, align 8 br label %27 23: ; preds = %19 %24 = load ptr, ptr %5, align 8 %25 = load ptr, ptr %3, align 8 %26 = call ptr @strcpy(ptr noundef %24, ptr noundef %25) store ptr %26, ptr %2, align 8 br label %27 27: ; preds = %23, %22, %8 %28 = load ptr, ptr %2, align 8 ret ptr %28 } declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare ptr @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/tmp7_dlxcf_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copystring(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %9, label %8 8: ; preds = %1 store ptr null, ptr %2, align 8 br label %27 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = call i32 @strlen(ptr noundef %10) %12 = add nsw i32 %11, 1 %13 = sext i32 %12 to i64 store i64 %13, ptr %4, align 8 store ptr null, ptr %5, align 8 %14 = load i64, ptr %4, align 8 %15 = icmp ugt i64 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %9 %17 = load i64, ptr %4, align 8 %18 = call ptr @malloc(i64 noundef %17) store ptr %18, ptr %5, align 8 br label %19 19: ; preds = %16, %9 %20 = load ptr, ptr %5, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %23, label %22 22: ; preds = %19 store ptr null, ptr %2, align 8 br label %27 23: ; preds = %19 %24 = load ptr, ptr %5, align 8 %25 = load ptr, ptr %3, align 8 %26 = call ptr @strcpy(ptr noundef %24, ptr noundef %25) store ptr %26, ptr %2, align 8 br label %27 27: ; preds = %23, %22, %8 %28 = load ptr, ptr %2, align 8 ret ptr %28 } declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare ptr @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/tmpmjeyweaq.c' source_filename = "/tmp/tmpmjeyweaq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bs_puts_utf16(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 @bs_puts_utf8or16(ptr noundef %3, i32 noundef 1) ret void } declare i32 @bs_puts_utf8or16(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/tmpmjeyweaq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bs_puts_utf16(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 @bs_puts_utf8or16(ptr noundef %3, i32 noundef 1) ret void } declare i32 @bs_puts_utf8or16(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/tmpiplaf5b2.c' source_filename = "/tmp/tmpiplaf5b2.c" target datalayout = "e-m:e-p270: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"Add a number of characters!\0A\00", align 1 @__const.main.array = private unnamed_addr constant [9 x i8] c"@CABHKIJ\0F", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"\\x%x\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(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [9 x i8], align 1 %7 = alloca i32, align 4 %8 = 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 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 2 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %39 13: ; preds = %2 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.array, i64 9, i1 false) %14 = call i32 @time(ptr noundef null) %15 = call i32 @srand(i32 noundef %14) store i32 0, ptr %7, align 4 br label %16 16: ; preds = %34, %13 %17 = load i32, ptr %7, align 4 %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 = icmp slt i32 %17, %21 br i1 %22, label %23, label %37 23: ; preds = %16 %24 = call i32 (...) @rand() %25 = sext i32 %24 to i64 %26 = urem i64 %25, 9 %27 = trunc i64 %26 to i32 store i32 %27, ptr %8, align 4 %28 = load i32, ptr %8, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [9 x i8], ptr %6, i64 0, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %32) br label %34 34: ; preds = %23 %35 = load i32, ptr %7, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %7, align 4 br label %16, !llvm.loop !6 37: ; preds = %16 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %39 39: ; preds = %37, %11 %40 = load i32, ptr %3, align 4 ret i32 %40 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiplaf5b2.c" target datalayout = "e-m:e-p270: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"Add a number of characters!\0A\00", align 1 @__const.main.array = private unnamed_addr constant [9 x i8] c"@CABHKIJ\0F", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"\\x%x\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(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [9 x i8], align 1 %7 = alloca i32, align 4 %8 = 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 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 2 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %44 13: ; preds = %2 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.array, i64 9, i1 false) %14 = call i32 @time(ptr noundef null) %15 = call i32 @srand(i32 noundef %14) store i32 0, ptr %7, align 4 %16 = load i32, ptr %7, align 4 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call i32 @atoi(ptr noundef %19) %21 = icmp slt i32 %16, %20 br i1 %21, label %.lr.ph, label %42 .lr.ph: ; preds = %13 br label %22 22: ; preds = %.lr.ph, %33 %23 = call i32 (...) @rand() %24 = sext i32 %23 to i64 %25 = urem i64 %24, 9 %26 = trunc i64 %25 to i32 store i32 %26, ptr %8, align 4 %27 = load i32, ptr %8, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [9 x i8], ptr %6, i64 0, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %31) br label %33 33: ; preds = %22 %34 = load i32, ptr %7, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %7, align 4 %36 = load i32, ptr %7, align 4 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 1 %39 = load ptr, ptr %38, align 8 %40 = call i32 @atoi(ptr noundef %39) %41 = icmp slt i32 %36, %40 br i1 %41, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %42 42: ; preds = %._crit_edge, %13 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %44 44: ; preds = %42, %11 %45 = load i32, ptr %3, align 4 ret i32 %45 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpuc4e8p0p.c' source_filename = "/tmp/tmpuc4e8p0p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @filter(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 ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store ptr null, ptr %8, align 8 %13 = load ptr, ptr %4, align 8 store ptr %13, ptr %10, align 8 store ptr null, ptr %11, align 8 %14 = load ptr, ptr %10, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 33 br i1 %17, label %18, label %21 18: ; preds = %2 %19 = load ptr, ptr %10, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %10, align 8 store i32 1, ptr %7, align 4 br label %21 21: ; preds = %18, %2 br label %22 22: ; preds = %260, %21 %23 = load ptr, ptr %10, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %261 27: ; preds = %22 store i32 0, ptr %6, align 4 %28 = load ptr, ptr %10, align 8 store ptr %28, ptr %11, align 8 %29 = load ptr, ptr %10, align 8 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 switch i32 %31, label %198 [ i32 42, label %32 i32 63, label %163 ] 32: ; preds = %27 %33 = load ptr, ptr %10, align 8 %34 = getelementptr inbounds i8, ptr %33, i32 1 store ptr %34, ptr %10, align 8 br label %35 35: ; preds = %52, %32 %36 = load ptr, ptr %10, align 8 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp ne i32 %38, 42 br i1 %39, label %40, label %50 40: ; preds = %35 %41 = load ptr, ptr %10, align 8 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp ne i32 %43, 63 br i1 %44, label %45, label %50 45: ; preds = %40 %46 = load ptr, ptr %10, align 8 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = icmp ne i32 %48, 0 br label %50 50: ; preds = %45, %40, %35 %51 = phi i1 [ false, %40 ], [ false, %35 ], [ %49, %45 ] br i1 %51, label %52, label %57 52: ; preds = %50 %53 = load i32, ptr %6, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %6, align 4 %55 = load ptr, ptr %10, align 8 %56 = getelementptr inbounds i8, ptr %55, i32 1 store ptr %56, ptr %10, align 8 br label %35, !llvm.loop !6 57: ; preds = %50 %58 = load i32, ptr %6, align 4 %59 = icmp eq i32 %58, 0 br i1 %59, label %60, label %96 60: ; preds = %57 %61 = load ptr, ptr %10, align 8 store ptr %61, ptr %9, align 8 br label %62 62: ; preds = %67, %60 %63 = load ptr, ptr %10, align 8 %64 = load i8, ptr %63, align 1 %65 = sext i8 %64 to i32 %66 = icmp eq i32 %65, 42 br i1 %66, label %67, label %70 67: ; preds = %62 %68 = load ptr, ptr %10, align 8 %69 = getelementptr inbounds i8, ptr %68, i32 1 store ptr %69, ptr %10, align 8 br label %62, !llvm.loop !8 70: ; preds = %62 %71 = load ptr, ptr %10, align 8 %72 = load i8, ptr %71, align 1 %73 = sext i8 %72 to i32 %74 = icmp ne i32 %73, 0 br i1 %74, label %75, label %77 75: ; preds = %70 %76 = load ptr, ptr %9, align 8 store ptr %76, ptr %10, align 8 br label %77 77: ; preds = %75, %70 %78 = load ptr, ptr %10, align 8 %79 = load i8, ptr %78, align 1 %80 = sext i8 %79 to i32 %81 = icmp eq i32 %80, 42 br i1 %81, label %87, label %82 82: ; preds = %77 %83 = load ptr, ptr %10, align 8 %84 = load i8, ptr %83, align 1 %85 = sext i8 %84 to i32 %86 = icmp eq i32 %85, 63 br i1 %86, label %87, label %91 87: ; preds = %82, %77 %88 = load ptr, ptr %5, align 8 %89 = getelementptr inbounds i8, ptr %88, i64 1 store ptr %89, ptr %8, align 8 %90 = load ptr, ptr %11, align 8 store ptr %90, ptr %9, align 8 br label %260 91: ; preds = %82 %92 = load i32, ptr %7, align 4 %93 = icmp eq i32 %92, 0 %94 = zext i1 %93 to i64 %95 = select i1 %93, i32 0, i32 1 store i32 %95, ptr %3, align 4 br label %262 96: ; preds = %57 %97 = load ptr, ptr %10, align 8 %98 = load i8, ptr %97, align 1 store i8 %98, ptr %12, align 1 %99 = load ptr, ptr %10, align 8 %100 = load i8, ptr %99, align 1 %101 = sext i8 %100 to i32 %102 = icmp ne i32 %101, 0 br i1 %102, label %103, label %105 103: ; preds = %96 %104 = load ptr, ptr %10, align 8 store i8 0, ptr %104, align 1 br label %105 105: ; preds = %103, %96 %106 = load ptr, ptr %5, align 8 %107 = load ptr, ptr %11, align 8 %108 = getelementptr inbounds i8, ptr %107, i64 1 %109 = load i32, ptr %6, align 4 %110 = call ptr @find(ptr noundef %106, ptr noundef %108, i32 noundef %109) store ptr %110, ptr %5, align 8 %111 = icmp eq ptr %110, null br i1 %111, label %112, label %115 112: ; preds = %105 %113 = load i8, ptr %12, align 1 %114 = load ptr, ptr %10, align 8 store i8 %113, ptr %114, align 1 store i32 -1, ptr %3, align 4 br label %262 115: ; preds = %105 %116 = load i8, ptr %12, align 1 %117 = sext i8 %116 to i32 %118 = icmp eq i32 %117, 63 br i1 %118, label %119, label %134 119: ; preds = %115 %120 = load i32, ptr %6, align 4 %121 = icmp sgt i32 %120, 1 br i1 %121, label %122, label %129 122: ; preds = %119 %123 = load ptr, ptr %5, align 8 %124 = load i32, ptr %6, align 4 %125 = sext i32 %124 to i64 %126 = sub i64 0, %125 %127 = getelementptr inbounds i8, ptr %123, i64 %126 %128 = getelementptr inbounds i8, ptr %127, i64 1 store ptr %128, ptr %8, align 8 br label %132 129: ; preds = %119 %130 = load ptr, ptr %5, align 8 %131 = getelementptr inbounds i8, ptr %130, i64 1 store ptr %131, ptr %8, align 8 br label %132 132: ; preds = %129, %122 %133 = load ptr, ptr %11, align 8 store ptr %133, ptr %9, align 8 br label %134 134: ; preds = %132, %115 %135 = load i8, ptr %12, align 1 %136 = load ptr, ptr %10, align 8 store i8 %135, ptr %136, align 1 %137 = load i8, ptr %12, align 1 %138 = sext i8 %137 to i32 %139 = icmp eq i32 %138, 0 br i1 %139, label %140, label %147 140: ; preds = %134 %141 = load ptr, ptr %5, align 8 %142 = load i8, ptr %141, align 1 %143 = sext i8 %142 to i32 %144 = icmp ne i32 %143, 0 br i1 %144, label %145, label %147 145: ; preds = %140 %146 = load ptr, ptr %11, align 8 store ptr %146, ptr %10, align 8 br label %147 147: ; preds = %145, %140, %134 br label %148 148: ; preds = %147 %149 = load i8, ptr %12, align 1 %150 = sext i8 %149 to i32 %151 = icmp eq i32 %150, 0 br i1 %151, label %152, label %162 152: ; preds = %148 %153 = load ptr, ptr %5, align 8 %154 = load i8, ptr %153, align 1 %155 = sext i8 %154 to i32 %156 = icmp eq i32 %155, 0 br i1 %156, label %157, label %162 157: ; preds = %152 %158 = load i32, ptr %7, align 4 %159 = icmp eq i32 %158, 0 %160 = zext i1 %159 to i64 %161 = select i1 %159, i32 0, i32 1 store i32 %161, ptr %3, align 4 br label %262 162: ; preds = %152, %148 br label %260 163: ; preds = %27 %164 = load ptr, ptr %5, align 8 %165 = getelementptr inbounds i8, ptr %164, i32 1 store ptr %165, ptr %5, align 8 %166 = load i8, ptr %164, align 1 %167 = sext i8 %166 to i32 %168 = icmp eq i32 %167, 0 br i1 %168, label %169, label %170 169: ; preds = %163 store i32 -1, ptr %3, align 4 br label %262 170: ; preds = %163 %171 = load ptr, ptr %10, align 8 %172 = getelementptr inbounds i8, ptr %171, i32 1 store ptr %172, ptr %10, align 8 %173 = load i8, ptr %172, align 1 %174 = sext i8 %173 to i32 %175 = icmp eq i32 %174, 0 br i1 %175, label %176, label %186 176: ; preds = %170 %177 = load ptr, ptr %5, align 8 %178 = load i8, ptr %177, align 1 %179 = sext i8 %178 to i32 %180 = icmp eq i32 %179, 0 br i1 %180, label %181, label %186 181: ; preds = %176 %182 = load i32, ptr %7, align 4 %183 = icmp eq i32 %182, 0 %184 = zext i1 %183 to i64 %185 = select i1 %183, i32 0, i32 1 store i32 %185, ptr %3, align 4 br label %262 186: ; preds = %176, %170 %187 = load ptr, ptr %10, align 8 %188 = load i8, ptr %187, align 1 %189 = sext i8 %188 to i32 %190 = icmp eq i32 %189, 0 br i1 %190, label %191, label %197 191: ; preds = %186 %192 = load ptr, ptr %8, align 8 %193 = icmp ne ptr %192, null br i1 %193, label %194, label %197 194: ; preds = %191 %195 = load ptr, ptr %8, align 8 store ptr %195, ptr %5, align 8 %196 = load ptr, ptr %9, align 8 store ptr %196, ptr %10, align 8 br label %197 197: ; preds = %194, %191, %186 br label %260 198: ; preds = %27 br label %199 199: ; preds = %216, %198 %200 = load ptr, ptr %10, align 8 %201 = load i8, ptr %200, align 1 %202 = sext i8 %201 to i32 %203 = icmp ne i32 %202, 42 br i1 %203, label %204, label %214 204: ; preds = %199 %205 = load ptr, ptr %10, align 8 %206 = load i8, ptr %205, align 1 %207 = sext i8 %206 to i32 %208 = icmp ne i32 %207, 63 br i1 %208, label %209, label %214 209: ; preds = %204 %210 = load ptr, ptr %10, align 8 %211 = load i8, ptr %210, align 1 %212 = sext i8 %211 to i32 %213 = icmp ne i32 %212, 0 br label %214 214: ; preds = %209, %204, %199 %215 = phi i1 [ false, %204 ], [ false, %199 ], [ %213, %209 ] br i1 %215, label %216, label %221 216: ; preds = %214 %217 = load i32, ptr %6, align 4 %218 = add nsw i32 %217, 1 store i32 %218, ptr %6, align 4 %219 = load ptr, ptr %10, align 8 %220 = getelementptr inbounds i8, ptr %219, i32 1 store ptr %220, ptr %10, align 8 br label %199, !llvm.loop !9 221: ; preds = %214 %222 = load ptr, ptr %10, align 8 %223 = load i8, ptr %222, align 1 store i8 %223, ptr %12, align 1 %224 = load ptr, ptr %10, align 8 store i8 0, ptr %224, align 1 %225 = load ptr, ptr %5, align 8 %226 = load ptr, ptr %11, align 8 %227 = load i32, ptr %6, align 4 %228 = call i32 @strncmp(ptr noundef %225, ptr noundef %226, i32 noundef %227) %229 = icmp ne i32 %228, 0 br i1 %229, label %230, label %239 230: ; preds = %221 %231 = load ptr, ptr %8, align 8 %232 = icmp ne ptr %231, null br i1 %232, label %233, label %236 233: ; preds = %230 %234 = load ptr, ptr %8, align 8 store ptr %234, ptr %5, align 8 %235 = load ptr, ptr %9, align 8 store ptr %235, ptr %10, align 8 br label %260 236: ; preds = %230 %237 = load i8, ptr %12, align 1 %238 = load ptr, ptr %10, align 8 store i8 %237, ptr %238, align 1 store i32 -1, ptr %3, align 4 br label %262 239: ; preds = %221 %240 = load i8, ptr %12, align 1 %241 = load ptr, ptr %10, align 8 store i8 %240, ptr %241, align 1 %242 = load i32, ptr %6, align 4 %243 = load ptr, ptr %5, align 8 %244 = sext i32 %242 to i64 %245 = getelementptr inbounds i8, ptr %243, i64 %244 store ptr %245, ptr %5, align 8 %246 = load i8, ptr %12, align 1 %247 = sext i8 %246 to i32 %248 = icmp eq i32 %247, 0 br i1 %248, label %249, label %259 249: ; preds = %239 %250 = load ptr, ptr %5, align 8 %251 = load i8, ptr %250, align 1 %252 = sext i8 %251 to i32 %253 = icmp eq i32 %252, 0 br i1 %253, label %254, label %259 254: ; preds = %249 %255 = load i32, ptr %7, align 4 %256 = icmp eq i32 %255, 0 %257 = zext i1 %256 to i64 %258 = select i1 %256, i32 0, i32 1 store i32 %258, ptr %3, align 4 br label %262 259: ; preds = %249, %239 br label %260 260: ; preds = %259, %233, %197, %162, %87 br label %22, !llvm.loop !10 261: ; preds = %22 store i32 -1, ptr %3, align 4 br label %262 262: ; preds = %261, %254, %236, %181, %169, %157, %112, %91 %263 = load i32, ptr %3, align 4 ret i32 %263 } declare ptr @find(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuc4e8p0p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @filter(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 ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store ptr null, ptr %8, align 8 %13 = load ptr, ptr %4, align 8 store ptr %13, ptr %10, align 8 store ptr null, ptr %11, align 8 %14 = load ptr, ptr %10, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 33 br i1 %17, label %18, label %21 18: ; preds = %2 %19 = load ptr, ptr %10, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %10, align 8 store i32 1, ptr %7, align 4 br label %21 21: ; preds = %18, %2 %22 = load ptr, ptr %10, align 8 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp ne i32 %24, 0 br i1 %25, label %.lr.ph2, label %267 .lr.ph2: ; preds = %21 br label %26 26: ; preds = %.lr.ph2, %262 store i32 0, ptr %6, align 4 %27 = load ptr, ptr %10, align 8 store ptr %27, ptr %11, align 8 %28 = load ptr, ptr %10, align 8 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 switch i32 %30, label %200 [ i32 42, label %31 i32 63, label %165 ] 31: ; preds = %26 %32 = load ptr, ptr %10, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %10, align 8 br label %34 34: ; preds = %51, %31 %35 = load ptr, ptr %10, align 8 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp ne i32 %37, 42 br i1 %38, label %39, label %49 39: ; preds = %34 %40 = load ptr, ptr %10, align 8 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = icmp ne i32 %42, 63 br i1 %43, label %44, label %49 44: ; preds = %39 %45 = load ptr, ptr %10, align 8 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp ne i32 %47, 0 br label %49 49: ; preds = %44, %39, %34 %50 = phi i1 [ false, %39 ], [ false, %34 ], [ %48, %44 ] br i1 %50, label %51, label %56 51: ; preds = %49 %52 = load i32, ptr %6, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %6, align 4 %54 = load ptr, ptr %10, align 8 %55 = getelementptr inbounds i8, ptr %54, i32 1 store ptr %55, ptr %10, align 8 br label %34, !llvm.loop !6 56: ; preds = %49 %57 = load i32, ptr %6, align 4 %58 = icmp eq i32 %57, 0 br i1 %58, label %59, label %98 59: ; preds = %56 %60 = load ptr, ptr %10, align 8 store ptr %60, ptr %9, align 8 %61 = load ptr, ptr %10, align 8 %62 = load i8, ptr %61, align 1 %63 = sext i8 %62 to i32 %64 = icmp eq i32 %63, 42 br i1 %64, label %.lr.ph, label %72 .lr.ph: ; preds = %59 br label %65 65: ; preds = %.lr.ph, %65 %66 = load ptr, ptr %10, align 8 %67 = getelementptr inbounds i8, ptr %66, i32 1 store ptr %67, ptr %10, align 8 %68 = load ptr, ptr %10, align 8 %69 = load i8, ptr %68, align 1 %70 = sext i8 %69 to i32 %71 = icmp eq i32 %70, 42 br i1 %71, label %65, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %65 br label %72 72: ; preds = %._crit_edge, %59 %73 = load ptr, ptr %10, align 8 %74 = load i8, ptr %73, align 1 %75 = sext i8 %74 to i32 %76 = icmp ne i32 %75, 0 br i1 %76, label %77, label %79 77: ; preds = %72 %78 = load ptr, ptr %9, align 8 store ptr %78, ptr %10, align 8 br label %79 79: ; preds = %77, %72 %80 = load ptr, ptr %10, align 8 %81 = load i8, ptr %80, align 1 %82 = sext i8 %81 to i32 %83 = icmp eq i32 %82, 42 br i1 %83, label %89, label %84 84: ; preds = %79 %85 = load ptr, ptr %10, align 8 %86 = load i8, ptr %85, align 1 %87 = sext i8 %86 to i32 %88 = icmp eq i32 %87, 63 br i1 %88, label %89, label %93 89: ; preds = %84, %79 %90 = load ptr, ptr %5, align 8 %91 = getelementptr inbounds i8, ptr %90, i64 1 store ptr %91, ptr %8, align 8 %92 = load ptr, ptr %11, align 8 store ptr %92, ptr %9, align 8 br label %262 93: ; preds = %84 %94 = load i32, ptr %7, align 4 %95 = icmp eq i32 %94, 0 %96 = zext i1 %95 to i64 %97 = select i1 %95, i32 0, i32 1 store i32 %97, ptr %3, align 4 br label %268 98: ; preds = %56 %99 = load ptr, ptr %10, align 8 %100 = load i8, ptr %99, align 1 store i8 %100, ptr %12, align 1 %101 = load ptr, ptr %10, align 8 %102 = load i8, ptr %101, align 1 %103 = sext i8 %102 to i32 %104 = icmp ne i32 %103, 0 br i1 %104, label %105, label %107 105: ; preds = %98 %106 = load ptr, ptr %10, align 8 store i8 0, ptr %106, align 1 br label %107 107: ; preds = %105, %98 %108 = load ptr, ptr %5, align 8 %109 = load ptr, ptr %11, align 8 %110 = getelementptr inbounds i8, ptr %109, i64 1 %111 = load i32, ptr %6, align 4 %112 = call ptr @find(ptr noundef %108, ptr noundef %110, i32 noundef %111) store ptr %112, ptr %5, align 8 %113 = icmp eq ptr %112, null br i1 %113, label %114, label %117 114: ; preds = %107 %115 = load i8, ptr %12, align 1 %116 = load ptr, ptr %10, align 8 store i8 %115, ptr %116, align 1 store i32 -1, ptr %3, align 4 br label %268 117: ; preds = %107 %118 = load i8, ptr %12, align 1 %119 = sext i8 %118 to i32 %120 = icmp eq i32 %119, 63 br i1 %120, label %121, label %136 121: ; preds = %117 %122 = load i32, ptr %6, align 4 %123 = icmp sgt i32 %122, 1 br i1 %123, label %124, label %131 124: ; preds = %121 %125 = load ptr, ptr %5, align 8 %126 = load i32, ptr %6, align 4 %127 = sext i32 %126 to i64 %128 = sub i64 0, %127 %129 = getelementptr inbounds i8, ptr %125, i64 %128 %130 = getelementptr inbounds i8, ptr %129, i64 1 store ptr %130, ptr %8, align 8 br label %134 131: ; preds = %121 %132 = load ptr, ptr %5, align 8 %133 = getelementptr inbounds i8, ptr %132, i64 1 store ptr %133, ptr %8, align 8 br label %134 134: ; preds = %131, %124 %135 = load ptr, ptr %11, align 8 store ptr %135, ptr %9, align 8 br label %136 136: ; preds = %134, %117 %137 = load i8, ptr %12, align 1 %138 = load ptr, ptr %10, align 8 store i8 %137, ptr %138, align 1 %139 = load i8, ptr %12, align 1 %140 = sext i8 %139 to i32 %141 = icmp eq i32 %140, 0 br i1 %141, label %142, label %149 142: ; preds = %136 %143 = load ptr, ptr %5, align 8 %144 = load i8, ptr %143, align 1 %145 = sext i8 %144 to i32 %146 = icmp ne i32 %145, 0 br i1 %146, label %147, label %149 147: ; preds = %142 %148 = load ptr, ptr %11, align 8 store ptr %148, ptr %10, align 8 br label %149 149: ; preds = %147, %142, %136 br label %150 150: ; preds = %149 %151 = load i8, ptr %12, align 1 %152 = sext i8 %151 to i32 %153 = icmp eq i32 %152, 0 br i1 %153, label %154, label %164 154: ; preds = %150 %155 = load ptr, ptr %5, align 8 %156 = load i8, ptr %155, align 1 %157 = sext i8 %156 to i32 %158 = icmp eq i32 %157, 0 br i1 %158, label %159, label %164 159: ; preds = %154 %160 = load i32, ptr %7, align 4 %161 = icmp eq i32 %160, 0 %162 = zext i1 %161 to i64 %163 = select i1 %161, i32 0, i32 1 store i32 %163, ptr %3, align 4 br label %268 164: ; preds = %154, %150 br label %262 165: ; preds = %26 %166 = load ptr, ptr %5, align 8 %167 = getelementptr inbounds i8, ptr %166, i32 1 store ptr %167, ptr %5, align 8 %168 = load i8, ptr %166, align 1 %169 = sext i8 %168 to i32 %170 = icmp eq i32 %169, 0 br i1 %170, label %171, label %172 171: ; preds = %165 store i32 -1, ptr %3, align 4 br label %268 172: ; preds = %165 %173 = load ptr, ptr %10, align 8 %174 = getelementptr inbounds i8, ptr %173, i32 1 store ptr %174, ptr %10, align 8 %175 = load i8, ptr %174, align 1 %176 = sext i8 %175 to i32 %177 = icmp eq i32 %176, 0 br i1 %177, label %178, label %188 178: ; preds = %172 %179 = load ptr, ptr %5, align 8 %180 = load i8, ptr %179, align 1 %181 = sext i8 %180 to i32 %182 = icmp eq i32 %181, 0 br i1 %182, label %183, label %188 183: ; preds = %178 %184 = load i32, ptr %7, align 4 %185 = icmp eq i32 %184, 0 %186 = zext i1 %185 to i64 %187 = select i1 %185, i32 0, i32 1 store i32 %187, ptr %3, align 4 br label %268 188: ; preds = %178, %172 %189 = load ptr, ptr %10, align 8 %190 = load i8, ptr %189, align 1 %191 = sext i8 %190 to i32 %192 = icmp eq i32 %191, 0 br i1 %192, label %193, label %199 193: ; preds = %188 %194 = load ptr, ptr %8, align 8 %195 = icmp ne ptr %194, null br i1 %195, label %196, label %199 196: ; preds = %193 %197 = load ptr, ptr %8, align 8 store ptr %197, ptr %5, align 8 %198 = load ptr, ptr %9, align 8 store ptr %198, ptr %10, align 8 br label %199 199: ; preds = %196, %193, %188 br label %262 200: ; preds = %26 br label %201 201: ; preds = %218, %200 %202 = load ptr, ptr %10, align 8 %203 = load i8, ptr %202, align 1 %204 = sext i8 %203 to i32 %205 = icmp ne i32 %204, 42 br i1 %205, label %206, label %216 206: ; preds = %201 %207 = load ptr, ptr %10, align 8 %208 = load i8, ptr %207, align 1 %209 = sext i8 %208 to i32 %210 = icmp ne i32 %209, 63 br i1 %210, label %211, label %216 211: ; preds = %206 %212 = load ptr, ptr %10, align 8 %213 = load i8, ptr %212, align 1 %214 = sext i8 %213 to i32 %215 = icmp ne i32 %214, 0 br label %216 216: ; preds = %211, %206, %201 %217 = phi i1 [ false, %206 ], [ false, %201 ], [ %215, %211 ] br i1 %217, label %218, label %223 218: ; preds = %216 %219 = load i32, ptr %6, align 4 %220 = add nsw i32 %219, 1 store i32 %220, ptr %6, align 4 %221 = load ptr, ptr %10, align 8 %222 = getelementptr inbounds i8, ptr %221, i32 1 store ptr %222, ptr %10, align 8 br label %201, !llvm.loop !9 223: ; preds = %216 %224 = load ptr, ptr %10, align 8 %225 = load i8, ptr %224, align 1 store i8 %225, ptr %12, align 1 %226 = load ptr, ptr %10, align 8 store i8 0, ptr %226, align 1 %227 = load ptr, ptr %5, align 8 %228 = load ptr, ptr %11, align 8 %229 = load i32, ptr %6, align 4 %230 = call i32 @strncmp(ptr noundef %227, ptr noundef %228, i32 noundef %229) %231 = icmp ne i32 %230, 0 br i1 %231, label %232, label %241 232: ; preds = %223 %233 = load ptr, ptr %8, align 8 %234 = icmp ne ptr %233, null br i1 %234, label %235, label %238 235: ; preds = %232 %236 = load ptr, ptr %8, align 8 store ptr %236, ptr %5, align 8 %237 = load ptr, ptr %9, align 8 store ptr %237, ptr %10, align 8 br label %262 238: ; preds = %232 %239 = load i8, ptr %12, align 1 %240 = load ptr, ptr %10, align 8 store i8 %239, ptr %240, align 1 store i32 -1, ptr %3, align 4 br label %268 241: ; preds = %223 %242 = load i8, ptr %12, align 1 %243 = load ptr, ptr %10, align 8 store i8 %242, ptr %243, align 1 %244 = load i32, ptr %6, align 4 %245 = load ptr, ptr %5, align 8 %246 = sext i32 %244 to i64 %247 = getelementptr inbounds i8, ptr %245, i64 %246 store ptr %247, ptr %5, align 8 %248 = load i8, ptr %12, align 1 %249 = sext i8 %248 to i32 %250 = icmp eq i32 %249, 0 br i1 %250, label %251, label %261 251: ; preds = %241 %252 = load ptr, ptr %5, align 8 %253 = load i8, ptr %252, align 1 %254 = sext i8 %253 to i32 %255 = icmp eq i32 %254, 0 br i1 %255, label %256, label %261 256: ; preds = %251 %257 = load i32, ptr %7, align 4 %258 = icmp eq i32 %257, 0 %259 = zext i1 %258 to i64 %260 = select i1 %258, i32 0, i32 1 store i32 %260, ptr %3, align 4 br label %268 261: ; preds = %251, %241 br label %262 262: ; preds = %261, %235, %199, %164, %89 %263 = load ptr, ptr %10, align 8 %264 = load i8, ptr %263, align 1 %265 = sext i8 %264 to i32 %266 = icmp ne i32 %265, 0 br i1 %266, label %26, label %._crit_edge3, !llvm.loop !10 ._crit_edge3: ; preds = %262 br label %267 267: ; preds = %._crit_edge3, %21 store i32 -1, ptr %3, align 4 br label %268 268: ; preds = %267, %256, %238, %183, %171, %159, %114, %93 %269 = load i32, ptr %3, align 4 ret i32 %269 } declare ptr @find(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmph8665ca7.c' source_filename = "/tmp/tmph8665ca7.c" target datalayout = "e-m:e-p270: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/tmph8665ca7.c" target datalayout = "e-m:e-p270: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/tmp0hv53r5j.c' source_filename = "/tmp/tmp0hv53r5j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0hv53r5j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE 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_kezw8pn.c' source_filename = "/tmp/tmp_kezw8pn.c" target datalayout = "e-m:e-p270: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 [60 x i8] c"variance: determine the variability in a series of values.\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"usage:\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"calculate sample variance\0A\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"sampvar [list of numbers]\0A\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.5 = private unnamed_addr constant [37 x i8] c"calculate sample standard deviation\0A\00", align 1 @.str.6 = private unnamed_addr constant [27 x i8] c"sstddev [list of numbers]\0A\00", align 1 @.str.7 = private unnamed_addr constant [31 x i8] c"calculate population variance\0A\00", align 1 @.str.8 = private unnamed_addr constant [26 x i8] c"popvar [list of numbers]\0A\00", align 1 @.str.9 = private unnamed_addr constant [41 x i8] c"calculate population standard deviation\0A\00", align 1 @.str.10 = private unnamed_addr constant [27 x i8] c"pstddev [list of numbers]\0A\00", align 1 @.str.11 = private unnamed_addr constant [30 x i8] c"(list is CSV with no spaces)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.4) %9 = call i32 @printf(ptr noundef @.str.7) %10 = call i32 @printf(ptr noundef @.str.8) %11 = call i32 @printf(ptr noundef @.str.4) %12 = call i32 @printf(ptr noundef @.str.9) %13 = call i32 @printf(ptr noundef @.str.10) %14 = call i32 @printf(ptr noundef @.str.4) %15 = call i32 @printf(ptr noundef @.str.11) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_kezw8pn.c" target datalayout = "e-m:e-p270: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 [60 x i8] c"variance: determine the variability in a series of values.\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"usage:\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"calculate sample variance\0A\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"sampvar [list of numbers]\0A\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.5 = private unnamed_addr constant [37 x i8] c"calculate sample standard deviation\0A\00", align 1 @.str.6 = private unnamed_addr constant [27 x i8] c"sstddev [list of numbers]\0A\00", align 1 @.str.7 = private unnamed_addr constant [31 x i8] c"calculate population variance\0A\00", align 1 @.str.8 = private unnamed_addr constant [26 x i8] c"popvar [list of numbers]\0A\00", align 1 @.str.9 = private unnamed_addr constant [41 x i8] c"calculate population standard deviation\0A\00", align 1 @.str.10 = private unnamed_addr constant [27 x i8] c"pstddev [list of numbers]\0A\00", align 1 @.str.11 = private unnamed_addr constant [30 x i8] c"(list is CSV with no spaces)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.4) %9 = call i32 @printf(ptr noundef @.str.7) %10 = call i32 @printf(ptr noundef @.str.8) %11 = call i32 @printf(ptr noundef @.str.4) %12 = call i32 @printf(ptr noundef @.str.9) %13 = call i32 @printf(ptr noundef @.str.10) %14 = call i32 @printf(ptr noundef @.str.4) %15 = call i32 @printf(ptr noundef @.str.11) 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/tmp8cpssmha.c' source_filename = "/tmp/tmp8cpssmha.c" target datalayout = "e-m:e-p270: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"pls input the temperature you wanna calculate: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"input invalid!\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"It equals %5.2f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %5 5: ; preds = %20, %0 %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = icmp ne i32 %6, 1 br i1 %7, label %12, label %8 8: ; preds = %5 %9 = call signext i8 (...) @getchar() %10 = sext i8 %9 to i32 %11 = icmp ne i32 %10, 10 br label %12 12: ; preds = %8, %5 %13 = phi i1 [ true, %5 ], [ %11, %8 ] br i1 %13, label %14, label %23 14: ; preds = %12 br label %15 15: ; preds = %19, %14 %16 = call signext i8 (...) @getchar() %17 = sext i8 %16 to i32 %18 = icmp ne i32 %17, 10 br i1 %18, label %19, label %20 19: ; preds = %15 br label %15, !llvm.loop !6 20: ; preds = %15 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %22 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %5, !llvm.loop !8 23: ; preds = %12 %24 = load float, ptr %2, align 4 %25 = fsub float %24, 3.200000e+01 %26 = fmul float 5.000000e+00, %25 %27 = fdiv float %26, 9.000000e+00 store float %27, ptr %3, align 4 %28 = load float, ptr %3, align 4 %29 = fpext float %28 to double %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %29) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare signext i8 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8cpssmha.c" target datalayout = "e-m:e-p270: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"pls input the temperature you wanna calculate: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"input invalid!\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"It equals %5.2f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %5 5: ; preds = %19, %0 %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = icmp ne i32 %6, 1 br i1 %7, label %12, label %8 8: ; preds = %5 %9 = call signext i8 (...) @getchar() %10 = sext i8 %9 to i32 %11 = icmp ne i32 %10, 10 br label %12 12: ; preds = %8, %5 %13 = phi i1 [ true, %5 ], [ %11, %8 ] br i1 %13, label %14, label %22 14: ; preds = %12 br label %15 15: ; preds = %15, %14 %16 = call signext i8 (...) @getchar() %17 = sext i8 %16 to i32 %18 = icmp ne i32 %17, 10 br i1 %18, label %15, label %19, !llvm.loop !6 19: ; preds = %15 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %5, !llvm.loop !8 22: ; preds = %12 %23 = load float, ptr %2, align 4 %24 = fsub float %23, 3.200000e+01 %25 = fmul float 5.000000e+00, %24 %26 = fdiv float %25, 9.000000e+00 store float %26, ptr %3, align 4 %27 = load float, ptr %3, align 4 %28 = fpext float %27 to double %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %28) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare signext i8 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp7_idtl3q.c' source_filename = "/tmp/tmp7_idtl3q.c" target datalayout = "e-m:e-p270: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"Begin calculations\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%f %c\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"Division by zero.\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"Unknown operator.\0A\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"= %.3f\0A\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"End calculations\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca float, align 4 %4 = alloca i8, align 1 store i32 0, ptr %1, align 4 store double 0.000000e+00, ptr %2, align 8 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %6 6: ; preds = %45, %0 %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4) %8 = load i8, ptr %4, align 1 %9 = sext i8 %8 to i32 switch i32 %9, label %40 [ i32 43, label %10 i32 45, label %15 i32 42, label %20 i32 47, label %25 i32 83, label %36 i32 69, label %39 ] 10: ; preds = %6 %11 = load float, ptr %3, align 4 %12 = fpext float %11 to double %13 = load double, ptr %2, align 8 %14 = fadd double %13, %12 store double %14, ptr %2, align 8 br label %42 15: ; preds = %6 %16 = load float, ptr %3, align 4 %17 = fpext float %16 to double %18 = load double, ptr %2, align 8 %19 = fsub double %18, %17 store double %19, ptr %2, align 8 br label %42 20: ; preds = %6 %21 = load float, ptr %3, align 4 %22 = fpext float %21 to double %23 = load double, ptr %2, align 8 %24 = fmul double %23, %22 store double %24, ptr %2, align 8 br label %42 25: ; preds = %6 %26 = load float, ptr %3, align 4 %27 = fcmp une float %26, 0.000000e+00 br i1 %27, label %28, label %33 28: ; preds = %25 %29 = load float, ptr %3, align 4 %30 = fpext float %29 to double %31 = load double, ptr %2, align 8 %32 = fdiv double %31, %30 store double %32, ptr %2, align 8 br label %35 33: ; preds = %25 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %35 35: ; preds = %33, %28 br label %42 36: ; preds = %6 %37 = load float, ptr %3, align 4 %38 = fpext float %37 to double store double %38, ptr %2, align 8 br label %42 39: ; preds = %6 br label %42 40: ; preds = %6 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %42 42: ; preds = %40, %39, %36, %35, %20, %15, %10 %43 = load double, ptr %2, align 8 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %43) br label %45 45: ; preds = %42 %46 = load i8, ptr %4, align 1 %47 = sext i8 %46 to i32 %48 = icmp ne i32 69, %47 br i1 %48, label %6, label %49, !llvm.loop !6 49: ; preds = %45 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7_idtl3q.c" target datalayout = "e-m:e-p270: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"Begin calculations\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%f %c\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"Division by zero.\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"Unknown operator.\0A\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"= %.3f\0A\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"End calculations\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca float, align 4 %4 = alloca i8, align 1 store i32 0, ptr %1, align 4 store double 0.000000e+00, ptr %2, align 8 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %6 6: ; preds = %45, %0 %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4) %8 = load i8, ptr %4, align 1 %9 = sext i8 %8 to i32 switch i32 %9, label %40 [ i32 43, label %10 i32 45, label %15 i32 42, label %20 i32 47, label %25 i32 83, label %36 i32 69, label %39 ] 10: ; preds = %6 %11 = load float, ptr %3, align 4 %12 = fpext float %11 to double %13 = load double, ptr %2, align 8 %14 = fadd double %13, %12 store double %14, ptr %2, align 8 br label %42 15: ; preds = %6 %16 = load float, ptr %3, align 4 %17 = fpext float %16 to double %18 = load double, ptr %2, align 8 %19 = fsub double %18, %17 store double %19, ptr %2, align 8 br label %42 20: ; preds = %6 %21 = load float, ptr %3, align 4 %22 = fpext float %21 to double %23 = load double, ptr %2, align 8 %24 = fmul double %23, %22 store double %24, ptr %2, align 8 br label %42 25: ; preds = %6 %26 = load float, ptr %3, align 4 %27 = fcmp une float %26, 0.000000e+00 br i1 %27, label %28, label %33 28: ; preds = %25 %29 = load float, ptr %3, align 4 %30 = fpext float %29 to double %31 = load double, ptr %2, align 8 %32 = fdiv double %31, %30 store double %32, ptr %2, align 8 br label %35 33: ; preds = %25 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %35 35: ; preds = %33, %28 br label %42 36: ; preds = %6 %37 = load float, ptr %3, align 4 %38 = fpext float %37 to double store double %38, ptr %2, align 8 br label %42 39: ; preds = %6 br label %42 40: ; preds = %6 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %42 42: ; preds = %40, %39, %36, %35, %20, %15, %10 %43 = load double, ptr %2, align 8 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %43) br label %45 45: ; preds = %42 %46 = load i8, ptr %4, align 1 %47 = sext i8 %46 to i32 %48 = icmp ne i32 69, %47 br i1 %48, label %6, label %49, !llvm.loop !6 49: ; preds = %45 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(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"}
; ModuleID = '/tmp/tmp72qsbr1d.c' source_filename = "/tmp/tmp72qsbr1d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @environ = external global ptr, align 8 @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr @environ, align 8 store ptr %7, ptr %6, align 8 br label %8 8: ; preds = %12, %2 %9 = load ptr, ptr %6, align 8 %10 = load ptr, ptr %9, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %18 12: ; preds = %8 %13 = load ptr, ptr %6, align 8 %14 = load ptr, ptr %13, align 8 %15 = call i32 @printf(ptr noundef @.str, ptr noundef %14) %16 = load ptr, ptr %6, align 8 %17 = getelementptr inbounds ptr, ptr %16, i32 1 store ptr %17, ptr %6, align 8 br label %8, !llvm.loop !6 18: ; preds = %8 ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp72qsbr1d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @environ = external global ptr, align 8 @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr @environ, align 8 store ptr %7, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 %9 = load ptr, ptr %8, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %.lr.ph, label %20 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %11 %12 = load ptr, ptr %6, align 8 %13 = load ptr, ptr %12, align 8 %14 = call i32 @printf(ptr noundef @.str, ptr noundef %13) %15 = load ptr, ptr %6, align 8 %16 = getelementptr inbounds ptr, ptr %15, i32 1 store ptr %16, ptr %6, align 8 %17 = load ptr, ptr %6, align 8 %18 = load ptr, ptr %17, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %20 20: ; preds = %._crit_edge, %2 ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpdrfmymgn.c' source_filename = "/tmp/tmpdrfmymgn.c" target datalayout = "e-m:e-p270: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/tmpdrfmymgn.c" target datalayout = "e-m:e-p270: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/tmp_dx7no93.c' source_filename = "/tmp/tmp_dx7no93.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_dx7no93.c" target datalayout = "e-m:e-p270: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/tmp3hhsp8wp.c' source_filename = "/tmp/tmp3hhsp8wp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.g = private unnamed_addr constant [19 x [166 x i8]] [[166 x i8] c" PPPPPPPPPPPPPPP EEEEEEEEEEEEEEE RRRRRRRRRRRRRRR DDDDDDDDDDDDDDD IIIIIIIIIIIIIII \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", [166 x i8] c" PPPPPPPPPPPPPPP EEEEEEEEEEEEEEE RRRRRRRRRRRRRRR DDDDDDDDDDDDDDD IIIIIIIIIIIIIII \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", [166 x i8] c" PPP PPPP EEE RRR RRRR DDD DDDDD IIIII \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", [166 x i8] c" PPP PPPP EEE RRR RRRR DDD DDDD IIIII \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", [166 x i8] c" PPP PPPP EEE RRR RRRR DDD DDDD IIIII \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", [166 x i8] c" PPP PPPP EEE RRR RRRR DDD DDDD IIIII \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", [166 x i8] c" PPP PPPP EEE RRR RRRR DDD DDDD IIIII \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", [166 x i8] c" PPP PPPP EEE RRR RRRR DDD DDDD IIIII \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", [166 x i8] c" PPP PPPP EEEEEEEEEE RRRRRRRRRRRRRRR DDD DDDD IIIII \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", [166 x i8] c" PPPPPPPPPPPPPPP EEEEEEEEEE RRRRRRRRRRRRRRR DDD DDDD IIIII \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", [166 x i8] c" PPPPPPPPPPPPPPP EEEEEEEEEE RRRRRRRR DDD DDDD IIIII \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", [166 x i8] c" PPP EEE RRR RRRR DDD DDDD IIIII \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", [166 x i8] c" PPP EEE RRR RRRR DDD DDDD IIIII \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", [166 x i8] c" PPP EEE RRR RRRR DDD DDDD IIIII \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", [166 x i8] c" PPP EEE RRR RRRR DDD DDDD IIIII \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", [166 x i8] c" PPP EEE RRR RRRR DDD DDDD IIIII \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", [166 x i8] c" PPP EEE RRR RRRR DDD DDDDD IIIII \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", [166 x i8] c" PPP EEEEEEEEEEEEEEE RRR RRRR DDDDDDDDDDDDDDD IIIIIIIIIIIIIII \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", [166 x i8] c" PPP EEEEEEEEEEEEEEE RRR RRRR DDDDDDDDDDDDDDD IIIIIIIIIIIIIII \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 [8 x i8] c"\1B[33m%s\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [19 x [166 x i8]], align 16 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.g, i64 3154, i1 false) br label %4 4: ; preds = %0, %18 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %15, %4 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 20 br i1 %7, label %8, label %18 8: ; preds = %5 %9 = load i32, ptr %3, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds [19 x [166 x i8]], ptr %2, i64 0, i64 %10 %12 = getelementptr inbounds [166 x i8], ptr %11, i64 0, i64 0 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %12) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %15 15: ; preds = %8 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 br label %5, !llvm.loop !6 18: ; preds = %5 %19 = call i32 @usleep(i32 noundef 100000) br label %4 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare i32 @usleep(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3hhsp8wp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.g = private unnamed_addr constant [19 x [166 x i8]] [[166 x i8] c" PPPPPPPPPPPPPPP EEEEEEEEEEEEEEE RRRRRRRRRRRRRRR DDDDDDDDDDDDDDD IIIIIIIIIIIIIII \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", [166 x i8] c" PPPPPPPPPPPPPPP EEEEEEEEEEEEEEE RRRRRRRRRRRRRRR DDDDDDDDDDDDDDD IIIIIIIIIIIIIII \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", [166 x i8] c" PPP PPPP EEE RRR RRRR DDD DDDDD IIIII \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", [166 x i8] c" PPP PPPP EEE RRR RRRR DDD DDDD IIIII \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", [166 x i8] c" PPP PPPP EEE RRR RRRR DDD DDDD IIIII \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", [166 x i8] c" PPP PPPP EEE RRR RRRR DDD DDDD IIIII \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", [166 x i8] c" PPP PPPP EEE RRR RRRR DDD DDDD IIIII \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", [166 x i8] c" PPP PPPP EEE RRR RRRR DDD DDDD IIIII \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", [166 x i8] c" PPP PPPP EEEEEEEEEE RRRRRRRRRRRRRRR DDD DDDD IIIII \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", [166 x i8] c" PPPPPPPPPPPPPPP EEEEEEEEEE RRRRRRRRRRRRRRR DDD DDDD IIIII \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", [166 x i8] c" PPPPPPPPPPPPPPP EEEEEEEEEE RRRRRRRR DDD DDDD IIIII \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", [166 x i8] c" PPP EEE RRR RRRR DDD DDDD IIIII \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", [166 x i8] c" PPP EEE RRR RRRR DDD DDDD IIIII \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", [166 x i8] c" PPP EEE RRR RRRR DDD DDDD IIIII \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", [166 x i8] c" PPP EEE RRR RRRR DDD DDDD IIIII \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", [166 x i8] c" PPP EEE RRR RRRR DDD DDDD IIIII \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", [166 x i8] c" PPP EEE RRR RRRR DDD DDDDD IIIII \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", [166 x i8] c" PPP EEEEEEEEEEEEEEE RRR RRRR DDDDDDDDDDDDDDD IIIIIIIIIIIIIII \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", [166 x i8] c" PPP EEEEEEEEEEEEEEE RRR RRRR DDDDDDDDDDDDDDD IIIIIIIIIIIIIII \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 [8 x i8] c"\1B[33m%s\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [19 x [166 x i8]], align 16 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.g, i64 3154, i1 false) br label %4 4: ; preds = %19, %0 store i32 0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 20 br i1 %6, label %.lr.ph, label %19 .lr.ph: ; preds = %4 br label %7 7: ; preds = %.lr.ph, %14 %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds [19 x [166 x i8]], ptr %2, i64 0, i64 %9 %11 = getelementptr inbounds [166 x i8], ptr %10, i64 0, i64 0 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %11) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %14 14: ; preds = %7 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = icmp slt i32 %17, 20 br i1 %18, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %19 19: ; preds = %._crit_edge, %4 %20 = call i32 @usleep(i32 noundef 100000) br label %4 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare i32 @usleep(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp74yq_jg8.c' source_filename = "/tmp/tmp74yq_jg8.c" target datalayout = "e-m:e-p270: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 [58 x i8] c"UART TEST: If you can read this, then UART output works!\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"\0A\0ABeginning communication test\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Sending packet number \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %9, align 4 %11 = call i32 @setup_uart(i32 noundef 25000000, i32 noundef 57600) %12 = call i32 @uart_puts(ptr noundef @.str) %13 = load volatile i32, ptr inttoptr (i64 536870992 to ptr), align 4 store i32 %13, ptr %10, align 4 %14 = load i32, ptr %10, align 4 store volatile i32 %14, ptr inttoptr (i64 536870960 to ptr), align 4 %15 = call i32 @uart_puts(ptr noundef @.str.1) %16 = call i32 @build_header(i32 noundef 0, i32 noundef 3) store volatile i32 %16, ptr inttoptr (i64 32764 to ptr), align 4 store volatile i32 268435455, ptr inttoptr (i64 32764 to ptr), align 4 store volatile i32 0, ptr inttoptr (i64 32764 to ptr), align 4 br label %17 17: ; preds = %51, %2 %18 = load i32, ptr %9, align 4 %19 = icmp ule i32 %18, 100 br i1 %19, label %20, label %52 20: ; preds = %17 %21 = load volatile i32, ptr inttoptr (i64 32768 to ptr), align 4 %22 = and i32 %21, -2147483648 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %51 24: ; preds = %20 %25 = load volatile i32, ptr inttoptr (i64 32764 to ptr), align 4 store i32 %25, ptr %6, align 4 %26 = load i32, ptr %6, align 4 %27 = call i32 @get_flit_type(i32 noundef %26) store i32 %27, ptr %7, align 4 %28 = load i32, ptr %7, align 4 %29 = icmp eq i32 %28, 1 br i1 %29, label %30, label %36 30: ; preds = %24 %31 = call i32 @uart_puts(ptr noundef @.str.2) %32 = load i32, ptr %9, align 4 %33 = call i32 @uart_print_num(i32 noundef %32, i32 noundef 10, i32 noundef 0) %34 = call i32 @uart_putchar(i8 noundef signext 10) %35 = call i32 @build_header(i32 noundef 0, i32 noundef 3) store volatile i32 %35, ptr inttoptr (i64 32764 to ptr), align 4 br label %50 36: ; preds = %24 %37 = load i32, ptr %7, align 4 %38 = icmp eq i32 %37, 4 br i1 %38, label %39, label %45 39: ; preds = %36 %40 = load i32, ptr %6, align 4 %41 = call i32 @get_flit_payload(i32 noundef %40) store i32 %41, ptr %8, align 4 %42 = load i32, ptr %8, align 4 store volatile i32 %42, ptr inttoptr (i64 32764 to ptr), align 4 %43 = load i32, ptr %9, align 4 %44 = add i32 %43, 1 store i32 %44, ptr %9, align 4 br label %49 45: ; preds = %36 %46 = load i32, ptr %6, align 4 %47 = call i32 @get_flit_payload(i32 noundef %46) store i32 %47, ptr %8, align 4 %48 = load i32, ptr %8, align 4 store volatile i32 %48, ptr inttoptr (i64 32764 to ptr), align 4 br label %49 49: ; preds = %45, %39 br label %50 50: ; preds = %49, %30 br label %51 51: ; preds = %50, %20 br label %17, !llvm.loop !6 52: ; preds = %17 br label %53 53: ; preds = %57, %52 %54 = load volatile i32, ptr inttoptr (i64 32768 to ptr), align 4 %55 = and i32 %54, -2147483648 %56 = icmp eq i32 %55, 0 br i1 %56, label %57, label %63 57: ; preds = %53 %58 = load volatile i32, ptr inttoptr (i64 32764 to ptr), align 4 store i32 %58, ptr %6, align 4 %59 = load i32, ptr %6, align 4 %60 = call i32 @get_flit_type(i32 noundef %59) store i32 %60, ptr %7, align 4 %61 = load i32, ptr %9, align 4 %62 = add i32 %61, 1 store i32 %62, ptr %9, align 4 br label %53, !llvm.loop !8 63: ; preds = %53 %64 = call i32 (...) @test_plasma_funcitons() ret i32 0 } declare i32 @setup_uart(i32 noundef, i32 noundef) #1 declare i32 @uart_puts(ptr noundef) #1 declare i32 @build_header(i32 noundef, i32 noundef) #1 declare i32 @get_flit_type(i32 noundef) #1 declare i32 @uart_print_num(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @uart_putchar(i8 noundef signext) #1 declare i32 @get_flit_payload(i32 noundef) #1 declare i32 @test_plasma_funcitons(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp74yq_jg8.c" target datalayout = "e-m:e-p270: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 [58 x i8] c"UART TEST: If you can read this, then UART output works!\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"\0A\0ABeginning communication test\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Sending packet number \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %9, align 4 %11 = call i32 @setup_uart(i32 noundef 25000000, i32 noundef 57600) %12 = call i32 @uart_puts(ptr noundef @.str) %13 = load volatile i32, ptr inttoptr (i64 536870992 to ptr), align 4 store i32 %13, ptr %10, align 4 %14 = load i32, ptr %10, align 4 store volatile i32 %14, ptr inttoptr (i64 536870960 to ptr), align 4 %15 = call i32 @uart_puts(ptr noundef @.str.1) %16 = call i32 @build_header(i32 noundef 0, i32 noundef 3) store volatile i32 %16, ptr inttoptr (i64 32764 to ptr), align 4 store volatile i32 268435455, ptr inttoptr (i64 32764 to ptr), align 4 store volatile i32 0, ptr inttoptr (i64 32764 to ptr), align 4 %17 = load i32, ptr %9, align 4 %18 = icmp ule i32 %17, 100 br i1 %18, label %.lr.ph, label %53 .lr.ph: ; preds = %2 br label %19 19: ; preds = %.lr.ph, %50 %20 = load volatile i32, ptr inttoptr (i64 32768 to ptr), align 4 %21 = and i32 %20, -2147483648 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %50 23: ; preds = %19 %24 = load volatile i32, ptr inttoptr (i64 32764 to ptr), align 4 store i32 %24, ptr %6, align 4 %25 = load i32, ptr %6, align 4 %26 = call i32 @get_flit_type(i32 noundef %25) store i32 %26, ptr %7, align 4 %27 = load i32, ptr %7, align 4 %28 = icmp eq i32 %27, 1 br i1 %28, label %29, label %35 29: ; preds = %23 %30 = call i32 @uart_puts(ptr noundef @.str.2) %31 = load i32, ptr %9, align 4 %32 = call i32 @uart_print_num(i32 noundef %31, i32 noundef 10, i32 noundef 0) %33 = call i32 @uart_putchar(i8 noundef signext 10) %34 = call i32 @build_header(i32 noundef 0, i32 noundef 3) store volatile i32 %34, ptr inttoptr (i64 32764 to ptr), align 4 br label %49 35: ; preds = %23 %36 = load i32, ptr %7, align 4 %37 = icmp eq i32 %36, 4 br i1 %37, label %38, label %44 38: ; preds = %35 %39 = load i32, ptr %6, align 4 %40 = call i32 @get_flit_payload(i32 noundef %39) store i32 %40, ptr %8, align 4 %41 = load i32, ptr %8, align 4 store volatile i32 %41, ptr inttoptr (i64 32764 to ptr), align 4 %42 = load i32, ptr %9, align 4 %43 = add i32 %42, 1 store i32 %43, ptr %9, align 4 br label %48 44: ; preds = %35 %45 = load i32, ptr %6, align 4 %46 = call i32 @get_flit_payload(i32 noundef %45) store i32 %46, ptr %8, align 4 %47 = load i32, ptr %8, align 4 store volatile i32 %47, ptr inttoptr (i64 32764 to ptr), align 4 br label %48 48: ; preds = %44, %38 br label %49 49: ; preds = %48, %29 br label %50 50: ; preds = %49, %19 %51 = load i32, ptr %9, align 4 %52 = icmp ule i32 %51, 100 br i1 %52, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %50 br label %53 53: ; preds = %._crit_edge, %2 %54 = load volatile i32, ptr inttoptr (i64 32768 to ptr), align 4 %55 = and i32 %54, -2147483648 %56 = icmp eq i32 %55, 0 br i1 %56, label %.lr.ph2, label %66 .lr.ph2: ; preds = %53 br label %57 57: ; preds = %.lr.ph2, %57 %58 = load volatile i32, ptr inttoptr (i64 32764 to ptr), align 4 store i32 %58, ptr %6, align 4 %59 = load i32, ptr %6, align 4 %60 = call i32 @get_flit_type(i32 noundef %59) store i32 %60, ptr %7, align 4 %61 = load i32, ptr %9, align 4 %62 = add i32 %61, 1 store i32 %62, ptr %9, align 4 %63 = load volatile i32, ptr inttoptr (i64 32768 to ptr), align 4 %64 = and i32 %63, -2147483648 %65 = icmp eq i32 %64, 0 br i1 %65, label %57, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %57 br label %66 66: ; preds = %._crit_edge3, %53 %67 = call i32 (...) @test_plasma_funcitons() ret i32 0 } declare i32 @setup_uart(i32 noundef, i32 noundef) #1 declare i32 @uart_puts(ptr noundef) #1 declare i32 @build_header(i32 noundef, i32 noundef) #1 declare i32 @get_flit_type(i32 noundef) #1 declare i32 @uart_print_num(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @uart_putchar(i8 noundef signext) #1 declare i32 @get_flit_payload(i32 noundef) #1 declare i32 @test_plasma_funcitons(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpz79m18ai.c' source_filename = "/tmp/tmpz79m18ai.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"This program prints a table of squares.\0A\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"Enter number of entries in table:\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"%10d%10d\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 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %8 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3) store i32 1, ptr %2, align 4 store i32 3, ptr %4, align 4 store i32 1, ptr %5, align 4 br label %9 9: ; preds = %22, %0 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp sle i32 %10, %11 br i1 %12, label %13, label %25 13: ; preds = %9 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %5, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %14, i32 noundef %15) %17 = load i32, ptr %2, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %2, align 4 %19 = load i32, ptr %4, align 4 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, %19 store i32 %21, ptr %5, align 4 br label %22 22: ; preds = %13 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %23, 2 store i32 %24, ptr %4, align 4 br label %9, !llvm.loop !6 25: ; preds = %9 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz79m18ai.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"This program prints a table of squares.\0A\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"Enter number of entries in table:\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"%10d%10d\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 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %8 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3) store i32 1, ptr %2, align 4 store i32 3, ptr %4, align 4 store i32 1, ptr %5, align 4 %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp sle i32 %9, %10 br i1 %11, label %.lr.ph, label %27 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %21 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %5, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %13, i32 noundef %14) %16 = load i32, ptr %2, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %2, align 4 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, %18 store i32 %20, ptr %5, align 4 br label %21 21: ; preds = %12 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 2 store i32 %23, ptr %4, align 4 %24 = load i32, ptr %2, align 4 %25 = load i32, ptr %3, align 4 %26 = icmp sle i32 %24, %25 br i1 %26, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %27 27: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpcgl9pol9.c' source_filename = "/tmp/tmpcgl9pol9.c" target datalayout = "e-m:e-p270: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/tmpcgl9pol9.c" target datalayout = "e-m:e-p270: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/tmp1ycp2xb1.c' source_filename = "/tmp/tmp1ycp2xb1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_map_mem_addr(i8 noundef zeroext %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i8, align 1 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i8 %0, ptr %6, align 1 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %11 = load i8, ptr %6, align 1 %12 = zext i8 %11 to i32 %13 = and i32 %12, 8 %14 = sext i32 %13 to i64 %15 = call i32 @assert(i64 noundef %14) %16 = load i8, ptr %6, align 1 %17 = zext i8 %16 to i32 %18 = and i32 %17, 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %41 20: ; preds = %4 %21 = load i32, ptr %7, align 4 store i32 %21, ptr %10, align 4 %22 = load i8, ptr %6, align 1 %23 = zext i8 %22 to i32 %24 = and i32 %23, 2 %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %39 26: ; preds = %20 %27 = load i8, ptr %6, align 1 %28 = zext i8 %27 to i32 %29 = and i32 %28, 1 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %35 31: ; preds = %26 %32 = load i32, ptr %10, align 4 %33 = load i32, ptr %8, align 4 %34 = add i32 %32, %33 store i32 %34, ptr %5, align 4 br label %43 35: ; preds = %26 %36 = load i32, ptr %10, align 4 %37 = load i32, ptr %9, align 4 %38 = add i32 %36, %37 store i32 %38, ptr %5, align 4 br label %43 39: ; preds = %20 %40 = load i32, ptr %10, align 4 store i32 %40, ptr %5, align 4 br label %43 41: ; preds = %4 %42 = load i32, ptr %9, align 4 store i32 %42, ptr %5, align 4 br label %43 43: ; preds = %41, %39, %35, %31 %44 = load i32, ptr %5, align 4 ret i32 %44 } declare i32 @assert(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/tmp1ycp2xb1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_map_mem_addr(i8 noundef zeroext %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i8, align 1 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i8 %0, ptr %6, align 1 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %11 = load i8, ptr %6, align 1 %12 = zext i8 %11 to i32 %13 = and i32 %12, 8 %14 = sext i32 %13 to i64 %15 = call i32 @assert(i64 noundef %14) %16 = load i8, ptr %6, align 1 %17 = zext i8 %16 to i32 %18 = and i32 %17, 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %41 20: ; preds = %4 %21 = load i32, ptr %7, align 4 store i32 %21, ptr %10, align 4 %22 = load i8, ptr %6, align 1 %23 = zext i8 %22 to i32 %24 = and i32 %23, 2 %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %39 26: ; preds = %20 %27 = load i8, ptr %6, align 1 %28 = zext i8 %27 to i32 %29 = and i32 %28, 1 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %35 31: ; preds = %26 %32 = load i32, ptr %10, align 4 %33 = load i32, ptr %8, align 4 %34 = add i32 %32, %33 store i32 %34, ptr %5, align 4 br label %43 35: ; preds = %26 %36 = load i32, ptr %10, align 4 %37 = load i32, ptr %9, align 4 %38 = add i32 %36, %37 store i32 %38, ptr %5, align 4 br label %43 39: ; preds = %20 %40 = load i32, ptr %10, align 4 store i32 %40, ptr %5, align 4 br label %43 41: ; preds = %4 %42 = load i32, ptr %9, align 4 store i32 %42, ptr %5, align 4 br label %43 43: ; preds = %41, %39, %35, %31 %44 = load i32, ptr %5, align 4 ret i32 %44 } declare i32 @assert(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/tmpo0sf9ez5.c' source_filename = "/tmp/tmpo0sf9ez5.c" target datalayout = "e-m:e-p270: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/tmpo0sf9ez5.c" target datalayout = "e-m:e-p270: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/tmp1q1r9e87.c' source_filename = "/tmp/tmp1q1r9e87.c" target datalayout = "e-m:e-p270: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"foo\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1q1r9e87.c" target datalayout = "e-m:e-p270: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"foo\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphua8exok.c' source_filename = "/tmp/tmphua8exok.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"invalid dictionary syntax for %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @uwsgi_opt_add_dyn_dict(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 %10 = call ptr @strchr(ptr noundef %9, i8 noundef signext 61) store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %7, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %17, label %13 13: ; preds = %3 %14 = load ptr, ptr %4, align 8 %15 = call i32 @uwsgi_log(ptr noundef @.str, ptr noundef %14) %16 = call i32 @uwsgi_exit(i32 noundef 1) br label %17 17: ; preds = %13, %3 %18 = load ptr, ptr %6, align 8 store ptr %18, ptr %8, align 8 %19 = load ptr, ptr %8, align 8 %20 = load ptr, ptr %5, align 8 %21 = load ptr, ptr %7, align 8 %22 = load ptr, ptr %5, align 8 %23 = ptrtoint ptr %21 to i64 %24 = ptrtoint ptr %22 to i64 %25 = sub i64 %23, %24 %26 = trunc i64 %25 to i32 %27 = load ptr, ptr %7, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 1 %29 = load ptr, ptr %7, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 1 %31 = call i32 @strlen(ptr noundef %30) %32 = call i32 @uwsgi_dyn_dict_new(ptr noundef %19, ptr noundef %20, i32 noundef %26, ptr noundef %28, i32 noundef %31) ret void } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @uwsgi_log(ptr noundef, ptr noundef) #1 declare i32 @uwsgi_exit(i32 noundef) #1 declare i32 @uwsgi_dyn_dict_new(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphua8exok.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"invalid dictionary syntax for %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @uwsgi_opt_add_dyn_dict(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 %10 = call ptr @strchr(ptr noundef %9, i8 noundef signext 61) store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %7, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %17, label %13 13: ; preds = %3 %14 = load ptr, ptr %4, align 8 %15 = call i32 @uwsgi_log(ptr noundef @.str, ptr noundef %14) %16 = call i32 @uwsgi_exit(i32 noundef 1) br label %17 17: ; preds = %13, %3 %18 = load ptr, ptr %6, align 8 store ptr %18, ptr %8, align 8 %19 = load ptr, ptr %8, align 8 %20 = load ptr, ptr %5, align 8 %21 = load ptr, ptr %7, align 8 %22 = load ptr, ptr %5, align 8 %23 = ptrtoint ptr %21 to i64 %24 = ptrtoint ptr %22 to i64 %25 = sub i64 %23, %24 %26 = trunc i64 %25 to i32 %27 = load ptr, ptr %7, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 1 %29 = load ptr, ptr %7, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 1 %31 = call i32 @strlen(ptr noundef %30) %32 = call i32 @uwsgi_dyn_dict_new(ptr noundef %19, ptr noundef %20, i32 noundef %26, ptr noundef %28, i32 noundef %31) ret void } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @uwsgi_log(ptr noundef, ptr noundef) #1 declare i32 @uwsgi_exit(i32 noundef) #1 declare i32 @uwsgi_dyn_dict_new(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_j9g_wt0.c' source_filename = "/tmp/tmp_j9g_wt0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_j9g_wt0.c" target datalayout = "e-m:e-p270: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/tmp820d57tq.c' source_filename = "/tmp/tmp820d57tq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bgbcc_split(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = call ptr @bgbcc_ralloc(i32 noundef 512) store ptr %6, ptr %3, align 8 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %120, %98, %1 %8 = load ptr, ptr %2, align 8 %9 = load i8, ptr %8, align 1 %10 = icmp ne i8 %9, 0 br i1 %10, label %11, label %123 11: ; preds = %7 br label %12 12: ; preds = %24, %11 %13 = load ptr, ptr %2, align 8 %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 %22 17: ; preds = %12 %18 = load ptr, ptr %2, align 8 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp sle i32 %20, 32 br label %22 22: ; preds = %17, %12 %23 = phi i1 [ false, %12 ], [ %21, %17 ] br i1 %23, label %24, label %27 24: ; preds = %22 %25 = load ptr, ptr %2, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %2, align 8 br label %12, !llvm.loop !6 27: ; preds = %22 %28 = load ptr, ptr %2, align 8 %29 = load i8, ptr %28, align 1 %30 = icmp ne i8 %29, 0 br i1 %30, label %32, label %31 31: ; preds = %27 br label %123 32: ; preds = %27 %33 = load ptr, ptr %2, align 8 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp eq i32 %35, 35 br i1 %36, label %37, label %38 37: ; preds = %32 br label %123 38: ; preds = %32 %39 = load ptr, ptr %2, align 8 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 59 br i1 %42, label %43, label %44 43: ; preds = %38 br label %123 44: ; preds = %38 %45 = load ptr, ptr %2, align 8 %46 = getelementptr inbounds i8, ptr %45, i64 0 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = icmp eq i32 %48, 47 br i1 %49, label %50, label %57 50: ; preds = %44 %51 = load ptr, ptr %2, align 8 %52 = getelementptr inbounds i8, ptr %51, i64 1 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = icmp eq i32 %54, 47 br i1 %55, label %56, label %57 56: ; preds = %50 br label %123 57: ; preds = %50, %44 %58 = call ptr @bgbcc_ralloc(i32 noundef 256) store ptr %58, ptr %4, align 8 %59 = load ptr, ptr %4, align 8 %60 = load ptr, ptr %3, align 8 %61 = load i32, ptr %5, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %5, align 4 %63 = sext i32 %61 to i64 %64 = getelementptr inbounds ptr, ptr %60, i64 %63 store ptr %59, ptr %64, align 8 %65 = load ptr, ptr %2, align 8 %66 = load i8, ptr %65, align 1 %67 = sext i8 %66 to i32 %68 = icmp eq i32 %67, 34 br i1 %68, label %69, label %101 69: ; preds = %57 %70 = load ptr, ptr %2, align 8 %71 = getelementptr inbounds i8, ptr %70, i32 1 store ptr %71, ptr %2, align 8 br label %72 72: ; preds = %84, %69 %73 = load ptr, ptr %2, align 8 %74 = load i8, ptr %73, align 1 %75 = sext i8 %74 to i32 %76 = icmp ne i32 %75, 0 br i1 %76, label %77, label %82 77: ; preds = %72 %78 = load ptr, ptr %2, align 8 %79 = load i8, ptr %78, align 1 %80 = sext i8 %79 to i32 %81 = icmp ne i32 %80, 34 br label %82 82: ; preds = %77, %72 %83 = phi i1 [ false, %72 ], [ %81, %77 ] br i1 %83, label %84, label %90 84: ; preds = %82 %85 = load ptr, ptr %2, align 8 %86 = getelementptr inbounds i8, ptr %85, i32 1 store ptr %86, ptr %2, align 8 %87 = load i8, ptr %85, align 1 %88 = load ptr, ptr %4, align 8 %89 = getelementptr inbounds i8, ptr %88, i32 1 store ptr %89, ptr %4, align 8 store i8 %87, ptr %88, align 1 br label %72, !llvm.loop !8 90: ; preds = %82 %91 = load ptr, ptr %2, align 8 %92 = load i8, ptr %91, align 1 %93 = sext i8 %92 to i32 %94 = icmp eq i32 %93, 34 br i1 %94, label %95, label %98 95: ; preds = %90 %96 = load ptr, ptr %2, align 8 %97 = getelementptr inbounds i8, ptr %96, i32 1 store ptr %97, ptr %2, align 8 br label %98 98: ; preds = %95, %90 %99 = load ptr, ptr %4, align 8 %100 = getelementptr inbounds i8, ptr %99, i32 1 store ptr %100, ptr %4, align 8 store i8 0, ptr %99, align 1 br label %7, !llvm.loop !9 101: ; preds = %57 br label %102 102: ; preds = %114, %101 %103 = load ptr, ptr %2, align 8 %104 = load i8, ptr %103, align 1 %105 = sext i8 %104 to i32 %106 = icmp ne i32 %105, 0 br i1 %106, label %107, label %112 107: ; preds = %102 %108 = load ptr, ptr %2, align 8 %109 = load i8, ptr %108, align 1 %110 = sext i8 %109 to i32 %111 = icmp sgt i32 %110, 32 br label %112 112: ; preds = %107, %102 %113 = phi i1 [ false, %102 ], [ %111, %107 ] br i1 %113, label %114, label %120 114: ; preds = %112 %115 = load ptr, ptr %2, align 8 %116 = getelementptr inbounds i8, ptr %115, i32 1 store ptr %116, ptr %2, align 8 %117 = load i8, ptr %115, align 1 %118 = load ptr, ptr %4, align 8 %119 = getelementptr inbounds i8, ptr %118, i32 1 store ptr %119, ptr %4, align 8 store i8 %117, ptr %118, align 1 br label %102, !llvm.loop !10 120: ; preds = %112 %121 = load ptr, ptr %4, align 8 %122 = getelementptr inbounds i8, ptr %121, i32 1 store ptr %122, ptr %4, align 8 store i8 0, ptr %121, align 1 br label %7, !llvm.loop !9 123: ; preds = %56, %43, %37, %31, %7 %124 = load ptr, ptr %3, align 8 %125 = load i32, ptr %5, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds ptr, ptr %124, i64 %126 store ptr null, ptr %127, align 8 %128 = load ptr, ptr %3, align 8 ret ptr %128 } declare ptr @bgbcc_ralloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp820d57tq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bgbcc_split(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = call ptr @bgbcc_ralloc(i32 noundef 512) store ptr %6, ptr %3, align 8 store i32 0, ptr %5, align 4 %7 = load ptr, ptr %2, align 8 %8 = load i8, ptr %7, align 1 %9 = icmp ne i8 %8, 0 br i1 %9, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %.backedge br label %11 11: ; preds = %23, %10 %12 = load ptr, ptr %2, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %21 16: ; preds = %11 %17 = load ptr, ptr %2, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp sle i32 %19, 32 br label %21 21: ; preds = %16, %11 %22 = phi i1 [ false, %11 ], [ %20, %16 ] br i1 %22, label %23, label %26 23: ; preds = %21 %24 = load ptr, ptr %2, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %2, align 8 br label %11, !llvm.loop !6 26: ; preds = %21 %27 = load ptr, ptr %2, align 8 %28 = load i8, ptr %27, align 1 %29 = icmp ne i8 %28, 0 br i1 %29, label %31, label %30 30: ; preds = %26 br label %125 31: ; preds = %26 %32 = load ptr, ptr %2, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 35 br i1 %35, label %36, label %37 36: ; preds = %31 br label %125 37: ; preds = %31 %38 = load ptr, ptr %2, align 8 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %40, 59 br i1 %41, label %42, label %43 42: ; preds = %37 br label %125 43: ; preds = %37 %44 = load ptr, ptr %2, align 8 %45 = getelementptr inbounds i8, ptr %44, i64 0 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp eq i32 %47, 47 br i1 %48, label %49, label %56 49: ; preds = %43 %50 = load ptr, ptr %2, align 8 %51 = getelementptr inbounds i8, ptr %50, i64 1 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = icmp eq i32 %53, 47 br i1 %54, label %55, label %56 55: ; preds = %49 br label %125 56: ; preds = %49, %43 %57 = call ptr @bgbcc_ralloc(i32 noundef 256) store ptr %57, ptr %4, align 8 %58 = load ptr, ptr %4, align 8 %59 = load ptr, ptr %3, align 8 %60 = load i32, ptr %5, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %5, align 4 %62 = sext i32 %60 to i64 %63 = getelementptr inbounds ptr, ptr %59, i64 %62 store ptr %58, ptr %63, align 8 %64 = load ptr, ptr %2, align 8 %65 = load i8, ptr %64, align 1 %66 = sext i8 %65 to i32 %67 = icmp eq i32 %66, 34 br i1 %67, label %68, label %103 68: ; preds = %56 %69 = load ptr, ptr %2, align 8 %70 = getelementptr inbounds i8, ptr %69, i32 1 store ptr %70, ptr %2, align 8 br label %71 71: ; preds = %83, %68 %72 = load ptr, ptr %2, align 8 %73 = load i8, ptr %72, align 1 %74 = sext i8 %73 to i32 %75 = icmp ne i32 %74, 0 br i1 %75, label %76, label %81 76: ; preds = %71 %77 = load ptr, ptr %2, align 8 %78 = load i8, ptr %77, align 1 %79 = sext i8 %78 to i32 %80 = icmp ne i32 %79, 34 br label %81 81: ; preds = %76, %71 %82 = phi i1 [ false, %71 ], [ %80, %76 ] br i1 %82, label %83, label %89 83: ; preds = %81 %84 = load ptr, ptr %2, align 8 %85 = getelementptr inbounds i8, ptr %84, i32 1 store ptr %85, ptr %2, align 8 %86 = load i8, ptr %84, align 1 %87 = load ptr, ptr %4, align 8 %88 = getelementptr inbounds i8, ptr %87, i32 1 store ptr %88, ptr %4, align 8 store i8 %86, ptr %87, align 1 br label %71, !llvm.loop !8 89: ; preds = %81 %90 = load ptr, ptr %2, align 8 %91 = load i8, ptr %90, align 1 %92 = sext i8 %91 to i32 %93 = icmp eq i32 %92, 34 br i1 %93, label %94, label %97 94: ; preds = %89 %95 = load ptr, ptr %2, align 8 %96 = getelementptr inbounds i8, ptr %95, i32 1 store ptr %96, ptr %2, align 8 br label %97 97: ; preds = %94, %89 %98 = load ptr, ptr %4, align 8 %99 = getelementptr inbounds i8, ptr %98, i32 1 store ptr %99, ptr %4, align 8 store i8 0, ptr %98, align 1 br label %.backedge .backedge: ; preds = %97, %122 %100 = load ptr, ptr %2, align 8 %101 = load i8, ptr %100, align 1 %102 = icmp ne i8 %101, 0 br i1 %102, label %10, label %..loopexit_crit_edge, !llvm.loop !9 103: ; preds = %56 br label %104 104: ; preds = %116, %103 %105 = load ptr, ptr %2, align 8 %106 = load i8, ptr %105, align 1 %107 = sext i8 %106 to i32 %108 = icmp ne i32 %107, 0 br i1 %108, label %109, label %114 109: ; preds = %104 %110 = load ptr, ptr %2, align 8 %111 = load i8, ptr %110, align 1 %112 = sext i8 %111 to i32 %113 = icmp sgt i32 %112, 32 br label %114 114: ; preds = %109, %104 %115 = phi i1 [ false, %104 ], [ %113, %109 ] br i1 %115, label %116, label %122 116: ; preds = %114 %117 = load ptr, ptr %2, align 8 %118 = getelementptr inbounds i8, ptr %117, i32 1 store ptr %118, ptr %2, align 8 %119 = load i8, ptr %117, align 1 %120 = load ptr, ptr %4, align 8 %121 = getelementptr inbounds i8, ptr %120, i32 1 store ptr %121, ptr %4, align 8 store i8 %119, ptr %120, align 1 br label %104, !llvm.loop !10 122: ; preds = %114 %123 = load ptr, ptr %4, align 8 %124 = getelementptr inbounds i8, ptr %123, i32 1 store ptr %124, ptr %4, align 8 store i8 0, ptr %123, align 1 br label %.backedge ..loopexit_crit_edge: ; preds = %.backedge br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %1 br label %125 125: ; preds = %.loopexit, %55, %42, %36, %30 %126 = load ptr, ptr %3, align 8 %127 = load i32, ptr %5, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds ptr, ptr %126, i64 %128 store ptr null, ptr %129, align 8 %130 = load ptr, ptr %3, align 8 ret ptr %130 } declare ptr @bgbcc_ralloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp0pr6x1of.c' source_filename = "/tmp/tmp0pr6x1of.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [1001 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %8 8: ; preds = %68, %0 %9 = call i32 (...) @getchar() store i32 %9, ptr %7, align 4 %10 = load i32, ptr @EOF, align 4 %11 = icmp ne i32 %9, %10 br i1 %11, label %12, label %69 12: ; preds = %8 %13 = load i32, ptr %7, align 4 %14 = icmp eq i32 %13, 10 br i1 %14, label %15, label %21 15: ; preds = %12 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 %16 = load i32, ptr %5, align 4 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %15 %19 = call i32 @putchar(i32 noundef 10) br label %20 20: ; preds = %18, %15 store i32 0, ptr %5, align 4 br label %68 21: ; preds = %12 %22 = load i32, ptr %7, align 4 %23 = icmp eq i32 %22, 32 br i1 %23, label %27, label %24 24: ; preds = %21 %25 = load i32, ptr %7, align 4 %26 = icmp eq i32 %25, 9 br i1 %26, label %27, label %50 27: ; preds = %24, %21 %28 = load i32, ptr %3, align 4 %29 = call i32 @advance(i32 noundef %28) %30 = load i32, ptr %4, align 4 %31 = icmp eq i32 %29, %30 br i1 %31, label %32, label %42 32: ; preds = %27 %33 = load i32, ptr %4, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [1001 x i8], ptr %2, i64 0, i64 %34 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = call i32 @putchar(i32 noundef %37) %39 = load i32, ptr %4, align 4 %40 = call i32 @advance(i32 noundef %39) store i32 %40, ptr %4, align 4 store i32 1, ptr %5, align 4 %41 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %41, ptr %6, align 4 br label %42 42: ; preds = %32, %27 %43 = load i32, ptr %7, align 4 %44 = trunc i32 %43 to i8 %45 = load i32, ptr %3, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [1001 x i8], ptr %2, i64 0, i64 %46 store i8 %44, ptr %47, align 1 %48 = load i32, ptr %3, align 4 %49 = call i32 @advance(i32 noundef %48) store i32 %49, ptr %3, align 4 br label %67 50: ; preds = %24 br label %51 51: ; preds = %55, %50 %52 = load i32, ptr %3, align 4 %53 = load i32, ptr %4, align 4 %54 = icmp ne i32 %52, %53 br i1 %54, label %55, label %64 55: ; preds = %51 %56 = load i32, ptr %4, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [1001 x i8], ptr %2, i64 0, i64 %57 %59 = load i8, ptr %58, align 1 %60 = sext i8 %59 to i32 %61 = call i32 @putchar(i32 noundef %60) %62 = load i32, ptr %4, align 4 %63 = call i32 @advance(i32 noundef %62) store i32 %63, ptr %4, align 4 br label %51, !llvm.loop !6 64: ; preds = %51 %65 = load i32, ptr %7, align 4 %66 = call i32 @putchar(i32 noundef %65) store i32 1, ptr %5, align 4 br label %67 67: ; preds = %64, %42 br label %68 68: ; preds = %67, %20 br label %8, !llvm.loop !8 69: ; preds = %8 %70 = load i32, ptr %6, align 4 ret i32 %70 } declare i32 @getchar(...) #1 declare i32 @putchar(i32 noundef) #1 declare i32 @advance(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/tmp0pr6x1of.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [1001 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %8 = call i32 (...) @getchar() store i32 %8, ptr %7, align 4 %9 = load i32, ptr @EOF, align 4 %10 = icmp ne i32 %8, %9 br i1 %10, label %.lr.ph2, label %73 .lr.ph2: ; preds = %0 br label %11 11: ; preds = %.lr.ph2, %69 %12 = load i32, ptr %7, align 4 %13 = icmp eq i32 %12, 10 br i1 %13, label %14, label %20 14: ; preds = %11 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 %15 = load i32, ptr %5, align 4 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %14 %18 = call i32 @putchar(i32 noundef 10) br label %19 19: ; preds = %17, %14 store i32 0, ptr %5, align 4 br label %69 20: ; preds = %11 %21 = load i32, ptr %7, align 4 %22 = icmp eq i32 %21, 32 br i1 %22, label %26, label %23 23: ; preds = %20 %24 = load i32, ptr %7, align 4 %25 = icmp eq i32 %24, 9 br i1 %25, label %26, label %49 26: ; preds = %23, %20 %27 = load i32, ptr %3, align 4 %28 = call i32 @advance(i32 noundef %27) %29 = load i32, ptr %4, align 4 %30 = icmp eq i32 %28, %29 br i1 %30, label %31, label %41 31: ; preds = %26 %32 = load i32, ptr %4, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [1001 x i8], ptr %2, i64 0, i64 %33 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = call i32 @putchar(i32 noundef %36) %38 = load i32, ptr %4, align 4 %39 = call i32 @advance(i32 noundef %38) store i32 %39, ptr %4, align 4 store i32 1, ptr %5, align 4 %40 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %40, ptr %6, align 4 br label %41 41: ; preds = %31, %26 %42 = load i32, ptr %7, align 4 %43 = trunc i32 %42 to i8 %44 = load i32, ptr %3, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [1001 x i8], ptr %2, i64 0, i64 %45 store i8 %43, ptr %46, align 1 %47 = load i32, ptr %3, align 4 %48 = call i32 @advance(i32 noundef %47) store i32 %48, ptr %3, align 4 br label %68 49: ; preds = %23 %50 = load i32, ptr %3, align 4 %51 = load i32, ptr %4, align 4 %52 = icmp ne i32 %50, %51 br i1 %52, label %.lr.ph, label %65 .lr.ph: ; preds = %49 br label %53 53: ; preds = %.lr.ph, %53 %54 = load i32, ptr %4, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [1001 x i8], ptr %2, i64 0, i64 %55 %57 = load i8, ptr %56, align 1 %58 = sext i8 %57 to i32 %59 = call i32 @putchar(i32 noundef %58) %60 = load i32, ptr %4, align 4 %61 = call i32 @advance(i32 noundef %60) store i32 %61, ptr %4, align 4 %62 = load i32, ptr %3, align 4 %63 = load i32, ptr %4, align 4 %64 = icmp ne i32 %62, %63 br i1 %64, label %53, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %53 br label %65 65: ; preds = %._crit_edge, %49 %66 = load i32, ptr %7, align 4 %67 = call i32 @putchar(i32 noundef %66) store i32 1, ptr %5, align 4 br label %68 68: ; preds = %65, %41 br label %69 69: ; preds = %68, %19 %70 = call i32 (...) @getchar() store i32 %70, ptr %7, align 4 %71 = load i32, ptr @EOF, align 4 %72 = icmp ne i32 %70, %71 br i1 %72, label %11, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %69 br label %73 73: ; preds = %._crit_edge3, %0 %74 = load i32, ptr %6, align 4 ret i32 %74 } declare i32 @getchar(...) #1 declare i32 @putchar(i32 noundef) #1 declare i32 @advance(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/tmpf6lumnyk.c' source_filename = "/tmp/tmpf6lumnyk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stack_l1_non_existant() #0 { %1 = call i32 @_bad_stack_set(i32 noundef -5243136) ret void } declare i32 @_bad_stack_set(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/tmpf6lumnyk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stack_l1_non_existant() #0 { %1 = call i32 @_bad_stack_set(i32 noundef -5243136) ret void } declare i32 @_bad_stack_set(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/tmplzkv2jnp.c' source_filename = "/tmp/tmplzkv2jnp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @five2three(i64 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca i64, align 8 %25 = alloca i64, align 8 %26 = alloca i64, align 8 %27 = alloca i64, align 8 %28 = alloca i64, align 8 %29 = alloca i64, align 8 %30 = alloca i64, align 8 %31 = alloca i64, align 8 %32 = alloca i64, align 8 %33 = alloca i64, align 8 %34 = alloca i64, align 8 %35 = alloca [9 x i64], align 16 %36 = alloca ptr, align 8 store i64 %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 store double 5.000000e+00, ptr %23, align 8 store i64 1, ptr %24, align 8 br label %37 37: ; preds = %83, %7 %38 = load i64, ptr %24, align 8 %39 = load ptr, ptr %9, align 8 %40 = load i64, ptr %39, align 8 %41 = icmp sle i64 %38, %40 br i1 %41, label %42, label %86 42: ; preds = %37 %43 = load ptr, ptr %10, align 8 %44 = load i64, ptr %24, align 8 %45 = getelementptr inbounds ptr, ptr %43, i64 %44 %46 = load ptr, ptr %45, align 8 %47 = getelementptr inbounds i64, ptr %46, i64 1 %48 = load i64, ptr %47, align 8 store i64 %48, ptr %27, align 8 br label %49 49: ; preds = %79, %42 %50 = load i64, ptr %27, align 8 %51 = load ptr, ptr %10, align 8 %52 = load i64, ptr %24, align 8 %53 = getelementptr inbounds ptr, ptr %51, i64 %52 %54 = load ptr, ptr %53, align 8 %55 = getelementptr inbounds i64, ptr %54, i64 2 %56 = load i64, ptr %55, align 8 %57 = icmp sle i64 %50, %56 br i1 %57, label %58, label %82 58: ; preds = %49 %59 = load ptr, ptr %13, align 8 %60 = load ptr, ptr %11, align 8 %61 = load i64, ptr %27, align 8 %62 = getelementptr inbounds i64, ptr %60, i64 %61 %63 = load i64, ptr %62, align 8 %64 = getelementptr inbounds ptr, ptr %59, i64 %63 %65 = load ptr, ptr %64, align 8 %66 = getelementptr inbounds i64, ptr %65, i64 1 %67 = load i64, ptr %66, align 8 store i64 %67, ptr %25, align 8 %68 = load ptr, ptr %14, align 8 %69 = load i64, ptr %25, align 8 %70 = load i64, ptr %25, align 8 %71 = call double @distance_ab(ptr noundef %68, i64 noundef %69, i64 noundef %70, i32 noundef 4, i32 noundef 8) store double %71, ptr %15, align 8 %72 = load double, ptr %15, align 8 %73 = fcmp ogt double %72, 0.000000e+00 br i1 %73, label %74, label %78 74: ; preds = %58 %75 = load double, ptr %15, align 8 %76 = fcmp ole double %75, 2.500000e+00 br i1 %76, label %77, label %78 77: ; preds = %74 br label %774 78: ; preds = %74, %58 br label %79 79: ; preds = %78 %80 = load i64, ptr %27, align 8 %81 = add nsw i64 %80, 1 store i64 %81, ptr %27, align 8 br label %49, !llvm.loop !6 82: ; preds = %49 br label %83 83: ; preds = %82 %84 = load i64, ptr %24, align 8 %85 = add nsw i64 %84, 1 store i64 %85, ptr %24, align 8 br label %37, !llvm.loop !8 86: ; preds = %37 %87 = load i64, ptr %8, align 8 %88 = call ptr @lvector(i32 noundef 1, i64 noundef %87) store ptr %88, ptr %36, align 8 store i64 1, ptr %24, align 8 br label %89 89: ; preds = %767, %86 %90 = load i64, ptr %24, align 8 %91 = load ptr, ptr %9, align 8 %92 = load i64, ptr %91, align 8 %93 = icmp sle i64 %90, %92 br i1 %93, label %94, label %770 94: ; preds = %89 %95 = load ptr, ptr %10, align 8 %96 = load i64, ptr %24, align 8 %97 = getelementptr inbounds ptr, ptr %95, i64 %96 %98 = load ptr, ptr %97, align 8 %99 = getelementptr inbounds i64, ptr %98, i64 2 %100 = load i64, ptr %99, align 8 %101 = load ptr, ptr %10, align 8 %102 = load i64, ptr %24, align 8 %103 = getelementptr inbounds ptr, ptr %101, i64 %102 %104 = load ptr, ptr %103, align 8 %105 = getelementptr inbounds i64, ptr %104, i64 1 %106 = load i64, ptr %105, align 8 %107 = sub nsw i64 %100, %106 %108 = add nsw i64 %107, 1 %109 = load ptr, ptr %10, align 8 %110 = load i64, ptr %24, align 8 %111 = getelementptr inbounds ptr, ptr %109, i64 %110 %112 = load ptr, ptr %111, align 8 %113 = getelementptr inbounds i64, ptr %112, i64 3 store i64 %108, ptr %113, align 8 store i64 0, ptr %34, align 8 %114 = load ptr, ptr %10, align 8 %115 = load i64, ptr %24, align 8 %116 = getelementptr inbounds ptr, ptr %114, i64 %115 %117 = load ptr, ptr %116, align 8 %118 = getelementptr inbounds i64, ptr %117, i64 1 %119 = load i64, ptr %118, align 8 store i64 %119, ptr %27, align 8 br label %120 120: ; preds = %301, %94 %121 = load i64, ptr %27, align 8 %122 = load ptr, ptr %10, align 8 %123 = load i64, ptr %24, align 8 %124 = getelementptr inbounds ptr, ptr %122, i64 %123 %125 = load ptr, ptr %124, align 8 %126 = getelementptr inbounds i64, ptr %125, i64 2 %127 = load i64, ptr %126, align 8 %128 = icmp slt i64 %121, %127 br i1 %128, label %129, label %304 129: ; preds = %120 %130 = load ptr, ptr %11, align 8 %131 = load i64, ptr %27, align 8 %132 = getelementptr inbounds i64, ptr %130, i64 %131 %133 = load i64, ptr %132, align 8 store i64 %133, ptr %31, align 8 %134 = load ptr, ptr %11, align 8 %135 = load i64, ptr %27, align 8 %136 = add nsw i64 %135, 1 %137 = getelementptr inbounds i64, ptr %134, i64 %136 %138 = load i64, ptr %137, align 8 store i64 %138, ptr %32, align 8 %139 = load ptr, ptr %13, align 8 %140 = load i64, ptr %31, align 8 %141 = getelementptr inbounds ptr, ptr %139, i64 %140 %142 = load ptr, ptr %141, align 8 %143 = getelementptr inbounds i64, ptr %142, i64 3 %144 = load i64, ptr %143, align 8 %145 = icmp sgt i64 %144, 0 br i1 %145, label %146, label %243 146: ; preds = %129 %147 = load ptr, ptr %13, align 8 %148 = load i64, ptr %32, align 8 %149 = getelementptr inbounds ptr, ptr %147, i64 %148 %150 = load ptr, ptr %149, align 8 %151 = getelementptr inbounds i64, ptr %150, i64 3 %152 = load i64, ptr %151, align 8 %153 = icmp sgt i64 %152, 0 br i1 %153, label %154, label %243 154: ; preds = %146 %155 = load i64, ptr %34, align 8 %156 = add nsw i64 %155, 1 store i64 %156, ptr %34, align 8 %157 = load i64, ptr %31, align 8 %158 = load i64, ptr %32, align 8 %159 = load ptr, ptr %36, align 8 %160 = load ptr, ptr %12, align 8 %161 = call i32 @get_d1_d2(i64 noundef %157, i64 noundef %158, ptr noundef %159, ptr noundef %160, ptr noundef %21, ptr noundef %22) %162 = load double, ptr %21, align 8 %163 = fcmp olt double %162, 0.000000e+00 br i1 %163, label %164, label %191 164: ; preds = %154 %165 = load ptr, ptr %36, align 8 %166 = load i64, ptr %32, align 8 %167 = getelementptr inbounds i64, ptr %165, i64 %166 %168 = load i64, ptr %167, align 8 %169 = icmp ne i64 %168, 0 %170 = xor i1 %169, true %171 = zext i1 %170 to i32 %172 = sext i32 %171 to i64 %173 = load ptr, ptr %36, align 8 %174 = load i64, ptr %32, align 8 %175 = getelementptr inbounds i64, ptr %173, i64 %174 store i64 %172, ptr %175, align 8 %176 = load double, ptr %22, align 8 %177 = fcmp olt double %176, 0.000000e+00 br i1 %177, label %178, label %190 178: ; preds = %164 %179 = load ptr, ptr %36, align 8 %180 = load i64, ptr %31, align 8 %181 = getelementptr inbounds i64, ptr %179, i64 %180 %182 = load i64, ptr %181, align 8 %183 = icmp ne i64 %182, 0 %184 = xor i1 %183, true %185 = zext i1 %184 to i32 %186 = sext i32 %185 to i64 %187 = load ptr, ptr %36, align 8 %188 = load i64, ptr %31, align 8 %189 = getelementptr inbounds i64, ptr %187, i64 %188 store i64 %186, ptr %189, align 8 br label %190 190: ; preds = %178, %164 br label %222 191: ; preds = %154 %192 = load double, ptr %22, align 8 %193 = fcmp olt double %192, 0.000000e+00 br i1 %193, label %194, label %221 194: ; preds = %191 %195 = load ptr, ptr %36, align 8 %196 = load i64, ptr %32, align 8 %197 = getelementptr inbounds i64, ptr %195, i64 %196 %198 = load i64, ptr %197, align 8 %199 = icmp ne i64 %198, 0 %200 = xor i1 %199, true %201 = zext i1 %200 to i32 %202 = sext i32 %201 to i64 %203 = load ptr, ptr %36, align 8 %204 = load i64, ptr %32, align 8 %205 = getelementptr inbounds i64, ptr %203, i64 %204 store i64 %202, ptr %205, align 8 %206 = load i64, ptr %34, align 8 %207 = icmp eq i64 %206, 1 br i1 %207, label %208, label %220 208: ; preds = %194 %209 = load ptr, ptr %36, align 8 %210 = load i64, ptr %31, align 8 %211 = getelementptr inbounds i64, ptr %209, i64 %210 %212 = load i64, ptr %211, align 8 %213 = icmp ne i64 %212, 0 %214 = xor i1 %213, true %215 = zext i1 %214 to i32 %216 = sext i32 %215 to i64 %217 = load ptr, ptr %36, align 8 %218 = load i64, ptr %31, align 8 %219 = getelementptr inbounds i64, ptr %217, i64 %218 store i64 %216, ptr %219, align 8 br label %220 220: ; preds = %208, %194 br label %221 221: ; preds = %220, %191 br label %222 222: ; preds = %221, %190 %223 = load i64, ptr %31, align 8 %224 = load i64, ptr %32, align 8 %225 = load ptr, ptr %36, align 8 %226 = load ptr, ptr %12, align 8 %227 = call i32 @get_d1_d2(i64 noundef %223, i64 noundef %224, ptr noundef %225, ptr noundef %226, ptr noundef %21, ptr noundef %22) %228 = load double, ptr %21, align 8 %229 = fcmp olt double %228, 0.000000e+00 br i1 %229, label %230, label %242 230: ; preds = %222 %231 = load ptr, ptr %36, align 8 %232 = load i64, ptr %32, align 8 %233 = getelementptr inbounds i64, ptr %231, i64 %232 %234 = load i64, ptr %233, align 8 %235 = icmp ne i64 %234, 0 %236 = xor i1 %235, true %237 = zext i1 %236 to i32 %238 = sext i32 %237 to i64 %239 = load ptr, ptr %36, align 8 %240 = load i64, ptr %32, align 8 %241 = getelementptr inbounds i64, ptr %239, i64 %240 store i64 %238, ptr %241, align 8 br label %242 242: ; preds = %230, %222 br label %300 243: ; preds = %146, %129 store i64 0, ptr %34, align 8 %244 = load i64, ptr %31, align 8 %245 = load ptr, ptr %36, align 8 %246 = load ptr, ptr %13, align 8 %247 = call i32 @get_ij(i64 noundef %244, ptr noundef %245, ptr noundef %246, ptr noundef %25, ptr noundef %28) %248 = load i64, ptr %32, align 8 %249 = load ptr, ptr %36, align 8 %250 = load ptr, ptr %13, align 8 %251 = call i32 @get_ij(i64 noundef %248, ptr noundef %249, ptr noundef %250, ptr noundef %26, ptr noundef %29) %252 = load ptr, ptr %14, align 8 %253 = load i64, ptr %25, align 8 %254 = load i64, ptr %26, align 8 %255 = call double @distance_ab(ptr noundef %252, i64 noundef %253, i64 noundef %254, i32 noundef 4, i32 noundef 4) store double %255, ptr %15, align 8 %256 = load ptr, ptr %14, align 8 %257 = load i64, ptr %25, align 8 %258 = load i64, ptr %29, align 8 %259 = call double @distance_ab(ptr noundef %256, i64 noundef %257, i64 noundef %258, i32 noundef 4, i32 noundef 4) store double %259, ptr %17, align 8 %260 = load ptr, ptr %14, align 8 %261 = load i64, ptr %28, align 8 %262 = load i64, ptr %26, align 8 %263 = call double @distance_ab(ptr noundef %260, i64 noundef %261, i64 noundef %262, i32 noundef 4, i32 noundef 4) store double %263, ptr %18, align 8 %264 = load ptr, ptr %14, align 8 %265 = load i64, ptr %28, align 8 %266 = load i64, ptr %29, align 8 %267 = call double @distance_ab(ptr noundef %264, i64 noundef %265, i64 noundef %266, i32 noundef 4, i32 noundef 4) store double %267, ptr %19, align 8 %268 = load double, ptr %15, align 8 %269 = fcmp ogt double %268, 0.000000e+00 br i1 %269, label %270, label %299 270: ; preds = %243 %271 = load double, ptr %17, align 8 %272 = fcmp ogt double %271, 0.000000e+00 br i1 %272, label %273, label %299 273: ; preds = %270 %274 = load double, ptr %15, align 8 %275 = load double, ptr %17, align 8 %276 = fcmp ogt double %274, %275 br i1 %276, label %277, label %299 277: ; preds = %273 %278 = load double, ptr %18, align 8 %279 = fcmp ogt double %278, 0.000000e+00 br i1 %279, label %280, label %299 280: ; preds = %277 %281 = load double, ptr %19, align 8 %282 = fcmp ogt double %281, 0.000000e+00 br i1 %282, label %283, label %299 283: ; preds = %280 %284 = load double, ptr %19, align 8 %285 = load double, ptr %18, align 8 %286 = fcmp ogt double %284, %285 br i1 %286, label %287, label %299 287: ; preds = %283 %288 = load ptr, ptr %36, align 8 %289 = load i64, ptr %32, align 8 %290 = getelementptr inbounds i64, ptr %288, i64 %289 %291 = load i64, ptr %290, align 8 %292 = icmp ne i64 %291, 0 %293 = xor i1 %292, true %294 = zext i1 %293 to i32 %295 = sext i32 %294 to i64 %296 = load ptr, ptr %36, align 8 %297 = load i64, ptr %32, align 8 %298 = getelementptr inbounds i64, ptr %296, i64 %297 store i64 %295, ptr %298, align 8 br label %299 299: ; preds = %287, %283, %280, %277, %273, %270, %243 br label %300 300: ; preds = %299, %242 br label %301 301: ; preds = %300 %302 = load i64, ptr %27, align 8 %303 = add nsw i64 %302, 1 store i64 %303, ptr %27, align 8 br label %120, !llvm.loop !9 304: ; preds = %120 store i64 1, ptr %27, align 8 br label %305 305: ; preds = %311, %304 %306 = load i64, ptr %27, align 8 %307 = icmp sle i64 %306, 8 br i1 %307, label %308, label %314 308: ; preds = %305 %309 = load i64, ptr %27, align 8 %310 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 %309 store i64 0, ptr %310, align 8 br label %311 311: ; preds = %308 %312 = load i64, ptr %27, align 8 %313 = add nsw i64 %312, 1 store i64 %313, ptr %27, align 8 br label %305, !llvm.loop !10 314: ; preds = %305 %315 = load ptr, ptr %10, align 8 %316 = load i64, ptr %24, align 8 %317 = getelementptr inbounds ptr, ptr %315, i64 %316 %318 = load ptr, ptr %317, align 8 %319 = getelementptr inbounds i64, ptr %318, i64 1 %320 = load i64, ptr %319, align 8 store i64 %320, ptr %27, align 8 br label %321 321: ; preds = %428, %314 %322 = load i64, ptr %27, align 8 %323 = load ptr, ptr %10, align 8 %324 = load i64, ptr %24, align 8 %325 = getelementptr inbounds ptr, ptr %323, i64 %324 %326 = load ptr, ptr %325, align 8 %327 = getelementptr inbounds i64, ptr %326, i64 2 %328 = load i64, ptr %327, align 8 %329 = icmp slt i64 %322, %328 br i1 %329, label %330, label %431 330: ; preds = %321 %331 = load ptr, ptr %11, align 8 %332 = load i64, ptr %27, align 8 %333 = getelementptr inbounds i64, ptr %331, i64 %332 %334 = load i64, ptr %333, align 8 store i64 %334, ptr %31, align 8 %335 = load i64, ptr %31, align 8 %336 = load ptr, ptr %36, align 8 %337 = load ptr, ptr %13, align 8 %338 = call i32 @get_ij(i64 noundef %335, ptr noundef %336, ptr noundef %337, ptr noundef %25, ptr noundef %28) %339 = load ptr, ptr %11, align 8 %340 = load i64, ptr %27, align 8 %341 = add nsw i64 %340, 1 %342 = getelementptr inbounds i64, ptr %339, i64 %341 %343 = load i64, ptr %342, align 8 store i64 %343, ptr %32, align 8 %344 = load i64, ptr %32, align 8 %345 = load ptr, ptr %36, align 8 %346 = load ptr, ptr %13, align 8 %347 = call i32 @get_ij(i64 noundef %344, ptr noundef %345, ptr noundef %346, ptr noundef %26, ptr noundef %29) %348 = load ptr, ptr %14, align 8 %349 = load i64, ptr %25, align 8 %350 = load i64, ptr %26, align 8 %351 = call double @distance_ab(ptr noundef %348, i64 noundef %349, i64 noundef %350, i32 noundef 4, i32 noundef 8) store double %351, ptr %15, align 8 %352 = load ptr, ptr %14, align 8 %353 = load i64, ptr %29, align 8 %354 = load i64, ptr %28, align 8 %355 = call double @distance_ab(ptr noundef %352, i64 noundef %353, i64 noundef %354, i32 noundef 4, i32 noundef 8) store double %355, ptr %20, align 8 %356 = load double, ptr %15, align 8 %357 = load double, ptr %23, align 8 %358 = fcmp ogt double %356, %357 br i1 %358, label %359, label %363 359: ; preds = %330 %360 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 1 %361 = load i64, ptr %360, align 8 %362 = add nsw i64 %361, 1 store i64 %362, ptr %360, align 8 br label %371 363: ; preds = %330 %364 = load double, ptr %15, align 8 %365 = fcmp ogt double %364, 0.000000e+00 br i1 %365, label %366, label %370 366: ; preds = %363 %367 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 2 %368 = load i64, ptr %367, align 16 %369 = add nsw i64 %368, 1 store i64 %369, ptr %367, align 16 br label %370 370: ; preds = %366, %363 br label %371 371: ; preds = %370, %359 %372 = load double, ptr %20, align 8 %373 = load double, ptr %23, align 8 %374 = fcmp ogt double %372, %373 br i1 %374, label %375, label %379 375: ; preds = %371 %376 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 3 %377 = load i64, ptr %376, align 8 %378 = add nsw i64 %377, 1 store i64 %378, ptr %376, align 8 br label %387 379: ; preds = %371 %380 = load double, ptr %20, align 8 %381 = fcmp ogt double %380, 0.000000e+00 br i1 %381, label %382, label %386 382: ; preds = %379 %383 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 4 %384 = load i64, ptr %383, align 16 %385 = add nsw i64 %384, 1 store i64 %385, ptr %383, align 16 br label %386 386: ; preds = %382, %379 br label %387 387: ; preds = %386, %375 %388 = load ptr, ptr %14, align 8 %389 = load i64, ptr %26, align 8 %390 = load i64, ptr %25, align 8 %391 = call double @distance_ab(ptr noundef %388, i64 noundef %389, i64 noundef %390, i32 noundef 4, i32 noundef 8) store double %391, ptr %16, align 8 %392 = load ptr, ptr %14, align 8 %393 = load i64, ptr %28, align 8 %394 = load i64, ptr %29, align 8 %395 = call double @distance_ab(ptr noundef %392, i64 noundef %393, i64 noundef %394, i32 noundef 4, i32 noundef 8) store double %395, ptr %19, align 8 %396 = load double, ptr %16, align 8 %397 = load double, ptr %23, align 8 %398 = fcmp ogt double %396, %397 br i1 %398, label %399, label %403 399: ; preds = %387 %400 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 5 %401 = load i64, ptr %400, align 8 %402 = add nsw i64 %401, 1 store i64 %402, ptr %400, align 8 br label %411 403: ; preds = %387 %404 = load double, ptr %16, align 8 %405 = fcmp ogt double %404, 0.000000e+00 br i1 %405, label %406, label %410 406: ; preds = %403 %407 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 6 %408 = load i64, ptr %407, align 16 %409 = add nsw i64 %408, 1 store i64 %409, ptr %407, align 16 br label %410 410: ; preds = %406, %403 br label %411 411: ; preds = %410, %399 %412 = load double, ptr %19, align 8 %413 = load double, ptr %23, align 8 %414 = fcmp ogt double %412, %413 br i1 %414, label %415, label %419 415: ; preds = %411 %416 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 7 %417 = load i64, ptr %416, align 8 %418 = add nsw i64 %417, 1 store i64 %418, ptr %416, align 8 br label %427 419: ; preds = %411 %420 = load double, ptr %19, align 8 %421 = fcmp ogt double %420, 0.000000e+00 br i1 %421, label %422, label %426 422: ; preds = %419 %423 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 8 %424 = load i64, ptr %423, align 16 %425 = add nsw i64 %424, 1 store i64 %425, ptr %423, align 16 br label %426 426: ; preds = %422, %419 br label %427 427: ; preds = %426, %415 br label %428 428: ; preds = %427 %429 = load i64, ptr %27, align 8 %430 = add nsw i64 %429, 1 store i64 %430, ptr %27, align 8 br label %321, !llvm.loop !11 431: ; preds = %321 %432 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 1 %433 = load i64, ptr %432, align 8 %434 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 2 %435 = load i64, ptr %434, align 16 %436 = sub nsw i64 %433, %435 %437 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 5 %438 = load i64, ptr %437, align 8 %439 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 6 %440 = load i64, ptr %439, align 16 %441 = sub nsw i64 %438, %440 %442 = mul nsw i64 %436, %441 %443 = icmp sgt i64 %442, 0 br i1 %443, label %457, label %444 444: ; preds = %431 %445 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 3 %446 = load i64, ptr %445, align 8 %447 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 4 %448 = load i64, ptr %447, align 16 %449 = sub nsw i64 %446, %448 %450 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 7 %451 = load i64, ptr %450, align 8 %452 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 8 %453 = load i64, ptr %452, align 16 %454 = sub nsw i64 %451, %453 %455 = mul nsw i64 %449, %454 %456 = icmp sgt i64 %455, 0 br i1 %456, label %457, label %463 457: ; preds = %444, %431 %458 = load ptr, ptr %10, align 8 %459 = load i64, ptr %24, align 8 %460 = getelementptr inbounds ptr, ptr %458, i64 %459 %461 = load ptr, ptr %460, align 8 %462 = getelementptr inbounds i64, ptr %461, i64 7 store i64 1, ptr %462, align 8 br label %650 463: ; preds = %444 %464 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 1 %465 = load i64, ptr %464, align 8 %466 = icmp ne i64 %465, 0 br i1 %466, label %467, label %471 467: ; preds = %463 %468 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 2 %469 = load i64, ptr %468, align 16 %470 = icmp ne i64 %469, 0 br i1 %470, label %495, label %471 471: ; preds = %467, %463 %472 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 3 %473 = load i64, ptr %472, align 8 %474 = icmp ne i64 %473, 0 br i1 %474, label %475, label %479 475: ; preds = %471 %476 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 4 %477 = load i64, ptr %476, align 16 %478 = icmp ne i64 %477, 0 br i1 %478, label %495, label %479 479: ; preds = %475, %471 %480 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 5 %481 = load i64, ptr %480, align 8 %482 = icmp ne i64 %481, 0 br i1 %482, label %483, label %487 483: ; preds = %479 %484 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 6 %485 = load i64, ptr %484, align 16 %486 = icmp ne i64 %485, 0 br i1 %486, label %495, label %487 487: ; preds = %483, %479 %488 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 7 %489 = load i64, ptr %488, align 8 %490 = icmp ne i64 %489, 0 br i1 %490, label %491, label %501 491: ; preds = %487 %492 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 8 %493 = load i64, ptr %492, align 16 %494 = icmp ne i64 %493, 0 br i1 %494, label %495, label %501 495: ; preds = %491, %483, %475, %467 %496 = load ptr, ptr %10, align 8 %497 = load i64, ptr %24, align 8 %498 = getelementptr inbounds ptr, ptr %496, i64 %497 %499 = load ptr, ptr %498, align 8 %500 = getelementptr inbounds i64, ptr %499, i64 5 store i64 1, ptr %500, align 8 br label %501 501: ; preds = %495, %491, %487 %502 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 1 %503 = load i64, ptr %502, align 8 %504 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 2 %505 = load i64, ptr %504, align 16 %506 = icmp sgt i64 %503, %505 br i1 %506, label %513, label %507 507: ; preds = %501 %508 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 5 %509 = load i64, ptr %508, align 8 %510 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 6 %511 = load i64, ptr %510, align 16 %512 = icmp slt i64 %509, %511 br i1 %512, label %513, label %630 513: ; preds = %507, %501 %514 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 3 %515 = load i64, ptr %514, align 8 %516 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 4 %517 = load i64, ptr %516, align 16 %518 = icmp sgt i64 %515, %517 br i1 %518, label %525, label %519 519: ; preds = %513 %520 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 7 %521 = load i64, ptr %520, align 8 %522 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 8 %523 = load i64, ptr %522, align 16 %524 = icmp slt i64 %521, %523 br i1 %524, label %525, label %609 525: ; preds = %519, %513 %526 = load ptr, ptr %11, align 8 %527 = load ptr, ptr %10, align 8 %528 = load i64, ptr %24, align 8 %529 = getelementptr inbounds ptr, ptr %527, i64 %528 %530 = load ptr, ptr %529, align 8 %531 = getelementptr inbounds i64, ptr %530, i64 1 %532 = load i64, ptr %531, align 8 %533 = getelementptr inbounds i64, ptr %526, i64 %532 %534 = load i64, ptr %533, align 8 store i64 %534, ptr %31, align 8 %535 = load i64, ptr %31, align 8 %536 = load ptr, ptr %36, align 8 %537 = load ptr, ptr %13, align 8 %538 = call i32 @get_ij(i64 noundef %535, ptr noundef %536, ptr noundef %537, ptr noundef %25, ptr noundef %28) %539 = load ptr, ptr %11, align 8 %540 = load ptr, ptr %10, align 8 %541 = load i64, ptr %24, align 8 %542 = getelementptr inbounds ptr, ptr %540, i64 %541 %543 = load ptr, ptr %542, align 8 %544 = getelementptr inbounds i64, ptr %543, i64 2 %545 = load i64, ptr %544, align 8 %546 = getelementptr inbounds i64, ptr %539, i64 %545 %547 = load i64, ptr %546, align 8 store i64 %547, ptr %32, align 8 %548 = load i64, ptr %32, align 8 %549 = load ptr, ptr %36, align 8 %550 = load ptr, ptr %13, align 8 %551 = call i32 @get_ij(i64 noundef %548, ptr noundef %549, ptr noundef %550, ptr noundef %26, ptr noundef %29) %552 = load i64, ptr %26, align 8 %553 = load i64, ptr %28, align 8 %554 = icmp slt i64 %552, %553 br i1 %554, label %555, label %570 555: ; preds = %525 %556 = load ptr, ptr %10, align 8 %557 = load i64, ptr %24, align 8 %558 = getelementptr inbounds ptr, ptr %556, i64 %557 %559 = load ptr, ptr %558, align 8 %560 = getelementptr inbounds i64, ptr %559, i64 1 %561 = load i64, ptr %560, align 8 %562 = load ptr, ptr %10, align 8 %563 = load i64, ptr %24, align 8 %564 = getelementptr inbounds ptr, ptr %562, i64 %563 %565 = load ptr, ptr %564, align 8 %566 = getelementptr inbounds i64, ptr %565, i64 3 %567 = load i64, ptr %566, align 8 %568 = load ptr, ptr %11, align 8 %569 = call i32 @lreverse(i64 noundef %561, i64 noundef %567, ptr noundef %568) br label %608 570: ; preds = %525 %571 = load ptr, ptr %10, align 8 %572 = load i64, ptr %24, align 8 %573 = getelementptr inbounds ptr, ptr %571, i64 %572 %574 = load ptr, ptr %573, align 8 %575 = getelementptr inbounds i64, ptr %574, i64 1 %576 = load i64, ptr %575, align 8 store i64 %576, ptr %27, align 8 br label %577 577: ; preds = %604, %570 %578 = load i64, ptr %27, align 8 %579 = load ptr, ptr %10, align 8 %580 = load i64, ptr %24, align 8 %581 = getelementptr inbounds ptr, ptr %579, i64 %580 %582 = load ptr, ptr %581, align 8 %583 = getelementptr inbounds i64, ptr %582, i64 2 %584 = load i64, ptr %583, align 8 %585 = icmp sle i64 %578, %584 br i1 %585, label %586, label %607 586: ; preds = %577 %587 = load ptr, ptr %36, align 8 %588 = load ptr, ptr %11, align 8 %589 = load i64, ptr %27, align 8 %590 = getelementptr inbounds i64, ptr %588, i64 %589 %591 = load i64, ptr %590, align 8 %592 = getelementptr inbounds i64, ptr %587, i64 %591 %593 = load i64, ptr %592, align 8 %594 = icmp ne i64 %593, 0 %595 = xor i1 %594, true %596 = zext i1 %595 to i32 %597 = sext i32 %596 to i64 %598 = load ptr, ptr %36, align 8 %599 = load ptr, ptr %11, align 8 %600 = load i64, ptr %27, align 8 %601 = getelementptr inbounds i64, ptr %599, i64 %600 %602 = load i64, ptr %601, align 8 %603 = getelementptr inbounds i64, ptr %598, i64 %602 store i64 %597, ptr %603, align 8 br label %604 604: ; preds = %586 %605 = load i64, ptr %27, align 8 %606 = add nsw i64 %605, 1 store i64 %606, ptr %27, align 8 br label %577, !llvm.loop !12 607: ; preds = %577 br label %608 608: ; preds = %607, %555 br label %629 609: ; preds = %519 %610 = load ptr, ptr %10, align 8 %611 = load i64, ptr %24, align 8 %612 = getelementptr inbounds ptr, ptr %610, i64 %611 %613 = load ptr, ptr %612, align 8 %614 = getelementptr inbounds i64, ptr %613, i64 6 store i64 1, ptr %614, align 8 %615 = load ptr, ptr %10, align 8 %616 = load i64, ptr %24, align 8 %617 = getelementptr inbounds ptr, ptr %615, i64 %616 %618 = load ptr, ptr %617, align 8 %619 = getelementptr inbounds i64, ptr %618, i64 1 %620 = load i64, ptr %619, align 8 %621 = load ptr, ptr %10, align 8 %622 = load i64, ptr %24, align 8 %623 = getelementptr inbounds ptr, ptr %621, i64 %622 %624 = load ptr, ptr %623, align 8 %625 = getelementptr inbounds i64, ptr %624, i64 3 %626 = load i64, ptr %625, align 8 %627 = load ptr, ptr %11, align 8 %628 = call i32 @lreverse(i64 noundef %620, i64 noundef %626, ptr noundef %627) br label %629 629: ; preds = %609, %608 br label %649 630: ; preds = %507 %631 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 3 %632 = load i64, ptr %631, align 8 %633 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 4 %634 = load i64, ptr %633, align 16 %635 = icmp sgt i64 %632, %634 br i1 %635, label %642, label %636 636: ; preds = %630 %637 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 7 %638 = load i64, ptr %637, align 8 %639 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 8 %640 = load i64, ptr %639, align 16 %641 = icmp slt i64 %638, %640 br i1 %641, label %642, label %648 642: ; preds = %636, %630 %643 = load ptr, ptr %10, align 8 %644 = load i64, ptr %24, align 8 %645 = getelementptr inbounds ptr, ptr %643, i64 %644 %646 = load ptr, ptr %645, align 8 %647 = getelementptr inbounds i64, ptr %646, i64 6 store i64 1, ptr %647, align 8 br label %648 648: ; preds = %642, %636 br label %649 649: ; preds = %648, %629 br label %650 650: ; preds = %649, %457 store i64 0, ptr %33, align 8 %651 = load ptr, ptr %10, align 8 %652 = load i64, ptr %24, align 8 %653 = getelementptr inbounds ptr, ptr %651, i64 %652 %654 = load ptr, ptr %653, align 8 %655 = getelementptr inbounds i64, ptr %654, i64 1 %656 = load i64, ptr %655, align 8 store i64 %656, ptr %27, align 8 br label %657 657: ; preds = %679, %650 %658 = load i64, ptr %27, align 8 %659 = load ptr, ptr %10, align 8 %660 = load i64, ptr %24, align 8 %661 = getelementptr inbounds ptr, ptr %659, i64 %660 %662 = load ptr, ptr %661, align 8 %663 = getelementptr inbounds i64, ptr %662, i64 2 %664 = load i64, ptr %663, align 8 %665 = icmp sle i64 %658, %664 br i1 %665, label %666, label %682 666: ; preds = %657 %667 = load ptr, ptr %36, align 8 %668 = load ptr, ptr %11, align 8 %669 = load i64, ptr %27, align 8 %670 = getelementptr inbounds i64, ptr %668, i64 %669 %671 = load i64, ptr %670, align 8 %672 = getelementptr inbounds i64, ptr %667, i64 %671 %673 = load i64, ptr %672, align 8 %674 = icmp ne i64 %673, 0 br i1 %674, label %675, label %678 675: ; preds = %666 %676 = load i64, ptr %33, align 8 %677 = add nsw i64 %676, 1 store i64 %677, ptr %33, align 8 br label %678 678: ; preds = %675, %666 br label %679 679: ; preds = %678 %680 = load i64, ptr %27, align 8 %681 = add nsw i64 %680, 1 store i64 %681, ptr %27, align 8 br label %657, !llvm.loop !13 682: ; preds = %657 %683 = load i64, ptr %33, align 8 %684 = icmp ne i64 %683, 0 br i1 %684, label %685, label %766 685: ; preds = %682 %686 = load ptr, ptr %10, align 8 %687 = load i64, ptr %24, align 8 %688 = getelementptr inbounds ptr, ptr %686, i64 %687 %689 = load ptr, ptr %688, align 8 %690 = getelementptr inbounds i64, ptr %689, i64 1 %691 = load i64, ptr %690, align 8 store i64 %691, ptr %27, align 8 br label %692 692: ; preds = %762, %685 %693 = load i64, ptr %27, align 8 %694 = load ptr, ptr %10, align 8 %695 = load i64, ptr %24, align 8 %696 = getelementptr inbounds ptr, ptr %694, i64 %695 %697 = load ptr, ptr %696, align 8 %698 = getelementptr inbounds i64, ptr %697, i64 2 %699 = load i64, ptr %698, align 8 %700 = icmp sle i64 %693, %699 br i1 %700, label %701, label %765 701: ; preds = %692 %702 = load ptr, ptr %11, align 8 %703 = load i64, ptr %27, align 8 %704 = getelementptr inbounds i64, ptr %702, i64 %703 %705 = load i64, ptr %704, align 8 store i64 %705, ptr %31, align 8 %706 = load ptr, ptr %36, align 8 %707 = load i64, ptr %31, align 8 %708 = getelementptr inbounds i64, ptr %706, i64 %707 %709 = load i64, ptr %708, align 8 %710 = icmp ne i64 %709, 0 br i1 %710, label %711, label %761 711: ; preds = %701 %712 = load ptr, ptr %13, align 8 %713 = load i64, ptr %31, align 8 %714 = getelementptr inbounds ptr, ptr %712, i64 %713 %715 = load ptr, ptr %714, align 8 %716 = getelementptr inbounds i64, ptr %715, i64 1 %717 = load ptr, ptr %13, align 8 %718 = load i64, ptr %31, align 8 %719 = getelementptr inbounds ptr, ptr %717, i64 %718 %720 = load ptr, ptr %719, align 8 %721 = getelementptr inbounds i64, ptr %720, i64 2 %722 = call i32 @lswap(ptr noundef %716, ptr noundef %721) store i64 1, ptr %30, align 8 br label %723 723: ; preds = %757, %711 %724 = load i64, ptr %30, align 8 %725 = icmp sle i64 %724, 3 br i1 %725, label %726, label %760 726: ; preds = %723 %727 = load ptr, ptr %12, align 8 %728 = load i64, ptr %31, align 8 %729 = getelementptr inbounds ptr, ptr %727, i64 %728 %730 = load ptr, ptr %729, align 8 %731 = load i64, ptr %30, align 8 %732 = add nsw i64 %731, 3 %733 = getelementptr inbounds double, ptr %730, i64 %732 %734 = load ptr, ptr %12, align 8 %735 = load i64, ptr %31, align 8 %736 = getelementptr inbounds ptr, ptr %734, i64 %735 %737 = load ptr, ptr %736, align 8 %738 = load i64, ptr %30, align 8 %739 = add nsw i64 %738, 6 %740 = getelementptr inbounds double, ptr %737, i64 %739 %741 = call i32 @dswap(ptr noundef %733, ptr noundef %740) %742 = load ptr, ptr %13, align 8 %743 = load i64, ptr %31, align 8 %744 = getelementptr inbounds ptr, ptr %742, i64 %743 %745 = load ptr, ptr %744, align 8 %746 = load i64, ptr %30, align 8 %747 = add nsw i64 %746, 11 %748 = getelementptr inbounds i64, ptr %745, i64 %747 %749 = load ptr, ptr %13, align 8 %750 = load i64, ptr %31, align 8 %751 = getelementptr inbounds ptr, ptr %749, i64 %750 %752 = load ptr, ptr %751, align 8 %753 = load i64, ptr %30, align 8 %754 = add nsw i64 %753, 14 %755 = getelementptr inbounds i64, ptr %752, i64 %754 %756 = call i32 @lswap(ptr noundef %748, ptr noundef %755) br label %757 757: ; preds = %726 %758 = load i64, ptr %30, align 8 %759 = add nsw i64 %758, 1 store i64 %759, ptr %30, align 8 br label %723, !llvm.loop !14 760: ; preds = %723 br label %761 761: ; preds = %760, %701 br label %762 762: ; preds = %761 %763 = load i64, ptr %27, align 8 %764 = add nsw i64 %763, 1 store i64 %764, ptr %27, align 8 br label %692, !llvm.loop !15 765: ; preds = %692 br label %766 766: ; preds = %765, %682 br label %767 767: ; preds = %766 %768 = load i64, ptr %24, align 8 %769 = add nsw i64 %768, 1 store i64 %769, ptr %24, align 8 br label %89, !llvm.loop !16 770: ; preds = %89 %771 = load ptr, ptr %36, align 8 %772 = load i64, ptr %8, align 8 %773 = call i32 @free_lvector(ptr noundef %771, i32 noundef 1, i64 noundef %772) br label %774 774: ; preds = %770, %77 ret void } declare double @distance_ab(ptr noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef) #1 declare ptr @lvector(i32 noundef, i64 noundef) #1 declare i32 @get_d1_d2(i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @get_ij(i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @lreverse(i64 noundef, i64 noundef, ptr noundef) #1 declare i32 @lswap(ptr noundef, ptr noundef) #1 declare i32 @dswap(ptr noundef, ptr noundef) #1 declare i32 @free_lvector(ptr noundef, i32 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"} !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} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplzkv2jnp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @five2three(i64 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca i64, align 8 %25 = alloca i64, align 8 %26 = alloca i64, align 8 %27 = alloca i64, align 8 %28 = alloca i64, align 8 %29 = alloca i64, align 8 %30 = alloca i64, align 8 %31 = alloca i64, align 8 %32 = alloca i64, align 8 %33 = alloca i64, align 8 %34 = alloca i64, align 8 %35 = alloca [9 x i64], align 16 %36 = alloca ptr, align 8 store i64 %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 store double 5.000000e+00, ptr %23, align 8 store i64 1, ptr %24, align 8 %37 = load i64, ptr %24, align 8 %38 = load ptr, ptr %9, align 8 %39 = load i64, ptr %38, align 8 %40 = icmp sle i64 %37, %39 br i1 %40, label %.lr.ph2, label %96 .lr.ph2: ; preds = %7 br label %41 41: ; preds = %.lr.ph2, %89 %42 = load ptr, ptr %10, align 8 %43 = load i64, ptr %24, align 8 %44 = getelementptr inbounds ptr, ptr %42, i64 %43 %45 = load ptr, ptr %44, align 8 %46 = getelementptr inbounds i64, ptr %45, i64 1 %47 = load i64, ptr %46, align 8 store i64 %47, ptr %27, align 8 %48 = load i64, ptr %27, align 8 %49 = load ptr, ptr %10, align 8 %50 = load i64, ptr %24, align 8 %51 = getelementptr inbounds ptr, ptr %49, i64 %50 %52 = load ptr, ptr %51, align 8 %53 = getelementptr inbounds i64, ptr %52, i64 2 %54 = load i64, ptr %53, align 8 %55 = icmp sle i64 %48, %54 br i1 %55, label %.lr.ph, label %88 .lr.ph: ; preds = %41 br label %56 56: ; preds = %.lr.ph, %77 %57 = load ptr, ptr %13, align 8 %58 = load ptr, ptr %11, align 8 %59 = load i64, ptr %27, align 8 %60 = getelementptr inbounds i64, ptr %58, i64 %59 %61 = load i64, ptr %60, align 8 %62 = getelementptr inbounds ptr, ptr %57, i64 %61 %63 = load ptr, ptr %62, align 8 %64 = getelementptr inbounds i64, ptr %63, i64 1 %65 = load i64, ptr %64, align 8 store i64 %65, ptr %25, align 8 %66 = load ptr, ptr %14, align 8 %67 = load i64, ptr %25, align 8 %68 = load i64, ptr %25, align 8 %69 = call double @distance_ab(ptr noundef %66, i64 noundef %67, i64 noundef %68, i32 noundef 4, i32 noundef 8) store double %69, ptr %15, align 8 %70 = load double, ptr %15, align 8 %71 = fcmp ogt double %70, 0.000000e+00 br i1 %71, label %72, label %76 72: ; preds = %56 %73 = load double, ptr %15, align 8 %74 = fcmp ole double %73, 2.500000e+00 br i1 %74, label %75, label %76 75: ; preds = %72 br label %824 76: ; preds = %72, %56 br label %77 77: ; preds = %76 %78 = load i64, ptr %27, align 8 %79 = add nsw i64 %78, 1 store i64 %79, ptr %27, align 8 %80 = load i64, ptr %27, align 8 %81 = load ptr, ptr %10, align 8 %82 = load i64, ptr %24, align 8 %83 = getelementptr inbounds ptr, ptr %81, i64 %82 %84 = load ptr, ptr %83, align 8 %85 = getelementptr inbounds i64, ptr %84, i64 2 %86 = load i64, ptr %85, align 8 %87 = icmp sle i64 %80, %86 br i1 %87, label %56, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %77 br label %88 88: ; preds = %._crit_edge, %41 br label %89 89: ; preds = %88 %90 = load i64, ptr %24, align 8 %91 = add nsw i64 %90, 1 store i64 %91, ptr %24, align 8 %92 = load i64, ptr %24, align 8 %93 = load ptr, ptr %9, align 8 %94 = load i64, ptr %93, align 8 %95 = icmp sle i64 %92, %94 br i1 %95, label %41, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %89 br label %96 96: ; preds = %._crit_edge3, %7 %97 = load i64, ptr %8, align 8 %98 = call ptr @lvector(i32 noundef 1, i64 noundef %97) store ptr %98, ptr %36, align 8 store i64 1, ptr %24, align 8 %99 = load i64, ptr %24, align 8 %100 = load ptr, ptr %9, align 8 %101 = load i64, ptr %100, align 8 %102 = icmp sle i64 %99, %101 br i1 %102, label %.lr.ph26, label %820 .lr.ph26: ; preds = %96 br label %103 103: ; preds = %.lr.ph26, %813 %104 = load ptr, ptr %10, align 8 %105 = load i64, ptr %24, align 8 %106 = getelementptr inbounds ptr, ptr %104, i64 %105 %107 = load ptr, ptr %106, align 8 %108 = getelementptr inbounds i64, ptr %107, i64 2 %109 = load i64, ptr %108, align 8 %110 = load ptr, ptr %10, align 8 %111 = load i64, ptr %24, align 8 %112 = getelementptr inbounds ptr, ptr %110, i64 %111 %113 = load ptr, ptr %112, align 8 %114 = getelementptr inbounds i64, ptr %113, i64 1 %115 = load i64, ptr %114, align 8 %116 = sub nsw i64 %109, %115 %117 = add nsw i64 %116, 1 %118 = load ptr, ptr %10, align 8 %119 = load i64, ptr %24, align 8 %120 = getelementptr inbounds ptr, ptr %118, i64 %119 %121 = load ptr, ptr %120, align 8 %122 = getelementptr inbounds i64, ptr %121, i64 3 store i64 %117, ptr %122, align 8 store i64 0, ptr %34, align 8 %123 = load ptr, ptr %10, align 8 %124 = load i64, ptr %24, align 8 %125 = getelementptr inbounds ptr, ptr %123, i64 %124 %126 = load ptr, ptr %125, align 8 %127 = getelementptr inbounds i64, ptr %126, i64 1 %128 = load i64, ptr %127, align 8 store i64 %128, ptr %27, align 8 %129 = load i64, ptr %27, align 8 %130 = load ptr, ptr %10, align 8 %131 = load i64, ptr %24, align 8 %132 = getelementptr inbounds ptr, ptr %130, i64 %131 %133 = load ptr, ptr %132, align 8 %134 = getelementptr inbounds i64, ptr %133, i64 2 %135 = load i64, ptr %134, align 8 %136 = icmp slt i64 %129, %135 br i1 %136, label %.lr.ph5, label %320 .lr.ph5: ; preds = %103 br label %137 137: ; preds = %.lr.ph5, %309 %138 = load ptr, ptr %11, align 8 %139 = load i64, ptr %27, align 8 %140 = getelementptr inbounds i64, ptr %138, i64 %139 %141 = load i64, ptr %140, align 8 store i64 %141, ptr %31, align 8 %142 = load ptr, ptr %11, align 8 %143 = load i64, ptr %27, align 8 %144 = add nsw i64 %143, 1 %145 = getelementptr inbounds i64, ptr %142, i64 %144 %146 = load i64, ptr %145, align 8 store i64 %146, ptr %32, align 8 %147 = load ptr, ptr %13, align 8 %148 = load i64, ptr %31, align 8 %149 = getelementptr inbounds ptr, ptr %147, i64 %148 %150 = load ptr, ptr %149, align 8 %151 = getelementptr inbounds i64, ptr %150, i64 3 %152 = load i64, ptr %151, align 8 %153 = icmp sgt i64 %152, 0 br i1 %153, label %154, label %251 154: ; preds = %137 %155 = load ptr, ptr %13, align 8 %156 = load i64, ptr %32, align 8 %157 = getelementptr inbounds ptr, ptr %155, i64 %156 %158 = load ptr, ptr %157, align 8 %159 = getelementptr inbounds i64, ptr %158, i64 3 %160 = load i64, ptr %159, align 8 %161 = icmp sgt i64 %160, 0 br i1 %161, label %162, label %251 162: ; preds = %154 %163 = load i64, ptr %34, align 8 %164 = add nsw i64 %163, 1 store i64 %164, ptr %34, align 8 %165 = load i64, ptr %31, align 8 %166 = load i64, ptr %32, align 8 %167 = load ptr, ptr %36, align 8 %168 = load ptr, ptr %12, align 8 %169 = call i32 @get_d1_d2(i64 noundef %165, i64 noundef %166, ptr noundef %167, ptr noundef %168, ptr noundef %21, ptr noundef %22) %170 = load double, ptr %21, align 8 %171 = fcmp olt double %170, 0.000000e+00 br i1 %171, label %172, label %199 172: ; preds = %162 %173 = load ptr, ptr %36, align 8 %174 = load i64, ptr %32, align 8 %175 = getelementptr inbounds i64, ptr %173, i64 %174 %176 = load i64, ptr %175, align 8 %177 = icmp ne i64 %176, 0 %178 = xor i1 %177, true %179 = zext i1 %178 to i32 %180 = sext i32 %179 to i64 %181 = load ptr, ptr %36, align 8 %182 = load i64, ptr %32, align 8 %183 = getelementptr inbounds i64, ptr %181, i64 %182 store i64 %180, ptr %183, align 8 %184 = load double, ptr %22, align 8 %185 = fcmp olt double %184, 0.000000e+00 br i1 %185, label %186, label %198 186: ; preds = %172 %187 = load ptr, ptr %36, align 8 %188 = load i64, ptr %31, align 8 %189 = getelementptr inbounds i64, ptr %187, i64 %188 %190 = load i64, ptr %189, align 8 %191 = icmp ne i64 %190, 0 %192 = xor i1 %191, true %193 = zext i1 %192 to i32 %194 = sext i32 %193 to i64 %195 = load ptr, ptr %36, align 8 %196 = load i64, ptr %31, align 8 %197 = getelementptr inbounds i64, ptr %195, i64 %196 store i64 %194, ptr %197, align 8 br label %198 198: ; preds = %186, %172 br label %230 199: ; preds = %162 %200 = load double, ptr %22, align 8 %201 = fcmp olt double %200, 0.000000e+00 br i1 %201, label %202, label %229 202: ; preds = %199 %203 = load ptr, ptr %36, align 8 %204 = load i64, ptr %32, align 8 %205 = getelementptr inbounds i64, ptr %203, i64 %204 %206 = load i64, ptr %205, align 8 %207 = icmp ne i64 %206, 0 %208 = xor i1 %207, true %209 = zext i1 %208 to i32 %210 = sext i32 %209 to i64 %211 = load ptr, ptr %36, align 8 %212 = load i64, ptr %32, align 8 %213 = getelementptr inbounds i64, ptr %211, i64 %212 store i64 %210, ptr %213, align 8 %214 = load i64, ptr %34, align 8 %215 = icmp eq i64 %214, 1 br i1 %215, label %216, label %228 216: ; preds = %202 %217 = load ptr, ptr %36, align 8 %218 = load i64, ptr %31, align 8 %219 = getelementptr inbounds i64, ptr %217, i64 %218 %220 = load i64, ptr %219, align 8 %221 = icmp ne i64 %220, 0 %222 = xor i1 %221, true %223 = zext i1 %222 to i32 %224 = sext i32 %223 to i64 %225 = load ptr, ptr %36, align 8 %226 = load i64, ptr %31, align 8 %227 = getelementptr inbounds i64, ptr %225, i64 %226 store i64 %224, ptr %227, align 8 br label %228 228: ; preds = %216, %202 br label %229 229: ; preds = %228, %199 br label %230 230: ; preds = %229, %198 %231 = load i64, ptr %31, align 8 %232 = load i64, ptr %32, align 8 %233 = load ptr, ptr %36, align 8 %234 = load ptr, ptr %12, align 8 %235 = call i32 @get_d1_d2(i64 noundef %231, i64 noundef %232, ptr noundef %233, ptr noundef %234, ptr noundef %21, ptr noundef %22) %236 = load double, ptr %21, align 8 %237 = fcmp olt double %236, 0.000000e+00 br i1 %237, label %238, label %250 238: ; preds = %230 %239 = load ptr, ptr %36, align 8 %240 = load i64, ptr %32, align 8 %241 = getelementptr inbounds i64, ptr %239, i64 %240 %242 = load i64, ptr %241, align 8 %243 = icmp ne i64 %242, 0 %244 = xor i1 %243, true %245 = zext i1 %244 to i32 %246 = sext i32 %245 to i64 %247 = load ptr, ptr %36, align 8 %248 = load i64, ptr %32, align 8 %249 = getelementptr inbounds i64, ptr %247, i64 %248 store i64 %246, ptr %249, align 8 br label %250 250: ; preds = %238, %230 br label %308 251: ; preds = %154, %137 store i64 0, ptr %34, align 8 %252 = load i64, ptr %31, align 8 %253 = load ptr, ptr %36, align 8 %254 = load ptr, ptr %13, align 8 %255 = call i32 @get_ij(i64 noundef %252, ptr noundef %253, ptr noundef %254, ptr noundef %25, ptr noundef %28) %256 = load i64, ptr %32, align 8 %257 = load ptr, ptr %36, align 8 %258 = load ptr, ptr %13, align 8 %259 = call i32 @get_ij(i64 noundef %256, ptr noundef %257, ptr noundef %258, ptr noundef %26, ptr noundef %29) %260 = load ptr, ptr %14, align 8 %261 = load i64, ptr %25, align 8 %262 = load i64, ptr %26, align 8 %263 = call double @distance_ab(ptr noundef %260, i64 noundef %261, i64 noundef %262, i32 noundef 4, i32 noundef 4) store double %263, ptr %15, align 8 %264 = load ptr, ptr %14, align 8 %265 = load i64, ptr %25, align 8 %266 = load i64, ptr %29, align 8 %267 = call double @distance_ab(ptr noundef %264, i64 noundef %265, i64 noundef %266, i32 noundef 4, i32 noundef 4) store double %267, ptr %17, align 8 %268 = load ptr, ptr %14, align 8 %269 = load i64, ptr %28, align 8 %270 = load i64, ptr %26, align 8 %271 = call double @distance_ab(ptr noundef %268, i64 noundef %269, i64 noundef %270, i32 noundef 4, i32 noundef 4) store double %271, ptr %18, align 8 %272 = load ptr, ptr %14, align 8 %273 = load i64, ptr %28, align 8 %274 = load i64, ptr %29, align 8 %275 = call double @distance_ab(ptr noundef %272, i64 noundef %273, i64 noundef %274, i32 noundef 4, i32 noundef 4) store double %275, ptr %19, align 8 %276 = load double, ptr %15, align 8 %277 = fcmp ogt double %276, 0.000000e+00 br i1 %277, label %278, label %307 278: ; preds = %251 %279 = load double, ptr %17, align 8 %280 = fcmp ogt double %279, 0.000000e+00 br i1 %280, label %281, label %307 281: ; preds = %278 %282 = load double, ptr %15, align 8 %283 = load double, ptr %17, align 8 %284 = fcmp ogt double %282, %283 br i1 %284, label %285, label %307 285: ; preds = %281 %286 = load double, ptr %18, align 8 %287 = fcmp ogt double %286, 0.000000e+00 br i1 %287, label %288, label %307 288: ; preds = %285 %289 = load double, ptr %19, align 8 %290 = fcmp ogt double %289, 0.000000e+00 br i1 %290, label %291, label %307 291: ; preds = %288 %292 = load double, ptr %19, align 8 %293 = load double, ptr %18, align 8 %294 = fcmp ogt double %292, %293 br i1 %294, label %295, label %307 295: ; preds = %291 %296 = load ptr, ptr %36, align 8 %297 = load i64, ptr %32, align 8 %298 = getelementptr inbounds i64, ptr %296, i64 %297 %299 = load i64, ptr %298, align 8 %300 = icmp ne i64 %299, 0 %301 = xor i1 %300, true %302 = zext i1 %301 to i32 %303 = sext i32 %302 to i64 %304 = load ptr, ptr %36, align 8 %305 = load i64, ptr %32, align 8 %306 = getelementptr inbounds i64, ptr %304, i64 %305 store i64 %303, ptr %306, align 8 br label %307 307: ; preds = %295, %291, %288, %285, %281, %278, %251 br label %308 308: ; preds = %307, %250 br label %309 309: ; preds = %308 %310 = load i64, ptr %27, align 8 %311 = add nsw i64 %310, 1 store i64 %311, ptr %27, align 8 %312 = load i64, ptr %27, align 8 %313 = load ptr, ptr %10, align 8 %314 = load i64, ptr %24, align 8 %315 = getelementptr inbounds ptr, ptr %313, i64 %314 %316 = load ptr, ptr %315, align 8 %317 = getelementptr inbounds i64, ptr %316, i64 2 %318 = load i64, ptr %317, align 8 %319 = icmp slt i64 %312, %318 br i1 %319, label %137, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %309 br label %320 320: ; preds = %._crit_edge6, %103 store i64 1, ptr %27, align 8 %321 = load i64, ptr %27, align 8 %322 = icmp sle i64 %321, 8 br i1 %322, label %.lr.ph8, label %331 .lr.ph8: ; preds = %320 br label %323 323: ; preds = %.lr.ph8, %326 %324 = load i64, ptr %27, align 8 %325 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 %324 store i64 0, ptr %325, align 8 br label %326 326: ; preds = %323 %327 = load i64, ptr %27, align 8 %328 = add nsw i64 %327, 1 store i64 %328, ptr %27, align 8 %329 = load i64, ptr %27, align 8 %330 = icmp sle i64 %329, 8 br i1 %330, label %323, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %326 br label %331 331: ; preds = %._crit_edge9, %320 %332 = load ptr, ptr %10, align 8 %333 = load i64, ptr %24, align 8 %334 = getelementptr inbounds ptr, ptr %332, i64 %333 %335 = load ptr, ptr %334, align 8 %336 = getelementptr inbounds i64, ptr %335, i64 1 %337 = load i64, ptr %336, align 8 store i64 %337, ptr %27, align 8 %338 = load i64, ptr %27, align 8 %339 = load ptr, ptr %10, align 8 %340 = load i64, ptr %24, align 8 %341 = getelementptr inbounds ptr, ptr %339, i64 %340 %342 = load ptr, ptr %341, align 8 %343 = getelementptr inbounds i64, ptr %342, i64 2 %344 = load i64, ptr %343, align 8 %345 = icmp slt i64 %338, %344 br i1 %345, label %.lr.ph11, label %455 .lr.ph11: ; preds = %331 br label %346 346: ; preds = %.lr.ph11, %444 %347 = load ptr, ptr %11, align 8 %348 = load i64, ptr %27, align 8 %349 = getelementptr inbounds i64, ptr %347, i64 %348 %350 = load i64, ptr %349, align 8 store i64 %350, ptr %31, align 8 %351 = load i64, ptr %31, align 8 %352 = load ptr, ptr %36, align 8 %353 = load ptr, ptr %13, align 8 %354 = call i32 @get_ij(i64 noundef %351, ptr noundef %352, ptr noundef %353, ptr noundef %25, ptr noundef %28) %355 = load ptr, ptr %11, align 8 %356 = load i64, ptr %27, align 8 %357 = add nsw i64 %356, 1 %358 = getelementptr inbounds i64, ptr %355, i64 %357 %359 = load i64, ptr %358, align 8 store i64 %359, ptr %32, align 8 %360 = load i64, ptr %32, align 8 %361 = load ptr, ptr %36, align 8 %362 = load ptr, ptr %13, align 8 %363 = call i32 @get_ij(i64 noundef %360, ptr noundef %361, ptr noundef %362, ptr noundef %26, ptr noundef %29) %364 = load ptr, ptr %14, align 8 %365 = load i64, ptr %25, align 8 %366 = load i64, ptr %26, align 8 %367 = call double @distance_ab(ptr noundef %364, i64 noundef %365, i64 noundef %366, i32 noundef 4, i32 noundef 8) store double %367, ptr %15, align 8 %368 = load ptr, ptr %14, align 8 %369 = load i64, ptr %29, align 8 %370 = load i64, ptr %28, align 8 %371 = call double @distance_ab(ptr noundef %368, i64 noundef %369, i64 noundef %370, i32 noundef 4, i32 noundef 8) store double %371, ptr %20, align 8 %372 = load double, ptr %15, align 8 %373 = load double, ptr %23, align 8 %374 = fcmp ogt double %372, %373 br i1 %374, label %375, label %379 375: ; preds = %346 %376 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 1 %377 = load i64, ptr %376, align 8 %378 = add nsw i64 %377, 1 store i64 %378, ptr %376, align 8 br label %387 379: ; preds = %346 %380 = load double, ptr %15, align 8 %381 = fcmp ogt double %380, 0.000000e+00 br i1 %381, label %382, label %386 382: ; preds = %379 %383 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 2 %384 = load i64, ptr %383, align 16 %385 = add nsw i64 %384, 1 store i64 %385, ptr %383, align 16 br label %386 386: ; preds = %382, %379 br label %387 387: ; preds = %386, %375 %388 = load double, ptr %20, align 8 %389 = load double, ptr %23, align 8 %390 = fcmp ogt double %388, %389 br i1 %390, label %391, label %395 391: ; preds = %387 %392 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 3 %393 = load i64, ptr %392, align 8 %394 = add nsw i64 %393, 1 store i64 %394, ptr %392, align 8 br label %403 395: ; preds = %387 %396 = load double, ptr %20, align 8 %397 = fcmp ogt double %396, 0.000000e+00 br i1 %397, label %398, label %402 398: ; preds = %395 %399 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 4 %400 = load i64, ptr %399, align 16 %401 = add nsw i64 %400, 1 store i64 %401, ptr %399, align 16 br label %402 402: ; preds = %398, %395 br label %403 403: ; preds = %402, %391 %404 = load ptr, ptr %14, align 8 %405 = load i64, ptr %26, align 8 %406 = load i64, ptr %25, align 8 %407 = call double @distance_ab(ptr noundef %404, i64 noundef %405, i64 noundef %406, i32 noundef 4, i32 noundef 8) store double %407, ptr %16, align 8 %408 = load ptr, ptr %14, align 8 %409 = load i64, ptr %28, align 8 %410 = load i64, ptr %29, align 8 %411 = call double @distance_ab(ptr noundef %408, i64 noundef %409, i64 noundef %410, i32 noundef 4, i32 noundef 8) store double %411, ptr %19, align 8 %412 = load double, ptr %16, align 8 %413 = load double, ptr %23, align 8 %414 = fcmp ogt double %412, %413 br i1 %414, label %415, label %419 415: ; preds = %403 %416 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 5 %417 = load i64, ptr %416, align 8 %418 = add nsw i64 %417, 1 store i64 %418, ptr %416, align 8 br label %427 419: ; preds = %403 %420 = load double, ptr %16, align 8 %421 = fcmp ogt double %420, 0.000000e+00 br i1 %421, label %422, label %426 422: ; preds = %419 %423 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 6 %424 = load i64, ptr %423, align 16 %425 = add nsw i64 %424, 1 store i64 %425, ptr %423, align 16 br label %426 426: ; preds = %422, %419 br label %427 427: ; preds = %426, %415 %428 = load double, ptr %19, align 8 %429 = load double, ptr %23, align 8 %430 = fcmp ogt double %428, %429 br i1 %430, label %431, label %435 431: ; preds = %427 %432 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 7 %433 = load i64, ptr %432, align 8 %434 = add nsw i64 %433, 1 store i64 %434, ptr %432, align 8 br label %443 435: ; preds = %427 %436 = load double, ptr %19, align 8 %437 = fcmp ogt double %436, 0.000000e+00 br i1 %437, label %438, label %442 438: ; preds = %435 %439 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 8 %440 = load i64, ptr %439, align 16 %441 = add nsw i64 %440, 1 store i64 %441, ptr %439, align 16 br label %442 442: ; preds = %438, %435 br label %443 443: ; preds = %442, %431 br label %444 444: ; preds = %443 %445 = load i64, ptr %27, align 8 %446 = add nsw i64 %445, 1 store i64 %446, ptr %27, align 8 %447 = load i64, ptr %27, align 8 %448 = load ptr, ptr %10, align 8 %449 = load i64, ptr %24, align 8 %450 = getelementptr inbounds ptr, ptr %448, i64 %449 %451 = load ptr, ptr %450, align 8 %452 = getelementptr inbounds i64, ptr %451, i64 2 %453 = load i64, ptr %452, align 8 %454 = icmp slt i64 %447, %453 br i1 %454, label %346, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %444 br label %455 455: ; preds = %._crit_edge12, %331 %456 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 1 %457 = load i64, ptr %456, align 8 %458 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 2 %459 = load i64, ptr %458, align 16 %460 = sub nsw i64 %457, %459 %461 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 5 %462 = load i64, ptr %461, align 8 %463 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 6 %464 = load i64, ptr %463, align 16 %465 = sub nsw i64 %462, %464 %466 = mul nsw i64 %460, %465 %467 = icmp sgt i64 %466, 0 br i1 %467, label %481, label %468 468: ; preds = %455 %469 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 3 %470 = load i64, ptr %469, align 8 %471 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 4 %472 = load i64, ptr %471, align 16 %473 = sub nsw i64 %470, %472 %474 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 7 %475 = load i64, ptr %474, align 8 %476 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 8 %477 = load i64, ptr %476, align 16 %478 = sub nsw i64 %475, %477 %479 = mul nsw i64 %473, %478 %480 = icmp sgt i64 %479, 0 br i1 %480, label %481, label %487 481: ; preds = %468, %455 %482 = load ptr, ptr %10, align 8 %483 = load i64, ptr %24, align 8 %484 = getelementptr inbounds ptr, ptr %482, i64 %483 %485 = load ptr, ptr %484, align 8 %486 = getelementptr inbounds i64, ptr %485, i64 7 store i64 1, ptr %486, align 8 br label %681 487: ; preds = %468 %488 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 1 %489 = load i64, ptr %488, align 8 %490 = icmp ne i64 %489, 0 br i1 %490, label %491, label %495 491: ; preds = %487 %492 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 2 %493 = load i64, ptr %492, align 16 %494 = icmp ne i64 %493, 0 br i1 %494, label %519, label %495 495: ; preds = %491, %487 %496 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 3 %497 = load i64, ptr %496, align 8 %498 = icmp ne i64 %497, 0 br i1 %498, label %499, label %503 499: ; preds = %495 %500 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 4 %501 = load i64, ptr %500, align 16 %502 = icmp ne i64 %501, 0 br i1 %502, label %519, label %503 503: ; preds = %499, %495 %504 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 5 %505 = load i64, ptr %504, align 8 %506 = icmp ne i64 %505, 0 br i1 %506, label %507, label %511 507: ; preds = %503 %508 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 6 %509 = load i64, ptr %508, align 16 %510 = icmp ne i64 %509, 0 br i1 %510, label %519, label %511 511: ; preds = %507, %503 %512 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 7 %513 = load i64, ptr %512, align 8 %514 = icmp ne i64 %513, 0 br i1 %514, label %515, label %525 515: ; preds = %511 %516 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 8 %517 = load i64, ptr %516, align 16 %518 = icmp ne i64 %517, 0 br i1 %518, label %519, label %525 519: ; preds = %515, %507, %499, %491 %520 = load ptr, ptr %10, align 8 %521 = load i64, ptr %24, align 8 %522 = getelementptr inbounds ptr, ptr %520, i64 %521 %523 = load ptr, ptr %522, align 8 %524 = getelementptr inbounds i64, ptr %523, i64 5 store i64 1, ptr %524, align 8 br label %525 525: ; preds = %519, %515, %511 %526 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 1 %527 = load i64, ptr %526, align 8 %528 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 2 %529 = load i64, ptr %528, align 16 %530 = icmp sgt i64 %527, %529 br i1 %530, label %537, label %531 531: ; preds = %525 %532 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 5 %533 = load i64, ptr %532, align 8 %534 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 6 %535 = load i64, ptr %534, align 16 %536 = icmp slt i64 %533, %535 br i1 %536, label %537, label %661 537: ; preds = %531, %525 %538 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 3 %539 = load i64, ptr %538, align 8 %540 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 4 %541 = load i64, ptr %540, align 16 %542 = icmp sgt i64 %539, %541 br i1 %542, label %549, label %543 543: ; preds = %537 %544 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 7 %545 = load i64, ptr %544, align 8 %546 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 8 %547 = load i64, ptr %546, align 16 %548 = icmp slt i64 %545, %547 br i1 %548, label %549, label %640 549: ; preds = %543, %537 %550 = load ptr, ptr %11, align 8 %551 = load ptr, ptr %10, align 8 %552 = load i64, ptr %24, align 8 %553 = getelementptr inbounds ptr, ptr %551, i64 %552 %554 = load ptr, ptr %553, align 8 %555 = getelementptr inbounds i64, ptr %554, i64 1 %556 = load i64, ptr %555, align 8 %557 = getelementptr inbounds i64, ptr %550, i64 %556 %558 = load i64, ptr %557, align 8 store i64 %558, ptr %31, align 8 %559 = load i64, ptr %31, align 8 %560 = load ptr, ptr %36, align 8 %561 = load ptr, ptr %13, align 8 %562 = call i32 @get_ij(i64 noundef %559, ptr noundef %560, ptr noundef %561, ptr noundef %25, ptr noundef %28) %563 = load ptr, ptr %11, align 8 %564 = load ptr, ptr %10, align 8 %565 = load i64, ptr %24, align 8 %566 = getelementptr inbounds ptr, ptr %564, i64 %565 %567 = load ptr, ptr %566, align 8 %568 = getelementptr inbounds i64, ptr %567, i64 2 %569 = load i64, ptr %568, align 8 %570 = getelementptr inbounds i64, ptr %563, i64 %569 %571 = load i64, ptr %570, align 8 store i64 %571, ptr %32, align 8 %572 = load i64, ptr %32, align 8 %573 = load ptr, ptr %36, align 8 %574 = load ptr, ptr %13, align 8 %575 = call i32 @get_ij(i64 noundef %572, ptr noundef %573, ptr noundef %574, ptr noundef %26, ptr noundef %29) %576 = load i64, ptr %26, align 8 %577 = load i64, ptr %28, align 8 %578 = icmp slt i64 %576, %577 br i1 %578, label %579, label %594 579: ; preds = %549 %580 = load ptr, ptr %10, align 8 %581 = load i64, ptr %24, align 8 %582 = getelementptr inbounds ptr, ptr %580, i64 %581 %583 = load ptr, ptr %582, align 8 %584 = getelementptr inbounds i64, ptr %583, i64 1 %585 = load i64, ptr %584, align 8 %586 = load ptr, ptr %10, align 8 %587 = load i64, ptr %24, align 8 %588 = getelementptr inbounds ptr, ptr %586, i64 %587 %589 = load ptr, ptr %588, align 8 %590 = getelementptr inbounds i64, ptr %589, i64 3 %591 = load i64, ptr %590, align 8 %592 = load ptr, ptr %11, align 8 %593 = call i32 @lreverse(i64 noundef %585, i64 noundef %591, ptr noundef %592) br label %639 594: ; preds = %549 %595 = load ptr, ptr %10, align 8 %596 = load i64, ptr %24, align 8 %597 = getelementptr inbounds ptr, ptr %595, i64 %596 %598 = load ptr, ptr %597, align 8 %599 = getelementptr inbounds i64, ptr %598, i64 1 %600 = load i64, ptr %599, align 8 store i64 %600, ptr %27, align 8 %601 = load i64, ptr %27, align 8 %602 = load ptr, ptr %10, align 8 %603 = load i64, ptr %24, align 8 %604 = getelementptr inbounds ptr, ptr %602, i64 %603 %605 = load ptr, ptr %604, align 8 %606 = getelementptr inbounds i64, ptr %605, i64 2 %607 = load i64, ptr %606, align 8 %608 = icmp sle i64 %601, %607 br i1 %608, label %.lr.ph14, label %638 .lr.ph14: ; preds = %594 br label %609 609: ; preds = %.lr.ph14, %627 %610 = load ptr, ptr %36, align 8 %611 = load ptr, ptr %11, align 8 %612 = load i64, ptr %27, align 8 %613 = getelementptr inbounds i64, ptr %611, i64 %612 %614 = load i64, ptr %613, align 8 %615 = getelementptr inbounds i64, ptr %610, i64 %614 %616 = load i64, ptr %615, align 8 %617 = icmp ne i64 %616, 0 %618 = xor i1 %617, true %619 = zext i1 %618 to i32 %620 = sext i32 %619 to i64 %621 = load ptr, ptr %36, align 8 %622 = load ptr, ptr %11, align 8 %623 = load i64, ptr %27, align 8 %624 = getelementptr inbounds i64, ptr %622, i64 %623 %625 = load i64, ptr %624, align 8 %626 = getelementptr inbounds i64, ptr %621, i64 %625 store i64 %620, ptr %626, align 8 br label %627 627: ; preds = %609 %628 = load i64, ptr %27, align 8 %629 = add nsw i64 %628, 1 store i64 %629, ptr %27, align 8 %630 = load i64, ptr %27, align 8 %631 = load ptr, ptr %10, align 8 %632 = load i64, ptr %24, align 8 %633 = getelementptr inbounds ptr, ptr %631, i64 %632 %634 = load ptr, ptr %633, align 8 %635 = getelementptr inbounds i64, ptr %634, i64 2 %636 = load i64, ptr %635, align 8 %637 = icmp sle i64 %630, %636 br i1 %637, label %609, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %627 br label %638 638: ; preds = %._crit_edge15, %594 br label %639 639: ; preds = %638, %579 br label %660 640: ; preds = %543 %641 = load ptr, ptr %10, align 8 %642 = load i64, ptr %24, align 8 %643 = getelementptr inbounds ptr, ptr %641, i64 %642 %644 = load ptr, ptr %643, align 8 %645 = getelementptr inbounds i64, ptr %644, i64 6 store i64 1, ptr %645, align 8 %646 = load ptr, ptr %10, align 8 %647 = load i64, ptr %24, align 8 %648 = getelementptr inbounds ptr, ptr %646, i64 %647 %649 = load ptr, ptr %648, align 8 %650 = getelementptr inbounds i64, ptr %649, i64 1 %651 = load i64, ptr %650, align 8 %652 = load ptr, ptr %10, align 8 %653 = load i64, ptr %24, align 8 %654 = getelementptr inbounds ptr, ptr %652, i64 %653 %655 = load ptr, ptr %654, align 8 %656 = getelementptr inbounds i64, ptr %655, i64 3 %657 = load i64, ptr %656, align 8 %658 = load ptr, ptr %11, align 8 %659 = call i32 @lreverse(i64 noundef %651, i64 noundef %657, ptr noundef %658) br label %660 660: ; preds = %640, %639 br label %680 661: ; preds = %531 %662 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 3 %663 = load i64, ptr %662, align 8 %664 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 4 %665 = load i64, ptr %664, align 16 %666 = icmp sgt i64 %663, %665 br i1 %666, label %673, label %667 667: ; preds = %661 %668 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 7 %669 = load i64, ptr %668, align 8 %670 = getelementptr inbounds [9 x i64], ptr %35, i64 0, i64 8 %671 = load i64, ptr %670, align 16 %672 = icmp slt i64 %669, %671 br i1 %672, label %673, label %679 673: ; preds = %667, %661 %674 = load ptr, ptr %10, align 8 %675 = load i64, ptr %24, align 8 %676 = getelementptr inbounds ptr, ptr %674, i64 %675 %677 = load ptr, ptr %676, align 8 %678 = getelementptr inbounds i64, ptr %677, i64 6 store i64 1, ptr %678, align 8 br label %679 679: ; preds = %673, %667 br label %680 680: ; preds = %679, %660 br label %681 681: ; preds = %680, %481 store i64 0, ptr %33, align 8 %682 = load ptr, ptr %10, align 8 %683 = load i64, ptr %24, align 8 %684 = getelementptr inbounds ptr, ptr %682, i64 %683 %685 = load ptr, ptr %684, align 8 %686 = getelementptr inbounds i64, ptr %685, i64 1 %687 = load i64, ptr %686, align 8 store i64 %687, ptr %27, align 8 %688 = load i64, ptr %27, align 8 %689 = load ptr, ptr %10, align 8 %690 = load i64, ptr %24, align 8 %691 = getelementptr inbounds ptr, ptr %689, i64 %690 %692 = load ptr, ptr %691, align 8 %693 = getelementptr inbounds i64, ptr %692, i64 2 %694 = load i64, ptr %693, align 8 %695 = icmp sle i64 %688, %694 br i1 %695, label %.lr.ph17, label %720 .lr.ph17: ; preds = %681 br label %696 696: ; preds = %.lr.ph17, %709 %697 = load ptr, ptr %36, align 8 %698 = load ptr, ptr %11, align 8 %699 = load i64, ptr %27, align 8 %700 = getelementptr inbounds i64, ptr %698, i64 %699 %701 = load i64, ptr %700, align 8 %702 = getelementptr inbounds i64, ptr %697, i64 %701 %703 = load i64, ptr %702, align 8 %704 = icmp ne i64 %703, 0 br i1 %704, label %705, label %708 705: ; preds = %696 %706 = load i64, ptr %33, align 8 %707 = add nsw i64 %706, 1 store i64 %707, ptr %33, align 8 br label %708 708: ; preds = %705, %696 br label %709 709: ; preds = %708 %710 = load i64, ptr %27, align 8 %711 = add nsw i64 %710, 1 store i64 %711, ptr %27, align 8 %712 = load i64, ptr %27, align 8 %713 = load ptr, ptr %10, align 8 %714 = load i64, ptr %24, align 8 %715 = getelementptr inbounds ptr, ptr %713, i64 %714 %716 = load ptr, ptr %715, align 8 %717 = getelementptr inbounds i64, ptr %716, i64 2 %718 = load i64, ptr %717, align 8 %719 = icmp sle i64 %712, %718 br i1 %719, label %696, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %709 br label %720 720: ; preds = %._crit_edge18, %681 %721 = load i64, ptr %33, align 8 %722 = icmp ne i64 %721, 0 br i1 %722, label %723, label %812 723: ; preds = %720 %724 = load ptr, ptr %10, align 8 %725 = load i64, ptr %24, align 8 %726 = getelementptr inbounds ptr, ptr %724, i64 %725 %727 = load ptr, ptr %726, align 8 %728 = getelementptr inbounds i64, ptr %727, i64 1 %729 = load i64, ptr %728, align 8 store i64 %729, ptr %27, align 8 %730 = load i64, ptr %27, align 8 %731 = load ptr, ptr %10, align 8 %732 = load i64, ptr %24, align 8 %733 = getelementptr inbounds ptr, ptr %731, i64 %732 %734 = load ptr, ptr %733, align 8 %735 = getelementptr inbounds i64, ptr %734, i64 2 %736 = load i64, ptr %735, align 8 %737 = icmp sle i64 %730, %736 br i1 %737, label %.lr.ph23, label %811 .lr.ph23: ; preds = %723 br label %738 738: ; preds = %.lr.ph23, %800 %739 = load ptr, ptr %11, align 8 %740 = load i64, ptr %27, align 8 %741 = getelementptr inbounds i64, ptr %739, i64 %740 %742 = load i64, ptr %741, align 8 store i64 %742, ptr %31, align 8 %743 = load ptr, ptr %36, align 8 %744 = load i64, ptr %31, align 8 %745 = getelementptr inbounds i64, ptr %743, i64 %744 %746 = load i64, ptr %745, align 8 %747 = icmp ne i64 %746, 0 br i1 %747, label %748, label %799 748: ; preds = %738 %749 = load ptr, ptr %13, align 8 %750 = load i64, ptr %31, align 8 %751 = getelementptr inbounds ptr, ptr %749, i64 %750 %752 = load ptr, ptr %751, align 8 %753 = getelementptr inbounds i64, ptr %752, i64 1 %754 = load ptr, ptr %13, align 8 %755 = load i64, ptr %31, align 8 %756 = getelementptr inbounds ptr, ptr %754, i64 %755 %757 = load ptr, ptr %756, align 8 %758 = getelementptr inbounds i64, ptr %757, i64 2 %759 = call i32 @lswap(ptr noundef %753, ptr noundef %758) store i64 1, ptr %30, align 8 %760 = load i64, ptr %30, align 8 %761 = icmp sle i64 %760, 3 br i1 %761, label %.lr.ph20, label %798 .lr.ph20: ; preds = %748 br label %762 762: ; preds = %.lr.ph20, %793 %763 = load ptr, ptr %12, align 8 %764 = load i64, ptr %31, align 8 %765 = getelementptr inbounds ptr, ptr %763, i64 %764 %766 = load ptr, ptr %765, align 8 %767 = load i64, ptr %30, align 8 %768 = add nsw i64 %767, 3 %769 = getelementptr inbounds double, ptr %766, i64 %768 %770 = load ptr, ptr %12, align 8 %771 = load i64, ptr %31, align 8 %772 = getelementptr inbounds ptr, ptr %770, i64 %771 %773 = load ptr, ptr %772, align 8 %774 = load i64, ptr %30, align 8 %775 = add nsw i64 %774, 6 %776 = getelementptr inbounds double, ptr %773, i64 %775 %777 = call i32 @dswap(ptr noundef %769, ptr noundef %776) %778 = load ptr, ptr %13, align 8 %779 = load i64, ptr %31, align 8 %780 = getelementptr inbounds ptr, ptr %778, i64 %779 %781 = load ptr, ptr %780, align 8 %782 = load i64, ptr %30, align 8 %783 = add nsw i64 %782, 11 %784 = getelementptr inbounds i64, ptr %781, i64 %783 %785 = load ptr, ptr %13, align 8 %786 = load i64, ptr %31, align 8 %787 = getelementptr inbounds ptr, ptr %785, i64 %786 %788 = load ptr, ptr %787, align 8 %789 = load i64, ptr %30, align 8 %790 = add nsw i64 %789, 14 %791 = getelementptr inbounds i64, ptr %788, i64 %790 %792 = call i32 @lswap(ptr noundef %784, ptr noundef %791) br label %793 793: ; preds = %762 %794 = load i64, ptr %30, align 8 %795 = add nsw i64 %794, 1 store i64 %795, ptr %30, align 8 %796 = load i64, ptr %30, align 8 %797 = icmp sle i64 %796, 3 br i1 %797, label %762, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %793 br label %798 798: ; preds = %._crit_edge21, %748 br label %799 799: ; preds = %798, %738 br label %800 800: ; preds = %799 %801 = load i64, ptr %27, align 8 %802 = add nsw i64 %801, 1 store i64 %802, ptr %27, align 8 %803 = load i64, ptr %27, align 8 %804 = load ptr, ptr %10, align 8 %805 = load i64, ptr %24, align 8 %806 = getelementptr inbounds ptr, ptr %804, i64 %805 %807 = load ptr, ptr %806, align 8 %808 = getelementptr inbounds i64, ptr %807, i64 2 %809 = load i64, ptr %808, align 8 %810 = icmp sle i64 %803, %809 br i1 %810, label %738, label %._crit_edge24, !llvm.loop !15 ._crit_edge24: ; preds = %800 br label %811 811: ; preds = %._crit_edge24, %723 br label %812 812: ; preds = %811, %720 br label %813 813: ; preds = %812 %814 = load i64, ptr %24, align 8 %815 = add nsw i64 %814, 1 store i64 %815, ptr %24, align 8 %816 = load i64, ptr %24, align 8 %817 = load ptr, ptr %9, align 8 %818 = load i64, ptr %817, align 8 %819 = icmp sle i64 %816, %818 br i1 %819, label %103, label %._crit_edge27, !llvm.loop !16 ._crit_edge27: ; preds = %813 br label %820 820: ; preds = %._crit_edge27, %96 %821 = load ptr, ptr %36, align 8 %822 = load i64, ptr %8, align 8 %823 = call i32 @free_lvector(ptr noundef %821, i32 noundef 1, i64 noundef %822) br label %824 824: ; preds = %820, %75 ret void } declare double @distance_ab(ptr noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef) #1 declare ptr @lvector(i32 noundef, i64 noundef) #1 declare i32 @get_d1_d2(i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @get_ij(i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @lreverse(i64 noundef, i64 noundef, ptr noundef) #1 declare i32 @lswap(ptr noundef, ptr noundef) #1 declare i32 @dswap(ptr noundef, ptr noundef) #1 declare i32 @free_lvector(ptr noundef, i32 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"} !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} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7}
; ModuleID = '/tmp/tmpmvp8dqys.c' source_filename = "/tmp/tmpmvp8dqys.c" target datalayout = "e-m:e-p270: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/tmpmvp8dqys.c" target datalayout = "e-m:e-p270: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/tmpkrqwd3di.c' source_filename = "/tmp/tmpkrqwd3di.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @avl_tree_last_in_order(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 ptr @avl_tree_first_or_last_in_order(ptr noundef %3, i32 noundef 1) ret ptr %4 } declare ptr @avl_tree_first_or_last_in_order(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/tmpkrqwd3di.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @avl_tree_last_in_order(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 ptr @avl_tree_first_or_last_in_order(ptr noundef %3, i32 noundef 1) ret ptr %4 } declare ptr @avl_tree_first_or_last_in_order(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/tmpgowaj7mh.c' source_filename = "/tmp/tmpgowaj7mh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Roots(i32 noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store double %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load i32, ptr %5, align 4 %10 = icmp sle i32 %9, 3 br i1 %10, label %11, label %17 11: ; preds = %4 %12 = load i32, ptr %5, align 4 %13 = load double, ptr %6, align 8 %14 = load ptr, ptr %7, align 8 %15 = load ptr, ptr %8, align 8 %16 = call i32 @Root123(i32 noundef %12, double noundef %13, ptr noundef %14, ptr noundef %15) br label %41 17: ; preds = %4 %18 = load i32, ptr %5, align 4 %19 = icmp eq i32 %18, 4 br i1 %19, label %20, label %25 20: ; preds = %17 %21 = load double, ptr %6, align 8 %22 = load ptr, ptr %7, align 8 %23 = load ptr, ptr %8, align 8 %24 = call i32 @Root4(double noundef %21, ptr noundef %22, ptr noundef %23) br label %40 25: ; preds = %17 %26 = load i32, ptr %5, align 4 %27 = icmp eq i32 %26, 5 br i1 %27, label %28, label %33 28: ; preds = %25 %29 = load double, ptr %6, align 8 %30 = load ptr, ptr %7, align 8 %31 = load ptr, ptr %8, align 8 %32 = call i32 @Root5(double noundef %29, ptr noundef %30, ptr noundef %31) br label %39 33: ; preds = %25 %34 = load i32, ptr %5, align 4 %35 = load double, ptr %6, align 8 %36 = load ptr, ptr %7, align 8 %37 = load ptr, ptr %8, align 8 %38 = call i32 @Root6(i32 noundef %34, double noundef %35, ptr noundef %36, ptr noundef %37) br label %39 39: ; preds = %33, %28 br label %40 40: ; preds = %39, %20 br label %41 41: ; preds = %40, %11 ret void } declare i32 @Root123(i32 noundef, double noundef, ptr noundef, ptr noundef) #1 declare i32 @Root4(double noundef, ptr noundef, ptr noundef) #1 declare i32 @Root5(double noundef, ptr noundef, ptr noundef) #1 declare i32 @Root6(i32 noundef, double 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/tmpgowaj7mh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Roots(i32 noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store double %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load i32, ptr %5, align 4 %10 = icmp sle i32 %9, 3 br i1 %10, label %11, label %17 11: ; preds = %4 %12 = load i32, ptr %5, align 4 %13 = load double, ptr %6, align 8 %14 = load ptr, ptr %7, align 8 %15 = load ptr, ptr %8, align 8 %16 = call i32 @Root123(i32 noundef %12, double noundef %13, ptr noundef %14, ptr noundef %15) br label %41 17: ; preds = %4 %18 = load i32, ptr %5, align 4 %19 = icmp eq i32 %18, 4 br i1 %19, label %20, label %25 20: ; preds = %17 %21 = load double, ptr %6, align 8 %22 = load ptr, ptr %7, align 8 %23 = load ptr, ptr %8, align 8 %24 = call i32 @Root4(double noundef %21, ptr noundef %22, ptr noundef %23) br label %40 25: ; preds = %17 %26 = load i32, ptr %5, align 4 %27 = icmp eq i32 %26, 5 br i1 %27, label %28, label %33 28: ; preds = %25 %29 = load double, ptr %6, align 8 %30 = load ptr, ptr %7, align 8 %31 = load ptr, ptr %8, align 8 %32 = call i32 @Root5(double noundef %29, ptr noundef %30, ptr noundef %31) br label %39 33: ; preds = %25 %34 = load i32, ptr %5, align 4 %35 = load double, ptr %6, align 8 %36 = load ptr, ptr %7, align 8 %37 = load ptr, ptr %8, align 8 %38 = call i32 @Root6(i32 noundef %34, double noundef %35, ptr noundef %36, ptr noundef %37) br label %39 39: ; preds = %33, %28 br label %40 40: ; preds = %39, %20 br label %41 41: ; preds = %40, %11 ret void } declare i32 @Root123(i32 noundef, double noundef, ptr noundef, ptr noundef) #1 declare i32 @Root4(double noundef, ptr noundef, ptr noundef) #1 declare i32 @Root5(double noundef, ptr noundef, ptr noundef) #1 declare i32 @Root6(i32 noundef, double 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/tmpyw9dmwaq.c' source_filename = "/tmp/tmpyw9dmwaq.c" target datalayout = "e-m:e-p270: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/tmpyw9dmwaq.c" target datalayout = "e-m:e-p270: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/tmp497vu1cs.c' source_filename = "/tmp/tmp497vu1cs.c" target datalayout = "e-m:e-p270: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/tmp497vu1cs.c" target datalayout = "e-m:e-p270: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/tmp84eh6n9_.c' source_filename = "/tmp/tmp84eh6n9_.c" target datalayout = "e-m:e-p270: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"input\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca [6 x i8], align 1 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %5, ptr %2, align 8 %6 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 0 %7 = load ptr, ptr %2, align 8 %8 = call i32 @fread(ptr noundef %6, i32 noundef 5, i32 noundef 1, ptr noundef %7) store i32 %8, ptr %4, align 4 %9 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 0 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %9) %11 = load i32, ptr %4, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %11) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 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/tmp84eh6n9_.c" target datalayout = "e-m:e-p270: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"input\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca [6 x i8], align 1 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %5, ptr %2, align 8 %6 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 0 %7 = load ptr, ptr %2, align 8 %8 = call i32 @fread(ptr noundef %6, i32 noundef 5, i32 noundef 1, ptr noundef %7) store i32 %8, ptr %4, align 4 %9 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 0 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %9) %11 = load i32, ptr %4, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %11) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 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/tmpeyiannaz.c' source_filename = "/tmp/tmpeyiannaz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"\0C\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @scr2str(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [1024 x i8], align 16 %6 = alloca [128 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 br label %10 10: ; preds = %52, %2 %11 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %12 = call i32 @memset(ptr noundef %11, i8 noundef signext 32, i32 noundef 1024) %13 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %14 = load ptr, ptr %3, align 8 %15 = call i32 @fread(ptr noundef %13, i32 noundef 1, i32 noundef 1024, ptr noundef %14) store i32 %15, ptr %7, align 4 %16 = load i32, ptr %7, align 4 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %19 18: ; preds = %10 br label %53 19: ; preds = %10 %20 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %21 = load i32, ptr %7, align 4 %22 = call i32 @backscan(ptr noundef %20, i32 noundef %21, i8 noundef signext 32) store i32 %22, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %23 23: ; preds = %46, %19 %24 = load i32, ptr %8, align 4 %25 = load i32, ptr %7, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %49 27: ; preds = %23 %28 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %29 = load i32, ptr %8, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = call i32 @backscan(ptr noundef %31, i32 noundef 64, i8 noundef signext 32) store i32 %32, ptr %9, align 4 %33 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %34 = load i32, ptr %8, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 %37 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %38 = load i32, ptr %9, align 4 %39 = call i32 @ctrlmask(ptr noundef %36, ptr noundef %37, i32 noundef %38) store i32 %39, ptr %9, align 4 %40 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %41 = load i32, ptr %9, align 4 %42 = load ptr, ptr %4, align 8 %43 = call i32 @fwrite(ptr noundef %40, i32 noundef 1, i32 noundef %41, ptr noundef %42) %44 = load ptr, ptr %4, align 8 %45 = call i32 @fwrite(ptr noundef @.str, i32 noundef 1, i32 noundef 1, ptr noundef %44) br label %46 46: ; preds = %27 %47 = load i32, ptr %8, align 4 %48 = add nsw i32 %47, 64 store i32 %48, ptr %8, align 4 br label %23, !llvm.loop !6 49: ; preds = %23 %50 = load ptr, ptr %4, align 8 %51 = call i32 @fwrite(ptr noundef @.str.1, i32 noundef 2, i32 noundef 1, ptr noundef %50) br label %52 52: ; preds = %49 br i1 true, label %10, label %53 53: ; preds = %52, %18 ret void } declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @backscan(ptr noundef, i32 noundef, i8 noundef signext) #1 declare i32 @ctrlmask(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fwrite(ptr noundef, 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeyiannaz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"\0C\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @scr2str(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [1024 x i8], align 16 %6 = alloca [128 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 br label %10 10: ; preds = %54, %2 %11 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %12 = call i32 @memset(ptr noundef %11, i8 noundef signext 32, i32 noundef 1024) %13 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %14 = load ptr, ptr %3, align 8 %15 = call i32 @fread(ptr noundef %13, i32 noundef 1, i32 noundef 1024, ptr noundef %14) store i32 %15, ptr %7, align 4 %16 = load i32, ptr %7, align 4 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %19 18: ; preds = %10 br label %55 19: ; preds = %10 %20 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %21 = load i32, ptr %7, align 4 %22 = call i32 @backscan(ptr noundef %20, i32 noundef %21, i8 noundef signext 32) store i32 %22, ptr %7, align 4 store i32 0, ptr %8, align 4 %23 = load i32, ptr %8, align 4 %24 = load i32, ptr %7, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %.lr.ph, label %51 .lr.ph: ; preds = %19 br label %26 26: ; preds = %.lr.ph, %45 %27 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %28 = load i32, ptr %8, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = call i32 @backscan(ptr noundef %30, i32 noundef 64, i8 noundef signext 32) store i32 %31, ptr %9, align 4 %32 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %33 = load i32, ptr %8, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 %36 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %37 = load i32, ptr %9, align 4 %38 = call i32 @ctrlmask(ptr noundef %35, ptr noundef %36, i32 noundef %37) store i32 %38, ptr %9, align 4 %39 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %40 = load i32, ptr %9, align 4 %41 = load ptr, ptr %4, align 8 %42 = call i32 @fwrite(ptr noundef %39, i32 noundef 1, i32 noundef %40, ptr noundef %41) %43 = load ptr, ptr %4, align 8 %44 = call i32 @fwrite(ptr noundef @.str, i32 noundef 1, i32 noundef 1, ptr noundef %43) br label %45 45: ; preds = %26 %46 = load i32, ptr %8, align 4 %47 = add nsw i32 %46, 64 store i32 %47, ptr %8, align 4 %48 = load i32, ptr %8, align 4 %49 = load i32, ptr %7, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %51 51: ; preds = %._crit_edge, %19 %52 = load ptr, ptr %4, align 8 %53 = call i32 @fwrite(ptr noundef @.str.1, i32 noundef 2, i32 noundef 1, ptr noundef %52) br label %54 54: ; preds = %51 br i1 true, label %10, label %.loopexit .loopexit: ; preds = %54 br label %55 55: ; preds = %.loopexit, %18 ret void } declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @backscan(ptr noundef, i32 noundef, i8 noundef signext) #1 declare i32 @ctrlmask(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fwrite(ptr noundef, 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpqd76_mwl.c' source_filename = "/tmp/tmpqd76_mwl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @euler_totient_func(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store double 1.000000e+00, ptr %5, align 8 %8 = load i64, ptr %3, align 8 store i64 %8, ptr %6, align 8 store i64 0, ptr %7, align 8 br label %9 9: ; preds = %49, %2 %10 = load ptr, ptr %4, align 8 %11 = load i64, ptr %7, align 8 %12 = getelementptr inbounds i64, ptr %10, i64 %11 %13 = load i64, ptr %12, align 8 %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %22 15: ; preds = %9 %16 = load ptr, ptr %4, align 8 %17 = load i64, ptr %7, align 8 %18 = getelementptr inbounds i64, ptr %16, i64 %17 %19 = load i64, ptr %18, align 8 %20 = load i64, ptr %3, align 8 %21 = icmp ule i64 %19, %20 br label %22 22: ; preds = %15, %9 %23 = phi i1 [ false, %9 ], [ %21, %15 ] br i1 %23, label %24, label %52 24: ; preds = %22 %25 = load i64, ptr %3, align 8 %26 = load ptr, ptr %4, align 8 %27 = load i64, ptr %7, align 8 %28 = getelementptr inbounds i64, ptr %26, i64 %27 %29 = load i64, ptr %28, align 8 %30 = urem i64 %25, %29 %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %48 32: ; preds = %24 %33 = load ptr, ptr %4, align 8 %34 = load i64, ptr %7, align 8 %35 = getelementptr inbounds i64, ptr %33, i64 %34 %36 = load i64, ptr %35, align 8 %37 = uitofp i64 %36 to double %38 = fdiv double 1.000000e+00, %37 %39 = fsub double 1.000000e+00, %38 %40 = load double, ptr %5, align 8 %41 = fmul double %40, %39 store double %41, ptr %5, align 8 %42 = load ptr, ptr %4, align 8 %43 = load i64, ptr %7, align 8 %44 = getelementptr inbounds i64, ptr %42, i64 %43 %45 = load i64, ptr %44, align 8 %46 = load i64, ptr %3, align 8 %47 = udiv i64 %46, %45 store i64 %47, ptr %3, align 8 br label %48 48: ; preds = %32, %24 br label %49 49: ; preds = %48 %50 = load i64, ptr %7, align 8 %51 = add i64 %50, 1 store i64 %51, ptr %7, align 8 br label %9, !llvm.loop !6 52: ; preds = %22 %53 = load i64, ptr %6, align 8 %54 = uitofp i64 %53 to double %55 = fptoui double %54 to i64 %56 = uitofp i64 %55 to double %57 = load double, ptr %5, align 8 %58 = fmul double %56, %57 %59 = fptoui double %58 to i64 ret i64 %59 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpqd76_mwl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @euler_totient_func(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store double 1.000000e+00, ptr %5, align 8 %8 = load i64, ptr %3, align 8 store i64 %8, ptr %6, align 8 store i64 0, ptr %7, align 8 br label %9 9: ; preds = %49, %2 %10 = load ptr, ptr %4, align 8 %11 = load i64, ptr %7, align 8 %12 = getelementptr inbounds i64, ptr %10, i64 %11 %13 = load i64, ptr %12, align 8 %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %22 15: ; preds = %9 %16 = load ptr, ptr %4, align 8 %17 = load i64, ptr %7, align 8 %18 = getelementptr inbounds i64, ptr %16, i64 %17 %19 = load i64, ptr %18, align 8 %20 = load i64, ptr %3, align 8 %21 = icmp ule i64 %19, %20 br label %22 22: ; preds = %15, %9 %23 = phi i1 [ false, %9 ], [ %21, %15 ] br i1 %23, label %24, label %52 24: ; preds = %22 %25 = load i64, ptr %3, align 8 %26 = load ptr, ptr %4, align 8 %27 = load i64, ptr %7, align 8 %28 = getelementptr inbounds i64, ptr %26, i64 %27 %29 = load i64, ptr %28, align 8 %30 = urem i64 %25, %29 %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %48 32: ; preds = %24 %33 = load ptr, ptr %4, align 8 %34 = load i64, ptr %7, align 8 %35 = getelementptr inbounds i64, ptr %33, i64 %34 %36 = load i64, ptr %35, align 8 %37 = uitofp i64 %36 to double %38 = fdiv double 1.000000e+00, %37 %39 = fsub double 1.000000e+00, %38 %40 = load double, ptr %5, align 8 %41 = fmul double %40, %39 store double %41, ptr %5, align 8 %42 = load ptr, ptr %4, align 8 %43 = load i64, ptr %7, align 8 %44 = getelementptr inbounds i64, ptr %42, i64 %43 %45 = load i64, ptr %44, align 8 %46 = load i64, ptr %3, align 8 %47 = udiv i64 %46, %45 store i64 %47, ptr %3, align 8 br label %48 48: ; preds = %32, %24 br label %49 49: ; preds = %48 %50 = load i64, ptr %7, align 8 %51 = add i64 %50, 1 store i64 %51, ptr %7, align 8 br label %9, !llvm.loop !6 52: ; preds = %22 %53 = load i64, ptr %6, align 8 %54 = uitofp i64 %53 to double %55 = fptoui double %54 to i64 %56 = uitofp i64 %55 to double %57 = load double, ptr %5, align 8 %58 = fmul double %56, %57 %59 = fptoui double %58 to i64 ret i64 %59 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpihejk6o5.c' source_filename = "/tmp/tmpihejk6o5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"cannot roll 0 or less times.\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"Rolling the Dice...\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"Natural twenty!\0A\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"die1 was:%d \0Adie2 was:%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @roll(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp sle i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %40 10: ; preds = %1 store i32 1, ptr %3, align 4 %11 = call i32 @time(ptr noundef null) %12 = call i32 @srand(i32 noundef %11) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %14 14: ; preds = %37, %10 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp sle i32 %15, %16 br i1 %17, label %18, label %40 18: ; preds = %14 %19 = call i32 (...) @rand() %20 = srem i32 %19, 20 %21 = add nsw i32 %20, 1 store i32 %21, ptr %4, align 4 %22 = call i32 (...) @rand() %23 = srem i32 %22, 20 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp eq i32 %25, 20 br i1 %26, label %27, label %29 27: ; preds = %18 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %29 29: ; preds = %27, %18 %30 = load i32, ptr %4, align 4 %31 = load i32, ptr %5, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %30, i32 noundef %31) %33 = load i32, ptr %5, align 4 %34 = icmp eq i32 %33, 20 br i1 %34, label %35, label %37 35: ; preds = %29 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %37 37: ; preds = %35, %29 %38 = load i32, ptr %3, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %3, align 4 br label %14, !llvm.loop !6 40: ; preds = %8, %14 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpihejk6o5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"cannot roll 0 or less times.\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"Rolling the Dice...\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"Natural twenty!\0A\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"die1 was:%d \0Adie2 was:%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @roll(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp sle i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %42 10: ; preds = %1 store i32 1, ptr %3, align 4 %11 = call i32 @time(ptr noundef null) %12 = call i32 @srand(i32 noundef %11) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp sle i32 %14, %15 br i1 %16, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %10 br label %17 17: ; preds = %.lr.ph, %36 %18 = call i32 (...) @rand() %19 = srem i32 %18, 20 %20 = add nsw i32 %19, 1 store i32 %20, ptr %4, align 4 %21 = call i32 (...) @rand() %22 = srem i32 %21, 20 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp eq i32 %24, 20 br i1 %25, label %26, label %28 26: ; preds = %17 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %28 28: ; preds = %26, %17 %29 = load i32, ptr %4, align 4 %30 = load i32, ptr %5, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %29, i32 noundef %30) %32 = load i32, ptr %5, align 4 %33 = icmp eq i32 %32, 20 br i1 %33, label %34, label %36 34: ; preds = %28 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %36 36: ; preds = %34, %28 %37 = load i32, ptr %3, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %3, align 4 %39 = load i32, ptr %3, align 4 %40 = load i32, ptr %2, align 4 %41 = icmp sle i32 %39, %40 br i1 %41, label %17, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %36 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %10 br label %42 42: ; preds = %.loopexit, %8 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpkegysuk0.c' source_filename = "/tmp/tmpkegysuk0.c" target datalayout = "e-m:e-p270: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/tmpkegysuk0.c" target datalayout = "e-m:e-p270: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/tmpngw8_t7z.c' source_filename = "/tmp/tmpngw8_t7z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_SC_CLK_TCK = 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/tmpngw8_t7z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_SC_CLK_TCK = 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/tmp90aacdbv.c' source_filename = "/tmp/tmp90aacdbv.c" target datalayout = "e-m:e-p270: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 } @EISDIR = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rm(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca %struct.stat, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i64 @stat(ptr noundef %5, ptr noundef %4) %7 = icmp slt i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %1 store i32 -1, ptr %2, align 4 br label %19 9: ; preds = %1 %10 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %11 = load i32, ptr %10, align 4 %12 = call i32 @S_ISREG(i32 noundef %11) %13 = icmp ne i32 %12, 0 br i1 %13, label %16, label %14 14: ; preds = %9 %15 = load i32, ptr @EISDIR, align 4 store i32 %15, ptr @errno, align 4 store i32 -1, ptr %2, align 4 br label %19 16: ; preds = %9 %17 = load ptr, ptr %3, align 8 %18 = call i32 @unlink(ptr noundef %17) store i32 %18, ptr %2, align 4 br label %19 19: ; preds = %16, %14, %8 %20 = load i32, ptr %2, align 4 ret i32 %20 } declare i64 @stat(ptr noundef, ptr noundef) #1 declare i32 @S_ISREG(i32 noundef) #1 declare i32 @unlink(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/tmp90aacdbv.c" target datalayout = "e-m:e-p270: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 } @EISDIR = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rm(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca %struct.stat, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i64 @stat(ptr noundef %5, ptr noundef %4) %7 = icmp slt i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %1 store i32 -1, ptr %2, align 4 br label %19 9: ; preds = %1 %10 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %11 = load i32, ptr %10, align 4 %12 = call i32 @S_ISREG(i32 noundef %11) %13 = icmp ne i32 %12, 0 br i1 %13, label %16, label %14 14: ; preds = %9 %15 = load i32, ptr @EISDIR, align 4 store i32 %15, ptr @errno, align 4 store i32 -1, ptr %2, align 4 br label %19 16: ; preds = %9 %17 = load ptr, ptr %3, align 8 %18 = call i32 @unlink(ptr noundef %17) store i32 %18, ptr %2, align 4 br label %19 19: ; preds = %16, %14, %8 %20 = load i32, ptr %2, align 4 ret i32 %20 } declare i64 @stat(ptr noundef, ptr noundef) #1 declare i32 @S_ISREG(i32 noundef) #1 declare i32 @unlink(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/tmp14z0sfeg.c' source_filename = "/tmp/tmp14z0sfeg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kvst_reduce_put(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @rbkts_emit_kv(ptr noundef %5, ptr noundef %6) ret void } declare i32 @rbkts_emit_kv(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/tmp14z0sfeg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kvst_reduce_put(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @rbkts_emit_kv(ptr noundef %5, ptr noundef %6) ret void } declare i32 @rbkts_emit_kv(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/tmp6mbyqakw.c' source_filename = "/tmp/tmp6mbyqakw.c" target datalayout = "e-m:e-p270: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"%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 store i32 0, ptr %1, align 4 store i32 2, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 (...) @funk() %5 = call i32 @printf(ptr noundef @.str, i32 noundef %3, i32 noundef %4) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @funk(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6mbyqakw.c" target datalayout = "e-m:e-p270: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"%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 store i32 0, ptr %1, align 4 store i32 2, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 (...) @funk() %5 = call i32 @printf(ptr noundef @.str, i32 noundef %3, i32 noundef %4) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @funk(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmph3cyqshx.c' source_filename = "/tmp/tmph3cyqshx.c" target datalayout = "e-m:e-p270: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/tmph3cyqshx.c" target datalayout = "e-m:e-p270: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/tmpvfagnw2g.c' source_filename = "/tmp/tmpvfagnw2g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @selectKmain() #0 { %1 = alloca [1000 x i32], align 16 %2 = alloca i32, align 4 call void @llvm.memset.p0.i64(ptr align 16 %1, i8 0, i64 4000, i1 false) store i32 0, ptr %2, align 4 store i32 1000, ptr %2, align 4 br label %3 3: ; preds = %12, %0 %4 = load i32, ptr %2, align 4 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %15 6: ; preds = %3 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = sub nsw i32 1000, %8 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds [1000 x i32], ptr %1, i64 0, i64 %10 store i32 %7, ptr %11, align 4 br label %12 12: ; preds = %6 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, -1 store i32 %14, ptr %2, align 4 br label %3, !llvm.loop !6 15: ; preds = %3 %16 = getelementptr inbounds [1000 x i32], ptr %1, i64 0, i64 0 %17 = call i32 @selectK(ptr noundef %16, i32 noundef 1000, i32 noundef 98) %18 = call i32 @printf(ptr noundef @.str, i32 noundef %17) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, i32 noundef) #2 declare i32 @selectK(ptr noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvfagnw2g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @selectKmain() #0 { %1 = alloca [1000 x i32], align 16 %2 = alloca i32, align 4 call void @llvm.memset.p0.i64(ptr align 16 %1, i8 0, i64 4000, i1 false) store i32 0, ptr %2, align 4 store i32 1000, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp sgt i32 %3, 0 br i1 %4, label %.lr.ph, label %16 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %11 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = sub nsw i32 1000, %7 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds [1000 x i32], ptr %1, i64 0, i64 %9 store i32 %6, ptr %10, align 4 br label %11 11: ; preds = %5 %12 = load i32, ptr %2, align 4 %13 = add nsw i32 %12, -1 store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp sgt i32 %14, 0 br i1 %15, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %16 16: ; preds = %._crit_edge, %0 %17 = getelementptr inbounds [1000 x i32], ptr %1, i64 0, i64 0 %18 = call i32 @selectK(ptr noundef %17, i32 noundef 1000, i32 noundef 98) %19 = call i32 @printf(ptr noundef @.str, i32 noundef %18) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, i32 noundef) #2 declare i32 @selectK(ptr noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp7duq7ttd.c' source_filename = "/tmp/tmp7duq7ttd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f7(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = trunc i32 %3 to i16 %5 = zext i16 %4 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 br label %13 8: ; preds = %1 %9 = load i32, ptr %2, align 4 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %8 %12 = call i32 (...) @link_error() br label %13 13: ; preds = %7, %11, %8 ret void } declare i32 @link_error(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7duq7ttd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f7(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = trunc i32 %3 to i16 %5 = zext i16 %4 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 br label %13 8: ; preds = %1 %9 = load i32, ptr %2, align 4 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %8 %12 = call i32 (...) @link_error() br label %13 13: ; preds = %11, %8, %7 ret void } declare i32 @link_error(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa1y77zy4.c' source_filename = "/tmp/tmpa1y77zy4.c" target datalayout = "e-m:e-p270: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/tmpa1y77zy4.c" target datalayout = "e-m:e-p270: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/tmpus85htex.c' source_filename = "/tmp/tmpus85htex.c" target datalayout = "e-m:e-p270: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"ng\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @isNailgunClientName(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 @strcmp(ptr noundef %3, ptr noundef @.str) %5 = icmp ne i32 %4, 0 %6 = xor i1 %5, true %7 = zext i1 %6 to i32 ret i32 %7 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpus85htex.c" target datalayout = "e-m:e-p270: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"ng\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @isNailgunClientName(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 @strcmp(ptr noundef %3, ptr noundef @.str) %5 = icmp ne i32 %4, 0 %6 = xor i1 %5, true %7 = zext i1 %6 to i32 ret i32 %7 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwirvkde6.c' source_filename = "/tmp/tmpwirvkde6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TestMain() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @SecMain() store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 ret i32 %3 } declare i32 @SecMain(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwirvkde6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TestMain() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @SecMain() store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 ret i32 %3 } declare i32 @SecMain(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpadmdubwk.c' source_filename = "/tmp/tmpadmdubwk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CL_SUCCESS = dso_local global i8 0, align 1 @.str = private unnamed_addr constant [42 x i8] c"error: call to 'clGetPlatformIDs' failed\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Number of platforms: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"platform=%p\0A\00", align 1 @CL_PLATFORM_NAME = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [43 x i8] c"error: call to 'clGetPlatformInfo' failed\0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"platform.name='%s'\0A\0A\00", align 1 @CL_DEVICE_TYPE_GPU = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [40 x i8] c"error: call to 'clGetDeviceIDs' failed\0A\00", align 1 @.str.6 = private unnamed_addr constant [23 x i8] c"Number of devices: %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [11 x i8] c"device=%p\0A\00", align 1 @CL_DEVICE_NAME = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [41 x i8] c"error: call to 'clGetDeviceInfo' failed\0A\00", align 1 @.str.9 = private unnamed_addr constant [18 x i8] c"device.name='%s'\0A\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.11 = private unnamed_addr constant [41 x i8] c"error: call to 'clCreateContext' failed\0A\00", align 1 @.str.12 = private unnamed_addr constant [12 x i8] c"context=%p\0A\00", align 1 @.str.13 = private unnamed_addr constant [46 x i8] c"error: call to 'clCreateCommandQueue' failed\0A\00", align 1 @.str.14 = private unnamed_addr constant [18 x i8] c"command_queue=%p\0A\00", align 1 @.str.15 = private unnamed_addr constant [20 x i8] c"remainder_intint.cl\00", align 1 @.str.16 = private unnamed_addr constant [51 x i8] c"error: call to 'clCreateProgramWithSource' failed\0A\00", align 1 @.str.17 = private unnamed_addr constant [12 x i8] c"program=%p\0A\00", align 1 @CL_PROGRAM_BUILD_LOG = dso_local global i32 0, align 4 @.str.18 = private unnamed_addr constant [44 x i8] c"error: call to 'clBuildProgram' failed:\0A%s\0A\00", align 1 @.str.19 = private unnamed_addr constant [15 x i8] c"program built\0A\00", align 1 @.str.20 = private unnamed_addr constant [17 x i8] c"remainder_intint\00", align 1 @.str.21 = private unnamed_addr constant [40 x i8] c"error: call to 'clCreateKernel' failed\0A\00", align 1 @CL_MEM_READ_ONLY = dso_local global i32 0, align 4 @.str.22 = private unnamed_addr constant [39 x i8] c"error: could not create source buffer\0A\00", align 1 @CL_TRUE = dso_local global i32 0, align 4 @.str.23 = private unnamed_addr constant [46 x i8] c"error: call to 'clEnqueueWriteBuffer' failed\0A\00", align 1 @CL_MEM_WRITE_ONLY = dso_local global i32 0, align 4 @.str.24 = private unnamed_addr constant [36 x i8] c"error: could not create dst buffer\0A\00", align 1 @.str.25 = private unnamed_addr constant [40 x i8] c"error: call to 'clSetKernelArg' failed\0A\00", align 1 @.str.26 = private unnamed_addr constant [48 x i8] c"error: call to 'clEnqueueNDRangeKernel' failed\0A\00", align 1 @.str.27 = private unnamed_addr constant [45 x i8] c"error: call to 'clEnqueueReadBuffer' failed\0A\00", align 1 @.str.28 = private unnamed_addr constant [10 x i8] c"%s.result\00", align 1 @.str.29 = private unnamed_addr constant [21 x i8] c"Result dumped to %s\0A\00", align 1 @.str.30 = private unnamed_addr constant [44 x i8] c"error: call to 'clReleaseMemObject' failed\0A\00", align 1 @.str.31 = private unnamed_addr constant [41 x i8] c"error: call to 'clReleaseKernel' failed\0A\00", align 1 @.str.32 = private unnamed_addr constant [42 x i8] c"error: call to 'clReleaseProgram' failed\0A\00", align 1 @.str.33 = private unnamed_addr constant [47 x i8] c"error: call to 'clReleaseCommandQueue' failed\0A\00", align 1 @.str.34 = private unnamed_addr constant [42 x i8] c"error: call to 'clReleaseContext' failed\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 i8, align 1 %9 = alloca [100 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [100 x i8], align 16 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 %17 = alloca i32, align 4 %18 = alloca i64, align 8 %19 = alloca ptr, align 8 %20 = alloca i32, align 4 %21 = alloca i64, align 8 %22 = alloca ptr, align 8 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca ptr, align 8 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca ptr, align 8 %29 = alloca i32, align 4 %30 = alloca i64, align 8 %31 = alloca i64, align 8 %32 = alloca [100 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 %33 = call signext i8 @clGetPlatformIDs(i32 noundef 1, ptr noundef %6, ptr noundef %7) store i8 %33, ptr %8, align 1 %34 = load i8, ptr %8, align 1 %35 = sext i8 %34 to i32 %36 = load i8, ptr @CL_SUCCESS, align 1 %37 = sext i8 %36 to i32 %38 = icmp ne i32 %35, %37 br i1 %38, label %39, label %42 39: ; preds = %2 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str) %41 = call i32 @exit(i32 noundef 1) #3 unreachable 42: ; preds = %2 %43 = load i32, ptr %7, align 4 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %43) %45 = load i32, ptr %6, align 4 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %45) %47 = load i32, ptr %6, align 4 %48 = load i32, ptr @CL_PLATFORM_NAME, align 4 %49 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %50 = call signext i8 @clGetPlatformInfo(i32 noundef %47, i32 noundef %48, i32 noundef 100, ptr noundef %49, ptr noundef null) store i8 %50, ptr %8, align 1 %51 = load i8, ptr %8, align 1 %52 = sext i8 %51 to i32 %53 = load i8, ptr @CL_SUCCESS, align 1 %54 = sext i8 %53 to i32 %55 = icmp ne i32 %52, %54 br i1 %55, label %56, label %59 56: ; preds = %42 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %58 = call i32 @exit(i32 noundef 1) #3 unreachable 59: ; preds = %42 %60 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %60) %62 = load i32, ptr %6, align 4 %63 = load i32, ptr @CL_DEVICE_TYPE_GPU, align 4 %64 = call signext i8 @clGetDeviceIDs(i32 noundef %62, i32 noundef %63, i32 noundef 1, ptr noundef %10, ptr noundef %11) store i8 %64, ptr %8, align 1 %65 = load i8, ptr %8, align 1 %66 = sext i8 %65 to i32 %67 = load i8, ptr @CL_SUCCESS, align 1 %68 = sext i8 %67 to i32 %69 = icmp ne i32 %66, %68 br i1 %69, label %70, label %73 70: ; preds = %59 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %72 = call i32 @exit(i32 noundef 1) #3 unreachable 73: ; preds = %59 %74 = load i32, ptr %11, align 4 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %74) %76 = load i32, ptr %10, align 4 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %76) %78 = load i32, ptr %10, align 4 %79 = load i32, ptr @CL_DEVICE_NAME, align 4 %80 = getelementptr inbounds [100 x i8], ptr %12, i64 0, i64 0 %81 = call signext i8 @clGetDeviceInfo(i32 noundef %78, i32 noundef %79, i32 noundef 100, ptr noundef %80, ptr noundef null) store i8 %81, ptr %8, align 1 %82 = load i8, ptr %8, align 1 %83 = sext i8 %82 to i32 %84 = load i8, ptr @CL_SUCCESS, align 1 %85 = sext i8 %84 to i32 %86 = icmp ne i32 %83, %85 br i1 %86, label %87, label %90 87: ; preds = %73 %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %89 = call i32 @exit(i32 noundef 1) #3 unreachable 90: ; preds = %73 %91 = getelementptr inbounds [100 x i8], ptr %12, i64 0, i64 0 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %91) %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %94 = call i32 @clCreateContext(ptr noundef null, i32 noundef 1, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef %8) store i32 %94, ptr %13, align 4 %95 = load i8, ptr %8, align 1 %96 = sext i8 %95 to i32 %97 = load i8, ptr @CL_SUCCESS, align 1 %98 = sext i8 %97 to i32 %99 = icmp ne i32 %96, %98 br i1 %99, label %100, label %103 100: ; preds = %90 %101 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %102 = call i32 @exit(i32 noundef 1) #3 unreachable 103: ; preds = %90 %104 = load i32, ptr %13, align 4 %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %104) %106 = load i32, ptr %13, align 4 %107 = load i32, ptr %10, align 4 %108 = call i32 @clCreateCommandQueue(i32 noundef %106, i32 noundef %107, i32 noundef 0, ptr noundef %8) store i32 %108, ptr %14, align 4 %109 = load i8, ptr %8, align 1 %110 = sext i8 %109 to i32 %111 = load i8, ptr @CL_SUCCESS, align 1 %112 = sext i8 %111 to i32 %113 = icmp ne i32 %110, %112 br i1 %113, label %114, label %117 114: ; preds = %103 %115 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %116 = call i32 @exit(i32 noundef 1) #3 unreachable 117: ; preds = %103 %118 = load i32, ptr %14, align 4 %119 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %118) %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %121 = call ptr @read_buffer(ptr noundef @.str.15, ptr noundef %16) store ptr %121, ptr %15, align 8 %122 = load i32, ptr %13, align 4 %123 = call i32 @clCreateProgramWithSource(i32 noundef %122, i32 noundef 1, ptr noundef %15, ptr noundef %16, ptr noundef %8) store i32 %123, ptr %17, align 4 %124 = load i8, ptr %8, align 1 %125 = sext i8 %124 to i32 %126 = load i8, ptr @CL_SUCCESS, align 1 %127 = sext i8 %126 to i32 %128 = icmp ne i32 %125, %127 br i1 %128, label %129, label %132 129: ; preds = %117 %130 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %131 = call i32 @exit(i32 noundef 1) #3 unreachable 132: ; preds = %117 %133 = load i32, ptr %17, align 4 %134 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %133) %135 = load i32, ptr %17, align 4 %136 = call signext i8 @clBuildProgram(i32 noundef %135, i32 noundef 1, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef null) store i8 %136, ptr %8, align 1 %137 = load i8, ptr %8, align 1 %138 = sext i8 %137 to i32 %139 = load i8, ptr @CL_SUCCESS, align 1 %140 = sext i8 %139 to i32 %141 = icmp ne i32 %138, %140 br i1 %141, label %142, label %160 142: ; preds = %132 %143 = load i32, ptr %17, align 4 %144 = load i32, ptr %10, align 4 %145 = load i32, ptr @CL_PROGRAM_BUILD_LOG, align 4 %146 = call i32 @clGetProgramBuildInfo(i32 noundef %143, i32 noundef %144, i32 noundef %145, i64 noundef 0, ptr noundef null, ptr noundef %18) %147 = load i64, ptr %18, align 8 %148 = call ptr @malloc(i64 noundef %147) store ptr %148, ptr %19, align 8 %149 = load i32, ptr %17, align 4 %150 = load i32, ptr %10, align 4 %151 = load i32, ptr @CL_PROGRAM_BUILD_LOG, align 4 %152 = load i64, ptr %18, align 8 %153 = load ptr, ptr %19, align 8 %154 = call i32 @clGetProgramBuildInfo(i32 noundef %149, i32 noundef %150, i32 noundef %151, i64 noundef %152, ptr noundef %153, ptr noundef null) %155 = load ptr, ptr %19, align 8 %156 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, ptr noundef %155) %157 = load ptr, ptr %19, align 8 %158 = call i32 @free(ptr noundef %157) %159 = call i32 @exit(i32 noundef 1) #3 unreachable 160: ; preds = %132 %161 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %162 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %163 = load i32, ptr %17, align 4 %164 = call i32 @clCreateKernel(i32 noundef %163, ptr noundef @.str.20, ptr noundef %8) store i32 %164, ptr %20, align 4 %165 = load i8, ptr %8, align 1 %166 = sext i8 %165 to i32 %167 = load i8, ptr @CL_SUCCESS, align 1 %168 = sext i8 %167 to i32 %169 = icmp ne i32 %166, %168 br i1 %169, label %170, label %173 170: ; preds = %160 %171 = call i32 (ptr, ...) @printf(ptr noundef @.str.21) %172 = call i32 @exit(i32 noundef 1) #3 unreachable 173: ; preds = %160 store i64 10, ptr %21, align 8 %174 = load i64, ptr %21, align 8 %175 = mul i64 %174, 1 %176 = call ptr @malloc(i64 noundef %175) store ptr %176, ptr %22, align 8 store i32 0, ptr %23, align 4 br label %177 177: ; preds = %187, %173 %178 = load i32, ptr %23, align 4 %179 = sext i32 %178 to i64 %180 = load i64, ptr %21, align 8 %181 = icmp ult i64 %179, %180 br i1 %181, label %182, label %190 182: ; preds = %177 %183 = load ptr, ptr %22, align 8 %184 = load i32, ptr %23, align 4 %185 = sext i32 %184 to i64 %186 = getelementptr inbounds i8, ptr %183, i64 %185 store i8 2, ptr %186, align 1 br label %187 187: ; preds = %182 %188 = load i32, ptr %23, align 4 %189 = add nsw i32 %188, 1 store i32 %189, ptr %23, align 4 br label %177, !llvm.loop !6 190: ; preds = %177 %191 = load i32, ptr %13, align 4 %192 = load i32, ptr @CL_MEM_READ_ONLY, align 4 %193 = load i64, ptr %21, align 8 %194 = mul i64 %193, 1 %195 = call i32 @clCreateBuffer(i32 noundef %191, i32 noundef %192, i64 noundef %194, ptr noundef null, ptr noundef %8) store i32 %195, ptr %24, align 4 %196 = load i8, ptr %8, align 1 %197 = sext i8 %196 to i32 %198 = load i8, ptr @CL_SUCCESS, align 1 %199 = sext i8 %198 to i32 %200 = icmp ne i32 %197, %199 br i1 %200, label %201, label %204 201: ; preds = %190 %202 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) %203 = call i32 @exit(i32 noundef 1) #3 unreachable 204: ; preds = %190 %205 = load i32, ptr %14, align 4 %206 = load i32, ptr %24, align 4 %207 = load i32, ptr @CL_TRUE, align 4 %208 = load i64, ptr %21, align 8 %209 = mul i64 %208, 1 %210 = load ptr, ptr %22, align 8 %211 = call signext i8 @clEnqueueWriteBuffer(i32 noundef %205, i32 noundef %206, i32 noundef %207, i32 noundef 0, i64 noundef %209, ptr noundef %210, i32 noundef 0, ptr noundef null, ptr noundef null) store i8 %211, ptr %8, align 1 %212 = load i8, ptr %8, align 1 %213 = sext i8 %212 to i32 %214 = load i8, ptr @CL_SUCCESS, align 1 %215 = sext i8 %214 to i32 %216 = icmp ne i32 %213, %215 br i1 %216, label %217, label %220 217: ; preds = %204 %218 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) %219 = call i32 @exit(i32 noundef 1) #3 unreachable 220: ; preds = %204 %221 = load i64, ptr %21, align 8 %222 = mul i64 %221, 1 %223 = call ptr @malloc(i64 noundef %222) store ptr %223, ptr %25, align 8 store i32 0, ptr %26, align 4 br label %224 224: ; preds = %234, %220 %225 = load i32, ptr %26, align 4 %226 = sext i32 %225 to i64 %227 = load i64, ptr %21, align 8 %228 = icmp ult i64 %226, %227 br i1 %228, label %229, label %237 229: ; preds = %224 %230 = load ptr, ptr %25, align 8 %231 = load i32, ptr %26, align 4 %232 = sext i32 %231 to i64 %233 = getelementptr inbounds i8, ptr %230, i64 %232 store i8 2, ptr %233, align 1 br label %234 234: ; preds = %229 %235 = load i32, ptr %26, align 4 %236 = add nsw i32 %235, 1 store i32 %236, ptr %26, align 4 br label %224, !llvm.loop !8 237: ; preds = %224 %238 = load i32, ptr %13, align 4 %239 = load i32, ptr @CL_MEM_READ_ONLY, align 4 %240 = load i64, ptr %21, align 8 %241 = mul i64 %240, 1 %242 = call i32 @clCreateBuffer(i32 noundef %238, i32 noundef %239, i64 noundef %241, ptr noundef null, ptr noundef %8) store i32 %242, ptr %27, align 4 %243 = load i8, ptr %8, align 1 %244 = sext i8 %243 to i32 %245 = load i8, ptr @CL_SUCCESS, align 1 %246 = sext i8 %245 to i32 %247 = icmp ne i32 %244, %246 br i1 %247, label %248, label %251 248: ; preds = %237 %249 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) %250 = call i32 @exit(i32 noundef 1) #3 unreachable 251: ; preds = %237 %252 = load i32, ptr %14, align 4 %253 = load i32, ptr %27, align 4 %254 = load i32, ptr @CL_TRUE, align 4 %255 = load i64, ptr %21, align 8 %256 = mul i64 %255, 1 %257 = load ptr, ptr %25, align 8 %258 = call signext i8 @clEnqueueWriteBuffer(i32 noundef %252, i32 noundef %253, i32 noundef %254, i32 noundef 0, i64 noundef %256, ptr noundef %257, i32 noundef 0, ptr noundef null, ptr noundef null) store i8 %258, ptr %8, align 1 %259 = load i8, ptr %8, align 1 %260 = sext i8 %259 to i32 %261 = load i8, ptr @CL_SUCCESS, align 1 %262 = sext i8 %261 to i32 %263 = icmp ne i32 %260, %262 br i1 %263, label %264, label %267 264: ; preds = %251 %265 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) %266 = call i32 @exit(i32 noundef 1) #3 unreachable 267: ; preds = %251 %268 = load i64, ptr %21, align 8 %269 = mul i64 %268, 1 %270 = call ptr @malloc(i64 noundef %269) store ptr %270, ptr %28, align 8 %271 = load ptr, ptr %28, align 8 %272 = load i64, ptr %21, align 8 %273 = mul i64 %272, 1 %274 = call i32 @memset(ptr noundef %271, i32 noundef 1, i64 noundef %273) %275 = load i32, ptr %13, align 4 %276 = load i32, ptr @CL_MEM_WRITE_ONLY, align 4 %277 = load i64, ptr %21, align 8 %278 = mul i64 %277, 1 %279 = call i32 @clCreateBuffer(i32 noundef %275, i32 noundef %276, i64 noundef %278, ptr noundef null, ptr noundef %8) store i32 %279, ptr %29, align 4 %280 = load i8, ptr %8, align 1 %281 = sext i8 %280 to i32 %282 = load i8, ptr @CL_SUCCESS, align 1 %283 = sext i8 %282 to i32 %284 = icmp ne i32 %281, %283 br i1 %284, label %285, label %288 285: ; preds = %267 %286 = call i32 (ptr, ...) @printf(ptr noundef @.str.24) %287 = call i32 @exit(i32 noundef 1) #3 unreachable 288: ; preds = %267 %289 = load i8, ptr @CL_SUCCESS, align 1 store i8 %289, ptr %8, align 1 %290 = load i32, ptr %20, align 4 %291 = call signext i8 @clSetKernelArg(i32 noundef %290, i32 noundef 0, i32 noundef 4, ptr noundef %24) %292 = sext i8 %291 to i32 %293 = load i8, ptr %8, align 1 %294 = sext i8 %293 to i32 %295 = or i32 %294, %292 %296 = trunc i32 %295 to i8 store i8 %296, ptr %8, align 1 %297 = load i32, ptr %20, align 4 %298 = call signext i8 @clSetKernelArg(i32 noundef %297, i32 noundef 1, i32 noundef 4, ptr noundef %27) %299 = sext i8 %298 to i32 %300 = load i8, ptr %8, align 1 %301 = sext i8 %300 to i32 %302 = or i32 %301, %299 %303 = trunc i32 %302 to i8 store i8 %303, ptr %8, align 1 %304 = load i32, ptr %20, align 4 %305 = call signext i8 @clSetKernelArg(i32 noundef %304, i32 noundef 2, i32 noundef 4, ptr noundef %29) %306 = sext i8 %305 to i32 %307 = load i8, ptr %8, align 1 %308 = sext i8 %307 to i32 %309 = or i32 %308, %306 %310 = trunc i32 %309 to i8 store i8 %310, ptr %8, align 1 %311 = load i8, ptr %8, align 1 %312 = sext i8 %311 to i32 %313 = load i8, ptr @CL_SUCCESS, align 1 %314 = sext i8 %313 to i32 %315 = icmp ne i32 %312, %314 br i1 %315, label %316, label %319 316: ; preds = %288 %317 = call i32 (ptr, ...) @printf(ptr noundef @.str.25) %318 = call i32 @exit(i32 noundef 1) #3 unreachable 319: ; preds = %288 %320 = load i64, ptr %21, align 8 store i64 %320, ptr %30, align 8 %321 = load i64, ptr %21, align 8 store i64 %321, ptr %31, align 8 %322 = load i32, ptr %14, align 4 %323 = load i32, ptr %20, align 4 %324 = call signext i8 @clEnqueueNDRangeKernel(i32 noundef %322, i32 noundef %323, i32 noundef 1, ptr noundef null, ptr noundef %30, ptr noundef %31, i32 noundef 0, ptr noundef null, ptr noundef null) store i8 %324, ptr %8, align 1 %325 = load i8, ptr %8, align 1 %326 = sext i8 %325 to i32 %327 = load i8, ptr @CL_SUCCESS, align 1 %328 = sext i8 %327 to i32 %329 = icmp ne i32 %326, %328 br i1 %329, label %330, label %333 330: ; preds = %319 %331 = call i32 (ptr, ...) @printf(ptr noundef @.str.26) %332 = call i32 @exit(i32 noundef 1) #3 unreachable 333: ; preds = %319 %334 = load i32, ptr %14, align 4 %335 = call i32 @clFinish(i32 noundef %334) %336 = load i32, ptr %14, align 4 %337 = load i32, ptr %29, align 4 %338 = load i32, ptr @CL_TRUE, align 4 %339 = load i64, ptr %21, align 8 %340 = mul i64 %339, 1 %341 = load ptr, ptr %28, align 8 %342 = call signext i8 @clEnqueueReadBuffer(i32 noundef %336, i32 noundef %337, i32 noundef %338, i32 noundef 0, i64 noundef %340, ptr noundef %341, i32 noundef 0, ptr noundef null, ptr noundef null) store i8 %342, ptr %8, align 1 %343 = load i8, ptr %8, align 1 %344 = sext i8 %343 to i32 %345 = load i8, ptr @CL_SUCCESS, align 1 %346 = sext i8 %345 to i32 %347 = icmp ne i32 %344, %346 br i1 %347, label %348, label %351 348: ; preds = %333 %349 = call i32 (ptr, ...) @printf(ptr noundef @.str.27) %350 = call i32 @exit(i32 noundef 1) #3 unreachable 351: ; preds = %333 %352 = load ptr, ptr %5, align 8 %353 = getelementptr inbounds ptr, ptr %352, i64 0 %354 = load ptr, ptr %353, align 8 %355 = call i32 @sprintf(ptr noundef %32, ptr noundef @.str.28, ptr noundef %354) %356 = getelementptr inbounds [100 x i8], ptr %32, i64 0, i64 0 %357 = load ptr, ptr %28, align 8 %358 = load i64, ptr %21, align 8 %359 = mul i64 %358, 1 %360 = call i32 @write_buffer(ptr noundef %356, ptr noundef %357, i64 noundef %359) %361 = getelementptr inbounds [100 x i8], ptr %32, i64 0, i64 0 %362 = call i32 (ptr, ...) @printf(ptr noundef @.str.29, ptr noundef %361) %363 = load ptr, ptr %28, align 8 %364 = call i32 @free(ptr noundef %363) %365 = load i32, ptr %29, align 4 %366 = call signext i8 @clReleaseMemObject(i32 noundef %365) store i8 %366, ptr %8, align 1 %367 = load i8, ptr %8, align 1 %368 = sext i8 %367 to i32 %369 = load i8, ptr @CL_SUCCESS, align 1 %370 = sext i8 %369 to i32 %371 = icmp ne i32 %368, %370 br i1 %371, label %372, label %375 372: ; preds = %351 %373 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %374 = call i32 @exit(i32 noundef 1) #3 unreachable 375: ; preds = %351 %376 = load ptr, ptr %22, align 8 %377 = call i32 @free(ptr noundef %376) %378 = load i32, ptr %24, align 4 %379 = call signext i8 @clReleaseMemObject(i32 noundef %378) store i8 %379, ptr %8, align 1 %380 = load i8, ptr %8, align 1 %381 = sext i8 %380 to i32 %382 = load i8, ptr @CL_SUCCESS, align 1 %383 = sext i8 %382 to i32 %384 = icmp ne i32 %381, %383 br i1 %384, label %385, label %388 385: ; preds = %375 %386 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %387 = call i32 @exit(i32 noundef 1) #3 unreachable 388: ; preds = %375 %389 = load ptr, ptr %25, align 8 %390 = call i32 @free(ptr noundef %389) %391 = load i32, ptr %27, align 4 %392 = call signext i8 @clReleaseMemObject(i32 noundef %391) store i8 %392, ptr %8, align 1 %393 = load i8, ptr %8, align 1 %394 = sext i8 %393 to i32 %395 = load i8, ptr @CL_SUCCESS, align 1 %396 = sext i8 %395 to i32 %397 = icmp ne i32 %394, %396 br i1 %397, label %398, label %401 398: ; preds = %388 %399 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %400 = call i32 @exit(i32 noundef 1) #3 unreachable 401: ; preds = %388 %402 = load i32, ptr %20, align 4 %403 = call signext i8 @clReleaseKernel(i32 noundef %402) store i8 %403, ptr %8, align 1 %404 = load i8, ptr %8, align 1 %405 = sext i8 %404 to i32 %406 = load i8, ptr @CL_SUCCESS, align 1 %407 = sext i8 %406 to i32 %408 = icmp ne i32 %405, %407 br i1 %408, label %409, label %412 409: ; preds = %401 %410 = call i32 (ptr, ...) @printf(ptr noundef @.str.31) %411 = call i32 @exit(i32 noundef 1) #3 unreachable 412: ; preds = %401 %413 = load i32, ptr %17, align 4 %414 = call signext i8 @clReleaseProgram(i32 noundef %413) store i8 %414, ptr %8, align 1 %415 = load i8, ptr %8, align 1 %416 = sext i8 %415 to i32 %417 = load i8, ptr @CL_SUCCESS, align 1 %418 = sext i8 %417 to i32 %419 = icmp ne i32 %416, %418 br i1 %419, label %420, label %423 420: ; preds = %412 %421 = call i32 (ptr, ...) @printf(ptr noundef @.str.32) %422 = call i32 @exit(i32 noundef 1) #3 unreachable 423: ; preds = %412 %424 = load i32, ptr %14, align 4 %425 = call signext i8 @clReleaseCommandQueue(i32 noundef %424) store i8 %425, ptr %8, align 1 %426 = load i8, ptr %8, align 1 %427 = sext i8 %426 to i32 %428 = load i8, ptr @CL_SUCCESS, align 1 %429 = sext i8 %428 to i32 %430 = icmp ne i32 %427, %429 br i1 %430, label %431, label %434 431: ; preds = %423 %432 = call i32 (ptr, ...) @printf(ptr noundef @.str.33) %433 = call i32 @exit(i32 noundef 1) #3 unreachable 434: ; preds = %423 %435 = load i32, ptr %13, align 4 %436 = call signext i8 @clReleaseContext(i32 noundef %435) store i8 %436, ptr %8, align 1 %437 = load i8, ptr %8, align 1 %438 = sext i8 %437 to i32 %439 = load i8, ptr @CL_SUCCESS, align 1 %440 = sext i8 %439 to i32 %441 = icmp ne i32 %438, %440 br i1 %441, label %442, label %445 442: ; preds = %434 %443 = call i32 (ptr, ...) @printf(ptr noundef @.str.34) %444 = call i32 @exit(i32 noundef 1) #3 unreachable 445: ; preds = %434 ret i32 0 } declare signext i8 @clGetPlatformIDs(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare signext i8 @clGetPlatformInfo(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare signext i8 @clGetDeviceIDs(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare signext i8 @clGetDeviceInfo(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateContext(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateCommandQueue(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare ptr @read_buffer(ptr noundef, ptr noundef) #1 declare i32 @clCreateProgramWithSource(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare signext i8 @clBuildProgram(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clGetProgramBuildInfo(i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @clCreateKernel(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateBuffer(i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare signext i8 @clEnqueueWriteBuffer(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1 declare signext i8 @clSetKernelArg(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare signext i8 @clEnqueueNDRangeKernel(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clFinish(i32 noundef) #1 declare signext i8 @clEnqueueReadBuffer(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @write_buffer(ptr noundef, ptr noundef, i64 noundef) #1 declare signext i8 @clReleaseMemObject(i32 noundef) #1 declare signext i8 @clReleaseKernel(i32 noundef) #1 declare signext i8 @clReleaseProgram(i32 noundef) #1 declare signext i8 @clReleaseCommandQueue(i32 noundef) #1 declare signext i8 @clReleaseContext(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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpadmdubwk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CL_SUCCESS = dso_local global i8 0, align 1 @.str = private unnamed_addr constant [42 x i8] c"error: call to 'clGetPlatformIDs' failed\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Number of platforms: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"platform=%p\0A\00", align 1 @CL_PLATFORM_NAME = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [43 x i8] c"error: call to 'clGetPlatformInfo' failed\0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"platform.name='%s'\0A\0A\00", align 1 @CL_DEVICE_TYPE_GPU = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [40 x i8] c"error: call to 'clGetDeviceIDs' failed\0A\00", align 1 @.str.6 = private unnamed_addr constant [23 x i8] c"Number of devices: %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [11 x i8] c"device=%p\0A\00", align 1 @CL_DEVICE_NAME = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [41 x i8] c"error: call to 'clGetDeviceInfo' failed\0A\00", align 1 @.str.9 = private unnamed_addr constant [18 x i8] c"device.name='%s'\0A\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.11 = private unnamed_addr constant [41 x i8] c"error: call to 'clCreateContext' failed\0A\00", align 1 @.str.12 = private unnamed_addr constant [12 x i8] c"context=%p\0A\00", align 1 @.str.13 = private unnamed_addr constant [46 x i8] c"error: call to 'clCreateCommandQueue' failed\0A\00", align 1 @.str.14 = private unnamed_addr constant [18 x i8] c"command_queue=%p\0A\00", align 1 @.str.15 = private unnamed_addr constant [20 x i8] c"remainder_intint.cl\00", align 1 @.str.16 = private unnamed_addr constant [51 x i8] c"error: call to 'clCreateProgramWithSource' failed\0A\00", align 1 @.str.17 = private unnamed_addr constant [12 x i8] c"program=%p\0A\00", align 1 @CL_PROGRAM_BUILD_LOG = dso_local global i32 0, align 4 @.str.18 = private unnamed_addr constant [44 x i8] c"error: call to 'clBuildProgram' failed:\0A%s\0A\00", align 1 @.str.19 = private unnamed_addr constant [15 x i8] c"program built\0A\00", align 1 @.str.20 = private unnamed_addr constant [17 x i8] c"remainder_intint\00", align 1 @.str.21 = private unnamed_addr constant [40 x i8] c"error: call to 'clCreateKernel' failed\0A\00", align 1 @CL_MEM_READ_ONLY = dso_local global i32 0, align 4 @.str.22 = private unnamed_addr constant [39 x i8] c"error: could not create source buffer\0A\00", align 1 @CL_TRUE = dso_local global i32 0, align 4 @.str.23 = private unnamed_addr constant [46 x i8] c"error: call to 'clEnqueueWriteBuffer' failed\0A\00", align 1 @CL_MEM_WRITE_ONLY = dso_local global i32 0, align 4 @.str.24 = private unnamed_addr constant [36 x i8] c"error: could not create dst buffer\0A\00", align 1 @.str.25 = private unnamed_addr constant [40 x i8] c"error: call to 'clSetKernelArg' failed\0A\00", align 1 @.str.26 = private unnamed_addr constant [48 x i8] c"error: call to 'clEnqueueNDRangeKernel' failed\0A\00", align 1 @.str.27 = private unnamed_addr constant [45 x i8] c"error: call to 'clEnqueueReadBuffer' failed\0A\00", align 1 @.str.28 = private unnamed_addr constant [10 x i8] c"%s.result\00", align 1 @.str.29 = private unnamed_addr constant [21 x i8] c"Result dumped to %s\0A\00", align 1 @.str.30 = private unnamed_addr constant [44 x i8] c"error: call to 'clReleaseMemObject' failed\0A\00", align 1 @.str.31 = private unnamed_addr constant [41 x i8] c"error: call to 'clReleaseKernel' failed\0A\00", align 1 @.str.32 = private unnamed_addr constant [42 x i8] c"error: call to 'clReleaseProgram' failed\0A\00", align 1 @.str.33 = private unnamed_addr constant [47 x i8] c"error: call to 'clReleaseCommandQueue' failed\0A\00", align 1 @.str.34 = private unnamed_addr constant [42 x i8] c"error: call to 'clReleaseContext' failed\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 i8, align 1 %9 = alloca [100 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [100 x i8], align 16 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 %17 = alloca i32, align 4 %18 = alloca i64, align 8 %19 = alloca ptr, align 8 %20 = alloca i32, align 4 %21 = alloca i64, align 8 %22 = alloca ptr, align 8 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca ptr, align 8 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca ptr, align 8 %29 = alloca i32, align 4 %30 = alloca i64, align 8 %31 = alloca i64, align 8 %32 = alloca [100 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 %33 = call signext i8 @clGetPlatformIDs(i32 noundef 1, ptr noundef %6, ptr noundef %7) store i8 %33, ptr %8, align 1 %34 = load i8, ptr %8, align 1 %35 = sext i8 %34 to i32 %36 = load i8, ptr @CL_SUCCESS, align 1 %37 = sext i8 %36 to i32 %38 = icmp ne i32 %35, %37 br i1 %38, label %39, label %42 39: ; preds = %2 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str) %41 = call i32 @exit(i32 noundef 1) #3 unreachable 42: ; preds = %2 %43 = load i32, ptr %7, align 4 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %43) %45 = load i32, ptr %6, align 4 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %45) %47 = load i32, ptr %6, align 4 %48 = load i32, ptr @CL_PLATFORM_NAME, align 4 %49 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %50 = call signext i8 @clGetPlatformInfo(i32 noundef %47, i32 noundef %48, i32 noundef 100, ptr noundef %49, ptr noundef null) store i8 %50, ptr %8, align 1 %51 = load i8, ptr %8, align 1 %52 = sext i8 %51 to i32 %53 = load i8, ptr @CL_SUCCESS, align 1 %54 = sext i8 %53 to i32 %55 = icmp ne i32 %52, %54 br i1 %55, label %56, label %59 56: ; preds = %42 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %58 = call i32 @exit(i32 noundef 1) #3 unreachable 59: ; preds = %42 %60 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %60) %62 = load i32, ptr %6, align 4 %63 = load i32, ptr @CL_DEVICE_TYPE_GPU, align 4 %64 = call signext i8 @clGetDeviceIDs(i32 noundef %62, i32 noundef %63, i32 noundef 1, ptr noundef %10, ptr noundef %11) store i8 %64, ptr %8, align 1 %65 = load i8, ptr %8, align 1 %66 = sext i8 %65 to i32 %67 = load i8, ptr @CL_SUCCESS, align 1 %68 = sext i8 %67 to i32 %69 = icmp ne i32 %66, %68 br i1 %69, label %70, label %73 70: ; preds = %59 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %72 = call i32 @exit(i32 noundef 1) #3 unreachable 73: ; preds = %59 %74 = load i32, ptr %11, align 4 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %74) %76 = load i32, ptr %10, align 4 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %76) %78 = load i32, ptr %10, align 4 %79 = load i32, ptr @CL_DEVICE_NAME, align 4 %80 = getelementptr inbounds [100 x i8], ptr %12, i64 0, i64 0 %81 = call signext i8 @clGetDeviceInfo(i32 noundef %78, i32 noundef %79, i32 noundef 100, ptr noundef %80, ptr noundef null) store i8 %81, ptr %8, align 1 %82 = load i8, ptr %8, align 1 %83 = sext i8 %82 to i32 %84 = load i8, ptr @CL_SUCCESS, align 1 %85 = sext i8 %84 to i32 %86 = icmp ne i32 %83, %85 br i1 %86, label %87, label %90 87: ; preds = %73 %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %89 = call i32 @exit(i32 noundef 1) #3 unreachable 90: ; preds = %73 %91 = getelementptr inbounds [100 x i8], ptr %12, i64 0, i64 0 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %91) %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %94 = call i32 @clCreateContext(ptr noundef null, i32 noundef 1, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef %8) store i32 %94, ptr %13, align 4 %95 = load i8, ptr %8, align 1 %96 = sext i8 %95 to i32 %97 = load i8, ptr @CL_SUCCESS, align 1 %98 = sext i8 %97 to i32 %99 = icmp ne i32 %96, %98 br i1 %99, label %100, label %103 100: ; preds = %90 %101 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %102 = call i32 @exit(i32 noundef 1) #3 unreachable 103: ; preds = %90 %104 = load i32, ptr %13, align 4 %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %104) %106 = load i32, ptr %13, align 4 %107 = load i32, ptr %10, align 4 %108 = call i32 @clCreateCommandQueue(i32 noundef %106, i32 noundef %107, i32 noundef 0, ptr noundef %8) store i32 %108, ptr %14, align 4 %109 = load i8, ptr %8, align 1 %110 = sext i8 %109 to i32 %111 = load i8, ptr @CL_SUCCESS, align 1 %112 = sext i8 %111 to i32 %113 = icmp ne i32 %110, %112 br i1 %113, label %114, label %117 114: ; preds = %103 %115 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %116 = call i32 @exit(i32 noundef 1) #3 unreachable 117: ; preds = %103 %118 = load i32, ptr %14, align 4 %119 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %118) %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %121 = call ptr @read_buffer(ptr noundef @.str.15, ptr noundef %16) store ptr %121, ptr %15, align 8 %122 = load i32, ptr %13, align 4 %123 = call i32 @clCreateProgramWithSource(i32 noundef %122, i32 noundef 1, ptr noundef %15, ptr noundef %16, ptr noundef %8) store i32 %123, ptr %17, align 4 %124 = load i8, ptr %8, align 1 %125 = sext i8 %124 to i32 %126 = load i8, ptr @CL_SUCCESS, align 1 %127 = sext i8 %126 to i32 %128 = icmp ne i32 %125, %127 br i1 %128, label %129, label %132 129: ; preds = %117 %130 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %131 = call i32 @exit(i32 noundef 1) #3 unreachable 132: ; preds = %117 %133 = load i32, ptr %17, align 4 %134 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %133) %135 = load i32, ptr %17, align 4 %136 = call signext i8 @clBuildProgram(i32 noundef %135, i32 noundef 1, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef null) store i8 %136, ptr %8, align 1 %137 = load i8, ptr %8, align 1 %138 = sext i8 %137 to i32 %139 = load i8, ptr @CL_SUCCESS, align 1 %140 = sext i8 %139 to i32 %141 = icmp ne i32 %138, %140 br i1 %141, label %142, label %160 142: ; preds = %132 %143 = load i32, ptr %17, align 4 %144 = load i32, ptr %10, align 4 %145 = load i32, ptr @CL_PROGRAM_BUILD_LOG, align 4 %146 = call i32 @clGetProgramBuildInfo(i32 noundef %143, i32 noundef %144, i32 noundef %145, i64 noundef 0, ptr noundef null, ptr noundef %18) %147 = load i64, ptr %18, align 8 %148 = call ptr @malloc(i64 noundef %147) store ptr %148, ptr %19, align 8 %149 = load i32, ptr %17, align 4 %150 = load i32, ptr %10, align 4 %151 = load i32, ptr @CL_PROGRAM_BUILD_LOG, align 4 %152 = load i64, ptr %18, align 8 %153 = load ptr, ptr %19, align 8 %154 = call i32 @clGetProgramBuildInfo(i32 noundef %149, i32 noundef %150, i32 noundef %151, i64 noundef %152, ptr noundef %153, ptr noundef null) %155 = load ptr, ptr %19, align 8 %156 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, ptr noundef %155) %157 = load ptr, ptr %19, align 8 %158 = call i32 @free(ptr noundef %157) %159 = call i32 @exit(i32 noundef 1) #3 unreachable 160: ; preds = %132 %161 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %162 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %163 = load i32, ptr %17, align 4 %164 = call i32 @clCreateKernel(i32 noundef %163, ptr noundef @.str.20, ptr noundef %8) store i32 %164, ptr %20, align 4 %165 = load i8, ptr %8, align 1 %166 = sext i8 %165 to i32 %167 = load i8, ptr @CL_SUCCESS, align 1 %168 = sext i8 %167 to i32 %169 = icmp ne i32 %166, %168 br i1 %169, label %170, label %173 170: ; preds = %160 %171 = call i32 (ptr, ...) @printf(ptr noundef @.str.21) %172 = call i32 @exit(i32 noundef 1) #3 unreachable 173: ; preds = %160 store i64 10, ptr %21, align 8 %174 = load i64, ptr %21, align 8 %175 = mul i64 %174, 1 %176 = call ptr @malloc(i64 noundef %175) store ptr %176, ptr %22, align 8 store i32 0, ptr %23, align 4 %177 = load i32, ptr %23, align 4 %178 = sext i32 %177 to i64 %179 = load i64, ptr %21, align 8 %180 = icmp ult i64 %178, %179 br i1 %180, label %.lr.ph, label %193 .lr.ph: ; preds = %173 br label %181 181: ; preds = %.lr.ph, %186 %182 = load ptr, ptr %22, align 8 %183 = load i32, ptr %23, align 4 %184 = sext i32 %183 to i64 %185 = getelementptr inbounds i8, ptr %182, i64 %184 store i8 2, ptr %185, align 1 br label %186 186: ; preds = %181 %187 = load i32, ptr %23, align 4 %188 = add nsw i32 %187, 1 store i32 %188, ptr %23, align 4 %189 = load i32, ptr %23, align 4 %190 = sext i32 %189 to i64 %191 = load i64, ptr %21, align 8 %192 = icmp ult i64 %190, %191 br i1 %192, label %181, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %186 br label %193 193: ; preds = %._crit_edge, %173 %194 = load i32, ptr %13, align 4 %195 = load i32, ptr @CL_MEM_READ_ONLY, align 4 %196 = load i64, ptr %21, align 8 %197 = mul i64 %196, 1 %198 = call i32 @clCreateBuffer(i32 noundef %194, i32 noundef %195, i64 noundef %197, ptr noundef null, ptr noundef %8) store i32 %198, ptr %24, align 4 %199 = load i8, ptr %8, align 1 %200 = sext i8 %199 to i32 %201 = load i8, ptr @CL_SUCCESS, align 1 %202 = sext i8 %201 to i32 %203 = icmp ne i32 %200, %202 br i1 %203, label %204, label %207 204: ; preds = %193 %205 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) %206 = call i32 @exit(i32 noundef 1) #3 unreachable 207: ; preds = %193 %208 = load i32, ptr %14, align 4 %209 = load i32, ptr %24, align 4 %210 = load i32, ptr @CL_TRUE, align 4 %211 = load i64, ptr %21, align 8 %212 = mul i64 %211, 1 %213 = load ptr, ptr %22, align 8 %214 = call signext i8 @clEnqueueWriteBuffer(i32 noundef %208, i32 noundef %209, i32 noundef %210, i32 noundef 0, i64 noundef %212, ptr noundef %213, i32 noundef 0, ptr noundef null, ptr noundef null) store i8 %214, ptr %8, align 1 %215 = load i8, ptr %8, align 1 %216 = sext i8 %215 to i32 %217 = load i8, ptr @CL_SUCCESS, align 1 %218 = sext i8 %217 to i32 %219 = icmp ne i32 %216, %218 br i1 %219, label %220, label %223 220: ; preds = %207 %221 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) %222 = call i32 @exit(i32 noundef 1) #3 unreachable 223: ; preds = %207 %224 = load i64, ptr %21, align 8 %225 = mul i64 %224, 1 %226 = call ptr @malloc(i64 noundef %225) store ptr %226, ptr %25, align 8 store i32 0, ptr %26, align 4 %227 = load i32, ptr %26, align 4 %228 = sext i32 %227 to i64 %229 = load i64, ptr %21, align 8 %230 = icmp ult i64 %228, %229 br i1 %230, label %.lr.ph2, label %243 .lr.ph2: ; preds = %223 br label %231 231: ; preds = %.lr.ph2, %236 %232 = load ptr, ptr %25, align 8 %233 = load i32, ptr %26, align 4 %234 = sext i32 %233 to i64 %235 = getelementptr inbounds i8, ptr %232, i64 %234 store i8 2, ptr %235, align 1 br label %236 236: ; preds = %231 %237 = load i32, ptr %26, align 4 %238 = add nsw i32 %237, 1 store i32 %238, ptr %26, align 4 %239 = load i32, ptr %26, align 4 %240 = sext i32 %239 to i64 %241 = load i64, ptr %21, align 8 %242 = icmp ult i64 %240, %241 br i1 %242, label %231, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %236 br label %243 243: ; preds = %._crit_edge3, %223 %244 = load i32, ptr %13, align 4 %245 = load i32, ptr @CL_MEM_READ_ONLY, align 4 %246 = load i64, ptr %21, align 8 %247 = mul i64 %246, 1 %248 = call i32 @clCreateBuffer(i32 noundef %244, i32 noundef %245, i64 noundef %247, ptr noundef null, ptr noundef %8) store i32 %248, ptr %27, align 4 %249 = load i8, ptr %8, align 1 %250 = sext i8 %249 to i32 %251 = load i8, ptr @CL_SUCCESS, align 1 %252 = sext i8 %251 to i32 %253 = icmp ne i32 %250, %252 br i1 %253, label %254, label %257 254: ; preds = %243 %255 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) %256 = call i32 @exit(i32 noundef 1) #3 unreachable 257: ; preds = %243 %258 = load i32, ptr %14, align 4 %259 = load i32, ptr %27, align 4 %260 = load i32, ptr @CL_TRUE, align 4 %261 = load i64, ptr %21, align 8 %262 = mul i64 %261, 1 %263 = load ptr, ptr %25, align 8 %264 = call signext i8 @clEnqueueWriteBuffer(i32 noundef %258, i32 noundef %259, i32 noundef %260, i32 noundef 0, i64 noundef %262, ptr noundef %263, i32 noundef 0, ptr noundef null, ptr noundef null) store i8 %264, ptr %8, align 1 %265 = load i8, ptr %8, align 1 %266 = sext i8 %265 to i32 %267 = load i8, ptr @CL_SUCCESS, align 1 %268 = sext i8 %267 to i32 %269 = icmp ne i32 %266, %268 br i1 %269, label %270, label %273 270: ; preds = %257 %271 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) %272 = call i32 @exit(i32 noundef 1) #3 unreachable 273: ; preds = %257 %274 = load i64, ptr %21, align 8 %275 = mul i64 %274, 1 %276 = call ptr @malloc(i64 noundef %275) store ptr %276, ptr %28, align 8 %277 = load ptr, ptr %28, align 8 %278 = load i64, ptr %21, align 8 %279 = mul i64 %278, 1 %280 = call i32 @memset(ptr noundef %277, i32 noundef 1, i64 noundef %279) %281 = load i32, ptr %13, align 4 %282 = load i32, ptr @CL_MEM_WRITE_ONLY, align 4 %283 = load i64, ptr %21, align 8 %284 = mul i64 %283, 1 %285 = call i32 @clCreateBuffer(i32 noundef %281, i32 noundef %282, i64 noundef %284, ptr noundef null, ptr noundef %8) store i32 %285, ptr %29, align 4 %286 = load i8, ptr %8, align 1 %287 = sext i8 %286 to i32 %288 = load i8, ptr @CL_SUCCESS, align 1 %289 = sext i8 %288 to i32 %290 = icmp ne i32 %287, %289 br i1 %290, label %291, label %294 291: ; preds = %273 %292 = call i32 (ptr, ...) @printf(ptr noundef @.str.24) %293 = call i32 @exit(i32 noundef 1) #3 unreachable 294: ; preds = %273 %295 = load i8, ptr @CL_SUCCESS, align 1 store i8 %295, ptr %8, align 1 %296 = load i32, ptr %20, align 4 %297 = call signext i8 @clSetKernelArg(i32 noundef %296, i32 noundef 0, i32 noundef 4, ptr noundef %24) %298 = sext i8 %297 to i32 %299 = load i8, ptr %8, align 1 %300 = sext i8 %299 to i32 %301 = or i32 %300, %298 %302 = trunc i32 %301 to i8 store i8 %302, ptr %8, align 1 %303 = load i32, ptr %20, align 4 %304 = call signext i8 @clSetKernelArg(i32 noundef %303, i32 noundef 1, i32 noundef 4, ptr noundef %27) %305 = sext i8 %304 to i32 %306 = load i8, ptr %8, align 1 %307 = sext i8 %306 to i32 %308 = or i32 %307, %305 %309 = trunc i32 %308 to i8 store i8 %309, ptr %8, align 1 %310 = load i32, ptr %20, align 4 %311 = call signext i8 @clSetKernelArg(i32 noundef %310, i32 noundef 2, i32 noundef 4, ptr noundef %29) %312 = sext i8 %311 to i32 %313 = load i8, ptr %8, align 1 %314 = sext i8 %313 to i32 %315 = or i32 %314, %312 %316 = trunc i32 %315 to i8 store i8 %316, ptr %8, align 1 %317 = load i8, ptr %8, align 1 %318 = sext i8 %317 to i32 %319 = load i8, ptr @CL_SUCCESS, align 1 %320 = sext i8 %319 to i32 %321 = icmp ne i32 %318, %320 br i1 %321, label %322, label %325 322: ; preds = %294 %323 = call i32 (ptr, ...) @printf(ptr noundef @.str.25) %324 = call i32 @exit(i32 noundef 1) #3 unreachable 325: ; preds = %294 %326 = load i64, ptr %21, align 8 store i64 %326, ptr %30, align 8 %327 = load i64, ptr %21, align 8 store i64 %327, ptr %31, align 8 %328 = load i32, ptr %14, align 4 %329 = load i32, ptr %20, align 4 %330 = call signext i8 @clEnqueueNDRangeKernel(i32 noundef %328, i32 noundef %329, i32 noundef 1, ptr noundef null, ptr noundef %30, ptr noundef %31, i32 noundef 0, ptr noundef null, ptr noundef null) store i8 %330, ptr %8, align 1 %331 = load i8, ptr %8, align 1 %332 = sext i8 %331 to i32 %333 = load i8, ptr @CL_SUCCESS, align 1 %334 = sext i8 %333 to i32 %335 = icmp ne i32 %332, %334 br i1 %335, label %336, label %339 336: ; preds = %325 %337 = call i32 (ptr, ...) @printf(ptr noundef @.str.26) %338 = call i32 @exit(i32 noundef 1) #3 unreachable 339: ; preds = %325 %340 = load i32, ptr %14, align 4 %341 = call i32 @clFinish(i32 noundef %340) %342 = load i32, ptr %14, align 4 %343 = load i32, ptr %29, align 4 %344 = load i32, ptr @CL_TRUE, align 4 %345 = load i64, ptr %21, align 8 %346 = mul i64 %345, 1 %347 = load ptr, ptr %28, align 8 %348 = call signext i8 @clEnqueueReadBuffer(i32 noundef %342, i32 noundef %343, i32 noundef %344, i32 noundef 0, i64 noundef %346, ptr noundef %347, i32 noundef 0, ptr noundef null, ptr noundef null) store i8 %348, ptr %8, align 1 %349 = load i8, ptr %8, align 1 %350 = sext i8 %349 to i32 %351 = load i8, ptr @CL_SUCCESS, align 1 %352 = sext i8 %351 to i32 %353 = icmp ne i32 %350, %352 br i1 %353, label %354, label %357 354: ; preds = %339 %355 = call i32 (ptr, ...) @printf(ptr noundef @.str.27) %356 = call i32 @exit(i32 noundef 1) #3 unreachable 357: ; preds = %339 %358 = load ptr, ptr %5, align 8 %359 = getelementptr inbounds ptr, ptr %358, i64 0 %360 = load ptr, ptr %359, align 8 %361 = call i32 @sprintf(ptr noundef %32, ptr noundef @.str.28, ptr noundef %360) %362 = getelementptr inbounds [100 x i8], ptr %32, i64 0, i64 0 %363 = load ptr, ptr %28, align 8 %364 = load i64, ptr %21, align 8 %365 = mul i64 %364, 1 %366 = call i32 @write_buffer(ptr noundef %362, ptr noundef %363, i64 noundef %365) %367 = getelementptr inbounds [100 x i8], ptr %32, i64 0, i64 0 %368 = call i32 (ptr, ...) @printf(ptr noundef @.str.29, ptr noundef %367) %369 = load ptr, ptr %28, align 8 %370 = call i32 @free(ptr noundef %369) %371 = load i32, ptr %29, align 4 %372 = call signext i8 @clReleaseMemObject(i32 noundef %371) store i8 %372, ptr %8, align 1 %373 = load i8, ptr %8, align 1 %374 = sext i8 %373 to i32 %375 = load i8, ptr @CL_SUCCESS, align 1 %376 = sext i8 %375 to i32 %377 = icmp ne i32 %374, %376 br i1 %377, label %378, label %381 378: ; preds = %357 %379 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %380 = call i32 @exit(i32 noundef 1) #3 unreachable 381: ; preds = %357 %382 = load ptr, ptr %22, align 8 %383 = call i32 @free(ptr noundef %382) %384 = load i32, ptr %24, align 4 %385 = call signext i8 @clReleaseMemObject(i32 noundef %384) store i8 %385, ptr %8, align 1 %386 = load i8, ptr %8, align 1 %387 = sext i8 %386 to i32 %388 = load i8, ptr @CL_SUCCESS, align 1 %389 = sext i8 %388 to i32 %390 = icmp ne i32 %387, %389 br i1 %390, label %391, label %394 391: ; preds = %381 %392 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %393 = call i32 @exit(i32 noundef 1) #3 unreachable 394: ; preds = %381 %395 = load ptr, ptr %25, align 8 %396 = call i32 @free(ptr noundef %395) %397 = load i32, ptr %27, align 4 %398 = call signext i8 @clReleaseMemObject(i32 noundef %397) store i8 %398, ptr %8, align 1 %399 = load i8, ptr %8, align 1 %400 = sext i8 %399 to i32 %401 = load i8, ptr @CL_SUCCESS, align 1 %402 = sext i8 %401 to i32 %403 = icmp ne i32 %400, %402 br i1 %403, label %404, label %407 404: ; preds = %394 %405 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %406 = call i32 @exit(i32 noundef 1) #3 unreachable 407: ; preds = %394 %408 = load i32, ptr %20, align 4 %409 = call signext i8 @clReleaseKernel(i32 noundef %408) store i8 %409, ptr %8, align 1 %410 = load i8, ptr %8, align 1 %411 = sext i8 %410 to i32 %412 = load i8, ptr @CL_SUCCESS, align 1 %413 = sext i8 %412 to i32 %414 = icmp ne i32 %411, %413 br i1 %414, label %415, label %418 415: ; preds = %407 %416 = call i32 (ptr, ...) @printf(ptr noundef @.str.31) %417 = call i32 @exit(i32 noundef 1) #3 unreachable 418: ; preds = %407 %419 = load i32, ptr %17, align 4 %420 = call signext i8 @clReleaseProgram(i32 noundef %419) store i8 %420, ptr %8, align 1 %421 = load i8, ptr %8, align 1 %422 = sext i8 %421 to i32 %423 = load i8, ptr @CL_SUCCESS, align 1 %424 = sext i8 %423 to i32 %425 = icmp ne i32 %422, %424 br i1 %425, label %426, label %429 426: ; preds = %418 %427 = call i32 (ptr, ...) @printf(ptr noundef @.str.32) %428 = call i32 @exit(i32 noundef 1) #3 unreachable 429: ; preds = %418 %430 = load i32, ptr %14, align 4 %431 = call signext i8 @clReleaseCommandQueue(i32 noundef %430) store i8 %431, ptr %8, align 1 %432 = load i8, ptr %8, align 1 %433 = sext i8 %432 to i32 %434 = load i8, ptr @CL_SUCCESS, align 1 %435 = sext i8 %434 to i32 %436 = icmp ne i32 %433, %435 br i1 %436, label %437, label %440 437: ; preds = %429 %438 = call i32 (ptr, ...) @printf(ptr noundef @.str.33) %439 = call i32 @exit(i32 noundef 1) #3 unreachable 440: ; preds = %429 %441 = load i32, ptr %13, align 4 %442 = call signext i8 @clReleaseContext(i32 noundef %441) store i8 %442, ptr %8, align 1 %443 = load i8, ptr %8, align 1 %444 = sext i8 %443 to i32 %445 = load i8, ptr @CL_SUCCESS, align 1 %446 = sext i8 %445 to i32 %447 = icmp ne i32 %444, %446 br i1 %447, label %448, label %451 448: ; preds = %440 %449 = call i32 (ptr, ...) @printf(ptr noundef @.str.34) %450 = call i32 @exit(i32 noundef 1) #3 unreachable 451: ; preds = %440 ret i32 0 } declare signext i8 @clGetPlatformIDs(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare signext i8 @clGetPlatformInfo(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare signext i8 @clGetDeviceIDs(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare signext i8 @clGetDeviceInfo(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateContext(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateCommandQueue(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare ptr @read_buffer(ptr noundef, ptr noundef) #1 declare i32 @clCreateProgramWithSource(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare signext i8 @clBuildProgram(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clGetProgramBuildInfo(i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @clCreateKernel(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateBuffer(i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare signext i8 @clEnqueueWriteBuffer(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1 declare signext i8 @clSetKernelArg(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare signext i8 @clEnqueueNDRangeKernel(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clFinish(i32 noundef) #1 declare signext i8 @clEnqueueReadBuffer(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @write_buffer(ptr noundef, ptr noundef, i64 noundef) #1 declare signext i8 @clReleaseMemObject(i32 noundef) #1 declare signext i8 @clReleaseKernel(i32 noundef) #1 declare signext i8 @clReleaseProgram(i32 noundef) #1 declare signext i8 @clReleaseCommandQueue(i32 noundef) #1 declare signext i8 @clReleaseContext(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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpv7v8bo9a.c' source_filename = "/tmp/tmpv7v8bo9a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOMEM = 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/tmpv7v8bo9a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOMEM = 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"}